1 /*
2 ** ###################################################################
3 **     Processors:          MIMXRT1176AVM8A_cm7
4 **                          MIMXRT1176CVM8A_cm7
5 **                          MIMXRT1176DVMAA_cm7
6 **
7 **     Compilers:           Freescale C/C++ for Embedded ARM
8 **                          GNU C Compiler
9 **                          IAR ANSI C/C++ Compiler for ARM
10 **                          Keil ARM C/C++ Compiler
11 **                          MCUXpresso Compiler
12 **
13 **     Reference manual:    IMXRT1170RM, Rev 1, 02/2021
14 **     Version:             rev. 1.0, 2020-12-29
15 **     Build:               b210607
16 **
17 **     Abstract:
18 **         CMSIS Peripheral Access Layer for MIMXRT1176_cm7
19 **
20 **     Copyright 1997-2016 Freescale Semiconductor, Inc.
21 **     Copyright 2016-2021 NXP
22 **     All rights reserved.
23 **
24 **     SPDX-License-Identifier: BSD-3-Clause
25 **
26 **     http:                 www.nxp.com
27 **     mail:                 support@nxp.com
28 **
29 **     Revisions:
30 **     - rev. 0.1 (2018-03-05)
31 **         Initial version.
32 **     - rev. 1.0 (2020-12-29)
33 **         Update header files to align with IMXRT1170RM Rev.0.
34 **
35 ** ###################################################################
36 */
37 
38 /*!
39  * @file MIMXRT1176_cm7.h
40  * @version 1.0
41  * @date 2020-12-29
42  * @brief CMSIS Peripheral Access Layer for MIMXRT1176_cm7
43  *
44  * CMSIS Peripheral Access Layer for MIMXRT1176_cm7
45  */
46 
47 #ifndef _MIMXRT1176_CM7_H_
48 #define _MIMXRT1176_CM7_H_                       /**< Symbol preventing repeated inclusion */
49 
50 /** Memory map major version (memory maps with equal major version number are
51  * compatible) */
52 #define MCU_MEM_MAP_VERSION 0x0100U
53 /** Memory map minor version */
54 #define MCU_MEM_MAP_VERSION_MINOR 0x0000U
55 
56 /* ----------------------------------------------------------------------------
57    --
58    ---------------------------------------------------------------------------- */
59 
60 /* Extra XRDC2 definition */
61 #define XRDC2_MAKE_MEM(mrc, mrgd) (((mrc) << 5U) | (mrgd))
62 #define XRDC2_GET_MRC(mem) ((mem) >> 5U)
63 #define XRDC2_GET_MRGD(mem) ((mem) & 31U)
64 #define XRDC2_MAKE_PERIPH(pac, pdac) (((pac) << 8U) | (pdac))
65 #define XRDC2_GET_PAC(periph) ((periph) >> 8U)
66 #define XRDC2_GET_PDAC(periph) ((periph) & 255U)
67 
68 
69 
70 /* ----------------------------------------------------------------------------
71    -- Interrupt vector numbers
72    ---------------------------------------------------------------------------- */
73 
74 /*!
75  * @addtogroup Interrupt_vector_numbers Interrupt vector numbers
76  * @{
77  */
78 
79 /** Interrupt Number Definitions */
80 #define NUMBER_OF_INT_VECTORS 234                /**< Number of interrupts in the Vector table */
81 
82 typedef enum IRQn {
83   /* Auxiliary constants */
84   NotAvail_IRQn                = -128,             /**< Not available device specific interrupt */
85 
86   /* Core interrupts */
87   NonMaskableInt_IRQn          = -14,              /**< Non Maskable Interrupt */
88   HardFault_IRQn               = -13,              /**< Cortex-M7 SV Hard Fault Interrupt */
89   MemoryManagement_IRQn        = -12,              /**< Cortex-M7 Memory Management Interrupt */
90   BusFault_IRQn                = -11,              /**< Cortex-M7 Bus Fault Interrupt */
91   UsageFault_IRQn              = -10,              /**< Cortex-M7 Usage Fault Interrupt */
92   SVCall_IRQn                  = -5,               /**< Cortex-M7 SV Call Interrupt */
93   DebugMonitor_IRQn            = -4,               /**< Cortex-M7 Debug Monitor Interrupt */
94   PendSV_IRQn                  = -2,               /**< Cortex-M7 Pend SV Interrupt */
95   SysTick_IRQn                 = -1,               /**< Cortex-M7 System Tick Interrupt */
96 
97   /* Device specific interrupts */
98   DMA0_DMA16_IRQn              = 0,                /**< DMA channel 0/16 transfer complete */
99   DMA1_DMA17_IRQn              = 1,                /**< DMA channel 1/17 transfer complete */
100   DMA2_DMA18_IRQn              = 2,                /**< DMA channel 2/18 transfer complete */
101   DMA3_DMA19_IRQn              = 3,                /**< DMA channel 3/19 transfer complete */
102   DMA4_DMA20_IRQn              = 4,                /**< DMA channel 4/20 transfer complete */
103   DMA5_DMA21_IRQn              = 5,                /**< DMA channel 5/21 transfer complete */
104   DMA6_DMA22_IRQn              = 6,                /**< DMA channel 6/22 transfer complete */
105   DMA7_DMA23_IRQn              = 7,                /**< DMA channel 7/23 transfer complete */
106   DMA8_DMA24_IRQn              = 8,                /**< DMA channel 8/24 transfer complete */
107   DMA9_DMA25_IRQn              = 9,                /**< DMA channel 9/25 transfer complete */
108   DMA10_DMA26_IRQn             = 10,               /**< DMA channel 10/26 transfer complete */
109   DMA11_DMA27_IRQn             = 11,               /**< DMA channel 11/27 transfer complete */
110   DMA12_DMA28_IRQn             = 12,               /**< DMA channel 12/28 transfer complete */
111   DMA13_DMA29_IRQn             = 13,               /**< DMA channel 13/29 transfer complete */
112   DMA14_DMA30_IRQn             = 14,               /**< DMA channel 14/30 transfer complete */
113   DMA15_DMA31_IRQn             = 15,               /**< DMA channel 15/31 transfer complete */
114   DMA_ERROR_IRQn               = 16,               /**< DMA error interrupt channels 0-15 / 16-31 */
115   CTI_TRIGGER_OUT0_IRQn        = 17,               /**< CTI_TRIGGER_OUT0 */
116   CTI_TRIGGER_OUT1_IRQn        = 18,               /**< CTI_TRIGGER_OUT1 */
117   CORE_IRQn                    = 19,               /**< CorePlatform exception IRQ */
118   LPUART1_IRQn                 = 20,               /**< LPUART1 TX interrupt and RX interrupt */
119   LPUART2_IRQn                 = 21,               /**< LPUART2 TX interrupt and RX interrupt */
120   LPUART3_IRQn                 = 22,               /**< LPUART3 TX interrupt and RX interrupt */
121   LPUART4_IRQn                 = 23,               /**< LPUART4 TX interrupt and RX interrupt */
122   LPUART5_IRQn                 = 24,               /**< LPUART5 TX interrupt and RX interrupt */
123   LPUART6_IRQn                 = 25,               /**< LPUART6 TX interrupt and RX interrupt */
124   LPUART7_IRQn                 = 26,               /**< LPUART7 TX interrupt and RX interrupt */
125   LPUART8_IRQn                 = 27,               /**< LPUART8 TX interrupt and RX interrupt */
126   LPUART9_IRQn                 = 28,               /**< LPUART9 TX interrupt and RX interrupt */
127   LPUART10_IRQn                = 29,               /**< LPUART10 TX interrupt and RX interrupt */
128   LPUART11_IRQn                = 30,               /**< LPUART11 TX interrupt and RX interrupt */
129   LPUART12_IRQn                = 31,               /**< LPUART12 TX interrupt and RX interrupt */
130   LPI2C1_IRQn                  = 32,               /**< LPI2C1 interrupt */
131   LPI2C2_IRQn                  = 33,               /**< LPI2C2 interrupt */
132   LPI2C3_IRQn                  = 34,               /**< LPI2C3 interrupt */
133   LPI2C4_IRQn                  = 35,               /**< LPI2C4 interrupt */
134   LPI2C5_IRQn                  = 36,               /**< LPI2C5 interrupt */
135   LPI2C6_IRQn                  = 37,               /**< LPI2C6 interrupt */
136   LPSPI1_IRQn                  = 38,               /**< LPSPI1 interrupt request line to the core */
137   LPSPI2_IRQn                  = 39,               /**< LPSPI2 interrupt request line to the core */
138   LPSPI3_IRQn                  = 40,               /**< LPSPI3 interrupt request line to the core */
139   LPSPI4_IRQn                  = 41,               /**< LPSPI4 interrupt request line to the core */
140   LPSPI5_IRQn                  = 42,               /**< LPSPI5 interrupt request line to the core */
141   LPSPI6_IRQn                  = 43,               /**< LPSPI6 interrupt request line to the core */
142   CAN1_IRQn                    = 44,               /**< CAN1 interrupt */
143   CAN1_ERROR_IRQn              = 45,               /**< CAN1 error interrupt */
144   CAN2_IRQn                    = 46,               /**< CAN2 interrupt */
145   CAN2_ERROR_IRQn              = 47,               /**< CAN2 error interrupt */
146   CAN3_IRQn                    = 48,               /**< CAN3 interrupt */
147   CAN3_ERROR_IRQn              = 49,               /**< CAN3 erro interrupt */
148   FLEXRAM_IRQn                 = 50,               /**< FlexRAM address out of range Or access hit IRQ */
149   KPP_IRQn                     = 51,               /**< Keypad nterrupt */
150   Reserved68_IRQn              = 52,               /**< Reserved interrupt */
151   GPR_IRQ_IRQn                 = 53,               /**< GPR interrupt */
152   eLCDIF_IRQn                  = 54,               /**< eLCDIF interrupt */
153   LCDIFv2_IRQn                 = 55,               /**< LCDIFv2 interrupt */
154   CSI_IRQn                     = 56,               /**< CSI interrupt */
155   PXP_IRQn                     = 57,               /**< PXP interrupt */
156   MIPI_CSI_IRQn                = 58,               /**< MIPI_CSI interrupt */
157   MIPI_DSI_IRQn                = 59,               /**< MIPI_DSI interrupt */
158   GPU2D_IRQn                   = 60,               /**< GPU2D interrupt */
159   GPIO6_Combined_0_15_IRQn     = 61,               /**< Combined interrupt indication for GPIO6 signal 0 throughout 15 */
160   GPIO6_Combined_16_31_IRQn    = 62,               /**< Combined interrupt indication for GPIO6 signal 16 throughout 31 */
161   DAC_IRQn                     = 63,               /**< DAC interrupt */
162   KEY_MANAGER_IRQn             = 64,               /**< PUF interrupt */
163   WDOG2_IRQn                   = 65,               /**< WDOG2 interrupt */
164   SNVS_HP_NON_TZ_IRQn          = 66,               /**< SRTC Consolidated Interrupt. Non TZ */
165   SNVS_HP_TZ_IRQn              = 67,               /**< SRTC Security Interrupt. TZ */
166   SNVS_PULSE_EVENT_IRQn        = 68,               /**< ON-OFF button press shorter than 5 secs (pulse event) */
167   CAAM_IRQ0_IRQn               = 69,               /**< CAAM interrupt queue for JQ0 */
168   CAAM_IRQ1_IRQn               = 70,               /**< CAAM interrupt queue for JQ1 */
169   CAAM_IRQ2_IRQn               = 71,               /**< CAAM interrupt queue for JQ2 */
170   CAAM_IRQ3_IRQn               = 72,               /**< CAAM interrupt queue for JQ3 */
171   CAAM_RECORVE_ERRPR_IRQn      = 73,               /**< CAAM interrupt for recoverable error */
172   CAAM_RTIC_IRQn               = 74,               /**< CAAM interrupt for RTIC */
173   CDOG_IRQn                    = 75,               /**< CDOG interrupt */
174   SAI1_IRQn                    = 76,               /**< SAI1 interrupt */
175   SAI2_IRQn                    = 77,               /**< SAI1 interrupt */
176   SAI3_RX_IRQn                 = 78,               /**< SAI3 interrupt */
177   SAI3_TX_IRQn                 = 79,               /**< SAI3 interrupt */
178   SAI4_RX_IRQn                 = 80,               /**< SAI4 interrupt */
179   SAI4_TX_IRQn                 = 81,               /**< SAI4 interrupt */
180   SPDIF_IRQn                   = 82,               /**< SPDIF interrupt */
181   TMPSNS_INT_IRQn              = 83,               /**< TMPSNS interrupt */
182   TMPSNS_LOW_HIGH_IRQn         = 84,               /**< TMPSNS low high interrupt */
183   TMPSNS_PANIC_IRQn            = 85,               /**< TMPSNS panic interrupt */
184   LPSR_LP8_BROWNOUT_IRQn       = 86,               /**< LPSR 1p8 brownout interrupt */
185   LPSR_LP0_BROWNOUT_IRQn       = 87,               /**< LPSR 1p0 brownout interrupt */
186   ADC1_IRQn                    = 88,               /**< ADC1 interrupt */
187   ADC2_IRQn                    = 89,               /**< ADC2 interrupt */
188   USBPHY1_IRQn                 = 90,               /**< USBPHY1 interrupt */
189   USBPHY2_IRQn                 = 91,               /**< USBPHY2 interrupt */
190   RDC_IRQn                     = 92,               /**< RDC interrupt */
191   GPIO13_Combined_0_31_IRQn    = 93,               /**< Combined interrupt indication for GPIO13 signal 0 throughout 31 */
192   Reserved110_IRQn             = 94,               /**< Reserved interrupt */
193   DCIC1_IRQn                   = 95,               /**< DCIC1 interrupt */
194   DCIC2_IRQn                   = 96,               /**< DCIC2 interrupt */
195   ASRC_IRQn                    = 97,               /**< ASRC interrupt */
196   FLEXRAM_ECC_IRQn             = 98,               /**< FlexRAM ECC fatal interrupt */
197   CM7_GPIO2_3_IRQn             = 99,               /**< CM7_GPIO2,CM7_GPIO3 interrupt */
198   GPIO1_Combined_0_15_IRQn     = 100,              /**< Combined interrupt indication for GPIO1 signal 0 throughout 15 */
199   GPIO1_Combined_16_31_IRQn    = 101,              /**< Combined interrupt indication for GPIO1 signal 16 throughout 31 */
200   GPIO2_Combined_0_15_IRQn     = 102,              /**< Combined interrupt indication for GPIO2 signal 0 throughout 15 */
201   GPIO2_Combined_16_31_IRQn    = 103,              /**< Combined interrupt indication for GPIO2 signal 16 throughout 31 */
202   GPIO3_Combined_0_15_IRQn     = 104,              /**< Combined interrupt indication for GPIO3 signal 0 throughout 15 */
203   GPIO3_Combined_16_31_IRQn    = 105,              /**< Combined interrupt indication for GPIO3 signal 16 throughout 31 */
204   GPIO4_Combined_0_15_IRQn     = 106,              /**< Combined interrupt indication for GPIO4 signal 0 throughout 15 */
205   GPIO4_Combined_16_31_IRQn    = 107,              /**< Combined interrupt indication for GPIO4 signal 16 throughout 31 */
206   GPIO5_Combined_0_15_IRQn     = 108,              /**< Combined interrupt indication for GPIO5 signal 0 throughout 15 */
207   GPIO5_Combined_16_31_IRQn    = 109,              /**< Combined interrupt indication for GPIO5 signal 16 throughout 31 */
208   FLEXIO1_IRQn                 = 110,              /**< FLEXIO1 interrupt */
209   FLEXIO2_IRQn                 = 111,              /**< FLEXIO2 interrupt */
210   WDOG1_IRQn                   = 112,              /**< WDOG1 interrupt */
211   RTWDOG3_IRQn                 = 113,              /**< RTWDOG3 interrupt */
212   EWM_IRQn                     = 114,              /**< EWM interrupt */
213   OCOTP_READ_FUSE_ERROR_IRQn   = 115,              /**< OCOTP read fuse error interrupt */
214   OCOTP_READ_DONE_ERROR_IRQn   = 116,              /**< OCOTP read fuse done interrupt */
215   GPC_IRQn                     = 117,              /**< GPC interrupt */
216   MUA_IRQn                     = 118,              /**< MUA interrupt */
217   GPT1_IRQn                    = 119,              /**< GPT1 interrupt */
218   GPT2_IRQn                    = 120,              /**< GPT2 interrupt */
219   GPT3_IRQn                    = 121,              /**< GPT3 interrupt */
220   GPT4_IRQn                    = 122,              /**< GPT4 interrupt */
221   GPT5_IRQn                    = 123,              /**< GPT5 interrupt */
222   GPT6_IRQn                    = 124,              /**< GPT6 interrupt */
223   PWM1_0_IRQn                  = 125,              /**< PWM1 capture 0, compare 0, or reload 0 interrupt */
224   PWM1_1_IRQn                  = 126,              /**< PWM1 capture 1, compare 1, or reload 0 interrupt */
225   PWM1_2_IRQn                  = 127,              /**< PWM1 capture 2, compare 2, or reload 0 interrupt */
226   PWM1_3_IRQn                  = 128,              /**< PWM1 capture 3, compare 3, or reload 0 interrupt */
227   PWM1_FAULT_IRQn              = 129,              /**< PWM1 fault or reload error interrupt */
228   FLEXSPI1_IRQn                = 130,              /**< FlexSPI1 interrupt */
229   FLEXSPI2_IRQn                = 131,              /**< FlexSPI2 interrupt */
230   SEMC_IRQn                    = 132,              /**< SEMC interrupt */
231   USDHC1_IRQn                  = 133,              /**< USDHC1 interrupt */
232   USDHC2_IRQn                  = 134,              /**< USDHC2 interrupt */
233   USB_OTG2_IRQn                = 135,              /**< USBO2 USB OTG2 */
234   USB_OTG1_IRQn                = 136,              /**< USBO2 USB OTG1 */
235   ENET_IRQn                    = 137,              /**< ENET interrupt */
236   ENET_1588_Timer_IRQn         = 138,              /**< ENET_1588_Timer interrupt */
237   ENET_1G_MAC0_Tx_Rx_1_IRQn    = 139,              /**< ENET 1G MAC0 transmit/receive 1 */
238   ENET_1G_MAC0_Tx_Rx_2_IRQn    = 140,              /**< ENET 1G MAC0 transmit/receive 2 */
239   ENET_1G_IRQn                 = 141,              /**< ENET 1G interrupt */
240   ENET_1G_1588_Timer_IRQn      = 142,              /**< ENET_1G_1588_Timer interrupt */
241   XBAR1_IRQ_0_1_IRQn           = 143,              /**< XBAR1 interrupt */
242   XBAR1_IRQ_2_3_IRQn           = 144,              /**< XBAR1 interrupt */
243   ADC_ETC_IRQ0_IRQn            = 145,              /**< ADCETC IRQ0 interrupt */
244   ADC_ETC_IRQ1_IRQn            = 146,              /**< ADCETC IRQ1 interrupt */
245   ADC_ETC_IRQ2_IRQn            = 147,              /**< ADCETC IRQ2 interrupt */
246   ADC_ETC_IRQ3_IRQn            = 148,              /**< ADCETC IRQ3 interrupt */
247   ADC_ETC_ERROR_IRQ_IRQn       = 149,              /**< ADCETC Error IRQ interrupt */
248   Reserved166_IRQn             = 150,              /**< Reserved interrupt */
249   Reserved167_IRQn             = 151,              /**< Reserved interrupt */
250   Reserved168_IRQn             = 152,              /**< Reserved interrupt */
251   Reserved169_IRQn             = 153,              /**< Reserved interrupt */
252   Reserved170_IRQn             = 154,              /**< Reserved interrupt */
253   PIT1_IRQn                    = 155,              /**< PIT1 interrupt */
254   PIT2_IRQn                    = 156,              /**< PIT2 interrupt */
255   ACMP1_IRQn                   = 157,              /**< ACMP interrupt */
256   ACMP2_IRQn                   = 158,              /**< ACMP interrupt */
257   ACMP3_IRQn                   = 159,              /**< ACMP interrupt */
258   ACMP4_IRQn                   = 160,              /**< ACMP interrupt */
259   Reserved177_IRQn             = 161,              /**< Reserved interrupt */
260   Reserved178_IRQn             = 162,              /**< Reserved interrupt */
261   Reserved179_IRQn             = 163,              /**< Reserved interrupt */
262   Reserved180_IRQn             = 164,              /**< Reserved interrupt */
263   ENC1_IRQn                    = 165,              /**< ENC1 interrupt */
264   ENC2_IRQn                    = 166,              /**< ENC2 interrupt */
265   ENC3_IRQn                    = 167,              /**< ENC3 interrupt */
266   ENC4_IRQn                    = 168,              /**< ENC4 interrupt */
267   Reserved185_IRQn             = 169,              /**< Reserved interrupt */
268   Reserved186_IRQn             = 170,              /**< Reserved interrupt */
269   TMR1_IRQn                    = 171,              /**< TMR1 interrupt */
270   TMR2_IRQn                    = 172,              /**< TMR2 interrupt */
271   TMR3_IRQn                    = 173,              /**< TMR3 interrupt */
272   TMR4_IRQn                    = 174,              /**< TMR4 interrupt */
273   SEMA4_CP0_IRQn               = 175,              /**< SEMA4 CP0 interrupt */
274   SEMA4_CP1_IRQn               = 176,              /**< SEMA4 CP1 interrupt */
275   PWM2_0_IRQn                  = 177,              /**< PWM2 capture 0, compare 0, or reload 0 interrupt */
276   PWM2_1_IRQn                  = 178,              /**< PWM2 capture 1, compare 1, or reload 0 interrupt */
277   PWM2_2_IRQn                  = 179,              /**< PWM2 capture 2, compare 2, or reload 0 interrupt */
278   PWM2_3_IRQn                  = 180,              /**< PWM2 capture 3, compare 3, or reload 0 interrupt */
279   PWM2_FAULT_IRQn              = 181,              /**< PWM2 fault or reload error interrupt */
280   PWM3_0_IRQn                  = 182,              /**< PWM3 capture 0, compare 0, or reload 0 interrupt */
281   PWM3_1_IRQn                  = 183,              /**< PWM3 capture 1, compare 1, or reload 0 interrupt */
282   PWM3_2_IRQn                  = 184,              /**< PWM3 capture 2, compare 2, or reload 0 interrupt */
283   PWM3_3_IRQn                  = 185,              /**< PWM3 capture 3, compare 3, or reload 0 interrupt */
284   PWM3_FAULT_IRQn              = 186,              /**< PWM3 fault or reload error interrupt */
285   PWM4_0_IRQn                  = 187,              /**< PWM4 capture 0, compare 0, or reload 0 interrupt */
286   PWM4_1_IRQn                  = 188,              /**< PWM4 capture 1, compare 1, or reload 0 interrupt */
287   PWM4_2_IRQn                  = 189,              /**< PWM4 capture 2, compare 2, or reload 0 interrupt */
288   PWM4_3_IRQn                  = 190,              /**< PWM4 capture 3, compare 3, or reload 0 interrupt */
289   PWM4_FAULT_IRQn              = 191,              /**< PWM4 fault or reload error interrupt */
290   Reserved208_IRQn             = 192,              /**< Reserved interrupt */
291   Reserved209_IRQn             = 193,              /**< Reserved interrupt */
292   Reserved210_IRQn             = 194,              /**< Reserved interrupt */
293   Reserved211_IRQn             = 195,              /**< Reserved interrupt */
294   Reserved212_IRQn             = 196,              /**< Reserved interrupt */
295   Reserved213_IRQn             = 197,              /**< Reserved interrupt */
296   Reserved214_IRQn             = 198,              /**< Reserved interrupt */
297   Reserved215_IRQn             = 199,              /**< Reserved interrupt */
298   HWVAD_EVENT_IRQn             = 200,              /**< HWVAD event interrupt */
299   HWVAD_ERROR_IRQn             = 201,              /**< HWVAD error interrupt */
300   PDM_EVENT_IRQn               = 202,              /**< PDM event interrupt */
301   PDM_ERROR_IRQn               = 203,              /**< PDM error interrupt */
302   EMVSIM1_IRQn                 = 204,              /**< EMVSIM1 interrupt */
303   EMVSIM2_IRQn                 = 205,              /**< EMVSIM2 interrupt */
304   MECC1_INT_IRQn               = 206,              /**< MECC1 int */
305   MECC1_FATAL_INT_IRQn         = 207,              /**< MECC1 fatal int */
306   MECC2_INT_IRQn               = 208,              /**< MECC2 int */
307   MECC2_FATAL_INT_IRQn         = 209,              /**< MECC2 fatal int */
308   XECC_FLEXSPI1_INT_IRQn       = 210,              /**< XECC int */
309   XECC_FLEXSPI1_FATAL_INT_IRQn = 211,              /**< XECC fatal int */
310   XECC_FLEXSPI2_INT_IRQn       = 212,              /**< XECC int */
311   XECC_FLEXSPI2_FATAL_INT_IRQn = 213,              /**< XECC fatal int */
312   XECC_SEMC_INT_IRQn           = 214,              /**< XECC int */
313   XECC_SEMC_FATAL_INT_IRQn     = 215,              /**< XECC fatal int */
314   ENET_QOS_IRQn                = 216,              /**< ENET_QOS interrupt */
315   ENET_QOS_PMT_IRQn            = 217               /**< ENET_QOS_PMT interrupt */
316 } IRQn_Type;
317 
318 /*!
319  * @}
320  */ /* end of group Interrupt_vector_numbers */
321 
322 
323 /* ----------------------------------------------------------------------------
324    -- Cortex M7 Core Configuration
325    ---------------------------------------------------------------------------- */
326 
327 /*!
328  * @addtogroup Cortex_Core_Configuration Cortex M7 Core Configuration
329  * @{
330  */
331 
332 #define __MPU_PRESENT                  1         /**< Defines if an MPU is present or not */
333 #define __ICACHE_PRESENT               1         /**< Defines if an ICACHE is present or not */
334 #define __DCACHE_PRESENT               1         /**< Defines if an DCACHE is present or not */
335 #define __DTCM_PRESENT                 1         /**< Defines if an DTCM is present or not */
336 #define __NVIC_PRIO_BITS               4         /**< Number of priority bits implemented in the NVIC */
337 #define __Vendor_SysTickConfig         0         /**< Vendor specific implementation of SysTickConfig is defined */
338 #define __FPU_PRESENT                  1         /**< Defines if an FPU is present or not */
339 
340 #include "core_cm7.h"                  /* Core Peripheral Access Layer */
341 #include "system_MIMXRT1176_cm7.h"     /* Device specific configuration file */
342 
343 /*!
344  * @}
345  */ /* end of group Cortex_Core_Configuration */
346 
347 
348 /* ----------------------------------------------------------------------------
349    -- Mapping Information
350    ---------------------------------------------------------------------------- */
351 
352 /*!
353  * @addtogroup Mapping_Information Mapping Information
354  * @{
355  */
356 
357 /** Mapping Information */
358 /*!
359  * @addtogroup rdc_mapping
360  * @{
361  */
362 
363 /*******************************************************************************
364  * Definitions
365  ******************************************************************************/
366 
367 /*!
368  * @brief Structure for the RDC mapping
369  *
370  * Defines the structure for the RDC resource collections.
371  */
372 /*
373  * Domain of these masters are not assigned by RDC
374  * CM7, CM7_DMA: Always use domain ID 0.
375  * CM4, CM4_DMA: Use domain ID 0 in single core case, 1 in dual core case.
376  * CAAM: Defined in CAAM mst_a[x]icid[10]
377  * LCDIFv2: Defined in LCDIF2 user bit[0]
378  * SSARC: Defined in SSARC user bit[0]
379  */
380 
381 typedef enum _rdc_master
382 {
383     kRDC_Master_ENET_1G_TX          = 1U,          /**< ENET_1G_TX */
384     kRDC_Master_ENET_1G_RX          = 2U,          /**< ENET_1G_RX */
385     kRDC_Master_ENET                = 3U,          /**< ENET */
386     kRDC_Master_ENET_QOS            = 4U,          /**< ENET_QOS */
387     kRDC_Master_USDHC1              = 5U,          /**< USDHC1 */
388     kRDC_Master_USDHC2              = 6U,          /**< USDHC2 */
389     kRDC_Master_USB                 = 7U,          /**< USB */
390     kRDC_Master_GPU                 = 8U,          /**< GPU */
391     kRDC_Master_PXP                 = 9U,          /**< PXP */
392     kRDC_Master_LCDIF               = 10U,         /**< LCDIF */
393     kRDC_Master_CSI                 = 11U,         /**< CSI */
394 } rdc_master_t;
395 
396 typedef enum _rdc_mem
397 {
398     kRDC_Mem_MRC0_0                 = 0U,
399     kRDC_Mem_MRC0_1                 = 1U,
400     kRDC_Mem_MRC0_2                 = 2U,
401     kRDC_Mem_MRC0_3                 = 3U,
402     kRDC_Mem_MRC0_4                 = 4U,
403     kRDC_Mem_MRC0_5                 = 5U,
404     kRDC_Mem_MRC0_6                 = 6U,
405     kRDC_Mem_MRC0_7                 = 7U,
406     kRDC_Mem_MRC1_0                 = 8U,
407     kRDC_Mem_MRC1_1                 = 9U,
408     kRDC_Mem_MRC1_2                 = 10U,
409     kRDC_Mem_MRC1_3                 = 11U,
410     kRDC_Mem_MRC1_4                 = 12U,
411     kRDC_Mem_MRC1_5                 = 13U,
412     kRDC_Mem_MRC1_6                 = 14U,
413     kRDC_Mem_MRC1_7                 = 15U,
414     kRDC_Mem_MRC2_0                 = 16U,
415     kRDC_Mem_MRC2_1                 = 17U,
416     kRDC_Mem_MRC2_2                 = 18U,
417     kRDC_Mem_MRC2_3                 = 19U,
418     kRDC_Mem_MRC2_4                 = 20U,
419     kRDC_Mem_MRC2_5                 = 21U,
420     kRDC_Mem_MRC2_6                 = 22U,
421     kRDC_Mem_MRC2_7                 = 23U,
422     kRDC_Mem_MRC3_0                 = 24U,
423     kRDC_Mem_MRC3_1                 = 25U,
424     kRDC_Mem_MRC3_2                 = 26U,
425     kRDC_Mem_MRC3_3                 = 27U,
426     kRDC_Mem_MRC3_4                 = 28U,
427     kRDC_Mem_MRC3_5                 = 29U,
428     kRDC_Mem_MRC3_6                 = 30U,
429     kRDC_Mem_MRC3_7                 = 31U,
430     kRDC_Mem_MRC4_0                 = 32U,
431     kRDC_Mem_MRC4_1                 = 33U,
432     kRDC_Mem_MRC4_2                 = 34U,
433     kRDC_Mem_MRC4_3                 = 35U,
434     kRDC_Mem_MRC4_4                 = 36U,
435     kRDC_Mem_MRC4_5                 = 37U,
436     kRDC_Mem_MRC4_6                 = 38U,
437     kRDC_Mem_MRC4_7                 = 39U,
438     kRDC_Mem_MRC5_0                 = 40U,
439     kRDC_Mem_MRC5_1                 = 41U,
440     kRDC_Mem_MRC5_2                 = 42U,
441     kRDC_Mem_MRC5_3                 = 43U,
442     kRDC_Mem_MRC6_0                 = 44U,
443     kRDC_Mem_MRC6_1                 = 45U,
444     kRDC_Mem_MRC6_2                 = 46U,
445     kRDC_Mem_MRC6_3                 = 47U,
446     kRDC_Mem_MRC7_0                 = 48U,
447     kRDC_Mem_MRC7_1                 = 49U,
448     kRDC_Mem_MRC7_2                 = 50U,
449     kRDC_Mem_MRC7_3                 = 51U,
450     kRDC_Mem_MRC7_4                 = 52U,
451     kRDC_Mem_MRC7_5                 = 53U,
452     kRDC_Mem_MRC7_6                 = 54U,
453     kRDC_Mem_MRC7_7                 = 55U,
454     kRDC_Mem_MRC8_0                 = 56U,
455     kRDC_Mem_MRC8_1                 = 57U,
456     kRDC_Mem_MRC8_2                 = 58U,
457 } rdc_mem_t;
458 
459 typedef enum _rdc_periph
460 {
461     kRDC_Periph_MTR                 = 0U,          /**< MTR */
462     kRDC_Periph_MECC1               = 1U,          /**< MECC1 */
463     kRDC_Periph_MECC2               = 2U,          /**< MECC2 */
464     kRDC_Periph_FLEXSPI1            = 3U,          /**< FlexSPI1 */
465     kRDC_Periph_FLEXSPI2            = 4U,          /**< FlexSPI2 */
466     kRDC_Periph_SEMC                = 5U,          /**< SEMC */
467     kRDC_Periph_CM7_IMXRT           = 6U,          /**< CM7_IMXRT */
468     kRDC_Periph_EWM                 = 7U,          /**< EWM */
469     kRDC_Periph_WDOG1               = 8U,          /**< WDOG1 */
470     kRDC_Periph_WDOG2               = 9U,          /**< WDOG2 */
471     kRDC_Periph_WDOG3               = 10U,         /**< WDOG3 */
472     kRDC_Periph_AOI_XBAR            = 11U,         /**< AOI_XBAR */
473     kRDC_Periph_ADC_ETC             = 12U,         /**< ADC_ETC */
474     kRDC_Periph_CAAM_1              = 13U,         /**< CAAM_1 */
475     kRDC_Periph_ADC1                = 14U,         /**< ADC1 */
476     kRDC_Periph_ADC2                = 15U,         /**< ADC2 */
477     kRDC_Periph_TSC_DIG             = 16U,         /**< TSC_DIG */
478     kRDC_Periph_DAC                 = 17U,         /**< DAC */
479     kRDC_Periph_IEE                 = 18U,         /**< IEE */
480     kRDC_Periph_DMAMUX              = 19U,         /**< DMAMUX */
481     kRDC_Periph_EDMA                = 19U,         /**< EDMA */
482     kRDC_Periph_LPUART1             = 20U,         /**< LPUART1 */
483     kRDC_Periph_LPUART2             = 21U,         /**< LPUART2 */
484     kRDC_Periph_LPUART3             = 22U,         /**< LPUART3 */
485     kRDC_Periph_LPUART4             = 23U,         /**< LPUART4 */
486     kRDC_Periph_LPUART5             = 24U,         /**< LPUART5 */
487     kRDC_Periph_LPUART6             = 25U,         /**< LPUART6 */
488     kRDC_Periph_LPUART7             = 26U,         /**< LPUART7 */
489     kRDC_Periph_LPUART8             = 27U,         /**< LPUART8 */
490     kRDC_Periph_LPUART9             = 28U,         /**< LPUART9 */
491     kRDC_Periph_LPUART10            = 29U,         /**< LPUART10 */
492     kRDC_Periph_FLEXIO1             = 30U,         /**< FlexIO1 */
493     kRDC_Periph_FLEXIO2             = 31U,         /**< FlexIO2 */
494     kRDC_Periph_CAN1                = 32U,         /**< CAN1 */
495     kRDC_Periph_CAN2                = 33U,         /**< CAN2 */
496     kRDC_Periph_PIT1                = 34U,         /**< PIT1 */
497     kRDC_Periph_KPP                 = 35U,         /**< KPP */
498     kRDC_Periph_IOMUXC_GPR          = 36U,         /**< IOMUXC_GPR */
499     kRDC_Periph_IOMUXC              = 37U,         /**< IOMUXC */
500     kRDC_Periph_GPT1                = 38U,         /**< GPT1 */
501     kRDC_Periph_GPT2                = 39U,         /**< GPT2 */
502     kRDC_Periph_GPT3                = 40U,         /**< GPT3 */
503     kRDC_Periph_GPT4                = 41U,         /**< GPT4 */
504     kRDC_Periph_GPT5                = 42U,         /**< GPT5 */
505     kRDC_Periph_GPT6                = 43U,         /**< GPT6 */
506     kRDC_Periph_LPI2C1              = 44U,         /**< LPI2C1 */
507     kRDC_Periph_LPI2C2              = 45U,         /**< LPI2C2 */
508     kRDC_Periph_LPI2C3              = 46U,         /**< LPI2C3 */
509     kRDC_Periph_LPI2C4              = 47U,         /**< LPI2C4 */
510     kRDC_Periph_LPSPI1              = 48U,         /**< LPSPI1 */
511     kRDC_Periph_LPSPI2              = 49U,         /**< LPSPI2 */
512     kRDC_Periph_LPSPI3              = 50U,         /**< LPSPI3 */
513     kRDC_Periph_LPSPI4              = 51U,         /**< LPSPI4 */
514     kRDC_Periph_GPIO_1_6            = 52U,         /**< GPIO_1_6 */
515     kRDC_Periph_CCM_OBS             = 53U,         /**< CCM_OBS */
516     kRDC_Periph_SIM1                = 54U,         /**< SIM1 */
517     kRDC_Periph_SIM2                = 55U,         /**< SIM2 */
518     kRDC_Periph_QTIMER1             = 56U,         /**< QTimer1 */
519     kRDC_Periph_QTIMER2             = 57U,         /**< QTimer2 */
520     kRDC_Periph_QTIMER3             = 58U,         /**< QTimer3 */
521     kRDC_Periph_QTIMER4             = 59U,         /**< QTimer4 */
522     kRDC_Periph_ENC1                = 60U,         /**< ENC1 */
523     kRDC_Periph_ENC2                = 61U,         /**< ENC2 */
524     kRDC_Periph_ENC3                = 62U,         /**< ENC3 */
525     kRDC_Periph_ENC4                = 63U,         /**< ENC4 */
526     kRDC_Periph_FLEXPWM1            = 64U,         /**< FLEXPWM1 */
527     kRDC_Periph_FLEXPWM2            = 65U,         /**< FLEXPWM2 */
528     kRDC_Periph_FLEXPWM3            = 66U,         /**< FLEXPWM3 */
529     kRDC_Periph_FLEXPWM4            = 67U,         /**< FLEXPWM4 */
530     kRDC_Periph_CAAM_2              = 68U,         /**< CAAM_2 */
531     kRDC_Periph_CAAM_3              = 69U,         /**< CAAM_3 */
532     kRDC_Periph_ACMP1               = 70U,         /**< ACMP1 */
533     kRDC_Periph_ACMP2               = 71U,         /**< ACMP2 */
534     kRDC_Periph_ACMP3               = 72U,         /**< ACMP3 */
535     kRDC_Periph_ACMP4               = 73U,         /**< ACMP4 */
536     kRDC_Periph_CAAM                = 74U,         /**< CAAM */
537     kRDC_Periph_SPDIF               = 75U,         /**< SPDIF */
538     kRDC_Periph_SAI1                = 76U,         /**< SAI1 */
539     kRDC_Periph_SAI2                = 77U,         /**< SAI2 */
540     kRDC_Periph_SAI3                = 78U,         /**< SAI3 */
541     kRDC_Periph_ASRC                = 79U,         /**< ASRC */
542     kRDC_Periph_USDHC1              = 80U,         /**< USDHC1 */
543     kRDC_Periph_USDHC2              = 81U,         /**< USDHC2 */
544     kRDC_Periph_ENET_1G             = 82U,         /**< ENET_1G */
545     kRDC_Periph_ENET                = 83U,         /**< ENET */
546     kRDC_Periph_USB_PL301           = 84U,         /**< USB_PL301 */
547     kRDC_Periph_USBPHY2             = 85U,         /**< USBPHY2 */
548     kRDC_Periph_USB_OTG2            = 85U,         /**< USB_OTG2 */
549     kRDC_Periph_USBPHY1             = 86U,         /**< USBPHY1 */
550     kRDC_Periph_USB_OTG1            = 86U,         /**< USB_OTG1 */
551     kRDC_Periph_ENET_QOS            = 87U,         /**< ENET_QOS */
552     kRDC_Periph_CAAM_5              = 88U,         /**< CAAM_5 */
553     kRDC_Periph_CSI                 = 89U,         /**< CSI */
554     kRDC_Periph_LCDIF1              = 90U,         /**< LCDIF1 */
555     kRDC_Periph_LCDIF2              = 91U,         /**< LCDIF2 */
556     kRDC_Periph_MIPI_DSI            = 92U,         /**< MIPI_DSI */
557     kRDC_Periph_MIPI_CSI            = 93U,         /**< MIPI_CSI */
558     kRDC_Periph_PXP                 = 94U,         /**< PXP */
559     kRDC_Periph_VIDEO_MUX           = 95U,         /**< VIDEO_MUX */
560     kRDC_Periph_PGMC_SRC_GPC        = 96U,         /**< PGMC_SRC_GPC */
561     kRDC_Periph_IOMUXC_LPSR         = 97U,         /**< IOMUXC_LPSR */
562     kRDC_Periph_IOMUXC_LPSR_GPR     = 98U,         /**< IOMUXC_LPSR_GPR */
563     kRDC_Periph_WDOG4               = 99U,         /**< WDOG4 */
564     kRDC_Periph_DMAMUX_LPSR         = 100U,        /**< DMAMUX_LPSR */
565     kRDC_Periph_EDMA_LPSR           = 100U,        /**< EDMA_LPSR */
566     kRDC_Periph_Reserved            = 101U,        /**< Reserved */
567     kRDC_Periph_MIC                 = 102U,        /**< MIC */
568     kRDC_Periph_LPUART11            = 103U,        /**< LPUART11 */
569     kRDC_Periph_LPUART12            = 104U,        /**< LPUART12 */
570     kRDC_Periph_LPSPI5              = 105U,        /**< LPSPI5 */
571     kRDC_Periph_LPSPI6              = 106U,        /**< LPSPI6 */
572     kRDC_Periph_LPI2C5              = 107U,        /**< LPI2C5 */
573     kRDC_Periph_LPI2C6              = 108U,        /**< LPI2C6 */
574     kRDC_Periph_CAN3                = 109U,        /**< CAN3 */
575     kRDC_Periph_SAI4                = 110U,        /**< SAI4 */
576     kRDC_Periph_SEMA1               = 111U,        /**< SEMA1 */
577     kRDC_Periph_GPIO_7_12           = 112U,        /**< GPIO_7_12 */
578     kRDC_Periph_KEY_MANAGER         = 113U,        /**< KEY_MANAGER */
579     kRDC_Periph_ANATOP              = 114U,        /**< ANATOP */
580     kRDC_Periph_SNVS_HP_WRAPPER     = 115U,        /**< SNVS_HP_WRAPPER */
581     kRDC_Periph_IOMUXC_SNVS         = 116U,        /**< IOMUXC_SNVS */
582     kRDC_Periph_IOMUXC_SNVS_GPR     = 117U,        /**< IOMUXC_SNVS_GPR */
583     kRDC_Periph_SNVS_SRAM           = 118U,        /**< SNVS_SRAM */
584     kRDC_Periph_GPIO13              = 119U,        /**< GPIO13 */
585     kRDC_Periph_ROMCP               = 120U,        /**< ROMCP */
586     kRDC_Periph_DCDC                = 121U,        /**< DCDC */
587     kRDC_Periph_OCOTP_CTRL_WRAPPER  = 122U,        /**< OCOTP_CTRL_WRAPPER */
588     kRDC_Periph_PIT2                = 123U,        /**< PIT2 */
589     kRDC_Periph_SSARC               = 124U,        /**< SSARC */
590     kRDC_Periph_CCM                 = 125U,        /**< CCM */
591     kRDC_Periph_CAAM_6              = 126U,        /**< CAAM_6 */
592     kRDC_Periph_CAAM_7              = 127U,        /**< CAAM_7 */
593 } rdc_periph_t;
594 
595 /* @} */
596 
597 typedef enum _xbar_input_signal
598 {
599     kXBARA1_InputLogicLow           = 0|0x100U,    /**< LOGIC_LOW output assigned to XBARA1_IN0 input. */
600     kXBARA1_InputLogicHigh          = 1|0x100U,    /**< LOGIC_HIGH output assigned to XBARA1_IN1 input. */
601     kXBARA1_InputRESERVED2          = 2|0x100U,    /**< XBARA1_IN2 input is reserved. */
602     kXBARA1_InputRESERVED3          = 3|0x100U,    /**< XBARA1_IN3 input is reserved. */
603     kXBARA1_InputIomuxXbarInout04   = 4|0x100U,    /**< IOMUX_XBAR_INOUT04 output assigned to XBARA1_IN4 input. */
604     kXBARA1_InputIomuxXbarInout05   = 5|0x100U,    /**< IOMUX_XBAR_INOUT05 output assigned to XBARA1_IN5 input. */
605     kXBARA1_InputIomuxXbarInout06   = 6|0x100U,    /**< IOMUX_XBAR_INOUT06 output assigned to XBARA1_IN6 input. */
606     kXBARA1_InputIomuxXbarInout07   = 7|0x100U,    /**< IOMUX_XBAR_INOUT07 output assigned to XBARA1_IN7 input. */
607     kXBARA1_InputIomuxXbarInout08   = 8|0x100U,    /**< IOMUX_XBAR_INOUT08 output assigned to XBARA1_IN8 input. */
608     kXBARA1_InputIomuxXbarInout09   = 9|0x100U,    /**< IOMUX_XBAR_INOUT09 output assigned to XBARA1_IN9 input. */
609     kXBARA1_InputIomuxXbarInout10   = 10|0x100U,   /**< IOMUX_XBAR_INOUT10 output assigned to XBARA1_IN10 input. */
610     kXBARA1_InputIomuxXbarInout11   = 11|0x100U,   /**< IOMUX_XBAR_INOUT11 output assigned to XBARA1_IN11 input. */
611     kXBARA1_InputIomuxXbarInout12   = 12|0x100U,   /**< IOMUX_XBAR_INOUT12 output assigned to XBARA1_IN12 input. */
612     kXBARA1_InputIomuxXbarInout13   = 13|0x100U,   /**< IOMUX_XBAR_INOUT13 output assigned to XBARA1_IN13 input. */
613     kXBARA1_InputIomuxXbarInout14   = 14|0x100U,   /**< IOMUX_XBAR_INOUT14 output assigned to XBARA1_IN14 input. */
614     kXBARA1_InputIomuxXbarInout15   = 15|0x100U,   /**< IOMUX_XBAR_INOUT15 output assigned to XBARA1_IN15 input. */
615     kXBARA1_InputIomuxXbarInout16   = 16|0x100U,   /**< IOMUX_XBAR_INOUT16 output assigned to XBARA1_IN16 input. */
616     kXBARA1_InputIomuxXbarInout17   = 17|0x100U,   /**< IOMUX_XBAR_INOUT17 output assigned to XBARA1_IN17 input. */
617     kXBARA1_InputIomuxXbarInout18   = 18|0x100U,   /**< IOMUX_XBAR_INOUT18 output assigned to XBARA1_IN18 input. */
618     kXBARA1_InputIomuxXbarInout19   = 19|0x100U,   /**< IOMUX_XBAR_INOUT19 output assigned to XBARA1_IN19 input. */
619     kXBARA1_InputIomuxXbarInout20   = 20|0x100U,   /**< IOMUX_XBAR_INOUT20 output assigned to XBARA1_IN20 input. */
620     kXBARA1_InputIomuxXbarInout21   = 21|0x100U,   /**< IOMUX_XBAR_INOUT21 output assigned to XBARA1_IN21 input. */
621     kXBARA1_InputIomuxXbarInout22   = 22|0x100U,   /**< IOMUX_XBAR_INOUT22 output assigned to XBARA1_IN22 input. */
622     kXBARA1_InputIomuxXbarInout23   = 23|0x100U,   /**< IOMUX_XBAR_INOUT23 output assigned to XBARA1_IN23 input. */
623     kXBARA1_InputIomuxXbarInout24   = 24|0x100U,   /**< IOMUX_XBAR_INOUT24 output assigned to XBARA1_IN24 input. */
624     kXBARA1_InputIomuxXbarInout25   = 25|0x100U,   /**< IOMUX_XBAR_INOUT25 output assigned to XBARA1_IN25 input. */
625     kXBARA1_InputIomuxXbarInout26   = 26|0x100U,   /**< IOMUX_XBAR_INOUT26 output assigned to XBARA1_IN26 input. */
626     kXBARA1_InputIomuxXbarInout27   = 27|0x100U,   /**< IOMUX_XBAR_INOUT27 output assigned to XBARA1_IN27 input. */
627     kXBARA1_InputIomuxXbarInout28   = 28|0x100U,   /**< IOMUX_XBAR_INOUT28 output assigned to XBARA1_IN28 input. */
628     kXBARA1_InputIomuxXbarInout29   = 29|0x100U,   /**< IOMUX_XBAR_INOUT29 output assigned to XBARA1_IN29 input. */
629     kXBARA1_InputIomuxXbarInout30   = 30|0x100U,   /**< IOMUX_XBAR_INOUT30 output assigned to XBARA1_IN30 input. */
630     kXBARA1_InputIomuxXbarInout31   = 31|0x100U,   /**< IOMUX_XBAR_INOUT31 output assigned to XBARA1_IN31 input. */
631     kXBARA1_InputIomuxXbarInout32   = 32|0x100U,   /**< IOMUX_XBAR_INOUT32 output assigned to XBARA1_IN32 input. */
632     kXBARA1_InputIomuxXbarInout33   = 33|0x100U,   /**< IOMUX_XBAR_INOUT33 output assigned to XBARA1_IN33 input. */
633     kXBARA1_InputIomuxXbarInout34   = 34|0x100U,   /**< IOMUX_XBAR_INOUT34 output assigned to XBARA1_IN34 input. */
634     kXBARA1_InputIomuxXbarInout35   = 35|0x100U,   /**< IOMUX_XBAR_INOUT35 output assigned to XBARA1_IN35 input. */
635     kXBARA1_InputIomuxXbarInout36   = 36|0x100U,   /**< IOMUX_XBAR_INOUT36 output assigned to XBARA1_IN36 input. */
636     kXBARA1_InputIomuxXbarInout37   = 37|0x100U,   /**< IOMUX_XBAR_INOUT37 output assigned to XBARA1_IN37 input. */
637     kXBARA1_InputIomuxXbarInout38   = 38|0x100U,   /**< IOMUX_XBAR_INOUT38 output assigned to XBARA1_IN38 input. */
638     kXBARA1_InputIomuxXbarInout39   = 39|0x100U,   /**< IOMUX_XBAR_INOUT39 output assigned to XBARA1_IN39 input. */
639     kXBARA1_InputIomuxXbarInout40   = 40|0x100U,   /**< IOMUX_XBAR_INOUT40 output assigned to XBARA1_IN40 input. */
640     kXBARA1_InputRESERVED41         = 41|0x100U,   /**< XBARA1_IN41 input is reserved. */
641     kXBARA1_InputAcmp1Out           = 42|0x100U,   /**< ACMP1_OUT output assigned to XBARA1_IN42 input. */
642     kXBARA1_InputAcmp2Out           = 43|0x100U,   /**< ACMP2_OUT output assigned to XBARA1_IN43 input. */
643     kXBARA1_InputAcmp3Out           = 44|0x100U,   /**< ACMP3_OUT output assigned to XBARA1_IN44 input. */
644     kXBARA1_InputAcmp4Out           = 45|0x100U,   /**< ACMP4_OUT output assigned to XBARA1_IN45 input. */
645     kXBARA1_InputRESERVED46         = 46|0x100U,   /**< XBARA1_IN46 input is reserved. */
646     kXBARA1_InputRESERVED47         = 47|0x100U,   /**< XBARA1_IN47 input is reserved. */
647     kXBARA1_InputRESERVED48         = 48|0x100U,   /**< XBARA1_IN48 input is reserved. */
648     kXBARA1_InputRESERVED49         = 49|0x100U,   /**< XBARA1_IN49 input is reserved. */
649     kXBARA1_InputQtimer1Timer0      = 50|0x100U,   /**< QTIMER1_TIMER0 output assigned to XBARA1_IN50 input. */
650     kXBARA1_InputQtimer1Timer1      = 51|0x100U,   /**< QTIMER1_TIMER1 output assigned to XBARA1_IN51 input. */
651     kXBARA1_InputQtimer1Timer2      = 52|0x100U,   /**< QTIMER1_TIMER2 output assigned to XBARA1_IN52 input. */
652     kXBARA1_InputQtimer1Timer3      = 53|0x100U,   /**< QTIMER1_TIMER3 output assigned to XBARA1_IN53 input. */
653     kXBARA1_InputQtimer2Timer0      = 54|0x100U,   /**< QTIMER2_TIMER0 output assigned to XBARA1_IN54 input. */
654     kXBARA1_InputQtimer2Timer1      = 55|0x100U,   /**< QTIMER2_TIMER1 output assigned to XBARA1_IN55 input. */
655     kXBARA1_InputQtimer2Timer2      = 56|0x100U,   /**< QTIMER2_TIMER2 output assigned to XBARA1_IN56 input. */
656     kXBARA1_InputQtimer2Timer3      = 57|0x100U,   /**< QTIMER2_TIMER3 output assigned to XBARA1_IN57 input. */
657     kXBARA1_InputQtimer3Timer0      = 58|0x100U,   /**< QTIMER3_TIMER0 output assigned to XBARA1_IN58 input. */
658     kXBARA1_InputQtimer3Timer1      = 59|0x100U,   /**< QTIMER3_TIMER1 output assigned to XBARA1_IN59 input. */
659     kXBARA1_InputQtimer3Timer2      = 60|0x100U,   /**< QTIMER3_TIMER2 output assigned to XBARA1_IN60 input. */
660     kXBARA1_InputQtimer3Timer3      = 61|0x100U,   /**< QTIMER3_TIMER3 output assigned to XBARA1_IN61 input. */
661     kXBARA1_InputQtimer4Timer0      = 62|0x100U,   /**< QTIMER4_TIMER0 output assigned to XBARA1_IN62 input. */
662     kXBARA1_InputQtimer4Timer1      = 63|0x100U,   /**< QTIMER4_TIMER1 output assigned to XBARA1_IN63 input. */
663     kXBARA1_InputQtimer4Timer2      = 64|0x100U,   /**< QTIMER4_TIMER2 output assigned to XBARA1_IN64 input. */
664     kXBARA1_InputQtimer4Timer3      = 65|0x100U,   /**< QTIMER4_TIMER3 output assigned to XBARA1_IN65 input. */
665     kXBARA1_InputRESERVED66         = 66|0x100U,   /**< XBARA1_IN66 input is reserved. */
666     kXBARA1_InputRESERVED67         = 67|0x100U,   /**< XBARA1_IN67 input is reserved. */
667     kXBARA1_InputRESERVED68         = 68|0x100U,   /**< XBARA1_IN68 input is reserved. */
668     kXBARA1_InputRESERVED69         = 69|0x100U,   /**< XBARA1_IN69 input is reserved. */
669     kXBARA1_InputRESERVED70         = 70|0x100U,   /**< XBARA1_IN70 input is reserved. */
670     kXBARA1_InputRESERVED71         = 71|0x100U,   /**< XBARA1_IN71 input is reserved. */
671     kXBARA1_InputRESERVED72         = 72|0x100U,   /**< XBARA1_IN72 input is reserved. */
672     kXBARA1_InputRESERVED73         = 73|0x100U,   /**< XBARA1_IN73 input is reserved. */
673     kXBARA1_InputFlexpwm1Pwm0OutTrig0 = 74|0x100U, /**< FLEXPWM1_PWM0_OUT_TRIG0 output assigned to XBARA1_IN74 input. */
674     kXBARA1_InputFlexpwm1Pwm0OutTrig1 = 75|0x100U, /**< FLEXPWM1_PWM0_OUT_TRIG1 output assigned to XBARA1_IN75 input. */
675     kXBARA1_InputFlexpwm1Pwm1OutTrig0 = 76|0x100U, /**< FLEXPWM1_PWM1_OUT_TRIG0 output assigned to XBARA1_IN76 input. */
676     kXBARA1_InputFlexpwm1Pwm1OutTrig1 = 77|0x100U, /**< FLEXPWM1_PWM1_OUT_TRIG1 output assigned to XBARA1_IN77 input. */
677     kXBARA1_InputFlexpwm1Pwm2OutTrig0 = 78|0x100U, /**< FLEXPWM1_PWM2_OUT_TRIG0 output assigned to XBARA1_IN78 input. */
678     kXBARA1_InputFlexpwm1Pwm2OutTrig1 = 79|0x100U, /**< FLEXPWM1_PWM2_OUT_TRIG1 output assigned to XBARA1_IN79 input. */
679     kXBARA1_InputFlexpwm1Pwm3OutTrig0 = 80|0x100U, /**< FLEXPWM1_PWM3_OUT_TRIG0 output assigned to XBARA1_IN80 input. */
680     kXBARA1_InputFlexpwm1Pwm3OutTrig1 = 81|0x100U, /**< FLEXPWM1_PWM3_OUT_TRIG1 output assigned to XBARA1_IN81 input. */
681     kXBARA1_InputFlexpwm2Pwm0OutTrig01 = 82|0x100U, /**< FLEXPWM2_PWM0_OUT_TRIG0_1 output assigned to XBARA1_IN82 input. */
682     kXBARA1_InputFlexpwm2Pwm1OutTrig01 = 83|0x100U, /**< FLEXPWM2_PWM1_OUT_TRIG0_1 output assigned to XBARA1_IN83 input. */
683     kXBARA1_InputFlexpwm2Pwm2OutTrig01 = 84|0x100U, /**< FLEXPWM2_PWM2_OUT_TRIG0_1 output assigned to XBARA1_IN84 input. */
684     kXBARA1_InputFlexpwm2Pwm3OutTrig01 = 85|0x100U, /**< FLEXPWM2_PWM3_OUT_TRIG0_1 output assigned to XBARA1_IN85 input. */
685     kXBARA1_InputFlexpwm3Pwm0OutTrig01 = 86|0x100U, /**< FLEXPWM3_PWM0_OUT_TRIG0_1 output assigned to XBARA1_IN86 input. */
686     kXBARA1_InputFlexpwm3Pwm1OutTrig01 = 87|0x100U, /**< FLEXPWM3_PWM1_OUT_TRIG0_1 output assigned to XBARA1_IN87 input. */
687     kXBARA1_InputFlexpwm3Pwm2OutTrig01 = 88|0x100U, /**< FLEXPWM3_PWM2_OUT_TRIG0_1 output assigned to XBARA1_IN88 input. */
688     kXBARA1_InputFlexpwm3Pwm3OutTrig01 = 89|0x100U, /**< FLEXPWM3_PWM3_OUT_TRIG0_1 output assigned to XBARA1_IN89 input. */
689     kXBARA1_InputFlexpwm4Pwm0OutTrig01 = 90|0x100U, /**< FLEXPWM4_PWM0_OUT_TRIG0_1 output assigned to XBARA1_IN90 input. */
690     kXBARA1_InputFlexpwm4Pwm1OutTrig01 = 91|0x100U, /**< FLEXPWM4_PWM1_OUT_TRIG0_1 output assigned to XBARA1_IN91 input. */
691     kXBARA1_InputFlexpwm4Pwm2OutTrig01 = 92|0x100U, /**< FLEXPWM4_PWM2_OUT_TRIG0_1 output assigned to XBARA1_IN92 input. */
692     kXBARA1_InputFlexpwm4Pwm3OutTrig01 = 93|0x100U, /**< FLEXPWM4_PWM3_OUT_TRIG0_1 output assigned to XBARA1_IN93 input. */
693     kXBARA1_InputRESERVED94         = 94|0x100U,   /**< XBARA1_IN94 input is reserved. */
694     kXBARA1_InputRESERVED95         = 95|0x100U,   /**< XBARA1_IN95 input is reserved. */
695     kXBARA1_InputRESERVED96         = 96|0x100U,   /**< XBARA1_IN96 input is reserved. */
696     kXBARA1_InputRESERVED97         = 97|0x100U,   /**< XBARA1_IN97 input is reserved. */
697     kXBARA1_InputRESERVED98         = 98|0x100U,   /**< XBARA1_IN98 input is reserved. */
698     kXBARA1_InputRESERVED99         = 99|0x100U,   /**< XBARA1_IN99 input is reserved. */
699     kXBARA1_InputRESERVED100        = 100|0x100U,  /**< XBARA1_IN100 input is reserved. */
700     kXBARA1_InputRESERVED101        = 101|0x100U,  /**< XBARA1_IN101 input is reserved. */
701     kXBARA1_InputPit1Trigger0       = 102|0x100U,  /**< PIT1_TRIGGER0 output assigned to XBARA1_IN102 input. */
702     kXBARA1_InputPit1Trigger1       = 103|0x100U,  /**< PIT1_TRIGGER1 output assigned to XBARA1_IN103 input. */
703     kXBARA1_InputPit1Trigger2       = 104|0x100U,  /**< PIT1_TRIGGER2 output assigned to XBARA1_IN104 input. */
704     kXBARA1_InputPit1Trigger3       = 105|0x100U,  /**< PIT1_TRIGGER3 output assigned to XBARA1_IN105 input. */
705     kXBARA1_InputDec1PosMatch       = 106|0x100U,  /**< DEC1_POS_MATCH output assigned to XBARA1_IN106 input. */
706     kXBARA1_InputDec2PosMatch       = 107|0x100U,  /**< DEC2_POS_MATCH output assigned to XBARA1_IN107 input. */
707     kXBARA1_InputDec3PosMatch       = 108|0x100U,  /**< DEC3_POS_MATCH output assigned to XBARA1_IN108 input. */
708     kXBARA1_InputDec4PosMatch       = 109|0x100U,  /**< DEC4_POS_MATCH output assigned to XBARA1_IN109 input. */
709     kXBARA1_InputRESERVED110        = 110|0x100U,  /**< XBARA1_IN110 input is reserved. */
710     kXBARA1_InputRESERVED111        = 111|0x100U,  /**< XBARA1_IN111 input is reserved. */
711     kXBARA1_InputDmaDone0           = 112|0x100U,  /**< DMA_DONE0 output assigned to XBARA1_IN112 input. */
712     kXBARA1_InputDmaDone1           = 113|0x100U,  /**< DMA_DONE1 output assigned to XBARA1_IN113 input. */
713     kXBARA1_InputDmaDone2           = 114|0x100U,  /**< DMA_DONE2 output assigned to XBARA1_IN114 input. */
714     kXBARA1_InputDmaDone3           = 115|0x100U,  /**< DMA_DONE3 output assigned to XBARA1_IN115 input. */
715     kXBARA1_InputDmaDone4           = 116|0x100U,  /**< DMA_DONE4 output assigned to XBARA1_IN116 input. */
716     kXBARA1_InputDmaDone5           = 117|0x100U,  /**< DMA_DONE5 output assigned to XBARA1_IN117 input. */
717     kXBARA1_InputDmaDone6           = 118|0x100U,  /**< DMA_DONE6 output assigned to XBARA1_IN118 input. */
718     kXBARA1_InputDmaDone7           = 119|0x100U,  /**< DMA_DONE7 output assigned to XBARA1_IN119 input. */
719     kXBARA1_InputDmaLpsrDone0       = 120|0x100U,  /**< DMA_LPSR_DONE0 output assigned to XBARA1_IN120 input. */
720     kXBARA1_InputDmaLpsrDone1       = 121|0x100U,  /**< DMA_LPSR_DONE1 output assigned to XBARA1_IN121 input. */
721     kXBARA1_InputDmaLpsrDone2       = 122|0x100U,  /**< DMA_LPSR_DONE2 output assigned to XBARA1_IN122 input. */
722     kXBARA1_InputDmaLpsrDone3       = 123|0x100U,  /**< DMA_LPSR_DONE3 output assigned to XBARA1_IN123 input. */
723     kXBARA1_InputDmaLpsrDone4       = 124|0x100U,  /**< DMA_LPSR_DONE4 output assigned to XBARA1_IN124 input. */
724     kXBARA1_InputDmaLpsrDone5       = 125|0x100U,  /**< DMA_LPSR_DONE5 output assigned to XBARA1_IN125 input. */
725     kXBARA1_InputDmaLpsrDone6       = 126|0x100U,  /**< DMA_LPSR_DONE6 output assigned to XBARA1_IN126 input. */
726     kXBARA1_InputDmaLpsrDone7       = 127|0x100U,  /**< DMA_LPSR_DONE7 output assigned to XBARA1_IN127 input. */
727     kXBARA1_InputAoi1Out0           = 128|0x100U,  /**< AOI1_OUT0 output assigned to XBARA1_IN128 input. */
728     kXBARA1_InputAoi1Out1           = 129|0x100U,  /**< AOI1_OUT1 output assigned to XBARA1_IN129 input. */
729     kXBARA1_InputAoi1Out2           = 130|0x100U,  /**< AOI1_OUT2 output assigned to XBARA1_IN130 input. */
730     kXBARA1_InputAoi1Out3           = 131|0x100U,  /**< AOI1_OUT3 output assigned to XBARA1_IN131 input. */
731     kXBARA1_InputAoi2Out0           = 132|0x100U,  /**< AOI2_OUT0 output assigned to XBARA1_IN132 input. */
732     kXBARA1_InputAoi2Out1           = 133|0x100U,  /**< AOI2_OUT1 output assigned to XBARA1_IN133 input. */
733     kXBARA1_InputAoi2Out2           = 134|0x100U,  /**< AOI2_OUT2 output assigned to XBARA1_IN134 input. */
734     kXBARA1_InputAoi2Out3           = 135|0x100U,  /**< AOI2_OUT3 output assigned to XBARA1_IN135 input. */
735     kXBARA1_InputAdcEtc0Coco0       = 136|0x100U,  /**< ADC_ETC0_COCO0 output assigned to XBARA1_IN136 input. */
736     kXBARA1_InputAdcEtc0Coco1       = 137|0x100U,  /**< ADC_ETC0_COCO1 output assigned to XBARA1_IN137 input. */
737     kXBARA1_InputAdcEtc0Coco2       = 138|0x100U,  /**< ADC_ETC0_COCO2 output assigned to XBARA1_IN138 input. */
738     kXBARA1_InputAdcEtc0Coco3       = 139|0x100U,  /**< ADC_ETC0_COCO3 output assigned to XBARA1_IN139 input. */
739     kXBARA1_InputAdcEtc1Coco0       = 140|0x100U,  /**< ADC_ETC1_COCO0 output assigned to XBARA1_IN140 input. */
740     kXBARA1_InputAdcEtc1Coco1       = 141|0x100U,  /**< ADC_ETC1_COCO1 output assigned to XBARA1_IN141 input. */
741     kXBARA1_InputAdcEtc1Coco2       = 142|0x100U,  /**< ADC_ETC1_COCO2 output assigned to XBARA1_IN142 input. */
742     kXBARA1_InputAdcEtc1Coco3       = 143|0x100U,  /**< ADC_ETC1_COCO3 output assigned to XBARA1_IN143 input. */
743     kXBARB2_InputLogicLow           = 0|0x200U,    /**< LOGIC_LOW output assigned to XBARB2_IN0 input. */
744     kXBARB2_InputLogicHigh          = 1|0x200U,    /**< LOGIC_HIGH output assigned to XBARB2_IN1 input. */
745     kXBARB2_InputAcmp1Out           = 2|0x200U,    /**< ACMP1_OUT output assigned to XBARB2_IN2 input. */
746     kXBARB2_InputAcmp2Out           = 3|0x200U,    /**< ACMP2_OUT output assigned to XBARB2_IN3 input. */
747     kXBARB2_InputAcmp3Out           = 4|0x200U,    /**< ACMP3_OUT output assigned to XBARB2_IN4 input. */
748     kXBARB2_InputAcmp4Out           = 5|0x200U,    /**< ACMP4_OUT output assigned to XBARB2_IN5 input. */
749     kXBARB2_InputRESERVED6          = 6|0x200U,    /**< XBARB2_IN6 input is reserved. */
750     kXBARB2_InputRESERVED7          = 7|0x200U,    /**< XBARB2_IN7 input is reserved. */
751     kXBARB2_InputRESERVED8          = 8|0x200U,    /**< XBARB2_IN8 input is reserved. */
752     kXBARB2_InputRESERVED9          = 9|0x200U,    /**< XBARB2_IN9 input is reserved. */
753     kXBARB2_InputQtimer1Timer0      = 10|0x200U,   /**< QTIMER1_TIMER0 output assigned to XBARB2_IN10 input. */
754     kXBARB2_InputQtimer1Timer1      = 11|0x200U,   /**< QTIMER1_TIMER1 output assigned to XBARB2_IN11 input. */
755     kXBARB2_InputQtimer1Timer2      = 12|0x200U,   /**< QTIMER1_TIMER2 output assigned to XBARB2_IN12 input. */
756     kXBARB2_InputQtimer1Timer3      = 13|0x200U,   /**< QTIMER1_TIMER3 output assigned to XBARB2_IN13 input. */
757     kXBARB2_InputQtimer2Timer0      = 14|0x200U,   /**< QTIMER2_TIMER0 output assigned to XBARB2_IN14 input. */
758     kXBARB2_InputQtimer2Timer1      = 15|0x200U,   /**< QTIMER2_TIMER1 output assigned to XBARB2_IN15 input. */
759     kXBARB2_InputQtimer2Timer2      = 16|0x200U,   /**< QTIMER2_TIMER2 output assigned to XBARB2_IN16 input. */
760     kXBARB2_InputQtimer2Timer3      = 17|0x200U,   /**< QTIMER2_TIMER3 output assigned to XBARB2_IN17 input. */
761     kXBARB2_InputQtimer3Timer0      = 18|0x200U,   /**< QTIMER3_TIMER0 output assigned to XBARB2_IN18 input. */
762     kXBARB2_InputQtimer3Timer1      = 19|0x200U,   /**< QTIMER3_TIMER1 output assigned to XBARB2_IN19 input. */
763     kXBARB2_InputQtimer3Timer2      = 20|0x200U,   /**< QTIMER3_TIMER2 output assigned to XBARB2_IN20 input. */
764     kXBARB2_InputQtimer3Timer3      = 21|0x200U,   /**< QTIMER3_TIMER3 output assigned to XBARB2_IN21 input. */
765     kXBARB2_InputQtimer4Timer0      = 22|0x200U,   /**< QTIMER4_TIMER0 output assigned to XBARB2_IN22 input. */
766     kXBARB2_InputQtimer4Timer1      = 23|0x200U,   /**< QTIMER4_TIMER1 output assigned to XBARB2_IN23 input. */
767     kXBARB2_InputQtimer4Timer2      = 24|0x200U,   /**< QTIMER4_TIMER2 output assigned to XBARB2_IN24 input. */
768     kXBARB2_InputQtimer4Timer3      = 25|0x200U,   /**< QTIMER4_TIMER3 output assigned to XBARB2_IN25 input. */
769     kXBARB2_InputRESERVED26         = 26|0x200U,   /**< XBARB2_IN26 input is reserved. */
770     kXBARB2_InputRESERVED27         = 27|0x200U,   /**< XBARB2_IN27 input is reserved. */
771     kXBARB2_InputRESERVED28         = 28|0x200U,   /**< XBARB2_IN28 input is reserved. */
772     kXBARB2_InputRESERVED29         = 29|0x200U,   /**< XBARB2_IN29 input is reserved. */
773     kXBARB2_InputRESERVED30         = 30|0x200U,   /**< XBARB2_IN30 input is reserved. */
774     kXBARB2_InputRESERVED31         = 31|0x200U,   /**< XBARB2_IN31 input is reserved. */
775     kXBARB2_InputRESERVED32         = 32|0x200U,   /**< XBARB2_IN32 input is reserved. */
776     kXBARB2_InputRESERVED33         = 33|0x200U,   /**< XBARB2_IN33 input is reserved. */
777     kXBARB2_InputFlexpwm1Pwm0OutTrig01 = 34|0x200U, /**< FLEXPWM1_PWM0_OUT_TRIG0_1 output assigned to XBARB2_IN34 input. */
778     kXBARB2_InputFlexpwm1Pwm1OutTrig01 = 35|0x200U, /**< FLEXPWM1_PWM1_OUT_TRIG0_1 output assigned to XBARB2_IN35 input. */
779     kXBARB2_InputFlexpwm1Pwm2OutTrig01 = 36|0x200U, /**< FLEXPWM1_PWM2_OUT_TRIG0_1 output assigned to XBARB2_IN36 input. */
780     kXBARB2_InputFlexpwm1Pwm3OutTrig01 = 37|0x200U, /**< FLEXPWM1_PWM3_OUT_TRIG0_1 output assigned to XBARB2_IN37 input. */
781     kXBARB2_InputFlexpwm2Pwm0OutTrig01 = 38|0x200U, /**< FLEXPWM2_PWM0_OUT_TRIG0_1 output assigned to XBARB2_IN38 input. */
782     kXBARB2_InputFlexpwm2Pwm1OutTrig01 = 39|0x200U, /**< FLEXPWM2_PWM1_OUT_TRIG0_1 output assigned to XBARB2_IN39 input. */
783     kXBARB2_InputFlexpwm2Pwm2OutTrig01 = 40|0x200U, /**< FLEXPWM2_PWM2_OUT_TRIG0_1 output assigned to XBARB2_IN40 input. */
784     kXBARB2_InputFlexpwm2Pwm3OutTrig01 = 41|0x200U, /**< FLEXPWM2_PWM3_OUT_TRIG0_1 output assigned to XBARB2_IN41 input. */
785     kXBARB2_InputFlexpwm3Pwm0OutTrig01 = 42|0x200U, /**< FLEXPWM3_PWM0_OUT_TRIG0_1 output assigned to XBARB2_IN42 input. */
786     kXBARB2_InputFlexpwm3Pwm1OutTrig01 = 43|0x200U, /**< FLEXPWM3_PWM1_OUT_TRIG0_1 output assigned to XBARB2_IN43 input. */
787     kXBARB2_InputFlexpwm3Pwm2OutTrig01 = 44|0x200U, /**< FLEXPWM3_PWM2_OUT_TRIG0_1 output assigned to XBARB2_IN44 input. */
788     kXBARB2_InputFlexpwm3Pwm3OutTrig01 = 45|0x200U, /**< FLEXPWM3_PWM3_OUT_TRIG0_1 output assigned to XBARB2_IN45 input. */
789     kXBARB2_InputFlexpwm4Pwm0OutTrig01 = 46|0x200U, /**< FLEXPWM4_PWM0_OUT_TRIG0_1 output assigned to XBARB2_IN46 input. */
790     kXBARB2_InputFlexpwm4Pwm1OutTrig01 = 47|0x200U, /**< FLEXPWM4_PWM1_OUT_TRIG0_1 output assigned to XBARB2_IN47 input. */
791     kXBARB2_InputFlexpwm4Pwm2OutTrig01 = 48|0x200U, /**< FLEXPWM4_PWM2_OUT_TRIG0_1 output assigned to XBARB2_IN48 input. */
792     kXBARB2_InputFlexpwm4Pwm3OutTrig01 = 49|0x200U, /**< FLEXPWM4_PWM3_OUT_TRIG0_1 output assigned to XBARB2_IN49 input. */
793     kXBARB2_InputRESERVED50         = 50|0x200U,   /**< XBARB2_IN50 input is reserved. */
794     kXBARB2_InputRESERVED51         = 51|0x200U,   /**< XBARB2_IN51 input is reserved. */
795     kXBARB2_InputRESERVED52         = 52|0x200U,   /**< XBARB2_IN52 input is reserved. */
796     kXBARB2_InputRESERVED53         = 53|0x200U,   /**< XBARB2_IN53 input is reserved. */
797     kXBARB2_InputRESERVED54         = 54|0x200U,   /**< XBARB2_IN54 input is reserved. */
798     kXBARB2_InputRESERVED55         = 55|0x200U,   /**< XBARB2_IN55 input is reserved. */
799     kXBARB2_InputRESERVED56         = 56|0x200U,   /**< XBARB2_IN56 input is reserved. */
800     kXBARB2_InputRESERVED57         = 57|0x200U,   /**< XBARB2_IN57 input is reserved. */
801     kXBARB2_InputPit1Trigger0       = 58|0x200U,   /**< PIT1_TRIGGER0 output assigned to XBARB2_IN58 input. */
802     kXBARB2_InputPit1Trigger1       = 59|0x200U,   /**< PIT1_TRIGGER1 output assigned to XBARB2_IN59 input. */
803     kXBARB2_InputAdcEtc0Coco0       = 60|0x200U,   /**< ADC_ETC0_COCO0 output assigned to XBARB2_IN60 input. */
804     kXBARB2_InputAdcEtc0Coco1       = 61|0x200U,   /**< ADC_ETC0_COCO1 output assigned to XBARB2_IN61 input. */
805     kXBARB2_InputAdcEtc0Coco2       = 62|0x200U,   /**< ADC_ETC0_COCO2 output assigned to XBARB2_IN62 input. */
806     kXBARB2_InputAdcEtc0Coco3       = 63|0x200U,   /**< ADC_ETC0_COCO3 output assigned to XBARB2_IN63 input. */
807     kXBARB2_InputAdcEtc1Coco0       = 64|0x200U,   /**< ADC_ETC1_COCO0 output assigned to XBARB2_IN64 input. */
808     kXBARB2_InputAdcEtc1Coco1       = 65|0x200U,   /**< ADC_ETC1_COCO1 output assigned to XBARB2_IN65 input. */
809     kXBARB2_InputAdcEtc1Coco2       = 66|0x200U,   /**< ADC_ETC1_COCO2 output assigned to XBARB2_IN66 input. */
810     kXBARB2_InputAdcEtc1Coco3       = 67|0x200U,   /**< ADC_ETC1_COCO3 output assigned to XBARB2_IN67 input. */
811     kXBARB2_InputRESERVED68         = 68|0x200U,   /**< XBARB2_IN68 input is reserved. */
812     kXBARB2_InputRESERVED69         = 69|0x200U,   /**< XBARB2_IN69 input is reserved. */
813     kXBARB2_InputRESERVED70         = 70|0x200U,   /**< XBARB2_IN70 input is reserved. */
814     kXBARB2_InputRESERVED71         = 71|0x200U,   /**< XBARB2_IN71 input is reserved. */
815     kXBARB2_InputRESERVED72         = 72|0x200U,   /**< XBARB2_IN72 input is reserved. */
816     kXBARB2_InputRESERVED73         = 73|0x200U,   /**< XBARB2_IN73 input is reserved. */
817     kXBARB2_InputRESERVED74         = 74|0x200U,   /**< XBARB2_IN74 input is reserved. */
818     kXBARB2_InputRESERVED75         = 75|0x200U,   /**< XBARB2_IN75 input is reserved. */
819     kXBARB2_InputDec1PosMatch       = 76|0x200U,   /**< DEC1_POS_MATCH output assigned to XBARB2_IN76 input. */
820     kXBARB2_InputDec2PosMatch       = 77|0x200U,   /**< DEC2_POS_MATCH output assigned to XBARB2_IN77 input. */
821     kXBARB2_InputDec3PosMatch       = 78|0x200U,   /**< DEC3_POS_MATCH output assigned to XBARB2_IN78 input. */
822     kXBARB2_InputDec4PosMatch       = 79|0x200U,   /**< DEC4_POS_MATCH output assigned to XBARB2_IN79 input. */
823     kXBARB2_InputRESERVED80         = 80|0x200U,   /**< XBARB2_IN80 input is reserved. */
824     kXBARB2_InputRESERVED81         = 81|0x200U,   /**< XBARB2_IN81 input is reserved. */
825     kXBARB2_InputDmaDone0           = 82|0x200U,   /**< DMA_DONE0 output assigned to XBARB2_IN82 input. */
826     kXBARB2_InputDmaDone1           = 83|0x200U,   /**< DMA_DONE1 output assigned to XBARB2_IN83 input. */
827     kXBARB2_InputDmaDone2           = 84|0x200U,   /**< DMA_DONE2 output assigned to XBARB2_IN84 input. */
828     kXBARB2_InputDmaDone3           = 85|0x200U,   /**< DMA_DONE3 output assigned to XBARB2_IN85 input. */
829     kXBARB2_InputDmaDone4           = 86|0x200U,   /**< DMA_DONE4 output assigned to XBARB2_IN86 input. */
830     kXBARB2_InputDmaDone5           = 87|0x200U,   /**< DMA_DONE5 output assigned to XBARB2_IN87 input. */
831     kXBARB2_InputDmaDone6           = 88|0x200U,   /**< DMA_DONE6 output assigned to XBARB2_IN88 input. */
832     kXBARB2_InputDmaDone7           = 89|0x200U,   /**< DMA_DONE7 output assigned to XBARB2_IN89 input. */
833     kXBARB2_InputDmaLpsrDone0       = 90|0x200U,   /**< DMA_LPSR_DONE0 output assigned to XBARB2_IN90 input. */
834     kXBARB2_InputDmaLpsrDone1       = 91|0x200U,   /**< DMA_LPSR_DONE1 output assigned to XBARB2_IN91 input. */
835     kXBARB2_InputDmaLpsrDone2       = 92|0x200U,   /**< DMA_LPSR_DONE2 output assigned to XBARB2_IN92 input. */
836     kXBARB2_InputDmaLpsrDone3       = 93|0x200U,   /**< DMA_LPSR_DONE3 output assigned to XBARB2_IN93 input. */
837     kXBARB2_InputDmaLpsrDone4       = 94|0x200U,   /**< DMA_LPSR_DONE4 output assigned to XBARB2_IN94 input. */
838     kXBARB2_InputDmaLpsrDone5       = 95|0x200U,   /**< DMA_LPSR_DONE5 output assigned to XBARB2_IN95 input. */
839     kXBARB2_InputDmaLpsrDone6       = 96|0x200U,   /**< DMA_LPSR_DONE6 output assigned to XBARB2_IN96 input. */
840     kXBARB2_InputDmaLpsrDone7       = 97|0x200U,   /**< DMA_LPSR_DONE7 output assigned to XBARB2_IN97 input. */
841     kXBARB3_InputLogicLow           = 0|0x300U,    /**< LOGIC_LOW output assigned to XBARB3_IN0 input. */
842     kXBARB3_InputLogicHigh          = 1|0x300U,    /**< LOGIC_HIGH output assigned to XBARB3_IN1 input. */
843     kXBARB3_InputAcmp1Out           = 2|0x300U,    /**< ACMP1_OUT output assigned to XBARB3_IN2 input. */
844     kXBARB3_InputAcmp2Out           = 3|0x300U,    /**< ACMP2_OUT output assigned to XBARB3_IN3 input. */
845     kXBARB3_InputAcmp3Out           = 4|0x300U,    /**< ACMP3_OUT output assigned to XBARB3_IN4 input. */
846     kXBARB3_InputAcmp4Out           = 5|0x300U,    /**< ACMP4_OUT output assigned to XBARB3_IN5 input. */
847     kXBARB3_InputRESERVED6          = 6|0x300U,    /**< XBARB3_IN6 input is reserved. */
848     kXBARB3_InputRESERVED7          = 7|0x300U,    /**< XBARB3_IN7 input is reserved. */
849     kXBARB3_InputRESERVED8          = 8|0x300U,    /**< XBARB3_IN8 input is reserved. */
850     kXBARB3_InputRESERVED9          = 9|0x300U,    /**< XBARB3_IN9 input is reserved. */
851     kXBARB3_InputQtimer1Timer0      = 10|0x300U,   /**< QTIMER1_TIMER0 output assigned to XBARB3_IN10 input. */
852     kXBARB3_InputQtimer1Timer1      = 11|0x300U,   /**< QTIMER1_TIMER1 output assigned to XBARB3_IN11 input. */
853     kXBARB3_InputQtimer1Timer2      = 12|0x300U,   /**< QTIMER1_TIMER2 output assigned to XBARB3_IN12 input. */
854     kXBARB3_InputQtimer1Timer3      = 13|0x300U,   /**< QTIMER1_TIMER3 output assigned to XBARB3_IN13 input. */
855     kXBARB3_InputQtimer2Timer0      = 14|0x300U,   /**< QTIMER2_TIMER0 output assigned to XBARB3_IN14 input. */
856     kXBARB3_InputQtimer2Timer1      = 15|0x300U,   /**< QTIMER2_TIMER1 output assigned to XBARB3_IN15 input. */
857     kXBARB3_InputQtimer2Timer2      = 16|0x300U,   /**< QTIMER2_TIMER2 output assigned to XBARB3_IN16 input. */
858     kXBARB3_InputQtimer2Timer3      = 17|0x300U,   /**< QTIMER2_TIMER3 output assigned to XBARB3_IN17 input. */
859     kXBARB3_InputQtimer3Timer0      = 18|0x300U,   /**< QTIMER3_TIMER0 output assigned to XBARB3_IN18 input. */
860     kXBARB3_InputQtimer3Timer1      = 19|0x300U,   /**< QTIMER3_TIMER1 output assigned to XBARB3_IN19 input. */
861     kXBARB3_InputQtimer3Timer2      = 20|0x300U,   /**< QTIMER3_TIMER2 output assigned to XBARB3_IN20 input. */
862     kXBARB3_InputQtimer3Timer3      = 21|0x300U,   /**< QTIMER3_TIMER3 output assigned to XBARB3_IN21 input. */
863     kXBARB3_InputQtimer4Timer0      = 22|0x300U,   /**< QTIMER4_TIMER0 output assigned to XBARB3_IN22 input. */
864     kXBARB3_InputQtimer4Timer1      = 23|0x300U,   /**< QTIMER4_TIMER1 output assigned to XBARB3_IN23 input. */
865     kXBARB3_InputQtimer4Timer2      = 24|0x300U,   /**< QTIMER4_TIMER2 output assigned to XBARB3_IN24 input. */
866     kXBARB3_InputQtimer4Timer3      = 25|0x300U,   /**< QTIMER4_TIMER3 output assigned to XBARB3_IN25 input. */
867     kXBARB3_InputRESERVED26         = 26|0x300U,   /**< XBARB3_IN26 input is reserved. */
868     kXBARB3_InputRESERVED27         = 27|0x300U,   /**< XBARB3_IN27 input is reserved. */
869     kXBARB3_InputRESERVED28         = 28|0x300U,   /**< XBARB3_IN28 input is reserved. */
870     kXBARB3_InputRESERVED29         = 29|0x300U,   /**< XBARB3_IN29 input is reserved. */
871     kXBARB3_InputRESERVED30         = 30|0x300U,   /**< XBARB3_IN30 input is reserved. */
872     kXBARB3_InputRESERVED31         = 31|0x300U,   /**< XBARB3_IN31 input is reserved. */
873     kXBARB3_InputRESERVED32         = 32|0x300U,   /**< XBARB3_IN32 input is reserved. */
874     kXBARB3_InputRESERVED33         = 33|0x300U,   /**< XBARB3_IN33 input is reserved. */
875     kXBARB3_InputFlexpwm1Pwm0OutTrig01 = 34|0x300U, /**< FLEXPWM1_PWM0_OUT_TRIG0_1 output assigned to XBARB3_IN34 input. */
876     kXBARB3_InputFlexpwm1Pwm1OutTrig01 = 35|0x300U, /**< FLEXPWM1_PWM1_OUT_TRIG0_1 output assigned to XBARB3_IN35 input. */
877     kXBARB3_InputFlexpwm1Pwm2OutTrig01 = 36|0x300U, /**< FLEXPWM1_PWM2_OUT_TRIG0_1 output assigned to XBARB3_IN36 input. */
878     kXBARB3_InputFlexpwm1Pwm3OutTrig01 = 37|0x300U, /**< FLEXPWM1_PWM3_OUT_TRIG0_1 output assigned to XBARB3_IN37 input. */
879     kXBARB3_InputFlexpwm2Pwm0OutTrig01 = 38|0x300U, /**< FLEXPWM2_PWM0_OUT_TRIG0_1 output assigned to XBARB3_IN38 input. */
880     kXBARB3_InputFlexpwm2Pwm1OutTrig01 = 39|0x300U, /**< FLEXPWM2_PWM1_OUT_TRIG0_1 output assigned to XBARB3_IN39 input. */
881     kXBARB3_InputFlexpwm2Pwm2OutTrig01 = 40|0x300U, /**< FLEXPWM2_PWM2_OUT_TRIG0_1 output assigned to XBARB3_IN40 input. */
882     kXBARB3_InputFlexpwm2Pwm3OutTrig01 = 41|0x300U, /**< FLEXPWM2_PWM3_OUT_TRIG0_1 output assigned to XBARB3_IN41 input. */
883     kXBARB3_InputFlexpwm3Pwm0OutTrig01 = 42|0x300U, /**< FLEXPWM3_PWM0_OUT_TRIG0_1 output assigned to XBARB3_IN42 input. */
884     kXBARB3_InputFlexpwm3Pwm1OutTrig01 = 43|0x300U, /**< FLEXPWM3_PWM1_OUT_TRIG0_1 output assigned to XBARB3_IN43 input. */
885     kXBARB3_InputFlexpwm3Pwm2OutTrig01 = 44|0x300U, /**< FLEXPWM3_PWM2_OUT_TRIG0_1 output assigned to XBARB3_IN44 input. */
886     kXBARB3_InputFlexpwm3Pwm3OutTrig01 = 45|0x300U, /**< FLEXPWM3_PWM3_OUT_TRIG0_1 output assigned to XBARB3_IN45 input. */
887     kXBARB3_InputFlexpwm4Pwm0OutTrig01 = 46|0x300U, /**< FLEXPWM4_PWM0_OUT_TRIG0_1 output assigned to XBARB3_IN46 input. */
888     kXBARB3_InputFlexpwm4Pwm1OutTrig01 = 47|0x300U, /**< FLEXPWM4_PWM1_OUT_TRIG0_1 output assigned to XBARB3_IN47 input. */
889     kXBARB3_InputFlexpwm4Pwm2OutTrig01 = 48|0x300U, /**< FLEXPWM4_PWM2_OUT_TRIG0_1 output assigned to XBARB3_IN48 input. */
890     kXBARB3_InputFlexpwm4Pwm3OutTrig01 = 49|0x300U, /**< FLEXPWM4_PWM3_OUT_TRIG0_1 output assigned to XBARB3_IN49 input. */
891     kXBARB3_InputRESERVED50         = 50|0x300U,   /**< XBARB3_IN50 input is reserved. */
892     kXBARB3_InputRESERVED51         = 51|0x300U,   /**< XBARB3_IN51 input is reserved. */
893     kXBARB3_InputRESERVED52         = 52|0x300U,   /**< XBARB3_IN52 input is reserved. */
894     kXBARB3_InputRESERVED53         = 53|0x300U,   /**< XBARB3_IN53 input is reserved. */
895     kXBARB3_InputRESERVED54         = 54|0x300U,   /**< XBARB3_IN54 input is reserved. */
896     kXBARB3_InputRESERVED55         = 55|0x300U,   /**< XBARB3_IN55 input is reserved. */
897     kXBARB3_InputRESERVED56         = 56|0x300U,   /**< XBARB3_IN56 input is reserved. */
898     kXBARB3_InputRESERVED57         = 57|0x300U,   /**< XBARB3_IN57 input is reserved. */
899     kXBARB3_InputPit1Trigger0       = 58|0x300U,   /**< PIT1_TRIGGER0 output assigned to XBARB3_IN58 input. */
900     kXBARB3_InputPit1Trigger1       = 59|0x300U,   /**< PIT1_TRIGGER1 output assigned to XBARB3_IN59 input. */
901     kXBARB3_InputAdcEtc0Coco0       = 60|0x300U,   /**< ADC_ETC0_COCO0 output assigned to XBARB3_IN60 input. */
902     kXBARB3_InputAdcEtc0Coco1       = 61|0x300U,   /**< ADC_ETC0_COCO1 output assigned to XBARB3_IN61 input. */
903     kXBARB3_InputAdcEtc0Coco2       = 62|0x300U,   /**< ADC_ETC0_COCO2 output assigned to XBARB3_IN62 input. */
904     kXBARB3_InputAdcEtc0Coco3       = 63|0x300U,   /**< ADC_ETC0_COCO3 output assigned to XBARB3_IN63 input. */
905     kXBARB3_InputAdcEtc1Coco0       = 64|0x300U,   /**< ADC_ETC1_COCO0 output assigned to XBARB3_IN64 input. */
906     kXBARB3_InputAdcEtc1Coco1       = 65|0x300U,   /**< ADC_ETC1_COCO1 output assigned to XBARB3_IN65 input. */
907     kXBARB3_InputAdcEtc1Coco2       = 66|0x300U,   /**< ADC_ETC1_COCO2 output assigned to XBARB3_IN66 input. */
908     kXBARB3_InputAdcEtc1Coco3       = 67|0x300U,   /**< ADC_ETC1_COCO3 output assigned to XBARB3_IN67 input. */
909     kXBARB3_InputRESERVED68         = 68|0x300U,   /**< XBARB3_IN68 input is reserved. */
910     kXBARB3_InputRESERVED69         = 69|0x300U,   /**< XBARB3_IN69 input is reserved. */
911     kXBARB3_InputRESERVED70         = 70|0x300U,   /**< XBARB3_IN70 input is reserved. */
912     kXBARB3_InputRESERVED71         = 71|0x300U,   /**< XBARB3_IN71 input is reserved. */
913     kXBARB3_InputRESERVED72         = 72|0x300U,   /**< XBARB3_IN72 input is reserved. */
914     kXBARB3_InputRESERVED73         = 73|0x300U,   /**< XBARB3_IN73 input is reserved. */
915     kXBARB3_InputRESERVED74         = 74|0x300U,   /**< XBARB3_IN74 input is reserved. */
916     kXBARB3_InputRESERVED75         = 75|0x300U,   /**< XBARB3_IN75 input is reserved. */
917     kXBARB3_InputDec1PosMatch       = 76|0x300U,   /**< DEC1_POS_MATCH output assigned to XBARB3_IN76 input. */
918     kXBARB3_InputDec2PosMatch       = 77|0x300U,   /**< DEC2_POS_MATCH output assigned to XBARB3_IN77 input. */
919     kXBARB3_InputDec3PosMatch       = 78|0x300U,   /**< DEC3_POS_MATCH output assigned to XBARB3_IN78 input. */
920     kXBARB3_InputDec4PosMatch       = 79|0x300U,   /**< DEC4_POS_MATCH output assigned to XBARB3_IN79 input. */
921     kXBARB3_InputRESERVED80         = 80|0x300U,   /**< XBARB3_IN80 input is reserved. */
922     kXBARB3_InputRESERVED81         = 81|0x300U,   /**< XBARB3_IN81 input is reserved. */
923     kXBARB3_InputDmaDone0           = 82|0x300U,   /**< DMA_DONE0 output assigned to XBARB3_IN82 input. */
924     kXBARB3_InputDmaDone1           = 83|0x300U,   /**< DMA_DONE1 output assigned to XBARB3_IN83 input. */
925     kXBARB3_InputDmaDone2           = 84|0x300U,   /**< DMA_DONE2 output assigned to XBARB3_IN84 input. */
926     kXBARB3_InputDmaDone3           = 85|0x300U,   /**< DMA_DONE3 output assigned to XBARB3_IN85 input. */
927     kXBARB3_InputDmaDone4           = 86|0x300U,   /**< DMA_DONE4 output assigned to XBARB3_IN86 input. */
928     kXBARB3_InputDmaDone5           = 87|0x300U,   /**< DMA_DONE5 output assigned to XBARB3_IN87 input. */
929     kXBARB3_InputDmaDone6           = 88|0x300U,   /**< DMA_DONE6 output assigned to XBARB3_IN88 input. */
930     kXBARB3_InputDmaDone7           = 89|0x300U,   /**< DMA_DONE7 output assigned to XBARB3_IN89 input. */
931     kXBARB3_InputDmaLpsrDone0       = 90|0x300U,   /**< DMA_LPSR_DONE0 output assigned to XBARB3_IN90 input. */
932     kXBARB3_InputDmaLpsrDone1       = 91|0x300U,   /**< DMA_LPSR_DONE1 output assigned to XBARB3_IN91 input. */
933     kXBARB3_InputDmaLpsrDone2       = 92|0x300U,   /**< DMA_LPSR_DONE2 output assigned to XBARB3_IN92 input. */
934     kXBARB3_InputDmaLpsrDone3       = 93|0x300U,   /**< DMA_LPSR_DONE3 output assigned to XBARB3_IN93 input. */
935     kXBARB3_InputDmaLpsrDone4       = 94|0x300U,   /**< DMA_LPSR_DONE4 output assigned to XBARB3_IN94 input. */
936     kXBARB3_InputDmaLpsrDone5       = 95|0x300U,   /**< DMA_LPSR_DONE5 output assigned to XBARB3_IN95 input. */
937     kXBARB3_InputDmaLpsrDone6       = 96|0x300U,   /**< DMA_LPSR_DONE6 output assigned to XBARB3_IN96 input. */
938     kXBARB3_InputDmaLpsrDone7       = 97|0x300U,   /**< DMA_LPSR_DONE7 output assigned to XBARB3_IN97 input. */
939 } xbar_input_signal_t;
940 
941 typedef enum _xbar_output_signal
942 {
943     kXBARA1_OutputDmaChMuxReq81     = 0|0x100U,    /**< XBARA1_OUT0 output assigned to DMA_CH_MUX_REQ81 */
944     kXBARA1_OutputDmaChMuxReq82     = 1|0x100U,    /**< XBARA1_OUT1 output assigned to DMA_CH_MUX_REQ82 */
945     kXBARA1_OutputDmaChMuxReq83     = 2|0x100U,    /**< XBARA1_OUT2 output assigned to DMA_CH_MUX_REQ83 */
946     kXBARA1_OutputDmaChMuxReq84     = 3|0x100U,    /**< XBARA1_OUT3 output assigned to DMA_CH_MUX_REQ84 */
947     kXBARA1_OutputIomuxXbarInout04  = 4|0x100U,    /**< XBARA1_OUT4 output assigned to IOMUX_XBAR_INOUT04 */
948     kXBARA1_OutputIomuxXbarInout05  = 5|0x100U,    /**< XBARA1_OUT5 output assigned to IOMUX_XBAR_INOUT05 */
949     kXBARA1_OutputIomuxXbarInout06  = 6|0x100U,    /**< XBARA1_OUT6 output assigned to IOMUX_XBAR_INOUT06 */
950     kXBARA1_OutputIomuxXbarInout07  = 7|0x100U,    /**< XBARA1_OUT7 output assigned to IOMUX_XBAR_INOUT07 */
951     kXBARA1_OutputIomuxXbarInout08  = 8|0x100U,    /**< XBARA1_OUT8 output assigned to IOMUX_XBAR_INOUT08 */
952     kXBARA1_OutputIomuxXbarInout09  = 9|0x100U,    /**< XBARA1_OUT9 output assigned to IOMUX_XBAR_INOUT09 */
953     kXBARA1_OutputIomuxXbarInout10  = 10|0x100U,   /**< XBARA1_OUT10 output assigned to IOMUX_XBAR_INOUT10 */
954     kXBARA1_OutputIomuxXbarInout11  = 11|0x100U,   /**< XBARA1_OUT11 output assigned to IOMUX_XBAR_INOUT11 */
955     kXBARA1_OutputIomuxXbarInout12  = 12|0x100U,   /**< XBARA1_OUT12 output assigned to IOMUX_XBAR_INOUT12 */
956     kXBARA1_OutputIomuxXbarInout13  = 13|0x100U,   /**< XBARA1_OUT13 output assigned to IOMUX_XBAR_INOUT13 */
957     kXBARA1_OutputIomuxXbarInout14  = 14|0x100U,   /**< XBARA1_OUT14 output assigned to IOMUX_XBAR_INOUT14 */
958     kXBARA1_OutputIomuxXbarInout15  = 15|0x100U,   /**< XBARA1_OUT15 output assigned to IOMUX_XBAR_INOUT15 */
959     kXBARA1_OutputIomuxXbarInout16  = 16|0x100U,   /**< XBARA1_OUT16 output assigned to IOMUX_XBAR_INOUT16 */
960     kXBARA1_OutputIomuxXbarInout17  = 17|0x100U,   /**< XBARA1_OUT17 output assigned to IOMUX_XBAR_INOUT17 */
961     kXBARA1_OutputIomuxXbarInout18  = 18|0x100U,   /**< XBARA1_OUT18 output assigned to IOMUX_XBAR_INOUT18 */
962     kXBARA1_OutputIomuxXbarInout19  = 19|0x100U,   /**< XBARA1_OUT19 output assigned to IOMUX_XBAR_INOUT19 */
963     kXBARA1_OutputIomuxXbarInout20  = 20|0x100U,   /**< XBARA1_OUT20 output assigned to IOMUX_XBAR_INOUT20 */
964     kXBARA1_OutputIomuxXbarInout21  = 21|0x100U,   /**< XBARA1_OUT21 output assigned to IOMUX_XBAR_INOUT21 */
965     kXBARA1_OutputIomuxXbarInout22  = 22|0x100U,   /**< XBARA1_OUT22 output assigned to IOMUX_XBAR_INOUT22 */
966     kXBARA1_OutputIomuxXbarInout23  = 23|0x100U,   /**< XBARA1_OUT23 output assigned to IOMUX_XBAR_INOUT23 */
967     kXBARA1_OutputIomuxXbarInout24  = 24|0x100U,   /**< XBARA1_OUT24 output assigned to IOMUX_XBAR_INOUT24 */
968     kXBARA1_OutputIomuxXbarInout25  = 25|0x100U,   /**< XBARA1_OUT25 output assigned to IOMUX_XBAR_INOUT25 */
969     kXBARA1_OutputIomuxXbarInout26  = 26|0x100U,   /**< XBARA1_OUT26 output assigned to IOMUX_XBAR_INOUT26 */
970     kXBARA1_OutputIomuxXbarInout27  = 27|0x100U,   /**< XBARA1_OUT27 output assigned to IOMUX_XBAR_INOUT27 */
971     kXBARA1_OutputIomuxXbarInout28  = 28|0x100U,   /**< XBARA1_OUT28 output assigned to IOMUX_XBAR_INOUT28 */
972     kXBARA1_OutputIomuxXbarInout29  = 29|0x100U,   /**< XBARA1_OUT29 output assigned to IOMUX_XBAR_INOUT29 */
973     kXBARA1_OutputIomuxXbarInout30  = 30|0x100U,   /**< XBARA1_OUT30 output assigned to IOMUX_XBAR_INOUT30 */
974     kXBARA1_OutputIomuxXbarInout31  = 31|0x100U,   /**< XBARA1_OUT31 output assigned to IOMUX_XBAR_INOUT31 */
975     kXBARA1_OutputIomuxXbarInout32  = 32|0x100U,   /**< XBARA1_OUT32 output assigned to IOMUX_XBAR_INOUT32 */
976     kXBARA1_OutputIomuxXbarInout33  = 33|0x100U,   /**< XBARA1_OUT33 output assigned to IOMUX_XBAR_INOUT33 */
977     kXBARA1_OutputIomuxXbarInout34  = 34|0x100U,   /**< XBARA1_OUT34 output assigned to IOMUX_XBAR_INOUT34 */
978     kXBARA1_OutputIomuxXbarInout35  = 35|0x100U,   /**< XBARA1_OUT35 output assigned to IOMUX_XBAR_INOUT35 */
979     kXBARA1_OutputIomuxXbarInout36  = 36|0x100U,   /**< XBARA1_OUT36 output assigned to IOMUX_XBAR_INOUT36 */
980     kXBARA1_OutputIomuxXbarInout37  = 37|0x100U,   /**< XBARA1_OUT37 output assigned to IOMUX_XBAR_INOUT37 */
981     kXBARA1_OutputIomuxXbarInout38  = 38|0x100U,   /**< XBARA1_OUT38 output assigned to IOMUX_XBAR_INOUT38 */
982     kXBARA1_OutputIomuxXbarInout39  = 39|0x100U,   /**< XBARA1_OUT39 output assigned to IOMUX_XBAR_INOUT39 */
983     kXBARA1_OutputIomuxXbarInout40  = 40|0x100U,   /**< XBARA1_OUT40 output assigned to IOMUX_XBAR_INOUT40 */
984     kXBARA1_OutputAcmp1Sample       = 41|0x100U,   /**< XBARA1_OUT41 output assigned to ACMP1_SAMPLE */
985     kXBARA1_OutputAcmp2Sample       = 42|0x100U,   /**< XBARA1_OUT42 output assigned to ACMP2_SAMPLE */
986     kXBARA1_OutputAcmp3Sample       = 43|0x100U,   /**< XBARA1_OUT43 output assigned to ACMP3_SAMPLE */
987     kXBARA1_OutputAcmp4Sample       = 44|0x100U,   /**< XBARA1_OUT44 output assigned to ACMP4_SAMPLE */
988     kXBARA1_OutputRESERVED45        = 45|0x100U,   /**< XBARA1_OUT45 output is reserved. */
989     kXBARA1_OutputRESERVED46        = 46|0x100U,   /**< XBARA1_OUT46 output is reserved. */
990     kXBARA1_OutputRESERVED47        = 47|0x100U,   /**< XBARA1_OUT47 output is reserved. */
991     kXBARA1_OutputRESERVED48        = 48|0x100U,   /**< XBARA1_OUT48 output is reserved. */
992     kXBARA1_OutputFlexpwm1Pwm0Exta  = 49|0x100U,   /**< XBARA1_OUT49 output assigned to FLEXPWM1_PWM0_EXTA */
993     kXBARA1_OutputFlexpwm1Pwm1Exta  = 50|0x100U,   /**< XBARA1_OUT50 output assigned to FLEXPWM1_PWM1_EXTA */
994     kXBARA1_OutputFlexpwm1Pwm2Exta  = 51|0x100U,   /**< XBARA1_OUT51 output assigned to FLEXPWM1_PWM2_EXTA */
995     kXBARA1_OutputFlexpwm1Pwm3Exta  = 52|0x100U,   /**< XBARA1_OUT52 output assigned to FLEXPWM1_PWM3_EXTA */
996     kXBARA1_OutputFlexpwm1Pwm0ExtSync = 53|0x100U, /**< XBARA1_OUT53 output assigned to FLEXPWM1_PWM0_EXT_SYNC */
997     kXBARA1_OutputFlexpwm1Pwm1ExtSync = 54|0x100U, /**< XBARA1_OUT54 output assigned to FLEXPWM1_PWM1_EXT_SYNC */
998     kXBARA1_OutputFlexpwm1Pwm2ExtSync = 55|0x100U, /**< XBARA1_OUT55 output assigned to FLEXPWM1_PWM2_EXT_SYNC */
999     kXBARA1_OutputFlexpwm1Pwm3ExtSync = 56|0x100U, /**< XBARA1_OUT56 output assigned to FLEXPWM1_PWM3_EXT_SYNC */
1000     kXBARA1_OutputFlexpwm1ExtClk    = 57|0x100U,   /**< XBARA1_OUT57 output assigned to FLEXPWM1_EXT_CLK */
1001     kXBARA1_OutputFlexpwm1Fault0    = 58|0x100U,   /**< XBARA1_OUT58 output assigned to FLEXPWM1_FAULT0 */
1002     kXBARA1_OutputFlexpwm1Fault1    = 59|0x100U,   /**< XBARA1_OUT59 output assigned to FLEXPWM1_FAULT1 */
1003     kXBARA1_OutputFlexpwm1234Fault2 = 60|0x100U,   /**< XBARA1_OUT60 output assigned to FLEXPWM1_2_3_4_FAULT2 */
1004     kXBARA1_OutputFlexpwm1234Fault3 = 61|0x100U,   /**< XBARA1_OUT61 output assigned to FLEXPWM1_2_3_4_FAULT3 */
1005     kXBARA1_OutputFlexpwm1ExtForce  = 62|0x100U,   /**< XBARA1_OUT62 output assigned to FLEXPWM1_EXT_FORCE */
1006     kXBARA1_OutputFlexpwm2Pwm0Exta  = 63|0x100U,   /**< XBARA1_OUT63 output assigned to FLEXPWM2_PWM0_EXTA */
1007     kXBARA1_OutputFlexpwm2Pwm1Exta  = 64|0x100U,   /**< XBARA1_OUT64 output assigned to FLEXPWM2_PWM1_EXTA */
1008     kXBARA1_OutputFlexpwm2Pwm2Exta  = 65|0x100U,   /**< XBARA1_OUT65 output assigned to FLEXPWM2_PWM2_EXTA */
1009     kXBARA1_OutputFlexpwm2Pwm3Exta  = 66|0x100U,   /**< XBARA1_OUT66 output assigned to FLEXPWM2_PWM3_EXTA */
1010     kXBARA1_OutputFlexpwm2Pwm0ExtSync = 67|0x100U, /**< XBARA1_OUT67 output assigned to FLEXPWM2_PWM0_EXT_SYNC */
1011     kXBARA1_OutputFlexpwm2Pwm1ExtSync = 68|0x100U, /**< XBARA1_OUT68 output assigned to FLEXPWM2_PWM1_EXT_SYNC */
1012     kXBARA1_OutputFlexpwm2Pwm2ExtSync = 69|0x100U, /**< XBARA1_OUT69 output assigned to FLEXPWM2_PWM2_EXT_SYNC */
1013     kXBARA1_OutputFlexpwm2Pwm3ExtSync = 70|0x100U, /**< XBARA1_OUT70 output assigned to FLEXPWM2_PWM3_EXT_SYNC */
1014     kXBARA1_OutputFlexpwm2ExtClk    = 71|0x100U,   /**< XBARA1_OUT71 output assigned to FLEXPWM2_EXT_CLK */
1015     kXBARA1_OutputFlexpwm2Fault0    = 72|0x100U,   /**< XBARA1_OUT72 output assigned to FLEXPWM2_FAULT0 */
1016     kXBARA1_OutputFlexpwm2Fault1    = 73|0x100U,   /**< XBARA1_OUT73 output assigned to FLEXPWM2_FAULT1 */
1017     kXBARA1_OutputFlexpwm2ExtForce  = 74|0x100U,   /**< XBARA1_OUT74 output assigned to FLEXPWM2_EXT_FORCE */
1018     kXBARA1_OutputFlexpwm34Pwm0Exta = 75|0x100U,   /**< XBARA1_OUT75 output assigned to FLEXPWM3_4_PWM0_EXTA */
1019     kXBARA1_OutputFlexpwm34Pwm1Exta = 76|0x100U,   /**< XBARA1_OUT76 output assigned to FLEXPWM3_4_PWM1_EXTA */
1020     kXBARA1_OutputFlexpwm34Pwm2Exta = 77|0x100U,   /**< XBARA1_OUT77 output assigned to FLEXPWM3_4_PWM2_EXTA */
1021     kXBARA1_OutputFlexpwm34Pwm3Exta = 78|0x100U,   /**< XBARA1_OUT78 output assigned to FLEXPWM3_4_PWM3_EXTA */
1022     kXBARA1_OutputFlexpwm34ExtClk   = 79|0x100U,   /**< XBARA1_OUT79 output assigned to FLEXPWM3_4_EXT_CLK */
1023     kXBARA1_OutputFlexpwm3Pwm0ExtSync = 80|0x100U, /**< XBARA1_OUT80 output assigned to FLEXPWM3_PWM0_EXT_SYNC */
1024     kXBARA1_OutputFlexpwm3Pwm1ExtSync = 81|0x100U, /**< XBARA1_OUT81 output assigned to FLEXPWM3_PWM1_EXT_SYNC */
1025     kXBARA1_OutputFlexpwm3Pwm2ExtSync = 82|0x100U, /**< XBARA1_OUT82 output assigned to FLEXPWM3_PWM2_EXT_SYNC */
1026     kXBARA1_OutputFlexpwm3Pwm3ExtSync = 83|0x100U, /**< XBARA1_OUT83 output assigned to FLEXPWM3_PWM3_EXT_SYNC */
1027     kXBARA1_OutputFlexpwm3Fault0    = 84|0x100U,   /**< XBARA1_OUT84 output assigned to FLEXPWM3_FAULT0 */
1028     kXBARA1_OutputFlexpwm3Fault1    = 85|0x100U,   /**< XBARA1_OUT85 output assigned to FLEXPWM3_FAULT1 */
1029     kXBARA1_OutputFlexpwm3ExtForce  = 86|0x100U,   /**< XBARA1_OUT86 output assigned to FLEXPWM3_EXT_FORCE */
1030     kXBARA1_OutputFlexpwm4Pwm0ExtSync = 87|0x100U, /**< XBARA1_OUT87 output assigned to FLEXPWM4_PWM0_EXT_SYNC */
1031     kXBARA1_OutputFlexpwm4Pwm1ExtSync = 88|0x100U, /**< XBARA1_OUT88 output assigned to FLEXPWM4_PWM1_EXT_SYNC */
1032     kXBARA1_OutputFlexpwm4Pwm2ExtSync = 89|0x100U, /**< XBARA1_OUT89 output assigned to FLEXPWM4_PWM2_EXT_SYNC */
1033     kXBARA1_OutputFlexpwm4Pwm3ExtSync = 90|0x100U, /**< XBARA1_OUT90 output assigned to FLEXPWM4_PWM3_EXT_SYNC */
1034     kXBARA1_OutputFlexpwm4Fault0    = 91|0x100U,   /**< XBARA1_OUT91 output assigned to FLEXPWM4_FAULT0 */
1035     kXBARA1_OutputFlexpwm4Fault1    = 92|0x100U,   /**< XBARA1_OUT92 output assigned to FLEXPWM4_FAULT1 */
1036     kXBARA1_OutputFlexpwm4ExtForce  = 93|0x100U,   /**< XBARA1_OUT93 output assigned to FLEXPWM4_EXT_FORCE */
1037     kXBARA1_OutputRESERVED94        = 94|0x100U,   /**< XBARA1_OUT94 output is reserved. */
1038     kXBARA1_OutputRESERVED95        = 95|0x100U,   /**< XBARA1_OUT95 output is reserved. */
1039     kXBARA1_OutputRESERVED96        = 96|0x100U,   /**< XBARA1_OUT96 output is reserved. */
1040     kXBARA1_OutputRESERVED97        = 97|0x100U,   /**< XBARA1_OUT97 output is reserved. */
1041     kXBARA1_OutputRESERVED98        = 98|0x100U,   /**< XBARA1_OUT98 output is reserved. */
1042     kXBARA1_OutputRESERVED99        = 99|0x100U,   /**< XBARA1_OUT99 output is reserved. */
1043     kXBARA1_OutputRESERVED100       = 100|0x100U,  /**< XBARA1_OUT100 output is reserved. */
1044     kXBARA1_OutputRESERVED101       = 101|0x100U,  /**< XBARA1_OUT101 output is reserved. */
1045     kXBARA1_OutputRESERVED102       = 102|0x100U,  /**< XBARA1_OUT102 output is reserved. */
1046     kXBARA1_OutputRESERVED103       = 103|0x100U,  /**< XBARA1_OUT103 output is reserved. */
1047     kXBARA1_OutputRESERVED104       = 104|0x100U,  /**< XBARA1_OUT104 output is reserved. */
1048     kXBARA1_OutputRESERVED105       = 105|0x100U,  /**< XBARA1_OUT105 output is reserved. */
1049     kXBARA1_OutputRESERVED106       = 106|0x100U,  /**< XBARA1_OUT106 output is reserved. */
1050     kXBARA1_OutputRESERVED107       = 107|0x100U,  /**< XBARA1_OUT107 output is reserved. */
1051     kXBARA1_OutputDec1Phasea        = 108|0x100U,  /**< XBARA1_OUT108 output assigned to DEC1_PHASEA */
1052     kXBARA1_OutputDec1Phaseb        = 109|0x100U,  /**< XBARA1_OUT109 output assigned to DEC1_PHASEB */
1053     kXBARA1_OutputDec1Index         = 110|0x100U,  /**< XBARA1_OUT110 output assigned to DEC1_INDEX */
1054     kXBARA1_OutputDec1Home          = 111|0x100U,  /**< XBARA1_OUT111 output assigned to DEC1_HOME */
1055     kXBARA1_OutputDec1Trigger       = 112|0x100U,  /**< XBARA1_OUT112 output assigned to DEC1_TRIGGER */
1056     kXBARA1_OutputDec2Phasea        = 113|0x100U,  /**< XBARA1_OUT113 output assigned to DEC2_PHASEA */
1057     kXBARA1_OutputDec2Phaseb        = 114|0x100U,  /**< XBARA1_OUT114 output assigned to DEC2_PHASEB */
1058     kXBARA1_OutputDec2Index         = 115|0x100U,  /**< XBARA1_OUT115 output assigned to DEC2_INDEX */
1059     kXBARA1_OutputDec2Home          = 116|0x100U,  /**< XBARA1_OUT116 output assigned to DEC2_HOME */
1060     kXBARA1_OutputDec2Trigger       = 117|0x100U,  /**< XBARA1_OUT117 output assigned to DEC2_TRIGGER */
1061     kXBARA1_OutputDec3Phasea        = 118|0x100U,  /**< XBARA1_OUT118 output assigned to DEC3_PHASEA */
1062     kXBARA1_OutputDec3Phaseb        = 119|0x100U,  /**< XBARA1_OUT119 output assigned to DEC3_PHASEB */
1063     kXBARA1_OutputDec3Index         = 120|0x100U,  /**< XBARA1_OUT120 output assigned to DEC3_INDEX */
1064     kXBARA1_OutputDec3Home          = 121|0x100U,  /**< XBARA1_OUT121 output assigned to DEC3_HOME */
1065     kXBARA1_OutputDec3Trigger       = 122|0x100U,  /**< XBARA1_OUT122 output assigned to DEC3_TRIGGER */
1066     kXBARA1_OutputDec4Phasea        = 123|0x100U,  /**< XBARA1_OUT123 output assigned to DEC4_PHASEA */
1067     kXBARA1_OutputDec4Phaseb        = 124|0x100U,  /**< XBARA1_OUT124 output assigned to DEC4_PHASEB */
1068     kXBARA1_OutputDec4Index         = 125|0x100U,  /**< XBARA1_OUT125 output assigned to DEC4_INDEX */
1069     kXBARA1_OutputDec4Home          = 126|0x100U,  /**< XBARA1_OUT126 output assigned to DEC4_HOME */
1070     kXBARA1_OutputDec4Trigger       = 127|0x100U,  /**< XBARA1_OUT127 output assigned to DEC4_TRIGGER */
1071     kXBARA1_OutputRESERVED128       = 128|0x100U,  /**< XBARA1_OUT128 output is reserved. */
1072     kXBARA1_OutputRESERVED129       = 129|0x100U,  /**< XBARA1_OUT129 output is reserved. */
1073     kXBARA1_OutputRESERVED130       = 130|0x100U,  /**< XBARA1_OUT130 output is reserved. */
1074     kXBARA1_OutputRESERVED131       = 131|0x100U,  /**< XBARA1_OUT131 output is reserved. */
1075     kXBARA1_OutputCan1              = 132|0x100U,  /**< XBARA1_OUT132 output assigned to CAN1 */
1076     kXBARA1_OutputCan2              = 133|0x100U,  /**< XBARA1_OUT133 output assigned to CAN2 */
1077     kXBARA1_OutputRESERVED134       = 134|0x100U,  /**< XBARA1_OUT134 output is reserved. */
1078     kXBARA1_OutputRESERVED135       = 135|0x100U,  /**< XBARA1_OUT135 output is reserved. */
1079     kXBARA1_OutputRESERVED136       = 136|0x100U,  /**< XBARA1_OUT136 output is reserved. */
1080     kXBARA1_OutputRESERVED137       = 137|0x100U,  /**< XBARA1_OUT137 output is reserved. */
1081     kXBARA1_OutputQtimer1Timer0     = 138|0x100U,  /**< XBARA1_OUT138 output assigned to QTIMER1_TIMER0 */
1082     kXBARA1_OutputQtimer1Timer1     = 139|0x100U,  /**< XBARA1_OUT139 output assigned to QTIMER1_TIMER1 */
1083     kXBARA1_OutputQtimer1Timer2     = 140|0x100U,  /**< XBARA1_OUT140 output assigned to QTIMER1_TIMER2 */
1084     kXBARA1_OutputQtimer1Timer3     = 141|0x100U,  /**< XBARA1_OUT141 output assigned to QTIMER1_TIMER3 */
1085     kXBARA1_OutputQtimer2Timer0     = 142|0x100U,  /**< XBARA1_OUT142 output assigned to QTIMER2_TIMER0 */
1086     kXBARA1_OutputQtimer2Timer1     = 143|0x100U,  /**< XBARA1_OUT143 output assigned to QTIMER2_TIMER1 */
1087     kXBARA1_OutputQtimer2Timer2     = 144|0x100U,  /**< XBARA1_OUT144 output assigned to QTIMER2_TIMER2 */
1088     kXBARA1_OutputQtimer2Timer3     = 145|0x100U,  /**< XBARA1_OUT145 output assigned to QTIMER2_TIMER3 */
1089     kXBARA1_OutputQtimer3Timer0     = 146|0x100U,  /**< XBARA1_OUT146 output assigned to QTIMER3_TIMER0 */
1090     kXBARA1_OutputQtimer3Timer1     = 147|0x100U,  /**< XBARA1_OUT147 output assigned to QTIMER3_TIMER1 */
1091     kXBARA1_OutputQtimer3Timer2     = 148|0x100U,  /**< XBARA1_OUT148 output assigned to QTIMER3_TIMER2 */
1092     kXBARA1_OutputQtimer3Timer3     = 149|0x100U,  /**< XBARA1_OUT149 output assigned to QTIMER3_TIMER3 */
1093     kXBARA1_OutputQtimer4Timer0     = 150|0x100U,  /**< XBARA1_OUT150 output assigned to QTIMER4_TIMER0 */
1094     kXBARA1_OutputQtimer4Timer1     = 151|0x100U,  /**< XBARA1_OUT151 output assigned to QTIMER4_TIMER1 */
1095     kXBARA1_OutputQtimer4Timer2     = 152|0x100U,  /**< XBARA1_OUT152 output assigned to QTIMER4_TIMER2 */
1096     kXBARA1_OutputQtimer4Timer3     = 153|0x100U,  /**< XBARA1_OUT153 output assigned to QTIMER4_TIMER3 */
1097     kXBARA1_OutputEwmEwmIn          = 154|0x100U,  /**< XBARA1_OUT154 output assigned to EWM_EWM_IN */
1098     kXBARA1_OutputAdcEtc0Coco0      = 155|0x100U,  /**< XBARA1_OUT155 output assigned to ADC_ETC0_COCO0 */
1099     kXBARA1_OutputAdcEtc0Coco1      = 156|0x100U,  /**< XBARA1_OUT156 output assigned to ADC_ETC0_COCO1 */
1100     kXBARA1_OutputAdcEtc0Coco2      = 157|0x100U,  /**< XBARA1_OUT157 output assigned to ADC_ETC0_COCO2 */
1101     kXBARA1_OutputAdcEtc0Coco3      = 158|0x100U,  /**< XBARA1_OUT158 output assigned to ADC_ETC0_COCO3 */
1102     kXBARA1_OutputAdcEtc1Coco0      = 159|0x100U,  /**< XBARA1_OUT159 output assigned to ADC_ETC1_COCO0 */
1103     kXBARA1_OutputAdcEtc1Coco1      = 160|0x100U,  /**< XBARA1_OUT160 output assigned to ADC_ETC1_COCO1 */
1104     kXBARA1_OutputAdcEtc1Coco2      = 161|0x100U,  /**< XBARA1_OUT161 output assigned to ADC_ETC1_COCO2 */
1105     kXBARA1_OutputAdcEtc1Coco3      = 162|0x100U,  /**< XBARA1_OUT162 output assigned to ADC_ETC1_COCO3 */
1106     kXBARA1_OutputRESERVED163       = 163|0x100U,  /**< XBARA1_OUT163 output is reserved. */
1107     kXBARA1_OutputRESERVED164       = 164|0x100U,  /**< XBARA1_OUT164 output is reserved. */
1108     kXBARA1_OutputRESERVED165       = 165|0x100U,  /**< XBARA1_OUT165 output is reserved. */
1109     kXBARA1_OutputRESERVED166       = 166|0x100U,  /**< XBARA1_OUT166 output is reserved. */
1110     kXBARA1_OutputRESERVED167       = 167|0x100U,  /**< XBARA1_OUT167 output is reserved. */
1111     kXBARA1_OutputRESERVED168       = 168|0x100U,  /**< XBARA1_OUT168 output is reserved. */
1112     kXBARA1_OutputRESERVED169       = 169|0x100U,  /**< XBARA1_OUT169 output is reserved. */
1113     kXBARA1_OutputRESERVED170       = 170|0x100U,  /**< XBARA1_OUT170 output is reserved. */
1114     kXBARA1_OutputFlexio1TrigIn0    = 171|0x100U,  /**< XBARA1_OUT171 output assigned to FLEXIO1_TRIG_IN0 */
1115     kXBARA1_OutputFlexio1TrigIn1    = 172|0x100U,  /**< XBARA1_OUT172 output assigned to FLEXIO1_TRIG_IN1 */
1116     kXBARA1_OutputFlexio2TrigIn0    = 173|0x100U,  /**< XBARA1_OUT173 output assigned to FLEXIO2_TRIG_IN0 */
1117     kXBARA1_OutputFlexio2TrigIn1    = 174|0x100U,  /**< XBARA1_OUT174 output assigned to FLEXIO2_TRIG_IN1 */
1118     kXBARB2_OutputAoi1In00          = 0|0x200U,    /**< XBARB2_OUT0 output assigned to AOI1_IN00 */
1119     kXBARB2_OutputAoi1In01          = 1|0x200U,    /**< XBARB2_OUT1 output assigned to AOI1_IN01 */
1120     kXBARB2_OutputAoi1In02          = 2|0x200U,    /**< XBARB2_OUT2 output assigned to AOI1_IN02 */
1121     kXBARB2_OutputAoi1In03          = 3|0x200U,    /**< XBARB2_OUT3 output assigned to AOI1_IN03 */
1122     kXBARB2_OutputAoi1In04          = 4|0x200U,    /**< XBARB2_OUT4 output assigned to AOI1_IN04 */
1123     kXBARB2_OutputAoi1In05          = 5|0x200U,    /**< XBARB2_OUT5 output assigned to AOI1_IN05 */
1124     kXBARB2_OutputAoi1In06          = 6|0x200U,    /**< XBARB2_OUT6 output assigned to AOI1_IN06 */
1125     kXBARB2_OutputAoi1In07          = 7|0x200U,    /**< XBARB2_OUT7 output assigned to AOI1_IN07 */
1126     kXBARB2_OutputAoi1In08          = 8|0x200U,    /**< XBARB2_OUT8 output assigned to AOI1_IN08 */
1127     kXBARB2_OutputAoi1In09          = 9|0x200U,    /**< XBARB2_OUT9 output assigned to AOI1_IN09 */
1128     kXBARB2_OutputAoi1In10          = 10|0x200U,   /**< XBARB2_OUT10 output assigned to AOI1_IN10 */
1129     kXBARB2_OutputAoi1In11          = 11|0x200U,   /**< XBARB2_OUT11 output assigned to AOI1_IN11 */
1130     kXBARB2_OutputAoi1In12          = 12|0x200U,   /**< XBARB2_OUT12 output assigned to AOI1_IN12 */
1131     kXBARB2_OutputAoi1In13          = 13|0x200U,   /**< XBARB2_OUT13 output assigned to AOI1_IN13 */
1132     kXBARB2_OutputAoi1In14          = 14|0x200U,   /**< XBARB2_OUT14 output assigned to AOI1_IN14 */
1133     kXBARB2_OutputAoi1In15          = 15|0x200U,   /**< XBARB2_OUT15 output assigned to AOI1_IN15 */
1134     kXBARB3_OutputAoi2In00          = 0|0x300U,    /**< XBARB3_OUT0 output assigned to AOI2_IN00 */
1135     kXBARB3_OutputAoi2In01          = 1|0x300U,    /**< XBARB3_OUT1 output assigned to AOI2_IN01 */
1136     kXBARB3_OutputAoi2In02          = 2|0x300U,    /**< XBARB3_OUT2 output assigned to AOI2_IN02 */
1137     kXBARB3_OutputAoi2In03          = 3|0x300U,    /**< XBARB3_OUT3 output assigned to AOI2_IN03 */
1138     kXBARB3_OutputAoi2In04          = 4|0x300U,    /**< XBARB3_OUT4 output assigned to AOI2_IN04 */
1139     kXBARB3_OutputAoi2In05          = 5|0x300U,    /**< XBARB3_OUT5 output assigned to AOI2_IN05 */
1140     kXBARB3_OutputAoi2In06          = 6|0x300U,    /**< XBARB3_OUT6 output assigned to AOI2_IN06 */
1141     kXBARB3_OutputAoi2In07          = 7|0x300U,    /**< XBARB3_OUT7 output assigned to AOI2_IN07 */
1142     kXBARB3_OutputAoi2In08          = 8|0x300U,    /**< XBARB3_OUT8 output assigned to AOI2_IN08 */
1143     kXBARB3_OutputAoi2In09          = 9|0x300U,    /**< XBARB3_OUT9 output assigned to AOI2_IN09 */
1144     kXBARB3_OutputAoi2In10          = 10|0x300U,   /**< XBARB3_OUT10 output assigned to AOI2_IN10 */
1145     kXBARB3_OutputAoi2In11          = 11|0x300U,   /**< XBARB3_OUT11 output assigned to AOI2_IN11 */
1146     kXBARB3_OutputAoi2In12          = 12|0x300U,   /**< XBARB3_OUT12 output assigned to AOI2_IN12 */
1147     kXBARB3_OutputAoi2In13          = 13|0x300U,   /**< XBARB3_OUT13 output assigned to AOI2_IN13 */
1148     kXBARB3_OutputAoi2In14          = 14|0x300U,   /**< XBARB3_OUT14 output assigned to AOI2_IN14 */
1149     kXBARB3_OutputAoi2In15          = 15|0x300U,   /**< XBARB3_OUT15 output assigned to AOI2_IN15 */
1150 } xbar_output_signal_t;
1151 
1152 /*!
1153  * @addtogroup iomuxc_lpsr_pads
1154  * @{ */
1155 
1156 /*******************************************************************************
1157  * Definitions
1158 *******************************************************************************/
1159 
1160 /*!
1161  * @brief Enumeration for the IOMUXC_LPSR SW_MUX_CTL_PAD
1162  *
1163  * Defines the enumeration for the IOMUXC_LPSR SW_MUX_CTL_PAD collections.
1164  */
1165 typedef enum _iomuxc_lpsr_sw_mux_ctl_pad
1166 {
1167     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_00 = 0U, /**< IOMUXC SW_MUX_CTL_PAD index */
1168     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_01 = 1U, /**< IOMUXC SW_MUX_CTL_PAD index */
1169     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_02 = 2U, /**< IOMUXC SW_MUX_CTL_PAD index */
1170     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_03 = 3U, /**< IOMUXC SW_MUX_CTL_PAD index */
1171     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_04 = 4U, /**< IOMUXC SW_MUX_CTL_PAD index */
1172     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_05 = 5U, /**< IOMUXC SW_MUX_CTL_PAD index */
1173     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_06 = 6U, /**< IOMUXC SW_MUX_CTL_PAD index */
1174     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_07 = 7U, /**< IOMUXC SW_MUX_CTL_PAD index */
1175     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_08 = 8U, /**< IOMUXC SW_MUX_CTL_PAD index */
1176     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_09 = 9U, /**< IOMUXC SW_MUX_CTL_PAD index */
1177     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_10 = 10U, /**< IOMUXC SW_MUX_CTL_PAD index */
1178     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_11 = 11U, /**< IOMUXC SW_MUX_CTL_PAD index */
1179     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_12 = 12U, /**< IOMUXC SW_MUX_CTL_PAD index */
1180     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_13 = 13U, /**< IOMUXC SW_MUX_CTL_PAD index */
1181     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_14 = 14U, /**< IOMUXC SW_MUX_CTL_PAD index */
1182     kIOMUXC_LPSR_SW_MUX_CTL_PAD_GPIO_LPSR_15 = 15U, /**< IOMUXC SW_MUX_CTL_PAD index */
1183 } iomuxc_lpsr_sw_mux_ctl_pad_t;
1184 
1185 /* @} */
1186 
1187 /*!
1188  * @addtogroup iomuxc_lpsr_pads
1189  * @{ */
1190 
1191 /*******************************************************************************
1192  * Definitions
1193 *******************************************************************************/
1194 
1195 /*!
1196  * @brief Enumeration for the IOMUXC_LPSR SW_PAD_CTL_PAD
1197  *
1198  * Defines the enumeration for the IOMUXC_LPSR SW_PAD_CTL_PAD collections.
1199  */
1200 typedef enum _iomuxc_lpsr_sw_pad_ctl_pad
1201 {
1202     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_00 = 0U, /**< IOMUXC SW_PAD_CTL_PAD index */
1203     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_01 = 1U, /**< IOMUXC SW_PAD_CTL_PAD index */
1204     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_02 = 2U, /**< IOMUXC SW_PAD_CTL_PAD index */
1205     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_03 = 3U, /**< IOMUXC SW_PAD_CTL_PAD index */
1206     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_04 = 4U, /**< IOMUXC SW_PAD_CTL_PAD index */
1207     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_05 = 5U, /**< IOMUXC SW_PAD_CTL_PAD index */
1208     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_06 = 6U, /**< IOMUXC SW_PAD_CTL_PAD index */
1209     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_07 = 7U, /**< IOMUXC SW_PAD_CTL_PAD index */
1210     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_08 = 8U, /**< IOMUXC SW_PAD_CTL_PAD index */
1211     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_09 = 9U, /**< IOMUXC SW_PAD_CTL_PAD index */
1212     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_10 = 10U, /**< IOMUXC SW_PAD_CTL_PAD index */
1213     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_11 = 11U, /**< IOMUXC SW_PAD_CTL_PAD index */
1214     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_12 = 12U, /**< IOMUXC SW_PAD_CTL_PAD index */
1215     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_13 = 13U, /**< IOMUXC SW_PAD_CTL_PAD index */
1216     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_14 = 14U, /**< IOMUXC SW_PAD_CTL_PAD index */
1217     kIOMUXC_LPSR_SW_PAD_CTL_PAD_GPIO_LPSR_15 = 15U, /**< IOMUXC SW_PAD_CTL_PAD index */
1218 } iomuxc_lpsr_sw_pad_ctl_pad_t;
1219 
1220 /* @} */
1221 
1222 /*!
1223  * @brief Enumeration for the IOMUXC_LPSR select input
1224  *
1225  * Defines the enumeration for the IOMUXC_LPSR select input collections.
1226  */
1227 typedef enum _iomuxc_lpsr_select_input
1228 {
1229     kIOMUXC_LPSR_CAN3_IPP_IND_CANRX_SELECT_INPUT = 0U, /**< IOMUXC select input index */
1230     kIOMUXC_LPSR_LPI2C5_IPP_IND_LPI2C_SCL_SELECT_INPUT = 1U, /**< IOMUXC select input index */
1231     kIOMUXC_LPSR_LPI2C5_IPP_IND_LPI2C_SDA_SELECT_INPUT = 2U, /**< IOMUXC select input index */
1232     kIOMUXC_LPSR_LPI2C6_IPP_IND_LPI2C_SCL_SELECT_INPUT = 3U, /**< IOMUXC select input index */
1233     kIOMUXC_LPSR_LPI2C6_IPP_IND_LPI2C_SDA_SELECT_INPUT = 4U, /**< IOMUXC select input index */
1234     kIOMUXC_LPSR_LPSPI5_IPP_IND_LPSPI_PCS_SELECT_INPUT_0 = 5U, /**< IOMUXC select input index */
1235     kIOMUXC_LPSR_LPSPI5_IPP_IND_LPSPI_SCK_SELECT_INPUT = 6U, /**< IOMUXC select input index */
1236     kIOMUXC_LPSR_LPSPI5_IPP_IND_LPSPI_SDI_SELECT_INPUT = 7U, /**< IOMUXC select input index */
1237     kIOMUXC_LPSR_LPSPI5_IPP_IND_LPSPI_SDO_SELECT_INPUT = 8U, /**< IOMUXC select input index */
1238     kIOMUXC_LPSR_LPUART11_IPP_IND_LPUART_RXD_SELECT_INPUT = 9U, /**< IOMUXC select input index */
1239     kIOMUXC_LPSR_LPUART11_IPP_IND_LPUART_TXD_SELECT_INPUT = 10U, /**< IOMUXC select input index */
1240     kIOMUXC_LPSR_LPUART12_IPP_IND_LPUART_RXD_SELECT_INPUT = 11U, /**< IOMUXC select input index */
1241     kIOMUXC_LPSR_LPUART12_IPP_IND_LPUART_TXD_SELECT_INPUT = 12U, /**< IOMUXC select input index */
1242     kIOMUXC_LPSR_MIC_IPP_IND_MIC_PDM_BITSTREAM_SELECT_INPUT_0 = 13U, /**< IOMUXC select input index */
1243     kIOMUXC_LPSR_MIC_IPP_IND_MIC_PDM_BITSTREAM_SELECT_INPUT_1 = 14U, /**< IOMUXC select input index */
1244     kIOMUXC_LPSR_MIC_IPP_IND_MIC_PDM_BITSTREAM_SELECT_INPUT_2 = 15U, /**< IOMUXC select input index */
1245     kIOMUXC_LPSR_MIC_IPP_IND_MIC_PDM_BITSTREAM_SELECT_INPUT_3 = 16U, /**< IOMUXC select input index */
1246     kIOMUXC_LPSR_NMI_GLUE_IPP_IND_NMI_SELECT_INPUT = 17U, /**< IOMUXC select input index */
1247     kIOMUXC_LPSR_SAI4_IPG_CLK_SAI_MCLK_SELECT_INPUT = 18U, /**< IOMUXC select input index */
1248     kIOMUXC_LPSR_SAI4_IPP_IND_SAI_RXBCLK_SELECT_INPUT = 19U, /**< IOMUXC select input index */
1249     kIOMUXC_LPSR_SAI4_IPP_IND_SAI_RXDATA_SELECT_INPUT_0 = 20U, /**< IOMUXC select input index */
1250     kIOMUXC_LPSR_SAI4_IPP_IND_SAI_RXSYNC_SELECT_INPUT = 21U, /**< IOMUXC select input index */
1251     kIOMUXC_LPSR_SAI4_IPP_IND_SAI_TXBCLK_SELECT_INPUT = 22U, /**< IOMUXC select input index */
1252     kIOMUXC_LPSR_SAI4_IPP_IND_SAI_TXSYNC_SELECT_INPUT = 23U, /**< IOMUXC select input index */
1253 } iomuxc_lpsr_select_input_t;
1254 
1255 /*!
1256  * @addtogroup ssarc_mapping
1257  * @{
1258  */
1259 
1260 /*******************************************************************************
1261  * Definitions
1262  ******************************************************************************/
1263 
1264 /*!
1265  * @brief Structure for the SSARC mapping
1266  *
1267  * The name of power domain.
1268  */
1269 
1270 typedef enum _ssarc_power_domain_name
1271 {
1272     kSSARC_MEGAMIXPowerDomain       = 0U,          /**< MEGAMIX Power Domain, request from BPC0. */
1273     kSSARC_DISPLAYMIXPowerDomain    = 1U,          /**< DISPLAYMIX Power Domain, request from BPC1. */
1274     kSSARC_WAKEUPMIXPowerDomain     = 2U,          /**< WAKEUPMIX Power Domain, request from BPC2. */
1275     kSSARC_LPSRMIXPowerDomain       = 3U,          /**< LPSRMIX Power Domain, request from BPC3. */
1276     kSSARC_PowerDomain4             = 4U,          /**< MIPI PHY Power Domain, request from BPC4. */
1277     kSSARC_PowerDomain5             = 5U,          /**< Virtual power domain, request from BPC5. */
1278     kSSARC_PowerDomain6             = 6U,          /**< Virtual power domain, request from BPC6. */
1279     kSSARC_PowerDomain7             = 7U,          /**< Virtual power domain, request from BPC7. */
1280 } ssarc_power_domain_name_t;
1281 
1282  /*
1283  * @brief The name of cpu domain.
1284  */
1285 typedef enum _ssarc_cpu_domain_name
1286 {
1287     kSSARC_CM7Core                  = 0U,          /**< CM7 Core domain. */
1288     kSSARC_CM4Core                  = 1U,          /**< CM4 Core domain. */
1289 } ssarc_cpu_domain_name_t;
1290 
1291 /* @} */
1292 
1293 /*!
1294  * @addtogroup xrdc2_mapping
1295  * @{
1296  */
1297 
1298 /*******************************************************************************
1299  * Definitions
1300  ******************************************************************************/
1301 
1302 /*!
1303  * @brief Structure for the XRDC2 mapping
1304  *
1305  * Defines the structure for the XRDC2 resource collections.
1306  */
1307 
1308 typedef enum _xrdc2_master
1309 {
1310     kXRDC2_Master_M7_AHB            = 0U,          /**< M7 AHB */
1311     kXRDC2_Master_M4_AHBC           = 0U,          /**< M4 AHBC */
1312     kXRDC2_Master_M7_AXI            = 1U,          /**< M7 AXI */
1313     kXRDC2_Master_M4_AHBS           = 1U,          /**< M4 AHBS */
1314     kXRDC2_Master_CAAM              = 2U,          /**< CAAM */
1315     kXRDC2_Master_CSI               = 3U,          /**< CSI */
1316     kXRDC2_Master_M7_EDMA           = 4U,          /**< M7 EDMA */
1317     kXRDC2_Master_M4_EDMA           = 4U,          /**< M4 EDMA */
1318     kXRDC2_Master_ENET              = 5U,          /**< ENET */
1319     kXRDC2_Master_ENET_1G_RX        = 6U,          /**< ENET_1G_RX */
1320     kXRDC2_Master_ENET_1G_TX        = 7U,          /**< ENET_1G_TX */
1321     kXRDC2_Master_ENET_QOS          = 8U,          /**< ENET_QOS */
1322     kXRDC2_Master_GPU               = 9U,          /**< GPU */
1323     kXRDC2_Master_LCDIF             = 10U,         /**< LCDIF */
1324     kXRDC2_Master_LCDIFV2           = 11U,         /**< LCDIFV2 */
1325     kXRDC2_Master_PXP               = 12U,         /**< PXP */
1326     kXRDC2_Master_SSARC             = 14U,         /**< SSARC */
1327     kXRDC2_Master_USB               = 15U,         /**< USB */
1328     kXRDC2_Master_USDHC1            = 16U,         /**< USDHC1 */
1329     kXRDC2_Master_USDHC2            = 17U,         /**< USDHC2 */
1330 } xrdc2_master_t;
1331 
1332 typedef enum _xrdc2_mem
1333 {
1334     kXRDC2_Mem_CAAM_Region0         = XRDC2_MAKE_MEM(0, 0), /**< MRC0 Memory 0 */
1335     kXRDC2_Mem_CAAM_Region1         = XRDC2_MAKE_MEM(0, 1), /**< MRC0 Memory 1 */
1336     kXRDC2_Mem_CAAM_Region2         = XRDC2_MAKE_MEM(0, 2), /**< MRC0 Memory 2 */
1337     kXRDC2_Mem_CAAM_Region3         = XRDC2_MAKE_MEM(0, 3), /**< MRC0 Memory 3 */
1338     kXRDC2_Mem_CAAM_Region4         = XRDC2_MAKE_MEM(0, 4), /**< MRC0 Memory 4 */
1339     kXRDC2_Mem_CAAM_Region5         = XRDC2_MAKE_MEM(0, 5), /**< MRC0 Memory 5 */
1340     kXRDC2_Mem_CAAM_Region6         = XRDC2_MAKE_MEM(0, 6), /**< MRC0 Memory 6 */
1341     kXRDC2_Mem_CAAM_Region7         = XRDC2_MAKE_MEM(0, 7), /**< MRC0 Memory 7 */
1342     kXRDC2_Mem_CAAM_Region8         = XRDC2_MAKE_MEM(0, 8), /**< MRC0 Memory 8 */
1343     kXRDC2_Mem_CAAM_Region9         = XRDC2_MAKE_MEM(0, 9), /**< MRC0 Memory 9 */
1344     kXRDC2_Mem_CAAM_Region10        = XRDC2_MAKE_MEM(0, 10), /**< MRC0 Memory 10 */
1345     kXRDC2_Mem_CAAM_Region11        = XRDC2_MAKE_MEM(0, 11), /**< MRC0 Memory 11 */
1346     kXRDC2_Mem_CAAM_Region12        = XRDC2_MAKE_MEM(0, 12), /**< MRC0 Memory 12 */
1347     kXRDC2_Mem_CAAM_Region13        = XRDC2_MAKE_MEM(0, 13), /**< MRC0 Memory 13 */
1348     kXRDC2_Mem_CAAM_Region14        = XRDC2_MAKE_MEM(0, 14), /**< MRC0 Memory 14 */
1349     kXRDC2_Mem_CAAM_Region15        = XRDC2_MAKE_MEM(0, 15), /**< MRC0 Memory 15 */
1350     kXRDC2_Mem_FLEXSPI1_Region0     = XRDC2_MAKE_MEM(1, 0), /**< MRC1 Memory 0 */
1351     kXRDC2_Mem_FLEXSPI1_Region1     = XRDC2_MAKE_MEM(1, 1), /**< MRC1 Memory 1 */
1352     kXRDC2_Mem_FLEXSPI1_Region2     = XRDC2_MAKE_MEM(1, 2), /**< MRC1 Memory 2 */
1353     kXRDC2_Mem_FLEXSPI1_Region3     = XRDC2_MAKE_MEM(1, 3), /**< MRC1 Memory 3 */
1354     kXRDC2_Mem_FLEXSPI1_Region4     = XRDC2_MAKE_MEM(1, 4), /**< MRC1 Memory 4 */
1355     kXRDC2_Mem_FLEXSPI1_Region5     = XRDC2_MAKE_MEM(1, 5), /**< MRC1 Memory 5 */
1356     kXRDC2_Mem_FLEXSPI1_Region6     = XRDC2_MAKE_MEM(1, 6), /**< MRC1 Memory 6 */
1357     kXRDC2_Mem_FLEXSPI1_Region7     = XRDC2_MAKE_MEM(1, 7), /**< MRC1 Memory 7 */
1358     kXRDC2_Mem_FLEXSPI1_Region8     = XRDC2_MAKE_MEM(1, 8), /**< MRC1 Memory 8 */
1359     kXRDC2_Mem_FLEXSPI1_Region9     = XRDC2_MAKE_MEM(1, 9), /**< MRC1 Memory 9 */
1360     kXRDC2_Mem_FLEXSPI1_Region10    = XRDC2_MAKE_MEM(1, 10), /**< MRC1 Memory 10 */
1361     kXRDC2_Mem_FLEXSPI1_Region11    = XRDC2_MAKE_MEM(1, 11), /**< MRC1 Memory 11 */
1362     kXRDC2_Mem_FLEXSPI1_Region12    = XRDC2_MAKE_MEM(1, 12), /**< MRC1 Memory 12 */
1363     kXRDC2_Mem_FLEXSPI1_Region13    = XRDC2_MAKE_MEM(1, 13), /**< MRC1 Memory 13 */
1364     kXRDC2_Mem_FLEXSPI1_Region14    = XRDC2_MAKE_MEM(1, 14), /**< MRC1 Memory 14 */
1365     kXRDC2_Mem_FLEXSPI1_Region15    = XRDC2_MAKE_MEM(1, 15), /**< MRC1 Memory 15 */
1366     kXRDC2_Mem_FLEXSPI2_Region0     = XRDC2_MAKE_MEM(2, 0), /**< MRC2 Memory 0 */
1367     kXRDC2_Mem_FLEXSPI2_Region1     = XRDC2_MAKE_MEM(2, 1), /**< MRC2 Memory 1 */
1368     kXRDC2_Mem_FLEXSPI2_Region2     = XRDC2_MAKE_MEM(2, 2), /**< MRC2 Memory 2 */
1369     kXRDC2_Mem_FLEXSPI2_Region3     = XRDC2_MAKE_MEM(2, 3), /**< MRC2 Memory 3 */
1370     kXRDC2_Mem_FLEXSPI2_Region4     = XRDC2_MAKE_MEM(2, 4), /**< MRC2 Memory 4 */
1371     kXRDC2_Mem_FLEXSPI2_Region5     = XRDC2_MAKE_MEM(2, 5), /**< MRC2 Memory 5 */
1372     kXRDC2_Mem_FLEXSPI2_Region6     = XRDC2_MAKE_MEM(2, 6), /**< MRC2 Memory 6 */
1373     kXRDC2_Mem_FLEXSPI2_Region7     = XRDC2_MAKE_MEM(2, 7), /**< MRC2 Memory 7 */
1374     kXRDC2_Mem_FLEXSPI2_Region8     = XRDC2_MAKE_MEM(2, 8), /**< MRC2 Memory 8 */
1375     kXRDC2_Mem_FLEXSPI2_Region9     = XRDC2_MAKE_MEM(2, 9), /**< MRC2 Memory 9 */
1376     kXRDC2_Mem_FLEXSPI2_Region10    = XRDC2_MAKE_MEM(2, 10), /**< MRC2 Memory 10 */
1377     kXRDC2_Mem_FLEXSPI2_Region11    = XRDC2_MAKE_MEM(2, 11), /**< MRC2 Memory 11 */
1378     kXRDC2_Mem_FLEXSPI2_Region12    = XRDC2_MAKE_MEM(2, 12), /**< MRC2 Memory 12 */
1379     kXRDC2_Mem_FLEXSPI2_Region13    = XRDC2_MAKE_MEM(2, 13), /**< MRC2 Memory 13 */
1380     kXRDC2_Mem_FLEXSPI2_Region14    = XRDC2_MAKE_MEM(2, 14), /**< MRC2 Memory 14 */
1381     kXRDC2_Mem_FLEXSPI2_Region15    = XRDC2_MAKE_MEM(2, 15), /**< MRC2 Memory 15 */
1382     kXRDC2_Mem_M4LMEM_Region0       = XRDC2_MAKE_MEM(3, 0), /**< MRC3 Memory 0 */
1383     kXRDC2_Mem_M4LMEM_Region1       = XRDC2_MAKE_MEM(3, 1), /**< MRC3 Memory 1 */
1384     kXRDC2_Mem_M4LMEM_Region2       = XRDC2_MAKE_MEM(3, 2), /**< MRC3 Memory 2 */
1385     kXRDC2_Mem_M4LMEM_Region3       = XRDC2_MAKE_MEM(3, 3), /**< MRC3 Memory 3 */
1386     kXRDC2_Mem_M4LMEM_Region4       = XRDC2_MAKE_MEM(3, 4), /**< MRC3 Memory 4 */
1387     kXRDC2_Mem_M4LMEM_Region5       = XRDC2_MAKE_MEM(3, 5), /**< MRC3 Memory 5 */
1388     kXRDC2_Mem_M4LMEM_Region6       = XRDC2_MAKE_MEM(3, 6), /**< MRC3 Memory 6 */
1389     kXRDC2_Mem_M4LMEM_Region7       = XRDC2_MAKE_MEM(3, 7), /**< MRC3 Memory 7 */
1390     kXRDC2_Mem_M4LMEM_Region8       = XRDC2_MAKE_MEM(3, 8), /**< MRC3 Memory 8 */
1391     kXRDC2_Mem_M4LMEM_Region9       = XRDC2_MAKE_MEM(3, 9), /**< MRC3 Memory 9 */
1392     kXRDC2_Mem_M4LMEM_Region10      = XRDC2_MAKE_MEM(3, 10), /**< MRC3 Memory 10 */
1393     kXRDC2_Mem_M4LMEM_Region11      = XRDC2_MAKE_MEM(3, 11), /**< MRC3 Memory 11 */
1394     kXRDC2_Mem_M4LMEM_Region12      = XRDC2_MAKE_MEM(3, 12), /**< MRC3 Memory 12 */
1395     kXRDC2_Mem_M4LMEM_Region13      = XRDC2_MAKE_MEM(3, 13), /**< MRC3 Memory 13 */
1396     kXRDC2_Mem_M4LMEM_Region14      = XRDC2_MAKE_MEM(3, 14), /**< MRC3 Memory 14 */
1397     kXRDC2_Mem_M4LMEM_Region15      = XRDC2_MAKE_MEM(3, 15), /**< MRC3 Memory 15 */
1398     kXRDC2_Mem_M7OC_Region0         = XRDC2_MAKE_MEM(4, 0), /**< MRC4 Memory 0 */
1399     kXRDC2_Mem_M7OC_Region1         = XRDC2_MAKE_MEM(4, 1), /**< MRC4 Memory 1 */
1400     kXRDC2_Mem_M7OC_Region2         = XRDC2_MAKE_MEM(4, 2), /**< MRC4 Memory 2 */
1401     kXRDC2_Mem_M7OC_Region3         = XRDC2_MAKE_MEM(4, 3), /**< MRC4 Memory 3 */
1402     kXRDC2_Mem_M7OC_Region4         = XRDC2_MAKE_MEM(4, 4), /**< MRC4 Memory 4 */
1403     kXRDC2_Mem_M7OC_Region5         = XRDC2_MAKE_MEM(4, 5), /**< MRC4 Memory 5 */
1404     kXRDC2_Mem_M7OC_Region6         = XRDC2_MAKE_MEM(4, 6), /**< MRC4 Memory 6 */
1405     kXRDC2_Mem_M7OC_Region7         = XRDC2_MAKE_MEM(4, 7), /**< MRC4 Memory 7 */
1406     kXRDC2_Mem_M7OC_Region8         = XRDC2_MAKE_MEM(4, 8), /**< MRC4 Memory 8 */
1407     kXRDC2_Mem_M7OC_Region9         = XRDC2_MAKE_MEM(4, 9), /**< MRC4 Memory 9 */
1408     kXRDC2_Mem_M7OC_Region10        = XRDC2_MAKE_MEM(4, 10), /**< MRC4 Memory 10 */
1409     kXRDC2_Mem_M7OC_Region11        = XRDC2_MAKE_MEM(4, 11), /**< MRC4 Memory 11 */
1410     kXRDC2_Mem_M7OC_Region12        = XRDC2_MAKE_MEM(4, 12), /**< MRC4 Memory 12 */
1411     kXRDC2_Mem_M7OC_Region13        = XRDC2_MAKE_MEM(4, 13), /**< MRC4 Memory 13 */
1412     kXRDC2_Mem_M7OC_Region14        = XRDC2_MAKE_MEM(4, 14), /**< MRC4 Memory 14 */
1413     kXRDC2_Mem_M7OC_Region15        = XRDC2_MAKE_MEM(4, 15), /**< MRC4 Memory 15 */
1414     kXRDC2_Mem_MECC1_Region0        = XRDC2_MAKE_MEM(5, 0), /**< MRC5 Memory 0 */
1415     kXRDC2_Mem_MECC1_Region1        = XRDC2_MAKE_MEM(5, 1), /**< MRC5 Memory 1 */
1416     kXRDC2_Mem_MECC1_Region2        = XRDC2_MAKE_MEM(5, 2), /**< MRC5 Memory 2 */
1417     kXRDC2_Mem_MECC1_Region3        = XRDC2_MAKE_MEM(5, 3), /**< MRC5 Memory 3 */
1418     kXRDC2_Mem_MECC1_Region4        = XRDC2_MAKE_MEM(5, 4), /**< MRC5 Memory 4 */
1419     kXRDC2_Mem_MECC1_Region5        = XRDC2_MAKE_MEM(5, 5), /**< MRC5 Memory 5 */
1420     kXRDC2_Mem_MECC1_Region6        = XRDC2_MAKE_MEM(5, 6), /**< MRC5 Memory 6 */
1421     kXRDC2_Mem_MECC1_Region7        = XRDC2_MAKE_MEM(5, 7), /**< MRC5 Memory 7 */
1422     kXRDC2_Mem_MECC1_Region8        = XRDC2_MAKE_MEM(5, 8), /**< MRC5 Memory 8 */
1423     kXRDC2_Mem_MECC1_Region9        = XRDC2_MAKE_MEM(5, 9), /**< MRC5 Memory 9 */
1424     kXRDC2_Mem_MECC1_Region10       = XRDC2_MAKE_MEM(5, 10), /**< MRC5 Memory 10 */
1425     kXRDC2_Mem_MECC1_Region11       = XRDC2_MAKE_MEM(5, 11), /**< MRC5 Memory 11 */
1426     kXRDC2_Mem_MECC1_Region12       = XRDC2_MAKE_MEM(5, 12), /**< MRC5 Memory 12 */
1427     kXRDC2_Mem_MECC1_Region13       = XRDC2_MAKE_MEM(5, 13), /**< MRC5 Memory 13 */
1428     kXRDC2_Mem_MECC1_Region14       = XRDC2_MAKE_MEM(5, 14), /**< MRC5 Memory 14 */
1429     kXRDC2_Mem_MECC1_Region15       = XRDC2_MAKE_MEM(5, 15), /**< MRC5 Memory 15 */
1430     kXRDC2_Mem_MECC2_Region0        = XRDC2_MAKE_MEM(6, 0), /**< MRC6 Memory 0 */
1431     kXRDC2_Mem_MECC2_Region1        = XRDC2_MAKE_MEM(6, 1), /**< MRC6 Memory 1 */
1432     kXRDC2_Mem_MECC2_Region2        = XRDC2_MAKE_MEM(6, 2), /**< MRC6 Memory 2 */
1433     kXRDC2_Mem_MECC2_Region3        = XRDC2_MAKE_MEM(6, 3), /**< MRC6 Memory 3 */
1434     kXRDC2_Mem_MECC2_Region4        = XRDC2_MAKE_MEM(6, 4), /**< MRC6 Memory 4 */
1435     kXRDC2_Mem_MECC2_Region5        = XRDC2_MAKE_MEM(6, 5), /**< MRC6 Memory 5 */
1436     kXRDC2_Mem_MECC2_Region6        = XRDC2_MAKE_MEM(6, 6), /**< MRC6 Memory 6 */
1437     kXRDC2_Mem_MECC2_Region7        = XRDC2_MAKE_MEM(6, 7), /**< MRC6 Memory 7 */
1438     kXRDC2_Mem_MECC2_Region8        = XRDC2_MAKE_MEM(6, 8), /**< MRC6 Memory 8 */
1439     kXRDC2_Mem_MECC2_Region9        = XRDC2_MAKE_MEM(6, 9), /**< MRC6 Memory 9 */
1440     kXRDC2_Mem_MECC2_Region10       = XRDC2_MAKE_MEM(6, 10), /**< MRC6 Memory 10 */
1441     kXRDC2_Mem_MECC2_Region11       = XRDC2_MAKE_MEM(6, 11), /**< MRC6 Memory 11 */
1442     kXRDC2_Mem_MECC2_Region12       = XRDC2_MAKE_MEM(6, 12), /**< MRC6 Memory 12 */
1443     kXRDC2_Mem_MECC2_Region13       = XRDC2_MAKE_MEM(6, 13), /**< MRC6 Memory 13 */
1444     kXRDC2_Mem_MECC2_Region14       = XRDC2_MAKE_MEM(6, 14), /**< MRC6 Memory 14 */
1445     kXRDC2_Mem_MECC2_Region15       = XRDC2_MAKE_MEM(6, 15), /**< MRC6 Memory 15 */
1446     kXRDC2_Mem_SEMC_Region0         = XRDC2_MAKE_MEM(7, 0), /**< MRC7 Memory 0 */
1447     kXRDC2_Mem_SEMC_Region1         = XRDC2_MAKE_MEM(7, 1), /**< MRC7 Memory 1 */
1448     kXRDC2_Mem_SEMC_Region2         = XRDC2_MAKE_MEM(7, 2), /**< MRC7 Memory 2 */
1449     kXRDC2_Mem_SEMC_Region3         = XRDC2_MAKE_MEM(7, 3), /**< MRC7 Memory 3 */
1450     kXRDC2_Mem_SEMC_Region4         = XRDC2_MAKE_MEM(7, 4), /**< MRC7 Memory 4 */
1451     kXRDC2_Mem_SEMC_Region5         = XRDC2_MAKE_MEM(7, 5), /**< MRC7 Memory 5 */
1452     kXRDC2_Mem_SEMC_Region6         = XRDC2_MAKE_MEM(7, 6), /**< MRC7 Memory 6 */
1453     kXRDC2_Mem_SEMC_Region7         = XRDC2_MAKE_MEM(7, 7), /**< MRC7 Memory 7 */
1454     kXRDC2_Mem_SEMC_Region8         = XRDC2_MAKE_MEM(7, 8), /**< MRC7 Memory 8 */
1455     kXRDC2_Mem_SEMC_Region9         = XRDC2_MAKE_MEM(7, 9), /**< MRC7 Memory 9 */
1456     kXRDC2_Mem_SEMC_Region10        = XRDC2_MAKE_MEM(7, 10), /**< MRC7 Memory 10 */
1457     kXRDC2_Mem_SEMC_Region11        = XRDC2_MAKE_MEM(7, 11), /**< MRC7 Memory 11 */
1458     kXRDC2_Mem_SEMC_Region12        = XRDC2_MAKE_MEM(7, 12), /**< MRC7 Memory 12 */
1459     kXRDC2_Mem_SEMC_Region13        = XRDC2_MAKE_MEM(7, 13), /**< MRC7 Memory 13 */
1460     kXRDC2_Mem_SEMC_Region14        = XRDC2_MAKE_MEM(7, 14), /**< MRC7 Memory 14 */
1461     kXRDC2_Mem_SEMC_Region15        = XRDC2_MAKE_MEM(7, 15), /**< MRC7 Memory 15 */
1462 } xrdc2_mem_t;
1463 
1464 typedef enum _xrdc2_mem_slot
1465 {
1466     kXRDC2_MemSlot_GPV0             = 0U,          /**< GPV0 */
1467     kXRDC2_MemSlot_GPV1             = 1U,          /**< GPV1 */
1468     kXRDC2_MemSlot_GPV2             = 2U,          /**< GPV2 */
1469     kXRDC2_MemSlot_ROMCP            = 3U,          /**< ROMCP */
1470 } xrdc2_mem_slot_t;
1471 
1472 typedef enum _xrdc2_periph
1473 {
1474     kXRDC2_Periph_ACMP4             = XRDC2_MAKE_PERIPH(0, 108), /**< ACMP4 */
1475     kXRDC2_Periph_ACMP3             = XRDC2_MAKE_PERIPH(0, 107), /**< ACMP3 */
1476     kXRDC2_Periph_ACMP2             = XRDC2_MAKE_PERIPH(0, 106), /**< ACMP2 */
1477     kXRDC2_Periph_ACMP1             = XRDC2_MAKE_PERIPH(0, 105), /**< ACMP1 */
1478     kXRDC2_Periph_FLEXPWM4          = XRDC2_MAKE_PERIPH(0, 102), /**< FLEXPWM4 */
1479     kXRDC2_Periph_FLEXPWM3          = XRDC2_MAKE_PERIPH(0, 101), /**< FLEXPWM3 */
1480     kXRDC2_Periph_FLEXPWM2          = XRDC2_MAKE_PERIPH(0, 100), /**< FLEXPWM2 */
1481     kXRDC2_Periph_FLEXPWM1          = XRDC2_MAKE_PERIPH(0, 99 ), /**< FLEXPWM1 */
1482     kXRDC2_Periph_ENC4              = XRDC2_MAKE_PERIPH(0, 96 ), /**< ENC4 */
1483     kXRDC2_Periph_ENC3              = XRDC2_MAKE_PERIPH(0, 95 ), /**< ENC3 */
1484     kXRDC2_Periph_ENC2              = XRDC2_MAKE_PERIPH(0, 94 ), /**< ENC2 */
1485     kXRDC2_Periph_ENC1              = XRDC2_MAKE_PERIPH(0, 93 ), /**< ENC1 */
1486     kXRDC2_Periph_QTIMER4           = XRDC2_MAKE_PERIPH(0, 90 ), /**< QTIMER4 */
1487     kXRDC2_Periph_QTIMER3           = XRDC2_MAKE_PERIPH(0, 89 ), /**< QTIMER3 */
1488     kXRDC2_Periph_QTIMER2           = XRDC2_MAKE_PERIPH(0, 88 ), /**< QTIMER2 */
1489     kXRDC2_Periph_QTIMER1           = XRDC2_MAKE_PERIPH(0, 87 ), /**< QTIMER1 */
1490     kXRDC2_Periph_SIM2              = XRDC2_MAKE_PERIPH(0, 86 ), /**< SIM2 */
1491     kXRDC2_Periph_SIM1              = XRDC2_MAKE_PERIPH(0, 85 ), /**< SIM1 */
1492     kXRDC2_Periph_CCM_OBS           = XRDC2_MAKE_PERIPH(0, 84 ), /**< CCM_OBS */
1493     kXRDC2_Periph_GPIO6             = XRDC2_MAKE_PERIPH(0, 80 ), /**< GPIO6 */
1494     kXRDC2_Periph_GPIO5             = XRDC2_MAKE_PERIPH(0, 79 ), /**< GPIO5 */
1495     kXRDC2_Periph_GPIO4             = XRDC2_MAKE_PERIPH(0, 78 ), /**< GPIO4 */
1496     kXRDC2_Periph_GPIO3             = XRDC2_MAKE_PERIPH(0, 77 ), /**< GPIO3 */
1497     kXRDC2_Periph_GPIO2             = XRDC2_MAKE_PERIPH(0, 76 ), /**< GPIO2 */
1498     kXRDC2_Periph_GPIO1             = XRDC2_MAKE_PERIPH(0, 75 ), /**< GPIO1 */
1499     kXRDC2_Periph_LPSPI4            = XRDC2_MAKE_PERIPH(0, 72 ), /**< LPSPI4 */
1500     kXRDC2_Periph_LPSPI3            = XRDC2_MAKE_PERIPH(0, 71 ), /**< LPSPI3 */
1501     kXRDC2_Periph_LPSPI2            = XRDC2_MAKE_PERIPH(0, 70 ), /**< LPSPI2 */
1502     kXRDC2_Periph_LPSPI1            = XRDC2_MAKE_PERIPH(0, 69 ), /**< LPSPI1 */
1503     kXRDC2_Periph_LPI2C4            = XRDC2_MAKE_PERIPH(0, 68 ), /**< LPI2C4 */
1504     kXRDC2_Periph_LPI2C3            = XRDC2_MAKE_PERIPH(0, 67 ), /**< LPI2C3 */
1505     kXRDC2_Periph_LPI2C2            = XRDC2_MAKE_PERIPH(0, 66 ), /**< LPI2C2 */
1506     kXRDC2_Periph_LPI2C1            = XRDC2_MAKE_PERIPH(0, 65 ), /**< LPI2C1 */
1507     kXRDC2_Periph_GPT6              = XRDC2_MAKE_PERIPH(0, 64 ), /**< GPT6 */
1508     kXRDC2_Periph_GPT5              = XRDC2_MAKE_PERIPH(0, 63 ), /**< GPT5 */
1509     kXRDC2_Periph_GPT4              = XRDC2_MAKE_PERIPH(0, 62 ), /**< GPT4 */
1510     kXRDC2_Periph_GPT3              = XRDC2_MAKE_PERIPH(0, 61 ), /**< GPT3 */
1511     kXRDC2_Periph_GPT2              = XRDC2_MAKE_PERIPH(0, 60 ), /**< GPT2 */
1512     kXRDC2_Periph_GPT1              = XRDC2_MAKE_PERIPH(0, 59 ), /**< GPT1 */
1513     kXRDC2_Periph_IOMUXC            = XRDC2_MAKE_PERIPH(0, 58 ), /**< IOMUXC */
1514     kXRDC2_Periph_IOMUXC_GPR        = XRDC2_MAKE_PERIPH(0, 57 ), /**< IOMUXC_GPR */
1515     kXRDC2_Periph_KPP               = XRDC2_MAKE_PERIPH(0, 56 ), /**< KPP */
1516     kXRDC2_Periph_PIT1              = XRDC2_MAKE_PERIPH(0, 54 ), /**< PIT1 */
1517     kXRDC2_Periph_SEMC              = XRDC2_MAKE_PERIPH(0, 53 ), /**< SEMC */
1518     kXRDC2_Periph_FLEXSPI2          = XRDC2_MAKE_PERIPH(0, 52 ), /**< FLEXSPI2 */
1519     kXRDC2_Periph_FLEXSPI1          = XRDC2_MAKE_PERIPH(0, 51 ), /**< FLEXSPI1 */
1520     kXRDC2_Periph_CAN2              = XRDC2_MAKE_PERIPH(0, 50 ), /**< CAN2 */
1521     kXRDC2_Periph_CAN1              = XRDC2_MAKE_PERIPH(0, 49 ), /**< CAN1 */
1522     kXRDC2_Periph_AOI2              = XRDC2_MAKE_PERIPH(0, 47 ), /**< AOI2 */
1523     kXRDC2_Periph_AOI1              = XRDC2_MAKE_PERIPH(0, 46 ), /**< AOI1 */
1524     kXRDC2_Periph_FLEXIO2           = XRDC2_MAKE_PERIPH(0, 44 ), /**< FLEXIO2 */
1525     kXRDC2_Periph_FLEXIO1           = XRDC2_MAKE_PERIPH(0, 43 ), /**< FLEXIO1 */
1526     kXRDC2_Periph_LPUART10          = XRDC2_MAKE_PERIPH(0, 40 ), /**< LPUART10 */
1527     kXRDC2_Periph_LPUART9           = XRDC2_MAKE_PERIPH(0, 39 ), /**< LPUART9 */
1528     kXRDC2_Periph_LPUART8           = XRDC2_MAKE_PERIPH(0, 38 ), /**< LPUART8 */
1529     kXRDC2_Periph_LPUART7           = XRDC2_MAKE_PERIPH(0, 37 ), /**< LPUART7 */
1530     kXRDC2_Periph_LPUART6           = XRDC2_MAKE_PERIPH(0, 36 ), /**< LPUART6 */
1531     kXRDC2_Periph_LPUART5           = XRDC2_MAKE_PERIPH(0, 35 ), /**< LPUART5 */
1532     kXRDC2_Periph_LPUART4           = XRDC2_MAKE_PERIPH(0, 34 ), /**< LPUART4 */
1533     kXRDC2_Periph_LPUART3           = XRDC2_MAKE_PERIPH(0, 33 ), /**< LPUART3 */
1534     kXRDC2_Periph_LPUART2           = XRDC2_MAKE_PERIPH(0, 32 ), /**< LPUART2 */
1535     kXRDC2_Periph_LPUART1           = XRDC2_MAKE_PERIPH(0, 31 ), /**< LPUART1 */
1536     kXRDC2_Periph_DMA_CH_MUX        = XRDC2_MAKE_PERIPH(0, 29 ), /**< DMA_CH_MUX */
1537     kXRDC2_Periph_EDMA              = XRDC2_MAKE_PERIPH(0, 28 ), /**< EDMA */
1538     kXRDC2_Periph_IEE               = XRDC2_MAKE_PERIPH(0, 27 ), /**< IEE */
1539     kXRDC2_Periph_DAC               = XRDC2_MAKE_PERIPH(0, 25 ), /**< DAC */
1540     kXRDC2_Periph_TSC_DIG           = XRDC2_MAKE_PERIPH(0, 23 ), /**< TSC_DIG */
1541     kXRDC2_Periph_ADC2              = XRDC2_MAKE_PERIPH(0, 21 ), /**< ADC2 */
1542     kXRDC2_Periph_ADC1              = XRDC2_MAKE_PERIPH(0, 20 ), /**< ADC1 */
1543     kXRDC2_Periph_ADC_ETC           = XRDC2_MAKE_PERIPH(0, 18 ), /**< ADC_ETC */
1544     kXRDC2_Periph_XBAR3             = XRDC2_MAKE_PERIPH(0, 17 ), /**< XBAR3 */
1545     kXRDC2_Periph_XBAR2             = XRDC2_MAKE_PERIPH(0, 16 ), /**< XBAR2 */
1546     kXRDC2_Periph_XBAR1             = XRDC2_MAKE_PERIPH(0, 15 ), /**< XBAR1 */
1547     kXRDC2_Periph_WDOG3             = XRDC2_MAKE_PERIPH(0, 14 ), /**< WDOG3 */
1548     kXRDC2_Periph_WDOG2             = XRDC2_MAKE_PERIPH(0, 13 ), /**< WDOG2 */
1549     kXRDC2_Periph_WDOG1             = XRDC2_MAKE_PERIPH(0, 12 ), /**< WDOG1 */
1550     kXRDC2_Periph_EWM               = XRDC2_MAKE_PERIPH(0, 11 ), /**< EWM */
1551     kXRDC2_Periph_FLEXRAM           = XRDC2_MAKE_PERIPH(0, 10 ), /**< FLEXRAM */
1552     kXRDC2_Periph_XECC_SEMC         = XRDC2_MAKE_PERIPH(0, 9  ), /**< XECC_SEMC */
1553     kXRDC2_Periph_XECC_FLEXSPI2     = XRDC2_MAKE_PERIPH(0, 8  ), /**< XECC_FLEXSPI2 */
1554     kXRDC2_Periph_XECC_FLEXSPI1     = XRDC2_MAKE_PERIPH(0, 7  ), /**< XECC_FLEXSPI1 */
1555     kXRDC2_Periph_MECC2             = XRDC2_MAKE_PERIPH(0, 6  ), /**< MECC2 */
1556     kXRDC2_Periph_MECC1             = XRDC2_MAKE_PERIPH(0, 5  ), /**< MECC1 */
1557     kXRDC2_Periph_MTR               = XRDC2_MAKE_PERIPH(0, 4  ), /**< MTR */
1558     kXRDC2_Periph_SFA               = XRDC2_MAKE_PERIPH(0, 3  ), /**< SFA */
1559     kXRDC2_Periph_CAAM_DEBUG_3      = XRDC2_MAKE_PERIPH(1, 51 ), /**< CAAM_DEBUG_3 */
1560     kXRDC2_Periph_CAAM_DEBUG_2      = XRDC2_MAKE_PERIPH(1, 50 ), /**< CAAM_DEBUG_2 */
1561     kXRDC2_Periph_CAAM_DEBUG_1      = XRDC2_MAKE_PERIPH(1, 49 ), /**< CAAM_DEBUG_1 */
1562     kXRDC2_Periph_CAAM_DEBUG_0      = XRDC2_MAKE_PERIPH(1, 48 ), /**< CAAM_DEBUG_0 */
1563     kXRDC2_Periph_CAAM_RTIC_3       = XRDC2_MAKE_PERIPH(1, 43 ), /**< CAAM_RTIC_3 */
1564     kXRDC2_Periph_CAAM_RTIC_2       = XRDC2_MAKE_PERIPH(1, 42 ), /**< CAAM_RTIC_2 */
1565     kXRDC2_Periph_CAAM_RTIC_1       = XRDC2_MAKE_PERIPH(1, 41 ), /**< CAAM_RTIC_1 */
1566     kXRDC2_Periph_CAAM_RTIC_0       = XRDC2_MAKE_PERIPH(1, 40 ), /**< CAAM_RTIC_0 */
1567     kXRDC2_Periph_CAAM_JR3_3        = XRDC2_MAKE_PERIPH(1, 35 ), /**< CAAM_JR3_3 */
1568     kXRDC2_Periph_CAAM_JR3_2        = XRDC2_MAKE_PERIPH(1, 34 ), /**< CAAM_JR3_2 */
1569     kXRDC2_Periph_CAAM_JR3_1        = XRDC2_MAKE_PERIPH(1, 33 ), /**< CAAM_JR3_1 */
1570     kXRDC2_Periph_CAAM_JR3_0        = XRDC2_MAKE_PERIPH(1, 32 ), /**< CAAM_JR3_0 */
1571     kXRDC2_Periph_CAAM_JR2_3        = XRDC2_MAKE_PERIPH(1, 31 ), /**< CAAM_JR2_3 */
1572     kXRDC2_Periph_CAAM_JR2_2        = XRDC2_MAKE_PERIPH(1, 30 ), /**< CAAM_JR2_2 */
1573     kXRDC2_Periph_CAAM_JR2_1        = XRDC2_MAKE_PERIPH(1, 29 ), /**< CAAM_JR2_1 */
1574     kXRDC2_Periph_CAAM_JR2_0        = XRDC2_MAKE_PERIPH(1, 28 ), /**< CAAM_JR2_0 */
1575     kXRDC2_Periph_CAAM_JR1_3        = XRDC2_MAKE_PERIPH(1, 27 ), /**< CAAM_JR1_3 */
1576     kXRDC2_Periph_CAAM_JR1_2        = XRDC2_MAKE_PERIPH(1, 26 ), /**< CAAM_JR1_2 */
1577     kXRDC2_Periph_CAAM_JR1_1        = XRDC2_MAKE_PERIPH(1, 25 ), /**< CAAM_JR1_1 */
1578     kXRDC2_Periph_CAAM_JR1_0        = XRDC2_MAKE_PERIPH(1, 24 ), /**< CAAM_JR1_0 */
1579     kXRDC2_Periph_CAAM_JR0_3        = XRDC2_MAKE_PERIPH(1, 23 ), /**< CAAM_JR0_3 */
1580     kXRDC2_Periph_CAAM_JR0_2        = XRDC2_MAKE_PERIPH(1, 22 ), /**< CAAM_JR0_2 */
1581     kXRDC2_Periph_CAAM_JR0_1        = XRDC2_MAKE_PERIPH(1, 21 ), /**< CAAM_JR0_1 */
1582     kXRDC2_Periph_CAAM_JR0_0        = XRDC2_MAKE_PERIPH(1, 20 ), /**< CAAM_JR0_0 */
1583     kXRDC2_Periph_CAAM_GENERAL_3    = XRDC2_MAKE_PERIPH(1, 19 ), /**< CAAM_GENERAL_3 */
1584     kXRDC2_Periph_CAAM_GENERAL_2    = XRDC2_MAKE_PERIPH(1, 18 ), /**< CAAM_GENERAL_2 */
1585     kXRDC2_Periph_CAAM_GENERAL_1    = XRDC2_MAKE_PERIPH(1, 17 ), /**< CAAM_GENERAL_1 */
1586     kXRDC2_Periph_CAAM_GENERAL_0    = XRDC2_MAKE_PERIPH(1, 16 ), /**< CAAM_GENERAL_0 */
1587     kXRDC2_Periph_ENET_QOS          = XRDC2_MAKE_PERIPH(1, 15 ), /**< ENET_QOS */
1588     kXRDC2_Periph_USBPHY2           = XRDC2_MAKE_PERIPH(1, 14 ), /**< USBPHY2 */
1589     kXRDC2_Periph_USBPHY1           = XRDC2_MAKE_PERIPH(1, 13 ), /**< USBPHY1 */
1590     kXRDC2_Periph_USB_OTG           = XRDC2_MAKE_PERIPH(1, 12 ), /**< USB_OTG */
1591     kXRDC2_Periph_USB_OTG2          = XRDC2_MAKE_PERIPH(1, 11 ), /**< USB_OTG2 */
1592     kXRDC2_Periph_USB_PL301         = XRDC2_MAKE_PERIPH(1, 10 ), /**< USB_PL301 */
1593     kXRDC2_Periph_ENET              = XRDC2_MAKE_PERIPH(1, 9  ), /**< ENET */
1594     kXRDC2_Periph_ENET_1G           = XRDC2_MAKE_PERIPH(1, 8  ), /**< ENET_1G */
1595     kXRDC2_Periph_USDHC2            = XRDC2_MAKE_PERIPH(1, 7  ), /**< USDHC2 */
1596     kXRDC2_Periph_USDHC1            = XRDC2_MAKE_PERIPH(1, 6  ), /**< USDHC1 */
1597     kXRDC2_Periph_ASRC              = XRDC2_MAKE_PERIPH(1, 5  ), /**< ASRC */
1598     kXRDC2_Periph_SAI3              = XRDC2_MAKE_PERIPH(1, 3  ), /**< SAI3 */
1599     kXRDC2_Periph_SAI2              = XRDC2_MAKE_PERIPH(1, 2  ), /**< SAI2 */
1600     kXRDC2_Periph_SAI1              = XRDC2_MAKE_PERIPH(1, 1  ), /**< SAI1 */
1601     kXRDC2_Periph_SPDIF             = XRDC2_MAKE_PERIPH(1, 0  ), /**< SPDIF */
1602     kXRDC2_Periph_VIDEO_MUX         = XRDC2_MAKE_PERIPH(2, 6  ), /**< VIDEO_MUX */
1603     kXRDC2_Periph_PXP               = XRDC2_MAKE_PERIPH(2, 5  ), /**< PXP */
1604     kXRDC2_Periph_MIPI_CSI          = XRDC2_MAKE_PERIPH(2, 4  ), /**< MIPI_CSI */
1605     kXRDC2_Periph_MIPI_DSI          = XRDC2_MAKE_PERIPH(2, 3  ), /**< MIPI_DSI */
1606     kXRDC2_Periph_LCDIFV2           = XRDC2_MAKE_PERIPH(2, 2  ), /**< LCDIFV2 */
1607     kXRDC2_Periph_LCDIF             = XRDC2_MAKE_PERIPH(2, 1  ), /**< LCDIF */
1608     kXRDC2_Periph_CSI               = XRDC2_MAKE_PERIPH(2, 0  ), /**< CSI */
1609     kXRDC2_Periph_XRDC2_MGR_M7_3    = XRDC2_MAKE_PERIPH(3, 59 ), /**< XRDC2_MGR_M7_3 */
1610     kXRDC2_Periph_XRDC2_MGR_M7_2    = XRDC2_MAKE_PERIPH(3, 58 ), /**< XRDC2_MGR_M7_2 */
1611     kXRDC2_Periph_XRDC2_MGR_M7_1    = XRDC2_MAKE_PERIPH(3, 57 ), /**< XRDC2_MGR_M7_1 */
1612     kXRDC2_Periph_XRDC2_MGR_M7_0    = XRDC2_MAKE_PERIPH(3, 56 ), /**< XRDC2_MGR_M7_0 */
1613     kXRDC2_Periph_XRDC2_MGR_M4_3    = XRDC2_MAKE_PERIPH(3, 55 ), /**< XRDC2_MGR_M4_3 */
1614     kXRDC2_Periph_XRDC2_MGR_M4_2    = XRDC2_MAKE_PERIPH(3, 54 ), /**< XRDC2_MGR_M4_2 */
1615     kXRDC2_Periph_XRDC2_MGR_M4_1    = XRDC2_MAKE_PERIPH(3, 53 ), /**< XRDC2_MGR_M4_1 */
1616     kXRDC2_Periph_XRDC2_MGR_M4_0    = XRDC2_MAKE_PERIPH(3, 52 ), /**< XRDC2_MGR_M4_0 */
1617     kXRDC2_Periph_SEMA2             = XRDC2_MAKE_PERIPH(3, 51 ), /**< SEMA2 */
1618     kXRDC2_Periph_SEMA_HS           = XRDC2_MAKE_PERIPH(3, 50 ), /**< SEMA_HS */
1619     kXRDC2_Periph_CCM_1             = XRDC2_MAKE_PERIPH(3, 49 ), /**< CCM_1 */
1620     kXRDC2_Periph_CCM_0             = XRDC2_MAKE_PERIPH(3, 48 ), /**< CCM_0 */
1621     kXRDC2_Periph_SSARC_LP          = XRDC2_MAKE_PERIPH(3, 46 ), /**< SSARC_LP */
1622     kXRDC2_Periph_SSARC_HP          = XRDC2_MAKE_PERIPH(3, 45 ), /**< SSARC_HP */
1623     kXRDC2_Periph_PIT2              = XRDC2_MAKE_PERIPH(3, 44 ), /**< PIT2 */
1624     kXRDC2_Periph_OCOTP_CTRL_WRAPPER = XRDC2_MAKE_PERIPH(3, 43 ), /**< OCOTP_CTRL_WRAPPER */
1625     kXRDC2_Periph_DCDC              = XRDC2_MAKE_PERIPH(3, 42 ), /**< DCDC */
1626     kXRDC2_Periph_ROMCP             = XRDC2_MAKE_PERIPH(3, 41 ), /**< ROMCP */
1627     kXRDC2_Periph_GPIO13            = XRDC2_MAKE_PERIPH(3, 40 ), /**< GPIO13 */
1628     kXRDC2_Periph_SNVS_SRAM         = XRDC2_MAKE_PERIPH(3, 39 ), /**< SNVS_SRAM */
1629     kXRDC2_Periph_IOMUXC_SNVS_GPR   = XRDC2_MAKE_PERIPH(3, 38 ), /**< IOMUXC_SNVS_GPR */
1630     kXRDC2_Periph_IOMUXC_SNVS       = XRDC2_MAKE_PERIPH(3, 37 ), /**< IOMUXC_SNVS */
1631     kXRDC2_Periph_SNVS_HP_WRAPPER   = XRDC2_MAKE_PERIPH(3, 36 ), /**< SNVS_HP_WRAPPER */
1632     kXRDC2_Periph_PGMC              = XRDC2_MAKE_PERIPH(3, 34 ), /**< PGMC */
1633     kXRDC2_Periph_ANATOP            = XRDC2_MAKE_PERIPH(3, 33 ), /**< ANATOP */
1634     kXRDC2_Periph_KEY_MANAGER       = XRDC2_MAKE_PERIPH(3, 32 ), /**< KEY_MANAGER */
1635     kXRDC2_Periph_RDC               = XRDC2_MAKE_PERIPH(3, 30 ), /**< RDC */
1636     kXRDC2_Periph_GPIO12            = XRDC2_MAKE_PERIPH(3, 28 ), /**< GPIO12 */
1637     kXRDC2_Periph_GPIO11            = XRDC2_MAKE_PERIPH(3, 27 ), /**< GPIO11 */
1638     kXRDC2_Periph_GPIO10            = XRDC2_MAKE_PERIPH(3, 26 ), /**< GPIO10 */
1639     kXRDC2_Periph_GPIO9             = XRDC2_MAKE_PERIPH(3, 25 ), /**< GPIO9 */
1640     kXRDC2_Periph_GPIO8             = XRDC2_MAKE_PERIPH(3, 24 ), /**< GPIO8 */
1641     kXRDC2_Periph_GPIO7             = XRDC2_MAKE_PERIPH(3, 23 ), /**< GPIO7 */
1642     kXRDC2_Periph_MU_B              = XRDC2_MAKE_PERIPH(3, 19 ), /**< MU_B */
1643     kXRDC2_Periph_MU_A              = XRDC2_MAKE_PERIPH(3, 18 ), /**< MU_A */
1644     kXRDC2_Periph_SEMA1             = XRDC2_MAKE_PERIPH(3, 17 ), /**< SEMA1 */
1645     kXRDC2_Periph_SAI4              = XRDC2_MAKE_PERIPH(3, 16 ), /**< SAI4 */
1646     kXRDC2_Periph_CAN3              = XRDC2_MAKE_PERIPH(3, 15 ), /**< CAN3 */
1647     kXRDC2_Periph_LPI2C6            = XRDC2_MAKE_PERIPH(3, 14 ), /**< LPI2C6 */
1648     kXRDC2_Periph_LPI2C5            = XRDC2_MAKE_PERIPH(3, 13 ), /**< LPI2C5 */
1649     kXRDC2_Periph_LPSPI6            = XRDC2_MAKE_PERIPH(3, 12 ), /**< LPSPI6 */
1650     kXRDC2_Periph_LPSPI5            = XRDC2_MAKE_PERIPH(3, 11 ), /**< LPSPI5 */
1651     kXRDC2_Periph_LPUART12          = XRDC2_MAKE_PERIPH(3, 10 ), /**< LPUART12 */
1652     kXRDC2_Periph_LPUART11          = XRDC2_MAKE_PERIPH(3, 9  ), /**< LPUART11 */
1653     kXRDC2_Periph_MIC               = XRDC2_MAKE_PERIPH(3, 8  ), /**< MIC */
1654     kXRDC2_Periph_DMA_CH_MUX_LPSR   = XRDC2_MAKE_PERIPH(3, 6  ), /**< DMA_CH_MUX_LPSR */
1655     kXRDC2_Periph_EDMA_LPSR         = XRDC2_MAKE_PERIPH(3, 5  ), /**< EDMA_LPSR */
1656     kXRDC2_Periph_WDOG4             = XRDC2_MAKE_PERIPH(3, 4  ), /**< WDOG4 */
1657     kXRDC2_Periph_IOMUXC_LPSR_GPR   = XRDC2_MAKE_PERIPH(3, 3  ), /**< IOMUXC_LPSR_GPR */
1658     kXRDC2_Periph_IOMUXC_LPSR       = XRDC2_MAKE_PERIPH(3, 2  ), /**< IOMUXC_LPSR */
1659     kXRDC2_Periph_SRC               = XRDC2_MAKE_PERIPH(3, 1  ), /**< SRC */
1660     kXRDC2_Periph_GPC               = XRDC2_MAKE_PERIPH(3, 0  ), /**< GPC */
1661     kXRDC2_Periph_GPU               = XRDC2_MAKE_PERIPH(4, 0  ), /**< GPU */
1662 } xrdc2_periph_t;
1663 
1664 /* @} */
1665 
1666 /*!
1667  * @addtogroup edma_request
1668  * @{
1669  */
1670 
1671 /*******************************************************************************
1672  * Definitions
1673  ******************************************************************************/
1674 
1675 /*!
1676  * @brief Structure for the DMA hardware request
1677  *
1678  * Defines the structure for the DMA hardware request collections. The user can configure the
1679  * hardware request into DMAMUX to trigger the DMA transfer accordingly. The index
1680  * of the hardware request varies according  to the to SoC.
1681  */
1682 typedef enum _dma_request_source
1683 {
1684     kDmaRequestMuxFlexIO1Request2Request3 = 1|0x100U, /**< FlexIO1 Request2 and Request3 */
1685     kDmaRequestMuxFlexIO1Request4Request5 = 2|0x100U, /**< FlexIO1 Request4 and Request5 */
1686     kDmaRequestMuxFlexIO1Request6Request7 = 3|0x100U, /**< FlexIO1 Request6 and Request7 */
1687     kDmaRequestMuxFlexIO2Request0Request1 = 4|0x100U, /**< FlexIO2 Request0 and Request1 */
1688     kDmaRequestMuxFlexIO2Request2Request3 = 5|0x100U, /**< FlexIO2 Request2 and Request3 */
1689     kDmaRequestMuxFlexIO2Request4Request5 = 6|0x100U, /**< FlexIO2 Request4 and Request5 */
1690     kDmaRequestMuxFlexIO2Request6Request7 = 7|0x100U, /**< FlexIO2 Request6 and Request7 */
1691     kDmaRequestMuxLPUART1Tx         = 8|0x100U,    /**< LPUART1 Transmit */
1692     kDmaRequestMuxLPUART1Rx         = 9|0x100U,    /**< LPUART1 Receive */
1693     kDmaRequestMuxLPUART2Tx         = 10|0x100U,   /**< LPUART2 Transmit */
1694     kDmaRequestMuxLPUART2Rx         = 11|0x100U,   /**< LPUART2 Receive */
1695     kDmaRequestMuxLPUART3Tx         = 12|0x100U,   /**< LPUART3 Transmit */
1696     kDmaRequestMuxLPUART3Rx         = 13|0x100U,   /**< LPUART3 Receive */
1697     kDmaRequestMuxLPUART4Tx         = 14|0x100U,   /**< LPUART4 Transmit */
1698     kDmaRequestMuxLPUART4Rx         = 15|0x100U,   /**< LPUART4 Receive */
1699     kDmaRequestMuxLPUART5Tx         = 16|0x100U,   /**< LPUART5 Transmit */
1700     kDmaRequestMuxLPUART5Rx         = 17|0x100U,   /**< LPUART5 Receive */
1701     kDmaRequestMuxLPUART6Tx         = 18|0x100U,   /**< LPUART6 Transmit */
1702     kDmaRequestMuxLPUART6Rx         = 19|0x100U,   /**< LPUART6 Receive */
1703     kDmaRequestMuxLPUART7Tx         = 20|0x100U,   /**< LPUART7 Transmit */
1704     kDmaRequestMuxLPUART7Rx         = 21|0x100U,   /**< LPUART7 Receive */
1705     kDmaRequestMuxLPUART8Tx         = 22|0x100U,   /**< LPUART8 Transmit */
1706     kDmaRequestMuxLPUART8Rx         = 23|0x100U,   /**< LPUART8 Receive */
1707     kDmaRequestMuxLPUART9Tx         = 24|0x100U,   /**< LPUART9 Transmit */
1708     kDmaRequestMuxLPUART9Rx         = 25|0x100U,   /**< LPUART9 Receive */
1709     kDmaRequestMuxLPUART10Tx        = 26|0x100U,   /**< LPUART10 Transmit */
1710     kDmaRequestMuxLPUART10Rx        = 27|0x100U,   /**< LPUART10 Receive */
1711     kDmaRequestMuxLPUART11Tx        = 28|0x100U,   /**< LPUART11 Transmit */
1712     kDmaRequestMuxLPUART11Rx        = 29|0x100U,   /**< LPUART11 Receive */
1713     kDmaRequestMuxLPUART12Tx        = 30|0x100U,   /**< LPUART12 Transmit */
1714     kDmaRequestMuxLPUART12Rx        = 31|0x100U,   /**< LPUART12 Receive */
1715     kDmaRequestMuxCSI               = 32|0x100U,   /**< CSI */
1716     kDmaRequestMuxPxp               = 33|0x100U,   /**< PXP */
1717     kDmaRequestMuxeLCDIF            = 34|0x100U,   /**< eLCDIF */
1718     kDmaRequestMuxLCDIFv2           = 35|0x100U,   /**< LCDIFv2 */
1719     kDmaRequestMuxLPSPI1Rx          = 36|0x100U,   /**< LPSPI1 Receive */
1720     kDmaRequestMuxLPSPI1Tx          = 37|0x100U,   /**< LPSPI1 Transmit */
1721     kDmaRequestMuxLPSPI2Rx          = 38|0x100U,   /**< LPSPI2 Receive */
1722     kDmaRequestMuxLPSPI2Tx          = 39|0x100U,   /**< LPSPI2 Transmit */
1723     kDmaRequestMuxLPSPI3Rx          = 40|0x100U,   /**< LPSPI3 Receive */
1724     kDmaRequestMuxLPSPI3Tx          = 41|0x100U,   /**< LPSPI3 Transmit */
1725     kDmaRequestMuxLPSPI4Rx          = 42|0x100U,   /**< LPSPI4 Receive */
1726     kDmaRequestMuxLPSPI4Tx          = 43|0x100U,   /**< LPSPI4 Transmit */
1727     kDmaRequestMuxLPSPI5Rx          = 44|0x100U,   /**< LPSPI5 Receive */
1728     kDmaRequestMuxLPSPI5Tx          = 45|0x100U,   /**< LPSPI5 Transmit */
1729     kDmaRequestMuxLPSPI6Rx          = 46|0x100U,   /**< LPSPI6 Receive */
1730     kDmaRequestMuxLPSPI6Tx          = 47|0x100U,   /**< LPSPI6 Transmit */
1731     kDmaRequestMuxLPI2C1            = 48|0x100U,   /**< LPI2C1 */
1732     kDmaRequestMuxLPI2C2            = 49|0x100U,   /**< LPI2C2 */
1733     kDmaRequestMuxLPI2C3            = 50|0x100U,   /**< LPI2C3 */
1734     kDmaRequestMuxLPI2C4            = 51|0x100U,   /**< LPI2C4 */
1735     kDmaRequestMuxLPI2C5            = 52|0x100U,   /**< LPI2C5 */
1736     kDmaRequestMuxLPI2C6            = 53|0x100U,   /**< LPI2C6 */
1737     kDmaRequestMuxSai1Rx            = 54|0x100U,   /**< SAI1 Receive */
1738     kDmaRequestMuxSai1Tx            = 55|0x100U,   /**< SAI1 Transmit */
1739     kDmaRequestMuxSai2Rx            = 56|0x100U,   /**< SAI2 Receive */
1740     kDmaRequestMuxSai2Tx            = 57|0x100U,   /**< SAI2 Transmit */
1741     kDmaRequestMuxSai3Rx            = 58|0x100U,   /**< SAI3 Receive */
1742     kDmaRequestMuxSai3Tx            = 59|0x100U,   /**< SAI3 Transmit */
1743     kDmaRequestMuxSai4Rx            = 60|0x100U,   /**< SAI4 Receive */
1744     kDmaRequestMuxSai4Tx            = 61|0x100U,   /**< SAI4 Transmit */
1745     kDmaRequestMuxSpdifRx           = 62|0x100U,   /**< SPDIF Receive */
1746     kDmaRequestMuxSpdifTx           = 63|0x100U,   /**< SPDIF Transmit */
1747     kDmaRequestMuxADC_ETC           = 64|0x100U,   /**< ADC_ETC */
1748     kDmaRequestMuxFlexIO1Request0Request1 = 65|0x100U, /**< FlexIO1 Request0 and Request1 */
1749     kDmaRequestMuxADC1              = 66|0x100U,   /**< ADC1 */
1750     kDmaRequestMuxADC2              = 67|0x100U,   /**< ADC2 */
1751     kDmaRequestMuxACMP1             = 69|0x100U,   /**< ACMP1 */
1752     kDmaRequestMuxACMP2             = 70|0x100U,   /**< ACMP2 */
1753     kDmaRequestMuxACMP3             = 71|0x100U,   /**< ACMP3 */
1754     kDmaRequestMuxACMP4             = 72|0x100U,   /**< ACMP4 */
1755     kDmaRequestMuxFlexSPI1Rx        = 77|0x100U,   /**< FlexSPI1 Receive */
1756     kDmaRequestMuxFlexSPI1Tx        = 78|0x100U,   /**< FlexSPI1 Transmit */
1757     kDmaRequestMuxFlexSPI2Rx        = 79|0x100U,   /**< FlexSPI2 Receive */
1758     kDmaRequestMuxFlexSPI2Tx        = 80|0x100U,   /**< FlexSPI2 Transmit */
1759     kDmaRequestMuxXBAR1Request0     = 81|0x100U,   /**< XBAR1 Request 0 */
1760     kDmaRequestMuxXBAR1Request1     = 82|0x100U,   /**< XBAR1 Request 1 */
1761     kDmaRequestMuxXBAR1Request2     = 83|0x100U,   /**< XBAR1 Request 2 */
1762     kDmaRequestMuxXBAR1Request3     = 84|0x100U,   /**< XBAR1 Request 3 */
1763     kDmaRequestMuxFlexPWM1CaptureSub0 = 85|0x100U, /**< FlexPWM1 Capture sub-module0 */
1764     kDmaRequestMuxFlexPWM1CaptureSub1 = 86|0x100U, /**< FlexPWM1 Capture sub-module1 */
1765     kDmaRequestMuxFlexPWM1CaptureSub2 = 87|0x100U, /**< FlexPWM1 Capture sub-module2 */
1766     kDmaRequestMuxFlexPWM1CaptureSub3 = 88|0x100U, /**< FlexPWM1 Capture sub-module3 */
1767     kDmaRequestMuxFlexPWM1ValueSub0 = 89|0x100U,   /**< FlexPWM1 Value sub-module 0 */
1768     kDmaRequestMuxFlexPWM1ValueSub1 = 90|0x100U,   /**< FlexPWM1 Value sub-module 1 */
1769     kDmaRequestMuxFlexPWM1ValueSub2 = 91|0x100U,   /**< FlexPWM1 Value sub-module 2 */
1770     kDmaRequestMuxFlexPWM1ValueSub3 = 92|0x100U,   /**< FlexPWM1 Value sub-module 3 */
1771     kDmaRequestMuxFlexPWM2CaptureSub0 = 93|0x100U, /**< FlexPWM2 Capture sub-module0 */
1772     kDmaRequestMuxFlexPWM2CaptureSub1 = 94|0x100U, /**< FlexPWM2 Capture sub-module1 */
1773     kDmaRequestMuxFlexPWM2CaptureSub2 = 95|0x100U, /**< FlexPWM2 Capture sub-module2 */
1774     kDmaRequestMuxFlexPWM2CaptureSub3 = 96|0x100U, /**< FlexPWM2 Capture sub-module3 */
1775     kDmaRequestMuxFlexPWM2ValueSub0 = 97|0x100U,   /**< FlexPWM2 Value sub-module 0 */
1776     kDmaRequestMuxFlexPWM2ValueSub1 = 98|0x100U,   /**< FlexPWM2 Value sub-module 1 */
1777     kDmaRequestMuxFlexPWM2ValueSub2 = 99|0x100U,   /**< FlexPWM2 Value sub-module 2 */
1778     kDmaRequestMuxFlexPWM2ValueSub3 = 100|0x100U,  /**< FlexPWM2 Value sub-module 3 */
1779     kDmaRequestMuxFlexPWM3CaptureSub0 = 101|0x100U, /**< FlexPWM3 Capture sub-module0 */
1780     kDmaRequestMuxFlexPWM3CaptureSub1 = 102|0x100U, /**< FlexPWM3 Capture sub-module1 */
1781     kDmaRequestMuxFlexPWM3CaptureSub2 = 103|0x100U, /**< FlexPWM3 Capture sub-module2 */
1782     kDmaRequestMuxFlexPWM3CaptureSub3 = 104|0x100U, /**< FlexPWM3 Capture sub-module3 */
1783     kDmaRequestMuxFlexPWM3ValueSub0 = 105|0x100U,  /**< FlexPWM3 Value sub-module 0 */
1784     kDmaRequestMuxFlexPWM3ValueSub1 = 106|0x100U,  /**< FlexPWM3 Value sub-module 1 */
1785     kDmaRequestMuxFlexPWM3ValueSub2 = 107|0x100U,  /**< FlexPWM3 Value sub-module 2 */
1786     kDmaRequestMuxFlexPWM3ValueSub3 = 108|0x100U,  /**< FlexPWM3 Value sub-module 3 */
1787     kDmaRequestMuxFlexPWM4CaptureSub0 = 109|0x100U, /**< FlexPWM4 Capture sub-module0 */
1788     kDmaRequestMuxFlexPWM4CaptureSub1 = 110|0x100U, /**< FlexPWM4 Capture sub-module1 */
1789     kDmaRequestMuxFlexPWM4CaptureSub2 = 111|0x100U, /**< FlexPWM4 Capture sub-module2 */
1790     kDmaRequestMuxFlexPWM4CaptureSub3 = 112|0x100U, /**< FlexPWM4 Capture sub-module3 */
1791     kDmaRequestMuxFlexPWM4ValueSub0 = 113|0x100U,  /**< FlexPWM4 Value sub-module 0 */
1792     kDmaRequestMuxFlexPWM4ValueSub1 = 114|0x100U,  /**< FlexPWM4 Value sub-module 1 */
1793     kDmaRequestMuxFlexPWM4ValueSub2 = 115|0x100U,  /**< FlexPWM4 Value sub-module 2 */
1794     kDmaRequestMuxFlexPWM4ValueSub3 = 116|0x100U,  /**< FlexPWM4 Value sub-module 3 */
1795     kDmaRequestMuxQTIMER1CaptTimer0 = 133|0x100U,  /**< TMR1 Capture timer 0 */
1796     kDmaRequestMuxQTIMER1CaptTimer1 = 134|0x100U,  /**< TMR1 Capture timer 1 */
1797     kDmaRequestMuxQTIMER1CaptTimer2 = 135|0x100U,  /**< TMR1 Capture timer 2 */
1798     kDmaRequestMuxQTIMER1CaptTimer3 = 136|0x100U,  /**< TMR1 Capture timer 3 */
1799     kDmaRequestMuxQTIMER1Cmpld1Timer0Cmpld2Timer1 = 137|0x100U, /**< TMR1 cmpld1 in timer 0 or cmpld2 in timer 1 */
1800     kDmaRequestMuxQTIMER1Cmpld1Timer1Cmpld2Timer0 = 138|0x100U, /**< TMR1 cmpld1 in timer 1 or cmpld2 in timer 0 */
1801     kDmaRequestMuxQTIMER1Cmpld1Timer2Cmpld2Timer3 = 139|0x100U, /**< TMR1 cmpld1 in timer 2 or cmpld2 in timer 3 */
1802     kDmaRequestMuxQTIMER1Cmpld1Timer3Cmpld2Timer2 = 140|0x100U, /**< TMR1 cmpld1 in timer 3 or cmpld2 in timer 2 */
1803     kDmaRequestMuxQTIMER2CaptTimer0 = 141|0x100U,  /**< TMR2 Capture timer 0 */
1804     kDmaRequestMuxQTIMER2CaptTimer1 = 142|0x100U,  /**< TMR2 Capture timer 1 */
1805     kDmaRequestMuxQTIMER2CaptTimer2 = 143|0x100U,  /**< TMR2 Capture timer 2 */
1806     kDmaRequestMuxQTIMER2CaptTimer3 = 144|0x100U,  /**< TMR2 Capture timer 3 */
1807     kDmaRequestMuxQTIMER2Cmpld1Timer0Cmpld2Timer1 = 145|0x100U, /**< TMR2 cmpld1 in timer 0 or cmpld2 in timer 1 */
1808     kDmaRequestMuxQTIMER2Cmpld1Timer1Cmpld2Timer0 = 146|0x100U, /**< TMR2 cmpld1 in timer 1 or cmpld2 in timer 0 */
1809     kDmaRequestMuxQTIMER2Cmpld1Timer2Cmpld2Timer3 = 147|0x100U, /**< TMR2 cmpld1 in timer 2 or cmpld2 in timer 3 */
1810     kDmaRequestMuxQTIMER2Cmpld1Timer3Cmpld2Timer2 = 148|0x100U, /**< TMR2 cmpld1 in timer 3 or cmpld2 in timer 2 */
1811     kDmaRequestMuxQTIMER3CaptTimer0 = 149|0x100U,  /**< TMR3 Capture timer 0 */
1812     kDmaRequestMuxQTIMER3CaptTimer1 = 150|0x100U,  /**< TMR3 Capture timer 1 */
1813     kDmaRequestMuxQTIMER3CaptTimer2 = 151|0x100U,  /**< TMR3 Capture timer 2 */
1814     kDmaRequestMuxQTIMER3CaptTimer3 = 152|0x100U,  /**< TMR3 Capture timer 3 */
1815     kDmaRequestMuxQTIMER3Cmpld1Timer0Cmpld2Timer1 = 153|0x100U, /**< TMR3 cmpld1 in timer 0 or cmpld2 in timer 1 */
1816     kDmaRequestMuxQTIMER3Cmpld1Timer1Cmpld2Timer0 = 154|0x100U, /**< TMR3 cmpld1 in timer 1 or cmpld2 in timer 0 */
1817     kDmaRequestMuxQTIMER3Cmpld1Timer2Cmpld2Timer3 = 155|0x100U, /**< TMR3 cmpld1 in timer 2 or cmpld2 in timer 3 */
1818     kDmaRequestMuxQTIMER3Cmpld1Timer3Cmpld2Timer2 = 156|0x100U, /**< TMR3 cmpld1 in timer 3 or cmpld2 in timer 2 */
1819     kDmaRequestMuxQTIMER4CaptTimer0 = 157|0x100U,  /**< TMR4 Capture timer 0 */
1820     kDmaRequestMuxQTIMER4CaptTimer1 = 158|0x100U,  /**< TMR4 Capture timer 1 */
1821     kDmaRequestMuxQTIMER4CaptTimer2 = 159|0x100U,  /**< TMR4 Capture timer 2 */
1822     kDmaRequestMuxQTIMER4CaptTimer3 = 160|0x100U,  /**< TMR4 Capture timer 3 */
1823     kDmaRequestMuxQTIMER4Cmpld1Timer0Cmpld2Timer1 = 161|0x100U, /**< TMR4 cmpld1 in timer 0 or cmpld2 in timer 1 */
1824     kDmaRequestMuxQTIMER4Cmpld1Timer1Cmpld2Timer0 = 162|0x100U, /**< TMR4 cmpld1 in timer 1 or cmpld2 in timer 0 */
1825     kDmaRequestMuxQTIMER4Cmpld1Timer2Cmpld2Timer3 = 163|0x100U, /**< TMR4 cmpld1 in timer 2 or cmpld2 in timer 3 */
1826     kDmaRequestMuxQTIMER4Cmpld1Timer3Cmpld2Timer2 = 164|0x100U, /**< TMR4 cmpld1 in timer 3 or cmpld2 in timer 2 */
1827     kDmaRequestMuxPdm               = 181|0x100U,  /**< PDM */
1828     kDmaRequestMuxEnetTimer0        = 182|0x100U,  /**< ENET Timer0 */
1829     kDmaRequestMuxEnetTimer1        = 183|0x100U,  /**< ENET Timer1 */
1830     kDmaRequestMuxEnet1GTimer0      = 184|0x100U,  /**< ENET 1G Timer0 */
1831     kDmaRequestMuxEnet1GTimer1      = 185|0x100U,  /**< ENET 1G Timer1 */
1832     kDmaRequestMuxCAN1              = 186|0x100U,  /**< CAN1 */
1833     kDmaRequestMuxCAN2              = 187|0x100U,  /**< CAN2 */
1834     kDmaRequestMuxCAN3              = 188|0x100U,  /**< CAN3 */
1835     kDmaRequestMuxDAC               = 189|0x100U,  /**< DAC */
1836     kDmaRequestMuxASRCRequest1      = 191|0x100U,  /**< ASRC request 1 pair A input request */
1837     kDmaRequestMuxASRCRequest2      = 192|0x100U,  /**< ASRC request 2 pair B input request */
1838     kDmaRequestMuxASRCRequest3      = 193|0x100U,  /**< ASRC request 3 pair C input request */
1839     kDmaRequestMuxASRCRequest4      = 194|0x100U,  /**< ASRC request 4 pair A output request */
1840     kDmaRequestMuxASRCRequest5      = 195|0x100U,  /**< ASRC request 5 pair B output request */
1841     kDmaRequestMuxASRCRequest6      = 196|0x100U,  /**< ASRC request 6 pair C output request */
1842     kDmaRequestMuxEmvsim1Tx         = 197|0x100U,  /**< Emvsim1 Transmit */
1843     kDmaRequestMuxEmvsim1Rx         = 198|0x100U,  /**< Emvsim1 Receive */
1844     kDmaRequestMuxEmvsim2Tx         = 199|0x100U,  /**< Emvsim2 Transmit */
1845     kDmaRequestMuxEmvsim2Rx         = 200|0x100U,  /**< Emvsim2 Receive */
1846     kDmaRequestMuxEnetQosTimer0     = 201|0x100U,  /**< ENET_QOS Timer0 */
1847     kDmaRequestMuxEnetQosTimer1     = 202|0x100U,  /**< ENET_QOS Timer1 */
1848 } dma_request_source_t;
1849 
1850 /* @} */
1851 
1852 /*!
1853  * @addtogroup iomuxc_pads
1854  * @{ */
1855 
1856 /*******************************************************************************
1857  * Definitions
1858 *******************************************************************************/
1859 
1860 /*!
1861  * @brief Enumeration for the IOMUXC SW_MUX_CTL_PAD
1862  *
1863  * Defines the enumeration for the IOMUXC SW_MUX_CTL_PAD collections.
1864  */
1865 typedef enum _iomuxc_sw_mux_ctl_pad
1866 {
1867     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_00 = 0U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1868     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_01 = 1U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1869     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_02 = 2U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1870     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_03 = 3U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1871     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_04 = 4U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1872     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_05 = 5U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1873     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_06 = 6U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1874     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_07 = 7U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1875     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_08 = 8U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1876     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_09 = 9U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1877     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_10 = 10U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1878     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_11 = 11U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1879     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_12 = 12U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1880     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_13 = 13U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1881     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_14 = 14U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1882     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_15 = 15U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1883     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_16 = 16U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1884     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_17 = 17U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1885     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_18 = 18U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1886     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_19 = 19U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1887     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_20 = 20U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1888     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_21 = 21U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1889     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_22 = 22U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1890     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_23 = 23U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1891     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_24 = 24U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1892     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_25 = 25U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1893     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_26 = 26U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1894     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_27 = 27U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1895     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_28 = 28U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1896     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_29 = 29U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1897     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_30 = 30U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1898     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_31 = 31U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1899     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_32 = 32U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1900     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_33 = 33U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1901     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_34 = 34U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1902     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_35 = 35U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1903     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_36 = 36U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1904     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_37 = 37U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1905     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_38 = 38U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1906     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_39 = 39U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1907     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_40 = 40U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1908     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B1_41 = 41U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1909     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_00 = 42U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1910     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_01 = 43U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1911     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_02 = 44U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1912     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_03 = 45U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1913     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_04 = 46U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1914     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_05 = 47U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1915     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_06 = 48U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1916     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_07 = 49U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1917     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_08 = 50U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1918     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_09 = 51U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1919     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_10 = 52U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1920     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_11 = 53U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1921     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_12 = 54U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1922     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_13 = 55U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1923     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_14 = 56U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1924     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_15 = 57U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1925     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_16 = 58U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1926     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_17 = 59U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1927     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_18 = 60U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1928     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_19 = 61U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1929     kIOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_B2_20 = 62U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1930     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_00 = 63U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1931     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_01 = 64U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1932     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_02 = 65U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1933     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_03 = 66U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1934     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_04 = 67U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1935     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_05 = 68U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1936     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_06 = 69U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1937     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_07 = 70U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1938     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_08 = 71U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1939     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_09 = 72U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1940     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_10 = 73U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1941     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_11 = 74U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1942     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_12 = 75U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1943     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_13 = 76U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1944     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_14 = 77U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1945     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_15 = 78U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1946     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_16 = 79U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1947     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_17 = 80U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1948     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_18 = 81U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1949     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_19 = 82U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1950     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_20 = 83U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1951     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_21 = 84U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1952     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_22 = 85U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1953     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_23 = 86U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1954     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_24 = 87U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1955     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_25 = 88U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1956     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_26 = 89U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1957     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_27 = 90U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1958     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_28 = 91U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1959     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_29 = 92U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1960     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_30 = 93U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1961     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_31 = 94U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1962     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_32 = 95U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1963     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_33 = 96U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1964     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_34 = 97U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1965     kIOMUXC_SW_MUX_CTL_PAD_GPIO_AD_35 = 98U,       /**< IOMUXC SW_MUX_CTL_PAD index */
1966     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_00 = 99U,    /**< IOMUXC SW_MUX_CTL_PAD index */
1967     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_01 = 100U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1968     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_02 = 101U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1969     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_03 = 102U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1970     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_04 = 103U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1971     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B1_05 = 104U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1972     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_00 = 105U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1973     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_01 = 106U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1974     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_02 = 107U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1975     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_03 = 108U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1976     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_04 = 109U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1977     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_05 = 110U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1978     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_06 = 111U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1979     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_07 = 112U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1980     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_08 = 113U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1981     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_09 = 114U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1982     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_10 = 115U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1983     kIOMUXC_SW_MUX_CTL_PAD_GPIO_SD_B2_11 = 116U,   /**< IOMUXC SW_MUX_CTL_PAD index */
1984     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_00 = 117U, /**< IOMUXC SW_MUX_CTL_PAD index */
1985     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_01 = 118U, /**< IOMUXC SW_MUX_CTL_PAD index */
1986     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_02 = 119U, /**< IOMUXC SW_MUX_CTL_PAD index */
1987     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_03 = 120U, /**< IOMUXC SW_MUX_CTL_PAD index */
1988     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_04 = 121U, /**< IOMUXC SW_MUX_CTL_PAD index */
1989     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_05 = 122U, /**< IOMUXC SW_MUX_CTL_PAD index */
1990     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_06 = 123U, /**< IOMUXC SW_MUX_CTL_PAD index */
1991     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_07 = 124U, /**< IOMUXC SW_MUX_CTL_PAD index */
1992     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_08 = 125U, /**< IOMUXC SW_MUX_CTL_PAD index */
1993     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_09 = 126U, /**< IOMUXC SW_MUX_CTL_PAD index */
1994     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_10 = 127U, /**< IOMUXC SW_MUX_CTL_PAD index */
1995     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B1_11 = 128U, /**< IOMUXC SW_MUX_CTL_PAD index */
1996     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_00 = 129U, /**< IOMUXC SW_MUX_CTL_PAD index */
1997     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_01 = 130U, /**< IOMUXC SW_MUX_CTL_PAD index */
1998     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_02 = 131U, /**< IOMUXC SW_MUX_CTL_PAD index */
1999     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_03 = 132U, /**< IOMUXC SW_MUX_CTL_PAD index */
2000     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_04 = 133U, /**< IOMUXC SW_MUX_CTL_PAD index */
2001     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_05 = 134U, /**< IOMUXC SW_MUX_CTL_PAD index */
2002     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_06 = 135U, /**< IOMUXC SW_MUX_CTL_PAD index */
2003     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_07 = 136U, /**< IOMUXC SW_MUX_CTL_PAD index */
2004     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_08 = 137U, /**< IOMUXC SW_MUX_CTL_PAD index */
2005     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_09 = 138U, /**< IOMUXC SW_MUX_CTL_PAD index */
2006     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_10 = 139U, /**< IOMUXC SW_MUX_CTL_PAD index */
2007     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_11 = 140U, /**< IOMUXC SW_MUX_CTL_PAD index */
2008     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_12 = 141U, /**< IOMUXC SW_MUX_CTL_PAD index */
2009     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_13 = 142U, /**< IOMUXC SW_MUX_CTL_PAD index */
2010     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_14 = 143U, /**< IOMUXC SW_MUX_CTL_PAD index */
2011     kIOMUXC_SW_MUX_CTL_PAD_GPIO_DISP_B2_15 = 144U, /**< IOMUXC SW_MUX_CTL_PAD index */
2012 } iomuxc_sw_mux_ctl_pad_t;
2013 
2014 /* @} */
2015 
2016 /*!
2017  * @addtogroup iomuxc_pads
2018  * @{ */
2019 
2020 /*******************************************************************************
2021  * Definitions
2022 *******************************************************************************/
2023 
2024 /*!
2025  * @brief Enumeration for the IOMUXC SW_PAD_CTL_PAD
2026  *
2027  * Defines the enumeration for the IOMUXC SW_PAD_CTL_PAD collections.
2028  */
2029 typedef enum _iomuxc_sw_pad_ctl_pad
2030 {
2031     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_00 = 0U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2032     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_01 = 1U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2033     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_02 = 2U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2034     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_03 = 3U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2035     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_04 = 4U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2036     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_05 = 5U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2037     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_06 = 6U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2038     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_07 = 7U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2039     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_08 = 8U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2040     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_09 = 9U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2041     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_10 = 10U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2042     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_11 = 11U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2043     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_12 = 12U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2044     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_13 = 13U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2045     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_14 = 14U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2046     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_15 = 15U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2047     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_16 = 16U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2048     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_17 = 17U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2049     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_18 = 18U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2050     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_19 = 19U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2051     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_20 = 20U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2052     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_21 = 21U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2053     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_22 = 22U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2054     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_23 = 23U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2055     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_24 = 24U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2056     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_25 = 25U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2057     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_26 = 26U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2058     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_27 = 27U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2059     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_28 = 28U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2060     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_29 = 29U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2061     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_30 = 30U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2062     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_31 = 31U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2063     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_32 = 32U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2064     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_33 = 33U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2065     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_34 = 34U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2066     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_35 = 35U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2067     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_36 = 36U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2068     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_37 = 37U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2069     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_38 = 38U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2070     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_39 = 39U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2071     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_40 = 40U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2072     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B1_41 = 41U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2073     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_00 = 42U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2074     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_01 = 43U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2075     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_02 = 44U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2076     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_03 = 45U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2077     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_04 = 46U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2078     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_05 = 47U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2079     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_06 = 48U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2080     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_07 = 49U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2081     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_08 = 50U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2082     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_09 = 51U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2083     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_10 = 52U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2084     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_11 = 53U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2085     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_12 = 54U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2086     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_13 = 55U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2087     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_14 = 56U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2088     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_15 = 57U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2089     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_16 = 58U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2090     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_17 = 59U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2091     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_18 = 60U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2092     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_19 = 61U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2093     kIOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_B2_20 = 62U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2094     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_00 = 63U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2095     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_01 = 64U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2096     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_02 = 65U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2097     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_03 = 66U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2098     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_04 = 67U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2099     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_05 = 68U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2100     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_06 = 69U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2101     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_07 = 70U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2102     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_08 = 71U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2103     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_09 = 72U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2104     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_10 = 73U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2105     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_11 = 74U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2106     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_12 = 75U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2107     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_13 = 76U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2108     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_14 = 77U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2109     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_15 = 78U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2110     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_16 = 79U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2111     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_17 = 80U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2112     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_18 = 81U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2113     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_19 = 82U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2114     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_20 = 83U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2115     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_21 = 84U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2116     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_22 = 85U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2117     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_23 = 86U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2118     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_24 = 87U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2119     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_25 = 88U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2120     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_26 = 89U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2121     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_27 = 90U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2122     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_28 = 91U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2123     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_29 = 92U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2124     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_30 = 93U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2125     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_31 = 94U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2126     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_32 = 95U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2127     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_33 = 96U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2128     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_34 = 97U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2129     kIOMUXC_SW_PAD_CTL_PAD_GPIO_AD_35 = 98U,       /**< IOMUXC SW_PAD_CTL_PAD index */
2130     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_00 = 99U,    /**< IOMUXC SW_PAD_CTL_PAD index */
2131     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_01 = 100U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2132     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_02 = 101U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2133     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_03 = 102U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2134     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_04 = 103U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2135     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B1_05 = 104U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2136     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_00 = 105U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2137     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_01 = 106U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2138     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_02 = 107U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2139     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_03 = 108U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2140     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_04 = 109U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2141     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_05 = 110U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2142     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_06 = 111U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2143     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_07 = 112U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2144     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_08 = 113U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2145     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_09 = 114U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2146     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_10 = 115U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2147     kIOMUXC_SW_PAD_CTL_PAD_GPIO_SD_B2_11 = 116U,   /**< IOMUXC SW_PAD_CTL_PAD index */
2148     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_00 = 117U, /**< IOMUXC SW_PAD_CTL_PAD index */
2149     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_01 = 118U, /**< IOMUXC SW_PAD_CTL_PAD index */
2150     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_02 = 119U, /**< IOMUXC SW_PAD_CTL_PAD index */
2151     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_03 = 120U, /**< IOMUXC SW_PAD_CTL_PAD index */
2152     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_04 = 121U, /**< IOMUXC SW_PAD_CTL_PAD index */
2153     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_05 = 122U, /**< IOMUXC SW_PAD_CTL_PAD index */
2154     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_06 = 123U, /**< IOMUXC SW_PAD_CTL_PAD index */
2155     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_07 = 124U, /**< IOMUXC SW_PAD_CTL_PAD index */
2156     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_08 = 125U, /**< IOMUXC SW_PAD_CTL_PAD index */
2157     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_09 = 126U, /**< IOMUXC SW_PAD_CTL_PAD index */
2158     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_10 = 127U, /**< IOMUXC SW_PAD_CTL_PAD index */
2159     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B1_11 = 128U, /**< IOMUXC SW_PAD_CTL_PAD index */
2160     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_00 = 129U, /**< IOMUXC SW_PAD_CTL_PAD index */
2161     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_01 = 130U, /**< IOMUXC SW_PAD_CTL_PAD index */
2162     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_02 = 131U, /**< IOMUXC SW_PAD_CTL_PAD index */
2163     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_03 = 132U, /**< IOMUXC SW_PAD_CTL_PAD index */
2164     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_04 = 133U, /**< IOMUXC SW_PAD_CTL_PAD index */
2165     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_05 = 134U, /**< IOMUXC SW_PAD_CTL_PAD index */
2166     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_06 = 135U, /**< IOMUXC SW_PAD_CTL_PAD index */
2167     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_07 = 136U, /**< IOMUXC SW_PAD_CTL_PAD index */
2168     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_08 = 137U, /**< IOMUXC SW_PAD_CTL_PAD index */
2169     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_09 = 138U, /**< IOMUXC SW_PAD_CTL_PAD index */
2170     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_10 = 139U, /**< IOMUXC SW_PAD_CTL_PAD index */
2171     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_11 = 140U, /**< IOMUXC SW_PAD_CTL_PAD index */
2172     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_12 = 141U, /**< IOMUXC SW_PAD_CTL_PAD index */
2173     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_13 = 142U, /**< IOMUXC SW_PAD_CTL_PAD index */
2174     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_14 = 143U, /**< IOMUXC SW_PAD_CTL_PAD index */
2175     kIOMUXC_SW_PAD_CTL_PAD_GPIO_DISP_B2_15 = 144U, /**< IOMUXC SW_PAD_CTL_PAD index */
2176 } iomuxc_sw_pad_ctl_pad_t;
2177 
2178 /* @} */
2179 
2180 /*!
2181  * @brief Enumeration for the IOMUXC select input
2182  *
2183  * Defines the enumeration for the IOMUXC select input collections.
2184  */
2185 typedef enum _iomuxc_select_input
2186 {
2187     kIOMUXC_FLEXCAN1_RX_SELECT_INPUT = 0U,         /**< IOMUXC select input index */
2188     kIOMUXC_FLEXCAN2_RX_SELECT_INPUT = 1U,         /**< IOMUXC select input index */
2189     kIOMUXC_CCM_ENET_QOS_REF_CLK_SELECT_INPUT = 2U, /**< IOMUXC select input index */
2190     kIOMUXC_CCM_ENET_QOS_TX_CLK_SELECT_INPUT = 3U, /**< IOMUXC select input index */
2191     kIOMUXC_ENET_IPG_CLK_RMII_SELECT_INPUT = 4U,   /**< IOMUXC select input index */
2192     kIOMUXC_ENET_MAC0_MDIO_SELECT_INPUT = 5U,      /**< IOMUXC select input index */
2193     kIOMUXC_ENET_MAC0_RXDATA_SELECT_INPUT_0 = 6U,  /**< IOMUXC select input index */
2194     kIOMUXC_ENET_MAC0_RXDATA_SELECT_INPUT_1 = 7U,  /**< IOMUXC select input index */
2195     kIOMUXC_ENET_MAC0_RXEN_SELECT_INPUT = 8U,      /**< IOMUXC select input index */
2196     kIOMUXC_ENET_MAC0_RXERR_SELECT_INPUT = 9U,     /**< IOMUXC select input index */
2197     kIOMUXC_ENET_MAC0_TXCLK_SELECT_INPUT = 10U,    /**< IOMUXC select input index */
2198     kIOMUXC_ENET_1G_IPG_CLK_RMII_SELECT_INPUT = 11U, /**< IOMUXC select input index */
2199     kIOMUXC_ENET_1G_MAC0_MDIO_SELECT_INPUT = 12U,  /**< IOMUXC select input index */
2200     kIOMUXC_ENET_1G_MAC0_RXCLK_SELECT_INPUT = 13U, /**< IOMUXC select input index */
2201     kIOMUXC_ENET_1G_MAC0_RXDATA_0_SELECT_INPUT = 14U, /**< IOMUXC select input index */
2202     kIOMUXC_ENET_1G_MAC0_RXDATA_1_SELECT_INPUT = 15U, /**< IOMUXC select input index */
2203     kIOMUXC_ENET_1G_MAC0_RXDATA_2_SELECT_INPUT = 16U, /**< IOMUXC select input index */
2204     kIOMUXC_ENET_1G_MAC0_RXDATA_3_SELECT_INPUT = 17U, /**< IOMUXC select input index */
2205     kIOMUXC_ENET_1G_MAC0_RXEN_SELECT_INPUT = 18U,  /**< IOMUXC select input index */
2206     kIOMUXC_ENET_1G_MAC0_RXERR_SELECT_INPUT = 19U, /**< IOMUXC select input index */
2207     kIOMUXC_ENET_1G_MAC0_TXCLK_SELECT_INPUT = 20U, /**< IOMUXC select input index */
2208     kIOMUXC_ENET_QOS_GMII_MDI_I_SELECT_INPUT = 21U, /**< IOMUXC select input index */
2209     kIOMUXC_ENET_QOS_PHY_RXD_I_SELECT_INPUT_0 = 22U, /**< IOMUXC select input index */
2210     kIOMUXC_ENET_QOS_PHY_RXD_I_SELECT_INPUT_1 = 23U, /**< IOMUXC select input index */
2211     kIOMUXC_ENET_QOS_PHY_RXDV_I_SELECT_INPUT = 24U, /**< IOMUXC select input index */
2212     kIOMUXC_ENET_QOS_PHY_RXER_I_SELECT_INPUT = 25U, /**< IOMUXC select input index */
2213     kIOMUXC_FLEXPWM1_PWMA_SELECT_INPUT_0 = 26U,    /**< IOMUXC select input index */
2214     kIOMUXC_FLEXPWM1_PWMA_SELECT_INPUT_1 = 27U,    /**< IOMUXC select input index */
2215     kIOMUXC_FLEXPWM1_PWMA_SELECT_INPUT_2 = 28U,    /**< IOMUXC select input index */
2216     kIOMUXC_FLEXPWM1_PWMB_SELECT_INPUT_0 = 29U,    /**< IOMUXC select input index */
2217     kIOMUXC_FLEXPWM1_PWMB_SELECT_INPUT_1 = 30U,    /**< IOMUXC select input index */
2218     kIOMUXC_FLEXPWM1_PWMB_SELECT_INPUT_2 = 31U,    /**< IOMUXC select input index */
2219     kIOMUXC_FLEXPWM2_PWMA_SELECT_INPUT_0 = 32U,    /**< IOMUXC select input index */
2220     kIOMUXC_FLEXPWM2_PWMA_SELECT_INPUT_1 = 33U,    /**< IOMUXC select input index */
2221     kIOMUXC_FLEXPWM2_PWMA_SELECT_INPUT_2 = 34U,    /**< IOMUXC select input index */
2222     kIOMUXC_FLEXPWM2_PWMB_SELECT_INPUT_0 = 35U,    /**< IOMUXC select input index */
2223     kIOMUXC_FLEXPWM2_PWMB_SELECT_INPUT_1 = 36U,    /**< IOMUXC select input index */
2224     kIOMUXC_FLEXPWM2_PWMB_SELECT_INPUT_2 = 37U,    /**< IOMUXC select input index */
2225     kIOMUXC_FLEXPWM3_PWMA_SELECT_INPUT_0 = 38U,    /**< IOMUXC select input index */
2226     kIOMUXC_FLEXPWM3_PWMA_SELECT_INPUT_1 = 39U,    /**< IOMUXC select input index */
2227     kIOMUXC_FLEXPWM3_PWMA_SELECT_INPUT_2 = 40U,    /**< IOMUXC select input index */
2228     kIOMUXC_FLEXPWM3_PWMA_SELECT_INPUT_3 = 41U,    /**< IOMUXC select input index */
2229     kIOMUXC_FLEXPWM3_PWMB_SELECT_INPUT_0 = 42U,    /**< IOMUXC select input index */
2230     kIOMUXC_FLEXPWM3_PWMB_SELECT_INPUT_1 = 43U,    /**< IOMUXC select input index */
2231     kIOMUXC_FLEXPWM3_PWMB_SELECT_INPUT_2 = 44U,    /**< IOMUXC select input index */
2232     kIOMUXC_FLEXPWM3_PWMB_SELECT_INPUT_3 = 45U,    /**< IOMUXC select input index */
2233     kIOMUXC_FLEXSPI1_I_DQS_FA_SELECT_INPUT = 46U,  /**< IOMUXC select input index */
2234     kIOMUXC_FLEXSPI1_I_IO_FA_SELECT_INPUT_0 = 47U, /**< IOMUXC select input index */
2235     kIOMUXC_FLEXSPI1_I_IO_FA_SELECT_INPUT_1 = 48U, /**< IOMUXC select input index */
2236     kIOMUXC_FLEXSPI1_I_IO_FA_SELECT_INPUT_2 = 49U, /**< IOMUXC select input index */
2237     kIOMUXC_FLEXSPI1_I_IO_FA_SELECT_INPUT_3 = 50U, /**< IOMUXC select input index */
2238     kIOMUXC_FLEXSPI1_I_IO_FB_SELECT_INPUT_0 = 51U, /**< IOMUXC select input index */
2239     kIOMUXC_FLEXSPI1_I_IO_FB_SELECT_INPUT_1 = 52U, /**< IOMUXC select input index */
2240     kIOMUXC_FLEXSPI1_I_IO_FB_SELECT_INPUT_2 = 53U, /**< IOMUXC select input index */
2241     kIOMUXC_FLEXSPI1_I_IO_FB_SELECT_INPUT_3 = 54U, /**< IOMUXC select input index */
2242     kIOMUXC_FLEXSPI1_I_SCK_FA_SELECT_INPUT = 55U,  /**< IOMUXC select input index */
2243     kIOMUXC_FLEXSPI1_I_SCK_FB_SELECT_INPUT = 56U,  /**< IOMUXC select input index */
2244     kIOMUXC_FLEXSPI2_I_IO_FA_SELECT_INPUT_0 = 57U, /**< IOMUXC select input index */
2245     kIOMUXC_FLEXSPI2_I_IO_FA_SELECT_INPUT_1 = 58U, /**< IOMUXC select input index */
2246     kIOMUXC_FLEXSPI2_I_IO_FA_SELECT_INPUT_2 = 59U, /**< IOMUXC select input index */
2247     kIOMUXC_FLEXSPI2_I_IO_FA_SELECT_INPUT_3 = 60U, /**< IOMUXC select input index */
2248     kIOMUXC_FLEXSPI2_I_SCK_FA_SELECT_INPUT = 61U,  /**< IOMUXC select input index */
2249     kIOMUXC_GPT3_CAPIN1_SELECT_INPUT = 62U,        /**< IOMUXC select input index */
2250     kIOMUXC_GPT3_CAPIN2_SELECT_INPUT = 63U,        /**< IOMUXC select input index */
2251     kIOMUXC_GPT3_CLKIN_SELECT_INPUT = 64U,         /**< IOMUXC select input index */
2252     kIOMUXC_KPP_COL_SELECT_INPUT_6  = 65U,         /**< IOMUXC select input index */
2253     kIOMUXC_KPP_COL_SELECT_INPUT_7  = 66U,         /**< IOMUXC select input index */
2254     kIOMUXC_KPP_ROW_SELECT_INPUT_6  = 67U,         /**< IOMUXC select input index */
2255     kIOMUXC_KPP_ROW_SELECT_INPUT_7  = 68U,         /**< IOMUXC select input index */
2256     kIOMUXC_LPI2C1_LPI2C_SCL_SELECT_INPUT = 69U,   /**< IOMUXC select input index */
2257     kIOMUXC_LPI2C1_LPI2C_SDA_SELECT_INPUT = 70U,   /**< IOMUXC select input index */
2258     kIOMUXC_LPI2C2_LPI2C_SCL_SELECT_INPUT = 71U,   /**< IOMUXC select input index */
2259     kIOMUXC_LPI2C2_LPI2C_SDA_SELECT_INPUT = 72U,   /**< IOMUXC select input index */
2260     kIOMUXC_LPI2C3_LPI2C_SCL_SELECT_INPUT = 73U,   /**< IOMUXC select input index */
2261     kIOMUXC_LPI2C3_LPI2C_SDA_SELECT_INPUT = 74U,   /**< IOMUXC select input index */
2262     kIOMUXC_LPI2C4_LPI2C_SCL_SELECT_INPUT = 75U,   /**< IOMUXC select input index */
2263     kIOMUXC_LPI2C4_LPI2C_SDA_SELECT_INPUT = 76U,   /**< IOMUXC select input index */
2264     kIOMUXC_LPSPI1_LPSPI_PCS_SELECT_INPUT_0 = 77U, /**< IOMUXC select input index */
2265     kIOMUXC_LPSPI1_LPSPI_SCK_SELECT_INPUT = 78U,   /**< IOMUXC select input index */
2266     kIOMUXC_LPSPI1_LPSPI_SDI_SELECT_INPUT = 79U,   /**< IOMUXC select input index */
2267     kIOMUXC_LPSPI1_LPSPI_SDO_SELECT_INPUT = 80U,   /**< IOMUXC select input index */
2268     kIOMUXC_LPSPI2_LPSPI_PCS_SELECT_INPUT_0 = 81U, /**< IOMUXC select input index */
2269     kIOMUXC_LPSPI2_LPSPI_PCS_SELECT_INPUT_1 = 82U, /**< IOMUXC select input index */
2270     kIOMUXC_LPSPI2_LPSPI_SCK_SELECT_INPUT = 83U,   /**< IOMUXC select input index */
2271     kIOMUXC_LPSPI2_LPSPI_SDI_SELECT_INPUT = 84U,   /**< IOMUXC select input index */
2272     kIOMUXC_LPSPI2_LPSPI_SDO_SELECT_INPUT = 85U,   /**< IOMUXC select input index */
2273     kIOMUXC_LPSPI3_LPSPI_PCS_SELECT_INPUT_0 = 86U, /**< IOMUXC select input index */
2274     kIOMUXC_LPSPI3_LPSPI_PCS_SELECT_INPUT_1 = 87U, /**< IOMUXC select input index */
2275     kIOMUXC_LPSPI3_LPSPI_PCS_SELECT_INPUT_2 = 88U, /**< IOMUXC select input index */
2276     kIOMUXC_LPSPI3_LPSPI_PCS_SELECT_INPUT_3 = 89U, /**< IOMUXC select input index */
2277     kIOMUXC_LPSPI3_LPSPI_SCK_SELECT_INPUT = 90U,   /**< IOMUXC select input index */
2278     kIOMUXC_LPSPI3_LPSPI_SDI_SELECT_INPUT = 91U,   /**< IOMUXC select input index */
2279     kIOMUXC_LPSPI3_LPSPI_SDO_SELECT_INPUT = 92U,   /**< IOMUXC select input index */
2280     kIOMUXC_LPSPI4_LPSPI_PCS_SELECT_INPUT_0 = 93U, /**< IOMUXC select input index */
2281     kIOMUXC_LPSPI4_LPSPI_SCK_SELECT_INPUT = 94U,   /**< IOMUXC select input index */
2282     kIOMUXC_LPSPI4_LPSPI_SDI_SELECT_INPUT = 95U,   /**< IOMUXC select input index */
2283     kIOMUXC_LPSPI4_LPSPI_SDO_SELECT_INPUT = 96U,   /**< IOMUXC select input index */
2284     kIOMUXC_LPUART1_LPUART_RXD_SELECT_INPUT = 97U, /**< IOMUXC select input index */
2285     kIOMUXC_LPUART1_LPUART_TXD_SELECT_INPUT = 98U, /**< IOMUXC select input index */
2286     kIOMUXC_LPUART10_LPUART_RXD_SELECT_INPUT = 99U, /**< IOMUXC select input index */
2287     kIOMUXC_LPUART10_LPUART_TXD_SELECT_INPUT = 100U, /**< IOMUXC select input index */
2288     kIOMUXC_LPUART7_LPUART_RXD_SELECT_INPUT = 101U, /**< IOMUXC select input index */
2289     kIOMUXC_LPUART7_LPUART_TXD_SELECT_INPUT = 102U, /**< IOMUXC select input index */
2290     kIOMUXC_LPUART8_LPUART_RXD_SELECT_INPUT = 103U, /**< IOMUXC select input index */
2291     kIOMUXC_LPUART8_LPUART_TXD_SELECT_INPUT = 104U, /**< IOMUXC select input index */
2292     kIOMUXC_QTIMER1_TMR0_INPUT_SELECT_INPUT = 105U, /**< IOMUXC select input index */
2293     kIOMUXC_QTIMER1_TMR1_INPUT_SELECT_INPUT = 106U, /**< IOMUXC select input index */
2294     kIOMUXC_QTIMER1_TMR2_INPUT_SELECT_INPUT = 107U, /**< IOMUXC select input index */
2295     kIOMUXC_QTIMER2_TMR0_INPUT_SELECT_INPUT = 108U, /**< IOMUXC select input index */
2296     kIOMUXC_QTIMER2_TMR1_INPUT_SELECT_INPUT = 109U, /**< IOMUXC select input index */
2297     kIOMUXC_QTIMER2_TMR2_INPUT_SELECT_INPUT = 110U, /**< IOMUXC select input index */
2298     kIOMUXC_QTIMER3_TMR0_INPUT_SELECT_INPUT = 111U, /**< IOMUXC select input index */
2299     kIOMUXC_QTIMER3_TMR1_INPUT_SELECT_INPUT = 112U, /**< IOMUXC select input index */
2300     kIOMUXC_QTIMER3_TMR2_INPUT_SELECT_INPUT = 113U, /**< IOMUXC select input index */
2301     kIOMUXC_QTIMER4_TMR0_INPUT_SELECT_INPUT = 114U, /**< IOMUXC select input index */
2302     kIOMUXC_QTIMER4_TMR1_INPUT_SELECT_INPUT = 115U, /**< IOMUXC select input index */
2303     kIOMUXC_QTIMER4_TMR2_INPUT_SELECT_INPUT = 116U, /**< IOMUXC select input index */
2304     kIOMUXC_SAI1_IPG_CLK_SAI_MCLK_SELECT_INPUT = 117U, /**< IOMUXC select input index */
2305     kIOMUXC_SAI1_SAI_RXBCLK_SELECT_INPUT = 118U,   /**< IOMUXC select input index */
2306     kIOMUXC_SAI1_SAI_RXDATA_SELECT_INPUT_0 = 119U, /**< IOMUXC select input index */
2307     kIOMUXC_SAI1_SAI_RXSYNC_SELECT_INPUT = 120U,   /**< IOMUXC select input index */
2308     kIOMUXC_SAI1_SAI_TXBCLK_SELECT_INPUT = 121U,   /**< IOMUXC select input index */
2309     kIOMUXC_SAI1_SAI_TXSYNC_SELECT_INPUT = 122U,   /**< IOMUXC select input index */
2310     kIOMUXC_EMVSIM1_SIO_SELECT_INPUT = 129U,       /**< IOMUXC select input index */
2311     kIOMUXC_EMVSIM1_IPP_SIMPD_SELECT_INPUT = 130U, /**< IOMUXC select input index */
2312     kIOMUXC_EMVSIM1_POWER_FAIL_SELECT_INPUT = 131U, /**< IOMUXC select input index */
2313     kIOMUXC_EMVSIM2_SIO_SELECT_INPUT = 132U,       /**< IOMUXC select input index */
2314     kIOMUXC_EMVSIM2_IPP_SIMPD_SELECT_INPUT = 133U, /**< IOMUXC select input index */
2315     kIOMUXC_EMVSIM2_POWER_FAIL_SELECT_INPUT = 134U, /**< IOMUXC select input index */
2316     kIOMUXC_SPDIF_SPDIF_IN1_SELECT_INPUT = 135U,   /**< IOMUXC select input index */
2317     kIOMUXC_USB_OTG2_OC_SELECT_INPUT = 136U,       /**< IOMUXC select input index */
2318     kIOMUXC_USB_OTG_OC_SELECT_INPUT = 137U,        /**< IOMUXC select input index */
2319     kIOMUXC_USBPHY1_USB_ID_SELECT_INPUT = 138U,    /**< IOMUXC select input index */
2320     kIOMUXC_USBPHY2_USB_ID_SELECT_INPUT = 139U,    /**< IOMUXC select input index */
2321     kIOMUXC_USDHC1_IPP_CARD_DET_SELECT_INPUT = 140U, /**< IOMUXC select input index */
2322     kIOMUXC_USDHC1_IPP_WP_ON_SELECT_INPUT = 141U,  /**< IOMUXC select input index */
2323     kIOMUXC_USDHC2_IPP_CARD_DET_SELECT_INPUT = 142U, /**< IOMUXC select input index */
2324     kIOMUXC_USDHC2_IPP_WP_ON_SELECT_INPUT = 143U,  /**< IOMUXC select input index */
2325     kIOMUXC_XBAR1_IN_SELECT_INPUT_20 = 144U,       /**< IOMUXC select input index */
2326     kIOMUXC_XBAR1_IN_SELECT_INPUT_21 = 145U,       /**< IOMUXC select input index */
2327     kIOMUXC_XBAR1_IN_SELECT_INPUT_22 = 146U,       /**< IOMUXC select input index */
2328     kIOMUXC_XBAR1_IN_SELECT_INPUT_23 = 147U,       /**< IOMUXC select input index */
2329     kIOMUXC_XBAR1_IN_SELECT_INPUT_24 = 148U,       /**< IOMUXC select input index */
2330     kIOMUXC_XBAR1_IN_SELECT_INPUT_25 = 149U,       /**< IOMUXC select input index */
2331     kIOMUXC_XBAR1_IN_SELECT_INPUT_26 = 150U,       /**< IOMUXC select input index */
2332     kIOMUXC_XBAR1_IN_SELECT_INPUT_27 = 151U,       /**< IOMUXC select input index */
2333     kIOMUXC_XBAR1_IN_SELECT_INPUT_28 = 152U,       /**< IOMUXC select input index */
2334     kIOMUXC_XBAR1_IN_SELECT_INPUT_29 = 153U,       /**< IOMUXC select input index */
2335     kIOMUXC_XBAR1_IN_SELECT_INPUT_30 = 154U,       /**< IOMUXC select input index */
2336     kIOMUXC_XBAR1_IN_SELECT_INPUT_31 = 155U,       /**< IOMUXC select input index */
2337     kIOMUXC_XBAR1_IN_SELECT_INPUT_32 = 156U,       /**< IOMUXC select input index */
2338     kIOMUXC_XBAR1_IN_SELECT_INPUT_33 = 157U,       /**< IOMUXC select input index */
2339     kIOMUXC_XBAR1_IN_SELECT_INPUT_34 = 158U,       /**< IOMUXC select input index */
2340     kIOMUXC_XBAR1_IN_SELECT_INPUT_35 = 159U,       /**< IOMUXC select input index */
2341 } iomuxc_select_input_t;
2342 
2343 
2344 /*!
2345  * @}
2346  */ /* end of group Mapping_Information */
2347 
2348 
2349 /* ----------------------------------------------------------------------------
2350    -- Device Peripheral Access Layer
2351    ---------------------------------------------------------------------------- */
2352 
2353 /*!
2354  * @addtogroup Peripheral_access_layer Device Peripheral Access Layer
2355  * @{
2356  */
2357 
2358 
2359 /*
2360 ** Start of section using anonymous unions
2361 */
2362 
2363 #if defined(__ARMCC_VERSION)
2364   #if (__ARMCC_VERSION >= 6010050)
2365     #pragma clang diagnostic push
2366   #else
2367     #pragma push
2368     #pragma anon_unions
2369   #endif
2370 #elif defined(__CWCC__)
2371   #pragma push
2372   #pragma cpp_extensions on
2373 #elif defined(__GNUC__)
2374   /* anonymous unions are enabled by default */
2375 #elif defined(__IAR_SYSTEMS_ICC__)
2376   #pragma language=extended
2377 #else
2378   #error Not supported compiler type
2379 #endif
2380 
2381 /* ----------------------------------------------------------------------------
2382    -- ADC Peripheral Access Layer
2383    ---------------------------------------------------------------------------- */
2384 
2385 /*!
2386  * @addtogroup ADC_Peripheral_Access_Layer ADC Peripheral Access Layer
2387  * @{
2388  */
2389 
2390 /** ADC - Register Layout Typedef */
2391 typedef struct {
2392   __I  uint32_t VERID;                             /**< Version ID Register, offset: 0x0 */
2393   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
2394        uint8_t RESERVED_0[8];
2395   __IO uint32_t CTRL;                              /**< LPADC Control Register, offset: 0x10 */
2396   __IO uint32_t STAT;                              /**< LPADC Status Register, offset: 0x14 */
2397   __IO uint32_t IE;                                /**< Interrupt Enable Register, offset: 0x18 */
2398   __IO uint32_t DE;                                /**< DMA Enable Register, offset: 0x1C */
2399   __IO uint32_t CFG;                               /**< LPADC Configuration Register, offset: 0x20 */
2400   __IO uint32_t PAUSE;                             /**< LPADC Pause Register, offset: 0x24 */
2401        uint8_t RESERVED_1[8];
2402   __IO uint32_t FCTRL;                             /**< LPADC FIFO Control Register, offset: 0x30 */
2403   __O  uint32_t SWTRIG;                            /**< Software Trigger Register, offset: 0x34 */
2404        uint8_t RESERVED_2[136];
2405   __IO uint32_t TCTRL[8];                          /**< Trigger Control Register, array offset: 0xC0, array step: 0x4 */
2406        uint8_t RESERVED_3[32];
2407   struct {                                         /* offset: 0x100, array step: 0x8 */
2408     __IO uint32_t CMDL;                              /**< LPADC Command Low Buffer Register, array offset: 0x100, array step: 0x8 */
2409     __IO uint32_t CMDH;                              /**< LPADC Command High Buffer Register, array offset: 0x104, array step: 0x8 */
2410   } CMD[15];
2411        uint8_t RESERVED_4[136];
2412   __IO uint32_t CV[4];                             /**< Compare Value Register, array offset: 0x200, array step: 0x4 */
2413        uint8_t RESERVED_5[240];
2414   __I  uint32_t RESFIFO;                           /**< LPADC Data Result FIFO Register, offset: 0x300 */
2415 } ADC_Type;
2416 
2417 /* ----------------------------------------------------------------------------
2418    -- ADC Register Masks
2419    ---------------------------------------------------------------------------- */
2420 
2421 /*!
2422  * @addtogroup ADC_Register_Masks ADC Register Masks
2423  * @{
2424  */
2425 
2426 /*! @name VERID - Version ID Register */
2427 /*! @{ */
2428 
2429 #define ADC_VERID_RES_MASK                       (0x1U)
2430 #define ADC_VERID_RES_SHIFT                      (0U)
2431 /*! RES - Resolution
2432  *  0b0..Up to 13-bit differential/12-bit single ended resolution supported.
2433  *  0b1..Up to 16-bit differential/15-bit single ended resolution supported.
2434  */
2435 #define ADC_VERID_RES(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_VERID_RES_SHIFT)) & ADC_VERID_RES_MASK)
2436 
2437 #define ADC_VERID_DIFFEN_MASK                    (0x2U)
2438 #define ADC_VERID_DIFFEN_SHIFT                   (1U)
2439 /*! DIFFEN - Differential Supported
2440  *  0b0..Differential operation not supported.
2441  *  0b1..Differential operation supported. CMDLa[DIFF] and CMDLa[ABSEL] control fields implemented.
2442  */
2443 #define ADC_VERID_DIFFEN(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_VERID_DIFFEN_SHIFT)) & ADC_VERID_DIFFEN_MASK)
2444 
2445 #define ADC_VERID_MVI_MASK                       (0x8U)
2446 #define ADC_VERID_MVI_SHIFT                      (3U)
2447 /*! MVI - Multi Vref Implemented
2448  *  0b0..Single voltage reference input supported.
2449  *  0b1..Multiple voltage reference inputs supported.
2450  */
2451 #define ADC_VERID_MVI(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_VERID_MVI_SHIFT)) & ADC_VERID_MVI_MASK)
2452 
2453 #define ADC_VERID_CSW_MASK                       (0x70U)
2454 #define ADC_VERID_CSW_SHIFT                      (4U)
2455 /*! CSW - Channel Scale Width
2456  *  0b000..Channel scaling not supported.
2457  *  0b001..Channel scaling supported. 1-bit CSCALE control field.
2458  *  0b110..Channel scaling supported. 6-bit CSCALE control field.
2459  */
2460 #define ADC_VERID_CSW(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_VERID_CSW_SHIFT)) & ADC_VERID_CSW_MASK)
2461 
2462 #define ADC_VERID_VR1RNGI_MASK                   (0x100U)
2463 #define ADC_VERID_VR1RNGI_SHIFT                  (8U)
2464 /*! VR1RNGI - Voltage Reference 1 Range Control Bit Implemented
2465  *  0b0..Range control not required. CFG[VREF1RNG] is not implemented.
2466  *  0b1..Range control required. CFG[VREF1RNG] is implemented.
2467  */
2468 #define ADC_VERID_VR1RNGI(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_VERID_VR1RNGI_SHIFT)) & ADC_VERID_VR1RNGI_MASK)
2469 
2470 #define ADC_VERID_IADCKI_MASK                    (0x200U)
2471 #define ADC_VERID_IADCKI_SHIFT                   (9U)
2472 /*! IADCKI - Internal LPADC Clock implemented
2473  *  0b0..Internal clock source not implemented.
2474  *  0b1..Internal clock source (and CFG[ADCKEN]) implemented.
2475  */
2476 #define ADC_VERID_IADCKI(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_VERID_IADCKI_SHIFT)) & ADC_VERID_IADCKI_MASK)
2477 
2478 #define ADC_VERID_CALOFSI_MASK                   (0x400U)
2479 #define ADC_VERID_CALOFSI_SHIFT                  (10U)
2480 /*! CALOFSI - Calibration Offset Function Implemented
2481  *  0b0..Offset calibration and offset trimming not implemented.
2482  *  0b1..Offset calibration and offset trimming implemented.
2483  */
2484 #define ADC_VERID_CALOFSI(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_VERID_CALOFSI_SHIFT)) & ADC_VERID_CALOFSI_MASK)
2485 
2486 #define ADC_VERID_MINOR_MASK                     (0xFF0000U)
2487 #define ADC_VERID_MINOR_SHIFT                    (16U)
2488 /*! MINOR - Minor Version Number
2489  */
2490 #define ADC_VERID_MINOR(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_VERID_MINOR_SHIFT)) & ADC_VERID_MINOR_MASK)
2491 
2492 #define ADC_VERID_MAJOR_MASK                     (0xFF000000U)
2493 #define ADC_VERID_MAJOR_SHIFT                    (24U)
2494 /*! MAJOR - Major Version Number
2495  */
2496 #define ADC_VERID_MAJOR(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_VERID_MAJOR_SHIFT)) & ADC_VERID_MAJOR_MASK)
2497 /*! @} */
2498 
2499 /*! @name PARAM - Parameter Register */
2500 /*! @{ */
2501 
2502 #define ADC_PARAM_TRIG_NUM_MASK                  (0xFFU)
2503 #define ADC_PARAM_TRIG_NUM_SHIFT                 (0U)
2504 /*! TRIG_NUM - Trigger Number
2505  *  0b00001000..8 hardware triggers implemented
2506  */
2507 #define ADC_PARAM_TRIG_NUM(x)                    (((uint32_t)(((uint32_t)(x)) << ADC_PARAM_TRIG_NUM_SHIFT)) & ADC_PARAM_TRIG_NUM_MASK)
2508 
2509 #define ADC_PARAM_FIFOSIZE_MASK                  (0xFF00U)
2510 #define ADC_PARAM_FIFOSIZE_SHIFT                 (8U)
2511 /*! FIFOSIZE - Result FIFO Depth
2512  *  0b00010000..Result FIFO depth = 16 datawords.
2513  */
2514 #define ADC_PARAM_FIFOSIZE(x)                    (((uint32_t)(((uint32_t)(x)) << ADC_PARAM_FIFOSIZE_SHIFT)) & ADC_PARAM_FIFOSIZE_MASK)
2515 
2516 #define ADC_PARAM_CV_NUM_MASK                    (0xFF0000U)
2517 #define ADC_PARAM_CV_NUM_SHIFT                   (16U)
2518 /*! CV_NUM - Compare Value Number
2519  *  0b00000100..4 compare value registers implemented
2520  */
2521 #define ADC_PARAM_CV_NUM(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_PARAM_CV_NUM_SHIFT)) & ADC_PARAM_CV_NUM_MASK)
2522 
2523 #define ADC_PARAM_CMD_NUM_MASK                   (0xFF000000U)
2524 #define ADC_PARAM_CMD_NUM_SHIFT                  (24U)
2525 /*! CMD_NUM - Command Buffer Number
2526  *  0b00001111..15 command buffers implemented
2527  */
2528 #define ADC_PARAM_CMD_NUM(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_PARAM_CMD_NUM_SHIFT)) & ADC_PARAM_CMD_NUM_MASK)
2529 /*! @} */
2530 
2531 /*! @name CTRL - LPADC Control Register */
2532 /*! @{ */
2533 
2534 #define ADC_CTRL_ADCEN_MASK                      (0x1U)
2535 #define ADC_CTRL_ADCEN_SHIFT                     (0U)
2536 /*! ADCEN - LPADC Enable
2537  *  0b0..LPADC is disabled.
2538  *  0b1..LPADC is enabled.
2539  */
2540 #define ADC_CTRL_ADCEN(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CTRL_ADCEN_SHIFT)) & ADC_CTRL_ADCEN_MASK)
2541 
2542 #define ADC_CTRL_RST_MASK                        (0x2U)
2543 #define ADC_CTRL_RST_SHIFT                       (1U)
2544 /*! RST - Software Reset
2545  *  0b0..LPADC logic is not reset.
2546  *  0b1..LPADC logic is reset.
2547  */
2548 #define ADC_CTRL_RST(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_CTRL_RST_SHIFT)) & ADC_CTRL_RST_MASK)
2549 
2550 #define ADC_CTRL_DOZEN_MASK                      (0x4U)
2551 #define ADC_CTRL_DOZEN_SHIFT                     (2U)
2552 /*! DOZEN - Doze Enable
2553  *  0b0..LPADC is enabled in Doze mode.
2554  *  0b1..LPADC is disabled in Doze mode.
2555  */
2556 #define ADC_CTRL_DOZEN(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CTRL_DOZEN_SHIFT)) & ADC_CTRL_DOZEN_MASK)
2557 
2558 #define ADC_CTRL_TRIG_SRC_MASK                   (0x18U)
2559 #define ADC_CTRL_TRIG_SRC_SHIFT                  (3U)
2560 /*! TRIG_SRC - Hardware trigger source selection
2561  *  0b00..ADC_ETC hw trigger , and HW trigger are enabled
2562  *  0b01..ADC_ETC hw trigger is enabled
2563  *  0b10..HW trigger is enabled
2564  *  0b11..Reserved
2565  */
2566 #define ADC_CTRL_TRIG_SRC(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_CTRL_TRIG_SRC_SHIFT)) & ADC_CTRL_TRIG_SRC_MASK)
2567 
2568 #define ADC_CTRL_RSTFIFO_MASK                    (0x100U)
2569 #define ADC_CTRL_RSTFIFO_SHIFT                   (8U)
2570 /*! RSTFIFO - Reset FIFO
2571  *  0b0..No effect.
2572  *  0b1..FIFO is reset.
2573  */
2574 #define ADC_CTRL_RSTFIFO(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_CTRL_RSTFIFO_SHIFT)) & ADC_CTRL_RSTFIFO_MASK)
2575 /*! @} */
2576 
2577 /*! @name STAT - LPADC Status Register */
2578 /*! @{ */
2579 
2580 #define ADC_STAT_RDY_MASK                        (0x1U)
2581 #define ADC_STAT_RDY_SHIFT                       (0U)
2582 /*! RDY - Result FIFO Ready Flag
2583  *  0b0..Result FIFO data level not above watermark level.
2584  *  0b1..Result FIFO holding data above watermark level.
2585  */
2586 #define ADC_STAT_RDY(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_STAT_RDY_SHIFT)) & ADC_STAT_RDY_MASK)
2587 
2588 #define ADC_STAT_FOF_MASK                        (0x2U)
2589 #define ADC_STAT_FOF_SHIFT                       (1U)
2590 /*! FOF - Result FIFO Overflow Flag
2591  *  0b0..No result FIFO overflow has occurred since the last time the flag was cleared.
2592  *  0b1..At least one result FIFO overflow has occurred since the last time the flag was cleared.
2593  */
2594 #define ADC_STAT_FOF(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_STAT_FOF_SHIFT)) & ADC_STAT_FOF_MASK)
2595 
2596 #define ADC_STAT_ADC_ACTIVE_MASK                 (0x100U)
2597 #define ADC_STAT_ADC_ACTIVE_SHIFT                (8U)
2598 /*! ADC_ACTIVE - ADC Active
2599  *  0b0..The LPADC is IDLE. There are no pending triggers to service and no active commands are being processed.
2600  *  0b1..The LPADC is processing a conversion, running through the power up delay, or servicing a trigger.
2601  */
2602 #define ADC_STAT_ADC_ACTIVE(x)                   (((uint32_t)(((uint32_t)(x)) << ADC_STAT_ADC_ACTIVE_SHIFT)) & ADC_STAT_ADC_ACTIVE_MASK)
2603 
2604 #define ADC_STAT_TRGACT_MASK                     (0x70000U)
2605 #define ADC_STAT_TRGACT_SHIFT                    (16U)
2606 /*! TRGACT - Trigger Active
2607  *  0b000..Command (sequence) associated with Trigger 0 currently being executed.
2608  *  0b001..Command (sequence) associated with Trigger 1 currently being executed.
2609  *  0b010..Command (sequence) associated with Trigger 2 currently being executed.
2610  *  0b011-0b111..Command (sequence) from the associated Trigger number is currently being executed.
2611  */
2612 #define ADC_STAT_TRGACT(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_STAT_TRGACT_SHIFT)) & ADC_STAT_TRGACT_MASK)
2613 
2614 #define ADC_STAT_CMDACT_MASK                     (0xF000000U)
2615 #define ADC_STAT_CMDACT_SHIFT                    (24U)
2616 /*! CMDACT - Command Active
2617  *  0b0000..No command is currently in progress.
2618  *  0b0001..Command 1 currently being executed.
2619  *  0b0010..Command 2 currently being executed.
2620  *  0b0011-0b1111..Associated command number is currently being executed.
2621  */
2622 #define ADC_STAT_CMDACT(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_STAT_CMDACT_SHIFT)) & ADC_STAT_CMDACT_MASK)
2623 /*! @} */
2624 
2625 /*! @name IE - Interrupt Enable Register */
2626 /*! @{ */
2627 
2628 #define ADC_IE_FWMIE_MASK                        (0x1U)
2629 #define ADC_IE_FWMIE_SHIFT                       (0U)
2630 /*! FWMIE - FIFO Watermark Interrupt Enable
2631  *  0b0..FIFO watermark interrupts are not enabled.
2632  *  0b1..FIFO watermark interrupts are enabled.
2633  */
2634 #define ADC_IE_FWMIE(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_IE_FWMIE_SHIFT)) & ADC_IE_FWMIE_MASK)
2635 
2636 #define ADC_IE_FOFIE_MASK                        (0x2U)
2637 #define ADC_IE_FOFIE_SHIFT                       (1U)
2638 /*! FOFIE - Result FIFO Overflow Interrupt Enable
2639  *  0b0..FIFO overflow interrupts are not enabled.
2640  *  0b1..FIFO overflow interrupts are enabled.
2641  */
2642 #define ADC_IE_FOFIE(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_IE_FOFIE_SHIFT)) & ADC_IE_FOFIE_MASK)
2643 /*! @} */
2644 
2645 /*! @name DE - DMA Enable Register */
2646 /*! @{ */
2647 
2648 #define ADC_DE_FWMDE_MASK                        (0x1U)
2649 #define ADC_DE_FWMDE_SHIFT                       (0U)
2650 /*! FWMDE - FIFO Watermark DMA Enable
2651  *  0b0..DMA request disabled.
2652  *  0b1..DMA request enabled.
2653  */
2654 #define ADC_DE_FWMDE(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_DE_FWMDE_SHIFT)) & ADC_DE_FWMDE_MASK)
2655 /*! @} */
2656 
2657 /*! @name CFG - LPADC Configuration Register */
2658 /*! @{ */
2659 
2660 #define ADC_CFG_TPRICTRL_MASK                    (0x1U)
2661 #define ADC_CFG_TPRICTRL_SHIFT                   (0U)
2662 /*! TPRICTRL - LPADC trigger priority control
2663  *  0b0..If a higher priority trigger is detected during command processing, the current conversion is aborted and
2664  *       the new command specified by the trigger is started.
2665  *  0b1..If a higher priority trigger is received during command processing, the current conversion is completed
2666  *       (including averaging iterations if enabled) and stored to the RESFIFO before the higher priority
2667  *       trigger/command is initiated. Note that compare until true commands can be interrupted prior to resulting in a true
2668  *       conversion.
2669  */
2670 #define ADC_CFG_TPRICTRL(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_CFG_TPRICTRL_SHIFT)) & ADC_CFG_TPRICTRL_MASK)
2671 
2672 #define ADC_CFG_PWRSEL_MASK                      (0x30U)
2673 #define ADC_CFG_PWRSEL_SHIFT                     (4U)
2674 /*! PWRSEL - Power Configuration Select
2675  *  0b00..Level 1 (Lowest power setting)
2676  *  0b01..Level 2
2677  *  0b10..Level 3
2678  *  0b11..Level 4 (Highest power setting)
2679  */
2680 #define ADC_CFG_PWRSEL(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CFG_PWRSEL_SHIFT)) & ADC_CFG_PWRSEL_MASK)
2681 
2682 #define ADC_CFG_REFSEL_MASK                      (0xC0U)
2683 #define ADC_CFG_REFSEL_SHIFT                     (6U)
2684 /*! REFSEL - Voltage Reference Selection
2685  *  0b00..(Default) Option 1 setting.
2686  *  0b01..Option 2 setting.
2687  *  0b10..Option 3 setting.
2688  *  0b11..Reserved
2689  */
2690 #define ADC_CFG_REFSEL(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CFG_REFSEL_SHIFT)) & ADC_CFG_REFSEL_MASK)
2691 
2692 #define ADC_CFG_PUDLY_MASK                       (0xFF0000U)
2693 #define ADC_CFG_PUDLY_SHIFT                      (16U)
2694 /*! PUDLY - Power Up Delay
2695  */
2696 #define ADC_CFG_PUDLY(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CFG_PUDLY_SHIFT)) & ADC_CFG_PUDLY_MASK)
2697 
2698 #define ADC_CFG_PWREN_MASK                       (0x10000000U)
2699 #define ADC_CFG_PWREN_SHIFT                      (28U)
2700 /*! PWREN - LPADC Analog Pre-Enable
2701  *  0b0..LPADC analog circuits are only enabled while conversions are active. Performance is affected due to analog startup delays.
2702  *  0b1..LPADC analog circuits are pre-enabled and ready to execute conversions without startup delays (at the
2703  *       cost of higher DC current consumption). When PWREN is set, the power up delay is enforced such that any
2704  *       detected trigger does not begin ADC operation until the power up delay time has passed.
2705  */
2706 #define ADC_CFG_PWREN(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CFG_PWREN_SHIFT)) & ADC_CFG_PWREN_MASK)
2707 /*! @} */
2708 
2709 /*! @name PAUSE - LPADC Pause Register */
2710 /*! @{ */
2711 
2712 #define ADC_PAUSE_PAUSEDLY_MASK                  (0x1FFU)
2713 #define ADC_PAUSE_PAUSEDLY_SHIFT                 (0U)
2714 /*! PAUSEDLY - Pause Delay
2715  */
2716 #define ADC_PAUSE_PAUSEDLY(x)                    (((uint32_t)(((uint32_t)(x)) << ADC_PAUSE_PAUSEDLY_SHIFT)) & ADC_PAUSE_PAUSEDLY_MASK)
2717 
2718 #define ADC_PAUSE_PAUSEEN_MASK                   (0x80000000U)
2719 #define ADC_PAUSE_PAUSEEN_SHIFT                  (31U)
2720 /*! PAUSEEN - PAUSE Option Enable
2721  *  0b0..Pause operation disabled
2722  *  0b1..Pause operation enabled
2723  */
2724 #define ADC_PAUSE_PAUSEEN(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_PAUSE_PAUSEEN_SHIFT)) & ADC_PAUSE_PAUSEEN_MASK)
2725 /*! @} */
2726 
2727 /*! @name FCTRL - LPADC FIFO Control Register */
2728 /*! @{ */
2729 
2730 #define ADC_FCTRL_FCOUNT_MASK                    (0x1FU)
2731 #define ADC_FCTRL_FCOUNT_SHIFT                   (0U)
2732 /*! FCOUNT - Result FIFO counter
2733  *  0b00000..No data stored in FIFO
2734  *  0b00001..1 dataword stored in FIFO
2735  *  0b00010..2 datawords stored in FIFO
2736  *  0b00100..4 datawords stored in FIFO
2737  *  0b01000..8 datawords stored in FIFO
2738  *  0b10000..16 datawords stored in FIFO
2739  */
2740 #define ADC_FCTRL_FCOUNT(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_FCTRL_FCOUNT_SHIFT)) & ADC_FCTRL_FCOUNT_MASK)
2741 
2742 #define ADC_FCTRL_FWMARK_MASK                    (0xF0000U)
2743 #define ADC_FCTRL_FWMARK_SHIFT                   (16U)
2744 /*! FWMARK - Watermark level selection
2745  *  0b0000..Generates STAT[RDY] flag after 1st successful conversion - single conversion
2746  *  0b0001..Generates STAT[RDY] flag after 2nd successful conversion
2747  *  0b0010..Generates STAT[RDY] flag after 3rd successful conversion
2748  *  0b0011..Generates STAT[RDY] flag after 4th successful conversion
2749  *  0b0100..Generates STAT[RDY] flag after 5th successful conversion
2750  *  0b0101..Generates STAT[RDY] flag after 6th successful conversion
2751  *  0b0110..Generates STAT[RDY] flag after 7th successful conversion
2752  *  0b0111..Generates STAT[RDY] flag after 8th successful conversion
2753  *  0b1000..Generates STAT[RDY] flag after 9th successful conversion
2754  *  0b1001..Generates STAT[RDY] flag after 10th successful conversion
2755  *  0b1010..Generates STAT[RDY] flag after 11th successful conversion
2756  *  0b1011..Generates STAT[RDY] flag after 12th successful conversion
2757  *  0b1100..Generates STAT[RDY] flag after 13th successful conversion
2758  *  0b1101..Generates STAT[RDY] flag after 14th successful conversion
2759  *  0b1110..Generates STAT[RDY] flag after 15th successful conversion
2760  *  0b1111..Generates STAT[RDY] flag after 16th successful conversion
2761  */
2762 #define ADC_FCTRL_FWMARK(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_FCTRL_FWMARK_SHIFT)) & ADC_FCTRL_FWMARK_MASK)
2763 /*! @} */
2764 
2765 /*! @name SWTRIG - Software Trigger Register */
2766 /*! @{ */
2767 
2768 #define ADC_SWTRIG_SWT0_MASK                     (0x1U)
2769 #define ADC_SWTRIG_SWT0_SHIFT                    (0U)
2770 /*! SWT0 - Software trigger 0 event
2771  *  0b0..No trigger 0 event generated.
2772  *  0b1..Trigger 0 event generated.
2773  */
2774 #define ADC_SWTRIG_SWT0(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT0_SHIFT)) & ADC_SWTRIG_SWT0_MASK)
2775 
2776 #define ADC_SWTRIG_SWT1_MASK                     (0x2U)
2777 #define ADC_SWTRIG_SWT1_SHIFT                    (1U)
2778 /*! SWT1 - Software trigger 1 event
2779  *  0b0..No trigger 1 event generated.
2780  *  0b1..Trigger 1 event generated.
2781  */
2782 #define ADC_SWTRIG_SWT1(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT1_SHIFT)) & ADC_SWTRIG_SWT1_MASK)
2783 
2784 #define ADC_SWTRIG_SWT2_MASK                     (0x4U)
2785 #define ADC_SWTRIG_SWT2_SHIFT                    (2U)
2786 /*! SWT2 - Software trigger 2 event
2787  *  0b0..No trigger 2 event generated.
2788  *  0b1..Trigger 2 event generated.
2789  */
2790 #define ADC_SWTRIG_SWT2(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT2_SHIFT)) & ADC_SWTRIG_SWT2_MASK)
2791 
2792 #define ADC_SWTRIG_SWT3_MASK                     (0x8U)
2793 #define ADC_SWTRIG_SWT3_SHIFT                    (3U)
2794 /*! SWT3 - Software trigger 3 event
2795  *  0b0..No trigger 3 event generated.
2796  *  0b1..Trigger 3 event generated.
2797  */
2798 #define ADC_SWTRIG_SWT3(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT3_SHIFT)) & ADC_SWTRIG_SWT3_MASK)
2799 
2800 #define ADC_SWTRIG_SWT4_MASK                     (0x10U)
2801 #define ADC_SWTRIG_SWT4_SHIFT                    (4U)
2802 /*! SWT4 - Software trigger 4 event
2803  *  0b0..No trigger 4 event generated.
2804  *  0b1..Trigger 4 event generated.
2805  */
2806 #define ADC_SWTRIG_SWT4(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT4_SHIFT)) & ADC_SWTRIG_SWT4_MASK)
2807 
2808 #define ADC_SWTRIG_SWT5_MASK                     (0x20U)
2809 #define ADC_SWTRIG_SWT5_SHIFT                    (5U)
2810 /*! SWT5 - Software trigger 5 event
2811  *  0b0..No trigger 5 event generated.
2812  *  0b1..Trigger 5 event generated.
2813  */
2814 #define ADC_SWTRIG_SWT5(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT5_SHIFT)) & ADC_SWTRIG_SWT5_MASK)
2815 
2816 #define ADC_SWTRIG_SWT6_MASK                     (0x40U)
2817 #define ADC_SWTRIG_SWT6_SHIFT                    (6U)
2818 /*! SWT6 - Software trigger 6 event
2819  *  0b0..No trigger 6 event generated.
2820  *  0b1..Trigger 6 event generated.
2821  */
2822 #define ADC_SWTRIG_SWT6(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT6_SHIFT)) & ADC_SWTRIG_SWT6_MASK)
2823 
2824 #define ADC_SWTRIG_SWT7_MASK                     (0x80U)
2825 #define ADC_SWTRIG_SWT7_SHIFT                    (7U)
2826 /*! SWT7 - Software trigger 7 event
2827  *  0b0..No trigger 7 event generated.
2828  *  0b1..Trigger 7 event generated.
2829  */
2830 #define ADC_SWTRIG_SWT7(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_SWTRIG_SWT7_SHIFT)) & ADC_SWTRIG_SWT7_MASK)
2831 /*! @} */
2832 
2833 /*! @name TCTRL - Trigger Control Register */
2834 /*! @{ */
2835 
2836 #define ADC_TCTRL_HTEN_MASK                      (0x1U)
2837 #define ADC_TCTRL_HTEN_SHIFT                     (0U)
2838 /*! HTEN - Trigger enable
2839  *  0b0..Hardware trigger source disabled
2840  *  0b1..Hardware trigger source enabled
2841  */
2842 #define ADC_TCTRL_HTEN(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_TCTRL_HTEN_SHIFT)) & ADC_TCTRL_HTEN_MASK)
2843 
2844 #define ADC_TCTRL_CMD_SEL_MASK                   (0x2U)
2845 #define ADC_TCTRL_CMD_SEL_SHIFT                  (1U)
2846 /*! CMD_SEL
2847  *  0b0..TCTRLa[TCMD] will determine the command
2848  *  0b1..Software TCDM is bypassed , and hardware TCMD from ADC_ETC module will be used. The trigger command is
2849  *       then defined by ADC hardware trigger command selection field in ADC_ETC->TRIGx_CHAINy_z_n[CSEL].
2850  */
2851 #define ADC_TCTRL_CMD_SEL(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_TCTRL_CMD_SEL_SHIFT)) & ADC_TCTRL_CMD_SEL_MASK)
2852 
2853 #define ADC_TCTRL_TPRI_MASK                      (0x700U)
2854 #define ADC_TCTRL_TPRI_SHIFT                     (8U)
2855 /*! TPRI - Trigger priority setting
2856  *  0b000..Set to highest priority, Level 1
2857  *  0b001-0b110..Set to corresponding priority level
2858  *  0b111..Set to lowest priority, Level 8
2859  */
2860 #define ADC_TCTRL_TPRI(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_TCTRL_TPRI_SHIFT)) & ADC_TCTRL_TPRI_MASK)
2861 
2862 #define ADC_TCTRL_TDLY_MASK                      (0xF0000U)
2863 #define ADC_TCTRL_TDLY_SHIFT                     (16U)
2864 /*! TDLY - Trigger delay select
2865  */
2866 #define ADC_TCTRL_TDLY(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_TCTRL_TDLY_SHIFT)) & ADC_TCTRL_TDLY_MASK)
2867 
2868 #define ADC_TCTRL_TCMD_MASK                      (0xF000000U)
2869 #define ADC_TCTRL_TCMD_SHIFT                     (24U)
2870 /*! TCMD - Trigger command select
2871  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
2872  *  0b0001..CMD1 is executed
2873  *  0b0010-0b1110..Corresponding CMD is executed
2874  *  0b1111..CMD15 is executed
2875  */
2876 #define ADC_TCTRL_TCMD(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_TCTRL_TCMD_SHIFT)) & ADC_TCTRL_TCMD_MASK)
2877 /*! @} */
2878 
2879 /* The count of ADC_TCTRL */
2880 #define ADC_TCTRL_COUNT                          (8U)
2881 
2882 /*! @name CMDL - LPADC Command Low Buffer Register */
2883 /*! @{ */
2884 
2885 #define ADC_CMDL_ADCH_MASK                       (0x1FU)
2886 #define ADC_CMDL_ADCH_SHIFT                      (0U)
2887 /*! ADCH - Input channel select
2888  *  0b00000..Select CH0A or CH0B or CH0A/CH0B pair.
2889  *  0b00001..Select CH1A or CH1B or CH1A/CH1B pair.
2890  *  0b00010..Select CH2A or CH2B or CH2A/CH2B pair.
2891  *  0b00011..Select CH3A or CH3B or CH3A/CH3B pair.
2892  *  0b00100-0b11101..Select corresponding channel CHnA or CHnB or CHnA/CHnB pair.
2893  *  0b11110..Select CH30A or CH30B or CH30A/CH30B pair.
2894  *  0b11111..Select CH31A or CH31B or CH31A/CH31B pair.
2895  */
2896 #define ADC_CMDL_ADCH(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CMDL_ADCH_SHIFT)) & ADC_CMDL_ADCH_MASK)
2897 
2898 #define ADC_CMDL_ABSEL_MASK                      (0x20U)
2899 #define ADC_CMDL_ABSEL_SHIFT                     (5U)
2900 /*! ABSEL - A-side vs. B-side Select
2901  *  0b0..When DIFF=0b0, the associated A-side channel is converted as single-ended. When DIFF=0b1, the ADC result is (CHnA-CHnB).
2902  *  0b1..When DIFF=0b0, the associated B-side channel is converted as single-ended. When DIFF=0b1, the ADC result is (CHnB-CHnA).
2903  */
2904 #define ADC_CMDL_ABSEL(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CMDL_ABSEL_SHIFT)) & ADC_CMDL_ABSEL_MASK)
2905 
2906 #define ADC_CMDL_DIFF_MASK                       (0x40U)
2907 #define ADC_CMDL_DIFF_SHIFT                      (6U)
2908 /*! DIFF - Differential Mode Enable
2909  *  0b0..Single-ended mode.
2910  *  0b1..Differential mode.
2911  */
2912 #define ADC_CMDL_DIFF(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CMDL_DIFF_SHIFT)) & ADC_CMDL_DIFF_MASK)
2913 
2914 #define ADC_CMDL_CSCALE_MASK                     (0x2000U)
2915 #define ADC_CMDL_CSCALE_SHIFT                    (13U)
2916 /*! CSCALE - Channel Scale
2917  *  0b0..Scale selected analog channel (Factor of 30/64)
2918  *  0b1..(Default) Full scale (Factor of 1)
2919  */
2920 #define ADC_CMDL_CSCALE(x)                       (((uint32_t)(((uint32_t)(x)) << ADC_CMDL_CSCALE_SHIFT)) & ADC_CMDL_CSCALE_MASK)
2921 /*! @} */
2922 
2923 /* The count of ADC_CMDL */
2924 #define ADC_CMDL_COUNT                           (15U)
2925 
2926 /*! @name CMDH - LPADC Command High Buffer Register */
2927 /*! @{ */
2928 
2929 #define ADC_CMDH_CMPEN_MASK                      (0x3U)
2930 #define ADC_CMDH_CMPEN_SHIFT                     (0U)
2931 /*! CMPEN - Compare Function Enable
2932  *  0b00..Compare disabled.
2933  *  0b01..Reserved
2934  *  0b10..Compare enabled. Store on true.
2935  *  0b11..Compare enabled. Repeat channel acquisition (sample/convert/compare) until true.
2936  */
2937 #define ADC_CMDH_CMPEN(x)                        (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_CMPEN_SHIFT)) & ADC_CMDH_CMPEN_MASK)
2938 
2939 #define ADC_CMDH_LWI_MASK                        (0x80U)
2940 #define ADC_CMDH_LWI_SHIFT                       (7U)
2941 /*! LWI - Loop with Increment
2942  *  0b0..Auto channel increment disabled
2943  *  0b1..Auto channel increment enabled
2944  */
2945 #define ADC_CMDH_LWI(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_LWI_SHIFT)) & ADC_CMDH_LWI_MASK)
2946 
2947 #define ADC_CMDH_STS_MASK                        (0x700U)
2948 #define ADC_CMDH_STS_SHIFT                       (8U)
2949 /*! STS - Sample Time Select
2950  *  0b000..Minimum sample time of 3 ADCK cycles.
2951  *  0b001..3 + 21 ADCK cycles; 5 ADCK cycles total sample time.
2952  *  0b010..3 + 22 ADCK cycles; 7 ADCK cycles total sample time.
2953  *  0b011..3 + 23 ADCK cycles; 11 ADCK cycles total sample time.
2954  *  0b100..3 + 24 ADCK cycles; 19 ADCK cycles total sample time.
2955  *  0b101..3 + 25 ADCK cycles; 35 ADCK cycles total sample time.
2956  *  0b110..3 + 26 ADCK cycles; 67 ADCK cycles total sample time.
2957  *  0b111..3 + 27 ADCK cycles; 131 ADCK cycles total sample time.
2958  */
2959 #define ADC_CMDH_STS(x)                          (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_STS_SHIFT)) & ADC_CMDH_STS_MASK)
2960 
2961 #define ADC_CMDH_AVGS_MASK                       (0x7000U)
2962 #define ADC_CMDH_AVGS_SHIFT                      (12U)
2963 /*! AVGS - Hardware Average Select
2964  *  0b000..Single conversion.
2965  *  0b001..2 conversions averaged.
2966  *  0b010..4 conversions averaged.
2967  *  0b011..8 conversions averaged.
2968  *  0b100..16 conversions averaged.
2969  *  0b101..32 conversions averaged.
2970  *  0b110..64 conversions averaged.
2971  *  0b111..128 conversions averaged.
2972  */
2973 #define ADC_CMDH_AVGS(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_AVGS_SHIFT)) & ADC_CMDH_AVGS_MASK)
2974 
2975 #define ADC_CMDH_LOOP_MASK                       (0xF0000U)
2976 #define ADC_CMDH_LOOP_SHIFT                      (16U)
2977 /*! LOOP - Loop Count Select
2978  *  0b0000..Looping not enabled. Command executes 1 time.
2979  *  0b0001..Loop 1 time. Command executes 2 times.
2980  *  0b0010..Loop 2 times. Command executes 3 times.
2981  *  0b0011-0b1110..Loop corresponding number of times. Command executes LOOP+1 times.
2982  *  0b1111..Loop 15 times. Command executes 16 times.
2983  */
2984 #define ADC_CMDH_LOOP(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_LOOP_SHIFT)) & ADC_CMDH_LOOP_MASK)
2985 
2986 #define ADC_CMDH_NEXT_MASK                       (0xF000000U)
2987 #define ADC_CMDH_NEXT_SHIFT                      (24U)
2988 /*! NEXT - Next Command Select
2989  *  0b0000..No next command defined. Terminate conversions at completion of current command. If lower priority
2990  *          trigger pending, begin command associated with lower priority trigger.
2991  *  0b0001..Select CMD1 command buffer register as next command.
2992  *  0b0010-0b1110..Select corresponding CMD command buffer register as next command
2993  *  0b1111..Select CMD15 command buffer register as next command.
2994  */
2995 #define ADC_CMDH_NEXT(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_CMDH_NEXT_SHIFT)) & ADC_CMDH_NEXT_MASK)
2996 /*! @} */
2997 
2998 /* The count of ADC_CMDH */
2999 #define ADC_CMDH_COUNT                           (15U)
3000 
3001 /*! @name CV - Compare Value Register */
3002 /*! @{ */
3003 
3004 #define ADC_CV_CVL_MASK                          (0xFFFFU)
3005 #define ADC_CV_CVL_SHIFT                         (0U)
3006 /*! CVL - Compare Value Low
3007  */
3008 #define ADC_CV_CVL(x)                            (((uint32_t)(((uint32_t)(x)) << ADC_CV_CVL_SHIFT)) & ADC_CV_CVL_MASK)
3009 
3010 #define ADC_CV_CVH_MASK                          (0xFFFF0000U)
3011 #define ADC_CV_CVH_SHIFT                         (16U)
3012 /*! CVH - Compare Value High.
3013  */
3014 #define ADC_CV_CVH(x)                            (((uint32_t)(((uint32_t)(x)) << ADC_CV_CVH_SHIFT)) & ADC_CV_CVH_MASK)
3015 /*! @} */
3016 
3017 /* The count of ADC_CV */
3018 #define ADC_CV_COUNT                             (4U)
3019 
3020 /*! @name RESFIFO - LPADC Data Result FIFO Register */
3021 /*! @{ */
3022 
3023 #define ADC_RESFIFO_D_MASK                       (0xFFFFU)
3024 #define ADC_RESFIFO_D_SHIFT                      (0U)
3025 /*! D - Data result
3026  */
3027 #define ADC_RESFIFO_D(x)                         (((uint32_t)(((uint32_t)(x)) << ADC_RESFIFO_D_SHIFT)) & ADC_RESFIFO_D_MASK)
3028 
3029 #define ADC_RESFIFO_TSRC_MASK                    (0x70000U)
3030 #define ADC_RESFIFO_TSRC_SHIFT                   (16U)
3031 /*! TSRC - Trigger Source
3032  *  0b000..Trigger source 0 initiated this conversion.
3033  *  0b001..Trigger source 1 initiated this conversion.
3034  *  0b010-0b110..Corresponding trigger source initiated this conversion.
3035  *  0b111..Trigger source 7 initiated this conversion.
3036  */
3037 #define ADC_RESFIFO_TSRC(x)                      (((uint32_t)(((uint32_t)(x)) << ADC_RESFIFO_TSRC_SHIFT)) & ADC_RESFIFO_TSRC_MASK)
3038 
3039 #define ADC_RESFIFO_LOOPCNT_MASK                 (0xF00000U)
3040 #define ADC_RESFIFO_LOOPCNT_SHIFT                (20U)
3041 /*! LOOPCNT - Loop count value
3042  *  0b0000..Result is from initial conversion in command.
3043  *  0b0001..Result is from second conversion in command.
3044  *  0b0010-0b1110..Result is from LOOPCNT+1 conversion in command.
3045  *  0b1111..Result is from 16th conversion in command.
3046  */
3047 #define ADC_RESFIFO_LOOPCNT(x)                   (((uint32_t)(((uint32_t)(x)) << ADC_RESFIFO_LOOPCNT_SHIFT)) & ADC_RESFIFO_LOOPCNT_MASK)
3048 
3049 #define ADC_RESFIFO_CMDSRC_MASK                  (0xF000000U)
3050 #define ADC_RESFIFO_CMDSRC_SHIFT                 (24U)
3051 /*! CMDSRC - Command Buffer Source
3052  *  0b0000..Not a valid value CMDSRC value for a dataword in RESFIFO. 0x0 is only found in initial FIFO state
3053  *          prior to an ADC conversion result dataword being stored to a RESFIFO buffer.
3054  *  0b0001..CMD1 buffer used as control settings for this conversion.
3055  *  0b0010-0b1110..Corresponding command buffer used as control settings for this conversion.
3056  *  0b1111..CMD15 buffer used as control settings for this conversion.
3057  */
3058 #define ADC_RESFIFO_CMDSRC(x)                    (((uint32_t)(((uint32_t)(x)) << ADC_RESFIFO_CMDSRC_SHIFT)) & ADC_RESFIFO_CMDSRC_MASK)
3059 
3060 #define ADC_RESFIFO_VALID_MASK                   (0x80000000U)
3061 #define ADC_RESFIFO_VALID_SHIFT                  (31U)
3062 /*! VALID - FIFO entry is valid
3063  *  0b0..FIFO is empty. Discard any read from RESFIFO.
3064  *  0b1..FIFO record read from RESFIFO is valid.
3065  */
3066 #define ADC_RESFIFO_VALID(x)                     (((uint32_t)(((uint32_t)(x)) << ADC_RESFIFO_VALID_SHIFT)) & ADC_RESFIFO_VALID_MASK)
3067 /*! @} */
3068 
3069 
3070 /*!
3071  * @}
3072  */ /* end of group ADC_Register_Masks */
3073 
3074 
3075 /* ADC - Peripheral instance base addresses */
3076 /** Peripheral LPADC1 base address */
3077 #define LPADC1_BASE                              (0x40050000u)
3078 /** Peripheral LPADC1 base pointer */
3079 #define LPADC1                                   ((ADC_Type *)LPADC1_BASE)
3080 /** Peripheral LPADC2 base address */
3081 #define LPADC2_BASE                              (0x40054000u)
3082 /** Peripheral LPADC2 base pointer */
3083 #define LPADC2                                   ((ADC_Type *)LPADC2_BASE)
3084 /** Array initializer of ADC peripheral base addresses */
3085 #define ADC_BASE_ADDRS                           { 0u, LPADC1_BASE, LPADC2_BASE }
3086 /** Array initializer of ADC peripheral base pointers */
3087 #define ADC_BASE_PTRS                            { (ADC_Type *)0u, LPADC1, LPADC2 }
3088 /** Interrupt vectors for the ADC peripheral type */
3089 #define ADC_IRQS                                 { NotAvail_IRQn, ADC1_IRQn, ADC2_IRQn }
3090 
3091 /*!
3092  * @}
3093  */ /* end of group ADC_Peripheral_Access_Layer */
3094 
3095 
3096 /* ----------------------------------------------------------------------------
3097    -- ADC_ETC Peripheral Access Layer
3098    ---------------------------------------------------------------------------- */
3099 
3100 /*!
3101  * @addtogroup ADC_ETC_Peripheral_Access_Layer ADC_ETC Peripheral Access Layer
3102  * @{
3103  */
3104 
3105 /** ADC_ETC - Register Layout Typedef */
3106 typedef struct {
3107   __IO uint32_t CTRL;                              /**< ADC_ETC Global Control Register, offset: 0x0 */
3108   __IO uint32_t DONE0_1_IRQ;                       /**< ETC DONE0 and DONE1 IRQ State Register, offset: 0x4 */
3109   __IO uint32_t DONE2_3_ERR_IRQ;                   /**< ETC DONE_2, DONE_3 and DONE_ERR IRQ State Register, offset: 0x8 */
3110   __IO uint32_t DMA_CTRL;                          /**< ETC DMA control Register, offset: 0xC */
3111   struct {                                         /* offset: 0x10, array step: 0x28 */
3112     __IO uint32_t TRIGn_CTRL;                        /**< ETC_TRIG Control Register, array offset: 0x10, array step: 0x28 */
3113     __IO uint32_t TRIGn_COUNTER;                     /**< ETC_TRIG Counter Register, array offset: 0x14, array step: 0x28 */
3114     __IO uint32_t TRIGn_CHAIN_1_0;                   /**< ETC_TRIG Chain 0/1 Register, array offset: 0x18, array step: 0x28 */
3115     __IO uint32_t TRIGn_CHAIN_3_2;                   /**< ETC_TRIG Chain 2/3 Register, array offset: 0x1C, array step: 0x28 */
3116     __IO uint32_t TRIGn_CHAIN_5_4;                   /**< ETC_TRIG Chain 4/5 Register, array offset: 0x20, array step: 0x28 */
3117     __IO uint32_t TRIGn_CHAIN_7_6;                   /**< ETC_TRIG Chain 6/7 Register, array offset: 0x24, array step: 0x28 */
3118     __I  uint32_t TRIGn_RESULT_1_0;                  /**< ETC_TRIG Result Data 1/0 Register, array offset: 0x28, array step: 0x28 */
3119     __I  uint32_t TRIGn_RESULT_3_2;                  /**< ETC_TRIG Result Data 3/2 Register, array offset: 0x2C, array step: 0x28 */
3120     __I  uint32_t TRIGn_RESULT_5_4;                  /**< ETC_TRIG Result Data 5/4 Register, array offset: 0x30, array step: 0x28 */
3121     __I  uint32_t TRIGn_RESULT_7_6;                  /**< ETC_TRIG Result Data 7/6 Register, array offset: 0x34, array step: 0x28 */
3122   } TRIG[8];
3123 } ADC_ETC_Type;
3124 
3125 /* ----------------------------------------------------------------------------
3126    -- ADC_ETC Register Masks
3127    ---------------------------------------------------------------------------- */
3128 
3129 /*!
3130  * @addtogroup ADC_ETC_Register_Masks ADC_ETC Register Masks
3131  * @{
3132  */
3133 
3134 /*! @name CTRL - ADC_ETC Global Control Register */
3135 /*! @{ */
3136 
3137 #define ADC_ETC_CTRL_TRIG_ENABLE_MASK            (0xFFU)
3138 #define ADC_ETC_CTRL_TRIG_ENABLE_SHIFT           (0U)
3139 /*! TRIG_ENABLE
3140  *  0b00000000..disable all 8 external XBAR triggers.
3141  *  0b00000001..enable external XBAR trigger0.
3142  *  0b00000010..enable external XBAR trigger1.
3143  *  0b00000011..enable external XBAR trigger0 and trigger1.
3144  *  0b11111111..enable all 8 external XBAR triggers.
3145  */
3146 #define ADC_ETC_CTRL_TRIG_ENABLE(x)              (((uint32_t)(((uint32_t)(x)) << ADC_ETC_CTRL_TRIG_ENABLE_SHIFT)) & ADC_ETC_CTRL_TRIG_ENABLE_MASK)
3147 
3148 #define ADC_ETC_CTRL_PRE_DIVIDER_MASK            (0xFF0000U)
3149 #define ADC_ETC_CTRL_PRE_DIVIDER_SHIFT           (16U)
3150 #define ADC_ETC_CTRL_PRE_DIVIDER(x)              (((uint32_t)(((uint32_t)(x)) << ADC_ETC_CTRL_PRE_DIVIDER_SHIFT)) & ADC_ETC_CTRL_PRE_DIVIDER_MASK)
3151 
3152 #define ADC_ETC_CTRL_DMA_MODE_SEL_MASK           (0x20000000U)
3153 #define ADC_ETC_CTRL_DMA_MODE_SEL_SHIFT          (29U)
3154 /*! DMA_MODE_SEL
3155  *  0b0..Trig DMA_REQ with latched signal, REQ will be cleared when ACK and source request cleared.
3156  *  0b1..Trig DMA_REQ with pulsed signal, REQ will be cleared by ACK only.
3157  */
3158 #define ADC_ETC_CTRL_DMA_MODE_SEL(x)             (((uint32_t)(((uint32_t)(x)) << ADC_ETC_CTRL_DMA_MODE_SEL_SHIFT)) & ADC_ETC_CTRL_DMA_MODE_SEL_MASK)
3159 
3160 #define ADC_ETC_CTRL_SOFTRST_MASK                (0x80000000U)
3161 #define ADC_ETC_CTRL_SOFTRST_SHIFT               (31U)
3162 /*! SOFTRST
3163  *  0b0..ADC_ETC works normally.
3164  *  0b1..All registers inside ADC_ETC will be reset to the default value.
3165  */
3166 #define ADC_ETC_CTRL_SOFTRST(x)                  (((uint32_t)(((uint32_t)(x)) << ADC_ETC_CTRL_SOFTRST_SHIFT)) & ADC_ETC_CTRL_SOFTRST_MASK)
3167 /*! @} */
3168 
3169 /*! @name DONE0_1_IRQ - ETC DONE0 and DONE1 IRQ State Register */
3170 /*! @{ */
3171 
3172 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE0_MASK     (0x1U)
3173 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE0_SHIFT    (0U)
3174 /*! TRIG0_DONE0
3175  *  0b0..No TRIG0_DONE0 interrupt detected
3176  *  0b1..TRIG0_DONE0 interrupt detected
3177  */
3178 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG0_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG0_DONE0_MASK)
3179 
3180 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE0_MASK     (0x2U)
3181 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE0_SHIFT    (1U)
3182 /*! TRIG1_DONE0
3183  *  0b0..No TRIG1_DONE0 interrupt detected
3184  *  0b1..TRIG1_DONE0 interrupt detected
3185  */
3186 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG1_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG1_DONE0_MASK)
3187 
3188 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE0_MASK     (0x4U)
3189 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE0_SHIFT    (2U)
3190 /*! TRIG2_DONE0
3191  *  0b0..No TRIG2_DONE0 interrupt detected
3192  *  0b1..TRIG2_DONE0 interrupt detected
3193  */
3194 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG2_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG2_DONE0_MASK)
3195 
3196 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE0_MASK     (0x8U)
3197 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE0_SHIFT    (3U)
3198 /*! TRIG3_DONE0
3199  *  0b0..No TRIG3_DONE0 interrupt detected
3200  *  0b1..TRIG3_DONE0 interrupt detected
3201  */
3202 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG3_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG3_DONE0_MASK)
3203 
3204 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE0_MASK     (0x10U)
3205 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE0_SHIFT    (4U)
3206 /*! TRIG4_DONE0
3207  *  0b0..No TRIG4_DONE0 interrupt detected
3208  *  0b1..TRIG4_DONE0 interrupt detected
3209  */
3210 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG4_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG4_DONE0_MASK)
3211 
3212 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE0_MASK     (0x20U)
3213 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE0_SHIFT    (5U)
3214 /*! TRIG5_DONE0
3215  *  0b0..No TRIG5_DONE0 interrupt detected
3216  *  0b1..TRIG5_DONE0 interrupt detected
3217  */
3218 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG5_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG5_DONE0_MASK)
3219 
3220 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE0_MASK     (0x40U)
3221 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE0_SHIFT    (6U)
3222 /*! TRIG6_DONE0
3223  *  0b0..No TRIG6_DONE0 interrupt detected
3224  *  0b1..TRIG6_DONE0 interrupt detected
3225  */
3226 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG6_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG6_DONE0_MASK)
3227 
3228 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE0_MASK     (0x80U)
3229 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE0_SHIFT    (7U)
3230 /*! TRIG7_DONE0
3231  *  0b0..No TRIG7_DONE0 interrupt detected
3232  *  0b1..TRIG7_DONE0 interrupt detected
3233  */
3234 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE0(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG7_DONE0_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG7_DONE0_MASK)
3235 
3236 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE1_MASK     (0x10000U)
3237 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE1_SHIFT    (16U)
3238 /*! TRIG0_DONE1
3239  *  0b0..No TRIG0_DONE1 interrupt detected
3240  *  0b1..TRIG0_DONE1 interrupt detected
3241  */
3242 #define ADC_ETC_DONE0_1_IRQ_TRIG0_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG0_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG0_DONE1_MASK)
3243 
3244 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE1_MASK     (0x20000U)
3245 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE1_SHIFT    (17U)
3246 /*! TRIG1_DONE1
3247  *  0b0..No TRIG1_DONE1 interrupt detected
3248  *  0b1..TRIG1_DONE1 interrupt detected
3249  */
3250 #define ADC_ETC_DONE0_1_IRQ_TRIG1_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG1_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG1_DONE1_MASK)
3251 
3252 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE1_MASK     (0x40000U)
3253 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE1_SHIFT    (18U)
3254 /*! TRIG2_DONE1
3255  *  0b0..No TRIG2_DONE1 interrupt detected
3256  *  0b1..TRIG2_DONE1 interrupt detected
3257  */
3258 #define ADC_ETC_DONE0_1_IRQ_TRIG2_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG2_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG2_DONE1_MASK)
3259 
3260 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE1_MASK     (0x80000U)
3261 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE1_SHIFT    (19U)
3262 /*! TRIG3_DONE1
3263  *  0b0..No TRIG3_DONE1 interrupt detected
3264  *  0b1..TRIG3_DONE1 interrupt detected
3265  */
3266 #define ADC_ETC_DONE0_1_IRQ_TRIG3_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG3_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG3_DONE1_MASK)
3267 
3268 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE1_MASK     (0x100000U)
3269 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE1_SHIFT    (20U)
3270 /*! TRIG4_DONE1
3271  *  0b0..No TRIG4_DONE1 interrupt detected
3272  *  0b1..TRIG4_DONE1 interrupt detected
3273  */
3274 #define ADC_ETC_DONE0_1_IRQ_TRIG4_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG4_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG4_DONE1_MASK)
3275 
3276 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE1_MASK     (0x200000U)
3277 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE1_SHIFT    (21U)
3278 /*! TRIG5_DONE1
3279  *  0b0..No TRIG5_DONE1 interrupt detected
3280  *  0b1..TRIG5_DONE1 interrupt detected
3281  */
3282 #define ADC_ETC_DONE0_1_IRQ_TRIG5_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG5_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG5_DONE1_MASK)
3283 
3284 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE1_MASK     (0x400000U)
3285 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE1_SHIFT    (22U)
3286 /*! TRIG6_DONE1
3287  *  0b0..No TRIG6_DONE1 interrupt detected
3288  *  0b1..TRIG6_DONE1 interrupt detected
3289  */
3290 #define ADC_ETC_DONE0_1_IRQ_TRIG6_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG6_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG6_DONE1_MASK)
3291 
3292 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE1_MASK     (0x800000U)
3293 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE1_SHIFT    (23U)
3294 /*! TRIG7_DONE1
3295  *  0b0..No TRIG7_DONE1 interrupt detected
3296  *  0b1..TRIG7_DONE1 interrupt detected
3297  */
3298 #define ADC_ETC_DONE0_1_IRQ_TRIG7_DONE1(x)       (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE0_1_IRQ_TRIG7_DONE1_SHIFT)) & ADC_ETC_DONE0_1_IRQ_TRIG7_DONE1_MASK)
3299 /*! @} */
3300 
3301 /*! @name DONE2_3_ERR_IRQ - ETC DONE_2, DONE_3 and DONE_ERR IRQ State Register */
3302 /*! @{ */
3303 
3304 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE2_MASK (0x1U)
3305 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE2_SHIFT (0U)
3306 /*! TRIG0_DONE2
3307  *  0b0..No TRIG0_DONE2 interrupt detected
3308  *  0b1..TRIG0_DONE2 interrupt detected
3309  */
3310 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE2_MASK)
3311 
3312 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE2_MASK (0x2U)
3313 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE2_SHIFT (1U)
3314 /*! TRIG1_DONE2
3315  *  0b0..No TRIG1_DONE2 interrupt detected
3316  *  0b1..TRIG1_DONE2 interrupt detected
3317  */
3318 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE2_MASK)
3319 
3320 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE2_MASK (0x4U)
3321 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE2_SHIFT (2U)
3322 /*! TRIG2_DONE2
3323  *  0b0..No TRIG2_DONE2 interrupt detected
3324  *  0b1..TRIG2_DONE2 interrupt detected
3325  */
3326 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE2_MASK)
3327 
3328 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE2_MASK (0x8U)
3329 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE2_SHIFT (3U)
3330 /*! TRIG3_DONE2
3331  *  0b0..No TRIG3_DONE2 interrupt detected
3332  *  0b1..TRIG3_DONE2 interrupt detected
3333  */
3334 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE2_MASK)
3335 
3336 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE2_MASK (0x10U)
3337 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE2_SHIFT (4U)
3338 /*! TRIG4_DONE2
3339  *  0b0..No TRIG4_DONE2 interrupt detected
3340  *  0b1..TRIG4_DONE2 interrupt detected
3341  */
3342 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE2_MASK)
3343 
3344 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE2_MASK (0x20U)
3345 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE2_SHIFT (5U)
3346 /*! TRIG5_DONE2
3347  *  0b0..No TRIG5_DONE2 interrupt detected
3348  *  0b1..TRIG5_DONE2 interrupt detected
3349  */
3350 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE2_MASK)
3351 
3352 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE2_MASK (0x40U)
3353 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE2_SHIFT (6U)
3354 /*! TRIG6_DONE2
3355  *  0b0..No TRIG6_DONE2 interrupt detected
3356  *  0b1..TRIG6_DONE2 interrupt detected
3357  */
3358 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE2_MASK)
3359 
3360 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE2_MASK (0x80U)
3361 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE2_SHIFT (7U)
3362 /*! TRIG7_DONE2
3363  *  0b0..No TRIG7_DONE2 interrupt detected
3364  *  0b1..TRIG7_DONE2 interrupt detected
3365  */
3366 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE2(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE2_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE2_MASK)
3367 
3368 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE3_MASK (0x100U)
3369 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE3_SHIFT (8U)
3370 /*! TRIG0_DONE3
3371  *  0b0..No TRIG0_DONE3 interrupt detected
3372  *  0b1..TRIG0_DONE3 interrupt detected
3373  */
3374 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_DONE3_MASK)
3375 
3376 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE3_MASK (0x200U)
3377 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE3_SHIFT (9U)
3378 /*! TRIG1_DONE3
3379  *  0b0..No TRIG1_DONE3 interrupt detected
3380  *  0b1..TRIG1_DONE3 interrupt detected
3381  */
3382 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_DONE3_MASK)
3383 
3384 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE3_MASK (0x400U)
3385 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE3_SHIFT (10U)
3386 /*! TRIG2_DONE3
3387  *  0b0..No TRIG2_DONE3 interrupt detected
3388  *  0b1..TRIG2_DONE3 interrupt detected
3389  */
3390 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_DONE3_MASK)
3391 
3392 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE3_MASK (0x800U)
3393 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE3_SHIFT (11U)
3394 /*! TRIG3_DONE3
3395  *  0b0..No TRIG3_DONE3 interrupt detected
3396  *  0b1..TRIG3_DONE3 interrupt detected
3397  */
3398 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_DONE3_MASK)
3399 
3400 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE3_MASK (0x1000U)
3401 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE3_SHIFT (12U)
3402 /*! TRIG4_DONE3
3403  *  0b0..No TRIG4_DONE3 interrupt detected
3404  *  0b1..TRIG4_DONE3 interrupt detected
3405  */
3406 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_DONE3_MASK)
3407 
3408 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE3_MASK (0x2000U)
3409 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE3_SHIFT (13U)
3410 /*! TRIG5_DONE3
3411  *  0b0..No TRIG5_DONE3 interrupt detected
3412  *  0b1..TRIG5_DONE3 interrupt detected
3413  */
3414 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_DONE3_MASK)
3415 
3416 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE3_MASK (0x4000U)
3417 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE3_SHIFT (14U)
3418 /*! TRIG6_DONE3
3419  *  0b0..No TRIG6_DONE3 interrupt detected
3420  *  0b1..TRIG6_DONE3 interrupt detected
3421  */
3422 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_DONE3_MASK)
3423 
3424 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE3_MASK (0x8000U)
3425 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE3_SHIFT (15U)
3426 /*! TRIG7_DONE3
3427  *  0b0..No TRIG7_DONE3 interrupt detected
3428  *  0b1..TRIG7_DONE3 interrupt detected
3429  */
3430 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE3(x)   (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE3_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_DONE3_MASK)
3431 
3432 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_ERR_MASK   (0x10000U)
3433 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_ERR_SHIFT  (16U)
3434 /*! TRIG0_ERR
3435  *  0b0..No TRIG0_ERR interrupt detected
3436  *  0b1..TRIG0_ERR interrupt detected
3437  */
3438 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG0_ERR_MASK)
3439 
3440 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_ERR_MASK   (0x20000U)
3441 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_ERR_SHIFT  (17U)
3442 /*! TRIG1_ERR
3443  *  0b0..No TRIG1_ERR interrupt detected
3444  *  0b1..TRIG1_ERR interrupt detected
3445  */
3446 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG1_ERR_MASK)
3447 
3448 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_ERR_MASK   (0x40000U)
3449 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_ERR_SHIFT  (18U)
3450 /*! TRIG2_ERR
3451  *  0b0..No TRIG2_ERR interrupt detected
3452  *  0b1..TRIG2_ERR interrupt detected
3453  */
3454 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG2_ERR_MASK)
3455 
3456 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_ERR_MASK   (0x80000U)
3457 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_ERR_SHIFT  (19U)
3458 /*! TRIG3_ERR
3459  *  0b0..No TRIG3_ERR interrupt detected
3460  *  0b1..TRIG3_ERR interrupt detected
3461  */
3462 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG3_ERR_MASK)
3463 
3464 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_ERR_MASK   (0x100000U)
3465 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_ERR_SHIFT  (20U)
3466 /*! TRIG4_ERR
3467  *  0b0..No TRIG4_ERR interrupt detected
3468  *  0b1..TRIG4_ERR interrupt detected
3469  */
3470 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG4_ERR_MASK)
3471 
3472 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_ERR_MASK   (0x200000U)
3473 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_ERR_SHIFT  (21U)
3474 /*! TRIG5_ERR
3475  *  0b0..No TRIG5_ERR interrupt detected
3476  *  0b1..TRIG5_ERR interrupt detected
3477  */
3478 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG5_ERR_MASK)
3479 
3480 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_ERR_MASK   (0x400000U)
3481 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_ERR_SHIFT  (22U)
3482 /*! TRIG6_ERR
3483  *  0b0..No TRIG6_ERR interrupt detected
3484  *  0b1..TRIG6_ERR interrupt detected
3485  */
3486 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG6_ERR_MASK)
3487 
3488 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_ERR_MASK   (0x800000U)
3489 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_ERR_SHIFT  (23U)
3490 /*! TRIG7_ERR
3491  *  0b0..No TRIG7_ERR interrupt detected
3492  *  0b1..TRIG7_ERR interrupt detected
3493  */
3494 #define ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_ERR(x)     (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_ERR_SHIFT)) & ADC_ETC_DONE2_3_ERR_IRQ_TRIG7_ERR_MASK)
3495 /*! @} */
3496 
3497 /*! @name DMA_CTRL - ETC DMA control Register */
3498 /*! @{ */
3499 
3500 #define ADC_ETC_DMA_CTRL_TRIG0_ENABLE_MASK       (0x1U)
3501 #define ADC_ETC_DMA_CTRL_TRIG0_ENABLE_SHIFT      (0U)
3502 /*! TRIG0_ENABLE
3503  *  0b0..TRIG0 DMA request disabled.
3504  *  0b1..TRIG0 DMA request enabled.
3505  */
3506 #define ADC_ETC_DMA_CTRL_TRIG0_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG0_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG0_ENABLE_MASK)
3507 
3508 #define ADC_ETC_DMA_CTRL_TRIG1_ENABLE_MASK       (0x2U)
3509 #define ADC_ETC_DMA_CTRL_TRIG1_ENABLE_SHIFT      (1U)
3510 /*! TRIG1_ENABLE
3511  *  0b0..TRIG1 DMA request disabled.
3512  *  0b1..TRIG1 DMA request enabled.
3513  */
3514 #define ADC_ETC_DMA_CTRL_TRIG1_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG1_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG1_ENABLE_MASK)
3515 
3516 #define ADC_ETC_DMA_CTRL_TRIG2_ENABLE_MASK       (0x4U)
3517 #define ADC_ETC_DMA_CTRL_TRIG2_ENABLE_SHIFT      (2U)
3518 /*! TRIG2_ENABLE
3519  *  0b0..TRIG2 DMA request disabled.
3520  *  0b1..TRIG2 DMA request enabled.
3521  */
3522 #define ADC_ETC_DMA_CTRL_TRIG2_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG2_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG2_ENABLE_MASK)
3523 
3524 #define ADC_ETC_DMA_CTRL_TRIG3_ENABLE_MASK       (0x8U)
3525 #define ADC_ETC_DMA_CTRL_TRIG3_ENABLE_SHIFT      (3U)
3526 /*! TRIG3_ENABLE
3527  *  0b0..TRIG3 DMA request disabled.
3528  *  0b1..TRIG3 DMA request enabled.
3529  */
3530 #define ADC_ETC_DMA_CTRL_TRIG3_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG3_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG3_ENABLE_MASK)
3531 
3532 #define ADC_ETC_DMA_CTRL_TRIG4_ENABLE_MASK       (0x10U)
3533 #define ADC_ETC_DMA_CTRL_TRIG4_ENABLE_SHIFT      (4U)
3534 /*! TRIG4_ENABLE
3535  *  0b0..TRIG4 DMA request disabled.
3536  *  0b1..TRIG4 DMA request enabled.
3537  */
3538 #define ADC_ETC_DMA_CTRL_TRIG4_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG4_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG4_ENABLE_MASK)
3539 
3540 #define ADC_ETC_DMA_CTRL_TRIG5_ENABLE_MASK       (0x20U)
3541 #define ADC_ETC_DMA_CTRL_TRIG5_ENABLE_SHIFT      (5U)
3542 /*! TRIG5_ENABLE
3543  *  0b0..TRIG5 DMA request disabled.
3544  *  0b1..TRIG5 DMA request enabled.
3545  */
3546 #define ADC_ETC_DMA_CTRL_TRIG5_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG5_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG5_ENABLE_MASK)
3547 
3548 #define ADC_ETC_DMA_CTRL_TRIG6_ENABLE_MASK       (0x40U)
3549 #define ADC_ETC_DMA_CTRL_TRIG6_ENABLE_SHIFT      (6U)
3550 /*! TRIG6_ENABLE
3551  *  0b0..TRIG6 DMA request disabled.
3552  *  0b1..TRIG6 DMA request enabled.
3553  */
3554 #define ADC_ETC_DMA_CTRL_TRIG6_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG6_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG6_ENABLE_MASK)
3555 
3556 #define ADC_ETC_DMA_CTRL_TRIG7_ENABLE_MASK       (0x80U)
3557 #define ADC_ETC_DMA_CTRL_TRIG7_ENABLE_SHIFT      (7U)
3558 /*! TRIG7_ENABLE
3559  *  0b0..TRIG7 DMA request disabled.
3560  *  0b1..TRIG7 DMA request enabled.
3561  */
3562 #define ADC_ETC_DMA_CTRL_TRIG7_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG7_ENABLE_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG7_ENABLE_MASK)
3563 
3564 #define ADC_ETC_DMA_CTRL_TRIG0_REQ_MASK          (0x10000U)
3565 #define ADC_ETC_DMA_CTRL_TRIG0_REQ_SHIFT         (16U)
3566 /*! TRIG0_REQ
3567  *  0b0..TRIG0_REQ not detected.
3568  *  0b1..TRIG0_REQ detected.
3569  */
3570 #define ADC_ETC_DMA_CTRL_TRIG0_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG0_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG0_REQ_MASK)
3571 
3572 #define ADC_ETC_DMA_CTRL_TRIG1_REQ_MASK          (0x20000U)
3573 #define ADC_ETC_DMA_CTRL_TRIG1_REQ_SHIFT         (17U)
3574 /*! TRIG1_REQ
3575  *  0b0..TRIG1_REQ not detected.
3576  *  0b1..TRIG1_REQ detected.
3577  */
3578 #define ADC_ETC_DMA_CTRL_TRIG1_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG1_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG1_REQ_MASK)
3579 
3580 #define ADC_ETC_DMA_CTRL_TRIG2_REQ_MASK          (0x40000U)
3581 #define ADC_ETC_DMA_CTRL_TRIG2_REQ_SHIFT         (18U)
3582 /*! TRIG2_REQ
3583  *  0b0..TRIG2_REQ not detected.
3584  *  0b1..TRIG2_REQ detected.
3585  */
3586 #define ADC_ETC_DMA_CTRL_TRIG2_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG2_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG2_REQ_MASK)
3587 
3588 #define ADC_ETC_DMA_CTRL_TRIG3_REQ_MASK          (0x80000U)
3589 #define ADC_ETC_DMA_CTRL_TRIG3_REQ_SHIFT         (19U)
3590 /*! TRIG3_REQ
3591  *  0b0..TRIG3_REQ not detected.
3592  *  0b1..TRIG3_REQ detected.
3593  */
3594 #define ADC_ETC_DMA_CTRL_TRIG3_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG3_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG3_REQ_MASK)
3595 
3596 #define ADC_ETC_DMA_CTRL_TRIG4_REQ_MASK          (0x100000U)
3597 #define ADC_ETC_DMA_CTRL_TRIG4_REQ_SHIFT         (20U)
3598 /*! TRIG4_REQ
3599  *  0b0..TRIG4_REQ not detected.
3600  *  0b1..TRIG4_REQ detected.
3601  */
3602 #define ADC_ETC_DMA_CTRL_TRIG4_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG4_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG4_REQ_MASK)
3603 
3604 #define ADC_ETC_DMA_CTRL_TRIG5_REQ_MASK          (0x200000U)
3605 #define ADC_ETC_DMA_CTRL_TRIG5_REQ_SHIFT         (21U)
3606 /*! TRIG5_REQ
3607  *  0b0..TRIG5_REQ not detected.
3608  *  0b1..TRIG5_REQ detected.
3609  */
3610 #define ADC_ETC_DMA_CTRL_TRIG5_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG5_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG5_REQ_MASK)
3611 
3612 #define ADC_ETC_DMA_CTRL_TRIG6_REQ_MASK          (0x400000U)
3613 #define ADC_ETC_DMA_CTRL_TRIG6_REQ_SHIFT         (22U)
3614 /*! TRIG6_REQ
3615  *  0b0..TRIG6_REQ not detected.
3616  *  0b1..TRIG6_REQ detected.
3617  */
3618 #define ADC_ETC_DMA_CTRL_TRIG6_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG6_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG6_REQ_MASK)
3619 
3620 #define ADC_ETC_DMA_CTRL_TRIG7_REQ_MASK          (0x800000U)
3621 #define ADC_ETC_DMA_CTRL_TRIG7_REQ_SHIFT         (23U)
3622 /*! TRIG7_REQ
3623  *  0b0..TRIG7_REQ not detected.
3624  *  0b1..TRIG7_REQ detected.
3625  */
3626 #define ADC_ETC_DMA_CTRL_TRIG7_REQ(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_DMA_CTRL_TRIG7_REQ_SHIFT)) & ADC_ETC_DMA_CTRL_TRIG7_REQ_MASK)
3627 /*! @} */
3628 
3629 /*! @name TRIGn_CTRL - ETC_TRIG Control Register */
3630 /*! @{ */
3631 
3632 #define ADC_ETC_TRIGn_CTRL_SW_TRIG_MASK          (0x1U)
3633 #define ADC_ETC_TRIGn_CTRL_SW_TRIG_SHIFT         (0U)
3634 /*! SW_TRIG
3635  *  0b0..No software trigger event generated.
3636  *  0b1..Software trigger event generated.
3637  */
3638 #define ADC_ETC_TRIGn_CTRL_SW_TRIG(x)            (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_SW_TRIG_SHIFT)) & ADC_ETC_TRIGn_CTRL_SW_TRIG_MASK)
3639 
3640 #define ADC_ETC_TRIGn_CTRL_TRIG_MODE_MASK        (0x10U)
3641 #define ADC_ETC_TRIGn_CTRL_TRIG_MODE_SHIFT       (4U)
3642 /*! TRIG_MODE
3643  *  0b0..Hardware trigger. The softerware trigger will be ignored.
3644  *  0b1..Software trigger. The hardware trigger will be ignored.
3645  */
3646 #define ADC_ETC_TRIGn_CTRL_TRIG_MODE(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_TRIG_MODE_SHIFT)) & ADC_ETC_TRIGn_CTRL_TRIG_MODE_MASK)
3647 
3648 #define ADC_ETC_TRIGn_CTRL_TRIG_CHAIN_MASK       (0x700U)
3649 #define ADC_ETC_TRIGn_CTRL_TRIG_CHAIN_SHIFT      (8U)
3650 /*! TRIG_CHAIN
3651  *  0b000..Trigger chain length is 1
3652  *  0b001..Trigger chain length is 2
3653  *  0b010..Trigger chain length is 3
3654  *  0b011..Trigger chain length is 4
3655  *  0b100..Trigger chain length is 5
3656  *  0b101..Trigger chain length is 6
3657  *  0b110..Trigger chain length is 7
3658  *  0b111..Trigger chain length is 8
3659  */
3660 #define ADC_ETC_TRIGn_CTRL_TRIG_CHAIN(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_TRIG_CHAIN_SHIFT)) & ADC_ETC_TRIGn_CTRL_TRIG_CHAIN_MASK)
3661 
3662 #define ADC_ETC_TRIGn_CTRL_TRIG_PRIORITY_MASK    (0x7000U)
3663 #define ADC_ETC_TRIGn_CTRL_TRIG_PRIORITY_SHIFT   (12U)
3664 #define ADC_ETC_TRIGn_CTRL_TRIG_PRIORITY(x)      (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_TRIG_PRIORITY_SHIFT)) & ADC_ETC_TRIGn_CTRL_TRIG_PRIORITY_MASK)
3665 
3666 #define ADC_ETC_TRIGn_CTRL_SYNC_MODE_MASK        (0x10000U)
3667 #define ADC_ETC_TRIGn_CTRL_SYNC_MODE_SHIFT       (16U)
3668 /*! SYNC_MODE
3669  *  0b0..Synchronization mode disabled, TRIGa and TRIG(a+4) are triggered independently.
3670  *  0b1..Synchronization mode enabled, TRIGa and TRIG(a+4) are triggered by TRIGa source synchronously.
3671  */
3672 #define ADC_ETC_TRIGn_CTRL_SYNC_MODE(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_SYNC_MODE_SHIFT)) & ADC_ETC_TRIGn_CTRL_SYNC_MODE_MASK)
3673 
3674 #define ADC_ETC_TRIGn_CTRL_CHAINx_DONE_MASK      (0xFF000000U)
3675 #define ADC_ETC_TRIGn_CTRL_CHAINx_DONE_SHIFT     (24U)
3676 /*! CHAINx_DONE
3677  *  0b00000000..segment x done not detected.
3678  *  0b00000001..segment x done detected.
3679  */
3680 #define ADC_ETC_TRIGn_CTRL_CHAINx_DONE(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CTRL_CHAINx_DONE_SHIFT)) & ADC_ETC_TRIGn_CTRL_CHAINx_DONE_MASK)
3681 /*! @} */
3682 
3683 /* The count of ADC_ETC_TRIGn_CTRL */
3684 #define ADC_ETC_TRIGn_CTRL_COUNT                 (8U)
3685 
3686 /*! @name TRIGn_COUNTER - ETC_TRIG Counter Register */
3687 /*! @{ */
3688 
3689 #define ADC_ETC_TRIGn_COUNTER_INIT_DELAY_MASK    (0xFFFFU)
3690 #define ADC_ETC_TRIGn_COUNTER_INIT_DELAY_SHIFT   (0U)
3691 #define ADC_ETC_TRIGn_COUNTER_INIT_DELAY(x)      (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_COUNTER_INIT_DELAY_SHIFT)) & ADC_ETC_TRIGn_COUNTER_INIT_DELAY_MASK)
3692 
3693 #define ADC_ETC_TRIGn_COUNTER_SAMPLE_INTERVAL_MASK (0xFFFF0000U)
3694 #define ADC_ETC_TRIGn_COUNTER_SAMPLE_INTERVAL_SHIFT (16U)
3695 #define ADC_ETC_TRIGn_COUNTER_SAMPLE_INTERVAL(x) (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_COUNTER_SAMPLE_INTERVAL_SHIFT)) & ADC_ETC_TRIGn_COUNTER_SAMPLE_INTERVAL_MASK)
3696 /*! @} */
3697 
3698 /* The count of ADC_ETC_TRIGn_COUNTER */
3699 #define ADC_ETC_TRIGn_COUNTER_COUNT              (8U)
3700 
3701 /*! @name TRIGn_CHAIN_1_0 - ETC_TRIG Chain 0/1 Register */
3702 /*! @{ */
3703 
3704 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL0_MASK       (0xFU)
3705 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL0_SHIFT      (0U)
3706 /*! CSEL0
3707  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
3708  *  0b0001..ADC CMD1 selected.
3709  *  0b0010..ADC CMD2 selected.
3710  *  0b0011..ADC CMD3 selected.
3711  *  0b0100..ADC CMD4 selected.
3712  *  0b0101..ADC CMD5 selected.
3713  *  0b0110..ADC CMD6 selected.
3714  *  0b0111..ADC CMD7 selected.
3715  *  0b1000..ADC CMD8 selected.
3716  *  0b1001..ADC CMD9 selected.
3717  *  0b1010..ADC CMD10 selected.
3718  *  0b1011..ADC CMD11 selected.
3719  *  0b1100..ADC CMD12 selected.
3720  *  0b1101..ADC CMD13 selected.
3721  *  0b1110..ADC CMD14 selected.
3722  *  0b1111..ADC CMD15 selected.
3723  */
3724 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL0(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_CSEL0_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_CSEL0_MASK)
3725 
3726 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS0_MASK       (0xFF0U)
3727 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS0_SHIFT      (4U)
3728 /*! HWTS0
3729  *  0b00000000..no trigger selected
3730  *  0b00000001..ADC TRIG0 selected
3731  *  0b00000010..ADC TRIG1 selected
3732  *  0b00000100..ADC TRIG2 selected
3733  *  0b00001000..ADC TRIG3 selected
3734  *  0b00010000..ADC TRIG4 selected
3735  *  0b00100000..ADC TRIG5 selected
3736  *  0b01000000..ADC TRIG6 selected
3737  *  0b10000000..ADC TRIG7 selected
3738  */
3739 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS0(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_HWTS0_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_HWTS0_MASK)
3740 
3741 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B0_MASK        (0x1000U)
3742 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B0_SHIFT       (12U)
3743 /*! B2B0
3744  *  0b0..Disable B2B. Wait until delay value defined by TRIG0_COUNTER[SAMPLE_INTERVAL] is reached
3745  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
3746  */
3747 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B0(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_B2B0_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_B2B0_MASK)
3748 
3749 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0_MASK         (0x6000U)
3750 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0_SHIFT        (13U)
3751 /*! IE0
3752  *  0b00..Generate interrupt on Done0 when segment 0 finish.
3753  *  0b01..Generate interrupt on Done1 when segment 0 finish.
3754  *  0b10..Generate interrupt on Done2 when segment 0 finish.
3755  *  0b11..Generate interrupt on Done3 when segment 0 finish.
3756  */
3757 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_IE0_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_IE0_MASK)
3758 
3759 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0_EN_MASK      (0x8000U)
3760 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0_EN_SHIFT     (15U)
3761 /*! IE0_EN
3762  *  0b0..Interrupt DONE disabled.
3763  *  0b1..Interrupt DONE enabled. When segment 0 finish, an interrupt will be generated on the specific port configured by the IE0.
3764  */
3765 #define ADC_ETC_TRIGn_CHAIN_1_0_IE0_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_IE0_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_IE0_EN_MASK)
3766 
3767 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL1_MASK       (0xF0000U)
3768 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL1_SHIFT      (16U)
3769 /*! CSEL1
3770  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
3771  *  0b0001..ADC CMD1 selected.
3772  *  0b0010..ADC CMD2 selected.
3773  *  0b0011..ADC CMD3 selected.
3774  *  0b0100..ADC CMD4 selected.
3775  *  0b0101..ADC CMD5 selected.
3776  *  0b0110..ADC CMD6 selected.
3777  *  0b0111..ADC CMD7 selected.
3778  *  0b1000..ADC CMD8 selected.
3779  *  0b1001..ADC CMD9 selected.
3780  *  0b1010..ADC CMD10 selected.
3781  *  0b1011..ADC CMD11 selected.
3782  *  0b1100..ADC CMD12 selected.
3783  *  0b1101..ADC CMD13 selected.
3784  *  0b1110..ADC CMD14 selected.
3785  *  0b1111..ADC CMD15 selected.
3786  */
3787 #define ADC_ETC_TRIGn_CHAIN_1_0_CSEL1(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_CSEL1_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_CSEL1_MASK)
3788 
3789 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS1_MASK       (0xFF00000U)
3790 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS1_SHIFT      (20U)
3791 /*! HWTS1
3792  *  0b00000000..no trigger selected
3793  *  0b00000001..ADC TRIG0 selected
3794  *  0b00000010..ADC TRIG1 selected
3795  *  0b00000100..ADC TRIG2 selected
3796  *  0b00001000..ADC TRIG3 selected
3797  *  0b00010000..ADC TRIG4 selected
3798  *  0b00100000..ADC TRIG5 selected
3799  *  0b01000000..ADC TRIG6 selected
3800  *  0b10000000..ADC TRIG7 selected
3801  */
3802 #define ADC_ETC_TRIGn_CHAIN_1_0_HWTS1(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_HWTS1_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_HWTS1_MASK)
3803 
3804 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B1_MASK        (0x10000000U)
3805 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B1_SHIFT       (28U)
3806 /*! B2B1
3807  *  0b0..Disable B2B. Wait until delay value defined by TRIG1_COUNTER[SAMPLE_INTERVAL] is reached
3808  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
3809  */
3810 #define ADC_ETC_TRIGn_CHAIN_1_0_B2B1(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_B2B1_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_B2B1_MASK)
3811 
3812 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1_MASK         (0x60000000U)
3813 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1_SHIFT        (29U)
3814 /*! IE1
3815  *  0b00..Generate interrupt on Done0 when Segment 1 finish.
3816  *  0b01..Generate interrupt on Done1 when Segment 1 finish.
3817  *  0b10..Generate interrupt on Done2 when Segment 1 finish.
3818  *  0b11..Generate interrupt on Done3 when Segment 1 finish.
3819  */
3820 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_IE1_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_IE1_MASK)
3821 
3822 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1_EN_MASK      (0x80000000U)
3823 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1_EN_SHIFT     (31U)
3824 /*! IE1_EN
3825  *  0b0..Interrupt DONE disabled.
3826  *  0b1..Interrupt DONE enabled. When segment 1 finish, an interrupt will be generated on the specific port configured by the IE1.
3827  */
3828 #define ADC_ETC_TRIGn_CHAIN_1_0_IE1_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_1_0_IE1_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_1_0_IE1_EN_MASK)
3829 /*! @} */
3830 
3831 /* The count of ADC_ETC_TRIGn_CHAIN_1_0 */
3832 #define ADC_ETC_TRIGn_CHAIN_1_0_COUNT            (8U)
3833 
3834 /*! @name TRIGn_CHAIN_3_2 - ETC_TRIG Chain 2/3 Register */
3835 /*! @{ */
3836 
3837 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL2_MASK       (0xFU)
3838 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL2_SHIFT      (0U)
3839 /*! CSEL2
3840  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
3841  *  0b0001..ADC CMD1 selected.
3842  *  0b0010..ADC CMD2 selected.
3843  *  0b0011..ADC CMD3 selected.
3844  *  0b0100..ADC CMD4 selected.
3845  *  0b0101..ADC CMD5 selected.
3846  *  0b0110..ADC CMD6 selected.
3847  *  0b0111..ADC CMD7 selected.
3848  *  0b1000..ADC CMD8 selected.
3849  *  0b1001..ADC CMD9 selected.
3850  *  0b1010..ADC CMD10 selected.
3851  *  0b1011..ADC CMD11 selected.
3852  *  0b1100..ADC CMD12 selected.
3853  *  0b1101..ADC CMD13 selected.
3854  *  0b1110..ADC CMD14 selected.
3855  *  0b1111..ADC CMD15 selected.
3856  */
3857 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL2(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_CSEL2_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_CSEL2_MASK)
3858 
3859 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS2_MASK       (0xFF0U)
3860 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS2_SHIFT      (4U)
3861 /*! HWTS2
3862  *  0b00000000..no trigger selected
3863  *  0b00000001..ADC TRIG0 selected
3864  *  0b00000010..ADC TRIG1 selected
3865  *  0b00000100..ADC TRIG2 selected
3866  *  0b00001000..ADC TRIG3 selected
3867  *  0b00010000..ADC TRIG4 selected
3868  *  0b00100000..ADC TRIG5 selected
3869  *  0b01000000..ADC TRIG6 selected
3870  *  0b10000000..ADC TRIG7 selected
3871  */
3872 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS2(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_HWTS2_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_HWTS2_MASK)
3873 
3874 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B2_MASK        (0x1000U)
3875 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B2_SHIFT       (12U)
3876 /*! B2B2
3877  *  0b0..Disable B2B. Wait until delay value defined by TRIG2_COUNTER[SAMPLE_INTERVAL] is reached
3878  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
3879  */
3880 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B2(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_B2B2_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_B2B2_MASK)
3881 
3882 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2_MASK         (0x6000U)
3883 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2_SHIFT        (13U)
3884 /*! IE2
3885  *  0b00..Generate interrupt on Done0 when segment 2 finish.
3886  *  0b01..Generate interrupt on Done1 when segment 2 finish.
3887  *  0b10..Generate interrupt on Done2 when segment 2 finish.
3888  *  0b11..Generate interrupt on Done3 when segment 2 finish.
3889  */
3890 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_IE2_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_IE2_MASK)
3891 
3892 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2_EN_MASK      (0x8000U)
3893 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2_EN_SHIFT     (15U)
3894 /*! IE2_EN
3895  *  0b0..Interrupt DONE disabled.
3896  *  0b1..Interrupt DONE enabled. When segment 2 finish, an interrupt will be generated on the specific port configured by the IE2.
3897  */
3898 #define ADC_ETC_TRIGn_CHAIN_3_2_IE2_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_IE2_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_IE2_EN_MASK)
3899 
3900 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL3_MASK       (0xF0000U)
3901 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL3_SHIFT      (16U)
3902 /*! CSEL3
3903  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
3904  *  0b0001..ADC CMD1 selected.
3905  *  0b0010..ADC CMD2 selected.
3906  *  0b0011..ADC CMD3 selected.
3907  *  0b0100..ADC CMD4 selected.
3908  *  0b0101..ADC CMD5 selected.
3909  *  0b0110..ADC CMD6 selected.
3910  *  0b0111..ADC CMD7 selected.
3911  *  0b1000..ADC CMD8 selected.
3912  *  0b1001..ADC CMD9 selected.
3913  *  0b1010..ADC CMD10 selected.
3914  *  0b1011..ADC CMD11 selected.
3915  *  0b1100..ADC CMD12 selected.
3916  *  0b1101..ADC CMD13 selected.
3917  *  0b1110..ADC CMD14 selected.
3918  *  0b1111..ADC CMD15 selected.
3919  */
3920 #define ADC_ETC_TRIGn_CHAIN_3_2_CSEL3(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_CSEL3_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_CSEL3_MASK)
3921 
3922 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS3_MASK       (0xFF00000U)
3923 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS3_SHIFT      (20U)
3924 /*! HWTS3
3925  *  0b00000000..no trigger selected
3926  *  0b00000001..ADC TRIG0 selected
3927  *  0b00000010..ADC TRIG1 selected
3928  *  0b00000100..ADC TRIG2 selected
3929  *  0b00001000..ADC TRIG3 selected
3930  *  0b00010000..ADC TRIG4 selected
3931  *  0b00100000..ADC TRIG5 selected
3932  *  0b01000000..ADC TRIG6 selected
3933  *  0b10000000..ADC TRIG7 selected
3934  */
3935 #define ADC_ETC_TRIGn_CHAIN_3_2_HWTS3(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_HWTS3_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_HWTS3_MASK)
3936 
3937 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B3_MASK        (0x10000000U)
3938 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B3_SHIFT       (28U)
3939 /*! B2B3
3940  *  0b0..Disable B2B. Wait until delay value defined by TRIG3_COUNTER[SAMPLE_INTERVAL] is reached
3941  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
3942  */
3943 #define ADC_ETC_TRIGn_CHAIN_3_2_B2B3(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_B2B3_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_B2B3_MASK)
3944 
3945 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3_MASK         (0x60000000U)
3946 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3_SHIFT        (29U)
3947 /*! IE3
3948  *  0b00..Generate interrupt on Done0 when segment 3 finish.
3949  *  0b01..Generate interrupt on Done1 when segment 3 finish.
3950  *  0b10..Generate interrupt on Done2 when segment 3 finish.
3951  *  0b11..Generate interrupt on Done3 when segment 3 finish.
3952  */
3953 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_IE3_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_IE3_MASK)
3954 
3955 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3_EN_MASK      (0x80000000U)
3956 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3_EN_SHIFT     (31U)
3957 /*! IE3_EN
3958  *  0b0..Interrupt DONE disabled.
3959  *  0b1..Interrupt DONE enabled. When segment 3 finish, an interrupt will be generated on the specific port configured by the IE3.
3960  */
3961 #define ADC_ETC_TRIGn_CHAIN_3_2_IE3_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_3_2_IE3_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_3_2_IE3_EN_MASK)
3962 /*! @} */
3963 
3964 /* The count of ADC_ETC_TRIGn_CHAIN_3_2 */
3965 #define ADC_ETC_TRIGn_CHAIN_3_2_COUNT            (8U)
3966 
3967 /*! @name TRIGn_CHAIN_5_4 - ETC_TRIG Chain 4/5 Register */
3968 /*! @{ */
3969 
3970 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL4_MASK       (0xFU)
3971 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL4_SHIFT      (0U)
3972 /*! CSEL4
3973  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
3974  *  0b0001..ADC CMD1 selected.
3975  *  0b0010..ADC CMD2 selected.
3976  *  0b0011..ADC CMD3 selected.
3977  *  0b0100..ADC CMD4 selected.
3978  *  0b0101..ADC CMD5 selected.
3979  *  0b0110..ADC CMD6 selected.
3980  *  0b0111..ADC CMD7 selected.
3981  *  0b1000..ADC CMD8 selected.
3982  *  0b1001..ADC CMD9 selected.
3983  *  0b1010..ADC CMD10 selected.
3984  *  0b1011..ADC CMD11 selected.
3985  *  0b1100..ADC CMD12 selected.
3986  *  0b1101..ADC CMD13 selected.
3987  *  0b1110..ADC CMD14 selected.
3988  *  0b1111..ADC CMD15 selected.
3989  */
3990 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL4(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_CSEL4_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_CSEL4_MASK)
3991 
3992 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS4_MASK       (0xFF0U)
3993 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS4_SHIFT      (4U)
3994 /*! HWTS4
3995  *  0b00000000..no trigger selected
3996  *  0b00000001..ADC TRIG0 selected
3997  *  0b00000010..ADC TRIG1 selected
3998  *  0b00000100..ADC TRIG2 selected
3999  *  0b00001000..ADC TRIG3 selected
4000  *  0b00010000..ADC TRIG4 selected
4001  *  0b00100000..ADC TRIG5 selected
4002  *  0b01000000..ADC TRIG6 selected
4003  *  0b10000000..ADC TRIG7 selected
4004  */
4005 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS4(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_HWTS4_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_HWTS4_MASK)
4006 
4007 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B4_MASK        (0x1000U)
4008 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B4_SHIFT       (12U)
4009 /*! B2B4
4010  *  0b0..Disable B2B. Wait until delay value defined by TRIG4_COUNTER[SAMPLE_INTERVAL] is reached
4011  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
4012  */
4013 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B4(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_B2B4_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_B2B4_MASK)
4014 
4015 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4_MASK         (0x6000U)
4016 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4_SHIFT        (13U)
4017 /*! IE4
4018  *  0b00..Generate interrupt on Done0 when segment 4 finish.
4019  *  0b01..Generate interrupt on Done1 when segment 4 finish.
4020  *  0b10..Generate interrupt on Done2 when segment 4 finish.
4021  *  0b11..Generate interrupt on Done3 when segment 4 finish.
4022  */
4023 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_IE4_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_IE4_MASK)
4024 
4025 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4_EN_MASK      (0x8000U)
4026 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4_EN_SHIFT     (15U)
4027 /*! IE4_EN
4028  *  0b0..Interrupt DONE disabled.
4029  *  0b1..Interrupt DONE enabled. When segment 4 finish, an interrupt will be generated on the specific port configured by the IE4.
4030  */
4031 #define ADC_ETC_TRIGn_CHAIN_5_4_IE4_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_IE4_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_IE4_EN_MASK)
4032 
4033 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL5_MASK       (0xF0000U)
4034 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL5_SHIFT      (16U)
4035 /*! CSEL5
4036  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
4037  *  0b0001..ADC CMD1 selected.
4038  *  0b0010..ADC CMD2 selected.
4039  *  0b0011..ADC CMD3 selected.
4040  *  0b0100..ADC CMD4 selected.
4041  *  0b0101..ADC CMD5 selected.
4042  *  0b0110..ADC CMD6 selected.
4043  *  0b0111..ADC CMD7 selected.
4044  *  0b1000..ADC CMD8 selected.
4045  *  0b1001..ADC CMD9 selected.
4046  *  0b1010..ADC CMD10 selected.
4047  *  0b1011..ADC CMD11 selected.
4048  *  0b1100..ADC CMD12 selected.
4049  *  0b1101..ADC CMD13 selected.
4050  *  0b1110..ADC CMD14 selected.
4051  *  0b1111..ADC CMD15 selected.
4052  */
4053 #define ADC_ETC_TRIGn_CHAIN_5_4_CSEL5(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_CSEL5_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_CSEL5_MASK)
4054 
4055 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS5_MASK       (0xFF00000U)
4056 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS5_SHIFT      (20U)
4057 /*! HWTS5
4058  *  0b00000000..no trigger selected
4059  *  0b00000001..ADC TRIG0 selected
4060  *  0b00000010..ADC TRIG1 selected
4061  *  0b00000100..ADC TRIG2 selected
4062  *  0b00001000..ADC TRIG3 selected
4063  *  0b00010000..ADC TRIG4 selected
4064  *  0b00100000..ADC TRIG5 selected
4065  *  0b01000000..ADC TRIG6 selected
4066  *  0b10000000..ADC TRIG7 selected
4067  */
4068 #define ADC_ETC_TRIGn_CHAIN_5_4_HWTS5(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_HWTS5_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_HWTS5_MASK)
4069 
4070 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B5_MASK        (0x10000000U)
4071 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B5_SHIFT       (28U)
4072 /*! B2B5
4073  *  0b0..Disable B2B. Wait until delay value defined by TRIG5_COUNTER[SAMPLE_INTERVAL] is reached
4074  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
4075  */
4076 #define ADC_ETC_TRIGn_CHAIN_5_4_B2B5(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_B2B5_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_B2B5_MASK)
4077 
4078 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5_MASK         (0x60000000U)
4079 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5_SHIFT        (29U)
4080 /*! IE5
4081  *  0b00..Generate interrupt on Done0 when segment 5 finish.
4082  *  0b01..Generate interrupt on Done1 when segment 5 finish.
4083  *  0b10..Generate interrupt on Done2 when segment 5 finish.
4084  *  0b11..Generate interrupt on Done3 when segment 5 finish.
4085  */
4086 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_IE5_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_IE5_MASK)
4087 
4088 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5_EN_MASK      (0x80000000U)
4089 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5_EN_SHIFT     (31U)
4090 /*! IE5_EN
4091  *  0b0..Interrupt DONE disabled.
4092  *  0b1..Interrupt DONE enabled. When segment 5 finish, an interrupt will be generated on the specific port configured by the IE5.
4093  */
4094 #define ADC_ETC_TRIGn_CHAIN_5_4_IE5_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_5_4_IE5_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_5_4_IE5_EN_MASK)
4095 /*! @} */
4096 
4097 /* The count of ADC_ETC_TRIGn_CHAIN_5_4 */
4098 #define ADC_ETC_TRIGn_CHAIN_5_4_COUNT            (8U)
4099 
4100 /*! @name TRIGn_CHAIN_7_6 - ETC_TRIG Chain 6/7 Register */
4101 /*! @{ */
4102 
4103 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL6_MASK       (0xFU)
4104 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL6_SHIFT      (0U)
4105 /*! CSEL6
4106  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
4107  *  0b0001..ADC CMD1 selected.
4108  *  0b0010..ADC CMD2 selected.
4109  *  0b0011..ADC CMD3 selected.
4110  *  0b0100..ADC CMD4 selected.
4111  *  0b0101..ADC CMD5 selected.
4112  *  0b0110..ADC CMD6 selected.
4113  *  0b0111..ADC CMD7 selected.
4114  *  0b1000..ADC CMD8 selected.
4115  *  0b1001..ADC CMD9 selected.
4116  *  0b1010..ADC CMD10 selected.
4117  *  0b1011..ADC CMD11 selected.
4118  *  0b1100..ADC CMD12 selected.
4119  *  0b1101..ADC CMD13 selected.
4120  *  0b1110..ADC CMD14 selected.
4121  *  0b1111..ADC CMD15 selected.
4122  */
4123 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL6(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_CSEL6_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_CSEL6_MASK)
4124 
4125 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS6_MASK       (0xFF0U)
4126 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS6_SHIFT      (4U)
4127 /*! HWTS6
4128  *  0b00000000..no trigger selected
4129  *  0b00000001..ADC TRIG0 selected
4130  *  0b00000010..ADC TRIG1 selected
4131  *  0b00000100..ADC TRIG2 selected
4132  *  0b00001000..ADC TRIG3 selected
4133  *  0b00010000..ADC TRIG4 selected
4134  *  0b00100000..ADC TRIG5 selected
4135  *  0b01000000..ADC TRIG6 selected
4136  *  0b10000000..ADC TRIG7 selected
4137  */
4138 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS6(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_HWTS6_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_HWTS6_MASK)
4139 
4140 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B6_MASK        (0x1000U)
4141 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B6_SHIFT       (12U)
4142 /*! B2B6
4143  *  0b0..Disable B2B. Wait until delay value defined by TRIG6_COUNTER[SAMPLE_INTERVAL] is reached
4144  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
4145  */
4146 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B6(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_B2B6_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_B2B6_MASK)
4147 
4148 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6_MASK         (0x6000U)
4149 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6_SHIFT        (13U)
4150 /*! IE6
4151  *  0b00..Generate interrupt on Done0 when segment 6 finish.
4152  *  0b01..Generate interrupt on Done1 when segment 6 finish.
4153  *  0b10..Generate interrupt on Done2 when segment 6 finish.
4154  *  0b11..Generate interrupt on Done3 when segment 6 finish.
4155  */
4156 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_IE6_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_IE6_MASK)
4157 
4158 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6_EN_MASK      (0x8000U)
4159 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6_EN_SHIFT     (15U)
4160 /*! IE6_EN
4161  *  0b0..Interrupt DONE disabled.
4162  *  0b1..Interrupt DONE enabled. When segment 6 finish, an interrupt will be generated on the specific port configured by the IE6.
4163  */
4164 #define ADC_ETC_TRIGn_CHAIN_7_6_IE6_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_IE6_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_IE6_EN_MASK)
4165 
4166 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL7_MASK       (0xF0000U)
4167 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL7_SHIFT      (16U)
4168 /*! CSEL7
4169  *  0b0000..Not a valid selection from the command buffer. Trigger event is ignored.
4170  *  0b0001..ADC CMD1 selected.
4171  *  0b0010..ADC CMD2 selected.
4172  *  0b0011..ADC CMD3 selected.
4173  *  0b0100..ADC CMD4 selected.
4174  *  0b0101..ADC CMD5 selected.
4175  *  0b0110..ADC CMD6 selected.
4176  *  0b0111..ADC CMD7 selected.
4177  *  0b1000..ADC CMD8 selected.
4178  *  0b1001..ADC CMD9 selected.
4179  *  0b1010..ADC CMD10 selected.
4180  *  0b1011..ADC CMD11 selected.
4181  *  0b1100..ADC CMD12 selected.
4182  *  0b1101..ADC CMD13 selected.
4183  *  0b1110..ADC CMD14 selected.
4184  *  0b1111..ADC CMD15 selected.
4185  */
4186 #define ADC_ETC_TRIGn_CHAIN_7_6_CSEL7(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_CSEL7_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_CSEL7_MASK)
4187 
4188 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS7_MASK       (0xFF00000U)
4189 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS7_SHIFT      (20U)
4190 /*! HWTS7
4191  *  0b00000000..no trigger selected
4192  *  0b00000001..ADC TRIG0 selected
4193  *  0b00000010..ADC TRIG1 selected
4194  *  0b00000100..ADC TRIG2 selected
4195  *  0b00001000..ADC TRIG3 selected
4196  *  0b00010000..ADC TRIG4 selected
4197  *  0b00100000..ADC TRIG5 selected
4198  *  0b01000000..ADC TRIG6 selected
4199  *  0b10000000..ADC TRIG7 selected
4200  */
4201 #define ADC_ETC_TRIGn_CHAIN_7_6_HWTS7(x)         (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_HWTS7_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_HWTS7_MASK)
4202 
4203 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B7_MASK        (0x10000000U)
4204 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B7_SHIFT       (28U)
4205 /*! B2B7
4206  *  0b0..Disable B2B. Wait until delay value defined by TRIG7_COUNTER[SAMPLE_INTERVAL] is reached
4207  *  0b1..Enable B2B. When Segment 0 finished (ADC COCO) then automatically trigger next ADC conversion, no need to wait until interval delay reached.
4208  */
4209 #define ADC_ETC_TRIGn_CHAIN_7_6_B2B7(x)          (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_B2B7_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_B2B7_MASK)
4210 
4211 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7_MASK         (0x60000000U)
4212 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7_SHIFT        (29U)
4213 /*! IE7
4214  *  0b00..Generate interrupt on Done0 when segment 7 finish.
4215  *  0b01..Generate interrupt on Done1 when segment 7 finish.
4216  *  0b10..Generate interrupt on Done2 when segment 7 finish.
4217  *  0b11..Generate interrupt on Done3 when segment 7 finish.
4218  */
4219 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7(x)           (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_IE7_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_IE7_MASK)
4220 
4221 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7_EN_MASK      (0x80000000U)
4222 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7_EN_SHIFT     (31U)
4223 /*! IE7_EN
4224  *  0b0..Interrupt DONE disabled.
4225  *  0b1..Interrupt DONE enabled. When segment 7 finish, an interrupt will be generated on the specific port configured by the IE7.
4226  */
4227 #define ADC_ETC_TRIGn_CHAIN_7_6_IE7_EN(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_CHAIN_7_6_IE7_EN_SHIFT)) & ADC_ETC_TRIGn_CHAIN_7_6_IE7_EN_MASK)
4228 /*! @} */
4229 
4230 /* The count of ADC_ETC_TRIGn_CHAIN_7_6 */
4231 #define ADC_ETC_TRIGn_CHAIN_7_6_COUNT            (8U)
4232 
4233 /*! @name TRIGn_RESULT_1_0 - ETC_TRIG Result Data 1/0 Register */
4234 /*! @{ */
4235 
4236 #define ADC_ETC_TRIGn_RESULT_1_0_DATA0_MASK      (0xFFFU)
4237 #define ADC_ETC_TRIGn_RESULT_1_0_DATA0_SHIFT     (0U)
4238 #define ADC_ETC_TRIGn_RESULT_1_0_DATA0(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_1_0_DATA0_SHIFT)) & ADC_ETC_TRIGn_RESULT_1_0_DATA0_MASK)
4239 
4240 #define ADC_ETC_TRIGn_RESULT_1_0_DATA1_MASK      (0xFFF0000U)
4241 #define ADC_ETC_TRIGn_RESULT_1_0_DATA1_SHIFT     (16U)
4242 #define ADC_ETC_TRIGn_RESULT_1_0_DATA1(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_1_0_DATA1_SHIFT)) & ADC_ETC_TRIGn_RESULT_1_0_DATA1_MASK)
4243 /*! @} */
4244 
4245 /* The count of ADC_ETC_TRIGn_RESULT_1_0 */
4246 #define ADC_ETC_TRIGn_RESULT_1_0_COUNT           (8U)
4247 
4248 /*! @name TRIGn_RESULT_3_2 - ETC_TRIG Result Data 3/2 Register */
4249 /*! @{ */
4250 
4251 #define ADC_ETC_TRIGn_RESULT_3_2_DATA2_MASK      (0xFFFU)
4252 #define ADC_ETC_TRIGn_RESULT_3_2_DATA2_SHIFT     (0U)
4253 #define ADC_ETC_TRIGn_RESULT_3_2_DATA2(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_3_2_DATA2_SHIFT)) & ADC_ETC_TRIGn_RESULT_3_2_DATA2_MASK)
4254 
4255 #define ADC_ETC_TRIGn_RESULT_3_2_DATA3_MASK      (0xFFF0000U)
4256 #define ADC_ETC_TRIGn_RESULT_3_2_DATA3_SHIFT     (16U)
4257 #define ADC_ETC_TRIGn_RESULT_3_2_DATA3(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_3_2_DATA3_SHIFT)) & ADC_ETC_TRIGn_RESULT_3_2_DATA3_MASK)
4258 /*! @} */
4259 
4260 /* The count of ADC_ETC_TRIGn_RESULT_3_2 */
4261 #define ADC_ETC_TRIGn_RESULT_3_2_COUNT           (8U)
4262 
4263 /*! @name TRIGn_RESULT_5_4 - ETC_TRIG Result Data 5/4 Register */
4264 /*! @{ */
4265 
4266 #define ADC_ETC_TRIGn_RESULT_5_4_DATA4_MASK      (0xFFFU)
4267 #define ADC_ETC_TRIGn_RESULT_5_4_DATA4_SHIFT     (0U)
4268 #define ADC_ETC_TRIGn_RESULT_5_4_DATA4(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_5_4_DATA4_SHIFT)) & ADC_ETC_TRIGn_RESULT_5_4_DATA4_MASK)
4269 
4270 #define ADC_ETC_TRIGn_RESULT_5_4_DATA5_MASK      (0xFFF0000U)
4271 #define ADC_ETC_TRIGn_RESULT_5_4_DATA5_SHIFT     (16U)
4272 #define ADC_ETC_TRIGn_RESULT_5_4_DATA5(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_5_4_DATA5_SHIFT)) & ADC_ETC_TRIGn_RESULT_5_4_DATA5_MASK)
4273 /*! @} */
4274 
4275 /* The count of ADC_ETC_TRIGn_RESULT_5_4 */
4276 #define ADC_ETC_TRIGn_RESULT_5_4_COUNT           (8U)
4277 
4278 /*! @name TRIGn_RESULT_7_6 - ETC_TRIG Result Data 7/6 Register */
4279 /*! @{ */
4280 
4281 #define ADC_ETC_TRIGn_RESULT_7_6_DATA6_MASK      (0xFFFU)
4282 #define ADC_ETC_TRIGn_RESULT_7_6_DATA6_SHIFT     (0U)
4283 #define ADC_ETC_TRIGn_RESULT_7_6_DATA6(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_7_6_DATA6_SHIFT)) & ADC_ETC_TRIGn_RESULT_7_6_DATA6_MASK)
4284 
4285 #define ADC_ETC_TRIGn_RESULT_7_6_DATA7_MASK      (0xFFF0000U)
4286 #define ADC_ETC_TRIGn_RESULT_7_6_DATA7_SHIFT     (16U)
4287 #define ADC_ETC_TRIGn_RESULT_7_6_DATA7(x)        (((uint32_t)(((uint32_t)(x)) << ADC_ETC_TRIGn_RESULT_7_6_DATA7_SHIFT)) & ADC_ETC_TRIGn_RESULT_7_6_DATA7_MASK)
4288 /*! @} */
4289 
4290 /* The count of ADC_ETC_TRIGn_RESULT_7_6 */
4291 #define ADC_ETC_TRIGn_RESULT_7_6_COUNT           (8U)
4292 
4293 
4294 /*!
4295  * @}
4296  */ /* end of group ADC_ETC_Register_Masks */
4297 
4298 
4299 /* ADC_ETC - Peripheral instance base addresses */
4300 /** Peripheral ADC_ETC base address */
4301 #define ADC_ETC_BASE                             (0x40048000u)
4302 /** Peripheral ADC_ETC base pointer */
4303 #define ADC_ETC                                  ((ADC_ETC_Type *)ADC_ETC_BASE)
4304 /** Array initializer of ADC_ETC peripheral base addresses */
4305 #define ADC_ETC_BASE_ADDRS                       { ADC_ETC_BASE }
4306 /** Array initializer of ADC_ETC peripheral base pointers */
4307 #define ADC_ETC_BASE_PTRS                        { ADC_ETC }
4308 /** Interrupt vectors for the ADC_ETC peripheral type */
4309 #define ADC_ETC_IRQS                             { { ADC_ETC_IRQ0_IRQn, ADC_ETC_IRQ1_IRQn, ADC_ETC_IRQ2_IRQn, ADC_ETC_IRQ3_IRQn } }
4310 #define ADC_ETC_FAULT_IRQS                       { ADC_ETC_ERROR_IRQ_IRQn }
4311 
4312 /*!
4313  * @}
4314  */ /* end of group ADC_ETC_Peripheral_Access_Layer */
4315 
4316 
4317 /* ----------------------------------------------------------------------------
4318    -- ANADIG_LDO_SNVS Peripheral Access Layer
4319    ---------------------------------------------------------------------------- */
4320 
4321 /*!
4322  * @addtogroup ANADIG_LDO_SNVS_Peripheral_Access_Layer ANADIG_LDO_SNVS Peripheral Access Layer
4323  * @{
4324  */
4325 
4326 /** ANADIG_LDO_SNVS - Register Layout Typedef */
4327 typedef struct {
4328        uint8_t RESERVED_0[1296];
4329   __IO uint32_t PMU_LDO_LPSR_ANA;                  /**< PMU_LDO_LPSR_ANA_REGISTER, offset: 0x510 */
4330        uint8_t RESERVED_1[12];
4331   __IO uint32_t PMU_LDO_LPSR_DIG_2;                /**< PMU_LDO_LPSR_DIG_2_REGISTER, offset: 0x520 */
4332        uint8_t RESERVED_2[12];
4333   __IO uint32_t PMU_LDO_LPSR_DIG;                  /**< PMU_LDO_LPSR_DIG_REGISTER, offset: 0x530 */
4334 } ANADIG_LDO_SNVS_Type;
4335 
4336 /* ----------------------------------------------------------------------------
4337    -- ANADIG_LDO_SNVS Register Masks
4338    ---------------------------------------------------------------------------- */
4339 
4340 /*!
4341  * @addtogroup ANADIG_LDO_SNVS_Register_Masks ANADIG_LDO_SNVS Register Masks
4342  * @{
4343  */
4344 
4345 /*! @name PMU_LDO_LPSR_ANA - PMU_LDO_LPSR_ANA_REGISTER */
4346 /*! @{ */
4347 
4348 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_LP_EN_MASK (0x1U)
4349 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_LP_EN_SHIFT (0U)
4350 /*! REG_LP_EN - reg_lp_en
4351  */
4352 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_LP_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_LP_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_LP_EN_MASK)
4353 
4354 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_DISABLE_MASK (0x4U)
4355 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_DISABLE_SHIFT (2U)
4356 /*! REG_DISABLE - reg_disable
4357  */
4358 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_DISABLE_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_REG_DISABLE_MASK)
4359 
4360 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_2MA_EN_MASK (0x8U)
4361 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_2MA_EN_SHIFT (3U)
4362 /*! PULL_DOWN_2MA_EN - pull_down_2ma_en
4363  */
4364 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_2MA_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_2MA_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_2MA_EN_MASK)
4365 
4366 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_LPSR_ANA_CONTROL_MODE_MASK (0x10U)
4367 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_LPSR_ANA_CONTROL_MODE_SHIFT (4U)
4368 /*! LPSR_ANA_CONTROL_MODE - LPSR_ANA_CONTROL_MODE
4369  *  0b0..SW Control
4370  *  0b1..HW Control
4371  */
4372 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_LPSR_ANA_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_LPSR_ANA_CONTROL_MODE_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_LPSR_ANA_CONTROL_MODE_MASK)
4373 
4374 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_BYPASS_MODE_EN_MASK (0x20U)
4375 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_BYPASS_MODE_EN_SHIFT (5U)
4376 /*! BYPASS_MODE_EN - bypass_mode_en
4377  */
4378 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_BYPASS_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_BYPASS_MODE_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_BYPASS_MODE_EN_MASK)
4379 
4380 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_STANDBY_EN_MASK (0x40U)
4381 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_STANDBY_EN_SHIFT (6U)
4382 /*! STANDBY_EN - standby_en
4383  */
4384 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_STANDBY_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_STANDBY_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_STANDBY_EN_MASK)
4385 
4386 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_ALWAYS_4MA_PULLDOWN_EN_MASK (0x100U)
4387 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_ALWAYS_4MA_PULLDOWN_EN_SHIFT (8U)
4388 /*! ALWAYS_4MA_PULLDOWN_EN - always_4ma_pulldown_en
4389  */
4390 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_ALWAYS_4MA_PULLDOWN_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_ALWAYS_4MA_PULLDOWN_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_ALWAYS_4MA_PULLDOWN_EN_MASK)
4391 
4392 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_TRACK_MODE_EN_MASK (0x80000U)
4393 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_TRACK_MODE_EN_SHIFT (19U)
4394 /*! TRACK_MODE_EN - Track Mode Enable
4395  *  0b0..Normal use
4396  *  0b1..Switch preparation
4397  */
4398 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_TRACK_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_TRACK_MODE_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_TRACK_MODE_EN_MASK)
4399 
4400 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_20UA_EN_MASK (0x100000U)
4401 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_20UA_EN_SHIFT (20U)
4402 /*! PULL_DOWN_20UA_EN - pull_down_20ua_en
4403  */
4404 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_20UA_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_20UA_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_ANA_PULL_DOWN_20UA_EN_MASK)
4405 /*! @} */
4406 
4407 /*! @name PMU_LDO_LPSR_DIG_2 - PMU_LDO_LPSR_DIG_2_REGISTER */
4408 /*! @{ */
4409 
4410 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_2_VOLTAGE_STEP_INC_MASK (0x3U)
4411 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_2_VOLTAGE_STEP_INC_SHIFT (0U)
4412 /*! VOLTAGE_STEP_INC - voltage_step_inc
4413  */
4414 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_2_VOLTAGE_STEP_INC(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_2_VOLTAGE_STEP_INC_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_2_VOLTAGE_STEP_INC_MASK)
4415 /*! @} */
4416 
4417 /*! @name PMU_LDO_LPSR_DIG - PMU_LDO_LPSR_DIG_REGISTER */
4418 /*! @{ */
4419 
4420 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_REG_EN_MASK (0x4U)
4421 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_REG_EN_SHIFT (2U)
4422 /*! REG_EN - ENABLE_ILIMIT
4423  */
4424 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_REG_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_REG_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_REG_EN_MASK)
4425 
4426 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_LPSR_DIG_CONTROL_MODE_MASK (0x20U)
4427 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_LPSR_DIG_CONTROL_MODE_SHIFT (5U)
4428 /*! LPSR_DIG_CONTROL_MODE - LPSR_DIG_CONTROL_MODE
4429  *  0b0..SW Control
4430  *  0b1..HW Control
4431  */
4432 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_LPSR_DIG_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_LPSR_DIG_CONTROL_MODE_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_LPSR_DIG_CONTROL_MODE_MASK)
4433 
4434 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_STANDBY_EN_MASK (0x40U)
4435 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_STANDBY_EN_SHIFT (6U)
4436 /*! STANDBY_EN - standby_en
4437  */
4438 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_STANDBY_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_STANDBY_EN_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_STANDBY_EN_MASK)
4439 
4440 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_TRACKING_MODE_MASK (0x20000U)
4441 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_TRACKING_MODE_SHIFT (17U)
4442 /*! TRACKING_MODE - tracking_mode
4443  */
4444 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_TRACKING_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_TRACKING_MODE_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_TRACKING_MODE_MASK)
4445 
4446 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_BYPASS_MODE_MASK (0x40000U)
4447 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_BYPASS_MODE_SHIFT (18U)
4448 /*! BYPASS_MODE - bypass_mode
4449  */
4450 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_BYPASS_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_BYPASS_MODE_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_BYPASS_MODE_MASK)
4451 
4452 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_VOLTAGE_SELECT_MASK (0x1F00000U)
4453 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_VOLTAGE_SELECT_SHIFT (20U)
4454 /*! VOLTAGE_SELECT - VOLTAGE_SELECT
4455  *  0b00000..Stable Voltage (range)
4456  *  0b00001..Stable Voltage (range)
4457  *  0b00010..Stable Voltage (range)
4458  *  0b00011..Stable Voltage (range)
4459  *  0b00100..Stable Voltage (range)
4460  *  0b00101..Stable Voltage (range)
4461  *  0b00110..Stable Voltage (range)
4462  *  0b00111..Stable Voltage (range)
4463  *  0b01000..Stable Voltage (range)
4464  *  0b01001..Stable Voltage (range)
4465  *  0b01010..Stable Voltage (range)
4466  *  0b01011..Stable Voltage (range)
4467  *  0b01100..Stable Voltage (range)
4468  *  0b01101..Stable Voltage (range)
4469  *  0b01110..Stable Voltage (range)
4470  *  0b01111..Stable Voltage (range)
4471  *  0b10000..Stable Voltage (range)
4472  *  0b10001..Stable Voltage (range)
4473  *  0b10010..Stable Voltage (range)
4474  *  0b10011..Stable Voltage (range)
4475  *  0b10100..Stable Voltage (range)
4476  *  0b10101..Stable Voltage (range)
4477  *  0b10110..Stable Voltage (range)
4478  *  0b10111..Stable Voltage (range)
4479  *  0b11000..Stable Voltage (range)
4480  *  0b11001..Stable Voltage (range)
4481  *  0b11010..Stable Voltage (range)
4482  *  0b11011..Stable Voltage (range)
4483  *  0b11100..Stable Voltage (range)
4484  *  0b11101..Stable Voltage (range)
4485  *  0b11110..Stable Voltage (range)
4486  *  0b11111..Stable Voltage (range)
4487  */
4488 #define ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_VOLTAGE_SELECT(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_VOLTAGE_SELECT_SHIFT)) & ANADIG_LDO_SNVS_PMU_LDO_LPSR_DIG_VOLTAGE_SELECT_MASK)
4489 /*! @} */
4490 
4491 
4492 /*!
4493  * @}
4494  */ /* end of group ANADIG_LDO_SNVS_Register_Masks */
4495 
4496 
4497 /* ANADIG_LDO_SNVS - Peripheral instance base addresses */
4498 /** Peripheral ANADIG_LDO_SNVS base address */
4499 #define ANADIG_LDO_SNVS_BASE                     (0x40C84000u)
4500 /** Peripheral ANADIG_LDO_SNVS base pointer */
4501 #define ANADIG_LDO_SNVS                          ((ANADIG_LDO_SNVS_Type *)ANADIG_LDO_SNVS_BASE)
4502 /** Array initializer of ANADIG_LDO_SNVS peripheral base addresses */
4503 #define ANADIG_LDO_SNVS_BASE_ADDRS               { ANADIG_LDO_SNVS_BASE }
4504 /** Array initializer of ANADIG_LDO_SNVS peripheral base pointers */
4505 #define ANADIG_LDO_SNVS_BASE_PTRS                { ANADIG_LDO_SNVS }
4506 
4507 /*!
4508  * @}
4509  */ /* end of group ANADIG_LDO_SNVS_Peripheral_Access_Layer */
4510 
4511 
4512 /* ----------------------------------------------------------------------------
4513    -- ANADIG_LDO_SNVS_DIG Peripheral Access Layer
4514    ---------------------------------------------------------------------------- */
4515 
4516 /*!
4517  * @addtogroup ANADIG_LDO_SNVS_DIG_Peripheral_Access_Layer ANADIG_LDO_SNVS_DIG Peripheral Access Layer
4518  * @{
4519  */
4520 
4521 /** ANADIG_LDO_SNVS_DIG - Register Layout Typedef */
4522 typedef struct {
4523        uint8_t RESERVED_0[1344];
4524   __IO uint32_t PMU_LDO_SNVS_DIG;                  /**< PMU_LDO_SNVS_DIG_REGISTER, offset: 0x540 */
4525 } ANADIG_LDO_SNVS_DIG_Type;
4526 
4527 /* ----------------------------------------------------------------------------
4528    -- ANADIG_LDO_SNVS_DIG Register Masks
4529    ---------------------------------------------------------------------------- */
4530 
4531 /*!
4532  * @addtogroup ANADIG_LDO_SNVS_DIG_Register_Masks ANADIG_LDO_SNVS_DIG Register Masks
4533  * @{
4534  */
4535 
4536 /*! @name PMU_LDO_SNVS_DIG - PMU_LDO_SNVS_DIG_REGISTER */
4537 /*! @{ */
4538 
4539 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN_MASK (0x1U)
4540 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN_SHIFT (0U)
4541 /*! REG_LP_EN - REG_LP_EN
4542  */
4543 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN_SHIFT)) & ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_LP_EN_MASK)
4544 
4545 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_TEST_OVERRIDE_MASK (0x2U)
4546 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_TEST_OVERRIDE_SHIFT (1U)
4547 /*! TEST_OVERRIDE - test_override
4548  */
4549 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_TEST_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_TEST_OVERRIDE_SHIFT)) & ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_TEST_OVERRIDE_MASK)
4550 
4551 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN_MASK (0x4U)
4552 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN_SHIFT (2U)
4553 /*! REG_EN - REG_EN
4554  */
4555 #define ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN_SHIFT)) & ANADIG_LDO_SNVS_DIG_PMU_LDO_SNVS_DIG_REG_EN_MASK)
4556 /*! @} */
4557 
4558 
4559 /*!
4560  * @}
4561  */ /* end of group ANADIG_LDO_SNVS_DIG_Register_Masks */
4562 
4563 
4564 /* ANADIG_LDO_SNVS_DIG - Peripheral instance base addresses */
4565 /** Peripheral ANADIG_LDO_SNVS_DIG base address */
4566 #define ANADIG_LDO_SNVS_DIG_BASE                 (0x40C84000u)
4567 /** Peripheral ANADIG_LDO_SNVS_DIG base pointer */
4568 #define ANADIG_LDO_SNVS_DIG                      ((ANADIG_LDO_SNVS_DIG_Type *)ANADIG_LDO_SNVS_DIG_BASE)
4569 /** Array initializer of ANADIG_LDO_SNVS_DIG peripheral base addresses */
4570 #define ANADIG_LDO_SNVS_DIG_BASE_ADDRS           { ANADIG_LDO_SNVS_DIG_BASE }
4571 /** Array initializer of ANADIG_LDO_SNVS_DIG peripheral base pointers */
4572 #define ANADIG_LDO_SNVS_DIG_BASE_PTRS            { ANADIG_LDO_SNVS_DIG }
4573 
4574 /*!
4575  * @}
4576  */ /* end of group ANADIG_LDO_SNVS_DIG_Peripheral_Access_Layer */
4577 
4578 
4579 /* ----------------------------------------------------------------------------
4580    -- ANADIG_MISC Peripheral Access Layer
4581    ---------------------------------------------------------------------------- */
4582 
4583 /*!
4584  * @addtogroup ANADIG_MISC_Peripheral_Access_Layer ANADIG_MISC Peripheral Access Layer
4585  * @{
4586  */
4587 
4588 /** ANADIG_MISC - Register Layout Typedef */
4589 typedef struct {
4590        uint8_t RESERVED_0[2048];
4591   __I  uint32_t MISC_DIFPROG;                      /**< Chip Silicon Version Register, offset: 0x800 */
4592        uint8_t RESERVED_1[28];
4593   __IO uint32_t VDDSOC_AI_CTRL;                    /**< VDDSOC_AI_CTRL_REGISTER, offset: 0x820 */
4594        uint8_t RESERVED_2[12];
4595   __IO uint32_t VDDSOC_AI_WDATA;                   /**< VDDSOC_AI_WDATA_REGISTER, offset: 0x830 */
4596        uint8_t RESERVED_3[12];
4597   __I  uint32_t VDDSOC_AI_RDATA;                   /**< VDDSOC_AI_RDATA_REGISTER, offset: 0x840 */
4598        uint8_t RESERVED_4[12];
4599   __IO uint32_t VDDSOC2PLL_AI_CTRL_1G;             /**< VDDSOC2PLL_AI_CTRL_1G_REGISTER, offset: 0x850 */
4600        uint8_t RESERVED_5[12];
4601   __IO uint32_t VDDSOC2PLL_AI_WDATA_1G;            /**< VDDSOC2PLL_AI_WDATA_1G_REGISTER, offset: 0x860 */
4602        uint8_t RESERVED_6[12];
4603   __I  uint32_t VDDSOC2PLL_AI_RDATA_1G;            /**< VDDSOC2PLL_AI_RDATA_1G_REGISTER, offset: 0x870 */
4604        uint8_t RESERVED_7[12];
4605   __IO uint32_t VDDSOC2PLL_AI_CTRL_AUDIO;          /**< VDDSOC_AI_CTRL_AUDIO_REGISTER, offset: 0x880 */
4606        uint8_t RESERVED_8[12];
4607   __IO uint32_t VDDSOC2PLL_AI_WDATA_AUDIO;         /**< VDDSOC_AI_WDATA_AUDIO_REGISTER, offset: 0x890 */
4608        uint8_t RESERVED_9[12];
4609   __I  uint32_t VDDSOC2PLL_AI_RDATA_AUDIO;         /**< VDDSOC2PLL_AI_RDATA_REGISTER, offset: 0x8A0 */
4610        uint8_t RESERVED_10[12];
4611   __IO uint32_t VDDSOC2PLL_AI_CTRL_VIDEO;          /**< VDDSOC2PLL_AI_CTRL_VIDEO_REGISTER, offset: 0x8B0 */
4612        uint8_t RESERVED_11[12];
4613   __IO uint32_t VDDSOC2PLL_AI_WDATA_VIDEO;         /**< VDDSOC2PLL_AI_WDATA_VIDEO_REGISTER, offset: 0x8C0 */
4614        uint8_t RESERVED_12[12];
4615   __I  uint32_t VDDSOC2PLL_AI_RDATA_VIDEO;         /**< VDDSOC2PLL_AI_RDATA_VIDEO_REGISTER, offset: 0x8D0 */
4616        uint8_t RESERVED_13[12];
4617   __IO uint32_t VDDLPSR_AI_CTRL;                   /**< VDDSOC_AI_CTRL_REGISTER, offset: 0x8E0 */
4618        uint8_t RESERVED_14[12];
4619   __IO uint32_t VDDLPSR_AI_WDATA;                  /**< VDDLPSR_AI_WDATA_REGISTER, offset: 0x8F0 */
4620        uint8_t RESERVED_15[12];
4621   __I  uint32_t VDDLPSR_AI_RDATA_REFTOP;           /**< VDDLPSR_AI_RDATA_REFTOP_REGISTER, offset: 0x900 */
4622        uint8_t RESERVED_16[12];
4623   __I  uint32_t VDDLPSR_AI_RDATA_TMPSNS;           /**< VDDLPSR_AI_RDATA_TMPSNS_REGISTER, offset: 0x910 */
4624        uint8_t RESERVED_17[12];
4625   __IO uint32_t VDDLPSR_AI400M_CTRL;               /**< VDDLPSR_AI400M_CTRL_REGISTER, offset: 0x920 */
4626        uint8_t RESERVED_18[12];
4627   __IO uint32_t VDDLPSR_AI400M_WDATA;              /**< VDDLPSR_AI400M_WDATA_REGISTER, offset: 0x930 */
4628        uint8_t RESERVED_19[12];
4629   __I  uint32_t VDDLPSR_AI400M_RDATA;              /**< VDDLPSR_AI400M_RDATA_REGISTER, offset: 0x940 */
4630 } ANADIG_MISC_Type;
4631 
4632 /* ----------------------------------------------------------------------------
4633    -- ANADIG_MISC Register Masks
4634    ---------------------------------------------------------------------------- */
4635 
4636 /*!
4637  * @addtogroup ANADIG_MISC_Register_Masks ANADIG_MISC Register Masks
4638  * @{
4639  */
4640 
4641 /*! @name MISC_DIFPROG - Chip Silicon Version Register */
4642 /*! @{ */
4643 
4644 #define ANADIG_MISC_MISC_DIFPROG_CHIPID_MASK     (0xFFFFFFFFU)
4645 #define ANADIG_MISC_MISC_DIFPROG_CHIPID_SHIFT    (0U)
4646 /*! CHIPID - Chip ID
4647  */
4648 #define ANADIG_MISC_MISC_DIFPROG_CHIPID(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_MISC_DIFPROG_CHIPID_SHIFT)) & ANADIG_MISC_MISC_DIFPROG_CHIPID_MASK)
4649 /*! @} */
4650 
4651 /*! @name VDDSOC_AI_CTRL - VDDSOC_AI_CTRL_REGISTER */
4652 /*! @{ */
4653 
4654 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AI_ADDR_MASK (0xFFU)
4655 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AI_ADDR_SHIFT (0U)
4656 /*! VDDSOC_AI_ADDR - VDDSOC_AI_ADDR
4657  */
4658 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AI_ADDR(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AI_ADDR_SHIFT)) & ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AI_ADDR_MASK)
4659 
4660 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AIRWB_MASK (0x10000U)
4661 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AIRWB_SHIFT (16U)
4662 /*! VDDSOC_AIRWB - VDDSOC_AIRWB
4663  */
4664 #define ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AIRWB(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AIRWB_SHIFT)) & ANADIG_MISC_VDDSOC_AI_CTRL_VDDSOC_AIRWB_MASK)
4665 /*! @} */
4666 
4667 /*! @name VDDSOC_AI_WDATA - VDDSOC_AI_WDATA_REGISTER */
4668 /*! @{ */
4669 
4670 #define ANADIG_MISC_VDDSOC_AI_WDATA_VDDSOC_AI_WDATA_MASK (0xFFFFFFFFU)
4671 #define ANADIG_MISC_VDDSOC_AI_WDATA_VDDSOC_AI_WDATA_SHIFT (0U)
4672 /*! VDDSOC_AI_WDATA - VDDSOC_AI_WDATA
4673  */
4674 #define ANADIG_MISC_VDDSOC_AI_WDATA_VDDSOC_AI_WDATA(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC_AI_WDATA_VDDSOC_AI_WDATA_SHIFT)) & ANADIG_MISC_VDDSOC_AI_WDATA_VDDSOC_AI_WDATA_MASK)
4675 /*! @} */
4676 
4677 /*! @name VDDSOC_AI_RDATA - VDDSOC_AI_RDATA_REGISTER */
4678 /*! @{ */
4679 
4680 #define ANADIG_MISC_VDDSOC_AI_RDATA_VDDSOC_AI_RDATA_MASK (0xFFFFFFFFU)
4681 #define ANADIG_MISC_VDDSOC_AI_RDATA_VDDSOC_AI_RDATA_SHIFT (0U)
4682 /*! VDDSOC_AI_RDATA - VDDSOC_AI_RDATA
4683  */
4684 #define ANADIG_MISC_VDDSOC_AI_RDATA_VDDSOC_AI_RDATA(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC_AI_RDATA_VDDSOC_AI_RDATA_SHIFT)) & ANADIG_MISC_VDDSOC_AI_RDATA_VDDSOC_AI_RDATA_MASK)
4685 /*! @} */
4686 
4687 /*! @name VDDSOC2PLL_AI_CTRL_1G - VDDSOC2PLL_AI_CTRL_1G_REGISTER */
4688 /*! @{ */
4689 
4690 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIADDR_1G_MASK (0xFFU)
4691 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIADDR_1G_SHIFT (0U)
4692 /*! VDDSOC2PLL_AIADDR_1G - VDDSOC2PLL_AIADDR_1G
4693  */
4694 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIADDR_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIADDR_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIADDR_1G_MASK)
4695 
4696 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_1G_MASK (0x100U)
4697 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_1G_SHIFT (8U)
4698 /*! VDDSOC2PLL_AITOGGLE_1G - VDDSOC2PLL_AITOGGLE_1G
4699  */
4700 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_1G_MASK)
4701 
4702 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_DONE_1G_MASK (0x200U)
4703 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_DONE_1G_SHIFT (9U)
4704 /*! VDDSOC2PLL_AITOGGLE_DONE_1G - VDDSOC2PLL_AITOGGLE_DONE_1G
4705  */
4706 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_DONE_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_DONE_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AITOGGLE_DONE_1G_MASK)
4707 
4708 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIRWB_1G_MASK (0x10000U)
4709 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIRWB_1G_SHIFT (16U)
4710 /*! VDDSOC2PLL_AIRWB_1G - VDDSOC2PLL_AIRWB_1G
4711  */
4712 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIRWB_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIRWB_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_1G_VDDSOC2PLL_AIRWB_1G_MASK)
4713 /*! @} */
4714 
4715 /*! @name VDDSOC2PLL_AI_WDATA_1G - VDDSOC2PLL_AI_WDATA_1G_REGISTER */
4716 /*! @{ */
4717 
4718 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_1G_VDDSOC2PLL_AI_WDATA_1G_MASK (0xFFFFFFFFU)
4719 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_1G_VDDSOC2PLL_AI_WDATA_1G_SHIFT (0U)
4720 /*! VDDSOC2PLL_AI_WDATA_1G - VDDSOC2PLL_AI_WDATA_1G
4721  */
4722 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_1G_VDDSOC2PLL_AI_WDATA_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_WDATA_1G_VDDSOC2PLL_AI_WDATA_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_WDATA_1G_VDDSOC2PLL_AI_WDATA_1G_MASK)
4723 /*! @} */
4724 
4725 /*! @name VDDSOC2PLL_AI_RDATA_1G - VDDSOC2PLL_AI_RDATA_1G_REGISTER */
4726 /*! @{ */
4727 
4728 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_1G_VDDSOC2PLL_AI_RDATA_1G_MASK (0xFFFFFFFFU)
4729 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_1G_VDDSOC2PLL_AI_RDATA_1G_SHIFT (0U)
4730 /*! VDDSOC2PLL_AI_RDATA_1G - VDDSOC2PLL_AI_RDATA_1G
4731  */
4732 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_1G_VDDSOC2PLL_AI_RDATA_1G(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_RDATA_1G_VDDSOC2PLL_AI_RDATA_1G_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_RDATA_1G_VDDSOC2PLL_AI_RDATA_1G_MASK)
4733 /*! @} */
4734 
4735 /*! @name VDDSOC2PLL_AI_CTRL_AUDIO - VDDSOC_AI_CTRL_AUDIO_REGISTER */
4736 /*! @{ */
4737 
4738 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AI_ADDR_AUDIO_MASK (0xFFU)
4739 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AI_ADDR_AUDIO_SHIFT (0U)
4740 /*! VDDSOC2PLL_AI_ADDR_AUDIO - VDDSOC2PLL_AI_ADDR_AUDIO
4741  */
4742 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AI_ADDR_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AI_ADDR_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AI_ADDR_AUDIO_MASK)
4743 
4744 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_AUDIO_MASK (0x100U)
4745 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_AUDIO_SHIFT (8U)
4746 /*! VDDSOC2PLL_AITOGGLE_AUDIO - VDDSOC2PLL_AITOGGLE_AUDIO
4747  */
4748 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_AUDIO_MASK)
4749 
4750 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_DONE_AUDIO_MASK (0x200U)
4751 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_DONE_AUDIO_SHIFT (9U)
4752 /*! VDDSOC2PLL_AITOGGLE_DONE_AUDIO - VDDSOC2PLL_AITOGGLE_DONE_AUDIO
4753  */
4754 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_DONE_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_DONE_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AITOGGLE_DONE_AUDIO_MASK)
4755 
4756 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AIRWB_AUDIO_MASK (0x10000U)
4757 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AIRWB_AUDIO_SHIFT (16U)
4758 /*! VDDSOC2PLL_AIRWB_AUDIO - VDDSOC_AIRWB
4759  */
4760 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AIRWB_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AIRWB_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_AUDIO_VDDSOC2PLL_AIRWB_AUDIO_MASK)
4761 /*! @} */
4762 
4763 /*! @name VDDSOC2PLL_AI_WDATA_AUDIO - VDDSOC_AI_WDATA_AUDIO_REGISTER */
4764 /*! @{ */
4765 
4766 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_AUDIO_VDDSOC2PLL_AI_WDATA_AUDIO_MASK (0xFFFFFFFFU)
4767 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_AUDIO_VDDSOC2PLL_AI_WDATA_AUDIO_SHIFT (0U)
4768 /*! VDDSOC2PLL_AI_WDATA_AUDIO - VDDSOC2PLL_AI_WDATA_AUDIO
4769  */
4770 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_AUDIO_VDDSOC2PLL_AI_WDATA_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_WDATA_AUDIO_VDDSOC2PLL_AI_WDATA_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_WDATA_AUDIO_VDDSOC2PLL_AI_WDATA_AUDIO_MASK)
4771 /*! @} */
4772 
4773 /*! @name VDDSOC2PLL_AI_RDATA_AUDIO - VDDSOC2PLL_AI_RDATA_REGISTER */
4774 /*! @{ */
4775 
4776 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_AUDIO_VDDSOC2PLL_AI_RDATA_AUDIO_MASK (0xFFFFFFFFU)
4777 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_AUDIO_VDDSOC2PLL_AI_RDATA_AUDIO_SHIFT (0U)
4778 /*! VDDSOC2PLL_AI_RDATA_AUDIO - VDDSOC2PLL_AI_RDATA_AUDIO
4779  */
4780 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_AUDIO_VDDSOC2PLL_AI_RDATA_AUDIO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_RDATA_AUDIO_VDDSOC2PLL_AI_RDATA_AUDIO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_RDATA_AUDIO_VDDSOC2PLL_AI_RDATA_AUDIO_MASK)
4781 /*! @} */
4782 
4783 /*! @name VDDSOC2PLL_AI_CTRL_VIDEO - VDDSOC2PLL_AI_CTRL_VIDEO_REGISTER */
4784 /*! @{ */
4785 
4786 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIADDR_VIDEO_MASK (0xFFU)
4787 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIADDR_VIDEO_SHIFT (0U)
4788 /*! VDDSOC2PLL_AIADDR_VIDEO - VDDSOC2PLL_AIADDR_VIDEO
4789  */
4790 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIADDR_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIADDR_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIADDR_VIDEO_MASK)
4791 
4792 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_VIDEO_MASK (0x100U)
4793 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_VIDEO_SHIFT (8U)
4794 /*! VDDSOC2PLL_AITOGGLE_VIDEO - VDDSOC2PLL_AITOGGLE_VIDEO
4795  */
4796 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_VIDEO_MASK)
4797 
4798 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_DONE_VIDEO_MASK (0x200U)
4799 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_DONE_VIDEO_SHIFT (9U)
4800 /*! VDDSOC2PLL_AITOGGLE_DONE_VIDEO - VDDSOC2PLL_AITOGGLE_DONE_VIDEO
4801  */
4802 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_DONE_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_DONE_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AITOGGLE_DONE_VIDEO_MASK)
4803 
4804 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIRWB_VIDEO_MASK (0x10000U)
4805 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIRWB_VIDEO_SHIFT (16U)
4806 /*! VDDSOC2PLL_AIRWB_VIDEO - VDDSOC2PLL_AIRWB_VIDEO
4807  */
4808 #define ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIRWB_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIRWB_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_CTRL_VIDEO_VDDSOC2PLL_AIRWB_VIDEO_MASK)
4809 /*! @} */
4810 
4811 /*! @name VDDSOC2PLL_AI_WDATA_VIDEO - VDDSOC2PLL_AI_WDATA_VIDEO_REGISTER */
4812 /*! @{ */
4813 
4814 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_VIDEO_VDDSOC2PLL_AI_WDATA_VIDEO_MASK (0xFFFFFFFFU)
4815 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_VIDEO_VDDSOC2PLL_AI_WDATA_VIDEO_SHIFT (0U)
4816 /*! VDDSOC2PLL_AI_WDATA_VIDEO - VDDSOC2PLL_AI_WDATA_VIDEO
4817  */
4818 #define ANADIG_MISC_VDDSOC2PLL_AI_WDATA_VIDEO_VDDSOC2PLL_AI_WDATA_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_WDATA_VIDEO_VDDSOC2PLL_AI_WDATA_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_WDATA_VIDEO_VDDSOC2PLL_AI_WDATA_VIDEO_MASK)
4819 /*! @} */
4820 
4821 /*! @name VDDSOC2PLL_AI_RDATA_VIDEO - VDDSOC2PLL_AI_RDATA_VIDEO_REGISTER */
4822 /*! @{ */
4823 
4824 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_VIDEO_VDDSOC2PLL_AI_RDATA_VIDEO_MASK (0xFFFFFFFFU)
4825 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_VIDEO_VDDSOC2PLL_AI_RDATA_VIDEO_SHIFT (0U)
4826 /*! VDDSOC2PLL_AI_RDATA_VIDEO - VDDSOC2PLL_AI_RDATA_VIDEO
4827  */
4828 #define ANADIG_MISC_VDDSOC2PLL_AI_RDATA_VIDEO_VDDSOC2PLL_AI_RDATA_VIDEO(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDSOC2PLL_AI_RDATA_VIDEO_VDDSOC2PLL_AI_RDATA_VIDEO_SHIFT)) & ANADIG_MISC_VDDSOC2PLL_AI_RDATA_VIDEO_VDDSOC2PLL_AI_RDATA_VIDEO_MASK)
4829 /*! @} */
4830 
4831 /*! @name VDDLPSR_AI_CTRL - VDDSOC_AI_CTRL_REGISTER */
4832 /*! @{ */
4833 
4834 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AI_ADDR_MASK (0xFFU)
4835 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AI_ADDR_SHIFT (0U)
4836 /*! VDDLPSR_AI_ADDR - VDDLPSR_AI_ADDR
4837  */
4838 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AI_ADDR(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AI_ADDR_SHIFT)) & ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AI_ADDR_MASK)
4839 
4840 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AIRWB_MASK (0x10000U)
4841 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AIRWB_SHIFT (16U)
4842 /*! VDDLPSR_AIRWB - VDDLPSR_AIRWB
4843  */
4844 #define ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AIRWB(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AIRWB_SHIFT)) & ANADIG_MISC_VDDLPSR_AI_CTRL_VDDLPSR_AIRWB_MASK)
4845 /*! @} */
4846 
4847 /*! @name VDDLPSR_AI_WDATA - VDDLPSR_AI_WDATA_REGISTER */
4848 /*! @{ */
4849 
4850 #define ANADIG_MISC_VDDLPSR_AI_WDATA_VDDLPSR_AI_WDATA_MASK (0xFFFFFFFFU)
4851 #define ANADIG_MISC_VDDLPSR_AI_WDATA_VDDLPSR_AI_WDATA_SHIFT (0U)
4852 /*! VDDLPSR_AI_WDATA - VDD_LPSR_AI_WDATA
4853  */
4854 #define ANADIG_MISC_VDDLPSR_AI_WDATA_VDDLPSR_AI_WDATA(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI_WDATA_VDDLPSR_AI_WDATA_SHIFT)) & ANADIG_MISC_VDDLPSR_AI_WDATA_VDDLPSR_AI_WDATA_MASK)
4855 /*! @} */
4856 
4857 /*! @name VDDLPSR_AI_RDATA_REFTOP - VDDLPSR_AI_RDATA_REFTOP_REGISTER */
4858 /*! @{ */
4859 
4860 #define ANADIG_MISC_VDDLPSR_AI_RDATA_REFTOP_VDDLPSR_AI_RDATA_REFTOP_MASK (0xFFFFFFFFU)
4861 #define ANADIG_MISC_VDDLPSR_AI_RDATA_REFTOP_VDDLPSR_AI_RDATA_REFTOP_SHIFT (0U)
4862 /*! VDDLPSR_AI_RDATA_REFTOP - VDDLPSR_AI_RDATA_REFTOP
4863  */
4864 #define ANADIG_MISC_VDDLPSR_AI_RDATA_REFTOP_VDDLPSR_AI_RDATA_REFTOP(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI_RDATA_REFTOP_VDDLPSR_AI_RDATA_REFTOP_SHIFT)) & ANADIG_MISC_VDDLPSR_AI_RDATA_REFTOP_VDDLPSR_AI_RDATA_REFTOP_MASK)
4865 /*! @} */
4866 
4867 /*! @name VDDLPSR_AI_RDATA_TMPSNS - VDDLPSR_AI_RDATA_TMPSNS_REGISTER */
4868 /*! @{ */
4869 
4870 #define ANADIG_MISC_VDDLPSR_AI_RDATA_TMPSNS_VDDLPSR_AI_RDATA_TMPSNS_MASK (0xFFFFFFFFU)
4871 #define ANADIG_MISC_VDDLPSR_AI_RDATA_TMPSNS_VDDLPSR_AI_RDATA_TMPSNS_SHIFT (0U)
4872 /*! VDDLPSR_AI_RDATA_TMPSNS - VDDLPSR_AI_RDATA_TMPSNS
4873  */
4874 #define ANADIG_MISC_VDDLPSR_AI_RDATA_TMPSNS_VDDLPSR_AI_RDATA_TMPSNS(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI_RDATA_TMPSNS_VDDLPSR_AI_RDATA_TMPSNS_SHIFT)) & ANADIG_MISC_VDDLPSR_AI_RDATA_TMPSNS_VDDLPSR_AI_RDATA_TMPSNS_MASK)
4875 /*! @} */
4876 
4877 /*! @name VDDLPSR_AI400M_CTRL - VDDLPSR_AI400M_CTRL_REGISTER */
4878 /*! @{ */
4879 
4880 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_ADDR_MASK (0xFFU)
4881 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_ADDR_SHIFT (0U)
4882 /*! VDDLPSR_AI400M_ADDR - VDDLPSR_AI400M_ADDR
4883  */
4884 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_ADDR(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_ADDR_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_ADDR_MASK)
4885 
4886 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_400M_MASK (0x100U)
4887 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_400M_SHIFT (8U)
4888 /*! VDDLPSR_AITOGGLE_400M - VDDLPSR_AITOGGLE_400M
4889  */
4890 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_400M(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_400M_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_400M_MASK)
4891 
4892 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_DONE_400M_MASK (0x200U)
4893 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_DONE_400M_SHIFT (9U)
4894 /*! VDDLPSR_AITOGGLE_DONE_400M - VDDLPSR_AITOGGLE_DONE_400M
4895  */
4896 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_DONE_400M(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_DONE_400M_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AITOGGLE_DONE_400M_MASK)
4897 
4898 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_RWB_MASK (0x10000U)
4899 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_RWB_SHIFT (16U)
4900 /*! VDDLPSR_AI400M_RWB - VDDLPSR_AI400M_RWB
4901  */
4902 #define ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_RWB(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_RWB_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_CTRL_VDDLPSR_AI400M_RWB_MASK)
4903 /*! @} */
4904 
4905 /*! @name VDDLPSR_AI400M_WDATA - VDDLPSR_AI400M_WDATA_REGISTER */
4906 /*! @{ */
4907 
4908 #define ANADIG_MISC_VDDLPSR_AI400M_WDATA_VDDLPSR_AI400M_WDATA_MASK (0xFFFFFFFFU)
4909 #define ANADIG_MISC_VDDLPSR_AI400M_WDATA_VDDLPSR_AI400M_WDATA_SHIFT (0U)
4910 /*! VDDLPSR_AI400M_WDATA - VDDLPSR_AI400M_WDATA
4911  */
4912 #define ANADIG_MISC_VDDLPSR_AI400M_WDATA_VDDLPSR_AI400M_WDATA(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_WDATA_VDDLPSR_AI400M_WDATA_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_WDATA_VDDLPSR_AI400M_WDATA_MASK)
4913 /*! @} */
4914 
4915 /*! @name VDDLPSR_AI400M_RDATA - VDDLPSR_AI400M_RDATA_REGISTER */
4916 /*! @{ */
4917 
4918 #define ANADIG_MISC_VDDLPSR_AI400M_RDATA_VDDLPSR_AI400M_RDATA_MASK (0xFFFFFFFFU)
4919 #define ANADIG_MISC_VDDLPSR_AI400M_RDATA_VDDLPSR_AI400M_RDATA_SHIFT (0U)
4920 /*! VDDLPSR_AI400M_RDATA - VDDLPSR_AI400M_RDATA
4921  */
4922 #define ANADIG_MISC_VDDLPSR_AI400M_RDATA_VDDLPSR_AI400M_RDATA(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_MISC_VDDLPSR_AI400M_RDATA_VDDLPSR_AI400M_RDATA_SHIFT)) & ANADIG_MISC_VDDLPSR_AI400M_RDATA_VDDLPSR_AI400M_RDATA_MASK)
4923 /*! @} */
4924 
4925 
4926 /*!
4927  * @}
4928  */ /* end of group ANADIG_MISC_Register_Masks */
4929 
4930 
4931 /* ANADIG_MISC - Peripheral instance base addresses */
4932 /** Peripheral ANADIG_MISC base address */
4933 #define ANADIG_MISC_BASE                         (0x40C84000u)
4934 /** Peripheral ANADIG_MISC base pointer */
4935 #define ANADIG_MISC                              ((ANADIG_MISC_Type *)ANADIG_MISC_BASE)
4936 /** Array initializer of ANADIG_MISC peripheral base addresses */
4937 #define ANADIG_MISC_BASE_ADDRS                   { ANADIG_MISC_BASE }
4938 /** Array initializer of ANADIG_MISC peripheral base pointers */
4939 #define ANADIG_MISC_BASE_PTRS                    { ANADIG_MISC }
4940 
4941 /*!
4942  * @}
4943  */ /* end of group ANADIG_MISC_Peripheral_Access_Layer */
4944 
4945 
4946 /* ----------------------------------------------------------------------------
4947    -- ANADIG_OSC Peripheral Access Layer
4948    ---------------------------------------------------------------------------- */
4949 
4950 /*!
4951  * @addtogroup ANADIG_OSC_Peripheral_Access_Layer ANADIG_OSC Peripheral Access Layer
4952  * @{
4953  */
4954 
4955 /** ANADIG_OSC - Register Layout Typedef */
4956 typedef struct {
4957        uint8_t RESERVED_0[16];
4958   __IO uint32_t OSC_48M_CTRL;                      /**< 48MHz RCOSC Control Register, offset: 0x10 */
4959        uint8_t RESERVED_1[12];
4960   __IO uint32_t OSC_24M_CTRL;                      /**< 24MHz OSC Control Register, offset: 0x20 */
4961        uint8_t RESERVED_2[28];
4962   __I  uint32_t OSC_400M_CTRL0;                    /**< 400MHz RCOSC Control0 Register, offset: 0x40 */
4963        uint8_t RESERVED_3[12];
4964   __IO uint32_t OSC_400M_CTRL1;                    /**< 400MHz RCOSC Control1 Register, offset: 0x50 */
4965        uint8_t RESERVED_4[12];
4966   __IO uint32_t OSC_400M_CTRL2;                    /**< 400MHz RCOSC Control2 Register, offset: 0x60 */
4967        uint8_t RESERVED_5[92];
4968   __IO uint32_t OSC_16M_CTRL;                      /**< 16MHz RCOSC Control Register, offset: 0xC0 */
4969 } ANADIG_OSC_Type;
4970 
4971 /* ----------------------------------------------------------------------------
4972    -- ANADIG_OSC Register Masks
4973    ---------------------------------------------------------------------------- */
4974 
4975 /*!
4976  * @addtogroup ANADIG_OSC_Register_Masks ANADIG_OSC Register Masks
4977  * @{
4978  */
4979 
4980 /*! @name OSC_48M_CTRL - 48MHz RCOSC Control Register */
4981 /*! @{ */
4982 
4983 #define ANADIG_OSC_OSC_48M_CTRL_TEN_MASK         (0x2U)
4984 #define ANADIG_OSC_OSC_48M_CTRL_TEN_SHIFT        (1U)
4985 /*! TEN - 48MHz RCOSC Enable
4986  *  0b0..Power down
4987  *  0b1..Power up
4988  */
4989 #define ANADIG_OSC_OSC_48M_CTRL_TEN(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_48M_CTRL_TEN_SHIFT)) & ANADIG_OSC_OSC_48M_CTRL_TEN_MASK)
4990 
4991 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_EN_MASK (0x1000000U)
4992 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_EN_SHIFT (24U)
4993 /*! RC_48M_DIV2_EN - RCOSC_48M_DIV2 Enable
4994  *  0b0..Disable
4995  *  0b1..Enable
4996  */
4997 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_EN_SHIFT)) & ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_EN_MASK)
4998 
4999 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_CONTROL_MODE_MASK (0x40000000U)
5000 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_CONTROL_MODE_SHIFT (30U)
5001 /*! RC_48M_DIV2_CONTROL_MODE - RCOSC_48M_DIV2 Control Mode
5002  *  0b0..Software mode (default)
5003  *  0b1..GPC mode (Setpoint)
5004  */
5005 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_CONTROL_MODE_SHIFT)) & ANADIG_OSC_OSC_48M_CTRL_RC_48M_DIV2_CONTROL_MODE_MASK)
5006 
5007 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_CONTROL_MODE_MASK (0x80000000U)
5008 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_CONTROL_MODE_SHIFT (31U)
5009 /*! RC_48M_CONTROL_MODE - 48MHz RCOSC Control Mode
5010  *  0b0..Software mode (default)
5011  *  0b1..GPC mode (Setpoint)
5012  */
5013 #define ANADIG_OSC_OSC_48M_CTRL_RC_48M_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_48M_CTRL_RC_48M_CONTROL_MODE_SHIFT)) & ANADIG_OSC_OSC_48M_CTRL_RC_48M_CONTROL_MODE_MASK)
5014 /*! @} */
5015 
5016 /*! @name OSC_24M_CTRL - 24MHz OSC Control Register */
5017 /*! @{ */
5018 
5019 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_CLK_MASK  (0x1U)
5020 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_CLK_SHIFT (0U)
5021 /*! BYPASS_CLK - 24MHz OSC Bypass Clock
5022  */
5023 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_CLK(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_BYPASS_CLK_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_BYPASS_CLK_MASK)
5024 
5025 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_EN_MASK   (0x2U)
5026 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_EN_SHIFT  (1U)
5027 /*! BYPASS_EN - 24MHz OSC Bypass Enable
5028  *  0b0..Disable
5029  *  0b1..Enable
5030  */
5031 #define ANADIG_OSC_OSC_24M_CTRL_BYPASS_EN(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_BYPASS_EN_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_BYPASS_EN_MASK)
5032 
5033 #define ANADIG_OSC_OSC_24M_CTRL_LP_EN_MASK       (0x4U)
5034 #define ANADIG_OSC_OSC_24M_CTRL_LP_EN_SHIFT      (2U)
5035 /*! LP_EN - 24MHz OSC Low-Power Mode Enable
5036  *  0b0..High Gain mode (HP)
5037  *  0b1..Low-power mode (LP)
5038  */
5039 #define ANADIG_OSC_OSC_24M_CTRL_LP_EN(x)         (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_LP_EN_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_LP_EN_MASK)
5040 
5041 #define ANADIG_OSC_OSC_24M_CTRL_OSC_COMP_MODE_MASK (0x8U)
5042 #define ANADIG_OSC_OSC_24M_CTRL_OSC_COMP_MODE_SHIFT (3U)
5043 /*! OSC_COMP_MODE - 24MHz OSC Comparator Mode
5044  *  0b0..Single-ended mode (default)
5045  *  0b1..Differential mode (test mode)
5046  */
5047 #define ANADIG_OSC_OSC_24M_CTRL_OSC_COMP_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_OSC_COMP_MODE_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_OSC_COMP_MODE_MASK)
5048 
5049 #define ANADIG_OSC_OSC_24M_CTRL_OSC_EN_MASK      (0x10U)
5050 #define ANADIG_OSC_OSC_24M_CTRL_OSC_EN_SHIFT     (4U)
5051 /*! OSC_EN - 24MHz OSC Enable
5052  *  0b0..Disable
5053  *  0b1..Enable
5054  */
5055 #define ANADIG_OSC_OSC_24M_CTRL_OSC_EN(x)        (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_OSC_EN_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_OSC_EN_MASK)
5056 
5057 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_GATE_MASK (0x80U)
5058 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_GATE_SHIFT (7U)
5059 /*! OSC_24M_GATE - 24MHz OSC Gate Control
5060  *  0b0..Not Gated
5061  *  0b1..Gated
5062  */
5063 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_GATE(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_OSC_24M_GATE_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_OSC_24M_GATE_MASK)
5064 
5065 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_STABLE_MASK (0x40000000U)
5066 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_STABLE_SHIFT (30U)
5067 /*! OSC_24M_STABLE - 24MHz OSC Stable
5068  *  0b0..Not Stable
5069  *  0b1..Stable
5070  */
5071 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_OSC_24M_STABLE_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_OSC_24M_STABLE_MASK)
5072 
5073 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_CONTROL_MODE_MASK (0x80000000U)
5074 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_CONTROL_MODE_SHIFT (31U)
5075 /*! OSC_24M_CONTROL_MODE - 24MHz OSC Control Mode
5076  *  0b0..Software mode (default)
5077  *  0b1..GPC mode (Setpoint)
5078  */
5079 #define ANADIG_OSC_OSC_24M_CTRL_OSC_24M_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_24M_CTRL_OSC_24M_CONTROL_MODE_SHIFT)) & ANADIG_OSC_OSC_24M_CTRL_OSC_24M_CONTROL_MODE_MASK)
5080 /*! @} */
5081 
5082 /*! @name OSC_400M_CTRL0 - 400MHz RCOSC Control0 Register */
5083 /*! @{ */
5084 
5085 #define ANADIG_OSC_OSC_400M_CTRL0_OSC400M_AI_BUSY_MASK (0x80000000U)
5086 #define ANADIG_OSC_OSC_400M_CTRL0_OSC400M_AI_BUSY_SHIFT (31U)
5087 /*! OSC400M_AI_BUSY - 400MHz OSC AI BUSY
5088  */
5089 #define ANADIG_OSC_OSC_400M_CTRL0_OSC400M_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL0_OSC400M_AI_BUSY_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL0_OSC400M_AI_BUSY_MASK)
5090 /*! @} */
5091 
5092 /*! @name OSC_400M_CTRL1 - 400MHz RCOSC Control1 Register */
5093 /*! @{ */
5094 
5095 #define ANADIG_OSC_OSC_400M_CTRL1_PWD_MASK       (0x1U)
5096 #define ANADIG_OSC_OSC_400M_CTRL1_PWD_SHIFT      (0U)
5097 /*! PWD - Power down control for 400MHz RCOSC
5098  *  0b0..No Power down
5099  *  0b1..Power down
5100  */
5101 #define ANADIG_OSC_OSC_400M_CTRL1_PWD(x)         (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL1_PWD_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL1_PWD_MASK)
5102 
5103 #define ANADIG_OSC_OSC_400M_CTRL1_CLKGATE_400MEG_MASK (0x2U)
5104 #define ANADIG_OSC_OSC_400M_CTRL1_CLKGATE_400MEG_SHIFT (1U)
5105 /*! CLKGATE_400MEG - Clock gate control for 400MHz RCOSC
5106  *  0b0..Not Gated
5107  *  0b1..Gated
5108  */
5109 #define ANADIG_OSC_OSC_400M_CTRL1_CLKGATE_400MEG(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL1_CLKGATE_400MEG_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL1_CLKGATE_400MEG_MASK)
5110 
5111 #define ANADIG_OSC_OSC_400M_CTRL1_RC_400M_CONTROL_MODE_MASK (0x80000000U)
5112 #define ANADIG_OSC_OSC_400M_CTRL1_RC_400M_CONTROL_MODE_SHIFT (31U)
5113 /*! RC_400M_CONTROL_MODE - 400MHz RCOSC Control mode
5114  *  0b0..Software mode (default)
5115  *  0b1..GPC mode (Setpoint)
5116  */
5117 #define ANADIG_OSC_OSC_400M_CTRL1_RC_400M_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL1_RC_400M_CONTROL_MODE_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL1_RC_400M_CONTROL_MODE_MASK)
5118 /*! @} */
5119 
5120 /*! @name OSC_400M_CTRL2 - 400MHz RCOSC Control2 Register */
5121 /*! @{ */
5122 
5123 #define ANADIG_OSC_OSC_400M_CTRL2_ENABLE_CLK_MASK (0x1U)
5124 #define ANADIG_OSC_OSC_400M_CTRL2_ENABLE_CLK_SHIFT (0U)
5125 /*! ENABLE_CLK - Clock enable
5126  *  0b0..Clock is disabled before entering GPC mode
5127  *  0b1..Clock is enabled before entering GPC mode
5128  */
5129 #define ANADIG_OSC_OSC_400M_CTRL2_ENABLE_CLK(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL2_ENABLE_CLK_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL2_ENABLE_CLK_MASK)
5130 
5131 #define ANADIG_OSC_OSC_400M_CTRL2_TUNE_BYP_MASK  (0x400U)
5132 #define ANADIG_OSC_OSC_400M_CTRL2_TUNE_BYP_SHIFT (10U)
5133 /*! TUNE_BYP - Bypass tuning logic
5134  *  0b0..Use the output of tuning logic to run the oscillator
5135  *  0b1..Bypass the tuning logic and use the programmed OSC_TUNE_VAL to run the oscillator
5136  */
5137 #define ANADIG_OSC_OSC_400M_CTRL2_TUNE_BYP(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL2_TUNE_BYP_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL2_TUNE_BYP_MASK)
5138 
5139 #define ANADIG_OSC_OSC_400M_CTRL2_OSC_TUNE_VAL_MASK (0xFF000000U)
5140 #define ANADIG_OSC_OSC_400M_CTRL2_OSC_TUNE_VAL_SHIFT (24U)
5141 /*! OSC_TUNE_VAL - Oscillator Tune Value
5142  */
5143 #define ANADIG_OSC_OSC_400M_CTRL2_OSC_TUNE_VAL(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_400M_CTRL2_OSC_TUNE_VAL_SHIFT)) & ANADIG_OSC_OSC_400M_CTRL2_OSC_TUNE_VAL_MASK)
5144 /*! @} */
5145 
5146 /*! @name OSC_16M_CTRL - 16MHz RCOSC Control Register */
5147 /*! @{ */
5148 
5149 #define ANADIG_OSC_OSC_16M_CTRL_EN_IRC4M16M_MASK (0x2U)
5150 #define ANADIG_OSC_OSC_16M_CTRL_EN_IRC4M16M_SHIFT (1U)
5151 /*! EN_IRC4M16M - Enable Clock Output
5152  *  0b0..Disable
5153  *  0b1..Enable
5154  */
5155 #define ANADIG_OSC_OSC_16M_CTRL_EN_IRC4M16M(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_16M_CTRL_EN_IRC4M16M_SHIFT)) & ANADIG_OSC_OSC_16M_CTRL_EN_IRC4M16M_MASK)
5156 
5157 #define ANADIG_OSC_OSC_16M_CTRL_EN_POWER_SAVE_MASK (0x8U)
5158 #define ANADIG_OSC_OSC_16M_CTRL_EN_POWER_SAVE_SHIFT (3U)
5159 /*! EN_POWER_SAVE - Power Save Enable
5160  *  0b0..Disable
5161  *  0b1..Enable
5162  */
5163 #define ANADIG_OSC_OSC_16M_CTRL_EN_POWER_SAVE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_16M_CTRL_EN_POWER_SAVE_SHIFT)) & ANADIG_OSC_OSC_16M_CTRL_EN_POWER_SAVE_MASK)
5164 
5165 #define ANADIG_OSC_OSC_16M_CTRL_SOURCE_SEL_16M_MASK (0x100U)
5166 #define ANADIG_OSC_OSC_16M_CTRL_SOURCE_SEL_16M_SHIFT (8U)
5167 /*! SOURCE_SEL_16M - Source select
5168  *  0b0..16MHz Oscillator
5169  *  0b1..24MHz Oscillator
5170  */
5171 #define ANADIG_OSC_OSC_16M_CTRL_SOURCE_SEL_16M(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_16M_CTRL_SOURCE_SEL_16M_SHIFT)) & ANADIG_OSC_OSC_16M_CTRL_SOURCE_SEL_16M_MASK)
5172 
5173 #define ANADIG_OSC_OSC_16M_CTRL_RC_16M_CONTROL_MODE_MASK (0x80000000U)
5174 #define ANADIG_OSC_OSC_16M_CTRL_RC_16M_CONTROL_MODE_SHIFT (31U)
5175 /*! RC_16M_CONTROL_MODE - Control Mode for 16MHz Oscillator
5176  *  0b0..Software mode (default)
5177  *  0b1..GPC mode (Setpoint)
5178  */
5179 #define ANADIG_OSC_OSC_16M_CTRL_RC_16M_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_OSC_OSC_16M_CTRL_RC_16M_CONTROL_MODE_SHIFT)) & ANADIG_OSC_OSC_16M_CTRL_RC_16M_CONTROL_MODE_MASK)
5180 /*! @} */
5181 
5182 
5183 /*!
5184  * @}
5185  */ /* end of group ANADIG_OSC_Register_Masks */
5186 
5187 
5188 /* ANADIG_OSC - Peripheral instance base addresses */
5189 /** Peripheral ANADIG_OSC base address */
5190 #define ANADIG_OSC_BASE                          (0x40C84000u)
5191 /** Peripheral ANADIG_OSC base pointer */
5192 #define ANADIG_OSC                               ((ANADIG_OSC_Type *)ANADIG_OSC_BASE)
5193 /** Array initializer of ANADIG_OSC peripheral base addresses */
5194 #define ANADIG_OSC_BASE_ADDRS                    { ANADIG_OSC_BASE }
5195 /** Array initializer of ANADIG_OSC peripheral base pointers */
5196 #define ANADIG_OSC_BASE_PTRS                     { ANADIG_OSC }
5197 
5198 /*!
5199  * @}
5200  */ /* end of group ANADIG_OSC_Peripheral_Access_Layer */
5201 
5202 
5203 /* ----------------------------------------------------------------------------
5204    -- ANADIG_PLL Peripheral Access Layer
5205    ---------------------------------------------------------------------------- */
5206 
5207 /*!
5208  * @addtogroup ANADIG_PLL_Peripheral_Access_Layer ANADIG_PLL Peripheral Access Layer
5209  * @{
5210  */
5211 
5212 /** ANADIG_PLL - Register Layout Typedef */
5213 typedef struct {
5214        uint8_t RESERVED_0[512];
5215   __IO uint32_t ARM_PLL_CTRL;                      /**< ARM_PLL_CTRL_REGISTER, offset: 0x200 */
5216        uint8_t RESERVED_1[12];
5217   __IO uint32_t SYS_PLL3_CTRL;                     /**< SYS_PLL3_CTRL_REGISTER, offset: 0x210 */
5218        uint8_t RESERVED_2[12];
5219   __IO uint32_t SYS_PLL3_UPDATE;                   /**< SYS_PLL3_UPDATE_REGISTER, offset: 0x220 */
5220        uint8_t RESERVED_3[12];
5221   __IO uint32_t SYS_PLL3_PFD;                      /**< SYS_PLL3_PFD_REGISTER, offset: 0x230 */
5222        uint8_t RESERVED_4[12];
5223   __IO uint32_t SYS_PLL2_CTRL;                     /**< SYS_PLL2_CTRL_REGISTER, offset: 0x240 */
5224        uint8_t RESERVED_5[12];
5225   __IO uint32_t SYS_PLL2_UPDATE;                   /**< SYS_PLL2_UPDATE_REGISTER, offset: 0x250 */
5226        uint8_t RESERVED_6[12];
5227   __IO uint32_t SYS_PLL2_SS;                       /**< SYS_PLL2_SS_REGISTER, offset: 0x260 */
5228        uint8_t RESERVED_7[12];
5229   __IO uint32_t SYS_PLL2_PFD;                      /**< SYS_PLL2_PFD_REGISTER, offset: 0x270 */
5230        uint8_t RESERVED_8[44];
5231   __IO uint32_t SYS_PLL2_MFD;                      /**< SYS_PLL2_MFD_REGISTER, offset: 0x2A0 */
5232        uint8_t RESERVED_9[12];
5233   __IO uint32_t SYS_PLL1_SS;                       /**< SYS_PLL1_SS_REGISTER, offset: 0x2B0 */
5234        uint8_t RESERVED_10[12];
5235   __IO uint32_t SYS_PLL1_CTRL;                     /**< SYS_PLL1_CTRL_REGISTER, offset: 0x2C0 */
5236        uint8_t RESERVED_11[12];
5237   __IO uint32_t SYS_PLL1_DENOMINATOR;              /**< SYS_PLL1_DENOMINATOR_REGISTER, offset: 0x2D0 */
5238        uint8_t RESERVED_12[12];
5239   __IO uint32_t SYS_PLL1_NUMERATOR;                /**< SYS_PLL1_NUMERATOR_REGISTER, offset: 0x2E0 */
5240        uint8_t RESERVED_13[12];
5241   __IO uint32_t SYS_PLL1_DIV_SELECT;               /**< SYS_PLL1_DIV_SELECT_REGISTER, offset: 0x2F0 */
5242        uint8_t RESERVED_14[12];
5243   __IO uint32_t PLL_AUDIO_CTRL;                    /**< PLL_AUDIO_CTRL_REGISTER, offset: 0x300 */
5244        uint8_t RESERVED_15[12];
5245   __IO uint32_t PLL_AUDIO_SS;                      /**< PLL_AUDIO_SS_REGISTER, offset: 0x310 */
5246        uint8_t RESERVED_16[12];
5247   __IO uint32_t PLL_AUDIO_DENOMINATOR;             /**< PLL_AUDIO_DENOMINATOR_REGISTER, offset: 0x320 */
5248        uint8_t RESERVED_17[12];
5249   __IO uint32_t PLL_AUDIO_NUMERATOR;               /**< PLL_AUDIO_NUMERATOR_REGISTER, offset: 0x330 */
5250        uint8_t RESERVED_18[12];
5251   __IO uint32_t PLL_AUDIO_DIV_SELECT;              /**< PLL_AUDIO_DIV_SELECT_REGISTER, offset: 0x340 */
5252        uint8_t RESERVED_19[12];
5253   __IO uint32_t PLL_VIDEO_CTRL;                    /**< PLL_VIDEO_CTRL_REGISTER, offset: 0x350 */
5254        uint8_t RESERVED_20[12];
5255   __IO uint32_t PLL_VIDEO_SS;                      /**< PLL_VIDEO_SS_REGISTER, offset: 0x360 */
5256        uint8_t RESERVED_21[12];
5257   __IO uint32_t PLL_VIDEO_DENOMINATOR;             /**< PLL_VIDEO_DENOMINATOR_REGISTER, offset: 0x370 */
5258        uint8_t RESERVED_22[12];
5259   __IO uint32_t PLL_VIDEO_NUMERATOR;               /**< PLL_VIDEO_NUMERATOR_REGISTER, offset: 0x380 */
5260        uint8_t RESERVED_23[12];
5261   __IO uint32_t PLL_VIDEO_DIV_SELECT;              /**< PLL_VIDEO_DIV_SELECT_REGISTER, offset: 0x390 */
5262 } ANADIG_PLL_Type;
5263 
5264 /* ----------------------------------------------------------------------------
5265    -- ANADIG_PLL Register Masks
5266    ---------------------------------------------------------------------------- */
5267 
5268 /*!
5269  * @addtogroup ANADIG_PLL_Register_Masks ANADIG_PLL Register Masks
5270  * @{
5271  */
5272 
5273 /*! @name ARM_PLL_CTRL - ARM_PLL_CTRL_REGISTER */
5274 /*! @{ */
5275 
5276 #define ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK  (0xFFU)
5277 #define ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_SHIFT (0U)
5278 /*! DIV_SELECT - DIV_SELECT
5279  */
5280 #define ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_DIV_SELECT_MASK)
5281 
5282 #define ANADIG_PLL_ARM_PLL_CTRL_HOLD_RING_OFF_MASK (0x1000U)
5283 #define ANADIG_PLL_ARM_PLL_CTRL_HOLD_RING_OFF_SHIFT (12U)
5284 /*! HOLD_RING_OFF - PLL Start up initialization
5285  *  0b0..Normal operation
5286  *  0b1..Initialize PLL start up
5287  */
5288 #define ANADIG_PLL_ARM_PLL_CTRL_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_HOLD_RING_OFF_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_HOLD_RING_OFF_MASK)
5289 
5290 #define ANADIG_PLL_ARM_PLL_CTRL_POWERUP_MASK     (0x2000U)
5291 #define ANADIG_PLL_ARM_PLL_CTRL_POWERUP_SHIFT    (13U)
5292 /*! POWERUP - Powers up the PLL.
5293  *  0b1..Power Up the PLL
5294  *  0b0..Power down the PLL
5295  */
5296 #define ANADIG_PLL_ARM_PLL_CTRL_POWERUP(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_POWERUP_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_POWERUP_MASK)
5297 
5298 #define ANADIG_PLL_ARM_PLL_CTRL_ENABLE_CLK_MASK  (0x4000U)
5299 #define ANADIG_PLL_ARM_PLL_CTRL_ENABLE_CLK_SHIFT (14U)
5300 /*! ENABLE_CLK - Enable the clock output.
5301  *  0b0..Disable the clock
5302  *  0b1..Enable the clock
5303  */
5304 #define ANADIG_PLL_ARM_PLL_CTRL_ENABLE_CLK(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_ENABLE_CLK_MASK)
5305 
5306 #define ANADIG_PLL_ARM_PLL_CTRL_POST_DIV_SEL_MASK (0x18000U)
5307 #define ANADIG_PLL_ARM_PLL_CTRL_POST_DIV_SEL_SHIFT (15U)
5308 /*! POST_DIV_SEL - POST_DIV_SEL
5309  *  0b00..Divide by 2
5310  *  0b01..Divide by 4
5311  *  0b10..Divide by 8
5312  *  0b11..Divide by 1
5313  */
5314 #define ANADIG_PLL_ARM_PLL_CTRL_POST_DIV_SEL(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_POST_DIV_SEL_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_POST_DIV_SEL_MASK)
5315 
5316 #define ANADIG_PLL_ARM_PLL_CTRL_BYPASS_MASK      (0x20000U)
5317 #define ANADIG_PLL_ARM_PLL_CTRL_BYPASS_SHIFT     (17U)
5318 /*! BYPASS - Bypass the pll.
5319  *  0b1..Bypass Mode
5320  *  0b0..Function mode
5321  */
5322 #define ANADIG_PLL_ARM_PLL_CTRL_BYPASS(x)        (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_BYPASS_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_BYPASS_MASK)
5323 
5324 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_STABLE_MASK (0x20000000U)
5325 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_STABLE_SHIFT (29U)
5326 /*! ARM_PLL_STABLE - ARM_PLL_STABLE
5327  *  0b1..ARM PLL is stable
5328  *  0b0..ARM PLL is not stable
5329  */
5330 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_STABLE_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_STABLE_MASK)
5331 
5332 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_GATE_MASK (0x40000000U)
5333 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_GATE_SHIFT (30U)
5334 /*! ARM_PLL_GATE - ARM_PLL_GATE
5335  *  0b1..Clock is gated
5336  *  0b0..Clock is not gated
5337  */
5338 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_GATE(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_GATE_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_GATE_MASK)
5339 
5340 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_CONTROL_MODE_MASK (0x80000000U)
5341 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_CONTROL_MODE_SHIFT (31U)
5342 /*! ARM_PLL_CONTROL_MODE - pll_arm_control_mode
5343  *  0b0..Software Mode (Default)
5344  *  0b1..GPC Mode
5345  */
5346 #define ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_CONTROL_MODE_SHIFT)) & ANADIG_PLL_ARM_PLL_CTRL_ARM_PLL_CONTROL_MODE_MASK)
5347 /*! @} */
5348 
5349 /*! @name SYS_PLL3_CTRL - SYS_PLL3_CTRL_REGISTER */
5350 /*! @{ */
5351 
5352 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_MASK (0x8U)
5353 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_SHIFT (3U)
5354 /*! SYS_PLL3_DIV2 - SYS PLL3 DIV2 gate
5355  */
5356 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_MASK)
5357 
5358 #define ANADIG_PLL_SYS_PLL3_CTRL_PLL_REG_EN_MASK (0x10U)
5359 #define ANADIG_PLL_SYS_PLL3_CTRL_PLL_REG_EN_SHIFT (4U)
5360 /*! PLL_REG_EN - Enable Internal PLL Regulator
5361  */
5362 #define ANADIG_PLL_SYS_PLL3_CTRL_PLL_REG_EN(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_PLL_REG_EN_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_PLL_REG_EN_MASK)
5363 
5364 #define ANADIG_PLL_SYS_PLL3_CTRL_HOLD_RING_OFF_MASK (0x800U)
5365 #define ANADIG_PLL_SYS_PLL3_CTRL_HOLD_RING_OFF_SHIFT (11U)
5366 /*! HOLD_RING_OFF - PLL Start up initialization
5367  *  0b0..Normal operation
5368  *  0b1..Initialize PLL start up
5369  */
5370 #define ANADIG_PLL_SYS_PLL3_CTRL_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_HOLD_RING_OFF_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_HOLD_RING_OFF_MASK)
5371 
5372 #define ANADIG_PLL_SYS_PLL3_CTRL_ENABLE_CLK_MASK (0x2000U)
5373 #define ANADIG_PLL_SYS_PLL3_CTRL_ENABLE_CLK_SHIFT (13U)
5374 /*! ENABLE_CLK - Enable the clock output.
5375  *  0b0..Disable the clock
5376  *  0b1..Enable the clock
5377  */
5378 #define ANADIG_PLL_SYS_PLL3_CTRL_ENABLE_CLK(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_ENABLE_CLK_MASK)
5379 
5380 #define ANADIG_PLL_SYS_PLL3_CTRL_BYPASS_MASK     (0x10000U)
5381 #define ANADIG_PLL_SYS_PLL3_CTRL_BYPASS_SHIFT    (16U)
5382 /*! BYPASS - BYPASS
5383  *  0b1..Bypass Mode
5384  *  0b0..Function mode
5385  */
5386 #define ANADIG_PLL_SYS_PLL3_CTRL_BYPASS(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_BYPASS_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_BYPASS_MASK)
5387 
5388 #define ANADIG_PLL_SYS_PLL3_CTRL_POWERUP_MASK    (0x200000U)
5389 #define ANADIG_PLL_SYS_PLL3_CTRL_POWERUP_SHIFT   (21U)
5390 /*! POWERUP - Powers up the PLL.
5391  *  0b1..Power Up the PLL
5392  *  0b0..Power down the PLL
5393  */
5394 #define ANADIG_PLL_SYS_PLL3_CTRL_POWERUP(x)      (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_POWERUP_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_POWERUP_MASK)
5395 
5396 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_CONTROL_MODE_MASK (0x10000000U)
5397 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_CONTROL_MODE_SHIFT (28U)
5398 /*! SYS_PLL3_DIV2_CONTROL_MODE - SYS_PLL3_DIV2_CONTROL_MODE
5399  *  0b0..Software Mode (Default)
5400  *  0b1..GPC Mode
5401  */
5402 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_DIV2_CONTROL_MODE_MASK)
5403 
5404 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_STABLE_MASK (0x20000000U)
5405 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_STABLE_SHIFT (29U)
5406 /*! SYS_PLL3_STABLE - SYS_PLL3_STABLE
5407  */
5408 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_STABLE_MASK)
5409 
5410 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_GATE_MASK (0x40000000U)
5411 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_GATE_SHIFT (30U)
5412 /*! SYS_PLL3_GATE - SYS_PLL3_GATE
5413  *  0b1..Clock is gated
5414  *  0b0..Clock is not gated
5415  */
5416 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_GATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_GATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_GATE_MASK)
5417 
5418 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_CONTROL_MODE_MASK (0x80000000U)
5419 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_CONTROL_MODE_SHIFT (31U)
5420 /*! SYS_PLL3_CONTROL_MODE - SYS_PLL3_control_mode
5421  *  0b0..Software Mode (Default)
5422  *  0b1..GPC Mode
5423  */
5424 #define ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_CTRL_SYS_PLL3_CONTROL_MODE_MASK)
5425 /*! @} */
5426 
5427 /*! @name SYS_PLL3_UPDATE - SYS_PLL3_UPDATE_REGISTER */
5428 /*! @{ */
5429 
5430 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_UPDATE_MASK (0x2U)
5431 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_UPDATE_SHIFT (1U)
5432 /*! PFD0_UPDATE - PFD0_OVERRIDE
5433  */
5434 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_UPDATE_MASK)
5435 
5436 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_UPDATE_MASK (0x4U)
5437 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_UPDATE_SHIFT (2U)
5438 /*! PFD1_UPDATE - PFD1_OVERRIDE
5439  */
5440 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_UPDATE_MASK)
5441 
5442 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD2_UPDATE_MASK (0x8U)
5443 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD2_UPDATE_SHIFT (3U)
5444 /*! PFD2_UPDATE - PFD2_OVERRIDE
5445  */
5446 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD2_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD2_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD2_UPDATE_MASK)
5447 
5448 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_UPDATE_MASK (0x10U)
5449 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_UPDATE_SHIFT (4U)
5450 /*! PFD3_UPDATE - PFD3_UPDATE
5451  */
5452 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_UPDATE_MASK)
5453 
5454 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_CONTROL_MODE_MASK (0x20U)
5455 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_CONTROL_MODE_SHIFT (5U)
5456 /*! PFD0_CONTROL_MODE - pfd0_control_mode
5457  *  0b0..Software Mode (Default)
5458  *  0b1..GPC Mode
5459  */
5460 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD0_CONTROL_MODE_MASK)
5461 
5462 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_CONTROL_MODE_MASK (0x40U)
5463 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_CONTROL_MODE_SHIFT (6U)
5464 /*! PFD1_CONTROL_MODE - pfd1_control_mode
5465  *  0b0..Software Mode (Default)
5466  *  0b1..GPC Mode
5467  */
5468 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD1_CONTROL_MODE_MASK)
5469 
5470 #define ANADIG_PLL_SYS_PLL3_UPDATE_PDF2_CONTROL_MODE_MASK (0x80U)
5471 #define ANADIG_PLL_SYS_PLL3_UPDATE_PDF2_CONTROL_MODE_SHIFT (7U)
5472 /*! PDF2_CONTROL_MODE - pdf2_control_mode
5473  *  0b0..Software Mode (Default)
5474  *  0b1..GPC Mode
5475  */
5476 #define ANADIG_PLL_SYS_PLL3_UPDATE_PDF2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PDF2_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PDF2_CONTROL_MODE_MASK)
5477 
5478 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_CONTROL_MODE_MASK (0x100U)
5479 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_CONTROL_MODE_SHIFT (8U)
5480 /*! PFD3_CONTROL_MODE - pfd3_control_mode
5481  *  0b0..Software Mode (Default)
5482  *  0b1..GPC Mode
5483  */
5484 #define ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL3_UPDATE_PFD3_CONTROL_MODE_MASK)
5485 /*! @} */
5486 
5487 /*! @name SYS_PLL3_PFD - SYS_PLL3_PFD_REGISTER */
5488 /*! @{ */
5489 
5490 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_FRAC_MASK   (0x3FU)
5491 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_FRAC_SHIFT  (0U)
5492 /*! PFD0_FRAC - PFD0_FRAC
5493  */
5494 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD0_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD0_FRAC_MASK)
5495 
5496 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_STABLE_MASK (0x40U)
5497 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_STABLE_SHIFT (6U)
5498 /*! PFD0_STABLE - PFD0_STABLE
5499  */
5500 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD0_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD0_STABLE_MASK)
5501 
5502 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_DIV1_CLKGATE_MASK (0x80U)
5503 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_DIV1_CLKGATE_SHIFT (7U)
5504 /*! PFD0_DIV1_CLKGATE - PFD0_DIV1_CLKGATE
5505  *  0b1..Fractional divider clock (reference ref_pfd0) is off (power savings
5506  *  0b0..ref_pfd0 fractional divider clock is enabled
5507  */
5508 #define ANADIG_PLL_SYS_PLL3_PFD_PFD0_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD0_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD0_DIV1_CLKGATE_MASK)
5509 
5510 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_FRAC_MASK   (0x3F00U)
5511 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_FRAC_SHIFT  (8U)
5512 /*! PFD1_FRAC - PFD1_FRAC
5513  */
5514 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD1_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD1_FRAC_MASK)
5515 
5516 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_STABLE_MASK (0x4000U)
5517 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_STABLE_SHIFT (14U)
5518 /*! PFD1_STABLE - PFD1_STABLE
5519  */
5520 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD1_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD1_STABLE_MASK)
5521 
5522 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_DIV1_CLKGATE_MASK (0x8000U)
5523 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_DIV1_CLKGATE_SHIFT (15U)
5524 /*! PFD1_DIV1_CLKGATE - PFD1_DIV1_CLKGATE
5525  *  0b1..Fractional divider clock (reference ref_pfd1) is off (power savings)
5526  *  0b0..ref_pfd1 fractional divider clock is enabled
5527  */
5528 #define ANADIG_PLL_SYS_PLL3_PFD_PFD1_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD1_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD1_DIV1_CLKGATE_MASK)
5529 
5530 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_FRAC_MASK   (0x3F0000U)
5531 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_FRAC_SHIFT  (16U)
5532 /*! PFD2_FRAC - PFD2_FRAC
5533  */
5534 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD2_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD2_FRAC_MASK)
5535 
5536 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_STABLE_MASK (0x400000U)
5537 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_STABLE_SHIFT (22U)
5538 /*! PFD2_STABLE - PFD2_STABLE
5539  */
5540 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD2_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD2_STABLE_MASK)
5541 
5542 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_DIV1_CLKGATE_MASK (0x800000U)
5543 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_DIV1_CLKGATE_SHIFT (23U)
5544 /*! PFD2_DIV1_CLKGATE - PFD2_DIV1_CLKGATE
5545  *  0b1..Fractional divider clock (reference ref_pfd2) is off (power savings)
5546  *  0b0..ref_pfd2 fractional divider clock is enabled
5547  */
5548 #define ANADIG_PLL_SYS_PLL3_PFD_PFD2_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD2_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD2_DIV1_CLKGATE_MASK)
5549 
5550 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_FRAC_MASK   (0x3F000000U)
5551 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_FRAC_SHIFT  (24U)
5552 /*! PFD3_FRAC - PFD3_FRAC
5553  */
5554 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD3_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD3_FRAC_MASK)
5555 
5556 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_STABLE_MASK (0x40000000U)
5557 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_STABLE_SHIFT (30U)
5558 /*! PFD3_STABLE - PFD3_STABLE
5559  */
5560 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD3_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD3_STABLE_MASK)
5561 
5562 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_DIV1_CLKGATE_MASK (0x80000000U)
5563 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_DIV1_CLKGATE_SHIFT (31U)
5564 /*! PFD3_DIV1_CLKGATE - PFD3_DIV1_CLKGATE
5565  *  0b1..Fractional divider clock (reference ref_pfd3) is off (power savings)
5566  *  0b0..ref_pfd3 fractional divider clock is enabled
5567  */
5568 #define ANADIG_PLL_SYS_PLL3_PFD_PFD3_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL3_PFD_PFD3_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL3_PFD_PFD3_DIV1_CLKGATE_MASK)
5569 /*! @} */
5570 
5571 /*! @name SYS_PLL2_CTRL - SYS_PLL2_CTRL_REGISTER */
5572 /*! @{ */
5573 
5574 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_REG_EN_MASK (0x8U)
5575 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_REG_EN_SHIFT (3U)
5576 /*! PLL_REG_EN - Enable Internal PLL Regulator
5577  */
5578 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_REG_EN(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_PLL_REG_EN_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_PLL_REG_EN_MASK)
5579 
5580 #define ANADIG_PLL_SYS_PLL2_CTRL_HOLD_RING_OFF_MASK (0x800U)
5581 #define ANADIG_PLL_SYS_PLL2_CTRL_HOLD_RING_OFF_SHIFT (11U)
5582 /*! HOLD_RING_OFF - PLL Start up initialization
5583  *  0b0..Normal operation
5584  *  0b1..Initialize PLL start up
5585  */
5586 #define ANADIG_PLL_SYS_PLL2_CTRL_HOLD_RING_OFF(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_HOLD_RING_OFF_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_HOLD_RING_OFF_MASK)
5587 
5588 #define ANADIG_PLL_SYS_PLL2_CTRL_ENABLE_CLK_MASK (0x2000U)
5589 #define ANADIG_PLL_SYS_PLL2_CTRL_ENABLE_CLK_SHIFT (13U)
5590 /*! ENABLE_CLK - Enable the clock output.
5591  *  0b0..Disable the clock
5592  *  0b1..Enable the clock
5593  */
5594 #define ANADIG_PLL_SYS_PLL2_CTRL_ENABLE_CLK(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_ENABLE_CLK_MASK)
5595 
5596 #define ANADIG_PLL_SYS_PLL2_CTRL_BYPASS_MASK     (0x10000U)
5597 #define ANADIG_PLL_SYS_PLL2_CTRL_BYPASS_SHIFT    (16U)
5598 /*! BYPASS - Bypass the pll.
5599  *  0b1..Bypass Mode
5600  *  0b0..Function mode
5601  */
5602 #define ANADIG_PLL_SYS_PLL2_CTRL_BYPASS(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_BYPASS_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_BYPASS_MASK)
5603 
5604 #define ANADIG_PLL_SYS_PLL2_CTRL_DITHER_ENABLE_MASK (0x20000U)
5605 #define ANADIG_PLL_SYS_PLL2_CTRL_DITHER_ENABLE_SHIFT (17U)
5606 /*! DITHER_ENABLE - DITHER_ENABLE
5607  *  0b0..Disable Dither
5608  *  0b1..Enable Dither
5609  */
5610 #define ANADIG_PLL_SYS_PLL2_CTRL_DITHER_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_DITHER_ENABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_DITHER_ENABLE_MASK)
5611 
5612 #define ANADIG_PLL_SYS_PLL2_CTRL_PFD_OFFSET_EN_MASK (0x40000U)
5613 #define ANADIG_PLL_SYS_PLL2_CTRL_PFD_OFFSET_EN_SHIFT (18U)
5614 /*! PFD_OFFSET_EN - PFD_OFFSET_EN
5615  */
5616 #define ANADIG_PLL_SYS_PLL2_CTRL_PFD_OFFSET_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_PFD_OFFSET_EN_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_PFD_OFFSET_EN_MASK)
5617 
5618 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_DDR_OVERRIDE_MASK (0x80000U)
5619 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_DDR_OVERRIDE_SHIFT (19U)
5620 /*! PLL_DDR_OVERRIDE - PLL_DDR_OVERRIDE
5621  */
5622 #define ANADIG_PLL_SYS_PLL2_CTRL_PLL_DDR_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_PLL_DDR_OVERRIDE_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_PLL_DDR_OVERRIDE_MASK)
5623 
5624 #define ANADIG_PLL_SYS_PLL2_CTRL_POWERUP_MASK    (0x800000U)
5625 #define ANADIG_PLL_SYS_PLL2_CTRL_POWERUP_SHIFT   (23U)
5626 /*! POWERUP - Powers up the PLL.
5627  *  0b1..Power Up the PLL
5628  *  0b0..Power down the PLL
5629  */
5630 #define ANADIG_PLL_SYS_PLL2_CTRL_POWERUP(x)      (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_POWERUP_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_POWERUP_MASK)
5631 
5632 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_STABLE_MASK (0x20000000U)
5633 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_STABLE_SHIFT (29U)
5634 /*! SYS_PLL2_STABLE - SYS_PLL2_STABLE
5635  */
5636 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_STABLE_MASK)
5637 
5638 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_GATE_MASK (0x40000000U)
5639 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_GATE_SHIFT (30U)
5640 /*! SYS_PLL2_GATE - SYS_PLL2_GATE
5641  *  0b1..Clock is gated
5642  *  0b0..Clock is not gated
5643  */
5644 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_GATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_GATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_GATE_MASK)
5645 
5646 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_CONTROL_MODE_MASK (0x80000000U)
5647 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_CONTROL_MODE_SHIFT (31U)
5648 /*! SYS_PLL2_CONTROL_MODE - SYS_PLL2_control_mode
5649  *  0b0..Software Mode (Default)
5650  *  0b1..GPC Mode
5651  */
5652 #define ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL2_CTRL_SYS_PLL2_CONTROL_MODE_MASK)
5653 /*! @} */
5654 
5655 /*! @name SYS_PLL2_UPDATE - SYS_PLL2_UPDATE_REGISTER */
5656 /*! @{ */
5657 
5658 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_UPDATE_MASK (0x2U)
5659 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_UPDATE_SHIFT (1U)
5660 /*! PFD0_UPDATE - PFD0_UPDATE
5661  */
5662 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_UPDATE_MASK)
5663 
5664 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_UPDATE_MASK (0x4U)
5665 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_UPDATE_SHIFT (2U)
5666 /*! PFD1_UPDATE - PFD1_UPDATE
5667  */
5668 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_UPDATE_MASK)
5669 
5670 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_UPDATE_MASK (0x8U)
5671 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_UPDATE_SHIFT (3U)
5672 /*! PFD2_UPDATE - PFD2_UPDATE
5673  */
5674 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_UPDATE_MASK)
5675 
5676 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_UPDATE_MASK (0x10U)
5677 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_UPDATE_SHIFT (4U)
5678 /*! PFD3_UPDATE - PFD3_UPDATE
5679  */
5680 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_UPDATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_UPDATE_MASK)
5681 
5682 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_CONTROL_MODE_MASK (0x20U)
5683 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_CONTROL_MODE_SHIFT (5U)
5684 /*! PFD0_CONTROL_MODE - pfd0_control_mode
5685  *  0b0..Software Mode (Default)
5686  *  0b1..GPC Mode
5687  */
5688 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD0_CONTROL_MODE_MASK)
5689 
5690 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_CONTROL_MODE_MASK (0x40U)
5691 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_CONTROL_MODE_SHIFT (6U)
5692 /*! PFD1_CONTROL_MODE - pfd1_control_mode
5693  *  0b0..Software Mode (Default)
5694  *  0b1..GPC Mode
5695  */
5696 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD1_CONTROL_MODE_MASK)
5697 
5698 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_CONTROL_MODE_MASK (0x80U)
5699 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_CONTROL_MODE_SHIFT (7U)
5700 /*! PFD2_CONTROL_MODE - pfd2_control_mode
5701  *  0b0..Software Mode (Default)
5702  *  0b1..GPC Mode
5703  */
5704 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD2_CONTROL_MODE_MASK)
5705 
5706 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_CONTROL_MODE_MASK (0x100U)
5707 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_CONTROL_MODE_SHIFT (8U)
5708 /*! PFD3_CONTROL_MODE - pfd3_control_mode
5709  *  0b0..Software Mode (Default)
5710  *  0b1..GPC Mode
5711  */
5712 #define ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL2_UPDATE_PFD3_CONTROL_MODE_MASK)
5713 /*! @} */
5714 
5715 /*! @name SYS_PLL2_SS - SYS_PLL2_SS_REGISTER */
5716 /*! @{ */
5717 
5718 #define ANADIG_PLL_SYS_PLL2_SS_STEP_MASK         (0x7FFFU)
5719 #define ANADIG_PLL_SYS_PLL2_SS_STEP_SHIFT        (0U)
5720 /*! STEP - STEP
5721  */
5722 #define ANADIG_PLL_SYS_PLL2_SS_STEP(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_SS_STEP_SHIFT)) & ANADIG_PLL_SYS_PLL2_SS_STEP_MASK)
5723 
5724 #define ANADIG_PLL_SYS_PLL2_SS_ENABLE_MASK       (0x8000U)
5725 #define ANADIG_PLL_SYS_PLL2_SS_ENABLE_SHIFT      (15U)
5726 /*! ENABLE - ENABLE
5727  *  0b1..Enable Spread Spectrum
5728  *  0b0..Disable Spread Spectrum
5729  */
5730 #define ANADIG_PLL_SYS_PLL2_SS_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_SS_ENABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_SS_ENABLE_MASK)
5731 
5732 #define ANADIG_PLL_SYS_PLL2_SS_STOP_MASK         (0xFFFF0000U)
5733 #define ANADIG_PLL_SYS_PLL2_SS_STOP_SHIFT        (16U)
5734 /*! STOP - STOP
5735  */
5736 #define ANADIG_PLL_SYS_PLL2_SS_STOP(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_SS_STOP_SHIFT)) & ANADIG_PLL_SYS_PLL2_SS_STOP_MASK)
5737 /*! @} */
5738 
5739 /*! @name SYS_PLL2_PFD - SYS_PLL2_PFD_REGISTER */
5740 /*! @{ */
5741 
5742 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC_MASK   (0x3FU)
5743 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC_SHIFT  (0U)
5744 /*! PFD0_FRAC - PFD0_FRAC
5745  */
5746 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD0_FRAC_MASK)
5747 
5748 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_STABLE_MASK (0x40U)
5749 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_STABLE_SHIFT (6U)
5750 /*! PFD0_STABLE - PFD0_STABLE
5751  */
5752 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD0_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD0_STABLE_MASK)
5753 
5754 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_DIV1_CLKGATE_MASK (0x80U)
5755 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_DIV1_CLKGATE_SHIFT (7U)
5756 /*! PFD0_DIV1_CLKGATE - PFD0_DIV1_CLKGATE
5757  */
5758 #define ANADIG_PLL_SYS_PLL2_PFD_PFD0_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD0_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD0_DIV1_CLKGATE_MASK)
5759 
5760 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_FRAC_MASK   (0x3F00U)
5761 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_FRAC_SHIFT  (8U)
5762 /*! PFD1_FRAC - PFD1_FRAC
5763  */
5764 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD1_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD1_FRAC_MASK)
5765 
5766 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_STABLE_MASK (0x4000U)
5767 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_STABLE_SHIFT (14U)
5768 /*! PFD1_STABLE - PFD1_STABLE
5769  */
5770 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD1_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD1_STABLE_MASK)
5771 
5772 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_DIV1_CLKGATE_MASK (0x8000U)
5773 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_DIV1_CLKGATE_SHIFT (15U)
5774 /*! PFD1_DIV1_CLKGATE - PFD1_DIV1_CLKGATE
5775  */
5776 #define ANADIG_PLL_SYS_PLL2_PFD_PFD1_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD1_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD1_DIV1_CLKGATE_MASK)
5777 
5778 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_FRAC_MASK   (0x3F0000U)
5779 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_FRAC_SHIFT  (16U)
5780 /*! PFD2_FRAC - PFD2_FRAC
5781  */
5782 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD2_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD2_FRAC_MASK)
5783 
5784 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_STABLE_MASK (0x400000U)
5785 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_STABLE_SHIFT (22U)
5786 /*! PFD2_STABLE - PFD2_STABLE
5787  */
5788 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD2_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD2_STABLE_MASK)
5789 
5790 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_DIV1_CLKGATE_MASK (0x800000U)
5791 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_DIV1_CLKGATE_SHIFT (23U)
5792 /*! PFD2_DIV1_CLKGATE - PFD2_DIV1_CLKGATE
5793  */
5794 #define ANADIG_PLL_SYS_PLL2_PFD_PFD2_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD2_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD2_DIV1_CLKGATE_MASK)
5795 
5796 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_FRAC_MASK   (0x3F000000U)
5797 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_FRAC_SHIFT  (24U)
5798 /*! PFD3_FRAC - PFD3_FRAC
5799  */
5800 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_FRAC(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD3_FRAC_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD3_FRAC_MASK)
5801 
5802 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_STABLE_MASK (0x40000000U)
5803 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_STABLE_SHIFT (30U)
5804 /*! PFD3_STABLE - PFD3_STABLE
5805  */
5806 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_STABLE(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD3_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD3_STABLE_MASK)
5807 
5808 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_DIV1_CLKGATE_MASK (0x80000000U)
5809 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_DIV1_CLKGATE_SHIFT (31U)
5810 /*! PFD3_DIV1_CLKGATE - PFD3_DIV1_CLKGATE
5811  */
5812 #define ANADIG_PLL_SYS_PLL2_PFD_PFD3_DIV1_CLKGATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_PFD_PFD3_DIV1_CLKGATE_SHIFT)) & ANADIG_PLL_SYS_PLL2_PFD_PFD3_DIV1_CLKGATE_MASK)
5813 /*! @} */
5814 
5815 /*! @name SYS_PLL2_MFD - SYS_PLL2_MFD_REGISTER */
5816 /*! @{ */
5817 
5818 #define ANADIG_PLL_SYS_PLL2_MFD_MFD_MASK         (0x3FFFFFFFU)
5819 #define ANADIG_PLL_SYS_PLL2_MFD_MFD_SHIFT        (0U)
5820 /*! MFD - Denominator
5821  */
5822 #define ANADIG_PLL_SYS_PLL2_MFD_MFD(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL2_MFD_MFD_SHIFT)) & ANADIG_PLL_SYS_PLL2_MFD_MFD_MASK)
5823 /*! @} */
5824 
5825 /*! @name SYS_PLL1_SS - SYS_PLL1_SS_REGISTER */
5826 /*! @{ */
5827 
5828 #define ANADIG_PLL_SYS_PLL1_SS_STEP_MASK         (0x7FFFU)
5829 #define ANADIG_PLL_SYS_PLL1_SS_STEP_SHIFT        (0U)
5830 /*! STEP - STEP
5831  */
5832 #define ANADIG_PLL_SYS_PLL1_SS_STEP(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_SS_STEP_SHIFT)) & ANADIG_PLL_SYS_PLL1_SS_STEP_MASK)
5833 
5834 #define ANADIG_PLL_SYS_PLL1_SS_ENABLE_MASK       (0x8000U)
5835 #define ANADIG_PLL_SYS_PLL1_SS_ENABLE_SHIFT      (15U)
5836 /*! ENABLE - ENABLE
5837  *  0b1..Enable Spread Spectrum
5838  *  0b0..Disable Spread Spectrum
5839  */
5840 #define ANADIG_PLL_SYS_PLL1_SS_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_SS_ENABLE_SHIFT)) & ANADIG_PLL_SYS_PLL1_SS_ENABLE_MASK)
5841 
5842 #define ANADIG_PLL_SYS_PLL1_SS_STOP_MASK         (0xFFFF0000U)
5843 #define ANADIG_PLL_SYS_PLL1_SS_STOP_SHIFT        (16U)
5844 /*! STOP - STOP
5845  */
5846 #define ANADIG_PLL_SYS_PLL1_SS_STOP(x)           (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_SS_STOP_SHIFT)) & ANADIG_PLL_SYS_PLL1_SS_STOP_MASK)
5847 /*! @} */
5848 
5849 /*! @name SYS_PLL1_CTRL - SYS_PLL1_CTRL_REGISTER */
5850 /*! @{ */
5851 
5852 #define ANADIG_PLL_SYS_PLL1_CTRL_ENABLE_CLK_MASK (0x2000U)
5853 #define ANADIG_PLL_SYS_PLL1_CTRL_ENABLE_CLK_SHIFT (13U)
5854 /*! ENABLE_CLK - ENABLE_CLK
5855  */
5856 #define ANADIG_PLL_SYS_PLL1_CTRL_ENABLE_CLK(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_ENABLE_CLK_MASK)
5857 
5858 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_GATE_MASK (0x4000U)
5859 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_GATE_SHIFT (14U)
5860 /*! SYS_PLL1_GATE - SYS_PLL1_GATE
5861  *  0b1..Gate the output
5862  *  0b0..No gate
5863  */
5864 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_GATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_GATE_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_GATE_MASK)
5865 
5866 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_MASK (0x2000000U)
5867 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_SHIFT (25U)
5868 /*! SYS_PLL1_DIV2 - SYS_PLL1_DIV2
5869  */
5870 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_MASK)
5871 
5872 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_MASK (0x4000000U)
5873 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_SHIFT (26U)
5874 /*! SYS_PLL1_DIV5 - SYS_PLL1_DIV5
5875  */
5876 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_MASK)
5877 
5878 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_CONTROL_MODE_MASK (0x8000000U)
5879 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_CONTROL_MODE_SHIFT (27U)
5880 /*! SYS_PLL1_DIV5_CONTROL_MODE - SYS_PLL1_DIV5_CONTROL_MODE
5881  *  0b0..Software Mode (Default)
5882  *  0b1..GPC Mode
5883  */
5884 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV5_CONTROL_MODE_MASK)
5885 
5886 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_CONTROL_MODE_MASK (0x10000000U)
5887 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_CONTROL_MODE_SHIFT (28U)
5888 /*! SYS_PLL1_DIV2_CONTROL_MODE - SYS_PLL1_DIV2_CONTROL_MODE
5889  *  0b0..Software Mode (Default)
5890  *  0b1..GPC Mode
5891  */
5892 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_DIV2_CONTROL_MODE_MASK)
5893 
5894 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_STABLE_MASK (0x20000000U)
5895 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_STABLE_SHIFT (29U)
5896 /*! SYS_PLL1_STABLE - SYS_PLL1_STABLE
5897  */
5898 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_STABLE_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_STABLE_MASK)
5899 
5900 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_AI_BUSY_MASK (0x40000000U)
5901 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_AI_BUSY_SHIFT (30U)
5902 /*! SYS_PLL1_AI_BUSY - SYS_PLL1_AI_BUSY
5903  */
5904 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_AI_BUSY_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_AI_BUSY_MASK)
5905 
5906 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_CONTROL_MODE_MASK (0x80000000U)
5907 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_CONTROL_MODE_SHIFT (31U)
5908 /*! SYS_PLL1_CONTROL_MODE - SYS_PLL1_CONTROL_MODE
5909  *  0b0..Software Mode (Default)
5910  *  0b1..GPC Mode
5911  */
5912 #define ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_CONTROL_MODE_SHIFT)) & ANADIG_PLL_SYS_PLL1_CTRL_SYS_PLL1_CONTROL_MODE_MASK)
5913 /*! @} */
5914 
5915 /*! @name SYS_PLL1_DENOMINATOR - SYS_PLL1_DENOMINATOR_REGISTER */
5916 /*! @{ */
5917 
5918 #define ANADIG_PLL_SYS_PLL1_DENOMINATOR_DENOM_MASK (0x3FFFFFFFU)
5919 #define ANADIG_PLL_SYS_PLL1_DENOMINATOR_DENOM_SHIFT (0U)
5920 /*! DENOM - DENOM
5921  */
5922 #define ANADIG_PLL_SYS_PLL1_DENOMINATOR_DENOM(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_DENOMINATOR_DENOM_SHIFT)) & ANADIG_PLL_SYS_PLL1_DENOMINATOR_DENOM_MASK)
5923 /*! @} */
5924 
5925 /*! @name SYS_PLL1_NUMERATOR - SYS_PLL1_NUMERATOR_REGISTER */
5926 /*! @{ */
5927 
5928 #define ANADIG_PLL_SYS_PLL1_NUMERATOR_NUM_MASK   (0x3FFFFFFFU)
5929 #define ANADIG_PLL_SYS_PLL1_NUMERATOR_NUM_SHIFT  (0U)
5930 /*! NUM - NUM
5931  */
5932 #define ANADIG_PLL_SYS_PLL1_NUMERATOR_NUM(x)     (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_NUMERATOR_NUM_SHIFT)) & ANADIG_PLL_SYS_PLL1_NUMERATOR_NUM_MASK)
5933 /*! @} */
5934 
5935 /*! @name SYS_PLL1_DIV_SELECT - SYS_PLL1_DIV_SELECT_REGISTER */
5936 /*! @{ */
5937 
5938 #define ANADIG_PLL_SYS_PLL1_DIV_SELECT_DIV_SELECT_MASK (0x7FU)
5939 #define ANADIG_PLL_SYS_PLL1_DIV_SELECT_DIV_SELECT_SHIFT (0U)
5940 /*! DIV_SELECT - DIV_SELECT
5941  */
5942 #define ANADIG_PLL_SYS_PLL1_DIV_SELECT_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_SYS_PLL1_DIV_SELECT_DIV_SELECT_SHIFT)) & ANADIG_PLL_SYS_PLL1_DIV_SELECT_DIV_SELECT_MASK)
5943 /*! @} */
5944 
5945 /*! @name PLL_AUDIO_CTRL - PLL_AUDIO_CTRL_REGISTER */
5946 /*! @{ */
5947 
5948 #define ANADIG_PLL_PLL_AUDIO_CTRL_ENABLE_CLK_MASK (0x2000U)
5949 #define ANADIG_PLL_PLL_AUDIO_CTRL_ENABLE_CLK_SHIFT (13U)
5950 /*! ENABLE_CLK - ENABLE_CLK
5951  */
5952 #define ANADIG_PLL_PLL_AUDIO_CTRL_ENABLE_CLK(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_PLL_AUDIO_CTRL_ENABLE_CLK_MASK)
5953 
5954 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_GATE_MASK (0x4000U)
5955 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_GATE_SHIFT (14U)
5956 /*! PLL_AUDIO_GATE - PLL_AUDIO_GATE
5957  *  0b1..Gate the output
5958  *  0b0..No gate
5959  */
5960 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_GATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_GATE_SHIFT)) & ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_GATE_MASK)
5961 
5962 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_STABLE_MASK (0x20000000U)
5963 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_STABLE_SHIFT (29U)
5964 /*! PLL_AUDIO_STABLE - PLL_AUDIO_STABLE
5965  */
5966 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_STABLE_SHIFT)) & ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_STABLE_MASK)
5967 
5968 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_AI_BUSY_MASK (0x40000000U)
5969 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_AI_BUSY_SHIFT (30U)
5970 /*! PLL_AUDIO_AI_BUSY - pll_audio_ai_busy
5971  */
5972 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_AI_BUSY_SHIFT)) & ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_AI_BUSY_MASK)
5973 
5974 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_CONTROL_MODE_MASK (0x80000000U)
5975 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_CONTROL_MODE_SHIFT (31U)
5976 /*! PLL_AUDIO_CONTROL_MODE - pll_audio_control_mode
5977  *  0b0..Software Mode (Default)
5978  *  0b1..GPC Mode
5979  */
5980 #define ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_CONTROL_MODE_SHIFT)) & ANADIG_PLL_PLL_AUDIO_CTRL_PLL_AUDIO_CONTROL_MODE_MASK)
5981 /*! @} */
5982 
5983 /*! @name PLL_AUDIO_SS - PLL_AUDIO_SS_REGISTER */
5984 /*! @{ */
5985 
5986 #define ANADIG_PLL_PLL_AUDIO_SS_STEP_MASK        (0x7FFFU)
5987 #define ANADIG_PLL_PLL_AUDIO_SS_STEP_SHIFT       (0U)
5988 /*! STEP - STEP
5989  */
5990 #define ANADIG_PLL_PLL_AUDIO_SS_STEP(x)          (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_SS_STEP_SHIFT)) & ANADIG_PLL_PLL_AUDIO_SS_STEP_MASK)
5991 
5992 #define ANADIG_PLL_PLL_AUDIO_SS_ENABLE_MASK      (0x8000U)
5993 #define ANADIG_PLL_PLL_AUDIO_SS_ENABLE_SHIFT     (15U)
5994 /*! ENABLE - ENABLE
5995  *  0b1..Enable Spread Spectrum
5996  *  0b0..Disable Spread Spectrum
5997  */
5998 #define ANADIG_PLL_PLL_AUDIO_SS_ENABLE(x)        (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_SS_ENABLE_SHIFT)) & ANADIG_PLL_PLL_AUDIO_SS_ENABLE_MASK)
5999 
6000 #define ANADIG_PLL_PLL_AUDIO_SS_STOP_MASK        (0xFFFF0000U)
6001 #define ANADIG_PLL_PLL_AUDIO_SS_STOP_SHIFT       (16U)
6002 /*! STOP - STOP
6003  */
6004 #define ANADIG_PLL_PLL_AUDIO_SS_STOP(x)          (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_SS_STOP_SHIFT)) & ANADIG_PLL_PLL_AUDIO_SS_STOP_MASK)
6005 /*! @} */
6006 
6007 /*! @name PLL_AUDIO_DENOMINATOR - PLL_AUDIO_DENOMINATOR_REGISTER */
6008 /*! @{ */
6009 
6010 #define ANADIG_PLL_PLL_AUDIO_DENOMINATOR_DENOM_MASK (0x3FFFFFFFU)
6011 #define ANADIG_PLL_PLL_AUDIO_DENOMINATOR_DENOM_SHIFT (0U)
6012 /*! DENOM - DENOM
6013  */
6014 #define ANADIG_PLL_PLL_AUDIO_DENOMINATOR_DENOM(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_DENOMINATOR_DENOM_SHIFT)) & ANADIG_PLL_PLL_AUDIO_DENOMINATOR_DENOM_MASK)
6015 /*! @} */
6016 
6017 /*! @name PLL_AUDIO_NUMERATOR - PLL_AUDIO_NUMERATOR_REGISTER */
6018 /*! @{ */
6019 
6020 #define ANADIG_PLL_PLL_AUDIO_NUMERATOR_NUM_MASK  (0x3FFFFFFFU)
6021 #define ANADIG_PLL_PLL_AUDIO_NUMERATOR_NUM_SHIFT (0U)
6022 /*! NUM - NUM
6023  */
6024 #define ANADIG_PLL_PLL_AUDIO_NUMERATOR_NUM(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_NUMERATOR_NUM_SHIFT)) & ANADIG_PLL_PLL_AUDIO_NUMERATOR_NUM_MASK)
6025 /*! @} */
6026 
6027 /*! @name PLL_AUDIO_DIV_SELECT - PLL_AUDIO_DIV_SELECT_REGISTER */
6028 /*! @{ */
6029 
6030 #define ANADIG_PLL_PLL_AUDIO_DIV_SELECT_PLL_AUDIO_DIV_SELECT_MASK (0x7FU)
6031 #define ANADIG_PLL_PLL_AUDIO_DIV_SELECT_PLL_AUDIO_DIV_SELECT_SHIFT (0U)
6032 /*! PLL_AUDIO_DIV_SELECT - PLL_AUDIO_DIV_SELECT
6033  */
6034 #define ANADIG_PLL_PLL_AUDIO_DIV_SELECT_PLL_AUDIO_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_AUDIO_DIV_SELECT_PLL_AUDIO_DIV_SELECT_SHIFT)) & ANADIG_PLL_PLL_AUDIO_DIV_SELECT_PLL_AUDIO_DIV_SELECT_MASK)
6035 /*! @} */
6036 
6037 /*! @name PLL_VIDEO_CTRL - PLL_VIDEO_CTRL_REGISTER */
6038 /*! @{ */
6039 
6040 #define ANADIG_PLL_PLL_VIDEO_CTRL_ENABLE_CLK_MASK (0x2000U)
6041 #define ANADIG_PLL_PLL_VIDEO_CTRL_ENABLE_CLK_SHIFT (13U)
6042 /*! ENABLE_CLK - ENABLE_CLK
6043  */
6044 #define ANADIG_PLL_PLL_VIDEO_CTRL_ENABLE_CLK(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_ENABLE_CLK_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_ENABLE_CLK_MASK)
6045 
6046 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_GATE_MASK (0x4000U)
6047 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_GATE_SHIFT (14U)
6048 /*! PLL_VIDEO_GATE - PLL_VIDEO_GATE
6049  *  0b1..Gate the output
6050  *  0b0..No gate
6051  */
6052 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_GATE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_GATE_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_GATE_MASK)
6053 
6054 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_COUNTER_CLR_MASK (0x1000000U)
6055 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_COUNTER_CLR_SHIFT (24U)
6056 /*! PLL_VIDEO_COUNTER_CLR - pll_video_counter_clr
6057  */
6058 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_COUNTER_CLR(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_COUNTER_CLR_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_COUNTER_CLR_MASK)
6059 
6060 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_STABLE_MASK (0x20000000U)
6061 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_STABLE_SHIFT (29U)
6062 /*! PLL_VIDEO_STABLE - PLL_VIDEO_STABLE
6063  */
6064 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_STABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_STABLE_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_STABLE_MASK)
6065 
6066 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_AI_BUSY_MASK (0x40000000U)
6067 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_AI_BUSY_SHIFT (30U)
6068 /*! PLL_VIDEO_AI_BUSY - pll_video_ai_busy
6069  */
6070 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_AI_BUSY_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_AI_BUSY_MASK)
6071 
6072 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_CONTROL_MODE_MASK (0x80000000U)
6073 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_CONTROL_MODE_SHIFT (31U)
6074 /*! PLL_VIDEO_CONTROL_MODE - pll_video_control_mode
6075  *  0b0..Software Mode (Default)
6076  *  0b1..GPC Mode
6077  */
6078 #define ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_CONTROL_MODE_SHIFT)) & ANADIG_PLL_PLL_VIDEO_CTRL_PLL_VIDEO_CONTROL_MODE_MASK)
6079 /*! @} */
6080 
6081 /*! @name PLL_VIDEO_SS - PLL_VIDEO_SS_REGISTER */
6082 /*! @{ */
6083 
6084 #define ANADIG_PLL_PLL_VIDEO_SS_STEP_MASK        (0x7FFFU)
6085 #define ANADIG_PLL_PLL_VIDEO_SS_STEP_SHIFT       (0U)
6086 /*! STEP - STEP
6087  */
6088 #define ANADIG_PLL_PLL_VIDEO_SS_STEP(x)          (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_SS_STEP_SHIFT)) & ANADIG_PLL_PLL_VIDEO_SS_STEP_MASK)
6089 
6090 #define ANADIG_PLL_PLL_VIDEO_SS_ENABLE_MASK      (0x8000U)
6091 #define ANADIG_PLL_PLL_VIDEO_SS_ENABLE_SHIFT     (15U)
6092 /*! ENABLE - ENABLE
6093  *  0b1..Enable Spread Spectrum
6094  *  0b0..Disable Spread Spectrum
6095  */
6096 #define ANADIG_PLL_PLL_VIDEO_SS_ENABLE(x)        (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_SS_ENABLE_SHIFT)) & ANADIG_PLL_PLL_VIDEO_SS_ENABLE_MASK)
6097 
6098 #define ANADIG_PLL_PLL_VIDEO_SS_STOP_MASK        (0xFFFF0000U)
6099 #define ANADIG_PLL_PLL_VIDEO_SS_STOP_SHIFT       (16U)
6100 /*! STOP - STOP
6101  */
6102 #define ANADIG_PLL_PLL_VIDEO_SS_STOP(x)          (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_SS_STOP_SHIFT)) & ANADIG_PLL_PLL_VIDEO_SS_STOP_MASK)
6103 /*! @} */
6104 
6105 /*! @name PLL_VIDEO_DENOMINATOR - PLL_VIDEO_DENOMINATOR_REGISTER */
6106 /*! @{ */
6107 
6108 #define ANADIG_PLL_PLL_VIDEO_DENOMINATOR_DENOM_MASK (0x3FFFFFFFU)
6109 #define ANADIG_PLL_PLL_VIDEO_DENOMINATOR_DENOM_SHIFT (0U)
6110 /*! DENOM - DENOM
6111  */
6112 #define ANADIG_PLL_PLL_VIDEO_DENOMINATOR_DENOM(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_DENOMINATOR_DENOM_SHIFT)) & ANADIG_PLL_PLL_VIDEO_DENOMINATOR_DENOM_MASK)
6113 /*! @} */
6114 
6115 /*! @name PLL_VIDEO_NUMERATOR - PLL_VIDEO_NUMERATOR_REGISTER */
6116 /*! @{ */
6117 
6118 #define ANADIG_PLL_PLL_VIDEO_NUMERATOR_NUM_MASK  (0x3FFFFFFFU)
6119 #define ANADIG_PLL_PLL_VIDEO_NUMERATOR_NUM_SHIFT (0U)
6120 /*! NUM - NUM
6121  */
6122 #define ANADIG_PLL_PLL_VIDEO_NUMERATOR_NUM(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_NUMERATOR_NUM_SHIFT)) & ANADIG_PLL_PLL_VIDEO_NUMERATOR_NUM_MASK)
6123 /*! @} */
6124 
6125 /*! @name PLL_VIDEO_DIV_SELECT - PLL_VIDEO_DIV_SELECT_REGISTER */
6126 /*! @{ */
6127 
6128 #define ANADIG_PLL_PLL_VIDEO_DIV_SELECT_DIV_SELECT_MASK (0x7FU)
6129 #define ANADIG_PLL_PLL_VIDEO_DIV_SELECT_DIV_SELECT_SHIFT (0U)
6130 /*! DIV_SELECT - DIV_SELECT
6131  */
6132 #define ANADIG_PLL_PLL_VIDEO_DIV_SELECT_DIV_SELECT(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PLL_PLL_VIDEO_DIV_SELECT_DIV_SELECT_SHIFT)) & ANADIG_PLL_PLL_VIDEO_DIV_SELECT_DIV_SELECT_MASK)
6133 /*! @} */
6134 
6135 
6136 /*!
6137  * @}
6138  */ /* end of group ANADIG_PLL_Register_Masks */
6139 
6140 
6141 /* ANADIG_PLL - Peripheral instance base addresses */
6142 /** Peripheral ANADIG_PLL base address */
6143 #define ANADIG_PLL_BASE                          (0x40C84000u)
6144 /** Peripheral ANADIG_PLL base pointer */
6145 #define ANADIG_PLL                               ((ANADIG_PLL_Type *)ANADIG_PLL_BASE)
6146 /** Array initializer of ANADIG_PLL peripheral base addresses */
6147 #define ANADIG_PLL_BASE_ADDRS                    { ANADIG_PLL_BASE }
6148 /** Array initializer of ANADIG_PLL peripheral base pointers */
6149 #define ANADIG_PLL_BASE_PTRS                     { ANADIG_PLL }
6150 
6151 /*!
6152  * @}
6153  */ /* end of group ANADIG_PLL_Peripheral_Access_Layer */
6154 
6155 
6156 /* ----------------------------------------------------------------------------
6157    -- ANADIG_PMU Peripheral Access Layer
6158    ---------------------------------------------------------------------------- */
6159 
6160 /*!
6161  * @addtogroup ANADIG_PMU_Peripheral_Access_Layer ANADIG_PMU Peripheral Access Layer
6162  * @{
6163  */
6164 
6165 /** ANADIG_PMU - Register Layout Typedef */
6166 typedef struct {
6167        uint8_t RESERVED_0[1280];
6168   __IO uint32_t PMU_LDO_PLL;                       /**< PMU_LDO_PLL_REGISTER, offset: 0x500 */
6169        uint8_t RESERVED_1[76];
6170   __IO uint32_t PMU_BIAS_CTRL;                     /**< PMU_BIAS_CTRL_REGISTER, offset: 0x550 */
6171        uint8_t RESERVED_2[12];
6172   __IO uint32_t PMU_BIAS_CTRL2;                    /**< PMU_BIAS_CTRL2_REGISTER, offset: 0x560 */
6173        uint8_t RESERVED_3[12];
6174   __IO uint32_t PMU_REF_CTRL;                      /**< PMU_REF_CTRL_REGISTER, offset: 0x570 */
6175        uint8_t RESERVED_4[12];
6176   __IO uint32_t PMU_POWER_DETECT_CTRL;             /**< PMU_POWER_DETECT_CTRL_REGISTER, offset: 0x580 */
6177        uint8_t RESERVED_5[124];
6178   __IO uint32_t LDO_PLL_ENABLE_SP;                 /**< LDO_PLL_ENABLE_SP_REGISTER, offset: 0x600 */
6179        uint8_t RESERVED_6[12];
6180   __IO uint32_t LDO_LPSR_ANA_ENABLE_SP;            /**< LDO_LPSR_ANA_ENABLE_SP_REGISTER, offset: 0x610 */
6181        uint8_t RESERVED_7[12];
6182   __IO uint32_t LDO_LPSR_ANA_LP_MODE_SP;           /**< LDO_LPSR_ANA_LP_MODE_SP_REGISTER, offset: 0x620 */
6183        uint8_t RESERVED_8[12];
6184   __IO uint32_t LDO_LPSR_ANA_TRACKING_EN_SP;       /**< LDO_LPSR_ANA_TRACKING_EN_SP_REGISTER, offset: 0x630 */
6185        uint8_t RESERVED_9[12];
6186   __IO uint32_t LDO_LPSR_ANA_BYPASS_EN_SP;         /**< LDO_LPSR_ANA_BYPASS_EN_SP_REGISTER, offset: 0x640 */
6187        uint8_t RESERVED_10[12];
6188   __IO uint32_t LDO_LPSR_ANA_STBY_EN_SP;           /**< LDO_LPSR_ANA_STBY_EN_SP_REGISTER, offset: 0x650 */
6189        uint8_t RESERVED_11[12];
6190   __IO uint32_t LDO_LPSR_DIG_ENABLE_SP;            /**< LDO_LPSR_DIG_ENABLE_SP_REGISTER, offset: 0x660 */
6191        uint8_t RESERVED_12[12];
6192   __IO uint32_t LDO_LPSR_DIG_TRG_SP0;              /**< LDO_LPSR_DIG_TRG_SP0_REGISTER, offset: 0x670 */
6193        uint8_t RESERVED_13[12];
6194   __IO uint32_t LDO_LPSR_DIG_TRG_SP1;              /**< LDO_LPSR_DIG_TRG_SP1_REGISTER, offset: 0x680 */
6195        uint8_t RESERVED_14[12];
6196   __IO uint32_t LDO_LPSR_DIG_TRG_SP2;              /**< LDO_LPSR_DIG_TRG_SP2_REGISTER, offset: 0x690 */
6197        uint8_t RESERVED_15[12];
6198   __IO uint32_t LDO_LPSR_DIG_TRG_SP3;              /**< LDO_LPSR_DIG_TRG_SP3_REGISTER, offset: 0x6A0 */
6199        uint8_t RESERVED_16[12];
6200   __IO uint32_t LDO_LPSR_DIG_LP_MODE_SP;           /**< LDO_LPSR_DIG_LP_MODE_SP_REGISTER, offset: 0x6B0 */
6201        uint8_t RESERVED_17[12];
6202   __IO uint32_t LDO_LPSR_DIG_TRACKING_EN_SP;       /**< LDO_LPSR_DIG_TRACKING_EN_SP_REGISTER, offset: 0x6C0 */
6203        uint8_t RESERVED_18[12];
6204   __IO uint32_t LDO_LPSR_DIG_BYPASS_EN_SP;         /**< LDO_LPSR_DIG_BYPASS_EN_SP_REGISTER, offset: 0x6D0 */
6205        uint8_t RESERVED_19[12];
6206   __IO uint32_t LDO_LPSR_DIG_STBY_EN_SP;           /**< LDO_LPSR_DIG_STBY_EN_SP_REGISTER, offset: 0x6E0 */
6207        uint8_t RESERVED_20[12];
6208   __IO uint32_t BANDGAP_ENABLE_SP;                 /**< BANDGAP_ENABLE_SP_REGISTER, offset: 0x6F0 */
6209        uint8_t RESERVED_21[12];
6210   __IO uint32_t FBB_M7_ENABLE_SP;                  /**< FBB_M7_ENABLE_SP_REGISTER, offset: 0x700 */
6211        uint8_t RESERVED_22[12];
6212   __IO uint32_t RBB_SOC_ENABLE_SP;                 /**< RBB_SOC_ENABLE_SP_REGISTER, offset: 0x710 */
6213        uint8_t RESERVED_23[12];
6214   __IO uint32_t RBB_LPSR_ENABLE_SP;                /**< RBB_LPSR_ENABLE_SP_REGISTER, offset: 0x720 */
6215        uint8_t RESERVED_24[12];
6216   __IO uint32_t BANDGAP_STBY_EN_SP;                /**< BANDGAP_STBY_EN_SP_REGISTER, offset: 0x730 */
6217        uint8_t RESERVED_25[12];
6218   __IO uint32_t PLL_LDO_STBY_EN_SP;                /**< PLL_LDO_STBY_EN_SP_REGISTER, offset: 0x740 */
6219        uint8_t RESERVED_26[12];
6220   __IO uint32_t FBB_M7_STBY_EN_SP;                 /**< FBB_M7_STBY_EN_SP_REGISTER, offset: 0x750 */
6221        uint8_t RESERVED_27[12];
6222   __IO uint32_t RBB_SOC_STBY_EN_SP;                /**< RBB_SOC_STBY_EN_SP_REGISTER, offset: 0x760 */
6223        uint8_t RESERVED_28[12];
6224   __IO uint32_t RBB_LPSR_STBY_EN_SP;               /**< RBB_LPSR_STBY_EN_SP_REGISTER, offset: 0x770 */
6225        uint8_t RESERVED_29[12];
6226   __IO uint32_t FBB_M7_CONFIGURE;                  /**< FBB_M7_CONFIGURE_REGISTER, offset: 0x780 */
6227        uint8_t RESERVED_30[12];
6228   __IO uint32_t RBB_LPSR_CONFIGURE;                /**< RBB_LPSR_CONFIGURE_REGISTER, offset: 0x790 */
6229        uint8_t RESERVED_31[12];
6230   __IO uint32_t RBB_SOC_CONFIGURE;                 /**< RBB_SOC_CONFIGURE_REGISTER, offset: 0x7A0 */
6231        uint8_t RESERVED_32[12];
6232   __I  uint32_t REFTOP_OTP_TRIM_VALUE;             /**< REFTOP_OTP_TRIM_VALUE_REGISTER, offset: 0x7B0 */
6233        uint8_t RESERVED_33[28];
6234   __I  uint32_t LPSR_1P8_LDO_OTP_TRIM_VALUE;       /**< LPSR_1P8_LDO_OTP_TRIM_VALUE_REGISTER, offset: 0x7D0 */
6235 } ANADIG_PMU_Type;
6236 
6237 /* ----------------------------------------------------------------------------
6238    -- ANADIG_PMU Register Masks
6239    ---------------------------------------------------------------------------- */
6240 
6241 /*!
6242  * @addtogroup ANADIG_PMU_Register_Masks ANADIG_PMU Register Masks
6243  * @{
6244  */
6245 
6246 /*! @name PMU_LDO_PLL - PMU_LDO_PLL_REGISTER */
6247 /*! @{ */
6248 
6249 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_ENABLE_MASK (0x1U)
6250 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_ENABLE_SHIFT (0U)
6251 /*! LDO_PLL_ENABLE - LDO_PLL_ENABLE
6252  */
6253 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_ENABLE_SHIFT)) & ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_ENABLE_MASK)
6254 
6255 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_CONTROL_MODE_MASK (0x2U)
6256 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_CONTROL_MODE_SHIFT (1U)
6257 /*! LDO_PLL_CONTROL_MODE - LDO_PLL_CONTROL_MODE
6258  *  0b0..SW Control
6259  *  0b1..HW Control
6260  */
6261 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_CONTROL_MODE_SHIFT)) & ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_CONTROL_MODE_MASK)
6262 
6263 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_TOGGLE_MASK (0x10000U)
6264 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_TOGGLE_SHIFT (16U)
6265 /*! LDO_PLL_AI_TOGGLE - ldo_pll_ai_toggle
6266  */
6267 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_TOGGLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_TOGGLE_SHIFT)) & ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_TOGGLE_MASK)
6268 
6269 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_BUSY_MASK (0x40000000U)
6270 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_BUSY_SHIFT (30U)
6271 /*! LDO_PLL_AI_BUSY - ldo_pll_busy
6272  */
6273 #define ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_BUSY_SHIFT)) & ANADIG_PMU_PMU_LDO_PLL_LDO_PLL_AI_BUSY_MASK)
6274 /*! @} */
6275 
6276 /*! @name PMU_BIAS_CTRL - PMU_BIAS_CTRL_REGISTER */
6277 /*! @{ */
6278 
6279 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_CFG_1P8_MASK (0x1FFFU)
6280 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_CFG_1P8_SHIFT (0U)
6281 /*! WB_CFG_1P8 - wb_cfg_1p8
6282  */
6283 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_CFG_1P8(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL_WB_CFG_1P8_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL_WB_CFG_1P8_MASK)
6284 
6285 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_VDD_SEL_1P8_MASK (0x4000U)
6286 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_VDD_SEL_1P8_SHIFT (14U)
6287 /*! WB_VDD_SEL_1P8 - wb_vdd_sel_1p8
6288  *  0b0..VDD_LV1
6289  *  0b1..VDD_LV2
6290  */
6291 #define ANADIG_PMU_PMU_BIAS_CTRL_WB_VDD_SEL_1P8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL_WB_VDD_SEL_1P8_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL_WB_VDD_SEL_1P8_MASK)
6292 /*! @} */
6293 
6294 /*! @name PMU_BIAS_CTRL2 - PMU_BIAS_CTRL2_REGISTER */
6295 /*! @{ */
6296 
6297 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_MD_MASK (0x3FEU)
6298 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_MD_SHIFT (1U)
6299 /*! WB_TST_MD - TMOD_wb_tst_md_1p8
6300  */
6301 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_MD(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_MD_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_MD_MASK)
6302 
6303 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_PWR_SW_EN_1P8_MASK (0x1C00U)
6304 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_PWR_SW_EN_1P8_SHIFT (10U)
6305 /*! WB_PWR_SW_EN_1P8 - MODSEL_wb_tst_md_1p8
6306  *  0b001..No BB
6307  *  0b010..BB
6308  *  0b100..BB
6309  */
6310 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_PWR_SW_EN_1P8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_PWR_SW_EN_1P8_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_PWR_SW_EN_1P8_MASK)
6311 
6312 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_ADJ_1P8_MASK (0x1FE000U)
6313 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_ADJ_1P8_SHIFT (13U)
6314 /*! WB_ADJ_1P8 - wb_adj_1p8
6315  *  0b00000000..Cref= 0fF Cspl= 0fF DeltaC= 0fF
6316  *  0b00000001..Cref= 0fF Cspl= 30fF DeltaC= -30fF
6317  *  0b00000010..Cref= 0fF Cspl= 43fF DeltaC= -43fF
6318  *  0b00000011..Cref= 0fF Cspl= 62fF DeltaC=-62fF
6319  *  0b00000100..Cref= 0fF Cspl=105fF DeltaC=-105fF
6320  *  0b00000101..Cref= 30fF Cspl= 0fF DeltaC= 30fF
6321  *  0b00000110..Cref= 30fF Cspl= 43fF DeltaC= -12fF
6322  *  0b00000111..Cref= 30fF Cspl=105fF DeltaC= -75fF
6323  *  0b00001000..Cref= 43fF Cspl= 0fF DeltaC= 43fF
6324  *  0b00001001..Cref= 43fF Cspl= 30fF DeltaC= 13fF
6325  *  0b00001010..Cref= 43fF Cspl= 62fF DeltaC= -19fF
6326  *  0b00001011..Cref= 62fF Cspl= 0fF DeltaC= 62fF
6327  *  0b00001100..Cref= 62fF Cspl= 43fF DeltaC= 19fF
6328  *  0b00001101..Cref=105fF Cspl= 0fF DeltaC= 105fF
6329  *  0b00001110..Cref=105fF Cspl=30fF DeltaC= 75fF
6330  *  0b00001111..Cref=0fF Cspl=0fF DeltaC= 0fF
6331  */
6332 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_ADJ_1P8(x)  (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_ADJ_1P8_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_ADJ_1P8_MASK)
6333 
6334 #define ANADIG_PMU_PMU_BIAS_CTRL2_FBB_M7_CONTROL_MODE_MASK (0x200000U)
6335 #define ANADIG_PMU_PMU_BIAS_CTRL2_FBB_M7_CONTROL_MODE_SHIFT (21U)
6336 /*! FBB_M7_CONTROL_MODE - FBB_M7_CONTROL_MODE
6337  *  0b0..SW Control
6338  *  0b1..HW Control
6339  */
6340 #define ANADIG_PMU_PMU_BIAS_CTRL2_FBB_M7_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_FBB_M7_CONTROL_MODE_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_FBB_M7_CONTROL_MODE_MASK)
6341 
6342 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_SOC_CONTROL_MODE_MASK (0x400000U)
6343 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_SOC_CONTROL_MODE_SHIFT (22U)
6344 /*! RBB_SOC_CONTROL_MODE - RBB_SOC_CONTROL_MODE
6345  *  0b0..SW Control
6346  *  0b1..HW Control
6347  */
6348 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_SOC_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_RBB_SOC_CONTROL_MODE_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_RBB_SOC_CONTROL_MODE_MASK)
6349 
6350 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_LPSR_CONTROL_MODE_MASK (0x800000U)
6351 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_LPSR_CONTROL_MODE_SHIFT (23U)
6352 /*! RBB_LPSR_CONTROL_MODE - RBB_LPSR_CONTROL_MODE
6353  *  0b0..SW Control
6354  *  0b1..HW Control
6355  */
6356 #define ANADIG_PMU_PMU_BIAS_CTRL2_RBB_LPSR_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_RBB_LPSR_CONTROL_MODE_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_RBB_LPSR_CONTROL_MODE_MASK)
6357 
6358 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_EN_MASK     (0x1000000U)
6359 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_EN_SHIFT    (24U)
6360 /*! WB_EN - wb_en
6361  */
6362 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_EN(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_EN_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_EN_MASK)
6363 
6364 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_DIG_OUT_MASK (0x2000000U)
6365 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_DIG_OUT_SHIFT (25U)
6366 /*! WB_TST_DIG_OUT - Digital output
6367  */
6368 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_DIG_OUT(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_DIG_OUT_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_TST_DIG_OUT_MASK)
6369 
6370 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_OK_MASK     (0x4000000U)
6371 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_OK_SHIFT    (26U)
6372 /*! WB_OK - Digital Output pin.
6373  */
6374 #define ANADIG_PMU_PMU_BIAS_CTRL2_WB_OK(x)       (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_BIAS_CTRL2_WB_OK_SHIFT)) & ANADIG_PMU_PMU_BIAS_CTRL2_WB_OK_MASK)
6375 /*! @} */
6376 
6377 /*! @name PMU_REF_CTRL - PMU_REF_CTRL_REGISTER */
6378 /*! @{ */
6379 
6380 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_TOGGLE_MASK (0x1U)
6381 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_TOGGLE_SHIFT (0U)
6382 /*! REF_AI_TOGGLE - ref_ai_toggle
6383  */
6384 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_TOGGLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_REF_CTRL_REF_AI_TOGGLE_SHIFT)) & ANADIG_PMU_PMU_REF_CTRL_REF_AI_TOGGLE_MASK)
6385 
6386 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_BUSY_MASK (0x2U)
6387 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_BUSY_SHIFT (1U)
6388 /*! REF_AI_BUSY - ref_ai_busy
6389  */
6390 #define ANADIG_PMU_PMU_REF_CTRL_REF_AI_BUSY(x)   (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_REF_CTRL_REF_AI_BUSY_SHIFT)) & ANADIG_PMU_PMU_REF_CTRL_REF_AI_BUSY_MASK)
6391 
6392 #define ANADIG_PMU_PMU_REF_CTRL_REF_ENABLE_MASK  (0x4U)
6393 #define ANADIG_PMU_PMU_REF_CTRL_REF_ENABLE_SHIFT (2U)
6394 /*! REF_ENABLE - REF_ENABLE
6395  */
6396 #define ANADIG_PMU_PMU_REF_CTRL_REF_ENABLE(x)    (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_REF_CTRL_REF_ENABLE_SHIFT)) & ANADIG_PMU_PMU_REF_CTRL_REF_ENABLE_MASK)
6397 
6398 #define ANADIG_PMU_PMU_REF_CTRL_REF_CONTROL_MODE_MASK (0x8U)
6399 #define ANADIG_PMU_PMU_REF_CTRL_REF_CONTROL_MODE_SHIFT (3U)
6400 /*! REF_CONTROL_MODE - REF_CONTROL_MODE
6401  *  0b0..SW Control
6402  *  0b1..HW Control
6403  */
6404 #define ANADIG_PMU_PMU_REF_CTRL_REF_CONTROL_MODE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_REF_CTRL_REF_CONTROL_MODE_SHIFT)) & ANADIG_PMU_PMU_REF_CTRL_REF_CONTROL_MODE_MASK)
6405 
6406 #define ANADIG_PMU_PMU_REF_CTRL_EN_PLL_VOL_REF_BUFFER_MASK (0x10U)
6407 #define ANADIG_PMU_PMU_REF_CTRL_EN_PLL_VOL_REF_BUFFER_SHIFT (4U)
6408 /*! EN_PLL_VOL_REF_BUFFER - en_pll_vol_ref_buffer
6409  */
6410 #define ANADIG_PMU_PMU_REF_CTRL_EN_PLL_VOL_REF_BUFFER(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_REF_CTRL_EN_PLL_VOL_REF_BUFFER_SHIFT)) & ANADIG_PMU_PMU_REF_CTRL_EN_PLL_VOL_REF_BUFFER_MASK)
6411 /*! @} */
6412 
6413 /*! @name PMU_POWER_DETECT_CTRL - PMU_POWER_DETECT_CTRL_REGISTER */
6414 /*! @{ */
6415 
6416 #define ANADIG_PMU_PMU_POWER_DETECT_CTRL_CKGB_LPSR1P0_MASK (0x100U)
6417 #define ANADIG_PMU_PMU_POWER_DETECT_CTRL_CKGB_LPSR1P0_SHIFT (8U)
6418 /*! CKGB_LPSR1P0 - ckgb_lpsr1p0
6419  */
6420 #define ANADIG_PMU_PMU_POWER_DETECT_CTRL_CKGB_LPSR1P0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PMU_POWER_DETECT_CTRL_CKGB_LPSR1P0_SHIFT)) & ANADIG_PMU_PMU_POWER_DETECT_CTRL_CKGB_LPSR1P0_MASK)
6421 /*! @} */
6422 
6423 /*! @name LDO_PLL_ENABLE_SP - LDO_PLL_ENABLE_SP_REGISTER */
6424 /*! @{ */
6425 
6426 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
6427 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
6428 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
6429  *  0b0..ON
6430  *  0b1..OFF
6431  */
6432 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
6433 
6434 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
6435 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
6436 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
6437  *  0b0..ON
6438  *  0b1..OFF
6439  */
6440 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
6441 
6442 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
6443 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
6444 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
6445  *  0b0..ON
6446  *  0b1..OFF
6447  */
6448 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
6449 
6450 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
6451 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
6452 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
6453  *  0b0..ON
6454  *  0b1..OFF
6455  */
6456 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
6457 
6458 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
6459 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
6460 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
6461  *  0b0..ON
6462  *  0b1..OFF
6463  */
6464 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
6465 
6466 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
6467 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
6468 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
6469  *  0b0..ON
6470  *  0b1..OFF
6471  */
6472 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
6473 
6474 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
6475 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
6476 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
6477  *  0b0..ON
6478  *  0b1..OFF
6479  */
6480 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
6481 
6482 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
6483 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
6484 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
6485  *  0b0..ON
6486  *  0b1..OFF
6487  */
6488 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
6489 
6490 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
6491 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
6492 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
6493  *  0b0..ON
6494  *  0b1..OFF
6495  */
6496 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
6497 
6498 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
6499 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
6500 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
6501  *  0b0..ON
6502  *  0b1..OFF
6503  */
6504 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
6505 
6506 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
6507 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
6508 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
6509  *  0b0..ON
6510  *  0b1..OFF
6511  */
6512 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
6513 
6514 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
6515 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
6516 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
6517  *  0b0..ON
6518  *  0b1..OFF
6519  */
6520 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
6521 
6522 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
6523 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
6524 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
6525  *  0b0..ON
6526  *  0b1..OFF
6527  */
6528 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
6529 
6530 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
6531 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
6532 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
6533  *  0b0..ON
6534  *  0b1..OFF
6535  */
6536 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
6537 
6538 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
6539 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
6540 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
6541  *  0b0..ON
6542  *  0b1..OFF
6543  */
6544 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
6545 
6546 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
6547 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
6548 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
6549  *  0b0..ON
6550  *  0b1..OFF
6551  */
6552 #define ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_PLL_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
6553 /*! @} */
6554 
6555 /*! @name LDO_LPSR_ANA_ENABLE_SP - LDO_LPSR_ANA_ENABLE_SP_REGISTER */
6556 /*! @{ */
6557 
6558 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
6559 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
6560 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
6561  *  0b0..ON
6562  *  0b1..OFF
6563  */
6564 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
6565 
6566 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
6567 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
6568 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
6569  *  0b0..ON
6570  *  0b1..OFF
6571  */
6572 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
6573 
6574 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
6575 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
6576 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
6577  *  0b0..ON
6578  *  0b1..OFF
6579  */
6580 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
6581 
6582 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
6583 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
6584 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
6585  *  0b0..ON
6586  *  0b1..OFF
6587  */
6588 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
6589 
6590 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
6591 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
6592 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
6593  *  0b0..ON
6594  *  0b1..OFF
6595  */
6596 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
6597 
6598 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
6599 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
6600 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
6601  *  0b0..ON
6602  *  0b1..OFF
6603  */
6604 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
6605 
6606 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
6607 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
6608 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
6609  *  0b0..ON
6610  *  0b1..OFF
6611  */
6612 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
6613 
6614 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
6615 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
6616 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
6617  *  0b0..ON
6618  *  0b1..OFF
6619  */
6620 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
6621 
6622 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
6623 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
6624 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
6625  *  0b0..ON
6626  *  0b1..OFF
6627  */
6628 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
6629 
6630 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
6631 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
6632 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
6633  *  0b0..ON
6634  *  0b1..OFF
6635  */
6636 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
6637 
6638 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
6639 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
6640 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
6641  *  0b0..ON
6642  *  0b1..OFF
6643  */
6644 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
6645 
6646 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
6647 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
6648 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
6649  *  0b0..ON
6650  *  0b1..OFF
6651  */
6652 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
6653 
6654 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
6655 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
6656 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
6657  *  0b0..ON
6658  *  0b1..OFF
6659  */
6660 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
6661 
6662 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
6663 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
6664 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
6665  *  0b0..ON
6666  *  0b1..OFF
6667  */
6668 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
6669 
6670 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
6671 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
6672 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
6673  *  0b0..ON
6674  *  0b1..OFF
6675  */
6676 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
6677 
6678 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
6679 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
6680 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
6681  *  0b0..ON
6682  *  0b1..OFF
6683  */
6684 #define ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
6685 /*! @} */
6686 
6687 /*! @name LDO_LPSR_ANA_LP_MODE_SP - LDO_LPSR_ANA_LP_MODE_SP_REGISTER */
6688 /*! @{ */
6689 
6690 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT0_MASK (0x1U)
6691 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT0_SHIFT (0U)
6692 /*! LP_MODE_SETPOINT0 - LP_MODE_SETPOINT0
6693  *  0b0..LP
6694  *  0b1..HP
6695  */
6696 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT0_MASK)
6697 
6698 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT1_MASK (0x2U)
6699 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT1_SHIFT (1U)
6700 /*! LP_MODE_SETPOINT1 - LP_MODE_SETPOINT1
6701  *  0b0..LP
6702  *  0b1..HP
6703  */
6704 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPOINT1_MASK)
6705 
6706 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT2_MASK (0x4U)
6707 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT2_SHIFT (2U)
6708 /*! LP_MODE_SETPONIT2 - LP_MODE_SETPOINT2
6709  *  0b0..LP
6710  *  0b1..HP
6711  */
6712 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT2_MASK)
6713 
6714 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT3_MASK (0x8U)
6715 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT3_SHIFT (3U)
6716 /*! LP_MODE_SETPONIT3 - LP_MODE_SETPOINT3
6717  *  0b0..LP
6718  *  0b1..HP
6719  */
6720 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT3_MASK)
6721 
6722 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT4_MASK (0x10U)
6723 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT4_SHIFT (4U)
6724 /*! LP_MODE_SETPONIT4 - LP_MODE_SETPOINT4
6725  *  0b0..LP
6726  *  0b1..HP
6727  */
6728 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT4_MASK)
6729 
6730 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT5_MASK (0x20U)
6731 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT5_SHIFT (5U)
6732 /*! LP_MODE_SETPONIT5 - LP_MODE_SETPOINT5
6733  *  0b0..LP
6734  *  0b1..HP
6735  */
6736 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT5_MASK)
6737 
6738 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT6_MASK (0x40U)
6739 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT6_SHIFT (6U)
6740 /*! LP_MODE_SETPONIT6 - LP_MODE_SETPOINT6
6741  *  0b0..LP
6742  *  0b1..HP
6743  */
6744 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT6_MASK)
6745 
6746 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT7_MASK (0x80U)
6747 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT7_SHIFT (7U)
6748 /*! LP_MODE_SETPONIT7 - LP_MODE_SETPOINT7
6749  *  0b0..LP
6750  *  0b1..HP
6751  */
6752 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT7_MASK)
6753 
6754 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT8_MASK (0x100U)
6755 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT8_SHIFT (8U)
6756 /*! LP_MODE_SETPONIT8 - LP_MODE_SETPOINT8
6757  *  0b0..LP
6758  *  0b1..HP
6759  */
6760 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT8_MASK)
6761 
6762 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT9_MASK (0x200U)
6763 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT9_SHIFT (9U)
6764 /*! LP_MODE_SETPONIT9 - LP_MODE_SETPOINT9
6765  *  0b0..LP
6766  *  0b1..HP
6767  */
6768 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT9_MASK)
6769 
6770 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT10_MASK (0x400U)
6771 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT10_SHIFT (10U)
6772 /*! LP_MODE_SETPONIT10 - LP_MODE_SETPOINT10
6773  *  0b0..LP
6774  *  0b1..HP
6775  */
6776 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT10_MASK)
6777 
6778 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT11_MASK (0x800U)
6779 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT11_SHIFT (11U)
6780 /*! LP_MODE_SETPONIT11 - LP_MODE_SETPOINT11
6781  *  0b0..LP
6782  *  0b1..HP
6783  */
6784 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT11_MASK)
6785 
6786 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT12_MASK (0x1000U)
6787 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT12_SHIFT (12U)
6788 /*! LP_MODE_SETPONIT12 - LP_MODE_SETPOINT12
6789  *  0b0..LP
6790  *  0b1..HP
6791  */
6792 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT12_MASK)
6793 
6794 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT13_MASK (0x2000U)
6795 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT13_SHIFT (13U)
6796 /*! LP_MODE_SETPONIT13 - LP_MODE_SETPOINT13
6797  *  0b0..LP
6798  *  0b1..HP
6799  */
6800 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT13_MASK)
6801 
6802 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT14_MASK (0x4000U)
6803 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT14_SHIFT (14U)
6804 /*! LP_MODE_SETPONIT14 - LP_MODE_SETPOINT14
6805  *  0b0..LP
6806  *  0b1..HP
6807  */
6808 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT14_MASK)
6809 
6810 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT15_MASK (0x8000U)
6811 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT15_SHIFT (15U)
6812 /*! LP_MODE_SETPONIT15 - LP_MODE_SETPOINT15
6813  *  0b0..LP
6814  *  0b1..HP
6815  */
6816 #define ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_LP_MODE_SP_LP_MODE_SETPONIT15_MASK)
6817 /*! @} */
6818 
6819 /*! @name LDO_LPSR_ANA_TRACKING_EN_SP - LDO_LPSR_ANA_TRACKING_EN_SP_REGISTER */
6820 /*! @{ */
6821 
6822 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_MASK (0x1U)
6823 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_SHIFT (0U)
6824 /*! TRACKING_EN_SETPOINT0 - TRACKING_EN_SETPOINT0
6825  *  0b0..Disabled
6826  *  0b1..Enabled
6827  */
6828 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_MASK)
6829 
6830 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_MASK (0x2U)
6831 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_SHIFT (1U)
6832 /*! TRACKING_EN_SETPOINT1 - TRACKING_EN_SETPOINT1
6833  *  0b0..Disabled
6834  *  0b1..Enabled
6835  */
6836 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_MASK)
6837 
6838 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_MASK (0x4U)
6839 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_SHIFT (2U)
6840 /*! TRACKING_EN_SETPOINT2 - TRACKING_EN_SETPOINT2
6841  *  0b0..Disabled
6842  *  0b1..Enabled
6843  */
6844 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_MASK)
6845 
6846 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_MASK (0x8U)
6847 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_SHIFT (3U)
6848 /*! TRACKING_EN_SETPOINT3 - TRACKING_EN_SETPOINT3
6849  *  0b0..Disabled
6850  *  0b1..Enabled
6851  */
6852 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_MASK)
6853 
6854 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_MASK (0x10U)
6855 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_SHIFT (4U)
6856 /*! TRACKING_EN_SETPOINT4 - TRACKING_EN_SETPOINT4
6857  *  0b0..Disabled
6858  *  0b1..Enabled
6859  */
6860 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_MASK)
6861 
6862 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_MASK (0x20U)
6863 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_SHIFT (5U)
6864 /*! TRACKING_EN_SETPOINT5 - TRACKING_EN_SETPOINT5
6865  *  0b0..Disabled
6866  *  0b1..Enabled
6867  */
6868 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_MASK)
6869 
6870 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_MASK (0x40U)
6871 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_SHIFT (6U)
6872 /*! TRACKING_EN_SETPOINT6 - TRACKING_EN_SETPOINT6
6873  *  0b0..Disabled
6874  *  0b1..Enabled
6875  */
6876 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_MASK)
6877 
6878 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_MASK (0x80U)
6879 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_SHIFT (7U)
6880 /*! TRACKING_EN_SETPOINT7 - TRACKING_EN_SETPOINT7
6881  *  0b0..Disabled
6882  *  0b1..Enabled
6883  */
6884 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_MASK)
6885 
6886 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_MASK (0x100U)
6887 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_SHIFT (8U)
6888 /*! TRACKING_EN_SETPOINT8 - TRACKING_EN_SETPOINT8
6889  *  0b0..Disabled
6890  *  0b1..Enabled
6891  */
6892 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_MASK)
6893 
6894 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_MASK (0x200U)
6895 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_SHIFT (9U)
6896 /*! TRACKING_EN_SETPOINT9 - TRACKING_EN_SETPOINT9
6897  *  0b0..Disabled
6898  *  0b1..Enabled
6899  */
6900 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_MASK)
6901 
6902 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_MASK (0x400U)
6903 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_SHIFT (10U)
6904 /*! TRACKING_EN_SETPOINT10 - TRACKING_EN_SETPOINT10
6905  *  0b0..Disabled
6906  *  0b1..Enabled
6907  */
6908 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_MASK)
6909 
6910 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_MASK (0x800U)
6911 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_SHIFT (11U)
6912 /*! TRACKING_EN_SETPOINT11 - TRACKING_EN_SETPOINT11
6913  *  0b0..Disabled
6914  *  0b1..Enabled
6915  */
6916 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_MASK)
6917 
6918 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_MASK (0x1000U)
6919 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_SHIFT (12U)
6920 /*! TRACKING_EN_SETPOINT12 - TRACKING_EN_SETPOINT12
6921  *  0b0..Disabled
6922  *  0b1..Enabled
6923  */
6924 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_MASK)
6925 
6926 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_MASK (0x2000U)
6927 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_SHIFT (13U)
6928 /*! TRACKING_EN_SETPOINT13 - TRACKING_EN_SETPOINT13
6929  *  0b0..Disabled
6930  *  0b1..Enabled
6931  */
6932 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_MASK)
6933 
6934 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_MASK (0x4000U)
6935 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_SHIFT (14U)
6936 /*! TRACKING_EN_SETPOINT14 - TRACKING_EN_SETPOINT14
6937  *  0b0..Disabled
6938  *  0b1..Enabled
6939  */
6940 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_MASK)
6941 
6942 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_MASK (0x8000U)
6943 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_SHIFT (15U)
6944 /*! TRACKING_EN_SETPOINT15 - TRACKING_EN_SETPOINT15
6945  *  0b0..Disabled
6946  *  0b1..Enabled
6947  */
6948 #define ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_MASK)
6949 /*! @} */
6950 
6951 /*! @name LDO_LPSR_ANA_BYPASS_EN_SP - LDO_LPSR_ANA_BYPASS_EN_SP_REGISTER */
6952 /*! @{ */
6953 
6954 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_MASK (0x1U)
6955 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_SHIFT (0U)
6956 /*! BYPASS_EN_SETPOINT0 - BYPASS_EN_SETPOINT0
6957  *  0b0..Disabled
6958  *  0b1..Enabled
6959  */
6960 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_MASK)
6961 
6962 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_MASK (0x2U)
6963 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_SHIFT (1U)
6964 /*! BYPASS_EN_SETPOINT1 - BYPASS_EN_SETPOINT1
6965  *  0b0..Disabled
6966  *  0b1..Enabled
6967  */
6968 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_MASK)
6969 
6970 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_MASK (0x4U)
6971 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_SHIFT (2U)
6972 /*! BYPASS_EN_SETPOINT2 - BYPASS_EN_SETPOINT2
6973  *  0b0..Disabled
6974  *  0b1..Enabled
6975  */
6976 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_MASK)
6977 
6978 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_MASK (0x8U)
6979 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_SHIFT (3U)
6980 /*! BYPASS_EN_SETPOINT3 - BYPASS_EN_SETPOINT3
6981  *  0b0..Disabled
6982  *  0b1..Enabled
6983  */
6984 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_MASK)
6985 
6986 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_MASK (0x10U)
6987 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_SHIFT (4U)
6988 /*! BYPASS_EN_SETPOINT4 - BYPASS_EN_SETPOINT4
6989  *  0b0..Disabled
6990  *  0b1..Enabled
6991  */
6992 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_MASK)
6993 
6994 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_MASK (0x20U)
6995 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_SHIFT (5U)
6996 /*! BYPASS_EN_SETPOINT5 - BYPASS_EN_SETPOINT5
6997  *  0b0..Disabled
6998  *  0b1..Enabled
6999  */
7000 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_MASK)
7001 
7002 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_MASK (0x40U)
7003 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_SHIFT (6U)
7004 /*! BYPASS_EN_SETPOINT6 - BYPASS_EN_SETPOINT6
7005  *  0b0..Disabled
7006  *  0b1..Enabled
7007  */
7008 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_MASK)
7009 
7010 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_MASK (0x80U)
7011 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_SHIFT (7U)
7012 /*! BYPASS_EN_SETPOINT7 - BYPASS_EN_SETPOINT7
7013  *  0b0..Disabled
7014  *  0b1..Enabled
7015  */
7016 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_MASK)
7017 
7018 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_MASK (0x100U)
7019 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_SHIFT (8U)
7020 /*! BYPASS_EN_SETPOINT8 - BYPASS_EN_SETPOINT
7021  *  0b0..Disabled
7022  *  0b1..Enabled
7023  */
7024 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_MASK)
7025 
7026 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_MASK (0x200U)
7027 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_SHIFT (9U)
7028 /*! BYPASS_EN_SETPOINT9 - BYPASS_EN_SETPOINT9
7029  *  0b0..Disabled
7030  *  0b1..Enabled
7031  */
7032 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_MASK)
7033 
7034 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_MASK (0x400U)
7035 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_SHIFT (10U)
7036 /*! BYPASS_EN_SETPOINT10 - BYPASS_EN_SETPOINT10
7037  *  0b0..Disabled
7038  *  0b1..Enabled
7039  */
7040 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_MASK)
7041 
7042 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_MASK (0x800U)
7043 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_SHIFT (11U)
7044 /*! BYPASS_EN_SETPOINT11 - BYPASS_EN_SETPOINT11
7045  *  0b0..Disabled
7046  *  0b1..Enabled
7047  */
7048 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_MASK)
7049 
7050 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_MASK (0x1000U)
7051 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_SHIFT (12U)
7052 /*! BYPASS_EN_SETPOINT12 - BYPASS_EN_SETPOINT12
7053  *  0b0..Disabled
7054  *  0b1..Enabled
7055  */
7056 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_MASK)
7057 
7058 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_MASK (0x2000U)
7059 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_SHIFT (13U)
7060 /*! BYPASS_EN_SETPOINT13 - BYPASS_EN_SETPOINT13
7061  *  0b0..Disabled
7062  *  0b1..Enabled
7063  */
7064 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_MASK)
7065 
7066 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_MASK (0x4000U)
7067 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_SHIFT (14U)
7068 /*! BYPASS_EN_SETPOINT14 - BYPASS_EN_SETPOINT14
7069  *  0b0..Disabled
7070  *  0b1..Enabled
7071  */
7072 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_MASK)
7073 
7074 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_MASK (0x8000U)
7075 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_SHIFT (15U)
7076 /*! BYPASS_EN_SETPOINT15 - BYPASS_EN_SETPOINT15
7077  *  0b0..Disabled
7078  *  0b1..Enabled
7079  */
7080 #define ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_MASK)
7081 /*! @} */
7082 
7083 /*! @name LDO_LPSR_ANA_STBY_EN_SP - LDO_LPSR_ANA_STBY_EN_SP_REGISTER */
7084 /*! @{ */
7085 
7086 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
7087 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
7088 /*! STBY_EN_SETPOINT0 - STBY_EN_SETPOINT0
7089  *  0b0..Disabled
7090  *  0b1..Enabled
7091  */
7092 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
7093 
7094 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
7095 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
7096 /*! STBY_EN_SETPOINT1 - STBY_EN_SETPOINT1
7097  *  0b0..Disabled
7098  *  0b1..Enabled
7099  */
7100 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
7101 
7102 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
7103 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
7104 /*! STBY_EN_SETPOINT2 - STBY_EN_SETPOINT2
7105  *  0b0..Disabled
7106  *  0b1..Enabled
7107  */
7108 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
7109 
7110 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
7111 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
7112 /*! STBY_EN_SETPOINT3 - STBY_EN_SETPOINT3
7113  *  0b0..Disabled
7114  *  0b1..Enabled
7115  */
7116 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
7117 
7118 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
7119 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
7120 /*! STBY_EN_SETPOINT4 - STBY_EN_SETPOINT4
7121  *  0b0..Disabled
7122  *  0b1..Enabled
7123  */
7124 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
7125 
7126 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
7127 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
7128 /*! STBY_EN_SETPOINT5 - STBY_EN_SETPOINT5
7129  *  0b0..Disabled
7130  *  0b1..Enabled
7131  */
7132 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
7133 
7134 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
7135 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
7136 /*! STBY_EN_SETPOINT6 - STBY_EN_SETPOINT6
7137  *  0b0..Disabled
7138  *  0b1..Enabled
7139  */
7140 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
7141 
7142 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
7143 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
7144 /*! STBY_EN_SETPOINT7 - STBY_EN_SETPOINT7
7145  *  0b0..Disabled
7146  *  0b1..Enabled
7147  */
7148 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
7149 
7150 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
7151 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
7152 /*! STBY_EN_SETPOINT8 - STBY_EN_SETPOINT8
7153  *  0b0..Disabled
7154  *  0b1..Enabled
7155  */
7156 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
7157 
7158 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
7159 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
7160 /*! STBY_EN_SETPOINT9 - STBY_EN_SETPOINT9
7161  *  0b0..Disabled
7162  *  0b1..Enabled
7163  */
7164 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
7165 
7166 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
7167 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
7168 /*! STBY_EN_SETPOINT10 - STBY_EN_SETPOINT10
7169  *  0b0..Disabled
7170  *  0b1..Enabled
7171  */
7172 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
7173 
7174 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
7175 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
7176 /*! STBY_EN_SETPOINT11 - STBY_EN_SETPOINT11
7177  *  0b0..Disabled
7178  *  0b1..Enabled
7179  */
7180 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
7181 
7182 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
7183 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
7184 /*! STBY_EN_SETPOINT12 - STBY_EN_SETPOINT12
7185  *  0b0..Disabled
7186  *  0b1..Enabled
7187  */
7188 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
7189 
7190 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
7191 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
7192 /*! STBY_EN_SETPOINT13 - STBY_EN_SETPOINT13
7193  *  0b0..Disabled
7194  *  0b1..Enabled
7195  */
7196 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
7197 
7198 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
7199 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
7200 /*! STBY_EN_SETPOINT14 - STBY_EN_SETPOINT14
7201  *  0b0..Disabled
7202  *  0b1..Enabled
7203  */
7204 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
7205 
7206 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
7207 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
7208 /*! STBY_EN_SETPOINT15 - STBY_EN_SETPOINT15
7209  *  0b0..Disabled
7210  *  0b1..Enabled
7211  */
7212 #define ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_ANA_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
7213 /*! @} */
7214 
7215 /*! @name LDO_LPSR_DIG_ENABLE_SP - LDO_LPSR_DIG_ENABLE_SP_REGISTER */
7216 /*! @{ */
7217 
7218 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
7219 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
7220 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
7221  *  0b0..ON
7222  *  0b1..OFF
7223  */
7224 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
7225 
7226 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
7227 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
7228 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
7229  *  0b0..ON
7230  *  0b1..OFF
7231  */
7232 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
7233 
7234 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
7235 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
7236 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
7237  *  0b0..ON
7238  *  0b1..OFF
7239  */
7240 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
7241 
7242 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
7243 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
7244 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
7245  *  0b0..ON
7246  *  0b1..OFF
7247  */
7248 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
7249 
7250 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
7251 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
7252 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
7253  *  0b0..ON
7254  *  0b1..OFF
7255  */
7256 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
7257 
7258 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
7259 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
7260 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
7261  *  0b0..ON
7262  *  0b1..OFF
7263  */
7264 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
7265 
7266 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
7267 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
7268 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
7269  *  0b0..ON
7270  *  0b1..OFF
7271  */
7272 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
7273 
7274 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
7275 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
7276 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
7277  *  0b0..ON
7278  *  0b1..OFF
7279  */
7280 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
7281 
7282 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
7283 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
7284 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
7285  *  0b0..ON
7286  *  0b1..OFF
7287  */
7288 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
7289 
7290 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
7291 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
7292 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
7293  *  0b0..ON
7294  *  0b1..OFF
7295  */
7296 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
7297 
7298 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
7299 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
7300 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
7301  *  0b0..ON
7302  *  0b1..OFF
7303  */
7304 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
7305 
7306 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
7307 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
7308 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
7309  *  0b0..ON
7310  *  0b1..OFF
7311  */
7312 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
7313 
7314 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
7315 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
7316 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
7317  *  0b0..ON
7318  *  0b1..OFF
7319  */
7320 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
7321 
7322 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
7323 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
7324 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
7325  *  0b0..ON
7326  *  0b1..OFF
7327  */
7328 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
7329 
7330 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
7331 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
7332 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
7333  *  0b0..ON
7334  *  0b1..OFF
7335  */
7336 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
7337 
7338 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
7339 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
7340 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
7341  *  0b0..ON
7342  *  0b1..OFF
7343  */
7344 #define ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
7345 /*! @} */
7346 
7347 /*! @name LDO_LPSR_DIG_TRG_SP0 - LDO_LPSR_DIG_TRG_SP0_REGISTER */
7348 /*! @{ */
7349 
7350 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT0_MASK (0xFFU)
7351 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT0_SHIFT (0U)
7352 /*! VOLTAGE_SETPOINT0 - VOLTAGE_SETPOINT0
7353  */
7354 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT0_MASK)
7355 
7356 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT1_MASK (0xFF00U)
7357 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT1_SHIFT (8U)
7358 /*! VOLTAGE_SETPOINT1 - VOLTAGE_SETPOINT1
7359  */
7360 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT1_MASK)
7361 
7362 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT2_MASK (0xFF0000U)
7363 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT2_SHIFT (16U)
7364 /*! VOLTAGE_SETPOINT2 - VOLTAGE_SETPOINT2
7365  */
7366 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT2_MASK)
7367 
7368 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT3_MASK (0xFF000000U)
7369 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT3_SHIFT (24U)
7370 /*! VOLTAGE_SETPOINT3 - VOLTAGE_SETPOINT3
7371  */
7372 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP0_VOLTAGE_SETPOINT3_MASK)
7373 /*! @} */
7374 
7375 /*! @name LDO_LPSR_DIG_TRG_SP1 - LDO_LPSR_DIG_TRG_SP1_REGISTER */
7376 /*! @{ */
7377 
7378 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT4_MASK (0xFFU)
7379 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT4_SHIFT (0U)
7380 /*! VOLTAGE_SETPOINT4 - VOLTAGE_SETPOINT4
7381  */
7382 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT4_MASK)
7383 
7384 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT5_MASK (0xFF00U)
7385 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT5_SHIFT (8U)
7386 /*! VOLTAGE_SETPOINT5 - VOLTAGE_SETPOINT5
7387  */
7388 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT5_MASK)
7389 
7390 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT6_MASK (0xFF0000U)
7391 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT6_SHIFT (16U)
7392 /*! VOLTAGE_SETPOINT6 - VOLTAGE_SETPOINT6
7393  */
7394 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT6_MASK)
7395 
7396 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT7_MASK (0xFF000000U)
7397 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT7_SHIFT (24U)
7398 /*! VOLTAGE_SETPOINT7 - VOLTAGE_SETPOINT7
7399  */
7400 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP1_VOLTAGE_SETPOINT7_MASK)
7401 /*! @} */
7402 
7403 /*! @name LDO_LPSR_DIG_TRG_SP2 - LDO_LPSR_DIG_TRG_SP2_REGISTER */
7404 /*! @{ */
7405 
7406 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT8_MASK (0xFFU)
7407 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT8_SHIFT (0U)
7408 /*! VOLTAGE_SETPOINT8 - VOLTAGE_SETPOINT8
7409  */
7410 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT8_MASK)
7411 
7412 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT9_MASK (0xFF00U)
7413 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT9_SHIFT (8U)
7414 /*! VOLTAGE_SETPOINT9 - VOLTAGE_SETPOINT9
7415  */
7416 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT9_MASK)
7417 
7418 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT10_MASK (0xFF0000U)
7419 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT10_SHIFT (16U)
7420 /*! VOLTAGE_SETPOINT10 - VOLTAGE_SETPOINT10
7421  */
7422 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT10_MASK)
7423 
7424 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT11_MASK (0xFF000000U)
7425 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT11_SHIFT (24U)
7426 /*! VOLTAGE_SETPOINT11 - VOLTAGE_SETPOINT11
7427  */
7428 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP2_VOLTAGE_SETPOINT11_MASK)
7429 /*! @} */
7430 
7431 /*! @name LDO_LPSR_DIG_TRG_SP3 - LDO_LPSR_DIG_TRG_SP3_REGISTER */
7432 /*! @{ */
7433 
7434 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT12_MASK (0xFFU)
7435 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT12_SHIFT (0U)
7436 /*! VOLTAGE_SETPOINT12 - VOLTAGE_SETPOINT12
7437  */
7438 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT12_MASK)
7439 
7440 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT13_MASK (0xFF00U)
7441 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT13_SHIFT (8U)
7442 /*! VOLTAGE_SETPOINT13 - VOLTAGE_SETPOINT13
7443  */
7444 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT13_MASK)
7445 
7446 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT14_MASK (0xFF0000U)
7447 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT14_SHIFT (16U)
7448 /*! VOLTAGE_SETPOINT14 - VOLTAGE_SETPOINT14
7449  */
7450 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT14_MASK)
7451 
7452 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT15_MASK (0xFF000000U)
7453 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT15_SHIFT (24U)
7454 /*! VOLTAGE_SETPOINT15 - VOLTAGE_SETPOINT15
7455  */
7456 #define ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRG_SP3_VOLTAGE_SETPOINT15_MASK)
7457 /*! @} */
7458 
7459 /*! @name LDO_LPSR_DIG_LP_MODE_SP - LDO_LPSR_DIG_LP_MODE_SP_REGISTER */
7460 /*! @{ */
7461 
7462 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT0_MASK (0x1U)
7463 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT0_SHIFT (0U)
7464 /*! LP_MODE_SETPOINT0 - LP_MODE_SETPOINT0
7465  *  0b0..LP
7466  *  0b1..HP
7467  */
7468 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT0_MASK)
7469 
7470 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT1_MASK (0x2U)
7471 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT1_SHIFT (1U)
7472 /*! LP_MODE_SETPOINT1 - LP_MODE_SETPOINT1
7473  *  0b0..LP
7474  *  0b1..HP
7475  */
7476 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT1_MASK)
7477 
7478 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT2_MASK (0x4U)
7479 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT2_SHIFT (2U)
7480 /*! LP_MODE_SETPOINT2 - LP_MODE_SETPOINT2
7481  *  0b0..LP
7482  *  0b1..HP
7483  */
7484 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT2_MASK)
7485 
7486 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT3_MASK (0x8U)
7487 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT3_SHIFT (3U)
7488 /*! LP_MODE_SETPOINT3 - LP_MODE_SETPOINT3
7489  *  0b0..LP
7490  *  0b1..HP
7491  */
7492 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT3_MASK)
7493 
7494 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT4_MASK (0x10U)
7495 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT4_SHIFT (4U)
7496 /*! LP_MODE_SETPOINT4 - LP_MODE_SETPOINT4
7497  *  0b0..LP
7498  *  0b1..HP
7499  */
7500 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT4_MASK)
7501 
7502 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT5_MASK (0x20U)
7503 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT5_SHIFT (5U)
7504 /*! LP_MODE_SETPOINT5 - LP_MODE_SETPOINT5
7505  *  0b0..LP
7506  *  0b1..HP
7507  */
7508 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT5_MASK)
7509 
7510 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT6_MASK (0x40U)
7511 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT6_SHIFT (6U)
7512 /*! LP_MODE_SETPOINT6 - LP_MODE_SETPOINT6
7513  *  0b0..LP
7514  *  0b1..HP
7515  */
7516 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT6_MASK)
7517 
7518 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT7_MASK (0x80U)
7519 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT7_SHIFT (7U)
7520 /*! LP_MODE_SETPOINT7 - LP_MODE_SETPOINT7
7521  *  0b0..LP
7522  *  0b1..HP
7523  */
7524 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT7_MASK)
7525 
7526 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT8_MASK (0x100U)
7527 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT8_SHIFT (8U)
7528 /*! LP_MODE_SETPOINT8 - LP_MODE_SETPOINT8
7529  *  0b0..LP
7530  *  0b1..HP
7531  */
7532 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT8_MASK)
7533 
7534 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT9_MASK (0x200U)
7535 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT9_SHIFT (9U)
7536 /*! LP_MODE_SETPOINT9 - LP_MODE_SETPOINT9
7537  *  0b0..LP
7538  *  0b1..HP
7539  */
7540 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT9_MASK)
7541 
7542 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT10_MASK (0x400U)
7543 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT10_SHIFT (10U)
7544 /*! LP_MODE_SETPOINT10 - LP_MODE_SETPOINT10
7545  *  0b0..LP
7546  *  0b1..HP
7547  */
7548 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT10_MASK)
7549 
7550 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT11_MASK (0x800U)
7551 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT11_SHIFT (11U)
7552 /*! LP_MODE_SETPOINT11 - LP_MODE_SETPOINT11
7553  *  0b0..LP
7554  *  0b1..HP
7555  */
7556 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT11_MASK)
7557 
7558 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT12_MASK (0x1000U)
7559 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT12_SHIFT (12U)
7560 /*! LP_MODE_SETPOINT12 - LP_MODE_SETPOINT12
7561  *  0b0..LP
7562  *  0b1..HP
7563  */
7564 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT12_MASK)
7565 
7566 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT13_MASK (0x2000U)
7567 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT13_SHIFT (13U)
7568 /*! LP_MODE_SETPOINT13 - LP_MODE_SETPOINT13
7569  *  0b0..LP
7570  *  0b1..HP
7571  */
7572 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT13_MASK)
7573 
7574 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT14_MASK (0x4000U)
7575 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT14_SHIFT (14U)
7576 /*! LP_MODE_SETPOINT14 - LP_MODE_SETPOINT14
7577  *  0b0..LP
7578  *  0b1..HP
7579  */
7580 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT14_MASK)
7581 
7582 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT15_MASK (0x8000U)
7583 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT15_SHIFT (15U)
7584 /*! LP_MODE_SETPOINT15 - LP_MODE_SETPOINT15
7585  *  0b0..LP
7586  *  0b1..HP
7587  */
7588 #define ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_LP_MODE_SP_LP_MODE_SETPOINT15_MASK)
7589 /*! @} */
7590 
7591 /*! @name LDO_LPSR_DIG_TRACKING_EN_SP - LDO_LPSR_DIG_TRACKING_EN_SP_REGISTER */
7592 /*! @{ */
7593 
7594 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_MASK (0x1U)
7595 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_SHIFT (0U)
7596 /*! TRACKING_EN_SETPOINT0 - TRACKING_EN_SETPOINT0
7597  *  0b0..Disabled
7598  *  0b1..Enabled
7599  */
7600 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT0_MASK)
7601 
7602 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_MASK (0x2U)
7603 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_SHIFT (1U)
7604 /*! TRACKING_EN_SETPOINT1 - TRACKING_EN_SETPOINT1
7605  *  0b0..Disabled
7606  *  0b1..Enabled
7607  */
7608 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT1_MASK)
7609 
7610 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_MASK (0x4U)
7611 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_SHIFT (2U)
7612 /*! TRACKING_EN_SETPOINT2 - TRACKING_EN_SETPOINT2
7613  *  0b0..Disabled
7614  *  0b1..Enabled
7615  */
7616 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT2_MASK)
7617 
7618 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_MASK (0x8U)
7619 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_SHIFT (3U)
7620 /*! TRACKING_EN_SETPOINT3 - TRACKING_EN_SETPOINT3
7621  *  0b0..Disabled
7622  *  0b1..Enabled
7623  */
7624 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT3_MASK)
7625 
7626 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_MASK (0x10U)
7627 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_SHIFT (4U)
7628 /*! TRACKING_EN_SETPOINT4 - TRACKING_EN_SETPOINT4
7629  *  0b0..Disabled
7630  *  0b1..Enabled
7631  */
7632 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT4_MASK)
7633 
7634 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_MASK (0x20U)
7635 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_SHIFT (5U)
7636 /*! TRACKING_EN_SETPOINT5 - TRACKING_EN_SETPOINT5
7637  *  0b0..Disabled
7638  *  0b1..Enabled
7639  */
7640 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT5_MASK)
7641 
7642 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_MASK (0x40U)
7643 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_SHIFT (6U)
7644 /*! TRACKING_EN_SETPOINT6 - TRACKING_EN_SETPOINT6
7645  *  0b0..Disabled
7646  *  0b1..Enabled
7647  */
7648 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT6_MASK)
7649 
7650 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_MASK (0x80U)
7651 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_SHIFT (7U)
7652 /*! TRACKING_EN_SETPOINT7 - TRACKING_EN_SETPOINT7
7653  *  0b0..Disabled
7654  *  0b1..Enabled
7655  */
7656 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT7_MASK)
7657 
7658 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_MASK (0x100U)
7659 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_SHIFT (8U)
7660 /*! TRACKING_EN_SETPOINT8 - TRACKING_EN_SETPOINT8
7661  *  0b0..Disabled
7662  *  0b1..Enabled
7663  */
7664 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT8_MASK)
7665 
7666 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_MASK (0x200U)
7667 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_SHIFT (9U)
7668 /*! TRACKING_EN_SETPOINT9 - TRACKING_EN_SETPOINT9
7669  *  0b0..Disabled
7670  *  0b1..Enabled
7671  */
7672 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT9_MASK)
7673 
7674 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_MASK (0x400U)
7675 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_SHIFT (10U)
7676 /*! TRACKING_EN_SETPOINT10 - TRACKING_EN_SETPOINT10
7677  *  0b0..Disabled
7678  *  0b1..Enabled
7679  */
7680 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT10_MASK)
7681 
7682 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_MASK (0x800U)
7683 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_SHIFT (11U)
7684 /*! TRACKING_EN_SETPOINT11 - TRACKING_EN_SETPOINT11
7685  *  0b0..Disabled
7686  *  0b1..Enabled
7687  */
7688 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT11_MASK)
7689 
7690 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_MASK (0x1000U)
7691 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_SHIFT (12U)
7692 /*! TRACKING_EN_SETPOINT12 - TRACKING_EN_SETPOINT12
7693  *  0b0..Disabled
7694  *  0b1..Enabled
7695  */
7696 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT12_MASK)
7697 
7698 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_MASK (0x2000U)
7699 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_SHIFT (13U)
7700 /*! TRACKING_EN_SETPOINT13 - TRACKING_EN_SETPOINT13
7701  *  0b0..Disabled
7702  *  0b1..Enabled
7703  */
7704 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT13_MASK)
7705 
7706 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_MASK (0x4000U)
7707 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_SHIFT (14U)
7708 /*! TRACKING_EN_SETPOINT14 - TRACKING_EN_SETPOINT14
7709  *  0b0..Disabled
7710  *  0b1..Enabled
7711  */
7712 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT14_MASK)
7713 
7714 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_MASK (0x8000U)
7715 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_SHIFT (15U)
7716 /*! TRACKING_EN_SETPOINT15 - TRACKING_EN_SETPOINT15
7717  *  0b0..Disabled
7718  *  0b1..Enabled
7719  */
7720 #define ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_TRACKING_EN_SP_TRACKING_EN_SETPOINT15_MASK)
7721 /*! @} */
7722 
7723 /*! @name LDO_LPSR_DIG_BYPASS_EN_SP - LDO_LPSR_DIG_BYPASS_EN_SP_REGISTER */
7724 /*! @{ */
7725 
7726 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_MASK (0x1U)
7727 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_SHIFT (0U)
7728 /*! BYPASS_EN_SETPOINT0 - BYPASS_EN_SETPOINT0
7729  *  0b0..Disabled
7730  *  0b1..Enabled
7731  */
7732 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT0_MASK)
7733 
7734 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_MASK (0x2U)
7735 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_SHIFT (1U)
7736 /*! BYPASS_EN_SETPOINT1 - BYPASS_EN_SETPOINT1
7737  *  0b0..Disabled
7738  *  0b1..Enabled
7739  */
7740 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT1_MASK)
7741 
7742 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_MASK (0x4U)
7743 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_SHIFT (2U)
7744 /*! BYPASS_EN_SETPOINT2 - BYPASS_EN_SETPOINT2
7745  *  0b0..Disabled
7746  *  0b1..Enabled
7747  */
7748 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT2_MASK)
7749 
7750 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_MASK (0x8U)
7751 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_SHIFT (3U)
7752 /*! BYPASS_EN_SETPOINT3 - BYPASS_EN_SETPOINT3
7753  *  0b0..Disabled
7754  *  0b1..Enabled
7755  */
7756 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT3_MASK)
7757 
7758 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_MASK (0x10U)
7759 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_SHIFT (4U)
7760 /*! BYPASS_EN_SETPOINT4 - BYPASS_EN_SETPOINT4
7761  *  0b0..Disabled
7762  *  0b1..Enabled
7763  */
7764 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT4_MASK)
7765 
7766 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_MASK (0x20U)
7767 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_SHIFT (5U)
7768 /*! BYPASS_EN_SETPOINT5 - BYPASS_EN_SETPOINT5
7769  *  0b0..Disabled
7770  *  0b1..Enabled
7771  */
7772 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT5_MASK)
7773 
7774 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_MASK (0x40U)
7775 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_SHIFT (6U)
7776 /*! BYPASS_EN_SETPOINT6 - BYPASS_EN_SETPOINT6
7777  *  0b0..Disabled
7778  *  0b1..Enabled
7779  */
7780 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT6_MASK)
7781 
7782 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_MASK (0x80U)
7783 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_SHIFT (7U)
7784 /*! BYPASS_EN_SETPOINT7 - BYPASS_EN_SETPOINT7
7785  *  0b0..Disabled
7786  *  0b1..Enabled
7787  */
7788 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT7_MASK)
7789 
7790 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_MASK (0x100U)
7791 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_SHIFT (8U)
7792 /*! BYPASS_EN_SETPOINT8 - BYPASS_EN_SETPOINT8
7793  *  0b0..Disabled
7794  *  0b1..Enabled
7795  */
7796 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT8_MASK)
7797 
7798 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_MASK (0x200U)
7799 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_SHIFT (9U)
7800 /*! BYPASS_EN_SETPOINT9 - BYPASS_EN_SETPOINT9
7801  *  0b0..Disabled
7802  *  0b1..Enabled
7803  */
7804 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT9_MASK)
7805 
7806 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_MASK (0x400U)
7807 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_SHIFT (10U)
7808 /*! BYPASS_EN_SETPOINT10 - BYPASS_EN_SETPOINT10
7809  *  0b0..Disabled
7810  *  0b1..Enabled
7811  */
7812 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT10_MASK)
7813 
7814 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_MASK (0x800U)
7815 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_SHIFT (11U)
7816 /*! BYPASS_EN_SETPOINT11 - BYPASS_EN_SETPOINT11
7817  *  0b0..Disabled
7818  *  0b1..Enabled
7819  */
7820 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT11_MASK)
7821 
7822 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_MASK (0x1000U)
7823 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_SHIFT (12U)
7824 /*! BYPASS_EN_SETPOINT12 - BYPASS_EN_SETPOINT12
7825  *  0b0..Disabled
7826  *  0b1..Enabled
7827  */
7828 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT12_MASK)
7829 
7830 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_MASK (0x2000U)
7831 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_SHIFT (13U)
7832 /*! BYPASS_EN_SETPOINT13 - BYPASS_EN_SETPOINT13
7833  *  0b0..Disabled
7834  *  0b1..Enabled
7835  */
7836 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT13_MASK)
7837 
7838 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_MASK (0x4000U)
7839 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_SHIFT (14U)
7840 /*! BYPASS_EN_SETPOINT14 - BYPASS_EN_SETPOINT14
7841  *  0b0..Disabled
7842  *  0b1..Enabled
7843  */
7844 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT14_MASK)
7845 
7846 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_MASK (0x8000U)
7847 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_SHIFT (15U)
7848 /*! BYPASS_EN_SETPOINT15 - BYPASS_EN_SETPOINT15
7849  *  0b0..Disabled
7850  *  0b1..Enabled
7851  */
7852 #define ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_BYPASS_EN_SP_BYPASS_EN_SETPOINT15_MASK)
7853 /*! @} */
7854 
7855 /*! @name LDO_LPSR_DIG_STBY_EN_SP - LDO_LPSR_DIG_STBY_EN_SP_REGISTER */
7856 /*! @{ */
7857 
7858 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
7859 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
7860 /*! STBY_EN_SETPOINT0 - STBY_EN_SETPOINT0
7861  *  0b0..Disabled
7862  *  0b1..Enabled
7863  */
7864 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
7865 
7866 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
7867 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
7868 /*! STBY_EN_SETPOINT1 - STBY_EN_SETPOINT1
7869  *  0b0..Disabled
7870  *  0b1..Enabled
7871  */
7872 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
7873 
7874 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
7875 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
7876 /*! STBY_EN_SETPOINT2 - STBY_EN_SETPOINT2
7877  *  0b0..Disabled
7878  *  0b1..Enabled
7879  */
7880 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
7881 
7882 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
7883 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
7884 /*! STBY_EN_SETPOINT3 - STBY_EN_SETPOINT3
7885  *  0b0..Disabled
7886  *  0b1..Enabled
7887  */
7888 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
7889 
7890 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
7891 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
7892 /*! STBY_EN_SETPOINT4 - STBY_EN_SETPOINT4
7893  *  0b0..Disabled
7894  *  0b1..Enabled
7895  */
7896 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
7897 
7898 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
7899 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
7900 /*! STBY_EN_SETPOINT5 - STBY_EN_SETPOINT5
7901  *  0b0..Disabled
7902  *  0b1..Enabled
7903  */
7904 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
7905 
7906 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
7907 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
7908 /*! STBY_EN_SETPOINT6 - STBY_EN_SETPOINT6
7909  *  0b0..Disabled
7910  *  0b1..Enabled
7911  */
7912 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
7913 
7914 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
7915 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
7916 /*! STBY_EN_SETPOINT7 - STBY_EN_SETPOINT7
7917  *  0b0..Disabled
7918  *  0b1..Enabled
7919  */
7920 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
7921 
7922 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
7923 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
7924 /*! STBY_EN_SETPOINT8 - STBY_EN_SETPOINT8
7925  *  0b0..Disabled
7926  *  0b1..Enabled
7927  */
7928 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
7929 
7930 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
7931 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
7932 /*! STBY_EN_SETPOINT9 - STBY_EN_SETPOINT9
7933  *  0b0..Disabled
7934  *  0b1..Enabled
7935  */
7936 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
7937 
7938 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
7939 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
7940 /*! STBY_EN_SETPOINT10 - STBY_EN_SETPOINT10
7941  *  0b0..Disabled
7942  *  0b1..Enabled
7943  */
7944 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
7945 
7946 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
7947 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
7948 /*! STBY_EN_SETPOINT11 - STBY_EN_SETPOINT11
7949  *  0b0..Disabled
7950  *  0b1..Enabled
7951  */
7952 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
7953 
7954 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
7955 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
7956 /*! STBY_EN_SETPOINT12 - STBY_EN_SETPOINT12
7957  *  0b0..Disabled
7958  *  0b1..Enabled
7959  */
7960 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
7961 
7962 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
7963 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
7964 /*! STBY_EN_SETPOINT13 - STBY_EN_SETPOINT13
7965  *  0b0..Disabled
7966  *  0b1..Enabled
7967  */
7968 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
7969 
7970 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
7971 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
7972 /*! STBY_EN_SETPOINT14 - STBY_EN_SETPOINT14
7973  *  0b0..Disabled
7974  *  0b1..Enabled
7975  */
7976 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
7977 
7978 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
7979 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
7980 /*! STBY_EN_SETPOINT15 - STBY_EN_SETPOINT15
7981  *  0b0..Disabled
7982  *  0b1..Enabled
7983  */
7984 #define ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_LDO_LPSR_DIG_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
7985 /*! @} */
7986 
7987 /*! @name BANDGAP_ENABLE_SP - BANDGAP_ENABLE_SP_REGISTER */
7988 /*! @{ */
7989 
7990 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
7991 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
7992 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
7993  *  0b0..ON
7994  *  0b1..OFF
7995  */
7996 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
7997 
7998 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
7999 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
8000 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
8001  *  0b0..ON
8002  *  0b1..OFF
8003  */
8004 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
8005 
8006 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
8007 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
8008 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
8009  *  0b0..ON
8010  *  0b1..OFF
8011  */
8012 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
8013 
8014 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
8015 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
8016 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
8017  *  0b0..ON
8018  *  0b1..OFF
8019  */
8020 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
8021 
8022 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
8023 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
8024 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
8025  *  0b0..ON
8026  *  0b1..OFF
8027  */
8028 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
8029 
8030 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
8031 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
8032 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
8033  *  0b0..ON
8034  *  0b1..OFF
8035  */
8036 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
8037 
8038 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
8039 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
8040 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT5
8041  *  0b0..ON
8042  *  0b1..OFF
8043  */
8044 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
8045 
8046 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
8047 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
8048 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
8049  *  0b0..ON
8050  *  0b1..OFF
8051  */
8052 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
8053 
8054 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
8055 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
8056 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
8057  *  0b0..ON
8058  *  0b1..OFF
8059  */
8060 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
8061 
8062 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
8063 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
8064 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
8065  *  0b0..ON
8066  *  0b1..OFF
8067  */
8068 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
8069 
8070 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
8071 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
8072 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
8073  *  0b0..ON
8074  *  0b1..OFF
8075  */
8076 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
8077 
8078 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
8079 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
8080 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
8081  *  0b0..ON
8082  *  0b1..OFF
8083  */
8084 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
8085 
8086 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
8087 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
8088 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
8089  *  0b0..ON
8090  *  0b1..OFF
8091  */
8092 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
8093 
8094 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
8095 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
8096 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
8097  *  0b0..ON
8098  *  0b1..OFF
8099  */
8100 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
8101 
8102 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
8103 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
8104 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
8105  *  0b0..ON
8106  *  0b1..OFF
8107  */
8108 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
8109 
8110 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
8111 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
8112 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
8113  *  0b0..ON
8114  *  0b1..OFF
8115  */
8116 #define ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_BANDGAP_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
8117 /*! @} */
8118 
8119 /*! @name FBB_M7_ENABLE_SP - FBB_M7_ENABLE_SP_REGISTER */
8120 /*! @{ */
8121 
8122 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
8123 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
8124 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
8125  *  0b0..ON
8126  *  0b1..OFF
8127  */
8128 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
8129 
8130 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
8131 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
8132 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
8133  *  0b0..ON
8134  *  0b1..OFF
8135  */
8136 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
8137 
8138 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
8139 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
8140 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
8141  *  0b0..ON
8142  *  0b1..OFF
8143  */
8144 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
8145 
8146 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
8147 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
8148 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
8149  *  0b0..ON
8150  *  0b1..OFF
8151  */
8152 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
8153 
8154 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
8155 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
8156 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
8157  *  0b0..ON
8158  *  0b1..OFF
8159  */
8160 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
8161 
8162 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
8163 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
8164 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
8165  *  0b0..ON
8166  *  0b1..OFF
8167  */
8168 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
8169 
8170 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
8171 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
8172 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
8173  *  0b0..ON
8174  *  0b1..OFF
8175  */
8176 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
8177 
8178 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
8179 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
8180 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
8181  *  0b0..ON
8182  *  0b1..OFF
8183  */
8184 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
8185 
8186 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
8187 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
8188 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
8189  *  0b0..ON
8190  *  0b1..OFF
8191  */
8192 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
8193 
8194 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
8195 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
8196 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
8197  *  0b0..ON
8198  *  0b1..OFF
8199  */
8200 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
8201 
8202 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
8203 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
8204 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
8205  *  0b0..ON
8206  *  0b1..OFF
8207  */
8208 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
8209 
8210 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
8211 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
8212 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
8213  *  0b0..ON
8214  *  0b1..OFF
8215  */
8216 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
8217 
8218 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
8219 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
8220 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
8221  *  0b0..ON
8222  *  0b1..OFF
8223  */
8224 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
8225 
8226 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
8227 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
8228 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
8229  *  0b0..ON
8230  *  0b1..OFF
8231  */
8232 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
8233 
8234 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
8235 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
8236 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
8237  *  0b0..ON
8238  *  0b1..OFF
8239  */
8240 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
8241 
8242 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
8243 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
8244 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
8245  *  0b0..ON
8246  *  0b1..OFF
8247  */
8248 #define ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_FBB_M7_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
8249 /*! @} */
8250 
8251 /*! @name RBB_SOC_ENABLE_SP - RBB_SOC_ENABLE_SP_REGISTER */
8252 /*! @{ */
8253 
8254 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
8255 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
8256 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
8257  *  0b0..ON
8258  *  0b1..OFF
8259  */
8260 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
8261 
8262 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
8263 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
8264 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
8265  *  0b0..ON
8266  *  0b1..OFF
8267  */
8268 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
8269 
8270 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
8271 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
8272 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
8273  *  0b0..ON
8274  *  0b1..OFF
8275  */
8276 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
8277 
8278 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
8279 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
8280 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
8281  *  0b0..ON
8282  *  0b1..OFF
8283  */
8284 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
8285 
8286 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
8287 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
8288 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
8289  *  0b0..ON
8290  *  0b1..OFF
8291  */
8292 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
8293 
8294 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
8295 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
8296 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
8297  *  0b0..ON
8298  *  0b1..OFF
8299  */
8300 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
8301 
8302 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
8303 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
8304 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
8305  *  0b0..ON
8306  *  0b1..OFF
8307  */
8308 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
8309 
8310 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
8311 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
8312 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
8313  *  0b0..ON
8314  *  0b1..OFF
8315  */
8316 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
8317 
8318 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
8319 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
8320 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
8321  *  0b0..ON
8322  *  0b1..OFF
8323  */
8324 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
8325 
8326 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
8327 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
8328 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
8329  *  0b0..ON
8330  *  0b1..OFF
8331  */
8332 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
8333 
8334 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
8335 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
8336 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
8337  *  0b0..ON
8338  *  0b1..OFF
8339  */
8340 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
8341 
8342 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
8343 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
8344 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
8345  *  0b0..ON
8346  *  0b1..OFF
8347  */
8348 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
8349 
8350 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
8351 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
8352 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
8353  *  0b0..ON
8354  *  0b1..OFF
8355  */
8356 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
8357 
8358 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
8359 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
8360 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
8361  *  0b0..ON
8362  *  0b1..OFF
8363  */
8364 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
8365 
8366 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
8367 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
8368 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
8369  *  0b0..ON
8370  *  0b1..OFF
8371  */
8372 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
8373 
8374 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
8375 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
8376 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
8377  *  0b0..ON
8378  *  0b1..OFF
8379  */
8380 #define ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_RBB_SOC_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
8381 /*! @} */
8382 
8383 /*! @name RBB_LPSR_ENABLE_SP - RBB_LPSR_ENABLE_SP_REGISTER */
8384 /*! @{ */
8385 
8386 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT0_MASK (0x1U)
8387 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT (0U)
8388 /*! ON_OFF_SETPOINT0 - ON_OFF_SETPOINT0
8389  *  0b0..ON
8390  *  0b1..OFF
8391  */
8392 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT0_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT0_MASK)
8393 
8394 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT1_MASK (0x2U)
8395 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT (1U)
8396 /*! ON_OFF_SETPOINT1 - ON_OFF_SETPOINT1
8397  *  0b0..ON
8398  *  0b1..OFF
8399  */
8400 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT1_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT1_MASK)
8401 
8402 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT2_MASK (0x4U)
8403 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT (2U)
8404 /*! ON_OFF_SETPOINT2 - ON_OFF_SETPOINT2
8405  *  0b0..ON
8406  *  0b1..OFF
8407  */
8408 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT2_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT2_MASK)
8409 
8410 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT3_MASK (0x8U)
8411 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT (3U)
8412 /*! ON_OFF_SETPOINT3 - ON_OFF_SETPOINT3
8413  *  0b0..ON
8414  *  0b1..OFF
8415  */
8416 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT3_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT3_MASK)
8417 
8418 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT4_MASK (0x10U)
8419 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT (4U)
8420 /*! ON_OFF_SETPOINT4 - ON_OFF_SETPOINT4
8421  *  0b0..ON
8422  *  0b1..OFF
8423  */
8424 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT4_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT4_MASK)
8425 
8426 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT5_MASK (0x20U)
8427 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT (5U)
8428 /*! ON_OFF_SETPOINT5 - ON_OFF_SETPOINT5
8429  *  0b0..ON
8430  *  0b1..OFF
8431  */
8432 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT5_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT5_MASK)
8433 
8434 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT6_MASK (0x40U)
8435 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT (6U)
8436 /*! ON_OFF_SETPOINT6 - ON_OFF_SETPOINT6
8437  *  0b0..ON
8438  *  0b1..OFF
8439  */
8440 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT6_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT6_MASK)
8441 
8442 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT7_MASK (0x80U)
8443 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT (7U)
8444 /*! ON_OFF_SETPOINT7 - ON_OFF_SETPOINT7
8445  *  0b0..ON
8446  *  0b1..OFF
8447  */
8448 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT7_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT7_MASK)
8449 
8450 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT8_MASK (0x100U)
8451 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT (8U)
8452 /*! ON_OFF_SETPOINT8 - ON_OFF_SETPOINT8
8453  *  0b0..ON
8454  *  0b1..OFF
8455  */
8456 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT8_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT8_MASK)
8457 
8458 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT9_MASK (0x200U)
8459 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT (9U)
8460 /*! ON_OFF_SETPOINT9 - ON_OFF_SETPOINT9
8461  *  0b0..ON
8462  *  0b1..OFF
8463  */
8464 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT9_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT9_MASK)
8465 
8466 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT10_MASK (0x400U)
8467 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT (10U)
8468 /*! ON_OFF_SETPOINT10 - ON_OFF_SETPOINT10
8469  *  0b0..ON
8470  *  0b1..OFF
8471  */
8472 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT10_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT10_MASK)
8473 
8474 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT11_MASK (0x800U)
8475 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT (11U)
8476 /*! ON_OFF_SETPOINT11 - ON_OFF_SETPOINT11
8477  *  0b0..ON
8478  *  0b1..OFF
8479  */
8480 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT11_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT11_MASK)
8481 
8482 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT12_MASK (0x1000U)
8483 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT (12U)
8484 /*! ON_OFF_SETPOINT12 - ON_OFF_SETPOINT12
8485  *  0b0..ON
8486  *  0b1..OFF
8487  */
8488 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT12_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT12_MASK)
8489 
8490 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT13_MASK (0x2000U)
8491 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT (13U)
8492 /*! ON_OFF_SETPOINT13 - ON_OFF_SETPOINT13
8493  *  0b0..ON
8494  *  0b1..OFF
8495  */
8496 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT13_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT13_MASK)
8497 
8498 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT14_MASK (0x4000U)
8499 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT (14U)
8500 /*! ON_OFF_SETPOINT14 - ON_OFF_SETPOINT14
8501  *  0b0..ON
8502  *  0b1..OFF
8503  */
8504 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT14_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT14_MASK)
8505 
8506 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT15_MASK (0x8000U)
8507 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT (15U)
8508 /*! ON_OFF_SETPOINT15 - ON_OFF_SETPOINT15
8509  *  0b0..ON
8510  *  0b1..OFF
8511  */
8512 #define ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT15_SHIFT)) & ANADIG_PMU_RBB_LPSR_ENABLE_SP_ON_OFF_SETPOINT15_MASK)
8513 /*! @} */
8514 
8515 /*! @name BANDGAP_STBY_EN_SP - BANDGAP_STBY_EN_SP_REGISTER */
8516 /*! @{ */
8517 
8518 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
8519 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
8520 /*! STBY_EN_SETPOINT0 - STBY_EN_SETPOINT
8521  *  0b0..Disabled
8522  *  0b1..Enabled
8523  */
8524 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
8525 
8526 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
8527 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
8528 /*! STBY_EN_SETPOINT1 - STBY_EN_SETPOINT
8529  *  0b0..Disabled
8530  *  0b1..Enabled
8531  */
8532 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
8533 
8534 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
8535 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
8536 /*! STBY_EN_SETPOINT2 - STBY_EN_SETPOINT
8537  *  0b0..Disabled
8538  *  0b1..Enabled
8539  */
8540 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
8541 
8542 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
8543 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
8544 /*! STBY_EN_SETPOINT3 - STBY_EN_SETPOINT
8545  *  0b0..Disabled
8546  *  0b1..Enabled
8547  */
8548 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
8549 
8550 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
8551 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
8552 /*! STBY_EN_SETPOINT4 - STBY_EN_SETPOINT
8553  *  0b0..Disabled
8554  *  0b1..Enabled
8555  */
8556 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
8557 
8558 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
8559 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
8560 /*! STBY_EN_SETPOINT5 - STBY_EN_SETPOINT
8561  *  0b0..Disabled
8562  *  0b1..Enabled
8563  */
8564 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
8565 
8566 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
8567 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
8568 /*! STBY_EN_SETPOINT6 - STBY_EN_SETPOINT
8569  *  0b0..Disabled
8570  *  0b1..Enabled
8571  */
8572 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
8573 
8574 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
8575 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
8576 /*! STBY_EN_SETPOINT7 - STBY_EN_SETPOINT
8577  *  0b0..Disabled
8578  *  0b1..Enabled
8579  */
8580 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
8581 
8582 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
8583 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
8584 /*! STBY_EN_SETPOINT8 - STBY_EN_SETPOINT
8585  *  0b0..Disabled
8586  *  0b1..Enabled
8587  */
8588 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
8589 
8590 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
8591 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
8592 /*! STBY_EN_SETPOINT9 - STBY_EN_SETPOINT
8593  *  0b0..Disabled
8594  *  0b1..Enabled
8595  */
8596 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
8597 
8598 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
8599 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
8600 /*! STBY_EN_SETPOINT10 - STBY_EN_SETPOINT
8601  *  0b0..Disabled
8602  *  0b1..Enabled
8603  */
8604 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
8605 
8606 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
8607 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
8608 /*! STBY_EN_SETPOINT11 - STBY_EN_SETPOINT
8609  *  0b0..Disabled
8610  *  0b1..Enabled
8611  */
8612 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
8613 
8614 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
8615 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
8616 /*! STBY_EN_SETPOINT12 - STBY_EN_SETPOINT
8617  *  0b0..Disabled
8618  *  0b1..Enabled
8619  */
8620 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
8621 
8622 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
8623 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
8624 /*! STBY_EN_SETPOINT13 - STBY_EN_SETPOINT
8625  *  0b0..Disabled
8626  *  0b1..Enabled
8627  */
8628 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
8629 
8630 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
8631 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
8632 /*! STBY_EN_SETPOINT14 - STBY_EN_SETPOINT
8633  *  0b0..Disabled
8634  *  0b1..Enabled
8635  */
8636 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
8637 
8638 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
8639 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
8640 /*! STBY_EN_SETPOINT15 - STBY_EN_SETPOINT
8641  *  0b0..Disabled
8642  *  0b1..Enabled
8643  */
8644 #define ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_BANDGAP_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
8645 /*! @} */
8646 
8647 /*! @name PLL_LDO_STBY_EN_SP - PLL_LDO_STBY_EN_SP_REGISTER */
8648 /*! @{ */
8649 
8650 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
8651 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
8652 /*! STBY_EN_SETPOINT0 - Standby mode
8653  *  0b0..Disabled
8654  *  0b1..Enabled
8655  */
8656 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
8657 
8658 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
8659 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
8660 /*! STBY_EN_SETPOINT1 - Standby mode
8661  *  0b0..Disabled
8662  *  0b1..Enabled
8663  */
8664 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
8665 
8666 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
8667 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
8668 /*! STBY_EN_SETPOINT2 - Standby mode
8669  *  0b0..Disabled
8670  *  0b1..Enabled
8671  */
8672 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
8673 
8674 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
8675 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
8676 /*! STBY_EN_SETPOINT3 - Standby mode
8677  *  0b0..Disabled
8678  *  0b1..Enabled
8679  */
8680 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
8681 
8682 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
8683 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
8684 /*! STBY_EN_SETPOINT4 - Standby mode
8685  *  0b0..Disabled
8686  *  0b1..Enabled
8687  */
8688 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
8689 
8690 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
8691 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
8692 /*! STBY_EN_SETPOINT5 - Standby mode
8693  *  0b0..Disabled
8694  *  0b1..Enabled
8695  */
8696 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
8697 
8698 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
8699 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
8700 /*! STBY_EN_SETPOINT6 - Standby mode
8701  *  0b0..Disabled
8702  *  0b1..Enabled
8703  */
8704 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
8705 
8706 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
8707 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
8708 /*! STBY_EN_SETPOINT7 - Standby mode
8709  *  0b0..Disabled
8710  *  0b1..Enabled
8711  */
8712 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
8713 
8714 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
8715 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
8716 /*! STBY_EN_SETPOINT8 - Standby mode
8717  *  0b0..Disabled
8718  *  0b1..Enabled
8719  */
8720 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
8721 
8722 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
8723 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
8724 /*! STBY_EN_SETPOINT9 - Standby mode
8725  *  0b0..Disabled
8726  *  0b1..Enabled
8727  */
8728 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
8729 
8730 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
8731 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
8732 /*! STBY_EN_SETPOINT10 - Standby mode
8733  *  0b0..Disabled
8734  *  0b1..Enabled
8735  */
8736 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
8737 
8738 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
8739 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
8740 /*! STBY_EN_SETPOINT11 - Standby mode
8741  *  0b0..Disabled
8742  *  0b1..Enabled
8743  */
8744 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
8745 
8746 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
8747 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
8748 /*! STBY_EN_SETPOINT12 - Standby mode
8749  *  0b0..Disabled
8750  *  0b1..Enabled
8751  */
8752 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
8753 
8754 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
8755 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
8756 /*! STBY_EN_SETPOINT13 - Standby mode
8757  *  0b0..Disabled
8758  *  0b1..Enabled
8759  */
8760 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
8761 
8762 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
8763 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
8764 /*! STBY_EN_SETPOINT14 - Standby mode
8765  *  0b0..Disabled
8766  *  0b1..Enabled
8767  */
8768 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
8769 
8770 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
8771 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
8772 /*! STBY_EN_SETPOINT15 - Standby mode
8773  *  0b0..Disabled
8774  *  0b1..Enabled
8775  */
8776 #define ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_PLL_LDO_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
8777 /*! @} */
8778 
8779 /*! @name FBB_M7_STBY_EN_SP - FBB_M7_STBY_EN_SP_REGISTER */
8780 /*! @{ */
8781 
8782 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
8783 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
8784 /*! STBY_EN_SETPOINT0 - Standby mode
8785  *  0b0..Disabled
8786  *  0b1..Enabled
8787  */
8788 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
8789 
8790 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
8791 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
8792 /*! STBY_EN_SETPOINT1 - Standby mode
8793  *  0b0..Disabled
8794  *  0b1..Enabled
8795  */
8796 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
8797 
8798 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
8799 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
8800 /*! STBY_EN_SETPOINT2 - Standby mode
8801  *  0b0..Disabled
8802  *  0b1..Enabled
8803  */
8804 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
8805 
8806 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
8807 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
8808 /*! STBY_EN_SETPOINT3 - Standby mode
8809  *  0b0..Disabled
8810  *  0b1..Enabled
8811  */
8812 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
8813 
8814 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
8815 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
8816 /*! STBY_EN_SETPOINT4 - Standby mode
8817  *  0b0..Disabled
8818  *  0b1..Enabled
8819  */
8820 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
8821 
8822 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
8823 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
8824 /*! STBY_EN_SETPOINT5 - Standby mode
8825  *  0b0..Disabled
8826  *  0b1..Enabled
8827  */
8828 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
8829 
8830 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
8831 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
8832 /*! STBY_EN_SETPOINT6 - Standby mode
8833  *  0b0..Disabled
8834  *  0b1..Enabled
8835  */
8836 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
8837 
8838 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
8839 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
8840 /*! STBY_EN_SETPOINT7 - Standby mode
8841  *  0b0..Disabled
8842  *  0b1..Enabled
8843  */
8844 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
8845 
8846 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
8847 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
8848 /*! STBY_EN_SETPOINT8 - Standby mode
8849  *  0b0..Disabled
8850  *  0b1..Enabled
8851  */
8852 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
8853 
8854 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
8855 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
8856 /*! STBY_EN_SETPOINT9 - Standby mode
8857  *  0b0..Disabled
8858  *  0b1..Enabled
8859  */
8860 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
8861 
8862 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
8863 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
8864 /*! STBY_EN_SETPOINT10 - Standby mode
8865  *  0b0..Disabled
8866  *  0b1..Enabled
8867  */
8868 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
8869 
8870 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
8871 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
8872 /*! STBY_EN_SETPOINT11 - Standby mode
8873  *  0b0..Disabled
8874  *  0b1..Enabled
8875  */
8876 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
8877 
8878 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
8879 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
8880 /*! STBY_EN_SETPOINT12 - Standby mode
8881  *  0b0..Disabled
8882  *  0b1..Enabled
8883  */
8884 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
8885 
8886 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
8887 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
8888 /*! STBY_EN_SETPOINT13 - Standby mode
8889  *  0b0..Disabled
8890  *  0b1..Enabled
8891  */
8892 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
8893 
8894 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
8895 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
8896 /*! STBY_EN_SETPOINT14 - Standby mode
8897  *  0b0..Disabled
8898  *  0b1..Enabled
8899  */
8900 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
8901 
8902 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
8903 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
8904 /*! STBY_EN_SETPOINT15 - Standby mode
8905  *  0b0..Disabled
8906  *  0b1..Enabled
8907  */
8908 #define ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_FBB_M7_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
8909 /*! @} */
8910 
8911 /*! @name RBB_SOC_STBY_EN_SP - RBB_SOC_STBY_EN_SP_REGISTER */
8912 /*! @{ */
8913 
8914 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
8915 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
8916 /*! STBY_EN_SETPOINT0 - Standby mode
8917  *  0b0..Disabled
8918  *  0b1..Enabled
8919  */
8920 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
8921 
8922 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
8923 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
8924 /*! STBY_EN_SETPOINT1 - Standby mode
8925  *  0b0..Disabled
8926  *  0b1..Enabled
8927  */
8928 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
8929 
8930 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
8931 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
8932 /*! STBY_EN_SETPOINT2 - Standby mode
8933  *  0b0..Disabled
8934  *  0b1..Enabled
8935  */
8936 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
8937 
8938 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
8939 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
8940 /*! STBY_EN_SETPOINT3 - Standby mode
8941  *  0b0..Disabled
8942  *  0b1..Enabled
8943  */
8944 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
8945 
8946 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
8947 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
8948 /*! STBY_EN_SETPOINT4 - Standby mode
8949  *  0b0..Disabled
8950  *  0b1..Enabled
8951  */
8952 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
8953 
8954 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
8955 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
8956 /*! STBY_EN_SETPOINT5 - Standby mode
8957  *  0b0..Disabled
8958  *  0b1..Enabled
8959  */
8960 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
8961 
8962 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
8963 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
8964 /*! STBY_EN_SETPOINT6 - Standby mode
8965  *  0b0..Disabled
8966  *  0b1..Enabled
8967  */
8968 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
8969 
8970 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
8971 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
8972 /*! STBY_EN_SETPOINT7 - Standby mode
8973  *  0b0..Disabled
8974  *  0b1..Enabled
8975  */
8976 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
8977 
8978 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
8979 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
8980 /*! STBY_EN_SETPOINT8 - Standby mode
8981  *  0b0..Disabled
8982  *  0b1..Enabled
8983  */
8984 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
8985 
8986 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
8987 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
8988 /*! STBY_EN_SETPOINT9 - Standby mode
8989  *  0b0..Disabled
8990  *  0b1..Enabled
8991  */
8992 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
8993 
8994 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
8995 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
8996 /*! STBY_EN_SETPOINT10 - Standby mode
8997  *  0b0..Disabled
8998  *  0b1..Enabled
8999  */
9000 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
9001 
9002 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
9003 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
9004 /*! STBY_EN_SETPOINT11 - Standby mode
9005  *  0b0..Disabled
9006  *  0b1..Enabled
9007  */
9008 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
9009 
9010 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
9011 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
9012 /*! STBY_EN_SETPOINT12 - Standby mode
9013  *  0b0..Disabled
9014  *  0b1..Enabled
9015  */
9016 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
9017 
9018 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
9019 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
9020 /*! STBY_EN_SETPOINT13 - Standby mode
9021  *  0b0..Disabled
9022  *  0b1..Enabled
9023  */
9024 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
9025 
9026 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
9027 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
9028 /*! STBY_EN_SETPOINT14 - Standby mode
9029  *  0b0..Disabled
9030  *  0b1..Enabled
9031  */
9032 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
9033 
9034 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
9035 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
9036 /*! STBY_EN_SETPOINT15 - Standby mode
9037  *  0b0..Disabled
9038  *  0b1..Enabled
9039  */
9040 #define ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_RBB_SOC_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
9041 /*! @} */
9042 
9043 /*! @name RBB_LPSR_STBY_EN_SP - RBB_LPSR_STBY_EN_SP_REGISTER */
9044 /*! @{ */
9045 
9046 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT0_MASK (0x1U)
9047 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT (0U)
9048 /*! STBY_EN_SETPOINT0 - Standby mode
9049  *  0b0..Disabled
9050  *  0b1..Enabled
9051  */
9052 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT0(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT0_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT0_MASK)
9053 
9054 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT1_MASK (0x2U)
9055 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT (1U)
9056 /*! STBY_EN_SETPOINT1 - Standby mode
9057  *  0b0..Disabled
9058  *  0b1..Enabled
9059  */
9060 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT1(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT1_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT1_MASK)
9061 
9062 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT2_MASK (0x4U)
9063 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT (2U)
9064 /*! STBY_EN_SETPOINT2 - Standby mode
9065  *  0b0..Disabled
9066  *  0b1..Enabled
9067  */
9068 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT2(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT2_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT2_MASK)
9069 
9070 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT3_MASK (0x8U)
9071 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT (3U)
9072 /*! STBY_EN_SETPOINT3 - Standby mode
9073  *  0b0..Disabled
9074  *  0b1..Enabled
9075  */
9076 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT3(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT3_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT3_MASK)
9077 
9078 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT4_MASK (0x10U)
9079 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT (4U)
9080 /*! STBY_EN_SETPOINT4 - Standby mode
9081  *  0b0..Disabled
9082  *  0b1..Enabled
9083  */
9084 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT4(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT4_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT4_MASK)
9085 
9086 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT5_MASK (0x20U)
9087 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT (5U)
9088 /*! STBY_EN_SETPOINT5 - Standby mode
9089  *  0b0..Disabled
9090  *  0b1..Enabled
9091  */
9092 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT5(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT5_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT5_MASK)
9093 
9094 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT6_MASK (0x40U)
9095 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT (6U)
9096 /*! STBY_EN_SETPOINT6 - Standby mode
9097  *  0b0..Disabled
9098  *  0b1..Enabled
9099  */
9100 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT6(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT6_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT6_MASK)
9101 
9102 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT7_MASK (0x80U)
9103 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT (7U)
9104 /*! STBY_EN_SETPOINT7 - Standby mode
9105  *  0b0..Disabled
9106  *  0b1..Enabled
9107  */
9108 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT7(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT7_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT7_MASK)
9109 
9110 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT8_MASK (0x100U)
9111 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT (8U)
9112 /*! STBY_EN_SETPOINT8 - Standby mode
9113  *  0b0..Disabled
9114  *  0b1..Enabled
9115  */
9116 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT8(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT8_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT8_MASK)
9117 
9118 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT9_MASK (0x200U)
9119 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT (9U)
9120 /*! STBY_EN_SETPOINT9 - Standby mode
9121  *  0b0..Disabled
9122  *  0b1..Enabled
9123  */
9124 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT9(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT9_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT9_MASK)
9125 
9126 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT10_MASK (0x400U)
9127 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT (10U)
9128 /*! STBY_EN_SETPOINT10 - Standby mode
9129  *  0b0..Disabled
9130  *  0b1..Enabled
9131  */
9132 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT10(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT10_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT10_MASK)
9133 
9134 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT11_MASK (0x800U)
9135 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT (11U)
9136 /*! STBY_EN_SETPOINT11 - Standby mode
9137  *  0b0..Disabled
9138  *  0b1..Enabled
9139  */
9140 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT11(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT11_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT11_MASK)
9141 
9142 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT12_MASK (0x1000U)
9143 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT (12U)
9144 /*! STBY_EN_SETPOINT12 - Standby mode
9145  *  0b0..Disabled
9146  *  0b1..Enabled
9147  */
9148 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT12(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT12_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT12_MASK)
9149 
9150 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT13_MASK (0x2000U)
9151 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT (13U)
9152 /*! STBY_EN_SETPOINT13 - Standby mode
9153  *  0b0..Disabled
9154  *  0b1..Enabled
9155  */
9156 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT13(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT13_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT13_MASK)
9157 
9158 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT14_MASK (0x4000U)
9159 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT (14U)
9160 /*! STBY_EN_SETPOINT14 - Standby mode
9161  *  0b0..Disabled
9162  *  0b1..Enabled
9163  */
9164 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT14(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT14_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT14_MASK)
9165 
9166 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT15_MASK (0x8000U)
9167 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT (15U)
9168 /*! STBY_EN_SETPOINT15 - Standby mode
9169  *  0b0..Disabled
9170  *  0b1..Enabled
9171  */
9172 #define ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT15(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT15_SHIFT)) & ANADIG_PMU_RBB_LPSR_STBY_EN_SP_STBY_EN_SETPOINT15_MASK)
9173 /*! @} */
9174 
9175 /*! @name FBB_M7_CONFIGURE - FBB_M7_CONFIGURE_REGISTER */
9176 /*! @{ */
9177 
9178 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_PW_MASK (0xFU)
9179 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_PW_SHIFT (0U)
9180 /*! WB_CFG_PW - wb_cfg_pw
9181  */
9182 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_PW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_PW_SHIFT)) & ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_PW_MASK)
9183 
9184 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_NW_MASK (0xF0U)
9185 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_NW_SHIFT (4U)
9186 /*! WB_CFG_NW - wb_cfg_nw
9187  */
9188 #define ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_NW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_NW_SHIFT)) & ANADIG_PMU_FBB_M7_CONFIGURE_WB_CFG_NW_MASK)
9189 
9190 #define ANADIG_PMU_FBB_M7_CONFIGURE_OSCILLATOR_BITS_MASK (0x700U)
9191 #define ANADIG_PMU_FBB_M7_CONFIGURE_OSCILLATOR_BITS_SHIFT (8U)
9192 /*! OSCILLATOR_BITS - oscillator_bits
9193  */
9194 #define ANADIG_PMU_FBB_M7_CONFIGURE_OSCILLATOR_BITS(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_CONFIGURE_OSCILLATOR_BITS_SHIFT)) & ANADIG_PMU_FBB_M7_CONFIGURE_OSCILLATOR_BITS_MASK)
9195 
9196 #define ANADIG_PMU_FBB_M7_CONFIGURE_REGULATOR_STRENGTH_MASK (0x3800U)
9197 #define ANADIG_PMU_FBB_M7_CONFIGURE_REGULATOR_STRENGTH_SHIFT (11U)
9198 /*! REGULATOR_STRENGTH - regulator_strength
9199  */
9200 #define ANADIG_PMU_FBB_M7_CONFIGURE_REGULATOR_STRENGTH(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_FBB_M7_CONFIGURE_REGULATOR_STRENGTH_SHIFT)) & ANADIG_PMU_FBB_M7_CONFIGURE_REGULATOR_STRENGTH_MASK)
9201 /*! @} */
9202 
9203 /*! @name RBB_LPSR_CONFIGURE - RBB_LPSR_CONFIGURE_REGISTER */
9204 /*! @{ */
9205 
9206 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_PW_MASK (0xFU)
9207 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_PW_SHIFT (0U)
9208 /*! WB_CFG_PW - wb_cfg_pw
9209  */
9210 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_PW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_PW_SHIFT)) & ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_PW_MASK)
9211 
9212 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_NW_MASK (0xF0U)
9213 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_NW_SHIFT (4U)
9214 /*! WB_CFG_NW - wb_cfg_nw
9215  */
9216 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_NW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_NW_SHIFT)) & ANADIG_PMU_RBB_LPSR_CONFIGURE_WB_CFG_NW_MASK)
9217 
9218 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_OSCILLATOR_BITS_MASK (0x700U)
9219 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_OSCILLATOR_BITS_SHIFT (8U)
9220 /*! OSCILLATOR_BITS - oscillator_bits
9221  */
9222 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_OSCILLATOR_BITS(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_CONFIGURE_OSCILLATOR_BITS_SHIFT)) & ANADIG_PMU_RBB_LPSR_CONFIGURE_OSCILLATOR_BITS_MASK)
9223 
9224 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_REGULATOR_STRENGTH_MASK (0x3800U)
9225 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_REGULATOR_STRENGTH_SHIFT (11U)
9226 /*! REGULATOR_STRENGTH - regulator_strength
9227  */
9228 #define ANADIG_PMU_RBB_LPSR_CONFIGURE_REGULATOR_STRENGTH(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_LPSR_CONFIGURE_REGULATOR_STRENGTH_SHIFT)) & ANADIG_PMU_RBB_LPSR_CONFIGURE_REGULATOR_STRENGTH_MASK)
9229 /*! @} */
9230 
9231 /*! @name RBB_SOC_CONFIGURE - RBB_SOC_CONFIGURE_REGISTER */
9232 /*! @{ */
9233 
9234 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_PW_MASK (0xFU)
9235 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_PW_SHIFT (0U)
9236 /*! WB_CFG_PW - wb_cfg_pw
9237  */
9238 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_PW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_PW_SHIFT)) & ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_PW_MASK)
9239 
9240 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_NW_MASK (0xF0U)
9241 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_NW_SHIFT (4U)
9242 /*! WB_CFG_NW - wb_cfg_nw
9243  */
9244 #define ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_NW(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_NW_SHIFT)) & ANADIG_PMU_RBB_SOC_CONFIGURE_WB_CFG_NW_MASK)
9245 
9246 #define ANADIG_PMU_RBB_SOC_CONFIGURE_OSCILLATOR_BITS_MASK (0x700U)
9247 #define ANADIG_PMU_RBB_SOC_CONFIGURE_OSCILLATOR_BITS_SHIFT (8U)
9248 /*! OSCILLATOR_BITS - oscillator_bits
9249  */
9250 #define ANADIG_PMU_RBB_SOC_CONFIGURE_OSCILLATOR_BITS(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_CONFIGURE_OSCILLATOR_BITS_SHIFT)) & ANADIG_PMU_RBB_SOC_CONFIGURE_OSCILLATOR_BITS_MASK)
9251 
9252 #define ANADIG_PMU_RBB_SOC_CONFIGURE_REGULATOR_STRENGTH_MASK (0x3800U)
9253 #define ANADIG_PMU_RBB_SOC_CONFIGURE_REGULATOR_STRENGTH_SHIFT (11U)
9254 /*! REGULATOR_STRENGTH - regulator_strength
9255  */
9256 #define ANADIG_PMU_RBB_SOC_CONFIGURE_REGULATOR_STRENGTH(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_RBB_SOC_CONFIGURE_REGULATOR_STRENGTH_SHIFT)) & ANADIG_PMU_RBB_SOC_CONFIGURE_REGULATOR_STRENGTH_MASK)
9257 /*! @} */
9258 
9259 /*! @name REFTOP_OTP_TRIM_VALUE - REFTOP_OTP_TRIM_VALUE_REGISTER */
9260 /*! @{ */
9261 
9262 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_IBZTCADJ_MASK (0x7U)
9263 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_IBZTCADJ_SHIFT (0U)
9264 /*! REFTOP_IBZTCADJ - REFTOP_IBZTCADJ
9265  */
9266 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_IBZTCADJ(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_IBZTCADJ_SHIFT)) & ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_IBZTCADJ_MASK)
9267 
9268 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_VBGADJ_MASK (0x38U)
9269 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_VBGADJ_SHIFT (3U)
9270 /*! REFTOP_VBGADJ - REFTOP_VBGADJ
9271  */
9272 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_VBGADJ_SHIFT)) & ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_VBGADJ_MASK)
9273 
9274 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_TRIM_EN_MASK (0x40U)
9275 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_TRIM_EN_SHIFT (6U)
9276 /*! REFTOP_TRIM_EN - REFTOP_TRIM_EN
9277  */
9278 #define ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_TRIM_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_TRIM_EN_SHIFT)) & ANADIG_PMU_REFTOP_OTP_TRIM_VALUE_REFTOP_TRIM_EN_MASK)
9279 /*! @} */
9280 
9281 /*! @name LPSR_1P8_LDO_OTP_TRIM_VALUE - LPSR_1P8_LDO_OTP_TRIM_VALUE_REGISTER */
9282 /*! @{ */
9283 
9284 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_MASK (0x3U)
9285 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_SHIFT (0U)
9286 /*! LPSR_LDO_1P8_TRIM - LPSR_LDO_1P8_TRIM
9287  */
9288 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_SHIFT)) & ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_MASK)
9289 
9290 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_EN_MASK (0x4U)
9291 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_EN_SHIFT (2U)
9292 /*! LPSR_LDO_1P8_TRIM_EN - LPSR_LDO_1P8_TRIM_EN
9293  */
9294 #define ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_EN(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_EN_SHIFT)) & ANADIG_PMU_LPSR_1P8_LDO_OTP_TRIM_VALUE_LPSR_LDO_1P8_TRIM_EN_MASK)
9295 /*! @} */
9296 
9297 
9298 /*!
9299  * @}
9300  */ /* end of group ANADIG_PMU_Register_Masks */
9301 
9302 
9303 /* ANADIG_PMU - Peripheral instance base addresses */
9304 /** Peripheral ANADIG_PMU base address */
9305 #define ANADIG_PMU_BASE                          (0x40C84000u)
9306 /** Peripheral ANADIG_PMU base pointer */
9307 #define ANADIG_PMU                               ((ANADIG_PMU_Type *)ANADIG_PMU_BASE)
9308 /** Array initializer of ANADIG_PMU peripheral base addresses */
9309 #define ANADIG_PMU_BASE_ADDRS                    { ANADIG_PMU_BASE }
9310 /** Array initializer of ANADIG_PMU peripheral base pointers */
9311 #define ANADIG_PMU_BASE_PTRS                     { ANADIG_PMU }
9312 
9313 /*!
9314  * @}
9315  */ /* end of group ANADIG_PMU_Peripheral_Access_Layer */
9316 
9317 
9318 /* ----------------------------------------------------------------------------
9319    -- ANADIG_TEMPSENSOR Peripheral Access Layer
9320    ---------------------------------------------------------------------------- */
9321 
9322 /*!
9323  * @addtogroup ANADIG_TEMPSENSOR_Peripheral_Access_Layer ANADIG_TEMPSENSOR Peripheral Access Layer
9324  * @{
9325  */
9326 
9327 /** ANADIG_TEMPSENSOR - Register Layout Typedef */
9328 typedef struct {
9329        uint8_t RESERVED_0[1024];
9330   __IO uint32_t TEMPSENSOR;                        /**< Tempsensor Register, offset: 0x400 */
9331        uint8_t RESERVED_1[44];
9332   __I  uint32_t TEMPSNS_OTP_TRIM_VALUE;            /**< TEMPSNS_OTP_TRIM_VALUE_REGISTER, offset: 0x430 */
9333 } ANADIG_TEMPSENSOR_Type;
9334 
9335 /* ----------------------------------------------------------------------------
9336    -- ANADIG_TEMPSENSOR Register Masks
9337    ---------------------------------------------------------------------------- */
9338 
9339 /*!
9340  * @addtogroup ANADIG_TEMPSENSOR_Register_Masks ANADIG_TEMPSENSOR Register Masks
9341  * @{
9342  */
9343 
9344 /*! @name TEMPSENSOR - Tempsensor Register */
9345 /*! @{ */
9346 
9347 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_TOGGLE_MASK (0x8000U)
9348 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_TOGGLE_SHIFT (15U)
9349 /*! TEMPSNS_AI_TOGGLE - AI toggle
9350  */
9351 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_TOGGLE(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_TOGGLE_SHIFT)) & ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_TOGGLE_MASK)
9352 
9353 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_BUSY_MASK (0x10000U)
9354 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_BUSY_SHIFT (16U)
9355 /*! TEMPSNS_AI_BUSY - AI Busy monitor
9356  */
9357 #define ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_BUSY(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_BUSY_SHIFT)) & ANADIG_TEMPSENSOR_TEMPSENSOR_TEMPSNS_AI_BUSY_MASK)
9358 /*! @} */
9359 
9360 /*! @name TEMPSNS_OTP_TRIM_VALUE - TEMPSNS_OTP_TRIM_VALUE_REGISTER */
9361 /*! @{ */
9362 
9363 #define ANADIG_TEMPSENSOR_TEMPSNS_OTP_TRIM_VALUE_TEMPSNS_TEMP_VAL_MASK (0x3FFC00U)
9364 #define ANADIG_TEMPSENSOR_TEMPSNS_OTP_TRIM_VALUE_TEMPSNS_TEMP_VAL_SHIFT (10U)
9365 /*! TEMPSNS_TEMP_VAL - Temperature Value at 25C
9366  */
9367 #define ANADIG_TEMPSENSOR_TEMPSNS_OTP_TRIM_VALUE_TEMPSNS_TEMP_VAL(x) (((uint32_t)(((uint32_t)(x)) << ANADIG_TEMPSENSOR_TEMPSNS_OTP_TRIM_VALUE_TEMPSNS_TEMP_VAL_SHIFT)) & ANADIG_TEMPSENSOR_TEMPSNS_OTP_TRIM_VALUE_TEMPSNS_TEMP_VAL_MASK)
9368 /*! @} */
9369 
9370 
9371 /*!
9372  * @}
9373  */ /* end of group ANADIG_TEMPSENSOR_Register_Masks */
9374 
9375 
9376 /* ANADIG_TEMPSENSOR - Peripheral instance base addresses */
9377 /** Peripheral ANADIG_TEMPSENSOR base address */
9378 #define ANADIG_TEMPSENSOR_BASE                   (0x40C84000u)
9379 /** Peripheral ANADIG_TEMPSENSOR base pointer */
9380 #define ANADIG_TEMPSENSOR                        ((ANADIG_TEMPSENSOR_Type *)ANADIG_TEMPSENSOR_BASE)
9381 /** Array initializer of ANADIG_TEMPSENSOR peripheral base addresses */
9382 #define ANADIG_TEMPSENSOR_BASE_ADDRS             { ANADIG_TEMPSENSOR_BASE }
9383 /** Array initializer of ANADIG_TEMPSENSOR peripheral base pointers */
9384 #define ANADIG_TEMPSENSOR_BASE_PTRS              { ANADIG_TEMPSENSOR }
9385 
9386 /*!
9387  * @}
9388  */ /* end of group ANADIG_TEMPSENSOR_Peripheral_Access_Layer */
9389 
9390 
9391 /* ----------------------------------------------------------------------------
9392    -- AOI Peripheral Access Layer
9393    ---------------------------------------------------------------------------- */
9394 
9395 /*!
9396  * @addtogroup AOI_Peripheral_Access_Layer AOI Peripheral Access Layer
9397  * @{
9398  */
9399 
9400 /** AOI - Register Layout Typedef */
9401 typedef struct {
9402   struct {                                         /* offset: 0x0, array step: 0x4 */
9403     __IO uint16_t BFCRT01;                           /**< Boolean Function Term 0 and 1 Configuration Register for EVENTn, array offset: 0x0, array step: 0x4 */
9404     __IO uint16_t BFCRT23;                           /**< Boolean Function Term 2 and 3 Configuration Register for EVENTn, array offset: 0x2, array step: 0x4 */
9405   } BFCRT[4];
9406 } AOI_Type;
9407 
9408 /* ----------------------------------------------------------------------------
9409    -- AOI Register Masks
9410    ---------------------------------------------------------------------------- */
9411 
9412 /*!
9413  * @addtogroup AOI_Register_Masks AOI Register Masks
9414  * @{
9415  */
9416 
9417 /*! @name BFCRT01 - Boolean Function Term 0 and 1 Configuration Register for EVENTn */
9418 /*! @{ */
9419 
9420 #define AOI_BFCRT01_PT1_DC_MASK                  (0x3U)
9421 #define AOI_BFCRT01_PT1_DC_SHIFT                 (0U)
9422 /*! PT1_DC - Product term 1, D input configuration
9423  *  0b00..Force the D input in this product term to a logical zero
9424  *  0b01..Pass the D input in this product term
9425  *  0b10..Complement the D input in this product term
9426  *  0b11..Force the D input in this product term to a logical one
9427  */
9428 #define AOI_BFCRT01_PT1_DC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT1_DC_SHIFT)) & AOI_BFCRT01_PT1_DC_MASK)
9429 
9430 #define AOI_BFCRT01_PT1_CC_MASK                  (0xCU)
9431 #define AOI_BFCRT01_PT1_CC_SHIFT                 (2U)
9432 /*! PT1_CC - Product term 1, C input configuration
9433  *  0b00..Force the C input in this product term to a logical zero
9434  *  0b01..Pass the C input in this product term
9435  *  0b10..Complement the C input in this product term
9436  *  0b11..Force the C input in this product term to a logical one
9437  */
9438 #define AOI_BFCRT01_PT1_CC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT1_CC_SHIFT)) & AOI_BFCRT01_PT1_CC_MASK)
9439 
9440 #define AOI_BFCRT01_PT1_BC_MASK                  (0x30U)
9441 #define AOI_BFCRT01_PT1_BC_SHIFT                 (4U)
9442 /*! PT1_BC - Product term 1, B input configuration
9443  *  0b00..Force the B input in this product term to a logical zero
9444  *  0b01..Pass the B input in this product term
9445  *  0b10..Complement the B input in this product term
9446  *  0b11..Force the B input in this product term to a logical one
9447  */
9448 #define AOI_BFCRT01_PT1_BC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT1_BC_SHIFT)) & AOI_BFCRT01_PT1_BC_MASK)
9449 
9450 #define AOI_BFCRT01_PT1_AC_MASK                  (0xC0U)
9451 #define AOI_BFCRT01_PT1_AC_SHIFT                 (6U)
9452 /*! PT1_AC - Product term 1, A input configuration
9453  *  0b00..Force the A input in this product term to a logical zero
9454  *  0b01..Pass the A input in this product term
9455  *  0b10..Complement the A input in this product term
9456  *  0b11..Force the A input in this product term to a logical one
9457  */
9458 #define AOI_BFCRT01_PT1_AC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT1_AC_SHIFT)) & AOI_BFCRT01_PT1_AC_MASK)
9459 
9460 #define AOI_BFCRT01_PT0_DC_MASK                  (0x300U)
9461 #define AOI_BFCRT01_PT0_DC_SHIFT                 (8U)
9462 /*! PT0_DC - Product term 0, D input configuration
9463  *  0b00..Force the D input in this product term to a logical zero
9464  *  0b01..Pass the D input in this product term
9465  *  0b10..Complement the D input in this product term
9466  *  0b11..Force the D input in this product term to a logical one
9467  */
9468 #define AOI_BFCRT01_PT0_DC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT0_DC_SHIFT)) & AOI_BFCRT01_PT0_DC_MASK)
9469 
9470 #define AOI_BFCRT01_PT0_CC_MASK                  (0xC00U)
9471 #define AOI_BFCRT01_PT0_CC_SHIFT                 (10U)
9472 /*! PT0_CC - Product term 0, C input configuration
9473  *  0b00..Force the C input in this product term to a logical zero
9474  *  0b01..Pass the C input in this product term
9475  *  0b10..Complement the C input in this product term
9476  *  0b11..Force the C input in this product term to a logical one
9477  */
9478 #define AOI_BFCRT01_PT0_CC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT0_CC_SHIFT)) & AOI_BFCRT01_PT0_CC_MASK)
9479 
9480 #define AOI_BFCRT01_PT0_BC_MASK                  (0x3000U)
9481 #define AOI_BFCRT01_PT0_BC_SHIFT                 (12U)
9482 /*! PT0_BC - Product term 0, B input configuration
9483  *  0b00..Force the B input in this product term to a logical zero
9484  *  0b01..Pass the B input in this product term
9485  *  0b10..Complement the B input in this product term
9486  *  0b11..Force the B input in this product term to a logical one
9487  */
9488 #define AOI_BFCRT01_PT0_BC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT0_BC_SHIFT)) & AOI_BFCRT01_PT0_BC_MASK)
9489 
9490 #define AOI_BFCRT01_PT0_AC_MASK                  (0xC000U)
9491 #define AOI_BFCRT01_PT0_AC_SHIFT                 (14U)
9492 /*! PT0_AC - Product term 0, A input configuration
9493  *  0b00..Force the A input in this product term to a logical zero
9494  *  0b01..Pass the A input in this product term
9495  *  0b10..Complement the A input in this product term
9496  *  0b11..Force the A input in this product term to a logical one
9497  */
9498 #define AOI_BFCRT01_PT0_AC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT01_PT0_AC_SHIFT)) & AOI_BFCRT01_PT0_AC_MASK)
9499 /*! @} */
9500 
9501 /* The count of AOI_BFCRT01 */
9502 #define AOI_BFCRT01_COUNT                        (4U)
9503 
9504 /*! @name BFCRT23 - Boolean Function Term 2 and 3 Configuration Register for EVENTn */
9505 /*! @{ */
9506 
9507 #define AOI_BFCRT23_PT3_DC_MASK                  (0x3U)
9508 #define AOI_BFCRT23_PT3_DC_SHIFT                 (0U)
9509 /*! PT3_DC - Product term 3, D input configuration
9510  *  0b00..Force the D input in this product term to a logical zero
9511  *  0b01..Pass the D input in this product term
9512  *  0b10..Complement the D input in this product term
9513  *  0b11..Force the D input in this product term to a logical one
9514  */
9515 #define AOI_BFCRT23_PT3_DC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT3_DC_SHIFT)) & AOI_BFCRT23_PT3_DC_MASK)
9516 
9517 #define AOI_BFCRT23_PT3_CC_MASK                  (0xCU)
9518 #define AOI_BFCRT23_PT3_CC_SHIFT                 (2U)
9519 /*! PT3_CC - Product term 3, C input configuration
9520  *  0b00..Force the C input in this product term to a logical zero
9521  *  0b01..Pass the C input in this product term
9522  *  0b10..Complement the C input in this product term
9523  *  0b11..Force the C input in this product term to a logical one
9524  */
9525 #define AOI_BFCRT23_PT3_CC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT3_CC_SHIFT)) & AOI_BFCRT23_PT3_CC_MASK)
9526 
9527 #define AOI_BFCRT23_PT3_BC_MASK                  (0x30U)
9528 #define AOI_BFCRT23_PT3_BC_SHIFT                 (4U)
9529 /*! PT3_BC - Product term 3, B input configuration
9530  *  0b00..Force the B input in this product term to a logical zero
9531  *  0b01..Pass the B input in this product term
9532  *  0b10..Complement the B input in this product term
9533  *  0b11..Force the B input in this product term to a logical one
9534  */
9535 #define AOI_BFCRT23_PT3_BC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT3_BC_SHIFT)) & AOI_BFCRT23_PT3_BC_MASK)
9536 
9537 #define AOI_BFCRT23_PT3_AC_MASK                  (0xC0U)
9538 #define AOI_BFCRT23_PT3_AC_SHIFT                 (6U)
9539 /*! PT3_AC - Product term 3, A input configuration
9540  *  0b00..Force the A input in this product term to a logical zero
9541  *  0b01..Pass the A input in this product term
9542  *  0b10..Complement the A input in this product term
9543  *  0b11..Force the A input in this product term to a logical one
9544  */
9545 #define AOI_BFCRT23_PT3_AC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT3_AC_SHIFT)) & AOI_BFCRT23_PT3_AC_MASK)
9546 
9547 #define AOI_BFCRT23_PT2_DC_MASK                  (0x300U)
9548 #define AOI_BFCRT23_PT2_DC_SHIFT                 (8U)
9549 /*! PT2_DC - Product term 2, D input configuration
9550  *  0b00..Force the D input in this product term to a logical zero
9551  *  0b01..Pass the D input in this product term
9552  *  0b10..Complement the D input in this product term
9553  *  0b11..Force the D input in this product term to a logical one
9554  */
9555 #define AOI_BFCRT23_PT2_DC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT2_DC_SHIFT)) & AOI_BFCRT23_PT2_DC_MASK)
9556 
9557 #define AOI_BFCRT23_PT2_CC_MASK                  (0xC00U)
9558 #define AOI_BFCRT23_PT2_CC_SHIFT                 (10U)
9559 /*! PT2_CC - Product term 2, C input configuration
9560  *  0b00..Force the C input in this product term to a logical zero
9561  *  0b01..Pass the C input in this product term
9562  *  0b10..Complement the C input in this product term
9563  *  0b11..Force the C input in this product term to a logical one
9564  */
9565 #define AOI_BFCRT23_PT2_CC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT2_CC_SHIFT)) & AOI_BFCRT23_PT2_CC_MASK)
9566 
9567 #define AOI_BFCRT23_PT2_BC_MASK                  (0x3000U)
9568 #define AOI_BFCRT23_PT2_BC_SHIFT                 (12U)
9569 /*! PT2_BC - Product term 2, B input configuration
9570  *  0b00..Force the B input in this product term to a logical zero
9571  *  0b01..Pass the B input in this product term
9572  *  0b10..Complement the B input in this product term
9573  *  0b11..Force the B input in this product term to a logical one
9574  */
9575 #define AOI_BFCRT23_PT2_BC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT2_BC_SHIFT)) & AOI_BFCRT23_PT2_BC_MASK)
9576 
9577 #define AOI_BFCRT23_PT2_AC_MASK                  (0xC000U)
9578 #define AOI_BFCRT23_PT2_AC_SHIFT                 (14U)
9579 /*! PT2_AC - Product term 2, A input configuration
9580  *  0b00..Force the A input in this product term to a logical zero
9581  *  0b01..Pass the A input in this product term
9582  *  0b10..Complement the A input in this product term
9583  *  0b11..Force the A input in this product term to a logical one
9584  */
9585 #define AOI_BFCRT23_PT2_AC(x)                    (((uint16_t)(((uint16_t)(x)) << AOI_BFCRT23_PT2_AC_SHIFT)) & AOI_BFCRT23_PT2_AC_MASK)
9586 /*! @} */
9587 
9588 /* The count of AOI_BFCRT23 */
9589 #define AOI_BFCRT23_COUNT                        (4U)
9590 
9591 
9592 /*!
9593  * @}
9594  */ /* end of group AOI_Register_Masks */
9595 
9596 
9597 /* AOI - Peripheral instance base addresses */
9598 /** Peripheral AOI1 base address */
9599 #define AOI1_BASE                                (0x400B8000u)
9600 /** Peripheral AOI1 base pointer */
9601 #define AOI1                                     ((AOI_Type *)AOI1_BASE)
9602 /** Peripheral AOI2 base address */
9603 #define AOI2_BASE                                (0x400BC000u)
9604 /** Peripheral AOI2 base pointer */
9605 #define AOI2                                     ((AOI_Type *)AOI2_BASE)
9606 /** Array initializer of AOI peripheral base addresses */
9607 #define AOI_BASE_ADDRS                           { 0u, AOI1_BASE, AOI2_BASE }
9608 /** Array initializer of AOI peripheral base pointers */
9609 #define AOI_BASE_PTRS                            { (AOI_Type *)0u, AOI1, AOI2 }
9610 
9611 /*!
9612  * @}
9613  */ /* end of group AOI_Peripheral_Access_Layer */
9614 
9615 
9616 /* ----------------------------------------------------------------------------
9617    -- ASRC Peripheral Access Layer
9618    ---------------------------------------------------------------------------- */
9619 
9620 /*!
9621  * @addtogroup ASRC_Peripheral_Access_Layer ASRC Peripheral Access Layer
9622  * @{
9623  */
9624 
9625 /** ASRC - Register Layout Typedef */
9626 typedef struct {
9627   __IO uint32_t ASRCTR;                            /**< ASRC Control Register, offset: 0x0 */
9628   __IO uint32_t ASRIER;                            /**< ASRC Interrupt Enable Register, offset: 0x4 */
9629        uint8_t RESERVED_0[4];
9630   __IO uint32_t ASRCNCR;                           /**< ASRC Channel Number Configuration Register, offset: 0xC */
9631   __IO uint32_t ASRCFG;                            /**< ASRC Filter Configuration Status Register, offset: 0x10 */
9632   __IO uint32_t ASRCSR;                            /**< ASRC Clock Source Register, offset: 0x14 */
9633   __IO uint32_t ASRCDR1;                           /**< ASRC Clock Divider Register 1, offset: 0x18 */
9634   __IO uint32_t ASRCDR2;                           /**< ASRC Clock Divider Register 2, offset: 0x1C */
9635   __I  uint32_t ASRSTR;                            /**< ASRC Status Register, offset: 0x20 */
9636        uint8_t RESERVED_1[28];
9637   __IO uint32_t ASRPM[5];                          /**< ASRC Parameter Register n, array offset: 0x40, array step: 0x4 */
9638   __IO uint32_t ASRTFR1;                           /**< ASRC Task Queue FIFO Register 1, offset: 0x54 */
9639        uint8_t RESERVED_2[4];
9640   __IO uint32_t ASRCCR;                            /**< ASRC Channel Counter Register, offset: 0x5C */
9641   __O  uint32_t ASRDIA;                            /**< ASRC Data Input Register for Pair x, offset: 0x60 */
9642   __I  uint32_t ASRDOA;                            /**< ASRC Data Output Register for Pair x, offset: 0x64 */
9643   __O  uint32_t ASRDIB;                            /**< ASRC Data Input Register for Pair x, offset: 0x68 */
9644   __I  uint32_t ASRDOB;                            /**< ASRC Data Output Register for Pair x, offset: 0x6C */
9645   __O  uint32_t ASRDIC;                            /**< ASRC Data Input Register for Pair x, offset: 0x70 */
9646   __I  uint32_t ASRDOC;                            /**< ASRC Data Output Register for Pair x, offset: 0x74 */
9647        uint8_t RESERVED_3[8];
9648   __IO uint32_t ASRIDRHA;                          /**< ASRC Ideal Ratio for Pair A-High Part, offset: 0x80 */
9649   __IO uint32_t ASRIDRLA;                          /**< ASRC Ideal Ratio for Pair A -Low Part, offset: 0x84 */
9650   __IO uint32_t ASRIDRHB;                          /**< ASRC Ideal Ratio for Pair B-High Part, offset: 0x88 */
9651   __IO uint32_t ASRIDRLB;                          /**< ASRC Ideal Ratio for Pair B-Low Part, offset: 0x8C */
9652   __IO uint32_t ASRIDRHC;                          /**< ASRC Ideal Ratio for Pair C-High Part, offset: 0x90 */
9653   __IO uint32_t ASRIDRLC;                          /**< ASRC Ideal Ratio for Pair C-Low Part, offset: 0x94 */
9654   __IO uint32_t ASR76K;                            /**< ASRC 76 kHz Period in terms of ASRC processing clock, offset: 0x98 */
9655   __IO uint32_t ASR56K;                            /**< ASRC 56 kHz Period in terms of ASRC processing clock, offset: 0x9C */
9656   __IO uint32_t ASRMCRA;                           /**< ASRC Misc Control Register for Pair A, offset: 0xA0 */
9657   __I  uint32_t ASRFSTA;                           /**< ASRC FIFO Status Register for Pair A, offset: 0xA4 */
9658   __IO uint32_t ASRMCRB;                           /**< ASRC Misc Control Register for Pair B, offset: 0xA8 */
9659   __I  uint32_t ASRFSTB;                           /**< ASRC FIFO Status Register for Pair B, offset: 0xAC */
9660   __IO uint32_t ASRMCRC;                           /**< ASRC Misc Control Register for Pair C, offset: 0xB0 */
9661   __I  uint32_t ASRFSTC;                           /**< ASRC FIFO Status Register for Pair C, offset: 0xB4 */
9662        uint8_t RESERVED_4[8];
9663   __IO uint32_t ASRMCR1[3];                        /**< ASRC Misc Control Register 1 for Pair X, array offset: 0xC0, array step: 0x4 */
9664 } ASRC_Type;
9665 
9666 /* ----------------------------------------------------------------------------
9667    -- ASRC Register Masks
9668    ---------------------------------------------------------------------------- */
9669 
9670 /*!
9671  * @addtogroup ASRC_Register_Masks ASRC Register Masks
9672  * @{
9673  */
9674 
9675 /*! @name ASRCTR - ASRC Control Register */
9676 /*! @{ */
9677 
9678 #define ASRC_ASRCTR_ASRCEN_MASK                  (0x1U)
9679 #define ASRC_ASRCTR_ASRCEN_SHIFT                 (0U)
9680 /*! ASRCEN - ASRCEN
9681  *  0b0..operation of ASRC disabled
9682  *  0b1..operation ASRC is enabled
9683  */
9684 #define ASRC_ASRCTR_ASRCEN(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ASRCEN_SHIFT)) & ASRC_ASRCTR_ASRCEN_MASK)
9685 
9686 #define ASRC_ASRCTR_ASREA_MASK                   (0x2U)
9687 #define ASRC_ASRCTR_ASREA_SHIFT                  (1U)
9688 /*! ASREA - ASREA
9689  *  0b0..operation of conversion A is disabled
9690  *  0b1..operation of conversion A is enabled
9691  */
9692 #define ASRC_ASRCTR_ASREA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ASREA_SHIFT)) & ASRC_ASRCTR_ASREA_MASK)
9693 
9694 #define ASRC_ASRCTR_ASREB_MASK                   (0x4U)
9695 #define ASRC_ASRCTR_ASREB_SHIFT                  (2U)
9696 /*! ASREB - ASREB
9697  *  0b0..operation of conversion B is disabled
9698  *  0b1..operation of conversion B is enabled
9699  */
9700 #define ASRC_ASRCTR_ASREB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ASREB_SHIFT)) & ASRC_ASRCTR_ASREB_MASK)
9701 
9702 #define ASRC_ASRCTR_ASREC_MASK                   (0x8U)
9703 #define ASRC_ASRCTR_ASREC_SHIFT                  (3U)
9704 /*! ASREC - ASREC
9705  *  0b0..operation of conversion C is disabled
9706  *  0b1..operation of conversion C is enabled
9707  */
9708 #define ASRC_ASRCTR_ASREC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ASREC_SHIFT)) & ASRC_ASRCTR_ASREC_MASK)
9709 
9710 #define ASRC_ASRCTR_SRST_MASK                    (0x10U)
9711 #define ASRC_ASRCTR_SRST_SHIFT                   (4U)
9712 /*! SRST - SRST
9713  *  0b0..ASRC Software reset cleared
9714  *  0b1..ASRC Software reset generated. NOTE: This is a self-clear bit
9715  */
9716 #define ASRC_ASRCTR_SRST(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_SRST_SHIFT)) & ASRC_ASRCTR_SRST_MASK)
9717 
9718 #define ASRC_ASRCTR_IDRA_MASK                    (0x2000U)
9719 #define ASRC_ASRCTR_IDRA_SHIFT                   (13U)
9720 /*! IDRA - IDRA
9721  *  0b0..ASRC internal measured ratio is used
9722  *  0b1..Ideal ratio from the interface register ASRIDRHA, ASRIDRLA is used
9723  */
9724 #define ASRC_ASRCTR_IDRA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_IDRA_SHIFT)) & ASRC_ASRCTR_IDRA_MASK)
9725 
9726 #define ASRC_ASRCTR_USRA_MASK                    (0x4000U)
9727 #define ASRC_ASRCTR_USRA_SHIFT                   (14U)
9728 /*! USRA - USRA
9729  *  0b1..Use ratio as the input to ASRC for pair A
9730  *  0b0..Do not use ratio as the input to ASRC for pair A
9731  */
9732 #define ASRC_ASRCTR_USRA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_USRA_SHIFT)) & ASRC_ASRCTR_USRA_MASK)
9733 
9734 #define ASRC_ASRCTR_IDRB_MASK                    (0x8000U)
9735 #define ASRC_ASRCTR_IDRB_SHIFT                   (15U)
9736 /*! IDRB - IDRB
9737  *  0b0..ASRC internal measured ratio is used
9738  *  0b1..Ideal ratio from the interface register ASRIDRHB, ASRIDRLB is used
9739  */
9740 #define ASRC_ASRCTR_IDRB(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_IDRB_SHIFT)) & ASRC_ASRCTR_IDRB_MASK)
9741 
9742 #define ASRC_ASRCTR_USRB_MASK                    (0x10000U)
9743 #define ASRC_ASRCTR_USRB_SHIFT                   (16U)
9744 /*! USRB - USRB
9745  *  0b1..Use ratio as the input to ASRC for pair B
9746  *  0b0..Do not use ratio as the input to ASRC for pair B
9747  */
9748 #define ASRC_ASRCTR_USRB(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_USRB_SHIFT)) & ASRC_ASRCTR_USRB_MASK)
9749 
9750 #define ASRC_ASRCTR_IDRC_MASK                    (0x20000U)
9751 #define ASRC_ASRCTR_IDRC_SHIFT                   (17U)
9752 /*! IDRC - IDRC
9753  *  0b0..ASRC internal measured ratio is used
9754  *  0b1..Ideal ratio from the interface register ASRIDRHC, ASRIDRLC is used
9755  */
9756 #define ASRC_ASRCTR_IDRC(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_IDRC_SHIFT)) & ASRC_ASRCTR_IDRC_MASK)
9757 
9758 #define ASRC_ASRCTR_USRC_MASK                    (0x40000U)
9759 #define ASRC_ASRCTR_USRC_SHIFT                   (18U)
9760 /*! USRC - USRC
9761  *  0b1..Use ratio as the input to ASRC for pair C
9762  *  0b0..Do not use ratio as the input to ASRC for pair C
9763  */
9764 #define ASRC_ASRCTR_USRC(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_USRC_SHIFT)) & ASRC_ASRCTR_USRC_MASK)
9765 
9766 #define ASRC_ASRCTR_ATSA_MASK                    (0x100000U)
9767 #define ASRC_ASRCTR_ATSA_SHIFT                   (20U)
9768 /*! ATSA - ATSA
9769  *  0b1..Pair A automatically updates its pre-processing and post-processing options
9770  *  0b0..Pair A does not automatically update its pre-processing and post-processing options
9771  */
9772 #define ASRC_ASRCTR_ATSA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ATSA_SHIFT)) & ASRC_ASRCTR_ATSA_MASK)
9773 
9774 #define ASRC_ASRCTR_ATSB_MASK                    (0x200000U)
9775 #define ASRC_ASRCTR_ATSB_SHIFT                   (21U)
9776 /*! ATSB - ATSB
9777  *  0b1..Pair B automatically updates its pre-processing and post-processing options
9778  *  0b0..Pair B does not automatically update its pre-processing and post-processing options
9779  */
9780 #define ASRC_ASRCTR_ATSB(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ATSB_SHIFT)) & ASRC_ASRCTR_ATSB_MASK)
9781 
9782 #define ASRC_ASRCTR_ATSC_MASK                    (0x400000U)
9783 #define ASRC_ASRCTR_ATSC_SHIFT                   (22U)
9784 /*! ATSC - ATSC
9785  *  0b1..Pair C automatically updates its pre-processing and post-processing options
9786  *  0b0..Pair C does not automatically update its pre-processing and post-processing options
9787  */
9788 #define ASRC_ASRCTR_ATSC(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCTR_ATSC_SHIFT)) & ASRC_ASRCTR_ATSC_MASK)
9789 /*! @} */
9790 
9791 /*! @name ASRIER - ASRC Interrupt Enable Register */
9792 /*! @{ */
9793 
9794 #define ASRC_ASRIER_ADIEA_MASK                   (0x1U)
9795 #define ASRC_ASRIER_ADIEA_SHIFT                  (0U)
9796 /*! ADIEA - ADIEA
9797  *  0b1..interrupt enabled
9798  *  0b0..interrupt disabled
9799  */
9800 #define ASRC_ASRIER_ADIEA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADIEA_SHIFT)) & ASRC_ASRIER_ADIEA_MASK)
9801 
9802 #define ASRC_ASRIER_ADIEB_MASK                   (0x2U)
9803 #define ASRC_ASRIER_ADIEB_SHIFT                  (1U)
9804 /*! ADIEB - ADIEB
9805  *  0b1..interrupt enabled
9806  *  0b0..interrupt disabled
9807  */
9808 #define ASRC_ASRIER_ADIEB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADIEB_SHIFT)) & ASRC_ASRIER_ADIEB_MASK)
9809 
9810 #define ASRC_ASRIER_ADIEC_MASK                   (0x4U)
9811 #define ASRC_ASRIER_ADIEC_SHIFT                  (2U)
9812 /*! ADIEC - ADIEC
9813  *  0b1..interrupt enabled
9814  *  0b0..interrupt disabled
9815  */
9816 #define ASRC_ASRIER_ADIEC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADIEC_SHIFT)) & ASRC_ASRIER_ADIEC_MASK)
9817 
9818 #define ASRC_ASRIER_ADOEA_MASK                   (0x8U)
9819 #define ASRC_ASRIER_ADOEA_SHIFT                  (3U)
9820 /*! ADOEA - ADOEA
9821  *  0b1..interrupt enabled
9822  *  0b0..interrupt disabled
9823  */
9824 #define ASRC_ASRIER_ADOEA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADOEA_SHIFT)) & ASRC_ASRIER_ADOEA_MASK)
9825 
9826 #define ASRC_ASRIER_ADOEB_MASK                   (0x10U)
9827 #define ASRC_ASRIER_ADOEB_SHIFT                  (4U)
9828 /*! ADOEB - ADOEB
9829  *  0b1..interrupt enabled
9830  *  0b0..interrupt disabled
9831  */
9832 #define ASRC_ASRIER_ADOEB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADOEB_SHIFT)) & ASRC_ASRIER_ADOEB_MASK)
9833 
9834 #define ASRC_ASRIER_ADOEC_MASK                   (0x20U)
9835 #define ASRC_ASRIER_ADOEC_SHIFT                  (5U)
9836 /*! ADOEC - ADOEC
9837  *  0b1..interrupt enabled
9838  *  0b0..interrupt disabled
9839  */
9840 #define ASRC_ASRIER_ADOEC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_ADOEC_SHIFT)) & ASRC_ASRIER_ADOEC_MASK)
9841 
9842 #define ASRC_ASRIER_AOLIE_MASK                   (0x40U)
9843 #define ASRC_ASRIER_AOLIE_SHIFT                  (6U)
9844 /*! AOLIE - AOLIE
9845  *  0b1..interrupt enabled
9846  *  0b0..interrupt disabled
9847  */
9848 #define ASRC_ASRIER_AOLIE(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_AOLIE_SHIFT)) & ASRC_ASRIER_AOLIE_MASK)
9849 
9850 #define ASRC_ASRIER_AFPWE_MASK                   (0x80U)
9851 #define ASRC_ASRIER_AFPWE_SHIFT                  (7U)
9852 /*! AFPWE - AFPWE
9853  *  0b1..interrupt enabled
9854  *  0b0..interrupt disabled
9855  */
9856 #define ASRC_ASRIER_AFPWE(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIER_AFPWE_SHIFT)) & ASRC_ASRIER_AFPWE_MASK)
9857 /*! @} */
9858 
9859 /*! @name ASRCNCR - ASRC Channel Number Configuration Register */
9860 /*! @{ */
9861 
9862 #define ASRC_ASRCNCR_ANCA_MASK                   (0xFU)
9863 #define ASRC_ASRCNCR_ANCA_SHIFT                  (0U)
9864 /*! ANCA - ANCA
9865  *  0b0000..0 channels in A (Pair A is disabled)
9866  *  0b0001..1 channel in A
9867  *  0b0010..2 channels in A
9868  *  0b0011..3 channels in A
9869  *  0b0100..4 channels in A
9870  *  0b0101..5 channels in A
9871  *  0b0110..6 channels in A
9872  *  0b0111..7 channels in A
9873  *  0b1000..8 channels in A
9874  *  0b1001..9 channels in A
9875  *  0b1010..10 channels in A
9876  *  0b1011-0b1111..Should not be used.
9877  */
9878 #define ASRC_ASRCNCR_ANCA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCNCR_ANCA_SHIFT)) & ASRC_ASRCNCR_ANCA_MASK)
9879 
9880 #define ASRC_ASRCNCR_ANCB_MASK                   (0xF0U)
9881 #define ASRC_ASRCNCR_ANCB_SHIFT                  (4U)
9882 /*! ANCB - ANCB
9883  *  0b0000..0 channels in B (Pair B is disabled)
9884  *  0b0001..1 channel in B
9885  *  0b0010..2 channels in B
9886  *  0b0011..3 channels in B
9887  *  0b0100..4 channels in B
9888  *  0b0101..5 channels in B
9889  *  0b0110..6 channels in B
9890  *  0b0111..7 channels in B
9891  *  0b1000..8 channels in B
9892  *  0b1001..9 channels in B
9893  *  0b1010..10 channels in B
9894  *  0b1011-0b1111..Should not be used.
9895  */
9896 #define ASRC_ASRCNCR_ANCB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCNCR_ANCB_SHIFT)) & ASRC_ASRCNCR_ANCB_MASK)
9897 
9898 #define ASRC_ASRCNCR_ANCC_MASK                   (0xF00U)
9899 #define ASRC_ASRCNCR_ANCC_SHIFT                  (8U)
9900 /*! ANCC - ANCC
9901  *  0b0000..0 channels in C (Pair C is disabled)
9902  *  0b0001..1 channel in C
9903  *  0b0010..2 channels in C
9904  *  0b0011..3 channels in C
9905  *  0b0100..4 channels in C
9906  *  0b0101..5 channels in C
9907  *  0b0110..6 channels in C
9908  *  0b0111..7 channels in C
9909  *  0b1000..8 channels in C
9910  *  0b1001..9 channels in C
9911  *  0b1010..10 channels in C
9912  *  0b1011-0b1111..Should not be used.
9913  */
9914 #define ASRC_ASRCNCR_ANCC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCNCR_ANCC_SHIFT)) & ASRC_ASRCNCR_ANCC_MASK)
9915 /*! @} */
9916 
9917 /*! @name ASRCFG - ASRC Filter Configuration Status Register */
9918 /*! @{ */
9919 
9920 #define ASRC_ASRCFG_PREMODA_MASK                 (0xC0U)
9921 #define ASRC_ASRCFG_PREMODA_SHIFT                (6U)
9922 /*! PREMODA - PREMODA
9923  *  0b00..Select Upsampling-by-2
9924  *  0b01..Select Direct-Connection
9925  *  0b10..Select Downsampling-by-2
9926  *  0b11..Select passthrough mode. In this case, POSTMODA[1:0] have no use.
9927  */
9928 #define ASRC_ASRCFG_PREMODA(x)                   (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_PREMODA_SHIFT)) & ASRC_ASRCFG_PREMODA_MASK)
9929 
9930 #define ASRC_ASRCFG_POSTMODA_MASK                (0x300U)
9931 #define ASRC_ASRCFG_POSTMODA_SHIFT               (8U)
9932 /*! POSTMODA - POSTMODA
9933  *  0b00..Select Upsampling-by-2
9934  *  0b01..Select Direct-Connection
9935  *  0b10..Select Downsampling-by-2
9936  *  0b11..Reserved.
9937  */
9938 #define ASRC_ASRCFG_POSTMODA(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_POSTMODA_SHIFT)) & ASRC_ASRCFG_POSTMODA_MASK)
9939 
9940 #define ASRC_ASRCFG_PREMODB_MASK                 (0xC00U)
9941 #define ASRC_ASRCFG_PREMODB_SHIFT                (10U)
9942 /*! PREMODB - PREMODB
9943  *  0b00..Select Upsampling-by-2
9944  *  0b01..Select Direct-Connection
9945  *  0b10..Select Downsampling-by-2
9946  *  0b11..Select passthrough mode. In this case, POSTMODB[1:0] have no use.
9947  */
9948 #define ASRC_ASRCFG_PREMODB(x)                   (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_PREMODB_SHIFT)) & ASRC_ASRCFG_PREMODB_MASK)
9949 
9950 #define ASRC_ASRCFG_POSTMODB_MASK                (0x3000U)
9951 #define ASRC_ASRCFG_POSTMODB_SHIFT               (12U)
9952 /*! POSTMODB - POSTMODB
9953  *  0b00..Select Upsampling-by-2
9954  *  0b01..Select Direct-Connection
9955  *  0b10..Select Downsampling-by-2
9956  *  0b11..Reserved.
9957  */
9958 #define ASRC_ASRCFG_POSTMODB(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_POSTMODB_SHIFT)) & ASRC_ASRCFG_POSTMODB_MASK)
9959 
9960 #define ASRC_ASRCFG_PREMODC_MASK                 (0xC000U)
9961 #define ASRC_ASRCFG_PREMODC_SHIFT                (14U)
9962 /*! PREMODC - PREMODC
9963  *  0b00..Select Upsampling-by-2
9964  *  0b01..Select Direct-Connection
9965  *  0b10..Select Downsampling-by-2
9966  *  0b11..Select passthrough mode. In this case, POSTMODC[1:0] have no use.
9967  */
9968 #define ASRC_ASRCFG_PREMODC(x)                   (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_PREMODC_SHIFT)) & ASRC_ASRCFG_PREMODC_MASK)
9969 
9970 #define ASRC_ASRCFG_POSTMODC_MASK                (0x30000U)
9971 #define ASRC_ASRCFG_POSTMODC_SHIFT               (16U)
9972 /*! POSTMODC - POSTMODC
9973  *  0b00..Select Upsampling-by-2 as defined in Signal Processing Flow.
9974  *  0b01..Select Direct-Connection as defined in Signal Processing Flow.
9975  *  0b10..Select Downsampling-by-2 as defined in Signal Processing Flow.
9976  *  0b11..Reserved.
9977  */
9978 #define ASRC_ASRCFG_POSTMODC(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_POSTMODC_SHIFT)) & ASRC_ASRCFG_POSTMODC_MASK)
9979 
9980 #define ASRC_ASRCFG_NDPRA_MASK                   (0x40000U)
9981 #define ASRC_ASRCFG_NDPRA_SHIFT                  (18U)
9982 /*! NDPRA - NDPRA
9983  *  0b0..Use default parameters for RAM-stored parameters. Override any parameters already in RAM.
9984  *  0b1..Don't use default parameters for RAM-stored parameters. Use the parameters already stored in RAM.
9985  */
9986 #define ASRC_ASRCFG_NDPRA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_NDPRA_SHIFT)) & ASRC_ASRCFG_NDPRA_MASK)
9987 
9988 #define ASRC_ASRCFG_NDPRB_MASK                   (0x80000U)
9989 #define ASRC_ASRCFG_NDPRB_SHIFT                  (19U)
9990 /*! NDPRB - NDPRB
9991  *  0b0..Use default parameters for RAM-stored parameters. Override any parameters already in RAM.
9992  *  0b1..Don't use default parameters for RAM-stored parameter. Use the parameters already stored in RAM.
9993  */
9994 #define ASRC_ASRCFG_NDPRB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_NDPRB_SHIFT)) & ASRC_ASRCFG_NDPRB_MASK)
9995 
9996 #define ASRC_ASRCFG_NDPRC_MASK                   (0x100000U)
9997 #define ASRC_ASRCFG_NDPRC_SHIFT                  (20U)
9998 /*! NDPRC - NDPRC
9999  *  0b0..Use default parameters for RAM-stored parameters. Override any parameters already in RAM.
10000  *  0b1..Don't use default parameters for RAM-stored parameters. Use the parameters already stored in RAM.
10001  */
10002 #define ASRC_ASRCFG_NDPRC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_NDPRC_SHIFT)) & ASRC_ASRCFG_NDPRC_MASK)
10003 
10004 #define ASRC_ASRCFG_INIRQA_MASK                  (0x200000U)
10005 #define ASRC_ASRCFG_INIRQA_SHIFT                 (21U)
10006 /*! INIRQA - INIRQA
10007  *  0b0..Initialization for Conversion Pair A not served
10008  *  0b1..Initialization for Conversion Pair A served
10009  */
10010 #define ASRC_ASRCFG_INIRQA(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_INIRQA_SHIFT)) & ASRC_ASRCFG_INIRQA_MASK)
10011 
10012 #define ASRC_ASRCFG_INIRQB_MASK                  (0x400000U)
10013 #define ASRC_ASRCFG_INIRQB_SHIFT                 (22U)
10014 /*! INIRQB - INIRQB
10015  *  0b0..Initialization for Conversion Pair B not served
10016  *  0b1..Initialization for Conversion Pair B served
10017  */
10018 #define ASRC_ASRCFG_INIRQB(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_INIRQB_SHIFT)) & ASRC_ASRCFG_INIRQB_MASK)
10019 
10020 #define ASRC_ASRCFG_INIRQC_MASK                  (0x800000U)
10021 #define ASRC_ASRCFG_INIRQC_SHIFT                 (23U)
10022 /*! INIRQC - INIRQC
10023  *  0b0..Initialization for Conversion Pair C not served
10024  *  0b1..Initialization for Conversion Pair C served
10025  */
10026 #define ASRC_ASRCFG_INIRQC(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCFG_INIRQC_SHIFT)) & ASRC_ASRCFG_INIRQC_MASK)
10027 /*! @} */
10028 
10029 /*! @name ASRCSR - ASRC Clock Source Register */
10030 /*! @{ */
10031 
10032 #define ASRC_ASRCSR_AICSA_MASK                   (0xFU)
10033 #define ASRC_ASRCSR_AICSA_SHIFT                  (0U)
10034 /*! AICSA - AICSA
10035  *  0b0000..bit clock 0
10036  *  0b0001..bit clock 1
10037  *  0b0010..bit clock 2
10038  *  0b0011..bit clock 3
10039  *  0b0100..bit clock 4
10040  *  0b0101..bit clock 5
10041  *  0b0110..bit clock 6
10042  *  0b0111..bit clock 7
10043  *  0b1000..bit clock 8
10044  *  0b1001..bit clock 9
10045  *  0b1010..bit clock A
10046  *  0b1011..bit clock B
10047  *  0b1100..bit clock C
10048  *  0b1101..bit clock D
10049  *  0b1110..bit clock E
10050  *  0b1111..clock disabled, connected to zero
10051  */
10052 #define ASRC_ASRCSR_AICSA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AICSA_SHIFT)) & ASRC_ASRCSR_AICSA_MASK)
10053 
10054 #define ASRC_ASRCSR_AICSB_MASK                   (0xF0U)
10055 #define ASRC_ASRCSR_AICSB_SHIFT                  (4U)
10056 /*! AICSB - AICSB
10057  *  0b0000..bit clock 0
10058  *  0b0001..bit clock 1
10059  *  0b0010..bit clock 2
10060  *  0b0011..bit clock 3
10061  *  0b0100..bit clock 4
10062  *  0b0101..bit clock 5
10063  *  0b0110..bit clock 6
10064  *  0b0111..bit clock 7
10065  *  0b1000..bit clock 8
10066  *  0b1001..bit clock 9
10067  *  0b1010..bit clock A
10068  *  0b1011..bit clock B
10069  *  0b1100..bit clock C
10070  *  0b1101..bit clock D
10071  *  0b1110..bit clock E
10072  *  0b1111..clock disabled, connected to zero
10073  */
10074 #define ASRC_ASRCSR_AICSB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AICSB_SHIFT)) & ASRC_ASRCSR_AICSB_MASK)
10075 
10076 #define ASRC_ASRCSR_AICSC_MASK                   (0xF00U)
10077 #define ASRC_ASRCSR_AICSC_SHIFT                  (8U)
10078 /*! AICSC - AICSC
10079  *  0b0000..bit clock 0
10080  *  0b0001..bit clock 1
10081  *  0b0010..bit clock 2
10082  *  0b0011..bit clock 3
10083  *  0b0100..bit clock 4
10084  *  0b0101..bit clock 5
10085  *  0b0110..bit clock 6
10086  *  0b0111..bit clock 7
10087  *  0b1000..bit clock 8
10088  *  0b1001..bit clock 9
10089  *  0b1010..bit clock A
10090  *  0b1011..bit clock B
10091  *  0b1100..bit clock C
10092  *  0b1101..bit clock D
10093  *  0b1110..bit clock E
10094  *  0b1111..clock disabled, connected to zero
10095  */
10096 #define ASRC_ASRCSR_AICSC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AICSC_SHIFT)) & ASRC_ASRCSR_AICSC_MASK)
10097 
10098 #define ASRC_ASRCSR_AOCSA_MASK                   (0xF000U)
10099 #define ASRC_ASRCSR_AOCSA_SHIFT                  (12U)
10100 /*! AOCSA - AOCSA
10101  *  0b0000..bit clock 0
10102  *  0b0001..bit clock 1
10103  *  0b0010..bit clock 2
10104  *  0b0011..bit clock 3
10105  *  0b0100..bit clock 4
10106  *  0b0101..bit clock 5
10107  *  0b0110..bit clock 6
10108  *  0b0111..bit clock 7
10109  *  0b1000..bit clock 8
10110  *  0b1001..bit clock 9
10111  *  0b1010..bit clock A
10112  *  0b1011..bit clock B
10113  *  0b1100..bit clock C
10114  *  0b1101..bit clock D
10115  *  0b1110..bit clock E
10116  *  0b1111..clock disabled, connected to zero
10117  */
10118 #define ASRC_ASRCSR_AOCSA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AOCSA_SHIFT)) & ASRC_ASRCSR_AOCSA_MASK)
10119 
10120 #define ASRC_ASRCSR_AOCSB_MASK                   (0xF0000U)
10121 #define ASRC_ASRCSR_AOCSB_SHIFT                  (16U)
10122 /*! AOCSB - AOCSB
10123  *  0b0000..bit clock 0
10124  *  0b0001..bit clock 1
10125  *  0b0010..bit clock 2
10126  *  0b0011..bit clock 3
10127  *  0b0100..bit clock 4
10128  *  0b0101..bit clock 5
10129  *  0b0110..bit clock 6
10130  *  0b0111..bit clock 7
10131  *  0b1000..bit clock 8
10132  *  0b1001..bit clock 9
10133  *  0b1010..bit clock A
10134  *  0b1011..bit clock B
10135  *  0b1100..bit clock C
10136  *  0b1101..bit clock D
10137  *  0b1110..bit clock E
10138  *  0b1111..clock disabled, connected to zero
10139  */
10140 #define ASRC_ASRCSR_AOCSB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AOCSB_SHIFT)) & ASRC_ASRCSR_AOCSB_MASK)
10141 
10142 #define ASRC_ASRCSR_AOCSC_MASK                   (0xF00000U)
10143 #define ASRC_ASRCSR_AOCSC_SHIFT                  (20U)
10144 /*! AOCSC - AOCSC
10145  *  0b0000..bit clock 0
10146  *  0b0001..bit clock 1
10147  *  0b0010..bit clock 2
10148  *  0b0011..bit clock 3
10149  *  0b0100..bit clock 4
10150  *  0b0101..bit clock 5
10151  *  0b0110..bit clock 6
10152  *  0b0111..bit clock 7
10153  *  0b1000..bit clock 8
10154  *  0b1001..bit clock 9
10155  *  0b1010..bit clock A
10156  *  0b1011..bit clock B
10157  *  0b1100..bit clock C
10158  *  0b1101..bit clock D
10159  *  0b1110..bit clock E
10160  *  0b1111..clock disabled, connected to zero
10161  */
10162 #define ASRC_ASRCSR_AOCSC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCSR_AOCSC_SHIFT)) & ASRC_ASRCSR_AOCSC_MASK)
10163 /*! @} */
10164 
10165 /*! @name ASRCDR1 - ASRC Clock Divider Register 1 */
10166 /*! @{ */
10167 
10168 #define ASRC_ASRCDR1_AICPA_MASK                  (0x7U)
10169 #define ASRC_ASRCDR1_AICPA_SHIFT                 (0U)
10170 /*! AICPA - AICPA
10171  */
10172 #define ASRC_ASRCDR1_AICPA(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AICPA_SHIFT)) & ASRC_ASRCDR1_AICPA_MASK)
10173 
10174 #define ASRC_ASRCDR1_AICDA_MASK                  (0x38U)
10175 #define ASRC_ASRCDR1_AICDA_SHIFT                 (3U)
10176 /*! AICDA - AICDA
10177  */
10178 #define ASRC_ASRCDR1_AICDA(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AICDA_SHIFT)) & ASRC_ASRCDR1_AICDA_MASK)
10179 
10180 #define ASRC_ASRCDR1_AICPB_MASK                  (0x1C0U)
10181 #define ASRC_ASRCDR1_AICPB_SHIFT                 (6U)
10182 /*! AICPB - AICPB
10183  */
10184 #define ASRC_ASRCDR1_AICPB(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AICPB_SHIFT)) & ASRC_ASRCDR1_AICPB_MASK)
10185 
10186 #define ASRC_ASRCDR1_AICDB_MASK                  (0xE00U)
10187 #define ASRC_ASRCDR1_AICDB_SHIFT                 (9U)
10188 /*! AICDB - AICDB
10189  */
10190 #define ASRC_ASRCDR1_AICDB(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AICDB_SHIFT)) & ASRC_ASRCDR1_AICDB_MASK)
10191 
10192 #define ASRC_ASRCDR1_AOCPA_MASK                  (0x7000U)
10193 #define ASRC_ASRCDR1_AOCPA_SHIFT                 (12U)
10194 /*! AOCPA - AOCPA
10195  */
10196 #define ASRC_ASRCDR1_AOCPA(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AOCPA_SHIFT)) & ASRC_ASRCDR1_AOCPA_MASK)
10197 
10198 #define ASRC_ASRCDR1_AOCDA_MASK                  (0x38000U)
10199 #define ASRC_ASRCDR1_AOCDA_SHIFT                 (15U)
10200 /*! AOCDA - AOCDA
10201  */
10202 #define ASRC_ASRCDR1_AOCDA(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AOCDA_SHIFT)) & ASRC_ASRCDR1_AOCDA_MASK)
10203 
10204 #define ASRC_ASRCDR1_AOCPB_MASK                  (0x1C0000U)
10205 #define ASRC_ASRCDR1_AOCPB_SHIFT                 (18U)
10206 /*! AOCPB - AOCPB
10207  */
10208 #define ASRC_ASRCDR1_AOCPB(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AOCPB_SHIFT)) & ASRC_ASRCDR1_AOCPB_MASK)
10209 
10210 #define ASRC_ASRCDR1_AOCDB_MASK                  (0xE00000U)
10211 #define ASRC_ASRCDR1_AOCDB_SHIFT                 (21U)
10212 /*! AOCDB - AOCDB
10213  */
10214 #define ASRC_ASRCDR1_AOCDB(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR1_AOCDB_SHIFT)) & ASRC_ASRCDR1_AOCDB_MASK)
10215 /*! @} */
10216 
10217 /*! @name ASRCDR2 - ASRC Clock Divider Register 2 */
10218 /*! @{ */
10219 
10220 #define ASRC_ASRCDR2_AICPC_MASK                  (0x7U)
10221 #define ASRC_ASRCDR2_AICPC_SHIFT                 (0U)
10222 /*! AICPC - AICPC
10223  */
10224 #define ASRC_ASRCDR2_AICPC(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR2_AICPC_SHIFT)) & ASRC_ASRCDR2_AICPC_MASK)
10225 
10226 #define ASRC_ASRCDR2_AICDC_MASK                  (0x38U)
10227 #define ASRC_ASRCDR2_AICDC_SHIFT                 (3U)
10228 /*! AICDC - AICDC
10229  */
10230 #define ASRC_ASRCDR2_AICDC(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR2_AICDC_SHIFT)) & ASRC_ASRCDR2_AICDC_MASK)
10231 
10232 #define ASRC_ASRCDR2_AOCPC_MASK                  (0x1C0U)
10233 #define ASRC_ASRCDR2_AOCPC_SHIFT                 (6U)
10234 /*! AOCPC - AOCPC
10235  */
10236 #define ASRC_ASRCDR2_AOCPC(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR2_AOCPC_SHIFT)) & ASRC_ASRCDR2_AOCPC_MASK)
10237 
10238 #define ASRC_ASRCDR2_AOCDC_MASK                  (0xE00U)
10239 #define ASRC_ASRCDR2_AOCDC_SHIFT                 (9U)
10240 /*! AOCDC - AOCDC
10241  */
10242 #define ASRC_ASRCDR2_AOCDC(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCDR2_AOCDC_SHIFT)) & ASRC_ASRCDR2_AOCDC_MASK)
10243 /*! @} */
10244 
10245 /*! @name ASRSTR - ASRC Status Register */
10246 /*! @{ */
10247 
10248 #define ASRC_ASRSTR_AIDEA_MASK                   (0x1U)
10249 #define ASRC_ASRSTR_AIDEA_SHIFT                  (0U)
10250 /*! AIDEA - AIDEA
10251  *  0b1..When AIDEA is set, the ASRC generates data input A interrupt request to the processor if ASRIER[AIDEA] = 1
10252  *  0b0..The threshold has been met and no data input A interrupt is generated
10253  */
10254 #define ASRC_ASRSTR_AIDEA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDEA_SHIFT)) & ASRC_ASRSTR_AIDEA_MASK)
10255 
10256 #define ASRC_ASRSTR_AIDEB_MASK                   (0x2U)
10257 #define ASRC_ASRSTR_AIDEB_SHIFT                  (1U)
10258 /*! AIDEB - AIDEB
10259  *  0b1..When AIDEB is set, the ASRC generates data input B interrupt request to the processor if ASRIER[AIDEB] = 1
10260  *  0b0..The threshold has been met and no data input B interrupt is generated
10261  */
10262 #define ASRC_ASRSTR_AIDEB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDEB_SHIFT)) & ASRC_ASRSTR_AIDEB_MASK)
10263 
10264 #define ASRC_ASRSTR_AIDEC_MASK                   (0x4U)
10265 #define ASRC_ASRSTR_AIDEC_SHIFT                  (2U)
10266 /*! AIDEC - AIDEC
10267  *  0b1..When AIDEC is set, the ASRC generates data input C interrupt request to the processor if ASRIER[AIDEC] = 1
10268  *  0b0..The threshold has been met and no data input C interrupt is generated
10269  */
10270 #define ASRC_ASRSTR_AIDEC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDEC_SHIFT)) & ASRC_ASRSTR_AIDEC_MASK)
10271 
10272 #define ASRC_ASRSTR_AODFA_MASK                   (0x8U)
10273 #define ASRC_ASRSTR_AODFA_SHIFT                  (3U)
10274 /*! AODFA - AODFA
10275  *  0b1..When AODFA is set, the ASRC generates data output A interrupt request to the processor if ASRIER[ADOEA] = 1
10276  *  0b0..The threshold has not yet been met and no data output A interrupt is generated
10277  */
10278 #define ASRC_ASRSTR_AODFA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODFA_SHIFT)) & ASRC_ASRSTR_AODFA_MASK)
10279 
10280 #define ASRC_ASRSTR_AODFB_MASK                   (0x10U)
10281 #define ASRC_ASRSTR_AODFB_SHIFT                  (4U)
10282 /*! AODFB - AODFB
10283  *  0b1..When AODFB is set, the ASRC generates data output B interrupt request to the processor if ASRIER[ADOEB] = 1
10284  *  0b0..The threshold has not yet been met and no data output B interrupt is generated
10285  */
10286 #define ASRC_ASRSTR_AODFB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODFB_SHIFT)) & ASRC_ASRSTR_AODFB_MASK)
10287 
10288 #define ASRC_ASRSTR_AODFC_MASK                   (0x20U)
10289 #define ASRC_ASRSTR_AODFC_SHIFT                  (5U)
10290 /*! AODFC - AODFC
10291  *  0b1..When AODFC is set, the ASRC generates data output C interrupt request to the processor if ASRIER[ADOEC] = 1
10292  *  0b0..The threshold has not yet been met and no data output C interrupt is generated
10293  */
10294 #define ASRC_ASRSTR_AODFC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODFC_SHIFT)) & ASRC_ASRSTR_AODFC_MASK)
10295 
10296 #define ASRC_ASRSTR_AOLE_MASK                    (0x40U)
10297 #define ASRC_ASRSTR_AOLE_SHIFT                   (6U)
10298 /*! AOLE - AOLE
10299  *  0b1..Task rate is too high
10300  *  0b0..No overload
10301  */
10302 #define ASRC_ASRSTR_AOLE(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AOLE_SHIFT)) & ASRC_ASRSTR_AOLE_MASK)
10303 
10304 #define ASRC_ASRSTR_FPWT_MASK                    (0x80U)
10305 #define ASRC_ASRSTR_FPWT_SHIFT                   (7U)
10306 /*! FPWT - FPWT
10307  *  0b0..ASRC is not in wait state
10308  *  0b1..ASRC is in wait state
10309  */
10310 #define ASRC_ASRSTR_FPWT(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_FPWT_SHIFT)) & ASRC_ASRSTR_FPWT_MASK)
10311 
10312 #define ASRC_ASRSTR_AIDUA_MASK                   (0x100U)
10313 #define ASRC_ASRSTR_AIDUA_SHIFT                  (8U)
10314 /*! AIDUA - AIDUA
10315  *  0b0..No Underflow in Input data buffer A
10316  *  0b1..Underflow in Input data buffer A
10317  */
10318 #define ASRC_ASRSTR_AIDUA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDUA_SHIFT)) & ASRC_ASRSTR_AIDUA_MASK)
10319 
10320 #define ASRC_ASRSTR_AIDUB_MASK                   (0x200U)
10321 #define ASRC_ASRSTR_AIDUB_SHIFT                  (9U)
10322 /*! AIDUB - AIDUB
10323  *  0b0..No Underflow in Input data buffer B
10324  *  0b1..Underflow in Input data buffer B
10325  */
10326 #define ASRC_ASRSTR_AIDUB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDUB_SHIFT)) & ASRC_ASRSTR_AIDUB_MASK)
10327 
10328 #define ASRC_ASRSTR_AIDUC_MASK                   (0x400U)
10329 #define ASRC_ASRSTR_AIDUC_SHIFT                  (10U)
10330 /*! AIDUC - AIDUC
10331  *  0b0..No Underflow in Input data buffer C
10332  *  0b1..Underflow in Input data buffer C
10333  */
10334 #define ASRC_ASRSTR_AIDUC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIDUC_SHIFT)) & ASRC_ASRSTR_AIDUC_MASK)
10335 
10336 #define ASRC_ASRSTR_AODOA_MASK                   (0x800U)
10337 #define ASRC_ASRSTR_AODOA_SHIFT                  (11U)
10338 /*! AODOA - AODOA
10339  *  0b0..No Overflow in Output data buffer A
10340  *  0b1..Overflow in Output data buffer A
10341  */
10342 #define ASRC_ASRSTR_AODOA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODOA_SHIFT)) & ASRC_ASRSTR_AODOA_MASK)
10343 
10344 #define ASRC_ASRSTR_AODOB_MASK                   (0x1000U)
10345 #define ASRC_ASRSTR_AODOB_SHIFT                  (12U)
10346 /*! AODOB - AODOB
10347  *  0b0..No Overflow in Output data buffer B
10348  *  0b1..Overflow in Output data buffer B
10349  */
10350 #define ASRC_ASRSTR_AODOB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODOB_SHIFT)) & ASRC_ASRSTR_AODOB_MASK)
10351 
10352 #define ASRC_ASRSTR_AODOC_MASK                   (0x2000U)
10353 #define ASRC_ASRSTR_AODOC_SHIFT                  (13U)
10354 /*! AODOC - AODOC
10355  *  0b0..No Overflow in Output data buffer C
10356  *  0b1..Overflow in Output data buffer C
10357  */
10358 #define ASRC_ASRSTR_AODOC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AODOC_SHIFT)) & ASRC_ASRSTR_AODOC_MASK)
10359 
10360 #define ASRC_ASRSTR_AIOLA_MASK                   (0x4000U)
10361 #define ASRC_ASRSTR_AIOLA_SHIFT                  (14U)
10362 /*! AIOLA - AIOLA
10363  *  0b0..Pair A input task is not oveloaded
10364  *  0b1..Pair A input task is oveloaded
10365  */
10366 #define ASRC_ASRSTR_AIOLA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIOLA_SHIFT)) & ASRC_ASRSTR_AIOLA_MASK)
10367 
10368 #define ASRC_ASRSTR_AIOLB_MASK                   (0x8000U)
10369 #define ASRC_ASRSTR_AIOLB_SHIFT                  (15U)
10370 /*! AIOLB - AIOLB
10371  *  0b0..Pair B input task is not oveloaded
10372  *  0b1..Pair B input task is oveloaded
10373  */
10374 #define ASRC_ASRSTR_AIOLB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIOLB_SHIFT)) & ASRC_ASRSTR_AIOLB_MASK)
10375 
10376 #define ASRC_ASRSTR_AIOLC_MASK                   (0x10000U)
10377 #define ASRC_ASRSTR_AIOLC_SHIFT                  (16U)
10378 /*! AIOLC - AIOLC
10379  *  0b0..Pair C input task is not oveloaded
10380  *  0b1..Pair C input task is oveloaded
10381  */
10382 #define ASRC_ASRSTR_AIOLC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AIOLC_SHIFT)) & ASRC_ASRSTR_AIOLC_MASK)
10383 
10384 #define ASRC_ASRSTR_AOOLA_MASK                   (0x20000U)
10385 #define ASRC_ASRSTR_AOOLA_SHIFT                  (17U)
10386 /*! AOOLA - AOOLA
10387  *  0b0..Pair A output task is not oveloaded
10388  *  0b1..Pair A output task is oveloaded
10389  */
10390 #define ASRC_ASRSTR_AOOLA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AOOLA_SHIFT)) & ASRC_ASRSTR_AOOLA_MASK)
10391 
10392 #define ASRC_ASRSTR_AOOLB_MASK                   (0x40000U)
10393 #define ASRC_ASRSTR_AOOLB_SHIFT                  (18U)
10394 /*! AOOLB - AOOLB
10395  *  0b0..Pair B output task is not oveloaded
10396  *  0b1..Pair B output task is oveloaded
10397  */
10398 #define ASRC_ASRSTR_AOOLB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AOOLB_SHIFT)) & ASRC_ASRSTR_AOOLB_MASK)
10399 
10400 #define ASRC_ASRSTR_AOOLC_MASK                   (0x80000U)
10401 #define ASRC_ASRSTR_AOOLC_SHIFT                  (19U)
10402 /*! AOOLC - AOOLC
10403  *  0b0..Pair C output task is not oveloaded
10404  *  0b1..Pair C output task is oveloaded
10405  */
10406 #define ASRC_ASRSTR_AOOLC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_AOOLC_SHIFT)) & ASRC_ASRSTR_AOOLC_MASK)
10407 
10408 #define ASRC_ASRSTR_ATQOL_MASK                   (0x100000U)
10409 #define ASRC_ASRSTR_ATQOL_SHIFT                  (20U)
10410 /*! ATQOL - ATQOL
10411  *  0b0..Task queue FIFO logic is not oveloaded
10412  *  0b1..Task queue FIFO logic is oveloaded
10413  */
10414 #define ASRC_ASRSTR_ATQOL(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_ATQOL_SHIFT)) & ASRC_ASRSTR_ATQOL_MASK)
10415 
10416 #define ASRC_ASRSTR_DSLCNT_MASK                  (0x200000U)
10417 #define ASRC_ASRSTR_DSLCNT_SHIFT                 (21U)
10418 /*! DSLCNT - DSLCNT
10419  *  0b0..New DSL counter information is in the process of storage into the internal ASRC FIFO
10420  *  0b1..New DSL counter information is stored in the internal ASRC FIFO
10421  */
10422 #define ASRC_ASRSTR_DSLCNT(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASRSTR_DSLCNT_SHIFT)) & ASRC_ASRSTR_DSLCNT_MASK)
10423 /*! @} */
10424 
10425 /*! @name ASRPM - ASRC Parameter Register n */
10426 /*! @{ */
10427 
10428 #define ASRC_ASRPM_PARAMETER_VALUE_MASK          (0xFFFFFFU)
10429 #define ASRC_ASRPM_PARAMETER_VALUE_SHIFT         (0U)
10430 /*! PARAMETER_VALUE - PARAMETER_VALUE
10431  */
10432 #define ASRC_ASRPM_PARAMETER_VALUE(x)            (((uint32_t)(((uint32_t)(x)) << ASRC_ASRPM_PARAMETER_VALUE_SHIFT)) & ASRC_ASRPM_PARAMETER_VALUE_MASK)
10433 /*! @} */
10434 
10435 /* The count of ASRC_ASRPM */
10436 #define ASRC_ASRPM_COUNT                         (5U)
10437 
10438 /*! @name ASRTFR1 - ASRC Task Queue FIFO Register 1 */
10439 /*! @{ */
10440 
10441 #define ASRC_ASRTFR1_TF_BASE_MASK                (0x1FC0U)
10442 #define ASRC_ASRTFR1_TF_BASE_SHIFT               (6U)
10443 /*! TF_BASE - TF_BASE
10444  */
10445 #define ASRC_ASRTFR1_TF_BASE(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRTFR1_TF_BASE_SHIFT)) & ASRC_ASRTFR1_TF_BASE_MASK)
10446 
10447 #define ASRC_ASRTFR1_TF_FILL_MASK                (0xFE000U)
10448 #define ASRC_ASRTFR1_TF_FILL_SHIFT               (13U)
10449 /*! TF_FILL - TF_FILL
10450  */
10451 #define ASRC_ASRTFR1_TF_FILL(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRTFR1_TF_FILL_SHIFT)) & ASRC_ASRTFR1_TF_FILL_MASK)
10452 /*! @} */
10453 
10454 /*! @name ASRCCR - ASRC Channel Counter Register */
10455 /*! @{ */
10456 
10457 #define ASRC_ASRCCR_ACIA_MASK                    (0xFU)
10458 #define ASRC_ASRCCR_ACIA_SHIFT                   (0U)
10459 /*! ACIA - ACIA
10460  */
10461 #define ASRC_ASRCCR_ACIA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACIA_SHIFT)) & ASRC_ASRCCR_ACIA_MASK)
10462 
10463 #define ASRC_ASRCCR_ACIB_MASK                    (0xF0U)
10464 #define ASRC_ASRCCR_ACIB_SHIFT                   (4U)
10465 /*! ACIB - ACIB
10466  */
10467 #define ASRC_ASRCCR_ACIB(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACIB_SHIFT)) & ASRC_ASRCCR_ACIB_MASK)
10468 
10469 #define ASRC_ASRCCR_ACIC_MASK                    (0xF00U)
10470 #define ASRC_ASRCCR_ACIC_SHIFT                   (8U)
10471 /*! ACIC - ACIC
10472  */
10473 #define ASRC_ASRCCR_ACIC(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACIC_SHIFT)) & ASRC_ASRCCR_ACIC_MASK)
10474 
10475 #define ASRC_ASRCCR_ACOA_MASK                    (0xF000U)
10476 #define ASRC_ASRCCR_ACOA_SHIFT                   (12U)
10477 /*! ACOA - ACOA
10478  */
10479 #define ASRC_ASRCCR_ACOA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACOA_SHIFT)) & ASRC_ASRCCR_ACOA_MASK)
10480 
10481 #define ASRC_ASRCCR_ACOB_MASK                    (0xF0000U)
10482 #define ASRC_ASRCCR_ACOB_SHIFT                   (16U)
10483 /*! ACOB - ACOB
10484  */
10485 #define ASRC_ASRCCR_ACOB(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACOB_SHIFT)) & ASRC_ASRCCR_ACOB_MASK)
10486 
10487 #define ASRC_ASRCCR_ACOC_MASK                    (0xF00000U)
10488 #define ASRC_ASRCCR_ACOC_SHIFT                   (20U)
10489 /*! ACOC - ACOC
10490  */
10491 #define ASRC_ASRCCR_ACOC(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRCCR_ACOC_SHIFT)) & ASRC_ASRCCR_ACOC_MASK)
10492 /*! @} */
10493 
10494 /*! @name ASRDIA - ASRC Data Input Register for Pair x */
10495 /*! @{ */
10496 
10497 #define ASRC_ASRDIA_DATA_MASK                    (0xFFFFFFU)
10498 #define ASRC_ASRDIA_DATA_SHIFT                   (0U)
10499 /*! DATA - DATA
10500  */
10501 #define ASRC_ASRDIA_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDIA_DATA_SHIFT)) & ASRC_ASRDIA_DATA_MASK)
10502 /*! @} */
10503 
10504 /*! @name ASRDOA - ASRC Data Output Register for Pair x */
10505 /*! @{ */
10506 
10507 #define ASRC_ASRDOA_DATA_MASK                    (0xFFFFFFU)
10508 #define ASRC_ASRDOA_DATA_SHIFT                   (0U)
10509 /*! DATA - DATA
10510  */
10511 #define ASRC_ASRDOA_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDOA_DATA_SHIFT)) & ASRC_ASRDOA_DATA_MASK)
10512 /*! @} */
10513 
10514 /*! @name ASRDIB - ASRC Data Input Register for Pair x */
10515 /*! @{ */
10516 
10517 #define ASRC_ASRDIB_DATA_MASK                    (0xFFFFFFU)
10518 #define ASRC_ASRDIB_DATA_SHIFT                   (0U)
10519 /*! DATA - DATA
10520  */
10521 #define ASRC_ASRDIB_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDIB_DATA_SHIFT)) & ASRC_ASRDIB_DATA_MASK)
10522 /*! @} */
10523 
10524 /*! @name ASRDOB - ASRC Data Output Register for Pair x */
10525 /*! @{ */
10526 
10527 #define ASRC_ASRDOB_DATA_MASK                    (0xFFFFFFU)
10528 #define ASRC_ASRDOB_DATA_SHIFT                   (0U)
10529 /*! DATA - DATA
10530  */
10531 #define ASRC_ASRDOB_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDOB_DATA_SHIFT)) & ASRC_ASRDOB_DATA_MASK)
10532 /*! @} */
10533 
10534 /*! @name ASRDIC - ASRC Data Input Register for Pair x */
10535 /*! @{ */
10536 
10537 #define ASRC_ASRDIC_DATA_MASK                    (0xFFFFFFU)
10538 #define ASRC_ASRDIC_DATA_SHIFT                   (0U)
10539 /*! DATA - DATA
10540  */
10541 #define ASRC_ASRDIC_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDIC_DATA_SHIFT)) & ASRC_ASRDIC_DATA_MASK)
10542 /*! @} */
10543 
10544 /*! @name ASRDOC - ASRC Data Output Register for Pair x */
10545 /*! @{ */
10546 
10547 #define ASRC_ASRDOC_DATA_MASK                    (0xFFFFFFU)
10548 #define ASRC_ASRDOC_DATA_SHIFT                   (0U)
10549 /*! DATA - DATA
10550  */
10551 #define ASRC_ASRDOC_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRDOC_DATA_SHIFT)) & ASRC_ASRDOC_DATA_MASK)
10552 /*! @} */
10553 
10554 /*! @name ASRIDRHA - ASRC Ideal Ratio for Pair A-High Part */
10555 /*! @{ */
10556 
10557 #define ASRC_ASRIDRHA_IDRATIOA_H_MASK            (0xFFU)
10558 #define ASRC_ASRIDRHA_IDRATIOA_H_SHIFT           (0U)
10559 /*! IDRATIOA_H - IDRATIOA_H
10560  */
10561 #define ASRC_ASRIDRHA_IDRATIOA_H(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRHA_IDRATIOA_H_SHIFT)) & ASRC_ASRIDRHA_IDRATIOA_H_MASK)
10562 /*! @} */
10563 
10564 /*! @name ASRIDRLA - ASRC Ideal Ratio for Pair A -Low Part */
10565 /*! @{ */
10566 
10567 #define ASRC_ASRIDRLA_IDRATIOA_L_MASK            (0xFFFFFFU)
10568 #define ASRC_ASRIDRLA_IDRATIOA_L_SHIFT           (0U)
10569 /*! IDRATIOA_L - IDRATIOA_L
10570  */
10571 #define ASRC_ASRIDRLA_IDRATIOA_L(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRLA_IDRATIOA_L_SHIFT)) & ASRC_ASRIDRLA_IDRATIOA_L_MASK)
10572 /*! @} */
10573 
10574 /*! @name ASRIDRHB - ASRC Ideal Ratio for Pair B-High Part */
10575 /*! @{ */
10576 
10577 #define ASRC_ASRIDRHB_IDRATIOB_H_MASK            (0xFFU)
10578 #define ASRC_ASRIDRHB_IDRATIOB_H_SHIFT           (0U)
10579 /*! IDRATIOB_H - IDRATIOB_H
10580  */
10581 #define ASRC_ASRIDRHB_IDRATIOB_H(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRHB_IDRATIOB_H_SHIFT)) & ASRC_ASRIDRHB_IDRATIOB_H_MASK)
10582 /*! @} */
10583 
10584 /*! @name ASRIDRLB - ASRC Ideal Ratio for Pair B-Low Part */
10585 /*! @{ */
10586 
10587 #define ASRC_ASRIDRLB_IDRATIOB_L_MASK            (0xFFFFFFU)
10588 #define ASRC_ASRIDRLB_IDRATIOB_L_SHIFT           (0U)
10589 /*! IDRATIOB_L - IDRATIOB_L
10590  */
10591 #define ASRC_ASRIDRLB_IDRATIOB_L(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRLB_IDRATIOB_L_SHIFT)) & ASRC_ASRIDRLB_IDRATIOB_L_MASK)
10592 /*! @} */
10593 
10594 /*! @name ASRIDRHC - ASRC Ideal Ratio for Pair C-High Part */
10595 /*! @{ */
10596 
10597 #define ASRC_ASRIDRHC_IDRATIOC_H_MASK            (0xFFU)
10598 #define ASRC_ASRIDRHC_IDRATIOC_H_SHIFT           (0U)
10599 /*! IDRATIOC_H - IDRATIOC_H
10600  */
10601 #define ASRC_ASRIDRHC_IDRATIOC_H(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRHC_IDRATIOC_H_SHIFT)) & ASRC_ASRIDRHC_IDRATIOC_H_MASK)
10602 /*! @} */
10603 
10604 /*! @name ASRIDRLC - ASRC Ideal Ratio for Pair C-Low Part */
10605 /*! @{ */
10606 
10607 #define ASRC_ASRIDRLC_IDRATIOC_L_MASK            (0xFFFFFFU)
10608 #define ASRC_ASRIDRLC_IDRATIOC_L_SHIFT           (0U)
10609 /*! IDRATIOC_L - IDRATIOC_L
10610  */
10611 #define ASRC_ASRIDRLC_IDRATIOC_L(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRIDRLC_IDRATIOC_L_SHIFT)) & ASRC_ASRIDRLC_IDRATIOC_L_MASK)
10612 /*! @} */
10613 
10614 /*! @name ASR76K - ASRC 76 kHz Period in terms of ASRC processing clock */
10615 /*! @{ */
10616 
10617 #define ASRC_ASR76K_ASR76K_MASK                  (0x1FFFFU)
10618 #define ASRC_ASR76K_ASR76K_SHIFT                 (0U)
10619 /*! ASR76K - ASR76K
10620  */
10621 #define ASRC_ASR76K_ASR76K(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASR76K_ASR76K_SHIFT)) & ASRC_ASR76K_ASR76K_MASK)
10622 /*! @} */
10623 
10624 /*! @name ASR56K - ASRC 56 kHz Period in terms of ASRC processing clock */
10625 /*! @{ */
10626 
10627 #define ASRC_ASR56K_ASR56K_MASK                  (0x1FFFFU)
10628 #define ASRC_ASR56K_ASR56K_SHIFT                 (0U)
10629 /*! ASR56K - ASR56K
10630  */
10631 #define ASRC_ASR56K_ASR56K(x)                    (((uint32_t)(((uint32_t)(x)) << ASRC_ASR56K_ASR56K_SHIFT)) & ASRC_ASR56K_ASR56K_MASK)
10632 /*! @} */
10633 
10634 /*! @name ASRMCRA - ASRC Misc Control Register for Pair A */
10635 /*! @{ */
10636 
10637 #define ASRC_ASRMCRA_INFIFO_THRESHOLDA_MASK      (0x3FU)
10638 #define ASRC_ASRMCRA_INFIFO_THRESHOLDA_SHIFT     (0U)
10639 /*! INFIFO_THRESHOLDA - INFIFO_THRESHOLDA
10640  */
10641 #define ASRC_ASRMCRA_INFIFO_THRESHOLDA(x)        (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_INFIFO_THRESHOLDA_SHIFT)) & ASRC_ASRMCRA_INFIFO_THRESHOLDA_MASK)
10642 
10643 #define ASRC_ASRMCRA_RSYNOFA_MASK                (0x400U)
10644 #define ASRC_ASRMCRA_RSYNOFA_SHIFT               (10U)
10645 /*! RSYNOFA - RSYNOFA
10646  *  0b1..Force ASRCCR[ACOA]=0
10647  *  0b0..Do not touch ASRCCR[ACOA]
10648  */
10649 #define ASRC_ASRMCRA_RSYNOFA(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_RSYNOFA_SHIFT)) & ASRC_ASRMCRA_RSYNOFA_MASK)
10650 
10651 #define ASRC_ASRMCRA_RSYNIFA_MASK                (0x800U)
10652 #define ASRC_ASRMCRA_RSYNIFA_SHIFT               (11U)
10653 /*! RSYNIFA - RSYNIFA
10654  *  0b1..Force ASRCCR[ACIA]=0
10655  *  0b0..Do not touch ASRCCR[ACIA]
10656  */
10657 #define ASRC_ASRMCRA_RSYNIFA(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_RSYNIFA_SHIFT)) & ASRC_ASRMCRA_RSYNIFA_MASK)
10658 
10659 #define ASRC_ASRMCRA_OUTFIFO_THRESHOLDA_MASK     (0x3F000U)
10660 #define ASRC_ASRMCRA_OUTFIFO_THRESHOLDA_SHIFT    (12U)
10661 /*! OUTFIFO_THRESHOLDA - OUTFIFO_THRESHOLDA
10662  */
10663 #define ASRC_ASRMCRA_OUTFIFO_THRESHOLDA(x)       (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_OUTFIFO_THRESHOLDA_SHIFT)) & ASRC_ASRMCRA_OUTFIFO_THRESHOLDA_MASK)
10664 
10665 #define ASRC_ASRMCRA_BYPASSPOLYA_MASK            (0x100000U)
10666 #define ASRC_ASRMCRA_BYPASSPOLYA_SHIFT           (20U)
10667 /*! BYPASSPOLYA - BYPASSPOLYA
10668  *  0b1..Bypass polyphase filtering.
10669  *  0b0..Don't bypass polyphase filtering.
10670  */
10671 #define ASRC_ASRMCRA_BYPASSPOLYA(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_BYPASSPOLYA_SHIFT)) & ASRC_ASRMCRA_BYPASSPOLYA_MASK)
10672 
10673 #define ASRC_ASRMCRA_BUFSTALLA_MASK              (0x200000U)
10674 #define ASRC_ASRMCRA_BUFSTALLA_SHIFT             (21U)
10675 /*! BUFSTALLA - BUFSTALLA
10676  *  0b1..Stall Pair A conversion in case of near empty/full FIFO conditions.
10677  *  0b0..Don't stall Pair A conversion even in case of near empty/full FIFO conditions.
10678  */
10679 #define ASRC_ASRMCRA_BUFSTALLA(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_BUFSTALLA_SHIFT)) & ASRC_ASRMCRA_BUFSTALLA_MASK)
10680 
10681 #define ASRC_ASRMCRA_EXTTHRSHA_MASK              (0x400000U)
10682 #define ASRC_ASRMCRA_EXTTHRSHA_SHIFT             (22U)
10683 /*! EXTTHRSHA - EXTTHRSHA
10684  *  0b1..Use external defined thresholds.
10685  *  0b0..Use default thresholds.
10686  */
10687 #define ASRC_ASRMCRA_EXTTHRSHA(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_EXTTHRSHA_SHIFT)) & ASRC_ASRMCRA_EXTTHRSHA_MASK)
10688 
10689 #define ASRC_ASRMCRA_ZEROBUFA_MASK               (0x800000U)
10690 #define ASRC_ASRMCRA_ZEROBUFA_SHIFT              (23U)
10691 /*! ZEROBUFA - ZEROBUFA
10692  *  0b1..Don't zeroize the buffer
10693  *  0b0..Zeroize the buffer
10694  */
10695 #define ASRC_ASRMCRA_ZEROBUFA(x)                 (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRA_ZEROBUFA_SHIFT)) & ASRC_ASRMCRA_ZEROBUFA_MASK)
10696 /*! @} */
10697 
10698 /*! @name ASRFSTA - ASRC FIFO Status Register for Pair A */
10699 /*! @{ */
10700 
10701 #define ASRC_ASRFSTA_INFIFO_FILLA_MASK           (0x7FU)
10702 #define ASRC_ASRFSTA_INFIFO_FILLA_SHIFT          (0U)
10703 /*! INFIFO_FILLA - INFIFO_FILLA
10704  */
10705 #define ASRC_ASRFSTA_INFIFO_FILLA(x)             (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTA_INFIFO_FILLA_SHIFT)) & ASRC_ASRFSTA_INFIFO_FILLA_MASK)
10706 
10707 #define ASRC_ASRFSTA_IAEA_MASK                   (0x800U)
10708 #define ASRC_ASRFSTA_IAEA_SHIFT                  (11U)
10709 /*! IAEA - IAEA
10710  *  0b1..Input FIFO is near empty for Pair A
10711  *  0b0..Input FIFO is not near empty for Pair A
10712  */
10713 #define ASRC_ASRFSTA_IAEA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTA_IAEA_SHIFT)) & ASRC_ASRFSTA_IAEA_MASK)
10714 
10715 #define ASRC_ASRFSTA_OUTFIFO_FILLA_MASK          (0x7F000U)
10716 #define ASRC_ASRFSTA_OUTFIFO_FILLA_SHIFT         (12U)
10717 /*! OUTFIFO_FILLA - OUTFIFO_FILLA
10718  */
10719 #define ASRC_ASRFSTA_OUTFIFO_FILLA(x)            (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTA_OUTFIFO_FILLA_SHIFT)) & ASRC_ASRFSTA_OUTFIFO_FILLA_MASK)
10720 
10721 #define ASRC_ASRFSTA_OAFA_MASK                   (0x800000U)
10722 #define ASRC_ASRFSTA_OAFA_SHIFT                  (23U)
10723 /*! OAFA - OAFA
10724  *  0b1..Output FIFO is near full for Pair A
10725  *  0b0..Output FIFO is not near full for Pair A
10726  */
10727 #define ASRC_ASRFSTA_OAFA(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTA_OAFA_SHIFT)) & ASRC_ASRFSTA_OAFA_MASK)
10728 /*! @} */
10729 
10730 /*! @name ASRMCRB - ASRC Misc Control Register for Pair B */
10731 /*! @{ */
10732 
10733 #define ASRC_ASRMCRB_INFIFO_THRESHOLDB_MASK      (0x3FU)
10734 #define ASRC_ASRMCRB_INFIFO_THRESHOLDB_SHIFT     (0U)
10735 /*! INFIFO_THRESHOLDB - INFIFO_THRESHOLDB
10736  */
10737 #define ASRC_ASRMCRB_INFIFO_THRESHOLDB(x)        (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_INFIFO_THRESHOLDB_SHIFT)) & ASRC_ASRMCRB_INFIFO_THRESHOLDB_MASK)
10738 
10739 #define ASRC_ASRMCRB_RSYNOFB_MASK                (0x400U)
10740 #define ASRC_ASRMCRB_RSYNOFB_SHIFT               (10U)
10741 /*! RSYNOFB - RSYNOFB
10742  *  0b1..Force ASRCCR[ACOB]=0
10743  *  0b0..Do not touch ASRCCR[ACOB]
10744  */
10745 #define ASRC_ASRMCRB_RSYNOFB(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_RSYNOFB_SHIFT)) & ASRC_ASRMCRB_RSYNOFB_MASK)
10746 
10747 #define ASRC_ASRMCRB_RSYNIFB_MASK                (0x800U)
10748 #define ASRC_ASRMCRB_RSYNIFB_SHIFT               (11U)
10749 /*! RSYNIFB - RSYNIFB
10750  *  0b1..Force ASRCCR[ACIB]=0
10751  *  0b0..Do not touch ASRCCR[ACIB]
10752  */
10753 #define ASRC_ASRMCRB_RSYNIFB(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_RSYNIFB_SHIFT)) & ASRC_ASRMCRB_RSYNIFB_MASK)
10754 
10755 #define ASRC_ASRMCRB_OUTFIFO_THRESHOLDB_MASK     (0x3F000U)
10756 #define ASRC_ASRMCRB_OUTFIFO_THRESHOLDB_SHIFT    (12U)
10757 /*! OUTFIFO_THRESHOLDB - OUTFIFO_THRESHOLDB
10758  */
10759 #define ASRC_ASRMCRB_OUTFIFO_THRESHOLDB(x)       (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_OUTFIFO_THRESHOLDB_SHIFT)) & ASRC_ASRMCRB_OUTFIFO_THRESHOLDB_MASK)
10760 
10761 #define ASRC_ASRMCRB_BYPASSPOLYB_MASK            (0x100000U)
10762 #define ASRC_ASRMCRB_BYPASSPOLYB_SHIFT           (20U)
10763 /*! BYPASSPOLYB - BYPASSPOLYB
10764  *  0b1..Bypass polyphase filtering.
10765  *  0b0..Don't bypass polyphase filtering.
10766  */
10767 #define ASRC_ASRMCRB_BYPASSPOLYB(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_BYPASSPOLYB_SHIFT)) & ASRC_ASRMCRB_BYPASSPOLYB_MASK)
10768 
10769 #define ASRC_ASRMCRB_BUFSTALLB_MASK              (0x200000U)
10770 #define ASRC_ASRMCRB_BUFSTALLB_SHIFT             (21U)
10771 /*! BUFSTALLB - BUFSTALLB
10772  *  0b1..Stall Pair B conversion in case of near empty/full FIFO conditions.
10773  *  0b0..Don't stall Pair B conversion even in case of near empty/full FIFO conditions.
10774  */
10775 #define ASRC_ASRMCRB_BUFSTALLB(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_BUFSTALLB_SHIFT)) & ASRC_ASRMCRB_BUFSTALLB_MASK)
10776 
10777 #define ASRC_ASRMCRB_EXTTHRSHB_MASK              (0x400000U)
10778 #define ASRC_ASRMCRB_EXTTHRSHB_SHIFT             (22U)
10779 /*! EXTTHRSHB - EXTTHRSHB
10780  *  0b1..Use external defined thresholds.
10781  *  0b0..Use default thresholds.
10782  */
10783 #define ASRC_ASRMCRB_EXTTHRSHB(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_EXTTHRSHB_SHIFT)) & ASRC_ASRMCRB_EXTTHRSHB_MASK)
10784 
10785 #define ASRC_ASRMCRB_ZEROBUFB_MASK               (0x800000U)
10786 #define ASRC_ASRMCRB_ZEROBUFB_SHIFT              (23U)
10787 /*! ZEROBUFB - ZEROBUFB
10788  *  0b1..Don't zeroize the buffer
10789  *  0b0..Zeroize the buffer
10790  */
10791 #define ASRC_ASRMCRB_ZEROBUFB(x)                 (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRB_ZEROBUFB_SHIFT)) & ASRC_ASRMCRB_ZEROBUFB_MASK)
10792 /*! @} */
10793 
10794 /*! @name ASRFSTB - ASRC FIFO Status Register for Pair B */
10795 /*! @{ */
10796 
10797 #define ASRC_ASRFSTB_INFIFO_FILLB_MASK           (0x7FU)
10798 #define ASRC_ASRFSTB_INFIFO_FILLB_SHIFT          (0U)
10799 /*! INFIFO_FILLB - INFIFO_FILLB
10800  */
10801 #define ASRC_ASRFSTB_INFIFO_FILLB(x)             (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTB_INFIFO_FILLB_SHIFT)) & ASRC_ASRFSTB_INFIFO_FILLB_MASK)
10802 
10803 #define ASRC_ASRFSTB_IAEB_MASK                   (0x800U)
10804 #define ASRC_ASRFSTB_IAEB_SHIFT                  (11U)
10805 /*! IAEB - IAEB
10806  *  0b1..Input FIFO is near empty for Pair B
10807  *  0b0..Input FIFO is not near empty for Pair B
10808  */
10809 #define ASRC_ASRFSTB_IAEB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTB_IAEB_SHIFT)) & ASRC_ASRFSTB_IAEB_MASK)
10810 
10811 #define ASRC_ASRFSTB_OUTFIFO_FILLB_MASK          (0x7F000U)
10812 #define ASRC_ASRFSTB_OUTFIFO_FILLB_SHIFT         (12U)
10813 /*! OUTFIFO_FILLB - OUTFIFO_FILLB
10814  */
10815 #define ASRC_ASRFSTB_OUTFIFO_FILLB(x)            (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTB_OUTFIFO_FILLB_SHIFT)) & ASRC_ASRFSTB_OUTFIFO_FILLB_MASK)
10816 
10817 #define ASRC_ASRFSTB_OAFB_MASK                   (0x800000U)
10818 #define ASRC_ASRFSTB_OAFB_SHIFT                  (23U)
10819 /*! OAFB - OAFB
10820  *  0b1..Output FIFO is near full for Pair B
10821  *  0b0..Output FIFO is not near full for Pair B
10822  */
10823 #define ASRC_ASRFSTB_OAFB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTB_OAFB_SHIFT)) & ASRC_ASRFSTB_OAFB_MASK)
10824 /*! @} */
10825 
10826 /*! @name ASRMCRC - ASRC Misc Control Register for Pair C */
10827 /*! @{ */
10828 
10829 #define ASRC_ASRMCRC_INFIFO_THRESHOLDC_MASK      (0x3FU)
10830 #define ASRC_ASRMCRC_INFIFO_THRESHOLDC_SHIFT     (0U)
10831 /*! INFIFO_THRESHOLDC - INFIFO_THRESHOLDC
10832  */
10833 #define ASRC_ASRMCRC_INFIFO_THRESHOLDC(x)        (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_INFIFO_THRESHOLDC_SHIFT)) & ASRC_ASRMCRC_INFIFO_THRESHOLDC_MASK)
10834 
10835 #define ASRC_ASRMCRC_RSYNOFC_MASK                (0x400U)
10836 #define ASRC_ASRMCRC_RSYNOFC_SHIFT               (10U)
10837 /*! RSYNOFC - RSYNOFC
10838  *  0b1..Force ASRCCR[ACOC]=0
10839  *  0b0..Do not touch ASRCCR[ACOC]
10840  */
10841 #define ASRC_ASRMCRC_RSYNOFC(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_RSYNOFC_SHIFT)) & ASRC_ASRMCRC_RSYNOFC_MASK)
10842 
10843 #define ASRC_ASRMCRC_RSYNIFC_MASK                (0x800U)
10844 #define ASRC_ASRMCRC_RSYNIFC_SHIFT               (11U)
10845 /*! RSYNIFC - RSYNIFC
10846  *  0b1..Force ASRCCR[ACIC]=0
10847  *  0b0..Do not touch ASRCCR[ACIC]
10848  */
10849 #define ASRC_ASRMCRC_RSYNIFC(x)                  (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_RSYNIFC_SHIFT)) & ASRC_ASRMCRC_RSYNIFC_MASK)
10850 
10851 #define ASRC_ASRMCRC_OUTFIFO_THRESHOLDC_MASK     (0x3F000U)
10852 #define ASRC_ASRMCRC_OUTFIFO_THRESHOLDC_SHIFT    (12U)
10853 /*! OUTFIFO_THRESHOLDC - OUTFIFO_THRESHOLDC
10854  */
10855 #define ASRC_ASRMCRC_OUTFIFO_THRESHOLDC(x)       (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_OUTFIFO_THRESHOLDC_SHIFT)) & ASRC_ASRMCRC_OUTFIFO_THRESHOLDC_MASK)
10856 
10857 #define ASRC_ASRMCRC_BYPASSPOLYC_MASK            (0x100000U)
10858 #define ASRC_ASRMCRC_BYPASSPOLYC_SHIFT           (20U)
10859 /*! BYPASSPOLYC - BYPASSPOLYC
10860  *  0b1..Bypass polyphase filtering.
10861  *  0b0..Don't bypass polyphase filtering.
10862  */
10863 #define ASRC_ASRMCRC_BYPASSPOLYC(x)              (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_BYPASSPOLYC_SHIFT)) & ASRC_ASRMCRC_BYPASSPOLYC_MASK)
10864 
10865 #define ASRC_ASRMCRC_BUFSTALLC_MASK              (0x200000U)
10866 #define ASRC_ASRMCRC_BUFSTALLC_SHIFT             (21U)
10867 /*! BUFSTALLC - BUFSTALLC
10868  *  0b1..Stall Pair C conversion in case of near empty/full FIFO conditions.
10869  *  0b0..Don't stall Pair C conversion even in case of near empty/full FIFO conditions.
10870  */
10871 #define ASRC_ASRMCRC_BUFSTALLC(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_BUFSTALLC_SHIFT)) & ASRC_ASRMCRC_BUFSTALLC_MASK)
10872 
10873 #define ASRC_ASRMCRC_EXTTHRSHC_MASK              (0x400000U)
10874 #define ASRC_ASRMCRC_EXTTHRSHC_SHIFT             (22U)
10875 /*! EXTTHRSHC - EXTTHRSHC
10876  *  0b1..Use external defined thresholds.
10877  *  0b0..Use default thresholds.
10878  */
10879 #define ASRC_ASRMCRC_EXTTHRSHC(x)                (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_EXTTHRSHC_SHIFT)) & ASRC_ASRMCRC_EXTTHRSHC_MASK)
10880 
10881 #define ASRC_ASRMCRC_ZEROBUFC_MASK               (0x800000U)
10882 #define ASRC_ASRMCRC_ZEROBUFC_SHIFT              (23U)
10883 /*! ZEROBUFC - ZEROBUFC
10884  *  0b1..Don't zeroize the buffer
10885  *  0b0..Zeroize the buffer
10886  */
10887 #define ASRC_ASRMCRC_ZEROBUFC(x)                 (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCRC_ZEROBUFC_SHIFT)) & ASRC_ASRMCRC_ZEROBUFC_MASK)
10888 /*! @} */
10889 
10890 /*! @name ASRFSTC - ASRC FIFO Status Register for Pair C */
10891 /*! @{ */
10892 
10893 #define ASRC_ASRFSTC_INFIFO_FILLC_MASK           (0x7FU)
10894 #define ASRC_ASRFSTC_INFIFO_FILLC_SHIFT          (0U)
10895 /*! INFIFO_FILLC - INFIFO_FILLC
10896  */
10897 #define ASRC_ASRFSTC_INFIFO_FILLC(x)             (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTC_INFIFO_FILLC_SHIFT)) & ASRC_ASRFSTC_INFIFO_FILLC_MASK)
10898 
10899 #define ASRC_ASRFSTC_IAEC_MASK                   (0x800U)
10900 #define ASRC_ASRFSTC_IAEC_SHIFT                  (11U)
10901 /*! IAEC - IAEC
10902  *  0b1..Input FIFO is near empty for Pair C
10903  *  0b0..Input FIFO is not near empty for Pair C
10904  */
10905 #define ASRC_ASRFSTC_IAEC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTC_IAEC_SHIFT)) & ASRC_ASRFSTC_IAEC_MASK)
10906 
10907 #define ASRC_ASRFSTC_OUTFIFO_FILLC_MASK          (0x7F000U)
10908 #define ASRC_ASRFSTC_OUTFIFO_FILLC_SHIFT         (12U)
10909 /*! OUTFIFO_FILLC - OUTFIFO_FILLC
10910  */
10911 #define ASRC_ASRFSTC_OUTFIFO_FILLC(x)            (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTC_OUTFIFO_FILLC_SHIFT)) & ASRC_ASRFSTC_OUTFIFO_FILLC_MASK)
10912 
10913 #define ASRC_ASRFSTC_OAFC_MASK                   (0x800000U)
10914 #define ASRC_ASRFSTC_OAFC_SHIFT                  (23U)
10915 /*! OAFC - OAFC
10916  *  0b1..Output FIFO is near full for Pair C
10917  *  0b0..Output FIFO is not near full for Pair C
10918  */
10919 #define ASRC_ASRFSTC_OAFC(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRFSTC_OAFC_SHIFT)) & ASRC_ASRFSTC_OAFC_MASK)
10920 /*! @} */
10921 
10922 /*! @name ASRMCR1 - ASRC Misc Control Register 1 for Pair X */
10923 /*! @{ */
10924 
10925 #define ASRC_ASRMCR1_OW16_MASK                   (0x1U)
10926 #define ASRC_ASRMCR1_OW16_SHIFT                  (0U)
10927 /*! OW16 - OW16
10928  *  0b1..16-bit output data
10929  *  0b0..24-bit output data.
10930  */
10931 #define ASRC_ASRMCR1_OW16(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCR1_OW16_SHIFT)) & ASRC_ASRMCR1_OW16_MASK)
10932 
10933 #define ASRC_ASRMCR1_OSGN_MASK                   (0x2U)
10934 #define ASRC_ASRMCR1_OSGN_SHIFT                  (1U)
10935 /*! OSGN - OSGN
10936  *  0b1..Sign extension.
10937  *  0b0..No sign extension.
10938  */
10939 #define ASRC_ASRMCR1_OSGN(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCR1_OSGN_SHIFT)) & ASRC_ASRMCR1_OSGN_MASK)
10940 
10941 #define ASRC_ASRMCR1_OMSB_MASK                   (0x4U)
10942 #define ASRC_ASRMCR1_OMSB_SHIFT                  (2U)
10943 /*! OMSB - OMSB
10944  *  0b1..MSB aligned.
10945  *  0b0..LSB aligned.
10946  */
10947 #define ASRC_ASRMCR1_OMSB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCR1_OMSB_SHIFT)) & ASRC_ASRMCR1_OMSB_MASK)
10948 
10949 #define ASRC_ASRMCR1_IMSB_MASK                   (0x100U)
10950 #define ASRC_ASRMCR1_IMSB_SHIFT                  (8U)
10951 /*! IMSB - IMSB
10952  *  0b1..MSB aligned.
10953  *  0b0..LSB aligned.
10954  */
10955 #define ASRC_ASRMCR1_IMSB(x)                     (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCR1_IMSB_SHIFT)) & ASRC_ASRMCR1_IMSB_MASK)
10956 
10957 #define ASRC_ASRMCR1_IWD_MASK                    (0x600U)
10958 #define ASRC_ASRMCR1_IWD_SHIFT                   (9U)
10959 /*! IWD - IWD
10960  *  0b00..24-bit audio data.
10961  *  0b01..16-bit audio data.
10962  *  0b10..8-bit audio data.
10963  *  0b11..Reserved.
10964  */
10965 #define ASRC_ASRMCR1_IWD(x)                      (((uint32_t)(((uint32_t)(x)) << ASRC_ASRMCR1_IWD_SHIFT)) & ASRC_ASRMCR1_IWD_MASK)
10966 /*! @} */
10967 
10968 /* The count of ASRC_ASRMCR1 */
10969 #define ASRC_ASRMCR1_COUNT                       (3U)
10970 
10971 
10972 /*!
10973  * @}
10974  */ /* end of group ASRC_Register_Masks */
10975 
10976 
10977 /* ASRC - Peripheral instance base addresses */
10978 /** Peripheral ASRC base address */
10979 #define ASRC_BASE                                (0x40414000u)
10980 /** Peripheral ASRC base pointer */
10981 #define ASRC                                     ((ASRC_Type *)ASRC_BASE)
10982 /** Array initializer of ASRC peripheral base addresses */
10983 #define ASRC_BASE_ADDRS                          { ASRC_BASE }
10984 /** Array initializer of ASRC peripheral base pointers */
10985 #define ASRC_BASE_PTRS                           { ASRC }
10986 /** Interrupt vectors for the ASRC peripheral type */
10987 #define ASRC_IRQS                                { ASRC_IRQn }
10988 
10989 /*!
10990  * @}
10991  */ /* end of group ASRC_Peripheral_Access_Layer */
10992 
10993 
10994 /* ----------------------------------------------------------------------------
10995    -- AUDIO_PLL Peripheral Access Layer
10996    ---------------------------------------------------------------------------- */
10997 
10998 /*!
10999  * @addtogroup AUDIO_PLL_Peripheral_Access_Layer AUDIO_PLL Peripheral Access Layer
11000  * @{
11001  */
11002 
11003 /** AUDIO_PLL - Register Layout Typedef */
11004 typedef struct {
11005   struct {                                         /* offset: 0x0 */
11006     __IO uint32_t RW;                                /**< Fractional PLL Control Register, offset: 0x0 */
11007     __IO uint32_t SET;                               /**< Fractional PLL Control Register, offset: 0x4 */
11008     __IO uint32_t CLR;                               /**< Fractional PLL Control Register, offset: 0x8 */
11009     __IO uint32_t TOG;                               /**< Fractional PLL Control Register, offset: 0xC */
11010   } CTRL0;
11011   struct {                                         /* offset: 0x10 */
11012     __IO uint32_t RW;                                /**< Fractional PLL Spread Spectrum Control Register, offset: 0x10 */
11013     __IO uint32_t SET;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x14 */
11014     __IO uint32_t CLR;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x18 */
11015     __IO uint32_t TOG;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x1C */
11016   } SPREAD_SPECTRUM;
11017   struct {                                         /* offset: 0x20 */
11018     __IO uint32_t RW;                                /**< Fractional PLL Numerator Control Register, offset: 0x20 */
11019     __IO uint32_t SET;                               /**< Fractional PLL Numerator Control Register, offset: 0x24 */
11020     __IO uint32_t CLR;                               /**< Fractional PLL Numerator Control Register, offset: 0x28 */
11021     __IO uint32_t TOG;                               /**< Fractional PLL Numerator Control Register, offset: 0x2C */
11022   } NUMERATOR;
11023   struct {                                         /* offset: 0x30 */
11024     __IO uint32_t RW;                                /**< Fractional PLL Denominator Control Register, offset: 0x30 */
11025     __IO uint32_t SET;                               /**< Fractional PLL Denominator Control Register, offset: 0x34 */
11026     __IO uint32_t CLR;                               /**< Fractional PLL Denominator Control Register, offset: 0x38 */
11027     __IO uint32_t TOG;                               /**< Fractional PLL Denominator Control Register, offset: 0x3C */
11028   } DENOMINATOR;
11029 } AUDIO_PLL_Type;
11030 
11031 /* ----------------------------------------------------------------------------
11032    -- AUDIO_PLL Register Masks
11033    ---------------------------------------------------------------------------- */
11034 
11035 /*!
11036  * @addtogroup AUDIO_PLL_Register_Masks AUDIO_PLL Register Masks
11037  * @{
11038  */
11039 
11040 /*! @name CTRL0 - Fractional PLL Control Register */
11041 /*! @{ */
11042 
11043 #define AUDIO_PLL_CTRL0_DIV_SELECT_MASK          (0x7FU)
11044 #define AUDIO_PLL_CTRL0_DIV_SELECT_SHIFT         (0U)
11045 /*! DIV_SELECT - DIV_SELECT
11046  */
11047 #define AUDIO_PLL_CTRL0_DIV_SELECT(x)            (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_DIV_SELECT_SHIFT)) & AUDIO_PLL_CTRL0_DIV_SELECT_MASK)
11048 
11049 #define AUDIO_PLL_CTRL0_ENABLE_ALT_MASK          (0x100U)
11050 #define AUDIO_PLL_CTRL0_ENABLE_ALT_SHIFT         (8U)
11051 /*! ENABLE_ALT - ENABLE_ALT
11052  *  0b0..Disable the alternate clock output
11053  *  0b1..Enable the alternate clock output which is the output of the post_divider, and cannot be bypassed
11054  */
11055 #define AUDIO_PLL_CTRL0_ENABLE_ALT(x)            (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_ENABLE_ALT_SHIFT)) & AUDIO_PLL_CTRL0_ENABLE_ALT_MASK)
11056 
11057 #define AUDIO_PLL_CTRL0_HOLD_RING_OFF_MASK       (0x2000U)
11058 #define AUDIO_PLL_CTRL0_HOLD_RING_OFF_SHIFT      (13U)
11059 /*! HOLD_RING_OFF - PLL Start up initialization
11060  *  0b0..Normal operation
11061  *  0b1..Initialize PLL start up
11062  */
11063 #define AUDIO_PLL_CTRL0_HOLD_RING_OFF(x)         (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_HOLD_RING_OFF_SHIFT)) & AUDIO_PLL_CTRL0_HOLD_RING_OFF_MASK)
11064 
11065 #define AUDIO_PLL_CTRL0_POWERUP_MASK             (0x4000U)
11066 #define AUDIO_PLL_CTRL0_POWERUP_SHIFT            (14U)
11067 /*! POWERUP - POWERUP
11068  *  0b1..Power Up the PLL
11069  *  0b0..Power down the PLL
11070  */
11071 #define AUDIO_PLL_CTRL0_POWERUP(x)               (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_POWERUP_SHIFT)) & AUDIO_PLL_CTRL0_POWERUP_MASK)
11072 
11073 #define AUDIO_PLL_CTRL0_ENABLE_MASK              (0x8000U)
11074 #define AUDIO_PLL_CTRL0_ENABLE_SHIFT             (15U)
11075 /*! ENABLE - ENABLE
11076  *  0b1..Enable the clock output
11077  *  0b0..Disable the clock output
11078  */
11079 #define AUDIO_PLL_CTRL0_ENABLE(x)                (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_ENABLE_SHIFT)) & AUDIO_PLL_CTRL0_ENABLE_MASK)
11080 
11081 #define AUDIO_PLL_CTRL0_BYPASS_MASK              (0x10000U)
11082 #define AUDIO_PLL_CTRL0_BYPASS_SHIFT             (16U)
11083 /*! BYPASS - BYPASS
11084  *  0b1..Bypass the PLL
11085  *  0b0..No Bypass
11086  */
11087 #define AUDIO_PLL_CTRL0_BYPASS(x)                (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_BYPASS_SHIFT)) & AUDIO_PLL_CTRL0_BYPASS_MASK)
11088 
11089 #define AUDIO_PLL_CTRL0_DITHER_EN_MASK           (0x20000U)
11090 #define AUDIO_PLL_CTRL0_DITHER_EN_SHIFT          (17U)
11091 /*! DITHER_EN - DITHER_EN
11092  *  0b0..Disable Dither
11093  *  0b1..Enable Dither
11094  */
11095 #define AUDIO_PLL_CTRL0_DITHER_EN(x)             (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_DITHER_EN_SHIFT)) & AUDIO_PLL_CTRL0_DITHER_EN_MASK)
11096 
11097 #define AUDIO_PLL_CTRL0_BIAS_TRIM_MASK           (0x380000U)
11098 #define AUDIO_PLL_CTRL0_BIAS_TRIM_SHIFT          (19U)
11099 /*! BIAS_TRIM - BIAS_TRIM
11100  */
11101 #define AUDIO_PLL_CTRL0_BIAS_TRIM(x)             (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_BIAS_TRIM_SHIFT)) & AUDIO_PLL_CTRL0_BIAS_TRIM_MASK)
11102 
11103 #define AUDIO_PLL_CTRL0_PLL_REG_EN_MASK          (0x400000U)
11104 #define AUDIO_PLL_CTRL0_PLL_REG_EN_SHIFT         (22U)
11105 /*! PLL_REG_EN - PLL_REG_EN
11106  */
11107 #define AUDIO_PLL_CTRL0_PLL_REG_EN(x)            (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_PLL_REG_EN_SHIFT)) & AUDIO_PLL_CTRL0_PLL_REG_EN_MASK)
11108 
11109 #define AUDIO_PLL_CTRL0_POST_DIV_SEL_MASK        (0xE000000U)
11110 #define AUDIO_PLL_CTRL0_POST_DIV_SEL_SHIFT       (25U)
11111 /*! POST_DIV_SEL - Post Divide Select
11112  *  0b000..Divide by 1
11113  *  0b001..Divide by 2
11114  *  0b010..Divide by 4
11115  *  0b011..Divide by 8
11116  *  0b100..Divide by 16
11117  *  0b101..Divide by 32
11118  */
11119 #define AUDIO_PLL_CTRL0_POST_DIV_SEL(x)          (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_POST_DIV_SEL_SHIFT)) & AUDIO_PLL_CTRL0_POST_DIV_SEL_MASK)
11120 
11121 #define AUDIO_PLL_CTRL0_BIAS_SELECT_MASK         (0x20000000U)
11122 #define AUDIO_PLL_CTRL0_BIAS_SELECT_SHIFT        (29U)
11123 /*! BIAS_SELECT - BIAS_SELECT
11124  *  0b0..Used in SoCs with a bias current of 10uA
11125  *  0b1..Used in SoCs with a bias current of 2uA
11126  */
11127 #define AUDIO_PLL_CTRL0_BIAS_SELECT(x)           (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_CTRL0_BIAS_SELECT_SHIFT)) & AUDIO_PLL_CTRL0_BIAS_SELECT_MASK)
11128 /*! @} */
11129 
11130 /*! @name SPREAD_SPECTRUM - Fractional PLL Spread Spectrum Control Register */
11131 /*! @{ */
11132 
11133 #define AUDIO_PLL_SPREAD_SPECTRUM_STEP_MASK      (0x7FFFU)
11134 #define AUDIO_PLL_SPREAD_SPECTRUM_STEP_SHIFT     (0U)
11135 /*! STEP - Step
11136  */
11137 #define AUDIO_PLL_SPREAD_SPECTRUM_STEP(x)        (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_SPREAD_SPECTRUM_STEP_SHIFT)) & AUDIO_PLL_SPREAD_SPECTRUM_STEP_MASK)
11138 
11139 #define AUDIO_PLL_SPREAD_SPECTRUM_ENABLE_MASK    (0x8000U)
11140 #define AUDIO_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT   (15U)
11141 /*! ENABLE - Enable
11142  */
11143 #define AUDIO_PLL_SPREAD_SPECTRUM_ENABLE(x)      (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT)) & AUDIO_PLL_SPREAD_SPECTRUM_ENABLE_MASK)
11144 
11145 #define AUDIO_PLL_SPREAD_SPECTRUM_STOP_MASK      (0xFFFF0000U)
11146 #define AUDIO_PLL_SPREAD_SPECTRUM_STOP_SHIFT     (16U)
11147 /*! STOP - Stop
11148  */
11149 #define AUDIO_PLL_SPREAD_SPECTRUM_STOP(x)        (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_SPREAD_SPECTRUM_STOP_SHIFT)) & AUDIO_PLL_SPREAD_SPECTRUM_STOP_MASK)
11150 /*! @} */
11151 
11152 /*! @name NUMERATOR - Fractional PLL Numerator Control Register */
11153 /*! @{ */
11154 
11155 #define AUDIO_PLL_NUMERATOR_NUM_MASK             (0x3FFFFFFFU)
11156 #define AUDIO_PLL_NUMERATOR_NUM_SHIFT            (0U)
11157 /*! NUM - Numerator
11158  */
11159 #define AUDIO_PLL_NUMERATOR_NUM(x)               (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_NUMERATOR_NUM_SHIFT)) & AUDIO_PLL_NUMERATOR_NUM_MASK)
11160 /*! @} */
11161 
11162 /*! @name DENOMINATOR - Fractional PLL Denominator Control Register */
11163 /*! @{ */
11164 
11165 #define AUDIO_PLL_DENOMINATOR_DENOM_MASK         (0x3FFFFFFFU)
11166 #define AUDIO_PLL_DENOMINATOR_DENOM_SHIFT        (0U)
11167 /*! DENOM - Denominator
11168  */
11169 #define AUDIO_PLL_DENOMINATOR_DENOM(x)           (((uint32_t)(((uint32_t)(x)) << AUDIO_PLL_DENOMINATOR_DENOM_SHIFT)) & AUDIO_PLL_DENOMINATOR_DENOM_MASK)
11170 /*! @} */
11171 
11172 
11173 /*!
11174  * @}
11175  */ /* end of group AUDIO_PLL_Register_Masks */
11176 
11177 
11178 /* AUDIO_PLL - Peripheral instance base addresses */
11179 /** Peripheral AUDIO_PLL base address */
11180 #define AUDIO_PLL_BASE                           (0u)
11181 /** Peripheral AUDIO_PLL base pointer */
11182 #define AUDIO_PLL                                ((AUDIO_PLL_Type *)AUDIO_PLL_BASE)
11183 /** Array initializer of AUDIO_PLL peripheral base addresses */
11184 #define AUDIO_PLL_BASE_ADDRS                     { AUDIO_PLL_BASE }
11185 /** Array initializer of AUDIO_PLL peripheral base pointers */
11186 #define AUDIO_PLL_BASE_PTRS                      { AUDIO_PLL }
11187 
11188 /*!
11189  * @}
11190  */ /* end of group AUDIO_PLL_Peripheral_Access_Layer */
11191 
11192 
11193 /* ----------------------------------------------------------------------------
11194    -- CAAM Peripheral Access Layer
11195    ---------------------------------------------------------------------------- */
11196 
11197 /*!
11198  * @addtogroup CAAM_Peripheral_Access_Layer CAAM Peripheral Access Layer
11199  * @{
11200  */
11201 
11202 /** CAAM - Register Layout Typedef */
11203 typedef struct {
11204        uint8_t RESERVED_0[4];
11205   __IO uint32_t MCFGR;                             /**< Master Configuration Register, offset: 0x4 */
11206   __IO uint32_t PAGE0_SDID;                        /**< Page 0 SDID Register, offset: 0x8 */
11207   __IO uint32_t SCFGR;                             /**< Security Configuration Register, offset: 0xC */
11208   struct {                                         /* offset: 0x10, array step: 0x8 */
11209     __IO uint32_t JRDID_MS;                          /**< Job Ring 0 DID Register - most significant half..Job Ring 3 DID Register - most significant half, array offset: 0x10, array step: 0x8 */
11210     __IO uint32_t JRDID_LS;                          /**< Job Ring 0 DID Register - least significant half..Job Ring 3 DID Register - least significant half, array offset: 0x14, array step: 0x8 */
11211   } JRADID[4];
11212        uint8_t RESERVED_1[40];
11213   __IO uint32_t DEBUGCTL;                          /**< Debug Control Register, offset: 0x58 */
11214   __IO uint32_t JRSTARTR;                          /**< Job Ring Start Register, offset: 0x5C */
11215   __IO uint32_t RTIC_OWN;                          /**< RTIC OWN Register, offset: 0x60 */
11216   struct {                                         /* offset: 0x64, array step: 0x8 */
11217     __IO uint32_t RTIC_DID;                          /**< RTIC DID Register for Block A..RTIC DID Register for Block D, array offset: 0x64, array step: 0x8 */
11218          uint8_t RESERVED_0[4];
11219   } RTICADID[4];
11220        uint8_t RESERVED_2[16];
11221   __IO uint32_t DECORSR;                           /**< DECO Request Source Register, offset: 0x94 */
11222        uint8_t RESERVED_3[4];
11223   __IO uint32_t DECORR;                            /**< DECO Request Register, offset: 0x9C */
11224   struct {                                         /* offset: 0xA0, array step: 0x8 */
11225     __IO uint32_t DECODID_MS;                        /**< DECO0 DID Register - most significant half, array offset: 0xA0, array step: 0x8 */
11226     __IO uint32_t DECODID_LS;                        /**< DECO0 DID Register - least significant half, array offset: 0xA4, array step: 0x8 */
11227   } DECONDID[1];
11228        uint8_t RESERVED_4[120];
11229   __IO uint32_t DAR;                               /**< DECO Availability Register, offset: 0x120 */
11230   __O  uint32_t DRR;                               /**< DECO Reset Register, offset: 0x124 */
11231        uint8_t RESERVED_5[92];
11232   struct {                                         /* offset: 0x184, array step: 0x8 */
11233     __IO uint32_t JRSMVBAR;                          /**< Job Ring 0 Secure Memory Virtual Base Address Register..Job Ring 3 Secure Memory Virtual Base Address Register, array offset: 0x184, array step: 0x8 */
11234          uint8_t RESERVED_0[4];
11235   } JRNSMVBAR[4];
11236        uint8_t RESERVED_6[124];
11237   __IO uint32_t PBSL;                              /**< Peak Bandwidth Smoothing Limit Register, offset: 0x220 */
11238        uint8_t RESERVED_7[28];
11239   struct {                                         /* offset: 0x240, array step: 0x10 */
11240     __I  uint32_t DMA_AIDL_MAP_MS;                   /**< DMA0_AIDL_MAP_MS, array offset: 0x240, array step: 0x10 */
11241     __I  uint32_t DMA_AIDL_MAP_LS;                   /**< DMA0_AIDL_MAP_LS, array offset: 0x244, array step: 0x10 */
11242     __I  uint32_t DMA_AIDM_MAP_MS;                   /**< DMA0_AIDM_MAP_MS, array offset: 0x248, array step: 0x10 */
11243     __I  uint32_t DMA_AIDM_MAP_LS;                   /**< DMA0_AIDM_MAP_LS, array offset: 0x24C, array step: 0x10 */
11244   } AID_CNTS[1];
11245   __I  uint32_t DMA0_AID_ENB;                      /**< DMA0 AXI ID Enable Register, offset: 0x250 */
11246        uint8_t RESERVED_8[12];
11247   __IO uint64_t DMA0_ARD_TC;                       /**< DMA0 AXI Read Timing Check Register, offset: 0x260 */
11248        uint8_t RESERVED_9[4];
11249   __IO uint32_t DMA0_ARD_LAT;                      /**< DMA0 Read Timing Check Latency Register, offset: 0x26C */
11250   __IO uint64_t DMA0_AWR_TC;                       /**< DMA0 AXI Write Timing Check Register, offset: 0x270 */
11251        uint8_t RESERVED_10[4];
11252   __IO uint32_t DMA0_AWR_LAT;                      /**< DMA0 Write Timing Check Latency Register, offset: 0x27C */
11253        uint8_t RESERVED_11[128];
11254   __IO uint8_t MPPKR[64];                          /**< Manufacturing Protection Private Key Register, array offset: 0x300, array step: 0x1 */
11255        uint8_t RESERVED_12[64];
11256   __IO uint8_t MPMR[32];                           /**< Manufacturing Protection Message Register, array offset: 0x380, array step: 0x1 */
11257        uint8_t RESERVED_13[32];
11258   __I  uint8_t MPTESTR[32];                        /**< Manufacturing Protection Test Register, array offset: 0x3C0, array step: 0x1 */
11259        uint8_t RESERVED_14[24];
11260   __I  uint32_t MPECC;                             /**< Manufacturing Protection ECC Register, offset: 0x3F8 */
11261        uint8_t RESERVED_15[4];
11262   __IO uint32_t JDKEKR[8];                         /**< Job Descriptor Key Encryption Key Register, array offset: 0x400, array step: 0x4 */
11263   __IO uint32_t TDKEKR[8];                         /**< Trusted Descriptor Key Encryption Key Register, array offset: 0x420, array step: 0x4 */
11264   __IO uint32_t TDSKR[8];                          /**< Trusted Descriptor Signing Key Register, array offset: 0x440, array step: 0x4 */
11265        uint8_t RESERVED_16[128];
11266   __IO uint64_t SKNR;                              /**< Secure Key Nonce Register, offset: 0x4E0 */
11267        uint8_t RESERVED_17[36];
11268   __I  uint32_t DMA_STA;                           /**< DMA Status Register, offset: 0x50C */
11269   __I  uint32_t DMA_X_AID_7_4_MAP;                 /**< DMA_X_AID_7_4_MAP, offset: 0x510 */
11270   __I  uint32_t DMA_X_AID_3_0_MAP;                 /**< DMA_X_AID_3_0_MAP, offset: 0x514 */
11271   __I  uint32_t DMA_X_AID_15_12_MAP;               /**< DMA_X_AID_15_12_MAP, offset: 0x518 */
11272   __I  uint32_t DMA_X_AID_11_8_MAP;                /**< DMA_X_AID_11_8_MAP, offset: 0x51C */
11273        uint8_t RESERVED_18[4];
11274   __I  uint32_t DMA_X_AID_15_0_EN;                 /**< DMA_X AXI ID Map Enable Register, offset: 0x524 */
11275        uint8_t RESERVED_19[8];
11276   __IO uint32_t DMA_X_ARTC_CTL;                    /**< DMA_X AXI Read Timing Check Control Register, offset: 0x530 */
11277   __IO uint32_t DMA_X_ARTC_LC;                     /**< DMA_X AXI Read Timing Check Late Count Register, offset: 0x534 */
11278   __IO uint32_t DMA_X_ARTC_SC;                     /**< DMA_X AXI Read Timing Check Sample Count Register, offset: 0x538 */
11279   __IO uint32_t DMA_X_ARTC_LAT;                    /**< DMA_X Read Timing Check Latency Register, offset: 0x53C */
11280   __IO uint32_t DMA_X_AWTC_CTL;                    /**< DMA_X AXI Write Timing Check Control Register, offset: 0x540 */
11281   __IO uint32_t DMA_X_AWTC_LC;                     /**< DMA_X AXI Write Timing Check Late Count Register, offset: 0x544 */
11282   __IO uint32_t DMA_X_AWTC_SC;                     /**< DMA_X AXI Write Timing Check Sample Count Register, offset: 0x548 */
11283   __IO uint32_t DMA_X_AWTC_LAT;                    /**< DMA_X Write Timing Check Latency Register, offset: 0x54C */
11284        uint8_t RESERVED_20[176];
11285   __IO uint32_t RTMCTL;                            /**< RNG TRNG Miscellaneous Control Register, offset: 0x600 */
11286   __IO uint32_t RTSCMISC;                          /**< RNG TRNG Statistical Check Miscellaneous Register, offset: 0x604 */
11287   __IO uint32_t RTPKRRNG;                          /**< RNG TRNG Poker Range Register, offset: 0x608 */
11288   union {                                          /* offset: 0x60C */
11289     __IO uint32_t RTPKRMAX;                          /**< RNG TRNG Poker Maximum Limit Register, offset: 0x60C */
11290     __I  uint32_t RTPKRSQ;                           /**< RNG TRNG Poker Square Calculation Result Register, offset: 0x60C */
11291   };
11292   __IO uint32_t RTSDCTL;                           /**< RNG TRNG Seed Control Register, offset: 0x610 */
11293   union {                                          /* offset: 0x614 */
11294     __IO uint32_t RTSBLIM;                           /**< RNG TRNG Sparse Bit Limit Register, offset: 0x614 */
11295     __I  uint32_t RTTOTSAM;                          /**< RNG TRNG Total Samples Register, offset: 0x614 */
11296   };
11297   __IO uint32_t RTFRQMIN;                          /**< RNG TRNG Frequency Count Minimum Limit Register, offset: 0x618 */
11298   union {                                          /* offset: 0x61C */
11299     struct {                                         /* offset: 0x61C */
11300       __I  uint32_t RTFRQCNT;                          /**< RNG TRNG Frequency Count Register, offset: 0x61C */
11301       __I  uint32_t RTSCMC;                            /**< RNG TRNG Statistical Check Monobit Count Register, offset: 0x620 */
11302       __I  uint32_t RTSCR1C;                           /**< RNG TRNG Statistical Check Run Length 1 Count Register, offset: 0x624 */
11303       __I  uint32_t RTSCR2C;                           /**< RNG TRNG Statistical Check Run Length 2 Count Register, offset: 0x628 */
11304       __I  uint32_t RTSCR3C;                           /**< RNG TRNG Statistical Check Run Length 3 Count Register, offset: 0x62C */
11305       __I  uint32_t RTSCR4C;                           /**< RNG TRNG Statistical Check Run Length 4 Count Register, offset: 0x630 */
11306       __I  uint32_t RTSCR5C;                           /**< RNG TRNG Statistical Check Run Length 5 Count Register, offset: 0x634 */
11307       __I  uint32_t RTSCR6PC;                          /**< RNG TRNG Statistical Check Run Length 6+ Count Register, offset: 0x638 */
11308     } COUNT;
11309     struct {                                         /* offset: 0x61C */
11310       __IO uint32_t RTFRQMAX;                          /**< RNG TRNG Frequency Count Maximum Limit Register, offset: 0x61C */
11311       __IO uint32_t RTSCML;                            /**< RNG TRNG Statistical Check Monobit Limit Register, offset: 0x620 */
11312       __IO uint32_t RTSCR1L;                           /**< RNG TRNG Statistical Check Run Length 1 Limit Register, offset: 0x624 */
11313       __IO uint32_t RTSCR2L;                           /**< RNG TRNG Statistical Check Run Length 2 Limit Register, offset: 0x628 */
11314       __IO uint32_t RTSCR3L;                           /**< RNG TRNG Statistical Check Run Length 3 Limit Register, offset: 0x62C */
11315       __IO uint32_t RTSCR4L;                           /**< RNG TRNG Statistical Check Run Length 4 Limit Register, offset: 0x630 */
11316       __IO uint32_t RTSCR5L;                           /**< RNG TRNG Statistical Check Run Length 5 Limit Register, offset: 0x634 */
11317       __IO uint32_t RTSCR6PL;                          /**< RNG TRNG Statistical Check Run Length 6+ Limit Register, offset: 0x638 */
11318     } LIMIT;
11319   };
11320   __I  uint32_t RTSTATUS;                          /**< RNG TRNG Status Register, offset: 0x63C */
11321   __I  uint32_t RTENT[16];                         /**< RNG TRNG Entropy Read Register, array offset: 0x640, array step: 0x4 */
11322   __I  uint32_t RTPKRCNT10;                        /**< RNG TRNG Statistical Check Poker Count 1 and 0 Register, offset: 0x680 */
11323   __I  uint32_t RTPKRCNT32;                        /**< RNG TRNG Statistical Check Poker Count 3 and 2 Register, offset: 0x684 */
11324   __I  uint32_t RTPKRCNT54;                        /**< RNG TRNG Statistical Check Poker Count 5 and 4 Register, offset: 0x688 */
11325   __I  uint32_t RTPKRCNT76;                        /**< RNG TRNG Statistical Check Poker Count 7 and 6 Register, offset: 0x68C */
11326   __I  uint32_t RTPKRCNT98;                        /**< RNG TRNG Statistical Check Poker Count 9 and 8 Register, offset: 0x690 */
11327   __I  uint32_t RTPKRCNTBA;                        /**< RNG TRNG Statistical Check Poker Count B and A Register, offset: 0x694 */
11328   __I  uint32_t RTPKRCNTDC;                        /**< RNG TRNG Statistical Check Poker Count D and C Register, offset: 0x698 */
11329   __I  uint32_t RTPKRCNTFE;                        /**< RNG TRNG Statistical Check Poker Count F and E Register, offset: 0x69C */
11330        uint8_t RESERVED_21[32];
11331   __I  uint32_t RDSTA;                             /**< RNG DRNG Status Register, offset: 0x6C0 */
11332        uint8_t RESERVED_22[12];
11333   __I  uint32_t RDINT0;                            /**< RNG DRNG State Handle 0 Reseed Interval Register, offset: 0x6D0 */
11334   __I  uint32_t RDINT1;                            /**< RNG DRNG State Handle 1 Reseed Interval Register, offset: 0x6D4 */
11335        uint8_t RESERVED_23[8];
11336   __IO uint32_t RDHCNTL;                           /**< RNG DRNG Hash Control Register, offset: 0x6E0 */
11337   __I  uint32_t RDHDIG;                            /**< RNG DRNG Hash Digest Register, offset: 0x6E4 */
11338   __O  uint32_t RDHBUF;                            /**< RNG DRNG Hash Buffer Register, offset: 0x6E8 */
11339        uint8_t RESERVED_24[788];
11340   struct {                                         /* offset: 0xA00, array step: 0x10 */
11341     __I  uint32_t PX_SDID_PG0;                       /**< Partition 0 SDID register..Partition 15 SDID register, array offset: 0xA00, array step: 0x10 */
11342     __IO uint32_t PX_SMAPR_PG0;                      /**< Secure Memory Access Permissions register, array offset: 0xA04, array step: 0x10 */
11343     __IO uint32_t PX_SMAG2_PG0;                      /**< Secure Memory Access Group Registers, array offset: 0xA08, array step: 0x10 */
11344     __IO uint32_t PX_SMAG1_PG0;                      /**< Secure Memory Access Group Registers, array offset: 0xA0C, array step: 0x10 */
11345   } PX_PG0[16];
11346   __IO uint32_t REIS;                              /**< Recoverable Error Interrupt Status, offset: 0xB00 */
11347   __IO uint32_t REIE;                              /**< Recoverable Error Interrupt Enable, offset: 0xB04 */
11348   __I  uint32_t REIF;                              /**< Recoverable Error Interrupt Force, offset: 0xB08 */
11349   __IO uint32_t REIH;                              /**< Recoverable Error Interrupt Halt, offset: 0xB0C */
11350        uint8_t RESERVED_25[192];
11351   __IO uint32_t SMWPJRR[4];                        /**< Secure Memory Write Protect Job Ring Register, array offset: 0xBD0, array step: 0x4 */
11352        uint8_t RESERVED_26[4];
11353   __O  uint32_t SMCR_PG0;                          /**< Secure Memory Command Register, offset: 0xBE4 */
11354        uint8_t RESERVED_27[4];
11355   __I  uint32_t SMCSR_PG0;                         /**< Secure Memory Command Status Register, offset: 0xBEC */
11356        uint8_t RESERVED_28[8];
11357   __I  uint32_t CAAMVID_MS_TRAD;                   /**< CAAM Version ID Register, most-significant half, offset: 0xBF8 */
11358   __I  uint32_t CAAMVID_LS_TRAD;                   /**< CAAM Version ID Register, least-significant half, offset: 0xBFC */
11359   struct {                                         /* offset: 0xC00, array step: 0x20 */
11360     __I  uint64_t HT_JD_ADDR;                        /**< Holding Tank 0 Job Descriptor Address, array offset: 0xC00, array step: 0x20 */
11361     __I  uint64_t HT_SD_ADDR;                        /**< Holding Tank 0 Shared Descriptor Address, array offset: 0xC08, array step: 0x20 */
11362     __I  uint32_t HT_JQ_CTRL_MS;                     /**< Holding Tank 0 Job Queue Control, most-significant half, array offset: 0xC10, array step: 0x20 */
11363     __I  uint32_t HT_JQ_CTRL_LS;                     /**< Holding Tank 0 Job Queue Control, least-significant half, array offset: 0xC14, array step: 0x20 */
11364          uint8_t RESERVED_0[4];
11365     __I  uint32_t HT_STATUS;                         /**< Holding Tank Status, array offset: 0xC1C, array step: 0x20 */
11366   } HTA[1];
11367        uint8_t RESERVED_29[4];
11368   __IO uint32_t JQ_DEBUG_SEL;                      /**< Job Queue Debug Select Register, offset: 0xC24 */
11369        uint8_t RESERVED_30[404];
11370   __I  uint32_t JRJIDU_LS;                         /**< Job Ring Job IDs in Use Register, least-significant half, offset: 0xDBC */
11371   __I  uint32_t JRJDJIFBC;                         /**< Job Ring Job-Done Job ID FIFO BC, offset: 0xDC0 */
11372   __I  uint32_t JRJDJIF;                           /**< Job Ring Job-Done Job ID FIFO, offset: 0xDC4 */
11373        uint8_t RESERVED_31[28];
11374   __I  uint32_t JRJDS1;                            /**< Job Ring Job-Done Source 1, offset: 0xDE4 */
11375        uint8_t RESERVED_32[24];
11376   __I  uint64_t JRJDDA[1];                         /**< Job Ring Job-Done Descriptor Address 0 Register, array offset: 0xE00, array step: 0x8 */
11377        uint8_t RESERVED_33[408];
11378   __I  uint32_t CRNR_MS;                           /**< CHA Revision Number Register, most-significant half, offset: 0xFA0 */
11379   __I  uint32_t CRNR_LS;                           /**< CHA Revision Number Register, least-significant half, offset: 0xFA4 */
11380   __I  uint32_t CTPR_MS;                           /**< Compile Time Parameters Register, most-significant half, offset: 0xFA8 */
11381   __I  uint32_t CTPR_LS;                           /**< Compile Time Parameters Register, least-significant half, offset: 0xFAC */
11382        uint8_t RESERVED_34[4];
11383   __I  uint32_t SMSTA;                             /**< Secure Memory Status Register, offset: 0xFB4 */
11384        uint8_t RESERVED_35[4];
11385   __I  uint32_t SMPO;                              /**< Secure Memory Partition Owners Register, offset: 0xFBC */
11386   __I  uint64_t FAR;                               /**< Fault Address Register, offset: 0xFC0 */
11387   __I  uint32_t FADID;                             /**< Fault Address DID Register, offset: 0xFC8 */
11388   __I  uint32_t FADR;                              /**< Fault Address Detail Register, offset: 0xFCC */
11389        uint8_t RESERVED_36[4];
11390   __I  uint32_t CSTA;                              /**< CAAM Status Register, offset: 0xFD4 */
11391   __I  uint32_t SMVID_MS;                          /**< Secure Memory Version ID Register, most-significant half, offset: 0xFD8 */
11392   __I  uint32_t SMVID_LS;                          /**< Secure Memory Version ID Register, least-significant half, offset: 0xFDC */
11393   __I  uint32_t RVID;                              /**< RTIC Version ID Register, offset: 0xFE0 */
11394   __I  uint32_t CCBVID;                            /**< CHA Cluster Block Version ID Register, offset: 0xFE4 */
11395   __I  uint32_t CHAVID_MS;                         /**< CHA Version ID Register, most-significant half, offset: 0xFE8 */
11396   __I  uint32_t CHAVID_LS;                         /**< CHA Version ID Register, least-significant half, offset: 0xFEC */
11397   __I  uint32_t CHANUM_MS;                         /**< CHA Number Register, most-significant half, offset: 0xFF0 */
11398   __I  uint32_t CHANUM_LS;                         /**< CHA Number Register, least-significant half, offset: 0xFF4 */
11399   __I  uint32_t CAAMVID_MS;                        /**< CAAM Version ID Register, most-significant half, offset: 0xFF8 */
11400   __I  uint32_t CAAMVID_LS;                        /**< CAAM Version ID Register, least-significant half, offset: 0xFFC */
11401        uint8_t RESERVED_37[61440];
11402   struct {                                         /* offset: 0x10000, array step: 0x10000 */
11403     __IO uint64_t IRBAR_JR;                          /**< Input Ring Base Address Register for Job Ring 0..Input Ring Base Address Register for Job Ring 3, array offset: 0x10000, array step: 0x10000 */
11404          uint8_t RESERVED_0[4];
11405     __IO uint32_t IRSR_JR;                           /**< Input Ring Size Register for Job Ring 0..Input Ring Size Register for Job Ring 3, array offset: 0x1000C, array step: 0x10000 */
11406          uint8_t RESERVED_1[4];
11407     __IO uint32_t IRSAR_JR;                          /**< Input Ring Slots Available Register for Job Ring 0..Input Ring Slots Available Register for Job Ring 3, array offset: 0x10014, array step: 0x10000 */
11408          uint8_t RESERVED_2[4];
11409     __IO uint32_t IRJAR_JR;                          /**< Input Ring Jobs Added Register for Job Ring0..Input Ring Jobs Added Register for Job Ring3, array offset: 0x1001C, array step: 0x10000 */
11410     __IO uint64_t ORBAR_JR;                          /**< Output Ring Base Address Register for Job Ring 0..Output Ring Base Address Register for Job Ring 3, array offset: 0x10020, array step: 0x10000 */
11411          uint8_t RESERVED_3[4];
11412     __IO uint32_t ORSR_JR;                           /**< Output Ring Size Register for Job Ring 0..Output Ring Size Register for Job Ring 3, array offset: 0x1002C, array step: 0x10000 */
11413          uint8_t RESERVED_4[4];
11414     __IO uint32_t ORJRR_JR;                          /**< Output Ring Jobs Removed Register for Job Ring 0..Output Ring Jobs Removed Register for Job Ring 3, array offset: 0x10034, array step: 0x10000 */
11415          uint8_t RESERVED_5[4];
11416     __IO uint32_t ORSFR_JR;                          /**< Output Ring Slots Full Register for Job Ring 0..Output Ring Slots Full Register for Job Ring 3, array offset: 0x1003C, array step: 0x10000 */
11417          uint8_t RESERVED_6[4];
11418     __I  uint32_t JRSTAR_JR;                         /**< Job Ring Output Status Register for Job Ring 0..Job Ring Output Status Register for Job Ring 3, array offset: 0x10044, array step: 0x10000 */
11419          uint8_t RESERVED_7[4];
11420     __IO uint32_t JRINTR_JR;                         /**< Job Ring Interrupt Status Register for Job Ring 0..Job Ring Interrupt Status Register for Job Ring 3, array offset: 0x1004C, array step: 0x10000 */
11421     __IO uint32_t JRCFGR_JR_MS;                      /**< Job Ring Configuration Register for Job Ring 0, most-significant half..Job Ring Configuration Register for Job Ring 3, most-significant half, array offset: 0x10050, array step: 0x10000 */
11422     __IO uint32_t JRCFGR_JR_LS;                      /**< Job Ring Configuration Register for Job Ring 0, least-significant half..Job Ring Configuration Register for Job Ring 3, least-significant half, array offset: 0x10054, array step: 0x10000 */
11423          uint8_t RESERVED_8[4];
11424     __IO uint32_t IRRIR_JR;                          /**< Input Ring Read Index Register for Job Ring 0..Input Ring Read Index Register for Job Ring 3, array offset: 0x1005C, array step: 0x10000 */
11425          uint8_t RESERVED_9[4];
11426     __IO uint32_t ORWIR_JR;                          /**< Output Ring Write Index Register for Job Ring 0..Output Ring Write Index Register for Job Ring 3, array offset: 0x10064, array step: 0x10000 */
11427          uint8_t RESERVED_10[4];
11428     __O  uint32_t JRCR_JR;                           /**< Job Ring Command Register for Job Ring 0..Job Ring Command Register for Job Ring 3, array offset: 0x1006C, array step: 0x10000 */
11429          uint8_t RESERVED_11[1684];
11430     __I  uint32_t JRAAV;                             /**< Job Ring 0 Address-Array Valid Register..Job Ring 3 Address-Array Valid Register, array offset: 0x10704, array step: 0x10000 */
11431          uint8_t RESERVED_12[248];
11432     __I  uint64_t JRAAA[4];                          /**< Job Ring 0 Address-Array Address 0 Register..Job Ring 3 Address-Array Address 3 Register, array offset: 0x10800, array step: index*0x10000, index2*0x8 */
11433          uint8_t RESERVED_13[480];
11434     struct {                                         /* offset: 0x10A00, array step: index*0x10000, index2*0x10 */
11435       __I  uint32_t PX_SDID_JR;                        /**< Partition 0 SDID register..Partition 15 SDID register, array offset: 0x10A00, array step: index*0x10000, index2*0x10 */
11436       __IO uint32_t PX_SMAPR_JR;                       /**< Secure Memory Access Permissions register, array offset: 0x10A04, array step: index*0x10000, index2*0x10 */
11437       __IO uint32_t PX_SMAG2_JR;                       /**< Secure Memory Access Group Registers, array offset: 0x10A08, array step: index*0x10000, index2*0x10 */
11438       __IO uint32_t PX_SMAG1_JR;                       /**< Secure Memory Access Group Registers, array offset: 0x10A0C, array step: index*0x10000, index2*0x10 */
11439     } PX_JR[16];
11440          uint8_t RESERVED_14[228];
11441     __O  uint32_t SMCR_JR;                           /**< Secure Memory Command Register, array offset: 0x10BE4, array step: 0x10000 */
11442          uint8_t RESERVED_15[4];
11443     __I  uint32_t SMCSR_JR;                          /**< Secure Memory Command Status Register, array offset: 0x10BEC, array step: 0x10000 */
11444          uint8_t RESERVED_16[528];
11445     __I  uint32_t REIR0JR;                           /**< Recoverable Error Interrupt Record 0 for Job Ring 0..Recoverable Error Interrupt Record 0 for Job Ring 3, array offset: 0x10E00, array step: 0x10000 */
11446          uint8_t RESERVED_17[4];
11447     __I  uint64_t REIR2JR;                           /**< Recoverable Error Interrupt Record 2 for Job Ring 0..Recoverable Error Interrupt Record 2 for Job Ring 3, array offset: 0x10E08, array step: 0x10000 */
11448     __I  uint32_t REIR4JR;                           /**< Recoverable Error Interrupt Record 4 for Job Ring 0..Recoverable Error Interrupt Record 4 for Job Ring 3, array offset: 0x10E10, array step: 0x10000 */
11449     __I  uint32_t REIR5JR;                           /**< Recoverable Error Interrupt Record 5 for Job Ring 0..Recoverable Error Interrupt Record 5 for Job Ring 3, array offset: 0x10E14, array step: 0x10000 */
11450          uint8_t RESERVED_18[392];
11451     __I  uint32_t CRNR_MS_JR;                        /**< CHA Revision Number Register, most-significant half, array offset: 0x10FA0, array step: 0x10000 */
11452     __I  uint32_t CRNR_LS_JR;                        /**< CHA Revision Number Register, least-significant half, array offset: 0x10FA4, array step: 0x10000 */
11453     __I  uint32_t CTPR_MS_JR;                        /**< Compile Time Parameters Register, most-significant half, array offset: 0x10FA8, array step: 0x10000 */
11454     __I  uint32_t CTPR_LS_JR;                        /**< Compile Time Parameters Register, least-significant half, array offset: 0x10FAC, array step: 0x10000 */
11455          uint8_t RESERVED_19[4];
11456     __I  uint32_t SMSTA_JR;                          /**< Secure Memory Status Register, array offset: 0x10FB4, array step: 0x10000 */
11457          uint8_t RESERVED_20[4];
11458     __I  uint32_t SMPO_JR;                           /**< Secure Memory Partition Owners Register, array offset: 0x10FBC, array step: 0x10000 */
11459     __I  uint64_t FAR_JR;                            /**< Fault Address Register, array offset: 0x10FC0, array step: 0x10000 */
11460     __I  uint32_t FADID_JR;                          /**< Fault Address DID Register, array offset: 0x10FC8, array step: 0x10000 */
11461     __I  uint32_t FADR_JR;                           /**< Fault Address Detail Register, array offset: 0x10FCC, array step: 0x10000 */
11462          uint8_t RESERVED_21[4];
11463     __I  uint32_t CSTA_JR;                           /**< CAAM Status Register, array offset: 0x10FD4, array step: 0x10000 */
11464     __I  uint32_t SMVID_MS_JR;                       /**< Secure Memory Version ID Register, most-significant half, array offset: 0x10FD8, array step: 0x10000 */
11465     __I  uint32_t SMVID_LS_JR;                       /**< Secure Memory Version ID Register, least-significant half, array offset: 0x10FDC, array step: 0x10000 */
11466     __I  uint32_t RVID_JR;                           /**< RTIC Version ID Register, array offset: 0x10FE0, array step: 0x10000 */
11467     __I  uint32_t CCBVID_JR;                         /**< CHA Cluster Block Version ID Register, array offset: 0x10FE4, array step: 0x10000 */
11468     __I  uint32_t CHAVID_MS_JR;                      /**< CHA Version ID Register, most-significant half, array offset: 0x10FE8, array step: 0x10000 */
11469     __I  uint32_t CHAVID_LS_JR;                      /**< CHA Version ID Register, least-significant half, array offset: 0x10FEC, array step: 0x10000 */
11470     __I  uint32_t CHANUM_MS_JR;                      /**< CHA Number Register, most-significant half, array offset: 0x10FF0, array step: 0x10000 */
11471     __I  uint32_t CHANUM_LS_JR;                      /**< CHA Number Register, least-significant half, array offset: 0x10FF4, array step: 0x10000 */
11472     __I  uint32_t CAAMVID_MS_JR;                     /**< CAAM Version ID Register, most-significant half, array offset: 0x10FF8, array step: 0x10000 */
11473     __I  uint32_t CAAMVID_LS_JR;                     /**< CAAM Version ID Register, least-significant half, array offset: 0x10FFC, array step: 0x10000 */
11474          uint8_t RESERVED_22[61440];
11475   } JOBRING[4];
11476        uint8_t RESERVED_38[65540];
11477   __I  uint32_t RSTA;                              /**< RTIC Status Register, offset: 0x60004 */
11478        uint8_t RESERVED_39[4];
11479   __IO uint32_t RCMD;                              /**< RTIC Command Register, offset: 0x6000C */
11480        uint8_t RESERVED_40[4];
11481   __IO uint32_t RCTL;                              /**< RTIC Control Register, offset: 0x60014 */
11482        uint8_t RESERVED_41[4];
11483   __IO uint32_t RTHR;                              /**< RTIC Throttle Register, offset: 0x6001C */
11484        uint8_t RESERVED_42[8];
11485   __IO uint64_t RWDOG;                             /**< RTIC Watchdog Timer, offset: 0x60028 */
11486        uint8_t RESERVED_43[4];
11487   __IO uint32_t REND;                              /**< RTIC Endian Register, offset: 0x60034 */
11488        uint8_t RESERVED_44[200];
11489   struct {                                         /* offset: 0x60100, array step: index*0x20, index2*0x10 */
11490     __IO uint64_t RMA;                               /**< RTIC Memory Block A Address 0 Register..RTIC Memory Block D Address 1 Register, array offset: 0x60100, array step: index*0x20, index2*0x10 */
11491          uint8_t RESERVED_0[4];
11492     __IO uint32_t RML;                               /**< RTIC Memory Block A Length 0 Register..RTIC Memory Block D Length 1 Register, array offset: 0x6010C, array step: index*0x20, index2*0x10 */
11493   } RM[4][2];
11494        uint8_t RESERVED_45[128];
11495   __IO uint32_t RMD[4][2][32];                     /**< RTIC Memory Block A Big Endian Hash Result Word 0..RTIC Memory Block D Little Endian Hash Result Word 31, array offset: 0x60200, array step: index*0x100, index2*0x80, index3*0x4 */
11496        uint8_t RESERVED_46[2048];
11497   __I  uint32_t REIR0RTIC;                         /**< Recoverable Error Interrupt Record 0 for RTIC, offset: 0x60E00 */
11498        uint8_t RESERVED_47[4];
11499   __I  uint64_t REIR2RTIC;                         /**< Recoverable Error Interrupt Record 2 for RTIC, offset: 0x60E08 */
11500   __I  uint32_t REIR4RTIC;                         /**< Recoverable Error Interrupt Record 4 for RTIC, offset: 0x60E10 */
11501   __I  uint32_t REIR5RTIC;                         /**< Recoverable Error Interrupt Record 5 for RTIC, offset: 0x60E14 */
11502        uint8_t RESERVED_48[392];
11503   __I  uint32_t CRNR_MS_RTIC;                      /**< CHA Revision Number Register, most-significant half, offset: 0x60FA0 */
11504   __I  uint32_t CRNR_LS_RTIC;                      /**< CHA Revision Number Register, least-significant half, offset: 0x60FA4 */
11505   __I  uint32_t CTPR_MS_RTIC;                      /**< Compile Time Parameters Register, most-significant half, offset: 0x60FA8 */
11506   __I  uint32_t CTPR_LS_RTIC;                      /**< Compile Time Parameters Register, least-significant half, offset: 0x60FAC */
11507        uint8_t RESERVED_49[4];
11508   __I  uint32_t SMSTA_RTIC;                        /**< Secure Memory Status Register, offset: 0x60FB4 */
11509        uint8_t RESERVED_50[8];
11510   __I  uint64_t FAR_RTIC;                          /**< Fault Address Register, offset: 0x60FC0 */
11511   __I  uint32_t FADID_RTIC;                        /**< Fault Address DID Register, offset: 0x60FC8 */
11512   __I  uint32_t FADR_RTIC;                         /**< Fault Address Detail Register, offset: 0x60FCC */
11513        uint8_t RESERVED_51[4];
11514   __I  uint32_t CSTA_RTIC;                         /**< CAAM Status Register, offset: 0x60FD4 */
11515   __I  uint32_t SMVID_MS_RTIC;                     /**< Secure Memory Version ID Register, most-significant half, offset: 0x60FD8 */
11516   __I  uint32_t SMVID_LS_RTIC;                     /**< Secure Memory Version ID Register, least-significant half, offset: 0x60FDC */
11517   __I  uint32_t RVID_RTIC;                         /**< RTIC Version ID Register, offset: 0x60FE0 */
11518   __I  uint32_t CCBVID_RTIC;                       /**< CHA Cluster Block Version ID Register, offset: 0x60FE4 */
11519   __I  uint32_t CHAVID_MS_RTIC;                    /**< CHA Version ID Register, most-significant half, offset: 0x60FE8 */
11520   __I  uint32_t CHAVID_LS_RTIC;                    /**< CHA Version ID Register, least-significant half, offset: 0x60FEC */
11521   __I  uint32_t CHANUM_MS_RTIC;                    /**< CHA Number Register, most-significant half, offset: 0x60FF0 */
11522   __I  uint32_t CHANUM_LS_RTIC;                    /**< CHA Number Register, least-significant half, offset: 0x60FF4 */
11523   __I  uint32_t CAAMVID_MS_RTIC;                   /**< CAAM Version ID Register, most-significant half, offset: 0x60FF8 */
11524   __I  uint32_t CAAMVID_LS_RTIC;                   /**< CAAM Version ID Register, least-significant half, offset: 0x60FFC */
11525        uint8_t RESERVED_52[126976];
11526   struct {                                         /* offset: 0x80000, array step: 0xE3C */
11527          uint8_t RESERVED_0[4];
11528     union {                                          /* offset: 0x80004, array step: 0xE3C */
11529       __IO uint32_t CC1MR;                             /**< CCB 0 Class 1 Mode Register Format for Non-Public Key Algorithms, array offset: 0x80004, array step: 0xE3C */
11530       __IO uint32_t CC1MR_PK;                          /**< CCB 0 Class 1 Mode Register Format for Public Key Algorithms, array offset: 0x80004, array step: 0xE3C */
11531       __IO uint32_t CC1MR_RNG;                         /**< CCB 0 Class 1 Mode Register Format for RNG4, array offset: 0x80004, array step: 0xE3C */
11532     };
11533          uint8_t RESERVED_1[4];
11534     __IO uint32_t CC1KSR;                            /**< CCB 0 Class 1 Key Size Register, array offset: 0x8000C, array step: 0xE3C */
11535     __IO uint64_t CC1DSR;                            /**< CCB 0 Class 1 Data Size Register, array offset: 0x80010, array step: 0xE3C */
11536          uint8_t RESERVED_2[4];
11537     __IO uint32_t CC1ICVSR;                          /**< CCB 0 Class 1 ICV Size Register, array offset: 0x8001C, array step: 0xE3C */
11538          uint8_t RESERVED_3[20];
11539     __O  uint32_t CCCTRL;                            /**< CCB 0 CHA Control Register, array offset: 0x80034, array step: 0xE3C */
11540          uint8_t RESERVED_4[4];
11541     __IO uint32_t CICTL;                             /**< CCB 0 Interrupt Control Register, array offset: 0x8003C, array step: 0xE3C */
11542          uint8_t RESERVED_5[4];
11543     __O  uint32_t CCWR;                              /**< CCB 0 Clear Written Register, array offset: 0x80044, array step: 0xE3C */
11544     __I  uint32_t CCSTA_MS;                          /**< CCB 0 Status and Error Register, most-significant half, array offset: 0x80048, array step: 0xE3C */
11545     __I  uint32_t CCSTA_LS;                          /**< CCB 0 Status and Error Register, least-significant half, array offset: 0x8004C, array step: 0xE3C */
11546          uint8_t RESERVED_6[12];
11547     __IO uint32_t CC1AADSZR;                         /**< CCB 0 Class 1 AAD Size Register, array offset: 0x8005C, array step: 0xE3C */
11548          uint8_t RESERVED_7[4];
11549     __IO uint32_t CC1IVSZR;                          /**< CCB 0 Class 1 IV Size Register, array offset: 0x80064, array step: 0xE3C */
11550          uint8_t RESERVED_8[28];
11551     __IO uint32_t CPKASZR;                           /**< PKHA A Size Register, array offset: 0x80084, array step: 0xE3C */
11552          uint8_t RESERVED_9[4];
11553     __IO uint32_t CPKBSZR;                           /**< PKHA B Size Register, array offset: 0x8008C, array step: 0xE3C */
11554          uint8_t RESERVED_10[4];
11555     __IO uint32_t CPKNSZR;                           /**< PKHA N Size Register, array offset: 0x80094, array step: 0xE3C */
11556          uint8_t RESERVED_11[4];
11557     __IO uint32_t CPKESZR;                           /**< PKHA E Size Register, array offset: 0x8009C, array step: 0xE3C */
11558          uint8_t RESERVED_12[96];
11559     __IO uint32_t CC1CTXR[16];                       /**< CCB 0 Class 1 Context Register Word 0..CCB 0 Class 1 Context Register Word 15, array offset: 0x80100, array step: index*0xE3C, index2*0x4 */
11560          uint8_t RESERVED_13[192];
11561     __IO uint32_t CC1KR[8];                          /**< CCB 0 Class 1 Key Registers Word 0..CCB 0 Class 1 Key Registers Word 7, array offset: 0x80200, array step: index*0xE3C, index2*0x4 */
11562          uint8_t RESERVED_14[484];
11563     __IO uint32_t CC2MR;                             /**< CCB 0 Class 2 Mode Register, array offset: 0x80404, array step: 0xE3C */
11564          uint8_t RESERVED_15[4];
11565     __IO uint32_t CC2KSR;                            /**< CCB 0 Class 2 Key Size Register, array offset: 0x8040C, array step: 0xE3C */
11566     __IO uint64_t CC2DSR;                            /**< CCB 0 Class 2 Data Size Register, array offset: 0x80410, array step: 0xE3C */
11567          uint8_t RESERVED_16[4];
11568     __IO uint32_t CC2ICVSZR;                         /**< CCB 0 Class 2 ICV Size Register, array offset: 0x8041C, array step: 0xE3C */
11569          uint8_t RESERVED_17[224];
11570     __IO uint32_t CC2CTXR[18];                       /**< CCB 0 Class 2 Context Register Word 0..CCB 0 Class 2 Context Register Word 17, array offset: 0x80500, array step: index*0xE3C, index2*0x4 */
11571          uint8_t RESERVED_18[184];
11572     __IO uint32_t CC2KEYR[32];                       /**< CCB 0 Class 2 Key Register Word 0..CCB 0 Class 2 Key Register Word 31, array offset: 0x80600, array step: index*0xE3C, index2*0x4 */
11573          uint8_t RESERVED_19[320];
11574     __I  uint32_t CFIFOSTA;                          /**< CCB 0 FIFO Status Register, array offset: 0x807C0, array step: 0xE3C */
11575          uint8_t RESERVED_20[12];
11576     union {                                          /* offset: 0x807D0, array step: 0xE3C */
11577       __O  uint32_t CNFIFO;                            /**< CCB 0 iNformation FIFO When STYPE != 10b, array offset: 0x807D0, array step: 0xE3C */
11578       __O  uint32_t CNFIFO_2;                          /**< CCB 0 iNformation FIFO When STYPE == 10b, array offset: 0x807D0, array step: 0xE3C */
11579     };
11580          uint8_t RESERVED_21[12];
11581     __O  uint32_t CIFIFO;                            /**< CCB 0 Input Data FIFO, array offset: 0x807E0, array step: 0xE3C */
11582          uint8_t RESERVED_22[12];
11583     __I  uint64_t COFIFO;                            /**< CCB 0 Output Data FIFO, array offset: 0x807F0, array step: 0xE3C */
11584          uint8_t RESERVED_23[8];
11585     __IO uint32_t DJQCR_MS;                          /**< DECO0 Job Queue Control Register, most-significant half, array offset: 0x80800, array step: 0xE3C */
11586     __I  uint32_t DJQCR_LS;                          /**< DECO0 Job Queue Control Register, least-significant half, array offset: 0x80804, array step: 0xE3C */
11587     __I  uint64_t DDAR;                              /**< DECO0 Descriptor Address Register, array offset: 0x80808, array step: 0xE3C */
11588     __I  uint32_t DOPSTA_MS;                         /**< DECO0 Operation Status Register, most-significant half, array offset: 0x80810, array step: 0xE3C */
11589     __I  uint32_t DOPSTA_LS;                         /**< DECO0 Operation Status Register, least-significant half, array offset: 0x80814, array step: 0xE3C */
11590          uint8_t RESERVED_24[8];
11591     __I  uint32_t DPDIDSR;                           /**< DECO0 Primary DID Status Register, array offset: 0x80820, array step: 0xE3C */
11592     __I  uint32_t DODIDSR;                           /**< DECO0 Output DID Status Register, array offset: 0x80824, array step: 0xE3C */
11593          uint8_t RESERVED_25[24];
11594     struct {                                         /* offset: 0x80840, array step: index*0xE3C, index2*0x8 */
11595       __IO uint32_t DMTH_MS;                           /**< DECO0 Math Register 0_MS..DECO0 Math Register 3_MS, array offset: 0x80840, array step: index*0xE3C, index2*0x8 */
11596       __IO uint32_t DMTH_LS;                           /**< DECO0 Math Register 0_LS..DECO0 Math Register 3_LS, array offset: 0x80844, array step: index*0xE3C, index2*0x8 */
11597     } DDMTHB[4];
11598          uint8_t RESERVED_26[32];
11599     struct {                                         /* offset: 0x80880, array step: index*0xE3C, index2*0x10 */
11600       __IO uint32_t DGTR_0;                            /**< DECO0 Gather Table Register 0 Word 0, array offset: 0x80880, array step: index*0xE3C, index2*0x10 */
11601       __IO uint32_t DGTR_1;                            /**< DECO0 Gather Table Register 0 Word 1, array offset: 0x80884, array step: index*0xE3C, index2*0x10 */
11602       __IO uint32_t DGTR_2;                            /**< DECO0 Gather Table Register 0 Word 2, array offset: 0x80888, array step: index*0xE3C, index2*0x10 */
11603       __IO uint32_t DGTR_3;                            /**< DECO0 Gather Table Register 0 Word 3, array offset: 0x8088C, array step: index*0xE3C, index2*0x10 */
11604     } DDGTR[1];
11605          uint8_t RESERVED_27[112];
11606     struct {                                         /* offset: 0x80900, array step: index*0xE3C, index2*0x10 */
11607       __IO uint32_t DSTR_0;                            /**< DECO0 Scatter Table Register 0 Word 0, array offset: 0x80900, array step: index*0xE3C, index2*0x10 */
11608       __IO uint32_t DSTR_1;                            /**< DECO0 Scatter Table Register 0 Word 1, array offset: 0x80904, array step: index*0xE3C, index2*0x10 */
11609       __IO uint32_t DSTR_2;                            /**< DECO0 Scatter Table Register 0 Word 2, array offset: 0x80908, array step: index*0xE3C, index2*0x10 */
11610       __IO uint32_t DSTR_3;                            /**< DECO0 Scatter Table Register 0 Word 3, array offset: 0x8090C, array step: index*0xE3C, index2*0x10 */
11611     } DDSTR[1];
11612          uint8_t RESERVED_28[240];
11613     __IO uint32_t DDESB[64];                         /**< DECO0 Descriptor Buffer Word 0..DECO0 Descriptor Buffer Word 63, array offset: 0x80A00, array step: index*0xE3C, index2*0x4 */
11614          uint8_t RESERVED_29[768];
11615     __I  uint32_t DDJR;                              /**< DECO0 Debug Job Register, array offset: 0x80E00, array step: 0xE3C */
11616     __I  uint32_t DDDR;                              /**< DECO0 Debug DECO Register, array offset: 0x80E04, array step: 0xE3C */
11617     __I  uint64_t DDJP;                              /**< DECO0 Debug Job Pointer, array offset: 0x80E08, array step: 0xE3C */
11618     __I  uint64_t DSDP;                              /**< DECO0 Debug Shared Pointer, array offset: 0x80E10, array step: 0xE3C */
11619     __I  uint32_t DDDR_MS;                           /**< DECO0 Debug DID, most-significant half, array offset: 0x80E18, array step: 0xE3C */
11620     __I  uint32_t DDDR_LS;                           /**< DECO0 Debug DID, least-significant half, array offset: 0x80E1C, array step: 0xE3C */
11621     __IO uint32_t SOL;                               /**< Sequence Output Length Register, array offset: 0x80E20, array step: 0xE3C */
11622     __IO uint32_t VSOL;                              /**< Variable Sequence Output Length Register, array offset: 0x80E24, array step: 0xE3C */
11623     __IO uint32_t SIL;                               /**< Sequence Input Length Register, array offset: 0x80E28, array step: 0xE3C */
11624     __IO uint32_t VSIL;                              /**< Variable Sequence Input Length Register, array offset: 0x80E2C, array step: 0xE3C */
11625     __IO uint32_t DPOVRD;                            /**< Protocol Override Register, array offset: 0x80E30, array step: 0xE3C */
11626     __IO uint32_t UVSOL;                             /**< Variable Sequence Output Length Register; Upper 32 bits, array offset: 0x80E34, array step: 0xE3C */
11627     __IO uint32_t UVSIL;                             /**< Variable Sequence Input Length Register; Upper 32 bits, array offset: 0x80E38, array step: 0xE3C */
11628   } DC[1];
11629        uint8_t RESERVED_53[356];
11630   __I  uint32_t CRNR_MS_DC01;                      /**< CHA Revision Number Register, most-significant half, offset: 0x80FA0 */
11631   __I  uint32_t CRNR_LS_DC01;                      /**< CHA Revision Number Register, least-significant half, offset: 0x80FA4 */
11632   __I  uint32_t CTPR_MS_DC01;                      /**< Compile Time Parameters Register, most-significant half, offset: 0x80FA8 */
11633   __I  uint32_t CTPR_LS_DC01;                      /**< Compile Time Parameters Register, least-significant half, offset: 0x80FAC */
11634        uint8_t RESERVED_54[4];
11635   __I  uint32_t SMSTA_DC01;                        /**< Secure Memory Status Register, offset: 0x80FB4 */
11636        uint8_t RESERVED_55[8];
11637   __I  uint64_t FAR_DC01;                          /**< Fault Address Register, offset: 0x80FC0 */
11638   __I  uint32_t FADID_DC01;                        /**< Fault Address DID Register, offset: 0x80FC8 */
11639   __I  uint32_t FADR_DC01;                         /**< Fault Address Detail Register, offset: 0x80FCC */
11640        uint8_t RESERVED_56[4];
11641   __I  uint32_t CSTA_DC01;                         /**< CAAM Status Register, offset: 0x80FD4 */
11642   __I  uint32_t SMVID_MS_DC01;                     /**< Secure Memory Version ID Register, most-significant half, offset: 0x80FD8 */
11643   __I  uint32_t SMVID_LS_DC01;                     /**< Secure Memory Version ID Register, least-significant half, offset: 0x80FDC */
11644   __I  uint32_t RVID_DC01;                         /**< RTIC Version ID Register, offset: 0x80FE0 */
11645   __I  uint32_t CCBVID_DC01;                       /**< CHA Cluster Block Version ID Register, offset: 0x80FE4 */
11646   __I  uint32_t CHAVID_MS_DC01;                    /**< CHA Version ID Register, most-significant half, offset: 0x80FE8 */
11647   __I  uint32_t CHAVID_LS_DC01;                    /**< CHA Version ID Register, least-significant half, offset: 0x80FEC */
11648   __I  uint32_t CHANUM_MS_DC01;                    /**< CHA Number Register, most-significant half, offset: 0x80FF0 */
11649   __I  uint32_t CHANUM_LS_DC01;                    /**< CHA Number Register, least-significant half, offset: 0x80FF4 */
11650   __I  uint32_t CAAMVID_MS_DC01;                   /**< CAAM Version ID Register, most-significant half, offset: 0x80FF8 */
11651   __I  uint32_t CAAMVID_LS_DC01;                   /**< CAAM Version ID Register, least-significant half, offset: 0x80FFC */
11652 } CAAM_Type;
11653 
11654 /* ----------------------------------------------------------------------------
11655    -- CAAM Register Masks
11656    ---------------------------------------------------------------------------- */
11657 
11658 /*!
11659  * @addtogroup CAAM_Register_Masks CAAM Register Masks
11660  * @{
11661  */
11662 
11663 /*! @name MCFGR - Master Configuration Register */
11664 /*! @{ */
11665 
11666 #define CAAM_MCFGR_NORMAL_BURST_MASK             (0x1U)
11667 #define CAAM_MCFGR_NORMAL_BURST_SHIFT            (0U)
11668 /*! NORMAL_BURST
11669  *  0b0..Aligned 32 byte burst size target
11670  *  0b1..Aligned 64 byte burst size target
11671  */
11672 #define CAAM_MCFGR_NORMAL_BURST(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_NORMAL_BURST_SHIFT)) & CAAM_MCFGR_NORMAL_BURST_MASK)
11673 
11674 #define CAAM_MCFGR_LARGE_BURST_MASK              (0x4U)
11675 #define CAAM_MCFGR_LARGE_BURST_SHIFT             (2U)
11676 #define CAAM_MCFGR_LARGE_BURST(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_LARGE_BURST_SHIFT)) & CAAM_MCFGR_LARGE_BURST_MASK)
11677 
11678 #define CAAM_MCFGR_AXIPIPE_MASK                  (0xF0U)
11679 #define CAAM_MCFGR_AXIPIPE_SHIFT                 (4U)
11680 #define CAAM_MCFGR_AXIPIPE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_AXIPIPE_SHIFT)) & CAAM_MCFGR_AXIPIPE_MASK)
11681 
11682 #define CAAM_MCFGR_AWCACHE_MASK                  (0xF00U)
11683 #define CAAM_MCFGR_AWCACHE_SHIFT                 (8U)
11684 #define CAAM_MCFGR_AWCACHE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_AWCACHE_SHIFT)) & CAAM_MCFGR_AWCACHE_MASK)
11685 
11686 #define CAAM_MCFGR_ARCACHE_MASK                  (0xF000U)
11687 #define CAAM_MCFGR_ARCACHE_SHIFT                 (12U)
11688 #define CAAM_MCFGR_ARCACHE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_ARCACHE_SHIFT)) & CAAM_MCFGR_ARCACHE_MASK)
11689 
11690 #define CAAM_MCFGR_PS_MASK                       (0x10000U)
11691 #define CAAM_MCFGR_PS_SHIFT                      (16U)
11692 /*! PS
11693  *  0b0..Pointers fit in one 32-bit word (pointers are 32-bit addresses).
11694  *  0b1..Pointers require two 32-bit words (pointers are 36-bit addresses).
11695  */
11696 #define CAAM_MCFGR_PS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_PS_SHIFT)) & CAAM_MCFGR_PS_MASK)
11697 
11698 #define CAAM_MCFGR_DWT_MASK                      (0x80000U)
11699 #define CAAM_MCFGR_DWT_SHIFT                     (19U)
11700 #define CAAM_MCFGR_DWT(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_DWT_SHIFT)) & CAAM_MCFGR_DWT_MASK)
11701 
11702 #define CAAM_MCFGR_WRHD_MASK                     (0x8000000U)
11703 #define CAAM_MCFGR_WRHD_SHIFT                    (27U)
11704 #define CAAM_MCFGR_WRHD(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_WRHD_SHIFT)) & CAAM_MCFGR_WRHD_MASK)
11705 
11706 #define CAAM_MCFGR_DMA_RST_MASK                  (0x10000000U)
11707 #define CAAM_MCFGR_DMA_RST_SHIFT                 (28U)
11708 #define CAAM_MCFGR_DMA_RST(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_DMA_RST_SHIFT)) & CAAM_MCFGR_DMA_RST_MASK)
11709 
11710 #define CAAM_MCFGR_WDF_MASK                      (0x20000000U)
11711 #define CAAM_MCFGR_WDF_SHIFT                     (29U)
11712 #define CAAM_MCFGR_WDF(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_WDF_SHIFT)) & CAAM_MCFGR_WDF_MASK)
11713 
11714 #define CAAM_MCFGR_WDE_MASK                      (0x40000000U)
11715 #define CAAM_MCFGR_WDE_SHIFT                     (30U)
11716 #define CAAM_MCFGR_WDE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_WDE_SHIFT)) & CAAM_MCFGR_WDE_MASK)
11717 
11718 #define CAAM_MCFGR_SWRST_MASK                    (0x80000000U)
11719 #define CAAM_MCFGR_SWRST_SHIFT                   (31U)
11720 #define CAAM_MCFGR_SWRST(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_MCFGR_SWRST_SHIFT)) & CAAM_MCFGR_SWRST_MASK)
11721 /*! @} */
11722 
11723 /*! @name PAGE0_SDID - Page 0 SDID Register */
11724 /*! @{ */
11725 
11726 #define CAAM_PAGE0_SDID_SDID_MASK                (0x7FFFU)
11727 #define CAAM_PAGE0_SDID_SDID_SHIFT               (0U)
11728 #define CAAM_PAGE0_SDID_SDID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_PAGE0_SDID_SDID_SHIFT)) & CAAM_PAGE0_SDID_SDID_MASK)
11729 /*! @} */
11730 
11731 /*! @name SCFGR - Security Configuration Register */
11732 /*! @{ */
11733 
11734 #define CAAM_SCFGR_PRIBLOB_MASK                  (0x3U)
11735 #define CAAM_SCFGR_PRIBLOB_SHIFT                 (0U)
11736 /*! PRIBLOB
11737  *  0b00..Private secure boot software blobs
11738  *  0b01..Private provisioning type 1 blobs
11739  *  0b10..Private provisioning type 2 blobs
11740  *  0b11..Normal operation blobs
11741  */
11742 #define CAAM_SCFGR_PRIBLOB(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_PRIBLOB_SHIFT)) & CAAM_SCFGR_PRIBLOB_MASK)
11743 
11744 #define CAAM_SCFGR_RNGSH0_MASK                   (0x200U)
11745 #define CAAM_SCFGR_RNGSH0_SHIFT                  (9U)
11746 /*! RNGSH0
11747  *  0b0..When RNGSH0 is 0, RNG DRNG State Handle 0 can be instantiated in any mode. RNGSH0 is set to 0 only for testing.
11748  *  0b1..When RNGSH0 is 1, RNG DRNG State Handle 0 cannot be instantiated in deterministic (test) mode. RNGSHO
11749  *       should be set to 1 before the RNG is instantiated. If it is currently instantiated in a deterministic mode,
11750  *       it will be un-instantiated. Once this bit has been written to a 1, it cannot be changed to a 0 until the
11751  *       next power on reset.
11752  */
11753 #define CAAM_SCFGR_RNGSH0(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_RNGSH0_SHIFT)) & CAAM_SCFGR_RNGSH0_MASK)
11754 
11755 #define CAAM_SCFGR_LCK_TRNG_MASK                 (0x800U)
11756 #define CAAM_SCFGR_LCK_TRNG_SHIFT                (11U)
11757 #define CAAM_SCFGR_LCK_TRNG(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_LCK_TRNG_SHIFT)) & CAAM_SCFGR_LCK_TRNG_MASK)
11758 
11759 #define CAAM_SCFGR_VIRT_EN_MASK                  (0x8000U)
11760 #define CAAM_SCFGR_VIRT_EN_SHIFT                 (15U)
11761 /*! VIRT_EN
11762  *  0b0..Disable job ring virtualization
11763  *  0b1..Enable job ring virtualization
11764  */
11765 #define CAAM_SCFGR_VIRT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_VIRT_EN_SHIFT)) & CAAM_SCFGR_VIRT_EN_MASK)
11766 
11767 #define CAAM_SCFGR_MPMRL_MASK                    (0x4000000U)
11768 #define CAAM_SCFGR_MPMRL_SHIFT                   (26U)
11769 #define CAAM_SCFGR_MPMRL(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_MPMRL_SHIFT)) & CAAM_SCFGR_MPMRL_MASK)
11770 
11771 #define CAAM_SCFGR_MPPKRC_MASK                   (0x8000000U)
11772 #define CAAM_SCFGR_MPPKRC_SHIFT                  (27U)
11773 #define CAAM_SCFGR_MPPKRC(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_MPPKRC_SHIFT)) & CAAM_SCFGR_MPPKRC_MASK)
11774 
11775 #define CAAM_SCFGR_MPCURVE_MASK                  (0xF0000000U)
11776 #define CAAM_SCFGR_MPCURVE_SHIFT                 (28U)
11777 #define CAAM_SCFGR_MPCURVE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SCFGR_MPCURVE_SHIFT)) & CAAM_SCFGR_MPCURVE_MASK)
11778 /*! @} */
11779 
11780 /*! @name JRDID_MS - Job Ring 0 DID Register - most significant half..Job Ring 3 DID Register - most significant half */
11781 /*! @{ */
11782 
11783 #define CAAM_JRDID_MS_PRIM_DID_MASK              (0xFU)
11784 #define CAAM_JRDID_MS_PRIM_DID_SHIFT             (0U)
11785 #define CAAM_JRDID_MS_PRIM_DID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_PRIM_DID_SHIFT)) & CAAM_JRDID_MS_PRIM_DID_MASK)
11786 
11787 #define CAAM_JRDID_MS_PRIM_TZ_MASK               (0x10U)
11788 #define CAAM_JRDID_MS_PRIM_TZ_SHIFT              (4U)
11789 #define CAAM_JRDID_MS_PRIM_TZ(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_PRIM_TZ_SHIFT)) & CAAM_JRDID_MS_PRIM_TZ_MASK)
11790 
11791 #define CAAM_JRDID_MS_SDID_MS_MASK               (0x7FE0U)
11792 #define CAAM_JRDID_MS_SDID_MS_SHIFT              (5U)
11793 #define CAAM_JRDID_MS_SDID_MS(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_SDID_MS_SHIFT)) & CAAM_JRDID_MS_SDID_MS_MASK)
11794 
11795 #define CAAM_JRDID_MS_TZ_OWN_MASK                (0x8000U)
11796 #define CAAM_JRDID_MS_TZ_OWN_SHIFT               (15U)
11797 #define CAAM_JRDID_MS_TZ_OWN(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_TZ_OWN_SHIFT)) & CAAM_JRDID_MS_TZ_OWN_MASK)
11798 
11799 #define CAAM_JRDID_MS_AMTD_MASK                  (0x10000U)
11800 #define CAAM_JRDID_MS_AMTD_SHIFT                 (16U)
11801 #define CAAM_JRDID_MS_AMTD(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_AMTD_SHIFT)) & CAAM_JRDID_MS_AMTD_MASK)
11802 
11803 #define CAAM_JRDID_MS_LAMTD_MASK                 (0x20000U)
11804 #define CAAM_JRDID_MS_LAMTD_SHIFT                (17U)
11805 #define CAAM_JRDID_MS_LAMTD(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_LAMTD_SHIFT)) & CAAM_JRDID_MS_LAMTD_MASK)
11806 
11807 #define CAAM_JRDID_MS_PRIM_ICID_MASK             (0x3FF80000U)
11808 #define CAAM_JRDID_MS_PRIM_ICID_SHIFT            (19U)
11809 #define CAAM_JRDID_MS_PRIM_ICID(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_PRIM_ICID_SHIFT)) & CAAM_JRDID_MS_PRIM_ICID_MASK)
11810 
11811 #define CAAM_JRDID_MS_USE_OUT_MASK               (0x40000000U)
11812 #define CAAM_JRDID_MS_USE_OUT_SHIFT              (30U)
11813 #define CAAM_JRDID_MS_USE_OUT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_USE_OUT_SHIFT)) & CAAM_JRDID_MS_USE_OUT_MASK)
11814 
11815 #define CAAM_JRDID_MS_LDID_MASK                  (0x80000000U)
11816 #define CAAM_JRDID_MS_LDID_SHIFT                 (31U)
11817 #define CAAM_JRDID_MS_LDID(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_MS_LDID_SHIFT)) & CAAM_JRDID_MS_LDID_MASK)
11818 /*! @} */
11819 
11820 /* The count of CAAM_JRDID_MS */
11821 #define CAAM_JRDID_MS_COUNT                      (4U)
11822 
11823 /*! @name JRDID_LS - Job Ring 0 DID Register - least significant half..Job Ring 3 DID Register - least significant half */
11824 /*! @{ */
11825 
11826 #define CAAM_JRDID_LS_OUT_DID_MASK               (0xFU)
11827 #define CAAM_JRDID_LS_OUT_DID_SHIFT              (0U)
11828 #define CAAM_JRDID_LS_OUT_DID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_LS_OUT_DID_SHIFT)) & CAAM_JRDID_LS_OUT_DID_MASK)
11829 
11830 #define CAAM_JRDID_LS_OUT_ICID_MASK              (0x3FF80000U)
11831 #define CAAM_JRDID_LS_OUT_ICID_SHIFT             (19U)
11832 #define CAAM_JRDID_LS_OUT_ICID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRDID_LS_OUT_ICID_SHIFT)) & CAAM_JRDID_LS_OUT_ICID_MASK)
11833 /*! @} */
11834 
11835 /* The count of CAAM_JRDID_LS */
11836 #define CAAM_JRDID_LS_COUNT                      (4U)
11837 
11838 /*! @name DEBUGCTL - Debug Control Register */
11839 /*! @{ */
11840 
11841 #define CAAM_DEBUGCTL_STOP_MASK                  (0x10000U)
11842 #define CAAM_DEBUGCTL_STOP_SHIFT                 (16U)
11843 #define CAAM_DEBUGCTL_STOP(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DEBUGCTL_STOP_SHIFT)) & CAAM_DEBUGCTL_STOP_MASK)
11844 
11845 #define CAAM_DEBUGCTL_STOP_ACK_MASK              (0x20000U)
11846 #define CAAM_DEBUGCTL_STOP_ACK_SHIFT             (17U)
11847 #define CAAM_DEBUGCTL_STOP_ACK(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DEBUGCTL_STOP_ACK_SHIFT)) & CAAM_DEBUGCTL_STOP_ACK_MASK)
11848 /*! @} */
11849 
11850 /*! @name JRSTARTR - Job Ring Start Register */
11851 /*! @{ */
11852 
11853 #define CAAM_JRSTARTR_Start_JR0_MASK             (0x1U)
11854 #define CAAM_JRSTARTR_Start_JR0_SHIFT            (0U)
11855 /*! Start_JR0
11856  *  0b0..Stop Mode. The JR0DID register and the SMVBA register for Job Ring 0 can be written but the IRBAR, IRSR,
11857  *       IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 0 are NOT accessible. If Job Ring 0 is
11858  *       allocated to TrustZone SecureWorld (JR0DID[TZ]=1), the JR0DID and SMVBA register can be written only via a
11859  *       bus transaction that has ns=0.
11860  *  0b1..Start Mode. The JR0DID register and the SMVBA register for Job Ring 0 CANNOT be written but the IRBAR,
11861  *       IRSR, IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 0 ARE accessible. If Job Ring 0 is
11862  *       allocated to TrustZone SecureWorld (JR0DID[TZ]=1), then the SMVBA, IRBAR, IRSR, IRSAR, IRJAR, ORBAR, ORSR,
11863  *       ORJRR, ORSFR and JRSTAR registers for Job Ring 0 can be written only via a bus transaction that has ns=0.
11864  */
11865 #define CAAM_JRSTARTR_Start_JR0(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTARTR_Start_JR0_SHIFT)) & CAAM_JRSTARTR_Start_JR0_MASK)
11866 
11867 #define CAAM_JRSTARTR_Start_JR1_MASK             (0x2U)
11868 #define CAAM_JRSTARTR_Start_JR1_SHIFT            (1U)
11869 /*! Start_JR1
11870  *  0b0..Stop Mode. The JR1DID register and the SMVBA register for Job Ring 1 can be written but the IRBAR, IRSR,
11871  *       IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 1 are NOT accessible. If Job Ring 1 is
11872  *       allocated to TrustZone SecureWorld (JR1DID[TZ]=1), the JR1DID and SMVBA register can be written only via a
11873  *       bus transaction that has ns=0.
11874  *  0b1..Start Mode. The JR1DID register and the SMVBA register for Job Ring 1 CANNOT be written but the IRBAR,
11875  *       IRSR, IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 1 ARE accessible. If Job Ring 1 is
11876  *       allocated to TrustZone SecureWorld (JR1DID[TZ]=1), then the SMVBA, IRBAR, IRSR, IRSAR, IRJAR, ORBAR, ORSR,
11877  *       ORJRR, ORSFR and JRSTAR registers for Job Ring 1 can be written only via a bus transaction that has ns=0.
11878  */
11879 #define CAAM_JRSTARTR_Start_JR1(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTARTR_Start_JR1_SHIFT)) & CAAM_JRSTARTR_Start_JR1_MASK)
11880 
11881 #define CAAM_JRSTARTR_Start_JR2_MASK             (0x4U)
11882 #define CAAM_JRSTARTR_Start_JR2_SHIFT            (2U)
11883 /*! Start_JR2
11884  *  0b0..Stop Mode. The JR2DID register and the SMVBA register for Job Ring 2 can be written but the IRBAR, IRSR,
11885  *       IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 2 are NOT accessible. If Job Ring 2 is
11886  *       allocated to TrustZone SecureWorld (JR2DID[TZ]=1), the JR2DID and SMVBA register can be written only via a
11887  *       bus transaction that has ns=0.
11888  *  0b1..Start Mode. The JR2DID register and the SMVBA register for Job Ring 2 CANNOT be written but the IRBAR,
11889  *       IRSR, IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 2 ARE accessible. If Job Ring 2 is
11890  *       allocated to TrustZone SecureWorld (JR2DID[TZ]=1), then the SMVBA, IRBAR, IRSR, IRSAR, IRJAR, ORBAR, ORSR,
11891  *       ORJRR, ORSFR and JRSTAR registers for Job Ring 2 can be written only via a bus transaction that has ns=0.
11892  */
11893 #define CAAM_JRSTARTR_Start_JR2(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTARTR_Start_JR2_SHIFT)) & CAAM_JRSTARTR_Start_JR2_MASK)
11894 
11895 #define CAAM_JRSTARTR_Start_JR3_MASK             (0x8U)
11896 #define CAAM_JRSTARTR_Start_JR3_SHIFT            (3U)
11897 /*! Start_JR3
11898  *  0b0..Stop Mode. The JR3DID register and the SMVBA register for Job Ring 3 can be written but the IRBAR, IRSR,
11899  *       IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 3 are NOT accessible. If Job Ring 3 is
11900  *       allocated to TrustZone SecureWorld (JR3DID[TZ]=1), the JR3DID and SMVBA register can be written only via a
11901  *       bus transaction that has ns=0.
11902  *  0b1..Start Mode. The JR3DID register and the SMVBA register for Job Ring 3 CANNOT be written but the IRBAR,
11903  *       IRSR, IRSAR, IRJAR, ORBAR, ORSR, ORJRR, ORSFR and JRSTAR for Job Ring 3 ARE accessible. If Job Ring 3 is
11904  *       allocated to TrustZone SecureWorld (JR3DID[TZ]=1), then the SMVBA, IRBAR, IRSR, IRSAR, IRJAR, ORBAR, ORSR,
11905  *       ORJRR, ORSFR and JRSTAR registers for Job Ring 3 can be written only via a bus transaction that has ns=0.
11906  */
11907 #define CAAM_JRSTARTR_Start_JR3(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTARTR_Start_JR3_SHIFT)) & CAAM_JRSTARTR_Start_JR3_MASK)
11908 /*! @} */
11909 
11910 /*! @name RTIC_OWN - RTIC OWN Register */
11911 /*! @{ */
11912 
11913 #define CAAM_RTIC_OWN_ROWN_DID_MASK              (0xFU)
11914 #define CAAM_RTIC_OWN_ROWN_DID_SHIFT             (0U)
11915 /*! ROWN_DID - RTIC Owner's DID
11916  */
11917 #define CAAM_RTIC_OWN_ROWN_DID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_OWN_ROWN_DID_SHIFT)) & CAAM_RTIC_OWN_ROWN_DID_MASK)
11918 
11919 #define CAAM_RTIC_OWN_ROWN_TZ_MASK               (0x10U)
11920 #define CAAM_RTIC_OWN_ROWN_TZ_SHIFT              (4U)
11921 #define CAAM_RTIC_OWN_ROWN_TZ(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_OWN_ROWN_TZ_SHIFT)) & CAAM_RTIC_OWN_ROWN_TZ_MASK)
11922 
11923 #define CAAM_RTIC_OWN_LCK_MASK                   (0x80000000U)
11924 #define CAAM_RTIC_OWN_LCK_SHIFT                  (31U)
11925 #define CAAM_RTIC_OWN_LCK(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_OWN_LCK_SHIFT)) & CAAM_RTIC_OWN_LCK_MASK)
11926 /*! @} */
11927 
11928 /*! @name RTIC_DID - RTIC DID Register for Block A..RTIC DID Register for Block D */
11929 /*! @{ */
11930 
11931 #define CAAM_RTIC_DID_RTIC_DID_MASK              (0xFU)
11932 #define CAAM_RTIC_DID_RTIC_DID_SHIFT             (0U)
11933 #define CAAM_RTIC_DID_RTIC_DID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_DID_RTIC_DID_SHIFT)) & CAAM_RTIC_DID_RTIC_DID_MASK)
11934 
11935 #define CAAM_RTIC_DID_RTIC_TZ_MASK               (0x10U)
11936 #define CAAM_RTIC_DID_RTIC_TZ_SHIFT              (4U)
11937 #define CAAM_RTIC_DID_RTIC_TZ(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_DID_RTIC_TZ_SHIFT)) & CAAM_RTIC_DID_RTIC_TZ_MASK)
11938 
11939 #define CAAM_RTIC_DID_RTIC_ICID_MASK             (0x3FF80000U)
11940 #define CAAM_RTIC_DID_RTIC_ICID_SHIFT            (19U)
11941 #define CAAM_RTIC_DID_RTIC_ICID(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTIC_DID_RTIC_ICID_SHIFT)) & CAAM_RTIC_DID_RTIC_ICID_MASK)
11942 /*! @} */
11943 
11944 /* The count of CAAM_RTIC_DID */
11945 #define CAAM_RTIC_DID_COUNT                      (4U)
11946 
11947 /*! @name DECORSR - DECO Request Source Register */
11948 /*! @{ */
11949 
11950 #define CAAM_DECORSR_JR_MASK                     (0x3U)
11951 #define CAAM_DECORSR_JR_SHIFT                    (0U)
11952 #define CAAM_DECORSR_JR(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_DECORSR_JR_SHIFT)) & CAAM_DECORSR_JR_MASK)
11953 
11954 #define CAAM_DECORSR_VALID_MASK                  (0x80000000U)
11955 #define CAAM_DECORSR_VALID_SHIFT                 (31U)
11956 #define CAAM_DECORSR_VALID(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DECORSR_VALID_SHIFT)) & CAAM_DECORSR_VALID_MASK)
11957 /*! @} */
11958 
11959 /*! @name DECORR - DECO Request Register */
11960 /*! @{ */
11961 
11962 #define CAAM_DECORR_RQD0_MASK                    (0x1U)
11963 #define CAAM_DECORR_RQD0_SHIFT                   (0U)
11964 #define CAAM_DECORR_RQD0(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_DECORR_RQD0_SHIFT)) & CAAM_DECORR_RQD0_MASK)
11965 
11966 #define CAAM_DECORR_DEN0_MASK                    (0x10000U)
11967 #define CAAM_DECORR_DEN0_SHIFT                   (16U)
11968 #define CAAM_DECORR_DEN0(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_DECORR_DEN0_SHIFT)) & CAAM_DECORR_DEN0_MASK)
11969 /*! @} */
11970 
11971 /*! @name DECODID_MS - DECO0 DID Register - most significant half */
11972 /*! @{ */
11973 
11974 #define CAAM_DECODID_MS_DPRIM_DID_MASK           (0xFU)
11975 #define CAAM_DECODID_MS_DPRIM_DID_SHIFT          (0U)
11976 /*! DPRIM_DID - DECO Owner
11977  */
11978 #define CAAM_DECODID_MS_DPRIM_DID(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_MS_DPRIM_DID_SHIFT)) & CAAM_DECODID_MS_DPRIM_DID_MASK)
11979 
11980 #define CAAM_DECODID_MS_D_NS_MASK                (0x10U)
11981 #define CAAM_DECODID_MS_D_NS_SHIFT               (4U)
11982 #define CAAM_DECODID_MS_D_NS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_MS_D_NS_SHIFT)) & CAAM_DECODID_MS_D_NS_MASK)
11983 
11984 #define CAAM_DECODID_MS_LCK_MASK                 (0x80000000U)
11985 #define CAAM_DECODID_MS_LCK_SHIFT                (31U)
11986 #define CAAM_DECODID_MS_LCK(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_MS_LCK_SHIFT)) & CAAM_DECODID_MS_LCK_MASK)
11987 /*! @} */
11988 
11989 /* The count of CAAM_DECODID_MS */
11990 #define CAAM_DECODID_MS_COUNT                    (1U)
11991 
11992 /*! @name DECODID_LS - DECO0 DID Register - least significant half */
11993 /*! @{ */
11994 
11995 #define CAAM_DECODID_LS_DSEQ_DID_MASK            (0xFU)
11996 #define CAAM_DECODID_LS_DSEQ_DID_SHIFT           (0U)
11997 #define CAAM_DECODID_LS_DSEQ_DID(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_LS_DSEQ_DID_SHIFT)) & CAAM_DECODID_LS_DSEQ_DID_MASK)
11998 
11999 #define CAAM_DECODID_LS_DSEQ_NS_MASK             (0x10U)
12000 #define CAAM_DECODID_LS_DSEQ_NS_SHIFT            (4U)
12001 #define CAAM_DECODID_LS_DSEQ_NS(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_LS_DSEQ_NS_SHIFT)) & CAAM_DECODID_LS_DSEQ_NS_MASK)
12002 
12003 #define CAAM_DECODID_LS_DNSEQ_DID_MASK           (0xF0000U)
12004 #define CAAM_DECODID_LS_DNSEQ_DID_SHIFT          (16U)
12005 #define CAAM_DECODID_LS_DNSEQ_DID(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_LS_DNSEQ_DID_SHIFT)) & CAAM_DECODID_LS_DNSEQ_DID_MASK)
12006 
12007 #define CAAM_DECODID_LS_DNONSEQ_NS_MASK          (0x100000U)
12008 #define CAAM_DECODID_LS_DNONSEQ_NS_SHIFT         (20U)
12009 #define CAAM_DECODID_LS_DNONSEQ_NS(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_DECODID_LS_DNONSEQ_NS_SHIFT)) & CAAM_DECODID_LS_DNONSEQ_NS_MASK)
12010 /*! @} */
12011 
12012 /* The count of CAAM_DECODID_LS */
12013 #define CAAM_DECODID_LS_COUNT                    (1U)
12014 
12015 /*! @name DAR - DECO Availability Register */
12016 /*! @{ */
12017 
12018 #define CAAM_DAR_NYA0_MASK                       (0x1U)
12019 #define CAAM_DAR_NYA0_SHIFT                      (0U)
12020 #define CAAM_DAR_NYA0(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DAR_NYA0_SHIFT)) & CAAM_DAR_NYA0_MASK)
12021 /*! @} */
12022 
12023 /*! @name DRR - DECO Reset Register */
12024 /*! @{ */
12025 
12026 #define CAAM_DRR_RST0_MASK                       (0x1U)
12027 #define CAAM_DRR_RST0_SHIFT                      (0U)
12028 #define CAAM_DRR_RST0(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DRR_RST0_SHIFT)) & CAAM_DRR_RST0_MASK)
12029 /*! @} */
12030 
12031 /*! @name JRSMVBAR - Job Ring 0 Secure Memory Virtual Base Address Register..Job Ring 3 Secure Memory Virtual Base Address Register */
12032 /*! @{ */
12033 
12034 #define CAAM_JRSMVBAR_SMVBA_MASK                 (0xFFFFFFFFU)
12035 #define CAAM_JRSMVBAR_SMVBA_SHIFT                (0U)
12036 #define CAAM_JRSMVBAR_SMVBA(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_JRSMVBAR_SMVBA_SHIFT)) & CAAM_JRSMVBAR_SMVBA_MASK)
12037 /*! @} */
12038 
12039 /* The count of CAAM_JRSMVBAR */
12040 #define CAAM_JRSMVBAR_COUNT                      (4U)
12041 
12042 /*! @name PBSL - Peak Bandwidth Smoothing Limit Register */
12043 /*! @{ */
12044 
12045 #define CAAM_PBSL_PBSL_MASK                      (0x7FU)
12046 #define CAAM_PBSL_PBSL_SHIFT                     (0U)
12047 #define CAAM_PBSL_PBSL(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_PBSL_PBSL_SHIFT)) & CAAM_PBSL_PBSL_MASK)
12048 /*! @} */
12049 
12050 /*! @name DMA_AIDL_MAP_MS - DMA0_AIDL_MAP_MS */
12051 /*! @{ */
12052 
12053 #define CAAM_DMA_AIDL_MAP_MS_AID4_BID_MASK       (0xFFU)
12054 #define CAAM_DMA_AIDL_MAP_MS_AID4_BID_SHIFT      (0U)
12055 #define CAAM_DMA_AIDL_MAP_MS_AID4_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_MS_AID4_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_MS_AID4_BID_MASK)
12056 
12057 #define CAAM_DMA_AIDL_MAP_MS_AID5_BID_MASK       (0xFF00U)
12058 #define CAAM_DMA_AIDL_MAP_MS_AID5_BID_SHIFT      (8U)
12059 #define CAAM_DMA_AIDL_MAP_MS_AID5_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_MS_AID5_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_MS_AID5_BID_MASK)
12060 
12061 #define CAAM_DMA_AIDL_MAP_MS_AID6_BID_MASK       (0xFF0000U)
12062 #define CAAM_DMA_AIDL_MAP_MS_AID6_BID_SHIFT      (16U)
12063 #define CAAM_DMA_AIDL_MAP_MS_AID6_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_MS_AID6_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_MS_AID6_BID_MASK)
12064 
12065 #define CAAM_DMA_AIDL_MAP_MS_AID7_BID_MASK       (0xFF000000U)
12066 #define CAAM_DMA_AIDL_MAP_MS_AID7_BID_SHIFT      (24U)
12067 #define CAAM_DMA_AIDL_MAP_MS_AID7_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_MS_AID7_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_MS_AID7_BID_MASK)
12068 /*! @} */
12069 
12070 /* The count of CAAM_DMA_AIDL_MAP_MS */
12071 #define CAAM_DMA_AIDL_MAP_MS_COUNT               (1U)
12072 
12073 /*! @name DMA_AIDL_MAP_LS - DMA0_AIDL_MAP_LS */
12074 /*! @{ */
12075 
12076 #define CAAM_DMA_AIDL_MAP_LS_AID0_BID_MASK       (0xFFU)
12077 #define CAAM_DMA_AIDL_MAP_LS_AID0_BID_SHIFT      (0U)
12078 #define CAAM_DMA_AIDL_MAP_LS_AID0_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_LS_AID0_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_LS_AID0_BID_MASK)
12079 
12080 #define CAAM_DMA_AIDL_MAP_LS_AID1_BID_MASK       (0xFF00U)
12081 #define CAAM_DMA_AIDL_MAP_LS_AID1_BID_SHIFT      (8U)
12082 #define CAAM_DMA_AIDL_MAP_LS_AID1_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_LS_AID1_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_LS_AID1_BID_MASK)
12083 
12084 #define CAAM_DMA_AIDL_MAP_LS_AID2_BID_MASK       (0xFF0000U)
12085 #define CAAM_DMA_AIDL_MAP_LS_AID2_BID_SHIFT      (16U)
12086 #define CAAM_DMA_AIDL_MAP_LS_AID2_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_LS_AID2_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_LS_AID2_BID_MASK)
12087 
12088 #define CAAM_DMA_AIDL_MAP_LS_AID3_BID_MASK       (0xFF000000U)
12089 #define CAAM_DMA_AIDL_MAP_LS_AID3_BID_SHIFT      (24U)
12090 #define CAAM_DMA_AIDL_MAP_LS_AID3_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDL_MAP_LS_AID3_BID_SHIFT)) & CAAM_DMA_AIDL_MAP_LS_AID3_BID_MASK)
12091 /*! @} */
12092 
12093 /* The count of CAAM_DMA_AIDL_MAP_LS */
12094 #define CAAM_DMA_AIDL_MAP_LS_COUNT               (1U)
12095 
12096 /*! @name DMA_AIDM_MAP_MS - DMA0_AIDM_MAP_MS */
12097 /*! @{ */
12098 
12099 #define CAAM_DMA_AIDM_MAP_MS_AID12_BID_MASK      (0xFFU)
12100 #define CAAM_DMA_AIDM_MAP_MS_AID12_BID_SHIFT     (0U)
12101 #define CAAM_DMA_AIDM_MAP_MS_AID12_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_MS_AID12_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_MS_AID12_BID_MASK)
12102 
12103 #define CAAM_DMA_AIDM_MAP_MS_AID13_BID_MASK      (0xFF00U)
12104 #define CAAM_DMA_AIDM_MAP_MS_AID13_BID_SHIFT     (8U)
12105 #define CAAM_DMA_AIDM_MAP_MS_AID13_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_MS_AID13_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_MS_AID13_BID_MASK)
12106 
12107 #define CAAM_DMA_AIDM_MAP_MS_AID14_BID_MASK      (0xFF0000U)
12108 #define CAAM_DMA_AIDM_MAP_MS_AID14_BID_SHIFT     (16U)
12109 #define CAAM_DMA_AIDM_MAP_MS_AID14_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_MS_AID14_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_MS_AID14_BID_MASK)
12110 
12111 #define CAAM_DMA_AIDM_MAP_MS_AID15_BID_MASK      (0xFF000000U)
12112 #define CAAM_DMA_AIDM_MAP_MS_AID15_BID_SHIFT     (24U)
12113 #define CAAM_DMA_AIDM_MAP_MS_AID15_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_MS_AID15_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_MS_AID15_BID_MASK)
12114 /*! @} */
12115 
12116 /* The count of CAAM_DMA_AIDM_MAP_MS */
12117 #define CAAM_DMA_AIDM_MAP_MS_COUNT               (1U)
12118 
12119 /*! @name DMA_AIDM_MAP_LS - DMA0_AIDM_MAP_LS */
12120 /*! @{ */
12121 
12122 #define CAAM_DMA_AIDM_MAP_LS_AID8_BID_MASK       (0xFFU)
12123 #define CAAM_DMA_AIDM_MAP_LS_AID8_BID_SHIFT      (0U)
12124 #define CAAM_DMA_AIDM_MAP_LS_AID8_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_LS_AID8_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_LS_AID8_BID_MASK)
12125 
12126 #define CAAM_DMA_AIDM_MAP_LS_AID9_BID_MASK       (0xFF00U)
12127 #define CAAM_DMA_AIDM_MAP_LS_AID9_BID_SHIFT      (8U)
12128 #define CAAM_DMA_AIDM_MAP_LS_AID9_BID(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_LS_AID9_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_LS_AID9_BID_MASK)
12129 
12130 #define CAAM_DMA_AIDM_MAP_LS_AID10_BID_MASK      (0xFF0000U)
12131 #define CAAM_DMA_AIDM_MAP_LS_AID10_BID_SHIFT     (16U)
12132 #define CAAM_DMA_AIDM_MAP_LS_AID10_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_LS_AID10_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_LS_AID10_BID_MASK)
12133 
12134 #define CAAM_DMA_AIDM_MAP_LS_AID11_BID_MASK      (0xFF000000U)
12135 #define CAAM_DMA_AIDM_MAP_LS_AID11_BID_SHIFT     (24U)
12136 #define CAAM_DMA_AIDM_MAP_LS_AID11_BID(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_AIDM_MAP_LS_AID11_BID_SHIFT)) & CAAM_DMA_AIDM_MAP_LS_AID11_BID_MASK)
12137 /*! @} */
12138 
12139 /* The count of CAAM_DMA_AIDM_MAP_LS */
12140 #define CAAM_DMA_AIDM_MAP_LS_COUNT               (1U)
12141 
12142 /*! @name DMA0_AID_ENB - DMA0 AXI ID Enable Register */
12143 /*! @{ */
12144 
12145 #define CAAM_DMA0_AID_ENB_AID0E_MASK             (0x1U)
12146 #define CAAM_DMA0_AID_ENB_AID0E_SHIFT            (0U)
12147 #define CAAM_DMA0_AID_ENB_AID0E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID0E_SHIFT)) & CAAM_DMA0_AID_ENB_AID0E_MASK)
12148 
12149 #define CAAM_DMA0_AID_ENB_AID1E_MASK             (0x2U)
12150 #define CAAM_DMA0_AID_ENB_AID1E_SHIFT            (1U)
12151 #define CAAM_DMA0_AID_ENB_AID1E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID1E_SHIFT)) & CAAM_DMA0_AID_ENB_AID1E_MASK)
12152 
12153 #define CAAM_DMA0_AID_ENB_AID2E_MASK             (0x4U)
12154 #define CAAM_DMA0_AID_ENB_AID2E_SHIFT            (2U)
12155 #define CAAM_DMA0_AID_ENB_AID2E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID2E_SHIFT)) & CAAM_DMA0_AID_ENB_AID2E_MASK)
12156 
12157 #define CAAM_DMA0_AID_ENB_AID3E_MASK             (0x8U)
12158 #define CAAM_DMA0_AID_ENB_AID3E_SHIFT            (3U)
12159 #define CAAM_DMA0_AID_ENB_AID3E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID3E_SHIFT)) & CAAM_DMA0_AID_ENB_AID3E_MASK)
12160 
12161 #define CAAM_DMA0_AID_ENB_AID4E_MASK             (0x10U)
12162 #define CAAM_DMA0_AID_ENB_AID4E_SHIFT            (4U)
12163 #define CAAM_DMA0_AID_ENB_AID4E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID4E_SHIFT)) & CAAM_DMA0_AID_ENB_AID4E_MASK)
12164 
12165 #define CAAM_DMA0_AID_ENB_AID5E_MASK             (0x20U)
12166 #define CAAM_DMA0_AID_ENB_AID5E_SHIFT            (5U)
12167 #define CAAM_DMA0_AID_ENB_AID5E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID5E_SHIFT)) & CAAM_DMA0_AID_ENB_AID5E_MASK)
12168 
12169 #define CAAM_DMA0_AID_ENB_AID6E_MASK             (0x40U)
12170 #define CAAM_DMA0_AID_ENB_AID6E_SHIFT            (6U)
12171 #define CAAM_DMA0_AID_ENB_AID6E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID6E_SHIFT)) & CAAM_DMA0_AID_ENB_AID6E_MASK)
12172 
12173 #define CAAM_DMA0_AID_ENB_AID7E_MASK             (0x80U)
12174 #define CAAM_DMA0_AID_ENB_AID7E_SHIFT            (7U)
12175 #define CAAM_DMA0_AID_ENB_AID7E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID7E_SHIFT)) & CAAM_DMA0_AID_ENB_AID7E_MASK)
12176 
12177 #define CAAM_DMA0_AID_ENB_AID8E_MASK             (0x100U)
12178 #define CAAM_DMA0_AID_ENB_AID8E_SHIFT            (8U)
12179 #define CAAM_DMA0_AID_ENB_AID8E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID8E_SHIFT)) & CAAM_DMA0_AID_ENB_AID8E_MASK)
12180 
12181 #define CAAM_DMA0_AID_ENB_AID9E_MASK             (0x200U)
12182 #define CAAM_DMA0_AID_ENB_AID9E_SHIFT            (9U)
12183 #define CAAM_DMA0_AID_ENB_AID9E(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID9E_SHIFT)) & CAAM_DMA0_AID_ENB_AID9E_MASK)
12184 
12185 #define CAAM_DMA0_AID_ENB_AID10E_MASK            (0x400U)
12186 #define CAAM_DMA0_AID_ENB_AID10E_SHIFT           (10U)
12187 #define CAAM_DMA0_AID_ENB_AID10E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID10E_SHIFT)) & CAAM_DMA0_AID_ENB_AID10E_MASK)
12188 
12189 #define CAAM_DMA0_AID_ENB_AID11E_MASK            (0x800U)
12190 #define CAAM_DMA0_AID_ENB_AID11E_SHIFT           (11U)
12191 #define CAAM_DMA0_AID_ENB_AID11E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID11E_SHIFT)) & CAAM_DMA0_AID_ENB_AID11E_MASK)
12192 
12193 #define CAAM_DMA0_AID_ENB_AID12E_MASK            (0x1000U)
12194 #define CAAM_DMA0_AID_ENB_AID12E_SHIFT           (12U)
12195 #define CAAM_DMA0_AID_ENB_AID12E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID12E_SHIFT)) & CAAM_DMA0_AID_ENB_AID12E_MASK)
12196 
12197 #define CAAM_DMA0_AID_ENB_AID13E_MASK            (0x2000U)
12198 #define CAAM_DMA0_AID_ENB_AID13E_SHIFT           (13U)
12199 #define CAAM_DMA0_AID_ENB_AID13E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID13E_SHIFT)) & CAAM_DMA0_AID_ENB_AID13E_MASK)
12200 
12201 #define CAAM_DMA0_AID_ENB_AID14E_MASK            (0x4000U)
12202 #define CAAM_DMA0_AID_ENB_AID14E_SHIFT           (14U)
12203 #define CAAM_DMA0_AID_ENB_AID14E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID14E_SHIFT)) & CAAM_DMA0_AID_ENB_AID14E_MASK)
12204 
12205 #define CAAM_DMA0_AID_ENB_AID15E_MASK            (0x8000U)
12206 #define CAAM_DMA0_AID_ENB_AID15E_SHIFT           (15U)
12207 #define CAAM_DMA0_AID_ENB_AID15E(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AID_ENB_AID15E_SHIFT)) & CAAM_DMA0_AID_ENB_AID15E_MASK)
12208 /*! @} */
12209 
12210 /*! @name DMA0_ARD_TC - DMA0 AXI Read Timing Check Register */
12211 /*! @{ */
12212 
12213 #define CAAM_DMA0_ARD_TC_ARSC_MASK               (0xFFFFFU)
12214 #define CAAM_DMA0_ARD_TC_ARSC_SHIFT              (0U)
12215 #define CAAM_DMA0_ARD_TC_ARSC(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARSC_SHIFT)) & CAAM_DMA0_ARD_TC_ARSC_MASK)
12216 
12217 #define CAAM_DMA0_ARD_TC_ARLC_MASK               (0xFFFFF000000U)
12218 #define CAAM_DMA0_ARD_TC_ARLC_SHIFT              (24U)
12219 #define CAAM_DMA0_ARD_TC_ARLC(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARLC_SHIFT)) & CAAM_DMA0_ARD_TC_ARLC_MASK)
12220 
12221 #define CAAM_DMA0_ARD_TC_ARL_MASK                (0xFFF000000000000U)
12222 #define CAAM_DMA0_ARD_TC_ARL_SHIFT               (48U)
12223 #define CAAM_DMA0_ARD_TC_ARL(x)                  (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARL_SHIFT)) & CAAM_DMA0_ARD_TC_ARL_MASK)
12224 
12225 #define CAAM_DMA0_ARD_TC_ARTL_MASK               (0x1000000000000000U)
12226 #define CAAM_DMA0_ARD_TC_ARTL_SHIFT              (60U)
12227 #define CAAM_DMA0_ARD_TC_ARTL(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARTL_SHIFT)) & CAAM_DMA0_ARD_TC_ARTL_MASK)
12228 
12229 #define CAAM_DMA0_ARD_TC_ARTT_MASK               (0x2000000000000000U)
12230 #define CAAM_DMA0_ARD_TC_ARTT_SHIFT              (61U)
12231 #define CAAM_DMA0_ARD_TC_ARTT(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARTT_SHIFT)) & CAAM_DMA0_ARD_TC_ARTT_MASK)
12232 
12233 #define CAAM_DMA0_ARD_TC_ARCT_MASK               (0x4000000000000000U)
12234 #define CAAM_DMA0_ARD_TC_ARCT_SHIFT              (62U)
12235 #define CAAM_DMA0_ARD_TC_ARCT(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARCT_SHIFT)) & CAAM_DMA0_ARD_TC_ARCT_MASK)
12236 
12237 #define CAAM_DMA0_ARD_TC_ARTCE_MASK              (0x8000000000000000U)
12238 #define CAAM_DMA0_ARD_TC_ARTCE_SHIFT             (63U)
12239 #define CAAM_DMA0_ARD_TC_ARTCE(x)                (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_ARD_TC_ARTCE_SHIFT)) & CAAM_DMA0_ARD_TC_ARTCE_MASK)
12240 /*! @} */
12241 
12242 /*! @name DMA0_ARD_LAT - DMA0 Read Timing Check Latency Register */
12243 /*! @{ */
12244 
12245 #define CAAM_DMA0_ARD_LAT_SARL_MASK              (0xFFFFFFFFU)
12246 #define CAAM_DMA0_ARD_LAT_SARL_SHIFT             (0U)
12247 #define CAAM_DMA0_ARD_LAT_SARL(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_ARD_LAT_SARL_SHIFT)) & CAAM_DMA0_ARD_LAT_SARL_MASK)
12248 /*! @} */
12249 
12250 /*! @name DMA0_AWR_TC - DMA0 AXI Write Timing Check Register */
12251 /*! @{ */
12252 
12253 #define CAAM_DMA0_AWR_TC_AWSC_MASK               (0xFFFFFU)
12254 #define CAAM_DMA0_AWR_TC_AWSC_SHIFT              (0U)
12255 #define CAAM_DMA0_AWR_TC_AWSC(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWSC_SHIFT)) & CAAM_DMA0_AWR_TC_AWSC_MASK)
12256 
12257 #define CAAM_DMA0_AWR_TC_AWLC_MASK               (0xFFFFF000000U)
12258 #define CAAM_DMA0_AWR_TC_AWLC_SHIFT              (24U)
12259 #define CAAM_DMA0_AWR_TC_AWLC(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWLC_SHIFT)) & CAAM_DMA0_AWR_TC_AWLC_MASK)
12260 
12261 #define CAAM_DMA0_AWR_TC_AWL_MASK                (0xFFF000000000000U)
12262 #define CAAM_DMA0_AWR_TC_AWL_SHIFT               (48U)
12263 #define CAAM_DMA0_AWR_TC_AWL(x)                  (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWL_SHIFT)) & CAAM_DMA0_AWR_TC_AWL_MASK)
12264 
12265 #define CAAM_DMA0_AWR_TC_AWTT_MASK               (0x2000000000000000U)
12266 #define CAAM_DMA0_AWR_TC_AWTT_SHIFT              (61U)
12267 #define CAAM_DMA0_AWR_TC_AWTT(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWTT_SHIFT)) & CAAM_DMA0_AWR_TC_AWTT_MASK)
12268 
12269 #define CAAM_DMA0_AWR_TC_AWCT_MASK               (0x4000000000000000U)
12270 #define CAAM_DMA0_AWR_TC_AWCT_SHIFT              (62U)
12271 #define CAAM_DMA0_AWR_TC_AWCT(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWCT_SHIFT)) & CAAM_DMA0_AWR_TC_AWCT_MASK)
12272 
12273 #define CAAM_DMA0_AWR_TC_AWTCE_MASK              (0x8000000000000000U)
12274 #define CAAM_DMA0_AWR_TC_AWTCE_SHIFT             (63U)
12275 #define CAAM_DMA0_AWR_TC_AWTCE(x)                (((uint64_t)(((uint64_t)(x)) << CAAM_DMA0_AWR_TC_AWTCE_SHIFT)) & CAAM_DMA0_AWR_TC_AWTCE_MASK)
12276 /*! @} */
12277 
12278 /*! @name DMA0_AWR_LAT - DMA0 Write Timing Check Latency Register */
12279 /*! @{ */
12280 
12281 #define CAAM_DMA0_AWR_LAT_SAWL_MASK              (0xFFFFFFFFU)
12282 #define CAAM_DMA0_AWR_LAT_SAWL_SHIFT             (0U)
12283 #define CAAM_DMA0_AWR_LAT_SAWL(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DMA0_AWR_LAT_SAWL_SHIFT)) & CAAM_DMA0_AWR_LAT_SAWL_MASK)
12284 /*! @} */
12285 
12286 /*! @name MPPKR - Manufacturing Protection Private Key Register */
12287 /*! @{ */
12288 
12289 #define CAAM_MPPKR_MPPrivK_MASK                  (0xFFU)
12290 #define CAAM_MPPKR_MPPrivK_SHIFT                 (0U)
12291 #define CAAM_MPPKR_MPPrivK(x)                    (((uint8_t)(((uint8_t)(x)) << CAAM_MPPKR_MPPrivK_SHIFT)) & CAAM_MPPKR_MPPrivK_MASK)
12292 /*! @} */
12293 
12294 /* The count of CAAM_MPPKR */
12295 #define CAAM_MPPKR_COUNT                         (64U)
12296 
12297 /*! @name MPMR - Manufacturing Protection Message Register */
12298 /*! @{ */
12299 
12300 #define CAAM_MPMR_MPMSG_MASK                     (0xFFU)
12301 #define CAAM_MPMR_MPMSG_SHIFT                    (0U)
12302 #define CAAM_MPMR_MPMSG(x)                       (((uint8_t)(((uint8_t)(x)) << CAAM_MPMR_MPMSG_SHIFT)) & CAAM_MPMR_MPMSG_MASK)
12303 /*! @} */
12304 
12305 /* The count of CAAM_MPMR */
12306 #define CAAM_MPMR_COUNT                          (32U)
12307 
12308 /*! @name MPTESTR - Manufacturing Protection Test Register */
12309 /*! @{ */
12310 
12311 #define CAAM_MPTESTR_TEST_VALUE_MASK             (0xFFU)
12312 #define CAAM_MPTESTR_TEST_VALUE_SHIFT            (0U)
12313 #define CAAM_MPTESTR_TEST_VALUE(x)               (((uint8_t)(((uint8_t)(x)) << CAAM_MPTESTR_TEST_VALUE_SHIFT)) & CAAM_MPTESTR_TEST_VALUE_MASK)
12314 /*! @} */
12315 
12316 /* The count of CAAM_MPTESTR */
12317 #define CAAM_MPTESTR_COUNT                       (32U)
12318 
12319 /*! @name MPECC - Manufacturing Protection ECC Register */
12320 /*! @{ */
12321 
12322 #define CAAM_MPECC_MP_SYNDROME_MASK              (0x1FF0000U)
12323 #define CAAM_MPECC_MP_SYNDROME_SHIFT             (16U)
12324 /*! MP_SYNDROME
12325  *  0b000000000..The MP Key in the SFP passes the ECC check.
12326  *  0b000000001-0b111111111..The MP Key in the SFP fails the ECC check, and this is the ECC failure syndrome.
12327  */
12328 #define CAAM_MPECC_MP_SYNDROME(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_MPECC_MP_SYNDROME_SHIFT)) & CAAM_MPECC_MP_SYNDROME_MASK)
12329 
12330 #define CAAM_MPECC_MP_ZERO_MASK                  (0x8000000U)
12331 #define CAAM_MPECC_MP_ZERO_SHIFT                 (27U)
12332 /*! MP_ZERO
12333  *  0b0..The MP Key in the SFP has a non-zero value.
12334  *  0b1..The MP Key in the SFP is all zeros (unprogrammed).
12335  */
12336 #define CAAM_MPECC_MP_ZERO(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_MPECC_MP_ZERO_SHIFT)) & CAAM_MPECC_MP_ZERO_MASK)
12337 /*! @} */
12338 
12339 /*! @name JDKEKR - Job Descriptor Key Encryption Key Register */
12340 /*! @{ */
12341 
12342 #define CAAM_JDKEKR_JDKEK_MASK                   (0xFFFFFFFFU)
12343 #define CAAM_JDKEKR_JDKEK_SHIFT                  (0U)
12344 #define CAAM_JDKEKR_JDKEK(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_JDKEKR_JDKEK_SHIFT)) & CAAM_JDKEKR_JDKEK_MASK)
12345 /*! @} */
12346 
12347 /* The count of CAAM_JDKEKR */
12348 #define CAAM_JDKEKR_COUNT                        (8U)
12349 
12350 /*! @name TDKEKR - Trusted Descriptor Key Encryption Key Register */
12351 /*! @{ */
12352 
12353 #define CAAM_TDKEKR_TDKEK_MASK                   (0xFFFFFFFFU)
12354 #define CAAM_TDKEKR_TDKEK_SHIFT                  (0U)
12355 #define CAAM_TDKEKR_TDKEK(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_TDKEKR_TDKEK_SHIFT)) & CAAM_TDKEKR_TDKEK_MASK)
12356 /*! @} */
12357 
12358 /* The count of CAAM_TDKEKR */
12359 #define CAAM_TDKEKR_COUNT                        (8U)
12360 
12361 /*! @name TDSKR - Trusted Descriptor Signing Key Register */
12362 /*! @{ */
12363 
12364 #define CAAM_TDSKR_TDSK_MASK                     (0xFFFFFFFFU)
12365 #define CAAM_TDSKR_TDSK_SHIFT                    (0U)
12366 #define CAAM_TDSKR_TDSK(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_TDSKR_TDSK_SHIFT)) & CAAM_TDSKR_TDSK_MASK)
12367 /*! @} */
12368 
12369 /* The count of CAAM_TDSKR */
12370 #define CAAM_TDSKR_COUNT                         (8U)
12371 
12372 /*! @name SKNR - Secure Key Nonce Register */
12373 /*! @{ */
12374 
12375 #define CAAM_SKNR_SK_NONCE_LS_MASK               (0xFFFFFFFFU)
12376 #define CAAM_SKNR_SK_NONCE_LS_SHIFT              (0U)
12377 #define CAAM_SKNR_SK_NONCE_LS(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_SKNR_SK_NONCE_LS_SHIFT)) & CAAM_SKNR_SK_NONCE_LS_MASK)
12378 
12379 #define CAAM_SKNR_SK_NONCE_MS_MASK               (0x7FFF00000000U)
12380 #define CAAM_SKNR_SK_NONCE_MS_SHIFT              (32U)
12381 #define CAAM_SKNR_SK_NONCE_MS(x)                 (((uint64_t)(((uint64_t)(x)) << CAAM_SKNR_SK_NONCE_MS_SHIFT)) & CAAM_SKNR_SK_NONCE_MS_MASK)
12382 /*! @} */
12383 
12384 /*! @name DMA_STA - DMA Status Register */
12385 /*! @{ */
12386 
12387 #define CAAM_DMA_STA_DMA0_ETIF_MASK              (0x1FU)
12388 #define CAAM_DMA_STA_DMA0_ETIF_SHIFT             (0U)
12389 #define CAAM_DMA_STA_DMA0_ETIF(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_STA_DMA0_ETIF_SHIFT)) & CAAM_DMA_STA_DMA0_ETIF_MASK)
12390 
12391 #define CAAM_DMA_STA_DMA0_ITIF_MASK              (0x20U)
12392 #define CAAM_DMA_STA_DMA0_ITIF_SHIFT             (5U)
12393 #define CAAM_DMA_STA_DMA0_ITIF(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_STA_DMA0_ITIF_SHIFT)) & CAAM_DMA_STA_DMA0_ITIF_MASK)
12394 
12395 #define CAAM_DMA_STA_DMA0_IDLE_MASK              (0x80U)
12396 #define CAAM_DMA_STA_DMA0_IDLE_SHIFT             (7U)
12397 #define CAAM_DMA_STA_DMA0_IDLE(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_STA_DMA0_IDLE_SHIFT)) & CAAM_DMA_STA_DMA0_IDLE_MASK)
12398 /*! @} */
12399 
12400 /*! @name DMA_X_AID_7_4_MAP - DMA_X_AID_7_4_MAP */
12401 /*! @{ */
12402 
12403 #define CAAM_DMA_X_AID_7_4_MAP_AID4_BID_MASK     (0xFFU)
12404 #define CAAM_DMA_X_AID_7_4_MAP_AID4_BID_SHIFT    (0U)
12405 #define CAAM_DMA_X_AID_7_4_MAP_AID4_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_7_4_MAP_AID4_BID_SHIFT)) & CAAM_DMA_X_AID_7_4_MAP_AID4_BID_MASK)
12406 
12407 #define CAAM_DMA_X_AID_7_4_MAP_AID5_BID_MASK     (0xFF00U)
12408 #define CAAM_DMA_X_AID_7_4_MAP_AID5_BID_SHIFT    (8U)
12409 #define CAAM_DMA_X_AID_7_4_MAP_AID5_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_7_4_MAP_AID5_BID_SHIFT)) & CAAM_DMA_X_AID_7_4_MAP_AID5_BID_MASK)
12410 
12411 #define CAAM_DMA_X_AID_7_4_MAP_AID6_BID_MASK     (0xFF0000U)
12412 #define CAAM_DMA_X_AID_7_4_MAP_AID6_BID_SHIFT    (16U)
12413 #define CAAM_DMA_X_AID_7_4_MAP_AID6_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_7_4_MAP_AID6_BID_SHIFT)) & CAAM_DMA_X_AID_7_4_MAP_AID6_BID_MASK)
12414 
12415 #define CAAM_DMA_X_AID_7_4_MAP_AID7_BID_MASK     (0xFF000000U)
12416 #define CAAM_DMA_X_AID_7_4_MAP_AID7_BID_SHIFT    (24U)
12417 #define CAAM_DMA_X_AID_7_4_MAP_AID7_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_7_4_MAP_AID7_BID_SHIFT)) & CAAM_DMA_X_AID_7_4_MAP_AID7_BID_MASK)
12418 /*! @} */
12419 
12420 /*! @name DMA_X_AID_3_0_MAP - DMA_X_AID_3_0_MAP */
12421 /*! @{ */
12422 
12423 #define CAAM_DMA_X_AID_3_0_MAP_AID0_BID_MASK     (0xFFU)
12424 #define CAAM_DMA_X_AID_3_0_MAP_AID0_BID_SHIFT    (0U)
12425 #define CAAM_DMA_X_AID_3_0_MAP_AID0_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_3_0_MAP_AID0_BID_SHIFT)) & CAAM_DMA_X_AID_3_0_MAP_AID0_BID_MASK)
12426 
12427 #define CAAM_DMA_X_AID_3_0_MAP_AID1_BID_MASK     (0xFF00U)
12428 #define CAAM_DMA_X_AID_3_0_MAP_AID1_BID_SHIFT    (8U)
12429 #define CAAM_DMA_X_AID_3_0_MAP_AID1_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_3_0_MAP_AID1_BID_SHIFT)) & CAAM_DMA_X_AID_3_0_MAP_AID1_BID_MASK)
12430 
12431 #define CAAM_DMA_X_AID_3_0_MAP_AID2_BID_MASK     (0xFF0000U)
12432 #define CAAM_DMA_X_AID_3_0_MAP_AID2_BID_SHIFT    (16U)
12433 #define CAAM_DMA_X_AID_3_0_MAP_AID2_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_3_0_MAP_AID2_BID_SHIFT)) & CAAM_DMA_X_AID_3_0_MAP_AID2_BID_MASK)
12434 
12435 #define CAAM_DMA_X_AID_3_0_MAP_AID3_BID_MASK     (0xFF000000U)
12436 #define CAAM_DMA_X_AID_3_0_MAP_AID3_BID_SHIFT    (24U)
12437 #define CAAM_DMA_X_AID_3_0_MAP_AID3_BID(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_3_0_MAP_AID3_BID_SHIFT)) & CAAM_DMA_X_AID_3_0_MAP_AID3_BID_MASK)
12438 /*! @} */
12439 
12440 /*! @name DMA_X_AID_15_12_MAP - DMA_X_AID_15_12_MAP */
12441 /*! @{ */
12442 
12443 #define CAAM_DMA_X_AID_15_12_MAP_AID12_BID_MASK  (0xFFU)
12444 #define CAAM_DMA_X_AID_15_12_MAP_AID12_BID_SHIFT (0U)
12445 #define CAAM_DMA_X_AID_15_12_MAP_AID12_BID(x)    (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_12_MAP_AID12_BID_SHIFT)) & CAAM_DMA_X_AID_15_12_MAP_AID12_BID_MASK)
12446 
12447 #define CAAM_DMA_X_AID_15_12_MAP_AID13_BID_MASK  (0xFF00U)
12448 #define CAAM_DMA_X_AID_15_12_MAP_AID13_BID_SHIFT (8U)
12449 #define CAAM_DMA_X_AID_15_12_MAP_AID13_BID(x)    (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_12_MAP_AID13_BID_SHIFT)) & CAAM_DMA_X_AID_15_12_MAP_AID13_BID_MASK)
12450 
12451 #define CAAM_DMA_X_AID_15_12_MAP_AID14_BID_MASK  (0xFF0000U)
12452 #define CAAM_DMA_X_AID_15_12_MAP_AID14_BID_SHIFT (16U)
12453 #define CAAM_DMA_X_AID_15_12_MAP_AID14_BID(x)    (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_12_MAP_AID14_BID_SHIFT)) & CAAM_DMA_X_AID_15_12_MAP_AID14_BID_MASK)
12454 
12455 #define CAAM_DMA_X_AID_15_12_MAP_AID15_BID_MASK  (0xFF000000U)
12456 #define CAAM_DMA_X_AID_15_12_MAP_AID15_BID_SHIFT (24U)
12457 #define CAAM_DMA_X_AID_15_12_MAP_AID15_BID(x)    (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_12_MAP_AID15_BID_SHIFT)) & CAAM_DMA_X_AID_15_12_MAP_AID15_BID_MASK)
12458 /*! @} */
12459 
12460 /*! @name DMA_X_AID_11_8_MAP - DMA_X_AID_11_8_MAP */
12461 /*! @{ */
12462 
12463 #define CAAM_DMA_X_AID_11_8_MAP_AID8_BID_MASK    (0xFFU)
12464 #define CAAM_DMA_X_AID_11_8_MAP_AID8_BID_SHIFT   (0U)
12465 #define CAAM_DMA_X_AID_11_8_MAP_AID8_BID(x)      (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_11_8_MAP_AID8_BID_SHIFT)) & CAAM_DMA_X_AID_11_8_MAP_AID8_BID_MASK)
12466 
12467 #define CAAM_DMA_X_AID_11_8_MAP_AID9_BID_MASK    (0xFF00U)
12468 #define CAAM_DMA_X_AID_11_8_MAP_AID9_BID_SHIFT   (8U)
12469 #define CAAM_DMA_X_AID_11_8_MAP_AID9_BID(x)      (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_11_8_MAP_AID9_BID_SHIFT)) & CAAM_DMA_X_AID_11_8_MAP_AID9_BID_MASK)
12470 
12471 #define CAAM_DMA_X_AID_11_8_MAP_AID10_BID_MASK   (0xFF0000U)
12472 #define CAAM_DMA_X_AID_11_8_MAP_AID10_BID_SHIFT  (16U)
12473 #define CAAM_DMA_X_AID_11_8_MAP_AID10_BID(x)     (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_11_8_MAP_AID10_BID_SHIFT)) & CAAM_DMA_X_AID_11_8_MAP_AID10_BID_MASK)
12474 
12475 #define CAAM_DMA_X_AID_11_8_MAP_AID11_BID_MASK   (0xFF000000U)
12476 #define CAAM_DMA_X_AID_11_8_MAP_AID11_BID_SHIFT  (24U)
12477 #define CAAM_DMA_X_AID_11_8_MAP_AID11_BID(x)     (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_11_8_MAP_AID11_BID_SHIFT)) & CAAM_DMA_X_AID_11_8_MAP_AID11_BID_MASK)
12478 /*! @} */
12479 
12480 /*! @name DMA_X_AID_15_0_EN - DMA_X AXI ID Map Enable Register */
12481 /*! @{ */
12482 
12483 #define CAAM_DMA_X_AID_15_0_EN_AID0E_MASK        (0x1U)
12484 #define CAAM_DMA_X_AID_15_0_EN_AID0E_SHIFT       (0U)
12485 #define CAAM_DMA_X_AID_15_0_EN_AID0E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID0E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID0E_MASK)
12486 
12487 #define CAAM_DMA_X_AID_15_0_EN_AID1E_MASK        (0x2U)
12488 #define CAAM_DMA_X_AID_15_0_EN_AID1E_SHIFT       (1U)
12489 #define CAAM_DMA_X_AID_15_0_EN_AID1E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID1E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID1E_MASK)
12490 
12491 #define CAAM_DMA_X_AID_15_0_EN_AID2E_MASK        (0x4U)
12492 #define CAAM_DMA_X_AID_15_0_EN_AID2E_SHIFT       (2U)
12493 #define CAAM_DMA_X_AID_15_0_EN_AID2E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID2E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID2E_MASK)
12494 
12495 #define CAAM_DMA_X_AID_15_0_EN_AID3E_MASK        (0x8U)
12496 #define CAAM_DMA_X_AID_15_0_EN_AID3E_SHIFT       (3U)
12497 #define CAAM_DMA_X_AID_15_0_EN_AID3E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID3E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID3E_MASK)
12498 
12499 #define CAAM_DMA_X_AID_15_0_EN_AID4E_MASK        (0x10U)
12500 #define CAAM_DMA_X_AID_15_0_EN_AID4E_SHIFT       (4U)
12501 #define CAAM_DMA_X_AID_15_0_EN_AID4E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID4E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID4E_MASK)
12502 
12503 #define CAAM_DMA_X_AID_15_0_EN_AID5E_MASK        (0x20U)
12504 #define CAAM_DMA_X_AID_15_0_EN_AID5E_SHIFT       (5U)
12505 #define CAAM_DMA_X_AID_15_0_EN_AID5E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID5E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID5E_MASK)
12506 
12507 #define CAAM_DMA_X_AID_15_0_EN_AID6E_MASK        (0x40U)
12508 #define CAAM_DMA_X_AID_15_0_EN_AID6E_SHIFT       (6U)
12509 #define CAAM_DMA_X_AID_15_0_EN_AID6E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID6E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID6E_MASK)
12510 
12511 #define CAAM_DMA_X_AID_15_0_EN_AID7E_MASK        (0x80U)
12512 #define CAAM_DMA_X_AID_15_0_EN_AID7E_SHIFT       (7U)
12513 #define CAAM_DMA_X_AID_15_0_EN_AID7E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID7E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID7E_MASK)
12514 
12515 #define CAAM_DMA_X_AID_15_0_EN_AID8E_MASK        (0x100U)
12516 #define CAAM_DMA_X_AID_15_0_EN_AID8E_SHIFT       (8U)
12517 #define CAAM_DMA_X_AID_15_0_EN_AID8E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID8E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID8E_MASK)
12518 
12519 #define CAAM_DMA_X_AID_15_0_EN_AID9E_MASK        (0x200U)
12520 #define CAAM_DMA_X_AID_15_0_EN_AID9E_SHIFT       (9U)
12521 #define CAAM_DMA_X_AID_15_0_EN_AID9E(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID9E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID9E_MASK)
12522 
12523 #define CAAM_DMA_X_AID_15_0_EN_AID10E_MASK       (0x400U)
12524 #define CAAM_DMA_X_AID_15_0_EN_AID10E_SHIFT      (10U)
12525 #define CAAM_DMA_X_AID_15_0_EN_AID10E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID10E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID10E_MASK)
12526 
12527 #define CAAM_DMA_X_AID_15_0_EN_AID11E_MASK       (0x800U)
12528 #define CAAM_DMA_X_AID_15_0_EN_AID11E_SHIFT      (11U)
12529 #define CAAM_DMA_X_AID_15_0_EN_AID11E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID11E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID11E_MASK)
12530 
12531 #define CAAM_DMA_X_AID_15_0_EN_AID12E_MASK       (0x1000U)
12532 #define CAAM_DMA_X_AID_15_0_EN_AID12E_SHIFT      (12U)
12533 #define CAAM_DMA_X_AID_15_0_EN_AID12E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID12E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID12E_MASK)
12534 
12535 #define CAAM_DMA_X_AID_15_0_EN_AID13E_MASK       (0x2000U)
12536 #define CAAM_DMA_X_AID_15_0_EN_AID13E_SHIFT      (13U)
12537 #define CAAM_DMA_X_AID_15_0_EN_AID13E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID13E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID13E_MASK)
12538 
12539 #define CAAM_DMA_X_AID_15_0_EN_AID14E_MASK       (0x4000U)
12540 #define CAAM_DMA_X_AID_15_0_EN_AID14E_SHIFT      (14U)
12541 #define CAAM_DMA_X_AID_15_0_EN_AID14E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID14E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID14E_MASK)
12542 
12543 #define CAAM_DMA_X_AID_15_0_EN_AID15E_MASK       (0x8000U)
12544 #define CAAM_DMA_X_AID_15_0_EN_AID15E_SHIFT      (15U)
12545 #define CAAM_DMA_X_AID_15_0_EN_AID15E(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AID_15_0_EN_AID15E_SHIFT)) & CAAM_DMA_X_AID_15_0_EN_AID15E_MASK)
12546 /*! @} */
12547 
12548 /*! @name DMA_X_ARTC_CTL - DMA_X AXI Read Timing Check Control Register */
12549 /*! @{ */
12550 
12551 #define CAAM_DMA_X_ARTC_CTL_ART_MASK             (0xFFFU)
12552 #define CAAM_DMA_X_ARTC_CTL_ART_SHIFT            (0U)
12553 #define CAAM_DMA_X_ARTC_CTL_ART(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ART_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ART_MASK)
12554 
12555 #define CAAM_DMA_X_ARTC_CTL_ARL_MASK             (0xFFF0000U)
12556 #define CAAM_DMA_X_ARTC_CTL_ARL_SHIFT            (16U)
12557 #define CAAM_DMA_X_ARTC_CTL_ARL(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ARL_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ARL_MASK)
12558 
12559 #define CAAM_DMA_X_ARTC_CTL_ARTL_MASK            (0x10000000U)
12560 #define CAAM_DMA_X_ARTC_CTL_ARTL_SHIFT           (28U)
12561 #define CAAM_DMA_X_ARTC_CTL_ARTL(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ARTL_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ARTL_MASK)
12562 
12563 #define CAAM_DMA_X_ARTC_CTL_ARTT_MASK            (0x20000000U)
12564 #define CAAM_DMA_X_ARTC_CTL_ARTT_SHIFT           (29U)
12565 #define CAAM_DMA_X_ARTC_CTL_ARTT(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ARTT_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ARTT_MASK)
12566 
12567 #define CAAM_DMA_X_ARTC_CTL_ARCT_MASK            (0x40000000U)
12568 #define CAAM_DMA_X_ARTC_CTL_ARCT_SHIFT           (30U)
12569 #define CAAM_DMA_X_ARTC_CTL_ARCT(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ARCT_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ARCT_MASK)
12570 
12571 #define CAAM_DMA_X_ARTC_CTL_ARTCE_MASK           (0x80000000U)
12572 #define CAAM_DMA_X_ARTC_CTL_ARTCE_SHIFT          (31U)
12573 #define CAAM_DMA_X_ARTC_CTL_ARTCE(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_CTL_ARTCE_SHIFT)) & CAAM_DMA_X_ARTC_CTL_ARTCE_MASK)
12574 /*! @} */
12575 
12576 /*! @name DMA_X_ARTC_LC - DMA_X AXI Read Timing Check Late Count Register */
12577 /*! @{ */
12578 
12579 #define CAAM_DMA_X_ARTC_LC_ARLC_MASK             (0xFFFFFU)
12580 #define CAAM_DMA_X_ARTC_LC_ARLC_SHIFT            (0U)
12581 #define CAAM_DMA_X_ARTC_LC_ARLC(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_LC_ARLC_SHIFT)) & CAAM_DMA_X_ARTC_LC_ARLC_MASK)
12582 /*! @} */
12583 
12584 /*! @name DMA_X_ARTC_SC - DMA_X AXI Read Timing Check Sample Count Register */
12585 /*! @{ */
12586 
12587 #define CAAM_DMA_X_ARTC_SC_ARSC_MASK             (0xFFFFFU)
12588 #define CAAM_DMA_X_ARTC_SC_ARSC_SHIFT            (0U)
12589 #define CAAM_DMA_X_ARTC_SC_ARSC(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_SC_ARSC_SHIFT)) & CAAM_DMA_X_ARTC_SC_ARSC_MASK)
12590 /*! @} */
12591 
12592 /*! @name DMA_X_ARTC_LAT - DMA_X Read Timing Check Latency Register */
12593 /*! @{ */
12594 
12595 #define CAAM_DMA_X_ARTC_LAT_SARL_MASK            (0xFFFFFFFFU)
12596 #define CAAM_DMA_X_ARTC_LAT_SARL_SHIFT           (0U)
12597 #define CAAM_DMA_X_ARTC_LAT_SARL(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_ARTC_LAT_SARL_SHIFT)) & CAAM_DMA_X_ARTC_LAT_SARL_MASK)
12598 /*! @} */
12599 
12600 /*! @name DMA_X_AWTC_CTL - DMA_X AXI Write Timing Check Control Register */
12601 /*! @{ */
12602 
12603 #define CAAM_DMA_X_AWTC_CTL_AWT_MASK             (0xFFFU)
12604 #define CAAM_DMA_X_AWTC_CTL_AWT_SHIFT            (0U)
12605 #define CAAM_DMA_X_AWTC_CTL_AWT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_CTL_AWT_SHIFT)) & CAAM_DMA_X_AWTC_CTL_AWT_MASK)
12606 
12607 #define CAAM_DMA_X_AWTC_CTL_AWL_MASK             (0xFFF0000U)
12608 #define CAAM_DMA_X_AWTC_CTL_AWL_SHIFT            (16U)
12609 #define CAAM_DMA_X_AWTC_CTL_AWL(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_CTL_AWL_SHIFT)) & CAAM_DMA_X_AWTC_CTL_AWL_MASK)
12610 
12611 #define CAAM_DMA_X_AWTC_CTL_AWTT_MASK            (0x20000000U)
12612 #define CAAM_DMA_X_AWTC_CTL_AWTT_SHIFT           (29U)
12613 #define CAAM_DMA_X_AWTC_CTL_AWTT(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_CTL_AWTT_SHIFT)) & CAAM_DMA_X_AWTC_CTL_AWTT_MASK)
12614 
12615 #define CAAM_DMA_X_AWTC_CTL_AWCT_MASK            (0x40000000U)
12616 #define CAAM_DMA_X_AWTC_CTL_AWCT_SHIFT           (30U)
12617 #define CAAM_DMA_X_AWTC_CTL_AWCT(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_CTL_AWCT_SHIFT)) & CAAM_DMA_X_AWTC_CTL_AWCT_MASK)
12618 
12619 #define CAAM_DMA_X_AWTC_CTL_AWTCE_MASK           (0x80000000U)
12620 #define CAAM_DMA_X_AWTC_CTL_AWTCE_SHIFT          (31U)
12621 #define CAAM_DMA_X_AWTC_CTL_AWTCE(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_CTL_AWTCE_SHIFT)) & CAAM_DMA_X_AWTC_CTL_AWTCE_MASK)
12622 /*! @} */
12623 
12624 /*! @name DMA_X_AWTC_LC - DMA_X AXI Write Timing Check Late Count Register */
12625 /*! @{ */
12626 
12627 #define CAAM_DMA_X_AWTC_LC_AWLC_MASK             (0xFFFFFU)
12628 #define CAAM_DMA_X_AWTC_LC_AWLC_SHIFT            (0U)
12629 #define CAAM_DMA_X_AWTC_LC_AWLC(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_LC_AWLC_SHIFT)) & CAAM_DMA_X_AWTC_LC_AWLC_MASK)
12630 /*! @} */
12631 
12632 /*! @name DMA_X_AWTC_SC - DMA_X AXI Write Timing Check Sample Count Register */
12633 /*! @{ */
12634 
12635 #define CAAM_DMA_X_AWTC_SC_AWSC_MASK             (0xFFFFFU)
12636 #define CAAM_DMA_X_AWTC_SC_AWSC_SHIFT            (0U)
12637 #define CAAM_DMA_X_AWTC_SC_AWSC(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_SC_AWSC_SHIFT)) & CAAM_DMA_X_AWTC_SC_AWSC_MASK)
12638 /*! @} */
12639 
12640 /*! @name DMA_X_AWTC_LAT - DMA_X Write Timing Check Latency Register */
12641 /*! @{ */
12642 
12643 #define CAAM_DMA_X_AWTC_LAT_SAWL_MASK            (0xFFFFFFFFU)
12644 #define CAAM_DMA_X_AWTC_LAT_SAWL_SHIFT           (0U)
12645 #define CAAM_DMA_X_AWTC_LAT_SAWL(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_DMA_X_AWTC_LAT_SAWL_SHIFT)) & CAAM_DMA_X_AWTC_LAT_SAWL_MASK)
12646 /*! @} */
12647 
12648 /*! @name RTMCTL - RNG TRNG Miscellaneous Control Register */
12649 /*! @{ */
12650 
12651 #define CAAM_RTMCTL_SAMP_MODE_MASK               (0x3U)
12652 #define CAAM_RTMCTL_SAMP_MODE_SHIFT              (0U)
12653 /*! SAMP_MODE
12654  *  0b00..use Von Neumann data into both Entropy shifter and Statistical Checker
12655  *  0b01..use raw data into both Entropy shifter and Statistical Checker
12656  *  0b10..use Von Neumann data into Entropy shifter. Use raw data into Statistical Checker
12657  *  0b11..undefined/reserved.
12658  */
12659 #define CAAM_RTMCTL_SAMP_MODE(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_SAMP_MODE_SHIFT)) & CAAM_RTMCTL_SAMP_MODE_MASK)
12660 
12661 #define CAAM_RTMCTL_OSC_DIV_MASK                 (0xCU)
12662 #define CAAM_RTMCTL_OSC_DIV_SHIFT                (2U)
12663 /*! OSC_DIV
12664  *  0b00..use ring oscillator with no divide
12665  *  0b01..use ring oscillator divided-by-2
12666  *  0b10..use ring oscillator divided-by-4
12667  *  0b11..use ring oscillator divided-by-8
12668  */
12669 #define CAAM_RTMCTL_OSC_DIV(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_OSC_DIV_SHIFT)) & CAAM_RTMCTL_OSC_DIV_MASK)
12670 
12671 #define CAAM_RTMCTL_CLK_OUT_EN_MASK              (0x10U)
12672 #define CAAM_RTMCTL_CLK_OUT_EN_SHIFT             (4U)
12673 #define CAAM_RTMCTL_CLK_OUT_EN(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_CLK_OUT_EN_SHIFT)) & CAAM_RTMCTL_CLK_OUT_EN_MASK)
12674 
12675 #define CAAM_RTMCTL_TRNG_ACC_MASK                (0x20U)
12676 #define CAAM_RTMCTL_TRNG_ACC_SHIFT               (5U)
12677 #define CAAM_RTMCTL_TRNG_ACC(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_TRNG_ACC_SHIFT)) & CAAM_RTMCTL_TRNG_ACC_MASK)
12678 
12679 #define CAAM_RTMCTL_RST_DEF_MASK                 (0x40U)
12680 #define CAAM_RTMCTL_RST_DEF_SHIFT                (6U)
12681 #define CAAM_RTMCTL_RST_DEF(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_RST_DEF_SHIFT)) & CAAM_RTMCTL_RST_DEF_MASK)
12682 
12683 #define CAAM_RTMCTL_FORCE_SYSCLK_MASK            (0x80U)
12684 #define CAAM_RTMCTL_FORCE_SYSCLK_SHIFT           (7U)
12685 #define CAAM_RTMCTL_FORCE_SYSCLK(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_FORCE_SYSCLK_SHIFT)) & CAAM_RTMCTL_FORCE_SYSCLK_MASK)
12686 
12687 #define CAAM_RTMCTL_FCT_FAIL_MASK                (0x100U)
12688 #define CAAM_RTMCTL_FCT_FAIL_SHIFT               (8U)
12689 #define CAAM_RTMCTL_FCT_FAIL(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_FCT_FAIL_SHIFT)) & CAAM_RTMCTL_FCT_FAIL_MASK)
12690 
12691 #define CAAM_RTMCTL_FCT_VAL_MASK                 (0x200U)
12692 #define CAAM_RTMCTL_FCT_VAL_SHIFT                (9U)
12693 #define CAAM_RTMCTL_FCT_VAL(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_FCT_VAL_SHIFT)) & CAAM_RTMCTL_FCT_VAL_MASK)
12694 
12695 #define CAAM_RTMCTL_ENT_VAL_MASK                 (0x400U)
12696 #define CAAM_RTMCTL_ENT_VAL_SHIFT                (10U)
12697 #define CAAM_RTMCTL_ENT_VAL(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_ENT_VAL_SHIFT)) & CAAM_RTMCTL_ENT_VAL_MASK)
12698 
12699 #define CAAM_RTMCTL_TST_OUT_MASK                 (0x800U)
12700 #define CAAM_RTMCTL_TST_OUT_SHIFT                (11U)
12701 #define CAAM_RTMCTL_TST_OUT(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_TST_OUT_SHIFT)) & CAAM_RTMCTL_TST_OUT_MASK)
12702 
12703 #define CAAM_RTMCTL_ERR_MASK                     (0x1000U)
12704 #define CAAM_RTMCTL_ERR_SHIFT                    (12U)
12705 #define CAAM_RTMCTL_ERR(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_ERR_SHIFT)) & CAAM_RTMCTL_ERR_MASK)
12706 
12707 #define CAAM_RTMCTL_TSTOP_OK_MASK                (0x2000U)
12708 #define CAAM_RTMCTL_TSTOP_OK_SHIFT               (13U)
12709 #define CAAM_RTMCTL_TSTOP_OK(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_TSTOP_OK_SHIFT)) & CAAM_RTMCTL_TSTOP_OK_MASK)
12710 
12711 #define CAAM_RTMCTL_PRGM_MASK                    (0x10000U)
12712 #define CAAM_RTMCTL_PRGM_SHIFT                   (16U)
12713 #define CAAM_RTMCTL_PRGM(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_RTMCTL_PRGM_SHIFT)) & CAAM_RTMCTL_PRGM_MASK)
12714 /*! @} */
12715 
12716 /*! @name RTSCMISC - RNG TRNG Statistical Check Miscellaneous Register */
12717 /*! @{ */
12718 
12719 #define CAAM_RTSCMISC_LRUN_MAX_MASK              (0xFFU)
12720 #define CAAM_RTSCMISC_LRUN_MAX_SHIFT             (0U)
12721 #define CAAM_RTSCMISC_LRUN_MAX(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCMISC_LRUN_MAX_SHIFT)) & CAAM_RTSCMISC_LRUN_MAX_MASK)
12722 
12723 #define CAAM_RTSCMISC_RTY_CNT_MASK               (0xF0000U)
12724 #define CAAM_RTSCMISC_RTY_CNT_SHIFT              (16U)
12725 #define CAAM_RTSCMISC_RTY_CNT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCMISC_RTY_CNT_SHIFT)) & CAAM_RTSCMISC_RTY_CNT_MASK)
12726 /*! @} */
12727 
12728 /*! @name RTPKRRNG - RNG TRNG Poker Range Register */
12729 /*! @{ */
12730 
12731 #define CAAM_RTPKRRNG_PKR_RNG_MASK               (0xFFFFU)
12732 #define CAAM_RTPKRRNG_PKR_RNG_SHIFT              (0U)
12733 #define CAAM_RTPKRRNG_PKR_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRRNG_PKR_RNG_SHIFT)) & CAAM_RTPKRRNG_PKR_RNG_MASK)
12734 /*! @} */
12735 
12736 /*! @name RTPKRMAX - RNG TRNG Poker Maximum Limit Register */
12737 /*! @{ */
12738 
12739 #define CAAM_RTPKRMAX_PKR_MAX_MASK               (0xFFFFFFU)
12740 #define CAAM_RTPKRMAX_PKR_MAX_SHIFT              (0U)
12741 #define CAAM_RTPKRMAX_PKR_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRMAX_PKR_MAX_SHIFT)) & CAAM_RTPKRMAX_PKR_MAX_MASK)
12742 /*! @} */
12743 
12744 /*! @name RTPKRSQ - RNG TRNG Poker Square Calculation Result Register */
12745 /*! @{ */
12746 
12747 #define CAAM_RTPKRSQ_PKR_SQ_MASK                 (0xFFFFFFU)
12748 #define CAAM_RTPKRSQ_PKR_SQ_SHIFT                (0U)
12749 #define CAAM_RTPKRSQ_PKR_SQ(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRSQ_PKR_SQ_SHIFT)) & CAAM_RTPKRSQ_PKR_SQ_MASK)
12750 /*! @} */
12751 
12752 /*! @name RTSDCTL - RNG TRNG Seed Control Register */
12753 /*! @{ */
12754 
12755 #define CAAM_RTSDCTL_SAMP_SIZE_MASK              (0xFFFFU)
12756 #define CAAM_RTSDCTL_SAMP_SIZE_SHIFT             (0U)
12757 #define CAAM_RTSDCTL_SAMP_SIZE(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTSDCTL_SAMP_SIZE_SHIFT)) & CAAM_RTSDCTL_SAMP_SIZE_MASK)
12758 
12759 #define CAAM_RTSDCTL_ENT_DLY_MASK                (0xFFFF0000U)
12760 #define CAAM_RTSDCTL_ENT_DLY_SHIFT               (16U)
12761 #define CAAM_RTSDCTL_ENT_DLY(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTSDCTL_ENT_DLY_SHIFT)) & CAAM_RTSDCTL_ENT_DLY_MASK)
12762 /*! @} */
12763 
12764 /*! @name RTSBLIM - RNG TRNG Sparse Bit Limit Register */
12765 /*! @{ */
12766 
12767 #define CAAM_RTSBLIM_SB_LIM_MASK                 (0x3FFU)
12768 #define CAAM_RTSBLIM_SB_LIM_SHIFT                (0U)
12769 #define CAAM_RTSBLIM_SB_LIM(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTSBLIM_SB_LIM_SHIFT)) & CAAM_RTSBLIM_SB_LIM_MASK)
12770 /*! @} */
12771 
12772 /*! @name RTTOTSAM - RNG TRNG Total Samples Register */
12773 /*! @{ */
12774 
12775 #define CAAM_RTTOTSAM_TOT_SAM_MASK               (0xFFFFFU)
12776 #define CAAM_RTTOTSAM_TOT_SAM_SHIFT              (0U)
12777 #define CAAM_RTTOTSAM_TOT_SAM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTTOTSAM_TOT_SAM_SHIFT)) & CAAM_RTTOTSAM_TOT_SAM_MASK)
12778 /*! @} */
12779 
12780 /*! @name RTFRQMIN - RNG TRNG Frequency Count Minimum Limit Register */
12781 /*! @{ */
12782 
12783 #define CAAM_RTFRQMIN_FRQ_MIN_MASK               (0x3FFFFFU)
12784 #define CAAM_RTFRQMIN_FRQ_MIN_SHIFT              (0U)
12785 #define CAAM_RTFRQMIN_FRQ_MIN(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTFRQMIN_FRQ_MIN_SHIFT)) & CAAM_RTFRQMIN_FRQ_MIN_MASK)
12786 /*! @} */
12787 
12788 /*! @name RTFRQCNT - RNG TRNG Frequency Count Register */
12789 /*! @{ */
12790 
12791 #define CAAM_RTFRQCNT_FRQ_CNT_MASK               (0x3FFFFFU)
12792 #define CAAM_RTFRQCNT_FRQ_CNT_SHIFT              (0U)
12793 #define CAAM_RTFRQCNT_FRQ_CNT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTFRQCNT_FRQ_CNT_SHIFT)) & CAAM_RTFRQCNT_FRQ_CNT_MASK)
12794 /*! @} */
12795 
12796 /*! @name RTSCMC - RNG TRNG Statistical Check Monobit Count Register */
12797 /*! @{ */
12798 
12799 #define CAAM_RTSCMC_MONO_CNT_MASK                (0xFFFFU)
12800 #define CAAM_RTSCMC_MONO_CNT_SHIFT               (0U)
12801 #define CAAM_RTSCMC_MONO_CNT(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCMC_MONO_CNT_SHIFT)) & CAAM_RTSCMC_MONO_CNT_MASK)
12802 /*! @} */
12803 
12804 /*! @name RTSCR1C - RNG TRNG Statistical Check Run Length 1 Count Register */
12805 /*! @{ */
12806 
12807 #define CAAM_RTSCR1C_R1_0_COUNT_MASK             (0x7FFFU)
12808 #define CAAM_RTSCR1C_R1_0_COUNT_SHIFT            (0U)
12809 #define CAAM_RTSCR1C_R1_0_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR1C_R1_0_COUNT_SHIFT)) & CAAM_RTSCR1C_R1_0_COUNT_MASK)
12810 
12811 #define CAAM_RTSCR1C_R1_1_COUNT_MASK             (0x7FFF0000U)
12812 #define CAAM_RTSCR1C_R1_1_COUNT_SHIFT            (16U)
12813 #define CAAM_RTSCR1C_R1_1_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR1C_R1_1_COUNT_SHIFT)) & CAAM_RTSCR1C_R1_1_COUNT_MASK)
12814 /*! @} */
12815 
12816 /*! @name RTSCR2C - RNG TRNG Statistical Check Run Length 2 Count Register */
12817 /*! @{ */
12818 
12819 #define CAAM_RTSCR2C_R2_0_COUNT_MASK             (0x3FFFU)
12820 #define CAAM_RTSCR2C_R2_0_COUNT_SHIFT            (0U)
12821 #define CAAM_RTSCR2C_R2_0_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR2C_R2_0_COUNT_SHIFT)) & CAAM_RTSCR2C_R2_0_COUNT_MASK)
12822 
12823 #define CAAM_RTSCR2C_R2_1_COUNT_MASK             (0x3FFF0000U)
12824 #define CAAM_RTSCR2C_R2_1_COUNT_SHIFT            (16U)
12825 #define CAAM_RTSCR2C_R2_1_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR2C_R2_1_COUNT_SHIFT)) & CAAM_RTSCR2C_R2_1_COUNT_MASK)
12826 /*! @} */
12827 
12828 /*! @name RTSCR3C - RNG TRNG Statistical Check Run Length 3 Count Register */
12829 /*! @{ */
12830 
12831 #define CAAM_RTSCR3C_R3_0_COUNT_MASK             (0x1FFFU)
12832 #define CAAM_RTSCR3C_R3_0_COUNT_SHIFT            (0U)
12833 #define CAAM_RTSCR3C_R3_0_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR3C_R3_0_COUNT_SHIFT)) & CAAM_RTSCR3C_R3_0_COUNT_MASK)
12834 
12835 #define CAAM_RTSCR3C_R3_1_COUNT_MASK             (0x1FFF0000U)
12836 #define CAAM_RTSCR3C_R3_1_COUNT_SHIFT            (16U)
12837 #define CAAM_RTSCR3C_R3_1_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR3C_R3_1_COUNT_SHIFT)) & CAAM_RTSCR3C_R3_1_COUNT_MASK)
12838 /*! @} */
12839 
12840 /*! @name RTSCR4C - RNG TRNG Statistical Check Run Length 4 Count Register */
12841 /*! @{ */
12842 
12843 #define CAAM_RTSCR4C_R4_0_COUNT_MASK             (0xFFFU)
12844 #define CAAM_RTSCR4C_R4_0_COUNT_SHIFT            (0U)
12845 #define CAAM_RTSCR4C_R4_0_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR4C_R4_0_COUNT_SHIFT)) & CAAM_RTSCR4C_R4_0_COUNT_MASK)
12846 
12847 #define CAAM_RTSCR4C_R4_1_COUNT_MASK             (0xFFF0000U)
12848 #define CAAM_RTSCR4C_R4_1_COUNT_SHIFT            (16U)
12849 #define CAAM_RTSCR4C_R4_1_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR4C_R4_1_COUNT_SHIFT)) & CAAM_RTSCR4C_R4_1_COUNT_MASK)
12850 /*! @} */
12851 
12852 /*! @name RTSCR5C - RNG TRNG Statistical Check Run Length 5 Count Register */
12853 /*! @{ */
12854 
12855 #define CAAM_RTSCR5C_R5_0_COUNT_MASK             (0x7FFU)
12856 #define CAAM_RTSCR5C_R5_0_COUNT_SHIFT            (0U)
12857 #define CAAM_RTSCR5C_R5_0_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR5C_R5_0_COUNT_SHIFT)) & CAAM_RTSCR5C_R5_0_COUNT_MASK)
12858 
12859 #define CAAM_RTSCR5C_R5_1_COUNT_MASK             (0x7FF0000U)
12860 #define CAAM_RTSCR5C_R5_1_COUNT_SHIFT            (16U)
12861 #define CAAM_RTSCR5C_R5_1_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR5C_R5_1_COUNT_SHIFT)) & CAAM_RTSCR5C_R5_1_COUNT_MASK)
12862 /*! @} */
12863 
12864 /*! @name RTSCR6PC - RNG TRNG Statistical Check Run Length 6+ Count Register */
12865 /*! @{ */
12866 
12867 #define CAAM_RTSCR6PC_R6P_0_COUNT_MASK           (0x7FFU)
12868 #define CAAM_RTSCR6PC_R6P_0_COUNT_SHIFT          (0U)
12869 #define CAAM_RTSCR6PC_R6P_0_COUNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR6PC_R6P_0_COUNT_SHIFT)) & CAAM_RTSCR6PC_R6P_0_COUNT_MASK)
12870 
12871 #define CAAM_RTSCR6PC_R6P_1_COUNT_MASK           (0x7FF0000U)
12872 #define CAAM_RTSCR6PC_R6P_1_COUNT_SHIFT          (16U)
12873 #define CAAM_RTSCR6PC_R6P_1_COUNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR6PC_R6P_1_COUNT_SHIFT)) & CAAM_RTSCR6PC_R6P_1_COUNT_MASK)
12874 /*! @} */
12875 
12876 /*! @name RTFRQMAX - RNG TRNG Frequency Count Maximum Limit Register */
12877 /*! @{ */
12878 
12879 #define CAAM_RTFRQMAX_FRQ_MAX_MASK               (0x3FFFFFU)
12880 #define CAAM_RTFRQMAX_FRQ_MAX_SHIFT              (0U)
12881 #define CAAM_RTFRQMAX_FRQ_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTFRQMAX_FRQ_MAX_SHIFT)) & CAAM_RTFRQMAX_FRQ_MAX_MASK)
12882 /*! @} */
12883 
12884 /*! @name RTSCML - RNG TRNG Statistical Check Monobit Limit Register */
12885 /*! @{ */
12886 
12887 #define CAAM_RTSCML_MONO_MAX_MASK                (0xFFFFU)
12888 #define CAAM_RTSCML_MONO_MAX_SHIFT               (0U)
12889 #define CAAM_RTSCML_MONO_MAX(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCML_MONO_MAX_SHIFT)) & CAAM_RTSCML_MONO_MAX_MASK)
12890 
12891 #define CAAM_RTSCML_MONO_RNG_MASK                (0xFFFF0000U)
12892 #define CAAM_RTSCML_MONO_RNG_SHIFT               (16U)
12893 #define CAAM_RTSCML_MONO_RNG(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCML_MONO_RNG_SHIFT)) & CAAM_RTSCML_MONO_RNG_MASK)
12894 /*! @} */
12895 
12896 /*! @name RTSCR1L - RNG TRNG Statistical Check Run Length 1 Limit Register */
12897 /*! @{ */
12898 
12899 #define CAAM_RTSCR1L_RUN1_MAX_MASK               (0x7FFFU)
12900 #define CAAM_RTSCR1L_RUN1_MAX_SHIFT              (0U)
12901 #define CAAM_RTSCR1L_RUN1_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR1L_RUN1_MAX_SHIFT)) & CAAM_RTSCR1L_RUN1_MAX_MASK)
12902 
12903 #define CAAM_RTSCR1L_RUN1_RNG_MASK               (0x7FFF0000U)
12904 #define CAAM_RTSCR1L_RUN1_RNG_SHIFT              (16U)
12905 #define CAAM_RTSCR1L_RUN1_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR1L_RUN1_RNG_SHIFT)) & CAAM_RTSCR1L_RUN1_RNG_MASK)
12906 /*! @} */
12907 
12908 /*! @name RTSCR2L - RNG TRNG Statistical Check Run Length 2 Limit Register */
12909 /*! @{ */
12910 
12911 #define CAAM_RTSCR2L_RUN2_MAX_MASK               (0x3FFFU)
12912 #define CAAM_RTSCR2L_RUN2_MAX_SHIFT              (0U)
12913 #define CAAM_RTSCR2L_RUN2_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR2L_RUN2_MAX_SHIFT)) & CAAM_RTSCR2L_RUN2_MAX_MASK)
12914 
12915 #define CAAM_RTSCR2L_RUN2_RNG_MASK               (0x3FFF0000U)
12916 #define CAAM_RTSCR2L_RUN2_RNG_SHIFT              (16U)
12917 #define CAAM_RTSCR2L_RUN2_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR2L_RUN2_RNG_SHIFT)) & CAAM_RTSCR2L_RUN2_RNG_MASK)
12918 /*! @} */
12919 
12920 /*! @name RTSCR3L - RNG TRNG Statistical Check Run Length 3 Limit Register */
12921 /*! @{ */
12922 
12923 #define CAAM_RTSCR3L_RUN3_MAX_MASK               (0x1FFFU)
12924 #define CAAM_RTSCR3L_RUN3_MAX_SHIFT              (0U)
12925 #define CAAM_RTSCR3L_RUN3_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR3L_RUN3_MAX_SHIFT)) & CAAM_RTSCR3L_RUN3_MAX_MASK)
12926 
12927 #define CAAM_RTSCR3L_RUN3_RNG_MASK               (0x1FFF0000U)
12928 #define CAAM_RTSCR3L_RUN3_RNG_SHIFT              (16U)
12929 #define CAAM_RTSCR3L_RUN3_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR3L_RUN3_RNG_SHIFT)) & CAAM_RTSCR3L_RUN3_RNG_MASK)
12930 /*! @} */
12931 
12932 /*! @name RTSCR4L - RNG TRNG Statistical Check Run Length 4 Limit Register */
12933 /*! @{ */
12934 
12935 #define CAAM_RTSCR4L_RUN4_MAX_MASK               (0xFFFU)
12936 #define CAAM_RTSCR4L_RUN4_MAX_SHIFT              (0U)
12937 #define CAAM_RTSCR4L_RUN4_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR4L_RUN4_MAX_SHIFT)) & CAAM_RTSCR4L_RUN4_MAX_MASK)
12938 
12939 #define CAAM_RTSCR4L_RUN4_RNG_MASK               (0xFFF0000U)
12940 #define CAAM_RTSCR4L_RUN4_RNG_SHIFT              (16U)
12941 #define CAAM_RTSCR4L_RUN4_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR4L_RUN4_RNG_SHIFT)) & CAAM_RTSCR4L_RUN4_RNG_MASK)
12942 /*! @} */
12943 
12944 /*! @name RTSCR5L - RNG TRNG Statistical Check Run Length 5 Limit Register */
12945 /*! @{ */
12946 
12947 #define CAAM_RTSCR5L_RUN5_MAX_MASK               (0x7FFU)
12948 #define CAAM_RTSCR5L_RUN5_MAX_SHIFT              (0U)
12949 #define CAAM_RTSCR5L_RUN5_MAX(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR5L_RUN5_MAX_SHIFT)) & CAAM_RTSCR5L_RUN5_MAX_MASK)
12950 
12951 #define CAAM_RTSCR5L_RUN5_RNG_MASK               (0x7FF0000U)
12952 #define CAAM_RTSCR5L_RUN5_RNG_SHIFT              (16U)
12953 #define CAAM_RTSCR5L_RUN5_RNG(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR5L_RUN5_RNG_SHIFT)) & CAAM_RTSCR5L_RUN5_RNG_MASK)
12954 /*! @} */
12955 
12956 /*! @name RTSCR6PL - RNG TRNG Statistical Check Run Length 6+ Limit Register */
12957 /*! @{ */
12958 
12959 #define CAAM_RTSCR6PL_RUN6P_MAX_MASK             (0x7FFU)
12960 #define CAAM_RTSCR6PL_RUN6P_MAX_SHIFT            (0U)
12961 #define CAAM_RTSCR6PL_RUN6P_MAX(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR6PL_RUN6P_MAX_SHIFT)) & CAAM_RTSCR6PL_RUN6P_MAX_MASK)
12962 
12963 #define CAAM_RTSCR6PL_RUN6P_RNG_MASK             (0x7FF0000U)
12964 #define CAAM_RTSCR6PL_RUN6P_RNG_SHIFT            (16U)
12965 #define CAAM_RTSCR6PL_RUN6P_RNG(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_RTSCR6PL_RUN6P_RNG_SHIFT)) & CAAM_RTSCR6PL_RUN6P_RNG_MASK)
12966 /*! @} */
12967 
12968 /*! @name RTSTATUS - RNG TRNG Status Register */
12969 /*! @{ */
12970 
12971 #define CAAM_RTSTATUS_F1BR0TF_MASK               (0x1U)
12972 #define CAAM_RTSTATUS_F1BR0TF_SHIFT              (0U)
12973 #define CAAM_RTSTATUS_F1BR0TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F1BR0TF_SHIFT)) & CAAM_RTSTATUS_F1BR0TF_MASK)
12974 
12975 #define CAAM_RTSTATUS_F1BR1TF_MASK               (0x2U)
12976 #define CAAM_RTSTATUS_F1BR1TF_SHIFT              (1U)
12977 #define CAAM_RTSTATUS_F1BR1TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F1BR1TF_SHIFT)) & CAAM_RTSTATUS_F1BR1TF_MASK)
12978 
12979 #define CAAM_RTSTATUS_F2BR0TF_MASK               (0x4U)
12980 #define CAAM_RTSTATUS_F2BR0TF_SHIFT              (2U)
12981 #define CAAM_RTSTATUS_F2BR0TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F2BR0TF_SHIFT)) & CAAM_RTSTATUS_F2BR0TF_MASK)
12982 
12983 #define CAAM_RTSTATUS_F2BR1TF_MASK               (0x8U)
12984 #define CAAM_RTSTATUS_F2BR1TF_SHIFT              (3U)
12985 #define CAAM_RTSTATUS_F2BR1TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F2BR1TF_SHIFT)) & CAAM_RTSTATUS_F2BR1TF_MASK)
12986 
12987 #define CAAM_RTSTATUS_F3BR01TF_MASK              (0x10U)
12988 #define CAAM_RTSTATUS_F3BR01TF_SHIFT             (4U)
12989 #define CAAM_RTSTATUS_F3BR01TF(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F3BR01TF_SHIFT)) & CAAM_RTSTATUS_F3BR01TF_MASK)
12990 
12991 #define CAAM_RTSTATUS_F3BR1TF_MASK               (0x20U)
12992 #define CAAM_RTSTATUS_F3BR1TF_SHIFT              (5U)
12993 #define CAAM_RTSTATUS_F3BR1TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F3BR1TF_SHIFT)) & CAAM_RTSTATUS_F3BR1TF_MASK)
12994 
12995 #define CAAM_RTSTATUS_F4BR0TF_MASK               (0x40U)
12996 #define CAAM_RTSTATUS_F4BR0TF_SHIFT              (6U)
12997 #define CAAM_RTSTATUS_F4BR0TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F4BR0TF_SHIFT)) & CAAM_RTSTATUS_F4BR0TF_MASK)
12998 
12999 #define CAAM_RTSTATUS_F4BR1TF_MASK               (0x80U)
13000 #define CAAM_RTSTATUS_F4BR1TF_SHIFT              (7U)
13001 #define CAAM_RTSTATUS_F4BR1TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F4BR1TF_SHIFT)) & CAAM_RTSTATUS_F4BR1TF_MASK)
13002 
13003 #define CAAM_RTSTATUS_F5BR0TF_MASK               (0x100U)
13004 #define CAAM_RTSTATUS_F5BR0TF_SHIFT              (8U)
13005 #define CAAM_RTSTATUS_F5BR0TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F5BR0TF_SHIFT)) & CAAM_RTSTATUS_F5BR0TF_MASK)
13006 
13007 #define CAAM_RTSTATUS_F5BR1TF_MASK               (0x200U)
13008 #define CAAM_RTSTATUS_F5BR1TF_SHIFT              (9U)
13009 #define CAAM_RTSTATUS_F5BR1TF(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F5BR1TF_SHIFT)) & CAAM_RTSTATUS_F5BR1TF_MASK)
13010 
13011 #define CAAM_RTSTATUS_F6PBR0TF_MASK              (0x400U)
13012 #define CAAM_RTSTATUS_F6PBR0TF_SHIFT             (10U)
13013 #define CAAM_RTSTATUS_F6PBR0TF(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F6PBR0TF_SHIFT)) & CAAM_RTSTATUS_F6PBR0TF_MASK)
13014 
13015 #define CAAM_RTSTATUS_F6PBR1TF_MASK              (0x800U)
13016 #define CAAM_RTSTATUS_F6PBR1TF_SHIFT             (11U)
13017 #define CAAM_RTSTATUS_F6PBR1TF(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_F6PBR1TF_SHIFT)) & CAAM_RTSTATUS_F6PBR1TF_MASK)
13018 
13019 #define CAAM_RTSTATUS_FSBTF_MASK                 (0x1000U)
13020 #define CAAM_RTSTATUS_FSBTF_SHIFT                (12U)
13021 #define CAAM_RTSTATUS_FSBTF(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_FSBTF_SHIFT)) & CAAM_RTSTATUS_FSBTF_MASK)
13022 
13023 #define CAAM_RTSTATUS_FLRTF_MASK                 (0x2000U)
13024 #define CAAM_RTSTATUS_FLRTF_SHIFT                (13U)
13025 #define CAAM_RTSTATUS_FLRTF(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_FLRTF_SHIFT)) & CAAM_RTSTATUS_FLRTF_MASK)
13026 
13027 #define CAAM_RTSTATUS_FPTF_MASK                  (0x4000U)
13028 #define CAAM_RTSTATUS_FPTF_SHIFT                 (14U)
13029 #define CAAM_RTSTATUS_FPTF(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_FPTF_SHIFT)) & CAAM_RTSTATUS_FPTF_MASK)
13030 
13031 #define CAAM_RTSTATUS_FMBTF_MASK                 (0x8000U)
13032 #define CAAM_RTSTATUS_FMBTF_SHIFT                (15U)
13033 #define CAAM_RTSTATUS_FMBTF(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_FMBTF_SHIFT)) & CAAM_RTSTATUS_FMBTF_MASK)
13034 
13035 #define CAAM_RTSTATUS_RETRY_COUNT_MASK           (0xF0000U)
13036 #define CAAM_RTSTATUS_RETRY_COUNT_SHIFT          (16U)
13037 #define CAAM_RTSTATUS_RETRY_COUNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTSTATUS_RETRY_COUNT_SHIFT)) & CAAM_RTSTATUS_RETRY_COUNT_MASK)
13038 /*! @} */
13039 
13040 /*! @name RTENT - RNG TRNG Entropy Read Register */
13041 /*! @{ */
13042 
13043 #define CAAM_RTENT_ENT_MASK                      (0xFFFFFFFFU)
13044 #define CAAM_RTENT_ENT_SHIFT                     (0U)
13045 #define CAAM_RTENT_ENT(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RTENT_ENT_SHIFT)) & CAAM_RTENT_ENT_MASK)
13046 /*! @} */
13047 
13048 /* The count of CAAM_RTENT */
13049 #define CAAM_RTENT_COUNT                         (16U)
13050 
13051 /*! @name RTPKRCNT10 - RNG TRNG Statistical Check Poker Count 1 and 0 Register */
13052 /*! @{ */
13053 
13054 #define CAAM_RTPKRCNT10_PKR_0_CNT_MASK           (0xFFFFU)
13055 #define CAAM_RTPKRCNT10_PKR_0_CNT_SHIFT          (0U)
13056 #define CAAM_RTPKRCNT10_PKR_0_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT10_PKR_0_CNT_SHIFT)) & CAAM_RTPKRCNT10_PKR_0_CNT_MASK)
13057 
13058 #define CAAM_RTPKRCNT10_PKR_1_CNT_MASK           (0xFFFF0000U)
13059 #define CAAM_RTPKRCNT10_PKR_1_CNT_SHIFT          (16U)
13060 #define CAAM_RTPKRCNT10_PKR_1_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT10_PKR_1_CNT_SHIFT)) & CAAM_RTPKRCNT10_PKR_1_CNT_MASK)
13061 /*! @} */
13062 
13063 /*! @name RTPKRCNT32 - RNG TRNG Statistical Check Poker Count 3 and 2 Register */
13064 /*! @{ */
13065 
13066 #define CAAM_RTPKRCNT32_PKR_2_CNT_MASK           (0xFFFFU)
13067 #define CAAM_RTPKRCNT32_PKR_2_CNT_SHIFT          (0U)
13068 #define CAAM_RTPKRCNT32_PKR_2_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT32_PKR_2_CNT_SHIFT)) & CAAM_RTPKRCNT32_PKR_2_CNT_MASK)
13069 
13070 #define CAAM_RTPKRCNT32_PKR_3_CNT_MASK           (0xFFFF0000U)
13071 #define CAAM_RTPKRCNT32_PKR_3_CNT_SHIFT          (16U)
13072 #define CAAM_RTPKRCNT32_PKR_3_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT32_PKR_3_CNT_SHIFT)) & CAAM_RTPKRCNT32_PKR_3_CNT_MASK)
13073 /*! @} */
13074 
13075 /*! @name RTPKRCNT54 - RNG TRNG Statistical Check Poker Count 5 and 4 Register */
13076 /*! @{ */
13077 
13078 #define CAAM_RTPKRCNT54_PKR_4_CNT_MASK           (0xFFFFU)
13079 #define CAAM_RTPKRCNT54_PKR_4_CNT_SHIFT          (0U)
13080 #define CAAM_RTPKRCNT54_PKR_4_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT54_PKR_4_CNT_SHIFT)) & CAAM_RTPKRCNT54_PKR_4_CNT_MASK)
13081 
13082 #define CAAM_RTPKRCNT54_PKR_5_CNT_MASK           (0xFFFF0000U)
13083 #define CAAM_RTPKRCNT54_PKR_5_CNT_SHIFT          (16U)
13084 #define CAAM_RTPKRCNT54_PKR_5_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT54_PKR_5_CNT_SHIFT)) & CAAM_RTPKRCNT54_PKR_5_CNT_MASK)
13085 /*! @} */
13086 
13087 /*! @name RTPKRCNT76 - RNG TRNG Statistical Check Poker Count 7 and 6 Register */
13088 /*! @{ */
13089 
13090 #define CAAM_RTPKRCNT76_PKR_6_CNT_MASK           (0xFFFFU)
13091 #define CAAM_RTPKRCNT76_PKR_6_CNT_SHIFT          (0U)
13092 #define CAAM_RTPKRCNT76_PKR_6_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT76_PKR_6_CNT_SHIFT)) & CAAM_RTPKRCNT76_PKR_6_CNT_MASK)
13093 
13094 #define CAAM_RTPKRCNT76_PKR_7_CNT_MASK           (0xFFFF0000U)
13095 #define CAAM_RTPKRCNT76_PKR_7_CNT_SHIFT          (16U)
13096 #define CAAM_RTPKRCNT76_PKR_7_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT76_PKR_7_CNT_SHIFT)) & CAAM_RTPKRCNT76_PKR_7_CNT_MASK)
13097 /*! @} */
13098 
13099 /*! @name RTPKRCNT98 - RNG TRNG Statistical Check Poker Count 9 and 8 Register */
13100 /*! @{ */
13101 
13102 #define CAAM_RTPKRCNT98_PKR_8_CNT_MASK           (0xFFFFU)
13103 #define CAAM_RTPKRCNT98_PKR_8_CNT_SHIFT          (0U)
13104 #define CAAM_RTPKRCNT98_PKR_8_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT98_PKR_8_CNT_SHIFT)) & CAAM_RTPKRCNT98_PKR_8_CNT_MASK)
13105 
13106 #define CAAM_RTPKRCNT98_PKR_9_CNT_MASK           (0xFFFF0000U)
13107 #define CAAM_RTPKRCNT98_PKR_9_CNT_SHIFT          (16U)
13108 #define CAAM_RTPKRCNT98_PKR_9_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNT98_PKR_9_CNT_SHIFT)) & CAAM_RTPKRCNT98_PKR_9_CNT_MASK)
13109 /*! @} */
13110 
13111 /*! @name RTPKRCNTBA - RNG TRNG Statistical Check Poker Count B and A Register */
13112 /*! @{ */
13113 
13114 #define CAAM_RTPKRCNTBA_PKR_A_CNT_MASK           (0xFFFFU)
13115 #define CAAM_RTPKRCNTBA_PKR_A_CNT_SHIFT          (0U)
13116 #define CAAM_RTPKRCNTBA_PKR_A_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTBA_PKR_A_CNT_SHIFT)) & CAAM_RTPKRCNTBA_PKR_A_CNT_MASK)
13117 
13118 #define CAAM_RTPKRCNTBA_PKR_B_CNT_MASK           (0xFFFF0000U)
13119 #define CAAM_RTPKRCNTBA_PKR_B_CNT_SHIFT          (16U)
13120 #define CAAM_RTPKRCNTBA_PKR_B_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTBA_PKR_B_CNT_SHIFT)) & CAAM_RTPKRCNTBA_PKR_B_CNT_MASK)
13121 /*! @} */
13122 
13123 /*! @name RTPKRCNTDC - RNG TRNG Statistical Check Poker Count D and C Register */
13124 /*! @{ */
13125 
13126 #define CAAM_RTPKRCNTDC_PKR_C_CNT_MASK           (0xFFFFU)
13127 #define CAAM_RTPKRCNTDC_PKR_C_CNT_SHIFT          (0U)
13128 #define CAAM_RTPKRCNTDC_PKR_C_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTDC_PKR_C_CNT_SHIFT)) & CAAM_RTPKRCNTDC_PKR_C_CNT_MASK)
13129 
13130 #define CAAM_RTPKRCNTDC_PKR_D_CNT_MASK           (0xFFFF0000U)
13131 #define CAAM_RTPKRCNTDC_PKR_D_CNT_SHIFT          (16U)
13132 #define CAAM_RTPKRCNTDC_PKR_D_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTDC_PKR_D_CNT_SHIFT)) & CAAM_RTPKRCNTDC_PKR_D_CNT_MASK)
13133 /*! @} */
13134 
13135 /*! @name RTPKRCNTFE - RNG TRNG Statistical Check Poker Count F and E Register */
13136 /*! @{ */
13137 
13138 #define CAAM_RTPKRCNTFE_PKR_E_CNT_MASK           (0xFFFFU)
13139 #define CAAM_RTPKRCNTFE_PKR_E_CNT_SHIFT          (0U)
13140 #define CAAM_RTPKRCNTFE_PKR_E_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTFE_PKR_E_CNT_SHIFT)) & CAAM_RTPKRCNTFE_PKR_E_CNT_MASK)
13141 
13142 #define CAAM_RTPKRCNTFE_PKR_F_CNT_MASK           (0xFFFF0000U)
13143 #define CAAM_RTPKRCNTFE_PKR_F_CNT_SHIFT          (16U)
13144 #define CAAM_RTPKRCNTFE_PKR_F_CNT(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RTPKRCNTFE_PKR_F_CNT_SHIFT)) & CAAM_RTPKRCNTFE_PKR_F_CNT_MASK)
13145 /*! @} */
13146 
13147 /*! @name RDSTA - RNG DRNG Status Register */
13148 /*! @{ */
13149 
13150 #define CAAM_RDSTA_IF0_MASK                      (0x1U)
13151 #define CAAM_RDSTA_IF0_SHIFT                     (0U)
13152 #define CAAM_RDSTA_IF0(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_IF0_SHIFT)) & CAAM_RDSTA_IF0_MASK)
13153 
13154 #define CAAM_RDSTA_IF1_MASK                      (0x2U)
13155 #define CAAM_RDSTA_IF1_SHIFT                     (1U)
13156 #define CAAM_RDSTA_IF1(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_IF1_SHIFT)) & CAAM_RDSTA_IF1_MASK)
13157 
13158 #define CAAM_RDSTA_PR0_MASK                      (0x10U)
13159 #define CAAM_RDSTA_PR0_SHIFT                     (4U)
13160 #define CAAM_RDSTA_PR0(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_PR0_SHIFT)) & CAAM_RDSTA_PR0_MASK)
13161 
13162 #define CAAM_RDSTA_PR1_MASK                      (0x20U)
13163 #define CAAM_RDSTA_PR1_SHIFT                     (5U)
13164 #define CAAM_RDSTA_PR1(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_PR1_SHIFT)) & CAAM_RDSTA_PR1_MASK)
13165 
13166 #define CAAM_RDSTA_TF0_MASK                      (0x100U)
13167 #define CAAM_RDSTA_TF0_SHIFT                     (8U)
13168 #define CAAM_RDSTA_TF0(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_TF0_SHIFT)) & CAAM_RDSTA_TF0_MASK)
13169 
13170 #define CAAM_RDSTA_TF1_MASK                      (0x200U)
13171 #define CAAM_RDSTA_TF1_SHIFT                     (9U)
13172 #define CAAM_RDSTA_TF1(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_TF1_SHIFT)) & CAAM_RDSTA_TF1_MASK)
13173 
13174 #define CAAM_RDSTA_ERRCODE_MASK                  (0xF0000U)
13175 #define CAAM_RDSTA_ERRCODE_SHIFT                 (16U)
13176 #define CAAM_RDSTA_ERRCODE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_ERRCODE_SHIFT)) & CAAM_RDSTA_ERRCODE_MASK)
13177 
13178 #define CAAM_RDSTA_CE_MASK                       (0x100000U)
13179 #define CAAM_RDSTA_CE_SHIFT                      (20U)
13180 #define CAAM_RDSTA_CE(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_CE_SHIFT)) & CAAM_RDSTA_CE_MASK)
13181 
13182 #define CAAM_RDSTA_SKVN_MASK                     (0x40000000U)
13183 #define CAAM_RDSTA_SKVN_SHIFT                    (30U)
13184 #define CAAM_RDSTA_SKVN(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_SKVN_SHIFT)) & CAAM_RDSTA_SKVN_MASK)
13185 
13186 #define CAAM_RDSTA_SKVT_MASK                     (0x80000000U)
13187 #define CAAM_RDSTA_SKVT_SHIFT                    (31U)
13188 #define CAAM_RDSTA_SKVT(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RDSTA_SKVT_SHIFT)) & CAAM_RDSTA_SKVT_MASK)
13189 /*! @} */
13190 
13191 /*! @name RDINT0 - RNG DRNG State Handle 0 Reseed Interval Register */
13192 /*! @{ */
13193 
13194 #define CAAM_RDINT0_RESINT0_MASK                 (0xFFFFFFFFU)
13195 #define CAAM_RDINT0_RESINT0_SHIFT                (0U)
13196 #define CAAM_RDINT0_RESINT0(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RDINT0_RESINT0_SHIFT)) & CAAM_RDINT0_RESINT0_MASK)
13197 /*! @} */
13198 
13199 /*! @name RDINT1 - RNG DRNG State Handle 1 Reseed Interval Register */
13200 /*! @{ */
13201 
13202 #define CAAM_RDINT1_RESINT1_MASK                 (0xFFFFFFFFU)
13203 #define CAAM_RDINT1_RESINT1_SHIFT                (0U)
13204 #define CAAM_RDINT1_RESINT1(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RDINT1_RESINT1_SHIFT)) & CAAM_RDINT1_RESINT1_MASK)
13205 /*! @} */
13206 
13207 /*! @name RDHCNTL - RNG DRNG Hash Control Register */
13208 /*! @{ */
13209 
13210 #define CAAM_RDHCNTL_HD_MASK                     (0x1U)
13211 #define CAAM_RDHCNTL_HD_SHIFT                    (0U)
13212 #define CAAM_RDHCNTL_HD(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RDHCNTL_HD_SHIFT)) & CAAM_RDHCNTL_HD_MASK)
13213 
13214 #define CAAM_RDHCNTL_HB_MASK                     (0x2U)
13215 #define CAAM_RDHCNTL_HB_SHIFT                    (1U)
13216 #define CAAM_RDHCNTL_HB(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RDHCNTL_HB_SHIFT)) & CAAM_RDHCNTL_HB_MASK)
13217 
13218 #define CAAM_RDHCNTL_HI_MASK                     (0x4U)
13219 #define CAAM_RDHCNTL_HI_SHIFT                    (2U)
13220 #define CAAM_RDHCNTL_HI(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RDHCNTL_HI_SHIFT)) & CAAM_RDHCNTL_HI_MASK)
13221 
13222 #define CAAM_RDHCNTL_HTM_MASK                    (0x8U)
13223 #define CAAM_RDHCNTL_HTM_SHIFT                   (3U)
13224 #define CAAM_RDHCNTL_HTM(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_RDHCNTL_HTM_SHIFT)) & CAAM_RDHCNTL_HTM_MASK)
13225 
13226 #define CAAM_RDHCNTL_HTC_MASK                    (0x10U)
13227 #define CAAM_RDHCNTL_HTC_SHIFT                   (4U)
13228 #define CAAM_RDHCNTL_HTC(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_RDHCNTL_HTC_SHIFT)) & CAAM_RDHCNTL_HTC_MASK)
13229 /*! @} */
13230 
13231 /*! @name RDHDIG - RNG DRNG Hash Digest Register */
13232 /*! @{ */
13233 
13234 #define CAAM_RDHDIG_HASHMD_MASK                  (0xFFFFFFFFU)
13235 #define CAAM_RDHDIG_HASHMD_SHIFT                 (0U)
13236 #define CAAM_RDHDIG_HASHMD(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_RDHDIG_HASHMD_SHIFT)) & CAAM_RDHDIG_HASHMD_MASK)
13237 /*! @} */
13238 
13239 /*! @name RDHBUF - RNG DRNG Hash Buffer Register */
13240 /*! @{ */
13241 
13242 #define CAAM_RDHBUF_HASHBUF_MASK                 (0xFFFFFFFFU)
13243 #define CAAM_RDHBUF_HASHBUF_SHIFT                (0U)
13244 #define CAAM_RDHBUF_HASHBUF(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_RDHBUF_HASHBUF_SHIFT)) & CAAM_RDHBUF_HASHBUF_MASK)
13245 /*! @} */
13246 
13247 /*! @name PX_SDID_PG0 - Partition 0 SDID register..Partition 15 SDID register */
13248 /*! @{ */
13249 
13250 #define CAAM_PX_SDID_PG0_SDID_MASK               (0xFFFFU)
13251 #define CAAM_PX_SDID_PG0_SDID_SHIFT              (0U)
13252 #define CAAM_PX_SDID_PG0_SDID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SDID_PG0_SDID_SHIFT)) & CAAM_PX_SDID_PG0_SDID_MASK)
13253 /*! @} */
13254 
13255 /* The count of CAAM_PX_SDID_PG0 */
13256 #define CAAM_PX_SDID_PG0_COUNT                   (16U)
13257 
13258 /*! @name PX_SMAPR_PG0 - Secure Memory Access Permissions register */
13259 /*! @{ */
13260 
13261 #define CAAM_PX_SMAPR_PG0_G1_READ_MASK           (0x1U)
13262 #define CAAM_PX_SMAPR_PG0_G1_READ_SHIFT          (0U)
13263 /*! G1_READ
13264  *  0b0..Instruction fetches and reads are prohibited (except that Trusted Descriptor reads (if G1_TDO=1) and
13265  *       key-reads are always allowed, and exporting Secure Memory Blobs is allowed if G1_SMBLOB=1 or if done by a
13266  *       Trusted Descriptor and G1_TDO=1).
13267  *  0b1..Instruction fetches and reads are allowed (but exporting a Secure Memory Blob is prohibited if
13268  *       G1_SMBLOB=0 and the descriptor is not a Trusted Descriptor or if G1_TDO=0).
13269  */
13270 #define CAAM_PX_SMAPR_PG0_G1_READ(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G1_READ_SHIFT)) & CAAM_PX_SMAPR_PG0_G1_READ_MASK)
13271 
13272 #define CAAM_PX_SMAPR_PG0_G1_WRITE_MASK          (0x2U)
13273 #define CAAM_PX_SMAPR_PG0_G1_WRITE_SHIFT         (1U)
13274 /*! G1_WRITE
13275  *  0b0..Writes are prohibited (except that Trusted Descriptor writes are allowed, and importing Secure Memory
13276  *       Blobs is allowed if G1_SMBLOB=1 or if done by a Trusted Descriptor and G1_TDO=1).
13277  *  0b1..Writes are allowed (but importing a Secure Memory Blob is prohibited if G1_SMBLOB=0 and the descriptor is
13278  *       not a Trusted Descriptor or if G1_TDO=0).
13279  */
13280 #define CAAM_PX_SMAPR_PG0_G1_WRITE(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G1_WRITE_SHIFT)) & CAAM_PX_SMAPR_PG0_G1_WRITE_MASK)
13281 
13282 #define CAAM_PX_SMAPR_PG0_G1_TDO_MASK            (0x4U)
13283 #define CAAM_PX_SMAPR_PG0_G1_TDO_SHIFT           (2U)
13284 /*! G1_TDO
13285  *  0b0..Trusted Descriptors have the same access privileges as Job Descriptors
13286  *  0b1..Trusted Descriptors are allowed to override the other access permissions, i.e. they can export blobs from
13287  *       or import blobs to the partition and read from and write to the partition regardless of the G1_SMBLOB,
13288  *       G1_WRITE and G1_READ settings.
13289  */
13290 #define CAAM_PX_SMAPR_PG0_G1_TDO(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G1_TDO_SHIFT)) & CAAM_PX_SMAPR_PG0_G1_TDO_MASK)
13291 
13292 #define CAAM_PX_SMAPR_PG0_G1_SMBLOB_MASK         (0x8U)
13293 #define CAAM_PX_SMAPR_PG0_G1_SMBLOB_SHIFT        (3U)
13294 /*! G1_SMBLOB
13295  *  0b0..Exporting or importing Secure Memory Blobs is prohibited, unless done via a Trusted Descriptor and G1_TDO=1.
13296  *  0b1..Exporting or importing Secure Memory Blobs is allowed, regardless of the G1_READ and G1_WRITE settings.
13297  */
13298 #define CAAM_PX_SMAPR_PG0_G1_SMBLOB(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G1_SMBLOB_SHIFT)) & CAAM_PX_SMAPR_PG0_G1_SMBLOB_MASK)
13299 
13300 #define CAAM_PX_SMAPR_PG0_G2_READ_MASK           (0x10U)
13301 #define CAAM_PX_SMAPR_PG0_G2_READ_SHIFT          (4U)
13302 /*! G2_READ
13303  *  0b0..Instruction fetches and reads are prohibited (except that Trusted Descriptor reads (if G2_TDO=1) and
13304  *       key-reads are always allowed, and exporting Secure Memory Blobs is allowed if G2_SMBLOB=1 or if done by a
13305  *       Trusted Descriptor and G2_TDO=1).
13306  *  0b1..Instruction fetches and reads are allowed (but exporting a Secure Memory Blob is prohibited if
13307  *       G2_SMBLOB=0 and the descriptor is not a Trusted Descriptor or if G2_TDO=0).
13308  */
13309 #define CAAM_PX_SMAPR_PG0_G2_READ(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G2_READ_SHIFT)) & CAAM_PX_SMAPR_PG0_G2_READ_MASK)
13310 
13311 #define CAAM_PX_SMAPR_PG0_G2_WRITE_MASK          (0x20U)
13312 #define CAAM_PX_SMAPR_PG0_G2_WRITE_SHIFT         (5U)
13313 /*! G2_WRITE
13314  *  0b0..Writes are prohibited (except that Trusted Descriptor writes are allowed, and importing Secure Memory
13315  *       Blobs is allowed if G2_SMBLOB=1 or if done by a Trusted Descriptor and G2_TDO=1).
13316  *  0b1..Writes are allowed (but importing a Secure Memory Blob is prohibited if G2_SMBLOB=0 and the descriptor is
13317  *       not a Trusted Descriptor or if G2_TDO=0).
13318  */
13319 #define CAAM_PX_SMAPR_PG0_G2_WRITE(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G2_WRITE_SHIFT)) & CAAM_PX_SMAPR_PG0_G2_WRITE_MASK)
13320 
13321 #define CAAM_PX_SMAPR_PG0_G2_TDO_MASK            (0x40U)
13322 #define CAAM_PX_SMAPR_PG0_G2_TDO_SHIFT           (6U)
13323 /*! G2_TDO
13324  *  0b0..Trusted Descriptors have the same access privileges as Job Descriptors
13325  *  0b1..Trusted Descriptors are allowed to override the other access permissions, i.e. they can export blobs from
13326  *       or import blobs to the partition and read from and write to the partition regardless of the G2_SMBLOB,
13327  *       G2_WRITE and G2_READ settings.
13328  */
13329 #define CAAM_PX_SMAPR_PG0_G2_TDO(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G2_TDO_SHIFT)) & CAAM_PX_SMAPR_PG0_G2_TDO_MASK)
13330 
13331 #define CAAM_PX_SMAPR_PG0_G2_SMBLOB_MASK         (0x80U)
13332 #define CAAM_PX_SMAPR_PG0_G2_SMBLOB_SHIFT        (7U)
13333 /*! G2_SMBLOB
13334  *  0b0..Exporting or importing Secure Memory Blobs is prohibited, unless done via a Trusted Descriptor and G2_TDO=1.
13335  *  0b1..Exporting or importing Secure Memory Blobs is allowed, regardless of the G2_READ and G2_WRITE settings.
13336  */
13337 #define CAAM_PX_SMAPR_PG0_G2_SMBLOB(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_G2_SMBLOB_SHIFT)) & CAAM_PX_SMAPR_PG0_G2_SMBLOB_MASK)
13338 
13339 #define CAAM_PX_SMAPR_PG0_SMAG_LCK_MASK          (0x1000U)
13340 #define CAAM_PX_SMAPR_PG0_SMAG_LCK_SHIFT         (12U)
13341 /*! SMAG_LCK
13342  *  0b0..The SMAG2JR register and SMAG1JR register are unlocked. The partition owner can change any writable bits of these registers.
13343  *  0b1..The SMAG2JR register and SMAG1JR register are locked. The SMAG2JR and SMAG1JR registers cannot be changed
13344  *       until the partition is de-allocated or a POR occurs.
13345  */
13346 #define CAAM_PX_SMAPR_PG0_SMAG_LCK(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_SMAG_LCK_SHIFT)) & CAAM_PX_SMAPR_PG0_SMAG_LCK_MASK)
13347 
13348 #define CAAM_PX_SMAPR_PG0_SMAP_LCK_MASK          (0x2000U)
13349 #define CAAM_PX_SMAPR_PG0_SMAP_LCK_SHIFT         (13U)
13350 /*! SMAP_LCK
13351  *  0b0..The SMAP register is unlocked. The partition owner can change any writable bits of the SMAP register.
13352  *  0b1..The SMAP register is locked. The SMAP_LCK, CSP and PSP bits and G1 and G2 permission bits of the SMAP
13353  *       register cannot be changed until the partition is de-allocated or a POR occurs. The PARTITION_KMOD value can
13354  *       still be changed. The SMAG_LCK bit can be changed to a 1, but cannot be changed to a 0.
13355  */
13356 #define CAAM_PX_SMAPR_PG0_SMAP_LCK(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_SMAP_LCK_SHIFT)) & CAAM_PX_SMAPR_PG0_SMAP_LCK_MASK)
13357 
13358 #define CAAM_PX_SMAPR_PG0_PSP_MASK               (0x4000U)
13359 #define CAAM_PX_SMAPR_PG0_PSP_SHIFT              (14U)
13360 /*! PSP
13361  *  0b0..The partition and any of the pages allocated to the partition can be de-allocated.
13362  *  0b1..The partition cannot be de-allocated and the pages allocated to the partition cannot be de-allocated.
13363  */
13364 #define CAAM_PX_SMAPR_PG0_PSP(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_PSP_SHIFT)) & CAAM_PX_SMAPR_PG0_PSP_MASK)
13365 
13366 #define CAAM_PX_SMAPR_PG0_CSP_MASK               (0x8000U)
13367 #define CAAM_PX_SMAPR_PG0_CSP_SHIFT              (15U)
13368 /*! CSP
13369  *  0b0..The pages allocated to the partition will not be zeroized when they are de-allocated or the partition is
13370  *       released or a security alarm occurs.
13371  *  0b1..The pages allocated to the partition will be zeroized when they are individually de-allocated or the
13372  *       partition is released or a security alarm occurs.
13373  */
13374 #define CAAM_PX_SMAPR_PG0_CSP(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_CSP_SHIFT)) & CAAM_PX_SMAPR_PG0_CSP_MASK)
13375 
13376 #define CAAM_PX_SMAPR_PG0_PARTITION_KMOD_MASK    (0xFFFF0000U)
13377 #define CAAM_PX_SMAPR_PG0_PARTITION_KMOD_SHIFT   (16U)
13378 #define CAAM_PX_SMAPR_PG0_PARTITION_KMOD(x)      (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_PG0_PARTITION_KMOD_SHIFT)) & CAAM_PX_SMAPR_PG0_PARTITION_KMOD_MASK)
13379 /*! @} */
13380 
13381 /* The count of CAAM_PX_SMAPR_PG0 */
13382 #define CAAM_PX_SMAPR_PG0_COUNT                  (16U)
13383 
13384 /*! @name PX_SMAG2_PG0 - Secure Memory Access Group Registers */
13385 /*! @{ */
13386 
13387 #define CAAM_PX_SMAG2_PG0_Gx_ID00_MASK           (0x1U)
13388 #define CAAM_PX_SMAG2_PG0_Gx_ID00_SHIFT          (0U)
13389 #define CAAM_PX_SMAG2_PG0_Gx_ID00(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID00_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID00_MASK)
13390 
13391 #define CAAM_PX_SMAG2_PG0_Gx_ID01_MASK           (0x2U)
13392 #define CAAM_PX_SMAG2_PG0_Gx_ID01_SHIFT          (1U)
13393 #define CAAM_PX_SMAG2_PG0_Gx_ID01(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID01_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID01_MASK)
13394 
13395 #define CAAM_PX_SMAG2_PG0_Gx_ID02_MASK           (0x4U)
13396 #define CAAM_PX_SMAG2_PG0_Gx_ID02_SHIFT          (2U)
13397 #define CAAM_PX_SMAG2_PG0_Gx_ID02(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID02_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID02_MASK)
13398 
13399 #define CAAM_PX_SMAG2_PG0_Gx_ID03_MASK           (0x8U)
13400 #define CAAM_PX_SMAG2_PG0_Gx_ID03_SHIFT          (3U)
13401 #define CAAM_PX_SMAG2_PG0_Gx_ID03(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID03_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID03_MASK)
13402 
13403 #define CAAM_PX_SMAG2_PG0_Gx_ID04_MASK           (0x10U)
13404 #define CAAM_PX_SMAG2_PG0_Gx_ID04_SHIFT          (4U)
13405 #define CAAM_PX_SMAG2_PG0_Gx_ID04(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID04_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID04_MASK)
13406 
13407 #define CAAM_PX_SMAG2_PG0_Gx_ID05_MASK           (0x20U)
13408 #define CAAM_PX_SMAG2_PG0_Gx_ID05_SHIFT          (5U)
13409 #define CAAM_PX_SMAG2_PG0_Gx_ID05(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID05_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID05_MASK)
13410 
13411 #define CAAM_PX_SMAG2_PG0_Gx_ID06_MASK           (0x40U)
13412 #define CAAM_PX_SMAG2_PG0_Gx_ID06_SHIFT          (6U)
13413 #define CAAM_PX_SMAG2_PG0_Gx_ID06(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID06_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID06_MASK)
13414 
13415 #define CAAM_PX_SMAG2_PG0_Gx_ID07_MASK           (0x80U)
13416 #define CAAM_PX_SMAG2_PG0_Gx_ID07_SHIFT          (7U)
13417 #define CAAM_PX_SMAG2_PG0_Gx_ID07(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID07_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID07_MASK)
13418 
13419 #define CAAM_PX_SMAG2_PG0_Gx_ID08_MASK           (0x100U)
13420 #define CAAM_PX_SMAG2_PG0_Gx_ID08_SHIFT          (8U)
13421 #define CAAM_PX_SMAG2_PG0_Gx_ID08(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID08_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID08_MASK)
13422 
13423 #define CAAM_PX_SMAG2_PG0_Gx_ID09_MASK           (0x200U)
13424 #define CAAM_PX_SMAG2_PG0_Gx_ID09_SHIFT          (9U)
13425 #define CAAM_PX_SMAG2_PG0_Gx_ID09(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID09_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID09_MASK)
13426 
13427 #define CAAM_PX_SMAG2_PG0_Gx_ID10_MASK           (0x400U)
13428 #define CAAM_PX_SMAG2_PG0_Gx_ID10_SHIFT          (10U)
13429 #define CAAM_PX_SMAG2_PG0_Gx_ID10(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID10_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID10_MASK)
13430 
13431 #define CAAM_PX_SMAG2_PG0_Gx_ID11_MASK           (0x800U)
13432 #define CAAM_PX_SMAG2_PG0_Gx_ID11_SHIFT          (11U)
13433 #define CAAM_PX_SMAG2_PG0_Gx_ID11(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID11_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID11_MASK)
13434 
13435 #define CAAM_PX_SMAG2_PG0_Gx_ID12_MASK           (0x1000U)
13436 #define CAAM_PX_SMAG2_PG0_Gx_ID12_SHIFT          (12U)
13437 #define CAAM_PX_SMAG2_PG0_Gx_ID12(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID12_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID12_MASK)
13438 
13439 #define CAAM_PX_SMAG2_PG0_Gx_ID13_MASK           (0x2000U)
13440 #define CAAM_PX_SMAG2_PG0_Gx_ID13_SHIFT          (13U)
13441 #define CAAM_PX_SMAG2_PG0_Gx_ID13(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID13_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID13_MASK)
13442 
13443 #define CAAM_PX_SMAG2_PG0_Gx_ID14_MASK           (0x4000U)
13444 #define CAAM_PX_SMAG2_PG0_Gx_ID14_SHIFT          (14U)
13445 #define CAAM_PX_SMAG2_PG0_Gx_ID14(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID14_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID14_MASK)
13446 
13447 #define CAAM_PX_SMAG2_PG0_Gx_ID15_MASK           (0x8000U)
13448 #define CAAM_PX_SMAG2_PG0_Gx_ID15_SHIFT          (15U)
13449 #define CAAM_PX_SMAG2_PG0_Gx_ID15(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID15_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID15_MASK)
13450 
13451 #define CAAM_PX_SMAG2_PG0_Gx_ID16_MASK           (0x10000U)
13452 #define CAAM_PX_SMAG2_PG0_Gx_ID16_SHIFT          (16U)
13453 #define CAAM_PX_SMAG2_PG0_Gx_ID16(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID16_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID16_MASK)
13454 
13455 #define CAAM_PX_SMAG2_PG0_Gx_ID17_MASK           (0x20000U)
13456 #define CAAM_PX_SMAG2_PG0_Gx_ID17_SHIFT          (17U)
13457 #define CAAM_PX_SMAG2_PG0_Gx_ID17(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID17_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID17_MASK)
13458 
13459 #define CAAM_PX_SMAG2_PG0_Gx_ID18_MASK           (0x40000U)
13460 #define CAAM_PX_SMAG2_PG0_Gx_ID18_SHIFT          (18U)
13461 #define CAAM_PX_SMAG2_PG0_Gx_ID18(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID18_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID18_MASK)
13462 
13463 #define CAAM_PX_SMAG2_PG0_Gx_ID19_MASK           (0x80000U)
13464 #define CAAM_PX_SMAG2_PG0_Gx_ID19_SHIFT          (19U)
13465 #define CAAM_PX_SMAG2_PG0_Gx_ID19(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID19_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID19_MASK)
13466 
13467 #define CAAM_PX_SMAG2_PG0_Gx_ID20_MASK           (0x100000U)
13468 #define CAAM_PX_SMAG2_PG0_Gx_ID20_SHIFT          (20U)
13469 #define CAAM_PX_SMAG2_PG0_Gx_ID20(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID20_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID20_MASK)
13470 
13471 #define CAAM_PX_SMAG2_PG0_Gx_ID21_MASK           (0x200000U)
13472 #define CAAM_PX_SMAG2_PG0_Gx_ID21_SHIFT          (21U)
13473 #define CAAM_PX_SMAG2_PG0_Gx_ID21(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID21_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID21_MASK)
13474 
13475 #define CAAM_PX_SMAG2_PG0_Gx_ID22_MASK           (0x400000U)
13476 #define CAAM_PX_SMAG2_PG0_Gx_ID22_SHIFT          (22U)
13477 #define CAAM_PX_SMAG2_PG0_Gx_ID22(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID22_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID22_MASK)
13478 
13479 #define CAAM_PX_SMAG2_PG0_Gx_ID23_MASK           (0x800000U)
13480 #define CAAM_PX_SMAG2_PG0_Gx_ID23_SHIFT          (23U)
13481 #define CAAM_PX_SMAG2_PG0_Gx_ID23(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID23_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID23_MASK)
13482 
13483 #define CAAM_PX_SMAG2_PG0_Gx_ID24_MASK           (0x1000000U)
13484 #define CAAM_PX_SMAG2_PG0_Gx_ID24_SHIFT          (24U)
13485 #define CAAM_PX_SMAG2_PG0_Gx_ID24(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID24_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID24_MASK)
13486 
13487 #define CAAM_PX_SMAG2_PG0_Gx_ID25_MASK           (0x2000000U)
13488 #define CAAM_PX_SMAG2_PG0_Gx_ID25_SHIFT          (25U)
13489 #define CAAM_PX_SMAG2_PG0_Gx_ID25(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID25_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID25_MASK)
13490 
13491 #define CAAM_PX_SMAG2_PG0_Gx_ID26_MASK           (0x4000000U)
13492 #define CAAM_PX_SMAG2_PG0_Gx_ID26_SHIFT          (26U)
13493 #define CAAM_PX_SMAG2_PG0_Gx_ID26(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID26_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID26_MASK)
13494 
13495 #define CAAM_PX_SMAG2_PG0_Gx_ID27_MASK           (0x8000000U)
13496 #define CAAM_PX_SMAG2_PG0_Gx_ID27_SHIFT          (27U)
13497 #define CAAM_PX_SMAG2_PG0_Gx_ID27(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID27_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID27_MASK)
13498 
13499 #define CAAM_PX_SMAG2_PG0_Gx_ID28_MASK           (0x10000000U)
13500 #define CAAM_PX_SMAG2_PG0_Gx_ID28_SHIFT          (28U)
13501 #define CAAM_PX_SMAG2_PG0_Gx_ID28(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID28_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID28_MASK)
13502 
13503 #define CAAM_PX_SMAG2_PG0_Gx_ID29_MASK           (0x20000000U)
13504 #define CAAM_PX_SMAG2_PG0_Gx_ID29_SHIFT          (29U)
13505 #define CAAM_PX_SMAG2_PG0_Gx_ID29(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID29_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID29_MASK)
13506 
13507 #define CAAM_PX_SMAG2_PG0_Gx_ID30_MASK           (0x40000000U)
13508 #define CAAM_PX_SMAG2_PG0_Gx_ID30_SHIFT          (30U)
13509 #define CAAM_PX_SMAG2_PG0_Gx_ID30(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID30_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID30_MASK)
13510 
13511 #define CAAM_PX_SMAG2_PG0_Gx_ID31_MASK           (0x80000000U)
13512 #define CAAM_PX_SMAG2_PG0_Gx_ID31_SHIFT          (31U)
13513 #define CAAM_PX_SMAG2_PG0_Gx_ID31(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_PG0_Gx_ID31_SHIFT)) & CAAM_PX_SMAG2_PG0_Gx_ID31_MASK)
13514 /*! @} */
13515 
13516 /* The count of CAAM_PX_SMAG2_PG0 */
13517 #define CAAM_PX_SMAG2_PG0_COUNT                  (16U)
13518 
13519 /*! @name PX_SMAG1_PG0 - Secure Memory Access Group Registers */
13520 /*! @{ */
13521 
13522 #define CAAM_PX_SMAG1_PG0_Gx_ID00_MASK           (0x1U)
13523 #define CAAM_PX_SMAG1_PG0_Gx_ID00_SHIFT          (0U)
13524 #define CAAM_PX_SMAG1_PG0_Gx_ID00(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID00_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID00_MASK)
13525 
13526 #define CAAM_PX_SMAG1_PG0_Gx_ID01_MASK           (0x2U)
13527 #define CAAM_PX_SMAG1_PG0_Gx_ID01_SHIFT          (1U)
13528 #define CAAM_PX_SMAG1_PG0_Gx_ID01(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID01_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID01_MASK)
13529 
13530 #define CAAM_PX_SMAG1_PG0_Gx_ID02_MASK           (0x4U)
13531 #define CAAM_PX_SMAG1_PG0_Gx_ID02_SHIFT          (2U)
13532 #define CAAM_PX_SMAG1_PG0_Gx_ID02(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID02_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID02_MASK)
13533 
13534 #define CAAM_PX_SMAG1_PG0_Gx_ID03_MASK           (0x8U)
13535 #define CAAM_PX_SMAG1_PG0_Gx_ID03_SHIFT          (3U)
13536 #define CAAM_PX_SMAG1_PG0_Gx_ID03(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID03_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID03_MASK)
13537 
13538 #define CAAM_PX_SMAG1_PG0_Gx_ID04_MASK           (0x10U)
13539 #define CAAM_PX_SMAG1_PG0_Gx_ID04_SHIFT          (4U)
13540 #define CAAM_PX_SMAG1_PG0_Gx_ID04(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID04_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID04_MASK)
13541 
13542 #define CAAM_PX_SMAG1_PG0_Gx_ID05_MASK           (0x20U)
13543 #define CAAM_PX_SMAG1_PG0_Gx_ID05_SHIFT          (5U)
13544 #define CAAM_PX_SMAG1_PG0_Gx_ID05(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID05_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID05_MASK)
13545 
13546 #define CAAM_PX_SMAG1_PG0_Gx_ID06_MASK           (0x40U)
13547 #define CAAM_PX_SMAG1_PG0_Gx_ID06_SHIFT          (6U)
13548 #define CAAM_PX_SMAG1_PG0_Gx_ID06(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID06_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID06_MASK)
13549 
13550 #define CAAM_PX_SMAG1_PG0_Gx_ID07_MASK           (0x80U)
13551 #define CAAM_PX_SMAG1_PG0_Gx_ID07_SHIFT          (7U)
13552 #define CAAM_PX_SMAG1_PG0_Gx_ID07(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID07_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID07_MASK)
13553 
13554 #define CAAM_PX_SMAG1_PG0_Gx_ID08_MASK           (0x100U)
13555 #define CAAM_PX_SMAG1_PG0_Gx_ID08_SHIFT          (8U)
13556 #define CAAM_PX_SMAG1_PG0_Gx_ID08(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID08_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID08_MASK)
13557 
13558 #define CAAM_PX_SMAG1_PG0_Gx_ID09_MASK           (0x200U)
13559 #define CAAM_PX_SMAG1_PG0_Gx_ID09_SHIFT          (9U)
13560 #define CAAM_PX_SMAG1_PG0_Gx_ID09(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID09_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID09_MASK)
13561 
13562 #define CAAM_PX_SMAG1_PG0_Gx_ID10_MASK           (0x400U)
13563 #define CAAM_PX_SMAG1_PG0_Gx_ID10_SHIFT          (10U)
13564 #define CAAM_PX_SMAG1_PG0_Gx_ID10(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID10_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID10_MASK)
13565 
13566 #define CAAM_PX_SMAG1_PG0_Gx_ID11_MASK           (0x800U)
13567 #define CAAM_PX_SMAG1_PG0_Gx_ID11_SHIFT          (11U)
13568 #define CAAM_PX_SMAG1_PG0_Gx_ID11(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID11_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID11_MASK)
13569 
13570 #define CAAM_PX_SMAG1_PG0_Gx_ID12_MASK           (0x1000U)
13571 #define CAAM_PX_SMAG1_PG0_Gx_ID12_SHIFT          (12U)
13572 #define CAAM_PX_SMAG1_PG0_Gx_ID12(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID12_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID12_MASK)
13573 
13574 #define CAAM_PX_SMAG1_PG0_Gx_ID13_MASK           (0x2000U)
13575 #define CAAM_PX_SMAG1_PG0_Gx_ID13_SHIFT          (13U)
13576 #define CAAM_PX_SMAG1_PG0_Gx_ID13(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID13_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID13_MASK)
13577 
13578 #define CAAM_PX_SMAG1_PG0_Gx_ID14_MASK           (0x4000U)
13579 #define CAAM_PX_SMAG1_PG0_Gx_ID14_SHIFT          (14U)
13580 #define CAAM_PX_SMAG1_PG0_Gx_ID14(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID14_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID14_MASK)
13581 
13582 #define CAAM_PX_SMAG1_PG0_Gx_ID15_MASK           (0x8000U)
13583 #define CAAM_PX_SMAG1_PG0_Gx_ID15_SHIFT          (15U)
13584 #define CAAM_PX_SMAG1_PG0_Gx_ID15(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID15_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID15_MASK)
13585 
13586 #define CAAM_PX_SMAG1_PG0_Gx_ID16_MASK           (0x10000U)
13587 #define CAAM_PX_SMAG1_PG0_Gx_ID16_SHIFT          (16U)
13588 #define CAAM_PX_SMAG1_PG0_Gx_ID16(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID16_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID16_MASK)
13589 
13590 #define CAAM_PX_SMAG1_PG0_Gx_ID17_MASK           (0x20000U)
13591 #define CAAM_PX_SMAG1_PG0_Gx_ID17_SHIFT          (17U)
13592 #define CAAM_PX_SMAG1_PG0_Gx_ID17(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID17_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID17_MASK)
13593 
13594 #define CAAM_PX_SMAG1_PG0_Gx_ID18_MASK           (0x40000U)
13595 #define CAAM_PX_SMAG1_PG0_Gx_ID18_SHIFT          (18U)
13596 #define CAAM_PX_SMAG1_PG0_Gx_ID18(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID18_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID18_MASK)
13597 
13598 #define CAAM_PX_SMAG1_PG0_Gx_ID19_MASK           (0x80000U)
13599 #define CAAM_PX_SMAG1_PG0_Gx_ID19_SHIFT          (19U)
13600 #define CAAM_PX_SMAG1_PG0_Gx_ID19(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID19_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID19_MASK)
13601 
13602 #define CAAM_PX_SMAG1_PG0_Gx_ID20_MASK           (0x100000U)
13603 #define CAAM_PX_SMAG1_PG0_Gx_ID20_SHIFT          (20U)
13604 #define CAAM_PX_SMAG1_PG0_Gx_ID20(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID20_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID20_MASK)
13605 
13606 #define CAAM_PX_SMAG1_PG0_Gx_ID21_MASK           (0x200000U)
13607 #define CAAM_PX_SMAG1_PG0_Gx_ID21_SHIFT          (21U)
13608 #define CAAM_PX_SMAG1_PG0_Gx_ID21(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID21_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID21_MASK)
13609 
13610 #define CAAM_PX_SMAG1_PG0_Gx_ID22_MASK           (0x400000U)
13611 #define CAAM_PX_SMAG1_PG0_Gx_ID22_SHIFT          (22U)
13612 #define CAAM_PX_SMAG1_PG0_Gx_ID22(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID22_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID22_MASK)
13613 
13614 #define CAAM_PX_SMAG1_PG0_Gx_ID23_MASK           (0x800000U)
13615 #define CAAM_PX_SMAG1_PG0_Gx_ID23_SHIFT          (23U)
13616 #define CAAM_PX_SMAG1_PG0_Gx_ID23(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID23_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID23_MASK)
13617 
13618 #define CAAM_PX_SMAG1_PG0_Gx_ID24_MASK           (0x1000000U)
13619 #define CAAM_PX_SMAG1_PG0_Gx_ID24_SHIFT          (24U)
13620 #define CAAM_PX_SMAG1_PG0_Gx_ID24(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID24_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID24_MASK)
13621 
13622 #define CAAM_PX_SMAG1_PG0_Gx_ID25_MASK           (0x2000000U)
13623 #define CAAM_PX_SMAG1_PG0_Gx_ID25_SHIFT          (25U)
13624 #define CAAM_PX_SMAG1_PG0_Gx_ID25(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID25_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID25_MASK)
13625 
13626 #define CAAM_PX_SMAG1_PG0_Gx_ID26_MASK           (0x4000000U)
13627 #define CAAM_PX_SMAG1_PG0_Gx_ID26_SHIFT          (26U)
13628 #define CAAM_PX_SMAG1_PG0_Gx_ID26(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID26_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID26_MASK)
13629 
13630 #define CAAM_PX_SMAG1_PG0_Gx_ID27_MASK           (0x8000000U)
13631 #define CAAM_PX_SMAG1_PG0_Gx_ID27_SHIFT          (27U)
13632 #define CAAM_PX_SMAG1_PG0_Gx_ID27(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID27_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID27_MASK)
13633 
13634 #define CAAM_PX_SMAG1_PG0_Gx_ID28_MASK           (0x10000000U)
13635 #define CAAM_PX_SMAG1_PG0_Gx_ID28_SHIFT          (28U)
13636 #define CAAM_PX_SMAG1_PG0_Gx_ID28(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID28_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID28_MASK)
13637 
13638 #define CAAM_PX_SMAG1_PG0_Gx_ID29_MASK           (0x20000000U)
13639 #define CAAM_PX_SMAG1_PG0_Gx_ID29_SHIFT          (29U)
13640 #define CAAM_PX_SMAG1_PG0_Gx_ID29(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID29_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID29_MASK)
13641 
13642 #define CAAM_PX_SMAG1_PG0_Gx_ID30_MASK           (0x40000000U)
13643 #define CAAM_PX_SMAG1_PG0_Gx_ID30_SHIFT          (30U)
13644 #define CAAM_PX_SMAG1_PG0_Gx_ID30(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID30_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID30_MASK)
13645 
13646 #define CAAM_PX_SMAG1_PG0_Gx_ID31_MASK           (0x80000000U)
13647 #define CAAM_PX_SMAG1_PG0_Gx_ID31_SHIFT          (31U)
13648 #define CAAM_PX_SMAG1_PG0_Gx_ID31(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_PG0_Gx_ID31_SHIFT)) & CAAM_PX_SMAG1_PG0_Gx_ID31_MASK)
13649 /*! @} */
13650 
13651 /* The count of CAAM_PX_SMAG1_PG0 */
13652 #define CAAM_PX_SMAG1_PG0_COUNT                  (16U)
13653 
13654 /*! @name REIS - Recoverable Error Interrupt Status */
13655 /*! @{ */
13656 
13657 #define CAAM_REIS_CWDE_MASK                      (0x1U)
13658 #define CAAM_REIS_CWDE_SHIFT                     (0U)
13659 #define CAAM_REIS_CWDE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_CWDE_SHIFT)) & CAAM_REIS_CWDE_MASK)
13660 
13661 #define CAAM_REIS_RBAE_MASK                      (0x10000U)
13662 #define CAAM_REIS_RBAE_SHIFT                     (16U)
13663 #define CAAM_REIS_RBAE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_RBAE_SHIFT)) & CAAM_REIS_RBAE_MASK)
13664 
13665 #define CAAM_REIS_JBAE0_MASK                     (0x1000000U)
13666 #define CAAM_REIS_JBAE0_SHIFT                    (24U)
13667 #define CAAM_REIS_JBAE0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_JBAE0_SHIFT)) & CAAM_REIS_JBAE0_MASK)
13668 
13669 #define CAAM_REIS_JBAE1_MASK                     (0x2000000U)
13670 #define CAAM_REIS_JBAE1_SHIFT                    (25U)
13671 #define CAAM_REIS_JBAE1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_JBAE1_SHIFT)) & CAAM_REIS_JBAE1_MASK)
13672 
13673 #define CAAM_REIS_JBAE2_MASK                     (0x4000000U)
13674 #define CAAM_REIS_JBAE2_SHIFT                    (26U)
13675 #define CAAM_REIS_JBAE2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_JBAE2_SHIFT)) & CAAM_REIS_JBAE2_MASK)
13676 
13677 #define CAAM_REIS_JBAE3_MASK                     (0x8000000U)
13678 #define CAAM_REIS_JBAE3_SHIFT                    (27U)
13679 #define CAAM_REIS_JBAE3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIS_JBAE3_SHIFT)) & CAAM_REIS_JBAE3_MASK)
13680 /*! @} */
13681 
13682 /*! @name REIE - Recoverable Error Interrupt Enable */
13683 /*! @{ */
13684 
13685 #define CAAM_REIE_CWDE_MASK                      (0x1U)
13686 #define CAAM_REIE_CWDE_SHIFT                     (0U)
13687 #define CAAM_REIE_CWDE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_CWDE_SHIFT)) & CAAM_REIE_CWDE_MASK)
13688 
13689 #define CAAM_REIE_RBAE_MASK                      (0x10000U)
13690 #define CAAM_REIE_RBAE_SHIFT                     (16U)
13691 #define CAAM_REIE_RBAE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_RBAE_SHIFT)) & CAAM_REIE_RBAE_MASK)
13692 
13693 #define CAAM_REIE_JBAE0_MASK                     (0x1000000U)
13694 #define CAAM_REIE_JBAE0_SHIFT                    (24U)
13695 #define CAAM_REIE_JBAE0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_JBAE0_SHIFT)) & CAAM_REIE_JBAE0_MASK)
13696 
13697 #define CAAM_REIE_JBAE1_MASK                     (0x2000000U)
13698 #define CAAM_REIE_JBAE1_SHIFT                    (25U)
13699 #define CAAM_REIE_JBAE1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_JBAE1_SHIFT)) & CAAM_REIE_JBAE1_MASK)
13700 
13701 #define CAAM_REIE_JBAE2_MASK                     (0x4000000U)
13702 #define CAAM_REIE_JBAE2_SHIFT                    (26U)
13703 #define CAAM_REIE_JBAE2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_JBAE2_SHIFT)) & CAAM_REIE_JBAE2_MASK)
13704 
13705 #define CAAM_REIE_JBAE3_MASK                     (0x8000000U)
13706 #define CAAM_REIE_JBAE3_SHIFT                    (27U)
13707 #define CAAM_REIE_JBAE3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIE_JBAE3_SHIFT)) & CAAM_REIE_JBAE3_MASK)
13708 /*! @} */
13709 
13710 /*! @name REIF - Recoverable Error Interrupt Force */
13711 /*! @{ */
13712 
13713 #define CAAM_REIF_CWDE_MASK                      (0x1U)
13714 #define CAAM_REIF_CWDE_SHIFT                     (0U)
13715 #define CAAM_REIF_CWDE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_CWDE_SHIFT)) & CAAM_REIF_CWDE_MASK)
13716 
13717 #define CAAM_REIF_RBAE_MASK                      (0x10000U)
13718 #define CAAM_REIF_RBAE_SHIFT                     (16U)
13719 #define CAAM_REIF_RBAE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_RBAE_SHIFT)) & CAAM_REIF_RBAE_MASK)
13720 
13721 #define CAAM_REIF_JBAE0_MASK                     (0x1000000U)
13722 #define CAAM_REIF_JBAE0_SHIFT                    (24U)
13723 #define CAAM_REIF_JBAE0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_JBAE0_SHIFT)) & CAAM_REIF_JBAE0_MASK)
13724 
13725 #define CAAM_REIF_JBAE1_MASK                     (0x2000000U)
13726 #define CAAM_REIF_JBAE1_SHIFT                    (25U)
13727 #define CAAM_REIF_JBAE1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_JBAE1_SHIFT)) & CAAM_REIF_JBAE1_MASK)
13728 
13729 #define CAAM_REIF_JBAE2_MASK                     (0x4000000U)
13730 #define CAAM_REIF_JBAE2_SHIFT                    (26U)
13731 #define CAAM_REIF_JBAE2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_JBAE2_SHIFT)) & CAAM_REIF_JBAE2_MASK)
13732 
13733 #define CAAM_REIF_JBAE3_MASK                     (0x8000000U)
13734 #define CAAM_REIF_JBAE3_SHIFT                    (27U)
13735 #define CAAM_REIF_JBAE3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIF_JBAE3_SHIFT)) & CAAM_REIF_JBAE3_MASK)
13736 /*! @} */
13737 
13738 /*! @name REIH - Recoverable Error Interrupt Halt */
13739 /*! @{ */
13740 
13741 #define CAAM_REIH_CWDE_MASK                      (0x1U)
13742 #define CAAM_REIH_CWDE_SHIFT                     (0U)
13743 /*! CWDE
13744  *  0b0..Don't halt CAAM if CAAM watchdog expired.
13745  *  0b1..Halt CAAM if CAAM watchdog expired..
13746  */
13747 #define CAAM_REIH_CWDE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_CWDE_SHIFT)) & CAAM_REIH_CWDE_MASK)
13748 
13749 #define CAAM_REIH_RBAE_MASK                      (0x10000U)
13750 #define CAAM_REIH_RBAE_SHIFT                     (16U)
13751 /*! RBAE
13752  *  0b0..Don't halt CAAM if RTIC-initiated job execution caused bus access error.
13753  *  0b1..Halt CAAM if RTIC-initiated job execution caused bus access error.
13754  */
13755 #define CAAM_REIH_RBAE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_RBAE_SHIFT)) & CAAM_REIH_RBAE_MASK)
13756 
13757 #define CAAM_REIH_JBAE0_MASK                     (0x1000000U)
13758 #define CAAM_REIH_JBAE0_SHIFT                    (24U)
13759 /*! JBAE0
13760  *  0b0..Don't halt CAAM if JR0-initiated job execution caused bus access error.
13761  *  0b1..Halt CAAM if JR0-initiated job execution caused bus access error.
13762  */
13763 #define CAAM_REIH_JBAE0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_JBAE0_SHIFT)) & CAAM_REIH_JBAE0_MASK)
13764 
13765 #define CAAM_REIH_JBAE1_MASK                     (0x2000000U)
13766 #define CAAM_REIH_JBAE1_SHIFT                    (25U)
13767 /*! JBAE1
13768  *  0b0..Don't halt CAAM if JR1-initiated job execution caused bus access error.
13769  *  0b1..Halt CAAM if JR1-initiated job execution caused bus access error.
13770  */
13771 #define CAAM_REIH_JBAE1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_JBAE1_SHIFT)) & CAAM_REIH_JBAE1_MASK)
13772 
13773 #define CAAM_REIH_JBAE2_MASK                     (0x4000000U)
13774 #define CAAM_REIH_JBAE2_SHIFT                    (26U)
13775 /*! JBAE2
13776  *  0b0..Don't halt CAAM if JR2-initiated job execution caused bus access error.
13777  *  0b1..Halt CAAM if JR2-initiated job execution caused bus access error.
13778  */
13779 #define CAAM_REIH_JBAE2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_JBAE2_SHIFT)) & CAAM_REIH_JBAE2_MASK)
13780 
13781 #define CAAM_REIH_JBAE3_MASK                     (0x8000000U)
13782 #define CAAM_REIH_JBAE3_SHIFT                    (27U)
13783 /*! JBAE3
13784  *  0b0..Don't halt CAAM if JR3-initiated job execution caused bus access error.
13785  *  0b1..Halt CAAM if JR3-initiated job execution caused bus access error.
13786  */
13787 #define CAAM_REIH_JBAE3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_REIH_JBAE3_SHIFT)) & CAAM_REIH_JBAE3_MASK)
13788 /*! @} */
13789 
13790 /*! @name SMWPJRR - Secure Memory Write Protect Job Ring Register */
13791 /*! @{ */
13792 
13793 #define CAAM_SMWPJRR_SMR_WP_JRa_MASK             (0x1U)
13794 #define CAAM_SMWPJRR_SMR_WP_JRa_SHIFT            (0U)
13795 #define CAAM_SMWPJRR_SMR_WP_JRa(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_SMWPJRR_SMR_WP_JRa_SHIFT)) & CAAM_SMWPJRR_SMR_WP_JRa_MASK)
13796 /*! @} */
13797 
13798 /* The count of CAAM_SMWPJRR */
13799 #define CAAM_SMWPJRR_COUNT                       (4U)
13800 
13801 /*! @name SMCR_PG0 - Secure Memory Command Register */
13802 /*! @{ */
13803 
13804 #define CAAM_SMCR_PG0_CMD_MASK                   (0xFU)
13805 #define CAAM_SMCR_PG0_CMD_SHIFT                  (0U)
13806 #define CAAM_SMCR_PG0_CMD(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_PG0_CMD_SHIFT)) & CAAM_SMCR_PG0_CMD_MASK)
13807 
13808 #define CAAM_SMCR_PG0_PRTN_MASK                  (0xF00U)
13809 #define CAAM_SMCR_PG0_PRTN_SHIFT                 (8U)
13810 #define CAAM_SMCR_PG0_PRTN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_PG0_PRTN_SHIFT)) & CAAM_SMCR_PG0_PRTN_MASK)
13811 
13812 #define CAAM_SMCR_PG0_PAGE_MASK                  (0xFFFF0000U)
13813 #define CAAM_SMCR_PG0_PAGE_SHIFT                 (16U)
13814 #define CAAM_SMCR_PG0_PAGE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_PG0_PAGE_SHIFT)) & CAAM_SMCR_PG0_PAGE_MASK)
13815 /*! @} */
13816 
13817 /*! @name SMCSR_PG0 - Secure Memory Command Status Register */
13818 /*! @{ */
13819 
13820 #define CAAM_SMCSR_PG0_PRTN_MASK                 (0xFU)
13821 #define CAAM_SMCSR_PG0_PRTN_SHIFT                (0U)
13822 #define CAAM_SMCSR_PG0_PRTN(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_PG0_PRTN_SHIFT)) & CAAM_SMCSR_PG0_PRTN_MASK)
13823 
13824 #define CAAM_SMCSR_PG0_PO_MASK                   (0xC0U)
13825 #define CAAM_SMCSR_PG0_PO_SHIFT                  (6U)
13826 /*! PO
13827  *  0b00..Available; Unowned: The entity that issued the inquiry may allocate this page to a partition. No
13828  *        zeroization is needed since it has already been cleared, therefore no interrupt should be expected.
13829  *  0b01..Page does not exist in this version or is not initialized yet.
13830  *  0b10..Another entity owns the page. This page is unavailable to the issuer of the inquiry.
13831  *  0b11..Owned by the entity making the inquiry. The owner may de-allocate this page if its partition is not
13832  *        marked PSP. If the partition to which the page is allocated is designated as CSP, the page will be zeroized
13833  *        upon de-allocation.
13834  */
13835 #define CAAM_SMCSR_PG0_PO(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_PG0_PO_SHIFT)) & CAAM_SMCSR_PG0_PO_MASK)
13836 
13837 #define CAAM_SMCSR_PG0_AERR_MASK                 (0x3000U)
13838 #define CAAM_SMCSR_PG0_AERR_SHIFT                (12U)
13839 #define CAAM_SMCSR_PG0_AERR(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_PG0_AERR_SHIFT)) & CAAM_SMCSR_PG0_AERR_MASK)
13840 
13841 #define CAAM_SMCSR_PG0_CERR_MASK                 (0xC000U)
13842 #define CAAM_SMCSR_PG0_CERR_SHIFT                (14U)
13843 /*! CERR
13844  *  0b00..No Error.
13845  *  0b01..Command has not yet completed.
13846  *  0b10..A security failure occurred.
13847  *  0b11..Command Overflow. Another command was issued by the same Job Ring owner before the owner's previous
13848  *        command completed. The additional command was ignored.
13849  */
13850 #define CAAM_SMCSR_PG0_CERR(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_PG0_CERR_SHIFT)) & CAAM_SMCSR_PG0_CERR_MASK)
13851 
13852 #define CAAM_SMCSR_PG0_PAGE_MASK                 (0xFFF0000U)
13853 #define CAAM_SMCSR_PG0_PAGE_SHIFT                (16U)
13854 #define CAAM_SMCSR_PG0_PAGE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_PG0_PAGE_SHIFT)) & CAAM_SMCSR_PG0_PAGE_MASK)
13855 /*! @} */
13856 
13857 /*! @name CAAMVID_MS_TRAD - CAAM Version ID Register, most-significant half */
13858 /*! @{ */
13859 
13860 #define CAAM_CAAMVID_MS_TRAD_MIN_REV_MASK        (0xFFU)
13861 #define CAAM_CAAMVID_MS_TRAD_MIN_REV_SHIFT       (0U)
13862 #define CAAM_CAAMVID_MS_TRAD_MIN_REV(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_MS_TRAD_MIN_REV_SHIFT)) & CAAM_CAAMVID_MS_TRAD_MIN_REV_MASK)
13863 
13864 #define CAAM_CAAMVID_MS_TRAD_MAJ_REV_MASK        (0xFF00U)
13865 #define CAAM_CAAMVID_MS_TRAD_MAJ_REV_SHIFT       (8U)
13866 #define CAAM_CAAMVID_MS_TRAD_MAJ_REV(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_MS_TRAD_MAJ_REV_SHIFT)) & CAAM_CAAMVID_MS_TRAD_MAJ_REV_MASK)
13867 
13868 #define CAAM_CAAMVID_MS_TRAD_IP_ID_MASK          (0xFFFF0000U)
13869 #define CAAM_CAAMVID_MS_TRAD_IP_ID_SHIFT         (16U)
13870 #define CAAM_CAAMVID_MS_TRAD_IP_ID(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_MS_TRAD_IP_ID_SHIFT)) & CAAM_CAAMVID_MS_TRAD_IP_ID_MASK)
13871 /*! @} */
13872 
13873 /*! @name CAAMVID_LS_TRAD - CAAM Version ID Register, least-significant half */
13874 /*! @{ */
13875 
13876 #define CAAM_CAAMVID_LS_TRAD_CONFIG_OPT_MASK     (0xFFU)
13877 #define CAAM_CAAMVID_LS_TRAD_CONFIG_OPT_SHIFT    (0U)
13878 #define CAAM_CAAMVID_LS_TRAD_CONFIG_OPT(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_LS_TRAD_CONFIG_OPT_SHIFT)) & CAAM_CAAMVID_LS_TRAD_CONFIG_OPT_MASK)
13879 
13880 #define CAAM_CAAMVID_LS_TRAD_ECO_REV_MASK        (0xFF00U)
13881 #define CAAM_CAAMVID_LS_TRAD_ECO_REV_SHIFT       (8U)
13882 #define CAAM_CAAMVID_LS_TRAD_ECO_REV(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_LS_TRAD_ECO_REV_SHIFT)) & CAAM_CAAMVID_LS_TRAD_ECO_REV_MASK)
13883 
13884 #define CAAM_CAAMVID_LS_TRAD_INTG_OPT_MASK       (0xFF0000U)
13885 #define CAAM_CAAMVID_LS_TRAD_INTG_OPT_SHIFT      (16U)
13886 #define CAAM_CAAMVID_LS_TRAD_INTG_OPT(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_LS_TRAD_INTG_OPT_SHIFT)) & CAAM_CAAMVID_LS_TRAD_INTG_OPT_MASK)
13887 
13888 #define CAAM_CAAMVID_LS_TRAD_COMPILE_OPT_MASK    (0xFF000000U)
13889 #define CAAM_CAAMVID_LS_TRAD_COMPILE_OPT_SHIFT   (24U)
13890 #define CAAM_CAAMVID_LS_TRAD_COMPILE_OPT(x)      (((uint32_t)(((uint32_t)(x)) << CAAM_CAAMVID_LS_TRAD_COMPILE_OPT_SHIFT)) & CAAM_CAAMVID_LS_TRAD_COMPILE_OPT_MASK)
13891 /*! @} */
13892 
13893 /*! @name HT_JD_ADDR - Holding Tank 0 Job Descriptor Address */
13894 /*! @{ */
13895 
13896 #define CAAM_HT_JD_ADDR_JD_ADDR_MASK             (0xFFFFFFFFFU)
13897 #define CAAM_HT_JD_ADDR_JD_ADDR_SHIFT            (0U)
13898 #define CAAM_HT_JD_ADDR_JD_ADDR(x)               (((uint64_t)(((uint64_t)(x)) << CAAM_HT_JD_ADDR_JD_ADDR_SHIFT)) & CAAM_HT_JD_ADDR_JD_ADDR_MASK)
13899 /*! @} */
13900 
13901 /* The count of CAAM_HT_JD_ADDR */
13902 #define CAAM_HT_JD_ADDR_COUNT                    (1U)
13903 
13904 /*! @name HT_SD_ADDR - Holding Tank 0 Shared Descriptor Address */
13905 /*! @{ */
13906 
13907 #define CAAM_HT_SD_ADDR_SD_ADDR_MASK             (0xFFFFFFFFFU)
13908 #define CAAM_HT_SD_ADDR_SD_ADDR_SHIFT            (0U)
13909 #define CAAM_HT_SD_ADDR_SD_ADDR(x)               (((uint64_t)(((uint64_t)(x)) << CAAM_HT_SD_ADDR_SD_ADDR_SHIFT)) & CAAM_HT_SD_ADDR_SD_ADDR_MASK)
13910 /*! @} */
13911 
13912 /* The count of CAAM_HT_SD_ADDR */
13913 #define CAAM_HT_SD_ADDR_COUNT                    (1U)
13914 
13915 /*! @name HT_JQ_CTRL_MS - Holding Tank 0 Job Queue Control, most-significant half */
13916 /*! @{ */
13917 
13918 #define CAAM_HT_JQ_CTRL_MS_ID_MASK               (0x7U)
13919 #define CAAM_HT_JQ_CTRL_MS_ID_SHIFT              (0U)
13920 #define CAAM_HT_JQ_CTRL_MS_ID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_ID_SHIFT)) & CAAM_HT_JQ_CTRL_MS_ID_MASK)
13921 
13922 #define CAAM_HT_JQ_CTRL_MS_SRC_MASK              (0x700U)
13923 #define CAAM_HT_JQ_CTRL_MS_SRC_SHIFT             (8U)
13924 /*! SRC
13925  *  0b000..Job Ring 0
13926  *  0b001..Job Ring 1
13927  *  0b010..Job Ring 2
13928  *  0b011..Job Ring 3
13929  *  0b100..RTIC
13930  *  0b101..Reserved
13931  *  0b110..Reserved
13932  *  0b111..Reserved
13933  */
13934 #define CAAM_HT_JQ_CTRL_MS_SRC(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_SRC_SHIFT)) & CAAM_HT_JQ_CTRL_MS_SRC_MASK)
13935 
13936 #define CAAM_HT_JQ_CTRL_MS_JDDS_MASK             (0x4000U)
13937 #define CAAM_HT_JQ_CTRL_MS_JDDS_SHIFT            (14U)
13938 /*! JDDS
13939  *  0b1..SEQ DID
13940  *  0b0..Non-SEQ DID
13941  */
13942 #define CAAM_HT_JQ_CTRL_MS_JDDS(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_JDDS_SHIFT)) & CAAM_HT_JQ_CTRL_MS_JDDS_MASK)
13943 
13944 #define CAAM_HT_JQ_CTRL_MS_AMTD_MASK             (0x8000U)
13945 #define CAAM_HT_JQ_CTRL_MS_AMTD_SHIFT            (15U)
13946 #define CAAM_HT_JQ_CTRL_MS_AMTD(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_AMTD_SHIFT)) & CAAM_HT_JQ_CTRL_MS_AMTD_MASK)
13947 
13948 #define CAAM_HT_JQ_CTRL_MS_SOB_MASK              (0x10000U)
13949 #define CAAM_HT_JQ_CTRL_MS_SOB_SHIFT             (16U)
13950 #define CAAM_HT_JQ_CTRL_MS_SOB(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_SOB_SHIFT)) & CAAM_HT_JQ_CTRL_MS_SOB_MASK)
13951 
13952 #define CAAM_HT_JQ_CTRL_MS_HT_ERROR_MASK         (0x60000U)
13953 #define CAAM_HT_JQ_CTRL_MS_HT_ERROR_SHIFT        (17U)
13954 /*! HT_ERROR
13955  *  0b00..No error
13956  *  0b01..Job Descriptor or Shared Descriptor length error
13957  *  0b10..AXI_error while reading a Job Ring Shared Descriptor or the remainder of a Job Ring Job Descriptor
13958  *  0b11..reserved
13959  */
13960 #define CAAM_HT_JQ_CTRL_MS_HT_ERROR(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_HT_ERROR_SHIFT)) & CAAM_HT_JQ_CTRL_MS_HT_ERROR_MASK)
13961 
13962 #define CAAM_HT_JQ_CTRL_MS_DWORD_SWAP_MASK       (0x80000U)
13963 #define CAAM_HT_JQ_CTRL_MS_DWORD_SWAP_SHIFT      (19U)
13964 /*! DWORD_SWAP
13965  *  0b0..DWords are in the order most-significant word, least-significant word.
13966  *  0b1..DWords are in the order least-significant word, most-significant word.
13967  */
13968 #define CAAM_HT_JQ_CTRL_MS_DWORD_SWAP(x)         (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_DWORD_SWAP_SHIFT)) & CAAM_HT_JQ_CTRL_MS_DWORD_SWAP_MASK)
13969 
13970 #define CAAM_HT_JQ_CTRL_MS_SHR_FROM_MASK         (0x7C00000U)
13971 #define CAAM_HT_JQ_CTRL_MS_SHR_FROM_SHIFT        (22U)
13972 #define CAAM_HT_JQ_CTRL_MS_SHR_FROM(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_SHR_FROM_SHIFT)) & CAAM_HT_JQ_CTRL_MS_SHR_FROM_MASK)
13973 
13974 #define CAAM_HT_JQ_CTRL_MS_ILE_MASK              (0x8000000U)
13975 #define CAAM_HT_JQ_CTRL_MS_ILE_SHIFT             (27U)
13976 /*! ILE
13977  *  0b0..No byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
13978  *  0b1..Byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
13979  */
13980 #define CAAM_HT_JQ_CTRL_MS_ILE(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_ILE_SHIFT)) & CAAM_HT_JQ_CTRL_MS_ILE_MASK)
13981 
13982 #define CAAM_HT_JQ_CTRL_MS_FOUR_MASK             (0x10000000U)
13983 #define CAAM_HT_JQ_CTRL_MS_FOUR_SHIFT            (28U)
13984 #define CAAM_HT_JQ_CTRL_MS_FOUR(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_FOUR_SHIFT)) & CAAM_HT_JQ_CTRL_MS_FOUR_MASK)
13985 
13986 #define CAAM_HT_JQ_CTRL_MS_WHL_MASK              (0x20000000U)
13987 #define CAAM_HT_JQ_CTRL_MS_WHL_SHIFT             (29U)
13988 #define CAAM_HT_JQ_CTRL_MS_WHL(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_MS_WHL_SHIFT)) & CAAM_HT_JQ_CTRL_MS_WHL_MASK)
13989 /*! @} */
13990 
13991 /* The count of CAAM_HT_JQ_CTRL_MS */
13992 #define CAAM_HT_JQ_CTRL_MS_COUNT                 (1U)
13993 
13994 /*! @name HT_JQ_CTRL_LS - Holding Tank 0 Job Queue Control, least-significant half */
13995 /*! @{ */
13996 
13997 #define CAAM_HT_JQ_CTRL_LS_PRIM_DID_MASK         (0xFU)
13998 #define CAAM_HT_JQ_CTRL_LS_PRIM_DID_SHIFT        (0U)
13999 #define CAAM_HT_JQ_CTRL_LS_PRIM_DID(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_LS_PRIM_DID_SHIFT)) & CAAM_HT_JQ_CTRL_LS_PRIM_DID_MASK)
14000 
14001 #define CAAM_HT_JQ_CTRL_LS_PRIM_TZ_MASK          (0x10U)
14002 #define CAAM_HT_JQ_CTRL_LS_PRIM_TZ_SHIFT         (4U)
14003 /*! PRIM_TZ
14004  *  0b0..TrustZone NonSecureWorld
14005  *  0b1..TrustZone SecureWorld
14006  */
14007 #define CAAM_HT_JQ_CTRL_LS_PRIM_TZ(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_LS_PRIM_TZ_SHIFT)) & CAAM_HT_JQ_CTRL_LS_PRIM_TZ_MASK)
14008 
14009 #define CAAM_HT_JQ_CTRL_LS_PRIM_ICID_MASK        (0xFFE0U)
14010 #define CAAM_HT_JQ_CTRL_LS_PRIM_ICID_SHIFT       (5U)
14011 #define CAAM_HT_JQ_CTRL_LS_PRIM_ICID(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_LS_PRIM_ICID_SHIFT)) & CAAM_HT_JQ_CTRL_LS_PRIM_ICID_MASK)
14012 
14013 #define CAAM_HT_JQ_CTRL_LS_OUT_DID_MASK          (0xF0000U)
14014 #define CAAM_HT_JQ_CTRL_LS_OUT_DID_SHIFT         (16U)
14015 #define CAAM_HT_JQ_CTRL_LS_OUT_DID(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_LS_OUT_DID_SHIFT)) & CAAM_HT_JQ_CTRL_LS_OUT_DID_MASK)
14016 
14017 #define CAAM_HT_JQ_CTRL_LS_OUT_ICID_MASK         (0xFFE00000U)
14018 #define CAAM_HT_JQ_CTRL_LS_OUT_ICID_SHIFT        (21U)
14019 #define CAAM_HT_JQ_CTRL_LS_OUT_ICID(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_HT_JQ_CTRL_LS_OUT_ICID_SHIFT)) & CAAM_HT_JQ_CTRL_LS_OUT_ICID_MASK)
14020 /*! @} */
14021 
14022 /* The count of CAAM_HT_JQ_CTRL_LS */
14023 #define CAAM_HT_JQ_CTRL_LS_COUNT                 (1U)
14024 
14025 /*! @name HT_STATUS - Holding Tank Status */
14026 /*! @{ */
14027 
14028 #define CAAM_HT_STATUS_PEND_0_MASK               (0x1U)
14029 #define CAAM_HT_STATUS_PEND_0_SHIFT              (0U)
14030 #define CAAM_HT_STATUS_PEND_0(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_HT_STATUS_PEND_0_SHIFT)) & CAAM_HT_STATUS_PEND_0_MASK)
14031 
14032 #define CAAM_HT_STATUS_IN_USE_MASK               (0x40000000U)
14033 #define CAAM_HT_STATUS_IN_USE_SHIFT              (30U)
14034 #define CAAM_HT_STATUS_IN_USE(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_HT_STATUS_IN_USE_SHIFT)) & CAAM_HT_STATUS_IN_USE_MASK)
14035 
14036 #define CAAM_HT_STATUS_BC_MASK                   (0x80000000U)
14037 #define CAAM_HT_STATUS_BC_SHIFT                  (31U)
14038 #define CAAM_HT_STATUS_BC(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_HT_STATUS_BC_SHIFT)) & CAAM_HT_STATUS_BC_MASK)
14039 /*! @} */
14040 
14041 /* The count of CAAM_HT_STATUS */
14042 #define CAAM_HT_STATUS_COUNT                     (1U)
14043 
14044 /*! @name JQ_DEBUG_SEL - Job Queue Debug Select Register */
14045 /*! @{ */
14046 
14047 #define CAAM_JQ_DEBUG_SEL_HT_SEL_MASK            (0x1U)
14048 #define CAAM_JQ_DEBUG_SEL_HT_SEL_SHIFT           (0U)
14049 #define CAAM_JQ_DEBUG_SEL_HT_SEL(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_JQ_DEBUG_SEL_HT_SEL_SHIFT)) & CAAM_JQ_DEBUG_SEL_HT_SEL_MASK)
14050 
14051 #define CAAM_JQ_DEBUG_SEL_JOB_ID_MASK            (0x70000U)
14052 #define CAAM_JQ_DEBUG_SEL_JOB_ID_SHIFT           (16U)
14053 #define CAAM_JQ_DEBUG_SEL_JOB_ID(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_JQ_DEBUG_SEL_JOB_ID_SHIFT)) & CAAM_JQ_DEBUG_SEL_JOB_ID_MASK)
14054 /*! @} */
14055 
14056 /*! @name JRJIDU_LS - Job Ring Job IDs in Use Register, least-significant half */
14057 /*! @{ */
14058 
14059 #define CAAM_JRJIDU_LS_JID00_MASK                (0x1U)
14060 #define CAAM_JRJIDU_LS_JID00_SHIFT               (0U)
14061 #define CAAM_JRJIDU_LS_JID00(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_JRJIDU_LS_JID00_SHIFT)) & CAAM_JRJIDU_LS_JID00_MASK)
14062 
14063 #define CAAM_JRJIDU_LS_JID01_MASK                (0x2U)
14064 #define CAAM_JRJIDU_LS_JID01_SHIFT               (1U)
14065 #define CAAM_JRJIDU_LS_JID01(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_JRJIDU_LS_JID01_SHIFT)) & CAAM_JRJIDU_LS_JID01_MASK)
14066 
14067 #define CAAM_JRJIDU_LS_JID02_MASK                (0x4U)
14068 #define CAAM_JRJIDU_LS_JID02_SHIFT               (2U)
14069 #define CAAM_JRJIDU_LS_JID02(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_JRJIDU_LS_JID02_SHIFT)) & CAAM_JRJIDU_LS_JID02_MASK)
14070 
14071 #define CAAM_JRJIDU_LS_JID03_MASK                (0x8U)
14072 #define CAAM_JRJIDU_LS_JID03_SHIFT               (3U)
14073 #define CAAM_JRJIDU_LS_JID03(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_JRJIDU_LS_JID03_SHIFT)) & CAAM_JRJIDU_LS_JID03_MASK)
14074 /*! @} */
14075 
14076 /*! @name JRJDJIFBC - Job Ring Job-Done Job ID FIFO BC */
14077 /*! @{ */
14078 
14079 #define CAAM_JRJDJIFBC_BC_MASK                   (0x80000000U)
14080 #define CAAM_JRJDJIFBC_BC_SHIFT                  (31U)
14081 #define CAAM_JRJDJIFBC_BC(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_JRJDJIFBC_BC_SHIFT)) & CAAM_JRJDJIFBC_BC_MASK)
14082 /*! @} */
14083 
14084 /*! @name JRJDJIF - Job Ring Job-Done Job ID FIFO */
14085 /*! @{ */
14086 
14087 #define CAAM_JRJDJIF_JOB_ID_ENTRY_MASK           (0x7U)
14088 #define CAAM_JRJDJIF_JOB_ID_ENTRY_SHIFT          (0U)
14089 #define CAAM_JRJDJIF_JOB_ID_ENTRY(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_JRJDJIF_JOB_ID_ENTRY_SHIFT)) & CAAM_JRJDJIF_JOB_ID_ENTRY_MASK)
14090 /*! @} */
14091 
14092 /*! @name JRJDS1 - Job Ring Job-Done Source 1 */
14093 /*! @{ */
14094 
14095 #define CAAM_JRJDS1_SRC_MASK                     (0x3U)
14096 #define CAAM_JRJDS1_SRC_SHIFT                    (0U)
14097 #define CAAM_JRJDS1_SRC(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_JRJDS1_SRC_SHIFT)) & CAAM_JRJDS1_SRC_MASK)
14098 
14099 #define CAAM_JRJDS1_VALID_MASK                   (0x80000000U)
14100 #define CAAM_JRJDS1_VALID_SHIFT                  (31U)
14101 #define CAAM_JRJDS1_VALID(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_JRJDS1_VALID_SHIFT)) & CAAM_JRJDS1_VALID_MASK)
14102 /*! @} */
14103 
14104 /*! @name JRJDDA - Job Ring Job-Done Descriptor Address 0 Register */
14105 /*! @{ */
14106 
14107 #define CAAM_JRJDDA_JD_ADDR_MASK                 (0xFFFFFFFFFU)
14108 #define CAAM_JRJDDA_JD_ADDR_SHIFT                (0U)
14109 #define CAAM_JRJDDA_JD_ADDR(x)                   (((uint64_t)(((uint64_t)(x)) << CAAM_JRJDDA_JD_ADDR_SHIFT)) & CAAM_JRJDDA_JD_ADDR_MASK)
14110 /*! @} */
14111 
14112 /* The count of CAAM_JRJDDA */
14113 #define CAAM_JRJDDA_COUNT                        (1U)
14114 
14115 /*! @name CRNR_MS - CHA Revision Number Register, most-significant half */
14116 /*! @{ */
14117 
14118 #define CAAM_CRNR_MS_CRCRN_MASK                  (0xFU)
14119 #define CAAM_CRNR_MS_CRCRN_SHIFT                 (0U)
14120 #define CAAM_CRNR_MS_CRCRN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_CRCRN_SHIFT)) & CAAM_CRNR_MS_CRCRN_MASK)
14121 
14122 #define CAAM_CRNR_MS_SNW9RN_MASK                 (0xF0U)
14123 #define CAAM_CRNR_MS_SNW9RN_SHIFT                (4U)
14124 #define CAAM_CRNR_MS_SNW9RN(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_SNW9RN_SHIFT)) & CAAM_CRNR_MS_SNW9RN_MASK)
14125 
14126 #define CAAM_CRNR_MS_ZERN_MASK                   (0xF00U)
14127 #define CAAM_CRNR_MS_ZERN_SHIFT                  (8U)
14128 #define CAAM_CRNR_MS_ZERN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_ZERN_SHIFT)) & CAAM_CRNR_MS_ZERN_MASK)
14129 
14130 #define CAAM_CRNR_MS_ZARN_MASK                   (0xF000U)
14131 #define CAAM_CRNR_MS_ZARN_SHIFT                  (12U)
14132 #define CAAM_CRNR_MS_ZARN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_ZARN_SHIFT)) & CAAM_CRNR_MS_ZARN_MASK)
14133 
14134 #define CAAM_CRNR_MS_DECORN_MASK                 (0xF000000U)
14135 #define CAAM_CRNR_MS_DECORN_SHIFT                (24U)
14136 #define CAAM_CRNR_MS_DECORN(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_DECORN_SHIFT)) & CAAM_CRNR_MS_DECORN_MASK)
14137 
14138 #define CAAM_CRNR_MS_JRRN_MASK                   (0xF0000000U)
14139 #define CAAM_CRNR_MS_JRRN_SHIFT                  (28U)
14140 #define CAAM_CRNR_MS_JRRN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_MS_JRRN_SHIFT)) & CAAM_CRNR_MS_JRRN_MASK)
14141 /*! @} */
14142 
14143 /*! @name CRNR_LS - CHA Revision Number Register, least-significant half */
14144 /*! @{ */
14145 
14146 #define CAAM_CRNR_LS_AESRN_MASK                  (0xFU)
14147 #define CAAM_CRNR_LS_AESRN_SHIFT                 (0U)
14148 #define CAAM_CRNR_LS_AESRN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_AESRN_SHIFT)) & CAAM_CRNR_LS_AESRN_MASK)
14149 
14150 #define CAAM_CRNR_LS_DESRN_MASK                  (0xF0U)
14151 #define CAAM_CRNR_LS_DESRN_SHIFT                 (4U)
14152 #define CAAM_CRNR_LS_DESRN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_DESRN_SHIFT)) & CAAM_CRNR_LS_DESRN_MASK)
14153 
14154 #define CAAM_CRNR_LS_MDRN_MASK                   (0xF000U)
14155 #define CAAM_CRNR_LS_MDRN_SHIFT                  (12U)
14156 #define CAAM_CRNR_LS_MDRN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_MDRN_SHIFT)) & CAAM_CRNR_LS_MDRN_MASK)
14157 
14158 #define CAAM_CRNR_LS_RNGRN_MASK                  (0xF0000U)
14159 #define CAAM_CRNR_LS_RNGRN_SHIFT                 (16U)
14160 #define CAAM_CRNR_LS_RNGRN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_RNGRN_SHIFT)) & CAAM_CRNR_LS_RNGRN_MASK)
14161 
14162 #define CAAM_CRNR_LS_SNW8RN_MASK                 (0xF00000U)
14163 #define CAAM_CRNR_LS_SNW8RN_SHIFT                (20U)
14164 #define CAAM_CRNR_LS_SNW8RN(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_SNW8RN_SHIFT)) & CAAM_CRNR_LS_SNW8RN_MASK)
14165 
14166 #define CAAM_CRNR_LS_KASRN_MASK                  (0xF000000U)
14167 #define CAAM_CRNR_LS_KASRN_SHIFT                 (24U)
14168 #define CAAM_CRNR_LS_KASRN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_KASRN_SHIFT)) & CAAM_CRNR_LS_KASRN_MASK)
14169 
14170 #define CAAM_CRNR_LS_PKRN_MASK                   (0xF0000000U)
14171 #define CAAM_CRNR_LS_PKRN_SHIFT                  (28U)
14172 /*! PKRN
14173  *  0b0000..PKHA-SDv1
14174  *  0b0001..PKHA-SDv2
14175  *  0b0010..PKHA-SDv3
14176  *  0b0011..PKHA-SDv4
14177  */
14178 #define CAAM_CRNR_LS_PKRN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CRNR_LS_PKRN_SHIFT)) & CAAM_CRNR_LS_PKRN_MASK)
14179 /*! @} */
14180 
14181 /*! @name CTPR_MS - Compile Time Parameters Register, most-significant half */
14182 /*! @{ */
14183 
14184 #define CAAM_CTPR_MS_VIRT_EN_INCL_MASK           (0x1U)
14185 #define CAAM_CTPR_MS_VIRT_EN_INCL_SHIFT          (0U)
14186 #define CAAM_CTPR_MS_VIRT_EN_INCL(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_VIRT_EN_INCL_SHIFT)) & CAAM_CTPR_MS_VIRT_EN_INCL_MASK)
14187 
14188 #define CAAM_CTPR_MS_VIRT_EN_POR_VALUE_MASK      (0x2U)
14189 #define CAAM_CTPR_MS_VIRT_EN_POR_VALUE_SHIFT     (1U)
14190 #define CAAM_CTPR_MS_VIRT_EN_POR_VALUE(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_VIRT_EN_POR_VALUE_SHIFT)) & CAAM_CTPR_MS_VIRT_EN_POR_VALUE_MASK)
14191 
14192 #define CAAM_CTPR_MS_REG_PG_SIZE_MASK            (0x10U)
14193 #define CAAM_CTPR_MS_REG_PG_SIZE_SHIFT           (4U)
14194 #define CAAM_CTPR_MS_REG_PG_SIZE(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_REG_PG_SIZE_SHIFT)) & CAAM_CTPR_MS_REG_PG_SIZE_MASK)
14195 
14196 #define CAAM_CTPR_MS_RNG_I_MASK                  (0x700U)
14197 #define CAAM_CTPR_MS_RNG_I_SHIFT                 (8U)
14198 #define CAAM_CTPR_MS_RNG_I(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_RNG_I_SHIFT)) & CAAM_CTPR_MS_RNG_I_MASK)
14199 
14200 #define CAAM_CTPR_MS_AI_INCL_MASK                (0x800U)
14201 #define CAAM_CTPR_MS_AI_INCL_SHIFT               (11U)
14202 #define CAAM_CTPR_MS_AI_INCL(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_AI_INCL_SHIFT)) & CAAM_CTPR_MS_AI_INCL_MASK)
14203 
14204 #define CAAM_CTPR_MS_DPAA2_MASK                  (0x2000U)
14205 #define CAAM_CTPR_MS_DPAA2_SHIFT                 (13U)
14206 #define CAAM_CTPR_MS_DPAA2(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_DPAA2_SHIFT)) & CAAM_CTPR_MS_DPAA2_MASK)
14207 
14208 #define CAAM_CTPR_MS_IP_CLK_MASK                 (0x4000U)
14209 #define CAAM_CTPR_MS_IP_CLK_SHIFT                (14U)
14210 #define CAAM_CTPR_MS_IP_CLK(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_IP_CLK_SHIFT)) & CAAM_CTPR_MS_IP_CLK_MASK)
14211 
14212 #define CAAM_CTPR_MS_MCFG_BURST_MASK             (0x10000U)
14213 #define CAAM_CTPR_MS_MCFG_BURST_SHIFT            (16U)
14214 #define CAAM_CTPR_MS_MCFG_BURST(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_MCFG_BURST_SHIFT)) & CAAM_CTPR_MS_MCFG_BURST_MASK)
14215 
14216 #define CAAM_CTPR_MS_MCFG_PS_MASK                (0x20000U)
14217 #define CAAM_CTPR_MS_MCFG_PS_SHIFT               (17U)
14218 #define CAAM_CTPR_MS_MCFG_PS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_MCFG_PS_SHIFT)) & CAAM_CTPR_MS_MCFG_PS_MASK)
14219 
14220 #define CAAM_CTPR_MS_SG8_MASK                    (0x40000U)
14221 #define CAAM_CTPR_MS_SG8_SHIFT                   (18U)
14222 #define CAAM_CTPR_MS_SG8(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_SG8_SHIFT)) & CAAM_CTPR_MS_SG8_MASK)
14223 
14224 #define CAAM_CTPR_MS_PM_EVT_BUS_MASK             (0x80000U)
14225 #define CAAM_CTPR_MS_PM_EVT_BUS_SHIFT            (19U)
14226 #define CAAM_CTPR_MS_PM_EVT_BUS(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_PM_EVT_BUS_SHIFT)) & CAAM_CTPR_MS_PM_EVT_BUS_MASK)
14227 
14228 #define CAAM_CTPR_MS_DECO_WD_MASK                (0x100000U)
14229 #define CAAM_CTPR_MS_DECO_WD_SHIFT               (20U)
14230 #define CAAM_CTPR_MS_DECO_WD(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_DECO_WD_SHIFT)) & CAAM_CTPR_MS_DECO_WD_MASK)
14231 
14232 #define CAAM_CTPR_MS_PC_MASK                     (0x200000U)
14233 #define CAAM_CTPR_MS_PC_SHIFT                    (21U)
14234 #define CAAM_CTPR_MS_PC(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_PC_SHIFT)) & CAAM_CTPR_MS_PC_MASK)
14235 
14236 #define CAAM_CTPR_MS_C1C2_MASK                   (0x800000U)
14237 #define CAAM_CTPR_MS_C1C2_SHIFT                  (23U)
14238 #define CAAM_CTPR_MS_C1C2(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_C1C2_SHIFT)) & CAAM_CTPR_MS_C1C2_MASK)
14239 
14240 #define CAAM_CTPR_MS_ACC_CTL_MASK                (0x1000000U)
14241 #define CAAM_CTPR_MS_ACC_CTL_SHIFT               (24U)
14242 #define CAAM_CTPR_MS_ACC_CTL(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_ACC_CTL_SHIFT)) & CAAM_CTPR_MS_ACC_CTL_MASK)
14243 
14244 #define CAAM_CTPR_MS_QI_MASK                     (0x2000000U)
14245 #define CAAM_CTPR_MS_QI_SHIFT                    (25U)
14246 #define CAAM_CTPR_MS_QI(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_QI_SHIFT)) & CAAM_CTPR_MS_QI_MASK)
14247 
14248 #define CAAM_CTPR_MS_AXI_PRI_MASK                (0x4000000U)
14249 #define CAAM_CTPR_MS_AXI_PRI_SHIFT               (26U)
14250 #define CAAM_CTPR_MS_AXI_PRI(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_AXI_PRI_SHIFT)) & CAAM_CTPR_MS_AXI_PRI_MASK)
14251 
14252 #define CAAM_CTPR_MS_AXI_LIODN_MASK              (0x8000000U)
14253 #define CAAM_CTPR_MS_AXI_LIODN_SHIFT             (27U)
14254 #define CAAM_CTPR_MS_AXI_LIODN(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_AXI_LIODN_SHIFT)) & CAAM_CTPR_MS_AXI_LIODN_MASK)
14255 
14256 #define CAAM_CTPR_MS_AXI_PIPE_DEPTH_MASK         (0xF0000000U)
14257 #define CAAM_CTPR_MS_AXI_PIPE_DEPTH_SHIFT        (28U)
14258 #define CAAM_CTPR_MS_AXI_PIPE_DEPTH(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_MS_AXI_PIPE_DEPTH_SHIFT)) & CAAM_CTPR_MS_AXI_PIPE_DEPTH_MASK)
14259 /*! @} */
14260 
14261 /*! @name CTPR_LS - Compile Time Parameters Register, least-significant half */
14262 /*! @{ */
14263 
14264 #define CAAM_CTPR_LS_KG_DS_MASK                  (0x1U)
14265 #define CAAM_CTPR_LS_KG_DS_SHIFT                 (0U)
14266 /*! KG_DS
14267  *  0b0..CAAM does not implement specialized support for Public Key Generation and Digital Signatures.
14268  *  0b1..CAAM implements specialized support for Public Key Generation and Digital Signatures.
14269  */
14270 #define CAAM_CTPR_LS_KG_DS(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_KG_DS_SHIFT)) & CAAM_CTPR_LS_KG_DS_MASK)
14271 
14272 #define CAAM_CTPR_LS_BLOB_MASK                   (0x2U)
14273 #define CAAM_CTPR_LS_BLOB_SHIFT                  (1U)
14274 /*! BLOB
14275  *  0b0..CAAM does not implement specialized support for encapsulating and decapsulating cryptographic blobs.
14276  *  0b1..CAAM implements specialized support for encapsulating and decapsulating cryptographic blobs.
14277  */
14278 #define CAAM_CTPR_LS_BLOB(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_BLOB_SHIFT)) & CAAM_CTPR_LS_BLOB_MASK)
14279 
14280 #define CAAM_CTPR_LS_WIFI_MASK                   (0x4U)
14281 #define CAAM_CTPR_LS_WIFI_SHIFT                  (2U)
14282 /*! WIFI
14283  *  0b0..CAAM does not implement specialized support for the WIFI protocol.
14284  *  0b1..CAAM implements specialized support for the WIFI protocol.
14285  */
14286 #define CAAM_CTPR_LS_WIFI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_WIFI_SHIFT)) & CAAM_CTPR_LS_WIFI_MASK)
14287 
14288 #define CAAM_CTPR_LS_WIMAX_MASK                  (0x8U)
14289 #define CAAM_CTPR_LS_WIMAX_SHIFT                 (3U)
14290 /*! WIMAX
14291  *  0b0..CAAM does not implement specialized support for the WIMAX protocol.
14292  *  0b1..CAAM implements specialized support for the WIMAX protocol.
14293  */
14294 #define CAAM_CTPR_LS_WIMAX(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_WIMAX_SHIFT)) & CAAM_CTPR_LS_WIMAX_MASK)
14295 
14296 #define CAAM_CTPR_LS_SRTP_MASK                   (0x10U)
14297 #define CAAM_CTPR_LS_SRTP_SHIFT                  (4U)
14298 /*! SRTP
14299  *  0b0..CAAM does not implement specialized support for the SRTP protocol.
14300  *  0b1..CAAM implements specialized support for the SRTP protocol.
14301  */
14302 #define CAAM_CTPR_LS_SRTP(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_SRTP_SHIFT)) & CAAM_CTPR_LS_SRTP_MASK)
14303 
14304 #define CAAM_CTPR_LS_IPSEC_MASK                  (0x20U)
14305 #define CAAM_CTPR_LS_IPSEC_SHIFT                 (5U)
14306 /*! IPSEC
14307  *  0b0..CAAM does not implement specialized support for the IPSEC protocol.
14308  *  0b1..CAAM implements specialized support for the IPSEC protocol.
14309  */
14310 #define CAAM_CTPR_LS_IPSEC(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_IPSEC_SHIFT)) & CAAM_CTPR_LS_IPSEC_MASK)
14311 
14312 #define CAAM_CTPR_LS_IKE_MASK                    (0x40U)
14313 #define CAAM_CTPR_LS_IKE_SHIFT                   (6U)
14314 /*! IKE
14315  *  0b0..CAAM does not implement specialized support for the IKE protocol.
14316  *  0b1..CAAM implements specialized support for the IKE protocol.
14317  */
14318 #define CAAM_CTPR_LS_IKE(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_IKE_SHIFT)) & CAAM_CTPR_LS_IKE_MASK)
14319 
14320 #define CAAM_CTPR_LS_SSL_TLS_MASK                (0x80U)
14321 #define CAAM_CTPR_LS_SSL_TLS_SHIFT               (7U)
14322 /*! SSL_TLS
14323  *  0b0..CAAM does not implement specialized support for the SSL and TLS protocols.
14324  *  0b1..CAAM implements specialized support for the SSL and TLS protocols.
14325  */
14326 #define CAAM_CTPR_LS_SSL_TLS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_SSL_TLS_SHIFT)) & CAAM_CTPR_LS_SSL_TLS_MASK)
14327 
14328 #define CAAM_CTPR_LS_TLS_PRF_MASK                (0x100U)
14329 #define CAAM_CTPR_LS_TLS_PRF_SHIFT               (8U)
14330 /*! TLS_PRF
14331  *  0b0..CAAM does not implement specialized support for the TLS protocol pseudo-random function.
14332  *  0b1..CAAM implements specialized support for the TLS protocol pseudo-random function.
14333  */
14334 #define CAAM_CTPR_LS_TLS_PRF(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_TLS_PRF_SHIFT)) & CAAM_CTPR_LS_TLS_PRF_MASK)
14335 
14336 #define CAAM_CTPR_LS_MACSEC_MASK                 (0x200U)
14337 #define CAAM_CTPR_LS_MACSEC_SHIFT                (9U)
14338 /*! MACSEC
14339  *  0b0..CAAM does not implement specialized support for the MACSEC protocol.
14340  *  0b1..CAAM implements specialized support for the MACSEC protocol.
14341  */
14342 #define CAAM_CTPR_LS_MACSEC(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_MACSEC_SHIFT)) & CAAM_CTPR_LS_MACSEC_MASK)
14343 
14344 #define CAAM_CTPR_LS_RSA_MASK                    (0x400U)
14345 #define CAAM_CTPR_LS_RSA_SHIFT                   (10U)
14346 /*! RSA
14347  *  0b0..CAAM does not implement specialized support for RSA encrypt and decrypt operations.
14348  *  0b1..CAAM implements specialized support for RSA encrypt and decrypt operations.
14349  */
14350 #define CAAM_CTPR_LS_RSA(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_RSA_SHIFT)) & CAAM_CTPR_LS_RSA_MASK)
14351 
14352 #define CAAM_CTPR_LS_P3G_LTE_MASK                (0x800U)
14353 #define CAAM_CTPR_LS_P3G_LTE_SHIFT               (11U)
14354 /*! P3G_LTE
14355  *  0b0..CAAM does not implement specialized support for 3G and LTE protocols.
14356  *  0b1..CAAM implements specialized support for 3G and LTE protocols.
14357  */
14358 #define CAAM_CTPR_LS_P3G_LTE(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_P3G_LTE_SHIFT)) & CAAM_CTPR_LS_P3G_LTE_MASK)
14359 
14360 #define CAAM_CTPR_LS_DBL_CRC_MASK                (0x1000U)
14361 #define CAAM_CTPR_LS_DBL_CRC_SHIFT               (12U)
14362 /*! DBL_CRC
14363  *  0b0..CAAM does not implement specialized support for Double CRC.
14364  *  0b1..CAAM implements specialized support for Double CRC.
14365  */
14366 #define CAAM_CTPR_LS_DBL_CRC(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_DBL_CRC_SHIFT)) & CAAM_CTPR_LS_DBL_CRC_MASK)
14367 
14368 #define CAAM_CTPR_LS_MAN_PROT_MASK               (0x2000U)
14369 #define CAAM_CTPR_LS_MAN_PROT_SHIFT              (13U)
14370 /*! MAN_PROT
14371  *  0b0..CAAM does not implement Manufacturing Protection functions.
14372  *  0b1..CAAM implements Manufacturing Protection functions.
14373  */
14374 #define CAAM_CTPR_LS_MAN_PROT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_MAN_PROT_SHIFT)) & CAAM_CTPR_LS_MAN_PROT_MASK)
14375 
14376 #define CAAM_CTPR_LS_DKP_MASK                    (0x4000U)
14377 #define CAAM_CTPR_LS_DKP_SHIFT                   (14U)
14378 /*! DKP
14379  *  0b0..CAAM does not implement the Derived Key Protocol.
14380  *  0b1..CAAM implements the Derived Key Protocol.
14381  */
14382 #define CAAM_CTPR_LS_DKP(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CTPR_LS_DKP_SHIFT)) & CAAM_CTPR_LS_DKP_MASK)
14383 /*! @} */
14384 
14385 /*! @name SMSTA - Secure Memory Status Register */
14386 /*! @{ */
14387 
14388 #define CAAM_SMSTA_STATE_MASK                    (0xFU)
14389 #define CAAM_SMSTA_STATE_SHIFT                   (0U)
14390 /*! STATE
14391  *  0b0000..Reset State
14392  *  0b0001..Initialize State
14393  *  0b0010..Normal State
14394  *  0b0011..Fail State
14395  */
14396 #define CAAM_SMSTA_STATE(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_STATE_SHIFT)) & CAAM_SMSTA_STATE_MASK)
14397 
14398 #define CAAM_SMSTA_ACCERR_MASK                   (0xF0U)
14399 #define CAAM_SMSTA_ACCERR_SHIFT                  (4U)
14400 /*! ACCERR
14401  *  0b0000..No error occurred
14402  *  0b0001..A bus transaction attempted to access a page in Secure Memory, but the page was not allocated to any partition.
14403  *  0b0010..A bus transaction attempted to access a partition, but the transaction's TrustZone World, DID was not
14404  *          granted access to the partition in the partition's SMAG2/1JR registers.
14405  *  0b0011..A bus transaction attempted to read, but reads from this partition are not allowed.
14406  *  0b0100..A bus transaction attempted to write, but writes to this partition are not allowed.
14407  *  0b0110..A bus transaction attempted a non-key read, but the only reads permitted from this partition are key reads.
14408  *  0b1001..Secure Memory Blob import or export was attempted, but Secure Memory Blob access is not allowed for this partition.
14409  *  0b1010..A Descriptor attempted a Secure Memory Blob import or export, but not all of the pages referenced were from the same partition.
14410  *  0b1011..A memory access was directed to Secure Memory, but the specified address is not implemented in Secure
14411  *          Memory. The address was either outside the address range occupied by Secure Memory, or was within an
14412  *          unimplemented portion of the 4kbyte address block occupied by a 1Kbyte or 2Kbyte Secure Memory page.
14413  *  0b1100..A bus transaction was attempted, but the burst would have crossed a page boundary.
14414  *  0b1101..An attempt was made to access a page while it was still being initialized.
14415  */
14416 #define CAAM_SMSTA_ACCERR(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_ACCERR_SHIFT)) & CAAM_SMSTA_ACCERR_MASK)
14417 
14418 #define CAAM_SMSTA_DID_MASK                      (0xF00U)
14419 #define CAAM_SMSTA_DID_SHIFT                     (8U)
14420 #define CAAM_SMSTA_DID(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_DID_SHIFT)) & CAAM_SMSTA_DID_MASK)
14421 
14422 #define CAAM_SMSTA_NS_MASK                       (0x1000U)
14423 #define CAAM_SMSTA_NS_SHIFT                      (12U)
14424 #define CAAM_SMSTA_NS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_NS_SHIFT)) & CAAM_SMSTA_NS_MASK)
14425 
14426 #define CAAM_SMSTA_SMR_WP_MASK                   (0x8000U)
14427 #define CAAM_SMSTA_SMR_WP_SHIFT                  (15U)
14428 #define CAAM_SMSTA_SMR_WP(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_SMR_WP_SHIFT)) & CAAM_SMSTA_SMR_WP_MASK)
14429 
14430 #define CAAM_SMSTA_PAGE_MASK                     (0x7FF0000U)
14431 #define CAAM_SMSTA_PAGE_SHIFT                    (16U)
14432 #define CAAM_SMSTA_PAGE(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_PAGE_SHIFT)) & CAAM_SMSTA_PAGE_MASK)
14433 
14434 #define CAAM_SMSTA_PART_MASK                     (0xF0000000U)
14435 #define CAAM_SMSTA_PART_SHIFT                    (28U)
14436 #define CAAM_SMSTA_PART(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_SMSTA_PART_SHIFT)) & CAAM_SMSTA_PART_MASK)
14437 /*! @} */
14438 
14439 /*! @name SMPO - Secure Memory Partition Owners Register */
14440 /*! @{ */
14441 
14442 #define CAAM_SMPO_PO0_MASK                       (0x3U)
14443 #define CAAM_SMPO_PO0_SHIFT                      (0U)
14444 /*! PO0
14445  *  0b00..Available; Unowned. A Job Ring owner may claim partition 0 by writing to the appropriate SMAPJR register
14446  *        address alias. Note that the entire register will return all 0s if read by a entity that does not own
14447  *        the Job Ring associated with the SMPO address alias that was read.
14448  *  0b01..Partition 0 does not exist in this version
14449  *  0b10..Another entity owns partition 0. Partition 0 is unavailable to the reader. If the reader attempts to
14450  *        de-allocate partition 0 or write to the SMAPJR register or SMAGJR register for partition 0 or allocate a
14451  *        page to or de-allocate a page from partition 0 the command will be ignored. (Note that if a CSP partition is
14452  *        de-allocated, all entities (including the owner that de-allocated the partition) will see a 0b10 value
14453  *        for that partition until all its pages have been zeroized.)
14454  *  0b11..The entity that read the SMPO register owns partition 0. Ownership is claimed when the access
14455  *        permissions register (SMAPJR) of an available partition is first written.
14456  */
14457 #define CAAM_SMPO_PO0(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO0_SHIFT)) & CAAM_SMPO_PO0_MASK)
14458 
14459 #define CAAM_SMPO_PO1_MASK                       (0xCU)
14460 #define CAAM_SMPO_PO1_SHIFT                      (2U)
14461 #define CAAM_SMPO_PO1(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO1_SHIFT)) & CAAM_SMPO_PO1_MASK)
14462 
14463 #define CAAM_SMPO_PO2_MASK                       (0x30U)
14464 #define CAAM_SMPO_PO2_SHIFT                      (4U)
14465 #define CAAM_SMPO_PO2(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO2_SHIFT)) & CAAM_SMPO_PO2_MASK)
14466 
14467 #define CAAM_SMPO_PO3_MASK                       (0xC0U)
14468 #define CAAM_SMPO_PO3_SHIFT                      (6U)
14469 #define CAAM_SMPO_PO3(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO3_SHIFT)) & CAAM_SMPO_PO3_MASK)
14470 
14471 #define CAAM_SMPO_PO4_MASK                       (0x300U)
14472 #define CAAM_SMPO_PO4_SHIFT                      (8U)
14473 #define CAAM_SMPO_PO4(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO4_SHIFT)) & CAAM_SMPO_PO4_MASK)
14474 
14475 #define CAAM_SMPO_PO5_MASK                       (0xC00U)
14476 #define CAAM_SMPO_PO5_SHIFT                      (10U)
14477 #define CAAM_SMPO_PO5(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO5_SHIFT)) & CAAM_SMPO_PO5_MASK)
14478 
14479 #define CAAM_SMPO_PO6_MASK                       (0x3000U)
14480 #define CAAM_SMPO_PO6_SHIFT                      (12U)
14481 #define CAAM_SMPO_PO6(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO6_SHIFT)) & CAAM_SMPO_PO6_MASK)
14482 
14483 #define CAAM_SMPO_PO7_MASK                       (0xC000U)
14484 #define CAAM_SMPO_PO7_SHIFT                      (14U)
14485 #define CAAM_SMPO_PO7(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO7_SHIFT)) & CAAM_SMPO_PO7_MASK)
14486 
14487 #define CAAM_SMPO_PO8_MASK                       (0x30000U)
14488 #define CAAM_SMPO_PO8_SHIFT                      (16U)
14489 #define CAAM_SMPO_PO8(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO8_SHIFT)) & CAAM_SMPO_PO8_MASK)
14490 
14491 #define CAAM_SMPO_PO9_MASK                       (0xC0000U)
14492 #define CAAM_SMPO_PO9_SHIFT                      (18U)
14493 #define CAAM_SMPO_PO9(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO9_SHIFT)) & CAAM_SMPO_PO9_MASK)
14494 
14495 #define CAAM_SMPO_PO10_MASK                      (0x300000U)
14496 #define CAAM_SMPO_PO10_SHIFT                     (20U)
14497 #define CAAM_SMPO_PO10(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO10_SHIFT)) & CAAM_SMPO_PO10_MASK)
14498 
14499 #define CAAM_SMPO_PO11_MASK                      (0xC00000U)
14500 #define CAAM_SMPO_PO11_SHIFT                     (22U)
14501 #define CAAM_SMPO_PO11(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO11_SHIFT)) & CAAM_SMPO_PO11_MASK)
14502 
14503 #define CAAM_SMPO_PO12_MASK                      (0x3000000U)
14504 #define CAAM_SMPO_PO12_SHIFT                     (24U)
14505 #define CAAM_SMPO_PO12(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO12_SHIFT)) & CAAM_SMPO_PO12_MASK)
14506 
14507 #define CAAM_SMPO_PO13_MASK                      (0xC000000U)
14508 #define CAAM_SMPO_PO13_SHIFT                     (26U)
14509 #define CAAM_SMPO_PO13(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO13_SHIFT)) & CAAM_SMPO_PO13_MASK)
14510 
14511 #define CAAM_SMPO_PO14_MASK                      (0x30000000U)
14512 #define CAAM_SMPO_PO14_SHIFT                     (28U)
14513 #define CAAM_SMPO_PO14(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO14_SHIFT)) & CAAM_SMPO_PO14_MASK)
14514 
14515 #define CAAM_SMPO_PO15_MASK                      (0xC0000000U)
14516 #define CAAM_SMPO_PO15_SHIFT                     (30U)
14517 #define CAAM_SMPO_PO15(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_SMPO_PO15_SHIFT)) & CAAM_SMPO_PO15_MASK)
14518 /*! @} */
14519 
14520 /*! @name FAR - Fault Address Register */
14521 /*! @{ */
14522 
14523 #define CAAM_FAR_FAR_MASK                        (0xFFFFFFFFFU)
14524 #define CAAM_FAR_FAR_SHIFT                       (0U)
14525 #define CAAM_FAR_FAR(x)                          (((uint64_t)(((uint64_t)(x)) << CAAM_FAR_FAR_SHIFT)) & CAAM_FAR_FAR_MASK)
14526 /*! @} */
14527 
14528 /*! @name FADID - Fault Address DID Register */
14529 /*! @{ */
14530 
14531 #define CAAM_FADID_FDID_MASK                     (0xFU)
14532 #define CAAM_FADID_FDID_SHIFT                    (0U)
14533 #define CAAM_FADID_FDID(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_FADID_FDID_SHIFT)) & CAAM_FADID_FDID_MASK)
14534 
14535 #define CAAM_FADID_FNS_MASK                      (0x10U)
14536 #define CAAM_FADID_FNS_SHIFT                     (4U)
14537 #define CAAM_FADID_FNS(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_FADID_FNS_SHIFT)) & CAAM_FADID_FNS_MASK)
14538 
14539 #define CAAM_FADID_FICID_MASK                    (0xFFE0U)
14540 #define CAAM_FADID_FICID_SHIFT                   (5U)
14541 #define CAAM_FADID_FICID(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_FADID_FICID_SHIFT)) & CAAM_FADID_FICID_MASK)
14542 /*! @} */
14543 
14544 /*! @name FADR - Fault Address Detail Register */
14545 /*! @{ */
14546 
14547 #define CAAM_FADR_FSZ_MASK                       (0x7FU)
14548 #define CAAM_FADR_FSZ_SHIFT                      (0U)
14549 #define CAAM_FADR_FSZ(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FSZ_SHIFT)) & CAAM_FADR_FSZ_MASK)
14550 
14551 #define CAAM_FADR_TYP_MASK                       (0x80U)
14552 #define CAAM_FADR_TYP_SHIFT                      (7U)
14553 /*! TYP
14554  *  0b0..Read.
14555  *  0b1..Write.
14556  */
14557 #define CAAM_FADR_TYP(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_TYP_SHIFT)) & CAAM_FADR_TYP_MASK)
14558 
14559 #define CAAM_FADR_BLKID_MASK                     (0xF00U)
14560 #define CAAM_FADR_BLKID_SHIFT                    (8U)
14561 /*! BLKID
14562  *  0b0100..job queue controller Burst Buffer
14563  *  0b0101..One of the Job Rings (see JSRC field)
14564  *  0b1000..DECO0
14565  */
14566 #define CAAM_FADR_BLKID(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_BLKID_SHIFT)) & CAAM_FADR_BLKID_MASK)
14567 
14568 #define CAAM_FADR_JSRC_MASK                      (0x7000U)
14569 #define CAAM_FADR_JSRC_SHIFT                     (12U)
14570 /*! JSRC
14571  *  0b000..Job Ring 0
14572  *  0b001..Job Ring 1
14573  *  0b010..Job Ring 2
14574  *  0b011..Job Ring 3
14575  *  0b100..RTIC
14576  *  0b101..reserved
14577  *  0b110..reserved
14578  *  0b111..reserved
14579  */
14580 #define CAAM_FADR_JSRC(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_JSRC_SHIFT)) & CAAM_FADR_JSRC_MASK)
14581 
14582 #define CAAM_FADR_DTYP_MASK                      (0x8000U)
14583 #define CAAM_FADR_DTYP_SHIFT                     (15U)
14584 /*! DTYP
14585  *  0b0..message data
14586  *  0b1..control data
14587  */
14588 #define CAAM_FADR_DTYP(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_DTYP_SHIFT)) & CAAM_FADR_DTYP_MASK)
14589 
14590 #define CAAM_FADR_FSZ_EXT_MASK                   (0x70000U)
14591 #define CAAM_FADR_FSZ_EXT_SHIFT                  (16U)
14592 #define CAAM_FADR_FSZ_EXT(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FSZ_EXT_SHIFT)) & CAAM_FADR_FSZ_EXT_MASK)
14593 
14594 #define CAAM_FADR_FKMOD_MASK                     (0x1000000U)
14595 #define CAAM_FADR_FKMOD_SHIFT                    (24U)
14596 /*! FKMOD
14597  *  0b0..CAAM DMA was not attempting to read the key modifier from Secure Memory at the time that the DMA error occurred.
14598  *  0b1..CAAM DMA was attempting to read the key modifier from Secure Memory at the time that the DMA error occurred.
14599  */
14600 #define CAAM_FADR_FKMOD(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FKMOD_SHIFT)) & CAAM_FADR_FKMOD_MASK)
14601 
14602 #define CAAM_FADR_FKEY_MASK                      (0x2000000U)
14603 #define CAAM_FADR_FKEY_SHIFT                     (25U)
14604 /*! FKEY
14605  *  0b0..CAAM DMA was not attempting to perform a key read from Secure Memory at the time of the DMA error.
14606  *  0b1..CAAM DMA was attempting to perform a key read from Secure Memory at the time of the DMA error.
14607  */
14608 #define CAAM_FADR_FKEY(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FKEY_SHIFT)) & CAAM_FADR_FKEY_MASK)
14609 
14610 #define CAAM_FADR_FTDSC_MASK                     (0x4000000U)
14611 #define CAAM_FADR_FTDSC_SHIFT                    (26U)
14612 /*! FTDSC
14613  *  0b0..CAAM DMA was not executing a Trusted Descriptor at the time of the DMA error.
14614  *  0b1..CAAM DMA was executing a Trusted Descriptor at the time of the DMA error.
14615  */
14616 #define CAAM_FADR_FTDSC(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FTDSC_SHIFT)) & CAAM_FADR_FTDSC_MASK)
14617 
14618 #define CAAM_FADR_FBNDG_MASK                     (0x8000000U)
14619 #define CAAM_FADR_FBNDG_SHIFT                    (27U)
14620 /*! FBNDG
14621  *  0b0..CAAM DMA was not reading access permissions from a Secure Memory partition at the time of the DMA error.
14622  *  0b1..CAAM DMA was reading access permissions from a Secure Memory partition at the time of the DMA error.
14623  */
14624 #define CAAM_FADR_FBNDG(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FBNDG_SHIFT)) & CAAM_FADR_FBNDG_MASK)
14625 
14626 #define CAAM_FADR_FNS_MASK                       (0x10000000U)
14627 #define CAAM_FADR_FNS_SHIFT                      (28U)
14628 /*! FNS
14629  *  0b0..CAAM DMA was asserting ns=0 at the time of the DMA error.
14630  *  0b1..CAAM DMA was asserting ns=1 at the time of the DMA error.
14631  */
14632 #define CAAM_FADR_FNS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FNS_SHIFT)) & CAAM_FADR_FNS_MASK)
14633 
14634 #define CAAM_FADR_FERR_MASK                      (0xC0000000U)
14635 #define CAAM_FADR_FERR_SHIFT                     (30U)
14636 /*! FERR
14637  *  0b00..OKAY - Normal Access
14638  *  0b01..Reserved
14639  *  0b10..SLVERR - Slave Error
14640  *  0b11..DECERR - Decode Error
14641  */
14642 #define CAAM_FADR_FERR(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_FADR_FERR_SHIFT)) & CAAM_FADR_FERR_MASK)
14643 /*! @} */
14644 
14645 /*! @name CSTA - CAAM Status Register */
14646 /*! @{ */
14647 
14648 #define CAAM_CSTA_BSY_MASK                       (0x1U)
14649 #define CAAM_CSTA_BSY_SHIFT                      (0U)
14650 #define CAAM_CSTA_BSY(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CSTA_BSY_SHIFT)) & CAAM_CSTA_BSY_MASK)
14651 
14652 #define CAAM_CSTA_IDLE_MASK                      (0x2U)
14653 #define CAAM_CSTA_IDLE_SHIFT                     (1U)
14654 #define CAAM_CSTA_IDLE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CSTA_IDLE_SHIFT)) & CAAM_CSTA_IDLE_MASK)
14655 
14656 #define CAAM_CSTA_TRNG_IDLE_MASK                 (0x4U)
14657 #define CAAM_CSTA_TRNG_IDLE_SHIFT                (2U)
14658 #define CAAM_CSTA_TRNG_IDLE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CSTA_TRNG_IDLE_SHIFT)) & CAAM_CSTA_TRNG_IDLE_MASK)
14659 
14660 #define CAAM_CSTA_MOO_MASK                       (0x300U)
14661 #define CAAM_CSTA_MOO_SHIFT                      (8U)
14662 /*! MOO
14663  *  0b00..Non-Secure
14664  *  0b01..Secure
14665  *  0b10..Trusted
14666  *  0b11..Fail
14667  */
14668 #define CAAM_CSTA_MOO(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CSTA_MOO_SHIFT)) & CAAM_CSTA_MOO_MASK)
14669 
14670 #define CAAM_CSTA_PLEND_MASK                     (0x400U)
14671 #define CAAM_CSTA_PLEND_SHIFT                    (10U)
14672 /*! PLEND
14673  *  0b0..Platform default is Little Endian
14674  *  0b1..Platform default is Big Endian
14675  */
14676 #define CAAM_CSTA_PLEND(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CSTA_PLEND_SHIFT)) & CAAM_CSTA_PLEND_MASK)
14677 /*! @} */
14678 
14679 /*! @name SMVID_MS - Secure Memory Version ID Register, most-significant half */
14680 /*! @{ */
14681 
14682 #define CAAM_SMVID_MS_NPAG_MASK                  (0x3FFU)
14683 #define CAAM_SMVID_MS_NPAG_SHIFT                 (0U)
14684 #define CAAM_SMVID_MS_NPAG(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_MS_NPAG_SHIFT)) & CAAM_SMVID_MS_NPAG_MASK)
14685 
14686 #define CAAM_SMVID_MS_NPRT_MASK                  (0xF000U)
14687 #define CAAM_SMVID_MS_NPRT_SHIFT                 (12U)
14688 #define CAAM_SMVID_MS_NPRT(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_MS_NPRT_SHIFT)) & CAAM_SMVID_MS_NPRT_MASK)
14689 
14690 #define CAAM_SMVID_MS_MAX_NPAG_MASK              (0x3FF0000U)
14691 #define CAAM_SMVID_MS_MAX_NPAG_SHIFT             (16U)
14692 #define CAAM_SMVID_MS_MAX_NPAG(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_MS_MAX_NPAG_SHIFT)) & CAAM_SMVID_MS_MAX_NPAG_MASK)
14693 /*! @} */
14694 
14695 /*! @name SMVID_LS - Secure Memory Version ID Register, least-significant half */
14696 /*! @{ */
14697 
14698 #define CAAM_SMVID_LS_SMNV_MASK                  (0xFFU)
14699 #define CAAM_SMVID_LS_SMNV_SHIFT                 (0U)
14700 #define CAAM_SMVID_LS_SMNV(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_LS_SMNV_SHIFT)) & CAAM_SMVID_LS_SMNV_MASK)
14701 
14702 #define CAAM_SMVID_LS_SMJV_MASK                  (0xFF00U)
14703 #define CAAM_SMVID_LS_SMJV_SHIFT                 (8U)
14704 #define CAAM_SMVID_LS_SMJV(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_LS_SMJV_SHIFT)) & CAAM_SMVID_LS_SMJV_MASK)
14705 
14706 #define CAAM_SMVID_LS_PSIZ_MASK                  (0x70000U)
14707 #define CAAM_SMVID_LS_PSIZ_SHIFT                 (16U)
14708 #define CAAM_SMVID_LS_PSIZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMVID_LS_PSIZ_SHIFT)) & CAAM_SMVID_LS_PSIZ_MASK)
14709 /*! @} */
14710 
14711 /*! @name RVID - RTIC Version ID Register */
14712 /*! @{ */
14713 
14714 #define CAAM_RVID_RMNV_MASK                      (0xFFU)
14715 #define CAAM_RVID_RMNV_SHIFT                     (0U)
14716 #define CAAM_RVID_RMNV(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_RMNV_SHIFT)) & CAAM_RVID_RMNV_MASK)
14717 
14718 #define CAAM_RVID_RMJV_MASK                      (0xFF00U)
14719 #define CAAM_RVID_RMJV_SHIFT                     (8U)
14720 #define CAAM_RVID_RMJV(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_RMJV_SHIFT)) & CAAM_RVID_RMJV_MASK)
14721 
14722 #define CAAM_RVID_SHA_256_MASK                   (0x20000U)
14723 #define CAAM_RVID_SHA_256_SHIFT                  (17U)
14724 /*! SHA_256
14725  *  0b0..RTIC cannot use the SHA-256 hashing algorithm.
14726  *  0b1..RTIC can use the SHA-256 hashing algorithm.
14727  */
14728 #define CAAM_RVID_SHA_256(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_SHA_256_SHIFT)) & CAAM_RVID_SHA_256_MASK)
14729 
14730 #define CAAM_RVID_SHA_512_MASK                   (0x80000U)
14731 #define CAAM_RVID_SHA_512_SHIFT                  (19U)
14732 /*! SHA_512
14733  *  0b0..RTIC cannot use the SHA-512 hashing algorithm.
14734  *  0b1..RTIC can use the SHA-512 hashing algorithm.
14735  */
14736 #define CAAM_RVID_SHA_512(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_SHA_512_SHIFT)) & CAAM_RVID_SHA_512_MASK)
14737 
14738 #define CAAM_RVID_MA_MASK                        (0x1000000U)
14739 #define CAAM_RVID_MA_SHIFT                       (24U)
14740 #define CAAM_RVID_MA(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_MA_SHIFT)) & CAAM_RVID_MA_MASK)
14741 
14742 #define CAAM_RVID_MB_MASK                        (0x2000000U)
14743 #define CAAM_RVID_MB_SHIFT                       (25U)
14744 #define CAAM_RVID_MB(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_MB_SHIFT)) & CAAM_RVID_MB_MASK)
14745 
14746 #define CAAM_RVID_MC_MASK                        (0x4000000U)
14747 #define CAAM_RVID_MC_SHIFT                       (26U)
14748 #define CAAM_RVID_MC(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_MC_SHIFT)) & CAAM_RVID_MC_MASK)
14749 
14750 #define CAAM_RVID_MD_MASK                        (0x8000000U)
14751 #define CAAM_RVID_MD_SHIFT                       (27U)
14752 #define CAAM_RVID_MD(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RVID_MD_SHIFT)) & CAAM_RVID_MD_MASK)
14753 /*! @} */
14754 
14755 /*! @name CCBVID - CHA Cluster Block Version ID Register */
14756 /*! @{ */
14757 
14758 #define CAAM_CCBVID_AMNV_MASK                    (0xFFU)
14759 #define CAAM_CCBVID_AMNV_SHIFT                   (0U)
14760 #define CAAM_CCBVID_AMNV(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCBVID_AMNV_SHIFT)) & CAAM_CCBVID_AMNV_MASK)
14761 
14762 #define CAAM_CCBVID_AMJV_MASK                    (0xFF00U)
14763 #define CAAM_CCBVID_AMJV_SHIFT                   (8U)
14764 #define CAAM_CCBVID_AMJV(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCBVID_AMJV_SHIFT)) & CAAM_CCBVID_AMJV_MASK)
14765 
14766 #define CAAM_CCBVID_CAAM_ERA_MASK                (0xFF000000U)
14767 #define CAAM_CCBVID_CAAM_ERA_SHIFT               (24U)
14768 #define CAAM_CCBVID_CAAM_ERA(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CCBVID_CAAM_ERA_SHIFT)) & CAAM_CCBVID_CAAM_ERA_MASK)
14769 /*! @} */
14770 
14771 /*! @name CHAVID_MS - CHA Version ID Register, most-significant half */
14772 /*! @{ */
14773 
14774 #define CAAM_CHAVID_MS_CRCVID_MASK               (0xFU)
14775 #define CAAM_CHAVID_MS_CRCVID_SHIFT              (0U)
14776 #define CAAM_CHAVID_MS_CRCVID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_CRCVID_SHIFT)) & CAAM_CHAVID_MS_CRCVID_MASK)
14777 
14778 #define CAAM_CHAVID_MS_SNW9VID_MASK              (0xF0U)
14779 #define CAAM_CHAVID_MS_SNW9VID_SHIFT             (4U)
14780 #define CAAM_CHAVID_MS_SNW9VID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_SNW9VID_SHIFT)) & CAAM_CHAVID_MS_SNW9VID_MASK)
14781 
14782 #define CAAM_CHAVID_MS_ZEVID_MASK                (0xF00U)
14783 #define CAAM_CHAVID_MS_ZEVID_SHIFT               (8U)
14784 #define CAAM_CHAVID_MS_ZEVID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_ZEVID_SHIFT)) & CAAM_CHAVID_MS_ZEVID_MASK)
14785 
14786 #define CAAM_CHAVID_MS_ZAVID_MASK                (0xF000U)
14787 #define CAAM_CHAVID_MS_ZAVID_SHIFT               (12U)
14788 #define CAAM_CHAVID_MS_ZAVID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_ZAVID_SHIFT)) & CAAM_CHAVID_MS_ZAVID_MASK)
14789 
14790 #define CAAM_CHAVID_MS_DECOVID_MASK              (0xF000000U)
14791 #define CAAM_CHAVID_MS_DECOVID_SHIFT             (24U)
14792 #define CAAM_CHAVID_MS_DECOVID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_DECOVID_SHIFT)) & CAAM_CHAVID_MS_DECOVID_MASK)
14793 
14794 #define CAAM_CHAVID_MS_JRVID_MASK                (0xF0000000U)
14795 #define CAAM_CHAVID_MS_JRVID_SHIFT               (28U)
14796 #define CAAM_CHAVID_MS_JRVID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_MS_JRVID_SHIFT)) & CAAM_CHAVID_MS_JRVID_MASK)
14797 /*! @} */
14798 
14799 /*! @name CHAVID_LS - CHA Version ID Register, least-significant half */
14800 /*! @{ */
14801 
14802 #define CAAM_CHAVID_LS_AESVID_MASK               (0xFU)
14803 #define CAAM_CHAVID_LS_AESVID_SHIFT              (0U)
14804 /*! AESVID
14805  *  0b0100..High-performance AESA, implementing ECB, CBC, CBC-CS2, CFB128, OFB, CTR, CCM, CMAC, XCBC-MAC, CBCXCBC, CTRXCBC, XTS, and GCM modes
14806  *  0b0011..Low-power AESA, implementing ECB, CBC, CBC-CS2, CFB128, OFB, CTR, CCM, CMAC, XCBC-MAC, and GCM modes
14807  */
14808 #define CAAM_CHAVID_LS_AESVID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_AESVID_SHIFT)) & CAAM_CHAVID_LS_AESVID_MASK)
14809 
14810 #define CAAM_CHAVID_LS_DESVID_MASK               (0xF0U)
14811 #define CAAM_CHAVID_LS_DESVID_SHIFT              (4U)
14812 #define CAAM_CHAVID_LS_DESVID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_DESVID_SHIFT)) & CAAM_CHAVID_LS_DESVID_MASK)
14813 
14814 #define CAAM_CHAVID_LS_MDVID_MASK                (0xF000U)
14815 #define CAAM_CHAVID_LS_MDVID_SHIFT               (12U)
14816 /*! MDVID
14817  *  0b0000..Low-power MDHA, with SHA-1, SHA-256, SHA 224, MD5 and HMAC
14818  *  0b0001..Low-power MDHA, with SHA-1, SHA-256, SHA 224, SHA-512, SHA-512/224, SHA-512/256, SHA-384, MD5 and HMAC
14819  *  0b0010..Medium-performance MDHA, with SHA-1, SHA-256, SHA 224, SHA-512, SHA-512/224, SHA-512/256, SHA-384, MD5, HMAC & SMAC
14820  *  0b0011..High-performance MDHA, with SHA-1, SHA-256, SHA 224, SHA-512, SHA-512/224, SHA-512/256, SHA-384, MD5, HMAC & SMAC
14821  */
14822 #define CAAM_CHAVID_LS_MDVID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_MDVID_SHIFT)) & CAAM_CHAVID_LS_MDVID_MASK)
14823 
14824 #define CAAM_CHAVID_LS_RNGVID_MASK               (0xF0000U)
14825 #define CAAM_CHAVID_LS_RNGVID_SHIFT              (16U)
14826 /*! RNGVID
14827  *  0b0010..RNGB
14828  *  0b0100..RNG4
14829  */
14830 #define CAAM_CHAVID_LS_RNGVID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_RNGVID_SHIFT)) & CAAM_CHAVID_LS_RNGVID_MASK)
14831 
14832 #define CAAM_CHAVID_LS_SNW8VID_MASK              (0xF00000U)
14833 #define CAAM_CHAVID_LS_SNW8VID_SHIFT             (20U)
14834 #define CAAM_CHAVID_LS_SNW8VID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_SNW8VID_SHIFT)) & CAAM_CHAVID_LS_SNW8VID_MASK)
14835 
14836 #define CAAM_CHAVID_LS_KASVID_MASK               (0xF000000U)
14837 #define CAAM_CHAVID_LS_KASVID_SHIFT              (24U)
14838 #define CAAM_CHAVID_LS_KASVID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_KASVID_SHIFT)) & CAAM_CHAVID_LS_KASVID_MASK)
14839 
14840 #define CAAM_CHAVID_LS_PKVID_MASK                (0xF0000000U)
14841 #define CAAM_CHAVID_LS_PKVID_SHIFT               (28U)
14842 /*! PKVID
14843  *  0b0000..PKHA-XT (32-bit); minimum modulus five bytes
14844  *  0b0001..PKHA-SD (32-bit)
14845  *  0b0010..PKHA-SD (64-bit)
14846  *  0b0011..PKHA-SD (128-bit)
14847  */
14848 #define CAAM_CHAVID_LS_PKVID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHAVID_LS_PKVID_SHIFT)) & CAAM_CHAVID_LS_PKVID_MASK)
14849 /*! @} */
14850 
14851 /*! @name CHANUM_MS - CHA Number Register, most-significant half */
14852 /*! @{ */
14853 
14854 #define CAAM_CHANUM_MS_CRCNUM_MASK               (0xFU)
14855 #define CAAM_CHANUM_MS_CRCNUM_SHIFT              (0U)
14856 #define CAAM_CHANUM_MS_CRCNUM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_CRCNUM_SHIFT)) & CAAM_CHANUM_MS_CRCNUM_MASK)
14857 
14858 #define CAAM_CHANUM_MS_SNW9NUM_MASK              (0xF0U)
14859 #define CAAM_CHANUM_MS_SNW9NUM_SHIFT             (4U)
14860 #define CAAM_CHANUM_MS_SNW9NUM(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_SNW9NUM_SHIFT)) & CAAM_CHANUM_MS_SNW9NUM_MASK)
14861 
14862 #define CAAM_CHANUM_MS_ZENUM_MASK                (0xF00U)
14863 #define CAAM_CHANUM_MS_ZENUM_SHIFT               (8U)
14864 #define CAAM_CHANUM_MS_ZENUM(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_ZENUM_SHIFT)) & CAAM_CHANUM_MS_ZENUM_MASK)
14865 
14866 #define CAAM_CHANUM_MS_ZANUM_MASK                (0xF000U)
14867 #define CAAM_CHANUM_MS_ZANUM_SHIFT               (12U)
14868 #define CAAM_CHANUM_MS_ZANUM(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_ZANUM_SHIFT)) & CAAM_CHANUM_MS_ZANUM_MASK)
14869 
14870 #define CAAM_CHANUM_MS_DECONUM_MASK              (0xF000000U)
14871 #define CAAM_CHANUM_MS_DECONUM_SHIFT             (24U)
14872 #define CAAM_CHANUM_MS_DECONUM(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_DECONUM_SHIFT)) & CAAM_CHANUM_MS_DECONUM_MASK)
14873 
14874 #define CAAM_CHANUM_MS_JRNUM_MASK                (0xF0000000U)
14875 #define CAAM_CHANUM_MS_JRNUM_SHIFT               (28U)
14876 #define CAAM_CHANUM_MS_JRNUM(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_MS_JRNUM_SHIFT)) & CAAM_CHANUM_MS_JRNUM_MASK)
14877 /*! @} */
14878 
14879 /*! @name CHANUM_LS - CHA Number Register, least-significant half */
14880 /*! @{ */
14881 
14882 #define CAAM_CHANUM_LS_AESNUM_MASK               (0xFU)
14883 #define CAAM_CHANUM_LS_AESNUM_SHIFT              (0U)
14884 #define CAAM_CHANUM_LS_AESNUM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_AESNUM_SHIFT)) & CAAM_CHANUM_LS_AESNUM_MASK)
14885 
14886 #define CAAM_CHANUM_LS_DESNUM_MASK               (0xF0U)
14887 #define CAAM_CHANUM_LS_DESNUM_SHIFT              (4U)
14888 #define CAAM_CHANUM_LS_DESNUM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_DESNUM_SHIFT)) & CAAM_CHANUM_LS_DESNUM_MASK)
14889 
14890 #define CAAM_CHANUM_LS_ARC4NUM_MASK              (0xF00U)
14891 #define CAAM_CHANUM_LS_ARC4NUM_SHIFT             (8U)
14892 #define CAAM_CHANUM_LS_ARC4NUM(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_ARC4NUM_SHIFT)) & CAAM_CHANUM_LS_ARC4NUM_MASK)
14893 
14894 #define CAAM_CHANUM_LS_MDNUM_MASK                (0xF000U)
14895 #define CAAM_CHANUM_LS_MDNUM_SHIFT               (12U)
14896 #define CAAM_CHANUM_LS_MDNUM(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_MDNUM_SHIFT)) & CAAM_CHANUM_LS_MDNUM_MASK)
14897 
14898 #define CAAM_CHANUM_LS_RNGNUM_MASK               (0xF0000U)
14899 #define CAAM_CHANUM_LS_RNGNUM_SHIFT              (16U)
14900 #define CAAM_CHANUM_LS_RNGNUM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_RNGNUM_SHIFT)) & CAAM_CHANUM_LS_RNGNUM_MASK)
14901 
14902 #define CAAM_CHANUM_LS_SNW8NUM_MASK              (0xF00000U)
14903 #define CAAM_CHANUM_LS_SNW8NUM_SHIFT             (20U)
14904 #define CAAM_CHANUM_LS_SNW8NUM(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_SNW8NUM_SHIFT)) & CAAM_CHANUM_LS_SNW8NUM_MASK)
14905 
14906 #define CAAM_CHANUM_LS_KASNUM_MASK               (0xF000000U)
14907 #define CAAM_CHANUM_LS_KASNUM_SHIFT              (24U)
14908 #define CAAM_CHANUM_LS_KASNUM(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_KASNUM_SHIFT)) & CAAM_CHANUM_LS_KASNUM_MASK)
14909 
14910 #define CAAM_CHANUM_LS_PKNUM_MASK                (0xF0000000U)
14911 #define CAAM_CHANUM_LS_PKNUM_SHIFT               (28U)
14912 #define CAAM_CHANUM_LS_PKNUM(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CHANUM_LS_PKNUM_SHIFT)) & CAAM_CHANUM_LS_PKNUM_MASK)
14913 /*! @} */
14914 
14915 /*! @name IRBAR_JR - Input Ring Base Address Register for Job Ring 0..Input Ring Base Address Register for Job Ring 3 */
14916 /*! @{ */
14917 
14918 #define CAAM_IRBAR_JR_IRBA_MASK                  (0xFFFFFFFFFU)
14919 #define CAAM_IRBAR_JR_IRBA_SHIFT                 (0U)
14920 #define CAAM_IRBAR_JR_IRBA(x)                    (((uint64_t)(((uint64_t)(x)) << CAAM_IRBAR_JR_IRBA_SHIFT)) & CAAM_IRBAR_JR_IRBA_MASK)
14921 /*! @} */
14922 
14923 /* The count of CAAM_IRBAR_JR */
14924 #define CAAM_IRBAR_JR_COUNT                      (4U)
14925 
14926 /*! @name IRSR_JR - Input Ring Size Register for Job Ring 0..Input Ring Size Register for Job Ring 3 */
14927 /*! @{ */
14928 
14929 #define CAAM_IRSR_JR_IRS_MASK                    (0x3FFU)
14930 #define CAAM_IRSR_JR_IRS_SHIFT                   (0U)
14931 #define CAAM_IRSR_JR_IRS(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_IRSR_JR_IRS_SHIFT)) & CAAM_IRSR_JR_IRS_MASK)
14932 /*! @} */
14933 
14934 /* The count of CAAM_IRSR_JR */
14935 #define CAAM_IRSR_JR_COUNT                       (4U)
14936 
14937 /*! @name IRSAR_JR - Input Ring Slots Available Register for Job Ring 0..Input Ring Slots Available Register for Job Ring 3 */
14938 /*! @{ */
14939 
14940 #define CAAM_IRSAR_JR_IRSA_MASK                  (0x3FFU)
14941 #define CAAM_IRSAR_JR_IRSA_SHIFT                 (0U)
14942 #define CAAM_IRSAR_JR_IRSA(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_IRSAR_JR_IRSA_SHIFT)) & CAAM_IRSAR_JR_IRSA_MASK)
14943 /*! @} */
14944 
14945 /* The count of CAAM_IRSAR_JR */
14946 #define CAAM_IRSAR_JR_COUNT                      (4U)
14947 
14948 /*! @name IRJAR_JR - Input Ring Jobs Added Register for Job Ring0..Input Ring Jobs Added Register for Job Ring3 */
14949 /*! @{ */
14950 
14951 #define CAAM_IRJAR_JR_IRJA_MASK                  (0x3FFU)
14952 #define CAAM_IRJAR_JR_IRJA_SHIFT                 (0U)
14953 #define CAAM_IRJAR_JR_IRJA(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_IRJAR_JR_IRJA_SHIFT)) & CAAM_IRJAR_JR_IRJA_MASK)
14954 /*! @} */
14955 
14956 /* The count of CAAM_IRJAR_JR */
14957 #define CAAM_IRJAR_JR_COUNT                      (4U)
14958 
14959 /*! @name ORBAR_JR - Output Ring Base Address Register for Job Ring 0..Output Ring Base Address Register for Job Ring 3 */
14960 /*! @{ */
14961 
14962 #define CAAM_ORBAR_JR_ORBA_MASK                  (0xFFFFFFFFFU)
14963 #define CAAM_ORBAR_JR_ORBA_SHIFT                 (0U)
14964 #define CAAM_ORBAR_JR_ORBA(x)                    (((uint64_t)(((uint64_t)(x)) << CAAM_ORBAR_JR_ORBA_SHIFT)) & CAAM_ORBAR_JR_ORBA_MASK)
14965 /*! @} */
14966 
14967 /* The count of CAAM_ORBAR_JR */
14968 #define CAAM_ORBAR_JR_COUNT                      (4U)
14969 
14970 /*! @name ORSR_JR - Output Ring Size Register for Job Ring 0..Output Ring Size Register for Job Ring 3 */
14971 /*! @{ */
14972 
14973 #define CAAM_ORSR_JR_ORS_MASK                    (0x3FFU)
14974 #define CAAM_ORSR_JR_ORS_SHIFT                   (0U)
14975 #define CAAM_ORSR_JR_ORS(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_ORSR_JR_ORS_SHIFT)) & CAAM_ORSR_JR_ORS_MASK)
14976 /*! @} */
14977 
14978 /* The count of CAAM_ORSR_JR */
14979 #define CAAM_ORSR_JR_COUNT                       (4U)
14980 
14981 /*! @name ORJRR_JR - Output Ring Jobs Removed Register for Job Ring 0..Output Ring Jobs Removed Register for Job Ring 3 */
14982 /*! @{ */
14983 
14984 #define CAAM_ORJRR_JR_ORJR_MASK                  (0x3FFU)
14985 #define CAAM_ORJRR_JR_ORJR_SHIFT                 (0U)
14986 #define CAAM_ORJRR_JR_ORJR(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_ORJRR_JR_ORJR_SHIFT)) & CAAM_ORJRR_JR_ORJR_MASK)
14987 /*! @} */
14988 
14989 /* The count of CAAM_ORJRR_JR */
14990 #define CAAM_ORJRR_JR_COUNT                      (4U)
14991 
14992 /*! @name ORSFR_JR - Output Ring Slots Full Register for Job Ring 0..Output Ring Slots Full Register for Job Ring 3 */
14993 /*! @{ */
14994 
14995 #define CAAM_ORSFR_JR_ORSF_MASK                  (0x3FFU)
14996 #define CAAM_ORSFR_JR_ORSF_SHIFT                 (0U)
14997 #define CAAM_ORSFR_JR_ORSF(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_ORSFR_JR_ORSF_SHIFT)) & CAAM_ORSFR_JR_ORSF_MASK)
14998 /*! @} */
14999 
15000 /* The count of CAAM_ORSFR_JR */
15001 #define CAAM_ORSFR_JR_COUNT                      (4U)
15002 
15003 /*! @name JRSTAR_JR - Job Ring Output Status Register for Job Ring 0..Job Ring Output Status Register for Job Ring 3 */
15004 /*! @{ */
15005 
15006 #define CAAM_JRSTAR_JR_SSED_MASK                 (0xFFFFFFFU)
15007 #define CAAM_JRSTAR_JR_SSED_SHIFT                (0U)
15008 #define CAAM_JRSTAR_JR_SSED(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTAR_JR_SSED_SHIFT)) & CAAM_JRSTAR_JR_SSED_MASK)
15009 
15010 #define CAAM_JRSTAR_JR_SSRC_MASK                 (0xF0000000U)
15011 #define CAAM_JRSTAR_JR_SSRC_SHIFT                (28U)
15012 /*! SSRC
15013  *  0b0000..No Status Source (No Error or Status Reported)
15014  *  0b0001..Reserved
15015  *  0b0010..CCB Status Source (CCB Error Reported)
15016  *  0b0011..Jump Halt User Status Source (User-Provided Status Reported)
15017  *  0b0100..DECO Status Source (DECO Error Reported)
15018  *  0b0101..Reserved
15019  *  0b0110..Job Ring Status Source (Job Ring Error Reported)
15020  *  0b0111..Jump Halt Condition Codes (Condition Code Status Reported)
15021  */
15022 #define CAAM_JRSTAR_JR_SSRC(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_JRSTAR_JR_SSRC_SHIFT)) & CAAM_JRSTAR_JR_SSRC_MASK)
15023 /*! @} */
15024 
15025 /* The count of CAAM_JRSTAR_JR */
15026 #define CAAM_JRSTAR_JR_COUNT                     (4U)
15027 
15028 /*! @name JRINTR_JR - Job Ring Interrupt Status Register for Job Ring 0..Job Ring Interrupt Status Register for Job Ring 3 */
15029 /*! @{ */
15030 
15031 #define CAAM_JRINTR_JR_JRI_MASK                  (0x1U)
15032 #define CAAM_JRINTR_JR_JRI_SHIFT                 (0U)
15033 #define CAAM_JRINTR_JR_JRI(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_JRI_SHIFT)) & CAAM_JRINTR_JR_JRI_MASK)
15034 
15035 #define CAAM_JRINTR_JR_JRE_MASK                  (0x2U)
15036 #define CAAM_JRINTR_JR_JRE_SHIFT                 (1U)
15037 #define CAAM_JRINTR_JR_JRE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_JRE_SHIFT)) & CAAM_JRINTR_JR_JRE_MASK)
15038 
15039 #define CAAM_JRINTR_JR_HALT_MASK                 (0xCU)
15040 #define CAAM_JRINTR_JR_HALT_SHIFT                (2U)
15041 #define CAAM_JRINTR_JR_HALT(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_HALT_SHIFT)) & CAAM_JRINTR_JR_HALT_MASK)
15042 
15043 #define CAAM_JRINTR_JR_ENTER_FAIL_MASK           (0x10U)
15044 #define CAAM_JRINTR_JR_ENTER_FAIL_SHIFT          (4U)
15045 #define CAAM_JRINTR_JR_ENTER_FAIL(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_ENTER_FAIL_SHIFT)) & CAAM_JRINTR_JR_ENTER_FAIL_MASK)
15046 
15047 #define CAAM_JRINTR_JR_EXIT_FAIL_MASK            (0x20U)
15048 #define CAAM_JRINTR_JR_EXIT_FAIL_SHIFT           (5U)
15049 #define CAAM_JRINTR_JR_EXIT_FAIL(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_EXIT_FAIL_SHIFT)) & CAAM_JRINTR_JR_EXIT_FAIL_MASK)
15050 
15051 #define CAAM_JRINTR_JR_ERR_TYPE_MASK             (0x1F00U)
15052 #define CAAM_JRINTR_JR_ERR_TYPE_SHIFT            (8U)
15053 /*! ERR_TYPE
15054  *  0b00001..Error writing status to Output Ring
15055  *  0b00011..Bad input ring base address (not on a 4-byte boundary).
15056  *  0b00100..Bad output ring base address (not on a 4-byte boundary).
15057  *  0b00101..Invalid write to Input Ring Base Address Register or Input Ring Size Register. Can be written when
15058  *           there are no jobs in the input ring or when the Job Ring is halted. These are fatal and will likely
15059  *           result in not being able to get all jobs out into the output ring for processing by software. Resetting
15060  *           the job ring will almost certainly be necessary.
15061  *  0b00110..Invalid write to Output Ring Base Address Register or Output Ring Size Register. Can be written when
15062  *           there are no jobs in the output ring and no jobs from this queue are already processing in CAAM (in
15063  *           the holding tanks or DECOs), or when the Job Ring is halted.
15064  *  0b00111..Job Ring reset released before Job Ring is halted.
15065  *  0b01000..Removed too many jobs (ORJRR larger than ORSFR).
15066  *  0b01001..Added too many jobs (IRJAR larger than IRSAR).
15067  *  0b01010..Writing ORSF > ORS In these error cases the write is ignored, the interrupt is asserted (unless
15068  *           masked) and the error bit and error_type fields are set in the Job Ring Interrupt Status Register.
15069  *  0b01011..Writing IRSA > IRS
15070  *  0b01100..Writing ORWI > ORS in bytes
15071  *  0b01101..Writing IRRI > IRS in bytes
15072  *  0b01110..Writing IRSA when ring is active
15073  *  0b01111..Writing IRRI when ring is active
15074  *  0b10000..Writing ORSF when ring is active
15075  *  0b10001..Writing ORWI when ring is active
15076  */
15077 #define CAAM_JRINTR_JR_ERR_TYPE(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_ERR_TYPE_SHIFT)) & CAAM_JRINTR_JR_ERR_TYPE_MASK)
15078 
15079 #define CAAM_JRINTR_JR_ERR_ORWI_MASK             (0x3FFF0000U)
15080 #define CAAM_JRINTR_JR_ERR_ORWI_SHIFT            (16U)
15081 #define CAAM_JRINTR_JR_ERR_ORWI(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRINTR_JR_ERR_ORWI_SHIFT)) & CAAM_JRINTR_JR_ERR_ORWI_MASK)
15082 /*! @} */
15083 
15084 /* The count of CAAM_JRINTR_JR */
15085 #define CAAM_JRINTR_JR_COUNT                     (4U)
15086 
15087 /*! @name JRCFGR_JR_MS - Job Ring Configuration Register for Job Ring 0, most-significant half..Job Ring Configuration Register for Job Ring 3, most-significant half */
15088 /*! @{ */
15089 
15090 #define CAAM_JRCFGR_JR_MS_MBSI_MASK              (0x1U)
15091 #define CAAM_JRCFGR_JR_MS_MBSI_SHIFT             (0U)
15092 #define CAAM_JRCFGR_JR_MS_MBSI(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MBSI_SHIFT)) & CAAM_JRCFGR_JR_MS_MBSI_MASK)
15093 
15094 #define CAAM_JRCFGR_JR_MS_MHWSI_MASK             (0x2U)
15095 #define CAAM_JRCFGR_JR_MS_MHWSI_SHIFT            (1U)
15096 #define CAAM_JRCFGR_JR_MS_MHWSI(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MHWSI_SHIFT)) & CAAM_JRCFGR_JR_MS_MHWSI_MASK)
15097 
15098 #define CAAM_JRCFGR_JR_MS_MWSI_MASK              (0x4U)
15099 #define CAAM_JRCFGR_JR_MS_MWSI_SHIFT             (2U)
15100 #define CAAM_JRCFGR_JR_MS_MWSI(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MWSI_SHIFT)) & CAAM_JRCFGR_JR_MS_MWSI_MASK)
15101 
15102 #define CAAM_JRCFGR_JR_MS_CBSI_MASK              (0x10U)
15103 #define CAAM_JRCFGR_JR_MS_CBSI_SHIFT             (4U)
15104 #define CAAM_JRCFGR_JR_MS_CBSI(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CBSI_SHIFT)) & CAAM_JRCFGR_JR_MS_CBSI_MASK)
15105 
15106 #define CAAM_JRCFGR_JR_MS_CHWSI_MASK             (0x20U)
15107 #define CAAM_JRCFGR_JR_MS_CHWSI_SHIFT            (5U)
15108 #define CAAM_JRCFGR_JR_MS_CHWSI(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CHWSI_SHIFT)) & CAAM_JRCFGR_JR_MS_CHWSI_MASK)
15109 
15110 #define CAAM_JRCFGR_JR_MS_CWSI_MASK              (0x40U)
15111 #define CAAM_JRCFGR_JR_MS_CWSI_SHIFT             (6U)
15112 #define CAAM_JRCFGR_JR_MS_CWSI(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CWSI_SHIFT)) & CAAM_JRCFGR_JR_MS_CWSI_MASK)
15113 
15114 #define CAAM_JRCFGR_JR_MS_MBSO_MASK              (0x100U)
15115 #define CAAM_JRCFGR_JR_MS_MBSO_SHIFT             (8U)
15116 #define CAAM_JRCFGR_JR_MS_MBSO(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MBSO_SHIFT)) & CAAM_JRCFGR_JR_MS_MBSO_MASK)
15117 
15118 #define CAAM_JRCFGR_JR_MS_MHWSO_MASK             (0x200U)
15119 #define CAAM_JRCFGR_JR_MS_MHWSO_SHIFT            (9U)
15120 #define CAAM_JRCFGR_JR_MS_MHWSO(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MHWSO_SHIFT)) & CAAM_JRCFGR_JR_MS_MHWSO_MASK)
15121 
15122 #define CAAM_JRCFGR_JR_MS_MWSO_MASK              (0x400U)
15123 #define CAAM_JRCFGR_JR_MS_MWSO_SHIFT             (10U)
15124 #define CAAM_JRCFGR_JR_MS_MWSO(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_MWSO_SHIFT)) & CAAM_JRCFGR_JR_MS_MWSO_MASK)
15125 
15126 #define CAAM_JRCFGR_JR_MS_CBSO_MASK              (0x1000U)
15127 #define CAAM_JRCFGR_JR_MS_CBSO_SHIFT             (12U)
15128 #define CAAM_JRCFGR_JR_MS_CBSO(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CBSO_SHIFT)) & CAAM_JRCFGR_JR_MS_CBSO_MASK)
15129 
15130 #define CAAM_JRCFGR_JR_MS_CHWSO_MASK             (0x2000U)
15131 #define CAAM_JRCFGR_JR_MS_CHWSO_SHIFT            (13U)
15132 #define CAAM_JRCFGR_JR_MS_CHWSO(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CHWSO_SHIFT)) & CAAM_JRCFGR_JR_MS_CHWSO_MASK)
15133 
15134 #define CAAM_JRCFGR_JR_MS_CWSO_MASK              (0x4000U)
15135 #define CAAM_JRCFGR_JR_MS_CWSO_SHIFT             (14U)
15136 #define CAAM_JRCFGR_JR_MS_CWSO(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_CWSO_SHIFT)) & CAAM_JRCFGR_JR_MS_CWSO_MASK)
15137 
15138 #define CAAM_JRCFGR_JR_MS_DMBS_MASK              (0x10000U)
15139 #define CAAM_JRCFGR_JR_MS_DMBS_SHIFT             (16U)
15140 #define CAAM_JRCFGR_JR_MS_DMBS(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_DMBS_SHIFT)) & CAAM_JRCFGR_JR_MS_DMBS_MASK)
15141 
15142 #define CAAM_JRCFGR_JR_MS_PEO_MASK               (0x20000U)
15143 #define CAAM_JRCFGR_JR_MS_PEO_SHIFT              (17U)
15144 #define CAAM_JRCFGR_JR_MS_PEO(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_PEO_SHIFT)) & CAAM_JRCFGR_JR_MS_PEO_MASK)
15145 
15146 #define CAAM_JRCFGR_JR_MS_DWSO_MASK              (0x40000U)
15147 #define CAAM_JRCFGR_JR_MS_DWSO_SHIFT             (18U)
15148 #define CAAM_JRCFGR_JR_MS_DWSO(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_DWSO_SHIFT)) & CAAM_JRCFGR_JR_MS_DWSO_MASK)
15149 
15150 #define CAAM_JRCFGR_JR_MS_FAIL_MODE_MASK         (0x20000000U)
15151 #define CAAM_JRCFGR_JR_MS_FAIL_MODE_SHIFT        (29U)
15152 #define CAAM_JRCFGR_JR_MS_FAIL_MODE(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_FAIL_MODE_SHIFT)) & CAAM_JRCFGR_JR_MS_FAIL_MODE_MASK)
15153 
15154 #define CAAM_JRCFGR_JR_MS_INCL_SEQ_OUT_MASK      (0x40000000U)
15155 #define CAAM_JRCFGR_JR_MS_INCL_SEQ_OUT_SHIFT     (30U)
15156 #define CAAM_JRCFGR_JR_MS_INCL_SEQ_OUT(x)        (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_MS_INCL_SEQ_OUT_SHIFT)) & CAAM_JRCFGR_JR_MS_INCL_SEQ_OUT_MASK)
15157 /*! @} */
15158 
15159 /* The count of CAAM_JRCFGR_JR_MS */
15160 #define CAAM_JRCFGR_JR_MS_COUNT                  (4U)
15161 
15162 /*! @name JRCFGR_JR_LS - Job Ring Configuration Register for Job Ring 0, least-significant half..Job Ring Configuration Register for Job Ring 3, least-significant half */
15163 /*! @{ */
15164 
15165 #define CAAM_JRCFGR_JR_LS_IMSK_MASK              (0x1U)
15166 #define CAAM_JRCFGR_JR_LS_IMSK_SHIFT             (0U)
15167 /*! IMSK
15168  *  0b0..Interrupt enabled.
15169  *  0b1..Interrupt masked.
15170  */
15171 #define CAAM_JRCFGR_JR_LS_IMSK(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_LS_IMSK_SHIFT)) & CAAM_JRCFGR_JR_LS_IMSK_MASK)
15172 
15173 #define CAAM_JRCFGR_JR_LS_ICEN_MASK              (0x2U)
15174 #define CAAM_JRCFGR_JR_LS_ICEN_SHIFT             (1U)
15175 /*! ICEN
15176  *  0b0..Interrupt coalescing is disabled. If the IMSK bit is cleared, an interrupt is asserted whenever a job is
15177  *       written to the output ring. ICDCT is ignored. Note that if software removes one or more jobs and clears
15178  *       the interrupt but the output rings slots full is still greater than 0 (ORSF > 0), then the interrupt will
15179  *       clear but reassert on the next clock cycle.
15180  *  0b1..Interrupt coalescing is enabled. If the IMSK bit is cleared, an interrupt is asserted whenever the
15181  *       threshold number of frames is reached (ICDCT) or when the threshold timer expires (ICTT). Note that if software
15182  *       removes one or more jobs and clears the interrupt but the interrupt coalescing threshold is still met
15183  *       (ORSF >= ICDCT), then the interrupt will clear but reassert on the next clock cycle.
15184  */
15185 #define CAAM_JRCFGR_JR_LS_ICEN(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_LS_ICEN_SHIFT)) & CAAM_JRCFGR_JR_LS_ICEN_MASK)
15186 
15187 #define CAAM_JRCFGR_JR_LS_ICDCT_MASK             (0xFF00U)
15188 #define CAAM_JRCFGR_JR_LS_ICDCT_SHIFT            (8U)
15189 #define CAAM_JRCFGR_JR_LS_ICDCT(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_LS_ICDCT_SHIFT)) & CAAM_JRCFGR_JR_LS_ICDCT_MASK)
15190 
15191 #define CAAM_JRCFGR_JR_LS_ICTT_MASK              (0xFFFF0000U)
15192 #define CAAM_JRCFGR_JR_LS_ICTT_SHIFT             (16U)
15193 #define CAAM_JRCFGR_JR_LS_ICTT(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_JRCFGR_JR_LS_ICTT_SHIFT)) & CAAM_JRCFGR_JR_LS_ICTT_MASK)
15194 /*! @} */
15195 
15196 /* The count of CAAM_JRCFGR_JR_LS */
15197 #define CAAM_JRCFGR_JR_LS_COUNT                  (4U)
15198 
15199 /*! @name IRRIR_JR - Input Ring Read Index Register for Job Ring 0..Input Ring Read Index Register for Job Ring 3 */
15200 /*! @{ */
15201 
15202 #define CAAM_IRRIR_JR_IRRI_MASK                  (0x1FFFU)
15203 #define CAAM_IRRIR_JR_IRRI_SHIFT                 (0U)
15204 #define CAAM_IRRIR_JR_IRRI(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_IRRIR_JR_IRRI_SHIFT)) & CAAM_IRRIR_JR_IRRI_MASK)
15205 /*! @} */
15206 
15207 /* The count of CAAM_IRRIR_JR */
15208 #define CAAM_IRRIR_JR_COUNT                      (4U)
15209 
15210 /*! @name ORWIR_JR - Output Ring Write Index Register for Job Ring 0..Output Ring Write Index Register for Job Ring 3 */
15211 /*! @{ */
15212 
15213 #define CAAM_ORWIR_JR_ORWI_MASK                  (0x3FFFU)
15214 #define CAAM_ORWIR_JR_ORWI_SHIFT                 (0U)
15215 #define CAAM_ORWIR_JR_ORWI(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_ORWIR_JR_ORWI_SHIFT)) & CAAM_ORWIR_JR_ORWI_MASK)
15216 /*! @} */
15217 
15218 /* The count of CAAM_ORWIR_JR */
15219 #define CAAM_ORWIR_JR_COUNT                      (4U)
15220 
15221 /*! @name JRCR_JR - Job Ring Command Register for Job Ring 0..Job Ring Command Register for Job Ring 3 */
15222 /*! @{ */
15223 
15224 #define CAAM_JRCR_JR_RESET_MASK                  (0x1U)
15225 #define CAAM_JRCR_JR_RESET_SHIFT                 (0U)
15226 #define CAAM_JRCR_JR_RESET(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_JRCR_JR_RESET_SHIFT)) & CAAM_JRCR_JR_RESET_MASK)
15227 
15228 #define CAAM_JRCR_JR_PARK_MASK                   (0x2U)
15229 #define CAAM_JRCR_JR_PARK_SHIFT                  (1U)
15230 #define CAAM_JRCR_JR_PARK(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_JRCR_JR_PARK_SHIFT)) & CAAM_JRCR_JR_PARK_MASK)
15231 /*! @} */
15232 
15233 /* The count of CAAM_JRCR_JR */
15234 #define CAAM_JRCR_JR_COUNT                       (4U)
15235 
15236 /*! @name JRAAV - Job Ring 0 Address-Array Valid Register..Job Ring 3 Address-Array Valid Register */
15237 /*! @{ */
15238 
15239 #define CAAM_JRAAV_V0_MASK                       (0x1U)
15240 #define CAAM_JRAAV_V0_SHIFT                      (0U)
15241 #define CAAM_JRAAV_V0(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_JRAAV_V0_SHIFT)) & CAAM_JRAAV_V0_MASK)
15242 
15243 #define CAAM_JRAAV_V1_MASK                       (0x2U)
15244 #define CAAM_JRAAV_V1_SHIFT                      (1U)
15245 #define CAAM_JRAAV_V1(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_JRAAV_V1_SHIFT)) & CAAM_JRAAV_V1_MASK)
15246 
15247 #define CAAM_JRAAV_V2_MASK                       (0x4U)
15248 #define CAAM_JRAAV_V2_SHIFT                      (2U)
15249 #define CAAM_JRAAV_V2(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_JRAAV_V2_SHIFT)) & CAAM_JRAAV_V2_MASK)
15250 
15251 #define CAAM_JRAAV_V3_MASK                       (0x8U)
15252 #define CAAM_JRAAV_V3_SHIFT                      (3U)
15253 #define CAAM_JRAAV_V3(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_JRAAV_V3_SHIFT)) & CAAM_JRAAV_V3_MASK)
15254 
15255 #define CAAM_JRAAV_BC_MASK                       (0x80000000U)
15256 #define CAAM_JRAAV_BC_SHIFT                      (31U)
15257 #define CAAM_JRAAV_BC(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_JRAAV_BC_SHIFT)) & CAAM_JRAAV_BC_MASK)
15258 /*! @} */
15259 
15260 /* The count of CAAM_JRAAV */
15261 #define CAAM_JRAAV_COUNT                         (4U)
15262 
15263 /*! @name JRAAA - Job Ring 0 Address-Array Address 0 Register..Job Ring 3 Address-Array Address 3 Register */
15264 /*! @{ */
15265 
15266 #define CAAM_JRAAA_JD_ADDR_MASK                  (0xFFFFFFFFFU)
15267 #define CAAM_JRAAA_JD_ADDR_SHIFT                 (0U)
15268 #define CAAM_JRAAA_JD_ADDR(x)                    (((uint64_t)(((uint64_t)(x)) << CAAM_JRAAA_JD_ADDR_SHIFT)) & CAAM_JRAAA_JD_ADDR_MASK)
15269 /*! @} */
15270 
15271 /* The count of CAAM_JRAAA */
15272 #define CAAM_JRAAA_COUNT                         (4U)
15273 
15274 /* The count of CAAM_JRAAA */
15275 #define CAAM_JRAAA_COUNT2                        (4U)
15276 
15277 /*! @name PX_SDID_JR - Partition 0 SDID register..Partition 15 SDID register */
15278 /*! @{ */
15279 
15280 #define CAAM_PX_SDID_JR_SDID_MASK                (0xFFFFU)
15281 #define CAAM_PX_SDID_JR_SDID_SHIFT               (0U)
15282 #define CAAM_PX_SDID_JR_SDID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SDID_JR_SDID_SHIFT)) & CAAM_PX_SDID_JR_SDID_MASK)
15283 /*! @} */
15284 
15285 /* The count of CAAM_PX_SDID_JR */
15286 #define CAAM_PX_SDID_JR_COUNT                    (4U)
15287 
15288 /* The count of CAAM_PX_SDID_JR */
15289 #define CAAM_PX_SDID_JR_COUNT2                   (16U)
15290 
15291 /*! @name PX_SMAPR_JR - Secure Memory Access Permissions register */
15292 /*! @{ */
15293 
15294 #define CAAM_PX_SMAPR_JR_G1_READ_MASK            (0x1U)
15295 #define CAAM_PX_SMAPR_JR_G1_READ_SHIFT           (0U)
15296 /*! G1_READ
15297  *  0b0..Instruction fetches and reads are prohibited (except that Trusted Descriptor reads (if G1_TDO=1) and
15298  *       key-reads are always allowed, and exporting Secure Memory Blobs is allowed if G1_SMBLOB=1 or if done by a
15299  *       Trusted Descriptor and G1_TDO=1).
15300  *  0b1..Instruction fetches and reads are allowed (but exporting a Secure Memory Blob is prohibited if
15301  *       G1_SMBLOB=0 and the descriptor is not a Trusted Descriptor or if G1_TDO=0).
15302  */
15303 #define CAAM_PX_SMAPR_JR_G1_READ(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G1_READ_SHIFT)) & CAAM_PX_SMAPR_JR_G1_READ_MASK)
15304 
15305 #define CAAM_PX_SMAPR_JR_G1_WRITE_MASK           (0x2U)
15306 #define CAAM_PX_SMAPR_JR_G1_WRITE_SHIFT          (1U)
15307 /*! G1_WRITE
15308  *  0b0..Writes are prohibited (except that Trusted Descriptor writes are allowed, and importing Secure Memory
15309  *       Blobs is allowed if G1_SMBLOB=1 or if done by a Trusted Descriptor and G1_TDO=1).
15310  *  0b1..Writes are allowed (but importing a Secure Memory Blob is prohibited if G1_SMBLOB=0 and the descriptor is
15311  *       not a Trusted Descriptor or if G1_TDO=0).
15312  */
15313 #define CAAM_PX_SMAPR_JR_G1_WRITE(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G1_WRITE_SHIFT)) & CAAM_PX_SMAPR_JR_G1_WRITE_MASK)
15314 
15315 #define CAAM_PX_SMAPR_JR_G1_TDO_MASK             (0x4U)
15316 #define CAAM_PX_SMAPR_JR_G1_TDO_SHIFT            (2U)
15317 /*! G1_TDO
15318  *  0b0..Trusted Descriptors have the same access privileges as Job Descriptors
15319  *  0b1..Trusted Descriptors are allowed to override the other access permissions, i.e. they can export blobs from
15320  *       or import blobs to the partition and read from and write to the partition regardless of the G1_SMBLOB,
15321  *       G1_WRITE and G1_READ settings.
15322  */
15323 #define CAAM_PX_SMAPR_JR_G1_TDO(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G1_TDO_SHIFT)) & CAAM_PX_SMAPR_JR_G1_TDO_MASK)
15324 
15325 #define CAAM_PX_SMAPR_JR_G1_SMBLOB_MASK          (0x8U)
15326 #define CAAM_PX_SMAPR_JR_G1_SMBLOB_SHIFT         (3U)
15327 /*! G1_SMBLOB
15328  *  0b0..Exporting or importing Secure Memory Blobs is prohibited, unless done via a Trusted Descriptor and G1_TDO=1.
15329  *  0b1..Exporting or importing Secure Memory Blobs is allowed, regardless of the G1_READ and G1_WRITE settings.
15330  */
15331 #define CAAM_PX_SMAPR_JR_G1_SMBLOB(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G1_SMBLOB_SHIFT)) & CAAM_PX_SMAPR_JR_G1_SMBLOB_MASK)
15332 
15333 #define CAAM_PX_SMAPR_JR_G2_READ_MASK            (0x10U)
15334 #define CAAM_PX_SMAPR_JR_G2_READ_SHIFT           (4U)
15335 /*! G2_READ
15336  *  0b0..Instruction fetches and reads are prohibited (except that Trusted Descriptor reads (if G2_TDO=1) and
15337  *       key-reads are always allowed, and exporting Secure Memory Blobs is allowed if G2_SMBLOB=1 or if done by a
15338  *       Trusted Descriptor and G2_TDO=1).
15339  *  0b1..Instruction fetches and reads are allowed (but exporting a Secure Memory Blob is prohibited if
15340  *       G2_SMBLOB=0 and the descriptor is not a Trusted Descriptor or if G2_TDO=0).
15341  */
15342 #define CAAM_PX_SMAPR_JR_G2_READ(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G2_READ_SHIFT)) & CAAM_PX_SMAPR_JR_G2_READ_MASK)
15343 
15344 #define CAAM_PX_SMAPR_JR_G2_WRITE_MASK           (0x20U)
15345 #define CAAM_PX_SMAPR_JR_G2_WRITE_SHIFT          (5U)
15346 /*! G2_WRITE
15347  *  0b0..Writes are prohibited (except that Trusted Descriptor writes are allowed, and importing Secure Memory
15348  *       Blobs is allowed if G2_SMBLOB=1 or if done by a Trusted Descriptor and G2_TDO=1).
15349  *  0b1..Writes are allowed (but importing a Secure Memory Blob is prohibited if G2_SMBLOB=0 and the descriptor is
15350  *       not a Trusted Descriptor or if G2_TDO=0).
15351  */
15352 #define CAAM_PX_SMAPR_JR_G2_WRITE(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G2_WRITE_SHIFT)) & CAAM_PX_SMAPR_JR_G2_WRITE_MASK)
15353 
15354 #define CAAM_PX_SMAPR_JR_G2_TDO_MASK             (0x40U)
15355 #define CAAM_PX_SMAPR_JR_G2_TDO_SHIFT            (6U)
15356 /*! G2_TDO
15357  *  0b0..Trusted Descriptors have the same access privileges as Job Descriptors
15358  *  0b1..Trusted Descriptors are allowed to override the other access permissions, i.e. they can export blobs from
15359  *       or import blobs to the partition and read from and write to the partition regardless of the G2_SMBLOB,
15360  *       G2_WRITE and G2_READ settings.
15361  */
15362 #define CAAM_PX_SMAPR_JR_G2_TDO(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G2_TDO_SHIFT)) & CAAM_PX_SMAPR_JR_G2_TDO_MASK)
15363 
15364 #define CAAM_PX_SMAPR_JR_G2_SMBLOB_MASK          (0x80U)
15365 #define CAAM_PX_SMAPR_JR_G2_SMBLOB_SHIFT         (7U)
15366 /*! G2_SMBLOB
15367  *  0b0..Exporting or importing Secure Memory Blobs is prohibited, unless done via a Trusted Descriptor and G2_TDO=1.
15368  *  0b1..Exporting or importing Secure Memory Blobs is allowed, regardless of the G2_READ and G2_WRITE settings.
15369  */
15370 #define CAAM_PX_SMAPR_JR_G2_SMBLOB(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_G2_SMBLOB_SHIFT)) & CAAM_PX_SMAPR_JR_G2_SMBLOB_MASK)
15371 
15372 #define CAAM_PX_SMAPR_JR_SMAG_LCK_MASK           (0x1000U)
15373 #define CAAM_PX_SMAPR_JR_SMAG_LCK_SHIFT          (12U)
15374 /*! SMAG_LCK
15375  *  0b0..The SMAG2JR register and SMAG1JR register are unlocked. The partition owner can change any writable bits of these registers.
15376  *  0b1..The SMAG2JR register and SMAG1JR register are locked. The SMAG2JR and SMAG1JR registers cannot be changed
15377  *       until the partition is de-allocated or a POR occurs.
15378  */
15379 #define CAAM_PX_SMAPR_JR_SMAG_LCK(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_SMAG_LCK_SHIFT)) & CAAM_PX_SMAPR_JR_SMAG_LCK_MASK)
15380 
15381 #define CAAM_PX_SMAPR_JR_SMAP_LCK_MASK           (0x2000U)
15382 #define CAAM_PX_SMAPR_JR_SMAP_LCK_SHIFT          (13U)
15383 /*! SMAP_LCK
15384  *  0b0..The SMAP register is unlocked. The partition owner can change any writable bits of the SMAP register.
15385  *  0b1..The SMAP register is locked. The SMAP_LCK, CSP and PSP bits and G1 and G2 permission bits of the SMAP
15386  *       register cannot be changed until the partition is de-allocated or a POR occurs. The PARTITION_KMOD value can
15387  *       still be changed. The SMAG_LCK bit can be changed to a 1, but cannot be changed to a 0.
15388  */
15389 #define CAAM_PX_SMAPR_JR_SMAP_LCK(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_SMAP_LCK_SHIFT)) & CAAM_PX_SMAPR_JR_SMAP_LCK_MASK)
15390 
15391 #define CAAM_PX_SMAPR_JR_PSP_MASK                (0x4000U)
15392 #define CAAM_PX_SMAPR_JR_PSP_SHIFT               (14U)
15393 /*! PSP
15394  *  0b0..The partition and any of the pages allocated to the partition can be de-allocated.
15395  *  0b1..The partition cannot be de-allocated and the pages allocated to the partition cannot be de-allocated.
15396  */
15397 #define CAAM_PX_SMAPR_JR_PSP(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_PSP_SHIFT)) & CAAM_PX_SMAPR_JR_PSP_MASK)
15398 
15399 #define CAAM_PX_SMAPR_JR_CSP_MASK                (0x8000U)
15400 #define CAAM_PX_SMAPR_JR_CSP_SHIFT               (15U)
15401 /*! CSP
15402  *  0b0..The pages allocated to the partition will not be zeroized when they are de-allocated or the partition is
15403  *       released or a security alarm occurs.
15404  *  0b1..The pages allocated to the partition will be zeroized when they are individually de-allocated or the
15405  *       partition is released or a security alarm occurs.
15406  */
15407 #define CAAM_PX_SMAPR_JR_CSP(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_CSP_SHIFT)) & CAAM_PX_SMAPR_JR_CSP_MASK)
15408 
15409 #define CAAM_PX_SMAPR_JR_PARTITION_KMOD_MASK     (0xFFFF0000U)
15410 #define CAAM_PX_SMAPR_JR_PARTITION_KMOD_SHIFT    (16U)
15411 #define CAAM_PX_SMAPR_JR_PARTITION_KMOD(x)       (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAPR_JR_PARTITION_KMOD_SHIFT)) & CAAM_PX_SMAPR_JR_PARTITION_KMOD_MASK)
15412 /*! @} */
15413 
15414 /* The count of CAAM_PX_SMAPR_JR */
15415 #define CAAM_PX_SMAPR_JR_COUNT                   (4U)
15416 
15417 /* The count of CAAM_PX_SMAPR_JR */
15418 #define CAAM_PX_SMAPR_JR_COUNT2                  (16U)
15419 
15420 /*! @name PX_SMAG2_JR - Secure Memory Access Group Registers */
15421 /*! @{ */
15422 
15423 #define CAAM_PX_SMAG2_JR_Gx_ID00_MASK            (0x1U)
15424 #define CAAM_PX_SMAG2_JR_Gx_ID00_SHIFT           (0U)
15425 #define CAAM_PX_SMAG2_JR_Gx_ID00(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID00_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID00_MASK)
15426 
15427 #define CAAM_PX_SMAG2_JR_Gx_ID01_MASK            (0x2U)
15428 #define CAAM_PX_SMAG2_JR_Gx_ID01_SHIFT           (1U)
15429 #define CAAM_PX_SMAG2_JR_Gx_ID01(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID01_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID01_MASK)
15430 
15431 #define CAAM_PX_SMAG2_JR_Gx_ID02_MASK            (0x4U)
15432 #define CAAM_PX_SMAG2_JR_Gx_ID02_SHIFT           (2U)
15433 #define CAAM_PX_SMAG2_JR_Gx_ID02(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID02_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID02_MASK)
15434 
15435 #define CAAM_PX_SMAG2_JR_Gx_ID03_MASK            (0x8U)
15436 #define CAAM_PX_SMAG2_JR_Gx_ID03_SHIFT           (3U)
15437 #define CAAM_PX_SMAG2_JR_Gx_ID03(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID03_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID03_MASK)
15438 
15439 #define CAAM_PX_SMAG2_JR_Gx_ID04_MASK            (0x10U)
15440 #define CAAM_PX_SMAG2_JR_Gx_ID04_SHIFT           (4U)
15441 #define CAAM_PX_SMAG2_JR_Gx_ID04(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID04_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID04_MASK)
15442 
15443 #define CAAM_PX_SMAG2_JR_Gx_ID05_MASK            (0x20U)
15444 #define CAAM_PX_SMAG2_JR_Gx_ID05_SHIFT           (5U)
15445 #define CAAM_PX_SMAG2_JR_Gx_ID05(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID05_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID05_MASK)
15446 
15447 #define CAAM_PX_SMAG2_JR_Gx_ID06_MASK            (0x40U)
15448 #define CAAM_PX_SMAG2_JR_Gx_ID06_SHIFT           (6U)
15449 #define CAAM_PX_SMAG2_JR_Gx_ID06(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID06_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID06_MASK)
15450 
15451 #define CAAM_PX_SMAG2_JR_Gx_ID07_MASK            (0x80U)
15452 #define CAAM_PX_SMAG2_JR_Gx_ID07_SHIFT           (7U)
15453 #define CAAM_PX_SMAG2_JR_Gx_ID07(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID07_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID07_MASK)
15454 
15455 #define CAAM_PX_SMAG2_JR_Gx_ID08_MASK            (0x100U)
15456 #define CAAM_PX_SMAG2_JR_Gx_ID08_SHIFT           (8U)
15457 #define CAAM_PX_SMAG2_JR_Gx_ID08(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID08_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID08_MASK)
15458 
15459 #define CAAM_PX_SMAG2_JR_Gx_ID09_MASK            (0x200U)
15460 #define CAAM_PX_SMAG2_JR_Gx_ID09_SHIFT           (9U)
15461 #define CAAM_PX_SMAG2_JR_Gx_ID09(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID09_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID09_MASK)
15462 
15463 #define CAAM_PX_SMAG2_JR_Gx_ID10_MASK            (0x400U)
15464 #define CAAM_PX_SMAG2_JR_Gx_ID10_SHIFT           (10U)
15465 #define CAAM_PX_SMAG2_JR_Gx_ID10(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID10_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID10_MASK)
15466 
15467 #define CAAM_PX_SMAG2_JR_Gx_ID11_MASK            (0x800U)
15468 #define CAAM_PX_SMAG2_JR_Gx_ID11_SHIFT           (11U)
15469 #define CAAM_PX_SMAG2_JR_Gx_ID11(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID11_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID11_MASK)
15470 
15471 #define CAAM_PX_SMAG2_JR_Gx_ID12_MASK            (0x1000U)
15472 #define CAAM_PX_SMAG2_JR_Gx_ID12_SHIFT           (12U)
15473 #define CAAM_PX_SMAG2_JR_Gx_ID12(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID12_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID12_MASK)
15474 
15475 #define CAAM_PX_SMAG2_JR_Gx_ID13_MASK            (0x2000U)
15476 #define CAAM_PX_SMAG2_JR_Gx_ID13_SHIFT           (13U)
15477 #define CAAM_PX_SMAG2_JR_Gx_ID13(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID13_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID13_MASK)
15478 
15479 #define CAAM_PX_SMAG2_JR_Gx_ID14_MASK            (0x4000U)
15480 #define CAAM_PX_SMAG2_JR_Gx_ID14_SHIFT           (14U)
15481 #define CAAM_PX_SMAG2_JR_Gx_ID14(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID14_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID14_MASK)
15482 
15483 #define CAAM_PX_SMAG2_JR_Gx_ID15_MASK            (0x8000U)
15484 #define CAAM_PX_SMAG2_JR_Gx_ID15_SHIFT           (15U)
15485 #define CAAM_PX_SMAG2_JR_Gx_ID15(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID15_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID15_MASK)
15486 
15487 #define CAAM_PX_SMAG2_JR_Gx_ID16_MASK            (0x10000U)
15488 #define CAAM_PX_SMAG2_JR_Gx_ID16_SHIFT           (16U)
15489 #define CAAM_PX_SMAG2_JR_Gx_ID16(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID16_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID16_MASK)
15490 
15491 #define CAAM_PX_SMAG2_JR_Gx_ID17_MASK            (0x20000U)
15492 #define CAAM_PX_SMAG2_JR_Gx_ID17_SHIFT           (17U)
15493 #define CAAM_PX_SMAG2_JR_Gx_ID17(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID17_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID17_MASK)
15494 
15495 #define CAAM_PX_SMAG2_JR_Gx_ID18_MASK            (0x40000U)
15496 #define CAAM_PX_SMAG2_JR_Gx_ID18_SHIFT           (18U)
15497 #define CAAM_PX_SMAG2_JR_Gx_ID18(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID18_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID18_MASK)
15498 
15499 #define CAAM_PX_SMAG2_JR_Gx_ID19_MASK            (0x80000U)
15500 #define CAAM_PX_SMAG2_JR_Gx_ID19_SHIFT           (19U)
15501 #define CAAM_PX_SMAG2_JR_Gx_ID19(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID19_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID19_MASK)
15502 
15503 #define CAAM_PX_SMAG2_JR_Gx_ID20_MASK            (0x100000U)
15504 #define CAAM_PX_SMAG2_JR_Gx_ID20_SHIFT           (20U)
15505 #define CAAM_PX_SMAG2_JR_Gx_ID20(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID20_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID20_MASK)
15506 
15507 #define CAAM_PX_SMAG2_JR_Gx_ID21_MASK            (0x200000U)
15508 #define CAAM_PX_SMAG2_JR_Gx_ID21_SHIFT           (21U)
15509 #define CAAM_PX_SMAG2_JR_Gx_ID21(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID21_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID21_MASK)
15510 
15511 #define CAAM_PX_SMAG2_JR_Gx_ID22_MASK            (0x400000U)
15512 #define CAAM_PX_SMAG2_JR_Gx_ID22_SHIFT           (22U)
15513 #define CAAM_PX_SMAG2_JR_Gx_ID22(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID22_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID22_MASK)
15514 
15515 #define CAAM_PX_SMAG2_JR_Gx_ID23_MASK            (0x800000U)
15516 #define CAAM_PX_SMAG2_JR_Gx_ID23_SHIFT           (23U)
15517 #define CAAM_PX_SMAG2_JR_Gx_ID23(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID23_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID23_MASK)
15518 
15519 #define CAAM_PX_SMAG2_JR_Gx_ID24_MASK            (0x1000000U)
15520 #define CAAM_PX_SMAG2_JR_Gx_ID24_SHIFT           (24U)
15521 #define CAAM_PX_SMAG2_JR_Gx_ID24(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID24_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID24_MASK)
15522 
15523 #define CAAM_PX_SMAG2_JR_Gx_ID25_MASK            (0x2000000U)
15524 #define CAAM_PX_SMAG2_JR_Gx_ID25_SHIFT           (25U)
15525 #define CAAM_PX_SMAG2_JR_Gx_ID25(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID25_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID25_MASK)
15526 
15527 #define CAAM_PX_SMAG2_JR_Gx_ID26_MASK            (0x4000000U)
15528 #define CAAM_PX_SMAG2_JR_Gx_ID26_SHIFT           (26U)
15529 #define CAAM_PX_SMAG2_JR_Gx_ID26(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID26_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID26_MASK)
15530 
15531 #define CAAM_PX_SMAG2_JR_Gx_ID27_MASK            (0x8000000U)
15532 #define CAAM_PX_SMAG2_JR_Gx_ID27_SHIFT           (27U)
15533 #define CAAM_PX_SMAG2_JR_Gx_ID27(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID27_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID27_MASK)
15534 
15535 #define CAAM_PX_SMAG2_JR_Gx_ID28_MASK            (0x10000000U)
15536 #define CAAM_PX_SMAG2_JR_Gx_ID28_SHIFT           (28U)
15537 #define CAAM_PX_SMAG2_JR_Gx_ID28(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID28_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID28_MASK)
15538 
15539 #define CAAM_PX_SMAG2_JR_Gx_ID29_MASK            (0x20000000U)
15540 #define CAAM_PX_SMAG2_JR_Gx_ID29_SHIFT           (29U)
15541 #define CAAM_PX_SMAG2_JR_Gx_ID29(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID29_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID29_MASK)
15542 
15543 #define CAAM_PX_SMAG2_JR_Gx_ID30_MASK            (0x40000000U)
15544 #define CAAM_PX_SMAG2_JR_Gx_ID30_SHIFT           (30U)
15545 #define CAAM_PX_SMAG2_JR_Gx_ID30(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID30_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID30_MASK)
15546 
15547 #define CAAM_PX_SMAG2_JR_Gx_ID31_MASK            (0x80000000U)
15548 #define CAAM_PX_SMAG2_JR_Gx_ID31_SHIFT           (31U)
15549 #define CAAM_PX_SMAG2_JR_Gx_ID31(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG2_JR_Gx_ID31_SHIFT)) & CAAM_PX_SMAG2_JR_Gx_ID31_MASK)
15550 /*! @} */
15551 
15552 /* The count of CAAM_PX_SMAG2_JR */
15553 #define CAAM_PX_SMAG2_JR_COUNT                   (4U)
15554 
15555 /* The count of CAAM_PX_SMAG2_JR */
15556 #define CAAM_PX_SMAG2_JR_COUNT2                  (16U)
15557 
15558 /*! @name PX_SMAG1_JR - Secure Memory Access Group Registers */
15559 /*! @{ */
15560 
15561 #define CAAM_PX_SMAG1_JR_Gx_ID00_MASK            (0x1U)
15562 #define CAAM_PX_SMAG1_JR_Gx_ID00_SHIFT           (0U)
15563 #define CAAM_PX_SMAG1_JR_Gx_ID00(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID00_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID00_MASK)
15564 
15565 #define CAAM_PX_SMAG1_JR_Gx_ID01_MASK            (0x2U)
15566 #define CAAM_PX_SMAG1_JR_Gx_ID01_SHIFT           (1U)
15567 #define CAAM_PX_SMAG1_JR_Gx_ID01(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID01_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID01_MASK)
15568 
15569 #define CAAM_PX_SMAG1_JR_Gx_ID02_MASK            (0x4U)
15570 #define CAAM_PX_SMAG1_JR_Gx_ID02_SHIFT           (2U)
15571 #define CAAM_PX_SMAG1_JR_Gx_ID02(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID02_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID02_MASK)
15572 
15573 #define CAAM_PX_SMAG1_JR_Gx_ID03_MASK            (0x8U)
15574 #define CAAM_PX_SMAG1_JR_Gx_ID03_SHIFT           (3U)
15575 #define CAAM_PX_SMAG1_JR_Gx_ID03(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID03_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID03_MASK)
15576 
15577 #define CAAM_PX_SMAG1_JR_Gx_ID04_MASK            (0x10U)
15578 #define CAAM_PX_SMAG1_JR_Gx_ID04_SHIFT           (4U)
15579 #define CAAM_PX_SMAG1_JR_Gx_ID04(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID04_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID04_MASK)
15580 
15581 #define CAAM_PX_SMAG1_JR_Gx_ID05_MASK            (0x20U)
15582 #define CAAM_PX_SMAG1_JR_Gx_ID05_SHIFT           (5U)
15583 #define CAAM_PX_SMAG1_JR_Gx_ID05(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID05_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID05_MASK)
15584 
15585 #define CAAM_PX_SMAG1_JR_Gx_ID06_MASK            (0x40U)
15586 #define CAAM_PX_SMAG1_JR_Gx_ID06_SHIFT           (6U)
15587 #define CAAM_PX_SMAG1_JR_Gx_ID06(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID06_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID06_MASK)
15588 
15589 #define CAAM_PX_SMAG1_JR_Gx_ID07_MASK            (0x80U)
15590 #define CAAM_PX_SMAG1_JR_Gx_ID07_SHIFT           (7U)
15591 #define CAAM_PX_SMAG1_JR_Gx_ID07(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID07_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID07_MASK)
15592 
15593 #define CAAM_PX_SMAG1_JR_Gx_ID08_MASK            (0x100U)
15594 #define CAAM_PX_SMAG1_JR_Gx_ID08_SHIFT           (8U)
15595 #define CAAM_PX_SMAG1_JR_Gx_ID08(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID08_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID08_MASK)
15596 
15597 #define CAAM_PX_SMAG1_JR_Gx_ID09_MASK            (0x200U)
15598 #define CAAM_PX_SMAG1_JR_Gx_ID09_SHIFT           (9U)
15599 #define CAAM_PX_SMAG1_JR_Gx_ID09(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID09_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID09_MASK)
15600 
15601 #define CAAM_PX_SMAG1_JR_Gx_ID10_MASK            (0x400U)
15602 #define CAAM_PX_SMAG1_JR_Gx_ID10_SHIFT           (10U)
15603 #define CAAM_PX_SMAG1_JR_Gx_ID10(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID10_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID10_MASK)
15604 
15605 #define CAAM_PX_SMAG1_JR_Gx_ID11_MASK            (0x800U)
15606 #define CAAM_PX_SMAG1_JR_Gx_ID11_SHIFT           (11U)
15607 #define CAAM_PX_SMAG1_JR_Gx_ID11(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID11_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID11_MASK)
15608 
15609 #define CAAM_PX_SMAG1_JR_Gx_ID12_MASK            (0x1000U)
15610 #define CAAM_PX_SMAG1_JR_Gx_ID12_SHIFT           (12U)
15611 #define CAAM_PX_SMAG1_JR_Gx_ID12(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID12_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID12_MASK)
15612 
15613 #define CAAM_PX_SMAG1_JR_Gx_ID13_MASK            (0x2000U)
15614 #define CAAM_PX_SMAG1_JR_Gx_ID13_SHIFT           (13U)
15615 #define CAAM_PX_SMAG1_JR_Gx_ID13(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID13_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID13_MASK)
15616 
15617 #define CAAM_PX_SMAG1_JR_Gx_ID14_MASK            (0x4000U)
15618 #define CAAM_PX_SMAG1_JR_Gx_ID14_SHIFT           (14U)
15619 #define CAAM_PX_SMAG1_JR_Gx_ID14(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID14_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID14_MASK)
15620 
15621 #define CAAM_PX_SMAG1_JR_Gx_ID15_MASK            (0x8000U)
15622 #define CAAM_PX_SMAG1_JR_Gx_ID15_SHIFT           (15U)
15623 #define CAAM_PX_SMAG1_JR_Gx_ID15(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID15_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID15_MASK)
15624 
15625 #define CAAM_PX_SMAG1_JR_Gx_ID16_MASK            (0x10000U)
15626 #define CAAM_PX_SMAG1_JR_Gx_ID16_SHIFT           (16U)
15627 #define CAAM_PX_SMAG1_JR_Gx_ID16(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID16_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID16_MASK)
15628 
15629 #define CAAM_PX_SMAG1_JR_Gx_ID17_MASK            (0x20000U)
15630 #define CAAM_PX_SMAG1_JR_Gx_ID17_SHIFT           (17U)
15631 #define CAAM_PX_SMAG1_JR_Gx_ID17(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID17_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID17_MASK)
15632 
15633 #define CAAM_PX_SMAG1_JR_Gx_ID18_MASK            (0x40000U)
15634 #define CAAM_PX_SMAG1_JR_Gx_ID18_SHIFT           (18U)
15635 #define CAAM_PX_SMAG1_JR_Gx_ID18(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID18_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID18_MASK)
15636 
15637 #define CAAM_PX_SMAG1_JR_Gx_ID19_MASK            (0x80000U)
15638 #define CAAM_PX_SMAG1_JR_Gx_ID19_SHIFT           (19U)
15639 #define CAAM_PX_SMAG1_JR_Gx_ID19(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID19_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID19_MASK)
15640 
15641 #define CAAM_PX_SMAG1_JR_Gx_ID20_MASK            (0x100000U)
15642 #define CAAM_PX_SMAG1_JR_Gx_ID20_SHIFT           (20U)
15643 #define CAAM_PX_SMAG1_JR_Gx_ID20(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID20_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID20_MASK)
15644 
15645 #define CAAM_PX_SMAG1_JR_Gx_ID21_MASK            (0x200000U)
15646 #define CAAM_PX_SMAG1_JR_Gx_ID21_SHIFT           (21U)
15647 #define CAAM_PX_SMAG1_JR_Gx_ID21(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID21_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID21_MASK)
15648 
15649 #define CAAM_PX_SMAG1_JR_Gx_ID22_MASK            (0x400000U)
15650 #define CAAM_PX_SMAG1_JR_Gx_ID22_SHIFT           (22U)
15651 #define CAAM_PX_SMAG1_JR_Gx_ID22(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID22_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID22_MASK)
15652 
15653 #define CAAM_PX_SMAG1_JR_Gx_ID23_MASK            (0x800000U)
15654 #define CAAM_PX_SMAG1_JR_Gx_ID23_SHIFT           (23U)
15655 #define CAAM_PX_SMAG1_JR_Gx_ID23(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID23_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID23_MASK)
15656 
15657 #define CAAM_PX_SMAG1_JR_Gx_ID24_MASK            (0x1000000U)
15658 #define CAAM_PX_SMAG1_JR_Gx_ID24_SHIFT           (24U)
15659 #define CAAM_PX_SMAG1_JR_Gx_ID24(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID24_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID24_MASK)
15660 
15661 #define CAAM_PX_SMAG1_JR_Gx_ID25_MASK            (0x2000000U)
15662 #define CAAM_PX_SMAG1_JR_Gx_ID25_SHIFT           (25U)
15663 #define CAAM_PX_SMAG1_JR_Gx_ID25(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID25_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID25_MASK)
15664 
15665 #define CAAM_PX_SMAG1_JR_Gx_ID26_MASK            (0x4000000U)
15666 #define CAAM_PX_SMAG1_JR_Gx_ID26_SHIFT           (26U)
15667 #define CAAM_PX_SMAG1_JR_Gx_ID26(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID26_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID26_MASK)
15668 
15669 #define CAAM_PX_SMAG1_JR_Gx_ID27_MASK            (0x8000000U)
15670 #define CAAM_PX_SMAG1_JR_Gx_ID27_SHIFT           (27U)
15671 #define CAAM_PX_SMAG1_JR_Gx_ID27(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID27_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID27_MASK)
15672 
15673 #define CAAM_PX_SMAG1_JR_Gx_ID28_MASK            (0x10000000U)
15674 #define CAAM_PX_SMAG1_JR_Gx_ID28_SHIFT           (28U)
15675 #define CAAM_PX_SMAG1_JR_Gx_ID28(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID28_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID28_MASK)
15676 
15677 #define CAAM_PX_SMAG1_JR_Gx_ID29_MASK            (0x20000000U)
15678 #define CAAM_PX_SMAG1_JR_Gx_ID29_SHIFT           (29U)
15679 #define CAAM_PX_SMAG1_JR_Gx_ID29(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID29_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID29_MASK)
15680 
15681 #define CAAM_PX_SMAG1_JR_Gx_ID30_MASK            (0x40000000U)
15682 #define CAAM_PX_SMAG1_JR_Gx_ID30_SHIFT           (30U)
15683 #define CAAM_PX_SMAG1_JR_Gx_ID30(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID30_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID30_MASK)
15684 
15685 #define CAAM_PX_SMAG1_JR_Gx_ID31_MASK            (0x80000000U)
15686 #define CAAM_PX_SMAG1_JR_Gx_ID31_SHIFT           (31U)
15687 #define CAAM_PX_SMAG1_JR_Gx_ID31(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_PX_SMAG1_JR_Gx_ID31_SHIFT)) & CAAM_PX_SMAG1_JR_Gx_ID31_MASK)
15688 /*! @} */
15689 
15690 /* The count of CAAM_PX_SMAG1_JR */
15691 #define CAAM_PX_SMAG1_JR_COUNT                   (4U)
15692 
15693 /* The count of CAAM_PX_SMAG1_JR */
15694 #define CAAM_PX_SMAG1_JR_COUNT2                  (16U)
15695 
15696 /*! @name SMCR_JR - Secure Memory Command Register */
15697 /*! @{ */
15698 
15699 #define CAAM_SMCR_JR_CMD_MASK                    (0xFU)
15700 #define CAAM_SMCR_JR_CMD_SHIFT                   (0U)
15701 #define CAAM_SMCR_JR_CMD(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_JR_CMD_SHIFT)) & CAAM_SMCR_JR_CMD_MASK)
15702 
15703 #define CAAM_SMCR_JR_PRTN_MASK                   (0xF00U)
15704 #define CAAM_SMCR_JR_PRTN_SHIFT                  (8U)
15705 #define CAAM_SMCR_JR_PRTN(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_JR_PRTN_SHIFT)) & CAAM_SMCR_JR_PRTN_MASK)
15706 
15707 #define CAAM_SMCR_JR_PAGE_MASK                   (0xFFFF0000U)
15708 #define CAAM_SMCR_JR_PAGE_SHIFT                  (16U)
15709 #define CAAM_SMCR_JR_PAGE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_SMCR_JR_PAGE_SHIFT)) & CAAM_SMCR_JR_PAGE_MASK)
15710 /*! @} */
15711 
15712 /* The count of CAAM_SMCR_JR */
15713 #define CAAM_SMCR_JR_COUNT                       (4U)
15714 
15715 /*! @name SMCSR_JR - Secure Memory Command Status Register */
15716 /*! @{ */
15717 
15718 #define CAAM_SMCSR_JR_PRTN_MASK                  (0xFU)
15719 #define CAAM_SMCSR_JR_PRTN_SHIFT                 (0U)
15720 #define CAAM_SMCSR_JR_PRTN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_JR_PRTN_SHIFT)) & CAAM_SMCSR_JR_PRTN_MASK)
15721 
15722 #define CAAM_SMCSR_JR_PO_MASK                    (0xC0U)
15723 #define CAAM_SMCSR_JR_PO_SHIFT                   (6U)
15724 /*! PO
15725  *  0b00..Available; Unowned: The entity that issued the inquiry may allocate this page to a partition. No
15726  *        zeroization is needed since it has already been cleared, therefore no interrupt should be expected.
15727  *  0b01..Page does not exist in this version or is not initialized yet.
15728  *  0b10..Another entity owns the page. This page is unavailable to the issuer of the inquiry.
15729  *  0b11..Owned by the entity making the inquiry. The owner may de-allocate this page if its partition is not
15730  *        marked PSP. If the partition to which the page is allocated is designated as CSP, the page will be zeroized
15731  *        upon de-allocation.
15732  */
15733 #define CAAM_SMCSR_JR_PO(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_JR_PO_SHIFT)) & CAAM_SMCSR_JR_PO_MASK)
15734 
15735 #define CAAM_SMCSR_JR_AERR_MASK                  (0x3000U)
15736 #define CAAM_SMCSR_JR_AERR_SHIFT                 (12U)
15737 #define CAAM_SMCSR_JR_AERR(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_JR_AERR_SHIFT)) & CAAM_SMCSR_JR_AERR_MASK)
15738 
15739 #define CAAM_SMCSR_JR_CERR_MASK                  (0xC000U)
15740 #define CAAM_SMCSR_JR_CERR_SHIFT                 (14U)
15741 /*! CERR
15742  *  0b00..No Error.
15743  *  0b01..Command has not yet completed.
15744  *  0b10..A security failure occurred.
15745  *  0b11..Command Overflow. Another command was issued by the same Job Ring owner before the owner's previous
15746  *        command completed. The additional command was ignored.
15747  */
15748 #define CAAM_SMCSR_JR_CERR(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_JR_CERR_SHIFT)) & CAAM_SMCSR_JR_CERR_MASK)
15749 
15750 #define CAAM_SMCSR_JR_PAGE_MASK                  (0xFFF0000U)
15751 #define CAAM_SMCSR_JR_PAGE_SHIFT                 (16U)
15752 #define CAAM_SMCSR_JR_PAGE(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_SMCSR_JR_PAGE_SHIFT)) & CAAM_SMCSR_JR_PAGE_MASK)
15753 /*! @} */
15754 
15755 /* The count of CAAM_SMCSR_JR */
15756 #define CAAM_SMCSR_JR_COUNT                      (4U)
15757 
15758 /*! @name REIR0JR - Recoverable Error Interrupt Record 0 for Job Ring 0..Recoverable Error Interrupt Record 0 for Job Ring 3 */
15759 /*! @{ */
15760 
15761 #define CAAM_REIR0JR_TYPE_MASK                   (0x3000000U)
15762 #define CAAM_REIR0JR_TYPE_SHIFT                  (24U)
15763 #define CAAM_REIR0JR_TYPE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR0JR_TYPE_SHIFT)) & CAAM_REIR0JR_TYPE_MASK)
15764 
15765 #define CAAM_REIR0JR_MISS_MASK                   (0x80000000U)
15766 #define CAAM_REIR0JR_MISS_SHIFT                  (31U)
15767 #define CAAM_REIR0JR_MISS(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR0JR_MISS_SHIFT)) & CAAM_REIR0JR_MISS_MASK)
15768 /*! @} */
15769 
15770 /* The count of CAAM_REIR0JR */
15771 #define CAAM_REIR0JR_COUNT                       (4U)
15772 
15773 /*! @name REIR2JR - Recoverable Error Interrupt Record 2 for Job Ring 0..Recoverable Error Interrupt Record 2 for Job Ring 3 */
15774 /*! @{ */
15775 
15776 #define CAAM_REIR2JR_ADDR_MASK                   (0xFFFFFFFFFU)
15777 #define CAAM_REIR2JR_ADDR_SHIFT                  (0U)
15778 #define CAAM_REIR2JR_ADDR(x)                     (((uint64_t)(((uint64_t)(x)) << CAAM_REIR2JR_ADDR_SHIFT)) & CAAM_REIR2JR_ADDR_MASK)
15779 /*! @} */
15780 
15781 /* The count of CAAM_REIR2JR */
15782 #define CAAM_REIR2JR_COUNT                       (4U)
15783 
15784 /*! @name REIR4JR - Recoverable Error Interrupt Record 4 for Job Ring 0..Recoverable Error Interrupt Record 4 for Job Ring 3 */
15785 /*! @{ */
15786 
15787 #define CAAM_REIR4JR_ICID_MASK                   (0x7FFU)
15788 #define CAAM_REIR4JR_ICID_SHIFT                  (0U)
15789 #define CAAM_REIR4JR_ICID(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_ICID_SHIFT)) & CAAM_REIR4JR_ICID_MASK)
15790 
15791 #define CAAM_REIR4JR_DID_MASK                    (0x7800U)
15792 #define CAAM_REIR4JR_DID_SHIFT                   (11U)
15793 #define CAAM_REIR4JR_DID(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_DID_SHIFT)) & CAAM_REIR4JR_DID_MASK)
15794 
15795 #define CAAM_REIR4JR_AXCACHE_MASK                (0xF0000U)
15796 #define CAAM_REIR4JR_AXCACHE_SHIFT               (16U)
15797 #define CAAM_REIR4JR_AXCACHE(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_AXCACHE_SHIFT)) & CAAM_REIR4JR_AXCACHE_MASK)
15798 
15799 #define CAAM_REIR4JR_AXPROT_MASK                 (0x700000U)
15800 #define CAAM_REIR4JR_AXPROT_SHIFT                (20U)
15801 #define CAAM_REIR4JR_AXPROT(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_AXPROT_SHIFT)) & CAAM_REIR4JR_AXPROT_MASK)
15802 
15803 #define CAAM_REIR4JR_RWB_MASK                    (0x800000U)
15804 #define CAAM_REIR4JR_RWB_SHIFT                   (23U)
15805 #define CAAM_REIR4JR_RWB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_RWB_SHIFT)) & CAAM_REIR4JR_RWB_MASK)
15806 
15807 #define CAAM_REIR4JR_ERR_MASK                    (0x30000000U)
15808 #define CAAM_REIR4JR_ERR_SHIFT                   (28U)
15809 #define CAAM_REIR4JR_ERR(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_ERR_SHIFT)) & CAAM_REIR4JR_ERR_MASK)
15810 
15811 #define CAAM_REIR4JR_MIX_MASK                    (0xC0000000U)
15812 #define CAAM_REIR4JR_MIX_SHIFT                   (30U)
15813 #define CAAM_REIR4JR_MIX(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4JR_MIX_SHIFT)) & CAAM_REIR4JR_MIX_MASK)
15814 /*! @} */
15815 
15816 /* The count of CAAM_REIR4JR */
15817 #define CAAM_REIR4JR_COUNT                       (4U)
15818 
15819 /*! @name REIR5JR - Recoverable Error Interrupt Record 5 for Job Ring 0..Recoverable Error Interrupt Record 5 for Job Ring 3 */
15820 /*! @{ */
15821 
15822 #define CAAM_REIR5JR_BID_MASK                    (0xF0000U)
15823 #define CAAM_REIR5JR_BID_SHIFT                   (16U)
15824 #define CAAM_REIR5JR_BID(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_BID_SHIFT)) & CAAM_REIR5JR_BID_MASK)
15825 
15826 #define CAAM_REIR5JR_BNDG_MASK                   (0x2000000U)
15827 #define CAAM_REIR5JR_BNDG_SHIFT                  (25U)
15828 #define CAAM_REIR5JR_BNDG(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_BNDG_SHIFT)) & CAAM_REIR5JR_BNDG_MASK)
15829 
15830 #define CAAM_REIR5JR_TDSC_MASK                   (0x4000000U)
15831 #define CAAM_REIR5JR_TDSC_SHIFT                  (26U)
15832 #define CAAM_REIR5JR_TDSC(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_TDSC_SHIFT)) & CAAM_REIR5JR_TDSC_MASK)
15833 
15834 #define CAAM_REIR5JR_KMOD_MASK                   (0x8000000U)
15835 #define CAAM_REIR5JR_KMOD_SHIFT                  (27U)
15836 #define CAAM_REIR5JR_KMOD(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_KMOD_SHIFT)) & CAAM_REIR5JR_KMOD_MASK)
15837 
15838 #define CAAM_REIR5JR_KEY_MASK                    (0x10000000U)
15839 #define CAAM_REIR5JR_KEY_SHIFT                   (28U)
15840 #define CAAM_REIR5JR_KEY(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_KEY_SHIFT)) & CAAM_REIR5JR_KEY_MASK)
15841 
15842 #define CAAM_REIR5JR_SMA_MASK                    (0x20000000U)
15843 #define CAAM_REIR5JR_SMA_SHIFT                   (29U)
15844 #define CAAM_REIR5JR_SMA(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5JR_SMA_SHIFT)) & CAAM_REIR5JR_SMA_MASK)
15845 /*! @} */
15846 
15847 /* The count of CAAM_REIR5JR */
15848 #define CAAM_REIR5JR_COUNT                       (4U)
15849 
15850 /*! @name RSTA - RTIC Status Register */
15851 /*! @{ */
15852 
15853 #define CAAM_RSTA_BSY_MASK                       (0x1U)
15854 #define CAAM_RSTA_BSY_SHIFT                      (0U)
15855 /*! BSY
15856  *  0b0..RTIC Idle.
15857  *  0b1..RTIC Busy.
15858  */
15859 #define CAAM_RSTA_BSY(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_BSY_SHIFT)) & CAAM_RSTA_BSY_MASK)
15860 
15861 #define CAAM_RSTA_HD_MASK                        (0x2U)
15862 #define CAAM_RSTA_HD_SHIFT                       (1U)
15863 /*! HD
15864  *  0b0..Boot authentication disabled
15865  *  0b1..Authenticate code/generate reference hash value. This bit cannot be modified during run-time checking mode.
15866  */
15867 #define CAAM_RSTA_HD(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_HD_SHIFT)) & CAAM_RSTA_HD_MASK)
15868 
15869 #define CAAM_RSTA_SV_MASK                        (0x4U)
15870 #define CAAM_RSTA_SV_SHIFT                       (2U)
15871 /*! SV
15872  *  0b0..Memory block contents authenticated.
15873  *  0b1..Memory block hash doesn't match reference value.
15874  */
15875 #define CAAM_RSTA_SV(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_SV_SHIFT)) & CAAM_RSTA_SV_MASK)
15876 
15877 #define CAAM_RSTA_HE_MASK                        (0x8U)
15878 #define CAAM_RSTA_HE_SHIFT                       (3U)
15879 /*! HE
15880  *  0b0..Memory block contents authenticated.
15881  *  0b1..Memory block hash doesn't match reference value.
15882  */
15883 #define CAAM_RSTA_HE(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_HE_SHIFT)) & CAAM_RSTA_HE_MASK)
15884 
15885 #define CAAM_RSTA_MIS_MASK                       (0xF0U)
15886 #define CAAM_RSTA_MIS_SHIFT                      (4U)
15887 /*! MIS
15888  *  0b0000..Memory Block X is valid or state unknown
15889  *  0b0001..Memory Block X has been corrupted
15890  */
15891 #define CAAM_RSTA_MIS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_MIS_SHIFT)) & CAAM_RSTA_MIS_MASK)
15892 
15893 #define CAAM_RSTA_AE_MASK                        (0xF00U)
15894 #define CAAM_RSTA_AE_SHIFT                       (8U)
15895 /*! AE
15896  *  0b0000..All reads by RTIC were valid.
15897  *  0b0001..An illegal address was accessed by the RTIC
15898  */
15899 #define CAAM_RSTA_AE(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_AE_SHIFT)) & CAAM_RSTA_AE_MASK)
15900 
15901 #define CAAM_RSTA_WE_MASK                        (0x10000U)
15902 #define CAAM_RSTA_WE_SHIFT                       (16U)
15903 /*! WE
15904  *  0b0..No RTIC Watchdog timer error has occurred.
15905  *  0b1..RTIC Watchdog timer has expired prior to completing a round of hashing.
15906  */
15907 #define CAAM_RSTA_WE(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_WE_SHIFT)) & CAAM_RSTA_WE_MASK)
15908 
15909 #define CAAM_RSTA_ABH_MASK                       (0x20000U)
15910 #define CAAM_RSTA_ABH_SHIFT                      (17U)
15911 #define CAAM_RSTA_ABH(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_ABH_SHIFT)) & CAAM_RSTA_ABH_MASK)
15912 
15913 #define CAAM_RSTA_HOD_MASK                       (0x40000U)
15914 #define CAAM_RSTA_HOD_SHIFT                      (18U)
15915 #define CAAM_RSTA_HOD(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_HOD_SHIFT)) & CAAM_RSTA_HOD_MASK)
15916 
15917 #define CAAM_RSTA_RTD_MASK                       (0x80000U)
15918 #define CAAM_RSTA_RTD_SHIFT                      (19U)
15919 #define CAAM_RSTA_RTD(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_RTD_SHIFT)) & CAAM_RSTA_RTD_MASK)
15920 
15921 #define CAAM_RSTA_CS_MASK                        (0x6000000U)
15922 #define CAAM_RSTA_CS_SHIFT                       (25U)
15923 /*! CS
15924  *  0b00..Idle State
15925  *  0b01..Single Hash State
15926  *  0b10..Run-time State
15927  *  0b11..Error State
15928  */
15929 #define CAAM_RSTA_CS(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RSTA_CS_SHIFT)) & CAAM_RSTA_CS_MASK)
15930 /*! @} */
15931 
15932 /*! @name RCMD - RTIC Command Register */
15933 /*! @{ */
15934 
15935 #define CAAM_RCMD_CINT_MASK                      (0x1U)
15936 #define CAAM_RCMD_CINT_SHIFT                     (0U)
15937 /*! CINT
15938  *  0b0..Do not clear interrupt
15939  *  0b1..Clear interrupt. This bit cannot be modified during run-time checking mode
15940  */
15941 #define CAAM_RCMD_CINT(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RCMD_CINT_SHIFT)) & CAAM_RCMD_CINT_MASK)
15942 
15943 #define CAAM_RCMD_HO_MASK                        (0x2U)
15944 #define CAAM_RCMD_HO_SHIFT                       (1U)
15945 /*! HO
15946  *  0b0..Boot authentication disabled
15947  *  0b1..Authenticate code/generate reference hash value. This bit cannot be modified during run-time checking mode.
15948  */
15949 #define CAAM_RCMD_HO(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RCMD_HO_SHIFT)) & CAAM_RCMD_HO_MASK)
15950 
15951 #define CAAM_RCMD_RTC_MASK                       (0x4U)
15952 #define CAAM_RCMD_RTC_SHIFT                      (2U)
15953 /*! RTC
15954  *  0b0..Run-time checking disabled
15955  *  0b1..Verify run-time memory blocks continually
15956  */
15957 #define CAAM_RCMD_RTC(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RCMD_RTC_SHIFT)) & CAAM_RCMD_RTC_MASK)
15958 
15959 #define CAAM_RCMD_RTD_MASK                       (0x8U)
15960 #define CAAM_RCMD_RTD_SHIFT                      (3U)
15961 /*! RTD
15962  *  0b0..Allow Run Time Mode
15963  *  0b1..Prevent Run Time Mode
15964  */
15965 #define CAAM_RCMD_RTD(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_RCMD_RTD_SHIFT)) & CAAM_RCMD_RTD_MASK)
15966 /*! @} */
15967 
15968 /*! @name RCTL - RTIC Control Register */
15969 /*! @{ */
15970 
15971 #define CAAM_RCTL_IE_MASK                        (0x1U)
15972 #define CAAM_RCTL_IE_SHIFT                       (0U)
15973 /*! IE
15974  *  0b0..Interrupts disabled
15975  *  0b1..Interrupts enabled
15976  */
15977 #define CAAM_RCTL_IE(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_IE_SHIFT)) & CAAM_RCTL_IE_MASK)
15978 
15979 #define CAAM_RCTL_RREQS_MASK                     (0xEU)
15980 #define CAAM_RCTL_RREQS_SHIFT                    (1U)
15981 #define CAAM_RCTL_RREQS(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_RREQS_SHIFT)) & CAAM_RCTL_RREQS_MASK)
15982 
15983 #define CAAM_RCTL_HOME_MASK                      (0xF0U)
15984 #define CAAM_RCTL_HOME_SHIFT                     (4U)
15985 #define CAAM_RCTL_HOME(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_HOME_SHIFT)) & CAAM_RCTL_HOME_MASK)
15986 
15987 #define CAAM_RCTL_RTME_MASK                      (0xF00U)
15988 #define CAAM_RCTL_RTME_SHIFT                     (8U)
15989 #define CAAM_RCTL_RTME(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_RTME_SHIFT)) & CAAM_RCTL_RTME_MASK)
15990 
15991 #define CAAM_RCTL_RTMU_MASK                      (0xF000U)
15992 #define CAAM_RCTL_RTMU_SHIFT                     (12U)
15993 #define CAAM_RCTL_RTMU(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_RTMU_SHIFT)) & CAAM_RCTL_RTMU_MASK)
15994 
15995 #define CAAM_RCTL_RALG_MASK                      (0xF0000U)
15996 #define CAAM_RCTL_RALG_SHIFT                     (16U)
15997 #define CAAM_RCTL_RALG(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_RALG_SHIFT)) & CAAM_RCTL_RALG_MASK)
15998 
15999 #define CAAM_RCTL_RIDLE_MASK                     (0x100000U)
16000 #define CAAM_RCTL_RIDLE_SHIFT                    (20U)
16001 #define CAAM_RCTL_RIDLE(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_RCTL_RIDLE_SHIFT)) & CAAM_RCTL_RIDLE_MASK)
16002 /*! @} */
16003 
16004 /*! @name RTHR - RTIC Throttle Register */
16005 /*! @{ */
16006 
16007 #define CAAM_RTHR_RTHR_MASK                      (0xFFFFU)
16008 #define CAAM_RTHR_RTHR_SHIFT                     (0U)
16009 #define CAAM_RTHR_RTHR(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_RTHR_RTHR_SHIFT)) & CAAM_RTHR_RTHR_MASK)
16010 /*! @} */
16011 
16012 /*! @name RWDOG - RTIC Watchdog Timer */
16013 /*! @{ */
16014 
16015 #define CAAM_RWDOG_RWDOG_MASK                    (0xFFFFFFFFU)
16016 #define CAAM_RWDOG_RWDOG_SHIFT                   (0U)
16017 #define CAAM_RWDOG_RWDOG(x)                      (((uint64_t)(((uint64_t)(x)) << CAAM_RWDOG_RWDOG_SHIFT)) & CAAM_RWDOG_RWDOG_MASK)
16018 /*! @} */
16019 
16020 /*! @name REND - RTIC Endian Register */
16021 /*! @{ */
16022 
16023 #define CAAM_REND_REPO_MASK                      (0xFU)
16024 #define CAAM_REND_REPO_SHIFT                     (0U)
16025 /*! REPO
16026  *  0bxxx1..Byte Swap Memory Block A
16027  *  0bxx1x..Byte Swap Memory Block B
16028  *  0bx1xx..Byte Swap Memory Block C
16029  *  0b1xxx..Byte Swap Memory Block D
16030  */
16031 #define CAAM_REND_REPO(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REND_REPO_SHIFT)) & CAAM_REND_REPO_MASK)
16032 
16033 #define CAAM_REND_RBS_MASK                       (0xF0U)
16034 #define CAAM_REND_RBS_SHIFT                      (4U)
16035 /*! RBS
16036  *  0bxxx1..Byte Swap Memory Block A
16037  *  0bxx1x..Byte Swap Memory Block B
16038  *  0bx1xx..Byte Swap Memory Block C
16039  *  0b1xxx..Byte Swap Memory Block D
16040  */
16041 #define CAAM_REND_RBS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_REND_RBS_SHIFT)) & CAAM_REND_RBS_MASK)
16042 
16043 #define CAAM_REND_RHWS_MASK                      (0xF00U)
16044 #define CAAM_REND_RHWS_SHIFT                     (8U)
16045 /*! RHWS
16046  *  0bxxx1..Half-Word Swap Memory Block A
16047  *  0bxx1x..Half-Word Swap Memory Block B
16048  *  0bx1xx..Half-Word Swap Memory Block C
16049  *  0b1xxx..Half-Word Swap Memory Block D
16050  */
16051 #define CAAM_REND_RHWS(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_REND_RHWS_SHIFT)) & CAAM_REND_RHWS_MASK)
16052 
16053 #define CAAM_REND_RWS_MASK                       (0xF000U)
16054 #define CAAM_REND_RWS_SHIFT                      (12U)
16055 /*! RWS
16056  *  0bxxx1..Word Swap Memory Block A
16057  *  0bxx1x..Word Swap Memory Block B
16058  *  0bx1xx..Word Swap Memory Block C
16059  *  0b1xxx..Word Swap Memory Block D
16060  */
16061 #define CAAM_REND_RWS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_REND_RWS_SHIFT)) & CAAM_REND_RWS_MASK)
16062 /*! @} */
16063 
16064 /*! @name RMA - RTIC Memory Block A Address 0 Register..RTIC Memory Block D Address 1 Register */
16065 /*! @{ */
16066 
16067 #define CAAM_RMA_MEMBLKADDR_MASK                 (0xFFFFFFFFFU)
16068 #define CAAM_RMA_MEMBLKADDR_SHIFT                (0U)
16069 #define CAAM_RMA_MEMBLKADDR(x)                   (((uint64_t)(((uint64_t)(x)) << CAAM_RMA_MEMBLKADDR_SHIFT)) & CAAM_RMA_MEMBLKADDR_MASK)
16070 /*! @} */
16071 
16072 /* The count of CAAM_RMA */
16073 #define CAAM_RMA_COUNT                           (4U)
16074 
16075 /* The count of CAAM_RMA */
16076 #define CAAM_RMA_COUNT2                          (2U)
16077 
16078 /*! @name RML - RTIC Memory Block A Length 0 Register..RTIC Memory Block D Length 1 Register */
16079 /*! @{ */
16080 
16081 #define CAAM_RML_MEMBLKLEN_MASK                  (0xFFFFFFFFU)
16082 #define CAAM_RML_MEMBLKLEN_SHIFT                 (0U)
16083 #define CAAM_RML_MEMBLKLEN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_RML_MEMBLKLEN_SHIFT)) & CAAM_RML_MEMBLKLEN_MASK)
16084 /*! @} */
16085 
16086 /* The count of CAAM_RML */
16087 #define CAAM_RML_COUNT                           (4U)
16088 
16089 /* The count of CAAM_RML */
16090 #define CAAM_RML_COUNT2                          (2U)
16091 
16092 /*! @name RMD - RTIC Memory Block A Big Endian Hash Result Word 0..RTIC Memory Block D Little Endian Hash Result Word 31 */
16093 /*! @{ */
16094 
16095 #define CAAM_RMD_RTIC_Hash_Result_MASK           (0xFFFFFFFFU)
16096 #define CAAM_RMD_RTIC_Hash_Result_SHIFT          (0U)
16097 #define CAAM_RMD_RTIC_Hash_Result(x)             (((uint32_t)(((uint32_t)(x)) << CAAM_RMD_RTIC_Hash_Result_SHIFT)) & CAAM_RMD_RTIC_Hash_Result_MASK)
16098 /*! @} */
16099 
16100 /* The count of CAAM_RMD */
16101 #define CAAM_RMD_COUNT                           (4U)
16102 
16103 /* The count of CAAM_RMD */
16104 #define CAAM_RMD_COUNT2                          (2U)
16105 
16106 /* The count of CAAM_RMD */
16107 #define CAAM_RMD_COUNT3                          (32U)
16108 
16109 /*! @name REIR0RTIC - Recoverable Error Interrupt Record 0 for RTIC */
16110 /*! @{ */
16111 
16112 #define CAAM_REIR0RTIC_TYPE_MASK                 (0x3000000U)
16113 #define CAAM_REIR0RTIC_TYPE_SHIFT                (24U)
16114 #define CAAM_REIR0RTIC_TYPE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_REIR0RTIC_TYPE_SHIFT)) & CAAM_REIR0RTIC_TYPE_MASK)
16115 
16116 #define CAAM_REIR0RTIC_MISS_MASK                 (0x80000000U)
16117 #define CAAM_REIR0RTIC_MISS_SHIFT                (31U)
16118 #define CAAM_REIR0RTIC_MISS(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_REIR0RTIC_MISS_SHIFT)) & CAAM_REIR0RTIC_MISS_MASK)
16119 /*! @} */
16120 
16121 /*! @name REIR2RTIC - Recoverable Error Interrupt Record 2 for RTIC */
16122 /*! @{ */
16123 
16124 #define CAAM_REIR2RTIC_ADDR_MASK                 (0xFFFFFFFFFFFFFFFFU)
16125 #define CAAM_REIR2RTIC_ADDR_SHIFT                (0U)
16126 #define CAAM_REIR2RTIC_ADDR(x)                   (((uint64_t)(((uint64_t)(x)) << CAAM_REIR2RTIC_ADDR_SHIFT)) & CAAM_REIR2RTIC_ADDR_MASK)
16127 /*! @} */
16128 
16129 /*! @name REIR4RTIC - Recoverable Error Interrupt Record 4 for RTIC */
16130 /*! @{ */
16131 
16132 #define CAAM_REIR4RTIC_ICID_MASK                 (0x7FFU)
16133 #define CAAM_REIR4RTIC_ICID_SHIFT                (0U)
16134 #define CAAM_REIR4RTIC_ICID(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_ICID_SHIFT)) & CAAM_REIR4RTIC_ICID_MASK)
16135 
16136 #define CAAM_REIR4RTIC_DID_MASK                  (0x7800U)
16137 #define CAAM_REIR4RTIC_DID_SHIFT                 (11U)
16138 #define CAAM_REIR4RTIC_DID(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_DID_SHIFT)) & CAAM_REIR4RTIC_DID_MASK)
16139 
16140 #define CAAM_REIR4RTIC_AXCACHE_MASK              (0xF0000U)
16141 #define CAAM_REIR4RTIC_AXCACHE_SHIFT             (16U)
16142 #define CAAM_REIR4RTIC_AXCACHE(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_AXCACHE_SHIFT)) & CAAM_REIR4RTIC_AXCACHE_MASK)
16143 
16144 #define CAAM_REIR4RTIC_AXPROT_MASK               (0x700000U)
16145 #define CAAM_REIR4RTIC_AXPROT_SHIFT              (20U)
16146 #define CAAM_REIR4RTIC_AXPROT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_AXPROT_SHIFT)) & CAAM_REIR4RTIC_AXPROT_MASK)
16147 
16148 #define CAAM_REIR4RTIC_RWB_MASK                  (0x800000U)
16149 #define CAAM_REIR4RTIC_RWB_SHIFT                 (23U)
16150 #define CAAM_REIR4RTIC_RWB(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_RWB_SHIFT)) & CAAM_REIR4RTIC_RWB_MASK)
16151 
16152 #define CAAM_REIR4RTIC_ERR_MASK                  (0x30000000U)
16153 #define CAAM_REIR4RTIC_ERR_SHIFT                 (28U)
16154 #define CAAM_REIR4RTIC_ERR(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_ERR_SHIFT)) & CAAM_REIR4RTIC_ERR_MASK)
16155 
16156 #define CAAM_REIR4RTIC_MIX_MASK                  (0xC0000000U)
16157 #define CAAM_REIR4RTIC_MIX_SHIFT                 (30U)
16158 #define CAAM_REIR4RTIC_MIX(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR4RTIC_MIX_SHIFT)) & CAAM_REIR4RTIC_MIX_MASK)
16159 /*! @} */
16160 
16161 /*! @name REIR5RTIC - Recoverable Error Interrupt Record 5 for RTIC */
16162 /*! @{ */
16163 
16164 #define CAAM_REIR5RTIC_BID_MASK                  (0xF0000U)
16165 #define CAAM_REIR5RTIC_BID_SHIFT                 (16U)
16166 #define CAAM_REIR5RTIC_BID(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5RTIC_BID_SHIFT)) & CAAM_REIR5RTIC_BID_MASK)
16167 
16168 #define CAAM_REIR5RTIC_SAFE_MASK                 (0x1000000U)
16169 #define CAAM_REIR5RTIC_SAFE_SHIFT                (24U)
16170 #define CAAM_REIR5RTIC_SAFE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5RTIC_SAFE_SHIFT)) & CAAM_REIR5RTIC_SAFE_MASK)
16171 
16172 #define CAAM_REIR5RTIC_SMA_MASK                  (0x2000000U)
16173 #define CAAM_REIR5RTIC_SMA_SHIFT                 (25U)
16174 #define CAAM_REIR5RTIC_SMA(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_REIR5RTIC_SMA_SHIFT)) & CAAM_REIR5RTIC_SMA_MASK)
16175 /*! @} */
16176 
16177 /*! @name CC1MR - CCB 0 Class 1 Mode Register Format for Non-Public Key Algorithms */
16178 /*! @{ */
16179 
16180 #define CAAM_CC1MR_ENC_MASK                      (0x1U)
16181 #define CAAM_CC1MR_ENC_SHIFT                     (0U)
16182 /*! ENC
16183  *  0b0..Decrypt.
16184  *  0b1..Encrypt.
16185  */
16186 #define CAAM_CC1MR_ENC(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_ENC_SHIFT)) & CAAM_CC1MR_ENC_MASK)
16187 
16188 #define CAAM_CC1MR_ICV_TEST_MASK                 (0x2U)
16189 #define CAAM_CC1MR_ICV_TEST_SHIFT                (1U)
16190 #define CAAM_CC1MR_ICV_TEST(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_ICV_TEST_SHIFT)) & CAAM_CC1MR_ICV_TEST_MASK)
16191 
16192 #define CAAM_CC1MR_AS_MASK                       (0xCU)
16193 #define CAAM_CC1MR_AS_SHIFT                      (2U)
16194 /*! AS
16195  *  0b00..Update
16196  *  0b01..Initialize
16197  *  0b10..Finalize
16198  *  0b11..Initialize/Finalize
16199  */
16200 #define CAAM_CC1MR_AS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_AS_SHIFT)) & CAAM_CC1MR_AS_MASK)
16201 
16202 #define CAAM_CC1MR_AAI_MASK                      (0x1FF0U)
16203 #define CAAM_CC1MR_AAI_SHIFT                     (4U)
16204 #define CAAM_CC1MR_AAI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_AAI_SHIFT)) & CAAM_CC1MR_AAI_MASK)
16205 
16206 #define CAAM_CC1MR_ALG_MASK                      (0xFF0000U)
16207 #define CAAM_CC1MR_ALG_SHIFT                     (16U)
16208 /*! ALG
16209  *  0b00010000..AES
16210  *  0b00100000..DES
16211  *  0b00100001..3DES
16212  *  0b01010000..RNG
16213  */
16214 #define CAAM_CC1MR_ALG(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_ALG_SHIFT)) & CAAM_CC1MR_ALG_MASK)
16215 /*! @} */
16216 
16217 /* The count of CAAM_CC1MR */
16218 #define CAAM_CC1MR_COUNT                         (1U)
16219 
16220 /*! @name CC1MR_PK - CCB 0 Class 1 Mode Register Format for Public Key Algorithms */
16221 /*! @{ */
16222 
16223 #define CAAM_CC1MR_PK_PKHA_MODE_LS_MASK          (0xFFFU)
16224 #define CAAM_CC1MR_PK_PKHA_MODE_LS_SHIFT         (0U)
16225 #define CAAM_CC1MR_PK_PKHA_MODE_LS(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_PK_PKHA_MODE_LS_SHIFT)) & CAAM_CC1MR_PK_PKHA_MODE_LS_MASK)
16226 
16227 #define CAAM_CC1MR_PK_PKHA_MODE_MS_MASK          (0xF0000U)
16228 #define CAAM_CC1MR_PK_PKHA_MODE_MS_SHIFT         (16U)
16229 #define CAAM_CC1MR_PK_PKHA_MODE_MS(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_PK_PKHA_MODE_MS_SHIFT)) & CAAM_CC1MR_PK_PKHA_MODE_MS_MASK)
16230 /*! @} */
16231 
16232 /* The count of CAAM_CC1MR_PK */
16233 #define CAAM_CC1MR_PK_COUNT                      (1U)
16234 
16235 /*! @name CC1MR_RNG - CCB 0 Class 1 Mode Register Format for RNG4 */
16236 /*! @{ */
16237 
16238 #define CAAM_CC1MR_RNG_TST_MASK                  (0x1U)
16239 #define CAAM_CC1MR_RNG_TST_SHIFT                 (0U)
16240 #define CAAM_CC1MR_RNG_TST(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_TST_SHIFT)) & CAAM_CC1MR_RNG_TST_MASK)
16241 
16242 #define CAAM_CC1MR_RNG_PR_MASK                   (0x2U)
16243 #define CAAM_CC1MR_RNG_PR_SHIFT                  (1U)
16244 #define CAAM_CC1MR_RNG_PR(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_PR_SHIFT)) & CAAM_CC1MR_RNG_PR_MASK)
16245 
16246 #define CAAM_CC1MR_RNG_AS_MASK                   (0xCU)
16247 #define CAAM_CC1MR_RNG_AS_SHIFT                  (2U)
16248 #define CAAM_CC1MR_RNG_AS(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_AS_SHIFT)) & CAAM_CC1MR_RNG_AS_MASK)
16249 
16250 #define CAAM_CC1MR_RNG_SH_MASK                   (0x30U)
16251 #define CAAM_CC1MR_RNG_SH_SHIFT                  (4U)
16252 /*! SH
16253  *  0b00..State Handle 0
16254  *  0b01..State Handle 1
16255  *  0b10..Reserved
16256  *  0b11..Reserved
16257  */
16258 #define CAAM_CC1MR_RNG_SH(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_SH_SHIFT)) & CAAM_CC1MR_RNG_SH_MASK)
16259 
16260 #define CAAM_CC1MR_RNG_NZB_MASK                  (0x100U)
16261 #define CAAM_CC1MR_RNG_NZB_SHIFT                 (8U)
16262 /*! NZB
16263  *  0b0..Generate random data with all-zero bytes permitted.
16264  *  0b1..Generate random data without any all-zero bytes.
16265  */
16266 #define CAAM_CC1MR_RNG_NZB(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_NZB_SHIFT)) & CAAM_CC1MR_RNG_NZB_MASK)
16267 
16268 #define CAAM_CC1MR_RNG_OBP_MASK                  (0x200U)
16269 #define CAAM_CC1MR_RNG_OBP_SHIFT                 (9U)
16270 /*! OBP
16271  *  0b0..No odd byte parity.
16272  *  0b1..Generate random data with odd byte parity.
16273  */
16274 #define CAAM_CC1MR_RNG_OBP(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_OBP_SHIFT)) & CAAM_CC1MR_RNG_OBP_MASK)
16275 
16276 #define CAAM_CC1MR_RNG_PS_MASK                   (0x400U)
16277 #define CAAM_CC1MR_RNG_PS_SHIFT                  (10U)
16278 /*! PS
16279  *  0b0..No personalization string is included.
16280  *  0b1..A personalization string is included.
16281  */
16282 #define CAAM_CC1MR_RNG_PS(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_PS_SHIFT)) & CAAM_CC1MR_RNG_PS_MASK)
16283 
16284 #define CAAM_CC1MR_RNG_AI_MASK                   (0x800U)
16285 #define CAAM_CC1MR_RNG_AI_SHIFT                  (11U)
16286 /*! AI
16287  *  0b0..No additional entropy input has been provided.
16288  *  0b1..Additional entropy input has been provided.
16289  */
16290 #define CAAM_CC1MR_RNG_AI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_AI_SHIFT)) & CAAM_CC1MR_RNG_AI_MASK)
16291 
16292 #define CAAM_CC1MR_RNG_SK_MASK                   (0x1000U)
16293 #define CAAM_CC1MR_RNG_SK_SHIFT                  (12U)
16294 /*! SK
16295  *  0b0..The destination for the RNG data is specified by the FIFO STORE command.
16296  *  0b1..The RNG data will go to the JDKEKR, TDKEKR and DSKR.
16297  */
16298 #define CAAM_CC1MR_RNG_SK(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_SK_SHIFT)) & CAAM_CC1MR_RNG_SK_MASK)
16299 
16300 #define CAAM_CC1MR_RNG_ALG_MASK                  (0xFF0000U)
16301 #define CAAM_CC1MR_RNG_ALG_SHIFT                 (16U)
16302 /*! ALG
16303  *  0b01010000..RNG
16304  */
16305 #define CAAM_CC1MR_RNG_ALG(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1MR_RNG_ALG_SHIFT)) & CAAM_CC1MR_RNG_ALG_MASK)
16306 /*! @} */
16307 
16308 /* The count of CAAM_CC1MR_RNG */
16309 #define CAAM_CC1MR_RNG_COUNT                     (1U)
16310 
16311 /*! @name CC1KSR - CCB 0 Class 1 Key Size Register */
16312 /*! @{ */
16313 
16314 #define CAAM_CC1KSR_C1KS_MASK                    (0x7FU)
16315 #define CAAM_CC1KSR_C1KS_SHIFT                   (0U)
16316 #define CAAM_CC1KSR_C1KS(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CC1KSR_C1KS_SHIFT)) & CAAM_CC1KSR_C1KS_MASK)
16317 /*! @} */
16318 
16319 /* The count of CAAM_CC1KSR */
16320 #define CAAM_CC1KSR_COUNT                        (1U)
16321 
16322 /*! @name CC1DSR - CCB 0 Class 1 Data Size Register */
16323 /*! @{ */
16324 
16325 #define CAAM_CC1DSR_C1DS_MASK                    (0xFFFFFFFFU)
16326 #define CAAM_CC1DSR_C1DS_SHIFT                   (0U)
16327 #define CAAM_CC1DSR_C1DS(x)                      (((uint64_t)(((uint64_t)(x)) << CAAM_CC1DSR_C1DS_SHIFT)) & CAAM_CC1DSR_C1DS_MASK)
16328 
16329 #define CAAM_CC1DSR_C1CY_MASK                    (0x100000000U)
16330 #define CAAM_CC1DSR_C1CY_SHIFT                   (32U)
16331 /*! C1CY
16332  *  0b0..No carry out of the C1 Data Size Reg.
16333  *  0b1..There was a carry out of the C1 Data Size Reg.
16334  */
16335 #define CAAM_CC1DSR_C1CY(x)                      (((uint64_t)(((uint64_t)(x)) << CAAM_CC1DSR_C1CY_SHIFT)) & CAAM_CC1DSR_C1CY_MASK)
16336 
16337 #define CAAM_CC1DSR_NUMBITS_MASK                 (0xE000000000000000U)
16338 #define CAAM_CC1DSR_NUMBITS_SHIFT                (61U)
16339 #define CAAM_CC1DSR_NUMBITS(x)                   (((uint64_t)(((uint64_t)(x)) << CAAM_CC1DSR_NUMBITS_SHIFT)) & CAAM_CC1DSR_NUMBITS_MASK)
16340 /*! @} */
16341 
16342 /* The count of CAAM_CC1DSR */
16343 #define CAAM_CC1DSR_COUNT                        (1U)
16344 
16345 /*! @name CC1ICVSR - CCB 0 Class 1 ICV Size Register */
16346 /*! @{ */
16347 
16348 #define CAAM_CC1ICVSR_C1ICVS_MASK                (0x1FU)
16349 #define CAAM_CC1ICVSR_C1ICVS_SHIFT               (0U)
16350 #define CAAM_CC1ICVSR_C1ICVS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CC1ICVSR_C1ICVS_SHIFT)) & CAAM_CC1ICVSR_C1ICVS_MASK)
16351 /*! @} */
16352 
16353 /* The count of CAAM_CC1ICVSR */
16354 #define CAAM_CC1ICVSR_COUNT                      (1U)
16355 
16356 /*! @name CCCTRL - CCB 0 CHA Control Register */
16357 /*! @{ */
16358 
16359 #define CAAM_CCCTRL_CCB_MASK                     (0x1U)
16360 #define CAAM_CCCTRL_CCB_SHIFT                    (0U)
16361 /*! CCB
16362  *  0b0..Do Not Reset
16363  *  0b1..Reset CCB
16364  */
16365 #define CAAM_CCCTRL_CCB(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_CCB_SHIFT)) & CAAM_CCCTRL_CCB_MASK)
16366 
16367 #define CAAM_CCCTRL_AES_MASK                     (0x2U)
16368 #define CAAM_CCCTRL_AES_SHIFT                    (1U)
16369 /*! AES
16370  *  0b0..Do Not Reset
16371  *  0b1..Reset AES Accelerator
16372  */
16373 #define CAAM_CCCTRL_AES(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_AES_SHIFT)) & CAAM_CCCTRL_AES_MASK)
16374 
16375 #define CAAM_CCCTRL_DES_MASK                     (0x4U)
16376 #define CAAM_CCCTRL_DES_SHIFT                    (2U)
16377 /*! DES
16378  *  0b0..Do Not Reset
16379  *  0b1..Reset DES Accelerator
16380  */
16381 #define CAAM_CCCTRL_DES(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_DES_SHIFT)) & CAAM_CCCTRL_DES_MASK)
16382 
16383 #define CAAM_CCCTRL_PK_MASK                      (0x40U)
16384 #define CAAM_CCCTRL_PK_SHIFT                     (6U)
16385 /*! PK
16386  *  0b0..Do Not Reset
16387  *  0b1..Reset Public Key Hardware Accelerator
16388  */
16389 #define CAAM_CCCTRL_PK(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_PK_SHIFT)) & CAAM_CCCTRL_PK_MASK)
16390 
16391 #define CAAM_CCCTRL_MD_MASK                      (0x80U)
16392 #define CAAM_CCCTRL_MD_SHIFT                     (7U)
16393 /*! MD
16394  *  0b0..Do Not Reset
16395  *  0b1..Reset Message Digest Hardware Accelerator
16396  */
16397 #define CAAM_CCCTRL_MD(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_MD_SHIFT)) & CAAM_CCCTRL_MD_MASK)
16398 
16399 #define CAAM_CCCTRL_CRC_MASK                     (0x100U)
16400 #define CAAM_CCCTRL_CRC_SHIFT                    (8U)
16401 /*! CRC
16402  *  0b0..Do Not Reset
16403  *  0b1..Reset CRC Accelerator
16404  */
16405 #define CAAM_CCCTRL_CRC(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_CRC_SHIFT)) & CAAM_CCCTRL_CRC_MASK)
16406 
16407 #define CAAM_CCCTRL_RNG_MASK                     (0x200U)
16408 #define CAAM_CCCTRL_RNG_SHIFT                    (9U)
16409 /*! RNG
16410  *  0b0..Do Not Reset
16411  *  0b1..Reset Random Number Generator Block.
16412  */
16413 #define CAAM_CCCTRL_RNG(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_RNG_SHIFT)) & CAAM_CCCTRL_RNG_MASK)
16414 
16415 #define CAAM_CCCTRL_UA0_MASK                     (0x10000U)
16416 #define CAAM_CCCTRL_UA0_SHIFT                    (16U)
16417 /*! UA0
16418  *  0b0..Don't unload the PKHA A0 Memory.
16419  *  0b1..Unload the PKHA A0 Memory into OFIFO.
16420  */
16421 #define CAAM_CCCTRL_UA0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UA0_SHIFT)) & CAAM_CCCTRL_UA0_MASK)
16422 
16423 #define CAAM_CCCTRL_UA1_MASK                     (0x20000U)
16424 #define CAAM_CCCTRL_UA1_SHIFT                    (17U)
16425 /*! UA1
16426  *  0b0..Don't unload the PKHA A1 Memory.
16427  *  0b1..Unload the PKHA A1 Memory into OFIFO.
16428  */
16429 #define CAAM_CCCTRL_UA1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UA1_SHIFT)) & CAAM_CCCTRL_UA1_MASK)
16430 
16431 #define CAAM_CCCTRL_UA2_MASK                     (0x40000U)
16432 #define CAAM_CCCTRL_UA2_SHIFT                    (18U)
16433 /*! UA2
16434  *  0b0..Don't unload the PKHA A2 Memory.
16435  *  0b1..Unload the PKHA A2 Memory into OFIFO.
16436  */
16437 #define CAAM_CCCTRL_UA2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UA2_SHIFT)) & CAAM_CCCTRL_UA2_MASK)
16438 
16439 #define CAAM_CCCTRL_UA3_MASK                     (0x80000U)
16440 #define CAAM_CCCTRL_UA3_SHIFT                    (19U)
16441 /*! UA3
16442  *  0b0..Don't unload the PKHA A3 Memory.
16443  *  0b1..Unload the PKHA A3 Memory into OFIFO.
16444  */
16445 #define CAAM_CCCTRL_UA3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UA3_SHIFT)) & CAAM_CCCTRL_UA3_MASK)
16446 
16447 #define CAAM_CCCTRL_UB0_MASK                     (0x100000U)
16448 #define CAAM_CCCTRL_UB0_SHIFT                    (20U)
16449 /*! UB0
16450  *  0b0..Don't unload the PKHA B0 Memory.
16451  *  0b1..Unload the PKHA B0 Memory into OFIFO.
16452  */
16453 #define CAAM_CCCTRL_UB0(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UB0_SHIFT)) & CAAM_CCCTRL_UB0_MASK)
16454 
16455 #define CAAM_CCCTRL_UB1_MASK                     (0x200000U)
16456 #define CAAM_CCCTRL_UB1_SHIFT                    (21U)
16457 /*! UB1
16458  *  0b0..Don't unload the PKHA B1 Memory.
16459  *  0b1..Unload the PKHA B1 Memory into OFIFO.
16460  */
16461 #define CAAM_CCCTRL_UB1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UB1_SHIFT)) & CAAM_CCCTRL_UB1_MASK)
16462 
16463 #define CAAM_CCCTRL_UB2_MASK                     (0x400000U)
16464 #define CAAM_CCCTRL_UB2_SHIFT                    (22U)
16465 /*! UB2
16466  *  0b0..Don't unload the PKHA B2 Memory.
16467  *  0b1..Unload the PKHA B2 Memory into OFIFO.
16468  */
16469 #define CAAM_CCCTRL_UB2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UB2_SHIFT)) & CAAM_CCCTRL_UB2_MASK)
16470 
16471 #define CAAM_CCCTRL_UB3_MASK                     (0x800000U)
16472 #define CAAM_CCCTRL_UB3_SHIFT                    (23U)
16473 /*! UB3
16474  *  0b0..Don't unload the PKHA B3 Memory.
16475  *  0b1..Unload the PKHA B3 Memory into OFIFO.
16476  */
16477 #define CAAM_CCCTRL_UB3(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UB3_SHIFT)) & CAAM_CCCTRL_UB3_MASK)
16478 
16479 #define CAAM_CCCTRL_UN_MASK                      (0x1000000U)
16480 #define CAAM_CCCTRL_UN_SHIFT                     (24U)
16481 /*! UN
16482  *  0b0..Don't unload the PKHA N Memory.
16483  *  0b1..Unload the PKHA N Memory into OFIFO.
16484  */
16485 #define CAAM_CCCTRL_UN(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UN_SHIFT)) & CAAM_CCCTRL_UN_MASK)
16486 
16487 #define CAAM_CCCTRL_UA_MASK                      (0x4000000U)
16488 #define CAAM_CCCTRL_UA_SHIFT                     (26U)
16489 /*! UA
16490  *  0b0..Don't unload the PKHA A Memory.
16491  *  0b1..Unload the PKHA A Memory into OFIFO.
16492  */
16493 #define CAAM_CCCTRL_UA(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UA_SHIFT)) & CAAM_CCCTRL_UA_MASK)
16494 
16495 #define CAAM_CCCTRL_UB_MASK                      (0x8000000U)
16496 #define CAAM_CCCTRL_UB_SHIFT                     (27U)
16497 /*! UB
16498  *  0b0..Don't unload the PKHA B Memory.
16499  *  0b1..Unload the PKHA B Memory into OFIFO.
16500  */
16501 #define CAAM_CCCTRL_UB(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCCTRL_UB_SHIFT)) & CAAM_CCCTRL_UB_MASK)
16502 /*! @} */
16503 
16504 /* The count of CAAM_CCCTRL */
16505 #define CAAM_CCCTRL_COUNT                        (1U)
16506 
16507 /*! @name CICTL - CCB 0 Interrupt Control Register */
16508 /*! @{ */
16509 
16510 #define CAAM_CICTL_ADI_MASK                      (0x2U)
16511 #define CAAM_CICTL_ADI_SHIFT                     (1U)
16512 #define CAAM_CICTL_ADI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_ADI_SHIFT)) & CAAM_CICTL_ADI_MASK)
16513 
16514 #define CAAM_CICTL_DDI_MASK                      (0x4U)
16515 #define CAAM_CICTL_DDI_SHIFT                     (2U)
16516 #define CAAM_CICTL_DDI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_DDI_SHIFT)) & CAAM_CICTL_DDI_MASK)
16517 
16518 #define CAAM_CICTL_PDI_MASK                      (0x40U)
16519 #define CAAM_CICTL_PDI_SHIFT                     (6U)
16520 #define CAAM_CICTL_PDI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_PDI_SHIFT)) & CAAM_CICTL_PDI_MASK)
16521 
16522 #define CAAM_CICTL_MDI_MASK                      (0x80U)
16523 #define CAAM_CICTL_MDI_SHIFT                     (7U)
16524 #define CAAM_CICTL_MDI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_MDI_SHIFT)) & CAAM_CICTL_MDI_MASK)
16525 
16526 #define CAAM_CICTL_CDI_MASK                      (0x100U)
16527 #define CAAM_CICTL_CDI_SHIFT                     (8U)
16528 #define CAAM_CICTL_CDI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_CDI_SHIFT)) & CAAM_CICTL_CDI_MASK)
16529 
16530 #define CAAM_CICTL_RNDI_MASK                     (0x200U)
16531 #define CAAM_CICTL_RNDI_SHIFT                    (9U)
16532 #define CAAM_CICTL_RNDI(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_RNDI_SHIFT)) & CAAM_CICTL_RNDI_MASK)
16533 
16534 #define CAAM_CICTL_AEI_MASK                      (0x20000U)
16535 #define CAAM_CICTL_AEI_SHIFT                     (17U)
16536 /*! AEI
16537  *  0b0..No AESA error detected
16538  *  0b1..AESA error detected
16539  */
16540 #define CAAM_CICTL_AEI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_AEI_SHIFT)) & CAAM_CICTL_AEI_MASK)
16541 
16542 #define CAAM_CICTL_DEI_MASK                      (0x40000U)
16543 #define CAAM_CICTL_DEI_SHIFT                     (18U)
16544 /*! DEI
16545  *  0b0..No DESA error detected
16546  *  0b1..DESA error detected
16547  */
16548 #define CAAM_CICTL_DEI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_DEI_SHIFT)) & CAAM_CICTL_DEI_MASK)
16549 
16550 #define CAAM_CICTL_PEI_MASK                      (0x400000U)
16551 #define CAAM_CICTL_PEI_SHIFT                     (22U)
16552 /*! PEI
16553  *  0b0..No PKHA error detected
16554  *  0b1..PKHA error detected
16555  */
16556 #define CAAM_CICTL_PEI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_PEI_SHIFT)) & CAAM_CICTL_PEI_MASK)
16557 
16558 #define CAAM_CICTL_MEI_MASK                      (0x800000U)
16559 #define CAAM_CICTL_MEI_SHIFT                     (23U)
16560 /*! MEI
16561  *  0b0..No MDHA error detected
16562  *  0b1..MDHA error detected
16563  */
16564 #define CAAM_CICTL_MEI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_MEI_SHIFT)) & CAAM_CICTL_MEI_MASK)
16565 
16566 #define CAAM_CICTL_CEI_MASK                      (0x1000000U)
16567 #define CAAM_CICTL_CEI_SHIFT                     (24U)
16568 /*! CEI
16569  *  0b0..No CRCA error detected
16570  *  0b1..CRCA error detected
16571  */
16572 #define CAAM_CICTL_CEI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_CEI_SHIFT)) & CAAM_CICTL_CEI_MASK)
16573 
16574 #define CAAM_CICTL_RNEI_MASK                     (0x2000000U)
16575 #define CAAM_CICTL_RNEI_SHIFT                    (25U)
16576 /*! RNEI
16577  *  0b0..No RNG error detected
16578  *  0b1..RNG error detected
16579  */
16580 #define CAAM_CICTL_RNEI(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CICTL_RNEI_SHIFT)) & CAAM_CICTL_RNEI_MASK)
16581 /*! @} */
16582 
16583 /* The count of CAAM_CICTL */
16584 #define CAAM_CICTL_COUNT                         (1U)
16585 
16586 /*! @name CCWR - CCB 0 Clear Written Register */
16587 /*! @{ */
16588 
16589 #define CAAM_CCWR_C1M_MASK                       (0x1U)
16590 #define CAAM_CCWR_C1M_SHIFT                      (0U)
16591 /*! C1M
16592  *  0b0..Don't clear the Class 1 Mode Register.
16593  *  0b1..Clear the Class 1 Mode Register.
16594  */
16595 #define CAAM_CCWR_C1M(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1M_SHIFT)) & CAAM_CCWR_C1M_MASK)
16596 
16597 #define CAAM_CCWR_C1DS_MASK                      (0x4U)
16598 #define CAAM_CCWR_C1DS_SHIFT                     (2U)
16599 /*! C1DS
16600  *  0b0..Don't clear the Class 1 Data Size Register.
16601  *  0b1..Clear the Class 1 Data Size Register.
16602  */
16603 #define CAAM_CCWR_C1DS(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1DS_SHIFT)) & CAAM_CCWR_C1DS_MASK)
16604 
16605 #define CAAM_CCWR_C1ICV_MASK                     (0x8U)
16606 #define CAAM_CCWR_C1ICV_SHIFT                    (3U)
16607 /*! C1ICV
16608  *  0b0..Don't clear the Class 1 ICV Size Register.
16609  *  0b1..Clear the Class 1 ICV Size Register.
16610  */
16611 #define CAAM_CCWR_C1ICV(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1ICV_SHIFT)) & CAAM_CCWR_C1ICV_MASK)
16612 
16613 #define CAAM_CCWR_C1C_MASK                       (0x20U)
16614 #define CAAM_CCWR_C1C_SHIFT                      (5U)
16615 /*! C1C
16616  *  0b0..Don't clear the Class 1 Context Register.
16617  *  0b1..Clear the Class 1 Context Register.
16618  */
16619 #define CAAM_CCWR_C1C(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1C_SHIFT)) & CAAM_CCWR_C1C_MASK)
16620 
16621 #define CAAM_CCWR_C1K_MASK                       (0x40U)
16622 #define CAAM_CCWR_C1K_SHIFT                      (6U)
16623 /*! C1K
16624  *  0b0..Don't clear the Class 1 Key Register.
16625  *  0b1..Clear the Class 1 Key Register.
16626  */
16627 #define CAAM_CCWR_C1K(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1K_SHIFT)) & CAAM_CCWR_C1K_MASK)
16628 
16629 #define CAAM_CCWR_CPKA_MASK                      (0x1000U)
16630 #define CAAM_CCWR_CPKA_SHIFT                     (12U)
16631 /*! CPKA
16632  *  0b0..Don't clear the PKHA A Size Register.
16633  *  0b1..Clear the PKHA A Size Register.
16634  */
16635 #define CAAM_CCWR_CPKA(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CPKA_SHIFT)) & CAAM_CCWR_CPKA_MASK)
16636 
16637 #define CAAM_CCWR_CPKB_MASK                      (0x2000U)
16638 #define CAAM_CCWR_CPKB_SHIFT                     (13U)
16639 /*! CPKB
16640  *  0b0..Don't clear the PKHA B Size Register.
16641  *  0b1..Clear the PKHA B Size Register.
16642  */
16643 #define CAAM_CCWR_CPKB(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CPKB_SHIFT)) & CAAM_CCWR_CPKB_MASK)
16644 
16645 #define CAAM_CCWR_CPKN_MASK                      (0x4000U)
16646 #define CAAM_CCWR_CPKN_SHIFT                     (14U)
16647 /*! CPKN
16648  *  0b0..Don't clear the PKHA N Size Register.
16649  *  0b1..Clear the PKHA N Size Register.
16650  */
16651 #define CAAM_CCWR_CPKN(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CPKN_SHIFT)) & CAAM_CCWR_CPKN_MASK)
16652 
16653 #define CAAM_CCWR_CPKE_MASK                      (0x8000U)
16654 #define CAAM_CCWR_CPKE_SHIFT                     (15U)
16655 /*! CPKE
16656  *  0b0..Don't clear the PKHA E Size Register..
16657  *  0b1..Clear the PKHA E Size Register.
16658  */
16659 #define CAAM_CCWR_CPKE(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CPKE_SHIFT)) & CAAM_CCWR_CPKE_MASK)
16660 
16661 #define CAAM_CCWR_C2M_MASK                       (0x10000U)
16662 #define CAAM_CCWR_C2M_SHIFT                      (16U)
16663 /*! C2M
16664  *  0b0..Don't clear the Class 2 Mode Register.
16665  *  0b1..Clear the Class 2 Mode Register.
16666  */
16667 #define CAAM_CCWR_C2M(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2M_SHIFT)) & CAAM_CCWR_C2M_MASK)
16668 
16669 #define CAAM_CCWR_C2DS_MASK                      (0x40000U)
16670 #define CAAM_CCWR_C2DS_SHIFT                     (18U)
16671 /*! C2DS
16672  *  0b0..Don't clear the Class 2 Data Size Register.
16673  *  0b1..Clear the Class 2 Data Size Register.
16674  */
16675 #define CAAM_CCWR_C2DS(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2DS_SHIFT)) & CAAM_CCWR_C2DS_MASK)
16676 
16677 #define CAAM_CCWR_C2C_MASK                       (0x200000U)
16678 #define CAAM_CCWR_C2C_SHIFT                      (21U)
16679 /*! C2C
16680  *  0b0..Don't clear the Class 2 Context Register.
16681  *  0b1..Clear the Class 2 Context Register.
16682  */
16683 #define CAAM_CCWR_C2C(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2C_SHIFT)) & CAAM_CCWR_C2C_MASK)
16684 
16685 #define CAAM_CCWR_C2K_MASK                       (0x400000U)
16686 #define CAAM_CCWR_C2K_SHIFT                      (22U)
16687 /*! C2K
16688  *  0b0..Don't clear the Class 2 Key Register.
16689  *  0b1..Clear the Class 2 Key Register.
16690  */
16691 #define CAAM_CCWR_C2K(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2K_SHIFT)) & CAAM_CCWR_C2K_MASK)
16692 
16693 #define CAAM_CCWR_CDS_MASK                       (0x2000000U)
16694 #define CAAM_CCWR_CDS_SHIFT                      (25U)
16695 /*! CDS
16696  *  0b0..Don't clear the shared descriptor signal.
16697  *  0b1..Clear the shared descriptor signal.
16698  */
16699 #define CAAM_CCWR_CDS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CDS_SHIFT)) & CAAM_CCWR_CDS_MASK)
16700 
16701 #define CAAM_CCWR_C2D_MASK                       (0x4000000U)
16702 #define CAAM_CCWR_C2D_SHIFT                      (26U)
16703 /*! C2D
16704  *  0b0..Don't clear the Class 2 done interrrupt.
16705  *  0b1..Clear the Class 2 done interrrupt.
16706  */
16707 #define CAAM_CCWR_C2D(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2D_SHIFT)) & CAAM_CCWR_C2D_MASK)
16708 
16709 #define CAAM_CCWR_C1D_MASK                       (0x8000000U)
16710 #define CAAM_CCWR_C1D_SHIFT                      (27U)
16711 /*! C1D
16712  *  0b0..Don't clear the Class 1 done interrrupt.
16713  *  0b1..Clear the Class 1 done interrrupt.
16714  */
16715 #define CAAM_CCWR_C1D(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1D_SHIFT)) & CAAM_CCWR_C1D_MASK)
16716 
16717 #define CAAM_CCWR_C2RST_MASK                     (0x10000000U)
16718 #define CAAM_CCWR_C2RST_SHIFT                    (28U)
16719 /*! C2RST
16720  *  0b0..Don't reset the Class 2 CHA.
16721  *  0b1..Reset the Class 2 CHA.
16722  */
16723 #define CAAM_CCWR_C2RST(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C2RST_SHIFT)) & CAAM_CCWR_C2RST_MASK)
16724 
16725 #define CAAM_CCWR_C1RST_MASK                     (0x20000000U)
16726 #define CAAM_CCWR_C1RST_SHIFT                    (29U)
16727 /*! C1RST
16728  *  0b0..Don't reset the Class 1 CHA.
16729  *  0b1..Reset the Class 1 CHA.
16730  */
16731 #define CAAM_CCWR_C1RST(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_C1RST_SHIFT)) & CAAM_CCWR_C1RST_MASK)
16732 
16733 #define CAAM_CCWR_COF_MASK                       (0x40000000U)
16734 #define CAAM_CCWR_COF_SHIFT                      (30U)
16735 /*! COF
16736  *  0b0..Don't clear the OFIFO.
16737  *  0b1..Clear the OFIFO.
16738  */
16739 #define CAAM_CCWR_COF(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_COF_SHIFT)) & CAAM_CCWR_COF_MASK)
16740 
16741 #define CAAM_CCWR_CIF_MASK                       (0x80000000U)
16742 #define CAAM_CCWR_CIF_SHIFT                      (31U)
16743 /*! CIF
16744  *  0b0..Don't clear the IFIFO.
16745  *  0b1..Clear the IFIFO.
16746  */
16747 #define CAAM_CCWR_CIF(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CCWR_CIF_SHIFT)) & CAAM_CCWR_CIF_MASK)
16748 /*! @} */
16749 
16750 /* The count of CAAM_CCWR */
16751 #define CAAM_CCWR_COUNT                          (1U)
16752 
16753 /*! @name CCSTA_MS - CCB 0 Status and Error Register, most-significant half */
16754 /*! @{ */
16755 
16756 #define CAAM_CCSTA_MS_ERRID1_MASK                (0xFU)
16757 #define CAAM_CCSTA_MS_ERRID1_SHIFT               (0U)
16758 /*! ERRID1
16759  *  0b0001..Mode Error
16760  *  0b0010..Data Size Error, including PKHA N Memory Size Error
16761  *  0b0011..Key Size Error, including PKHA E Memory Size Error
16762  *  0b0100..PKHA A Memory Size Error
16763  *  0b0101..PKHA B Memory Size Error
16764  *  0b0110..Data Arrived out of Sequence Error
16765  *  0b0111..PKHA Divide by Zero Error
16766  *  0b1000..PKHA Modulus Even Error
16767  *  0b1001..DES Key Parity Error
16768  *  0b1010..ICV Check Failed
16769  *  0b1011..Internal Hardware Failure
16770  *  0b1100..CCM AAD Size Error (either 1. AAD flag in B0 =1 and no AAD type provided, 2. AAD flag in B0 = 0 and
16771  *          AAD provided, or 3. AAD flag in B0 =1 and not enough AAD provided - expecting more based on AAD size.)
16772  *  0b1101..Class 1 CHA is not reset
16773  *  0b1110..Invalid CHA combination was selected
16774  *  0b1111..Invalid CHA Selected
16775  */
16776 #define CAAM_CCSTA_MS_ERRID1(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_MS_ERRID1_SHIFT)) & CAAM_CCSTA_MS_ERRID1_MASK)
16777 
16778 #define CAAM_CCSTA_MS_CL1_MASK                   (0xF000U)
16779 #define CAAM_CCSTA_MS_CL1_SHIFT                  (12U)
16780 /*! CL1
16781  *  0b0001..AES
16782  *  0b0010..DES
16783  *  0b0101..RNG
16784  *  0b1000..Public Key
16785  */
16786 #define CAAM_CCSTA_MS_CL1(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_MS_CL1_SHIFT)) & CAAM_CCSTA_MS_CL1_MASK)
16787 
16788 #define CAAM_CCSTA_MS_ERRID2_MASK                (0xF0000U)
16789 #define CAAM_CCSTA_MS_ERRID2_SHIFT               (16U)
16790 /*! ERRID2
16791  *  0b0001..Mode Error
16792  *  0b0010..Data Size Error
16793  *  0b0011..Key Size Error
16794  *  0b0110..Data Arrived out of Sequence Error
16795  *  0b1010..ICV Check Failed
16796  *  0b1011..Internal Hardware Failure
16797  *  0b1110..Invalid CHA combination was selected.
16798  *  0b1111..Invalid CHA Selected
16799  */
16800 #define CAAM_CCSTA_MS_ERRID2(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_MS_ERRID2_SHIFT)) & CAAM_CCSTA_MS_ERRID2_MASK)
16801 
16802 #define CAAM_CCSTA_MS_CL2_MASK                   (0xF0000000U)
16803 #define CAAM_CCSTA_MS_CL2_SHIFT                  (28U)
16804 /*! CL2
16805  *  0b0100..MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and SHA-512/224, SHA-512/256
16806  *  0b1001..CRC
16807  */
16808 #define CAAM_CCSTA_MS_CL2(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_MS_CL2_SHIFT)) & CAAM_CCSTA_MS_CL2_MASK)
16809 /*! @} */
16810 
16811 /* The count of CAAM_CCSTA_MS */
16812 #define CAAM_CCSTA_MS_COUNT                      (1U)
16813 
16814 /*! @name CCSTA_LS - CCB 0 Status and Error Register, least-significant half */
16815 /*! @{ */
16816 
16817 #define CAAM_CCSTA_LS_AB_MASK                    (0x2U)
16818 #define CAAM_CCSTA_LS_AB_SHIFT                   (1U)
16819 /*! AB
16820  *  0b0..AESA Idle
16821  *  0b1..AESA Busy
16822  */
16823 #define CAAM_CCSTA_LS_AB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_AB_SHIFT)) & CAAM_CCSTA_LS_AB_MASK)
16824 
16825 #define CAAM_CCSTA_LS_DB_MASK                    (0x4U)
16826 #define CAAM_CCSTA_LS_DB_SHIFT                   (2U)
16827 /*! DB
16828  *  0b0..DESA Idle
16829  *  0b1..DESA Busy
16830  */
16831 #define CAAM_CCSTA_LS_DB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_DB_SHIFT)) & CAAM_CCSTA_LS_DB_MASK)
16832 
16833 #define CAAM_CCSTA_LS_PB_MASK                    (0x40U)
16834 #define CAAM_CCSTA_LS_PB_SHIFT                   (6U)
16835 /*! PB
16836  *  0b0..PKHA Idle
16837  *  0b1..PKHA Busy
16838  */
16839 #define CAAM_CCSTA_LS_PB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_PB_SHIFT)) & CAAM_CCSTA_LS_PB_MASK)
16840 
16841 #define CAAM_CCSTA_LS_MB_MASK                    (0x80U)
16842 #define CAAM_CCSTA_LS_MB_SHIFT                   (7U)
16843 /*! MB
16844  *  0b0..MDHA Idle
16845  *  0b1..MDHA Busy
16846  */
16847 #define CAAM_CCSTA_LS_MB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_MB_SHIFT)) & CAAM_CCSTA_LS_MB_MASK)
16848 
16849 #define CAAM_CCSTA_LS_CB_MASK                    (0x100U)
16850 #define CAAM_CCSTA_LS_CB_SHIFT                   (8U)
16851 /*! CB
16852  *  0b0..CRCA Idle
16853  *  0b1..CRCA Busy
16854  */
16855 #define CAAM_CCSTA_LS_CB(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_CB_SHIFT)) & CAAM_CCSTA_LS_CB_MASK)
16856 
16857 #define CAAM_CCSTA_LS_RNB_MASK                   (0x200U)
16858 #define CAAM_CCSTA_LS_RNB_SHIFT                  (9U)
16859 /*! RNB
16860  *  0b0..RNG Idle
16861  *  0b1..RNG Busy
16862  */
16863 #define CAAM_CCSTA_LS_RNB(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_RNB_SHIFT)) & CAAM_CCSTA_LS_RNB_MASK)
16864 
16865 #define CAAM_CCSTA_LS_PDI_MASK                   (0x10000U)
16866 #define CAAM_CCSTA_LS_PDI_SHIFT                  (16U)
16867 /*! PDI
16868  *  0b0..Not Done
16869  *  0b1..Done Interrupt
16870  */
16871 #define CAAM_CCSTA_LS_PDI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_PDI_SHIFT)) & CAAM_CCSTA_LS_PDI_MASK)
16872 
16873 #define CAAM_CCSTA_LS_SDI_MASK                   (0x20000U)
16874 #define CAAM_CCSTA_LS_SDI_SHIFT                  (17U)
16875 /*! SDI
16876  *  0b0..Not Done
16877  *  0b1..Done Interrupt
16878  */
16879 #define CAAM_CCSTA_LS_SDI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_SDI_SHIFT)) & CAAM_CCSTA_LS_SDI_MASK)
16880 
16881 #define CAAM_CCSTA_LS_PEI_MASK                   (0x100000U)
16882 #define CAAM_CCSTA_LS_PEI_SHIFT                  (20U)
16883 /*! PEI
16884  *  0b0..No Error
16885  *  0b1..Error Interrupt
16886  */
16887 #define CAAM_CCSTA_LS_PEI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_PEI_SHIFT)) & CAAM_CCSTA_LS_PEI_MASK)
16888 
16889 #define CAAM_CCSTA_LS_SEI_MASK                   (0x200000U)
16890 #define CAAM_CCSTA_LS_SEI_SHIFT                  (21U)
16891 /*! SEI
16892  *  0b0..No Error
16893  *  0b1..Error Interrupt
16894  */
16895 #define CAAM_CCSTA_LS_SEI(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_SEI_SHIFT)) & CAAM_CCSTA_LS_SEI_MASK)
16896 
16897 #define CAAM_CCSTA_LS_PRM_MASK                   (0x10000000U)
16898 #define CAAM_CCSTA_LS_PRM_SHIFT                  (28U)
16899 /*! PRM
16900  *  0b0..The given number is NOT prime.
16901  *  0b1..The given number is probably prime.
16902  */
16903 #define CAAM_CCSTA_LS_PRM(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_PRM_SHIFT)) & CAAM_CCSTA_LS_PRM_MASK)
16904 
16905 #define CAAM_CCSTA_LS_GCD_MASK                   (0x20000000U)
16906 #define CAAM_CCSTA_LS_GCD_SHIFT                  (29U)
16907 /*! GCD
16908  *  0b0..The greatest common divisor of two numbers is NOT one.
16909  *  0b1..The greatest common divisor of two numbers is one.
16910  */
16911 #define CAAM_CCSTA_LS_GCD(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_GCD_SHIFT)) & CAAM_CCSTA_LS_GCD_MASK)
16912 
16913 #define CAAM_CCSTA_LS_PIZ_MASK                   (0x40000000U)
16914 #define CAAM_CCSTA_LS_PIZ_SHIFT                  (30U)
16915 /*! PIZ
16916  *  0b0..The result of a Public Key operation is not zero.
16917  *  0b1..The result of a Public Key operation is zero.
16918  */
16919 #define CAAM_CCSTA_LS_PIZ(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CCSTA_LS_PIZ_SHIFT)) & CAAM_CCSTA_LS_PIZ_MASK)
16920 /*! @} */
16921 
16922 /* The count of CAAM_CCSTA_LS */
16923 #define CAAM_CCSTA_LS_COUNT                      (1U)
16924 
16925 /*! @name CC1AADSZR - CCB 0 Class 1 AAD Size Register */
16926 /*! @{ */
16927 
16928 #define CAAM_CC1AADSZR_AASZ_MASK                 (0xFU)
16929 #define CAAM_CC1AADSZR_AASZ_SHIFT                (0U)
16930 #define CAAM_CC1AADSZR_AASZ(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CC1AADSZR_AASZ_SHIFT)) & CAAM_CC1AADSZR_AASZ_MASK)
16931 /*! @} */
16932 
16933 /* The count of CAAM_CC1AADSZR */
16934 #define CAAM_CC1AADSZR_COUNT                     (1U)
16935 
16936 /*! @name CC1IVSZR - CCB 0 Class 1 IV Size Register */
16937 /*! @{ */
16938 
16939 #define CAAM_CC1IVSZR_IVSZ_MASK                  (0xFU)
16940 #define CAAM_CC1IVSZR_IVSZ_SHIFT                 (0U)
16941 #define CAAM_CC1IVSZR_IVSZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1IVSZR_IVSZ_SHIFT)) & CAAM_CC1IVSZR_IVSZ_MASK)
16942 /*! @} */
16943 
16944 /* The count of CAAM_CC1IVSZR */
16945 #define CAAM_CC1IVSZR_COUNT                      (1U)
16946 
16947 /*! @name CPKASZR - PKHA A Size Register */
16948 /*! @{ */
16949 
16950 #define CAAM_CPKASZR_PKASZ_MASK                  (0x3FFU)
16951 #define CAAM_CPKASZR_PKASZ_SHIFT                 (0U)
16952 #define CAAM_CPKASZR_PKASZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CPKASZR_PKASZ_SHIFT)) & CAAM_CPKASZR_PKASZ_MASK)
16953 /*! @} */
16954 
16955 /* The count of CAAM_CPKASZR */
16956 #define CAAM_CPKASZR_COUNT                       (1U)
16957 
16958 /*! @name CPKBSZR - PKHA B Size Register */
16959 /*! @{ */
16960 
16961 #define CAAM_CPKBSZR_PKBSZ_MASK                  (0x3FFU)
16962 #define CAAM_CPKBSZR_PKBSZ_SHIFT                 (0U)
16963 #define CAAM_CPKBSZR_PKBSZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CPKBSZR_PKBSZ_SHIFT)) & CAAM_CPKBSZR_PKBSZ_MASK)
16964 /*! @} */
16965 
16966 /* The count of CAAM_CPKBSZR */
16967 #define CAAM_CPKBSZR_COUNT                       (1U)
16968 
16969 /*! @name CPKNSZR - PKHA N Size Register */
16970 /*! @{ */
16971 
16972 #define CAAM_CPKNSZR_PKNSZ_MASK                  (0x3FFU)
16973 #define CAAM_CPKNSZR_PKNSZ_SHIFT                 (0U)
16974 #define CAAM_CPKNSZR_PKNSZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CPKNSZR_PKNSZ_SHIFT)) & CAAM_CPKNSZR_PKNSZ_MASK)
16975 /*! @} */
16976 
16977 /* The count of CAAM_CPKNSZR */
16978 #define CAAM_CPKNSZR_COUNT                       (1U)
16979 
16980 /*! @name CPKESZR - PKHA E Size Register */
16981 /*! @{ */
16982 
16983 #define CAAM_CPKESZR_PKESZ_MASK                  (0x3FFU)
16984 #define CAAM_CPKESZR_PKESZ_SHIFT                 (0U)
16985 #define CAAM_CPKESZR_PKESZ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CPKESZR_PKESZ_SHIFT)) & CAAM_CPKESZR_PKESZ_MASK)
16986 /*! @} */
16987 
16988 /* The count of CAAM_CPKESZR */
16989 #define CAAM_CPKESZR_COUNT                       (1U)
16990 
16991 /*! @name CC1CTXR - CCB 0 Class 1 Context Register Word 0..CCB 0 Class 1 Context Register Word 15 */
16992 /*! @{ */
16993 
16994 #define CAAM_CC1CTXR_C1CTX_MASK                  (0xFFFFFFFFU)
16995 #define CAAM_CC1CTXR_C1CTX_SHIFT                 (0U)
16996 #define CAAM_CC1CTXR_C1CTX(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC1CTXR_C1CTX_SHIFT)) & CAAM_CC1CTXR_C1CTX_MASK)
16997 /*! @} */
16998 
16999 /* The count of CAAM_CC1CTXR */
17000 #define CAAM_CC1CTXR_COUNT                       (1U)
17001 
17002 /* The count of CAAM_CC1CTXR */
17003 #define CAAM_CC1CTXR_COUNT2                      (16U)
17004 
17005 /*! @name CC1KR - CCB 0 Class 1 Key Registers Word 0..CCB 0 Class 1 Key Registers Word 7 */
17006 /*! @{ */
17007 
17008 #define CAAM_CC1KR_C1KEY_MASK                    (0xFFFFFFFFU)
17009 #define CAAM_CC1KR_C1KEY_SHIFT                   (0U)
17010 #define CAAM_CC1KR_C1KEY(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CC1KR_C1KEY_SHIFT)) & CAAM_CC1KR_C1KEY_MASK)
17011 /*! @} */
17012 
17013 /* The count of CAAM_CC1KR */
17014 #define CAAM_CC1KR_COUNT                         (1U)
17015 
17016 /* The count of CAAM_CC1KR */
17017 #define CAAM_CC1KR_COUNT2                        (8U)
17018 
17019 /*! @name CC2MR - CCB 0 Class 2 Mode Register */
17020 /*! @{ */
17021 
17022 #define CAAM_CC2MR_AP_MASK                       (0x1U)
17023 #define CAAM_CC2MR_AP_SHIFT                      (0U)
17024 /*! AP
17025  *  0b0..Authenticate
17026  *  0b1..Protect
17027  */
17028 #define CAAM_CC2MR_AP(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CC2MR_AP_SHIFT)) & CAAM_CC2MR_AP_MASK)
17029 
17030 #define CAAM_CC2MR_ICV_MASK                      (0x2U)
17031 #define CAAM_CC2MR_ICV_SHIFT                     (1U)
17032 /*! ICV
17033  *  0b0..Don't compare the calculated ICV against a received ICV.
17034  *  0b1..Compare the calculated ICV against a received ICV.
17035  */
17036 #define CAAM_CC2MR_ICV(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC2MR_ICV_SHIFT)) & CAAM_CC2MR_ICV_MASK)
17037 
17038 #define CAAM_CC2MR_AS_MASK                       (0xCU)
17039 #define CAAM_CC2MR_AS_SHIFT                      (2U)
17040 /*! AS
17041  *  0b00..Update.
17042  *  0b01..Initialize.
17043  *  0b10..Finalize.
17044  *  0b11..Initialize/Finalize.
17045  */
17046 #define CAAM_CC2MR_AS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_CC2MR_AS_SHIFT)) & CAAM_CC2MR_AS_MASK)
17047 
17048 #define CAAM_CC2MR_AAI_MASK                      (0x1FF0U)
17049 #define CAAM_CC2MR_AAI_SHIFT                     (4U)
17050 #define CAAM_CC2MR_AAI(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC2MR_AAI_SHIFT)) & CAAM_CC2MR_AAI_MASK)
17051 
17052 #define CAAM_CC2MR_ALG_MASK                      (0xFF0000U)
17053 #define CAAM_CC2MR_ALG_SHIFT                     (16U)
17054 /*! ALG
17055  *  0b01000000..MD5
17056  *  0b01000001..SHA-1
17057  *  0b01000010..SHA-224
17058  *  0b01000011..SHA-256
17059  *  0b01000100..SHA-384
17060  *  0b01000101..SHA-512
17061  *  0b01000110..SHA-512/224
17062  *  0b01000111..SHA-512/256
17063  *  0b10010000..CRC
17064  */
17065 #define CAAM_CC2MR_ALG(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CC2MR_ALG_SHIFT)) & CAAM_CC2MR_ALG_MASK)
17066 /*! @} */
17067 
17068 /* The count of CAAM_CC2MR */
17069 #define CAAM_CC2MR_COUNT                         (1U)
17070 
17071 /*! @name CC2KSR - CCB 0 Class 2 Key Size Register */
17072 /*! @{ */
17073 
17074 #define CAAM_CC2KSR_C2KS_MASK                    (0xFFU)
17075 #define CAAM_CC2KSR_C2KS_SHIFT                   (0U)
17076 #define CAAM_CC2KSR_C2KS(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CC2KSR_C2KS_SHIFT)) & CAAM_CC2KSR_C2KS_MASK)
17077 /*! @} */
17078 
17079 /* The count of CAAM_CC2KSR */
17080 #define CAAM_CC2KSR_COUNT                        (1U)
17081 
17082 /*! @name CC2DSR - CCB 0 Class 2 Data Size Register */
17083 /*! @{ */
17084 
17085 #define CAAM_CC2DSR_C2DS_MASK                    (0xFFFFFFFFU)
17086 #define CAAM_CC2DSR_C2DS_SHIFT                   (0U)
17087 #define CAAM_CC2DSR_C2DS(x)                      (((uint64_t)(((uint64_t)(x)) << CAAM_CC2DSR_C2DS_SHIFT)) & CAAM_CC2DSR_C2DS_MASK)
17088 
17089 #define CAAM_CC2DSR_C2CY_MASK                    (0x100000000U)
17090 #define CAAM_CC2DSR_C2CY_SHIFT                   (32U)
17091 /*! C2CY
17092  *  0b0..A write to the Class 2 Data Size Register did not cause a carry.
17093  *  0b1..A write to the Class 2 Data Size Register caused a carry.
17094  */
17095 #define CAAM_CC2DSR_C2CY(x)                      (((uint64_t)(((uint64_t)(x)) << CAAM_CC2DSR_C2CY_SHIFT)) & CAAM_CC2DSR_C2CY_MASK)
17096 
17097 #define CAAM_CC2DSR_NUMBITS_MASK                 (0xE000000000000000U)
17098 #define CAAM_CC2DSR_NUMBITS_SHIFT                (61U)
17099 #define CAAM_CC2DSR_NUMBITS(x)                   (((uint64_t)(((uint64_t)(x)) << CAAM_CC2DSR_NUMBITS_SHIFT)) & CAAM_CC2DSR_NUMBITS_MASK)
17100 /*! @} */
17101 
17102 /* The count of CAAM_CC2DSR */
17103 #define CAAM_CC2DSR_COUNT                        (1U)
17104 
17105 /*! @name CC2ICVSZR - CCB 0 Class 2 ICV Size Register */
17106 /*! @{ */
17107 
17108 #define CAAM_CC2ICVSZR_ICVSZ_MASK                (0xFU)
17109 #define CAAM_CC2ICVSZR_ICVSZ_SHIFT               (0U)
17110 #define CAAM_CC2ICVSZR_ICVSZ(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_CC2ICVSZR_ICVSZ_SHIFT)) & CAAM_CC2ICVSZR_ICVSZ_MASK)
17111 /*! @} */
17112 
17113 /* The count of CAAM_CC2ICVSZR */
17114 #define CAAM_CC2ICVSZR_COUNT                     (1U)
17115 
17116 /*! @name CC2CTXR - CCB 0 Class 2 Context Register Word 0..CCB 0 Class 2 Context Register Word 17 */
17117 /*! @{ */
17118 
17119 #define CAAM_CC2CTXR_C2CTXR_MASK                 (0xFFFFFFFFU)
17120 #define CAAM_CC2CTXR_C2CTXR_SHIFT                (0U)
17121 #define CAAM_CC2CTXR_C2CTXR(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CC2CTXR_C2CTXR_SHIFT)) & CAAM_CC2CTXR_C2CTXR_MASK)
17122 /*! @} */
17123 
17124 /* The count of CAAM_CC2CTXR */
17125 #define CAAM_CC2CTXR_COUNT                       (1U)
17126 
17127 /* The count of CAAM_CC2CTXR */
17128 #define CAAM_CC2CTXR_COUNT2                      (18U)
17129 
17130 /*! @name CC2KEYR - CCB 0 Class 2 Key Register Word 0..CCB 0 Class 2 Key Register Word 31 */
17131 /*! @{ */
17132 
17133 #define CAAM_CC2KEYR_C2KEY_MASK                  (0xFFFFFFFFU)
17134 #define CAAM_CC2KEYR_C2KEY_SHIFT                 (0U)
17135 #define CAAM_CC2KEYR_C2KEY(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CC2KEYR_C2KEY_SHIFT)) & CAAM_CC2KEYR_C2KEY_MASK)
17136 /*! @} */
17137 
17138 /* The count of CAAM_CC2KEYR */
17139 #define CAAM_CC2KEYR_COUNT                       (1U)
17140 
17141 /* The count of CAAM_CC2KEYR */
17142 #define CAAM_CC2KEYR_COUNT2                      (32U)
17143 
17144 /*! @name CFIFOSTA - CCB 0 FIFO Status Register */
17145 /*! @{ */
17146 
17147 #define CAAM_CFIFOSTA_DECOOQHEAD_MASK            (0xFFU)
17148 #define CAAM_CFIFOSTA_DECOOQHEAD_SHIFT           (0U)
17149 #define CAAM_CFIFOSTA_DECOOQHEAD(x)              (((uint32_t)(((uint32_t)(x)) << CAAM_CFIFOSTA_DECOOQHEAD_SHIFT)) & CAAM_CFIFOSTA_DECOOQHEAD_MASK)
17150 
17151 #define CAAM_CFIFOSTA_DMAOQHEAD_MASK             (0xFF00U)
17152 #define CAAM_CFIFOSTA_DMAOQHEAD_SHIFT            (8U)
17153 #define CAAM_CFIFOSTA_DMAOQHEAD(x)               (((uint32_t)(((uint32_t)(x)) << CAAM_CFIFOSTA_DMAOQHEAD_SHIFT)) & CAAM_CFIFOSTA_DMAOQHEAD_MASK)
17154 
17155 #define CAAM_CFIFOSTA_C2IQHEAD_MASK              (0xFF0000U)
17156 #define CAAM_CFIFOSTA_C2IQHEAD_SHIFT             (16U)
17157 #define CAAM_CFIFOSTA_C2IQHEAD(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CFIFOSTA_C2IQHEAD_SHIFT)) & CAAM_CFIFOSTA_C2IQHEAD_MASK)
17158 
17159 #define CAAM_CFIFOSTA_C1IQHEAD_MASK              (0xFF000000U)
17160 #define CAAM_CFIFOSTA_C1IQHEAD_SHIFT             (24U)
17161 #define CAAM_CFIFOSTA_C1IQHEAD(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_CFIFOSTA_C1IQHEAD_SHIFT)) & CAAM_CFIFOSTA_C1IQHEAD_MASK)
17162 /*! @} */
17163 
17164 /* The count of CAAM_CFIFOSTA */
17165 #define CAAM_CFIFOSTA_COUNT                      (1U)
17166 
17167 /*! @name CNFIFO - CCB 0 iNformation FIFO When STYPE != 10b */
17168 /*! @{ */
17169 
17170 #define CAAM_CNFIFO_DL_MASK                      (0xFFFU)
17171 #define CAAM_CNFIFO_DL_SHIFT                     (0U)
17172 #define CAAM_CNFIFO_DL(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_DL_SHIFT)) & CAAM_CNFIFO_DL_MASK)
17173 
17174 #define CAAM_CNFIFO_AST_MASK                     (0x4000U)
17175 #define CAAM_CNFIFO_AST_SHIFT                    (14U)
17176 #define CAAM_CNFIFO_AST(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_AST_SHIFT)) & CAAM_CNFIFO_AST_MASK)
17177 
17178 #define CAAM_CNFIFO_OC_MASK                      (0x8000U)
17179 #define CAAM_CNFIFO_OC_SHIFT                     (15U)
17180 /*! OC
17181  *  0b0..Allow the final word to be popped from the Output Data FIFO.
17182  *  0b1..Don't pop the final word from the Output Data FIFO.
17183  */
17184 #define CAAM_CNFIFO_OC(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_OC_SHIFT)) & CAAM_CNFIFO_OC_MASK)
17185 
17186 #define CAAM_CNFIFO_PTYPE_MASK                   (0x70000U)
17187 #define CAAM_CNFIFO_PTYPE_SHIFT                  (16U)
17188 #define CAAM_CNFIFO_PTYPE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_PTYPE_SHIFT)) & CAAM_CNFIFO_PTYPE_MASK)
17189 
17190 #define CAAM_CNFIFO_BND_MASK                     (0x80000U)
17191 #define CAAM_CNFIFO_BND_SHIFT                    (19U)
17192 /*! BND
17193  *  0b0..Don't pad.
17194  *  0b1..Pad to the next 16-byte boundary.
17195  */
17196 #define CAAM_CNFIFO_BND(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_BND_SHIFT)) & CAAM_CNFIFO_BND_MASK)
17197 
17198 #define CAAM_CNFIFO_DTYPE_MASK                   (0xF00000U)
17199 #define CAAM_CNFIFO_DTYPE_SHIFT                  (20U)
17200 #define CAAM_CNFIFO_DTYPE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_DTYPE_SHIFT)) & CAAM_CNFIFO_DTYPE_MASK)
17201 
17202 #define CAAM_CNFIFO_STYPE_MASK                   (0x3000000U)
17203 #define CAAM_CNFIFO_STYPE_SHIFT                  (24U)
17204 #define CAAM_CNFIFO_STYPE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_STYPE_SHIFT)) & CAAM_CNFIFO_STYPE_MASK)
17205 
17206 #define CAAM_CNFIFO_FC1_MASK                     (0x4000000U)
17207 #define CAAM_CNFIFO_FC1_SHIFT                    (26U)
17208 /*! FC1
17209  *  0b0..Don't flush Class 1 data.
17210  *  0b1..Flush Class 1 data.
17211  */
17212 #define CAAM_CNFIFO_FC1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_FC1_SHIFT)) & CAAM_CNFIFO_FC1_MASK)
17213 
17214 #define CAAM_CNFIFO_FC2_MASK                     (0x8000000U)
17215 #define CAAM_CNFIFO_FC2_SHIFT                    (27U)
17216 /*! FC2
17217  *  0b0..Don't flush Class 2 data.
17218  *  0b1..Flush Class 2 data.
17219  */
17220 #define CAAM_CNFIFO_FC2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_FC2_SHIFT)) & CAAM_CNFIFO_FC2_MASK)
17221 
17222 #define CAAM_CNFIFO_LC1_MASK                     (0x10000000U)
17223 #define CAAM_CNFIFO_LC1_SHIFT                    (28U)
17224 /*! LC1
17225  *  0b0..This is not the last Class 1 data.
17226  *  0b1..This is the last Class 1 data.
17227  */
17228 #define CAAM_CNFIFO_LC1(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_LC1_SHIFT)) & CAAM_CNFIFO_LC1_MASK)
17229 
17230 #define CAAM_CNFIFO_LC2_MASK                     (0x20000000U)
17231 #define CAAM_CNFIFO_LC2_SHIFT                    (29U)
17232 /*! LC2
17233  *  0b0..This is not the last Class 2 data.
17234  *  0b1..This is the last Class 2 data.
17235  */
17236 #define CAAM_CNFIFO_LC2(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_LC2_SHIFT)) & CAAM_CNFIFO_LC2_MASK)
17237 
17238 #define CAAM_CNFIFO_DEST_MASK                    (0xC0000000U)
17239 #define CAAM_CNFIFO_DEST_SHIFT                   (30U)
17240 /*! DEST
17241  *  0b00..DECO Alignment Block. If DTYPE == Eh, data sent to the DECO Alignment Block is dropped. This is used to
17242  *        skip over input data. An error is generated if a DTYPE other than Eh (drop) or Fh (message) is used with
17243  *        the DECO Alignment Block destination.
17244  *  0b01..Class 1.
17245  *  0b10..Class 2.
17246  *  0b11..Both Class 1 and Class 2.
17247  */
17248 #define CAAM_CNFIFO_DEST(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_DEST_SHIFT)) & CAAM_CNFIFO_DEST_MASK)
17249 /*! @} */
17250 
17251 /* The count of CAAM_CNFIFO */
17252 #define CAAM_CNFIFO_COUNT                        (1U)
17253 
17254 /*! @name CNFIFO_2 - CCB 0 iNformation FIFO When STYPE == 10b */
17255 /*! @{ */
17256 
17257 #define CAAM_CNFIFO_2_PL_MASK                    (0x7FU)
17258 #define CAAM_CNFIFO_2_PL_SHIFT                   (0U)
17259 #define CAAM_CNFIFO_2_PL(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_PL_SHIFT)) & CAAM_CNFIFO_2_PL_MASK)
17260 
17261 #define CAAM_CNFIFO_2_PS_MASK                    (0x400U)
17262 #define CAAM_CNFIFO_2_PS_SHIFT                   (10U)
17263 /*! PS
17264  *  0b0..C2 CHA snoops pad data from padding block.
17265  *  0b1..C2 CHA snoops pad data from OFIFO.
17266  */
17267 #define CAAM_CNFIFO_2_PS(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_PS_SHIFT)) & CAAM_CNFIFO_2_PS_MASK)
17268 
17269 #define CAAM_CNFIFO_2_BM_MASK                    (0x800U)
17270 #define CAAM_CNFIFO_2_BM_SHIFT                   (11U)
17271 /*! BM
17272  *  0b0..When padding, pad to power-of-2 boundary.
17273  *  0b1..When padding, pad to power-of-2 boundary minus 1 byte.
17274  */
17275 #define CAAM_CNFIFO_2_BM(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_BM_SHIFT)) & CAAM_CNFIFO_2_BM_MASK)
17276 
17277 #define CAAM_CNFIFO_2_PR_MASK                    (0x8000U)
17278 #define CAAM_CNFIFO_2_PR_SHIFT                   (15U)
17279 /*! PR
17280  *  0b0..No prediction resistance.
17281  *  0b1..Prediction resistance.
17282  */
17283 #define CAAM_CNFIFO_2_PR(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_PR_SHIFT)) & CAAM_CNFIFO_2_PR_MASK)
17284 
17285 #define CAAM_CNFIFO_2_PTYPE_MASK                 (0x70000U)
17286 #define CAAM_CNFIFO_2_PTYPE_SHIFT                (16U)
17287 /*! PTYPE
17288  *  0b000..All Zero.
17289  *  0b001..Random with nonzero bytes.
17290  *  0b010..Incremented (starting with 01h), followed by a byte containing the value N-1, i.e., if N==1, a single byte is output with value 0h.
17291  *  0b011..Random.
17292  *  0b100..All Zero with last byte containing the number of 0 bytes, i.e., if N==1, a single byte is output with value 0h.
17293  *  0b101..Random with nonzero bytes with last byte 0.
17294  *  0b110..N bytes of padding all containing the value N-1.
17295  *  0b111..Random with nonzero bytes, with the last byte containing the value N-1.
17296  */
17297 #define CAAM_CNFIFO_2_PTYPE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_PTYPE_SHIFT)) & CAAM_CNFIFO_2_PTYPE_MASK)
17298 
17299 #define CAAM_CNFIFO_2_BND_MASK                   (0x80000U)
17300 #define CAAM_CNFIFO_2_BND_SHIFT                  (19U)
17301 /*! BND
17302  *  0b0..Don't add boundary padding.
17303  *  0b1..Add boundary padding.
17304  */
17305 #define CAAM_CNFIFO_2_BND(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_BND_SHIFT)) & CAAM_CNFIFO_2_BND_MASK)
17306 
17307 #define CAAM_CNFIFO_2_DTYPE_MASK                 (0xF00000U)
17308 #define CAAM_CNFIFO_2_DTYPE_SHIFT                (20U)
17309 #define CAAM_CNFIFO_2_DTYPE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_DTYPE_SHIFT)) & CAAM_CNFIFO_2_DTYPE_MASK)
17310 
17311 #define CAAM_CNFIFO_2_STYPE_MASK                 (0x3000000U)
17312 #define CAAM_CNFIFO_2_STYPE_SHIFT                (24U)
17313 #define CAAM_CNFIFO_2_STYPE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_STYPE_SHIFT)) & CAAM_CNFIFO_2_STYPE_MASK)
17314 
17315 #define CAAM_CNFIFO_2_FC1_MASK                   (0x4000000U)
17316 #define CAAM_CNFIFO_2_FC1_SHIFT                  (26U)
17317 /*! FC1
17318  *  0b0..Don't flush the Class 1 data.
17319  *  0b1..Flush the Class 1 data.
17320  */
17321 #define CAAM_CNFIFO_2_FC1(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_FC1_SHIFT)) & CAAM_CNFIFO_2_FC1_MASK)
17322 
17323 #define CAAM_CNFIFO_2_FC2_MASK                   (0x8000000U)
17324 #define CAAM_CNFIFO_2_FC2_SHIFT                  (27U)
17325 /*! FC2
17326  *  0b0..Don't flush the Class 2 data.
17327  *  0b1..Flush the Class 2 data.
17328  */
17329 #define CAAM_CNFIFO_2_FC2(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_FC2_SHIFT)) & CAAM_CNFIFO_2_FC2_MASK)
17330 
17331 #define CAAM_CNFIFO_2_LC1_MASK                   (0x10000000U)
17332 #define CAAM_CNFIFO_2_LC1_SHIFT                  (28U)
17333 /*! LC1
17334  *  0b0..This is not the last Class 1 data.
17335  *  0b1..This is the last Class 1 data.
17336  */
17337 #define CAAM_CNFIFO_2_LC1(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_LC1_SHIFT)) & CAAM_CNFIFO_2_LC1_MASK)
17338 
17339 #define CAAM_CNFIFO_2_LC2_MASK                   (0x20000000U)
17340 #define CAAM_CNFIFO_2_LC2_SHIFT                  (29U)
17341 /*! LC2
17342  *  0b0..This is not the last Class 2 data.
17343  *  0b1..This is the last Class 2 data.
17344  */
17345 #define CAAM_CNFIFO_2_LC2(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_LC2_SHIFT)) & CAAM_CNFIFO_2_LC2_MASK)
17346 
17347 #define CAAM_CNFIFO_2_DEST_MASK                  (0xC0000000U)
17348 #define CAAM_CNFIFO_2_DEST_SHIFT                 (30U)
17349 /*! DEST
17350  *  0b00..DECO Alignment Block. If DTYPE is Eh, data sent to the DECO Alignment Block is dropped. This is used to
17351  *        skip over input data. An error is generated if a DTYPE other than Eh (drop) or Fh (message) is used with
17352  *        the DECO Alignment Block destination.
17353  *  0b01..Class 1.
17354  *  0b10..Class 2.
17355  *  0b11..Both Class 1 and Class 2.
17356  */
17357 #define CAAM_CNFIFO_2_DEST(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_CNFIFO_2_DEST_SHIFT)) & CAAM_CNFIFO_2_DEST_MASK)
17358 /*! @} */
17359 
17360 /* The count of CAAM_CNFIFO_2 */
17361 #define CAAM_CNFIFO_2_COUNT                      (1U)
17362 
17363 /*! @name CIFIFO - CCB 0 Input Data FIFO */
17364 /*! @{ */
17365 
17366 #define CAAM_CIFIFO_IFIFO_MASK                   (0xFFFFFFFFU)
17367 #define CAAM_CIFIFO_IFIFO_SHIFT                  (0U)
17368 #define CAAM_CIFIFO_IFIFO(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_CIFIFO_IFIFO_SHIFT)) & CAAM_CIFIFO_IFIFO_MASK)
17369 /*! @} */
17370 
17371 /* The count of CAAM_CIFIFO */
17372 #define CAAM_CIFIFO_COUNT                        (1U)
17373 
17374 /*! @name COFIFO - CCB 0 Output Data FIFO */
17375 /*! @{ */
17376 
17377 #define CAAM_COFIFO_OFIFO_MASK                   (0xFFFFFFFFFFFFFFFFU)
17378 #define CAAM_COFIFO_OFIFO_SHIFT                  (0U)
17379 #define CAAM_COFIFO_OFIFO(x)                     (((uint64_t)(((uint64_t)(x)) << CAAM_COFIFO_OFIFO_SHIFT)) & CAAM_COFIFO_OFIFO_MASK)
17380 /*! @} */
17381 
17382 /* The count of CAAM_COFIFO */
17383 #define CAAM_COFIFO_COUNT                        (1U)
17384 
17385 /*! @name DJQCR_MS - DECO0 Job Queue Control Register, most-significant half */
17386 /*! @{ */
17387 
17388 #define CAAM_DJQCR_MS_ID_MASK                    (0x7U)
17389 #define CAAM_DJQCR_MS_ID_SHIFT                   (0U)
17390 #define CAAM_DJQCR_MS_ID(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_ID_SHIFT)) & CAAM_DJQCR_MS_ID_MASK)
17391 
17392 #define CAAM_DJQCR_MS_SRC_MASK                   (0x700U)
17393 #define CAAM_DJQCR_MS_SRC_SHIFT                  (8U)
17394 /*! SRC
17395  *  0b000..Job Ring 0
17396  *  0b001..Job Ring 1
17397  *  0b010..Job Ring 2
17398  *  0b011..Job Ring 3
17399  *  0b100..RTIC
17400  *  0b101..Reserved
17401  *  0b110..Reserved
17402  *  0b111..Reserved
17403  */
17404 #define CAAM_DJQCR_MS_SRC(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_SRC_SHIFT)) & CAAM_DJQCR_MS_SRC_MASK)
17405 
17406 #define CAAM_DJQCR_MS_AMTD_MASK                  (0x8000U)
17407 #define CAAM_DJQCR_MS_AMTD_SHIFT                 (15U)
17408 /*! AMTD
17409  *  0b0..The Allowed Make Trusted Descriptor bit was NOT set.
17410  *  0b1..The Allowed Make Trusted Descriptor bit was set.
17411  */
17412 #define CAAM_DJQCR_MS_AMTD(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_AMTD_SHIFT)) & CAAM_DJQCR_MS_AMTD_MASK)
17413 
17414 #define CAAM_DJQCR_MS_SOB_MASK                   (0x10000U)
17415 #define CAAM_DJQCR_MS_SOB_SHIFT                  (16U)
17416 /*! SOB
17417  *  0b0..Shared Descriptor has NOT been loaded.
17418  *  0b1..Shared Descriptor HAS been loaded.
17419  */
17420 #define CAAM_DJQCR_MS_SOB(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_SOB_SHIFT)) & CAAM_DJQCR_MS_SOB_MASK)
17421 
17422 #define CAAM_DJQCR_MS_DWS_MASK                   (0x80000U)
17423 #define CAAM_DJQCR_MS_DWS_SHIFT                  (19U)
17424 /*! DWS
17425  *  0b0..Double Word Swap is NOT set.
17426  *  0b1..Double Word Swap is set.
17427  */
17428 #define CAAM_DJQCR_MS_DWS(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_DWS_SHIFT)) & CAAM_DJQCR_MS_DWS_MASK)
17429 
17430 #define CAAM_DJQCR_MS_SHR_FROM_MASK              (0x7000000U)
17431 #define CAAM_DJQCR_MS_SHR_FROM_SHIFT             (24U)
17432 #define CAAM_DJQCR_MS_SHR_FROM(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_SHR_FROM_SHIFT)) & CAAM_DJQCR_MS_SHR_FROM_MASK)
17433 
17434 #define CAAM_DJQCR_MS_ILE_MASK                   (0x8000000U)
17435 #define CAAM_DJQCR_MS_ILE_SHIFT                  (27U)
17436 /*! ILE
17437  *  0b0..No byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
17438  *  0b1..Byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
17439  */
17440 #define CAAM_DJQCR_MS_ILE(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_ILE_SHIFT)) & CAAM_DJQCR_MS_ILE_MASK)
17441 
17442 #define CAAM_DJQCR_MS_FOUR_MASK                  (0x10000000U)
17443 #define CAAM_DJQCR_MS_FOUR_SHIFT                 (28U)
17444 /*! FOUR
17445  *  0b0..DECO has not been given at least four words of the descriptor.
17446  *  0b1..DECO has been given at least four words of the descriptor.
17447  */
17448 #define CAAM_DJQCR_MS_FOUR(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_FOUR_SHIFT)) & CAAM_DJQCR_MS_FOUR_MASK)
17449 
17450 #define CAAM_DJQCR_MS_WHL_MASK                   (0x20000000U)
17451 #define CAAM_DJQCR_MS_WHL_SHIFT                  (29U)
17452 /*! WHL
17453  *  0b0..DECO has not been given the whole descriptor.
17454  *  0b1..DECO has been given the whole descriptor.
17455  */
17456 #define CAAM_DJQCR_MS_WHL(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_WHL_SHIFT)) & CAAM_DJQCR_MS_WHL_MASK)
17457 
17458 #define CAAM_DJQCR_MS_SING_MASK                  (0x40000000U)
17459 #define CAAM_DJQCR_MS_SING_SHIFT                 (30U)
17460 /*! SING
17461  *  0b0..Do not tell DECO to execute the descriptor in single-step mode.
17462  *  0b1..Tell DECO to execute the descriptor in single-step mode.
17463  */
17464 #define CAAM_DJQCR_MS_SING(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_SING_SHIFT)) & CAAM_DJQCR_MS_SING_MASK)
17465 
17466 #define CAAM_DJQCR_MS_STEP_MASK                  (0x80000000U)
17467 #define CAAM_DJQCR_MS_STEP_SHIFT                 (31U)
17468 /*! STEP
17469  *  0b0..DECO has not been told to execute the next command in the descriptor.
17470  *  0b1..DECO has been told to execute the next command in the descriptor.
17471  */
17472 #define CAAM_DJQCR_MS_STEP(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_MS_STEP_SHIFT)) & CAAM_DJQCR_MS_STEP_MASK)
17473 /*! @} */
17474 
17475 /* The count of CAAM_DJQCR_MS */
17476 #define CAAM_DJQCR_MS_COUNT                      (1U)
17477 
17478 /*! @name DJQCR_LS - DECO0 Job Queue Control Register, least-significant half */
17479 /*! @{ */
17480 
17481 #define CAAM_DJQCR_LS_CMD_MASK                   (0xFFFFFFFFU)
17482 #define CAAM_DJQCR_LS_CMD_SHIFT                  (0U)
17483 #define CAAM_DJQCR_LS_CMD(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DJQCR_LS_CMD_SHIFT)) & CAAM_DJQCR_LS_CMD_MASK)
17484 /*! @} */
17485 
17486 /* The count of CAAM_DJQCR_LS */
17487 #define CAAM_DJQCR_LS_COUNT                      (1U)
17488 
17489 /*! @name DDAR - DECO0 Descriptor Address Register */
17490 /*! @{ */
17491 
17492 #define CAAM_DDAR_DPTR_MASK                      (0xFFFFFFFFFU)
17493 #define CAAM_DDAR_DPTR_SHIFT                     (0U)
17494 #define CAAM_DDAR_DPTR(x)                        (((uint64_t)(((uint64_t)(x)) << CAAM_DDAR_DPTR_SHIFT)) & CAAM_DDAR_DPTR_MASK)
17495 /*! @} */
17496 
17497 /* The count of CAAM_DDAR */
17498 #define CAAM_DDAR_COUNT                          (1U)
17499 
17500 /*! @name DOPSTA_MS - DECO0 Operation Status Register, most-significant half */
17501 /*! @{ */
17502 
17503 #define CAAM_DOPSTA_MS_STATUS_MASK               (0xFFU)
17504 #define CAAM_DOPSTA_MS_STATUS_SHIFT              (0U)
17505 #define CAAM_DOPSTA_MS_STATUS(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DOPSTA_MS_STATUS_SHIFT)) & CAAM_DOPSTA_MS_STATUS_MASK)
17506 
17507 #define CAAM_DOPSTA_MS_COMMAND_INDEX_MASK        (0x7F00U)
17508 #define CAAM_DOPSTA_MS_COMMAND_INDEX_SHIFT       (8U)
17509 #define CAAM_DOPSTA_MS_COMMAND_INDEX(x)          (((uint32_t)(((uint32_t)(x)) << CAAM_DOPSTA_MS_COMMAND_INDEX_SHIFT)) & CAAM_DOPSTA_MS_COMMAND_INDEX_MASK)
17510 
17511 #define CAAM_DOPSTA_MS_NLJ_MASK                  (0x8000000U)
17512 #define CAAM_DOPSTA_MS_NLJ_SHIFT                 (27U)
17513 /*! NLJ
17514  *  0b0..The original job descriptor running in this DECO has not caused another job descriptor to be executed.
17515  *  0b1..The original job descriptor running in this DECO has caused another job descriptor to be executed.
17516  */
17517 #define CAAM_DOPSTA_MS_NLJ(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DOPSTA_MS_NLJ_SHIFT)) & CAAM_DOPSTA_MS_NLJ_MASK)
17518 
17519 #define CAAM_DOPSTA_MS_STATUS_TYPE_MASK          (0xF0000000U)
17520 #define CAAM_DOPSTA_MS_STATUS_TYPE_SHIFT         (28U)
17521 /*! STATUS_TYPE
17522  *  0b0000..no error
17523  *  0b0001..DMA error
17524  *  0b0010..CCB error
17525  *  0b0011..Jump Halt User Status
17526  *  0b0100..DECO error
17527  *  0b0101, 0b0110..Reserved
17528  *  0b0111..Jump Halt Condition Code
17529  */
17530 #define CAAM_DOPSTA_MS_STATUS_TYPE(x)            (((uint32_t)(((uint32_t)(x)) << CAAM_DOPSTA_MS_STATUS_TYPE_SHIFT)) & CAAM_DOPSTA_MS_STATUS_TYPE_MASK)
17531 /*! @} */
17532 
17533 /* The count of CAAM_DOPSTA_MS */
17534 #define CAAM_DOPSTA_MS_COUNT                     (1U)
17535 
17536 /*! @name DOPSTA_LS - DECO0 Operation Status Register, least-significant half */
17537 /*! @{ */
17538 
17539 #define CAAM_DOPSTA_LS_OUT_CT_MASK               (0xFFFFFFFFU)
17540 #define CAAM_DOPSTA_LS_OUT_CT_SHIFT              (0U)
17541 #define CAAM_DOPSTA_LS_OUT_CT(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DOPSTA_LS_OUT_CT_SHIFT)) & CAAM_DOPSTA_LS_OUT_CT_MASK)
17542 /*! @} */
17543 
17544 /* The count of CAAM_DOPSTA_LS */
17545 #define CAAM_DOPSTA_LS_COUNT                     (1U)
17546 
17547 /*! @name DPDIDSR - DECO0 Primary DID Status Register */
17548 /*! @{ */
17549 
17550 #define CAAM_DPDIDSR_PRIM_DID_MASK               (0xFU)
17551 #define CAAM_DPDIDSR_PRIM_DID_SHIFT              (0U)
17552 #define CAAM_DPDIDSR_PRIM_DID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DPDIDSR_PRIM_DID_SHIFT)) & CAAM_DPDIDSR_PRIM_DID_MASK)
17553 
17554 #define CAAM_DPDIDSR_PRIM_ICID_MASK              (0x3FF80000U)
17555 #define CAAM_DPDIDSR_PRIM_ICID_SHIFT             (19U)
17556 #define CAAM_DPDIDSR_PRIM_ICID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DPDIDSR_PRIM_ICID_SHIFT)) & CAAM_DPDIDSR_PRIM_ICID_MASK)
17557 /*! @} */
17558 
17559 /* The count of CAAM_DPDIDSR */
17560 #define CAAM_DPDIDSR_COUNT                       (1U)
17561 
17562 /*! @name DODIDSR - DECO0 Output DID Status Register */
17563 /*! @{ */
17564 
17565 #define CAAM_DODIDSR_OUT_DID_MASK                (0xFU)
17566 #define CAAM_DODIDSR_OUT_DID_SHIFT               (0U)
17567 #define CAAM_DODIDSR_OUT_DID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DODIDSR_OUT_DID_SHIFT)) & CAAM_DODIDSR_OUT_DID_MASK)
17568 
17569 #define CAAM_DODIDSR_OUT_ICID_MASK               (0x3FF80000U)
17570 #define CAAM_DODIDSR_OUT_ICID_SHIFT              (19U)
17571 #define CAAM_DODIDSR_OUT_ICID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DODIDSR_OUT_ICID_SHIFT)) & CAAM_DODIDSR_OUT_ICID_MASK)
17572 /*! @} */
17573 
17574 /* The count of CAAM_DODIDSR */
17575 #define CAAM_DODIDSR_COUNT                       (1U)
17576 
17577 /*! @name DMTH_MS - DECO0 Math Register 0_MS..DECO0 Math Register 3_MS */
17578 /*! @{ */
17579 
17580 #define CAAM_DMTH_MS_MATH_MS_MASK                (0xFFFFFFFFU)
17581 #define CAAM_DMTH_MS_MATH_MS_SHIFT               (0U)
17582 #define CAAM_DMTH_MS_MATH_MS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DMTH_MS_MATH_MS_SHIFT)) & CAAM_DMTH_MS_MATH_MS_MASK)
17583 /*! @} */
17584 
17585 /* The count of CAAM_DMTH_MS */
17586 #define CAAM_DMTH_MS_COUNT                       (1U)
17587 
17588 /* The count of CAAM_DMTH_MS */
17589 #define CAAM_DMTH_MS_COUNT2                      (4U)
17590 
17591 /*! @name DMTH_LS - DECO0 Math Register 0_LS..DECO0 Math Register 3_LS */
17592 /*! @{ */
17593 
17594 #define CAAM_DMTH_LS_MATH_LS_MASK                (0xFFFFFFFFU)
17595 #define CAAM_DMTH_LS_MATH_LS_SHIFT               (0U)
17596 #define CAAM_DMTH_LS_MATH_LS(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DMTH_LS_MATH_LS_SHIFT)) & CAAM_DMTH_LS_MATH_LS_MASK)
17597 /*! @} */
17598 
17599 /* The count of CAAM_DMTH_LS */
17600 #define CAAM_DMTH_LS_COUNT                       (1U)
17601 
17602 /* The count of CAAM_DMTH_LS */
17603 #define CAAM_DMTH_LS_COUNT2                      (4U)
17604 
17605 /*! @name DGTR_0 - DECO0 Gather Table Register 0 Word 0 */
17606 /*! @{ */
17607 
17608 #define CAAM_DGTR_0_ADDRESS_POINTER_MASK         (0xFU)
17609 #define CAAM_DGTR_0_ADDRESS_POINTER_SHIFT        (0U)
17610 /*! ADDRESS_POINTER - most-significant bits of memory address pointed to by table entry
17611  */
17612 #define CAAM_DGTR_0_ADDRESS_POINTER(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_0_ADDRESS_POINTER_SHIFT)) & CAAM_DGTR_0_ADDRESS_POINTER_MASK)
17613 /*! @} */
17614 
17615 /* The count of CAAM_DGTR_0 */
17616 #define CAAM_DGTR_0_COUNT                        (1U)
17617 
17618 /* The count of CAAM_DGTR_0 */
17619 #define CAAM_DGTR_0_COUNT2                       (1U)
17620 
17621 /*! @name DGTR_1 - DECO0 Gather Table Register 0 Word 1 */
17622 /*! @{ */
17623 
17624 #define CAAM_DGTR_1_ADDRESS_POINTER_MASK         (0xFFFFFFFFU)
17625 #define CAAM_DGTR_1_ADDRESS_POINTER_SHIFT        (0U)
17626 #define CAAM_DGTR_1_ADDRESS_POINTER(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_1_ADDRESS_POINTER_SHIFT)) & CAAM_DGTR_1_ADDRESS_POINTER_MASK)
17627 /*! @} */
17628 
17629 /* The count of CAAM_DGTR_1 */
17630 #define CAAM_DGTR_1_COUNT                        (1U)
17631 
17632 /* The count of CAAM_DGTR_1 */
17633 #define CAAM_DGTR_1_COUNT2                       (1U)
17634 
17635 /*! @name DGTR_2 - DECO0 Gather Table Register 0 Word 2 */
17636 /*! @{ */
17637 
17638 #define CAAM_DGTR_2_Length_MASK                  (0x3FFFFFFFU)
17639 #define CAAM_DGTR_2_Length_SHIFT                 (0U)
17640 #define CAAM_DGTR_2_Length(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_2_Length_SHIFT)) & CAAM_DGTR_2_Length_MASK)
17641 
17642 #define CAAM_DGTR_2_F_MASK                       (0x40000000U)
17643 #define CAAM_DGTR_2_F_SHIFT                      (30U)
17644 /*! F
17645  *  0b0..This is not the last entry of the SGT.
17646  *  0b1..This is the last entry of the SGT.
17647  */
17648 #define CAAM_DGTR_2_F(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_2_F_SHIFT)) & CAAM_DGTR_2_F_MASK)
17649 
17650 #define CAAM_DGTR_2_E_MASK                       (0x80000000U)
17651 #define CAAM_DGTR_2_E_SHIFT                      (31U)
17652 /*! E
17653  *  0b0..Address Pointer points to a memory buffer.
17654  *  0b1..Address Pointer points to a Scatter/Gather Table Entry.
17655  */
17656 #define CAAM_DGTR_2_E(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_2_E_SHIFT)) & CAAM_DGTR_2_E_MASK)
17657 /*! @} */
17658 
17659 /* The count of CAAM_DGTR_2 */
17660 #define CAAM_DGTR_2_COUNT                        (1U)
17661 
17662 /* The count of CAAM_DGTR_2 */
17663 #define CAAM_DGTR_2_COUNT2                       (1U)
17664 
17665 /*! @name DGTR_3 - DECO0 Gather Table Register 0 Word 3 */
17666 /*! @{ */
17667 
17668 #define CAAM_DGTR_3_Offset_MASK                  (0x1FFFU)
17669 #define CAAM_DGTR_3_Offset_SHIFT                 (0U)
17670 #define CAAM_DGTR_3_Offset(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DGTR_3_Offset_SHIFT)) & CAAM_DGTR_3_Offset_MASK)
17671 /*! @} */
17672 
17673 /* The count of CAAM_DGTR_3 */
17674 #define CAAM_DGTR_3_COUNT                        (1U)
17675 
17676 /* The count of CAAM_DGTR_3 */
17677 #define CAAM_DGTR_3_COUNT2                       (1U)
17678 
17679 /*! @name DSTR_0 - DECO0 Scatter Table Register 0 Word 0 */
17680 /*! @{ */
17681 
17682 #define CAAM_DSTR_0_ADDRESS_POINTER_MASK         (0xFU)
17683 #define CAAM_DSTR_0_ADDRESS_POINTER_SHIFT        (0U)
17684 /*! ADDRESS_POINTER - most-significant bits of memory address pointed to by table entry
17685  */
17686 #define CAAM_DSTR_0_ADDRESS_POINTER(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_0_ADDRESS_POINTER_SHIFT)) & CAAM_DSTR_0_ADDRESS_POINTER_MASK)
17687 /*! @} */
17688 
17689 /* The count of CAAM_DSTR_0 */
17690 #define CAAM_DSTR_0_COUNT                        (1U)
17691 
17692 /* The count of CAAM_DSTR_0 */
17693 #define CAAM_DSTR_0_COUNT2                       (1U)
17694 
17695 /*! @name DSTR_1 - DECO0 Scatter Table Register 0 Word 1 */
17696 /*! @{ */
17697 
17698 #define CAAM_DSTR_1_ADDRESS_POINTER_MASK         (0xFFFFFFFFU)
17699 #define CAAM_DSTR_1_ADDRESS_POINTER_SHIFT        (0U)
17700 #define CAAM_DSTR_1_ADDRESS_POINTER(x)           (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_1_ADDRESS_POINTER_SHIFT)) & CAAM_DSTR_1_ADDRESS_POINTER_MASK)
17701 /*! @} */
17702 
17703 /* The count of CAAM_DSTR_1 */
17704 #define CAAM_DSTR_1_COUNT                        (1U)
17705 
17706 /* The count of CAAM_DSTR_1 */
17707 #define CAAM_DSTR_1_COUNT2                       (1U)
17708 
17709 /*! @name DSTR_2 - DECO0 Scatter Table Register 0 Word 2 */
17710 /*! @{ */
17711 
17712 #define CAAM_DSTR_2_Length_MASK                  (0x3FFFFFFFU)
17713 #define CAAM_DSTR_2_Length_SHIFT                 (0U)
17714 #define CAAM_DSTR_2_Length(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_2_Length_SHIFT)) & CAAM_DSTR_2_Length_MASK)
17715 
17716 #define CAAM_DSTR_2_F_MASK                       (0x40000000U)
17717 #define CAAM_DSTR_2_F_SHIFT                      (30U)
17718 /*! F
17719  *  0b0..This is not the last entry of the SGT.
17720  *  0b1..This is the last entry of the SGT.
17721  */
17722 #define CAAM_DSTR_2_F(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_2_F_SHIFT)) & CAAM_DSTR_2_F_MASK)
17723 
17724 #define CAAM_DSTR_2_E_MASK                       (0x80000000U)
17725 #define CAAM_DSTR_2_E_SHIFT                      (31U)
17726 /*! E
17727  *  0b0..Address Pointer points to a memory buffer.
17728  *  0b1..Address Pointer points to a Scatter/Gather Table Entry.
17729  */
17730 #define CAAM_DSTR_2_E(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_2_E_SHIFT)) & CAAM_DSTR_2_E_MASK)
17731 /*! @} */
17732 
17733 /* The count of CAAM_DSTR_2 */
17734 #define CAAM_DSTR_2_COUNT                        (1U)
17735 
17736 /* The count of CAAM_DSTR_2 */
17737 #define CAAM_DSTR_2_COUNT2                       (1U)
17738 
17739 /*! @name DSTR_3 - DECO0 Scatter Table Register 0 Word 3 */
17740 /*! @{ */
17741 
17742 #define CAAM_DSTR_3_Offset_MASK                  (0x1FFFU)
17743 #define CAAM_DSTR_3_Offset_SHIFT                 (0U)
17744 #define CAAM_DSTR_3_Offset(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DSTR_3_Offset_SHIFT)) & CAAM_DSTR_3_Offset_MASK)
17745 /*! @} */
17746 
17747 /* The count of CAAM_DSTR_3 */
17748 #define CAAM_DSTR_3_COUNT                        (1U)
17749 
17750 /* The count of CAAM_DSTR_3 */
17751 #define CAAM_DSTR_3_COUNT2                       (1U)
17752 
17753 /*! @name DDESB - DECO0 Descriptor Buffer Word 0..DECO0 Descriptor Buffer Word 63 */
17754 /*! @{ */
17755 
17756 #define CAAM_DDESB_DESBW_MASK                    (0xFFFFFFFFU)
17757 #define CAAM_DDESB_DESBW_SHIFT                   (0U)
17758 #define CAAM_DDESB_DESBW(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_DDESB_DESBW_SHIFT)) & CAAM_DDESB_DESBW_MASK)
17759 /*! @} */
17760 
17761 /* The count of CAAM_DDESB */
17762 #define CAAM_DDESB_COUNT                         (1U)
17763 
17764 /* The count of CAAM_DDESB */
17765 #define CAAM_DDESB_COUNT2                        (64U)
17766 
17767 /*! @name DDJR - DECO0 Debug Job Register */
17768 /*! @{ */
17769 
17770 #define CAAM_DDJR_ID_MASK                        (0x7U)
17771 #define CAAM_DDJR_ID_SHIFT                       (0U)
17772 #define CAAM_DDJR_ID(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_ID_SHIFT)) & CAAM_DDJR_ID_MASK)
17773 
17774 #define CAAM_DDJR_SRC_MASK                       (0x700U)
17775 #define CAAM_DDJR_SRC_SHIFT                      (8U)
17776 /*! SRC
17777  *  0b000..Job Ring 0
17778  *  0b001..Job Ring 1
17779  *  0b010..Job Ring 2
17780  *  0b011..Job Ring 3
17781  *  0b100..RTIC
17782  *  0b101, 0b110, 0b111..Reserved
17783  */
17784 #define CAAM_DDJR_SRC(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_SRC_SHIFT)) & CAAM_DDJR_SRC_MASK)
17785 
17786 #define CAAM_DDJR_JDDS_MASK                      (0x4000U)
17787 #define CAAM_DDJR_JDDS_SHIFT                     (14U)
17788 /*! JDDS
17789  *  0b1..SEQ DID
17790  *  0b0..Non-SEQ DID
17791  */
17792 #define CAAM_DDJR_JDDS(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_JDDS_SHIFT)) & CAAM_DDJR_JDDS_MASK)
17793 
17794 #define CAAM_DDJR_AMTD_MASK                      (0x8000U)
17795 #define CAAM_DDJR_AMTD_SHIFT                     (15U)
17796 /*! AMTD
17797  *  0b0..The Allowed Make Trusted Descriptor bit was NOT set.
17798  *  0b1..The Allowed Make Trusted Descriptor bit was set.
17799  */
17800 #define CAAM_DDJR_AMTD(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_AMTD_SHIFT)) & CAAM_DDJR_AMTD_MASK)
17801 
17802 #define CAAM_DDJR_GSD_MASK                       (0x10000U)
17803 #define CAAM_DDJR_GSD_SHIFT                      (16U)
17804 /*! GSD
17805  *  0b0..Shared Descriptor was NOT obtained from another DECO.
17806  *  0b1..Shared Descriptor was obtained from another DECO.
17807  */
17808 #define CAAM_DDJR_GSD(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_GSD_SHIFT)) & CAAM_DDJR_GSD_MASK)
17809 
17810 #define CAAM_DDJR_DWS_MASK                       (0x80000U)
17811 #define CAAM_DDJR_DWS_SHIFT                      (19U)
17812 /*! DWS
17813  *  0b0..Double Word Swap is NOT set.
17814  *  0b1..Double Word Swap is set.
17815  */
17816 #define CAAM_DDJR_DWS(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_DWS_SHIFT)) & CAAM_DDJR_DWS_MASK)
17817 
17818 #define CAAM_DDJR_SHR_FROM_MASK                  (0x7000000U)
17819 #define CAAM_DDJR_SHR_FROM_SHIFT                 (24U)
17820 #define CAAM_DDJR_SHR_FROM(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_SHR_FROM_SHIFT)) & CAAM_DDJR_SHR_FROM_MASK)
17821 
17822 #define CAAM_DDJR_ILE_MASK                       (0x8000000U)
17823 #define CAAM_DDJR_ILE_SHIFT                      (27U)
17824 /*! ILE
17825  *  0b0..No byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
17826  *  0b1..Byte-swapping is performed for immediate data transferred to or from the Descriptor Buffer.
17827  */
17828 #define CAAM_DDJR_ILE(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_ILE_SHIFT)) & CAAM_DDJR_ILE_MASK)
17829 
17830 #define CAAM_DDJR_FOUR_MASK                      (0x10000000U)
17831 #define CAAM_DDJR_FOUR_SHIFT                     (28U)
17832 /*! FOUR
17833  *  0b0..DECO has not been given at least four words of the descriptor.
17834  *  0b1..DECO has been given at least four words of the descriptor.
17835  */
17836 #define CAAM_DDJR_FOUR(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_FOUR_SHIFT)) & CAAM_DDJR_FOUR_MASK)
17837 
17838 #define CAAM_DDJR_WHL_MASK                       (0x20000000U)
17839 #define CAAM_DDJR_WHL_SHIFT                      (29U)
17840 /*! WHL
17841  *  0b0..DECO has not been given the whole descriptor.
17842  *  0b1..DECO has been given the whole descriptor.
17843  */
17844 #define CAAM_DDJR_WHL(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_WHL_SHIFT)) & CAAM_DDJR_WHL_MASK)
17845 
17846 #define CAAM_DDJR_SING_MASK                      (0x40000000U)
17847 #define CAAM_DDJR_SING_SHIFT                     (30U)
17848 /*! SING
17849  *  0b0..DECO has not been told to execute the descriptor in single-step mode.
17850  *  0b1..DECO has been told to execute the descriptor in single-step mode.
17851  */
17852 #define CAAM_DDJR_SING(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_SING_SHIFT)) & CAAM_DDJR_SING_MASK)
17853 
17854 #define CAAM_DDJR_STEP_MASK                      (0x80000000U)
17855 #define CAAM_DDJR_STEP_SHIFT                     (31U)
17856 /*! STEP
17857  *  0b0..DECO has not been told to execute the next command in the descriptor.
17858  *  0b1..DECO has been told to execute the next command in the descriptor.
17859  */
17860 #define CAAM_DDJR_STEP(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDJR_STEP_SHIFT)) & CAAM_DDJR_STEP_MASK)
17861 /*! @} */
17862 
17863 /* The count of CAAM_DDJR */
17864 #define CAAM_DDJR_COUNT                          (1U)
17865 
17866 /*! @name DDDR - DECO0 Debug DECO Register */
17867 /*! @{ */
17868 
17869 #define CAAM_DDDR_CT_MASK                        (0x1U)
17870 #define CAAM_DDDR_CT_SHIFT                       (0U)
17871 /*! CT
17872  *  0b0..This DECO is NOTcurrently generating the signature of a Trusted Descriptor.
17873  *  0b1..This DECO is currently generating the signature of a Trusted Descriptor.
17874  */
17875 #define CAAM_DDDR_CT(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_CT_SHIFT)) & CAAM_DDDR_CT_MASK)
17876 
17877 #define CAAM_DDDR_BRB_MASK                       (0x2U)
17878 #define CAAM_DDDR_BRB_SHIFT                      (1U)
17879 /*! BRB
17880  *  0b0..The READ machine in the Burster is not busy.
17881  *  0b1..The READ machine in the Burster is busy.
17882  */
17883 #define CAAM_DDDR_BRB(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_BRB_SHIFT)) & CAAM_DDDR_BRB_MASK)
17884 
17885 #define CAAM_DDDR_BWB_MASK                       (0x4U)
17886 #define CAAM_DDDR_BWB_SHIFT                      (2U)
17887 /*! BWB
17888  *  0b0..The WRITE machine in the Burster is not busy.
17889  *  0b1..The WRITE machine in the Burster is busy.
17890  */
17891 #define CAAM_DDDR_BWB(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_BWB_SHIFT)) & CAAM_DDDR_BWB_MASK)
17892 
17893 #define CAAM_DDDR_NC_MASK                        (0x8U)
17894 #define CAAM_DDDR_NC_SHIFT                       (3U)
17895 /*! NC
17896  *  0b0..This DECO is currently executing a command.
17897  *  0b1..This DECO is not currently executing a command.
17898  */
17899 #define CAAM_DDDR_NC(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_NC_SHIFT)) & CAAM_DDDR_NC_MASK)
17900 
17901 #define CAAM_DDDR_CSA_MASK                       (0x10U)
17902 #define CAAM_DDDR_CSA_SHIFT                      (4U)
17903 #define CAAM_DDDR_CSA(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_CSA_SHIFT)) & CAAM_DDDR_CSA_MASK)
17904 
17905 #define CAAM_DDDR_CMD_STAGE_MASK                 (0xE0U)
17906 #define CAAM_DDDR_CMD_STAGE_SHIFT                (5U)
17907 #define CAAM_DDDR_CMD_STAGE(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_CMD_STAGE_SHIFT)) & CAAM_DDDR_CMD_STAGE_MASK)
17908 
17909 #define CAAM_DDDR_CMD_INDEX_MASK                 (0x3F00U)
17910 #define CAAM_DDDR_CMD_INDEX_SHIFT                (8U)
17911 #define CAAM_DDDR_CMD_INDEX(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_CMD_INDEX_SHIFT)) & CAAM_DDDR_CMD_INDEX_MASK)
17912 
17913 #define CAAM_DDDR_NLJ_MASK                       (0x4000U)
17914 #define CAAM_DDDR_NLJ_SHIFT                      (14U)
17915 /*! NLJ
17916  *  0b0..The original job descriptor running in this DECO has not caused another job descriptor to be executed.
17917  *  0b1..The original job descriptor running in this DECO has caused another job descriptor to be executed.
17918  */
17919 #define CAAM_DDDR_NLJ(x)                         (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_NLJ_SHIFT)) & CAAM_DDDR_NLJ_MASK)
17920 
17921 #define CAAM_DDDR_PTCL_RUN_MASK                  (0x8000U)
17922 #define CAAM_DDDR_PTCL_RUN_SHIFT                 (15U)
17923 /*! PTCL_RUN
17924  *  0b0..No protocol is running in this DECO.
17925  *  0b1..A protocol is running in this DECO.
17926  */
17927 #define CAAM_DDDR_PTCL_RUN(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_PTCL_RUN_SHIFT)) & CAAM_DDDR_PTCL_RUN_MASK)
17928 
17929 #define CAAM_DDDR_PDB_STALL_MASK                 (0x30000U)
17930 #define CAAM_DDDR_PDB_STALL_SHIFT                (16U)
17931 #define CAAM_DDDR_PDB_STALL(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_PDB_STALL_SHIFT)) & CAAM_DDDR_PDB_STALL_MASK)
17932 
17933 #define CAAM_DDDR_PDB_WB_ST_MASK                 (0xC0000U)
17934 #define CAAM_DDDR_PDB_WB_ST_SHIFT                (18U)
17935 #define CAAM_DDDR_PDB_WB_ST(x)                   (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_PDB_WB_ST_SHIFT)) & CAAM_DDDR_PDB_WB_ST_MASK)
17936 
17937 #define CAAM_DDDR_DECO_STATE_MASK                (0xF00000U)
17938 #define CAAM_DDDR_DECO_STATE_SHIFT               (20U)
17939 #define CAAM_DDDR_DECO_STATE(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_DECO_STATE_SHIFT)) & CAAM_DDDR_DECO_STATE_MASK)
17940 
17941 #define CAAM_DDDR_NSEQLSEL_MASK                  (0x3000000U)
17942 #define CAAM_DDDR_NSEQLSEL_SHIFT                 (24U)
17943 /*! NSEQLSEL
17944  *  0b01..SEQ DID
17945  *  0b10..Non-SEQ DID
17946  *  0b11..Trusted DID
17947  */
17948 #define CAAM_DDDR_NSEQLSEL(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_NSEQLSEL_SHIFT)) & CAAM_DDDR_NSEQLSEL_MASK)
17949 
17950 #define CAAM_DDDR_SEQLSEL_MASK                   (0xC000000U)
17951 #define CAAM_DDDR_SEQLSEL_SHIFT                  (26U)
17952 /*! SEQLSEL
17953  *  0b01..SEQ DID
17954  *  0b10..Non-SEQ DID
17955  *  0b11..Trusted DID
17956  */
17957 #define CAAM_DDDR_SEQLSEL(x)                     (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_SEQLSEL_SHIFT)) & CAAM_DDDR_SEQLSEL_MASK)
17958 
17959 #define CAAM_DDDR_TRCT_MASK                      (0x30000000U)
17960 #define CAAM_DDDR_TRCT_SHIFT                     (28U)
17961 #define CAAM_DDDR_TRCT(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_TRCT_SHIFT)) & CAAM_DDDR_TRCT_MASK)
17962 
17963 #define CAAM_DDDR_SD_MASK                        (0x40000000U)
17964 #define CAAM_DDDR_SD_SHIFT                       (30U)
17965 /*! SD
17966  *  0b0..This DECO has not received a shared descriptor from another DECO.
17967  *  0b1..This DECO has received a shared descriptor from another DECO.
17968  */
17969 #define CAAM_DDDR_SD(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_SD_SHIFT)) & CAAM_DDDR_SD_MASK)
17970 
17971 #define CAAM_DDDR_VALID_MASK                     (0x80000000U)
17972 #define CAAM_DDDR_VALID_SHIFT                    (31U)
17973 /*! VALID
17974  *  0b0..No descriptor is currently running in this DECO.
17975  *  0b1..There is currently a descriptor running in this DECO.
17976  */
17977 #define CAAM_DDDR_VALID(x)                       (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_VALID_SHIFT)) & CAAM_DDDR_VALID_MASK)
17978 /*! @} */
17979 
17980 /* The count of CAAM_DDDR */
17981 #define CAAM_DDDR_COUNT                          (1U)
17982 
17983 /*! @name DDJP - DECO0 Debug Job Pointer */
17984 /*! @{ */
17985 
17986 #define CAAM_DDJP_JDPTR_MASK                     (0xFFFFFFFFFU)
17987 #define CAAM_DDJP_JDPTR_SHIFT                    (0U)
17988 #define CAAM_DDJP_JDPTR(x)                       (((uint64_t)(((uint64_t)(x)) << CAAM_DDJP_JDPTR_SHIFT)) & CAAM_DDJP_JDPTR_MASK)
17989 /*! @} */
17990 
17991 /* The count of CAAM_DDJP */
17992 #define CAAM_DDJP_COUNT                          (1U)
17993 
17994 /*! @name DSDP - DECO0 Debug Shared Pointer */
17995 /*! @{ */
17996 
17997 #define CAAM_DSDP_SDPTR_MASK                     (0xFFFFFFFFFU)
17998 #define CAAM_DSDP_SDPTR_SHIFT                    (0U)
17999 #define CAAM_DSDP_SDPTR(x)                       (((uint64_t)(((uint64_t)(x)) << CAAM_DSDP_SDPTR_SHIFT)) & CAAM_DSDP_SDPTR_MASK)
18000 /*! @} */
18001 
18002 /* The count of CAAM_DSDP */
18003 #define CAAM_DSDP_COUNT                          (1U)
18004 
18005 /*! @name DDDR_MS - DECO0 Debug DID, most-significant half */
18006 /*! @{ */
18007 
18008 #define CAAM_DDDR_MS_PRIM_DID_MASK               (0xFU)
18009 #define CAAM_DDDR_MS_PRIM_DID_SHIFT              (0U)
18010 #define CAAM_DDDR_MS_PRIM_DID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_MS_PRIM_DID_SHIFT)) & CAAM_DDDR_MS_PRIM_DID_MASK)
18011 
18012 #define CAAM_DDDR_MS_PRIM_TZ_MASK                (0x10U)
18013 #define CAAM_DDDR_MS_PRIM_TZ_SHIFT               (4U)
18014 /*! PRIM_TZ
18015  *  0b0..TrustZone NonSecureWorld
18016  *  0b1..TrustZone SecureWorld
18017  */
18018 #define CAAM_DDDR_MS_PRIM_TZ(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_MS_PRIM_TZ_SHIFT)) & CAAM_DDDR_MS_PRIM_TZ_MASK)
18019 
18020 #define CAAM_DDDR_MS_PRIM_ICID_MASK              (0xFFE0U)
18021 #define CAAM_DDDR_MS_PRIM_ICID_SHIFT             (5U)
18022 #define CAAM_DDDR_MS_PRIM_ICID(x)                (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_MS_PRIM_ICID_SHIFT)) & CAAM_DDDR_MS_PRIM_ICID_MASK)
18023 
18024 #define CAAM_DDDR_MS_OUT_DID_MASK                (0xF0000U)
18025 #define CAAM_DDDR_MS_OUT_DID_SHIFT               (16U)
18026 #define CAAM_DDDR_MS_OUT_DID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_MS_OUT_DID_SHIFT)) & CAAM_DDDR_MS_OUT_DID_MASK)
18027 
18028 #define CAAM_DDDR_MS_OUT_ICID_MASK               (0xFFE00000U)
18029 #define CAAM_DDDR_MS_OUT_ICID_SHIFT              (21U)
18030 #define CAAM_DDDR_MS_OUT_ICID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_MS_OUT_ICID_SHIFT)) & CAAM_DDDR_MS_OUT_ICID_MASK)
18031 /*! @} */
18032 
18033 /* The count of CAAM_DDDR_MS */
18034 #define CAAM_DDDR_MS_COUNT                       (1U)
18035 
18036 /*! @name DDDR_LS - DECO0 Debug DID, least-significant half */
18037 /*! @{ */
18038 
18039 #define CAAM_DDDR_LS_OUT_DID_MASK                (0xFU)
18040 #define CAAM_DDDR_LS_OUT_DID_SHIFT               (0U)
18041 #define CAAM_DDDR_LS_OUT_DID(x)                  (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_LS_OUT_DID_SHIFT)) & CAAM_DDDR_LS_OUT_DID_MASK)
18042 
18043 #define CAAM_DDDR_LS_OUT_ICID_MASK               (0x3FF80000U)
18044 #define CAAM_DDDR_LS_OUT_ICID_SHIFT              (19U)
18045 #define CAAM_DDDR_LS_OUT_ICID(x)                 (((uint32_t)(((uint32_t)(x)) << CAAM_DDDR_LS_OUT_ICID_SHIFT)) & CAAM_DDDR_LS_OUT_ICID_MASK)
18046 /*! @} */
18047 
18048 /* The count of CAAM_DDDR_LS */
18049 #define CAAM_DDDR_LS_COUNT                       (1U)
18050 
18051 /*! @name SOL - Sequence Output Length Register */
18052 /*! @{ */
18053 
18054 #define CAAM_SOL_SOL_MASK                        (0xFFFFFFFFU)
18055 #define CAAM_SOL_SOL_SHIFT                       (0U)
18056 #define CAAM_SOL_SOL(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_SOL_SOL_SHIFT)) & CAAM_SOL_SOL_MASK)
18057 /*! @} */
18058 
18059 /* The count of CAAM_SOL */
18060 #define CAAM_SOL_COUNT                           (1U)
18061 
18062 /*! @name VSOL - Variable Sequence Output Length Register */
18063 /*! @{ */
18064 
18065 #define CAAM_VSOL_VSOL_MASK                      (0xFFFFFFFFU)
18066 #define CAAM_VSOL_VSOL_SHIFT                     (0U)
18067 #define CAAM_VSOL_VSOL(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_VSOL_VSOL_SHIFT)) & CAAM_VSOL_VSOL_MASK)
18068 /*! @} */
18069 
18070 /* The count of CAAM_VSOL */
18071 #define CAAM_VSOL_COUNT                          (1U)
18072 
18073 /*! @name SIL - Sequence Input Length Register */
18074 /*! @{ */
18075 
18076 #define CAAM_SIL_SIL_MASK                        (0xFFFFFFFFU)
18077 #define CAAM_SIL_SIL_SHIFT                       (0U)
18078 #define CAAM_SIL_SIL(x)                          (((uint32_t)(((uint32_t)(x)) << CAAM_SIL_SIL_SHIFT)) & CAAM_SIL_SIL_MASK)
18079 /*! @} */
18080 
18081 /* The count of CAAM_SIL */
18082 #define CAAM_SIL_COUNT                           (1U)
18083 
18084 /*! @name VSIL - Variable Sequence Input Length Register */
18085 /*! @{ */
18086 
18087 #define CAAM_VSIL_VSIL_MASK                      (0xFFFFFFFFU)
18088 #define CAAM_VSIL_VSIL_SHIFT                     (0U)
18089 #define CAAM_VSIL_VSIL(x)                        (((uint32_t)(((uint32_t)(x)) << CAAM_VSIL_VSIL_SHIFT)) & CAAM_VSIL_VSIL_MASK)
18090 /*! @} */
18091 
18092 /* The count of CAAM_VSIL */
18093 #define CAAM_VSIL_COUNT                          (1U)
18094 
18095 /*! @name DPOVRD - Protocol Override Register */
18096 /*! @{ */
18097 
18098 #define CAAM_DPOVRD_DPOVRD_MASK                  (0xFFFFFFFFU)
18099 #define CAAM_DPOVRD_DPOVRD_SHIFT                 (0U)
18100 #define CAAM_DPOVRD_DPOVRD(x)                    (((uint32_t)(((uint32_t)(x)) << CAAM_DPOVRD_DPOVRD_SHIFT)) & CAAM_DPOVRD_DPOVRD_MASK)
18101 /*! @} */
18102 
18103 /* The count of CAAM_DPOVRD */
18104 #define CAAM_DPOVRD_COUNT                        (1U)
18105 
18106 /*! @name UVSOL - Variable Sequence Output Length Register; Upper 32 bits */
18107 /*! @{ */
18108 
18109 #define CAAM_UVSOL_UVSOL_MASK                    (0xFFFFFFFFU)
18110 #define CAAM_UVSOL_UVSOL_SHIFT                   (0U)
18111 #define CAAM_UVSOL_UVSOL(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_UVSOL_UVSOL_SHIFT)) & CAAM_UVSOL_UVSOL_MASK)
18112 /*! @} */
18113 
18114 /* The count of CAAM_UVSOL */
18115 #define CAAM_UVSOL_COUNT                         (1U)
18116 
18117 /*! @name UVSIL - Variable Sequence Input Length Register; Upper 32 bits */
18118 /*! @{ */
18119 
18120 #define CAAM_UVSIL_UVSIL_MASK                    (0xFFFFFFFFU)
18121 #define CAAM_UVSIL_UVSIL_SHIFT                   (0U)
18122 #define CAAM_UVSIL_UVSIL(x)                      (((uint32_t)(((uint32_t)(x)) << CAAM_UVSIL_UVSIL_SHIFT)) & CAAM_UVSIL_UVSIL_MASK)
18123 /*! @} */
18124 
18125 /* The count of CAAM_UVSIL */
18126 #define CAAM_UVSIL_COUNT                         (1U)
18127 
18128 
18129 /*!
18130  * @}
18131  */ /* end of group CAAM_Register_Masks */
18132 
18133 
18134 /* CAAM - Peripheral instance base addresses */
18135 /** Peripheral CAAM base address */
18136 #define CAAM_BASE                                (0x40440000u)
18137 /** Peripheral CAAM base pointer */
18138 #define CAAM                                     ((CAAM_Type *)CAAM_BASE)
18139 /** Array initializer of CAAM peripheral base addresses */
18140 #define CAAM_BASE_ADDRS                          { CAAM_BASE }
18141 /** Array initializer of CAAM peripheral base pointers */
18142 #define CAAM_BASE_PTRS                           { CAAM }
18143 
18144 /*!
18145  * @}
18146  */ /* end of group CAAM_Peripheral_Access_Layer */
18147 
18148 
18149 /* ----------------------------------------------------------------------------
18150    -- CAN Peripheral Access Layer
18151    ---------------------------------------------------------------------------- */
18152 
18153 /*!
18154  * @addtogroup CAN_Peripheral_Access_Layer CAN Peripheral Access Layer
18155  * @{
18156  */
18157 
18158 /** CAN - Register Layout Typedef */
18159 typedef struct {
18160   __IO uint32_t MCR;                               /**< Module Configuration register, offset: 0x0 */
18161   __IO uint32_t CTRL1;                             /**< Control 1 register, offset: 0x4 */
18162   __IO uint32_t TIMER;                             /**< Free Running Timer, offset: 0x8 */
18163        uint8_t RESERVED_0[4];
18164   __IO uint32_t RXMGMASK;                          /**< Rx Mailboxes Global Mask register, offset: 0x10 */
18165   __IO uint32_t RX14MASK;                          /**< Rx 14 Mask register, offset: 0x14 */
18166   __IO uint32_t RX15MASK;                          /**< Rx 15 Mask register, offset: 0x18 */
18167   __IO uint32_t ECR;                               /**< Error Counter, offset: 0x1C */
18168   __IO uint32_t ESR1;                              /**< Error and Status 1 register, offset: 0x20 */
18169   __IO uint32_t IMASK2;                            /**< Interrupt Masks 2 register, offset: 0x24 */
18170   __IO uint32_t IMASK1;                            /**< Interrupt Masks 1 register, offset: 0x28 */
18171   __IO uint32_t IFLAG2;                            /**< Interrupt Flags 2 register, offset: 0x2C */
18172   __IO uint32_t IFLAG1;                            /**< Interrupt Flags 1 register, offset: 0x30 */
18173   __IO uint32_t CTRL2;                             /**< Control 2 register, offset: 0x34 */
18174   __I  uint32_t ESR2;                              /**< Error and Status 2 register, offset: 0x38 */
18175        uint8_t RESERVED_1[8];
18176   __I  uint32_t CRCR;                              /**< CRC register, offset: 0x44 */
18177   __IO uint32_t RXFGMASK;                          /**< Rx FIFO Global Mask register, offset: 0x48 */
18178   __I  uint32_t RXFIR;                             /**< Rx FIFO Information register, offset: 0x4C */
18179   __IO uint32_t CBT;                               /**< CAN Bit Timing register, offset: 0x50 */
18180        uint8_t RESERVED_2[44];
18181   union {                                          /* offset: 0x80 */
18182     struct {                                         /* offset: 0x80, array step: 0x10 */
18183       __IO uint32_t CS;                                /**< Message Buffer 0 CS Register..Message Buffer 63 CS Register, array offset: 0x80, array step: 0x10 */
18184       __IO uint32_t ID;                                /**< Message Buffer 0 ID Register..Message Buffer 63 ID Register, array offset: 0x84, array step: 0x10 */
18185       __IO uint32_t WORD[2];                           /**< Message Buffer 0 WORD_8B Register..Message Buffer 63 WORD_8B Register, array offset: 0x88, array step: index*0x10, index2*0x4 */
18186     } MB_8B[64];
18187     struct {                                         /* offset: 0x80, array step: 0x18 */
18188       __IO uint32_t CS;                                /**< Message Buffer 0 CS Register..Message Buffer 41 CS Register, array offset: 0x80, array step: 0x18 */
18189       __IO uint32_t ID;                                /**< Message Buffer 0 ID Register..Message Buffer 41 ID Register, array offset: 0x84, array step: 0x18 */
18190       __IO uint32_t WORD[4];                           /**< Message Buffer 0 WORD_16B Register..Message Buffer 41 WORD_16B Register, array offset: 0x88, array step: index*0x18, index2*0x4 */
18191     } MB_16B[42];
18192     struct {                                         /* offset: 0x80, array step: 0x28 */
18193       __IO uint32_t CS;                                /**< Message Buffer 0 CS Register..Message Buffer 23 CS Register, array offset: 0x80, array step: 0x28 */
18194       __IO uint32_t ID;                                /**< Message Buffer 0 ID Register..Message Buffer 23 ID Register, array offset: 0x84, array step: 0x28 */
18195       __IO uint32_t WORD[8];                           /**< Message Buffer 0 WORD_32B Register..Message Buffer 23 WORD_32B Register, array offset: 0x88, array step: index*0x28, index2*0x4 */
18196     } MB_32B[24];
18197     struct {                                         /* offset: 0x80, array step: 0x48 */
18198       __IO uint32_t CS;                                /**< Message Buffer 0 CS Register..Message Buffer 13 CS Register, array offset: 0x80, array step: 0x48 */
18199       __IO uint32_t ID;                                /**< Message Buffer 0 ID Register..Message Buffer 13 ID Register, array offset: 0x84, array step: 0x48 */
18200       __IO uint32_t WORD[16];                          /**< Message Buffer 0 WORD_64B Register..Message Buffer 13 WORD_64B Register, array offset: 0x88, array step: index*0x48, index2*0x4 */
18201     } MB_64B[14];
18202     struct {                                         /* offset: 0x80, array step: 0x10 */
18203       __IO uint32_t CS;                                /**< Message Buffer 0 CS Register..Message Buffer 63 CS Register, array offset: 0x80, array step: 0x10 */
18204       __IO uint32_t ID;                                /**< Message Buffer 0 ID Register..Message Buffer 63 ID Register, array offset: 0x84, array step: 0x10 */
18205       __IO uint32_t WORD0;                             /**< Message Buffer 0 WORD0 Register..Message Buffer 63 WORD0 Register, array offset: 0x88, array step: 0x10 */
18206       __IO uint32_t WORD1;                             /**< Message Buffer 0 WORD1 Register..Message Buffer 63 WORD1 Register, array offset: 0x8C, array step: 0x10 */
18207     } MB[64];
18208   };
18209        uint8_t RESERVED_3[1024];
18210   __IO uint32_t RXIMR[64];                         /**< Rx Individual Mask registers, array offset: 0x880, array step: 0x4 */
18211        uint8_t RESERVED_4[352];
18212   __IO uint32_t MECR;                              /**< Memory Error Control register, offset: 0xAE0 */
18213   __IO uint32_t ERRIAR;                            /**< Error Injection Address register, offset: 0xAE4 */
18214   __IO uint32_t ERRIDPR;                           /**< Error Injection Data Pattern register, offset: 0xAE8 */
18215   __IO uint32_t ERRIPPR;                           /**< Error Injection Parity Pattern register, offset: 0xAEC */
18216   __I  uint32_t RERRAR;                            /**< Error Report Address register, offset: 0xAF0 */
18217   __I  uint32_t RERRDR;                            /**< Error Report Data register, offset: 0xAF4 */
18218   __I  uint32_t RERRSYNR;                          /**< Error Report Syndrome register, offset: 0xAF8 */
18219   __IO uint32_t ERRSR;                             /**< Error Status register, offset: 0xAFC */
18220        uint8_t RESERVED_5[256];
18221   __IO uint32_t FDCTRL;                            /**< CAN FD Control register, offset: 0xC00 */
18222   __IO uint32_t FDCBT;                             /**< CAN FD Bit Timing register, offset: 0xC04 */
18223   __I  uint32_t FDCRC;                             /**< CAN FD CRC register, offset: 0xC08 */
18224 } CAN_Type;
18225 
18226 /* ----------------------------------------------------------------------------
18227    -- CAN Register Masks
18228    ---------------------------------------------------------------------------- */
18229 
18230 /*!
18231  * @addtogroup CAN_Register_Masks CAN Register Masks
18232  * @{
18233  */
18234 
18235 /*! @name MCR - Module Configuration register */
18236 /*! @{ */
18237 
18238 #define CAN_MCR_MAXMB_MASK                       (0x7FU)
18239 #define CAN_MCR_MAXMB_SHIFT                      (0U)
18240 /*! MAXMB - Number Of The Last Message Buffer
18241  */
18242 #define CAN_MCR_MAXMB(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_MCR_MAXMB_SHIFT)) & CAN_MCR_MAXMB_MASK)
18243 
18244 #define CAN_MCR_IDAM_MASK                        (0x300U)
18245 #define CAN_MCR_IDAM_SHIFT                       (8U)
18246 /*! IDAM - ID Acceptance Mode
18247  *  0b00..Format A: One full ID (standard and extended) per ID filter table element.
18248  *  0b01..Format B: Two full standard IDs or two partial 14-bit (standard and extended) IDs per ID filter table element.
18249  *  0b10..Format C: Four partial 8-bit standard IDs per ID filter table element.
18250  *  0b11..Format D: All frames rejected.
18251  */
18252 #define CAN_MCR_IDAM(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_IDAM_SHIFT)) & CAN_MCR_IDAM_MASK)
18253 
18254 #define CAN_MCR_FDEN_MASK                        (0x800U)
18255 #define CAN_MCR_FDEN_SHIFT                       (11U)
18256 /*! FDEN - CAN FD operation enable
18257  *  0b1..CAN FD is enabled. FlexCAN is able to receive and transmit messages in both CAN FD and CAN 2.0 formats.
18258  *  0b0..CAN FD is disabled. FlexCAN is able to receive and transmit messages in CAN 2.0 format.
18259  */
18260 #define CAN_MCR_FDEN(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_FDEN_SHIFT)) & CAN_MCR_FDEN_MASK)
18261 
18262 #define CAN_MCR_AEN_MASK                         (0x1000U)
18263 #define CAN_MCR_AEN_SHIFT                        (12U)
18264 /*! AEN - Abort Enable
18265  *  0b0..Abort disabled.
18266  *  0b1..Abort enabled.
18267  */
18268 #define CAN_MCR_AEN(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_MCR_AEN_SHIFT)) & CAN_MCR_AEN_MASK)
18269 
18270 #define CAN_MCR_LPRIOEN_MASK                     (0x2000U)
18271 #define CAN_MCR_LPRIOEN_SHIFT                    (13U)
18272 /*! LPRIOEN - Local Priority Enable
18273  *  0b0..Local Priority disabled.
18274  *  0b1..Local Priority enabled.
18275  */
18276 #define CAN_MCR_LPRIOEN(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_MCR_LPRIOEN_SHIFT)) & CAN_MCR_LPRIOEN_MASK)
18277 
18278 #define CAN_MCR_DMA_MASK                         (0x8000U)
18279 #define CAN_MCR_DMA_SHIFT                        (15U)
18280 /*! DMA - DMA Enable
18281  *  0b0..DMA feature for RX FIFO disabled.
18282  *  0b1..DMA feature for RX FIFO enabled.
18283  */
18284 #define CAN_MCR_DMA(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_MCR_DMA_SHIFT)) & CAN_MCR_DMA_MASK)
18285 
18286 #define CAN_MCR_IRMQ_MASK                        (0x10000U)
18287 #define CAN_MCR_IRMQ_SHIFT                       (16U)
18288 /*! IRMQ - Individual Rx Masking And Queue Enable
18289  *  0b0..Individual Rx masking and queue feature are disabled. For backward compatibility with legacy
18290  *       applications, the reading of C/S word locks the MB even if it is EMPTY.
18291  *  0b1..Individual Rx masking and queue feature are enabled.
18292  */
18293 #define CAN_MCR_IRMQ(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_IRMQ_SHIFT)) & CAN_MCR_IRMQ_MASK)
18294 
18295 #define CAN_MCR_SRXDIS_MASK                      (0x20000U)
18296 #define CAN_MCR_SRXDIS_SHIFT                     (17U)
18297 /*! SRXDIS - Self Reception Disable
18298  *  0b0..Self-reception enabled.
18299  *  0b1..Self-reception disabled.
18300  */
18301 #define CAN_MCR_SRXDIS(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_SRXDIS_SHIFT)) & CAN_MCR_SRXDIS_MASK)
18302 
18303 #define CAN_MCR_DOZE_MASK                        (0x40000U)
18304 #define CAN_MCR_DOZE_SHIFT                       (18U)
18305 /*! DOZE - Doze Mode Enable
18306  *  0b0..FlexCAN is not enabled to enter low-power mode when Doze mode is requested.
18307  *  0b1..FlexCAN is enabled to enter low-power mode when Doze mode is requested.
18308  */
18309 #define CAN_MCR_DOZE(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_DOZE_SHIFT)) & CAN_MCR_DOZE_MASK)
18310 
18311 #define CAN_MCR_WAKSRC_MASK                      (0x80000U)
18312 #define CAN_MCR_WAKSRC_SHIFT                     (19U)
18313 /*! WAKSRC - Wake Up Source
18314  *  0b0..FlexCAN uses the unfiltered Rx input to detect recessive to dominant edges on the CAN bus.
18315  *  0b1..FlexCAN uses the filtered Rx input to detect recessive to dominant edges on the CAN bus.
18316  */
18317 #define CAN_MCR_WAKSRC(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_WAKSRC_SHIFT)) & CAN_MCR_WAKSRC_MASK)
18318 
18319 #define CAN_MCR_LPMACK_MASK                      (0x100000U)
18320 #define CAN_MCR_LPMACK_SHIFT                     (20U)
18321 /*! LPMACK - Low-Power Mode Acknowledge
18322  *  0b0..FlexCAN is not in a low-power mode.
18323  *  0b1..FlexCAN is in a low-power mode.
18324  */
18325 #define CAN_MCR_LPMACK(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_LPMACK_SHIFT)) & CAN_MCR_LPMACK_MASK)
18326 
18327 #define CAN_MCR_WRNEN_MASK                       (0x200000U)
18328 #define CAN_MCR_WRNEN_SHIFT                      (21U)
18329 /*! WRNEN - Warning Interrupt Enable
18330  *  0b0..TWRNINT and RWRNINT bits are zero, independent of the values in the error counters.
18331  *  0b1..TWRNINT and RWRNINT bits are set when the respective error counter transitions from less than 96 to greater than or equal to 96.
18332  */
18333 #define CAN_MCR_WRNEN(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_MCR_WRNEN_SHIFT)) & CAN_MCR_WRNEN_MASK)
18334 
18335 #define CAN_MCR_SLFWAK_MASK                      (0x400000U)
18336 #define CAN_MCR_SLFWAK_SHIFT                     (22U)
18337 /*! SLFWAK - Self Wake Up
18338  *  0b0..FlexCAN Self Wake Up feature is disabled.
18339  *  0b1..FlexCAN Self Wake Up feature is enabled.
18340  */
18341 #define CAN_MCR_SLFWAK(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_SLFWAK_SHIFT)) & CAN_MCR_SLFWAK_MASK)
18342 
18343 #define CAN_MCR_SUPV_MASK                        (0x800000U)
18344 #define CAN_MCR_SUPV_SHIFT                       (23U)
18345 /*! SUPV - Supervisor Mode
18346  *  0b0..FlexCAN is in User mode. Affected registers allow both Supervisor and Unrestricted accesses.
18347  *  0b1..FlexCAN is in Supervisor mode. Affected registers allow only Supervisor access. Unrestricted access
18348  *       behaves as though the access was done to an unimplemented register location.
18349  */
18350 #define CAN_MCR_SUPV(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_SUPV_SHIFT)) & CAN_MCR_SUPV_MASK)
18351 
18352 #define CAN_MCR_FRZACK_MASK                      (0x1000000U)
18353 #define CAN_MCR_FRZACK_SHIFT                     (24U)
18354 /*! FRZACK - Freeze Mode Acknowledge
18355  *  0b0..FlexCAN not in Freeze mode, prescaler running.
18356  *  0b1..FlexCAN in Freeze mode, prescaler stopped.
18357  */
18358 #define CAN_MCR_FRZACK(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_FRZACK_SHIFT)) & CAN_MCR_FRZACK_MASK)
18359 
18360 #define CAN_MCR_SOFTRST_MASK                     (0x2000000U)
18361 #define CAN_MCR_SOFTRST_SHIFT                    (25U)
18362 /*! SOFTRST - Soft Reset
18363  *  0b0..No reset request.
18364  *  0b1..Resets the registers affected by soft reset.
18365  */
18366 #define CAN_MCR_SOFTRST(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_MCR_SOFTRST_SHIFT)) & CAN_MCR_SOFTRST_MASK)
18367 
18368 #define CAN_MCR_WAKMSK_MASK                      (0x4000000U)
18369 #define CAN_MCR_WAKMSK_SHIFT                     (26U)
18370 /*! WAKMSK - Wake Up Interrupt Mask
18371  *  0b0..Wake Up interrupt is disabled.
18372  *  0b1..Wake Up interrupt is enabled.
18373  */
18374 #define CAN_MCR_WAKMSK(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_WAKMSK_SHIFT)) & CAN_MCR_WAKMSK_MASK)
18375 
18376 #define CAN_MCR_NOTRDY_MASK                      (0x8000000U)
18377 #define CAN_MCR_NOTRDY_SHIFT                     (27U)
18378 /*! NOTRDY - FlexCAN Not Ready
18379  *  0b0..FlexCAN module is either in Normal mode, Listen-Only mode, or Loop-Back mode.
18380  *  0b1..FlexCAN module is either in Disable mode, Doze mode, Stop mode, or Freeze mode.
18381  */
18382 #define CAN_MCR_NOTRDY(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_MCR_NOTRDY_SHIFT)) & CAN_MCR_NOTRDY_MASK)
18383 
18384 #define CAN_MCR_HALT_MASK                        (0x10000000U)
18385 #define CAN_MCR_HALT_SHIFT                       (28U)
18386 /*! HALT - Halt FlexCAN
18387  *  0b0..No Freeze mode request.
18388  *  0b1..Enters Freeze mode if the FRZ bit is asserted.
18389  */
18390 #define CAN_MCR_HALT(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_HALT_SHIFT)) & CAN_MCR_HALT_MASK)
18391 
18392 #define CAN_MCR_RFEN_MASK                        (0x20000000U)
18393 #define CAN_MCR_RFEN_SHIFT                       (29U)
18394 /*! RFEN - Rx FIFO Enable
18395  *  0b0..Rx FIFO not enabled.
18396  *  0b1..Rx FIFO enabled.
18397  */
18398 #define CAN_MCR_RFEN(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_RFEN_SHIFT)) & CAN_MCR_RFEN_MASK)
18399 
18400 #define CAN_MCR_FRZ_MASK                         (0x40000000U)
18401 #define CAN_MCR_FRZ_SHIFT                        (30U)
18402 /*! FRZ - Freeze Enable
18403  *  0b0..Not enabled to enter Freeze mode.
18404  *  0b1..Enabled to enter Freeze mode.
18405  */
18406 #define CAN_MCR_FRZ(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_MCR_FRZ_SHIFT)) & CAN_MCR_FRZ_MASK)
18407 
18408 #define CAN_MCR_MDIS_MASK                        (0x80000000U)
18409 #define CAN_MCR_MDIS_SHIFT                       (31U)
18410 /*! MDIS - Module Disable
18411  *  0b0..Enable the FlexCAN module.
18412  *  0b1..Disable the FlexCAN module.
18413  */
18414 #define CAN_MCR_MDIS(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_MCR_MDIS_SHIFT)) & CAN_MCR_MDIS_MASK)
18415 /*! @} */
18416 
18417 /*! @name CTRL1 - Control 1 register */
18418 /*! @{ */
18419 
18420 #define CAN_CTRL1_PROPSEG_MASK                   (0x7U)
18421 #define CAN_CTRL1_PROPSEG_SHIFT                  (0U)
18422 /*! PROPSEG - Propagation Segment
18423  */
18424 #define CAN_CTRL1_PROPSEG(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_PROPSEG_SHIFT)) & CAN_CTRL1_PROPSEG_MASK)
18425 
18426 #define CAN_CTRL1_LOM_MASK                       (0x8U)
18427 #define CAN_CTRL1_LOM_SHIFT                      (3U)
18428 /*! LOM - Listen-Only Mode
18429  *  0b0..Listen-Only mode is deactivated.
18430  *  0b1..FlexCAN module operates in Listen-Only mode.
18431  */
18432 #define CAN_CTRL1_LOM(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_LOM_SHIFT)) & CAN_CTRL1_LOM_MASK)
18433 
18434 #define CAN_CTRL1_LBUF_MASK                      (0x10U)
18435 #define CAN_CTRL1_LBUF_SHIFT                     (4U)
18436 /*! LBUF - Lowest Buffer Transmitted First
18437  *  0b0..Buffer with highest priority is transmitted first.
18438  *  0b1..Lowest number buffer is transmitted first.
18439  */
18440 #define CAN_CTRL1_LBUF(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_LBUF_SHIFT)) & CAN_CTRL1_LBUF_MASK)
18441 
18442 #define CAN_CTRL1_TSYN_MASK                      (0x20U)
18443 #define CAN_CTRL1_TSYN_SHIFT                     (5U)
18444 /*! TSYN - Timer Sync
18445  *  0b0..Timer sync feature disabled
18446  *  0b1..Timer sync feature enabled
18447  */
18448 #define CAN_CTRL1_TSYN(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_TSYN_SHIFT)) & CAN_CTRL1_TSYN_MASK)
18449 
18450 #define CAN_CTRL1_BOFFREC_MASK                   (0x40U)
18451 #define CAN_CTRL1_BOFFREC_SHIFT                  (6U)
18452 /*! BOFFREC - Bus Off Recovery
18453  *  0b0..Automatic recovering from Bus Off state enabled.
18454  *  0b1..Automatic recovering from Bus Off state disabled.
18455  */
18456 #define CAN_CTRL1_BOFFREC(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_BOFFREC_SHIFT)) & CAN_CTRL1_BOFFREC_MASK)
18457 
18458 #define CAN_CTRL1_SMP_MASK                       (0x80U)
18459 #define CAN_CTRL1_SMP_SHIFT                      (7U)
18460 /*! SMP - CAN Bit Sampling
18461  *  0b0..Just one sample is used to determine the bit value.
18462  *  0b1..Three samples are used to determine the value of the received bit: the regular one (sample point) and two
18463  *       preceding samples; a majority rule is used.
18464  */
18465 #define CAN_CTRL1_SMP(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_SMP_SHIFT)) & CAN_CTRL1_SMP_MASK)
18466 
18467 #define CAN_CTRL1_RWRNMSK_MASK                   (0x400U)
18468 #define CAN_CTRL1_RWRNMSK_SHIFT                  (10U)
18469 /*! RWRNMSK - Rx Warning Interrupt Mask
18470  *  0b0..Rx Warning interrupt disabled.
18471  *  0b1..Rx Warning interrupt enabled.
18472  */
18473 #define CAN_CTRL1_RWRNMSK(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_RWRNMSK_SHIFT)) & CAN_CTRL1_RWRNMSK_MASK)
18474 
18475 #define CAN_CTRL1_TWRNMSK_MASK                   (0x800U)
18476 #define CAN_CTRL1_TWRNMSK_SHIFT                  (11U)
18477 /*! TWRNMSK - Tx Warning Interrupt Mask
18478  *  0b0..Tx Warning interrupt disabled.
18479  *  0b1..Tx Warning interrupt enabled.
18480  */
18481 #define CAN_CTRL1_TWRNMSK(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_TWRNMSK_SHIFT)) & CAN_CTRL1_TWRNMSK_MASK)
18482 
18483 #define CAN_CTRL1_LPB_MASK                       (0x1000U)
18484 #define CAN_CTRL1_LPB_SHIFT                      (12U)
18485 /*! LPB - Loop Back Mode
18486  *  0b0..Loop Back disabled.
18487  *  0b1..Loop Back enabled.
18488  */
18489 #define CAN_CTRL1_LPB(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_LPB_SHIFT)) & CAN_CTRL1_LPB_MASK)
18490 
18491 #define CAN_CTRL1_CLKSRC_MASK                    (0x2000U)
18492 #define CAN_CTRL1_CLKSRC_SHIFT                   (13U)
18493 /*! CLKSRC - CAN Engine Clock Source
18494  *  0b0..The CAN engine clock source is the oscillator clock. Under this condition, the oscillator clock frequency must be lower than the bus clock.
18495  *  0b1..The CAN engine clock source is the peripheral clock.
18496  */
18497 #define CAN_CTRL1_CLKSRC(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_CLKSRC_SHIFT)) & CAN_CTRL1_CLKSRC_MASK)
18498 
18499 #define CAN_CTRL1_ERRMSK_MASK                    (0x4000U)
18500 #define CAN_CTRL1_ERRMSK_SHIFT                   (14U)
18501 /*! ERRMSK - Error Interrupt Mask
18502  *  0b0..Error interrupt disabled.
18503  *  0b1..Error interrupt enabled.
18504  */
18505 #define CAN_CTRL1_ERRMSK(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_ERRMSK_SHIFT)) & CAN_CTRL1_ERRMSK_MASK)
18506 
18507 #define CAN_CTRL1_BOFFMSK_MASK                   (0x8000U)
18508 #define CAN_CTRL1_BOFFMSK_SHIFT                  (15U)
18509 /*! BOFFMSK - Bus Off Interrupt Mask
18510  *  0b0..Bus Off interrupt disabled.
18511  *  0b1..Bus Off interrupt enabled.
18512  */
18513 #define CAN_CTRL1_BOFFMSK(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_BOFFMSK_SHIFT)) & CAN_CTRL1_BOFFMSK_MASK)
18514 
18515 #define CAN_CTRL1_PSEG2_MASK                     (0x70000U)
18516 #define CAN_CTRL1_PSEG2_SHIFT                    (16U)
18517 /*! PSEG2 - Phase Segment 2
18518  */
18519 #define CAN_CTRL1_PSEG2(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_PSEG2_SHIFT)) & CAN_CTRL1_PSEG2_MASK)
18520 
18521 #define CAN_CTRL1_PSEG1_MASK                     (0x380000U)
18522 #define CAN_CTRL1_PSEG1_SHIFT                    (19U)
18523 /*! PSEG1 - Phase Segment 1
18524  */
18525 #define CAN_CTRL1_PSEG1(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_PSEG1_SHIFT)) & CAN_CTRL1_PSEG1_MASK)
18526 
18527 #define CAN_CTRL1_RJW_MASK                       (0xC00000U)
18528 #define CAN_CTRL1_RJW_SHIFT                      (22U)
18529 /*! RJW - Resync Jump Width
18530  */
18531 #define CAN_CTRL1_RJW(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_RJW_SHIFT)) & CAN_CTRL1_RJW_MASK)
18532 
18533 #define CAN_CTRL1_PRESDIV_MASK                   (0xFF000000U)
18534 #define CAN_CTRL1_PRESDIV_SHIFT                  (24U)
18535 /*! PRESDIV - Prescaler Division Factor
18536  */
18537 #define CAN_CTRL1_PRESDIV(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL1_PRESDIV_SHIFT)) & CAN_CTRL1_PRESDIV_MASK)
18538 /*! @} */
18539 
18540 /*! @name TIMER - Free Running Timer */
18541 /*! @{ */
18542 
18543 #define CAN_TIMER_TIMER_MASK                     (0xFFFFU)
18544 #define CAN_TIMER_TIMER_SHIFT                    (0U)
18545 /*! TIMER - Timer Value
18546  */
18547 #define CAN_TIMER_TIMER(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_TIMER_TIMER_SHIFT)) & CAN_TIMER_TIMER_MASK)
18548 /*! @} */
18549 
18550 /*! @name RXMGMASK - Rx Mailboxes Global Mask register */
18551 /*! @{ */
18552 
18553 #define CAN_RXMGMASK_MG_MASK                     (0xFFFFFFFFU)
18554 #define CAN_RXMGMASK_MG_SHIFT                    (0U)
18555 /*! MG - Rx Mailboxes Global Mask Bits
18556  */
18557 #define CAN_RXMGMASK_MG(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_RXMGMASK_MG_SHIFT)) & CAN_RXMGMASK_MG_MASK)
18558 /*! @} */
18559 
18560 /*! @name RX14MASK - Rx 14 Mask register */
18561 /*! @{ */
18562 
18563 #define CAN_RX14MASK_RX14M_MASK                  (0xFFFFFFFFU)
18564 #define CAN_RX14MASK_RX14M_SHIFT                 (0U)
18565 /*! RX14M - Rx Buffer 14 Mask Bits
18566  */
18567 #define CAN_RX14MASK_RX14M(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RX14MASK_RX14M_SHIFT)) & CAN_RX14MASK_RX14M_MASK)
18568 /*! @} */
18569 
18570 /*! @name RX15MASK - Rx 15 Mask register */
18571 /*! @{ */
18572 
18573 #define CAN_RX15MASK_RX15M_MASK                  (0xFFFFFFFFU)
18574 #define CAN_RX15MASK_RX15M_SHIFT                 (0U)
18575 /*! RX15M - Rx Buffer 15 Mask Bits
18576  */
18577 #define CAN_RX15MASK_RX15M(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RX15MASK_RX15M_SHIFT)) & CAN_RX15MASK_RX15M_MASK)
18578 /*! @} */
18579 
18580 /*! @name ECR - Error Counter */
18581 /*! @{ */
18582 
18583 #define CAN_ECR_TXERRCNT_MASK                    (0xFFU)
18584 #define CAN_ECR_TXERRCNT_SHIFT                   (0U)
18585 /*! TXERRCNT - Transmit Error Counter
18586  */
18587 #define CAN_ECR_TXERRCNT(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ECR_TXERRCNT_SHIFT)) & CAN_ECR_TXERRCNT_MASK)
18588 
18589 #define CAN_ECR_RXERRCNT_MASK                    (0xFF00U)
18590 #define CAN_ECR_RXERRCNT_SHIFT                   (8U)
18591 /*! RXERRCNT - Receive Error Counter
18592  */
18593 #define CAN_ECR_RXERRCNT(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ECR_RXERRCNT_SHIFT)) & CAN_ECR_RXERRCNT_MASK)
18594 
18595 #define CAN_ECR_TXERRCNT_FAST_MASK               (0xFF0000U)
18596 #define CAN_ECR_TXERRCNT_FAST_SHIFT              (16U)
18597 /*! TXERRCNT_FAST - Transmit Error Counter for fast bits
18598  */
18599 #define CAN_ECR_TXERRCNT_FAST(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_ECR_TXERRCNT_FAST_SHIFT)) & CAN_ECR_TXERRCNT_FAST_MASK)
18600 
18601 #define CAN_ECR_RXERRCNT_FAST_MASK               (0xFF000000U)
18602 #define CAN_ECR_RXERRCNT_FAST_SHIFT              (24U)
18603 /*! RXERRCNT_FAST - Receive Error Counter for fast bits
18604  */
18605 #define CAN_ECR_RXERRCNT_FAST(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_ECR_RXERRCNT_FAST_SHIFT)) & CAN_ECR_RXERRCNT_FAST_MASK)
18606 /*! @} */
18607 
18608 /*! @name ESR1 - Error and Status 1 register */
18609 /*! @{ */
18610 
18611 #define CAN_ESR1_WAKINT_MASK                     (0x1U)
18612 #define CAN_ESR1_WAKINT_SHIFT                    (0U)
18613 /*! WAKINT - Wake-Up Interrupt
18614  *  0b0..No such occurrence.
18615  *  0b1..Indicates a recessive to dominant transition was received on the CAN bus.
18616  */
18617 #define CAN_ESR1_WAKINT(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_WAKINT_SHIFT)) & CAN_ESR1_WAKINT_MASK)
18618 
18619 #define CAN_ESR1_ERRINT_MASK                     (0x2U)
18620 #define CAN_ESR1_ERRINT_SHIFT                    (1U)
18621 /*! ERRINT - Error Interrupt
18622  *  0b0..No such occurrence.
18623  *  0b1..Indicates setting of any error bit in the Error and Status register.
18624  */
18625 #define CAN_ESR1_ERRINT(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_ERRINT_SHIFT)) & CAN_ESR1_ERRINT_MASK)
18626 
18627 #define CAN_ESR1_BOFFINT_MASK                    (0x4U)
18628 #define CAN_ESR1_BOFFINT_SHIFT                   (2U)
18629 /*! BOFFINT - Bus Off Interrupt
18630  *  0b0..No such occurrence.
18631  *  0b1..FlexCAN module entered Bus Off state.
18632  */
18633 #define CAN_ESR1_BOFFINT(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BOFFINT_SHIFT)) & CAN_ESR1_BOFFINT_MASK)
18634 
18635 #define CAN_ESR1_RX_MASK                         (0x8U)
18636 #define CAN_ESR1_RX_SHIFT                        (3U)
18637 /*! RX - FlexCAN In Reception
18638  *  0b0..FlexCAN is not receiving a message.
18639  *  0b1..FlexCAN is receiving a message.
18640  */
18641 #define CAN_ESR1_RX(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_RX_SHIFT)) & CAN_ESR1_RX_MASK)
18642 
18643 #define CAN_ESR1_FLTCONF_MASK                    (0x30U)
18644 #define CAN_ESR1_FLTCONF_SHIFT                   (4U)
18645 /*! FLTCONF - Fault Confinement State
18646  *  0b00..Error Active
18647  *  0b01..Error Passive
18648  *  0b1x..Bus Off
18649  */
18650 #define CAN_ESR1_FLTCONF(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_FLTCONF_SHIFT)) & CAN_ESR1_FLTCONF_MASK)
18651 
18652 #define CAN_ESR1_TX_MASK                         (0x40U)
18653 #define CAN_ESR1_TX_SHIFT                        (6U)
18654 /*! TX - FlexCAN In Transmission
18655  *  0b0..FlexCAN is not transmitting a message.
18656  *  0b1..FlexCAN is transmitting a message.
18657  */
18658 #define CAN_ESR1_TX(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_TX_SHIFT)) & CAN_ESR1_TX_MASK)
18659 
18660 #define CAN_ESR1_IDLE_MASK                       (0x80U)
18661 #define CAN_ESR1_IDLE_SHIFT                      (7U)
18662 /*! IDLE - IDLE
18663  *  0b0..No such occurrence.
18664  *  0b1..CAN bus is now IDLE.
18665  */
18666 #define CAN_ESR1_IDLE(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_IDLE_SHIFT)) & CAN_ESR1_IDLE_MASK)
18667 
18668 #define CAN_ESR1_RXWRN_MASK                      (0x100U)
18669 #define CAN_ESR1_RXWRN_SHIFT                     (8U)
18670 /*! RXWRN - Rx Error Warning
18671  *  0b0..No such occurrence.
18672  *  0b1..RXERRCNT is greater than or equal to 96.
18673  */
18674 #define CAN_ESR1_RXWRN(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_RXWRN_SHIFT)) & CAN_ESR1_RXWRN_MASK)
18675 
18676 #define CAN_ESR1_TXWRN_MASK                      (0x200U)
18677 #define CAN_ESR1_TXWRN_SHIFT                     (9U)
18678 /*! TXWRN - TX Error Warning
18679  *  0b0..No such occurrence.
18680  *  0b1..TXERRCNT is greater than or equal to 96.
18681  */
18682 #define CAN_ESR1_TXWRN(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_TXWRN_SHIFT)) & CAN_ESR1_TXWRN_MASK)
18683 
18684 #define CAN_ESR1_STFERR_MASK                     (0x400U)
18685 #define CAN_ESR1_STFERR_SHIFT                    (10U)
18686 /*! STFERR - Stuffing Error
18687  *  0b0..No such occurrence.
18688  *  0b1..A stuffing error occurred since last read of this register.
18689  */
18690 #define CAN_ESR1_STFERR(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_STFERR_SHIFT)) & CAN_ESR1_STFERR_MASK)
18691 
18692 #define CAN_ESR1_FRMERR_MASK                     (0x800U)
18693 #define CAN_ESR1_FRMERR_SHIFT                    (11U)
18694 /*! FRMERR - Form Error
18695  *  0b0..No such occurrence.
18696  *  0b1..A Form Error occurred since last read of this register.
18697  */
18698 #define CAN_ESR1_FRMERR(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_FRMERR_SHIFT)) & CAN_ESR1_FRMERR_MASK)
18699 
18700 #define CAN_ESR1_CRCERR_MASK                     (0x1000U)
18701 #define CAN_ESR1_CRCERR_SHIFT                    (12U)
18702 /*! CRCERR - Cyclic Redundancy Check Error
18703  *  0b0..No such occurrence.
18704  *  0b1..A CRC error occurred since last read of this register.
18705  */
18706 #define CAN_ESR1_CRCERR(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_CRCERR_SHIFT)) & CAN_ESR1_CRCERR_MASK)
18707 
18708 #define CAN_ESR1_ACKERR_MASK                     (0x2000U)
18709 #define CAN_ESR1_ACKERR_SHIFT                    (13U)
18710 /*! ACKERR - Acknowledge Error
18711  *  0b0..No such occurrence.
18712  *  0b1..An ACK error occurred since last read of this register.
18713  */
18714 #define CAN_ESR1_ACKERR(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_ACKERR_SHIFT)) & CAN_ESR1_ACKERR_MASK)
18715 
18716 #define CAN_ESR1_BIT0ERR_MASK                    (0x4000U)
18717 #define CAN_ESR1_BIT0ERR_SHIFT                   (14U)
18718 /*! BIT0ERR - Bit0 Error
18719  *  0b0..No such occurrence.
18720  *  0b1..At least one bit sent as dominant is received as recessive.
18721  */
18722 #define CAN_ESR1_BIT0ERR(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BIT0ERR_SHIFT)) & CAN_ESR1_BIT0ERR_MASK)
18723 
18724 #define CAN_ESR1_BIT1ERR_MASK                    (0x8000U)
18725 #define CAN_ESR1_BIT1ERR_SHIFT                   (15U)
18726 /*! BIT1ERR - Bit1 Error
18727  *  0b0..No such occurrence.
18728  *  0b1..At least one bit sent as recessive is received as dominant.
18729  */
18730 #define CAN_ESR1_BIT1ERR(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BIT1ERR_SHIFT)) & CAN_ESR1_BIT1ERR_MASK)
18731 
18732 #define CAN_ESR1_RWRNINT_MASK                    (0x10000U)
18733 #define CAN_ESR1_RWRNINT_SHIFT                   (16U)
18734 /*! RWRNINT - Rx Warning Interrupt Flag
18735  *  0b0..No such occurrence.
18736  *  0b1..The Rx error counter transitioned from less than 96 to greater than or equal to 96.
18737  */
18738 #define CAN_ESR1_RWRNINT(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_RWRNINT_SHIFT)) & CAN_ESR1_RWRNINT_MASK)
18739 
18740 #define CAN_ESR1_TWRNINT_MASK                    (0x20000U)
18741 #define CAN_ESR1_TWRNINT_SHIFT                   (17U)
18742 /*! TWRNINT - Tx Warning Interrupt Flag
18743  *  0b0..No such occurrence.
18744  *  0b1..The Tx error counter transitioned from less than 96 to greater than or equal to 96.
18745  */
18746 #define CAN_ESR1_TWRNINT(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_TWRNINT_SHIFT)) & CAN_ESR1_TWRNINT_MASK)
18747 
18748 #define CAN_ESR1_SYNCH_MASK                      (0x40000U)
18749 #define CAN_ESR1_SYNCH_SHIFT                     (18U)
18750 /*! SYNCH - CAN Synchronization Status
18751  *  0b0..FlexCAN is not synchronized to the CAN bus.
18752  *  0b1..FlexCAN is synchronized to the CAN bus.
18753  */
18754 #define CAN_ESR1_SYNCH(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_SYNCH_SHIFT)) & CAN_ESR1_SYNCH_MASK)
18755 
18756 #define CAN_ESR1_BOFFDONEINT_MASK                (0x80000U)
18757 #define CAN_ESR1_BOFFDONEINT_SHIFT               (19U)
18758 /*! BOFFDONEINT - Bus Off Done Interrupt
18759  *  0b0..No such occurrence.
18760  *  0b1..FlexCAN module has completed Bus Off process.
18761  */
18762 #define CAN_ESR1_BOFFDONEINT(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BOFFDONEINT_SHIFT)) & CAN_ESR1_BOFFDONEINT_MASK)
18763 
18764 #define CAN_ESR1_ERRINT_FAST_MASK                (0x100000U)
18765 #define CAN_ESR1_ERRINT_FAST_SHIFT               (20U)
18766 /*! ERRINT_FAST - Error interrupt for errors detected in Data Phase of CAN FD frames with BRS bit set
18767  *  0b0..No such occurrence.
18768  *  0b1..Indicates setting of any error bit detected in the data phase of CAN FD frames with the BRS bit set.
18769  */
18770 #define CAN_ESR1_ERRINT_FAST(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_ERRINT_FAST_SHIFT)) & CAN_ESR1_ERRINT_FAST_MASK)
18771 
18772 #define CAN_ESR1_ERROVR_MASK                     (0x200000U)
18773 #define CAN_ESR1_ERROVR_SHIFT                    (21U)
18774 /*! ERROVR - Error Overrun
18775  *  0b0..Overrun has not occurred.
18776  *  0b1..Overrun has occurred.
18777  */
18778 #define CAN_ESR1_ERROVR(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_ERROVR_SHIFT)) & CAN_ESR1_ERROVR_MASK)
18779 
18780 #define CAN_ESR1_STFERR_FAST_MASK                (0x4000000U)
18781 #define CAN_ESR1_STFERR_FAST_SHIFT               (26U)
18782 /*! STFERR_FAST - Stuffing Error in the Data Phase of CAN FD frames with the BRS bit set
18783  *  0b0..No such occurrence.
18784  *  0b1..A stuffing error occurred since last read of this register.
18785  */
18786 #define CAN_ESR1_STFERR_FAST(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_STFERR_FAST_SHIFT)) & CAN_ESR1_STFERR_FAST_MASK)
18787 
18788 #define CAN_ESR1_FRMERR_FAST_MASK                (0x8000000U)
18789 #define CAN_ESR1_FRMERR_FAST_SHIFT               (27U)
18790 /*! FRMERR_FAST - Form Error in the Data Phase of CAN FD frames with the BRS bit set
18791  *  0b0..No such occurrence.
18792  *  0b1..A form error occurred since last read of this register.
18793  */
18794 #define CAN_ESR1_FRMERR_FAST(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_FRMERR_FAST_SHIFT)) & CAN_ESR1_FRMERR_FAST_MASK)
18795 
18796 #define CAN_ESR1_CRCERR_FAST_MASK                (0x10000000U)
18797 #define CAN_ESR1_CRCERR_FAST_SHIFT               (28U)
18798 /*! CRCERR_FAST - Cyclic Redundancy Check Error in the CRC field of CAN FD frames with the BRS bit set
18799  *  0b0..No such occurrence.
18800  *  0b1..A CRC error occurred since last read of this register.
18801  */
18802 #define CAN_ESR1_CRCERR_FAST(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_CRCERR_FAST_SHIFT)) & CAN_ESR1_CRCERR_FAST_MASK)
18803 
18804 #define CAN_ESR1_BIT0ERR_FAST_MASK               (0x40000000U)
18805 #define CAN_ESR1_BIT0ERR_FAST_SHIFT              (30U)
18806 /*! BIT0ERR_FAST - Bit0 Error in the Data Phase of CAN FD frames with the BRS bit set
18807  *  0b0..No such occurrence.
18808  *  0b1..At least one bit sent as dominant is received as recessive.
18809  */
18810 #define CAN_ESR1_BIT0ERR_FAST(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BIT0ERR_FAST_SHIFT)) & CAN_ESR1_BIT0ERR_FAST_MASK)
18811 
18812 #define CAN_ESR1_BIT1ERR_FAST_MASK               (0x80000000U)
18813 #define CAN_ESR1_BIT1ERR_FAST_SHIFT              (31U)
18814 /*! BIT1ERR_FAST - Bit1 Error in the Data Phase of CAN FD frames with the BRS bit set
18815  *  0b0..No such occurrence.
18816  *  0b1..At least one bit sent as recessive is received as dominant.
18817  */
18818 #define CAN_ESR1_BIT1ERR_FAST(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_ESR1_BIT1ERR_FAST_SHIFT)) & CAN_ESR1_BIT1ERR_FAST_MASK)
18819 /*! @} */
18820 
18821 /*! @name IMASK2 - Interrupt Masks 2 register */
18822 /*! @{ */
18823 
18824 #define CAN_IMASK2_BUF63TO32M_MASK               (0xFFFFFFFFU)
18825 #define CAN_IMASK2_BUF63TO32M_SHIFT              (0U)
18826 /*! BUF63TO32M - Buffer MBi Mask
18827  */
18828 #define CAN_IMASK2_BUF63TO32M(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_IMASK2_BUF63TO32M_SHIFT)) & CAN_IMASK2_BUF63TO32M_MASK)
18829 /*! @} */
18830 
18831 /*! @name IMASK1 - Interrupt Masks 1 register */
18832 /*! @{ */
18833 
18834 #define CAN_IMASK1_BUF31TO0M_MASK                (0xFFFFFFFFU)
18835 #define CAN_IMASK1_BUF31TO0M_SHIFT               (0U)
18836 /*! BUF31TO0M - Buffer MBi Mask
18837  */
18838 #define CAN_IMASK1_BUF31TO0M(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_IMASK1_BUF31TO0M_SHIFT)) & CAN_IMASK1_BUF31TO0M_MASK)
18839 /*! @} */
18840 
18841 /*! @name IFLAG2 - Interrupt Flags 2 register */
18842 /*! @{ */
18843 
18844 #define CAN_IFLAG2_BUF63TO32I_MASK               (0xFFFFFFFFU)
18845 #define CAN_IFLAG2_BUF63TO32I_SHIFT              (0U)
18846 /*! BUF63TO32I - Buffer MBi Interrupt
18847  */
18848 #define CAN_IFLAG2_BUF63TO32I(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG2_BUF63TO32I_SHIFT)) & CAN_IFLAG2_BUF63TO32I_MASK)
18849 /*! @} */
18850 
18851 /*! @name IFLAG1 - Interrupt Flags 1 register */
18852 /*! @{ */
18853 
18854 #define CAN_IFLAG1_BUF0I_MASK                    (0x1U)
18855 #define CAN_IFLAG1_BUF0I_SHIFT                   (0U)
18856 /*! BUF0I - Buffer MB0 Interrupt Or Clear FIFO bit
18857  *  0b0..The corresponding buffer has no occurrence of successfully completed transmission or reception when MCR[RFEN]=0.
18858  *  0b1..The corresponding buffer has successfully completed transmission or reception when MCR[RFEN]=0.
18859  */
18860 #define CAN_IFLAG1_BUF0I(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF0I_SHIFT)) & CAN_IFLAG1_BUF0I_MASK)
18861 
18862 #define CAN_IFLAG1_BUF4TO1I_MASK                 (0x1EU)
18863 #define CAN_IFLAG1_BUF4TO1I_SHIFT                (1U)
18864 /*! BUF4TO1I - Buffer MBi Interrupt Or Reserved
18865  */
18866 #define CAN_IFLAG1_BUF4TO1I(x)                   (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF4TO1I_SHIFT)) & CAN_IFLAG1_BUF4TO1I_MASK)
18867 
18868 #define CAN_IFLAG1_BUF5I_MASK                    (0x20U)
18869 #define CAN_IFLAG1_BUF5I_SHIFT                   (5U)
18870 /*! BUF5I - Buffer MB5 Interrupt Or Frames available in Rx FIFO
18871  *  0b0..No occurrence of MB5 completing transmission/reception when MCR[RFEN]=0, or of frame(s) available in the FIFO, when MCR[RFEN]=1
18872  *  0b1..MB5 completed transmission/reception when MCR[RFEN]=0, or frame(s) available in the Rx FIFO when
18873  *       MCR[RFEN]=1. It generates a DMA request in case of MCR[RFEN] and MCR[DMA] are enabled.
18874  */
18875 #define CAN_IFLAG1_BUF5I(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF5I_SHIFT)) & CAN_IFLAG1_BUF5I_MASK)
18876 
18877 #define CAN_IFLAG1_BUF6I_MASK                    (0x40U)
18878 #define CAN_IFLAG1_BUF6I_SHIFT                   (6U)
18879 /*! BUF6I - Buffer MB6 Interrupt Or Rx FIFO Warning
18880  *  0b0..No occurrence of MB6 completing transmission/reception when MCR[RFEN]=0, or of Rx FIFO almost full when MCR[RFEN]=1
18881  *  0b1..MB6 completed transmission/reception when MCR[RFEN]=0, or Rx FIFO almost full when MCR[RFEN]=1
18882  */
18883 #define CAN_IFLAG1_BUF6I(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF6I_SHIFT)) & CAN_IFLAG1_BUF6I_MASK)
18884 
18885 #define CAN_IFLAG1_BUF7I_MASK                    (0x80U)
18886 #define CAN_IFLAG1_BUF7I_SHIFT                   (7U)
18887 /*! BUF7I - Buffer MB7 Interrupt Or Rx FIFO Overflow
18888  *  0b0..No occurrence of MB7 completing transmission/reception when MCR[RFEN]=0, or of Rx FIFO overflow when MCR[RFEN]=1
18889  *  0b1..MB7 completed transmission/reception when MCR[RFEN]=0, or Rx FIFO overflow when MCR[RFEN]=1
18890  */
18891 #define CAN_IFLAG1_BUF7I(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF7I_SHIFT)) & CAN_IFLAG1_BUF7I_MASK)
18892 
18893 #define CAN_IFLAG1_BUF31TO8I_MASK                (0xFFFFFF00U)
18894 #define CAN_IFLAG1_BUF31TO8I_SHIFT               (8U)
18895 /*! BUF31TO8I - Buffer MBi Interrupt
18896  */
18897 #define CAN_IFLAG1_BUF31TO8I(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_IFLAG1_BUF31TO8I_SHIFT)) & CAN_IFLAG1_BUF31TO8I_MASK)
18898 /*! @} */
18899 
18900 /*! @name CTRL2 - Control 2 register */
18901 /*! @{ */
18902 
18903 #define CAN_CTRL2_EDFLTDIS_MASK                  (0x800U)
18904 #define CAN_CTRL2_EDFLTDIS_SHIFT                 (11U)
18905 /*! EDFLTDIS - Edge Filter Disable
18906  *  0b0..Edge filter is enabled
18907  *  0b1..Edge filter is disabled
18908  */
18909 #define CAN_CTRL2_EDFLTDIS(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_EDFLTDIS_SHIFT)) & CAN_CTRL2_EDFLTDIS_MASK)
18910 
18911 #define CAN_CTRL2_ISOCANFDEN_MASK                (0x1000U)
18912 #define CAN_CTRL2_ISOCANFDEN_SHIFT               (12U)
18913 /*! ISOCANFDEN - ISO CAN FD Enable
18914  *  0b0..FlexCAN operates using the non-ISO CAN FD protocol.
18915  *  0b1..FlexCAN operates using the ISO CAN FD protocol (ISO 11898-1).
18916  */
18917 #define CAN_CTRL2_ISOCANFDEN(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_ISOCANFDEN_SHIFT)) & CAN_CTRL2_ISOCANFDEN_MASK)
18918 
18919 #define CAN_CTRL2_PREXCEN_MASK                   (0x4000U)
18920 #define CAN_CTRL2_PREXCEN_SHIFT                  (14U)
18921 /*! PREXCEN - Protocol Exception Enable
18922  *  0b0..Protocol exception is disabled.
18923  *  0b1..Protocol exception is enabled.
18924  */
18925 #define CAN_CTRL2_PREXCEN(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_PREXCEN_SHIFT)) & CAN_CTRL2_PREXCEN_MASK)
18926 
18927 #define CAN_CTRL2_TIMER_SRC_MASK                 (0x8000U)
18928 #define CAN_CTRL2_TIMER_SRC_SHIFT                (15U)
18929 /*! TIMER_SRC - Timer Source
18930  *  0b0..The free running timer is clocked by the CAN bit clock, which defines the baud rate on the CAN bus.
18931  *  0b1..The free running timer is clocked by an external time tick. The period can be either adjusted to be equal
18932  *       to the baud rate on the CAN bus, or a different value as required. See the device-specific section for
18933  *       details about the external time tick.
18934  */
18935 #define CAN_CTRL2_TIMER_SRC(x)                   (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_TIMER_SRC_SHIFT)) & CAN_CTRL2_TIMER_SRC_MASK)
18936 
18937 #define CAN_CTRL2_EACEN_MASK                     (0x10000U)
18938 #define CAN_CTRL2_EACEN_SHIFT                    (16U)
18939 /*! EACEN - Entire Frame Arbitration Field Comparison Enable For Rx Mailboxes
18940  *  0b0..Rx mailbox filter's IDE bit is always compared and RTR is never compared despite mask bits.
18941  *  0b1..Enables the comparison of both Rx mailbox filter's IDE and RTR bit with their corresponding bits within
18942  *       the incoming frame. Mask bits do apply.
18943  */
18944 #define CAN_CTRL2_EACEN(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_EACEN_SHIFT)) & CAN_CTRL2_EACEN_MASK)
18945 
18946 #define CAN_CTRL2_RRS_MASK                       (0x20000U)
18947 #define CAN_CTRL2_RRS_SHIFT                      (17U)
18948 /*! RRS - Remote Request Storing
18949  *  0b0..Remote response frame is generated.
18950  *  0b1..Remote request frame is stored.
18951  */
18952 #define CAN_CTRL2_RRS(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_RRS_SHIFT)) & CAN_CTRL2_RRS_MASK)
18953 
18954 #define CAN_CTRL2_MRP_MASK                       (0x40000U)
18955 #define CAN_CTRL2_MRP_SHIFT                      (18U)
18956 /*! MRP - Mailboxes Reception Priority
18957  *  0b0..Matching starts from Rx FIFO and continues on mailboxes.
18958  *  0b1..Matching starts from mailboxes and continues on Rx FIFO.
18959  */
18960 #define CAN_CTRL2_MRP(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_MRP_SHIFT)) & CAN_CTRL2_MRP_MASK)
18961 
18962 #define CAN_CTRL2_TASD_MASK                      (0xF80000U)
18963 #define CAN_CTRL2_TASD_SHIFT                     (19U)
18964 /*! TASD - Tx Arbitration Start Delay
18965  */
18966 #define CAN_CTRL2_TASD(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_TASD_SHIFT)) & CAN_CTRL2_TASD_MASK)
18967 
18968 #define CAN_CTRL2_RFFN_MASK                      (0xF000000U)
18969 #define CAN_CTRL2_RFFN_SHIFT                     (24U)
18970 /*! RFFN - Number Of Rx FIFO Filters
18971  */
18972 #define CAN_CTRL2_RFFN(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_RFFN_SHIFT)) & CAN_CTRL2_RFFN_MASK)
18973 
18974 #define CAN_CTRL2_WRMFRZ_MASK                    (0x10000000U)
18975 #define CAN_CTRL2_WRMFRZ_SHIFT                   (28U)
18976 /*! WRMFRZ - Write-Access To Memory In Freeze Mode
18977  *  0b0..Maintain the write access restrictions.
18978  *  0b1..Enable unrestricted write access to FlexCAN memory.
18979  */
18980 #define CAN_CTRL2_WRMFRZ(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_WRMFRZ_SHIFT)) & CAN_CTRL2_WRMFRZ_MASK)
18981 
18982 #define CAN_CTRL2_ECRWRE_MASK                    (0x20000000U)
18983 #define CAN_CTRL2_ECRWRE_SHIFT                   (29U)
18984 /*! ECRWRE - Error-correction Configuration Register Write Enable
18985  *  0b0..Disable update.
18986  *  0b1..Enable update.
18987  */
18988 #define CAN_CTRL2_ECRWRE(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_ECRWRE_SHIFT)) & CAN_CTRL2_ECRWRE_MASK)
18989 
18990 #define CAN_CTRL2_BOFFDONEMSK_MASK               (0x40000000U)
18991 #define CAN_CTRL2_BOFFDONEMSK_SHIFT              (30U)
18992 /*! BOFFDONEMSK - Bus Off Done Interrupt Mask
18993  *  0b0..Bus off done interrupt disabled.
18994  *  0b1..Bus off done interrupt enabled.
18995  */
18996 #define CAN_CTRL2_BOFFDONEMSK(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_BOFFDONEMSK_SHIFT)) & CAN_CTRL2_BOFFDONEMSK_MASK)
18997 
18998 #define CAN_CTRL2_ERRMSK_FAST_MASK               (0x80000000U)
18999 #define CAN_CTRL2_ERRMSK_FAST_SHIFT              (31U)
19000 /*! ERRMSK_FAST - Error Interrupt Mask for errors detected in the data phase of fast CAN FD frames
19001  *  0b0..ERRINT_FAST error interrupt disabled.
19002  *  0b1..ERRINT_FAST error interrupt enabled.
19003  */
19004 #define CAN_CTRL2_ERRMSK_FAST(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_CTRL2_ERRMSK_FAST_SHIFT)) & CAN_CTRL2_ERRMSK_FAST_MASK)
19005 /*! @} */
19006 
19007 /*! @name ESR2 - Error and Status 2 register */
19008 /*! @{ */
19009 
19010 #define CAN_ESR2_IMB_MASK                        (0x2000U)
19011 #define CAN_ESR2_IMB_SHIFT                       (13U)
19012 /*! IMB - Inactive Mailbox
19013  *  0b0..If ESR2[VPS] is asserted, the ESR2[LPTM] is not an inactive mailbox.
19014  *  0b1..If ESR2[VPS] is asserted, there is at least one inactive mailbox. LPTM content is the number of the first one.
19015  */
19016 #define CAN_ESR2_IMB(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_ESR2_IMB_SHIFT)) & CAN_ESR2_IMB_MASK)
19017 
19018 #define CAN_ESR2_VPS_MASK                        (0x4000U)
19019 #define CAN_ESR2_VPS_SHIFT                       (14U)
19020 /*! VPS - Valid Priority Status
19021  *  0b0..Contents of IMB and LPTM are invalid.
19022  *  0b1..Contents of IMB and LPTM are valid.
19023  */
19024 #define CAN_ESR2_VPS(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_ESR2_VPS_SHIFT)) & CAN_ESR2_VPS_MASK)
19025 
19026 #define CAN_ESR2_LPTM_MASK                       (0x7F0000U)
19027 #define CAN_ESR2_LPTM_SHIFT                      (16U)
19028 /*! LPTM - Lowest Priority Tx Mailbox
19029  */
19030 #define CAN_ESR2_LPTM(x)                         (((uint32_t)(((uint32_t)(x)) << CAN_ESR2_LPTM_SHIFT)) & CAN_ESR2_LPTM_MASK)
19031 /*! @} */
19032 
19033 /*! @name CRCR - CRC register */
19034 /*! @{ */
19035 
19036 #define CAN_CRCR_TXCRC_MASK                      (0x7FFFU)
19037 #define CAN_CRCR_TXCRC_SHIFT                     (0U)
19038 /*! TXCRC - Transmitted CRC value
19039  */
19040 #define CAN_CRCR_TXCRC(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CRCR_TXCRC_SHIFT)) & CAN_CRCR_TXCRC_MASK)
19041 
19042 #define CAN_CRCR_MBCRC_MASK                      (0x7F0000U)
19043 #define CAN_CRCR_MBCRC_SHIFT                     (16U)
19044 /*! MBCRC - CRC Mailbox
19045  */
19046 #define CAN_CRCR_MBCRC(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CRCR_MBCRC_SHIFT)) & CAN_CRCR_MBCRC_MASK)
19047 /*! @} */
19048 
19049 /*! @name RXFGMASK - Rx FIFO Global Mask register */
19050 /*! @{ */
19051 
19052 #define CAN_RXFGMASK_FGM_MASK                    (0xFFFFFFFFU)
19053 #define CAN_RXFGMASK_FGM_SHIFT                   (0U)
19054 /*! FGM - Rx FIFO Global Mask Bits
19055  */
19056 #define CAN_RXFGMASK_FGM(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RXFGMASK_FGM_SHIFT)) & CAN_RXFGMASK_FGM_MASK)
19057 /*! @} */
19058 
19059 /*! @name RXFIR - Rx FIFO Information register */
19060 /*! @{ */
19061 
19062 #define CAN_RXFIR_IDHIT_MASK                     (0x1FFU)
19063 #define CAN_RXFIR_IDHIT_SHIFT                    (0U)
19064 /*! IDHIT - Identifier Acceptance Filter Hit Indicator
19065  */
19066 #define CAN_RXFIR_IDHIT(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_RXFIR_IDHIT_SHIFT)) & CAN_RXFIR_IDHIT_MASK)
19067 /*! @} */
19068 
19069 /*! @name CBT - CAN Bit Timing register */
19070 /*! @{ */
19071 
19072 #define CAN_CBT_EPSEG2_MASK                      (0x1FU)
19073 #define CAN_CBT_EPSEG2_SHIFT                     (0U)
19074 /*! EPSEG2 - Extended Phase Segment 2
19075  */
19076 #define CAN_CBT_EPSEG2(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CBT_EPSEG2_SHIFT)) & CAN_CBT_EPSEG2_MASK)
19077 
19078 #define CAN_CBT_EPSEG1_MASK                      (0x3E0U)
19079 #define CAN_CBT_EPSEG1_SHIFT                     (5U)
19080 /*! EPSEG1 - Extended Phase Segment 1
19081  */
19082 #define CAN_CBT_EPSEG1(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_CBT_EPSEG1_SHIFT)) & CAN_CBT_EPSEG1_MASK)
19083 
19084 #define CAN_CBT_EPROPSEG_MASK                    (0xFC00U)
19085 #define CAN_CBT_EPROPSEG_SHIFT                   (10U)
19086 /*! EPROPSEG - Extended Propagation Segment
19087  */
19088 #define CAN_CBT_EPROPSEG(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CBT_EPROPSEG_SHIFT)) & CAN_CBT_EPROPSEG_MASK)
19089 
19090 #define CAN_CBT_ERJW_MASK                        (0x1F0000U)
19091 #define CAN_CBT_ERJW_SHIFT                       (16U)
19092 /*! ERJW - Extended Resync Jump Width
19093  */
19094 #define CAN_CBT_ERJW(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_CBT_ERJW_SHIFT)) & CAN_CBT_ERJW_MASK)
19095 
19096 #define CAN_CBT_EPRESDIV_MASK                    (0x7FE00000U)
19097 #define CAN_CBT_EPRESDIV_SHIFT                   (21U)
19098 /*! EPRESDIV - Extended Prescaler Division Factor
19099  */
19100 #define CAN_CBT_EPRESDIV(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_CBT_EPRESDIV_SHIFT)) & CAN_CBT_EPRESDIV_MASK)
19101 
19102 #define CAN_CBT_BTF_MASK                         (0x80000000U)
19103 #define CAN_CBT_BTF_SHIFT                        (31U)
19104 /*! BTF - Bit Timing Format Enable
19105  *  0b0..Extended bit time definitions disabled.
19106  *  0b1..Extended bit time definitions enabled.
19107  */
19108 #define CAN_CBT_BTF(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_CBT_BTF_SHIFT)) & CAN_CBT_BTF_MASK)
19109 /*! @} */
19110 
19111 /* The count of CAN_CS */
19112 #define CAN_CS_COUNT_MB8B                        (64U)
19113 
19114 /* The count of CAN_ID */
19115 #define CAN_ID_COUNT_MB8B                        (64U)
19116 
19117 /* The count of CAN_WORD */
19118 #define CAN_WORD_COUNT_MB8B                      (64U)
19119 
19120 /* The count of CAN_WORD */
19121 #define CAN_WORD_COUNT_MB8B2                     (2U)
19122 
19123 /* The count of CAN_CS */
19124 #define CAN_CS_COUNT_MB16B                       (42U)
19125 
19126 /* The count of CAN_ID */
19127 #define CAN_ID_COUNT_MB16B                       (42U)
19128 
19129 /* The count of CAN_WORD */
19130 #define CAN_WORD_COUNT_MB16B                     (42U)
19131 
19132 /* The count of CAN_WORD */
19133 #define CAN_WORD_COUNT_MB16B2                    (4U)
19134 
19135 /* The count of CAN_CS */
19136 #define CAN_CS_COUNT_MB32B                       (24U)
19137 
19138 /* The count of CAN_ID */
19139 #define CAN_ID_COUNT_MB32B                       (24U)
19140 
19141 /* The count of CAN_WORD */
19142 #define CAN_WORD_COUNT_MB32B                     (24U)
19143 
19144 /* The count of CAN_WORD */
19145 #define CAN_WORD_COUNT_MB32B2                    (8U)
19146 
19147 /*! @name CS - Message Buffer 0 CS Register..Message Buffer 13 CS Register */
19148 /*! @{ */
19149 
19150 #define CAN_CS_TIME_STAMP_MASK                   (0xFFFFU)
19151 #define CAN_CS_TIME_STAMP_SHIFT                  (0U)
19152 /*! TIME_STAMP - Free-Running Counter Time stamp. This 16-bit field is a copy of the Free-Running
19153  *    Timer, captured for Tx and Rx frames at the time when the beginning of the Identifier field
19154  *    appears on the CAN bus.
19155  */
19156 #define CAN_CS_TIME_STAMP(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_CS_TIME_STAMP_SHIFT)) & CAN_CS_TIME_STAMP_MASK)
19157 
19158 #define CAN_CS_DLC_MASK                          (0xF0000U)
19159 #define CAN_CS_DLC_SHIFT                         (16U)
19160 /*! DLC - Length of the data to be stored/transmitted.
19161  */
19162 #define CAN_CS_DLC(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_DLC_SHIFT)) & CAN_CS_DLC_MASK)
19163 
19164 #define CAN_CS_RTR_MASK                          (0x100000U)
19165 #define CAN_CS_RTR_SHIFT                         (20U)
19166 /*! RTR - Remote Transmission Request. One/zero for remote/data frame.
19167  */
19168 #define CAN_CS_RTR(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_RTR_SHIFT)) & CAN_CS_RTR_MASK)
19169 
19170 #define CAN_CS_IDE_MASK                          (0x200000U)
19171 #define CAN_CS_IDE_SHIFT                         (21U)
19172 /*! IDE - ID Extended. One/zero for extended/standard format frame.
19173  */
19174 #define CAN_CS_IDE(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_IDE_SHIFT)) & CAN_CS_IDE_MASK)
19175 
19176 #define CAN_CS_SRR_MASK                          (0x400000U)
19177 #define CAN_CS_SRR_SHIFT                         (22U)
19178 /*! SRR - Substitute Remote Request. Contains a fixed recessive bit.
19179  */
19180 #define CAN_CS_SRR(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_SRR_SHIFT)) & CAN_CS_SRR_MASK)
19181 
19182 #define CAN_CS_CODE_MASK                         (0xF000000U)
19183 #define CAN_CS_CODE_SHIFT                        (24U)
19184 /*! CODE - Message Buffer Code. This 4-bit field can be accessed (read or write) by the CPU and by
19185  *    the FlexCAN module itself, as part of the message buffer matching and arbitration process.
19186  */
19187 #define CAN_CS_CODE(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_CS_CODE_SHIFT)) & CAN_CS_CODE_MASK)
19188 
19189 #define CAN_CS_ESI_MASK                          (0x20000000U)
19190 #define CAN_CS_ESI_SHIFT                         (29U)
19191 /*! ESI - Error State Indicator. This bit indicates if the transmitting node is error active or error passive.
19192  */
19193 #define CAN_CS_ESI(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_ESI_SHIFT)) & CAN_CS_ESI_MASK)
19194 
19195 #define CAN_CS_BRS_MASK                          (0x40000000U)
19196 #define CAN_CS_BRS_SHIFT                         (30U)
19197 /*! BRS - Bit Rate Switch. This bit defines whether the bit rate is switched inside a CAN FD format frame.
19198  */
19199 #define CAN_CS_BRS(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_BRS_SHIFT)) & CAN_CS_BRS_MASK)
19200 
19201 #define CAN_CS_EDL_MASK                          (0x80000000U)
19202 #define CAN_CS_EDL_SHIFT                         (31U)
19203 /*! EDL - Extended Data Length. This bit distinguishes between CAN format and CAN FD format frames.
19204  *    The EDL bit must not be set for Message Buffers configured to RANSWER with code field 0b1010.
19205  */
19206 #define CAN_CS_EDL(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_CS_EDL_SHIFT)) & CAN_CS_EDL_MASK)
19207 /*! @} */
19208 
19209 /* The count of CAN_CS */
19210 #define CAN_CS_COUNT_MB64B                       (14U)
19211 
19212 /*! @name ID - Message Buffer 0 ID Register..Message Buffer 13 ID Register */
19213 /*! @{ */
19214 
19215 #define CAN_ID_EXT_MASK                          (0x3FFFFU)
19216 #define CAN_ID_EXT_SHIFT                         (0U)
19217 /*! EXT - Contains extended (LOW word) identifier of message buffer.
19218  */
19219 #define CAN_ID_EXT(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_ID_EXT_SHIFT)) & CAN_ID_EXT_MASK)
19220 
19221 #define CAN_ID_STD_MASK                          (0x1FFC0000U)
19222 #define CAN_ID_STD_SHIFT                         (18U)
19223 /*! STD - Contains standard/extended (HIGH word) identifier of message buffer.
19224  */
19225 #define CAN_ID_STD(x)                            (((uint32_t)(((uint32_t)(x)) << CAN_ID_STD_SHIFT)) & CAN_ID_STD_MASK)
19226 
19227 #define CAN_ID_PRIO_MASK                         (0xE0000000U)
19228 #define CAN_ID_PRIO_SHIFT                        (29U)
19229 /*! PRIO - Local priority. This 3-bit fieldis only used when LPRIO_EN bit is set in MCR and it only
19230  *    makes sense for Tx buffers. These bits are not transmitted. They are appended to the regular
19231  *    ID to define the transmission priority.
19232  */
19233 #define CAN_ID_PRIO(x)                           (((uint32_t)(((uint32_t)(x)) << CAN_ID_PRIO_SHIFT)) & CAN_ID_PRIO_MASK)
19234 /*! @} */
19235 
19236 /* The count of CAN_ID */
19237 #define CAN_ID_COUNT_MB64B                       (14U)
19238 
19239 /*! @name WORD - Message Buffer 0 WORD_64B Register..Message Buffer 13 WORD_64B Register */
19240 /*! @{ */
19241 
19242 #define CAN_WORD_DATA_BYTE_3_MASK                (0xFFU)
19243 #define CAN_WORD_DATA_BYTE_3_SHIFT               (0U)
19244 /*! DATA_BYTE_3 - Data byte 0 of Rx/Tx frame.
19245  */
19246 #define CAN_WORD_DATA_BYTE_3(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_3_SHIFT)) & CAN_WORD_DATA_BYTE_3_MASK)
19247 
19248 #define CAN_WORD_DATA_BYTE_7_MASK                (0xFFU)
19249 #define CAN_WORD_DATA_BYTE_7_SHIFT               (0U)
19250 /*! DATA_BYTE_7 - Data byte 0 of Rx/Tx frame.
19251  */
19252 #define CAN_WORD_DATA_BYTE_7(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_7_SHIFT)) & CAN_WORD_DATA_BYTE_7_MASK)
19253 
19254 #define CAN_WORD_DATA_BYTE_11_MASK               (0xFFU)
19255 #define CAN_WORD_DATA_BYTE_11_SHIFT              (0U)
19256 /*! DATA_BYTE_11 - Data byte 0 of Rx/Tx frame.
19257  */
19258 #define CAN_WORD_DATA_BYTE_11(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_11_SHIFT)) & CAN_WORD_DATA_BYTE_11_MASK)
19259 
19260 #define CAN_WORD_DATA_BYTE_15_MASK               (0xFFU)
19261 #define CAN_WORD_DATA_BYTE_15_SHIFT              (0U)
19262 /*! DATA_BYTE_15 - Data byte 0 of Rx/Tx frame.
19263  */
19264 #define CAN_WORD_DATA_BYTE_15(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_15_SHIFT)) & CAN_WORD_DATA_BYTE_15_MASK)
19265 
19266 #define CAN_WORD_DATA_BYTE_19_MASK               (0xFFU)
19267 #define CAN_WORD_DATA_BYTE_19_SHIFT              (0U)
19268 /*! DATA_BYTE_19 - Data byte 0 of Rx/Tx frame.
19269  */
19270 #define CAN_WORD_DATA_BYTE_19(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_19_SHIFT)) & CAN_WORD_DATA_BYTE_19_MASK)
19271 
19272 #define CAN_WORD_DATA_BYTE_23_MASK               (0xFFU)
19273 #define CAN_WORD_DATA_BYTE_23_SHIFT              (0U)
19274 /*! DATA_BYTE_23 - Data byte 0 of Rx/Tx frame.
19275  */
19276 #define CAN_WORD_DATA_BYTE_23(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_23_SHIFT)) & CAN_WORD_DATA_BYTE_23_MASK)
19277 
19278 #define CAN_WORD_DATA_BYTE_27_MASK               (0xFFU)
19279 #define CAN_WORD_DATA_BYTE_27_SHIFT              (0U)
19280 /*! DATA_BYTE_27 - Data byte 0 of Rx/Tx frame.
19281  */
19282 #define CAN_WORD_DATA_BYTE_27(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_27_SHIFT)) & CAN_WORD_DATA_BYTE_27_MASK)
19283 
19284 #define CAN_WORD_DATA_BYTE_31_MASK               (0xFFU)
19285 #define CAN_WORD_DATA_BYTE_31_SHIFT              (0U)
19286 /*! DATA_BYTE_31 - Data byte 0 of Rx/Tx frame.
19287  */
19288 #define CAN_WORD_DATA_BYTE_31(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_31_SHIFT)) & CAN_WORD_DATA_BYTE_31_MASK)
19289 
19290 #define CAN_WORD_DATA_BYTE_35_MASK               (0xFFU)
19291 #define CAN_WORD_DATA_BYTE_35_SHIFT              (0U)
19292 /*! DATA_BYTE_35 - Data byte 0 of Rx/Tx frame.
19293  */
19294 #define CAN_WORD_DATA_BYTE_35(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_35_SHIFT)) & CAN_WORD_DATA_BYTE_35_MASK)
19295 
19296 #define CAN_WORD_DATA_BYTE_39_MASK               (0xFFU)
19297 #define CAN_WORD_DATA_BYTE_39_SHIFT              (0U)
19298 /*! DATA_BYTE_39 - Data byte 0 of Rx/Tx frame.
19299  */
19300 #define CAN_WORD_DATA_BYTE_39(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_39_SHIFT)) & CAN_WORD_DATA_BYTE_39_MASK)
19301 
19302 #define CAN_WORD_DATA_BYTE_43_MASK               (0xFFU)
19303 #define CAN_WORD_DATA_BYTE_43_SHIFT              (0U)
19304 /*! DATA_BYTE_43 - Data byte 0 of Rx/Tx frame.
19305  */
19306 #define CAN_WORD_DATA_BYTE_43(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_43_SHIFT)) & CAN_WORD_DATA_BYTE_43_MASK)
19307 
19308 #define CAN_WORD_DATA_BYTE_47_MASK               (0xFFU)
19309 #define CAN_WORD_DATA_BYTE_47_SHIFT              (0U)
19310 /*! DATA_BYTE_47 - Data byte 0 of Rx/Tx frame.
19311  */
19312 #define CAN_WORD_DATA_BYTE_47(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_47_SHIFT)) & CAN_WORD_DATA_BYTE_47_MASK)
19313 
19314 #define CAN_WORD_DATA_BYTE_51_MASK               (0xFFU)
19315 #define CAN_WORD_DATA_BYTE_51_SHIFT              (0U)
19316 /*! DATA_BYTE_51 - Data byte 0 of Rx/Tx frame.
19317  */
19318 #define CAN_WORD_DATA_BYTE_51(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_51_SHIFT)) & CAN_WORD_DATA_BYTE_51_MASK)
19319 
19320 #define CAN_WORD_DATA_BYTE_55_MASK               (0xFFU)
19321 #define CAN_WORD_DATA_BYTE_55_SHIFT              (0U)
19322 /*! DATA_BYTE_55 - Data byte 0 of Rx/Tx frame.
19323  */
19324 #define CAN_WORD_DATA_BYTE_55(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_55_SHIFT)) & CAN_WORD_DATA_BYTE_55_MASK)
19325 
19326 #define CAN_WORD_DATA_BYTE_59_MASK               (0xFFU)
19327 #define CAN_WORD_DATA_BYTE_59_SHIFT              (0U)
19328 /*! DATA_BYTE_59 - Data byte 0 of Rx/Tx frame.
19329  */
19330 #define CAN_WORD_DATA_BYTE_59(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_59_SHIFT)) & CAN_WORD_DATA_BYTE_59_MASK)
19331 
19332 #define CAN_WORD_DATA_BYTE_63_MASK               (0xFFU)
19333 #define CAN_WORD_DATA_BYTE_63_SHIFT              (0U)
19334 /*! DATA_BYTE_63 - Data byte 0 of Rx/Tx frame.
19335  */
19336 #define CAN_WORD_DATA_BYTE_63(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_63_SHIFT)) & CAN_WORD_DATA_BYTE_63_MASK)
19337 
19338 #define CAN_WORD_DATA_BYTE_2_MASK                (0xFF00U)
19339 #define CAN_WORD_DATA_BYTE_2_SHIFT               (8U)
19340 /*! DATA_BYTE_2 - Data byte 1 of Rx/Tx frame.
19341  */
19342 #define CAN_WORD_DATA_BYTE_2(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_2_SHIFT)) & CAN_WORD_DATA_BYTE_2_MASK)
19343 
19344 #define CAN_WORD_DATA_BYTE_6_MASK                (0xFF00U)
19345 #define CAN_WORD_DATA_BYTE_6_SHIFT               (8U)
19346 /*! DATA_BYTE_6 - Data byte 1 of Rx/Tx frame.
19347  */
19348 #define CAN_WORD_DATA_BYTE_6(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_6_SHIFT)) & CAN_WORD_DATA_BYTE_6_MASK)
19349 
19350 #define CAN_WORD_DATA_BYTE_10_MASK               (0xFF00U)
19351 #define CAN_WORD_DATA_BYTE_10_SHIFT              (8U)
19352 /*! DATA_BYTE_10 - Data byte 1 of Rx/Tx frame.
19353  */
19354 #define CAN_WORD_DATA_BYTE_10(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_10_SHIFT)) & CAN_WORD_DATA_BYTE_10_MASK)
19355 
19356 #define CAN_WORD_DATA_BYTE_14_MASK               (0xFF00U)
19357 #define CAN_WORD_DATA_BYTE_14_SHIFT              (8U)
19358 /*! DATA_BYTE_14 - Data byte 1 of Rx/Tx frame.
19359  */
19360 #define CAN_WORD_DATA_BYTE_14(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_14_SHIFT)) & CAN_WORD_DATA_BYTE_14_MASK)
19361 
19362 #define CAN_WORD_DATA_BYTE_18_MASK               (0xFF00U)
19363 #define CAN_WORD_DATA_BYTE_18_SHIFT              (8U)
19364 /*! DATA_BYTE_18 - Data byte 1 of Rx/Tx frame.
19365  */
19366 #define CAN_WORD_DATA_BYTE_18(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_18_SHIFT)) & CAN_WORD_DATA_BYTE_18_MASK)
19367 
19368 #define CAN_WORD_DATA_BYTE_22_MASK               (0xFF00U)
19369 #define CAN_WORD_DATA_BYTE_22_SHIFT              (8U)
19370 /*! DATA_BYTE_22 - Data byte 1 of Rx/Tx frame.
19371  */
19372 #define CAN_WORD_DATA_BYTE_22(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_22_SHIFT)) & CAN_WORD_DATA_BYTE_22_MASK)
19373 
19374 #define CAN_WORD_DATA_BYTE_26_MASK               (0xFF00U)
19375 #define CAN_WORD_DATA_BYTE_26_SHIFT              (8U)
19376 /*! DATA_BYTE_26 - Data byte 1 of Rx/Tx frame.
19377  */
19378 #define CAN_WORD_DATA_BYTE_26(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_26_SHIFT)) & CAN_WORD_DATA_BYTE_26_MASK)
19379 
19380 #define CAN_WORD_DATA_BYTE_30_MASK               (0xFF00U)
19381 #define CAN_WORD_DATA_BYTE_30_SHIFT              (8U)
19382 /*! DATA_BYTE_30 - Data byte 1 of Rx/Tx frame.
19383  */
19384 #define CAN_WORD_DATA_BYTE_30(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_30_SHIFT)) & CAN_WORD_DATA_BYTE_30_MASK)
19385 
19386 #define CAN_WORD_DATA_BYTE_34_MASK               (0xFF00U)
19387 #define CAN_WORD_DATA_BYTE_34_SHIFT              (8U)
19388 /*! DATA_BYTE_34 - Data byte 1 of Rx/Tx frame.
19389  */
19390 #define CAN_WORD_DATA_BYTE_34(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_34_SHIFT)) & CAN_WORD_DATA_BYTE_34_MASK)
19391 
19392 #define CAN_WORD_DATA_BYTE_38_MASK               (0xFF00U)
19393 #define CAN_WORD_DATA_BYTE_38_SHIFT              (8U)
19394 /*! DATA_BYTE_38 - Data byte 1 of Rx/Tx frame.
19395  */
19396 #define CAN_WORD_DATA_BYTE_38(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_38_SHIFT)) & CAN_WORD_DATA_BYTE_38_MASK)
19397 
19398 #define CAN_WORD_DATA_BYTE_42_MASK               (0xFF00U)
19399 #define CAN_WORD_DATA_BYTE_42_SHIFT              (8U)
19400 /*! DATA_BYTE_42 - Data byte 1 of Rx/Tx frame.
19401  */
19402 #define CAN_WORD_DATA_BYTE_42(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_42_SHIFT)) & CAN_WORD_DATA_BYTE_42_MASK)
19403 
19404 #define CAN_WORD_DATA_BYTE_46_MASK               (0xFF00U)
19405 #define CAN_WORD_DATA_BYTE_46_SHIFT              (8U)
19406 /*! DATA_BYTE_46 - Data byte 1 of Rx/Tx frame.
19407  */
19408 #define CAN_WORD_DATA_BYTE_46(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_46_SHIFT)) & CAN_WORD_DATA_BYTE_46_MASK)
19409 
19410 #define CAN_WORD_DATA_BYTE_50_MASK               (0xFF00U)
19411 #define CAN_WORD_DATA_BYTE_50_SHIFT              (8U)
19412 /*! DATA_BYTE_50 - Data byte 1 of Rx/Tx frame.
19413  */
19414 #define CAN_WORD_DATA_BYTE_50(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_50_SHIFT)) & CAN_WORD_DATA_BYTE_50_MASK)
19415 
19416 #define CAN_WORD_DATA_BYTE_54_MASK               (0xFF00U)
19417 #define CAN_WORD_DATA_BYTE_54_SHIFT              (8U)
19418 /*! DATA_BYTE_54 - Data byte 1 of Rx/Tx frame.
19419  */
19420 #define CAN_WORD_DATA_BYTE_54(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_54_SHIFT)) & CAN_WORD_DATA_BYTE_54_MASK)
19421 
19422 #define CAN_WORD_DATA_BYTE_58_MASK               (0xFF00U)
19423 #define CAN_WORD_DATA_BYTE_58_SHIFT              (8U)
19424 /*! DATA_BYTE_58 - Data byte 1 of Rx/Tx frame.
19425  */
19426 #define CAN_WORD_DATA_BYTE_58(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_58_SHIFT)) & CAN_WORD_DATA_BYTE_58_MASK)
19427 
19428 #define CAN_WORD_DATA_BYTE_62_MASK               (0xFF00U)
19429 #define CAN_WORD_DATA_BYTE_62_SHIFT              (8U)
19430 /*! DATA_BYTE_62 - Data byte 1 of Rx/Tx frame.
19431  */
19432 #define CAN_WORD_DATA_BYTE_62(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_62_SHIFT)) & CAN_WORD_DATA_BYTE_62_MASK)
19433 
19434 #define CAN_WORD_DATA_BYTE_1_MASK                (0xFF0000U)
19435 #define CAN_WORD_DATA_BYTE_1_SHIFT               (16U)
19436 /*! DATA_BYTE_1 - Data byte 2 of Rx/Tx frame.
19437  */
19438 #define CAN_WORD_DATA_BYTE_1(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_1_SHIFT)) & CAN_WORD_DATA_BYTE_1_MASK)
19439 
19440 #define CAN_WORD_DATA_BYTE_5_MASK                (0xFF0000U)
19441 #define CAN_WORD_DATA_BYTE_5_SHIFT               (16U)
19442 /*! DATA_BYTE_5 - Data byte 2 of Rx/Tx frame.
19443  */
19444 #define CAN_WORD_DATA_BYTE_5(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_5_SHIFT)) & CAN_WORD_DATA_BYTE_5_MASK)
19445 
19446 #define CAN_WORD_DATA_BYTE_9_MASK                (0xFF0000U)
19447 #define CAN_WORD_DATA_BYTE_9_SHIFT               (16U)
19448 /*! DATA_BYTE_9 - Data byte 2 of Rx/Tx frame.
19449  */
19450 #define CAN_WORD_DATA_BYTE_9(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_9_SHIFT)) & CAN_WORD_DATA_BYTE_9_MASK)
19451 
19452 #define CAN_WORD_DATA_BYTE_13_MASK               (0xFF0000U)
19453 #define CAN_WORD_DATA_BYTE_13_SHIFT              (16U)
19454 /*! DATA_BYTE_13 - Data byte 2 of Rx/Tx frame.
19455  */
19456 #define CAN_WORD_DATA_BYTE_13(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_13_SHIFT)) & CAN_WORD_DATA_BYTE_13_MASK)
19457 
19458 #define CAN_WORD_DATA_BYTE_17_MASK               (0xFF0000U)
19459 #define CAN_WORD_DATA_BYTE_17_SHIFT              (16U)
19460 /*! DATA_BYTE_17 - Data byte 2 of Rx/Tx frame.
19461  */
19462 #define CAN_WORD_DATA_BYTE_17(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_17_SHIFT)) & CAN_WORD_DATA_BYTE_17_MASK)
19463 
19464 #define CAN_WORD_DATA_BYTE_21_MASK               (0xFF0000U)
19465 #define CAN_WORD_DATA_BYTE_21_SHIFT              (16U)
19466 /*! DATA_BYTE_21 - Data byte 2 of Rx/Tx frame.
19467  */
19468 #define CAN_WORD_DATA_BYTE_21(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_21_SHIFT)) & CAN_WORD_DATA_BYTE_21_MASK)
19469 
19470 #define CAN_WORD_DATA_BYTE_25_MASK               (0xFF0000U)
19471 #define CAN_WORD_DATA_BYTE_25_SHIFT              (16U)
19472 /*! DATA_BYTE_25 - Data byte 2 of Rx/Tx frame.
19473  */
19474 #define CAN_WORD_DATA_BYTE_25(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_25_SHIFT)) & CAN_WORD_DATA_BYTE_25_MASK)
19475 
19476 #define CAN_WORD_DATA_BYTE_29_MASK               (0xFF0000U)
19477 #define CAN_WORD_DATA_BYTE_29_SHIFT              (16U)
19478 /*! DATA_BYTE_29 - Data byte 2 of Rx/Tx frame.
19479  */
19480 #define CAN_WORD_DATA_BYTE_29(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_29_SHIFT)) & CAN_WORD_DATA_BYTE_29_MASK)
19481 
19482 #define CAN_WORD_DATA_BYTE_33_MASK               (0xFF0000U)
19483 #define CAN_WORD_DATA_BYTE_33_SHIFT              (16U)
19484 /*! DATA_BYTE_33 - Data byte 2 of Rx/Tx frame.
19485  */
19486 #define CAN_WORD_DATA_BYTE_33(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_33_SHIFT)) & CAN_WORD_DATA_BYTE_33_MASK)
19487 
19488 #define CAN_WORD_DATA_BYTE_37_MASK               (0xFF0000U)
19489 #define CAN_WORD_DATA_BYTE_37_SHIFT              (16U)
19490 /*! DATA_BYTE_37 - Data byte 2 of Rx/Tx frame.
19491  */
19492 #define CAN_WORD_DATA_BYTE_37(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_37_SHIFT)) & CAN_WORD_DATA_BYTE_37_MASK)
19493 
19494 #define CAN_WORD_DATA_BYTE_41_MASK               (0xFF0000U)
19495 #define CAN_WORD_DATA_BYTE_41_SHIFT              (16U)
19496 /*! DATA_BYTE_41 - Data byte 2 of Rx/Tx frame.
19497  */
19498 #define CAN_WORD_DATA_BYTE_41(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_41_SHIFT)) & CAN_WORD_DATA_BYTE_41_MASK)
19499 
19500 #define CAN_WORD_DATA_BYTE_45_MASK               (0xFF0000U)
19501 #define CAN_WORD_DATA_BYTE_45_SHIFT              (16U)
19502 /*! DATA_BYTE_45 - Data byte 2 of Rx/Tx frame.
19503  */
19504 #define CAN_WORD_DATA_BYTE_45(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_45_SHIFT)) & CAN_WORD_DATA_BYTE_45_MASK)
19505 
19506 #define CAN_WORD_DATA_BYTE_49_MASK               (0xFF0000U)
19507 #define CAN_WORD_DATA_BYTE_49_SHIFT              (16U)
19508 /*! DATA_BYTE_49 - Data byte 2 of Rx/Tx frame.
19509  */
19510 #define CAN_WORD_DATA_BYTE_49(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_49_SHIFT)) & CAN_WORD_DATA_BYTE_49_MASK)
19511 
19512 #define CAN_WORD_DATA_BYTE_53_MASK               (0xFF0000U)
19513 #define CAN_WORD_DATA_BYTE_53_SHIFT              (16U)
19514 /*! DATA_BYTE_53 - Data byte 2 of Rx/Tx frame.
19515  */
19516 #define CAN_WORD_DATA_BYTE_53(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_53_SHIFT)) & CAN_WORD_DATA_BYTE_53_MASK)
19517 
19518 #define CAN_WORD_DATA_BYTE_57_MASK               (0xFF0000U)
19519 #define CAN_WORD_DATA_BYTE_57_SHIFT              (16U)
19520 /*! DATA_BYTE_57 - Data byte 2 of Rx/Tx frame.
19521  */
19522 #define CAN_WORD_DATA_BYTE_57(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_57_SHIFT)) & CAN_WORD_DATA_BYTE_57_MASK)
19523 
19524 #define CAN_WORD_DATA_BYTE_61_MASK               (0xFF0000U)
19525 #define CAN_WORD_DATA_BYTE_61_SHIFT              (16U)
19526 /*! DATA_BYTE_61 - Data byte 2 of Rx/Tx frame.
19527  */
19528 #define CAN_WORD_DATA_BYTE_61(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_61_SHIFT)) & CAN_WORD_DATA_BYTE_61_MASK)
19529 
19530 #define CAN_WORD_DATA_BYTE_0_MASK                (0xFF000000U)
19531 #define CAN_WORD_DATA_BYTE_0_SHIFT               (24U)
19532 /*! DATA_BYTE_0 - Data byte 3 of Rx/Tx frame.
19533  */
19534 #define CAN_WORD_DATA_BYTE_0(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_0_SHIFT)) & CAN_WORD_DATA_BYTE_0_MASK)
19535 
19536 #define CAN_WORD_DATA_BYTE_4_MASK                (0xFF000000U)
19537 #define CAN_WORD_DATA_BYTE_4_SHIFT               (24U)
19538 /*! DATA_BYTE_4 - Data byte 3 of Rx/Tx frame.
19539  */
19540 #define CAN_WORD_DATA_BYTE_4(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_4_SHIFT)) & CAN_WORD_DATA_BYTE_4_MASK)
19541 
19542 #define CAN_WORD_DATA_BYTE_8_MASK                (0xFF000000U)
19543 #define CAN_WORD_DATA_BYTE_8_SHIFT               (24U)
19544 /*! DATA_BYTE_8 - Data byte 3 of Rx/Tx frame.
19545  */
19546 #define CAN_WORD_DATA_BYTE_8(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_8_SHIFT)) & CAN_WORD_DATA_BYTE_8_MASK)
19547 
19548 #define CAN_WORD_DATA_BYTE_12_MASK               (0xFF000000U)
19549 #define CAN_WORD_DATA_BYTE_12_SHIFT              (24U)
19550 /*! DATA_BYTE_12 - Data byte 3 of Rx/Tx frame.
19551  */
19552 #define CAN_WORD_DATA_BYTE_12(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_12_SHIFT)) & CAN_WORD_DATA_BYTE_12_MASK)
19553 
19554 #define CAN_WORD_DATA_BYTE_16_MASK               (0xFF000000U)
19555 #define CAN_WORD_DATA_BYTE_16_SHIFT              (24U)
19556 /*! DATA_BYTE_16 - Data byte 3 of Rx/Tx frame.
19557  */
19558 #define CAN_WORD_DATA_BYTE_16(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_16_SHIFT)) & CAN_WORD_DATA_BYTE_16_MASK)
19559 
19560 #define CAN_WORD_DATA_BYTE_20_MASK               (0xFF000000U)
19561 #define CAN_WORD_DATA_BYTE_20_SHIFT              (24U)
19562 /*! DATA_BYTE_20 - Data byte 3 of Rx/Tx frame.
19563  */
19564 #define CAN_WORD_DATA_BYTE_20(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_20_SHIFT)) & CAN_WORD_DATA_BYTE_20_MASK)
19565 
19566 #define CAN_WORD_DATA_BYTE_24_MASK               (0xFF000000U)
19567 #define CAN_WORD_DATA_BYTE_24_SHIFT              (24U)
19568 /*! DATA_BYTE_24 - Data byte 3 of Rx/Tx frame.
19569  */
19570 #define CAN_WORD_DATA_BYTE_24(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_24_SHIFT)) & CAN_WORD_DATA_BYTE_24_MASK)
19571 
19572 #define CAN_WORD_DATA_BYTE_28_MASK               (0xFF000000U)
19573 #define CAN_WORD_DATA_BYTE_28_SHIFT              (24U)
19574 /*! DATA_BYTE_28 - Data byte 3 of Rx/Tx frame.
19575  */
19576 #define CAN_WORD_DATA_BYTE_28(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_28_SHIFT)) & CAN_WORD_DATA_BYTE_28_MASK)
19577 
19578 #define CAN_WORD_DATA_BYTE_32_MASK               (0xFF000000U)
19579 #define CAN_WORD_DATA_BYTE_32_SHIFT              (24U)
19580 /*! DATA_BYTE_32 - Data byte 3 of Rx/Tx frame.
19581  */
19582 #define CAN_WORD_DATA_BYTE_32(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_32_SHIFT)) & CAN_WORD_DATA_BYTE_32_MASK)
19583 
19584 #define CAN_WORD_DATA_BYTE_36_MASK               (0xFF000000U)
19585 #define CAN_WORD_DATA_BYTE_36_SHIFT              (24U)
19586 /*! DATA_BYTE_36 - Data byte 3 of Rx/Tx frame.
19587  */
19588 #define CAN_WORD_DATA_BYTE_36(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_36_SHIFT)) & CAN_WORD_DATA_BYTE_36_MASK)
19589 
19590 #define CAN_WORD_DATA_BYTE_40_MASK               (0xFF000000U)
19591 #define CAN_WORD_DATA_BYTE_40_SHIFT              (24U)
19592 /*! DATA_BYTE_40 - Data byte 3 of Rx/Tx frame.
19593  */
19594 #define CAN_WORD_DATA_BYTE_40(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_40_SHIFT)) & CAN_WORD_DATA_BYTE_40_MASK)
19595 
19596 #define CAN_WORD_DATA_BYTE_44_MASK               (0xFF000000U)
19597 #define CAN_WORD_DATA_BYTE_44_SHIFT              (24U)
19598 /*! DATA_BYTE_44 - Data byte 3 of Rx/Tx frame.
19599  */
19600 #define CAN_WORD_DATA_BYTE_44(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_44_SHIFT)) & CAN_WORD_DATA_BYTE_44_MASK)
19601 
19602 #define CAN_WORD_DATA_BYTE_48_MASK               (0xFF000000U)
19603 #define CAN_WORD_DATA_BYTE_48_SHIFT              (24U)
19604 /*! DATA_BYTE_48 - Data byte 3 of Rx/Tx frame.
19605  */
19606 #define CAN_WORD_DATA_BYTE_48(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_48_SHIFT)) & CAN_WORD_DATA_BYTE_48_MASK)
19607 
19608 #define CAN_WORD_DATA_BYTE_52_MASK               (0xFF000000U)
19609 #define CAN_WORD_DATA_BYTE_52_SHIFT              (24U)
19610 /*! DATA_BYTE_52 - Data byte 3 of Rx/Tx frame.
19611  */
19612 #define CAN_WORD_DATA_BYTE_52(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_52_SHIFT)) & CAN_WORD_DATA_BYTE_52_MASK)
19613 
19614 #define CAN_WORD_DATA_BYTE_56_MASK               (0xFF000000U)
19615 #define CAN_WORD_DATA_BYTE_56_SHIFT              (24U)
19616 /*! DATA_BYTE_56 - Data byte 3 of Rx/Tx frame.
19617  */
19618 #define CAN_WORD_DATA_BYTE_56(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_56_SHIFT)) & CAN_WORD_DATA_BYTE_56_MASK)
19619 
19620 #define CAN_WORD_DATA_BYTE_60_MASK               (0xFF000000U)
19621 #define CAN_WORD_DATA_BYTE_60_SHIFT              (24U)
19622 /*! DATA_BYTE_60 - Data byte 3 of Rx/Tx frame.
19623  */
19624 #define CAN_WORD_DATA_BYTE_60(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD_DATA_BYTE_60_SHIFT)) & CAN_WORD_DATA_BYTE_60_MASK)
19625 /*! @} */
19626 
19627 /* The count of CAN_WORD */
19628 #define CAN_WORD_COUNT_MB64B                     (14U)
19629 
19630 /* The count of CAN_WORD */
19631 #define CAN_WORD_COUNT_MB64B2                    (16U)
19632 
19633 /* The count of CAN_CS */
19634 #define CAN_CS_COUNT                             (64U)
19635 
19636 /* The count of CAN_ID */
19637 #define CAN_ID_COUNT                             (64U)
19638 
19639 /*! @name WORD0 - Message Buffer 0 WORD0 Register..Message Buffer 63 WORD0 Register */
19640 /*! @{ */
19641 
19642 #define CAN_WORD0_DATA_BYTE_3_MASK               (0xFFU)
19643 #define CAN_WORD0_DATA_BYTE_3_SHIFT              (0U)
19644 /*! DATA_BYTE_3 - Data byte 0 of Rx/Tx frame.
19645  */
19646 #define CAN_WORD0_DATA_BYTE_3(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD0_DATA_BYTE_3_SHIFT)) & CAN_WORD0_DATA_BYTE_3_MASK)
19647 
19648 #define CAN_WORD0_DATA_BYTE_2_MASK               (0xFF00U)
19649 #define CAN_WORD0_DATA_BYTE_2_SHIFT              (8U)
19650 /*! DATA_BYTE_2 - Data byte 1 of Rx/Tx frame.
19651  */
19652 #define CAN_WORD0_DATA_BYTE_2(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD0_DATA_BYTE_2_SHIFT)) & CAN_WORD0_DATA_BYTE_2_MASK)
19653 
19654 #define CAN_WORD0_DATA_BYTE_1_MASK               (0xFF0000U)
19655 #define CAN_WORD0_DATA_BYTE_1_SHIFT              (16U)
19656 /*! DATA_BYTE_1 - Data byte 2 of Rx/Tx frame.
19657  */
19658 #define CAN_WORD0_DATA_BYTE_1(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD0_DATA_BYTE_1_SHIFT)) & CAN_WORD0_DATA_BYTE_1_MASK)
19659 
19660 #define CAN_WORD0_DATA_BYTE_0_MASK               (0xFF000000U)
19661 #define CAN_WORD0_DATA_BYTE_0_SHIFT              (24U)
19662 /*! DATA_BYTE_0 - Data byte 3 of Rx/Tx frame.
19663  */
19664 #define CAN_WORD0_DATA_BYTE_0(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD0_DATA_BYTE_0_SHIFT)) & CAN_WORD0_DATA_BYTE_0_MASK)
19665 /*! @} */
19666 
19667 /* The count of CAN_WORD0 */
19668 #define CAN_WORD0_COUNT                          (64U)
19669 
19670 /*! @name WORD1 - Message Buffer 0 WORD1 Register..Message Buffer 63 WORD1 Register */
19671 /*! @{ */
19672 
19673 #define CAN_WORD1_DATA_BYTE_7_MASK               (0xFFU)
19674 #define CAN_WORD1_DATA_BYTE_7_SHIFT              (0U)
19675 /*! DATA_BYTE_7 - Data byte 0 of Rx/Tx frame.
19676  */
19677 #define CAN_WORD1_DATA_BYTE_7(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD1_DATA_BYTE_7_SHIFT)) & CAN_WORD1_DATA_BYTE_7_MASK)
19678 
19679 #define CAN_WORD1_DATA_BYTE_6_MASK               (0xFF00U)
19680 #define CAN_WORD1_DATA_BYTE_6_SHIFT              (8U)
19681 /*! DATA_BYTE_6 - Data byte 1 of Rx/Tx frame.
19682  */
19683 #define CAN_WORD1_DATA_BYTE_6(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD1_DATA_BYTE_6_SHIFT)) & CAN_WORD1_DATA_BYTE_6_MASK)
19684 
19685 #define CAN_WORD1_DATA_BYTE_5_MASK               (0xFF0000U)
19686 #define CAN_WORD1_DATA_BYTE_5_SHIFT              (16U)
19687 /*! DATA_BYTE_5 - Data byte 2 of Rx/Tx frame.
19688  */
19689 #define CAN_WORD1_DATA_BYTE_5(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD1_DATA_BYTE_5_SHIFT)) & CAN_WORD1_DATA_BYTE_5_MASK)
19690 
19691 #define CAN_WORD1_DATA_BYTE_4_MASK               (0xFF000000U)
19692 #define CAN_WORD1_DATA_BYTE_4_SHIFT              (24U)
19693 /*! DATA_BYTE_4 - Data byte 3 of Rx/Tx frame.
19694  */
19695 #define CAN_WORD1_DATA_BYTE_4(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WORD1_DATA_BYTE_4_SHIFT)) & CAN_WORD1_DATA_BYTE_4_MASK)
19696 /*! @} */
19697 
19698 /* The count of CAN_WORD1 */
19699 #define CAN_WORD1_COUNT                          (64U)
19700 
19701 /*! @name RXIMR - Rx Individual Mask registers */
19702 /*! @{ */
19703 
19704 #define CAN_RXIMR_MI_MASK                        (0xFFFFFFFFU)
19705 #define CAN_RXIMR_MI_SHIFT                       (0U)
19706 /*! MI - Individual Mask Bits
19707  */
19708 #define CAN_RXIMR_MI(x)                          (((uint32_t)(((uint32_t)(x)) << CAN_RXIMR_MI_SHIFT)) & CAN_RXIMR_MI_MASK)
19709 /*! @} */
19710 
19711 /* The count of CAN_RXIMR */
19712 #define CAN_RXIMR_COUNT                          (64U)
19713 
19714 /*! @name MECR - Memory Error Control register */
19715 /*! @{ */
19716 
19717 #define CAN_MECR_NCEFAFRZ_MASK                   (0x80U)
19718 #define CAN_MECR_NCEFAFRZ_SHIFT                  (7U)
19719 /*! NCEFAFRZ - Non-Correctable Errors In FlexCAN Access Put Device In Freeze Mode
19720  *  0b0..Keep normal operation.
19721  *  0b1..Put FlexCAN in Freeze mode (see section "Freeze mode").
19722  */
19723 #define CAN_MECR_NCEFAFRZ(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_MECR_NCEFAFRZ_SHIFT)) & CAN_MECR_NCEFAFRZ_MASK)
19724 
19725 #define CAN_MECR_ECCDIS_MASK                     (0x100U)
19726 #define CAN_MECR_ECCDIS_SHIFT                    (8U)
19727 /*! ECCDIS - Error Correction Disable
19728  *  0b0..Enable memory error correction.
19729  *  0b1..Disable memory error correction.
19730  */
19731 #define CAN_MECR_ECCDIS(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_MECR_ECCDIS_SHIFT)) & CAN_MECR_ECCDIS_MASK)
19732 
19733 #define CAN_MECR_RERRDIS_MASK                    (0x200U)
19734 #define CAN_MECR_RERRDIS_SHIFT                   (9U)
19735 /*! RERRDIS - Error Report Disable
19736  *  0b0..Enable updates of the error report registers.
19737  *  0b1..Disable updates of the error report registers.
19738  */
19739 #define CAN_MECR_RERRDIS(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_MECR_RERRDIS_SHIFT)) & CAN_MECR_RERRDIS_MASK)
19740 
19741 #define CAN_MECR_EXTERRIE_MASK                   (0x2000U)
19742 #define CAN_MECR_EXTERRIE_SHIFT                  (13U)
19743 /*! EXTERRIE - Extended Error Injection Enable
19744  *  0b0..Error injection is applied only to the 32-bit word.
19745  *  0b1..Error injection is applied to the 64-bit word.
19746  */
19747 #define CAN_MECR_EXTERRIE(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_MECR_EXTERRIE_SHIFT)) & CAN_MECR_EXTERRIE_MASK)
19748 
19749 #define CAN_MECR_FAERRIE_MASK                    (0x4000U)
19750 #define CAN_MECR_FAERRIE_SHIFT                   (14U)
19751 /*! FAERRIE - FlexCAN Access Error Injection Enable
19752  *  0b0..Injection is disabled.
19753  *  0b1..Injection is enabled.
19754  */
19755 #define CAN_MECR_FAERRIE(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_MECR_FAERRIE_SHIFT)) & CAN_MECR_FAERRIE_MASK)
19756 
19757 #define CAN_MECR_HAERRIE_MASK                    (0x8000U)
19758 #define CAN_MECR_HAERRIE_SHIFT                   (15U)
19759 /*! HAERRIE - Host Access Error Injection Enable
19760  *  0b0..Injection is disabled.
19761  *  0b1..Injection is enabled.
19762  */
19763 #define CAN_MECR_HAERRIE(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_MECR_HAERRIE_SHIFT)) & CAN_MECR_HAERRIE_MASK)
19764 
19765 #define CAN_MECR_CEI_MSK_MASK                    (0x10000U)
19766 #define CAN_MECR_CEI_MSK_SHIFT                   (16U)
19767 /*! CEI_MSK - Correctable Errors Interrupt Mask
19768  *  0b0..Interrupt is disabled.
19769  *  0b1..Interrupt is enabled.
19770  */
19771 #define CAN_MECR_CEI_MSK(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_MECR_CEI_MSK_SHIFT)) & CAN_MECR_CEI_MSK_MASK)
19772 
19773 #define CAN_MECR_FANCEI_MSK_MASK                 (0x40000U)
19774 #define CAN_MECR_FANCEI_MSK_SHIFT                (18U)
19775 /*! FANCEI_MSK - FlexCAN Access With Non-Correctable Errors Interrupt Mask
19776  *  0b0..Interrupt is disabled.
19777  *  0b1..Interrupt is enabled.
19778  */
19779 #define CAN_MECR_FANCEI_MSK(x)                   (((uint32_t)(((uint32_t)(x)) << CAN_MECR_FANCEI_MSK_SHIFT)) & CAN_MECR_FANCEI_MSK_MASK)
19780 
19781 #define CAN_MECR_HANCEI_MSK_MASK                 (0x80000U)
19782 #define CAN_MECR_HANCEI_MSK_SHIFT                (19U)
19783 /*! HANCEI_MSK - Host Access With Non-Correctable Errors Interrupt Mask
19784  *  0b0..Interrupt is disabled.
19785  *  0b1..Interrupt is enabled.
19786  */
19787 #define CAN_MECR_HANCEI_MSK(x)                   (((uint32_t)(((uint32_t)(x)) << CAN_MECR_HANCEI_MSK_SHIFT)) & CAN_MECR_HANCEI_MSK_MASK)
19788 
19789 #define CAN_MECR_ECRWRDIS_MASK                   (0x80000000U)
19790 #define CAN_MECR_ECRWRDIS_SHIFT                  (31U)
19791 /*! ECRWRDIS - Error Configuration Register Write Disable
19792  *  0b0..Write is enabled.
19793  *  0b1..Write is disabled.
19794  */
19795 #define CAN_MECR_ECRWRDIS(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_MECR_ECRWRDIS_SHIFT)) & CAN_MECR_ECRWRDIS_MASK)
19796 /*! @} */
19797 
19798 /*! @name ERRIAR - Error Injection Address register */
19799 /*! @{ */
19800 
19801 #define CAN_ERRIAR_INJADDR_L_MASK                (0x3U)
19802 #define CAN_ERRIAR_INJADDR_L_SHIFT               (0U)
19803 /*! INJADDR_L - Error Injection Address Low
19804  */
19805 #define CAN_ERRIAR_INJADDR_L(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ERRIAR_INJADDR_L_SHIFT)) & CAN_ERRIAR_INJADDR_L_MASK)
19806 
19807 #define CAN_ERRIAR_INJADDR_H_MASK                (0x3FFCU)
19808 #define CAN_ERRIAR_INJADDR_H_SHIFT               (2U)
19809 /*! INJADDR_H - Error Injection Address High
19810  */
19811 #define CAN_ERRIAR_INJADDR_H(x)                  (((uint32_t)(((uint32_t)(x)) << CAN_ERRIAR_INJADDR_H_SHIFT)) & CAN_ERRIAR_INJADDR_H_MASK)
19812 /*! @} */
19813 
19814 /*! @name ERRIDPR - Error Injection Data Pattern register */
19815 /*! @{ */
19816 
19817 #define CAN_ERRIDPR_DFLIP_MASK                   (0xFFFFFFFFU)
19818 #define CAN_ERRIDPR_DFLIP_SHIFT                  (0U)
19819 /*! DFLIP - Data flip pattern
19820  */
19821 #define CAN_ERRIDPR_DFLIP(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_ERRIDPR_DFLIP_SHIFT)) & CAN_ERRIDPR_DFLIP_MASK)
19822 /*! @} */
19823 
19824 /*! @name ERRIPPR - Error Injection Parity Pattern register */
19825 /*! @{ */
19826 
19827 #define CAN_ERRIPPR_PFLIP0_MASK                  (0x1FU)
19828 #define CAN_ERRIPPR_PFLIP0_SHIFT                 (0U)
19829 /*! PFLIP0 - Parity Flip Pattern For Byte 0 (Least Significant)
19830  */
19831 #define CAN_ERRIPPR_PFLIP0(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRIPPR_PFLIP0_SHIFT)) & CAN_ERRIPPR_PFLIP0_MASK)
19832 
19833 #define CAN_ERRIPPR_PFLIP1_MASK                  (0x1F00U)
19834 #define CAN_ERRIPPR_PFLIP1_SHIFT                 (8U)
19835 /*! PFLIP1 - Parity Flip Pattern For Byte 1
19836  */
19837 #define CAN_ERRIPPR_PFLIP1(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRIPPR_PFLIP1_SHIFT)) & CAN_ERRIPPR_PFLIP1_MASK)
19838 
19839 #define CAN_ERRIPPR_PFLIP2_MASK                  (0x1F0000U)
19840 #define CAN_ERRIPPR_PFLIP2_SHIFT                 (16U)
19841 /*! PFLIP2 - Parity Flip Pattern For Byte 2
19842  */
19843 #define CAN_ERRIPPR_PFLIP2(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRIPPR_PFLIP2_SHIFT)) & CAN_ERRIPPR_PFLIP2_MASK)
19844 
19845 #define CAN_ERRIPPR_PFLIP3_MASK                  (0x1F000000U)
19846 #define CAN_ERRIPPR_PFLIP3_SHIFT                 (24U)
19847 /*! PFLIP3 - Parity Flip Pattern For Byte 3 (most significant)
19848  */
19849 #define CAN_ERRIPPR_PFLIP3(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRIPPR_PFLIP3_SHIFT)) & CAN_ERRIPPR_PFLIP3_MASK)
19850 /*! @} */
19851 
19852 /*! @name RERRAR - Error Report Address register */
19853 /*! @{ */
19854 
19855 #define CAN_RERRAR_ERRADDR_MASK                  (0x3FFFU)
19856 #define CAN_RERRAR_ERRADDR_SHIFT                 (0U)
19857 /*! ERRADDR - Address Where Error Detected
19858  */
19859 #define CAN_RERRAR_ERRADDR(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RERRAR_ERRADDR_SHIFT)) & CAN_RERRAR_ERRADDR_MASK)
19860 
19861 #define CAN_RERRAR_SAID_MASK                     (0x70000U)
19862 #define CAN_RERRAR_SAID_SHIFT                    (16U)
19863 /*! SAID - SAID
19864  */
19865 #define CAN_RERRAR_SAID(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_RERRAR_SAID_SHIFT)) & CAN_RERRAR_SAID_MASK)
19866 
19867 #define CAN_RERRAR_NCE_MASK                      (0x1000000U)
19868 #define CAN_RERRAR_NCE_SHIFT                     (24U)
19869 /*! NCE - Non-Correctable Error
19870  *  0b0..Reporting a correctable error
19871  *  0b1..Reporting a non-correctable error
19872  */
19873 #define CAN_RERRAR_NCE(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_RERRAR_NCE_SHIFT)) & CAN_RERRAR_NCE_MASK)
19874 /*! @} */
19875 
19876 /*! @name RERRDR - Error Report Data register */
19877 /*! @{ */
19878 
19879 #define CAN_RERRDR_RDATA_MASK                    (0xFFFFFFFFU)
19880 #define CAN_RERRDR_RDATA_SHIFT                   (0U)
19881 /*! RDATA - Raw data word read from memory with error
19882  */
19883 #define CAN_RERRDR_RDATA(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RERRDR_RDATA_SHIFT)) & CAN_RERRDR_RDATA_MASK)
19884 /*! @} */
19885 
19886 /*! @name RERRSYNR - Error Report Syndrome register */
19887 /*! @{ */
19888 
19889 #define CAN_RERRSYNR_SYND0_MASK                  (0x1FU)
19890 #define CAN_RERRSYNR_SYND0_SHIFT                 (0U)
19891 /*! SYND0 - Error Syndrome For Byte 0 (least significant)
19892  */
19893 #define CAN_RERRSYNR_SYND0(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_SYND0_SHIFT)) & CAN_RERRSYNR_SYND0_MASK)
19894 
19895 #define CAN_RERRSYNR_BE0_MASK                    (0x80U)
19896 #define CAN_RERRSYNR_BE0_SHIFT                   (7U)
19897 /*! BE0 - Byte Enabled For Byte 0 (least significant)
19898  *  0b0..The byte was not read.
19899  *  0b1..The byte was read.
19900  */
19901 #define CAN_RERRSYNR_BE0(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_BE0_SHIFT)) & CAN_RERRSYNR_BE0_MASK)
19902 
19903 #define CAN_RERRSYNR_SYND1_MASK                  (0x1F00U)
19904 #define CAN_RERRSYNR_SYND1_SHIFT                 (8U)
19905 /*! SYND1 - Error Syndrome for Byte 1
19906  */
19907 #define CAN_RERRSYNR_SYND1(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_SYND1_SHIFT)) & CAN_RERRSYNR_SYND1_MASK)
19908 
19909 #define CAN_RERRSYNR_BE1_MASK                    (0x8000U)
19910 #define CAN_RERRSYNR_BE1_SHIFT                   (15U)
19911 /*! BE1 - Byte Enabled For Byte 1
19912  *  0b0..The byte was not read.
19913  *  0b1..The byte was read.
19914  */
19915 #define CAN_RERRSYNR_BE1(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_BE1_SHIFT)) & CAN_RERRSYNR_BE1_MASK)
19916 
19917 #define CAN_RERRSYNR_SYND2_MASK                  (0x1F0000U)
19918 #define CAN_RERRSYNR_SYND2_SHIFT                 (16U)
19919 /*! SYND2 - Error Syndrome For Byte 2
19920  */
19921 #define CAN_RERRSYNR_SYND2(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_SYND2_SHIFT)) & CAN_RERRSYNR_SYND2_MASK)
19922 
19923 #define CAN_RERRSYNR_BE2_MASK                    (0x800000U)
19924 #define CAN_RERRSYNR_BE2_SHIFT                   (23U)
19925 /*! BE2 - Byte Enabled For Byte 2
19926  *  0b0..The byte was not read.
19927  *  0b1..The byte was read.
19928  */
19929 #define CAN_RERRSYNR_BE2(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_BE2_SHIFT)) & CAN_RERRSYNR_BE2_MASK)
19930 
19931 #define CAN_RERRSYNR_SYND3_MASK                  (0x1F000000U)
19932 #define CAN_RERRSYNR_SYND3_SHIFT                 (24U)
19933 /*! SYND3 - Error Syndrome For Byte 3 (most significant)
19934  */
19935 #define CAN_RERRSYNR_SYND3(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_SYND3_SHIFT)) & CAN_RERRSYNR_SYND3_MASK)
19936 
19937 #define CAN_RERRSYNR_BE3_MASK                    (0x80000000U)
19938 #define CAN_RERRSYNR_BE3_SHIFT                   (31U)
19939 /*! BE3 - Byte Enabled For Byte 3 (most significant)
19940  *  0b0..The byte was not read.
19941  *  0b1..The byte was read.
19942  */
19943 #define CAN_RERRSYNR_BE3(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_RERRSYNR_BE3_SHIFT)) & CAN_RERRSYNR_BE3_MASK)
19944 /*! @} */
19945 
19946 /*! @name ERRSR - Error Status register */
19947 /*! @{ */
19948 
19949 #define CAN_ERRSR_CEIOF_MASK                     (0x1U)
19950 #define CAN_ERRSR_CEIOF_SHIFT                    (0U)
19951 /*! CEIOF - Correctable Error Interrupt Overrun Flag
19952  *  0b0..No overrun on correctable errors
19953  *  0b1..Overrun on correctable errors
19954  */
19955 #define CAN_ERRSR_CEIOF(x)                       (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_CEIOF_SHIFT)) & CAN_ERRSR_CEIOF_MASK)
19956 
19957 #define CAN_ERRSR_FANCEIOF_MASK                  (0x4U)
19958 #define CAN_ERRSR_FANCEIOF_SHIFT                 (2U)
19959 /*! FANCEIOF - FlexCAN Access With Non-Correctable Error Interrupt Overrun Flag
19960  *  0b0..No overrun on non-correctable errors in FlexCAN access
19961  *  0b1..Overrun on non-correctable errors in FlexCAN access
19962  */
19963 #define CAN_ERRSR_FANCEIOF(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_FANCEIOF_SHIFT)) & CAN_ERRSR_FANCEIOF_MASK)
19964 
19965 #define CAN_ERRSR_HANCEIOF_MASK                  (0x8U)
19966 #define CAN_ERRSR_HANCEIOF_SHIFT                 (3U)
19967 /*! HANCEIOF - Host Access With Non-Correctable Error Interrupt Overrun Flag
19968  *  0b0..No overrun on non-correctable errors in host access
19969  *  0b1..Overrun on non-correctable errors in host access
19970  */
19971 #define CAN_ERRSR_HANCEIOF(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_HANCEIOF_SHIFT)) & CAN_ERRSR_HANCEIOF_MASK)
19972 
19973 #define CAN_ERRSR_CEIF_MASK                      (0x10000U)
19974 #define CAN_ERRSR_CEIF_SHIFT                     (16U)
19975 /*! CEIF - Correctable Error Interrupt Flag
19976  *  0b0..No correctable errors were detected so far.
19977  *  0b1..A correctable error was detected.
19978  */
19979 #define CAN_ERRSR_CEIF(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_CEIF_SHIFT)) & CAN_ERRSR_CEIF_MASK)
19980 
19981 #define CAN_ERRSR_FANCEIF_MASK                   (0x40000U)
19982 #define CAN_ERRSR_FANCEIF_SHIFT                  (18U)
19983 /*! FANCEIF - FlexCAN Access With Non-Correctable Error Interrupt Flag
19984  *  0b0..No non-correctable errors were detected in FlexCAN accesses so far.
19985  *  0b1..A non-correctable error was detected in a FlexCAN access.
19986  */
19987 #define CAN_ERRSR_FANCEIF(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_FANCEIF_SHIFT)) & CAN_ERRSR_FANCEIF_MASK)
19988 
19989 #define CAN_ERRSR_HANCEIF_MASK                   (0x80000U)
19990 #define CAN_ERRSR_HANCEIF_SHIFT                  (19U)
19991 /*! HANCEIF - Host Access With Non-Correctable Error Interrupt Flag
19992  *  0b0..No non-correctable errors were detected in host accesses so far.
19993  *  0b1..A non-correctable error was detected in a host access.
19994  */
19995 #define CAN_ERRSR_HANCEIF(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_ERRSR_HANCEIF_SHIFT)) & CAN_ERRSR_HANCEIF_MASK)
19996 /*! @} */
19997 
19998 /*! @name FDCTRL - CAN FD Control register */
19999 /*! @{ */
20000 
20001 #define CAN_FDCTRL_TDCVAL_MASK                   (0x3FU)
20002 #define CAN_FDCTRL_TDCVAL_SHIFT                  (0U)
20003 /*! TDCVAL - Transceiver Delay Compensation Value
20004  */
20005 #define CAN_FDCTRL_TDCVAL(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_TDCVAL_SHIFT)) & CAN_FDCTRL_TDCVAL_MASK)
20006 
20007 #define CAN_FDCTRL_TDCOFF_MASK                   (0x1F00U)
20008 #define CAN_FDCTRL_TDCOFF_SHIFT                  (8U)
20009 /*! TDCOFF - Transceiver Delay Compensation Offset
20010  */
20011 #define CAN_FDCTRL_TDCOFF(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_TDCOFF_SHIFT)) & CAN_FDCTRL_TDCOFF_MASK)
20012 
20013 #define CAN_FDCTRL_TDCFAIL_MASK                  (0x4000U)
20014 #define CAN_FDCTRL_TDCFAIL_SHIFT                 (14U)
20015 /*! TDCFAIL - Transceiver Delay Compensation Fail
20016  *  0b0..Measured loop delay is in range.
20017  *  0b1..Measured loop delay is out of range.
20018  */
20019 #define CAN_FDCTRL_TDCFAIL(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_TDCFAIL_SHIFT)) & CAN_FDCTRL_TDCFAIL_MASK)
20020 
20021 #define CAN_FDCTRL_TDCEN_MASK                    (0x8000U)
20022 #define CAN_FDCTRL_TDCEN_SHIFT                   (15U)
20023 /*! TDCEN - Transceiver Delay Compensation Enable
20024  *  0b0..TDC is disabled
20025  *  0b1..TDC is enabled
20026  */
20027 #define CAN_FDCTRL_TDCEN(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_TDCEN_SHIFT)) & CAN_FDCTRL_TDCEN_MASK)
20028 
20029 #define CAN_FDCTRL_MBDSR0_MASK                   (0x30000U)
20030 #define CAN_FDCTRL_MBDSR0_SHIFT                  (16U)
20031 /*! MBDSR0 - Message Buffer Data Size for Region 0
20032  *  0b00..Selects 8 bytes per message buffer.
20033  *  0b01..Selects 16 bytes per message buffer.
20034  *  0b10..Selects 32 bytes per message buffer.
20035  *  0b11..Selects 64 bytes per message buffer.
20036  */
20037 #define CAN_FDCTRL_MBDSR0(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_MBDSR0_SHIFT)) & CAN_FDCTRL_MBDSR0_MASK)
20038 
20039 #define CAN_FDCTRL_MBDSR1_MASK                   (0x180000U)
20040 #define CAN_FDCTRL_MBDSR1_SHIFT                  (19U)
20041 /*! MBDSR1 - Message Buffer Data Size for Region 1
20042  *  0b00..Selects 8 bytes per message buffer.
20043  *  0b01..Selects 16 bytes per message buffer.
20044  *  0b10..Selects 32 bytes per message buffer.
20045  *  0b11..Selects 64 bytes per message buffer.
20046  */
20047 #define CAN_FDCTRL_MBDSR1(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_MBDSR1_SHIFT)) & CAN_FDCTRL_MBDSR1_MASK)
20048 
20049 #define CAN_FDCTRL_FDRATE_MASK                   (0x80000000U)
20050 #define CAN_FDCTRL_FDRATE_SHIFT                  (31U)
20051 /*! FDRATE - Bit Rate Switch Enable
20052  *  0b0..Transmit a frame in nominal rate. The BRS bit in the Tx MB has no effect.
20053  *  0b1..Transmit a frame with bit rate switching if the BRS bit in the Tx MB is recessive.
20054  */
20055 #define CAN_FDCTRL_FDRATE(x)                     (((uint32_t)(((uint32_t)(x)) << CAN_FDCTRL_FDRATE_SHIFT)) & CAN_FDCTRL_FDRATE_MASK)
20056 /*! @} */
20057 
20058 /*! @name FDCBT - CAN FD Bit Timing register */
20059 /*! @{ */
20060 
20061 #define CAN_FDCBT_FPSEG2_MASK                    (0x7U)
20062 #define CAN_FDCBT_FPSEG2_SHIFT                   (0U)
20063 /*! FPSEG2 - Fast Phase Segment 2
20064  */
20065 #define CAN_FDCBT_FPSEG2(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_FDCBT_FPSEG2_SHIFT)) & CAN_FDCBT_FPSEG2_MASK)
20066 
20067 #define CAN_FDCBT_FPSEG1_MASK                    (0xE0U)
20068 #define CAN_FDCBT_FPSEG1_SHIFT                   (5U)
20069 /*! FPSEG1 - Fast Phase Segment 1
20070  */
20071 #define CAN_FDCBT_FPSEG1(x)                      (((uint32_t)(((uint32_t)(x)) << CAN_FDCBT_FPSEG1_SHIFT)) & CAN_FDCBT_FPSEG1_MASK)
20072 
20073 #define CAN_FDCBT_FPROPSEG_MASK                  (0x7C00U)
20074 #define CAN_FDCBT_FPROPSEG_SHIFT                 (10U)
20075 /*! FPROPSEG - Fast Propagation Segment
20076  */
20077 #define CAN_FDCBT_FPROPSEG(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_FDCBT_FPROPSEG_SHIFT)) & CAN_FDCBT_FPROPSEG_MASK)
20078 
20079 #define CAN_FDCBT_FRJW_MASK                      (0x70000U)
20080 #define CAN_FDCBT_FRJW_SHIFT                     (16U)
20081 /*! FRJW - Fast Resync Jump Width
20082  */
20083 #define CAN_FDCBT_FRJW(x)                        (((uint32_t)(((uint32_t)(x)) << CAN_FDCBT_FRJW_SHIFT)) & CAN_FDCBT_FRJW_MASK)
20084 
20085 #define CAN_FDCBT_FPRESDIV_MASK                  (0x3FF00000U)
20086 #define CAN_FDCBT_FPRESDIV_SHIFT                 (20U)
20087 /*! FPRESDIV - Fast Prescaler Division Factor
20088  */
20089 #define CAN_FDCBT_FPRESDIV(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_FDCBT_FPRESDIV_SHIFT)) & CAN_FDCBT_FPRESDIV_MASK)
20090 /*! @} */
20091 
20092 /*! @name FDCRC - CAN FD CRC register */
20093 /*! @{ */
20094 
20095 #define CAN_FDCRC_FD_TXCRC_MASK                  (0x1FFFFFU)
20096 #define CAN_FDCRC_FD_TXCRC_SHIFT                 (0U)
20097 /*! FD_TXCRC - Extended Transmitted CRC value
20098  */
20099 #define CAN_FDCRC_FD_TXCRC(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_FDCRC_FD_TXCRC_SHIFT)) & CAN_FDCRC_FD_TXCRC_MASK)
20100 
20101 #define CAN_FDCRC_FD_MBCRC_MASK                  (0x7F000000U)
20102 #define CAN_FDCRC_FD_MBCRC_SHIFT                 (24U)
20103 /*! FD_MBCRC - CRC Mailbox Number for FD_TXCRC
20104  */
20105 #define CAN_FDCRC_FD_MBCRC(x)                    (((uint32_t)(((uint32_t)(x)) << CAN_FDCRC_FD_MBCRC_SHIFT)) & CAN_FDCRC_FD_MBCRC_MASK)
20106 /*! @} */
20107 
20108 
20109 /*!
20110  * @}
20111  */ /* end of group CAN_Register_Masks */
20112 
20113 
20114 /* CAN - Peripheral instance base addresses */
20115 /** Peripheral CAN1 base address */
20116 #define CAN1_BASE                                (0x400C4000u)
20117 /** Peripheral CAN1 base pointer */
20118 #define CAN1                                     ((CAN_Type *)CAN1_BASE)
20119 /** Peripheral CAN2 base address */
20120 #define CAN2_BASE                                (0x400C8000u)
20121 /** Peripheral CAN2 base pointer */
20122 #define CAN2                                     ((CAN_Type *)CAN2_BASE)
20123 /** Peripheral CAN3 base address */
20124 #define CAN3_BASE                                (0x40C3C000u)
20125 /** Peripheral CAN3 base pointer */
20126 #define CAN3                                     ((CAN_Type *)CAN3_BASE)
20127 /** Array initializer of CAN peripheral base addresses */
20128 #define CAN_BASE_ADDRS                           { 0u, CAN1_BASE, CAN2_BASE, CAN3_BASE }
20129 /** Array initializer of CAN peripheral base pointers */
20130 #define CAN_BASE_PTRS                            { (CAN_Type *)0u, CAN1, CAN2, CAN3 }
20131 /** Interrupt vectors for the CAN peripheral type */
20132 #define CAN_Rx_Warning_IRQS                      { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20133 #define CAN_Tx_Warning_IRQS                      { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20134 #define CAN_Wake_Up_IRQS                         { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20135 #define CAN_Error_IRQS                           { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20136 #define CAN_Bus_Off_IRQS                         { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20137 #define CAN_ORed_Message_buffer_IRQS             { NotAvail_IRQn, CAN1_IRQn, CAN2_IRQn, CAN3_IRQn }
20138 
20139 /*!
20140  * @}
20141  */ /* end of group CAN_Peripheral_Access_Layer */
20142 
20143 
20144 /* ----------------------------------------------------------------------------
20145    -- CAN_WRAPPER Peripheral Access Layer
20146    ---------------------------------------------------------------------------- */
20147 
20148 /*!
20149  * @addtogroup CAN_WRAPPER_Peripheral_Access_Layer CAN_WRAPPER Peripheral Access Layer
20150  * @{
20151  */
20152 
20153 /** CAN_WRAPPER - Register Layout Typedef */
20154 typedef struct {
20155        uint8_t RESERVED_0[2528];
20156   __IO uint32_t GFWR;                              /**< Glitch Filter Width Register, offset: 0x9E0 */
20157 } CAN_WRAPPER_Type;
20158 
20159 /* ----------------------------------------------------------------------------
20160    -- CAN_WRAPPER Register Masks
20161    ---------------------------------------------------------------------------- */
20162 
20163 /*!
20164  * @addtogroup CAN_WRAPPER_Register_Masks CAN_WRAPPER Register Masks
20165  * @{
20166  */
20167 
20168 /*! @name GFWR - Glitch Filter Width Register */
20169 /*! @{ */
20170 
20171 #define CAN_WRAPPER_GFWR_GFWR_MASK               (0xFFU)
20172 #define CAN_WRAPPER_GFWR_GFWR_SHIFT              (0U)
20173 /*! GFWR - Glitch Filter Width
20174  */
20175 #define CAN_WRAPPER_GFWR_GFWR(x)                 (((uint32_t)(((uint32_t)(x)) << CAN_WRAPPER_GFWR_GFWR_SHIFT)) & CAN_WRAPPER_GFWR_GFWR_MASK)
20176 /*! @} */
20177 
20178 
20179 /*!
20180  * @}
20181  */ /* end of group CAN_WRAPPER_Register_Masks */
20182 
20183 
20184 /* CAN_WRAPPER - Peripheral instance base addresses */
20185 /** Peripheral CAN1_WRAPPER base address */
20186 #define CAN1_WRAPPER_BASE                        (0x400C4000u)
20187 /** Peripheral CAN1_WRAPPER base pointer */
20188 #define CAN1_WRAPPER                             ((CAN_WRAPPER_Type *)CAN1_WRAPPER_BASE)
20189 /** Peripheral CAN2_WRAPPER base address */
20190 #define CAN2_WRAPPER_BASE                        (0x400C8000u)
20191 /** Peripheral CAN2_WRAPPER base pointer */
20192 #define CAN2_WRAPPER                             ((CAN_WRAPPER_Type *)CAN2_WRAPPER_BASE)
20193 /** Peripheral CAN3_WRAPPER base address */
20194 #define CAN3_WRAPPER_BASE                        (0x40C3C000u)
20195 /** Peripheral CAN3_WRAPPER base pointer */
20196 #define CAN3_WRAPPER                             ((CAN_WRAPPER_Type *)CAN3_WRAPPER_BASE)
20197 /** Array initializer of CAN_WRAPPER peripheral base addresses */
20198 #define CAN_WRAPPER_BASE_ADDRS                   { 0u, CAN1_WRAPPER_BASE, CAN2_WRAPPER_BASE, CAN3_WRAPPER_BASE }
20199 /** Array initializer of CAN_WRAPPER peripheral base pointers */
20200 #define CAN_WRAPPER_BASE_PTRS                    { (CAN_WRAPPER_Type *)0u, CAN1_WRAPPER, CAN2_WRAPPER, CAN3_WRAPPER }
20201 
20202 /*!
20203  * @}
20204  */ /* end of group CAN_WRAPPER_Peripheral_Access_Layer */
20205 
20206 
20207 /* ----------------------------------------------------------------------------
20208    -- CCM Peripheral Access Layer
20209    ---------------------------------------------------------------------------- */
20210 
20211 /*!
20212  * @addtogroup CCM_Peripheral_Access_Layer CCM Peripheral Access Layer
20213  * @{
20214  */
20215 
20216 /** CCM - Register Layout Typedef */
20217 typedef struct {
20218   struct {                                         /* offset: 0x0, array step: 0x80 */
20219     __IO uint32_t CONTROL;                           /**< Clock root control, array offset: 0x0, array step: 0x80 */
20220     __IO uint32_t CONTROL_SET;                       /**< Clock root control, array offset: 0x4, array step: 0x80 */
20221     __IO uint32_t CONTROL_CLR;                       /**< Clock root control, array offset: 0x8, array step: 0x80 */
20222     __IO uint32_t CONTROL_TOG;                       /**< Clock root control, array offset: 0xC, array step: 0x80 */
20223          uint8_t RESERVED_0[16];
20224     __I  uint32_t STATUS0;                           /**< Clock root working status, array offset: 0x20, array step: 0x80 */
20225     __I  uint32_t STATUS1;                           /**< Clock root low power status, array offset: 0x24, array step: 0x80 */
20226          uint8_t RESERVED_1[4];
20227     __I  uint32_t CONFIG;                            /**< Clock root configuration, array offset: 0x2C, array step: 0x80 */
20228     __IO uint32_t AUTHEN;                            /**< Clock root access control, array offset: 0x30, array step: 0x80 */
20229     __IO uint32_t AUTHEN_SET;                        /**< Clock root access control, array offset: 0x34, array step: 0x80 */
20230     __IO uint32_t AUTHEN_CLR;                        /**< Clock root access control, array offset: 0x38, array step: 0x80 */
20231     __IO uint32_t AUTHEN_TOG;                        /**< Clock root access control, array offset: 0x3C, array step: 0x80 */
20232     __IO uint32_t SETPOINT[16];                      /**< Setpoint setting, array offset: 0x40, array step: index*0x80, index2*0x4 */
20233   } CLOCK_ROOT[79];
20234        uint8_t RESERVED_0[6272];
20235   struct {                                         /* offset: 0x4000, array step: 0x80 */
20236     __IO uint32_t CONTROL;                           /**< Clock group control, array offset: 0x4000, array step: 0x80 */
20237     __IO uint32_t CONTROL_SET;                       /**< Clock group control, array offset: 0x4004, array step: 0x80 */
20238     __IO uint32_t CONTROL_CLR;                       /**< Clock group control, array offset: 0x4008, array step: 0x80 */
20239     __IO uint32_t CONTROL_TOG;                       /**< Clock group control, array offset: 0x400C, array step: 0x80 */
20240          uint8_t RESERVED_0[16];
20241     __IO uint32_t STATUS0;                           /**< Clock group working status, array offset: 0x4020, array step: 0x80 */
20242     __I  uint32_t STATUS1;                           /**< Clock group low power/extend status, array offset: 0x4024, array step: 0x80 */
20243          uint8_t RESERVED_1[4];
20244     __I  uint32_t CONFIG;                            /**< Clock group configuration, array offset: 0x402C, array step: 0x80 */
20245     __IO uint32_t AUTHEN;                            /**< Clock group access control, array offset: 0x4030, array step: 0x80 */
20246     __IO uint32_t AUTHEN_SET;                        /**< Clock group access control, array offset: 0x4034, array step: 0x80 */
20247     __IO uint32_t AUTHEN_CLR;                        /**< Clock group access control, array offset: 0x4038, array step: 0x80 */
20248     __IO uint32_t AUTHEN_TOG;                        /**< Clock group access control, array offset: 0x403C, array step: 0x80 */
20249     __IO uint32_t SETPOINT[16];                      /**< Setpoint setting, array offset: 0x4040, array step: index*0x80, index2*0x4 */
20250   } CLOCK_GROUP[2];
20251        uint8_t RESERVED_1[1792];
20252   struct {                                         /* offset: 0x4800, array step: 0x20 */
20253     __IO uint32_t GPR_SHARED;                        /**< General Purpose Register, array offset: 0x4800, array step: 0x20 */
20254     __IO uint32_t SET;                               /**< General Purpose Register, array offset: 0x4804, array step: 0x20 */
20255     __IO uint32_t CLR;                               /**< General Purpose Register, array offset: 0x4808, array step: 0x20 */
20256     __IO uint32_t TOG;                               /**< General Purpose Register, array offset: 0x480C, array step: 0x20 */
20257     __IO uint32_t AUTHEN;                            /**< GPR access control, array offset: 0x4810, array step: 0x20 */
20258     __IO uint32_t AUTHEN_SET;                        /**< GPR access control, array offset: 0x4814, array step: 0x20 */
20259     __IO uint32_t AUTHEN_CLR;                        /**< GPR access control, array offset: 0x4818, array step: 0x20 */
20260     __IO uint32_t AUTHEN_TOG;                        /**< GPR access control, array offset: 0x481C, array step: 0x20 */
20261   } GPR_SHARED[8];
20262        uint8_t RESERVED_2[800];
20263   __IO uint32_t GPR_PRIVATE1;                      /**< General Purpose Register, offset: 0x4C20 */
20264   __IO uint32_t GPR_PRIVATE1_SET;                  /**< General Purpose Register, offset: 0x4C24 */
20265   __IO uint32_t GPR_PRIVATE1_CLR;                  /**< General Purpose Register, offset: 0x4C28 */
20266   __IO uint32_t GPR_PRIVATE1_TOG;                  /**< General Purpose Register, offset: 0x4C2C */
20267   __IO uint32_t GPR_PRIVATE1_AUTHEN;               /**< GPR access control, offset: 0x4C30 */
20268   __IO uint32_t GPR_PRIVATE1_AUTHEN_SET;           /**< GPR access control, offset: 0x4C34 */
20269   __IO uint32_t GPR_PRIVATE1_AUTHEN_CLR;           /**< GPR access control, offset: 0x4C38 */
20270   __IO uint32_t GPR_PRIVATE1_AUTHEN_TOG;           /**< GPR access control, offset: 0x4C3C */
20271   __IO uint32_t GPR_PRIVATE2;                      /**< General Purpose Register, offset: 0x4C40 */
20272   __IO uint32_t GPR_PRIVATE2_SET;                  /**< General Purpose Register, offset: 0x4C44 */
20273   __IO uint32_t GPR_PRIVATE2_CLR;                  /**< General Purpose Register, offset: 0x4C48 */
20274   __IO uint32_t GPR_PRIVATE2_TOG;                  /**< General Purpose Register, offset: 0x4C4C */
20275   __IO uint32_t GPR_PRIVATE2_AUTHEN;               /**< GPR access control, offset: 0x4C50 */
20276   __IO uint32_t GPR_PRIVATE2_AUTHEN_SET;           /**< GPR access control, offset: 0x4C54 */
20277   __IO uint32_t GPR_PRIVATE2_AUTHEN_CLR;           /**< GPR access control, offset: 0x4C58 */
20278   __IO uint32_t GPR_PRIVATE2_AUTHEN_TOG;           /**< GPR access control, offset: 0x4C5C */
20279   __IO uint32_t GPR_PRIVATE3;                      /**< General Purpose Register, offset: 0x4C60 */
20280   __IO uint32_t GPR_PRIVATE3_SET;                  /**< General Purpose Register, offset: 0x4C64 */
20281   __IO uint32_t GPR_PRIVATE3_CLR;                  /**< General Purpose Register, offset: 0x4C68 */
20282   __IO uint32_t GPR_PRIVATE3_TOG;                  /**< General Purpose Register, offset: 0x4C6C */
20283   __IO uint32_t GPR_PRIVATE3_AUTHEN;               /**< GPR access control, offset: 0x4C70 */
20284   __IO uint32_t GPR_PRIVATE3_AUTHEN_SET;           /**< GPR access control, offset: 0x4C74 */
20285   __IO uint32_t GPR_PRIVATE3_AUTHEN_CLR;           /**< GPR access control, offset: 0x4C78 */
20286   __IO uint32_t GPR_PRIVATE3_AUTHEN_TOG;           /**< GPR access control, offset: 0x4C7C */
20287   __IO uint32_t GPR_PRIVATE4;                      /**< General Purpose Register, offset: 0x4C80 */
20288   __IO uint32_t GPR_PRIVATE4_SET;                  /**< General Purpose Register, offset: 0x4C84 */
20289   __IO uint32_t GPR_PRIVATE4_CLR;                  /**< General Purpose Register, offset: 0x4C88 */
20290   __IO uint32_t GPR_PRIVATE4_TOG;                  /**< General Purpose Register, offset: 0x4C8C */
20291   __IO uint32_t GPR_PRIVATE4_AUTHEN;               /**< GPR access control, offset: 0x4C90 */
20292   __IO uint32_t GPR_PRIVATE4_AUTHEN_SET;           /**< GPR access control, offset: 0x4C94 */
20293   __IO uint32_t GPR_PRIVATE4_AUTHEN_CLR;           /**< GPR access control, offset: 0x4C98 */
20294   __IO uint32_t GPR_PRIVATE4_AUTHEN_TOG;           /**< GPR access control, offset: 0x4C9C */
20295   __IO uint32_t GPR_PRIVATE5;                      /**< General Purpose Register, offset: 0x4CA0 */
20296   __IO uint32_t GPR_PRIVATE5_SET;                  /**< General Purpose Register, offset: 0x4CA4 */
20297   __IO uint32_t GPR_PRIVATE5_CLR;                  /**< General Purpose Register, offset: 0x4CA8 */
20298   __IO uint32_t GPR_PRIVATE5_TOG;                  /**< General Purpose Register, offset: 0x4CAC */
20299   __IO uint32_t GPR_PRIVATE5_AUTHEN;               /**< GPR access control, offset: 0x4CB0 */
20300   __IO uint32_t GPR_PRIVATE5_AUTHEN_SET;           /**< GPR access control, offset: 0x4CB4 */
20301   __IO uint32_t GPR_PRIVATE5_AUTHEN_CLR;           /**< GPR access control, offset: 0x4CB8 */
20302   __IO uint32_t GPR_PRIVATE5_AUTHEN_TOG;           /**< GPR access control, offset: 0x4CBC */
20303   __IO uint32_t GPR_PRIVATE6;                      /**< General Purpose Register, offset: 0x4CC0 */
20304   __IO uint32_t GPR_PRIVATE6_SET;                  /**< General Purpose Register, offset: 0x4CC4 */
20305   __IO uint32_t GPR_PRIVATE6_CLR;                  /**< General Purpose Register, offset: 0x4CC8 */
20306   __IO uint32_t GPR_PRIVATE6_TOG;                  /**< General Purpose Register, offset: 0x4CCC */
20307   __IO uint32_t GPR_PRIVATE6_AUTHEN;               /**< GPR access control, offset: 0x4CD0 */
20308   __IO uint32_t GPR_PRIVATE6_AUTHEN_SET;           /**< GPR access control, offset: 0x4CD4 */
20309   __IO uint32_t GPR_PRIVATE6_AUTHEN_CLR;           /**< GPR access control, offset: 0x4CD8 */
20310   __IO uint32_t GPR_PRIVATE6_AUTHEN_TOG;           /**< GPR access control, offset: 0x4CDC */
20311   __IO uint32_t GPR_PRIVATE7;                      /**< General Purpose Register, offset: 0x4CE0 */
20312   __IO uint32_t GPR_PRIVATE7_SET;                  /**< General Purpose Register, offset: 0x4CE4 */
20313   __IO uint32_t GPR_PRIVATE7_CLR;                  /**< General Purpose Register, offset: 0x4CE8 */
20314   __IO uint32_t GPR_PRIVATE7_TOG;                  /**< General Purpose Register, offset: 0x4CEC */
20315   __IO uint32_t GPR_PRIVATE7_AUTHEN;               /**< GPR access control, offset: 0x4CF0 */
20316   __IO uint32_t GPR_PRIVATE7_AUTHEN_SET;           /**< GPR access control, offset: 0x4CF4 */
20317   __IO uint32_t GPR_PRIVATE7_AUTHEN_CLR;           /**< GPR access control, offset: 0x4CF8 */
20318   __IO uint32_t GPR_PRIVATE7_AUTHEN_TOG;           /**< GPR access control, offset: 0x4CFC */
20319        uint8_t RESERVED_3[768];
20320   struct {                                         /* offset: 0x5000, array step: 0x20 */
20321     __IO uint32_t DIRECT;                            /**< Clock source direct control, array offset: 0x5000, array step: 0x20 */
20322     __IO uint32_t DOMAINr;                           /**< Clock source domain control, array offset: 0x5004, array step: 0x20 */
20323     __IO uint32_t SETPOINT;                          /**< Clock source Setpoint setting, array offset: 0x5008, array step: 0x20 */
20324          uint8_t RESERVED_0[4];
20325     __I  uint32_t STATUS0;                           /**< Clock source working status, array offset: 0x5010, array step: 0x20 */
20326     __I  uint32_t STATUS1;                           /**< Clock source low power status, array offset: 0x5014, array step: 0x20 */
20327     __I  uint32_t CONFIG;                            /**< Clock source configuration, array offset: 0x5018, array step: 0x20 */
20328     __IO uint32_t AUTHEN;                            /**< Clock source access control, array offset: 0x501C, array step: 0x20 */
20329   } OSCPLL[29];
20330        uint8_t RESERVED_4[3168];
20331   struct {                                         /* offset: 0x6000, array step: 0x20 */
20332     __IO uint32_t DIRECT;                            /**< LPCG direct control, array offset: 0x6000, array step: 0x20 */
20333     __IO uint32_t DOMAINr;                           /**< LPCG domain control, array offset: 0x6004, array step: 0x20 */
20334     __IO uint32_t SETPOINT;                          /**< LPCG Setpoint setting, array offset: 0x6008, array step: 0x20 */
20335          uint8_t RESERVED_0[4];
20336     __I  uint32_t STATUS0;                           /**< LPCG working status, array offset: 0x6010, array step: 0x20 */
20337     __I  uint32_t STATUS1;                           /**< LPCG low power status, array offset: 0x6014, array step: 0x20 */
20338     __I  uint32_t CONFIG;                            /**< LPCG configuration, array offset: 0x6018, array step: 0x20 */
20339     __IO uint32_t AUTHEN;                            /**< LPCG access control, array offset: 0x601C, array step: 0x20 */
20340   } LPCG[138];
20341 } CCM_Type;
20342 
20343 /* ----------------------------------------------------------------------------
20344    -- CCM Register Masks
20345    ---------------------------------------------------------------------------- */
20346 
20347 /*!
20348  * @addtogroup CCM_Register_Masks CCM Register Masks
20349  * @{
20350  */
20351 
20352 /*! @name CLOCK_ROOT_CONTROL - Clock root control */
20353 /*! @{ */
20354 
20355 #define CCM_CLOCK_ROOT_CONTROL_DIV_MASK          (0xFFU)
20356 #define CCM_CLOCK_ROOT_CONTROL_DIV_SHIFT         (0U)
20357 /*! DIV - Clock divider
20358  */
20359 #define CCM_CLOCK_ROOT_CONTROL_DIV(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_DIV_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_DIV_MASK)
20360 
20361 #define CCM_CLOCK_ROOT_CONTROL_MUX_MASK          (0x700U)
20362 #define CCM_CLOCK_ROOT_CONTROL_MUX_SHIFT         (8U)
20363 /*! MUX - Clock multiplexer
20364  */
20365 #define CCM_CLOCK_ROOT_CONTROL_MUX(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_MUX_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_MUX_MASK)
20366 
20367 #define CCM_CLOCK_ROOT_CONTROL_OFF_MASK          (0x1000000U)
20368 #define CCM_CLOCK_ROOT_CONTROL_OFF_SHIFT         (24U)
20369 /*! OFF - OFF
20370  *  0b0..Turn on clock
20371  *  0b1..Turn off clock
20372  */
20373 #define CCM_CLOCK_ROOT_CONTROL_OFF(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_OFF_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_OFF_MASK)
20374 /*! @} */
20375 
20376 /* The count of CCM_CLOCK_ROOT_CONTROL */
20377 #define CCM_CLOCK_ROOT_CONTROL_COUNT             (79U)
20378 
20379 /*! @name CLOCK_ROOT_CONTROL_SET - Clock root control */
20380 /*! @{ */
20381 
20382 #define CCM_CLOCK_ROOT_CONTROL_SET_DIV_MASK      (0xFFU)
20383 #define CCM_CLOCK_ROOT_CONTROL_SET_DIV_SHIFT     (0U)
20384 /*! DIV - Clock divider
20385  */
20386 #define CCM_CLOCK_ROOT_CONTROL_SET_DIV(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_SET_DIV_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_SET_DIV_MASK)
20387 
20388 #define CCM_CLOCK_ROOT_CONTROL_SET_MUX_MASK      (0x700U)
20389 #define CCM_CLOCK_ROOT_CONTROL_SET_MUX_SHIFT     (8U)
20390 /*! MUX - Clock multiplexer
20391  */
20392 #define CCM_CLOCK_ROOT_CONTROL_SET_MUX(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_SET_MUX_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_SET_MUX_MASK)
20393 
20394 #define CCM_CLOCK_ROOT_CONTROL_SET_OFF_MASK      (0x1000000U)
20395 #define CCM_CLOCK_ROOT_CONTROL_SET_OFF_SHIFT     (24U)
20396 /*! OFF - OFF
20397  */
20398 #define CCM_CLOCK_ROOT_CONTROL_SET_OFF(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_SET_OFF_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_SET_OFF_MASK)
20399 /*! @} */
20400 
20401 /* The count of CCM_CLOCK_ROOT_CONTROL_SET */
20402 #define CCM_CLOCK_ROOT_CONTROL_SET_COUNT         (79U)
20403 
20404 /*! @name CLOCK_ROOT_CONTROL_CLR - Clock root control */
20405 /*! @{ */
20406 
20407 #define CCM_CLOCK_ROOT_CONTROL_CLR_DIV_MASK      (0xFFU)
20408 #define CCM_CLOCK_ROOT_CONTROL_CLR_DIV_SHIFT     (0U)
20409 /*! DIV - Clock divider
20410  */
20411 #define CCM_CLOCK_ROOT_CONTROL_CLR_DIV(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_CLR_DIV_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_CLR_DIV_MASK)
20412 
20413 #define CCM_CLOCK_ROOT_CONTROL_CLR_MUX_MASK      (0x700U)
20414 #define CCM_CLOCK_ROOT_CONTROL_CLR_MUX_SHIFT     (8U)
20415 /*! MUX - Clock multiplexer
20416  */
20417 #define CCM_CLOCK_ROOT_CONTROL_CLR_MUX(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_CLR_MUX_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_CLR_MUX_MASK)
20418 
20419 #define CCM_CLOCK_ROOT_CONTROL_CLR_OFF_MASK      (0x1000000U)
20420 #define CCM_CLOCK_ROOT_CONTROL_CLR_OFF_SHIFT     (24U)
20421 /*! OFF - OFF
20422  */
20423 #define CCM_CLOCK_ROOT_CONTROL_CLR_OFF(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_CLR_OFF_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_CLR_OFF_MASK)
20424 /*! @} */
20425 
20426 /* The count of CCM_CLOCK_ROOT_CONTROL_CLR */
20427 #define CCM_CLOCK_ROOT_CONTROL_CLR_COUNT         (79U)
20428 
20429 /*! @name CLOCK_ROOT_CONTROL_TOG - Clock root control */
20430 /*! @{ */
20431 
20432 #define CCM_CLOCK_ROOT_CONTROL_TOG_DIV_MASK      (0xFFU)
20433 #define CCM_CLOCK_ROOT_CONTROL_TOG_DIV_SHIFT     (0U)
20434 /*! DIV - Clock divider
20435  */
20436 #define CCM_CLOCK_ROOT_CONTROL_TOG_DIV(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_TOG_DIV_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_TOG_DIV_MASK)
20437 
20438 #define CCM_CLOCK_ROOT_CONTROL_TOG_MUX_MASK      (0x700U)
20439 #define CCM_CLOCK_ROOT_CONTROL_TOG_MUX_SHIFT     (8U)
20440 /*! MUX - Clock multiplexer
20441  */
20442 #define CCM_CLOCK_ROOT_CONTROL_TOG_MUX(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_TOG_MUX_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_TOG_MUX_MASK)
20443 
20444 #define CCM_CLOCK_ROOT_CONTROL_TOG_OFF_MASK      (0x1000000U)
20445 #define CCM_CLOCK_ROOT_CONTROL_TOG_OFF_SHIFT     (24U)
20446 /*! OFF - OFF
20447  */
20448 #define CCM_CLOCK_ROOT_CONTROL_TOG_OFF(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONTROL_TOG_OFF_SHIFT)) & CCM_CLOCK_ROOT_CONTROL_TOG_OFF_MASK)
20449 /*! @} */
20450 
20451 /* The count of CCM_CLOCK_ROOT_CONTROL_TOG */
20452 #define CCM_CLOCK_ROOT_CONTROL_TOG_COUNT         (79U)
20453 
20454 /*! @name CLOCK_ROOT_STATUS0 - Clock root working status */
20455 /*! @{ */
20456 
20457 #define CCM_CLOCK_ROOT_STATUS0_DIV_MASK          (0xFFU)
20458 #define CCM_CLOCK_ROOT_STATUS0_DIV_SHIFT         (0U)
20459 /*! DIV - Current clock root DIV setting
20460  */
20461 #define CCM_CLOCK_ROOT_STATUS0_DIV(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_DIV_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_DIV_MASK)
20462 
20463 #define CCM_CLOCK_ROOT_STATUS0_MUX_MASK          (0x700U)
20464 #define CCM_CLOCK_ROOT_STATUS0_MUX_SHIFT         (8U)
20465 /*! MUX - Current clock root MUX setting
20466  */
20467 #define CCM_CLOCK_ROOT_STATUS0_MUX(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_MUX_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_MUX_MASK)
20468 
20469 #define CCM_CLOCK_ROOT_STATUS0_OFF_MASK          (0x1000000U)
20470 #define CCM_CLOCK_ROOT_STATUS0_OFF_SHIFT         (24U)
20471 /*! OFF - Current clock root OFF setting
20472  *  0b0..Clock is running
20473  *  0b1..Clock is disabled/off
20474  */
20475 #define CCM_CLOCK_ROOT_STATUS0_OFF(x)            (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_OFF_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_OFF_MASK)
20476 
20477 #define CCM_CLOCK_ROOT_STATUS0_POWERDOWN_MASK    (0x8000000U)
20478 #define CCM_CLOCK_ROOT_STATUS0_POWERDOWN_SHIFT   (27U)
20479 /*! POWERDOWN - Current clock root POWERDOWN setting
20480  *  0b1..Clock root is Powered Down
20481  *  0b0..Clock root is running
20482  */
20483 #define CCM_CLOCK_ROOT_STATUS0_POWERDOWN(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_POWERDOWN_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_POWERDOWN_MASK)
20484 
20485 #define CCM_CLOCK_ROOT_STATUS0_SLICE_BUSY_MASK   (0x10000000U)
20486 #define CCM_CLOCK_ROOT_STATUS0_SLICE_BUSY_SHIFT  (28U)
20487 /*! SLICE_BUSY - Internal updating in generation logic
20488  *  0b1..Clock generation logic is applying the new setting
20489  *  0b0..Clock generation logic is not busy
20490  */
20491 #define CCM_CLOCK_ROOT_STATUS0_SLICE_BUSY(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_SLICE_BUSY_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_SLICE_BUSY_MASK)
20492 
20493 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_FORWARD_MASK (0x20000000U)
20494 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_FORWARD_SHIFT (29U)
20495 /*! UPDATE_FORWARD - Internal status synchronization to clock generation logic
20496  *  0b1..Synchronization in process
20497  *  0b0..Synchronization not in process
20498  */
20499 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_FORWARD(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_UPDATE_FORWARD_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_UPDATE_FORWARD_MASK)
20500 
20501 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_REVERSE_MASK (0x40000000U)
20502 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_REVERSE_SHIFT (30U)
20503 /*! UPDATE_REVERSE - Internal status synchronization from clock generation logic
20504  *  0b1..Synchronization in process
20505  *  0b0..Synchronization not in process
20506  */
20507 #define CCM_CLOCK_ROOT_STATUS0_UPDATE_REVERSE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_UPDATE_REVERSE_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_UPDATE_REVERSE_MASK)
20508 
20509 #define CCM_CLOCK_ROOT_STATUS0_CHANGING_MASK     (0x80000000U)
20510 #define CCM_CLOCK_ROOT_STATUS0_CHANGING_SHIFT    (31U)
20511 /*! CHANGING - Internal updating in clock root
20512  *  0b1..Clock generation logic is updating currently
20513  *  0b0..Clock Status is not updating currently
20514  */
20515 #define CCM_CLOCK_ROOT_STATUS0_CHANGING(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS0_CHANGING_SHIFT)) & CCM_CLOCK_ROOT_STATUS0_CHANGING_MASK)
20516 /*! @} */
20517 
20518 /* The count of CCM_CLOCK_ROOT_STATUS0 */
20519 #define CCM_CLOCK_ROOT_STATUS0_COUNT             (79U)
20520 
20521 /*! @name CLOCK_ROOT_STATUS1 - Clock root low power status */
20522 /*! @{ */
20523 
20524 #define CCM_CLOCK_ROOT_STATUS1_TARGET_SETPOINT_MASK (0xF0000U)
20525 #define CCM_CLOCK_ROOT_STATUS1_TARGET_SETPOINT_SHIFT (16U)
20526 /*! TARGET_SETPOINT - Target Setpoint
20527  */
20528 #define CCM_CLOCK_ROOT_STATUS1_TARGET_SETPOINT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_TARGET_SETPOINT_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_TARGET_SETPOINT_MASK)
20529 
20530 #define CCM_CLOCK_ROOT_STATUS1_CURRENT_SETPOINT_MASK (0xF00000U)
20531 #define CCM_CLOCK_ROOT_STATUS1_CURRENT_SETPOINT_SHIFT (20U)
20532 /*! CURRENT_SETPOINT - Current Setpoint
20533  */
20534 #define CCM_CLOCK_ROOT_STATUS1_CURRENT_SETPOINT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_CURRENT_SETPOINT_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_CURRENT_SETPOINT_MASK)
20535 
20536 #define CCM_CLOCK_ROOT_STATUS1_DOWN_REQUEST_MASK (0x1000000U)
20537 #define CCM_CLOCK_ROOT_STATUS1_DOWN_REQUEST_SHIFT (24U)
20538 /*! DOWN_REQUEST - Clock frequency decrease request
20539  *  0b1..Frequency decrease requested
20540  *  0b0..Frequency decrease not requested
20541  */
20542 #define CCM_CLOCK_ROOT_STATUS1_DOWN_REQUEST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_DOWN_REQUEST_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_DOWN_REQUEST_MASK)
20543 
20544 #define CCM_CLOCK_ROOT_STATUS1_DOWN_DONE_MASK    (0x2000000U)
20545 #define CCM_CLOCK_ROOT_STATUS1_DOWN_DONE_SHIFT   (25U)
20546 /*! DOWN_DONE - Clock frequency decrease finish
20547  *  0b1..Frequency decrease completed
20548  *  0b0..Frequency decrease not completed
20549  */
20550 #define CCM_CLOCK_ROOT_STATUS1_DOWN_DONE(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_DOWN_DONE_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_DOWN_DONE_MASK)
20551 
20552 #define CCM_CLOCK_ROOT_STATUS1_UP_REQUEST_MASK   (0x4000000U)
20553 #define CCM_CLOCK_ROOT_STATUS1_UP_REQUEST_SHIFT  (26U)
20554 /*! UP_REQUEST - Clock frequency increase request
20555  *  0b1..Frequency increase requested
20556  *  0b0..Frequency increase not requested
20557  */
20558 #define CCM_CLOCK_ROOT_STATUS1_UP_REQUEST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_UP_REQUEST_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_UP_REQUEST_MASK)
20559 
20560 #define CCM_CLOCK_ROOT_STATUS1_UP_DONE_MASK      (0x8000000U)
20561 #define CCM_CLOCK_ROOT_STATUS1_UP_DONE_SHIFT     (27U)
20562 /*! UP_DONE - Clock frequency increase finish
20563  *  0b1..Frequency increase completed
20564  *  0b0..Frequency increase not completed
20565  */
20566 #define CCM_CLOCK_ROOT_STATUS1_UP_DONE(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_STATUS1_UP_DONE_SHIFT)) & CCM_CLOCK_ROOT_STATUS1_UP_DONE_MASK)
20567 /*! @} */
20568 
20569 /* The count of CCM_CLOCK_ROOT_STATUS1 */
20570 #define CCM_CLOCK_ROOT_STATUS1_COUNT             (79U)
20571 
20572 /*! @name CLOCK_ROOT_CONFIG - Clock root configuration */
20573 /*! @{ */
20574 
20575 #define CCM_CLOCK_ROOT_CONFIG_SETPOINT_PRESENT_MASK (0x10U)
20576 #define CCM_CLOCK_ROOT_CONFIG_SETPOINT_PRESENT_SHIFT (4U)
20577 /*! SETPOINT_PRESENT - Setpoint present
20578  *  0b1..Setpoint is implemented.
20579  *  0b0..Setpoint is not implemented.
20580  */
20581 #define CCM_CLOCK_ROOT_CONFIG_SETPOINT_PRESENT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CONFIG_SETPOINT_PRESENT_SHIFT)) & CCM_CLOCK_ROOT_CONFIG_SETPOINT_PRESENT_MASK)
20582 /*! @} */
20583 
20584 /* The count of CCM_CLOCK_ROOT_CONFIG */
20585 #define CCM_CLOCK_ROOT_CONFIG_COUNT              (79U)
20586 
20587 /*! @name CLOCK_ROOT_AUTHEN - Clock root access control */
20588 /*! @{ */
20589 
20590 #define CCM_CLOCK_ROOT_AUTHEN_TZ_USER_MASK       (0x1U)
20591 #define CCM_CLOCK_ROOT_AUTHEN_TZ_USER_SHIFT      (0U)
20592 /*! TZ_USER - User access
20593  *  0b1..Clock can be changed in user mode
20594  *  0b0..Clock cannot be changed in user mode
20595  */
20596 #define CCM_CLOCK_ROOT_AUTHEN_TZ_USER(x)         (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TZ_USER_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TZ_USER_MASK)
20597 
20598 #define CCM_CLOCK_ROOT_AUTHEN_TZ_NS_MASK         (0x2U)
20599 #define CCM_CLOCK_ROOT_AUTHEN_TZ_NS_SHIFT        (1U)
20600 /*! TZ_NS - Non-secure access
20601  *  0b0..Cannot be changed in Non-secure mode
20602  *  0b1..Can be changed in Non-secure mode
20603  */
20604 #define CCM_CLOCK_ROOT_AUTHEN_TZ_NS(x)           (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TZ_NS_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TZ_NS_MASK)
20605 
20606 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_TZ_MASK       (0x10U)
20607 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_TZ_SHIFT      (4U)
20608 /*! LOCK_TZ - Lock truszone setting
20609  *  0b0..Trustzone setting is not locked
20610  *  0b1..Trustzone setting is locked
20611  */
20612 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_TZ(x)         (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_LOCK_TZ_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_LOCK_TZ_MASK)
20613 
20614 #define CCM_CLOCK_ROOT_AUTHEN_WHITE_LIST_MASK    (0xF00U)
20615 #define CCM_CLOCK_ROOT_AUTHEN_WHITE_LIST_SHIFT   (8U)
20616 /*! WHITE_LIST - Whitelist
20617  *  0b0000..This domain is NOT allowed to change clock
20618  *  0b0001..This domain is allowed to change clock
20619  */
20620 #define CCM_CLOCK_ROOT_AUTHEN_WHITE_LIST(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_WHITE_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_WHITE_LIST_MASK)
20621 
20622 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_LIST_MASK     (0x1000U)
20623 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_LIST_SHIFT    (12U)
20624 /*! LOCK_LIST - Lock Whitelist
20625  *  0b0..Whitelist is not locked
20626  *  0b1..Whitelist is locked
20627  */
20628 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_LIST(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_LOCK_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_LOCK_LIST_MASK)
20629 
20630 #define CCM_CLOCK_ROOT_AUTHEN_DOMAIN_MODE_MASK   (0x10000U)
20631 #define CCM_CLOCK_ROOT_AUTHEN_DOMAIN_MODE_SHIFT  (16U)
20632 /*! DOMAIN_MODE - Low power and access control by domain
20633  *  0b1..Clock works in Domain Mode
20634  *  0b0..Clock does NOT work in Domain Mode
20635  */
20636 #define CCM_CLOCK_ROOT_AUTHEN_DOMAIN_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_DOMAIN_MODE_MASK)
20637 
20638 #define CCM_CLOCK_ROOT_AUTHEN_SETPOINT_MODE_MASK (0x20000U)
20639 #define CCM_CLOCK_ROOT_AUTHEN_SETPOINT_MODE_SHIFT (17U)
20640 /*! SETPOINT_MODE - Low power and access control by Setpoint
20641  *  0b1..Clock works in Setpoint Mode
20642  *  0b0..Clock does NOT work in Setpoint Mode
20643  */
20644 #define CCM_CLOCK_ROOT_AUTHEN_SETPOINT_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SETPOINT_MODE_MASK)
20645 
20646 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_MODE_MASK     (0x100000U)
20647 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_MODE_SHIFT    (20U)
20648 /*! LOCK_MODE - Lock low power and access mode
20649  *  0b0..MODE is not locked
20650  *  0b1..MODE is locked
20651  */
20652 #define CCM_CLOCK_ROOT_AUTHEN_LOCK_MODE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_LOCK_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_LOCK_MODE_MASK)
20653 /*! @} */
20654 
20655 /* The count of CCM_CLOCK_ROOT_AUTHEN */
20656 #define CCM_CLOCK_ROOT_AUTHEN_COUNT              (79U)
20657 
20658 /*! @name CLOCK_ROOT_AUTHEN_SET - Clock root access control */
20659 /*! @{ */
20660 
20661 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_USER_MASK   (0x1U)
20662 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_USER_SHIFT  (0U)
20663 /*! TZ_USER - User access
20664  */
20665 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_TZ_USER_MASK)
20666 
20667 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_NS_MASK     (0x2U)
20668 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_NS_SHIFT    (1U)
20669 /*! TZ_NS - Non-secure access
20670  */
20671 #define CCM_CLOCK_ROOT_AUTHEN_SET_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_TZ_NS_MASK)
20672 
20673 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_TZ_MASK   (0x10U)
20674 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_TZ_SHIFT  (4U)
20675 /*! LOCK_TZ - Lock truszone setting
20676  */
20677 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_TZ_MASK)
20678 
20679 #define CCM_CLOCK_ROOT_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
20680 #define CCM_CLOCK_ROOT_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
20681 /*! WHITE_LIST - Whitelist
20682  */
20683 #define CCM_CLOCK_ROOT_AUTHEN_SET_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_WHITE_LIST_MASK)
20684 
20685 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
20686 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
20687 /*! LOCK_LIST - Lock Whitelist
20688  */
20689 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_LIST_MASK)
20690 
20691 #define CCM_CLOCK_ROOT_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
20692 #define CCM_CLOCK_ROOT_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
20693 /*! DOMAIN_MODE - Low power and access control by domain
20694  */
20695 #define CCM_CLOCK_ROOT_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_DOMAIN_MODE_MASK)
20696 
20697 #define CCM_CLOCK_ROOT_AUTHEN_SET_SETPOINT_MODE_MASK (0x20000U)
20698 #define CCM_CLOCK_ROOT_AUTHEN_SET_SETPOINT_MODE_SHIFT (17U)
20699 /*! SETPOINT_MODE - Low power and access control by Setpoint
20700  */
20701 #define CCM_CLOCK_ROOT_AUTHEN_SET_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_SETPOINT_MODE_MASK)
20702 
20703 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
20704 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
20705 /*! LOCK_MODE - Lock low power and access mode
20706  */
20707 #define CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_SET_LOCK_MODE_MASK)
20708 /*! @} */
20709 
20710 /* The count of CCM_CLOCK_ROOT_AUTHEN_SET */
20711 #define CCM_CLOCK_ROOT_AUTHEN_SET_COUNT          (79U)
20712 
20713 /*! @name CLOCK_ROOT_AUTHEN_CLR - Clock root access control */
20714 /*! @{ */
20715 
20716 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_USER_MASK   (0x1U)
20717 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_USER_SHIFT  (0U)
20718 /*! TZ_USER - User access
20719  */
20720 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_USER_MASK)
20721 
20722 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_NS_MASK     (0x2U)
20723 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_NS_SHIFT    (1U)
20724 /*! TZ_NS - Non-secure access
20725  */
20726 #define CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_TZ_NS_MASK)
20727 
20728 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_TZ_MASK   (0x10U)
20729 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_TZ_SHIFT  (4U)
20730 /*! LOCK_TZ - Lock truszone setting
20731  */
20732 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_TZ_MASK)
20733 
20734 #define CCM_CLOCK_ROOT_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
20735 #define CCM_CLOCK_ROOT_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
20736 /*! WHITE_LIST - Whitelist
20737  */
20738 #define CCM_CLOCK_ROOT_AUTHEN_CLR_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_WHITE_LIST_MASK)
20739 
20740 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
20741 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
20742 /*! LOCK_LIST - Lock Whitelist
20743  */
20744 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_LIST_MASK)
20745 
20746 #define CCM_CLOCK_ROOT_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
20747 #define CCM_CLOCK_ROOT_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
20748 /*! DOMAIN_MODE - Low power and access control by domain
20749  */
20750 #define CCM_CLOCK_ROOT_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_DOMAIN_MODE_MASK)
20751 
20752 #define CCM_CLOCK_ROOT_AUTHEN_CLR_SETPOINT_MODE_MASK (0x20000U)
20753 #define CCM_CLOCK_ROOT_AUTHEN_CLR_SETPOINT_MODE_SHIFT (17U)
20754 /*! SETPOINT_MODE - Low power and access control by Setpoint
20755  */
20756 #define CCM_CLOCK_ROOT_AUTHEN_CLR_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_SETPOINT_MODE_MASK)
20757 
20758 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
20759 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
20760 /*! LOCK_MODE - Lock low power and access mode
20761  */
20762 #define CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_CLR_LOCK_MODE_MASK)
20763 /*! @} */
20764 
20765 /* The count of CCM_CLOCK_ROOT_AUTHEN_CLR */
20766 #define CCM_CLOCK_ROOT_AUTHEN_CLR_COUNT          (79U)
20767 
20768 /*! @name CLOCK_ROOT_AUTHEN_TOG - Clock root access control */
20769 /*! @{ */
20770 
20771 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_USER_MASK   (0x1U)
20772 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_USER_SHIFT  (0U)
20773 /*! TZ_USER - User access
20774  */
20775 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_USER_MASK)
20776 
20777 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_NS_MASK     (0x2U)
20778 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_NS_SHIFT    (1U)
20779 /*! TZ_NS - Non-secure access
20780  */
20781 #define CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_TZ_NS_MASK)
20782 
20783 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_TZ_MASK   (0x10U)
20784 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_TZ_SHIFT  (4U)
20785 /*! LOCK_TZ - Lock truszone setting
20786  */
20787 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_TZ_MASK)
20788 
20789 #define CCM_CLOCK_ROOT_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
20790 #define CCM_CLOCK_ROOT_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
20791 /*! WHITE_LIST - Whitelist
20792  */
20793 #define CCM_CLOCK_ROOT_AUTHEN_TOG_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_WHITE_LIST_MASK)
20794 
20795 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
20796 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
20797 /*! LOCK_LIST - Lock Whitelist
20798  */
20799 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_LIST_MASK)
20800 
20801 #define CCM_CLOCK_ROOT_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
20802 #define CCM_CLOCK_ROOT_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
20803 /*! DOMAIN_MODE - Low power and access control by domain
20804  */
20805 #define CCM_CLOCK_ROOT_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_DOMAIN_MODE_MASK)
20806 
20807 #define CCM_CLOCK_ROOT_AUTHEN_TOG_SETPOINT_MODE_MASK (0x20000U)
20808 #define CCM_CLOCK_ROOT_AUTHEN_TOG_SETPOINT_MODE_SHIFT (17U)
20809 /*! SETPOINT_MODE - Low power and access control by Setpoint
20810  */
20811 #define CCM_CLOCK_ROOT_AUTHEN_TOG_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_SETPOINT_MODE_MASK)
20812 
20813 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
20814 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
20815 /*! LOCK_MODE - Lock low power and access mode
20816  */
20817 #define CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_CLOCK_ROOT_AUTHEN_TOG_LOCK_MODE_MASK)
20818 /*! @} */
20819 
20820 /* The count of CCM_CLOCK_ROOT_AUTHEN_TOG */
20821 #define CCM_CLOCK_ROOT_AUTHEN_TOG_COUNT          (79U)
20822 
20823 /*! @name CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT - Setpoint setting */
20824 /*! @{ */
20825 
20826 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_DIV_MASK (0xFFU)
20827 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_DIV_SHIFT (0U)
20828 /*! DIV - Clock divider
20829  */
20830 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_DIV(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_DIV_SHIFT)) & CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_DIV_MASK)
20831 
20832 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_MUX_MASK (0x700U)
20833 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_MUX_SHIFT (8U)
20834 /*! MUX - Clock multiplexer
20835  */
20836 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_MUX(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_MUX_SHIFT)) & CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_MUX_MASK)
20837 
20838 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_OFF_MASK (0x1000000U)
20839 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_OFF_SHIFT (24U)
20840 /*! OFF - OFF
20841  *  0b1..OFF
20842  *  0b0..ON
20843  */
20844 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_OFF(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_OFF_SHIFT)) & CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_OFF_MASK)
20845 
20846 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_GRADE_MASK (0xF0000000U)
20847 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_GRADE_SHIFT (28U)
20848 /*! GRADE - Grade
20849  */
20850 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_GRADE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_GRADE_SHIFT)) & CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_GRADE_MASK)
20851 /*! @} */
20852 
20853 /* The count of CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT */
20854 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_COUNT (79U)
20855 
20856 /* The count of CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT */
20857 #define CCM_CLOCK_ROOT_CLOCK_ROOT_SETPOINT_SETPOINT_COUNT2 (16U)
20858 
20859 /*! @name CLOCK_GROUP_CONTROL - Clock group control */
20860 /*! @{ */
20861 
20862 #define CCM_CLOCK_GROUP_CONTROL_DIV0_MASK        (0xFU)
20863 #define CCM_CLOCK_GROUP_CONTROL_DIV0_SHIFT       (0U)
20864 /*! DIV0 - Clock divider0
20865  */
20866 #define CCM_CLOCK_GROUP_CONTROL_DIV0(x)          (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_DIV0_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_DIV0_MASK)
20867 
20868 #define CCM_CLOCK_GROUP_CONTROL_RSTDIV_MASK      (0xFF0000U)
20869 #define CCM_CLOCK_GROUP_CONTROL_RSTDIV_SHIFT     (16U)
20870 /*! RSTDIV - Clock group global restart count
20871  */
20872 #define CCM_CLOCK_GROUP_CONTROL_RSTDIV(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_RSTDIV_MASK)
20873 
20874 #define CCM_CLOCK_GROUP_CONTROL_OFF_MASK         (0x1000000U)
20875 #define CCM_CLOCK_GROUP_CONTROL_OFF_SHIFT        (24U)
20876 /*! OFF - OFF
20877  *  0b0..Clock is running
20878  *  0b1..Turn off clock
20879  */
20880 #define CCM_CLOCK_GROUP_CONTROL_OFF(x)           (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_OFF_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_OFF_MASK)
20881 /*! @} */
20882 
20883 /* The count of CCM_CLOCK_GROUP_CONTROL */
20884 #define CCM_CLOCK_GROUP_CONTROL_COUNT            (2U)
20885 
20886 /*! @name CLOCK_GROUP_CONTROL_SET - Clock group control */
20887 /*! @{ */
20888 
20889 #define CCM_CLOCK_GROUP_CONTROL_SET_DIV0_MASK    (0xFU)
20890 #define CCM_CLOCK_GROUP_CONTROL_SET_DIV0_SHIFT   (0U)
20891 /*! DIV0 - Clock divider0
20892  */
20893 #define CCM_CLOCK_GROUP_CONTROL_SET_DIV0(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_SET_DIV0_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_SET_DIV0_MASK)
20894 
20895 #define CCM_CLOCK_GROUP_CONTROL_SET_RSTDIV_MASK  (0xFF0000U)
20896 #define CCM_CLOCK_GROUP_CONTROL_SET_RSTDIV_SHIFT (16U)
20897 /*! RSTDIV - Clock group global restart count
20898  */
20899 #define CCM_CLOCK_GROUP_CONTROL_SET_RSTDIV(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_SET_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_SET_RSTDIV_MASK)
20900 
20901 #define CCM_CLOCK_GROUP_CONTROL_SET_OFF_MASK     (0x1000000U)
20902 #define CCM_CLOCK_GROUP_CONTROL_SET_OFF_SHIFT    (24U)
20903 /*! OFF - OFF
20904  */
20905 #define CCM_CLOCK_GROUP_CONTROL_SET_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_SET_OFF_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_SET_OFF_MASK)
20906 /*! @} */
20907 
20908 /* The count of CCM_CLOCK_GROUP_CONTROL_SET */
20909 #define CCM_CLOCK_GROUP_CONTROL_SET_COUNT        (2U)
20910 
20911 /*! @name CLOCK_GROUP_CONTROL_CLR - Clock group control */
20912 /*! @{ */
20913 
20914 #define CCM_CLOCK_GROUP_CONTROL_CLR_DIV0_MASK    (0xFU)
20915 #define CCM_CLOCK_GROUP_CONTROL_CLR_DIV0_SHIFT   (0U)
20916 /*! DIV0 - Clock divider0
20917  */
20918 #define CCM_CLOCK_GROUP_CONTROL_CLR_DIV0(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_CLR_DIV0_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_CLR_DIV0_MASK)
20919 
20920 #define CCM_CLOCK_GROUP_CONTROL_CLR_RSTDIV_MASK  (0xFF0000U)
20921 #define CCM_CLOCK_GROUP_CONTROL_CLR_RSTDIV_SHIFT (16U)
20922 /*! RSTDIV - Clock group global restart count
20923  */
20924 #define CCM_CLOCK_GROUP_CONTROL_CLR_RSTDIV(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_CLR_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_CLR_RSTDIV_MASK)
20925 
20926 #define CCM_CLOCK_GROUP_CONTROL_CLR_OFF_MASK     (0x1000000U)
20927 #define CCM_CLOCK_GROUP_CONTROL_CLR_OFF_SHIFT    (24U)
20928 /*! OFF - OFF
20929  */
20930 #define CCM_CLOCK_GROUP_CONTROL_CLR_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_CLR_OFF_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_CLR_OFF_MASK)
20931 /*! @} */
20932 
20933 /* The count of CCM_CLOCK_GROUP_CONTROL_CLR */
20934 #define CCM_CLOCK_GROUP_CONTROL_CLR_COUNT        (2U)
20935 
20936 /*! @name CLOCK_GROUP_CONTROL_TOG - Clock group control */
20937 /*! @{ */
20938 
20939 #define CCM_CLOCK_GROUP_CONTROL_TOG_DIV0_MASK    (0xFU)
20940 #define CCM_CLOCK_GROUP_CONTROL_TOG_DIV0_SHIFT   (0U)
20941 /*! DIV0 - Clock divider0
20942  */
20943 #define CCM_CLOCK_GROUP_CONTROL_TOG_DIV0(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_TOG_DIV0_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_TOG_DIV0_MASK)
20944 
20945 #define CCM_CLOCK_GROUP_CONTROL_TOG_RSTDIV_MASK  (0xFF0000U)
20946 #define CCM_CLOCK_GROUP_CONTROL_TOG_RSTDIV_SHIFT (16U)
20947 /*! RSTDIV - Clock group global restart count
20948  */
20949 #define CCM_CLOCK_GROUP_CONTROL_TOG_RSTDIV(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_TOG_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_TOG_RSTDIV_MASK)
20950 
20951 #define CCM_CLOCK_GROUP_CONTROL_TOG_OFF_MASK     (0x1000000U)
20952 #define CCM_CLOCK_GROUP_CONTROL_TOG_OFF_SHIFT    (24U)
20953 /*! OFF - OFF
20954  */
20955 #define CCM_CLOCK_GROUP_CONTROL_TOG_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONTROL_TOG_OFF_SHIFT)) & CCM_CLOCK_GROUP_CONTROL_TOG_OFF_MASK)
20956 /*! @} */
20957 
20958 /* The count of CCM_CLOCK_GROUP_CONTROL_TOG */
20959 #define CCM_CLOCK_GROUP_CONTROL_TOG_COUNT        (2U)
20960 
20961 /*! @name CLOCK_GROUP_STATUS0 - Clock group working status */
20962 /*! @{ */
20963 
20964 #define CCM_CLOCK_GROUP_STATUS0_DIV0_MASK        (0xFU)
20965 #define CCM_CLOCK_GROUP_STATUS0_DIV0_SHIFT       (0U)
20966 /*! DIV0 - Clock divider
20967  */
20968 #define CCM_CLOCK_GROUP_STATUS0_DIV0(x)          (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_DIV0_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_DIV0_MASK)
20969 
20970 #define CCM_CLOCK_GROUP_STATUS0_RSTDIV_MASK      (0xFF0000U)
20971 #define CCM_CLOCK_GROUP_STATUS0_RSTDIV_SHIFT     (16U)
20972 /*! RSTDIV - Clock divider
20973  */
20974 #define CCM_CLOCK_GROUP_STATUS0_RSTDIV(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_RSTDIV_MASK)
20975 
20976 #define CCM_CLOCK_GROUP_STATUS0_OFF_MASK         (0x1000000U)
20977 #define CCM_CLOCK_GROUP_STATUS0_OFF_SHIFT        (24U)
20978 /*! OFF - OFF
20979  *  0b0..Clock is running.
20980  *  0b1..Turn off clock.
20981  */
20982 #define CCM_CLOCK_GROUP_STATUS0_OFF(x)           (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_OFF_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_OFF_MASK)
20983 
20984 #define CCM_CLOCK_GROUP_STATUS0_POWERDOWN_MASK   (0x8000000U)
20985 #define CCM_CLOCK_GROUP_STATUS0_POWERDOWN_SHIFT  (27U)
20986 /*! POWERDOWN - Current clock root POWERDOWN setting
20987  *  0b1..Clock root is Powered Down
20988  *  0b0..Clock root is running
20989  */
20990 #define CCM_CLOCK_GROUP_STATUS0_POWERDOWN(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_POWERDOWN_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_POWERDOWN_MASK)
20991 
20992 #define CCM_CLOCK_GROUP_STATUS0_SLICE_BUSY_MASK  (0x10000000U)
20993 #define CCM_CLOCK_GROUP_STATUS0_SLICE_BUSY_SHIFT (28U)
20994 /*! SLICE_BUSY - Internal updating in generation logic
20995  *  0b1..Clock generation logic is applying the new setting
20996  *  0b0..Clock generation logic is not busy
20997  */
20998 #define CCM_CLOCK_GROUP_STATUS0_SLICE_BUSY(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_SLICE_BUSY_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_SLICE_BUSY_MASK)
20999 
21000 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_FORWARD_MASK (0x20000000U)
21001 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_FORWARD_SHIFT (29U)
21002 /*! UPDATE_FORWARD - Internal status synchronization to clock generation logic
21003  *  0b1..Synchronization in process
21004  *  0b0..Synchronization not in process
21005  */
21006 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_FORWARD(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_UPDATE_FORWARD_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_UPDATE_FORWARD_MASK)
21007 
21008 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_REVERSE_MASK (0x40000000U)
21009 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_REVERSE_SHIFT (30U)
21010 /*! UPDATE_REVERSE - Internal status synchronization from clock generation logic
21011  *  0b1..Synchronization in process
21012  *  0b0..Synchronization not in process
21013  */
21014 #define CCM_CLOCK_GROUP_STATUS0_UPDATE_REVERSE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_UPDATE_REVERSE_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_UPDATE_REVERSE_MASK)
21015 
21016 #define CCM_CLOCK_GROUP_STATUS0_CHANGING_MASK    (0x80000000U)
21017 #define CCM_CLOCK_GROUP_STATUS0_CHANGING_SHIFT   (31U)
21018 /*! CHANGING - Internal updating in clock group
21019  *  0b1..Clock root logic is updating currently
21020  *  0b0..Clock root is not updating currently
21021  */
21022 #define CCM_CLOCK_GROUP_STATUS0_CHANGING(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS0_CHANGING_SHIFT)) & CCM_CLOCK_GROUP_STATUS0_CHANGING_MASK)
21023 /*! @} */
21024 
21025 /* The count of CCM_CLOCK_GROUP_STATUS0 */
21026 #define CCM_CLOCK_GROUP_STATUS0_COUNT            (2U)
21027 
21028 /*! @name CLOCK_GROUP_STATUS1 - Clock group low power/extend status */
21029 /*! @{ */
21030 
21031 #define CCM_CLOCK_GROUP_STATUS1_TARGET_SETPOINT_MASK (0xF0000U)
21032 #define CCM_CLOCK_GROUP_STATUS1_TARGET_SETPOINT_SHIFT (16U)
21033 /*! TARGET_SETPOINT - Next Setpoint to change to
21034  */
21035 #define CCM_CLOCK_GROUP_STATUS1_TARGET_SETPOINT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_TARGET_SETPOINT_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_TARGET_SETPOINT_MASK)
21036 
21037 #define CCM_CLOCK_GROUP_STATUS1_CURRENT_SETPOINT_MASK (0xF00000U)
21038 #define CCM_CLOCK_GROUP_STATUS1_CURRENT_SETPOINT_SHIFT (20U)
21039 /*! CURRENT_SETPOINT - Current Setpoint
21040  */
21041 #define CCM_CLOCK_GROUP_STATUS1_CURRENT_SETPOINT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_CURRENT_SETPOINT_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_CURRENT_SETPOINT_MASK)
21042 
21043 #define CCM_CLOCK_GROUP_STATUS1_DOWN_REQUEST_MASK (0x1000000U)
21044 #define CCM_CLOCK_GROUP_STATUS1_DOWN_REQUEST_SHIFT (24U)
21045 /*! DOWN_REQUEST - Clock frequency decrease request
21046  *  0b1..Handshake signal with GPC status indicating frequency decrease is requested
21047  *  0b0..No handshake signal is not requested
21048  */
21049 #define CCM_CLOCK_GROUP_STATUS1_DOWN_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_DOWN_REQUEST_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_DOWN_REQUEST_MASK)
21050 
21051 #define CCM_CLOCK_GROUP_STATUS1_DOWN_DONE_MASK   (0x2000000U)
21052 #define CCM_CLOCK_GROUP_STATUS1_DOWN_DONE_SHIFT  (25U)
21053 /*! DOWN_DONE - Clock frequency decrease complete
21054  *  0b1..Handshake signal with GPC status indicating frequency decrease is complete
21055  *  0b0..Handshake signal with GPC status indicating frequency decrease is not complete
21056  */
21057 #define CCM_CLOCK_GROUP_STATUS1_DOWN_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_DOWN_DONE_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_DOWN_DONE_MASK)
21058 
21059 #define CCM_CLOCK_GROUP_STATUS1_UP_REQUEST_MASK  (0x4000000U)
21060 #define CCM_CLOCK_GROUP_STATUS1_UP_REQUEST_SHIFT (26U)
21061 /*! UP_REQUEST - Clock frequency increase request
21062  *  0b1..Handshake signal with GPC status indicating frequency increase is requested
21063  *  0b0..No handshake signal is not requested
21064  */
21065 #define CCM_CLOCK_GROUP_STATUS1_UP_REQUEST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_UP_REQUEST_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_UP_REQUEST_MASK)
21066 
21067 #define CCM_CLOCK_GROUP_STATUS1_UP_DONE_MASK     (0x8000000U)
21068 #define CCM_CLOCK_GROUP_STATUS1_UP_DONE_SHIFT    (27U)
21069 /*! UP_DONE - Clock frequency increase complete
21070  *  0b1..Handshake signal with GPC status indicating frequency increase is complete
21071  *  0b0..Handshake signal with GPC status indicating frequency increase is not complete
21072  */
21073 #define CCM_CLOCK_GROUP_STATUS1_UP_DONE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_STATUS1_UP_DONE_SHIFT)) & CCM_CLOCK_GROUP_STATUS1_UP_DONE_MASK)
21074 /*! @} */
21075 
21076 /* The count of CCM_CLOCK_GROUP_STATUS1 */
21077 #define CCM_CLOCK_GROUP_STATUS1_COUNT            (2U)
21078 
21079 /*! @name CLOCK_GROUP_CONFIG - Clock group configuration */
21080 /*! @{ */
21081 
21082 #define CCM_CLOCK_GROUP_CONFIG_SETPOINT_PRESENT_MASK (0x10U)
21083 #define CCM_CLOCK_GROUP_CONFIG_SETPOINT_PRESENT_SHIFT (4U)
21084 /*! SETPOINT_PRESENT - Setpoint present
21085  *  0b1..Setpoint is implemented.
21086  *  0b0..Setpoint is not implemented.
21087  */
21088 #define CCM_CLOCK_GROUP_CONFIG_SETPOINT_PRESENT(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CONFIG_SETPOINT_PRESENT_SHIFT)) & CCM_CLOCK_GROUP_CONFIG_SETPOINT_PRESENT_MASK)
21089 /*! @} */
21090 
21091 /* The count of CCM_CLOCK_GROUP_CONFIG */
21092 #define CCM_CLOCK_GROUP_CONFIG_COUNT             (2U)
21093 
21094 /*! @name CLOCK_GROUP_AUTHEN - Clock group access control */
21095 /*! @{ */
21096 
21097 #define CCM_CLOCK_GROUP_AUTHEN_TZ_USER_MASK      (0x1U)
21098 #define CCM_CLOCK_GROUP_AUTHEN_TZ_USER_SHIFT     (0U)
21099 /*! TZ_USER - User access
21100  *  0b1..Clock can be changed in user mode.
21101  *  0b0..Clock cannot be changed in user mode.
21102  */
21103 #define CCM_CLOCK_GROUP_AUTHEN_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TZ_USER_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TZ_USER_MASK)
21104 
21105 #define CCM_CLOCK_GROUP_AUTHEN_TZ_NS_MASK        (0x2U)
21106 #define CCM_CLOCK_GROUP_AUTHEN_TZ_NS_SHIFT       (1U)
21107 /*! TZ_NS - Non-secure access
21108  *  0b0..Cannot be changed in Non-secure mode.
21109  *  0b1..Can be changed in Non-secure mode.
21110  */
21111 #define CCM_CLOCK_GROUP_AUTHEN_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TZ_NS_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TZ_NS_MASK)
21112 
21113 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_TZ_MASK      (0x10U)
21114 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_TZ_SHIFT     (4U)
21115 /*! LOCK_TZ - Lock truszone setting
21116  *  0b0..Trustzone setting is not locked.
21117  *  0b1..Trustzone setting is locked.
21118  */
21119 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_TZ(x)        (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_LOCK_TZ_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_LOCK_TZ_MASK)
21120 
21121 #define CCM_CLOCK_GROUP_AUTHEN_WHITE_LIST_MASK   (0xF00U)
21122 #define CCM_CLOCK_GROUP_AUTHEN_WHITE_LIST_SHIFT  (8U)
21123 /*! WHITE_LIST - Whitelist
21124  */
21125 #define CCM_CLOCK_GROUP_AUTHEN_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_WHITE_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_WHITE_LIST_MASK)
21126 
21127 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_LIST_MASK    (0x1000U)
21128 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_LIST_SHIFT   (12U)
21129 /*! LOCK_LIST - Lock Whitelist
21130  *  0b0..Whitelist is not locked.
21131  *  0b1..Whitelist is locked.
21132  */
21133 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_LOCK_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_LOCK_LIST_MASK)
21134 
21135 #define CCM_CLOCK_GROUP_AUTHEN_DOMAIN_MODE_MASK  (0x10000U)
21136 #define CCM_CLOCK_GROUP_AUTHEN_DOMAIN_MODE_SHIFT (16U)
21137 /*! DOMAIN_MODE - Low power and access control by domain
21138  *  0b1..Clock works in Domain Mode.
21139  *  0b0..Clock does not work in Domain Mode.
21140  */
21141 #define CCM_CLOCK_GROUP_AUTHEN_DOMAIN_MODE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_DOMAIN_MODE_MASK)
21142 
21143 #define CCM_CLOCK_GROUP_AUTHEN_SETPOINT_MODE_MASK (0x20000U)
21144 #define CCM_CLOCK_GROUP_AUTHEN_SETPOINT_MODE_SHIFT (17U)
21145 /*! SETPOINT_MODE - Low power and access control by Setpoint
21146  */
21147 #define CCM_CLOCK_GROUP_AUTHEN_SETPOINT_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SETPOINT_MODE_MASK)
21148 
21149 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_MODE_MASK    (0x100000U)
21150 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_MODE_SHIFT   (20U)
21151 /*! LOCK_MODE - Lock low power and access mode
21152  *  0b0..MODE is not locked.
21153  *  0b1..MODE is locked.
21154  */
21155 #define CCM_CLOCK_GROUP_AUTHEN_LOCK_MODE(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_LOCK_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_LOCK_MODE_MASK)
21156 /*! @} */
21157 
21158 /* The count of CCM_CLOCK_GROUP_AUTHEN */
21159 #define CCM_CLOCK_GROUP_AUTHEN_COUNT             (2U)
21160 
21161 /*! @name CLOCK_GROUP_AUTHEN_SET - Clock group access control */
21162 /*! @{ */
21163 
21164 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_USER_MASK  (0x1U)
21165 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_USER_SHIFT (0U)
21166 /*! TZ_USER - User access
21167  */
21168 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_TZ_USER_MASK)
21169 
21170 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_NS_MASK    (0x2U)
21171 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_NS_SHIFT   (1U)
21172 /*! TZ_NS - Non-secure access
21173  */
21174 #define CCM_CLOCK_GROUP_AUTHEN_SET_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_TZ_NS_MASK)
21175 
21176 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_TZ_MASK  (0x10U)
21177 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
21178 /*! LOCK_TZ - Lock truszone setting
21179  */
21180 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_TZ_MASK)
21181 
21182 #define CCM_CLOCK_GROUP_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
21183 #define CCM_CLOCK_GROUP_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
21184 /*! WHITE_LIST - Whitelist
21185  */
21186 #define CCM_CLOCK_GROUP_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_WHITE_LIST_MASK)
21187 
21188 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
21189 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
21190 /*! LOCK_LIST - Lock Whitelist
21191  */
21192 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_LIST_MASK)
21193 
21194 #define CCM_CLOCK_GROUP_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
21195 #define CCM_CLOCK_GROUP_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
21196 /*! DOMAIN_MODE - Low power and access control by domain
21197  */
21198 #define CCM_CLOCK_GROUP_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_DOMAIN_MODE_MASK)
21199 
21200 #define CCM_CLOCK_GROUP_AUTHEN_SET_SETPOINT_MODE_MASK (0x20000U)
21201 #define CCM_CLOCK_GROUP_AUTHEN_SET_SETPOINT_MODE_SHIFT (17U)
21202 /*! SETPOINT_MODE - Low power and access control by Setpoint
21203  */
21204 #define CCM_CLOCK_GROUP_AUTHEN_SET_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_SETPOINT_MODE_MASK)
21205 
21206 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
21207 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
21208 /*! LOCK_MODE - Lock low power and access mode
21209  */
21210 #define CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_SET_LOCK_MODE_MASK)
21211 /*! @} */
21212 
21213 /* The count of CCM_CLOCK_GROUP_AUTHEN_SET */
21214 #define CCM_CLOCK_GROUP_AUTHEN_SET_COUNT         (2U)
21215 
21216 /*! @name CLOCK_GROUP_AUTHEN_CLR - Clock group access control */
21217 /*! @{ */
21218 
21219 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_USER_MASK  (0x1U)
21220 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_USER_SHIFT (0U)
21221 /*! TZ_USER - User access
21222  */
21223 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_USER_MASK)
21224 
21225 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_NS_MASK    (0x2U)
21226 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_NS_SHIFT   (1U)
21227 /*! TZ_NS - Non-secure access
21228  */
21229 #define CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_TZ_NS_MASK)
21230 
21231 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_TZ_MASK  (0x10U)
21232 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
21233 /*! LOCK_TZ - Lock truszone setting
21234  */
21235 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_TZ_MASK)
21236 
21237 #define CCM_CLOCK_GROUP_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
21238 #define CCM_CLOCK_GROUP_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
21239 /*! WHITE_LIST - Whitelist
21240  */
21241 #define CCM_CLOCK_GROUP_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_WHITE_LIST_MASK)
21242 
21243 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
21244 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
21245 /*! LOCK_LIST - Lock Whitelist
21246  */
21247 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_LIST_MASK)
21248 
21249 #define CCM_CLOCK_GROUP_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
21250 #define CCM_CLOCK_GROUP_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
21251 /*! DOMAIN_MODE - Low power and access control by domain
21252  */
21253 #define CCM_CLOCK_GROUP_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_DOMAIN_MODE_MASK)
21254 
21255 #define CCM_CLOCK_GROUP_AUTHEN_CLR_SETPOINT_MODE_MASK (0x20000U)
21256 #define CCM_CLOCK_GROUP_AUTHEN_CLR_SETPOINT_MODE_SHIFT (17U)
21257 /*! SETPOINT_MODE - Low power and access control by Setpoint
21258  */
21259 #define CCM_CLOCK_GROUP_AUTHEN_CLR_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_SETPOINT_MODE_MASK)
21260 
21261 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
21262 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
21263 /*! LOCK_MODE - Lock low power and access mode
21264  */
21265 #define CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_CLR_LOCK_MODE_MASK)
21266 /*! @} */
21267 
21268 /* The count of CCM_CLOCK_GROUP_AUTHEN_CLR */
21269 #define CCM_CLOCK_GROUP_AUTHEN_CLR_COUNT         (2U)
21270 
21271 /*! @name CLOCK_GROUP_AUTHEN_TOG - Clock group access control */
21272 /*! @{ */
21273 
21274 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_USER_MASK  (0x1U)
21275 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_USER_SHIFT (0U)
21276 /*! TZ_USER - User access
21277  */
21278 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_USER_MASK)
21279 
21280 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_NS_MASK    (0x2U)
21281 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_NS_SHIFT   (1U)
21282 /*! TZ_NS - Non-secure access
21283  */
21284 #define CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_TZ_NS_MASK)
21285 
21286 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_TZ_MASK  (0x10U)
21287 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
21288 /*! LOCK_TZ - Lock truszone setting
21289  */
21290 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_TZ_MASK)
21291 
21292 #define CCM_CLOCK_GROUP_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
21293 #define CCM_CLOCK_GROUP_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
21294 /*! WHITE_LIST - Whitelist
21295  */
21296 #define CCM_CLOCK_GROUP_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_WHITE_LIST_MASK)
21297 
21298 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
21299 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
21300 /*! LOCK_LIST - Lock Whitelist
21301  */
21302 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_LIST_MASK)
21303 
21304 #define CCM_CLOCK_GROUP_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
21305 #define CCM_CLOCK_GROUP_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
21306 /*! DOMAIN_MODE - Low power and access control by domain
21307  */
21308 #define CCM_CLOCK_GROUP_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_DOMAIN_MODE_MASK)
21309 
21310 #define CCM_CLOCK_GROUP_AUTHEN_TOG_SETPOINT_MODE_MASK (0x20000U)
21311 #define CCM_CLOCK_GROUP_AUTHEN_TOG_SETPOINT_MODE_SHIFT (17U)
21312 /*! SETPOINT_MODE - Low power and access control by Setpoint
21313  */
21314 #define CCM_CLOCK_GROUP_AUTHEN_TOG_SETPOINT_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_SETPOINT_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_SETPOINT_MODE_MASK)
21315 
21316 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
21317 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
21318 /*! LOCK_MODE - Lock low power and access mode
21319  */
21320 #define CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_CLOCK_GROUP_AUTHEN_TOG_LOCK_MODE_MASK)
21321 /*! @} */
21322 
21323 /* The count of CCM_CLOCK_GROUP_AUTHEN_TOG */
21324 #define CCM_CLOCK_GROUP_AUTHEN_TOG_COUNT         (2U)
21325 
21326 /*! @name CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT - Setpoint setting */
21327 /*! @{ */
21328 
21329 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_DIV0_MASK (0xFU)
21330 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_DIV0_SHIFT (0U)
21331 /*! DIV0 - Clock divider
21332  *  0b0000..Direct output.
21333  *  0b0001..Divide by 2.
21334  *  0b0010..Divide by 3.
21335  *  0b0011..Divide by 4.
21336  *  0b1111..Divide by 16.
21337  */
21338 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_DIV0(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_DIV0_SHIFT)) & CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_DIV0_MASK)
21339 
21340 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_RSTDIV_MASK (0xFF0000U)
21341 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_RSTDIV_SHIFT (16U)
21342 /*! RSTDIV - Clock group global restart count
21343  */
21344 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_RSTDIV(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_RSTDIV_SHIFT)) & CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_RSTDIV_MASK)
21345 
21346 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_OFF_MASK (0x1000000U)
21347 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_OFF_SHIFT (24U)
21348 /*! OFF - OFF
21349  *  0b0..Clock is running.
21350  *  0b1..Turn off clock.
21351  */
21352 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_OFF(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_OFF_SHIFT)) & CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_OFF_MASK)
21353 
21354 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_GRADE_MASK (0xF0000000U)
21355 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_GRADE_SHIFT (28U)
21356 /*! GRADE - Grade
21357  */
21358 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_GRADE(x) (((uint32_t)(((uint32_t)(x)) << CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_GRADE_SHIFT)) & CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_GRADE_MASK)
21359 /*! @} */
21360 
21361 /* The count of CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT */
21362 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_COUNT (2U)
21363 
21364 /* The count of CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT */
21365 #define CCM_CLOCK_GROUP_CLOCK_GROUP_SETPOINT_SETPOINT_COUNT2 (16U)
21366 
21367 /*! @name GPR_SHARED - General Purpose Register */
21368 /*! @{ */
21369 
21370 #define CCM_GPR_SHARED_GPR_MASK                  (0xFFFFFFFFU)
21371 #define CCM_GPR_SHARED_GPR_SHIFT                 (0U)
21372 /*! GPR - GP register
21373  */
21374 #define CCM_GPR_SHARED_GPR(x)                    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_GPR_SHIFT)) & CCM_GPR_SHARED_GPR_MASK)
21375 /*! @} */
21376 
21377 /* The count of CCM_GPR_SHARED */
21378 #define CCM_GPR_SHARED_COUNT                     (8U)
21379 
21380 /*! @name GPR_SHARED_SET - General Purpose Register */
21381 /*! @{ */
21382 
21383 #define CCM_GPR_SHARED_SET_GPR_MASK              (0xFFFFFFFFU)
21384 #define CCM_GPR_SHARED_SET_GPR_SHIFT             (0U)
21385 /*! GPR - GP register
21386  */
21387 #define CCM_GPR_SHARED_SET_GPR(x)                (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_SET_GPR_SHIFT)) & CCM_GPR_SHARED_SET_GPR_MASK)
21388 /*! @} */
21389 
21390 /* The count of CCM_GPR_SHARED_SET */
21391 #define CCM_GPR_SHARED_SET_COUNT                 (8U)
21392 
21393 /*! @name GPR_SHARED_CLR - General Purpose Register */
21394 /*! @{ */
21395 
21396 #define CCM_GPR_SHARED_CLR_GPR_MASK              (0xFFFFFFFFU)
21397 #define CCM_GPR_SHARED_CLR_GPR_SHIFT             (0U)
21398 /*! GPR - GP register
21399  */
21400 #define CCM_GPR_SHARED_CLR_GPR(x)                (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_CLR_GPR_SHIFT)) & CCM_GPR_SHARED_CLR_GPR_MASK)
21401 /*! @} */
21402 
21403 /* The count of CCM_GPR_SHARED_CLR */
21404 #define CCM_GPR_SHARED_CLR_COUNT                 (8U)
21405 
21406 /*! @name GPR_SHARED_TOG - General Purpose Register */
21407 /*! @{ */
21408 
21409 #define CCM_GPR_SHARED_TOG_GPR_MASK              (0xFFFFFFFFU)
21410 #define CCM_GPR_SHARED_TOG_GPR_SHIFT             (0U)
21411 /*! GPR - GP register
21412  */
21413 #define CCM_GPR_SHARED_TOG_GPR(x)                (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_TOG_GPR_SHIFT)) & CCM_GPR_SHARED_TOG_GPR_MASK)
21414 /*! @} */
21415 
21416 /* The count of CCM_GPR_SHARED_TOG */
21417 #define CCM_GPR_SHARED_TOG_COUNT                 (8U)
21418 
21419 /*! @name GPR_SHARED_AUTHEN - GPR access control */
21420 /*! @{ */
21421 
21422 #define CCM_GPR_SHARED_AUTHEN_TZ_USER_MASK       (0x1U)
21423 #define CCM_GPR_SHARED_AUTHEN_TZ_USER_SHIFT      (0U)
21424 /*! TZ_USER - User access
21425  *  0b1..Clock can be changed in user mode.
21426  *  0b0..Clock cannot be changed in user mode.
21427  */
21428 #define CCM_GPR_SHARED_AUTHEN_TZ_USER(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TZ_USER_MASK)
21429 
21430 #define CCM_GPR_SHARED_AUTHEN_TZ_NS_MASK         (0x2U)
21431 #define CCM_GPR_SHARED_AUTHEN_TZ_NS_SHIFT        (1U)
21432 /*! TZ_NS - Non-secure access
21433  *  0b0..Cannot be changed in Non-secure mode.
21434  *  0b1..Can be changed in Non-secure mode.
21435  */
21436 #define CCM_GPR_SHARED_AUTHEN_TZ_NS(x)           (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TZ_NS_MASK)
21437 
21438 #define CCM_GPR_SHARED_AUTHEN_LOCK_TZ_MASK       (0x10U)
21439 #define CCM_GPR_SHARED_AUTHEN_LOCK_TZ_SHIFT      (4U)
21440 /*! LOCK_TZ - Lock truszone setting
21441  *  0b0..Trustzone setting is not locked.
21442  *  0b1..Trustzone setting is locked.
21443  */
21444 #define CCM_GPR_SHARED_AUTHEN_LOCK_TZ(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_SHARED_AUTHEN_LOCK_TZ_MASK)
21445 
21446 #define CCM_GPR_SHARED_AUTHEN_WHITE_LIST_MASK    (0xF00U)
21447 #define CCM_GPR_SHARED_AUTHEN_WHITE_LIST_SHIFT   (8U)
21448 /*! WHITE_LIST - Whitelist
21449  *  0b0000..This domain is NOT allowed to change clock.
21450  *  0b0001..This domain is allowed to change clock.
21451  */
21452 #define CCM_GPR_SHARED_AUTHEN_WHITE_LIST(x)      (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_WHITE_LIST_MASK)
21453 
21454 #define CCM_GPR_SHARED_AUTHEN_LOCK_LIST_MASK     (0x1000U)
21455 #define CCM_GPR_SHARED_AUTHEN_LOCK_LIST_SHIFT    (12U)
21456 /*! LOCK_LIST - Lock Whitelist
21457  *  0b0..Whitelist is not locked.
21458  *  0b1..Whitelist is locked.
21459  */
21460 #define CCM_GPR_SHARED_AUTHEN_LOCK_LIST(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_LOCK_LIST_MASK)
21461 
21462 #define CCM_GPR_SHARED_AUTHEN_DOMAIN_MODE_MASK   (0x10000U)
21463 #define CCM_GPR_SHARED_AUTHEN_DOMAIN_MODE_SHIFT  (16U)
21464 /*! DOMAIN_MODE - Low power and access control by domain
21465  *  0b1..Clock works in Domain Mode.
21466  *  0b0..Clock does NOT work in Domain Mode.
21467  */
21468 #define CCM_GPR_SHARED_AUTHEN_DOMAIN_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_DOMAIN_MODE_MASK)
21469 
21470 #define CCM_GPR_SHARED_AUTHEN_LOCK_MODE_MASK     (0x100000U)
21471 #define CCM_GPR_SHARED_AUTHEN_LOCK_MODE_SHIFT    (20U)
21472 /*! LOCK_MODE - Lock low power and access mode
21473  *  0b0..MODE is not locked.
21474  *  0b1..MODE is locked.
21475  */
21476 #define CCM_GPR_SHARED_AUTHEN_LOCK_MODE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_LOCK_MODE_MASK)
21477 /*! @} */
21478 
21479 /* The count of CCM_GPR_SHARED_AUTHEN */
21480 #define CCM_GPR_SHARED_AUTHEN_COUNT              (8U)
21481 
21482 /*! @name GPR_SHARED_AUTHEN_SET - GPR access control */
21483 /*! @{ */
21484 
21485 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_USER_MASK   (0x1U)
21486 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_USER_SHIFT  (0U)
21487 /*! TZ_USER - User access
21488  */
21489 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_TZ_USER_MASK)
21490 
21491 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_NS_MASK     (0x2U)
21492 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_NS_SHIFT    (1U)
21493 /*! TZ_NS - Non-secure access
21494  */
21495 #define CCM_GPR_SHARED_AUTHEN_SET_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_TZ_NS_MASK)
21496 
21497 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_TZ_MASK   (0x10U)
21498 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_TZ_SHIFT  (4U)
21499 /*! LOCK_TZ - Lock truszone setting
21500  */
21501 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_LOCK_TZ_MASK)
21502 
21503 #define CCM_GPR_SHARED_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
21504 #define CCM_GPR_SHARED_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
21505 /*! WHITE_LIST - Whitelist
21506  */
21507 #define CCM_GPR_SHARED_AUTHEN_SET_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_WHITE_LIST_MASK)
21508 
21509 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
21510 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
21511 /*! LOCK_LIST - Lock Whitelist
21512  */
21513 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_LOCK_LIST_MASK)
21514 
21515 #define CCM_GPR_SHARED_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
21516 #define CCM_GPR_SHARED_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
21517 /*! DOMAIN_MODE - Low power and access control by domain
21518  */
21519 #define CCM_GPR_SHARED_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_DOMAIN_MODE_MASK)
21520 
21521 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
21522 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
21523 /*! LOCK_MODE - Lock low power and access mode
21524  */
21525 #define CCM_GPR_SHARED_AUTHEN_SET_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_SET_LOCK_MODE_MASK)
21526 /*! @} */
21527 
21528 /* The count of CCM_GPR_SHARED_AUTHEN_SET */
21529 #define CCM_GPR_SHARED_AUTHEN_SET_COUNT          (8U)
21530 
21531 /*! @name GPR_SHARED_AUTHEN_CLR - GPR access control */
21532 /*! @{ */
21533 
21534 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_USER_MASK   (0x1U)
21535 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_USER_SHIFT  (0U)
21536 /*! TZ_USER - User access
21537  */
21538 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_TZ_USER_MASK)
21539 
21540 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_NS_MASK     (0x2U)
21541 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_NS_SHIFT    (1U)
21542 /*! TZ_NS - Non-secure access
21543  */
21544 #define CCM_GPR_SHARED_AUTHEN_CLR_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_TZ_NS_MASK)
21545 
21546 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_TZ_MASK   (0x10U)
21547 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_TZ_SHIFT  (4U)
21548 /*! LOCK_TZ - Lock truszone setting
21549  */
21550 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_LOCK_TZ_MASK)
21551 
21552 #define CCM_GPR_SHARED_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
21553 #define CCM_GPR_SHARED_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
21554 /*! WHITE_LIST - Whitelist
21555  */
21556 #define CCM_GPR_SHARED_AUTHEN_CLR_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_WHITE_LIST_MASK)
21557 
21558 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
21559 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
21560 /*! LOCK_LIST - Lock Whitelist
21561  */
21562 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_LOCK_LIST_MASK)
21563 
21564 #define CCM_GPR_SHARED_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
21565 #define CCM_GPR_SHARED_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
21566 /*! DOMAIN_MODE - Low power and access control by domain
21567  */
21568 #define CCM_GPR_SHARED_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_DOMAIN_MODE_MASK)
21569 
21570 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
21571 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
21572 /*! LOCK_MODE - Lock low power and access mode
21573  */
21574 #define CCM_GPR_SHARED_AUTHEN_CLR_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_CLR_LOCK_MODE_MASK)
21575 /*! @} */
21576 
21577 /* The count of CCM_GPR_SHARED_AUTHEN_CLR */
21578 #define CCM_GPR_SHARED_AUTHEN_CLR_COUNT          (8U)
21579 
21580 /*! @name GPR_SHARED_AUTHEN_TOG - GPR access control */
21581 /*! @{ */
21582 
21583 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_USER_MASK   (0x1U)
21584 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_USER_SHIFT  (0U)
21585 /*! TZ_USER - User access
21586  */
21587 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_USER(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_TZ_USER_MASK)
21588 
21589 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_NS_MASK     (0x2U)
21590 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_NS_SHIFT    (1U)
21591 /*! TZ_NS - Non-secure access
21592  */
21593 #define CCM_GPR_SHARED_AUTHEN_TOG_TZ_NS(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_TZ_NS_MASK)
21594 
21595 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_TZ_MASK   (0x10U)
21596 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_TZ_SHIFT  (4U)
21597 /*! LOCK_TZ - Lock truszone setting
21598  */
21599 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_TZ(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_LOCK_TZ_MASK)
21600 
21601 #define CCM_GPR_SHARED_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
21602 #define CCM_GPR_SHARED_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
21603 /*! WHITE_LIST - Whitelist
21604  */
21605 #define CCM_GPR_SHARED_AUTHEN_TOG_WHITE_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_WHITE_LIST_MASK)
21606 
21607 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
21608 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
21609 /*! LOCK_LIST - Lock Whitelist
21610  */
21611 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_LIST(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_LOCK_LIST_MASK)
21612 
21613 #define CCM_GPR_SHARED_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
21614 #define CCM_GPR_SHARED_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
21615 /*! DOMAIN_MODE - Low power and access control by domain
21616  */
21617 #define CCM_GPR_SHARED_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_DOMAIN_MODE_MASK)
21618 
21619 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
21620 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
21621 /*! LOCK_MODE - Lock low power and access mode
21622  */
21623 #define CCM_GPR_SHARED_AUTHEN_TOG_LOCK_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_SHARED_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_SHARED_AUTHEN_TOG_LOCK_MODE_MASK)
21624 /*! @} */
21625 
21626 /* The count of CCM_GPR_SHARED_AUTHEN_TOG */
21627 #define CCM_GPR_SHARED_AUTHEN_TOG_COUNT          (8U)
21628 
21629 /*! @name GPR_PRIVATE1 - General Purpose Register */
21630 /*! @{ */
21631 
21632 #define CCM_GPR_PRIVATE1_GPR_MASK                (0xFFFFFFFFU)
21633 #define CCM_GPR_PRIVATE1_GPR_SHIFT               (0U)
21634 /*! GPR - GP register
21635  */
21636 #define CCM_GPR_PRIVATE1_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_GPR_SHIFT)) & CCM_GPR_PRIVATE1_GPR_MASK)
21637 /*! @} */
21638 
21639 /*! @name GPR_PRIVATE1_SET - General Purpose Register */
21640 /*! @{ */
21641 
21642 #define CCM_GPR_PRIVATE1_SET_GPR_MASK            (0xFFFFFFFFU)
21643 #define CCM_GPR_PRIVATE1_SET_GPR_SHIFT           (0U)
21644 /*! GPR - GP register
21645  */
21646 #define CCM_GPR_PRIVATE1_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE1_SET_GPR_MASK)
21647 /*! @} */
21648 
21649 /*! @name GPR_PRIVATE1_CLR - General Purpose Register */
21650 /*! @{ */
21651 
21652 #define CCM_GPR_PRIVATE1_CLR_GPR_MASK            (0xFFFFFFFFU)
21653 #define CCM_GPR_PRIVATE1_CLR_GPR_SHIFT           (0U)
21654 /*! GPR - GP register
21655  */
21656 #define CCM_GPR_PRIVATE1_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE1_CLR_GPR_MASK)
21657 /*! @} */
21658 
21659 /*! @name GPR_PRIVATE1_TOG - General Purpose Register */
21660 /*! @{ */
21661 
21662 #define CCM_GPR_PRIVATE1_TOG_GPR_MASK            (0xFFFFFFFFU)
21663 #define CCM_GPR_PRIVATE1_TOG_GPR_SHIFT           (0U)
21664 /*! GPR - GP register
21665  */
21666 #define CCM_GPR_PRIVATE1_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE1_TOG_GPR_MASK)
21667 /*! @} */
21668 
21669 /*! @name GPR_PRIVATE1_AUTHEN - GPR access control */
21670 /*! @{ */
21671 
21672 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_USER_MASK     (0x1U)
21673 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_USER_SHIFT    (0U)
21674 /*! TZ_USER - User access
21675  *  0b1..Clock can be changed in user mode.
21676  *  0b0..Clock cannot be changed in user mode.
21677  */
21678 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TZ_USER_MASK)
21679 
21680 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_NS_MASK       (0x2U)
21681 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_NS_SHIFT      (1U)
21682 /*! TZ_NS - Non-secure access
21683  *  0b0..Cannot be changed in Non-secure mode.
21684  *  0b1..Can be changed in Non-secure mode.
21685  */
21686 #define CCM_GPR_PRIVATE1_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TZ_NS_MASK)
21687 
21688 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_TZ_MASK     (0x10U)
21689 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_TZ_SHIFT    (4U)
21690 /*! LOCK_TZ - Lock truszone setting
21691  *  0b0..Trustzone setting is not locked.
21692  *  0b1..Trustzone setting is locked.
21693  */
21694 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_LOCK_TZ_MASK)
21695 
21696 #define CCM_GPR_PRIVATE1_AUTHEN_WHITE_LIST_MASK  (0xF00U)
21697 #define CCM_GPR_PRIVATE1_AUTHEN_WHITE_LIST_SHIFT (8U)
21698 /*! WHITE_LIST - Whitelist
21699  *  0b0000..This domain is NOT allowed to change clock.
21700  *  0b0001..This domain is allowed to change clock.
21701  */
21702 #define CCM_GPR_PRIVATE1_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_WHITE_LIST_MASK)
21703 
21704 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_LIST_MASK   (0x1000U)
21705 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_LIST_SHIFT  (12U)
21706 /*! LOCK_LIST - Lock Whitelist
21707  *  0b0..Whitelist is not locked.
21708  *  0b1..Whitelist is locked.
21709  */
21710 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_LOCK_LIST_MASK)
21711 
21712 #define CCM_GPR_PRIVATE1_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
21713 #define CCM_GPR_PRIVATE1_AUTHEN_DOMAIN_MODE_SHIFT (16U)
21714 /*! DOMAIN_MODE - Low power and access control by Domain
21715  *  0b1..Clock works in Domain Mode.
21716  *  0b0..Clock does NOT work in Domain Mode.
21717  */
21718 #define CCM_GPR_PRIVATE1_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_DOMAIN_MODE_MASK)
21719 
21720 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_MODE_MASK   (0x100000U)
21721 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_MODE_SHIFT  (20U)
21722 /*! LOCK_MODE - Lock low power and access mode
21723  *  0b0..MODE is not locked.
21724  *  0b1..MODE is locked.
21725  */
21726 #define CCM_GPR_PRIVATE1_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_LOCK_MODE_MASK)
21727 /*! @} */
21728 
21729 /*! @name GPR_PRIVATE1_AUTHEN_SET - GPR access control */
21730 /*! @{ */
21731 
21732 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_USER_MASK (0x1U)
21733 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_USER_SHIFT (0U)
21734 /*! TZ_USER - User access
21735  */
21736 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_USER_MASK)
21737 
21738 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_NS_MASK   (0x2U)
21739 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_NS_SHIFT  (1U)
21740 /*! TZ_NS - Non-secure access
21741  */
21742 #define CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_TZ_NS_MASK)
21743 
21744 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
21745 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
21746 /*! LOCK_TZ - Lock truszone setting
21747  */
21748 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_TZ_MASK)
21749 
21750 #define CCM_GPR_PRIVATE1_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
21751 #define CCM_GPR_PRIVATE1_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
21752 /*! WHITE_LIST - Whitelist
21753  */
21754 #define CCM_GPR_PRIVATE1_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_WHITE_LIST_MASK)
21755 
21756 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
21757 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
21758 /*! LOCK_LIST - Lock Whitelist
21759  */
21760 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_LIST_MASK)
21761 
21762 #define CCM_GPR_PRIVATE1_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
21763 #define CCM_GPR_PRIVATE1_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
21764 /*! DOMAIN_MODE - Low power and access control by Domain
21765  */
21766 #define CCM_GPR_PRIVATE1_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_DOMAIN_MODE_MASK)
21767 
21768 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
21769 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
21770 /*! LOCK_MODE - Lock low power and access mode
21771  */
21772 #define CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_SET_LOCK_MODE_MASK)
21773 /*! @} */
21774 
21775 /*! @name GPR_PRIVATE1_AUTHEN_CLR - GPR access control */
21776 /*! @{ */
21777 
21778 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_USER_MASK (0x1U)
21779 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_USER_SHIFT (0U)
21780 /*! TZ_USER - User access
21781  */
21782 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_USER_MASK)
21783 
21784 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
21785 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
21786 /*! TZ_NS - Non-secure access
21787  */
21788 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_TZ_NS_MASK)
21789 
21790 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
21791 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
21792 /*! LOCK_TZ - Lock truszone setting
21793  */
21794 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_TZ_MASK)
21795 
21796 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
21797 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
21798 /*! WHITE_LIST - Whitelist
21799  */
21800 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_WHITE_LIST_MASK)
21801 
21802 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
21803 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
21804 /*! LOCK_LIST - Lock Whitelist
21805  */
21806 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_LIST_MASK)
21807 
21808 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
21809 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
21810 /*! DOMAIN_MODE - Low power and access control by Domain
21811  */
21812 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_DOMAIN_MODE_MASK)
21813 
21814 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
21815 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
21816 /*! LOCK_MODE - Lock low power and access mode
21817  */
21818 #define CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_CLR_LOCK_MODE_MASK)
21819 /*! @} */
21820 
21821 /*! @name GPR_PRIVATE1_AUTHEN_TOG - GPR access control */
21822 /*! @{ */
21823 
21824 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_USER_MASK (0x1U)
21825 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_USER_SHIFT (0U)
21826 /*! TZ_USER - User access
21827  */
21828 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_USER_MASK)
21829 
21830 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
21831 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
21832 /*! TZ_NS - Non-secure access
21833  */
21834 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_TZ_NS_MASK)
21835 
21836 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
21837 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
21838 /*! LOCK_TZ - Lock truszone setting
21839  */
21840 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_TZ_MASK)
21841 
21842 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
21843 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
21844 /*! WHITE_LIST - Whitelist
21845  */
21846 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_WHITE_LIST_MASK)
21847 
21848 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
21849 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
21850 /*! LOCK_LIST - Lock Whitelist
21851  */
21852 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_LIST_MASK)
21853 
21854 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
21855 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
21856 /*! DOMAIN_MODE - Low power and access control by Domain
21857  */
21858 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_DOMAIN_MODE_MASK)
21859 
21860 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
21861 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
21862 /*! LOCK_MODE - Lock low power and access mode
21863  */
21864 #define CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE1_AUTHEN_TOG_LOCK_MODE_MASK)
21865 /*! @} */
21866 
21867 /*! @name GPR_PRIVATE2 - General Purpose Register */
21868 /*! @{ */
21869 
21870 #define CCM_GPR_PRIVATE2_GPR_MASK                (0xFFFFFFFFU)
21871 #define CCM_GPR_PRIVATE2_GPR_SHIFT               (0U)
21872 /*! GPR - GP register
21873  */
21874 #define CCM_GPR_PRIVATE2_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_GPR_SHIFT)) & CCM_GPR_PRIVATE2_GPR_MASK)
21875 /*! @} */
21876 
21877 /*! @name GPR_PRIVATE2_SET - General Purpose Register */
21878 /*! @{ */
21879 
21880 #define CCM_GPR_PRIVATE2_SET_GPR_MASK            (0xFFFFFFFFU)
21881 #define CCM_GPR_PRIVATE2_SET_GPR_SHIFT           (0U)
21882 /*! GPR - GP register
21883  */
21884 #define CCM_GPR_PRIVATE2_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE2_SET_GPR_MASK)
21885 /*! @} */
21886 
21887 /*! @name GPR_PRIVATE2_CLR - General Purpose Register */
21888 /*! @{ */
21889 
21890 #define CCM_GPR_PRIVATE2_CLR_GPR_MASK            (0xFFFFFFFFU)
21891 #define CCM_GPR_PRIVATE2_CLR_GPR_SHIFT           (0U)
21892 /*! GPR - GP register
21893  */
21894 #define CCM_GPR_PRIVATE2_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE2_CLR_GPR_MASK)
21895 /*! @} */
21896 
21897 /*! @name GPR_PRIVATE2_TOG - General Purpose Register */
21898 /*! @{ */
21899 
21900 #define CCM_GPR_PRIVATE2_TOG_GPR_MASK            (0xFFFFFFFFU)
21901 #define CCM_GPR_PRIVATE2_TOG_GPR_SHIFT           (0U)
21902 /*! GPR - GP register
21903  */
21904 #define CCM_GPR_PRIVATE2_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE2_TOG_GPR_MASK)
21905 /*! @} */
21906 
21907 /*! @name GPR_PRIVATE2_AUTHEN - GPR access control */
21908 /*! @{ */
21909 
21910 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_USER_MASK     (0x1U)
21911 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_USER_SHIFT    (0U)
21912 /*! TZ_USER - User access
21913  *  0b1..Clock can be changed in user mode.
21914  *  0b0..Clock cannot be changed in user mode.
21915  */
21916 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TZ_USER_MASK)
21917 
21918 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_NS_MASK       (0x2U)
21919 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_NS_SHIFT      (1U)
21920 /*! TZ_NS - Non-secure access
21921  *  0b0..Cannot be changed in Non-secure mode.
21922  *  0b1..Can be changed in Non-secure mode.
21923  */
21924 #define CCM_GPR_PRIVATE2_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TZ_NS_MASK)
21925 
21926 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_TZ_MASK     (0x10U)
21927 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_TZ_SHIFT    (4U)
21928 /*! LOCK_TZ - Lock truszone setting
21929  *  0b0..Trustzone setting is not locked.
21930  *  0b1..Trustzone setting is locked.
21931  */
21932 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_LOCK_TZ_MASK)
21933 
21934 #define CCM_GPR_PRIVATE2_AUTHEN_WHITE_LIST_MASK  (0xF00U)
21935 #define CCM_GPR_PRIVATE2_AUTHEN_WHITE_LIST_SHIFT (8U)
21936 /*! WHITE_LIST - Whitelist
21937  *  0b0000..This domain is NOT allowed to change clock.
21938  *  0b0001..This domain is allowed to change clock.
21939  */
21940 #define CCM_GPR_PRIVATE2_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_WHITE_LIST_MASK)
21941 
21942 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_LIST_MASK   (0x1000U)
21943 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_LIST_SHIFT  (12U)
21944 /*! LOCK_LIST - Lock Whitelist
21945  *  0b0..Whitelist is not locked.
21946  *  0b1..Whitelist is locked.
21947  */
21948 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_LOCK_LIST_MASK)
21949 
21950 #define CCM_GPR_PRIVATE2_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
21951 #define CCM_GPR_PRIVATE2_AUTHEN_DOMAIN_MODE_SHIFT (16U)
21952 /*! DOMAIN_MODE - Low power and access control by Domain
21953  *  0b1..Clock works in Domain Mode.
21954  *  0b0..Clock does NOT work in Domain Mode.
21955  */
21956 #define CCM_GPR_PRIVATE2_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_DOMAIN_MODE_MASK)
21957 
21958 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_MODE_MASK   (0x100000U)
21959 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_MODE_SHIFT  (20U)
21960 /*! LOCK_MODE - Lock low power and access mode
21961  *  0b0..MODE is not locked.
21962  *  0b1..MODE is locked.
21963  */
21964 #define CCM_GPR_PRIVATE2_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_LOCK_MODE_MASK)
21965 /*! @} */
21966 
21967 /*! @name GPR_PRIVATE2_AUTHEN_SET - GPR access control */
21968 /*! @{ */
21969 
21970 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_USER_MASK (0x1U)
21971 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_USER_SHIFT (0U)
21972 /*! TZ_USER - User access
21973  */
21974 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_USER_MASK)
21975 
21976 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_NS_MASK   (0x2U)
21977 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_NS_SHIFT  (1U)
21978 /*! TZ_NS - Non-secure access
21979  */
21980 #define CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_TZ_NS_MASK)
21981 
21982 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
21983 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
21984 /*! LOCK_TZ - Lock truszone setting
21985  */
21986 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_TZ_MASK)
21987 
21988 #define CCM_GPR_PRIVATE2_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
21989 #define CCM_GPR_PRIVATE2_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
21990 /*! WHITE_LIST - Whitelist
21991  */
21992 #define CCM_GPR_PRIVATE2_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_WHITE_LIST_MASK)
21993 
21994 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
21995 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
21996 /*! LOCK_LIST - Lock Whitelist
21997  */
21998 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_LIST_MASK)
21999 
22000 #define CCM_GPR_PRIVATE2_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
22001 #define CCM_GPR_PRIVATE2_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
22002 /*! DOMAIN_MODE - Low power and access control by Domain
22003  */
22004 #define CCM_GPR_PRIVATE2_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_DOMAIN_MODE_MASK)
22005 
22006 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
22007 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
22008 /*! LOCK_MODE - Lock low power and access mode
22009  */
22010 #define CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_SET_LOCK_MODE_MASK)
22011 /*! @} */
22012 
22013 /*! @name GPR_PRIVATE2_AUTHEN_CLR - GPR access control */
22014 /*! @{ */
22015 
22016 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_USER_MASK (0x1U)
22017 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_USER_SHIFT (0U)
22018 /*! TZ_USER - User access
22019  */
22020 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_USER_MASK)
22021 
22022 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
22023 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
22024 /*! TZ_NS - Non-secure access
22025  */
22026 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_TZ_NS_MASK)
22027 
22028 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
22029 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
22030 /*! LOCK_TZ - Lock truszone setting
22031  */
22032 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_TZ_MASK)
22033 
22034 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
22035 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
22036 /*! WHITE_LIST - Whitelist
22037  */
22038 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_WHITE_LIST_MASK)
22039 
22040 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
22041 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
22042 /*! LOCK_LIST - Lock Whitelist
22043  */
22044 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_LIST_MASK)
22045 
22046 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
22047 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
22048 /*! DOMAIN_MODE - Low power and access control by Domain
22049  */
22050 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_DOMAIN_MODE_MASK)
22051 
22052 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
22053 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
22054 /*! LOCK_MODE - Lock low power and access mode
22055  */
22056 #define CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_CLR_LOCK_MODE_MASK)
22057 /*! @} */
22058 
22059 /*! @name GPR_PRIVATE2_AUTHEN_TOG - GPR access control */
22060 /*! @{ */
22061 
22062 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_USER_MASK (0x1U)
22063 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_USER_SHIFT (0U)
22064 /*! TZ_USER - User access
22065  */
22066 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_USER_MASK)
22067 
22068 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
22069 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
22070 /*! TZ_NS - Non-secure access
22071  */
22072 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_TZ_NS_MASK)
22073 
22074 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
22075 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
22076 /*! LOCK_TZ - Lock truszone setting
22077  */
22078 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_TZ_MASK)
22079 
22080 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
22081 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
22082 /*! WHITE_LIST - Whitelist
22083  */
22084 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_WHITE_LIST_MASK)
22085 
22086 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
22087 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
22088 /*! LOCK_LIST - Lock Whitelist
22089  */
22090 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_LIST_MASK)
22091 
22092 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
22093 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
22094 /*! DOMAIN_MODE - Low power and access control by Domain
22095  */
22096 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_DOMAIN_MODE_MASK)
22097 
22098 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
22099 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
22100 /*! LOCK_MODE - Lock low power and access mode
22101  */
22102 #define CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE2_AUTHEN_TOG_LOCK_MODE_MASK)
22103 /*! @} */
22104 
22105 /*! @name GPR_PRIVATE3 - General Purpose Register */
22106 /*! @{ */
22107 
22108 #define CCM_GPR_PRIVATE3_GPR_MASK                (0xFFFFFFFFU)
22109 #define CCM_GPR_PRIVATE3_GPR_SHIFT               (0U)
22110 /*! GPR - GP register
22111  */
22112 #define CCM_GPR_PRIVATE3_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_GPR_SHIFT)) & CCM_GPR_PRIVATE3_GPR_MASK)
22113 /*! @} */
22114 
22115 /*! @name GPR_PRIVATE3_SET - General Purpose Register */
22116 /*! @{ */
22117 
22118 #define CCM_GPR_PRIVATE3_SET_GPR_MASK            (0xFFFFFFFFU)
22119 #define CCM_GPR_PRIVATE3_SET_GPR_SHIFT           (0U)
22120 /*! GPR - GP register
22121  */
22122 #define CCM_GPR_PRIVATE3_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE3_SET_GPR_MASK)
22123 /*! @} */
22124 
22125 /*! @name GPR_PRIVATE3_CLR - General Purpose Register */
22126 /*! @{ */
22127 
22128 #define CCM_GPR_PRIVATE3_CLR_GPR_MASK            (0xFFFFFFFFU)
22129 #define CCM_GPR_PRIVATE3_CLR_GPR_SHIFT           (0U)
22130 /*! GPR - GP register
22131  */
22132 #define CCM_GPR_PRIVATE3_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE3_CLR_GPR_MASK)
22133 /*! @} */
22134 
22135 /*! @name GPR_PRIVATE3_TOG - General Purpose Register */
22136 /*! @{ */
22137 
22138 #define CCM_GPR_PRIVATE3_TOG_GPR_MASK            (0xFFFFFFFFU)
22139 #define CCM_GPR_PRIVATE3_TOG_GPR_SHIFT           (0U)
22140 /*! GPR - GP register
22141  */
22142 #define CCM_GPR_PRIVATE3_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE3_TOG_GPR_MASK)
22143 /*! @} */
22144 
22145 /*! @name GPR_PRIVATE3_AUTHEN - GPR access control */
22146 /*! @{ */
22147 
22148 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_USER_MASK     (0x1U)
22149 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_USER_SHIFT    (0U)
22150 /*! TZ_USER - User access
22151  *  0b1..Clock can be changed in user mode.
22152  *  0b0..Clock cannot be changed in user mode.
22153  */
22154 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TZ_USER_MASK)
22155 
22156 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_NS_MASK       (0x2U)
22157 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_NS_SHIFT      (1U)
22158 /*! TZ_NS - Non-secure access
22159  *  0b0..Cannot be changed in Non-secure mode.
22160  *  0b1..Can be changed in Non-secure mode.
22161  */
22162 #define CCM_GPR_PRIVATE3_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TZ_NS_MASK)
22163 
22164 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_TZ_MASK     (0x10U)
22165 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_TZ_SHIFT    (4U)
22166 /*! LOCK_TZ - Lock truszone setting
22167  *  0b0..Trustzone setting is not locked.
22168  *  0b1..Trustzone setting is locked.
22169  */
22170 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_LOCK_TZ_MASK)
22171 
22172 #define CCM_GPR_PRIVATE3_AUTHEN_WHITE_LIST_MASK  (0xF00U)
22173 #define CCM_GPR_PRIVATE3_AUTHEN_WHITE_LIST_SHIFT (8U)
22174 /*! WHITE_LIST - Whitelist
22175  *  0b0000..This domain is NOT allowed to change clock.
22176  *  0b0001..This domain is allowed to change clock.
22177  */
22178 #define CCM_GPR_PRIVATE3_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_WHITE_LIST_MASK)
22179 
22180 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_LIST_MASK   (0x1000U)
22181 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_LIST_SHIFT  (12U)
22182 /*! LOCK_LIST - Lock Whitelist
22183  *  0b0..Whitelist is not locked.
22184  *  0b1..Whitelist is locked.
22185  */
22186 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_LOCK_LIST_MASK)
22187 
22188 #define CCM_GPR_PRIVATE3_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
22189 #define CCM_GPR_PRIVATE3_AUTHEN_DOMAIN_MODE_SHIFT (16U)
22190 /*! DOMAIN_MODE - Low power and access control by Domain
22191  *  0b1..Clock works in Domain Mode.
22192  *  0b0..Clock does NOT work in Domain Mode.
22193  */
22194 #define CCM_GPR_PRIVATE3_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_DOMAIN_MODE_MASK)
22195 
22196 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_MODE_MASK   (0x100000U)
22197 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_MODE_SHIFT  (20U)
22198 /*! LOCK_MODE - Lock low power and access mode
22199  *  0b0..MODE is not locked.
22200  *  0b1..MODE is locked.
22201  */
22202 #define CCM_GPR_PRIVATE3_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_LOCK_MODE_MASK)
22203 /*! @} */
22204 
22205 /*! @name GPR_PRIVATE3_AUTHEN_SET - GPR access control */
22206 /*! @{ */
22207 
22208 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_USER_MASK (0x1U)
22209 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_USER_SHIFT (0U)
22210 /*! TZ_USER - User access
22211  */
22212 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_USER_MASK)
22213 
22214 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_NS_MASK   (0x2U)
22215 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_NS_SHIFT  (1U)
22216 /*! TZ_NS - Non-secure access
22217  */
22218 #define CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_TZ_NS_MASK)
22219 
22220 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
22221 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
22222 /*! LOCK_TZ - Lock truszone setting
22223  */
22224 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_TZ_MASK)
22225 
22226 #define CCM_GPR_PRIVATE3_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
22227 #define CCM_GPR_PRIVATE3_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
22228 /*! WHITE_LIST - Whitelist
22229  */
22230 #define CCM_GPR_PRIVATE3_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_WHITE_LIST_MASK)
22231 
22232 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
22233 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
22234 /*! LOCK_LIST - Lock Whitelist
22235  */
22236 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_LIST_MASK)
22237 
22238 #define CCM_GPR_PRIVATE3_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
22239 #define CCM_GPR_PRIVATE3_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
22240 /*! DOMAIN_MODE - Low power and access control by Domain
22241  */
22242 #define CCM_GPR_PRIVATE3_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_DOMAIN_MODE_MASK)
22243 
22244 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
22245 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
22246 /*! LOCK_MODE - Lock low power and access mode
22247  */
22248 #define CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_SET_LOCK_MODE_MASK)
22249 /*! @} */
22250 
22251 /*! @name GPR_PRIVATE3_AUTHEN_CLR - GPR access control */
22252 /*! @{ */
22253 
22254 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_USER_MASK (0x1U)
22255 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_USER_SHIFT (0U)
22256 /*! TZ_USER - User access
22257  */
22258 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_USER_MASK)
22259 
22260 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
22261 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
22262 /*! TZ_NS - Non-secure access
22263  */
22264 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_TZ_NS_MASK)
22265 
22266 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
22267 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
22268 /*! LOCK_TZ - Lock truszone setting
22269  */
22270 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_TZ_MASK)
22271 
22272 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
22273 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
22274 /*! WHITE_LIST - Whitelist
22275  */
22276 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_WHITE_LIST_MASK)
22277 
22278 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
22279 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
22280 /*! LOCK_LIST - Lock Whitelist
22281  */
22282 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_LIST_MASK)
22283 
22284 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
22285 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
22286 /*! DOMAIN_MODE - Low power and access control by Domain
22287  */
22288 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_DOMAIN_MODE_MASK)
22289 
22290 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
22291 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
22292 /*! LOCK_MODE - Lock low power and access mode
22293  */
22294 #define CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_CLR_LOCK_MODE_MASK)
22295 /*! @} */
22296 
22297 /*! @name GPR_PRIVATE3_AUTHEN_TOG - GPR access control */
22298 /*! @{ */
22299 
22300 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_USER_MASK (0x1U)
22301 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_USER_SHIFT (0U)
22302 /*! TZ_USER - User access
22303  */
22304 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_USER_MASK)
22305 
22306 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
22307 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
22308 /*! TZ_NS - Non-secure access
22309  */
22310 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_TZ_NS_MASK)
22311 
22312 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
22313 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
22314 /*! LOCK_TZ - Lock truszone setting
22315  */
22316 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_TZ_MASK)
22317 
22318 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
22319 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
22320 /*! WHITE_LIST - Whitelist
22321  */
22322 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_WHITE_LIST_MASK)
22323 
22324 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
22325 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
22326 /*! LOCK_LIST - Lock Whitelist
22327  */
22328 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_LIST_MASK)
22329 
22330 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
22331 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
22332 /*! DOMAIN_MODE - Low power and access control by Domain
22333  */
22334 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_DOMAIN_MODE_MASK)
22335 
22336 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
22337 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
22338 /*! LOCK_MODE - Lock low power and access mode
22339  */
22340 #define CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE3_AUTHEN_TOG_LOCK_MODE_MASK)
22341 /*! @} */
22342 
22343 /*! @name GPR_PRIVATE4 - General Purpose Register */
22344 /*! @{ */
22345 
22346 #define CCM_GPR_PRIVATE4_GPR_MASK                (0xFFFFFFFFU)
22347 #define CCM_GPR_PRIVATE4_GPR_SHIFT               (0U)
22348 /*! GPR - GP register
22349  */
22350 #define CCM_GPR_PRIVATE4_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_GPR_SHIFT)) & CCM_GPR_PRIVATE4_GPR_MASK)
22351 /*! @} */
22352 
22353 /*! @name GPR_PRIVATE4_SET - General Purpose Register */
22354 /*! @{ */
22355 
22356 #define CCM_GPR_PRIVATE4_SET_GPR_MASK            (0xFFFFFFFFU)
22357 #define CCM_GPR_PRIVATE4_SET_GPR_SHIFT           (0U)
22358 /*! GPR - GP register
22359  */
22360 #define CCM_GPR_PRIVATE4_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE4_SET_GPR_MASK)
22361 /*! @} */
22362 
22363 /*! @name GPR_PRIVATE4_CLR - General Purpose Register */
22364 /*! @{ */
22365 
22366 #define CCM_GPR_PRIVATE4_CLR_GPR_MASK            (0xFFFFFFFFU)
22367 #define CCM_GPR_PRIVATE4_CLR_GPR_SHIFT           (0U)
22368 /*! GPR - GP register
22369  */
22370 #define CCM_GPR_PRIVATE4_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE4_CLR_GPR_MASK)
22371 /*! @} */
22372 
22373 /*! @name GPR_PRIVATE4_TOG - General Purpose Register */
22374 /*! @{ */
22375 
22376 #define CCM_GPR_PRIVATE4_TOG_GPR_MASK            (0xFFFFFFFFU)
22377 #define CCM_GPR_PRIVATE4_TOG_GPR_SHIFT           (0U)
22378 /*! GPR - GP register
22379  */
22380 #define CCM_GPR_PRIVATE4_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE4_TOG_GPR_MASK)
22381 /*! @} */
22382 
22383 /*! @name GPR_PRIVATE4_AUTHEN - GPR access control */
22384 /*! @{ */
22385 
22386 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_USER_MASK     (0x1U)
22387 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_USER_SHIFT    (0U)
22388 /*! TZ_USER - User access
22389  *  0b1..Clock can be changed in user mode.
22390  *  0b0..Clock cannot be changed in user mode.
22391  */
22392 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TZ_USER_MASK)
22393 
22394 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_NS_MASK       (0x2U)
22395 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_NS_SHIFT      (1U)
22396 /*! TZ_NS - Non-secure access
22397  *  0b0..Cannot be changed in Non-secure mode.
22398  *  0b1..Can be changed in Non-secure mode.
22399  */
22400 #define CCM_GPR_PRIVATE4_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TZ_NS_MASK)
22401 
22402 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_TZ_MASK     (0x10U)
22403 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_TZ_SHIFT    (4U)
22404 /*! LOCK_TZ - Lock truszone setting
22405  *  0b0..Trustzone setting is not locked.
22406  *  0b1..Trustzone setting is locked.
22407  */
22408 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_LOCK_TZ_MASK)
22409 
22410 #define CCM_GPR_PRIVATE4_AUTHEN_WHITE_LIST_MASK  (0xF00U)
22411 #define CCM_GPR_PRIVATE4_AUTHEN_WHITE_LIST_SHIFT (8U)
22412 /*! WHITE_LIST - Whitelist
22413  *  0b0000..This domain is NOT allowed to change clock.
22414  *  0b0001..This domain is allowed to change clock.
22415  */
22416 #define CCM_GPR_PRIVATE4_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_WHITE_LIST_MASK)
22417 
22418 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_LIST_MASK   (0x1000U)
22419 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_LIST_SHIFT  (12U)
22420 /*! LOCK_LIST - Lock Whitelist
22421  *  0b0..Whitelist is not locked.
22422  *  0b1..Whitelist is locked.
22423  */
22424 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_LOCK_LIST_MASK)
22425 
22426 #define CCM_GPR_PRIVATE4_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
22427 #define CCM_GPR_PRIVATE4_AUTHEN_DOMAIN_MODE_SHIFT (16U)
22428 /*! DOMAIN_MODE - Low power and access control by Domain
22429  *  0b1..Clock works in Domain Mode.
22430  *  0b0..Clock does NOT work in Domain Mode.
22431  */
22432 #define CCM_GPR_PRIVATE4_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_DOMAIN_MODE_MASK)
22433 
22434 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_MODE_MASK   (0x100000U)
22435 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_MODE_SHIFT  (20U)
22436 /*! LOCK_MODE - Lock low power and access mode
22437  *  0b0..MODE is not locked.
22438  *  0b1..MODE is locked.
22439  */
22440 #define CCM_GPR_PRIVATE4_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_LOCK_MODE_MASK)
22441 /*! @} */
22442 
22443 /*! @name GPR_PRIVATE4_AUTHEN_SET - GPR access control */
22444 /*! @{ */
22445 
22446 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_USER_MASK (0x1U)
22447 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_USER_SHIFT (0U)
22448 /*! TZ_USER - User access
22449  */
22450 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_USER_MASK)
22451 
22452 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_NS_MASK   (0x2U)
22453 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_NS_SHIFT  (1U)
22454 /*! TZ_NS - Non-secure access
22455  */
22456 #define CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_TZ_NS_MASK)
22457 
22458 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
22459 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
22460 /*! LOCK_TZ - Lock truszone setting
22461  */
22462 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_TZ_MASK)
22463 
22464 #define CCM_GPR_PRIVATE4_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
22465 #define CCM_GPR_PRIVATE4_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
22466 /*! WHITE_LIST - Whitelist
22467  */
22468 #define CCM_GPR_PRIVATE4_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_WHITE_LIST_MASK)
22469 
22470 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
22471 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
22472 /*! LOCK_LIST - Lock Whitelist
22473  */
22474 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_LIST_MASK)
22475 
22476 #define CCM_GPR_PRIVATE4_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
22477 #define CCM_GPR_PRIVATE4_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
22478 /*! DOMAIN_MODE - Low power and access control by Domain
22479  */
22480 #define CCM_GPR_PRIVATE4_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_DOMAIN_MODE_MASK)
22481 
22482 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
22483 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
22484 /*! LOCK_MODE - Lock low power and access mode
22485  */
22486 #define CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_SET_LOCK_MODE_MASK)
22487 /*! @} */
22488 
22489 /*! @name GPR_PRIVATE4_AUTHEN_CLR - GPR access control */
22490 /*! @{ */
22491 
22492 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_USER_MASK (0x1U)
22493 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_USER_SHIFT (0U)
22494 /*! TZ_USER - User access
22495  */
22496 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_USER_MASK)
22497 
22498 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
22499 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
22500 /*! TZ_NS - Non-secure access
22501  */
22502 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_TZ_NS_MASK)
22503 
22504 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
22505 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
22506 /*! LOCK_TZ - Lock truszone setting
22507  */
22508 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_TZ_MASK)
22509 
22510 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
22511 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
22512 /*! WHITE_LIST - Whitelist
22513  */
22514 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_WHITE_LIST_MASK)
22515 
22516 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
22517 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
22518 /*! LOCK_LIST - Lock Whitelist
22519  */
22520 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_LIST_MASK)
22521 
22522 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
22523 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
22524 /*! DOMAIN_MODE - Low power and access control by Domain
22525  */
22526 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_DOMAIN_MODE_MASK)
22527 
22528 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
22529 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
22530 /*! LOCK_MODE - Lock low power and access mode
22531  */
22532 #define CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_CLR_LOCK_MODE_MASK)
22533 /*! @} */
22534 
22535 /*! @name GPR_PRIVATE4_AUTHEN_TOG - GPR access control */
22536 /*! @{ */
22537 
22538 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_USER_MASK (0x1U)
22539 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_USER_SHIFT (0U)
22540 /*! TZ_USER - User access
22541  */
22542 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_USER_MASK)
22543 
22544 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
22545 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
22546 /*! TZ_NS - Non-secure access
22547  */
22548 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_TZ_NS_MASK)
22549 
22550 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
22551 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
22552 /*! LOCK_TZ - Lock truszone setting
22553  */
22554 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_TZ_MASK)
22555 
22556 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
22557 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
22558 /*! WHITE_LIST - Whitelist
22559  */
22560 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_WHITE_LIST_MASK)
22561 
22562 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
22563 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
22564 /*! LOCK_LIST - Lock Whitelist
22565  */
22566 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_LIST_MASK)
22567 
22568 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
22569 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
22570 /*! DOMAIN_MODE - Low power and access control by Domain
22571  */
22572 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_DOMAIN_MODE_MASK)
22573 
22574 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
22575 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
22576 /*! LOCK_MODE - Lock low power and access mode
22577  */
22578 #define CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE4_AUTHEN_TOG_LOCK_MODE_MASK)
22579 /*! @} */
22580 
22581 /*! @name GPR_PRIVATE5 - General Purpose Register */
22582 /*! @{ */
22583 
22584 #define CCM_GPR_PRIVATE5_GPR_MASK                (0xFFFFFFFFU)
22585 #define CCM_GPR_PRIVATE5_GPR_SHIFT               (0U)
22586 /*! GPR - GP register
22587  */
22588 #define CCM_GPR_PRIVATE5_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_GPR_SHIFT)) & CCM_GPR_PRIVATE5_GPR_MASK)
22589 /*! @} */
22590 
22591 /*! @name GPR_PRIVATE5_SET - General Purpose Register */
22592 /*! @{ */
22593 
22594 #define CCM_GPR_PRIVATE5_SET_GPR_MASK            (0xFFFFFFFFU)
22595 #define CCM_GPR_PRIVATE5_SET_GPR_SHIFT           (0U)
22596 /*! GPR - GP register
22597  */
22598 #define CCM_GPR_PRIVATE5_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE5_SET_GPR_MASK)
22599 /*! @} */
22600 
22601 /*! @name GPR_PRIVATE5_CLR - General Purpose Register */
22602 /*! @{ */
22603 
22604 #define CCM_GPR_PRIVATE5_CLR_GPR_MASK            (0xFFFFFFFFU)
22605 #define CCM_GPR_PRIVATE5_CLR_GPR_SHIFT           (0U)
22606 /*! GPR - GP register
22607  */
22608 #define CCM_GPR_PRIVATE5_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE5_CLR_GPR_MASK)
22609 /*! @} */
22610 
22611 /*! @name GPR_PRIVATE5_TOG - General Purpose Register */
22612 /*! @{ */
22613 
22614 #define CCM_GPR_PRIVATE5_TOG_GPR_MASK            (0xFFFFFFFFU)
22615 #define CCM_GPR_PRIVATE5_TOG_GPR_SHIFT           (0U)
22616 /*! GPR - GP register
22617  */
22618 #define CCM_GPR_PRIVATE5_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE5_TOG_GPR_MASK)
22619 /*! @} */
22620 
22621 /*! @name GPR_PRIVATE5_AUTHEN - GPR access control */
22622 /*! @{ */
22623 
22624 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_USER_MASK     (0x1U)
22625 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_USER_SHIFT    (0U)
22626 /*! TZ_USER - User access
22627  *  0b1..Clock can be changed in user mode.
22628  *  0b0..Clock cannot be changed in user mode.
22629  */
22630 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TZ_USER_MASK)
22631 
22632 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_NS_MASK       (0x2U)
22633 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_NS_SHIFT      (1U)
22634 /*! TZ_NS - Non-secure access
22635  *  0b0..Cannot be changed in Non-secure mode.
22636  *  0b1..Can be changed in Non-secure mode.
22637  */
22638 #define CCM_GPR_PRIVATE5_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TZ_NS_MASK)
22639 
22640 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_TZ_MASK     (0x10U)
22641 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_TZ_SHIFT    (4U)
22642 /*! LOCK_TZ - Lock truszone setting
22643  *  0b0..Trustzone setting is not locked.
22644  *  0b1..Trustzone setting is locked.
22645  */
22646 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_LOCK_TZ_MASK)
22647 
22648 #define CCM_GPR_PRIVATE5_AUTHEN_WHITE_LIST_MASK  (0xF00U)
22649 #define CCM_GPR_PRIVATE5_AUTHEN_WHITE_LIST_SHIFT (8U)
22650 /*! WHITE_LIST - Whitelist
22651  *  0b0000..This domain is NOT allowed to change clock.
22652  *  0b0001..This domain is allowed to change clock.
22653  */
22654 #define CCM_GPR_PRIVATE5_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_WHITE_LIST_MASK)
22655 
22656 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_LIST_MASK   (0x1000U)
22657 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_LIST_SHIFT  (12U)
22658 /*! LOCK_LIST - Lock Whitelist
22659  *  0b0..Whitelist is not locked.
22660  *  0b1..Whitelist is locked.
22661  */
22662 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_LOCK_LIST_MASK)
22663 
22664 #define CCM_GPR_PRIVATE5_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
22665 #define CCM_GPR_PRIVATE5_AUTHEN_DOMAIN_MODE_SHIFT (16U)
22666 /*! DOMAIN_MODE - Low power and access control by Domain
22667  *  0b1..Clock works in Domain Mode.
22668  *  0b0..Clock does NOT work in Domain Mode.
22669  */
22670 #define CCM_GPR_PRIVATE5_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_DOMAIN_MODE_MASK)
22671 
22672 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_MODE_MASK   (0x100000U)
22673 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_MODE_SHIFT  (20U)
22674 /*! LOCK_MODE - Lock low power and access mode
22675  *  0b0..MODE is not locked.
22676  *  0b1..MODE is locked.
22677  */
22678 #define CCM_GPR_PRIVATE5_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_LOCK_MODE_MASK)
22679 /*! @} */
22680 
22681 /*! @name GPR_PRIVATE5_AUTHEN_SET - GPR access control */
22682 /*! @{ */
22683 
22684 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_USER_MASK (0x1U)
22685 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_USER_SHIFT (0U)
22686 /*! TZ_USER - User access
22687  */
22688 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_USER_MASK)
22689 
22690 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_NS_MASK   (0x2U)
22691 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_NS_SHIFT  (1U)
22692 /*! TZ_NS - Non-secure access
22693  */
22694 #define CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_TZ_NS_MASK)
22695 
22696 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
22697 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
22698 /*! LOCK_TZ - Lock truszone setting
22699  */
22700 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_TZ_MASK)
22701 
22702 #define CCM_GPR_PRIVATE5_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
22703 #define CCM_GPR_PRIVATE5_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
22704 /*! WHITE_LIST - Whitelist
22705  */
22706 #define CCM_GPR_PRIVATE5_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_WHITE_LIST_MASK)
22707 
22708 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
22709 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
22710 /*! LOCK_LIST - Lock Whitelist
22711  */
22712 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_LIST_MASK)
22713 
22714 #define CCM_GPR_PRIVATE5_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
22715 #define CCM_GPR_PRIVATE5_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
22716 /*! DOMAIN_MODE - Low power and access control by Domain
22717  */
22718 #define CCM_GPR_PRIVATE5_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_DOMAIN_MODE_MASK)
22719 
22720 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
22721 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
22722 /*! LOCK_MODE - Lock low power and access mode
22723  */
22724 #define CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_SET_LOCK_MODE_MASK)
22725 /*! @} */
22726 
22727 /*! @name GPR_PRIVATE5_AUTHEN_CLR - GPR access control */
22728 /*! @{ */
22729 
22730 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_USER_MASK (0x1U)
22731 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_USER_SHIFT (0U)
22732 /*! TZ_USER - User access
22733  */
22734 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_USER_MASK)
22735 
22736 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
22737 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
22738 /*! TZ_NS - Non-secure access
22739  */
22740 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_TZ_NS_MASK)
22741 
22742 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
22743 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
22744 /*! LOCK_TZ - Lock truszone setting
22745  */
22746 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_TZ_MASK)
22747 
22748 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
22749 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
22750 /*! WHITE_LIST - Whitelist
22751  */
22752 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_WHITE_LIST_MASK)
22753 
22754 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
22755 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
22756 /*! LOCK_LIST - Lock Whitelist
22757  */
22758 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_LIST_MASK)
22759 
22760 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
22761 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
22762 /*! DOMAIN_MODE - Low power and access control by Domain
22763  */
22764 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_DOMAIN_MODE_MASK)
22765 
22766 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
22767 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
22768 /*! LOCK_MODE - Lock low power and access mode
22769  */
22770 #define CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_CLR_LOCK_MODE_MASK)
22771 /*! @} */
22772 
22773 /*! @name GPR_PRIVATE5_AUTHEN_TOG - GPR access control */
22774 /*! @{ */
22775 
22776 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_USER_MASK (0x1U)
22777 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_USER_SHIFT (0U)
22778 /*! TZ_USER - User access
22779  */
22780 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_USER_MASK)
22781 
22782 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
22783 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
22784 /*! TZ_NS - Non-secure access
22785  */
22786 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_TZ_NS_MASK)
22787 
22788 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
22789 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
22790 /*! LOCK_TZ - Lock truszone setting
22791  */
22792 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_TZ_MASK)
22793 
22794 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
22795 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
22796 /*! WHITE_LIST - Whitelist
22797  */
22798 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_WHITE_LIST_MASK)
22799 
22800 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
22801 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
22802 /*! LOCK_LIST - Lock Whitelist
22803  */
22804 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_LIST_MASK)
22805 
22806 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
22807 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
22808 /*! DOMAIN_MODE - Low power and access control by Domain
22809  */
22810 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_DOMAIN_MODE_MASK)
22811 
22812 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
22813 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
22814 /*! LOCK_MODE - Lock low power and access mode
22815  */
22816 #define CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE5_AUTHEN_TOG_LOCK_MODE_MASK)
22817 /*! @} */
22818 
22819 /*! @name GPR_PRIVATE6 - General Purpose Register */
22820 /*! @{ */
22821 
22822 #define CCM_GPR_PRIVATE6_GPR_MASK                (0xFFFFFFFFU)
22823 #define CCM_GPR_PRIVATE6_GPR_SHIFT               (0U)
22824 /*! GPR - GP register
22825  */
22826 #define CCM_GPR_PRIVATE6_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_GPR_SHIFT)) & CCM_GPR_PRIVATE6_GPR_MASK)
22827 /*! @} */
22828 
22829 /*! @name GPR_PRIVATE6_SET - General Purpose Register */
22830 /*! @{ */
22831 
22832 #define CCM_GPR_PRIVATE6_SET_GPR_MASK            (0xFFFFFFFFU)
22833 #define CCM_GPR_PRIVATE6_SET_GPR_SHIFT           (0U)
22834 /*! GPR - GP register
22835  */
22836 #define CCM_GPR_PRIVATE6_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE6_SET_GPR_MASK)
22837 /*! @} */
22838 
22839 /*! @name GPR_PRIVATE6_CLR - General Purpose Register */
22840 /*! @{ */
22841 
22842 #define CCM_GPR_PRIVATE6_CLR_GPR_MASK            (0xFFFFFFFFU)
22843 #define CCM_GPR_PRIVATE6_CLR_GPR_SHIFT           (0U)
22844 /*! GPR - GP register
22845  */
22846 #define CCM_GPR_PRIVATE6_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE6_CLR_GPR_MASK)
22847 /*! @} */
22848 
22849 /*! @name GPR_PRIVATE6_TOG - General Purpose Register */
22850 /*! @{ */
22851 
22852 #define CCM_GPR_PRIVATE6_TOG_GPR_MASK            (0xFFFFFFFFU)
22853 #define CCM_GPR_PRIVATE6_TOG_GPR_SHIFT           (0U)
22854 /*! GPR - GP register
22855  */
22856 #define CCM_GPR_PRIVATE6_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE6_TOG_GPR_MASK)
22857 /*! @} */
22858 
22859 /*! @name GPR_PRIVATE6_AUTHEN - GPR access control */
22860 /*! @{ */
22861 
22862 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_USER_MASK     (0x1U)
22863 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_USER_SHIFT    (0U)
22864 /*! TZ_USER - User access
22865  *  0b1..Clock can be changed in user mode.
22866  *  0b0..Clock cannot be changed in user mode.
22867  */
22868 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TZ_USER_MASK)
22869 
22870 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_NS_MASK       (0x2U)
22871 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_NS_SHIFT      (1U)
22872 /*! TZ_NS - Non-secure access
22873  *  0b0..Cannot be changed in Non-secure mode.
22874  *  0b1..Can be changed in Non-secure mode.
22875  */
22876 #define CCM_GPR_PRIVATE6_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TZ_NS_MASK)
22877 
22878 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_TZ_MASK     (0x10U)
22879 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_TZ_SHIFT    (4U)
22880 /*! LOCK_TZ - Lock truszone setting
22881  *  0b0..Trustzone setting is not locked.
22882  *  0b1..Trustzone setting is locked.
22883  */
22884 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_LOCK_TZ_MASK)
22885 
22886 #define CCM_GPR_PRIVATE6_AUTHEN_WHITE_LIST_MASK  (0xF00U)
22887 #define CCM_GPR_PRIVATE6_AUTHEN_WHITE_LIST_SHIFT (8U)
22888 /*! WHITE_LIST - Whitelist
22889  *  0b0000..This domain is NOT allowed to change clock.
22890  *  0b0001..This domain is allowed to change clock.
22891  */
22892 #define CCM_GPR_PRIVATE6_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_WHITE_LIST_MASK)
22893 
22894 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_LIST_MASK   (0x1000U)
22895 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_LIST_SHIFT  (12U)
22896 /*! LOCK_LIST - Lock Whitelist
22897  *  0b0..Whitelist is not locked.
22898  *  0b1..Whitelist is locked.
22899  */
22900 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_LOCK_LIST_MASK)
22901 
22902 #define CCM_GPR_PRIVATE6_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
22903 #define CCM_GPR_PRIVATE6_AUTHEN_DOMAIN_MODE_SHIFT (16U)
22904 /*! DOMAIN_MODE - Low power and access control by Domain
22905  *  0b1..Clock works in Domain Mode.
22906  *  0b0..Clock does NOT work in Domain Mode.
22907  */
22908 #define CCM_GPR_PRIVATE6_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_DOMAIN_MODE_MASK)
22909 
22910 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_MODE_MASK   (0x100000U)
22911 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_MODE_SHIFT  (20U)
22912 /*! LOCK_MODE - Lock low power and access mode
22913  *  0b0..MODE is not locked.
22914  *  0b1..MODE is locked.
22915  */
22916 #define CCM_GPR_PRIVATE6_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_LOCK_MODE_MASK)
22917 /*! @} */
22918 
22919 /*! @name GPR_PRIVATE6_AUTHEN_SET - GPR access control */
22920 /*! @{ */
22921 
22922 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_USER_MASK (0x1U)
22923 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_USER_SHIFT (0U)
22924 /*! TZ_USER - User access
22925  */
22926 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_USER_MASK)
22927 
22928 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_NS_MASK   (0x2U)
22929 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_NS_SHIFT  (1U)
22930 /*! TZ_NS - Non-secure access
22931  */
22932 #define CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_TZ_NS_MASK)
22933 
22934 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
22935 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
22936 /*! LOCK_TZ - Lock truszone setting
22937  */
22938 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_TZ_MASK)
22939 
22940 #define CCM_GPR_PRIVATE6_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
22941 #define CCM_GPR_PRIVATE6_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
22942 /*! WHITE_LIST - Whitelist
22943  */
22944 #define CCM_GPR_PRIVATE6_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_WHITE_LIST_MASK)
22945 
22946 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
22947 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
22948 /*! LOCK_LIST - Lock Whitelist
22949  */
22950 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_LIST_MASK)
22951 
22952 #define CCM_GPR_PRIVATE6_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
22953 #define CCM_GPR_PRIVATE6_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
22954 /*! DOMAIN_MODE - Low power and access control by Domain
22955  */
22956 #define CCM_GPR_PRIVATE6_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_DOMAIN_MODE_MASK)
22957 
22958 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
22959 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
22960 /*! LOCK_MODE - Lock low power and access mode
22961  */
22962 #define CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_SET_LOCK_MODE_MASK)
22963 /*! @} */
22964 
22965 /*! @name GPR_PRIVATE6_AUTHEN_CLR - GPR access control */
22966 /*! @{ */
22967 
22968 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_USER_MASK (0x1U)
22969 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_USER_SHIFT (0U)
22970 /*! TZ_USER - User access
22971  */
22972 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_USER_MASK)
22973 
22974 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
22975 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
22976 /*! TZ_NS - Non-secure access
22977  */
22978 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_TZ_NS_MASK)
22979 
22980 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
22981 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
22982 /*! LOCK_TZ - Lock truszone setting
22983  */
22984 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_TZ_MASK)
22985 
22986 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
22987 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
22988 /*! WHITE_LIST - Whitelist
22989  */
22990 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_WHITE_LIST_MASK)
22991 
22992 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
22993 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
22994 /*! LOCK_LIST - Lock Whitelist
22995  */
22996 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_LIST_MASK)
22997 
22998 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
22999 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
23000 /*! DOMAIN_MODE - Low power and access control by Domain
23001  */
23002 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_DOMAIN_MODE_MASK)
23003 
23004 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
23005 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
23006 /*! LOCK_MODE - Lock low power and access mode
23007  */
23008 #define CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_CLR_LOCK_MODE_MASK)
23009 /*! @} */
23010 
23011 /*! @name GPR_PRIVATE6_AUTHEN_TOG - GPR access control */
23012 /*! @{ */
23013 
23014 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_USER_MASK (0x1U)
23015 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_USER_SHIFT (0U)
23016 /*! TZ_USER - User access
23017  */
23018 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_USER_MASK)
23019 
23020 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
23021 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
23022 /*! TZ_NS - Non-secure access
23023  */
23024 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_TZ_NS_MASK)
23025 
23026 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
23027 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
23028 /*! LOCK_TZ - Lock truszone setting
23029  */
23030 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_TZ_MASK)
23031 
23032 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
23033 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
23034 /*! WHITE_LIST - Whitelist
23035  */
23036 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_WHITE_LIST_MASK)
23037 
23038 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
23039 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
23040 /*! LOCK_LIST - Lock Whitelist
23041  */
23042 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_LIST_MASK)
23043 
23044 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
23045 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
23046 /*! DOMAIN_MODE - Low power and access control by Domain
23047  */
23048 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_DOMAIN_MODE_MASK)
23049 
23050 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
23051 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
23052 /*! LOCK_MODE - Lock low power and access mode
23053  */
23054 #define CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE6_AUTHEN_TOG_LOCK_MODE_MASK)
23055 /*! @} */
23056 
23057 /*! @name GPR_PRIVATE7 - General Purpose Register */
23058 /*! @{ */
23059 
23060 #define CCM_GPR_PRIVATE7_GPR_MASK                (0xFFFFFFFFU)
23061 #define CCM_GPR_PRIVATE7_GPR_SHIFT               (0U)
23062 /*! GPR - GP register
23063  */
23064 #define CCM_GPR_PRIVATE7_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_GPR_SHIFT)) & CCM_GPR_PRIVATE7_GPR_MASK)
23065 /*! @} */
23066 
23067 /*! @name GPR_PRIVATE7_SET - General Purpose Register */
23068 /*! @{ */
23069 
23070 #define CCM_GPR_PRIVATE7_SET_GPR_MASK            (0xFFFFFFFFU)
23071 #define CCM_GPR_PRIVATE7_SET_GPR_SHIFT           (0U)
23072 /*! GPR - GP register
23073  */
23074 #define CCM_GPR_PRIVATE7_SET_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_SET_GPR_SHIFT)) & CCM_GPR_PRIVATE7_SET_GPR_MASK)
23075 /*! @} */
23076 
23077 /*! @name GPR_PRIVATE7_CLR - General Purpose Register */
23078 /*! @{ */
23079 
23080 #define CCM_GPR_PRIVATE7_CLR_GPR_MASK            (0xFFFFFFFFU)
23081 #define CCM_GPR_PRIVATE7_CLR_GPR_SHIFT           (0U)
23082 /*! GPR - GP register
23083  */
23084 #define CCM_GPR_PRIVATE7_CLR_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_CLR_GPR_SHIFT)) & CCM_GPR_PRIVATE7_CLR_GPR_MASK)
23085 /*! @} */
23086 
23087 /*! @name GPR_PRIVATE7_TOG - General Purpose Register */
23088 /*! @{ */
23089 
23090 #define CCM_GPR_PRIVATE7_TOG_GPR_MASK            (0xFFFFFFFFU)
23091 #define CCM_GPR_PRIVATE7_TOG_GPR_SHIFT           (0U)
23092 /*! GPR - GP register
23093  */
23094 #define CCM_GPR_PRIVATE7_TOG_GPR(x)              (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_TOG_GPR_SHIFT)) & CCM_GPR_PRIVATE7_TOG_GPR_MASK)
23095 /*! @} */
23096 
23097 /*! @name GPR_PRIVATE7_AUTHEN - GPR access control */
23098 /*! @{ */
23099 
23100 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_USER_MASK     (0x1U)
23101 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_USER_SHIFT    (0U)
23102 /*! TZ_USER - User access
23103  *  0b1..Clock can be changed in user mode.
23104  *  0b0..Clock cannot be changed in user mode.
23105  */
23106 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_USER(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TZ_USER_MASK)
23107 
23108 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_NS_MASK       (0x2U)
23109 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_NS_SHIFT      (1U)
23110 /*! TZ_NS - Non-secure access
23111  *  0b0..Cannot be changed in Non-secure mode.
23112  *  0b1..Can be changed in Non-secure mode.
23113  */
23114 #define CCM_GPR_PRIVATE7_AUTHEN_TZ_NS(x)         (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TZ_NS_MASK)
23115 
23116 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_TZ_MASK     (0x10U)
23117 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_TZ_SHIFT    (4U)
23118 /*! LOCK_TZ - Lock truszone setting
23119  *  0b0..Trustzone setting is not locked.
23120  *  0b1..Trustzone setting is locked.
23121  */
23122 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_TZ(x)       (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_LOCK_TZ_MASK)
23123 
23124 #define CCM_GPR_PRIVATE7_AUTHEN_WHITE_LIST_MASK  (0xF00U)
23125 #define CCM_GPR_PRIVATE7_AUTHEN_WHITE_LIST_SHIFT (8U)
23126 /*! WHITE_LIST - Whitelist
23127  *  0b0000..This domain is NOT allowed to change clock.
23128  *  0b0001..This domain is allowed to change clock.
23129  */
23130 #define CCM_GPR_PRIVATE7_AUTHEN_WHITE_LIST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_WHITE_LIST_MASK)
23131 
23132 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_LIST_MASK   (0x1000U)
23133 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_LIST_SHIFT  (12U)
23134 /*! LOCK_LIST - Lock Whitelist
23135  *  0b0..Whitelist is not locked.
23136  *  0b1..Whitelist is locked.
23137  */
23138 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_LOCK_LIST_MASK)
23139 
23140 #define CCM_GPR_PRIVATE7_AUTHEN_DOMAIN_MODE_MASK (0x10000U)
23141 #define CCM_GPR_PRIVATE7_AUTHEN_DOMAIN_MODE_SHIFT (16U)
23142 /*! DOMAIN_MODE - Low power and access control by Domain
23143  *  0b1..Clock works in Domain Mode.
23144  *  0b0..Clock does NOT work in Domain Mode.
23145  */
23146 #define CCM_GPR_PRIVATE7_AUTHEN_DOMAIN_MODE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_DOMAIN_MODE_MASK)
23147 
23148 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_MODE_MASK   (0x100000U)
23149 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_MODE_SHIFT  (20U)
23150 /*! LOCK_MODE - Lock low power and access mode
23151  *  0b0..MODE is not locked.
23152  *  0b1..MODE is locked.
23153  */
23154 #define CCM_GPR_PRIVATE7_AUTHEN_LOCK_MODE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_LOCK_MODE_MASK)
23155 /*! @} */
23156 
23157 /*! @name GPR_PRIVATE7_AUTHEN_SET - GPR access control */
23158 /*! @{ */
23159 
23160 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_USER_MASK (0x1U)
23161 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_USER_SHIFT (0U)
23162 /*! TZ_USER - User access
23163  */
23164 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_USER_MASK)
23165 
23166 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_NS_MASK   (0x2U)
23167 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_NS_SHIFT  (1U)
23168 /*! TZ_NS - Non-secure access
23169  */
23170 #define CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_TZ_NS_MASK)
23171 
23172 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_TZ_MASK (0x10U)
23173 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
23174 /*! LOCK_TZ - Lock truszone setting
23175  */
23176 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_TZ_MASK)
23177 
23178 #define CCM_GPR_PRIVATE7_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
23179 #define CCM_GPR_PRIVATE7_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
23180 /*! WHITE_LIST - Whitelist
23181  */
23182 #define CCM_GPR_PRIVATE7_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_WHITE_LIST_MASK)
23183 
23184 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
23185 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
23186 /*! LOCK_LIST - Lock Whitelist
23187  */
23188 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_LIST_MASK)
23189 
23190 #define CCM_GPR_PRIVATE7_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
23191 #define CCM_GPR_PRIVATE7_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
23192 /*! DOMAIN_MODE - Low power and access control by Domain
23193  */
23194 #define CCM_GPR_PRIVATE7_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_DOMAIN_MODE_MASK)
23195 
23196 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
23197 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
23198 /*! LOCK_MODE - Lock low power and access mode
23199  */
23200 #define CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_SET_LOCK_MODE_MASK)
23201 /*! @} */
23202 
23203 /*! @name GPR_PRIVATE7_AUTHEN_CLR - GPR access control */
23204 /*! @{ */
23205 
23206 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_USER_MASK (0x1U)
23207 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_USER_SHIFT (0U)
23208 /*! TZ_USER - User access
23209  */
23210 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_USER_MASK)
23211 
23212 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_NS_MASK   (0x2U)
23213 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_NS_SHIFT  (1U)
23214 /*! TZ_NS - Non-secure access
23215  */
23216 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_TZ_NS_MASK)
23217 
23218 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_TZ_MASK (0x10U)
23219 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
23220 /*! LOCK_TZ - Lock truszone setting
23221  */
23222 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_TZ_MASK)
23223 
23224 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
23225 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
23226 /*! WHITE_LIST - Whitelist
23227  */
23228 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_WHITE_LIST_MASK)
23229 
23230 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
23231 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
23232 /*! LOCK_LIST - Lock Whitelist
23233  */
23234 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_LIST_MASK)
23235 
23236 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
23237 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
23238 /*! DOMAIN_MODE - Low power and access control by Domain
23239  */
23240 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_DOMAIN_MODE_MASK)
23241 
23242 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
23243 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
23244 /*! LOCK_MODE - Lock low power and access mode
23245  */
23246 #define CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_CLR_LOCK_MODE_MASK)
23247 /*! @} */
23248 
23249 /*! @name GPR_PRIVATE7_AUTHEN_TOG - GPR access control */
23250 /*! @{ */
23251 
23252 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_USER_MASK (0x1U)
23253 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_USER_SHIFT (0U)
23254 /*! TZ_USER - User access
23255  */
23256 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_USER(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_USER_MASK)
23257 
23258 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_NS_MASK   (0x2U)
23259 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_NS_SHIFT  (1U)
23260 /*! TZ_NS - Non-secure access
23261  */
23262 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_NS(x)     (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_TZ_NS_MASK)
23263 
23264 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_TZ_MASK (0x10U)
23265 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
23266 /*! LOCK_TZ - Lock truszone setting
23267  */
23268 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_TZ(x)   (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_TZ_MASK)
23269 
23270 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
23271 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
23272 /*! WHITE_LIST - Whitelist
23273  */
23274 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_WHITE_LIST_MASK)
23275 
23276 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
23277 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
23278 /*! LOCK_LIST - Lock Whitelist
23279  */
23280 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_LIST_MASK)
23281 
23282 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
23283 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
23284 /*! DOMAIN_MODE - Low power and access control by Domain
23285  */
23286 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_DOMAIN_MODE_MASK)
23287 
23288 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
23289 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
23290 /*! LOCK_MODE - Lock low power and access mode
23291  */
23292 #define CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_GPR_PRIVATE7_AUTHEN_TOG_LOCK_MODE_MASK)
23293 /*! @} */
23294 
23295 /*! @name OSCPLL_DIRECT - Clock source direct control */
23296 /*! @{ */
23297 
23298 #define CCM_OSCPLL_DIRECT_ON_MASK                (0x1U)
23299 #define CCM_OSCPLL_DIRECT_ON_SHIFT               (0U)
23300 /*! ON - turn on clock source
23301  *  0b0..OSCPLL is OFF
23302  *  0b1..OSCPLL is ON
23303  */
23304 #define CCM_OSCPLL_DIRECT_ON(x)                  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DIRECT_ON_SHIFT)) & CCM_OSCPLL_DIRECT_ON_MASK)
23305 /*! @} */
23306 
23307 /* The count of CCM_OSCPLL_DIRECT */
23308 #define CCM_OSCPLL_DIRECT_COUNT                  (29U)
23309 
23310 /*! @name OSCPLL_DOMAIN - Clock source domain control */
23311 /*! @{ */
23312 
23313 #define CCM_OSCPLL_DOMAIN_LEVEL_MASK             (0x7U)
23314 #define CCM_OSCPLL_DOMAIN_LEVEL_SHIFT            (0U)
23315 /*! LEVEL - Current dependence level
23316  *  0b000..This clock source is not needed in any mode, and can be turned off
23317  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23318  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23319  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23320  *  0b100..This clock source is always on in any mode (including SUSPEND)
23321  *  0b101, 0b110, 0b111..Reserved
23322  */
23323 #define CCM_OSCPLL_DOMAIN_LEVEL(x)               (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DOMAIN_LEVEL_SHIFT)) & CCM_OSCPLL_DOMAIN_LEVEL_MASK)
23324 
23325 #define CCM_OSCPLL_DOMAIN_LEVEL0_MASK            (0x70000U)
23326 #define CCM_OSCPLL_DOMAIN_LEVEL0_SHIFT           (16U)
23327 /*! LEVEL0 - Dependence level
23328  *  0b000..This clock source is not needed in any mode, and can be turned off
23329  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23330  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23331  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23332  *  0b100..This clock source is always on in any mode (including SUSPEND)
23333  *  0b101, 0b110, 0b111..Reserved
23334  */
23335 #define CCM_OSCPLL_DOMAIN_LEVEL0(x)              (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DOMAIN_LEVEL0_SHIFT)) & CCM_OSCPLL_DOMAIN_LEVEL0_MASK)
23336 
23337 #define CCM_OSCPLL_DOMAIN_LEVEL1_MASK            (0x700000U)
23338 #define CCM_OSCPLL_DOMAIN_LEVEL1_SHIFT           (20U)
23339 /*! LEVEL1 - Depend level
23340  *  0b000..This clock source is not needed in any mode, and can be turned off
23341  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23342  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23343  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23344  *  0b100..This clock source is always on in any mode (including SUSPEND)
23345  *  0b101, 0b110, 0b111..Reserved
23346  */
23347 #define CCM_OSCPLL_DOMAIN_LEVEL1(x)              (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DOMAIN_LEVEL1_SHIFT)) & CCM_OSCPLL_DOMAIN_LEVEL1_MASK)
23348 
23349 #define CCM_OSCPLL_DOMAIN_LEVEL2_MASK            (0x7000000U)
23350 #define CCM_OSCPLL_DOMAIN_LEVEL2_SHIFT           (24U)
23351 /*! LEVEL2 - Depend level
23352  *  0b000..This clock source is not needed in any mode, and can be turned off
23353  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23354  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23355  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23356  *  0b100..This clock source is always on in any mode (including SUSPEND)
23357  *  0b101, 0b110, 0b111..Reserved
23358  */
23359 #define CCM_OSCPLL_DOMAIN_LEVEL2(x)              (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DOMAIN_LEVEL2_SHIFT)) & CCM_OSCPLL_DOMAIN_LEVEL2_MASK)
23360 
23361 #define CCM_OSCPLL_DOMAIN_LEVEL3_MASK            (0x70000000U)
23362 #define CCM_OSCPLL_DOMAIN_LEVEL3_SHIFT           (28U)
23363 /*! LEVEL3 - Depend level
23364  *  0b000..This clock source is not needed in any mode, and can be turned off
23365  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23366  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23367  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23368  *  0b100..This clock source is always on in any mode (including SUSPEND)
23369  *  0b101, 0b110, 0b111..Reserved
23370  */
23371 #define CCM_OSCPLL_DOMAIN_LEVEL3(x)              (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_DOMAIN_LEVEL3_SHIFT)) & CCM_OSCPLL_DOMAIN_LEVEL3_MASK)
23372 /*! @} */
23373 
23374 /* The count of CCM_OSCPLL_DOMAIN */
23375 #define CCM_OSCPLL_DOMAIN_COUNT                  (29U)
23376 
23377 /*! @name OSCPLL_SETPOINT - Clock source Setpoint setting */
23378 /*! @{ */
23379 
23380 #define CCM_OSCPLL_SETPOINT_SETPOINT_MASK        (0xFFFFU)
23381 #define CCM_OSCPLL_SETPOINT_SETPOINT_SHIFT       (0U)
23382 /*! SETPOINT - Setpoint
23383  */
23384 #define CCM_OSCPLL_SETPOINT_SETPOINT(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_SETPOINT_SETPOINT_SHIFT)) & CCM_OSCPLL_SETPOINT_SETPOINT_MASK)
23385 
23386 #define CCM_OSCPLL_SETPOINT_STANDBY_MASK         (0xFFFF0000U)
23387 #define CCM_OSCPLL_SETPOINT_STANDBY_SHIFT        (16U)
23388 /*! STANDBY - Standby
23389  */
23390 #define CCM_OSCPLL_SETPOINT_STANDBY(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_SETPOINT_STANDBY_SHIFT)) & CCM_OSCPLL_SETPOINT_STANDBY_MASK)
23391 /*! @} */
23392 
23393 /* The count of CCM_OSCPLL_SETPOINT */
23394 #define CCM_OSCPLL_SETPOINT_COUNT                (29U)
23395 
23396 /*! @name OSCPLL_STATUS0 - Clock source working status */
23397 /*! @{ */
23398 
23399 #define CCM_OSCPLL_STATUS0_ON_MASK               (0x1U)
23400 #define CCM_OSCPLL_STATUS0_ON_SHIFT              (0U)
23401 /*! ON - Clock source current state
23402  *  0b0..Clock source is OFF
23403  *  0b1..Clock source is ON
23404  */
23405 #define CCM_OSCPLL_STATUS0_ON(x)                 (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_ON_SHIFT)) & CCM_OSCPLL_STATUS0_ON_MASK)
23406 
23407 #define CCM_OSCPLL_STATUS0_STATUS_EARLY_MASK     (0x10U)
23408 #define CCM_OSCPLL_STATUS0_STATUS_EARLY_SHIFT    (4U)
23409 /*! STATUS_EARLY - Clock source active
23410  *  0b1..Clock source is active
23411  *  0b0..Clock source is not active
23412  */
23413 #define CCM_OSCPLL_STATUS0_STATUS_EARLY(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_STATUS_EARLY_SHIFT)) & CCM_OSCPLL_STATUS0_STATUS_EARLY_MASK)
23414 
23415 #define CCM_OSCPLL_STATUS0_STATUS_LATE_MASK      (0x20U)
23416 #define CCM_OSCPLL_STATUS0_STATUS_LATE_SHIFT     (5U)
23417 /*! STATUS_LATE - Clock source ready
23418  *  0b1..Clock source is ready to use
23419  *  0b0..Clock source is not ready to use
23420  */
23421 #define CCM_OSCPLL_STATUS0_STATUS_LATE(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_STATUS_LATE_SHIFT)) & CCM_OSCPLL_STATUS0_STATUS_LATE_MASK)
23422 
23423 #define CCM_OSCPLL_STATUS0_ACTIVE_DOMAIN_MASK    (0xF00U)
23424 #define CCM_OSCPLL_STATUS0_ACTIVE_DOMAIN_SHIFT   (8U)
23425 /*! ACTIVE_DOMAIN - Domains that own this clock source
23426  *  0b0000..Clock not owned by any domain
23427  *  0b0001..Clock owned by Domain0
23428  *  0b0010..Clock owned by Domain1
23429  *  0b0011..Clock owned by Domain0 and Domain1
23430  *  0b0100..Clock owned by Domain2
23431  *  0b0101..Clock owned by Domain0 and Domain2
23432  *  0b0110..Clock owned by Domain1 and Domain2
23433  *  0b0111..Clock owned by Domain0, Domain1 and Domain 2
23434  *  0b1000..Clock owned by Domain3
23435  *  0b1001..Clock owned by Domain0 and Domain3
23436  *  0b1010..Clock owned by Domain1 and Domain3
23437  *  0b1011..Clock owned by Domain2 and Domain3
23438  *  0b1100..Clock owned by Domain0, Domain 1, and Domain3
23439  *  0b1101..Clock owned by Domain0, Domain 2, and Domain3
23440  *  0b1110..Clock owned by Domain1, Domain 2, and Domain3
23441  *  0b1111..Clock owned by all domains
23442  */
23443 #define CCM_OSCPLL_STATUS0_ACTIVE_DOMAIN(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_ACTIVE_DOMAIN_SHIFT)) & CCM_OSCPLL_STATUS0_ACTIVE_DOMAIN_MASK)
23444 
23445 #define CCM_OSCPLL_STATUS0_DOMAIN_ENABLE_MASK    (0xF000U)
23446 #define CCM_OSCPLL_STATUS0_DOMAIN_ENABLE_SHIFT   (12U)
23447 /*! DOMAIN_ENABLE - Enable status from each domain
23448  *  0b0000..No domain request
23449  *  0b0001..Request from Domain0
23450  *  0b0010..Request from Domain1
23451  *  0b0011..Request from Domain0 and Domain1
23452  *  0b0100..Request from Domain2
23453  *  0b0101..Request from Domain0 and Domain2
23454  *  0b0110..Request from Domain1 and Domain2
23455  *  0b0111..Request from Domain0, Domain1 and Domain 2
23456  *  0b1000..Request from Domain3
23457  *  0b1001..Request from Domain0 and Domain3
23458  *  0b1010..Request from Domain1 and Domain3
23459  *  0b1011..Request from Domain2 and Domain3
23460  *  0b1100..Request from Domain0, Domain 1, and Domain3
23461  *  0b1101..Request from Domain0, Domain 2, and Domain3
23462  *  0b1110..Request from Domain1, Domain 2, and Domain3
23463  *  0b1111..Request from all domains
23464  */
23465 #define CCM_OSCPLL_STATUS0_DOMAIN_ENABLE(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_DOMAIN_ENABLE_SHIFT)) & CCM_OSCPLL_STATUS0_DOMAIN_ENABLE_MASK)
23466 
23467 #define CCM_OSCPLL_STATUS0_IN_USE_MASK           (0x10000000U)
23468 #define CCM_OSCPLL_STATUS0_IN_USE_SHIFT          (28U)
23469 /*! IN_USE - In use
23470  *  0b1..Clock source is being used by clock roots
23471  *  0b0..Clock source is not being used by clock roots
23472  */
23473 #define CCM_OSCPLL_STATUS0_IN_USE(x)             (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS0_IN_USE_SHIFT)) & CCM_OSCPLL_STATUS0_IN_USE_MASK)
23474 /*! @} */
23475 
23476 /* The count of CCM_OSCPLL_STATUS0 */
23477 #define CCM_OSCPLL_STATUS0_COUNT                 (29U)
23478 
23479 /*! @name OSCPLL_STATUS1 - Clock source low power status */
23480 /*! @{ */
23481 
23482 #define CCM_OSCPLL_STATUS1_CPU0_MODE_MASK        (0x3U)
23483 #define CCM_OSCPLL_STATUS1_CPU0_MODE_SHIFT       (0U)
23484 /*! CPU0_MODE - Domain0 Low Power Mode
23485  *  0b00..Run
23486  *  0b01..Wait
23487  *  0b10..Stop
23488  *  0b11..Suspend
23489  */
23490 #define CCM_OSCPLL_STATUS1_CPU0_MODE(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU0_MODE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU0_MODE_MASK)
23491 
23492 #define CCM_OSCPLL_STATUS1_CPU0_MODE_REQUEST_MASK (0x4U)
23493 #define CCM_OSCPLL_STATUS1_CPU0_MODE_REQUEST_SHIFT (2U)
23494 /*! CPU0_MODE_REQUEST - Domain0 request enter Low Power Mode
23495  *  0b1..Request from domain to enter Low Power Mode
23496  *  0b0..No request
23497  */
23498 #define CCM_OSCPLL_STATUS1_CPU0_MODE_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU0_MODE_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_CPU0_MODE_REQUEST_MASK)
23499 
23500 #define CCM_OSCPLL_STATUS1_CPU0_MODE_DONE_MASK   (0x8U)
23501 #define CCM_OSCPLL_STATUS1_CPU0_MODE_DONE_SHIFT  (3U)
23502 /*! CPU0_MODE_DONE - Domain0 Low Power Mode task done
23503  *  0b1..Clock is gated-off
23504  *  0b0..Clock is not gated
23505  */
23506 #define CCM_OSCPLL_STATUS1_CPU0_MODE_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU0_MODE_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU0_MODE_DONE_MASK)
23507 
23508 #define CCM_OSCPLL_STATUS1_CPU1_MODE_MASK        (0x30U)
23509 #define CCM_OSCPLL_STATUS1_CPU1_MODE_SHIFT       (4U)
23510 /*! CPU1_MODE - Domain1 Low Power Mode
23511  *  0b00..Run
23512  *  0b01..Wait
23513  *  0b10..Stop
23514  *  0b11..Suspend
23515  */
23516 #define CCM_OSCPLL_STATUS1_CPU1_MODE(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU1_MODE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU1_MODE_MASK)
23517 
23518 #define CCM_OSCPLL_STATUS1_CPU1_MODE_REQUEST_MASK (0x40U)
23519 #define CCM_OSCPLL_STATUS1_CPU1_MODE_REQUEST_SHIFT (6U)
23520 /*! CPU1_MODE_REQUEST - Domain1 request enter Low Power Mode
23521  *  0b1..Request from domain to enter Low Power Mode
23522  *  0b0..No request
23523  */
23524 #define CCM_OSCPLL_STATUS1_CPU1_MODE_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU1_MODE_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_CPU1_MODE_REQUEST_MASK)
23525 
23526 #define CCM_OSCPLL_STATUS1_CPU1_MODE_DONE_MASK   (0x80U)
23527 #define CCM_OSCPLL_STATUS1_CPU1_MODE_DONE_SHIFT  (7U)
23528 /*! CPU1_MODE_DONE - Domain1 Low Power Mode task done
23529  *  0b1..Clock is gated-off
23530  *  0b0..Clock is not gated
23531  */
23532 #define CCM_OSCPLL_STATUS1_CPU1_MODE_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU1_MODE_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU1_MODE_DONE_MASK)
23533 
23534 #define CCM_OSCPLL_STATUS1_CPU2_MODE_MASK        (0x300U)
23535 #define CCM_OSCPLL_STATUS1_CPU2_MODE_SHIFT       (8U)
23536 /*! CPU2_MODE - Domain2 Low Power Mode
23537  *  0b00..Run
23538  *  0b01..Wait
23539  *  0b10..Stop
23540  *  0b11..Suspend
23541  */
23542 #define CCM_OSCPLL_STATUS1_CPU2_MODE(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU2_MODE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU2_MODE_MASK)
23543 
23544 #define CCM_OSCPLL_STATUS1_CPU2_MODE_REQUEST_MASK (0x400U)
23545 #define CCM_OSCPLL_STATUS1_CPU2_MODE_REQUEST_SHIFT (10U)
23546 /*! CPU2_MODE_REQUEST - Domain2 request enter Low Power Mode
23547  *  0b1..Request from domain to enter Low Power Mode
23548  *  0b0..No request
23549  */
23550 #define CCM_OSCPLL_STATUS1_CPU2_MODE_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU2_MODE_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_CPU2_MODE_REQUEST_MASK)
23551 
23552 #define CCM_OSCPLL_STATUS1_CPU2_MODE_DONE_MASK   (0x800U)
23553 #define CCM_OSCPLL_STATUS1_CPU2_MODE_DONE_SHIFT  (11U)
23554 /*! CPU2_MODE_DONE - Domain2 Low Power Mode task done
23555  *  0b1..Clock is gated-off
23556  *  0b0..Clock is not gated
23557  */
23558 #define CCM_OSCPLL_STATUS1_CPU2_MODE_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU2_MODE_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU2_MODE_DONE_MASK)
23559 
23560 #define CCM_OSCPLL_STATUS1_CPU3_MODE_MASK        (0x3000U)
23561 #define CCM_OSCPLL_STATUS1_CPU3_MODE_SHIFT       (12U)
23562 /*! CPU3_MODE - Domain3 Low Power Mode
23563  *  0b00..Run
23564  *  0b01..Wait
23565  *  0b10..Stop
23566  *  0b11..Suspend
23567  */
23568 #define CCM_OSCPLL_STATUS1_CPU3_MODE(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU3_MODE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU3_MODE_MASK)
23569 
23570 #define CCM_OSCPLL_STATUS1_CPU3_MODE_REQUEST_MASK (0x4000U)
23571 #define CCM_OSCPLL_STATUS1_CPU3_MODE_REQUEST_SHIFT (14U)
23572 /*! CPU3_MODE_REQUEST - Domain3 request enter Low Power Mode
23573  *  0b1..Request from domain to enter Low Power Mode
23574  *  0b0..No request
23575  */
23576 #define CCM_OSCPLL_STATUS1_CPU3_MODE_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU3_MODE_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_CPU3_MODE_REQUEST_MASK)
23577 
23578 #define CCM_OSCPLL_STATUS1_CPU3_MODE_DONE_MASK   (0x8000U)
23579 #define CCM_OSCPLL_STATUS1_CPU3_MODE_DONE_SHIFT  (15U)
23580 /*! CPU3_MODE_DONE - Domain3 Low Power Mode task done
23581  *  0b1..Clock is gated-off
23582  *  0b0..Clock is not gated
23583  */
23584 #define CCM_OSCPLL_STATUS1_CPU3_MODE_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CPU3_MODE_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_CPU3_MODE_DONE_MASK)
23585 
23586 #define CCM_OSCPLL_STATUS1_TARGET_SETPOINT_MASK  (0xF0000U)
23587 #define CCM_OSCPLL_STATUS1_TARGET_SETPOINT_SHIFT (16U)
23588 /*! TARGET_SETPOINT - Next Setpoint to change to
23589  */
23590 #define CCM_OSCPLL_STATUS1_TARGET_SETPOINT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_TARGET_SETPOINT_SHIFT)) & CCM_OSCPLL_STATUS1_TARGET_SETPOINT_MASK)
23591 
23592 #define CCM_OSCPLL_STATUS1_CURRENT_SETPOINT_MASK (0xF00000U)
23593 #define CCM_OSCPLL_STATUS1_CURRENT_SETPOINT_SHIFT (20U)
23594 /*! CURRENT_SETPOINT - Current Setpoint
23595  */
23596 #define CCM_OSCPLL_STATUS1_CURRENT_SETPOINT(x)   (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_CURRENT_SETPOINT_SHIFT)) & CCM_OSCPLL_STATUS1_CURRENT_SETPOINT_MASK)
23597 
23598 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_REQUEST_MASK (0x1000000U)
23599 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_REQUEST_SHIFT (24U)
23600 /*! SETPOINT_OFF_REQUEST - Clock gate turn off request from GPC Setpoint
23601  *  0b1..Clock gate requested to be turned off
23602  *  0b0..No request
23603  */
23604 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_REQUEST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_SETPOINT_OFF_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_SETPOINT_OFF_REQUEST_MASK)
23605 
23606 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_DONE_MASK (0x2000000U)
23607 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_DONE_SHIFT (25U)
23608 /*! SETPOINT_OFF_DONE - Clock source turn off finish from GPC Setpoint
23609  *  0b1..Clock source is turned off
23610  *  0b0..Clock source is not turned off
23611  */
23612 #define CCM_OSCPLL_STATUS1_SETPOINT_OFF_DONE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_SETPOINT_OFF_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_SETPOINT_OFF_DONE_MASK)
23613 
23614 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_REQUEST_MASK (0x4000000U)
23615 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_REQUEST_SHIFT (26U)
23616 /*! SETPOINT_ON_REQUEST - Clock gate turn on request from GPC Setpoint
23617  *  0b1..Clock gate requested to be turned on
23618  *  0b0..No request
23619  */
23620 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_REQUEST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_SETPOINT_ON_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_SETPOINT_ON_REQUEST_MASK)
23621 
23622 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_DONE_MASK (0x8000000U)
23623 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_DONE_SHIFT (27U)
23624 /*! SETPOINT_ON_DONE - Clock gate turn on finish from GPC Setpoint
23625  *  0b1..Request to turn on clock gate
23626  *  0b0..No request
23627  */
23628 #define CCM_OSCPLL_STATUS1_SETPOINT_ON_DONE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_SETPOINT_ON_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_SETPOINT_ON_DONE_MASK)
23629 
23630 #define CCM_OSCPLL_STATUS1_STANDBY_IN_REQUEST_MASK (0x10000000U)
23631 #define CCM_OSCPLL_STATUS1_STANDBY_IN_REQUEST_SHIFT (28U)
23632 /*! STANDBY_IN_REQUEST - Clock gate turn off request from GPC standby
23633  *  0b1..Clock gate requested to be turned off
23634  *  0b0..No request
23635  */
23636 #define CCM_OSCPLL_STATUS1_STANDBY_IN_REQUEST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_STANDBY_IN_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_STANDBY_IN_REQUEST_MASK)
23637 
23638 #define CCM_OSCPLL_STATUS1_STANDBY_IN_DONE_MASK  (0x20000000U)
23639 #define CCM_OSCPLL_STATUS1_STANDBY_IN_DONE_SHIFT (29U)
23640 /*! STANDBY_IN_DONE - Clock source turn off finish from GPC standby
23641  *  0b1..Clock source is turned off
23642  *  0b0..Clock source is not turned off
23643  */
23644 #define CCM_OSCPLL_STATUS1_STANDBY_IN_DONE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_STANDBY_IN_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_STANDBY_IN_DONE_MASK)
23645 
23646 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_DONE_MASK (0x40000000U)
23647 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_DONE_SHIFT (30U)
23648 /*! STANDBY_OUT_DONE - Clock gate turn on finish from GPC standby
23649  *  0b1..Request to turn on Clock gate is complete
23650  *  0b0..Request to turn on Clock gate is not complete
23651  */
23652 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_DONE(x)   (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_STANDBY_OUT_DONE_SHIFT)) & CCM_OSCPLL_STATUS1_STANDBY_OUT_DONE_MASK)
23653 
23654 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_REQUEST_MASK (0x80000000U)
23655 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_REQUEST_SHIFT (31U)
23656 /*! STANDBY_OUT_REQUEST - Clock gate turn on request from GPC standby
23657  *  0b1..Clock gate requested to be turned on
23658  *  0b0..No request
23659  */
23660 #define CCM_OSCPLL_STATUS1_STANDBY_OUT_REQUEST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_STATUS1_STANDBY_OUT_REQUEST_SHIFT)) & CCM_OSCPLL_STATUS1_STANDBY_OUT_REQUEST_MASK)
23661 /*! @} */
23662 
23663 /* The count of CCM_OSCPLL_STATUS1 */
23664 #define CCM_OSCPLL_STATUS1_COUNT                 (29U)
23665 
23666 /*! @name OSCPLL_CONFIG - Clock source configuration */
23667 /*! @{ */
23668 
23669 #define CCM_OSCPLL_CONFIG_AUTOMODE_PRESENT_MASK  (0x2U)
23670 #define CCM_OSCPLL_CONFIG_AUTOMODE_PRESENT_SHIFT (1U)
23671 /*! AUTOMODE_PRESENT - Automode Present
23672  *  0b1..Present
23673  *  0b0..Not present
23674  */
23675 #define CCM_OSCPLL_CONFIG_AUTOMODE_PRESENT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_CONFIG_AUTOMODE_PRESENT_SHIFT)) & CCM_OSCPLL_CONFIG_AUTOMODE_PRESENT_MASK)
23676 
23677 #define CCM_OSCPLL_CONFIG_SETPOINT_PRESENT_MASK  (0x10U)
23678 #define CCM_OSCPLL_CONFIG_SETPOINT_PRESENT_SHIFT (4U)
23679 /*! SETPOINT_PRESENT - Setpoint present
23680  *  0b1..Setpoint is implemented.
23681  *  0b0..Setpoint is not implemented.
23682  */
23683 #define CCM_OSCPLL_CONFIG_SETPOINT_PRESENT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_CONFIG_SETPOINT_PRESENT_SHIFT)) & CCM_OSCPLL_CONFIG_SETPOINT_PRESENT_MASK)
23684 /*! @} */
23685 
23686 /* The count of CCM_OSCPLL_CONFIG */
23687 #define CCM_OSCPLL_CONFIG_COUNT                  (29U)
23688 
23689 /*! @name OSCPLL_AUTHEN - Clock source access control */
23690 /*! @{ */
23691 
23692 #define CCM_OSCPLL_AUTHEN_TZ_USER_MASK           (0x1U)
23693 #define CCM_OSCPLL_AUTHEN_TZ_USER_SHIFT          (0U)
23694 /*! TZ_USER - User access
23695  *  0b1..Clock can be changed in user mode.
23696  *  0b0..Clock cannot be changed in user mode.
23697  */
23698 #define CCM_OSCPLL_AUTHEN_TZ_USER(x)             (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_TZ_USER_SHIFT)) & CCM_OSCPLL_AUTHEN_TZ_USER_MASK)
23699 
23700 #define CCM_OSCPLL_AUTHEN_TZ_NS_MASK             (0x2U)
23701 #define CCM_OSCPLL_AUTHEN_TZ_NS_SHIFT            (1U)
23702 /*! TZ_NS - Non-secure access
23703  *  0b0..Cannot be changed in Non-secure mode.
23704  *  0b1..Can be changed in Non-secure mode.
23705  */
23706 #define CCM_OSCPLL_AUTHEN_TZ_NS(x)               (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_TZ_NS_SHIFT)) & CCM_OSCPLL_AUTHEN_TZ_NS_MASK)
23707 
23708 #define CCM_OSCPLL_AUTHEN_LOCK_TZ_MASK           (0x10U)
23709 #define CCM_OSCPLL_AUTHEN_LOCK_TZ_SHIFT          (4U)
23710 /*! LOCK_TZ - lock truszone setting
23711  *  0b0..Trustzone setting is not locked.
23712  *  0b1..Trustzone setting is locked.
23713  */
23714 #define CCM_OSCPLL_AUTHEN_LOCK_TZ(x)             (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_LOCK_TZ_SHIFT)) & CCM_OSCPLL_AUTHEN_LOCK_TZ_MASK)
23715 
23716 #define CCM_OSCPLL_AUTHEN_WHITE_LIST_MASK        (0xF00U)
23717 #define CCM_OSCPLL_AUTHEN_WHITE_LIST_SHIFT       (8U)
23718 /*! WHITE_LIST - Whitelist
23719  */
23720 #define CCM_OSCPLL_AUTHEN_WHITE_LIST(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_WHITE_LIST_SHIFT)) & CCM_OSCPLL_AUTHEN_WHITE_LIST_MASK)
23721 
23722 #define CCM_OSCPLL_AUTHEN_LOCK_LIST_MASK         (0x1000U)
23723 #define CCM_OSCPLL_AUTHEN_LOCK_LIST_SHIFT        (12U)
23724 /*! LOCK_LIST - Lock Whitelist
23725  *  0b0..Whitelist is not locked.
23726  *  0b1..Whitelist is locked.
23727  */
23728 #define CCM_OSCPLL_AUTHEN_LOCK_LIST(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_LOCK_LIST_SHIFT)) & CCM_OSCPLL_AUTHEN_LOCK_LIST_MASK)
23729 
23730 #define CCM_OSCPLL_AUTHEN_DOMAIN_MODE_MASK       (0x10000U)
23731 #define CCM_OSCPLL_AUTHEN_DOMAIN_MODE_SHIFT      (16U)
23732 /*! DOMAIN_MODE - Low power and access control by domain
23733  *  0b1..Clock works in Domain Mode.
23734  *  0b0..Clock does not work in Domain Mode.
23735  */
23736 #define CCM_OSCPLL_AUTHEN_DOMAIN_MODE(x)         (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_OSCPLL_AUTHEN_DOMAIN_MODE_MASK)
23737 
23738 #define CCM_OSCPLL_AUTHEN_SETPOINT_MODE_MASK     (0x20000U)
23739 #define CCM_OSCPLL_AUTHEN_SETPOINT_MODE_SHIFT    (17U)
23740 /*! SETPOINT_MODE - LPCG works in Setpoint controlled Mode.
23741  */
23742 #define CCM_OSCPLL_AUTHEN_SETPOINT_MODE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_SETPOINT_MODE_SHIFT)) & CCM_OSCPLL_AUTHEN_SETPOINT_MODE_MASK)
23743 
23744 #define CCM_OSCPLL_AUTHEN_CPULPM_MASK            (0x40000U)
23745 #define CCM_OSCPLL_AUTHEN_CPULPM_SHIFT           (18U)
23746 /*! CPULPM - CPU Low Power Mode
23747  *  0b1..PLL functions in Low Power Mode
23748  *  0b0..PLL does not function in Low power Mode
23749  */
23750 #define CCM_OSCPLL_AUTHEN_CPULPM(x)              (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_CPULPM_SHIFT)) & CCM_OSCPLL_AUTHEN_CPULPM_MASK)
23751 
23752 #define CCM_OSCPLL_AUTHEN_LOCK_MODE_MASK         (0x100000U)
23753 #define CCM_OSCPLL_AUTHEN_LOCK_MODE_SHIFT        (20U)
23754 /*! LOCK_MODE - Lock low power and access mode
23755  *  0b0..MODE is not locked.
23756  *  0b1..MODE is locked.
23757  */
23758 #define CCM_OSCPLL_AUTHEN_LOCK_MODE(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OSCPLL_AUTHEN_LOCK_MODE_SHIFT)) & CCM_OSCPLL_AUTHEN_LOCK_MODE_MASK)
23759 /*! @} */
23760 
23761 /* The count of CCM_OSCPLL_AUTHEN */
23762 #define CCM_OSCPLL_AUTHEN_COUNT                  (29U)
23763 
23764 /*! @name LPCG_DIRECT - LPCG direct control */
23765 /*! @{ */
23766 
23767 #define CCM_LPCG_DIRECT_ON_MASK                  (0x1U)
23768 #define CCM_LPCG_DIRECT_ON_SHIFT                 (0U)
23769 /*! ON - LPCG on
23770  *  0b0..LPCG is OFF.
23771  *  0b1..LPCG is ON.
23772  */
23773 #define CCM_LPCG_DIRECT_ON(x)                    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DIRECT_ON_SHIFT)) & CCM_LPCG_DIRECT_ON_MASK)
23774 /*! @} */
23775 
23776 /* The count of CCM_LPCG_DIRECT */
23777 #define CCM_LPCG_DIRECT_COUNT                    (138U)
23778 
23779 /*! @name LPCG_DOMAIN - LPCG domain control */
23780 /*! @{ */
23781 
23782 #define CCM_LPCG_DOMAIN_LEVEL_MASK               (0x7U)
23783 #define CCM_LPCG_DOMAIN_LEVEL_SHIFT              (0U)
23784 /*! LEVEL - Current dependence level
23785  *  0b000..This clock source is not needed in any mode, and can be turned off
23786  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23787  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23788  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23789  *  0b100..This clock source is always on in any mode (including SUSPEND)
23790  *  0b101, 0b110, 0b111..Reserved
23791  */
23792 #define CCM_LPCG_DOMAIN_LEVEL(x)                 (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DOMAIN_LEVEL_SHIFT)) & CCM_LPCG_DOMAIN_LEVEL_MASK)
23793 
23794 #define CCM_LPCG_DOMAIN_LEVEL0_MASK              (0x70000U)
23795 #define CCM_LPCG_DOMAIN_LEVEL0_SHIFT             (16U)
23796 /*! LEVEL0 - Depend level
23797  *  0b000..This clock source is not needed in any mode, and can be turned off
23798  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23799  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23800  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23801  *  0b100..This clock source is always on in any mode (including SUSPEND)
23802  *  0b101, 0b110, 0b111..Reserved
23803  */
23804 #define CCM_LPCG_DOMAIN_LEVEL0(x)                (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DOMAIN_LEVEL0_SHIFT)) & CCM_LPCG_DOMAIN_LEVEL0_MASK)
23805 
23806 #define CCM_LPCG_DOMAIN_LEVEL1_MASK              (0x700000U)
23807 #define CCM_LPCG_DOMAIN_LEVEL1_SHIFT             (20U)
23808 /*! LEVEL1 - Depend level
23809  *  0b000..This clock source is not needed in any mode, and can be turned off
23810  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23811  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23812  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23813  *  0b100..This clock source is always on in any mode (including SUSPEND)
23814  *  0b101, 0b110, 0b111..Reserved
23815  */
23816 #define CCM_LPCG_DOMAIN_LEVEL1(x)                (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DOMAIN_LEVEL1_SHIFT)) & CCM_LPCG_DOMAIN_LEVEL1_MASK)
23817 
23818 #define CCM_LPCG_DOMAIN_LEVEL2_MASK              (0x7000000U)
23819 #define CCM_LPCG_DOMAIN_LEVEL2_SHIFT             (24U)
23820 /*! LEVEL2 - Depend level
23821  *  0b000..This clock source is not needed in any mode, and can be turned off
23822  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23823  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23824  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23825  *  0b100..This clock source is always on in any mode (including SUSPEND)
23826  *  0b101, 0b110, 0b111..Reserved
23827  */
23828 #define CCM_LPCG_DOMAIN_LEVEL2(x)                (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DOMAIN_LEVEL2_SHIFT)) & CCM_LPCG_DOMAIN_LEVEL2_MASK)
23829 
23830 #define CCM_LPCG_DOMAIN_LEVEL3_MASK              (0x70000000U)
23831 #define CCM_LPCG_DOMAIN_LEVEL3_SHIFT             (28U)
23832 /*! LEVEL3 - Depend level
23833  *  0b000..This clock source is not needed in any mode, and can be turned off
23834  *  0b001..This clock source is needed in RUN mode, but not needed in WAIT, STOP mode
23835  *  0b010..This clock source is needed in RUN and WAIT mode, but not needed in STOP mode
23836  *  0b011..This clock source is needed in RUN, WAIT and STOP mode
23837  *  0b100..This clock source is always on in any mode (including SUSPEND)
23838  *  0b101, 0b110, 0b111..Reserved
23839  */
23840 #define CCM_LPCG_DOMAIN_LEVEL3(x)                (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_DOMAIN_LEVEL3_SHIFT)) & CCM_LPCG_DOMAIN_LEVEL3_MASK)
23841 /*! @} */
23842 
23843 /* The count of CCM_LPCG_DOMAIN */
23844 #define CCM_LPCG_DOMAIN_COUNT                    (138U)
23845 
23846 /*! @name LPCG_SETPOINT - LPCG Setpoint setting */
23847 /*! @{ */
23848 
23849 #define CCM_LPCG_SETPOINT_SETPOINT_MASK          (0xFFFFU)
23850 #define CCM_LPCG_SETPOINT_SETPOINT_SHIFT         (0U)
23851 /*! SETPOINT - Setpoints
23852  */
23853 #define CCM_LPCG_SETPOINT_SETPOINT(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_SETPOINT_SETPOINT_SHIFT)) & CCM_LPCG_SETPOINT_SETPOINT_MASK)
23854 
23855 #define CCM_LPCG_SETPOINT_STANDBY_MASK           (0xFFFF0000U)
23856 #define CCM_LPCG_SETPOINT_STANDBY_SHIFT          (16U)
23857 /*! STANDBY - Standby
23858  */
23859 #define CCM_LPCG_SETPOINT_STANDBY(x)             (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_SETPOINT_STANDBY_SHIFT)) & CCM_LPCG_SETPOINT_STANDBY_MASK)
23860 /*! @} */
23861 
23862 /* The count of CCM_LPCG_SETPOINT */
23863 #define CCM_LPCG_SETPOINT_COUNT                  (138U)
23864 
23865 /*! @name LPCG_STATUS0 - LPCG working status */
23866 /*! @{ */
23867 
23868 #define CCM_LPCG_STATUS0_ON_MASK                 (0x1U)
23869 #define CCM_LPCG_STATUS0_ON_SHIFT                (0U)
23870 /*! ON - LPCG current state
23871  *  0b0..LPCG is OFF.
23872  *  0b1..LPCG is ON.
23873  */
23874 #define CCM_LPCG_STATUS0_ON(x)                   (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS0_ON_SHIFT)) & CCM_LPCG_STATUS0_ON_MASK)
23875 
23876 #define CCM_LPCG_STATUS0_ACTIVE_DOMAIN_MASK      (0xF00U)
23877 #define CCM_LPCG_STATUS0_ACTIVE_DOMAIN_SHIFT     (8U)
23878 /*! ACTIVE_DOMAIN - Domains that own this clock gate
23879  *  0b0000..Clock not owned by any domain
23880  *  0b0001..Clock owned by Domain0
23881  *  0b0010..Clock owned by Domain1
23882  *  0b0011..Clock owned by Domain0 and Domain1
23883  *  0b0100..Clock owned by Domain2
23884  *  0b0101..Clock owned by Domain0 and Domain2
23885  *  0b0110..Clock owned by Domain1 and Domain2
23886  *  0b0111..Clock owned by Domain0, Domain1 and Domain 2
23887  *  0b1000..Clock owned by Domain3
23888  *  0b1001..Clock owned by Domain0 and Domain3
23889  *  0b1010..Clock owned by Domain1 and Domain3
23890  *  0b1011..Clock owned by Domain2 and Domain3
23891  *  0b1100..Clock owned by Domain0, Domain 1, and Domain3
23892  *  0b1101..Clock owned by Domain0, Domain 2, and Domain3
23893  *  0b1110..Clock owned by Domain1, Domain 2, and Domain3
23894  *  0b1111..Clock owned by all domains
23895  */
23896 #define CCM_LPCG_STATUS0_ACTIVE_DOMAIN(x)        (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS0_ACTIVE_DOMAIN_SHIFT)) & CCM_LPCG_STATUS0_ACTIVE_DOMAIN_MASK)
23897 
23898 #define CCM_LPCG_STATUS0_DOMAIN_ENABLE_MASK      (0xF000U)
23899 #define CCM_LPCG_STATUS0_DOMAIN_ENABLE_SHIFT     (12U)
23900 /*! DOMAIN_ENABLE - Enable status from each domain
23901  *  0b0000..No domain request
23902  *  0b0001..Request from Domain0
23903  *  0b0010..Request from Domain1
23904  *  0b0011..Request from Domain0 and Domain1
23905  *  0b0100..Request from Domain2
23906  *  0b0101..Request from Domain0 and Domain2
23907  *  0b0110..Request from Domain1 and Domain2
23908  *  0b0111..Request from Domain0, Domain1 and Domain 2
23909  *  0b1000..Request from Domain3
23910  *  0b1001..Request from Domain0 and Domain3
23911  *  0b1010..Request from Domain1 and Domain3
23912  *  0b1011..Request from Domain2 and Domain3
23913  *  0b1100..Request from Domain0, Domain 1, and Domain3
23914  *  0b1101..Request from Domain0, Domain 2, and Domain3
23915  *  0b1110..Request from Domain1, Domain 2, and Domain3
23916  *  0b1111..Request from all domains
23917  */
23918 #define CCM_LPCG_STATUS0_DOMAIN_ENABLE(x)        (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS0_DOMAIN_ENABLE_SHIFT)) & CCM_LPCG_STATUS0_DOMAIN_ENABLE_MASK)
23919 /*! @} */
23920 
23921 /* The count of CCM_LPCG_STATUS0 */
23922 #define CCM_LPCG_STATUS0_COUNT                   (138U)
23923 
23924 /*! @name LPCG_STATUS1 - LPCG low power status */
23925 /*! @{ */
23926 
23927 #define CCM_LPCG_STATUS1_CPU0_MODE_MASK          (0x3U)
23928 #define CCM_LPCG_STATUS1_CPU0_MODE_SHIFT         (0U)
23929 /*! CPU0_MODE - Domain0 Low Power Mode
23930  *  0b00..Run
23931  *  0b01..Wait
23932  *  0b10..Stop
23933  *  0b11..Suspend
23934  */
23935 #define CCM_LPCG_STATUS1_CPU0_MODE(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU0_MODE_SHIFT)) & CCM_LPCG_STATUS1_CPU0_MODE_MASK)
23936 
23937 #define CCM_LPCG_STATUS1_CPU0_MODE_REQUEST_MASK  (0x4U)
23938 #define CCM_LPCG_STATUS1_CPU0_MODE_REQUEST_SHIFT (2U)
23939 /*! CPU0_MODE_REQUEST - Domain0 request enter Low Power Mode
23940  *  0b1..Request from domain to enter Low Power Mode
23941  *  0b0..No request
23942  */
23943 #define CCM_LPCG_STATUS1_CPU0_MODE_REQUEST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU0_MODE_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_CPU0_MODE_REQUEST_MASK)
23944 
23945 #define CCM_LPCG_STATUS1_CPU0_MODE_DONE_MASK     (0x8U)
23946 #define CCM_LPCG_STATUS1_CPU0_MODE_DONE_SHIFT    (3U)
23947 /*! CPU0_MODE_DONE - Domain0 Low Power Mode task done
23948  *  0b1..Clock is gated-off
23949  *  0b0..Clock is not gated
23950  */
23951 #define CCM_LPCG_STATUS1_CPU0_MODE_DONE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU0_MODE_DONE_SHIFT)) & CCM_LPCG_STATUS1_CPU0_MODE_DONE_MASK)
23952 
23953 #define CCM_LPCG_STATUS1_CPU1_MODE_MASK          (0x30U)
23954 #define CCM_LPCG_STATUS1_CPU1_MODE_SHIFT         (4U)
23955 /*! CPU1_MODE - Domain1 Low Power Mode
23956  *  0b00..Run
23957  *  0b01..Wait
23958  *  0b10..Stop
23959  *  0b11..Suspend
23960  */
23961 #define CCM_LPCG_STATUS1_CPU1_MODE(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU1_MODE_SHIFT)) & CCM_LPCG_STATUS1_CPU1_MODE_MASK)
23962 
23963 #define CCM_LPCG_STATUS1_CPU1_MODE_REQUEST_MASK  (0x40U)
23964 #define CCM_LPCG_STATUS1_CPU1_MODE_REQUEST_SHIFT (6U)
23965 /*! CPU1_MODE_REQUEST - Domain1 request enter Low Power Mode
23966  *  0b1..Request from domain to enter Low Power Mode
23967  *  0b0..No request
23968  */
23969 #define CCM_LPCG_STATUS1_CPU1_MODE_REQUEST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU1_MODE_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_CPU1_MODE_REQUEST_MASK)
23970 
23971 #define CCM_LPCG_STATUS1_CPU1_MODE_DONE_MASK     (0x80U)
23972 #define CCM_LPCG_STATUS1_CPU1_MODE_DONE_SHIFT    (7U)
23973 /*! CPU1_MODE_DONE - Domain1 Low Power Mode task done
23974  *  0b1..Clock is gated-off
23975  *  0b0..Clock is not gated
23976  */
23977 #define CCM_LPCG_STATUS1_CPU1_MODE_DONE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU1_MODE_DONE_SHIFT)) & CCM_LPCG_STATUS1_CPU1_MODE_DONE_MASK)
23978 
23979 #define CCM_LPCG_STATUS1_CPU2_MODE_MASK          (0x300U)
23980 #define CCM_LPCG_STATUS1_CPU2_MODE_SHIFT         (8U)
23981 /*! CPU2_MODE - Domain2 Low Power Mode
23982  *  0b00..Run
23983  *  0b01..Wait
23984  *  0b10..Stop
23985  *  0b11..Suspend
23986  */
23987 #define CCM_LPCG_STATUS1_CPU2_MODE(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU2_MODE_SHIFT)) & CCM_LPCG_STATUS1_CPU2_MODE_MASK)
23988 
23989 #define CCM_LPCG_STATUS1_CPU2_MODE_REQUEST_MASK  (0x400U)
23990 #define CCM_LPCG_STATUS1_CPU2_MODE_REQUEST_SHIFT (10U)
23991 /*! CPU2_MODE_REQUEST - Domain2 request enter Low Power Mode
23992  *  0b1..Request from domain to enter Low Power Mode
23993  *  0b0..No request
23994  */
23995 #define CCM_LPCG_STATUS1_CPU2_MODE_REQUEST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU2_MODE_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_CPU2_MODE_REQUEST_MASK)
23996 
23997 #define CCM_LPCG_STATUS1_CPU2_MODE_DONE_MASK     (0x800U)
23998 #define CCM_LPCG_STATUS1_CPU2_MODE_DONE_SHIFT    (11U)
23999 /*! CPU2_MODE_DONE - Domain2 Low Power Mode task done
24000  *  0b1..Clock is gated-off
24001  *  0b0..Clock is not gated
24002  */
24003 #define CCM_LPCG_STATUS1_CPU2_MODE_DONE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU2_MODE_DONE_SHIFT)) & CCM_LPCG_STATUS1_CPU2_MODE_DONE_MASK)
24004 
24005 #define CCM_LPCG_STATUS1_CPU3_MODE_MASK          (0x3000U)
24006 #define CCM_LPCG_STATUS1_CPU3_MODE_SHIFT         (12U)
24007 /*! CPU3_MODE - Domain3 Low Power Mode
24008  *  0b00..Run
24009  *  0b01..Wait
24010  *  0b10..Stop
24011  *  0b11..Suspend
24012  */
24013 #define CCM_LPCG_STATUS1_CPU3_MODE(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU3_MODE_SHIFT)) & CCM_LPCG_STATUS1_CPU3_MODE_MASK)
24014 
24015 #define CCM_LPCG_STATUS1_CPU3_MODE_REQUEST_MASK  (0x4000U)
24016 #define CCM_LPCG_STATUS1_CPU3_MODE_REQUEST_SHIFT (14U)
24017 /*! CPU3_MODE_REQUEST - Domain3 request enter Low Power Mode
24018  *  0b1..Request from domain to enter Low Power Mode
24019  *  0b0..No request
24020  */
24021 #define CCM_LPCG_STATUS1_CPU3_MODE_REQUEST(x)    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU3_MODE_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_CPU3_MODE_REQUEST_MASK)
24022 
24023 #define CCM_LPCG_STATUS1_CPU3_MODE_DONE_MASK     (0x8000U)
24024 #define CCM_LPCG_STATUS1_CPU3_MODE_DONE_SHIFT    (15U)
24025 /*! CPU3_MODE_DONE - Domain3 Low Power Mode task done
24026  *  0b1..Clock is gated-off
24027  *  0b0..Clock is not gated
24028  */
24029 #define CCM_LPCG_STATUS1_CPU3_MODE_DONE(x)       (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CPU3_MODE_DONE_SHIFT)) & CCM_LPCG_STATUS1_CPU3_MODE_DONE_MASK)
24030 
24031 #define CCM_LPCG_STATUS1_TARGET_SETPOINT_MASK    (0xF0000U)
24032 #define CCM_LPCG_STATUS1_TARGET_SETPOINT_SHIFT   (16U)
24033 /*! TARGET_SETPOINT - Next Setpoint to change to
24034  */
24035 #define CCM_LPCG_STATUS1_TARGET_SETPOINT(x)      (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_TARGET_SETPOINT_SHIFT)) & CCM_LPCG_STATUS1_TARGET_SETPOINT_MASK)
24036 
24037 #define CCM_LPCG_STATUS1_CURRENT_SETPOINT_MASK   (0xF00000U)
24038 #define CCM_LPCG_STATUS1_CURRENT_SETPOINT_SHIFT  (20U)
24039 /*! CURRENT_SETPOINT - Current Setpoint
24040  */
24041 #define CCM_LPCG_STATUS1_CURRENT_SETPOINT(x)     (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_CURRENT_SETPOINT_SHIFT)) & CCM_LPCG_STATUS1_CURRENT_SETPOINT_MASK)
24042 
24043 #define CCM_LPCG_STATUS1_SETPOINT_OFF_REQUEST_MASK (0x1000000U)
24044 #define CCM_LPCG_STATUS1_SETPOINT_OFF_REQUEST_SHIFT (24U)
24045 /*! SETPOINT_OFF_REQUEST - Clock gate turn off request from GPC Setpoint
24046  *  0b1..Clock gate requested to be turned off
24047  *  0b0..No request
24048  */
24049 #define CCM_LPCG_STATUS1_SETPOINT_OFF_REQUEST(x) (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_SETPOINT_OFF_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_SETPOINT_OFF_REQUEST_MASK)
24050 
24051 #define CCM_LPCG_STATUS1_SETPOINT_OFF_DONE_MASK  (0x2000000U)
24052 #define CCM_LPCG_STATUS1_SETPOINT_OFF_DONE_SHIFT (25U)
24053 /*! SETPOINT_OFF_DONE - Clock gate turn off finish from GPC Setpoint
24054  *  0b1..Clock gate is turned off
24055  *  0b0..Clock gate is not turned off
24056  */
24057 #define CCM_LPCG_STATUS1_SETPOINT_OFF_DONE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_SETPOINT_OFF_DONE_SHIFT)) & CCM_LPCG_STATUS1_SETPOINT_OFF_DONE_MASK)
24058 
24059 #define CCM_LPCG_STATUS1_SETPOINT_ON_REQUEST_MASK (0x4000000U)
24060 #define CCM_LPCG_STATUS1_SETPOINT_ON_REQUEST_SHIFT (26U)
24061 /*! SETPOINT_ON_REQUEST - Clock gate turn on request from GPC Setpoint
24062  *  0b1..Clock gate requested to be turned on
24063  *  0b0..No request
24064  */
24065 #define CCM_LPCG_STATUS1_SETPOINT_ON_REQUEST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_SETPOINT_ON_REQUEST_SHIFT)) & CCM_LPCG_STATUS1_SETPOINT_ON_REQUEST_MASK)
24066 
24067 #define CCM_LPCG_STATUS1_SETPOINT_ON_DONE_MASK   (0x8000000U)
24068 #define CCM_LPCG_STATUS1_SETPOINT_ON_DONE_SHIFT  (27U)
24069 /*! SETPOINT_ON_DONE - Clock gate turn on finish from GPC Setpoint
24070  *  0b1..Clock gate is turned on
24071  *  0b0..Clock gate is not turned on
24072  */
24073 #define CCM_LPCG_STATUS1_SETPOINT_ON_DONE(x)     (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_STATUS1_SETPOINT_ON_DONE_SHIFT)) & CCM_LPCG_STATUS1_SETPOINT_ON_DONE_MASK)
24074 /*! @} */
24075 
24076 /* The count of CCM_LPCG_STATUS1 */
24077 #define CCM_LPCG_STATUS1_COUNT                   (138U)
24078 
24079 /*! @name LPCG_CONFIG - LPCG configuration */
24080 /*! @{ */
24081 
24082 #define CCM_LPCG_CONFIG_SETPOINT_PRESENT_MASK    (0x10U)
24083 #define CCM_LPCG_CONFIG_SETPOINT_PRESENT_SHIFT   (4U)
24084 /*! SETPOINT_PRESENT - Setpoint present
24085  *  0b1..Setpoint is implemented.
24086  *  0b0..Setpoint is not implemented.
24087  */
24088 #define CCM_LPCG_CONFIG_SETPOINT_PRESENT(x)      (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_CONFIG_SETPOINT_PRESENT_SHIFT)) & CCM_LPCG_CONFIG_SETPOINT_PRESENT_MASK)
24089 /*! @} */
24090 
24091 /* The count of CCM_LPCG_CONFIG */
24092 #define CCM_LPCG_CONFIG_COUNT                    (138U)
24093 
24094 /*! @name LPCG_AUTHEN - LPCG access control */
24095 /*! @{ */
24096 
24097 #define CCM_LPCG_AUTHEN_TZ_USER_MASK             (0x1U)
24098 #define CCM_LPCG_AUTHEN_TZ_USER_SHIFT            (0U)
24099 /*! TZ_USER - User access
24100  *  0b1..LPCG can be changed in user mode.
24101  *  0b0..LPCG cannot be changed in user mode.
24102  */
24103 #define CCM_LPCG_AUTHEN_TZ_USER(x)               (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_TZ_USER_SHIFT)) & CCM_LPCG_AUTHEN_TZ_USER_MASK)
24104 
24105 #define CCM_LPCG_AUTHEN_TZ_NS_MASK               (0x2U)
24106 #define CCM_LPCG_AUTHEN_TZ_NS_SHIFT              (1U)
24107 /*! TZ_NS - Non-secure access
24108  *  0b0..Cannot be changed in Non-secure mode.
24109  *  0b1..Can be changed in Non-secure mode.
24110  */
24111 #define CCM_LPCG_AUTHEN_TZ_NS(x)                 (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_TZ_NS_SHIFT)) & CCM_LPCG_AUTHEN_TZ_NS_MASK)
24112 
24113 #define CCM_LPCG_AUTHEN_LOCK_TZ_MASK             (0x10U)
24114 #define CCM_LPCG_AUTHEN_LOCK_TZ_SHIFT            (4U)
24115 /*! LOCK_TZ - lock truszone setting
24116  *  0b0..Trustzone setting is not locked.
24117  *  0b1..Trustzone setting is locked.
24118  */
24119 #define CCM_LPCG_AUTHEN_LOCK_TZ(x)               (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_LOCK_TZ_SHIFT)) & CCM_LPCG_AUTHEN_LOCK_TZ_MASK)
24120 
24121 #define CCM_LPCG_AUTHEN_WHITE_LIST_MASK          (0xF00U)
24122 #define CCM_LPCG_AUTHEN_WHITE_LIST_SHIFT         (8U)
24123 /*! WHITE_LIST - Whitelist
24124  */
24125 #define CCM_LPCG_AUTHEN_WHITE_LIST(x)            (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_WHITE_LIST_SHIFT)) & CCM_LPCG_AUTHEN_WHITE_LIST_MASK)
24126 
24127 #define CCM_LPCG_AUTHEN_LOCK_LIST_MASK           (0x1000U)
24128 #define CCM_LPCG_AUTHEN_LOCK_LIST_SHIFT          (12U)
24129 /*! LOCK_LIST - Lock Whitelist
24130  *  0b0..Whitelist is not locked.
24131  *  0b1..Whitelist is locked.
24132  */
24133 #define CCM_LPCG_AUTHEN_LOCK_LIST(x)             (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_LOCK_LIST_SHIFT)) & CCM_LPCG_AUTHEN_LOCK_LIST_MASK)
24134 
24135 #define CCM_LPCG_AUTHEN_DOMAIN_MODE_MASK         (0x10000U)
24136 #define CCM_LPCG_AUTHEN_DOMAIN_MODE_SHIFT        (16U)
24137 /*! DOMAIN_MODE - Low power and access control by domain
24138  *  0b1..Clock works in Domain Mode
24139  *  0b0..Clock does not work in Domain Mode
24140  */
24141 #define CCM_LPCG_AUTHEN_DOMAIN_MODE(x)           (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_LPCG_AUTHEN_DOMAIN_MODE_MASK)
24142 
24143 #define CCM_LPCG_AUTHEN_SETPOINT_MODE_MASK       (0x20000U)
24144 #define CCM_LPCG_AUTHEN_SETPOINT_MODE_SHIFT      (17U)
24145 /*! SETPOINT_MODE - Low power and access control by Setpoint
24146  *  0b1..LPCG is functioning in Setpoint controlled Mode
24147  *  0b0..LPCG is not functioning in Setpoint controlled Mode
24148  */
24149 #define CCM_LPCG_AUTHEN_SETPOINT_MODE(x)         (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_SETPOINT_MODE_SHIFT)) & CCM_LPCG_AUTHEN_SETPOINT_MODE_MASK)
24150 
24151 #define CCM_LPCG_AUTHEN_CPULPM_MASK              (0x40000U)
24152 #define CCM_LPCG_AUTHEN_CPULPM_SHIFT             (18U)
24153 /*! CPULPM - CPU Low Power Mode
24154  *  0b1..LPCG is functioning in Low Power Mode
24155  *  0b0..LPCG is not functioning in Low power Mode
24156  */
24157 #define CCM_LPCG_AUTHEN_CPULPM(x)                (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_CPULPM_SHIFT)) & CCM_LPCG_AUTHEN_CPULPM_MASK)
24158 
24159 #define CCM_LPCG_AUTHEN_LOCK_MODE_MASK           (0x100000U)
24160 #define CCM_LPCG_AUTHEN_LOCK_MODE_SHIFT          (20U)
24161 /*! LOCK_MODE - Lock low power and access mode
24162  *  0b0..MODE is not locked.
24163  *  0b1..MODE is locked.
24164  */
24165 #define CCM_LPCG_AUTHEN_LOCK_MODE(x)             (((uint32_t)(((uint32_t)(x)) << CCM_LPCG_AUTHEN_LOCK_MODE_SHIFT)) & CCM_LPCG_AUTHEN_LOCK_MODE_MASK)
24166 /*! @} */
24167 
24168 /* The count of CCM_LPCG_AUTHEN */
24169 #define CCM_LPCG_AUTHEN_COUNT                    (138U)
24170 
24171 
24172 /*!
24173  * @}
24174  */ /* end of group CCM_Register_Masks */
24175 
24176 
24177 /* CCM - Peripheral instance base addresses */
24178 /** Peripheral CCM base address */
24179 #define CCM_BASE                                 (0x40CC0000u)
24180 /** Peripheral CCM base pointer */
24181 #define CCM                                      ((CCM_Type *)CCM_BASE)
24182 /** Array initializer of CCM peripheral base addresses */
24183 #define CCM_BASE_ADDRS                           { CCM_BASE }
24184 /** Array initializer of CCM peripheral base pointers */
24185 #define CCM_BASE_PTRS                            { CCM }
24186 
24187 /*!
24188  * @}
24189  */ /* end of group CCM_Peripheral_Access_Layer */
24190 
24191 
24192 /* ----------------------------------------------------------------------------
24193    -- CCM_OBS Peripheral Access Layer
24194    ---------------------------------------------------------------------------- */
24195 
24196 /*!
24197  * @addtogroup CCM_OBS_Peripheral_Access_Layer CCM_OBS Peripheral Access Layer
24198  * @{
24199  */
24200 
24201 /** CCM_OBS - Register Layout Typedef */
24202 typedef struct {
24203   struct {                                         /* offset: 0x0, array step: 0x80 */
24204     __IO uint32_t CONTROL;                           /**< Observe control, array offset: 0x0, array step: 0x80 */
24205     __IO uint32_t CONTROL_SET;                       /**< Observe control, array offset: 0x4, array step: 0x80 */
24206     __IO uint32_t CONTROL_CLR;                       /**< Observe control, array offset: 0x8, array step: 0x80 */
24207     __IO uint32_t CONTROL_TOG;                       /**< Observe control, array offset: 0xC, array step: 0x80 */
24208          uint8_t RESERVED_0[16];
24209     __I  uint32_t STATUS0;                           /**< Observe status, array offset: 0x20, array step: 0x80 */
24210          uint8_t RESERVED_1[12];
24211     __IO uint32_t AUTHEN;                            /**< Observe access control, array offset: 0x30, array step: 0x80 */
24212     __IO uint32_t AUTHEN_SET;                        /**< Observe access control, array offset: 0x34, array step: 0x80 */
24213     __IO uint32_t AUTHEN_CLR;                        /**< Observe access control, array offset: 0x38, array step: 0x80 */
24214     __IO uint32_t AUTHEN_TOG;                        /**< Observe access control, array offset: 0x3C, array step: 0x80 */
24215     __I  uint32_t FREQUENCY_CURRENT;                 /**< Current frequency detected, array offset: 0x40, array step: 0x80 */
24216     __I  uint32_t FREQUENCY_MIN;                     /**< Minimum frequency detected, array offset: 0x44, array step: 0x80 */
24217     __I  uint32_t FREQUENCY_MAX;                     /**< Maximum frequency detected, array offset: 0x48, array step: 0x80 */
24218          uint8_t RESERVED_2[52];
24219   } OBSERVE[6];
24220 } CCM_OBS_Type;
24221 
24222 /* ----------------------------------------------------------------------------
24223    -- CCM_OBS Register Masks
24224    ---------------------------------------------------------------------------- */
24225 
24226 /*!
24227  * @addtogroup CCM_OBS_Register_Masks CCM_OBS Register Masks
24228  * @{
24229  */
24230 
24231 /*! @name OBSERVE_CONTROL - Observe control */
24232 /*! @{ */
24233 
24234 #define CCM_OBS_OBSERVE_CONTROL_SELECT_MASK      (0x1FFU)
24235 #define CCM_OBS_OBSERVE_CONTROL_SELECT_SHIFT     (0U)
24236 /*! SELECT - Observe signal selector
24237  */
24238 #define CCM_OBS_OBSERVE_CONTROL_SELECT(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SELECT_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SELECT_MASK)
24239 
24240 #define CCM_OBS_OBSERVE_CONTROL_RAW_MASK         (0x1000U)
24241 #define CCM_OBS_OBSERVE_CONTROL_RAW_SHIFT        (12U)
24242 /*! RAW - Observe raw signal
24243  *  0b0..Select divided signal.
24244  *  0b1..Select raw signal.
24245  */
24246 #define CCM_OBS_OBSERVE_CONTROL_RAW(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_RAW_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_RAW_MASK)
24247 
24248 #define CCM_OBS_OBSERVE_CONTROL_INV_MASK         (0x2000U)
24249 #define CCM_OBS_OBSERVE_CONTROL_INV_SHIFT        (13U)
24250 /*! INV - Invert
24251  *  0b0..Clock phase remain same.
24252  *  0b1..Invert clock phase before measurement or send to IO.
24253  */
24254 #define CCM_OBS_OBSERVE_CONTROL_INV(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_INV_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_INV_MASK)
24255 
24256 #define CCM_OBS_OBSERVE_CONTROL_RESET_MASK       (0x8000U)
24257 #define CCM_OBS_OBSERVE_CONTROL_RESET_SHIFT      (15U)
24258 /*! RESET - Reset observe divider
24259  *  0b0..No reset
24260  *  0b1..Reset observe divider
24261  */
24262 #define CCM_OBS_OBSERVE_CONTROL_RESET(x)         (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_RESET_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_RESET_MASK)
24263 
24264 #define CCM_OBS_OBSERVE_CONTROL_DIVIDE_MASK      (0xFF0000U)
24265 #define CCM_OBS_OBSERVE_CONTROL_DIVIDE_SHIFT     (16U)
24266 /*! DIVIDE - Divider for observe signal
24267  */
24268 #define CCM_OBS_OBSERVE_CONTROL_DIVIDE(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_DIVIDE_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_DIVIDE_MASK)
24269 
24270 #define CCM_OBS_OBSERVE_CONTROL_OFF_MASK         (0x1000000U)
24271 #define CCM_OBS_OBSERVE_CONTROL_OFF_SHIFT        (24U)
24272 /*! OFF - Turn off
24273  *  0b0..observe slice is on
24274  *  0b1..observe slice is off
24275  */
24276 #define CCM_OBS_OBSERVE_CONTROL_OFF(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_OFF_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_OFF_MASK)
24277 /*! @} */
24278 
24279 /* The count of CCM_OBS_OBSERVE_CONTROL */
24280 #define CCM_OBS_OBSERVE_CONTROL_COUNT            (6U)
24281 
24282 /*! @name OBSERVE_CONTROL_SET - Observe control */
24283 /*! @{ */
24284 
24285 #define CCM_OBS_OBSERVE_CONTROL_SET_SELECT_MASK  (0x1FFU)
24286 #define CCM_OBS_OBSERVE_CONTROL_SET_SELECT_SHIFT (0U)
24287 /*! SELECT - Observe signal selector
24288  */
24289 #define CCM_OBS_OBSERVE_CONTROL_SET_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_SELECT_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_SELECT_MASK)
24290 
24291 #define CCM_OBS_OBSERVE_CONTROL_SET_RAW_MASK     (0x1000U)
24292 #define CCM_OBS_OBSERVE_CONTROL_SET_RAW_SHIFT    (12U)
24293 /*! RAW - Observe raw signal
24294  */
24295 #define CCM_OBS_OBSERVE_CONTROL_SET_RAW(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_RAW_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_RAW_MASK)
24296 
24297 #define CCM_OBS_OBSERVE_CONTROL_SET_INV_MASK     (0x2000U)
24298 #define CCM_OBS_OBSERVE_CONTROL_SET_INV_SHIFT    (13U)
24299 /*! INV - Invert
24300  */
24301 #define CCM_OBS_OBSERVE_CONTROL_SET_INV(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_INV_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_INV_MASK)
24302 
24303 #define CCM_OBS_OBSERVE_CONTROL_SET_RESET_MASK   (0x8000U)
24304 #define CCM_OBS_OBSERVE_CONTROL_SET_RESET_SHIFT  (15U)
24305 /*! RESET - Reset observe divider
24306  */
24307 #define CCM_OBS_OBSERVE_CONTROL_SET_RESET(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_RESET_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_RESET_MASK)
24308 
24309 #define CCM_OBS_OBSERVE_CONTROL_SET_DIVIDE_MASK  (0xFF0000U)
24310 #define CCM_OBS_OBSERVE_CONTROL_SET_DIVIDE_SHIFT (16U)
24311 /*! DIVIDE - Divider for observe signal
24312  */
24313 #define CCM_OBS_OBSERVE_CONTROL_SET_DIVIDE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_DIVIDE_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_DIVIDE_MASK)
24314 
24315 #define CCM_OBS_OBSERVE_CONTROL_SET_OFF_MASK     (0x1000000U)
24316 #define CCM_OBS_OBSERVE_CONTROL_SET_OFF_SHIFT    (24U)
24317 /*! OFF - Turn off
24318  */
24319 #define CCM_OBS_OBSERVE_CONTROL_SET_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_SET_OFF_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_SET_OFF_MASK)
24320 /*! @} */
24321 
24322 /* The count of CCM_OBS_OBSERVE_CONTROL_SET */
24323 #define CCM_OBS_OBSERVE_CONTROL_SET_COUNT        (6U)
24324 
24325 /*! @name OBSERVE_CONTROL_CLR - Observe control */
24326 /*! @{ */
24327 
24328 #define CCM_OBS_OBSERVE_CONTROL_CLR_SELECT_MASK  (0x1FFU)
24329 #define CCM_OBS_OBSERVE_CONTROL_CLR_SELECT_SHIFT (0U)
24330 /*! SELECT - Observe signal selector
24331  */
24332 #define CCM_OBS_OBSERVE_CONTROL_CLR_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_SELECT_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_SELECT_MASK)
24333 
24334 #define CCM_OBS_OBSERVE_CONTROL_CLR_RAW_MASK     (0x1000U)
24335 #define CCM_OBS_OBSERVE_CONTROL_CLR_RAW_SHIFT    (12U)
24336 /*! RAW - Observe raw signal
24337  */
24338 #define CCM_OBS_OBSERVE_CONTROL_CLR_RAW(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_RAW_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_RAW_MASK)
24339 
24340 #define CCM_OBS_OBSERVE_CONTROL_CLR_INV_MASK     (0x2000U)
24341 #define CCM_OBS_OBSERVE_CONTROL_CLR_INV_SHIFT    (13U)
24342 /*! INV - Invert
24343  */
24344 #define CCM_OBS_OBSERVE_CONTROL_CLR_INV(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_INV_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_INV_MASK)
24345 
24346 #define CCM_OBS_OBSERVE_CONTROL_CLR_RESET_MASK   (0x8000U)
24347 #define CCM_OBS_OBSERVE_CONTROL_CLR_RESET_SHIFT  (15U)
24348 /*! RESET - Reset observe divider
24349  */
24350 #define CCM_OBS_OBSERVE_CONTROL_CLR_RESET(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_RESET_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_RESET_MASK)
24351 
24352 #define CCM_OBS_OBSERVE_CONTROL_CLR_DIVIDE_MASK  (0xFF0000U)
24353 #define CCM_OBS_OBSERVE_CONTROL_CLR_DIVIDE_SHIFT (16U)
24354 /*! DIVIDE - Divider for observe signal
24355  */
24356 #define CCM_OBS_OBSERVE_CONTROL_CLR_DIVIDE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_DIVIDE_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_DIVIDE_MASK)
24357 
24358 #define CCM_OBS_OBSERVE_CONTROL_CLR_OFF_MASK     (0x1000000U)
24359 #define CCM_OBS_OBSERVE_CONTROL_CLR_OFF_SHIFT    (24U)
24360 /*! OFF - Turn off
24361  */
24362 #define CCM_OBS_OBSERVE_CONTROL_CLR_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_CLR_OFF_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_CLR_OFF_MASK)
24363 /*! @} */
24364 
24365 /* The count of CCM_OBS_OBSERVE_CONTROL_CLR */
24366 #define CCM_OBS_OBSERVE_CONTROL_CLR_COUNT        (6U)
24367 
24368 /*! @name OBSERVE_CONTROL_TOG - Observe control */
24369 /*! @{ */
24370 
24371 #define CCM_OBS_OBSERVE_CONTROL_TOG_SELECT_MASK  (0x1FFU)
24372 #define CCM_OBS_OBSERVE_CONTROL_TOG_SELECT_SHIFT (0U)
24373 /*! SELECT - Observe signal selector
24374  */
24375 #define CCM_OBS_OBSERVE_CONTROL_TOG_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_SELECT_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_SELECT_MASK)
24376 
24377 #define CCM_OBS_OBSERVE_CONTROL_TOG_RAW_MASK     (0x1000U)
24378 #define CCM_OBS_OBSERVE_CONTROL_TOG_RAW_SHIFT    (12U)
24379 /*! RAW - Observe raw signal
24380  */
24381 #define CCM_OBS_OBSERVE_CONTROL_TOG_RAW(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_RAW_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_RAW_MASK)
24382 
24383 #define CCM_OBS_OBSERVE_CONTROL_TOG_INV_MASK     (0x2000U)
24384 #define CCM_OBS_OBSERVE_CONTROL_TOG_INV_SHIFT    (13U)
24385 /*! INV - Invert
24386  */
24387 #define CCM_OBS_OBSERVE_CONTROL_TOG_INV(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_INV_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_INV_MASK)
24388 
24389 #define CCM_OBS_OBSERVE_CONTROL_TOG_RESET_MASK   (0x8000U)
24390 #define CCM_OBS_OBSERVE_CONTROL_TOG_RESET_SHIFT  (15U)
24391 /*! RESET - Reset observe divider
24392  */
24393 #define CCM_OBS_OBSERVE_CONTROL_TOG_RESET(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_RESET_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_RESET_MASK)
24394 
24395 #define CCM_OBS_OBSERVE_CONTROL_TOG_DIVIDE_MASK  (0xFF0000U)
24396 #define CCM_OBS_OBSERVE_CONTROL_TOG_DIVIDE_SHIFT (16U)
24397 /*! DIVIDE - Divider for observe signal
24398  */
24399 #define CCM_OBS_OBSERVE_CONTROL_TOG_DIVIDE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_DIVIDE_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_DIVIDE_MASK)
24400 
24401 #define CCM_OBS_OBSERVE_CONTROL_TOG_OFF_MASK     (0x1000000U)
24402 #define CCM_OBS_OBSERVE_CONTROL_TOG_OFF_SHIFT    (24U)
24403 /*! OFF - Turn off
24404  */
24405 #define CCM_OBS_OBSERVE_CONTROL_TOG_OFF(x)       (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_CONTROL_TOG_OFF_SHIFT)) & CCM_OBS_OBSERVE_CONTROL_TOG_OFF_MASK)
24406 /*! @} */
24407 
24408 /* The count of CCM_OBS_OBSERVE_CONTROL_TOG */
24409 #define CCM_OBS_OBSERVE_CONTROL_TOG_COUNT        (6U)
24410 
24411 /*! @name OBSERVE_STATUS0 - Observe status */
24412 /*! @{ */
24413 
24414 #define CCM_OBS_OBSERVE_STATUS0_SELECT_MASK      (0x1FFU)
24415 #define CCM_OBS_OBSERVE_STATUS0_SELECT_SHIFT     (0U)
24416 /*! SELECT - Select value
24417  */
24418 #define CCM_OBS_OBSERVE_STATUS0_SELECT(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_SELECT_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_SELECT_MASK)
24419 
24420 #define CCM_OBS_OBSERVE_STATUS0_RAW_MASK         (0x1000U)
24421 #define CCM_OBS_OBSERVE_STATUS0_RAW_SHIFT        (12U)
24422 /*! RAW - Observe raw signal
24423  *  0b0..Divided signal is selected
24424  *  0b1..Raw signal is selected
24425  */
24426 #define CCM_OBS_OBSERVE_STATUS0_RAW(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_RAW_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_RAW_MASK)
24427 
24428 #define CCM_OBS_OBSERVE_STATUS0_INV_MASK         (0x2000U)
24429 #define CCM_OBS_OBSERVE_STATUS0_INV_SHIFT        (13U)
24430 /*! INV - Polarity of the observe target
24431  *  0b1..Polarity of the observe target is inverted
24432  *  0b0..Polarity is not inverted
24433  */
24434 #define CCM_OBS_OBSERVE_STATUS0_INV(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_INV_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_INV_MASK)
24435 
24436 #define CCM_OBS_OBSERVE_STATUS0_RESET_MASK       (0x8000U)
24437 #define CCM_OBS_OBSERVE_STATUS0_RESET_SHIFT      (15U)
24438 /*! RESET - Reset state
24439  *  0b1..Observe divider is in reset state
24440  *  0b0..Observe divider is not in reset state
24441  */
24442 #define CCM_OBS_OBSERVE_STATUS0_RESET(x)         (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_RESET_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_RESET_MASK)
24443 
24444 #define CCM_OBS_OBSERVE_STATUS0_DIVIDE_MASK      (0xFF0000U)
24445 #define CCM_OBS_OBSERVE_STATUS0_DIVIDE_SHIFT     (16U)
24446 /*! DIVIDE - Divide value status. The clock will be divided by DIVIDE + 1.
24447  */
24448 #define CCM_OBS_OBSERVE_STATUS0_DIVIDE(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_DIVIDE_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_DIVIDE_MASK)
24449 
24450 #define CCM_OBS_OBSERVE_STATUS0_OFF_MASK         (0x1000000U)
24451 #define CCM_OBS_OBSERVE_STATUS0_OFF_SHIFT        (24U)
24452 /*! OFF - Turn off slice
24453  *  0b0..observe slice is on
24454  *  0b1..observe slice is off
24455  */
24456 #define CCM_OBS_OBSERVE_STATUS0_OFF(x)           (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_STATUS0_OFF_SHIFT)) & CCM_OBS_OBSERVE_STATUS0_OFF_MASK)
24457 /*! @} */
24458 
24459 /* The count of CCM_OBS_OBSERVE_STATUS0 */
24460 #define CCM_OBS_OBSERVE_STATUS0_COUNT            (6U)
24461 
24462 /*! @name OBSERVE_AUTHEN - Observe access control */
24463 /*! @{ */
24464 
24465 #define CCM_OBS_OBSERVE_AUTHEN_TZ_USER_MASK      (0x1U)
24466 #define CCM_OBS_OBSERVE_AUTHEN_TZ_USER_SHIFT     (0U)
24467 /*! TZ_USER - User access
24468  *  0b1..Clock can be changed in user mode.
24469  *  0b0..Clock cannot be changed in user mode.
24470  */
24471 #define CCM_OBS_OBSERVE_AUTHEN_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TZ_USER_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TZ_USER_MASK)
24472 
24473 #define CCM_OBS_OBSERVE_AUTHEN_TZ_NS_MASK        (0x2U)
24474 #define CCM_OBS_OBSERVE_AUTHEN_TZ_NS_SHIFT       (1U)
24475 /*! TZ_NS - Non-secure access
24476  *  0b0..Cannot be changed in Non-secure mode.
24477  *  0b1..Can be changed in Non-secure mode.
24478  */
24479 #define CCM_OBS_OBSERVE_AUTHEN_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TZ_NS_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TZ_NS_MASK)
24480 
24481 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_TZ_MASK      (0x10U)
24482 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_TZ_SHIFT     (4U)
24483 /*! LOCK_TZ - Lock truszone setting
24484  *  0b0..Trustzone setting is not locked.
24485  *  0b1..Trustzone setting is locked.
24486  */
24487 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_TZ(x)        (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_LOCK_TZ_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_LOCK_TZ_MASK)
24488 
24489 #define CCM_OBS_OBSERVE_AUTHEN_WHITE_LIST_MASK   (0xF00U)
24490 #define CCM_OBS_OBSERVE_AUTHEN_WHITE_LIST_SHIFT  (8U)
24491 /*! WHITE_LIST - White list
24492  *  0b1111..All domain can change.
24493  *  0b0010..Domain 1 can change.
24494  *  0b0011..Domain 0 and domain 1 can change.
24495  *  0b0000..No domain can change.
24496  *  0b0100..Domain 2 can change.
24497  *  0b0001..Domain 0 can change.
24498  */
24499 #define CCM_OBS_OBSERVE_AUTHEN_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_WHITE_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_WHITE_LIST_MASK)
24500 
24501 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_LIST_MASK    (0x1000U)
24502 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_LIST_SHIFT   (12U)
24503 /*! LOCK_LIST - Lock white list
24504  *  0b0..White list is not locked.
24505  *  0b1..White list is locked.
24506  */
24507 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_LOCK_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_LOCK_LIST_MASK)
24508 
24509 #define CCM_OBS_OBSERVE_AUTHEN_DOMAIN_MODE_MASK  (0x10000U)
24510 #define CCM_OBS_OBSERVE_AUTHEN_DOMAIN_MODE_SHIFT (16U)
24511 /*! DOMAIN_MODE - Low power and access control by domain
24512  *  0b1..Clock works in domain mode.
24513  *  0b0..Clock does not work in domain mode.
24514  */
24515 #define CCM_OBS_OBSERVE_AUTHEN_DOMAIN_MODE(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_DOMAIN_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_DOMAIN_MODE_MASK)
24516 
24517 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_MODE_MASK    (0x100000U)
24518 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_MODE_SHIFT   (20U)
24519 /*! LOCK_MODE - Lock low power and access mode
24520  *  0b0..MODE is not locked.
24521  *  0b1..MODE is locked.
24522  */
24523 #define CCM_OBS_OBSERVE_AUTHEN_LOCK_MODE(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_LOCK_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_LOCK_MODE_MASK)
24524 /*! @} */
24525 
24526 /* The count of CCM_OBS_OBSERVE_AUTHEN */
24527 #define CCM_OBS_OBSERVE_AUTHEN_COUNT             (6U)
24528 
24529 /*! @name OBSERVE_AUTHEN_SET - Observe access control */
24530 /*! @{ */
24531 
24532 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_USER_MASK  (0x1U)
24533 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_USER_SHIFT (0U)
24534 /*! TZ_USER - User access
24535  */
24536 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_TZ_USER_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_TZ_USER_MASK)
24537 
24538 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_NS_MASK    (0x2U)
24539 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_NS_SHIFT   (1U)
24540 /*! TZ_NS - Non-secure access
24541  */
24542 #define CCM_OBS_OBSERVE_AUTHEN_SET_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_TZ_NS_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_TZ_NS_MASK)
24543 
24544 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_TZ_MASK  (0x10U)
24545 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_TZ_SHIFT (4U)
24546 /*! LOCK_TZ - Lock truszone setting
24547  */
24548 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_TZ_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_TZ_MASK)
24549 
24550 #define CCM_OBS_OBSERVE_AUTHEN_SET_WHITE_LIST_MASK (0xF00U)
24551 #define CCM_OBS_OBSERVE_AUTHEN_SET_WHITE_LIST_SHIFT (8U)
24552 /*! WHITE_LIST - White list
24553  */
24554 #define CCM_OBS_OBSERVE_AUTHEN_SET_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_WHITE_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_WHITE_LIST_MASK)
24555 
24556 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_LIST_MASK (0x1000U)
24557 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_LIST_SHIFT (12U)
24558 /*! LOCK_LIST - Lock white list
24559  */
24560 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_LIST_MASK)
24561 
24562 #define CCM_OBS_OBSERVE_AUTHEN_SET_DOMAIN_MODE_MASK (0x10000U)
24563 #define CCM_OBS_OBSERVE_AUTHEN_SET_DOMAIN_MODE_SHIFT (16U)
24564 /*! DOMAIN_MODE - Low power and access control by domain
24565  */
24566 #define CCM_OBS_OBSERVE_AUTHEN_SET_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_DOMAIN_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_DOMAIN_MODE_MASK)
24567 
24568 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_MODE_MASK (0x100000U)
24569 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_MODE_SHIFT (20U)
24570 /*! LOCK_MODE - Lock low power and access mode
24571  */
24572 #define CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_SET_LOCK_MODE_MASK)
24573 /*! @} */
24574 
24575 /* The count of CCM_OBS_OBSERVE_AUTHEN_SET */
24576 #define CCM_OBS_OBSERVE_AUTHEN_SET_COUNT         (6U)
24577 
24578 /*! @name OBSERVE_AUTHEN_CLR - Observe access control */
24579 /*! @{ */
24580 
24581 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_USER_MASK  (0x1U)
24582 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_USER_SHIFT (0U)
24583 /*! TZ_USER - User access
24584  */
24585 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_USER_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_USER_MASK)
24586 
24587 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_NS_MASK    (0x2U)
24588 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_NS_SHIFT   (1U)
24589 /*! TZ_NS - Non-secure access
24590  */
24591 #define CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_NS_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_TZ_NS_MASK)
24592 
24593 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_TZ_MASK  (0x10U)
24594 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_TZ_SHIFT (4U)
24595 /*! LOCK_TZ - Lock truszone setting
24596  */
24597 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_TZ_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_TZ_MASK)
24598 
24599 #define CCM_OBS_OBSERVE_AUTHEN_CLR_WHITE_LIST_MASK (0xF00U)
24600 #define CCM_OBS_OBSERVE_AUTHEN_CLR_WHITE_LIST_SHIFT (8U)
24601 /*! WHITE_LIST - White list
24602  */
24603 #define CCM_OBS_OBSERVE_AUTHEN_CLR_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_WHITE_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_WHITE_LIST_MASK)
24604 
24605 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_LIST_MASK (0x1000U)
24606 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_LIST_SHIFT (12U)
24607 /*! LOCK_LIST - Lock white list
24608  */
24609 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_LIST_MASK)
24610 
24611 #define CCM_OBS_OBSERVE_AUTHEN_CLR_DOMAIN_MODE_MASK (0x10000U)
24612 #define CCM_OBS_OBSERVE_AUTHEN_CLR_DOMAIN_MODE_SHIFT (16U)
24613 /*! DOMAIN_MODE - Low power and access control by domain
24614  */
24615 #define CCM_OBS_OBSERVE_AUTHEN_CLR_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_DOMAIN_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_DOMAIN_MODE_MASK)
24616 
24617 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_MODE_MASK (0x100000U)
24618 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_MODE_SHIFT (20U)
24619 /*! LOCK_MODE - Lock low power and access mode
24620  */
24621 #define CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_CLR_LOCK_MODE_MASK)
24622 /*! @} */
24623 
24624 /* The count of CCM_OBS_OBSERVE_AUTHEN_CLR */
24625 #define CCM_OBS_OBSERVE_AUTHEN_CLR_COUNT         (6U)
24626 
24627 /*! @name OBSERVE_AUTHEN_TOG - Observe access control */
24628 /*! @{ */
24629 
24630 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_USER_MASK  (0x1U)
24631 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_USER_SHIFT (0U)
24632 /*! TZ_USER - User access
24633  */
24634 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_USER(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_USER_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_USER_MASK)
24635 
24636 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_NS_MASK    (0x2U)
24637 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_NS_SHIFT   (1U)
24638 /*! TZ_NS - Non-secure access
24639  */
24640 #define CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_NS(x)      (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_NS_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_TZ_NS_MASK)
24641 
24642 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_TZ_MASK  (0x10U)
24643 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_TZ_SHIFT (4U)
24644 /*! LOCK_TZ - Lock truszone setting
24645  */
24646 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_TZ(x)    (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_TZ_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_TZ_MASK)
24647 
24648 #define CCM_OBS_OBSERVE_AUTHEN_TOG_WHITE_LIST_MASK (0xF00U)
24649 #define CCM_OBS_OBSERVE_AUTHEN_TOG_WHITE_LIST_SHIFT (8U)
24650 /*! WHITE_LIST - White list
24651  */
24652 #define CCM_OBS_OBSERVE_AUTHEN_TOG_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_WHITE_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_WHITE_LIST_MASK)
24653 
24654 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_LIST_MASK (0x1000U)
24655 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_LIST_SHIFT (12U)
24656 /*! LOCK_LIST - Lock white list
24657  */
24658 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_LIST(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_LIST_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_LIST_MASK)
24659 
24660 #define CCM_OBS_OBSERVE_AUTHEN_TOG_DOMAIN_MODE_MASK (0x10000U)
24661 #define CCM_OBS_OBSERVE_AUTHEN_TOG_DOMAIN_MODE_SHIFT (16U)
24662 /*! DOMAIN_MODE - Low power and access control by domain
24663  */
24664 #define CCM_OBS_OBSERVE_AUTHEN_TOG_DOMAIN_MODE(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_DOMAIN_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_DOMAIN_MODE_MASK)
24665 
24666 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_MODE_MASK (0x100000U)
24667 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_MODE_SHIFT (20U)
24668 /*! LOCK_MODE - Lock low power and access mode
24669  */
24670 #define CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_MODE(x)  (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_MODE_SHIFT)) & CCM_OBS_OBSERVE_AUTHEN_TOG_LOCK_MODE_MASK)
24671 /*! @} */
24672 
24673 /* The count of CCM_OBS_OBSERVE_AUTHEN_TOG */
24674 #define CCM_OBS_OBSERVE_AUTHEN_TOG_COUNT         (6U)
24675 
24676 /*! @name OBSERVE_FREQUENCY_CURRENT - Current frequency detected */
24677 /*! @{ */
24678 
24679 #define CCM_OBS_OBSERVE_FREQUENCY_CURRENT_FREQUENCY_MASK (0xFFFFFFFFU)
24680 #define CCM_OBS_OBSERVE_FREQUENCY_CURRENT_FREQUENCY_SHIFT (0U)
24681 /*! FREQUENCY - Frequency
24682  */
24683 #define CCM_OBS_OBSERVE_FREQUENCY_CURRENT_FREQUENCY(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_FREQUENCY_CURRENT_FREQUENCY_SHIFT)) & CCM_OBS_OBSERVE_FREQUENCY_CURRENT_FREQUENCY_MASK)
24684 /*! @} */
24685 
24686 /* The count of CCM_OBS_OBSERVE_FREQUENCY_CURRENT */
24687 #define CCM_OBS_OBSERVE_FREQUENCY_CURRENT_COUNT  (6U)
24688 
24689 /*! @name OBSERVE_FREQUENCY_MIN - Minimum frequency detected */
24690 /*! @{ */
24691 
24692 #define CCM_OBS_OBSERVE_FREQUENCY_MIN_FREQUENCY_MASK (0xFFFFFFFFU)
24693 #define CCM_OBS_OBSERVE_FREQUENCY_MIN_FREQUENCY_SHIFT (0U)
24694 /*! FREQUENCY - Frequency
24695  */
24696 #define CCM_OBS_OBSERVE_FREQUENCY_MIN_FREQUENCY(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_FREQUENCY_MIN_FREQUENCY_SHIFT)) & CCM_OBS_OBSERVE_FREQUENCY_MIN_FREQUENCY_MASK)
24697 /*! @} */
24698 
24699 /* The count of CCM_OBS_OBSERVE_FREQUENCY_MIN */
24700 #define CCM_OBS_OBSERVE_FREQUENCY_MIN_COUNT      (6U)
24701 
24702 /*! @name OBSERVE_FREQUENCY_MAX - Maximum frequency detected */
24703 /*! @{ */
24704 
24705 #define CCM_OBS_OBSERVE_FREQUENCY_MAX_FREQUENCY_MASK (0xFFFFFFFFU)
24706 #define CCM_OBS_OBSERVE_FREQUENCY_MAX_FREQUENCY_SHIFT (0U)
24707 /*! FREQUENCY - Frequency
24708  */
24709 #define CCM_OBS_OBSERVE_FREQUENCY_MAX_FREQUENCY(x) (((uint32_t)(((uint32_t)(x)) << CCM_OBS_OBSERVE_FREQUENCY_MAX_FREQUENCY_SHIFT)) & CCM_OBS_OBSERVE_FREQUENCY_MAX_FREQUENCY_MASK)
24710 /*! @} */
24711 
24712 /* The count of CCM_OBS_OBSERVE_FREQUENCY_MAX */
24713 #define CCM_OBS_OBSERVE_FREQUENCY_MAX_COUNT      (6U)
24714 
24715 
24716 /*!
24717  * @}
24718  */ /* end of group CCM_OBS_Register_Masks */
24719 
24720 
24721 /* CCM_OBS - Peripheral instance base addresses */
24722 /** Peripheral CCM_OBS base address */
24723 #define CCM_OBS_BASE                             (0x40150000u)
24724 /** Peripheral CCM_OBS base pointer */
24725 #define CCM_OBS                                  ((CCM_OBS_Type *)CCM_OBS_BASE)
24726 /** Array initializer of CCM_OBS peripheral base addresses */
24727 #define CCM_OBS_BASE_ADDRS                       { CCM_OBS_BASE }
24728 /** Array initializer of CCM_OBS peripheral base pointers */
24729 #define CCM_OBS_BASE_PTRS                        { CCM_OBS }
24730 
24731 /*!
24732  * @}
24733  */ /* end of group CCM_OBS_Peripheral_Access_Layer */
24734 
24735 
24736 /* ----------------------------------------------------------------------------
24737    -- CDOG Peripheral Access Layer
24738    ---------------------------------------------------------------------------- */
24739 
24740 /*!
24741  * @addtogroup CDOG_Peripheral_Access_Layer CDOG Peripheral Access Layer
24742  * @{
24743  */
24744 
24745 /** CDOG - Register Layout Typedef */
24746 typedef struct {
24747   __IO uint32_t CONTROL;                           /**< Control, offset: 0x0 */
24748   __IO uint32_t RELOAD;                            /**< Instruction Timer reload, offset: 0x4 */
24749   __IO uint32_t INSTRUCTION_TIMER;                 /**< Instruction Timer, offset: 0x8 */
24750   __O  uint32_t SECURE_COUNTER;                    /**< Secure Counter, offset: 0xC */
24751   __I  uint32_t STATUS;                            /**< Status 1, offset: 0x10 */
24752   __I  uint32_t STATUS2;                           /**< Status 2, offset: 0x14 */
24753   __IO uint32_t FLAGS;                             /**< Flags, offset: 0x18 */
24754   __IO uint32_t PERSISTENT;                        /**< Persistent Data Storage, offset: 0x1C */
24755   __O  uint32_t START;                             /**< START Command, offset: 0x20 */
24756   __O  uint32_t STOP;                              /**< STOP Command, offset: 0x24 */
24757   __O  uint32_t RESTART;                           /**< RESTART Command, offset: 0x28 */
24758   __O  uint32_t ADD;                               /**< ADD Command, offset: 0x2C */
24759   __O  uint32_t ADD1;                              /**< ADD1 Command, offset: 0x30 */
24760   __O  uint32_t ADD16;                             /**< ADD16 Command, offset: 0x34 */
24761   __O  uint32_t ADD256;                            /**< ADD256 Command, offset: 0x38 */
24762   __O  uint32_t SUB;                               /**< SUB Command, offset: 0x3C */
24763   __O  uint32_t SUB1;                              /**< SUB1 Command, offset: 0x40 */
24764   __O  uint32_t SUB16;                             /**< SUB16 Command, offset: 0x44 */
24765   __O  uint32_t SUB256;                            /**< SUB256 Command, offset: 0x48 */
24766 } CDOG_Type;
24767 
24768 /* ----------------------------------------------------------------------------
24769    -- CDOG Register Masks
24770    ---------------------------------------------------------------------------- */
24771 
24772 /*!
24773  * @addtogroup CDOG_Register_Masks CDOG Register Masks
24774  * @{
24775  */
24776 
24777 /*! @name CONTROL - Control */
24778 /*! @{ */
24779 
24780 #define CDOG_CONTROL_LOCK_CTRL_MASK              (0x3U)
24781 #define CDOG_CONTROL_LOCK_CTRL_SHIFT             (0U)
24782 /*! LOCK_CTRL - Lock control
24783  *  0b01..Locked
24784  *  0b10..Unlocked
24785  */
24786 #define CDOG_CONTROL_LOCK_CTRL(x)                (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_LOCK_CTRL_SHIFT)) & CDOG_CONTROL_LOCK_CTRL_MASK)
24787 
24788 #define CDOG_CONTROL_TIMEOUT_CTRL_MASK           (0x1CU)
24789 #define CDOG_CONTROL_TIMEOUT_CTRL_SHIFT          (2U)
24790 /*! TIMEOUT_CTRL - TIMEOUT fault control
24791  *  0b100..Disable both reset and interrupt
24792  *  0b001..Enable reset
24793  *  0b010..Enable interrupt
24794  */
24795 #define CDOG_CONTROL_TIMEOUT_CTRL(x)             (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_TIMEOUT_CTRL_SHIFT)) & CDOG_CONTROL_TIMEOUT_CTRL_MASK)
24796 
24797 #define CDOG_CONTROL_MISCOMPARE_CTRL_MASK        (0xE0U)
24798 #define CDOG_CONTROL_MISCOMPARE_CTRL_SHIFT       (5U)
24799 /*! MISCOMPARE_CTRL - MISCOMPARE fault control
24800  *  0b100..Disable both reset and interrupt
24801  *  0b001..Enable reset
24802  *  0b010..Enable interrupt
24803  */
24804 #define CDOG_CONTROL_MISCOMPARE_CTRL(x)          (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_MISCOMPARE_CTRL_SHIFT)) & CDOG_CONTROL_MISCOMPARE_CTRL_MASK)
24805 
24806 #define CDOG_CONTROL_SEQUENCE_CTRL_MASK          (0x700U)
24807 #define CDOG_CONTROL_SEQUENCE_CTRL_SHIFT         (8U)
24808 /*! SEQUENCE_CTRL - SEQUENCE fault control
24809  *  0b001..Enable reset
24810  *  0b010..Enable interrupt
24811  *  0b100..Disable both reset and interrupt
24812  */
24813 #define CDOG_CONTROL_SEQUENCE_CTRL(x)            (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_SEQUENCE_CTRL_SHIFT)) & CDOG_CONTROL_SEQUENCE_CTRL_MASK)
24814 
24815 #define CDOG_CONTROL_CONTROL_CTRL_MASK           (0x3800U)
24816 #define CDOG_CONTROL_CONTROL_CTRL_SHIFT          (11U)
24817 /*! CONTROL_CTRL - CONTROL fault control
24818  *  0b001..Enable reset
24819  *  0b100..Disable reset
24820  */
24821 #define CDOG_CONTROL_CONTROL_CTRL(x)             (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_CONTROL_CTRL_SHIFT)) & CDOG_CONTROL_CONTROL_CTRL_MASK)
24822 
24823 #define CDOG_CONTROL_STATE_CTRL_MASK             (0x1C000U)
24824 #define CDOG_CONTROL_STATE_CTRL_SHIFT            (14U)
24825 /*! STATE_CTRL - STATE fault control
24826  *  0b001..Enable reset
24827  *  0b010..Enable interrupt
24828  *  0b100..Disable both reset and interrupt
24829  */
24830 #define CDOG_CONTROL_STATE_CTRL(x)               (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_STATE_CTRL_SHIFT)) & CDOG_CONTROL_STATE_CTRL_MASK)
24831 
24832 #define CDOG_CONTROL_ADDRESS_CTRL_MASK           (0xE0000U)
24833 #define CDOG_CONTROL_ADDRESS_CTRL_SHIFT          (17U)
24834 /*! ADDRESS_CTRL - ADDRESS fault control
24835  *  0b001..Enable reset
24836  *  0b010..Enable interrupt
24837  *  0b100..Disable both reset and interrupt
24838  */
24839 #define CDOG_CONTROL_ADDRESS_CTRL(x)             (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_ADDRESS_CTRL_SHIFT)) & CDOG_CONTROL_ADDRESS_CTRL_MASK)
24840 
24841 #define CDOG_CONTROL_IRQ_PAUSE_MASK              (0x30000000U)
24842 #define CDOG_CONTROL_IRQ_PAUSE_SHIFT             (28U)
24843 /*! IRQ_PAUSE - IRQ pause control
24844  *  0b01..Keep the timer running
24845  *  0b10..Stop the timer
24846  */
24847 #define CDOG_CONTROL_IRQ_PAUSE(x)                (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_IRQ_PAUSE_SHIFT)) & CDOG_CONTROL_IRQ_PAUSE_MASK)
24848 
24849 #define CDOG_CONTROL_DEBUG_HALT_CTRL_MASK        (0xC0000000U)
24850 #define CDOG_CONTROL_DEBUG_HALT_CTRL_SHIFT       (30U)
24851 /*! DEBUG_HALT_CTRL - DEBUG_HALT control
24852  *  0b01..Keep the timer running
24853  *  0b10..Stop the timer
24854  */
24855 #define CDOG_CONTROL_DEBUG_HALT_CTRL(x)          (((uint32_t)(((uint32_t)(x)) << CDOG_CONTROL_DEBUG_HALT_CTRL_SHIFT)) & CDOG_CONTROL_DEBUG_HALT_CTRL_MASK)
24856 /*! @} */
24857 
24858 /*! @name RELOAD - Instruction Timer reload */
24859 /*! @{ */
24860 
24861 #define CDOG_RELOAD_RLOAD_MASK                   (0xFFFFFFFFU)
24862 #define CDOG_RELOAD_RLOAD_SHIFT                  (0U)
24863 /*! RLOAD - Instruction Timer reload value
24864  */
24865 #define CDOG_RELOAD_RLOAD(x)                     (((uint32_t)(((uint32_t)(x)) << CDOG_RELOAD_RLOAD_SHIFT)) & CDOG_RELOAD_RLOAD_MASK)
24866 /*! @} */
24867 
24868 /*! @name INSTRUCTION_TIMER - Instruction Timer */
24869 /*! @{ */
24870 
24871 #define CDOG_INSTRUCTION_TIMER_INSTIM_MASK       (0xFFFFFFFFU)
24872 #define CDOG_INSTRUCTION_TIMER_INSTIM_SHIFT      (0U)
24873 /*! INSTIM - Current value of the Instruction Timer
24874  */
24875 #define CDOG_INSTRUCTION_TIMER_INSTIM(x)         (((uint32_t)(((uint32_t)(x)) << CDOG_INSTRUCTION_TIMER_INSTIM_SHIFT)) & CDOG_INSTRUCTION_TIMER_INSTIM_MASK)
24876 /*! @} */
24877 
24878 /*! @name SECURE_COUNTER - Secure Counter */
24879 /*! @{ */
24880 
24881 #define CDOG_SECURE_COUNTER_SECCNT_MASK          (0xFFFFFFFFU)
24882 #define CDOG_SECURE_COUNTER_SECCNT_SHIFT         (0U)
24883 /*! SECCNT - Secure Counter
24884  */
24885 #define CDOG_SECURE_COUNTER_SECCNT(x)            (((uint32_t)(((uint32_t)(x)) << CDOG_SECURE_COUNTER_SECCNT_SHIFT)) & CDOG_SECURE_COUNTER_SECCNT_MASK)
24886 /*! @} */
24887 
24888 /*! @name STATUS - Status 1 */
24889 /*! @{ */
24890 
24891 #define CDOG_STATUS_NUMTOF_MASK                  (0xFFU)
24892 #define CDOG_STATUS_NUMTOF_SHIFT                 (0U)
24893 /*! NUMTOF - Number of TIMEOUT faults since the last POR
24894  */
24895 #define CDOG_STATUS_NUMTOF(x)                    (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS_NUMTOF_SHIFT)) & CDOG_STATUS_NUMTOF_MASK)
24896 
24897 #define CDOG_STATUS_NUMMISCOMPF_MASK             (0xFF00U)
24898 #define CDOG_STATUS_NUMMISCOMPF_SHIFT            (8U)
24899 /*! NUMMISCOMPF - Number of MISCOMPARE faults since the last POR
24900  */
24901 #define CDOG_STATUS_NUMMISCOMPF(x)               (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS_NUMMISCOMPF_SHIFT)) & CDOG_STATUS_NUMMISCOMPF_MASK)
24902 
24903 #define CDOG_STATUS_NUMILSEQF_MASK               (0xFF0000U)
24904 #define CDOG_STATUS_NUMILSEQF_SHIFT              (16U)
24905 /*! NUMILSEQF - Number of SEQUENCE faults since the last POR
24906  */
24907 #define CDOG_STATUS_NUMILSEQF(x)                 (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS_NUMILSEQF_SHIFT)) & CDOG_STATUS_NUMILSEQF_MASK)
24908 
24909 #define CDOG_STATUS_CURST_MASK                   (0xF0000000U)
24910 #define CDOG_STATUS_CURST_SHIFT                  (28U)
24911 /*! CURST - Current State
24912  */
24913 #define CDOG_STATUS_CURST(x)                     (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS_CURST_SHIFT)) & CDOG_STATUS_CURST_MASK)
24914 /*! @} */
24915 
24916 /*! @name STATUS2 - Status 2 */
24917 /*! @{ */
24918 
24919 #define CDOG_STATUS2_NUMCNTF_MASK                (0xFFU)
24920 #define CDOG_STATUS2_NUMCNTF_SHIFT               (0U)
24921 /*! NUMCNTF - Number of CONTROL faults since the last POR
24922  */
24923 #define CDOG_STATUS2_NUMCNTF(x)                  (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS2_NUMCNTF_SHIFT)) & CDOG_STATUS2_NUMCNTF_MASK)
24924 
24925 #define CDOG_STATUS2_NUMILLSTF_MASK              (0xFF00U)
24926 #define CDOG_STATUS2_NUMILLSTF_SHIFT             (8U)
24927 /*! NUMILLSTF - Number of STATE faults since the last POR
24928  */
24929 #define CDOG_STATUS2_NUMILLSTF(x)                (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS2_NUMILLSTF_SHIFT)) & CDOG_STATUS2_NUMILLSTF_MASK)
24930 
24931 #define CDOG_STATUS2_NUMILLA_MASK                (0xFF0000U)
24932 #define CDOG_STATUS2_NUMILLA_SHIFT               (16U)
24933 /*! NUMILLA - Number of ADDRESS faults since the last POR
24934  */
24935 #define CDOG_STATUS2_NUMILLA(x)                  (((uint32_t)(((uint32_t)(x)) << CDOG_STATUS2_NUMILLA_SHIFT)) & CDOG_STATUS2_NUMILLA_MASK)
24936 /*! @} */
24937 
24938 /*! @name FLAGS - Flags */
24939 /*! @{ */
24940 
24941 #define CDOG_FLAGS_TO_FLAG_MASK                  (0x1U)
24942 #define CDOG_FLAGS_TO_FLAG_SHIFT                 (0U)
24943 /*! TO_FLAG - TIMEOUT fault flag
24944  *  0b0..A TIMEOUT fault has not occurred
24945  *  0b1..A TIMEOUT fault has occurred
24946  */
24947 #define CDOG_FLAGS_TO_FLAG(x)                    (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_TO_FLAG_SHIFT)) & CDOG_FLAGS_TO_FLAG_MASK)
24948 
24949 #define CDOG_FLAGS_MISCOM_FLAG_MASK              (0x2U)
24950 #define CDOG_FLAGS_MISCOM_FLAG_SHIFT             (1U)
24951 /*! MISCOM_FLAG - MISCOMPARE fault flag
24952  *  0b0..A MISCOMPARE fault has not occurred
24953  *  0b1..A MISCOMPARE fault has occurred
24954  */
24955 #define CDOG_FLAGS_MISCOM_FLAG(x)                (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_MISCOM_FLAG_SHIFT)) & CDOG_FLAGS_MISCOM_FLAG_MASK)
24956 
24957 #define CDOG_FLAGS_SEQ_FLAG_MASK                 (0x4U)
24958 #define CDOG_FLAGS_SEQ_FLAG_SHIFT                (2U)
24959 /*! SEQ_FLAG - SEQUENCE fault flag
24960  *  0b0..A SEQUENCE fault has not occurred
24961  *  0b1..A SEQUENCE fault has occurred
24962  */
24963 #define CDOG_FLAGS_SEQ_FLAG(x)                   (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_SEQ_FLAG_SHIFT)) & CDOG_FLAGS_SEQ_FLAG_MASK)
24964 
24965 #define CDOG_FLAGS_CNT_FLAG_MASK                 (0x8U)
24966 #define CDOG_FLAGS_CNT_FLAG_SHIFT                (3U)
24967 /*! CNT_FLAG - CONTROL fault flag
24968  *  0b0..A CONTROL fault has not occurred
24969  *  0b1..A CONTROL fault has occurred
24970  */
24971 #define CDOG_FLAGS_CNT_FLAG(x)                   (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_CNT_FLAG_SHIFT)) & CDOG_FLAGS_CNT_FLAG_MASK)
24972 
24973 #define CDOG_FLAGS_STATE_FLAG_MASK               (0x10U)
24974 #define CDOG_FLAGS_STATE_FLAG_SHIFT              (4U)
24975 /*! STATE_FLAG - STATE fault flag
24976  *  0b0..A STATE fault has not occurred
24977  *  0b1..A STATE fault has occurred
24978  */
24979 #define CDOG_FLAGS_STATE_FLAG(x)                 (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_STATE_FLAG_SHIFT)) & CDOG_FLAGS_STATE_FLAG_MASK)
24980 
24981 #define CDOG_FLAGS_ADDR_FLAG_MASK                (0x20U)
24982 #define CDOG_FLAGS_ADDR_FLAG_SHIFT               (5U)
24983 /*! ADDR_FLAG - ADDRESS fault flag
24984  *  0b0..An ADDRESS fault has not occurred
24985  *  0b1..An ADDRESS fault has occurred
24986  */
24987 #define CDOG_FLAGS_ADDR_FLAG(x)                  (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_ADDR_FLAG_SHIFT)) & CDOG_FLAGS_ADDR_FLAG_MASK)
24988 
24989 #define CDOG_FLAGS_POR_FLAG_MASK                 (0x10000U)
24990 #define CDOG_FLAGS_POR_FLAG_SHIFT                (16U)
24991 /*! POR_FLAG - Power-on reset flag
24992  *  0b0..A Power-on reset event has not occurred
24993  *  0b1..A Power-on reset event has occurred
24994  */
24995 #define CDOG_FLAGS_POR_FLAG(x)                   (((uint32_t)(((uint32_t)(x)) << CDOG_FLAGS_POR_FLAG_SHIFT)) & CDOG_FLAGS_POR_FLAG_MASK)
24996 /*! @} */
24997 
24998 /*! @name PERSISTENT - Persistent Data Storage */
24999 /*! @{ */
25000 
25001 #define CDOG_PERSISTENT_PERSIS_MASK              (0xFFFFFFFFU)
25002 #define CDOG_PERSISTENT_PERSIS_SHIFT             (0U)
25003 /*! PERSIS - Persistent Storage
25004  */
25005 #define CDOG_PERSISTENT_PERSIS(x)                (((uint32_t)(((uint32_t)(x)) << CDOG_PERSISTENT_PERSIS_SHIFT)) & CDOG_PERSISTENT_PERSIS_MASK)
25006 /*! @} */
25007 
25008 /*! @name START - START Command */
25009 /*! @{ */
25010 
25011 #define CDOG_START_STRT_MASK                     (0xFFFFFFFFU)
25012 #define CDOG_START_STRT_SHIFT                    (0U)
25013 /*! STRT - Start command
25014  */
25015 #define CDOG_START_STRT(x)                       (((uint32_t)(((uint32_t)(x)) << CDOG_START_STRT_SHIFT)) & CDOG_START_STRT_MASK)
25016 /*! @} */
25017 
25018 /*! @name STOP - STOP Command */
25019 /*! @{ */
25020 
25021 #define CDOG_STOP_STP_MASK                       (0xFFFFFFFFU)
25022 #define CDOG_STOP_STP_SHIFT                      (0U)
25023 /*! STP - Stop command
25024  */
25025 #define CDOG_STOP_STP(x)                         (((uint32_t)(((uint32_t)(x)) << CDOG_STOP_STP_SHIFT)) & CDOG_STOP_STP_MASK)
25026 /*! @} */
25027 
25028 /*! @name RESTART - RESTART Command */
25029 /*! @{ */
25030 
25031 #define CDOG_RESTART_RSTRT_MASK                  (0xFFFFFFFFU)
25032 #define CDOG_RESTART_RSTRT_SHIFT                 (0U)
25033 /*! RSTRT - Restart command
25034  */
25035 #define CDOG_RESTART_RSTRT(x)                    (((uint32_t)(((uint32_t)(x)) << CDOG_RESTART_RSTRT_SHIFT)) & CDOG_RESTART_RSTRT_MASK)
25036 /*! @} */
25037 
25038 /*! @name ADD - ADD Command */
25039 /*! @{ */
25040 
25041 #define CDOG_ADD_AD_MASK                         (0xFFFFFFFFU)
25042 #define CDOG_ADD_AD_SHIFT                        (0U)
25043 /*! AD - ADD Write Value
25044  */
25045 #define CDOG_ADD_AD(x)                           (((uint32_t)(((uint32_t)(x)) << CDOG_ADD_AD_SHIFT)) & CDOG_ADD_AD_MASK)
25046 /*! @} */
25047 
25048 /*! @name ADD1 - ADD1 Command */
25049 /*! @{ */
25050 
25051 #define CDOG_ADD1_AD1_MASK                       (0xFFFFFFFFU)
25052 #define CDOG_ADD1_AD1_SHIFT                      (0U)
25053 /*! AD1 - ADD 1
25054  */
25055 #define CDOG_ADD1_AD1(x)                         (((uint32_t)(((uint32_t)(x)) << CDOG_ADD1_AD1_SHIFT)) & CDOG_ADD1_AD1_MASK)
25056 /*! @} */
25057 
25058 /*! @name ADD16 - ADD16 Command */
25059 /*! @{ */
25060 
25061 #define CDOG_ADD16_AD16_MASK                     (0xFFFFFFFFU)
25062 #define CDOG_ADD16_AD16_SHIFT                    (0U)
25063 /*! AD16 - ADD 16
25064  */
25065 #define CDOG_ADD16_AD16(x)                       (((uint32_t)(((uint32_t)(x)) << CDOG_ADD16_AD16_SHIFT)) & CDOG_ADD16_AD16_MASK)
25066 /*! @} */
25067 
25068 /*! @name ADD256 - ADD256 Command */
25069 /*! @{ */
25070 
25071 #define CDOG_ADD256_AD256_MASK                   (0xFFFFFFFFU)
25072 #define CDOG_ADD256_AD256_SHIFT                  (0U)
25073 /*! AD256 - ADD 256
25074  */
25075 #define CDOG_ADD256_AD256(x)                     (((uint32_t)(((uint32_t)(x)) << CDOG_ADD256_AD256_SHIFT)) & CDOG_ADD256_AD256_MASK)
25076 /*! @} */
25077 
25078 /*! @name SUB - SUB Command */
25079 /*! @{ */
25080 
25081 #define CDOG_SUB_S0B_MASK                        (0xFFFFFFFFU)
25082 #define CDOG_SUB_S0B_SHIFT                       (0U)
25083 /*! S0B - Subtract Write Value
25084  */
25085 #define CDOG_SUB_S0B(x)                          (((uint32_t)(((uint32_t)(x)) << CDOG_SUB_S0B_SHIFT)) & CDOG_SUB_S0B_MASK)
25086 /*! @} */
25087 
25088 /*! @name SUB1 - SUB1 Command */
25089 /*! @{ */
25090 
25091 #define CDOG_SUB1_S1B_MASK                       (0xFFFFFFFFU)
25092 #define CDOG_SUB1_S1B_SHIFT                      (0U)
25093 /*! S1B - Subtract 1
25094  */
25095 #define CDOG_SUB1_S1B(x)                         (((uint32_t)(((uint32_t)(x)) << CDOG_SUB1_S1B_SHIFT)) & CDOG_SUB1_S1B_MASK)
25096 /*! @} */
25097 
25098 /*! @name SUB16 - SUB16 Command */
25099 /*! @{ */
25100 
25101 #define CDOG_SUB16_SB16_MASK                     (0xFFFFFFFFU)
25102 #define CDOG_SUB16_SB16_SHIFT                    (0U)
25103 /*! SB16 - Subtract 16
25104  */
25105 #define CDOG_SUB16_SB16(x)                       (((uint32_t)(((uint32_t)(x)) << CDOG_SUB16_SB16_SHIFT)) & CDOG_SUB16_SB16_MASK)
25106 /*! @} */
25107 
25108 /*! @name SUB256 - SUB256 Command */
25109 /*! @{ */
25110 
25111 #define CDOG_SUB256_SB256_MASK                   (0xFFFFFFFFU)
25112 #define CDOG_SUB256_SB256_SHIFT                  (0U)
25113 /*! SB256 - Subtract 256
25114  */
25115 #define CDOG_SUB256_SB256(x)                     (((uint32_t)(((uint32_t)(x)) << CDOG_SUB256_SB256_SHIFT)) & CDOG_SUB256_SB256_MASK)
25116 /*! @} */
25117 
25118 
25119 /*!
25120  * @}
25121  */ /* end of group CDOG_Register_Masks */
25122 
25123 
25124 /* CDOG - Peripheral instance base addresses */
25125 /** Peripheral CDOG base address */
25126 #define CDOG_BASE                                (0x41900000u)
25127 /** Peripheral CDOG base pointer */
25128 #define CDOG                                     ((CDOG_Type *)CDOG_BASE)
25129 /** Array initializer of CDOG peripheral base addresses */
25130 #define CDOG_BASE_ADDRS                          { CDOG_BASE }
25131 /** Array initializer of CDOG peripheral base pointers */
25132 #define CDOG_BASE_PTRS                           { CDOG }
25133 
25134 /*!
25135  * @}
25136  */ /* end of group CDOG_Peripheral_Access_Layer */
25137 
25138 
25139 /* ----------------------------------------------------------------------------
25140    -- CMP Peripheral Access Layer
25141    ---------------------------------------------------------------------------- */
25142 
25143 /*!
25144  * @addtogroup CMP_Peripheral_Access_Layer CMP Peripheral Access Layer
25145  * @{
25146  */
25147 
25148 /** CMP - Register Layout Typedef */
25149 typedef struct {
25150   __I  uint32_t VERID;                             /**< Version ID Register, offset: 0x0 */
25151   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
25152   __IO uint32_t C0;                                /**< CMP Control Register 0, offset: 0x8 */
25153   __IO uint32_t C1;                                /**< CMP Control Register 1, offset: 0xC */
25154   __IO uint32_t C2;                                /**< CMP Control Register 2, offset: 0x10 */
25155   __IO uint32_t C3;                                /**< CMP Control Register 3, offset: 0x14 */
25156 } CMP_Type;
25157 
25158 /* ----------------------------------------------------------------------------
25159    -- CMP Register Masks
25160    ---------------------------------------------------------------------------- */
25161 
25162 /*!
25163  * @addtogroup CMP_Register_Masks CMP Register Masks
25164  * @{
25165  */
25166 
25167 /*! @name VERID - Version ID Register */
25168 /*! @{ */
25169 
25170 #define CMP_VERID_FEATURE_MASK                   (0xFFFFU)
25171 #define CMP_VERID_FEATURE_SHIFT                  (0U)
25172 /*! FEATURE - Feature Specification Number. This read only filed returns the feature set number.
25173  */
25174 #define CMP_VERID_FEATURE(x)                     (((uint32_t)(((uint32_t)(x)) << CMP_VERID_FEATURE_SHIFT)) & CMP_VERID_FEATURE_MASK)
25175 
25176 #define CMP_VERID_MINOR_MASK                     (0xFF0000U)
25177 #define CMP_VERID_MINOR_SHIFT                    (16U)
25178 /*! MINOR - Minor Version Number. This read only field returns the minor version number for the module specification.
25179  */
25180 #define CMP_VERID_MINOR(x)                       (((uint32_t)(((uint32_t)(x)) << CMP_VERID_MINOR_SHIFT)) & CMP_VERID_MINOR_MASK)
25181 
25182 #define CMP_VERID_MAJOR_MASK                     (0xFF000000U)
25183 #define CMP_VERID_MAJOR_SHIFT                    (24U)
25184 /*! MAJOR - Major Version Number. This read only field returns the major version number for the module specification.
25185  */
25186 #define CMP_VERID_MAJOR(x)                       (((uint32_t)(((uint32_t)(x)) << CMP_VERID_MAJOR_SHIFT)) & CMP_VERID_MAJOR_MASK)
25187 /*! @} */
25188 
25189 /*! @name PARAM - Parameter Register */
25190 /*! @{ */
25191 
25192 #define CMP_PARAM_PARAM_MASK                     (0xFFFFFFFFU)
25193 #define CMP_PARAM_PARAM_SHIFT                    (0U)
25194 /*! PARAM - Parameter Registers. This read only filed returns the feature parameters implemented along with the Version ID register.
25195  */
25196 #define CMP_PARAM_PARAM(x)                       (((uint32_t)(((uint32_t)(x)) << CMP_PARAM_PARAM_SHIFT)) & CMP_PARAM_PARAM_MASK)
25197 /*! @} */
25198 
25199 /*! @name C0 - CMP Control Register 0 */
25200 /*! @{ */
25201 
25202 #define CMP_C0_HYSTCTR_MASK                      (0x3U)
25203 #define CMP_C0_HYSTCTR_SHIFT                     (0U)
25204 /*! HYSTCTR - Comparator hard block hysteresis control. See chip data sheet to get the actual hystersis value with each level
25205  *  0b00..The hard block output has level 0 hysteresis internally.
25206  *  0b01..The hard block output has level 1 hysteresis internally.
25207  *  0b10..The hard block output has level 2 hysteresis internally.
25208  *  0b11..The hard block output has level 3 hysteresis internally.
25209  */
25210 #define CMP_C0_HYSTCTR(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C0_HYSTCTR_SHIFT)) & CMP_C0_HYSTCTR_MASK)
25211 
25212 #define CMP_C0_FILTER_CNT_MASK                   (0x70U)
25213 #define CMP_C0_FILTER_CNT_SHIFT                  (4U)
25214 /*! FILTER_CNT - Filter Sample Count
25215  *  0b000..Filter is disabled. If SE = 1, then COUT is a logic zero (this is not a legal state, and is not recommended). If SE = 0, COUT = COUTA.
25216  *  0b001..1 consecutive sample must agree (comparator output is simply sampled).
25217  *  0b010..2 consecutive samples must agree.
25218  *  0b011..3 consecutive samples must agree.
25219  *  0b100..4 consecutive samples must agree.
25220  *  0b101..5 consecutive samples must agree.
25221  *  0b110..6 consecutive samples must agree.
25222  *  0b111..7 consecutive samples must agree.
25223  */
25224 #define CMP_C0_FILTER_CNT(x)                     (((uint32_t)(((uint32_t)(x)) << CMP_C0_FILTER_CNT_SHIFT)) & CMP_C0_FILTER_CNT_MASK)
25225 
25226 #define CMP_C0_EN_MASK                           (0x100U)
25227 #define CMP_C0_EN_SHIFT                          (8U)
25228 /*! EN - Comparator Module Enable
25229  *  0b0..Analog Comparator is disabled.
25230  *  0b1..Analog Comparator is enabled.
25231  */
25232 #define CMP_C0_EN(x)                             (((uint32_t)(((uint32_t)(x)) << CMP_C0_EN_SHIFT)) & CMP_C0_EN_MASK)
25233 
25234 #define CMP_C0_OPE_MASK                          (0x200U)
25235 #define CMP_C0_OPE_SHIFT                         (9U)
25236 /*! OPE - Comparator Output Pin Enable
25237  *  0b0..When OPE is 0, the comparator output (after window/filter settings dependent on software configuration) is not available to a packaged pin.
25238  *  0b1..When OPE is 1, and if the software has configured the comparator to own a packaged pin, the comparator is available in a packaged pin.
25239  */
25240 #define CMP_C0_OPE(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_OPE_SHIFT)) & CMP_C0_OPE_MASK)
25241 
25242 #define CMP_C0_COS_MASK                          (0x400U)
25243 #define CMP_C0_COS_SHIFT                         (10U)
25244 /*! COS - Comparator Output Select
25245  *  0b0..Set CMPO to equal COUT (filtered comparator output).
25246  *  0b1..Set CMPO to equal COUTA (unfiltered comparator output).
25247  */
25248 #define CMP_C0_COS(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_COS_SHIFT)) & CMP_C0_COS_MASK)
25249 
25250 #define CMP_C0_INVT_MASK                         (0x800U)
25251 #define CMP_C0_INVT_SHIFT                        (11U)
25252 /*! INVT - Comparator invert
25253  *  0b0..Does not invert the comparator output.
25254  *  0b1..Inverts the comparator output.
25255  */
25256 #define CMP_C0_INVT(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C0_INVT_SHIFT)) & CMP_C0_INVT_MASK)
25257 
25258 #define CMP_C0_PMODE_MASK                        (0x1000U)
25259 #define CMP_C0_PMODE_SHIFT                       (12U)
25260 /*! PMODE - Power Mode Select
25261  *  0b0..Low Speed (LS) comparison mode is selected.
25262  *  0b1..High Speed (HS) comparison mode is selected.
25263  */
25264 #define CMP_C0_PMODE(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C0_PMODE_SHIFT)) & CMP_C0_PMODE_MASK)
25265 
25266 #define CMP_C0_WE_MASK                           (0x4000U)
25267 #define CMP_C0_WE_SHIFT                          (14U)
25268 /*! WE - Windowing Enable
25269  *  0b0..Windowing mode is not selected.
25270  *  0b1..Windowing mode is selected.
25271  */
25272 #define CMP_C0_WE(x)                             (((uint32_t)(((uint32_t)(x)) << CMP_C0_WE_SHIFT)) & CMP_C0_WE_MASK)
25273 
25274 #define CMP_C0_SE_MASK                           (0x8000U)
25275 #define CMP_C0_SE_SHIFT                          (15U)
25276 /*! SE - Sample Enable
25277  *  0b0..Sampling mode is not selected.
25278  *  0b1..Sampling mode is selected.
25279  */
25280 #define CMP_C0_SE(x)                             (((uint32_t)(((uint32_t)(x)) << CMP_C0_SE_SHIFT)) & CMP_C0_SE_MASK)
25281 
25282 #define CMP_C0_FPR_MASK                          (0xFF0000U)
25283 #define CMP_C0_FPR_SHIFT                         (16U)
25284 /*! FPR - Filter Sample Period
25285  */
25286 #define CMP_C0_FPR(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_FPR_SHIFT)) & CMP_C0_FPR_MASK)
25287 
25288 #define CMP_C0_COUT_MASK                         (0x1000000U)
25289 #define CMP_C0_COUT_SHIFT                        (24U)
25290 /*! COUT - Analog Comparator Output
25291  */
25292 #define CMP_C0_COUT(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C0_COUT_SHIFT)) & CMP_C0_COUT_MASK)
25293 
25294 #define CMP_C0_CFF_MASK                          (0x2000000U)
25295 #define CMP_C0_CFF_SHIFT                         (25U)
25296 /*! CFF - Analog Comparator Flag Falling
25297  *  0b0..A falling edge has not been detected on COUT.
25298  *  0b1..A falling edge on COUT has occurred.
25299  */
25300 #define CMP_C0_CFF(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_CFF_SHIFT)) & CMP_C0_CFF_MASK)
25301 
25302 #define CMP_C0_CFR_MASK                          (0x4000000U)
25303 #define CMP_C0_CFR_SHIFT                         (26U)
25304 /*! CFR - Analog Comparator Flag Rising
25305  *  0b0..A rising edge has not been detected on COUT.
25306  *  0b1..A rising edge on COUT has occurred.
25307  */
25308 #define CMP_C0_CFR(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_CFR_SHIFT)) & CMP_C0_CFR_MASK)
25309 
25310 #define CMP_C0_IEF_MASK                          (0x8000000U)
25311 #define CMP_C0_IEF_SHIFT                         (27U)
25312 /*! IEF - Comparator Interrupt Enable Falling
25313  *  0b0..Interrupt is disabled.
25314  *  0b1..Interrupt is enabled.
25315  */
25316 #define CMP_C0_IEF(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_IEF_SHIFT)) & CMP_C0_IEF_MASK)
25317 
25318 #define CMP_C0_IER_MASK                          (0x10000000U)
25319 #define CMP_C0_IER_SHIFT                         (28U)
25320 /*! IER - Comparator Interrupt Enable Rising
25321  *  0b0..Interrupt is disabled.
25322  *  0b1..Interrupt is enabled.
25323  */
25324 #define CMP_C0_IER(x)                            (((uint32_t)(((uint32_t)(x)) << CMP_C0_IER_SHIFT)) & CMP_C0_IER_MASK)
25325 
25326 #define CMP_C0_DMAEN_MASK                        (0x40000000U)
25327 #define CMP_C0_DMAEN_SHIFT                       (30U)
25328 /*! DMAEN - DMA Enable
25329  *  0b0..DMA is disabled.
25330  *  0b1..DMA is enabled.
25331  */
25332 #define CMP_C0_DMAEN(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C0_DMAEN_SHIFT)) & CMP_C0_DMAEN_MASK)
25333 
25334 #define CMP_C0_LINKEN_MASK                       (0x80000000U)
25335 #define CMP_C0_LINKEN_SHIFT                      (31U)
25336 /*! LINKEN - CMP to DAC link enable.
25337  *  0b0..CMP to DAC link is disabled
25338  *  0b1..CMP to DAC link is enabled.
25339  */
25340 #define CMP_C0_LINKEN(x)                         (((uint32_t)(((uint32_t)(x)) << CMP_C0_LINKEN_SHIFT)) & CMP_C0_LINKEN_MASK)
25341 /*! @} */
25342 
25343 /*! @name C1 - CMP Control Register 1 */
25344 /*! @{ */
25345 
25346 #define CMP_C1_VOSEL_MASK                        (0xFFU)
25347 #define CMP_C1_VOSEL_SHIFT                       (0U)
25348 /*! VOSEL - DAC Output Voltage Select
25349  */
25350 #define CMP_C1_VOSEL(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C1_VOSEL_SHIFT)) & CMP_C1_VOSEL_MASK)
25351 
25352 #define CMP_C1_DMODE_MASK                        (0x100U)
25353 #define CMP_C1_DMODE_SHIFT                       (8U)
25354 /*! DMODE - DAC Mode Selection
25355  *  0b0..DAC is selected to work in low speed and low power mode.
25356  *  0b1..DAC is selected to work in high speed high power mode.
25357  */
25358 #define CMP_C1_DMODE(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C1_DMODE_SHIFT)) & CMP_C1_DMODE_MASK)
25359 
25360 #define CMP_C1_VRSEL_MASK                        (0x200U)
25361 #define CMP_C1_VRSEL_SHIFT                       (9U)
25362 /*! VRSEL - Supply Voltage Reference Source Select
25363  *  0b0..Vin1 is selected as resistor ladder network supply reference Vin. Vin1 is from internal PMC.
25364  *  0b1..Vin2 is selected as resistor ladder network supply reference Vin. Vin2 is from PAD.
25365  */
25366 #define CMP_C1_VRSEL(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C1_VRSEL_SHIFT)) & CMP_C1_VRSEL_MASK)
25367 
25368 #define CMP_C1_DACEN_MASK                        (0x400U)
25369 #define CMP_C1_DACEN_SHIFT                       (10U)
25370 /*! DACEN - DAC Enable
25371  *  0b0..DAC is disabled.
25372  *  0b1..DAC is enabled.
25373  */
25374 #define CMP_C1_DACEN(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C1_DACEN_SHIFT)) & CMP_C1_DACEN_MASK)
25375 
25376 #define CMP_C1_CHN0_MASK                         (0x10000U)
25377 #define CMP_C1_CHN0_SHIFT                        (16U)
25378 /*! CHN0 - Channel 0 input enable
25379  */
25380 #define CMP_C1_CHN0(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN0_SHIFT)) & CMP_C1_CHN0_MASK)
25381 
25382 #define CMP_C1_CHN1_MASK                         (0x20000U)
25383 #define CMP_C1_CHN1_SHIFT                        (17U)
25384 /*! CHN1 - Channel 1 input enable
25385  */
25386 #define CMP_C1_CHN1(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN1_SHIFT)) & CMP_C1_CHN1_MASK)
25387 
25388 #define CMP_C1_CHN2_MASK                         (0x40000U)
25389 #define CMP_C1_CHN2_SHIFT                        (18U)
25390 /*! CHN2 - Channel 2 input enable
25391  */
25392 #define CMP_C1_CHN2(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN2_SHIFT)) & CMP_C1_CHN2_MASK)
25393 
25394 #define CMP_C1_CHN3_MASK                         (0x80000U)
25395 #define CMP_C1_CHN3_SHIFT                        (19U)
25396 /*! CHN3 - Channel 3 input enable
25397  */
25398 #define CMP_C1_CHN3(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN3_SHIFT)) & CMP_C1_CHN3_MASK)
25399 
25400 #define CMP_C1_CHN4_MASK                         (0x100000U)
25401 #define CMP_C1_CHN4_SHIFT                        (20U)
25402 /*! CHN4 - Channel 4 input enable
25403  */
25404 #define CMP_C1_CHN4(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN4_SHIFT)) & CMP_C1_CHN4_MASK)
25405 
25406 #define CMP_C1_CHN5_MASK                         (0x200000U)
25407 #define CMP_C1_CHN5_SHIFT                        (21U)
25408 /*! CHN5 - Channel 5 input enable
25409  */
25410 #define CMP_C1_CHN5(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_CHN5_SHIFT)) & CMP_C1_CHN5_MASK)
25411 
25412 #define CMP_C1_MSEL_MASK                         (0x7000000U)
25413 #define CMP_C1_MSEL_SHIFT                        (24U)
25414 /*! MSEL - Minus Input MUX Control
25415  *  0b000..Internal Negative Input 0 for Minus Channel -- Internal Minus Input
25416  *  0b001..External Input 1 for Minus Channel -- Reference Input 0
25417  *  0b010..External Input 2 for Minus Channel -- Reference Input 1
25418  *  0b011..External Input 3 for Minus Channel -- Reference Input 2
25419  *  0b100..External Input 4 for Minus Channel -- Reference Input 3
25420  *  0b101..External Input 5 for Minus Channel -- Reference Input 4
25421  *  0b110..External Input 6 for Minus Channel -- Reference Input 5
25422  *  0b111..Internal 8b DAC output
25423  */
25424 #define CMP_C1_MSEL(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_MSEL_SHIFT)) & CMP_C1_MSEL_MASK)
25425 
25426 #define CMP_C1_PSEL_MASK                         (0x70000000U)
25427 #define CMP_C1_PSEL_SHIFT                        (28U)
25428 /*! PSEL - Plus Input MUX Control
25429  *  0b000..Internal Positive Input 0 for Plus Channel -- Internal Plus Input
25430  *  0b001..External Input 1 for Plus Channel -- Reference Input 0
25431  *  0b010..External Input 2 for Plus Channel -- Reference Input 1
25432  *  0b011..External Input 3 for Plus Channel -- Reference Input 2
25433  *  0b100..External Input 4 for Plus Channel -- Reference Input 3
25434  *  0b101..External Input 5 for Plus Channel -- Reference Input 4
25435  *  0b110..External Input 6 for Plus Channel -- Reference Input 5
25436  *  0b111..Internal 8b DAC output
25437  */
25438 #define CMP_C1_PSEL(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C1_PSEL_SHIFT)) & CMP_C1_PSEL_MASK)
25439 /*! @} */
25440 
25441 /*! @name C2 - CMP Control Register 2 */
25442 /*! @{ */
25443 
25444 #define CMP_C2_ACOn_MASK                         (0x3FU)
25445 #define CMP_C2_ACOn_SHIFT                        (0U)
25446 /*! ACOn - ACOn
25447  */
25448 #define CMP_C2_ACOn(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_ACOn_SHIFT)) & CMP_C2_ACOn_MASK)
25449 
25450 #define CMP_C2_INITMOD_MASK                      (0x3F00U)
25451 #define CMP_C2_INITMOD_SHIFT                     (8U)
25452 /*! INITMOD - Comparator and DAC initialization delay modulus.
25453  */
25454 #define CMP_C2_INITMOD(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C2_INITMOD_SHIFT)) & CMP_C2_INITMOD_MASK)
25455 
25456 #define CMP_C2_NSAM_MASK                         (0xC000U)
25457 #define CMP_C2_NSAM_SHIFT                        (14U)
25458 /*! NSAM - Number of sample clocks
25459  *  0b00..The comparison result is sampled as soon as the active channel is scanned in one round-robin clock.
25460  *  0b01..The sampling takes place 1 round-robin clock cycle after the next cycle of the round-robin clock.
25461  *  0b10..The sampling takes place 2 round-robin clock cycles after the next cycle of the round-robin clock.
25462  *  0b11..The sampling takes place 3 round-robin clock cycles after the next cycle of the round-robin clock.
25463  */
25464 #define CMP_C2_NSAM(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_NSAM_SHIFT)) & CMP_C2_NSAM_MASK)
25465 
25466 #define CMP_C2_CH0F_MASK                         (0x10000U)
25467 #define CMP_C2_CH0F_SHIFT                        (16U)
25468 /*! CH0F - CH0F
25469  */
25470 #define CMP_C2_CH0F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH0F_SHIFT)) & CMP_C2_CH0F_MASK)
25471 
25472 #define CMP_C2_CH1F_MASK                         (0x20000U)
25473 #define CMP_C2_CH1F_SHIFT                        (17U)
25474 /*! CH1F - CH1F
25475  */
25476 #define CMP_C2_CH1F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH1F_SHIFT)) & CMP_C2_CH1F_MASK)
25477 
25478 #define CMP_C2_CH2F_MASK                         (0x40000U)
25479 #define CMP_C2_CH2F_SHIFT                        (18U)
25480 /*! CH2F - CH2F
25481  */
25482 #define CMP_C2_CH2F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH2F_SHIFT)) & CMP_C2_CH2F_MASK)
25483 
25484 #define CMP_C2_CH3F_MASK                         (0x80000U)
25485 #define CMP_C2_CH3F_SHIFT                        (19U)
25486 /*! CH3F - CH3F
25487  */
25488 #define CMP_C2_CH3F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH3F_SHIFT)) & CMP_C2_CH3F_MASK)
25489 
25490 #define CMP_C2_CH4F_MASK                         (0x100000U)
25491 #define CMP_C2_CH4F_SHIFT                        (20U)
25492 /*! CH4F - CH4F
25493  */
25494 #define CMP_C2_CH4F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH4F_SHIFT)) & CMP_C2_CH4F_MASK)
25495 
25496 #define CMP_C2_CH5F_MASK                         (0x200000U)
25497 #define CMP_C2_CH5F_SHIFT                        (21U)
25498 /*! CH5F - CH5F
25499  */
25500 #define CMP_C2_CH5F(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_CH5F_SHIFT)) & CMP_C2_CH5F_MASK)
25501 
25502 #define CMP_C2_FXMXCH_MASK                       (0xE000000U)
25503 #define CMP_C2_FXMXCH_SHIFT                      (25U)
25504 /*! FXMXCH - Fixed channel selection
25505  *  0b000..External Reference Input 0 is selected as the fixed reference input for the fixed mux port.
25506  *  0b001..External Reference Input 1 is selected as the fixed reference input for the fixed mux port.
25507  *  0b010..External Reference Input 2 is selected as the fixed reference input for the fixed mux port.
25508  *  0b011..External Reference Input 3 is selected as the fixed reference input for the fixed mux port.
25509  *  0b100..External Reference Input 4 is selected as the fixed reference input for the fixed mux port.
25510  *  0b101..External Reference Input 5 is selected as the fixed reference input for the fixed mux port.
25511  *  0b110..Reserved.
25512  *  0b111..The 8bit DAC is selected as the fixed reference input for the fixed mux port.
25513  */
25514 #define CMP_C2_FXMXCH(x)                         (((uint32_t)(((uint32_t)(x)) << CMP_C2_FXMXCH_SHIFT)) & CMP_C2_FXMXCH_MASK)
25515 
25516 #define CMP_C2_FXMP_MASK                         (0x20000000U)
25517 #define CMP_C2_FXMP_SHIFT                        (29U)
25518 /*! FXMP - Fixed MUX Port
25519  *  0b0..The Plus port is fixed. Only the inputs to the Minus port are swept in each round.
25520  *  0b1..The Minus port is fixed. Only the inputs to the Plus port are swept in each round.
25521  */
25522 #define CMP_C2_FXMP(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_FXMP_SHIFT)) & CMP_C2_FXMP_MASK)
25523 
25524 #define CMP_C2_RRIE_MASK                         (0x40000000U)
25525 #define CMP_C2_RRIE_SHIFT                        (30U)
25526 /*! RRIE - Round-Robin interrupt enable
25527  *  0b0..The round-robin interrupt is disabled.
25528  *  0b1..The round-robin interrupt is enabled when a comparison result changes from the last sample.
25529  */
25530 #define CMP_C2_RRIE(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C2_RRIE_SHIFT)) & CMP_C2_RRIE_MASK)
25531 /*! @} */
25532 
25533 /*! @name C3 - CMP Control Register 3 */
25534 /*! @{ */
25535 
25536 #define CMP_C3_ACPH2TC_MASK                      (0x70U)
25537 #define CMP_C3_ACPH2TC_SHIFT                     (4U)
25538 /*! ACPH2TC - Analog Comparator Phase2 Timing Control.
25539  *  0b000..Phase2 active time in one sampling period equals to T
25540  *  0b001..Phase2 active time in one sampling period equals to 2*T
25541  *  0b010..Phase2 active time in one sampling period equals to 4*T
25542  *  0b011..Phase2 active time in one sampling period equals to 8*T
25543  *  0b100..Phase2 active time in one sampling period equals to 16*T
25544  *  0b101..Phase2 active time in one sampling period equals to 32*T
25545  *  0b110..Phase2 active time in one sampling period equals to 64*T
25546  *  0b111..Phase2 active time in one sampling period equals to 16*T
25547  */
25548 #define CMP_C3_ACPH2TC(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C3_ACPH2TC_SHIFT)) & CMP_C3_ACPH2TC_MASK)
25549 
25550 #define CMP_C3_ACPH1TC_MASK                      (0x700U)
25551 #define CMP_C3_ACPH1TC_SHIFT                     (8U)
25552 /*! ACPH1TC - Analog Comparator Phase1 Timing Control.
25553  *  0b000..Phase1 active time in one sampling period equals to T
25554  *  0b001..Phase1 active time in one sampling period equals to 2*T
25555  *  0b010..Phase1 active time in one sampling period equals to 4*T
25556  *  0b011..Phase1 active time in one sampling period equals to 8*T
25557  *  0b100..Phase1 active time in one sampling period equals to T
25558  *  0b101..Phase1 active time in one sampling period equals to T
25559  *  0b110..Phase1 active time in one sampling period equals to T
25560  *  0b111..Phase1 active time in one sampling period equals to 0
25561  */
25562 #define CMP_C3_ACPH1TC(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C3_ACPH1TC_SHIFT)) & CMP_C3_ACPH1TC_MASK)
25563 
25564 #define CMP_C3_ACSAT_MASK                        (0x7000U)
25565 #define CMP_C3_ACSAT_SHIFT                       (12U)
25566 /*! ACSAT - Analog Comparator Sampling Time control.
25567  *  0b000..The sampling time equals to T
25568  *  0b001..The sampling time equasl to 2*T
25569  *  0b010..The sampling time equasl to 4*T
25570  *  0b011..The sampling time equasl to 8*T
25571  *  0b100..The sampling time equasl to 16*T
25572  *  0b101..The sampling time equasl to 32*T
25573  *  0b110..The sampling time equasl to 64*T
25574  *  0b111..The sampling time equasl to 256*T
25575  */
25576 #define CMP_C3_ACSAT(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C3_ACSAT_SHIFT)) & CMP_C3_ACSAT_MASK)
25577 
25578 #define CMP_C3_DMCS_MASK                         (0x10000U)
25579 #define CMP_C3_DMCS_SHIFT                        (16U)
25580 /*! DMCS - Discrete Mode Clock Selection
25581  *  0b0..Slow clock is selected for the timing generation.
25582  *  0b1..Fast clock is selected for the timing generation.
25583  */
25584 #define CMP_C3_DMCS(x)                           (((uint32_t)(((uint32_t)(x)) << CMP_C3_DMCS_SHIFT)) & CMP_C3_DMCS_MASK)
25585 
25586 #define CMP_C3_RDIVE_MASK                        (0x100000U)
25587 #define CMP_C3_RDIVE_SHIFT                       (20U)
25588 /*! RDIVE - Resistor Divider Enable
25589  *  0b0..The resistor is not enabled even when either NCHEN or PCHEN is set to1 but the actual input is in the range of 0 - 1.8v.
25590  *  0b1..The resistor is enabled because the inputs are above 1.8v.
25591  */
25592 #define CMP_C3_RDIVE(x)                          (((uint32_t)(((uint32_t)(x)) << CMP_C3_RDIVE_SHIFT)) & CMP_C3_RDIVE_MASK)
25593 
25594 #define CMP_C3_NCHCTEN_MASK                      (0x1000000U)
25595 #define CMP_C3_NCHCTEN_SHIFT                     (24U)
25596 /*! NCHCTEN - Negative Channel Continuous Mode Enable.
25597  *  0b0..Negative channel is in Discrete Mode and special timing needs to be configured.
25598  *  0b1..Negative channel is in Continuous Mode and no special timing is requried.
25599  */
25600 #define CMP_C3_NCHCTEN(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C3_NCHCTEN_SHIFT)) & CMP_C3_NCHCTEN_MASK)
25601 
25602 #define CMP_C3_PCHCTEN_MASK                      (0x10000000U)
25603 #define CMP_C3_PCHCTEN_SHIFT                     (28U)
25604 /*! PCHCTEN - Positive Channel Continuous Mode Enable.
25605  *  0b0..Positive channel is in Discrete Mode and special timing needs to be configured.
25606  *  0b1..Positive channel is in Continuous Mode and no special timing is requried.
25607  */
25608 #define CMP_C3_PCHCTEN(x)                        (((uint32_t)(((uint32_t)(x)) << CMP_C3_PCHCTEN_SHIFT)) & CMP_C3_PCHCTEN_MASK)
25609 /*! @} */
25610 
25611 
25612 /*!
25613  * @}
25614  */ /* end of group CMP_Register_Masks */
25615 
25616 
25617 /* CMP - Peripheral instance base addresses */
25618 /** Peripheral CMP1 base address */
25619 #define CMP1_BASE                                (0x401A4000u)
25620 /** Peripheral CMP1 base pointer */
25621 #define CMP1                                     ((CMP_Type *)CMP1_BASE)
25622 /** Peripheral CMP2 base address */
25623 #define CMP2_BASE                                (0x401A8000u)
25624 /** Peripheral CMP2 base pointer */
25625 #define CMP2                                     ((CMP_Type *)CMP2_BASE)
25626 /** Peripheral CMP3 base address */
25627 #define CMP3_BASE                                (0x401AC000u)
25628 /** Peripheral CMP3 base pointer */
25629 #define CMP3                                     ((CMP_Type *)CMP3_BASE)
25630 /** Peripheral CMP4 base address */
25631 #define CMP4_BASE                                (0x401B0000u)
25632 /** Peripheral CMP4 base pointer */
25633 #define CMP4                                     ((CMP_Type *)CMP4_BASE)
25634 /** Array initializer of CMP peripheral base addresses */
25635 #define CMP_BASE_ADDRS                           { 0u, CMP1_BASE, CMP2_BASE, CMP3_BASE, CMP4_BASE }
25636 /** Array initializer of CMP peripheral base pointers */
25637 #define CMP_BASE_PTRS                            { (CMP_Type *)0u, CMP1, CMP2, CMP3, CMP4 }
25638 /** Interrupt vectors for the CMP peripheral type */
25639 #define CMP_IRQS                                 { NotAvail_IRQn, ACMP1_IRQn, ACMP2_IRQn, ACMP3_IRQn, ACMP4_IRQn }
25640 
25641 /*!
25642  * @}
25643  */ /* end of group CMP_Peripheral_Access_Layer */
25644 
25645 
25646 /* ----------------------------------------------------------------------------
25647    -- CSI Peripheral Access Layer
25648    ---------------------------------------------------------------------------- */
25649 
25650 /*!
25651  * @addtogroup CSI_Peripheral_Access_Layer CSI Peripheral Access Layer
25652  * @{
25653  */
25654 
25655 /** CSI - Register Layout Typedef */
25656 typedef struct {
25657   __IO uint32_t CR1;                               /**< CSI Control Register 1, offset: 0x0 */
25658   __IO uint32_t CR2;                               /**< CSI Control Register 2, offset: 0x4 */
25659   __IO uint32_t CR3;                               /**< CSI Control Register 3, offset: 0x8 */
25660   __I  uint32_t STATFIFO;                          /**< CSI Statistic FIFO Register, offset: 0xC */
25661   __I  uint32_t RFIFO;                             /**< CSI RX FIFO Register, offset: 0x10 */
25662   __IO uint32_t RXCNT;                             /**< CSI RX Count Register, offset: 0x14 */
25663   __IO uint32_t SR;                                /**< CSI Status Register, offset: 0x18 */
25664        uint8_t RESERVED_0[4];
25665   __IO uint32_t DMASA_STATFIFO;                    /**< CSI DMA Start Address Register - for STATFIFO, offset: 0x20 */
25666   __IO uint32_t DMATS_STATFIFO;                    /**< CSI DMA Transfer Size Register - for STATFIFO, offset: 0x24 */
25667   __IO uint32_t DMASA_FB1;                         /**< CSI DMA Start Address Register - for Frame Buffer1, offset: 0x28 */
25668   __IO uint32_t DMASA_FB2;                         /**< CSI DMA Transfer Size Register - for Frame Buffer2, offset: 0x2C */
25669   __IO uint32_t FBUF_PARA;                         /**< CSI Frame Buffer Parameter Register, offset: 0x30 */
25670   __IO uint32_t IMAG_PARA;                         /**< CSI Image Parameter Register, offset: 0x34 */
25671        uint8_t RESERVED_1[16];
25672   __IO uint32_t CR18;                              /**< CSI Control Register 18, offset: 0x48 */
25673   __IO uint32_t CR19;                              /**< CSI Control Register 19, offset: 0x4C */
25674   __IO uint32_t CR20;                              /**< CSI Control Register 20, offset: 0x50 */
25675   __IO uint32_t CR[256];                           /**< CSI Control Register, array offset: 0x54, array step: 0x4 */
25676 } CSI_Type;
25677 
25678 /* ----------------------------------------------------------------------------
25679    -- CSI Register Masks
25680    ---------------------------------------------------------------------------- */
25681 
25682 /*!
25683  * @addtogroup CSI_Register_Masks CSI Register Masks
25684  * @{
25685  */
25686 
25687 /*! @name CR1 - CSI Control Register 1 */
25688 /*! @{ */
25689 
25690 #define CSI_CR1_PIXEL_BIT_MASK                   (0x1U)
25691 #define CSI_CR1_PIXEL_BIT_SHIFT                  (0U)
25692 /*! PIXEL_BIT
25693  *  0b0..8-bit data for each pixel
25694  *  0b1..10-bit data for each pixel
25695  */
25696 #define CSI_CR1_PIXEL_BIT(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_PIXEL_BIT_SHIFT)) & CSI_CR1_PIXEL_BIT_MASK)
25697 
25698 #define CSI_CR1_REDGE_MASK                       (0x2U)
25699 #define CSI_CR1_REDGE_SHIFT                      (1U)
25700 /*! REDGE
25701  *  0b0..Pixel data is latched at the falling edge of CSI_PIXCLK
25702  *  0b1..Pixel data is latched at the rising edge of CSI_PIXCLK
25703  */
25704 #define CSI_CR1_REDGE(x)                         (((uint32_t)(((uint32_t)(x)) << CSI_CR1_REDGE_SHIFT)) & CSI_CR1_REDGE_MASK)
25705 
25706 #define CSI_CR1_INV_PCLK_MASK                    (0x4U)
25707 #define CSI_CR1_INV_PCLK_SHIFT                   (2U)
25708 /*! INV_PCLK
25709  *  0b0..CSI_PIXCLK is directly applied to internal circuitry
25710  *  0b1..CSI_PIXCLK is inverted before applied to internal circuitry
25711  */
25712 #define CSI_CR1_INV_PCLK(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_CR1_INV_PCLK_SHIFT)) & CSI_CR1_INV_PCLK_MASK)
25713 
25714 #define CSI_CR1_INV_DATA_MASK                    (0x8U)
25715 #define CSI_CR1_INV_DATA_SHIFT                   (3U)
25716 /*! INV_DATA
25717  *  0b0..CSI_D[7:0] data lines are directly applied to internal circuitry
25718  *  0b1..CSI_D[7:0] data lines are inverted before applied to internal circuitry
25719  */
25720 #define CSI_CR1_INV_DATA(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_CR1_INV_DATA_SHIFT)) & CSI_CR1_INV_DATA_MASK)
25721 
25722 #define CSI_CR1_GCLK_MODE_MASK                   (0x10U)
25723 #define CSI_CR1_GCLK_MODE_SHIFT                  (4U)
25724 /*! GCLK_MODE
25725  *  0b0..Non-gated clock mode. All incoming pixel clocks are valid. HSYNC is ignored.
25726  *  0b1..Gated clock mode. Pixel clock signal is valid only when HSYNC is active.
25727  */
25728 #define CSI_CR1_GCLK_MODE(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_GCLK_MODE_SHIFT)) & CSI_CR1_GCLK_MODE_MASK)
25729 
25730 #define CSI_CR1_CLR_RXFIFO_MASK                  (0x20U)
25731 #define CSI_CR1_CLR_RXFIFO_SHIFT                 (5U)
25732 #define CSI_CR1_CLR_RXFIFO(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR1_CLR_RXFIFO_SHIFT)) & CSI_CR1_CLR_RXFIFO_MASK)
25733 
25734 #define CSI_CR1_CLR_STATFIFO_MASK                (0x40U)
25735 #define CSI_CR1_CLR_STATFIFO_SHIFT               (6U)
25736 #define CSI_CR1_CLR_STATFIFO(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR1_CLR_STATFIFO_SHIFT)) & CSI_CR1_CLR_STATFIFO_MASK)
25737 
25738 #define CSI_CR1_PACK_DIR_MASK                    (0x80U)
25739 #define CSI_CR1_PACK_DIR_SHIFT                   (7U)
25740 /*! PACK_DIR
25741  *  0b0..Pack from LSB first. For image data, 0x11, 0x22, 0x33, 0x44, it will appear as 0x44332211 in RX FIFO. For
25742  *       stat data, 0xAAAA, 0xBBBB, it will appear as 0xBBBBAAAA in STAT FIFO.
25743  *  0b1..Pack from MSB first. For image data, 0x11, 0x22, 0x33, 0x44, it will appear as 0x11223344 in RX FIFO. For
25744  *       stat data, 0xAAAA, 0xBBBB, it will appear as 0xAAAABBBB in STAT FIFO.
25745  */
25746 #define CSI_CR1_PACK_DIR(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_CR1_PACK_DIR_SHIFT)) & CSI_CR1_PACK_DIR_MASK)
25747 
25748 #define CSI_CR1_FCC_MASK                         (0x100U)
25749 #define CSI_CR1_FCC_SHIFT                        (8U)
25750 /*! FCC
25751  *  0b0..Asynchronous FIFO clear is selected.
25752  *  0b1..Synchronous FIFO clear is selected.
25753  */
25754 #define CSI_CR1_FCC(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR1_FCC_SHIFT)) & CSI_CR1_FCC_MASK)
25755 
25756 #define CSI_CR1_CCIR_EN_MASK                     (0x400U)
25757 #define CSI_CR1_CCIR_EN_SHIFT                    (10U)
25758 /*! CCIR_EN
25759  *  0b0..Traditional interface is selected.
25760  *  0b1..BT.656 interface is selected.
25761  */
25762 #define CSI_CR1_CCIR_EN(x)                       (((uint32_t)(((uint32_t)(x)) << CSI_CR1_CCIR_EN_SHIFT)) & CSI_CR1_CCIR_EN_MASK)
25763 
25764 #define CSI_CR1_HSYNC_POL_MASK                   (0x800U)
25765 #define CSI_CR1_HSYNC_POL_SHIFT                  (11U)
25766 /*! HSYNC_POL
25767  *  0b0..HSYNC is active low
25768  *  0b1..HSYNC is active high
25769  */
25770 #define CSI_CR1_HSYNC_POL(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_HSYNC_POL_SHIFT)) & CSI_CR1_HSYNC_POL_MASK)
25771 
25772 #define CSI_CR1_HISTOGRAM_CALC_DONE_IE_MASK      (0x1000U)
25773 #define CSI_CR1_HISTOGRAM_CALC_DONE_IE_SHIFT     (12U)
25774 /*! HISTOGRAM_CALC_DONE_IE
25775  *  0b0..Histogram done interrupt disable
25776  *  0b1..Histogram done interrupt enable
25777  */
25778 #define CSI_CR1_HISTOGRAM_CALC_DONE_IE(x)        (((uint32_t)(((uint32_t)(x)) << CSI_CR1_HISTOGRAM_CALC_DONE_IE_SHIFT)) & CSI_CR1_HISTOGRAM_CALC_DONE_IE_MASK)
25779 
25780 #define CSI_CR1_SOF_INTEN_MASK                   (0x10000U)
25781 #define CSI_CR1_SOF_INTEN_SHIFT                  (16U)
25782 /*! SOF_INTEN
25783  *  0b0..SOF interrupt disable
25784  *  0b1..SOF interrupt enable
25785  */
25786 #define CSI_CR1_SOF_INTEN(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_SOF_INTEN_SHIFT)) & CSI_CR1_SOF_INTEN_MASK)
25787 
25788 #define CSI_CR1_SOF_POL_MASK                     (0x20000U)
25789 #define CSI_CR1_SOF_POL_SHIFT                    (17U)
25790 /*! SOF_POL
25791  *  0b0..SOF interrupt is generated on SOF falling edge
25792  *  0b1..SOF interrupt is generated on SOF rising edge
25793  */
25794 #define CSI_CR1_SOF_POL(x)                       (((uint32_t)(((uint32_t)(x)) << CSI_CR1_SOF_POL_SHIFT)) & CSI_CR1_SOF_POL_MASK)
25795 
25796 #define CSI_CR1_RXFF_INTEN_MASK                  (0x40000U)
25797 #define CSI_CR1_RXFF_INTEN_SHIFT                 (18U)
25798 /*! RXFF_INTEN
25799  *  0b0..RxFIFO full interrupt disable
25800  *  0b1..RxFIFO full interrupt enable
25801  */
25802 #define CSI_CR1_RXFF_INTEN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR1_RXFF_INTEN_SHIFT)) & CSI_CR1_RXFF_INTEN_MASK)
25803 
25804 #define CSI_CR1_FB1_DMA_DONE_INTEN_MASK          (0x80000U)
25805 #define CSI_CR1_FB1_DMA_DONE_INTEN_SHIFT         (19U)
25806 /*! FB1_DMA_DONE_INTEN
25807  *  0b0..Frame Buffer1 DMA Transfer Done interrupt disable
25808  *  0b1..Frame Buffer1 DMA Transfer Done interrupt enable
25809  */
25810 #define CSI_CR1_FB1_DMA_DONE_INTEN(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR1_FB1_DMA_DONE_INTEN_SHIFT)) & CSI_CR1_FB1_DMA_DONE_INTEN_MASK)
25811 
25812 #define CSI_CR1_FB2_DMA_DONE_INTEN_MASK          (0x100000U)
25813 #define CSI_CR1_FB2_DMA_DONE_INTEN_SHIFT         (20U)
25814 /*! FB2_DMA_DONE_INTEN
25815  *  0b0..Frame Buffer2 DMA Transfer Done interrupt disable
25816  *  0b1..Frame Buffer2 DMA Transfer Done interrupt enable
25817  */
25818 #define CSI_CR1_FB2_DMA_DONE_INTEN(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR1_FB2_DMA_DONE_INTEN_SHIFT)) & CSI_CR1_FB2_DMA_DONE_INTEN_MASK)
25819 
25820 #define CSI_CR1_STATFF_INTEN_MASK                (0x200000U)
25821 #define CSI_CR1_STATFF_INTEN_SHIFT               (21U)
25822 /*! STATFF_INTEN
25823  *  0b0..STATFIFO full interrupt disable
25824  *  0b1..STATFIFO full interrupt enable
25825  */
25826 #define CSI_CR1_STATFF_INTEN(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR1_STATFF_INTEN_SHIFT)) & CSI_CR1_STATFF_INTEN_MASK)
25827 
25828 #define CSI_CR1_SFF_DMA_DONE_INTEN_MASK          (0x400000U)
25829 #define CSI_CR1_SFF_DMA_DONE_INTEN_SHIFT         (22U)
25830 /*! SFF_DMA_DONE_INTEN
25831  *  0b0..STATFIFO DMA Transfer Done interrupt disable
25832  *  0b1..STATFIFO DMA Transfer Done interrupt enable
25833  */
25834 #define CSI_CR1_SFF_DMA_DONE_INTEN(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR1_SFF_DMA_DONE_INTEN_SHIFT)) & CSI_CR1_SFF_DMA_DONE_INTEN_MASK)
25835 
25836 #define CSI_CR1_RF_OR_INTEN_MASK                 (0x1000000U)
25837 #define CSI_CR1_RF_OR_INTEN_SHIFT                (24U)
25838 /*! RF_OR_INTEN
25839  *  0b0..RxFIFO overrun interrupt is disabled
25840  *  0b1..RxFIFO overrun interrupt is enabled
25841  */
25842 #define CSI_CR1_RF_OR_INTEN(x)                   (((uint32_t)(((uint32_t)(x)) << CSI_CR1_RF_OR_INTEN_SHIFT)) & CSI_CR1_RF_OR_INTEN_MASK)
25843 
25844 #define CSI_CR1_SF_OR_INTEN_MASK                 (0x2000000U)
25845 #define CSI_CR1_SF_OR_INTEN_SHIFT                (25U)
25846 /*! SF_OR_INTEN
25847  *  0b0..STATFIFO overrun interrupt is disabled
25848  *  0b1..STATFIFO overrun interrupt is enabled
25849  */
25850 #define CSI_CR1_SF_OR_INTEN(x)                   (((uint32_t)(((uint32_t)(x)) << CSI_CR1_SF_OR_INTEN_SHIFT)) & CSI_CR1_SF_OR_INTEN_MASK)
25851 
25852 #define CSI_CR1_COF_INT_EN_MASK                  (0x4000000U)
25853 #define CSI_CR1_COF_INT_EN_SHIFT                 (26U)
25854 /*! COF_INT_EN
25855  *  0b0..COF interrupt is disabled
25856  *  0b1..COF interrupt is enabled
25857  */
25858 #define CSI_CR1_COF_INT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR1_COF_INT_EN_SHIFT)) & CSI_CR1_COF_INT_EN_MASK)
25859 
25860 #define CSI_CR1_VIDEO_MODE_MASK                  (0x8000000U)
25861 #define CSI_CR1_VIDEO_MODE_SHIFT                 (27U)
25862 /*! VIDEO_MODE
25863  *  0b0..Progressive mode is selected
25864  *  0b1..Interlace mode is selected
25865  */
25866 #define CSI_CR1_VIDEO_MODE(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR1_VIDEO_MODE_SHIFT)) & CSI_CR1_VIDEO_MODE_MASK)
25867 
25868 #define CSI_CR1_EOF_INT_EN_MASK                  (0x20000000U)
25869 #define CSI_CR1_EOF_INT_EN_SHIFT                 (29U)
25870 /*! EOF_INT_EN
25871  *  0b0..EOF interrupt is disabled.
25872  *  0b1..EOF interrupt is generated when RX count value is reached.
25873  */
25874 #define CSI_CR1_EOF_INT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR1_EOF_INT_EN_SHIFT)) & CSI_CR1_EOF_INT_EN_MASK)
25875 
25876 #define CSI_CR1_EXT_VSYNC_MASK                   (0x40000000U)
25877 #define CSI_CR1_EXT_VSYNC_SHIFT                  (30U)
25878 /*! EXT_VSYNC
25879  *  0b0..Internal VSYNC mode
25880  *  0b1..External VSYNC mode
25881  */
25882 #define CSI_CR1_EXT_VSYNC(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_EXT_VSYNC_SHIFT)) & CSI_CR1_EXT_VSYNC_MASK)
25883 
25884 #define CSI_CR1_SWAP16_EN_MASK                   (0x80000000U)
25885 #define CSI_CR1_SWAP16_EN_SHIFT                  (31U)
25886 /*! SWAP16_EN
25887  *  0b0..Disable swapping
25888  *  0b1..Enable swapping
25889  */
25890 #define CSI_CR1_SWAP16_EN(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_CR1_SWAP16_EN_SHIFT)) & CSI_CR1_SWAP16_EN_MASK)
25891 /*! @} */
25892 
25893 /*! @name CR2 - CSI Control Register 2 */
25894 /*! @{ */
25895 
25896 #define CSI_CR2_HSC_MASK                         (0xFFU)
25897 #define CSI_CR2_HSC_SHIFT                        (0U)
25898 #define CSI_CR2_HSC(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_HSC_SHIFT)) & CSI_CR2_HSC_MASK)
25899 
25900 #define CSI_CR2_VSC_MASK                         (0xFF00U)
25901 #define CSI_CR2_VSC_SHIFT                        (8U)
25902 #define CSI_CR2_VSC(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_VSC_SHIFT)) & CSI_CR2_VSC_MASK)
25903 
25904 #define CSI_CR2_LVRM_MASK                        (0x70000U)
25905 #define CSI_CR2_LVRM_SHIFT                       (16U)
25906 /*! LVRM
25907  *  0b000..512 x 384
25908  *  0b001..448 x 336
25909  *  0b010..384 x 288
25910  *  0b011..384 x 256
25911  *  0b100..320 x 240
25912  *  0b101..288 x 216
25913  *  0b110..400 x 300
25914  */
25915 #define CSI_CR2_LVRM(x)                          (((uint32_t)(((uint32_t)(x)) << CSI_CR2_LVRM_SHIFT)) & CSI_CR2_LVRM_MASK)
25916 
25917 #define CSI_CR2_BTS_MASK                         (0x180000U)
25918 #define CSI_CR2_BTS_SHIFT                        (19U)
25919 /*! BTS
25920  *  0b00..GR
25921  *  0b01..RG
25922  *  0b10..BG
25923  *  0b11..GB
25924  */
25925 #define CSI_CR2_BTS(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_BTS_SHIFT)) & CSI_CR2_BTS_MASK)
25926 
25927 #define CSI_CR2_SCE_MASK                         (0x800000U)
25928 #define CSI_CR2_SCE_SHIFT                        (23U)
25929 /*! SCE
25930  *  0b0..Skip count disable
25931  *  0b1..Skip count enable
25932  */
25933 #define CSI_CR2_SCE(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_SCE_SHIFT)) & CSI_CR2_SCE_MASK)
25934 
25935 #define CSI_CR2_AFS_MASK                         (0x3000000U)
25936 #define CSI_CR2_AFS_SHIFT                        (24U)
25937 /*! AFS
25938  *  0b00..Abs Diff on consecutive green pixels
25939  *  0b01..Abs Diff on every third green pixels
25940  *  0b1x..Abs Diff on every four green pixels
25941  */
25942 #define CSI_CR2_AFS(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_AFS_SHIFT)) & CSI_CR2_AFS_MASK)
25943 
25944 #define CSI_CR2_DRM_MASK                         (0x4000000U)
25945 #define CSI_CR2_DRM_SHIFT                        (26U)
25946 /*! DRM
25947  *  0b0..Stats grid of 8 x 6
25948  *  0b1..Stats grid of 8 x 12
25949  */
25950 #define CSI_CR2_DRM(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_CR2_DRM_SHIFT)) & CSI_CR2_DRM_MASK)
25951 
25952 #define CSI_CR2_DMA_BURST_TYPE_SFF_MASK          (0x30000000U)
25953 #define CSI_CR2_DMA_BURST_TYPE_SFF_SHIFT         (28U)
25954 /*! DMA_BURST_TYPE_SFF
25955  *  0bx0..INCR8
25956  *  0b01..INCR4
25957  *  0b11..INCR16
25958  */
25959 #define CSI_CR2_DMA_BURST_TYPE_SFF(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR2_DMA_BURST_TYPE_SFF_SHIFT)) & CSI_CR2_DMA_BURST_TYPE_SFF_MASK)
25960 
25961 #define CSI_CR2_DMA_BURST_TYPE_RFF_MASK          (0xC0000000U)
25962 #define CSI_CR2_DMA_BURST_TYPE_RFF_SHIFT         (30U)
25963 /*! DMA_BURST_TYPE_RFF
25964  *  0bx0..INCR8
25965  *  0b01..INCR4
25966  *  0b11..INCR16
25967  */
25968 #define CSI_CR2_DMA_BURST_TYPE_RFF(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR2_DMA_BURST_TYPE_RFF_SHIFT)) & CSI_CR2_DMA_BURST_TYPE_RFF_MASK)
25969 /*! @} */
25970 
25971 /*! @name CR3 - CSI Control Register 3 */
25972 /*! @{ */
25973 
25974 #define CSI_CR3_ECC_AUTO_EN_MASK                 (0x1U)
25975 #define CSI_CR3_ECC_AUTO_EN_SHIFT                (0U)
25976 /*! ECC_AUTO_EN
25977  *  0b0..Auto Error correction is disabled.
25978  *  0b1..Auto Error correction is enabled.
25979  */
25980 #define CSI_CR3_ECC_AUTO_EN(x)                   (((uint32_t)(((uint32_t)(x)) << CSI_CR3_ECC_AUTO_EN_SHIFT)) & CSI_CR3_ECC_AUTO_EN_MASK)
25981 
25982 #define CSI_CR3_ECC_INT_EN_MASK                  (0x2U)
25983 #define CSI_CR3_ECC_INT_EN_SHIFT                 (1U)
25984 /*! ECC_INT_EN
25985  *  0b0..No interrupt is generated when error is detected. Only the status bit ECC_INT is set.
25986  *  0b1..Interrupt is generated when error is detected.
25987  */
25988 #define CSI_CR3_ECC_INT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR3_ECC_INT_EN_SHIFT)) & CSI_CR3_ECC_INT_EN_MASK)
25989 
25990 #define CSI_CR3_ZERO_PACK_EN_MASK                (0x4U)
25991 #define CSI_CR3_ZERO_PACK_EN_SHIFT               (2U)
25992 /*! ZERO_PACK_EN
25993  *  0b0..Zero packing disabled
25994  *  0b1..Zero packing enabled
25995  */
25996 #define CSI_CR3_ZERO_PACK_EN(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR3_ZERO_PACK_EN_SHIFT)) & CSI_CR3_ZERO_PACK_EN_MASK)
25997 
25998 #define CSI_CR3_SENSOR_16BITS_MASK               (0x8U)
25999 #define CSI_CR3_SENSOR_16BITS_SHIFT              (3U)
26000 /*! SENSOR_16BITS
26001  *  0b0..Only one 8-bit sensor is connected.
26002  *  0b1..One 16-bit sensor is connected.
26003  */
26004 #define CSI_CR3_SENSOR_16BITS(x)                 (((uint32_t)(((uint32_t)(x)) << CSI_CR3_SENSOR_16BITS_SHIFT)) & CSI_CR3_SENSOR_16BITS_MASK)
26005 
26006 #define CSI_CR3_RxFF_LEVEL_MASK                  (0x70U)
26007 #define CSI_CR3_RxFF_LEVEL_SHIFT                 (4U)
26008 /*! RxFF_LEVEL
26009  *  0b000..4 Double words
26010  *  0b001..8 Double words
26011  *  0b010..16 Double words
26012  *  0b011..24 Double words
26013  *  0b100..32 Double words
26014  *  0b101..48 Double words
26015  *  0b110..64 Double words
26016  *  0b111..96 Double words
26017  */
26018 #define CSI_CR3_RxFF_LEVEL(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR3_RxFF_LEVEL_SHIFT)) & CSI_CR3_RxFF_LEVEL_MASK)
26019 
26020 #define CSI_CR3_HRESP_ERR_EN_MASK                (0x80U)
26021 #define CSI_CR3_HRESP_ERR_EN_SHIFT               (7U)
26022 /*! HRESP_ERR_EN
26023  *  0b0..Disable hresponse error interrupt
26024  *  0b1..Enable hresponse error interrupt
26025  */
26026 #define CSI_CR3_HRESP_ERR_EN(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR3_HRESP_ERR_EN_SHIFT)) & CSI_CR3_HRESP_ERR_EN_MASK)
26027 
26028 #define CSI_CR3_STATFF_LEVEL_MASK                (0x700U)
26029 #define CSI_CR3_STATFF_LEVEL_SHIFT               (8U)
26030 /*! STATFF_LEVEL
26031  *  0b000..4 Double words
26032  *  0b001..8 Double words
26033  *  0b010..12 Double words
26034  *  0b011..16 Double words
26035  *  0b100..24 Double words
26036  *  0b101..32 Double words
26037  *  0b110..48 Double words
26038  *  0b111..64 Double words
26039  */
26040 #define CSI_CR3_STATFF_LEVEL(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR3_STATFF_LEVEL_SHIFT)) & CSI_CR3_STATFF_LEVEL_MASK)
26041 
26042 #define CSI_CR3_DMA_REQ_EN_SFF_MASK              (0x800U)
26043 #define CSI_CR3_DMA_REQ_EN_SFF_SHIFT             (11U)
26044 /*! DMA_REQ_EN_SFF
26045  *  0b0..Disable the dma request
26046  *  0b1..Enable the dma request
26047  */
26048 #define CSI_CR3_DMA_REQ_EN_SFF(x)                (((uint32_t)(((uint32_t)(x)) << CSI_CR3_DMA_REQ_EN_SFF_SHIFT)) & CSI_CR3_DMA_REQ_EN_SFF_MASK)
26049 
26050 #define CSI_CR3_DMA_REQ_EN_RFF_MASK              (0x1000U)
26051 #define CSI_CR3_DMA_REQ_EN_RFF_SHIFT             (12U)
26052 /*! DMA_REQ_EN_RFF
26053  *  0b0..Disable the dma request
26054  *  0b1..Enable the dma request
26055  */
26056 #define CSI_CR3_DMA_REQ_EN_RFF(x)                (((uint32_t)(((uint32_t)(x)) << CSI_CR3_DMA_REQ_EN_RFF_SHIFT)) & CSI_CR3_DMA_REQ_EN_RFF_MASK)
26057 
26058 #define CSI_CR3_DMA_REFLASH_SFF_MASK             (0x2000U)
26059 #define CSI_CR3_DMA_REFLASH_SFF_SHIFT            (13U)
26060 /*! DMA_REFLASH_SFF
26061  *  0b0..No reflashing
26062  *  0b1..Reflash the embedded DMA controller
26063  */
26064 #define CSI_CR3_DMA_REFLASH_SFF(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR3_DMA_REFLASH_SFF_SHIFT)) & CSI_CR3_DMA_REFLASH_SFF_MASK)
26065 
26066 #define CSI_CR3_DMA_REFLASH_RFF_MASK             (0x4000U)
26067 #define CSI_CR3_DMA_REFLASH_RFF_SHIFT            (14U)
26068 /*! DMA_REFLASH_RFF
26069  *  0b0..No reflashing
26070  *  0b1..Reflash the embedded DMA controller
26071  */
26072 #define CSI_CR3_DMA_REFLASH_RFF(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR3_DMA_REFLASH_RFF_SHIFT)) & CSI_CR3_DMA_REFLASH_RFF_MASK)
26073 
26074 #define CSI_CR3_FRMCNT_RST_MASK                  (0x8000U)
26075 #define CSI_CR3_FRMCNT_RST_SHIFT                 (15U)
26076 /*! FRMCNT_RST
26077  *  0b0..Do not reset
26078  *  0b1..Reset frame counter immediately
26079  */
26080 #define CSI_CR3_FRMCNT_RST(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR3_FRMCNT_RST_SHIFT)) & CSI_CR3_FRMCNT_RST_MASK)
26081 
26082 #define CSI_CR3_FRMCNT_MASK                      (0xFFFF0000U)
26083 #define CSI_CR3_FRMCNT_SHIFT                     (16U)
26084 #define CSI_CR3_FRMCNT(x)                        (((uint32_t)(((uint32_t)(x)) << CSI_CR3_FRMCNT_SHIFT)) & CSI_CR3_FRMCNT_MASK)
26085 /*! @} */
26086 
26087 /*! @name STATFIFO - CSI Statistic FIFO Register */
26088 /*! @{ */
26089 
26090 #define CSI_STATFIFO_STAT_MASK                   (0xFFFFFFFFU)
26091 #define CSI_STATFIFO_STAT_SHIFT                  (0U)
26092 #define CSI_STATFIFO_STAT(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_STATFIFO_STAT_SHIFT)) & CSI_STATFIFO_STAT_MASK)
26093 /*! @} */
26094 
26095 /*! @name RFIFO - CSI RX FIFO Register */
26096 /*! @{ */
26097 
26098 #define CSI_RFIFO_IMAGE_MASK                     (0xFFFFFFFFU)
26099 #define CSI_RFIFO_IMAGE_SHIFT                    (0U)
26100 #define CSI_RFIFO_IMAGE(x)                       (((uint32_t)(((uint32_t)(x)) << CSI_RFIFO_IMAGE_SHIFT)) & CSI_RFIFO_IMAGE_MASK)
26101 /*! @} */
26102 
26103 /*! @name RXCNT - CSI RX Count Register */
26104 /*! @{ */
26105 
26106 #define CSI_RXCNT_RXCNT_MASK                     (0x3FFFFFU)
26107 #define CSI_RXCNT_RXCNT_SHIFT                    (0U)
26108 #define CSI_RXCNT_RXCNT(x)                       (((uint32_t)(((uint32_t)(x)) << CSI_RXCNT_RXCNT_SHIFT)) & CSI_RXCNT_RXCNT_MASK)
26109 /*! @} */
26110 
26111 /*! @name SR - CSI Status Register */
26112 /*! @{ */
26113 
26114 #define CSI_SR_DRDY_MASK                         (0x1U)
26115 #define CSI_SR_DRDY_SHIFT                        (0U)
26116 /*! DRDY
26117  *  0b0..No data (word) is ready
26118  *  0b1..At least 1 datum (word) is ready in RXFIFO.
26119  */
26120 #define CSI_SR_DRDY(x)                           (((uint32_t)(((uint32_t)(x)) << CSI_SR_DRDY_SHIFT)) & CSI_SR_DRDY_MASK)
26121 
26122 #define CSI_SR_ECC_INT_MASK                      (0x2U)
26123 #define CSI_SR_ECC_INT_SHIFT                     (1U)
26124 /*! ECC_INT
26125  *  0b0..No error detected
26126  *  0b1..Error is detected in BT.656 coding
26127  */
26128 #define CSI_SR_ECC_INT(x)                        (((uint32_t)(((uint32_t)(x)) << CSI_SR_ECC_INT_SHIFT)) & CSI_SR_ECC_INT_MASK)
26129 
26130 #define CSI_SR_HISTOGRAM_CALC_DONE_INT_MASK      (0x4U)
26131 #define CSI_SR_HISTOGRAM_CALC_DONE_INT_SHIFT     (2U)
26132 /*! HISTOGRAM_CALC_DONE_INT
26133  *  0b0..Histogram calculation is not finished
26134  *  0b1..Histogram calculation is done and driver can access the PIXEL_COUNTERS(CSI_CSICR21~CSI_CSICR276) to get the gray level
26135  */
26136 #define CSI_SR_HISTOGRAM_CALC_DONE_INT(x)        (((uint32_t)(((uint32_t)(x)) << CSI_SR_HISTOGRAM_CALC_DONE_INT_SHIFT)) & CSI_SR_HISTOGRAM_CALC_DONE_INT_MASK)
26137 
26138 #define CSI_SR_HRESP_ERR_INT_MASK                (0x80U)
26139 #define CSI_SR_HRESP_ERR_INT_SHIFT               (7U)
26140 /*! HRESP_ERR_INT
26141  *  0b0..No hresponse error.
26142  *  0b1..Hresponse error is detected.
26143  */
26144 #define CSI_SR_HRESP_ERR_INT(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_SR_HRESP_ERR_INT_SHIFT)) & CSI_SR_HRESP_ERR_INT_MASK)
26145 
26146 #define CSI_SR_COF_INT_MASK                      (0x2000U)
26147 #define CSI_SR_COF_INT_SHIFT                     (13U)
26148 /*! COF_INT
26149  *  0b0..Video field has no change.
26150  *  0b1..Change of video field is detected.
26151  */
26152 #define CSI_SR_COF_INT(x)                        (((uint32_t)(((uint32_t)(x)) << CSI_SR_COF_INT_SHIFT)) & CSI_SR_COF_INT_MASK)
26153 
26154 #define CSI_SR_F1_INT_MASK                       (0x4000U)
26155 #define CSI_SR_F1_INT_SHIFT                      (14U)
26156 /*! F1_INT
26157  *  0b0..Field 1 of video is not detected.
26158  *  0b1..Field 1 of video is about to start.
26159  */
26160 #define CSI_SR_F1_INT(x)                         (((uint32_t)(((uint32_t)(x)) << CSI_SR_F1_INT_SHIFT)) & CSI_SR_F1_INT_MASK)
26161 
26162 #define CSI_SR_F2_INT_MASK                       (0x8000U)
26163 #define CSI_SR_F2_INT_SHIFT                      (15U)
26164 /*! F2_INT
26165  *  0b0..Field 2 of video is not detected
26166  *  0b1..Field 2 of video is about to start
26167  */
26168 #define CSI_SR_F2_INT(x)                         (((uint32_t)(((uint32_t)(x)) << CSI_SR_F2_INT_SHIFT)) & CSI_SR_F2_INT_MASK)
26169 
26170 #define CSI_SR_SOF_INT_MASK                      (0x10000U)
26171 #define CSI_SR_SOF_INT_SHIFT                     (16U)
26172 /*! SOF_INT
26173  *  0b0..SOF is not detected.
26174  *  0b1..SOF is detected.
26175  */
26176 #define CSI_SR_SOF_INT(x)                        (((uint32_t)(((uint32_t)(x)) << CSI_SR_SOF_INT_SHIFT)) & CSI_SR_SOF_INT_MASK)
26177 
26178 #define CSI_SR_EOF_INT_MASK                      (0x20000U)
26179 #define CSI_SR_EOF_INT_SHIFT                     (17U)
26180 /*! EOF_INT
26181  *  0b0..EOF is not detected.
26182  *  0b1..EOF is detected.
26183  */
26184 #define CSI_SR_EOF_INT(x)                        (((uint32_t)(((uint32_t)(x)) << CSI_SR_EOF_INT_SHIFT)) & CSI_SR_EOF_INT_MASK)
26185 
26186 #define CSI_SR_RxFF_INT_MASK                     (0x40000U)
26187 #define CSI_SR_RxFF_INT_SHIFT                    (18U)
26188 /*! RxFF_INT
26189  *  0b0..RxFIFO is not full.
26190  *  0b1..RxFIFO is full.
26191  */
26192 #define CSI_SR_RxFF_INT(x)                       (((uint32_t)(((uint32_t)(x)) << CSI_SR_RxFF_INT_SHIFT)) & CSI_SR_RxFF_INT_MASK)
26193 
26194 #define CSI_SR_DMA_TSF_DONE_FB1_MASK             (0x80000U)
26195 #define CSI_SR_DMA_TSF_DONE_FB1_SHIFT            (19U)
26196 /*! DMA_TSF_DONE_FB1
26197  *  0b0..DMA transfer is not completed.
26198  *  0b1..DMA transfer is completed.
26199  */
26200 #define CSI_SR_DMA_TSF_DONE_FB1(x)               (((uint32_t)(((uint32_t)(x)) << CSI_SR_DMA_TSF_DONE_FB1_SHIFT)) & CSI_SR_DMA_TSF_DONE_FB1_MASK)
26201 
26202 #define CSI_SR_DMA_TSF_DONE_FB2_MASK             (0x100000U)
26203 #define CSI_SR_DMA_TSF_DONE_FB2_SHIFT            (20U)
26204 /*! DMA_TSF_DONE_FB2
26205  *  0b0..DMA transfer is not completed.
26206  *  0b1..DMA transfer is completed.
26207  */
26208 #define CSI_SR_DMA_TSF_DONE_FB2(x)               (((uint32_t)(((uint32_t)(x)) << CSI_SR_DMA_TSF_DONE_FB2_SHIFT)) & CSI_SR_DMA_TSF_DONE_FB2_MASK)
26209 
26210 #define CSI_SR_STATFF_INT_MASK                   (0x200000U)
26211 #define CSI_SR_STATFF_INT_SHIFT                  (21U)
26212 /*! STATFF_INT
26213  *  0b0..STATFIFO is not full.
26214  *  0b1..STATFIFO is full.
26215  */
26216 #define CSI_SR_STATFF_INT(x)                     (((uint32_t)(((uint32_t)(x)) << CSI_SR_STATFF_INT_SHIFT)) & CSI_SR_STATFF_INT_MASK)
26217 
26218 #define CSI_SR_DMA_TSF_DONE_SFF_MASK             (0x400000U)
26219 #define CSI_SR_DMA_TSF_DONE_SFF_SHIFT            (22U)
26220 /*! DMA_TSF_DONE_SFF
26221  *  0b0..DMA transfer is not completed.
26222  *  0b1..DMA transfer is completed.
26223  */
26224 #define CSI_SR_DMA_TSF_DONE_SFF(x)               (((uint32_t)(((uint32_t)(x)) << CSI_SR_DMA_TSF_DONE_SFF_SHIFT)) & CSI_SR_DMA_TSF_DONE_SFF_MASK)
26225 
26226 #define CSI_SR_RF_OR_INT_MASK                    (0x1000000U)
26227 #define CSI_SR_RF_OR_INT_SHIFT                   (24U)
26228 /*! RF_OR_INT
26229  *  0b0..RXFIFO has not overflowed.
26230  *  0b1..RXFIFO has overflowed.
26231  */
26232 #define CSI_SR_RF_OR_INT(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_SR_RF_OR_INT_SHIFT)) & CSI_SR_RF_OR_INT_MASK)
26233 
26234 #define CSI_SR_SF_OR_INT_MASK                    (0x2000000U)
26235 #define CSI_SR_SF_OR_INT_SHIFT                   (25U)
26236 /*! SF_OR_INT
26237  *  0b0..STATFIFO has not overflowed.
26238  *  0b1..STATFIFO has overflowed.
26239  */
26240 #define CSI_SR_SF_OR_INT(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_SR_SF_OR_INT_SHIFT)) & CSI_SR_SF_OR_INT_MASK)
26241 
26242 #define CSI_SR_DMA_FIELD1_DONE_MASK              (0x4000000U)
26243 #define CSI_SR_DMA_FIELD1_DONE_SHIFT             (26U)
26244 #define CSI_SR_DMA_FIELD1_DONE(x)                (((uint32_t)(((uint32_t)(x)) << CSI_SR_DMA_FIELD1_DONE_SHIFT)) & CSI_SR_DMA_FIELD1_DONE_MASK)
26245 
26246 #define CSI_SR_DMA_FIELD0_DONE_MASK              (0x8000000U)
26247 #define CSI_SR_DMA_FIELD0_DONE_SHIFT             (27U)
26248 #define CSI_SR_DMA_FIELD0_DONE(x)                (((uint32_t)(((uint32_t)(x)) << CSI_SR_DMA_FIELD0_DONE_SHIFT)) & CSI_SR_DMA_FIELD0_DONE_MASK)
26249 
26250 #define CSI_SR_BASEADDR_CHHANGE_ERROR_MASK       (0x10000000U)
26251 #define CSI_SR_BASEADDR_CHHANGE_ERROR_SHIFT      (28U)
26252 #define CSI_SR_BASEADDR_CHHANGE_ERROR(x)         (((uint32_t)(((uint32_t)(x)) << CSI_SR_BASEADDR_CHHANGE_ERROR_SHIFT)) & CSI_SR_BASEADDR_CHHANGE_ERROR_MASK)
26253 /*! @} */
26254 
26255 /*! @name DMASA_STATFIFO - CSI DMA Start Address Register - for STATFIFO */
26256 /*! @{ */
26257 
26258 #define CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_MASK (0xFFFFFFFCU)
26259 #define CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_SHIFT (2U)
26260 #define CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF(x) (((uint32_t)(((uint32_t)(x)) << CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_SHIFT)) & CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_MASK)
26261 /*! @} */
26262 
26263 /*! @name DMATS_STATFIFO - CSI DMA Transfer Size Register - for STATFIFO */
26264 /*! @{ */
26265 
26266 #define CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_MASK (0xFFFFFFFFU)
26267 #define CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_SHIFT (0U)
26268 #define CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF(x)   (((uint32_t)(((uint32_t)(x)) << CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_SHIFT)) & CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_MASK)
26269 /*! @} */
26270 
26271 /*! @name DMASA_FB1 - CSI DMA Start Address Register - for Frame Buffer1 */
26272 /*! @{ */
26273 
26274 #define CSI_DMASA_FB1_DMA_START_ADDR_FB1_MASK    (0xFFFFFFFCU)
26275 #define CSI_DMASA_FB1_DMA_START_ADDR_FB1_SHIFT   (2U)
26276 #define CSI_DMASA_FB1_DMA_START_ADDR_FB1(x)      (((uint32_t)(((uint32_t)(x)) << CSI_DMASA_FB1_DMA_START_ADDR_FB1_SHIFT)) & CSI_DMASA_FB1_DMA_START_ADDR_FB1_MASK)
26277 /*! @} */
26278 
26279 /*! @name DMASA_FB2 - CSI DMA Transfer Size Register - for Frame Buffer2 */
26280 /*! @{ */
26281 
26282 #define CSI_DMASA_FB2_DMA_START_ADDR_FB2_MASK    (0xFFFFFFFCU)
26283 #define CSI_DMASA_FB2_DMA_START_ADDR_FB2_SHIFT   (2U)
26284 #define CSI_DMASA_FB2_DMA_START_ADDR_FB2(x)      (((uint32_t)(((uint32_t)(x)) << CSI_DMASA_FB2_DMA_START_ADDR_FB2_SHIFT)) & CSI_DMASA_FB2_DMA_START_ADDR_FB2_MASK)
26285 /*! @} */
26286 
26287 /*! @name FBUF_PARA - CSI Frame Buffer Parameter Register */
26288 /*! @{ */
26289 
26290 #define CSI_FBUF_PARA_FBUF_STRIDE_MASK           (0xFFFFU)
26291 #define CSI_FBUF_PARA_FBUF_STRIDE_SHIFT          (0U)
26292 #define CSI_FBUF_PARA_FBUF_STRIDE(x)             (((uint32_t)(((uint32_t)(x)) << CSI_FBUF_PARA_FBUF_STRIDE_SHIFT)) & CSI_FBUF_PARA_FBUF_STRIDE_MASK)
26293 
26294 #define CSI_FBUF_PARA_DEINTERLACE_STRIDE_MASK    (0xFFFF0000U)
26295 #define CSI_FBUF_PARA_DEINTERLACE_STRIDE_SHIFT   (16U)
26296 #define CSI_FBUF_PARA_DEINTERLACE_STRIDE(x)      (((uint32_t)(((uint32_t)(x)) << CSI_FBUF_PARA_DEINTERLACE_STRIDE_SHIFT)) & CSI_FBUF_PARA_DEINTERLACE_STRIDE_MASK)
26297 /*! @} */
26298 
26299 /*! @name IMAG_PARA - CSI Image Parameter Register */
26300 /*! @{ */
26301 
26302 #define CSI_IMAG_PARA_IMAGE_HEIGHT_MASK          (0xFFFFU)
26303 #define CSI_IMAG_PARA_IMAGE_HEIGHT_SHIFT         (0U)
26304 #define CSI_IMAG_PARA_IMAGE_HEIGHT(x)            (((uint32_t)(((uint32_t)(x)) << CSI_IMAG_PARA_IMAGE_HEIGHT_SHIFT)) & CSI_IMAG_PARA_IMAGE_HEIGHT_MASK)
26305 
26306 #define CSI_IMAG_PARA_IMAGE_WIDTH_MASK           (0xFFFF0000U)
26307 #define CSI_IMAG_PARA_IMAGE_WIDTH_SHIFT          (16U)
26308 #define CSI_IMAG_PARA_IMAGE_WIDTH(x)             (((uint32_t)(((uint32_t)(x)) << CSI_IMAG_PARA_IMAGE_WIDTH_SHIFT)) & CSI_IMAG_PARA_IMAGE_WIDTH_MASK)
26309 /*! @} */
26310 
26311 /*! @name CR18 - CSI Control Register 18 */
26312 /*! @{ */
26313 
26314 #define CSI_CR18_NTSC_EN_MASK                    (0x1U)
26315 #define CSI_CR18_NTSC_EN_SHIFT                   (0U)
26316 /*! NTSC_EN
26317  *  0b0..PAL
26318  *  0b1..NTSC
26319  */
26320 #define CSI_CR18_NTSC_EN(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_CR18_NTSC_EN_SHIFT)) & CSI_CR18_NTSC_EN_MASK)
26321 
26322 #define CSI_CR18_TVDECODER_IN_EN_MASK            (0x2U)
26323 #define CSI_CR18_TVDECODER_IN_EN_SHIFT           (1U)
26324 #define CSI_CR18_TVDECODER_IN_EN(x)              (((uint32_t)(((uint32_t)(x)) << CSI_CR18_TVDECODER_IN_EN_SHIFT)) & CSI_CR18_TVDECODER_IN_EN_MASK)
26325 
26326 #define CSI_CR18_DEINTERLACE_EN_MASK             (0x4U)
26327 #define CSI_CR18_DEINTERLACE_EN_SHIFT            (2U)
26328 /*! DEINTERLACE_EN
26329  *  0b0..Deinterlace disabled
26330  *  0b1..Deinterlace enabled
26331  */
26332 #define CSI_CR18_DEINTERLACE_EN(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR18_DEINTERLACE_EN_SHIFT)) & CSI_CR18_DEINTERLACE_EN_MASK)
26333 
26334 #define CSI_CR18_PARALLEL24_EN_MASK              (0x8U)
26335 #define CSI_CR18_PARALLEL24_EN_SHIFT             (3U)
26336 /*! PARALLEL24_EN
26337  *  0b0..Input is disabled
26338  *  0b1..Input is enabled
26339  */
26340 #define CSI_CR18_PARALLEL24_EN(x)                (((uint32_t)(((uint32_t)(x)) << CSI_CR18_PARALLEL24_EN_SHIFT)) & CSI_CR18_PARALLEL24_EN_MASK)
26341 
26342 #define CSI_CR18_BASEADDR_SWITCH_EN_MASK         (0x10U)
26343 #define CSI_CR18_BASEADDR_SWITCH_EN_SHIFT        (4U)
26344 #define CSI_CR18_BASEADDR_SWITCH_EN(x)           (((uint32_t)(((uint32_t)(x)) << CSI_CR18_BASEADDR_SWITCH_EN_SHIFT)) & CSI_CR18_BASEADDR_SWITCH_EN_MASK)
26345 
26346 #define CSI_CR18_BASEADDR_SWITCH_SEL_MASK        (0x20U)
26347 #define CSI_CR18_BASEADDR_SWITCH_SEL_SHIFT       (5U)
26348 /*! BASEADDR_SWITCH_SEL
26349  *  0b0..Switching base address at the edge of the vsync
26350  *  0b1..Switching base address at the edge of the first data of each frame
26351  */
26352 #define CSI_CR18_BASEADDR_SWITCH_SEL(x)          (((uint32_t)(((uint32_t)(x)) << CSI_CR18_BASEADDR_SWITCH_SEL_SHIFT)) & CSI_CR18_BASEADDR_SWITCH_SEL_MASK)
26353 
26354 #define CSI_CR18_FIELD0_DONE_IE_MASK             (0x40U)
26355 #define CSI_CR18_FIELD0_DONE_IE_SHIFT            (6U)
26356 /*! FIELD0_DONE_IE
26357  *  0b0..Interrupt disabled
26358  *  0b1..Interrupt enabled
26359  */
26360 #define CSI_CR18_FIELD0_DONE_IE(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR18_FIELD0_DONE_IE_SHIFT)) & CSI_CR18_FIELD0_DONE_IE_MASK)
26361 
26362 #define CSI_CR18_DMA_FIELD1_DONE_IE_MASK         (0x80U)
26363 #define CSI_CR18_DMA_FIELD1_DONE_IE_SHIFT        (7U)
26364 /*! DMA_FIELD1_DONE_IE
26365  *  0b0..Interrupt disabled
26366  *  0b1..Interrupt enabled
26367  */
26368 #define CSI_CR18_DMA_FIELD1_DONE_IE(x)           (((uint32_t)(((uint32_t)(x)) << CSI_CR18_DMA_FIELD1_DONE_IE_SHIFT)) & CSI_CR18_DMA_FIELD1_DONE_IE_MASK)
26369 
26370 #define CSI_CR18_LAST_DMA_REQ_SEL_MASK           (0x100U)
26371 #define CSI_CR18_LAST_DMA_REQ_SEL_SHIFT          (8U)
26372 /*! LAST_DMA_REQ_SEL
26373  *  0b0..fifo_full_level
26374  *  0b1..hburst_length
26375  */
26376 #define CSI_CR18_LAST_DMA_REQ_SEL(x)             (((uint32_t)(((uint32_t)(x)) << CSI_CR18_LAST_DMA_REQ_SEL_SHIFT)) & CSI_CR18_LAST_DMA_REQ_SEL_MASK)
26377 
26378 #define CSI_CR18_BASEADDR_CHANGE_ERROR_IE_MASK   (0x200U)
26379 #define CSI_CR18_BASEADDR_CHANGE_ERROR_IE_SHIFT  (9U)
26380 /*! BASEADDR_CHANGE_ERROR_IE
26381  *  0b0..Interrupt disabled
26382  *  0b1..Interrupt enabled
26383  */
26384 #define CSI_CR18_BASEADDR_CHANGE_ERROR_IE(x)     (((uint32_t)(((uint32_t)(x)) << CSI_CR18_BASEADDR_CHANGE_ERROR_IE_SHIFT)) & CSI_CR18_BASEADDR_CHANGE_ERROR_IE_MASK)
26385 
26386 #define CSI_CR18_RGB888A_FORMAT_SEL_MASK         (0x400U)
26387 #define CSI_CR18_RGB888A_FORMAT_SEL_SHIFT        (10U)
26388 /*! RGB888A_FORMAT_SEL
26389  *  0b0..{8'h0, data[23:0]}
26390  *  0b1..{data[23:0], 8'h0}
26391  */
26392 #define CSI_CR18_RGB888A_FORMAT_SEL(x)           (((uint32_t)(((uint32_t)(x)) << CSI_CR18_RGB888A_FORMAT_SEL_SHIFT)) & CSI_CR18_RGB888A_FORMAT_SEL_MASK)
26393 
26394 #define CSI_CR18_AHB_HPROT_MASK                  (0xF000U)
26395 #define CSI_CR18_AHB_HPROT_SHIFT                 (12U)
26396 #define CSI_CR18_AHB_HPROT(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR18_AHB_HPROT_SHIFT)) & CSI_CR18_AHB_HPROT_MASK)
26397 
26398 #define CSI_CR18_MASK_OPTION_MASK                (0xC0000U)
26399 #define CSI_CR18_MASK_OPTION_SHIFT               (18U)
26400 /*! MASK_OPTION
26401  *  0b00..Writing to memory (OCRAM or external DDR) from first completely frame, when using this option, the CSI_ENABLE should be 1.
26402  *  0b01..Writing to memory when CSI_ENABLE is 1.
26403  *  0b10..Writing to memory from second completely frame, when using this option, the CSI_ENABLE should be 1.
26404  *  0b11..Writing to memory when data comes in, not matter the CSI_ENABLE is 1 or 0.
26405  */
26406 #define CSI_CR18_MASK_OPTION(x)                  (((uint32_t)(((uint32_t)(x)) << CSI_CR18_MASK_OPTION_SHIFT)) & CSI_CR18_MASK_OPTION_MASK)
26407 
26408 #define CSI_CR18_MIPI_DOUBLE_CMPNT_MASK          (0x100000U)
26409 #define CSI_CR18_MIPI_DOUBLE_CMPNT_SHIFT         (20U)
26410 /*! MIPI_DOUBLE_CMPNT
26411  *  0b0..Single component per clock cycle (half pixel per clock cycle)
26412  *  0b1..Double component per clock cycle (a pixel per clock cycle)
26413  */
26414 #define CSI_CR18_MIPI_DOUBLE_CMPNT(x)            (((uint32_t)(((uint32_t)(x)) << CSI_CR18_MIPI_DOUBLE_CMPNT_SHIFT)) & CSI_CR18_MIPI_DOUBLE_CMPNT_MASK)
26415 
26416 #define CSI_CR18_MIPI_YU_SWAP_MASK               (0x200000U)
26417 #define CSI_CR18_MIPI_YU_SWAP_SHIFT              (21U)
26418 /*! MIPI_YU_SWAP - It only works in MIPI CSI YUV422 double component mode.
26419  */
26420 #define CSI_CR18_MIPI_YU_SWAP(x)                 (((uint32_t)(((uint32_t)(x)) << CSI_CR18_MIPI_YU_SWAP_SHIFT)) & CSI_CR18_MIPI_YU_SWAP_MASK)
26421 
26422 #define CSI_CR18_DATA_FROM_MIPI_MASK             (0x400000U)
26423 #define CSI_CR18_DATA_FROM_MIPI_SHIFT            (22U)
26424 /*! DATA_FROM_MIPI
26425  *  0b0..Data from parallel sensor
26426  *  0b1..Data from MIPI
26427  */
26428 #define CSI_CR18_DATA_FROM_MIPI(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR18_DATA_FROM_MIPI_SHIFT)) & CSI_CR18_DATA_FROM_MIPI_MASK)
26429 
26430 #define CSI_CR18_LINE_STRIDE_EN_MASK             (0x1000000U)
26431 #define CSI_CR18_LINE_STRIDE_EN_SHIFT            (24U)
26432 #define CSI_CR18_LINE_STRIDE_EN(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR18_LINE_STRIDE_EN_SHIFT)) & CSI_CR18_LINE_STRIDE_EN_MASK)
26433 
26434 #define CSI_CR18_MIPI_DATA_FORMAT_MASK           (0x7E000000U)
26435 #define CSI_CR18_MIPI_DATA_FORMAT_SHIFT          (25U)
26436 /*! MIPI_DATA_FORMAT - Image Data Format
26437  */
26438 #define CSI_CR18_MIPI_DATA_FORMAT(x)             (((uint32_t)(((uint32_t)(x)) << CSI_CR18_MIPI_DATA_FORMAT_SHIFT)) & CSI_CR18_MIPI_DATA_FORMAT_MASK)
26439 
26440 #define CSI_CR18_CSI_ENABLE_MASK                 (0x80000000U)
26441 #define CSI_CR18_CSI_ENABLE_SHIFT                (31U)
26442 #define CSI_CR18_CSI_ENABLE(x)                   (((uint32_t)(((uint32_t)(x)) << CSI_CR18_CSI_ENABLE_SHIFT)) & CSI_CR18_CSI_ENABLE_MASK)
26443 /*! @} */
26444 
26445 /*! @name CR19 - CSI Control Register 19 */
26446 /*! @{ */
26447 
26448 #define CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_MASK (0xFFU)
26449 #define CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_SHIFT (0U)
26450 #define CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL(x) (((uint32_t)(((uint32_t)(x)) << CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_SHIFT)) & CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_MASK)
26451 /*! @} */
26452 
26453 /*! @name CR20 - CSI Control Register 20 */
26454 /*! @{ */
26455 
26456 #define CSI_CR20_THRESHOLD_MASK                  (0xFFU)
26457 #define CSI_CR20_THRESHOLD_SHIFT                 (0U)
26458 #define CSI_CR20_THRESHOLD(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR20_THRESHOLD_SHIFT)) & CSI_CR20_THRESHOLD_MASK)
26459 
26460 #define CSI_CR20_BINARY_EN_MASK                  (0x100U)
26461 #define CSI_CR20_BINARY_EN_SHIFT                 (8U)
26462 /*! BINARY_EN
26463  *  0b0..Output is Y8 format(8 bits each pixel)
26464  *  0b1..Output is Y1 format(1 bit each pixel)
26465  */
26466 #define CSI_CR20_BINARY_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR20_BINARY_EN_SHIFT)) & CSI_CR20_BINARY_EN_MASK)
26467 
26468 #define CSI_CR20_QR_DATA_FORMAT_MASK             (0xE00U)
26469 #define CSI_CR20_QR_DATA_FORMAT_SHIFT            (9U)
26470 /*! QR_DATA_FORMAT
26471  *  0b000..YU YV one cycle per 1 pixel input
26472  *  0b001..UY VY one cycle per1 pixel input
26473  *  0b010..Y U Y V two cycles per 1 pixel input
26474  *  0b011..U Y V Y two cycles per 1 pixel input
26475  *  0b100..YUV one cycle per 1 pixel input
26476  *  0b101..Y U V three cycles per 1 pixel input
26477  */
26478 #define CSI_CR20_QR_DATA_FORMAT(x)               (((uint32_t)(((uint32_t)(x)) << CSI_CR20_QR_DATA_FORMAT_SHIFT)) & CSI_CR20_QR_DATA_FORMAT_MASK)
26479 
26480 #define CSI_CR20_BIG_END_MASK                    (0x1000U)
26481 #define CSI_CR20_BIG_END_SHIFT                   (12U)
26482 /*! BIG_END
26483  *  0b0..The newest (most recent) data will be assigned the lowest position when store to memory.
26484  *  0b1..The newest (most recent) data will be assigned the highest position when store to memory.
26485  */
26486 #define CSI_CR20_BIG_END(x)                      (((uint32_t)(((uint32_t)(x)) << CSI_CR20_BIG_END_SHIFT)) & CSI_CR20_BIG_END_MASK)
26487 
26488 #define CSI_CR20_10BIT_NEW_EN_MASK               (0x20000000U)
26489 #define CSI_CR20_10BIT_NEW_EN_SHIFT              (29U)
26490 /*! 10BIT_NEW_EN
26491  *  0b0..When input 8bits data, it will use the data[9:2]
26492  *  0b1..If input is 10bits data, it will use the data[7:0] (optional)
26493  */
26494 #define CSI_CR20_10BIT_NEW_EN(x)                 (((uint32_t)(((uint32_t)(x)) << CSI_CR20_10BIT_NEW_EN_SHIFT)) & CSI_CR20_10BIT_NEW_EN_MASK)
26495 
26496 #define CSI_CR20_HISTOGRAM_EN_MASK               (0x40000000U)
26497 #define CSI_CR20_HISTOGRAM_EN_SHIFT              (30U)
26498 /*! HISTOGRAM_EN
26499  *  0b0..Histogram disable
26500  *  0b1..Histogram enable
26501  */
26502 #define CSI_CR20_HISTOGRAM_EN(x)                 (((uint32_t)(((uint32_t)(x)) << CSI_CR20_HISTOGRAM_EN_SHIFT)) & CSI_CR20_HISTOGRAM_EN_MASK)
26503 
26504 #define CSI_CR20_QRCODE_EN_MASK                  (0x80000000U)
26505 #define CSI_CR20_QRCODE_EN_SHIFT                 (31U)
26506 /*! QRCODE_EN
26507  *  0b0..Normal mode
26508  *  0b1..Gray scale mode
26509  */
26510 #define CSI_CR20_QRCODE_EN(x)                    (((uint32_t)(((uint32_t)(x)) << CSI_CR20_QRCODE_EN_SHIFT)) & CSI_CR20_QRCODE_EN_MASK)
26511 /*! @} */
26512 
26513 /*! @name CR - CSI Control Register */
26514 /*! @{ */
26515 
26516 #define CSI_CR_PIXEL_COUNTERS_MASK               (0xFFFFFFU)
26517 #define CSI_CR_PIXEL_COUNTERS_SHIFT              (0U)
26518 #define CSI_CR_PIXEL_COUNTERS(x)                 (((uint32_t)(((uint32_t)(x)) << CSI_CR_PIXEL_COUNTERS_SHIFT)) & CSI_CR_PIXEL_COUNTERS_MASK)
26519 /*! @} */
26520 
26521 /* The count of CSI_CR */
26522 #define CSI_CR_COUNT                             (256U)
26523 
26524 
26525 /*!
26526  * @}
26527  */ /* end of group CSI_Register_Masks */
26528 
26529 
26530 /* CSI - Peripheral instance base addresses */
26531 /** Peripheral CSI base address */
26532 #define CSI_BASE                                 (0x40800000u)
26533 /** Peripheral CSI base pointer */
26534 #define CSI                                      ((CSI_Type *)CSI_BASE)
26535 /** Array initializer of CSI peripheral base addresses */
26536 #define CSI_BASE_ADDRS                           { CSI_BASE }
26537 /** Array initializer of CSI peripheral base pointers */
26538 #define CSI_BASE_PTRS                            { CSI }
26539 /** Interrupt vectors for the CSI peripheral type */
26540 #define CSI_IRQS                                 { CSI_IRQn }
26541 /* Backward compatibility */
26542 #define CSI_CSICR1_PIXEL_BIT_MASK     CSI_CR1_PIXEL_BIT_MASK
26543 #define CSI_CSICR1_PIXEL_BIT_SHIFT     CSI_CR1_PIXEL_BIT_SHIFT
26544 #define CSI_CSICR1_PIXEL_BIT(x)     CSI_CR1_PIXEL_BIT(x)
26545 #define CSI_CSICR1_REDGE_MASK     CSI_CR1_REDGE_MASK
26546 #define CSI_CSICR1_REDGE_SHIFT     CSI_CR1_REDGE_SHIFT
26547 #define CSI_CSICR1_REDGE(x)     CSI_CR1_REDGE(x)
26548 #define CSI_CSICR1_INV_PCLK_MASK     CSI_CR1_INV_PCLK_MASK
26549 #define CSI_CSICR1_INV_PCLK_SHIFT     CSI_CR1_INV_PCLK_SHIFT
26550 #define CSI_CSICR1_INV_PCLK(x)     CSI_CR1_INV_PCLK(x)
26551 #define CSI_CSICR1_INV_DATA_MASK     CSI_CR1_INV_DATA_MASK
26552 #define CSI_CSICR1_INV_DATA_SHIFT     CSI_CR1_INV_DATA_SHIFT
26553 #define CSI_CSICR1_INV_DATA(x)     CSI_CR1_INV_DATA(x)
26554 #define CSI_CSICR1_GCLK_MODE_MASK     CSI_CR1_GCLK_MODE_MASK
26555 #define CSI_CSICR1_GCLK_MODE_SHIFT     CSI_CR1_GCLK_MODE_SHIFT
26556 #define CSI_CSICR1_GCLK_MODE(x)     CSI_CR1_GCLK_MODE(x)
26557 #define CSI_CSICR1_CLR_RXFIFO_MASK     CSI_CR1_CLR_RXFIFO_MASK
26558 #define CSI_CSICR1_CLR_RXFIFO_SHIFT     CSI_CR1_CLR_RXFIFO_SHIFT
26559 #define CSI_CSICR1_CLR_RXFIFO(x)     CSI_CR1_CLR_RXFIFO(x)
26560 #define CSI_CSICR1_CLR_STATFIFO_MASK     CSI_CR1_CLR_STATFIFO_MASK
26561 #define CSI_CSICR1_CLR_STATFIFO_SHIFT     CSI_CR1_CLR_STATFIFO_SHIFT
26562 #define CSI_CSICR1_CLR_STATFIFO(x)     CSI_CR1_CLR_STATFIFO(x)
26563 #define CSI_CSICR1_PACK_DIR_MASK     CSI_CR1_PACK_DIR_MASK
26564 #define CSI_CSICR1_PACK_DIR_SHIFT     CSI_CR1_PACK_DIR_SHIFT
26565 #define CSI_CSICR1_PACK_DIR(x)     CSI_CR1_PACK_DIR(x)
26566 #define CSI_CSICR1_FCC_MASK     CSI_CR1_FCC_MASK
26567 #define CSI_CSICR1_FCC_SHIFT     CSI_CR1_FCC_SHIFT
26568 #define CSI_CSICR1_FCC(x)     CSI_CR1_FCC(x)
26569 #define CSI_CSICR1_CCIR_EN_MASK     CSI_CR1_CCIR_EN_MASK
26570 #define CSI_CSICR1_CCIR_EN_SHIFT     CSI_CR1_CCIR_EN_SHIFT
26571 #define CSI_CSICR1_CCIR_EN(x)     CSI_CR1_CCIR_EN(x)
26572 #define CSI_CSICR1_HSYNC_POL_MASK     CSI_CR1_HSYNC_POL_MASK
26573 #define CSI_CSICR1_HSYNC_POL_SHIFT     CSI_CR1_HSYNC_POL_SHIFT
26574 #define CSI_CSICR1_HSYNC_POL(x)     CSI_CR1_HSYNC_POL(x)
26575 #define CSI_CSICR1_HISTOGRAM_CALC_DONE_IE_MASK     CSI_CR1_HISTOGRAM_CALC_DONE_IE_MASK
26576 #define CSI_CSICR1_HISTOGRAM_CALC_DONE_IE_SHIFT     CSI_CR1_HISTOGRAM_CALC_DONE_IE_SHIFT
26577 #define CSI_CSICR1_HISTOGRAM_CALC_DONE_IE(x)     CSI_CR1_HISTOGRAM_CALC_DONE_IE(x)
26578 #define CSI_CSICR1_SOF_INTEN_MASK     CSI_CR1_SOF_INTEN_MASK
26579 #define CSI_CSICR1_SOF_INTEN_SHIFT     CSI_CR1_SOF_INTEN_SHIFT
26580 #define CSI_CSICR1_SOF_INTEN(x)     CSI_CR1_SOF_INTEN(x)
26581 #define CSI_CSICR1_SOF_POL_MASK     CSI_CR1_SOF_POL_MASK
26582 #define CSI_CSICR1_SOF_POL_SHIFT     CSI_CR1_SOF_POL_SHIFT
26583 #define CSI_CSICR1_SOF_POL(x)     CSI_CR1_SOF_POL(x)
26584 #define CSI_CSICR1_RXFF_INTEN_MASK     CSI_CR1_RXFF_INTEN_MASK
26585 #define CSI_CSICR1_RXFF_INTEN_SHIFT     CSI_CR1_RXFF_INTEN_SHIFT
26586 #define CSI_CSICR1_RXFF_INTEN(x)     CSI_CR1_RXFF_INTEN(x)
26587 #define CSI_CSICR1_FB1_DMA_DONE_INTEN_MASK     CSI_CR1_FB1_DMA_DONE_INTEN_MASK
26588 #define CSI_CSICR1_FB1_DMA_DONE_INTEN_SHIFT     CSI_CR1_FB1_DMA_DONE_INTEN_SHIFT
26589 #define CSI_CSICR1_FB1_DMA_DONE_INTEN(x)     CSI_CR1_FB1_DMA_DONE_INTEN(x)
26590 #define CSI_CSICR1_FB2_DMA_DONE_INTEN_MASK     CSI_CR1_FB2_DMA_DONE_INTEN_MASK
26591 #define CSI_CSICR1_FB2_DMA_DONE_INTEN_SHIFT     CSI_CR1_FB2_DMA_DONE_INTEN_SHIFT
26592 #define CSI_CSICR1_FB2_DMA_DONE_INTEN(x)     CSI_CR1_FB2_DMA_DONE_INTEN(x)
26593 #define CSI_CSICR1_STATFF_INTEN_MASK     CSI_CR1_STATFF_INTEN_MASK
26594 #define CSI_CSICR1_STATFF_INTEN_SHIFT     CSI_CR1_STATFF_INTEN_SHIFT
26595 #define CSI_CSICR1_STATFF_INTEN(x)     CSI_CR1_STATFF_INTEN(x)
26596 #define CSI_CSICR1_SFF_DMA_DONE_INTEN_MASK     CSI_CR1_SFF_DMA_DONE_INTEN_MASK
26597 #define CSI_CSICR1_SFF_DMA_DONE_INTEN_SHIFT     CSI_CR1_SFF_DMA_DONE_INTEN_SHIFT
26598 #define CSI_CSICR1_SFF_DMA_DONE_INTEN(x)     CSI_CR1_SFF_DMA_DONE_INTEN(x)
26599 #define CSI_CSICR1_RF_OR_INTEN_MASK     CSI_CR1_RF_OR_INTEN_MASK
26600 #define CSI_CSICR1_RF_OR_INTEN_SHIFT     CSI_CR1_RF_OR_INTEN_SHIFT
26601 #define CSI_CSICR1_RF_OR_INTEN(x)     CSI_CR1_RF_OR_INTEN(x)
26602 #define CSI_CSICR1_SF_OR_INTEN_MASK     CSI_CR1_SF_OR_INTEN_MASK
26603 #define CSI_CSICR1_SF_OR_INTEN_SHIFT     CSI_CR1_SF_OR_INTEN_SHIFT
26604 #define CSI_CSICR1_SF_OR_INTEN(x)     CSI_CR1_SF_OR_INTEN(x)
26605 #define CSI_CSICR1_COF_INT_EN_MASK     CSI_CR1_COF_INT_EN_MASK
26606 #define CSI_CSICR1_COF_INT_EN_SHIFT     CSI_CR1_COF_INT_EN_SHIFT
26607 #define CSI_CSICR1_COF_INT_EN(x)     CSI_CR1_COF_INT_EN(x)
26608 #define CSI_CSICR1_VIDEO_MODE_MASK     CSI_CR1_VIDEO_MODE_MASK
26609 #define CSI_CSICR1_VIDEO_MODE_SHIFT     CSI_CR1_VIDEO_MODE_SHIFT
26610 #define CSI_CSICR1_VIDEO_MODE(x)     CSI_CR1_VIDEO_MODE(x)
26611 #define CSI_CSICR1_EOF_INT_EN_MASK     CSI_CR1_EOF_INT_EN_MASK
26612 #define CSI_CSICR1_EOF_INT_EN_SHIFT     CSI_CR1_EOF_INT_EN_SHIFT
26613 #define CSI_CSICR1_EOF_INT_EN(x)     CSI_CR1_EOF_INT_EN(x)
26614 #define CSI_CSICR1_EXT_VSYNC_MASK     CSI_CR1_EXT_VSYNC_MASK
26615 #define CSI_CSICR1_EXT_VSYNC_SHIFT     CSI_CR1_EXT_VSYNC_SHIFT
26616 #define CSI_CSICR1_EXT_VSYNC(x)     CSI_CR1_EXT_VSYNC(x)
26617 #define CSI_CSICR1_SWAP16_EN_MASK     CSI_CR1_SWAP16_EN_MASK
26618 #define CSI_CSICR1_SWAP16_EN_SHIFT     CSI_CR1_SWAP16_EN_SHIFT
26619 #define CSI_CSICR1_SWAP16_EN(x)     CSI_CR1_SWAP16_EN(x)
26620 #define CSI_CSICR2_HSC_MASK     CSI_CR2_HSC_MASK
26621 #define CSI_CSICR2_HSC_SHIFT     CSI_CR2_HSC_SHIFT
26622 #define CSI_CSICR2_HSC(x)     CSI_CR2_HSC(x)
26623 #define CSI_CSICR2_VSC_MASK     CSI_CR2_VSC_MASK
26624 #define CSI_CSICR2_VSC_SHIFT     CSI_CR2_VSC_SHIFT
26625 #define CSI_CSICR2_VSC(x)     CSI_CR2_VSC(x)
26626 #define CSI_CSICR2_LVRM_MASK     CSI_CR2_LVRM_MASK
26627 #define CSI_CSICR2_LVRM_SHIFT     CSI_CR2_LVRM_SHIFT
26628 #define CSI_CSICR2_LVRM(x)     CSI_CR2_LVRM(x)
26629 #define CSI_CSICR2_BTS_MASK     CSI_CR2_BTS_MASK
26630 #define CSI_CSICR2_BTS_SHIFT     CSI_CR2_BTS_SHIFT
26631 #define CSI_CSICR2_BTS(x)     CSI_CR2_BTS(x)
26632 #define CSI_CSICR2_SCE_MASK     CSI_CR2_SCE_MASK
26633 #define CSI_CSICR2_SCE_SHIFT     CSI_CR2_SCE_SHIFT
26634 #define CSI_CSICR2_SCE(x)     CSI_CR2_SCE(x)
26635 #define CSI_CSICR2_AFS_MASK     CSI_CR2_AFS_MASK
26636 #define CSI_CSICR2_AFS_SHIFT     CSI_CR2_AFS_SHIFT
26637 #define CSI_CSICR2_AFS(x)     CSI_CR2_AFS(x)
26638 #define CSI_CSICR2_DRM_MASK     CSI_CR2_DRM_MASK
26639 #define CSI_CSICR2_DRM_SHIFT     CSI_CR2_DRM_SHIFT
26640 #define CSI_CSICR2_DRM(x)     CSI_CR2_DRM(x)
26641 #define CSI_CSICR2_DMA_BURST_TYPE_SFF_MASK     CSI_CR2_DMA_BURST_TYPE_SFF_MASK
26642 #define CSI_CSICR2_DMA_BURST_TYPE_SFF_SHIFT     CSI_CR2_DMA_BURST_TYPE_SFF_SHIFT
26643 #define CSI_CSICR2_DMA_BURST_TYPE_SFF(x)     CSI_CR2_DMA_BURST_TYPE_SFF(x)
26644 #define CSI_CSICR2_DMA_BURST_TYPE_RFF_MASK     CSI_CR2_DMA_BURST_TYPE_RFF_MASK
26645 #define CSI_CSICR2_DMA_BURST_TYPE_RFF_SHIFT     CSI_CR2_DMA_BURST_TYPE_RFF_SHIFT
26646 #define CSI_CSICR2_DMA_BURST_TYPE_RFF(x)     CSI_CR2_DMA_BURST_TYPE_RFF(x)
26647 #define CSI_CSICR3_ECC_AUTO_EN_MASK     CSI_CR3_ECC_AUTO_EN_MASK
26648 #define CSI_CSICR3_ECC_AUTO_EN_SHIFT     CSI_CR3_ECC_AUTO_EN_SHIFT
26649 #define CSI_CSICR3_ECC_AUTO_EN(x)     CSI_CR3_ECC_AUTO_EN(x)
26650 #define CSI_CSICR3_ECC_INT_EN_MASK     CSI_CR3_ECC_INT_EN_MASK
26651 #define CSI_CSICR3_ECC_INT_EN_SHIFT     CSI_CR3_ECC_INT_EN_SHIFT
26652 #define CSI_CSICR3_ECC_INT_EN(x)     CSI_CR3_ECC_INT_EN(x)
26653 #define CSI_CSICR3_ZERO_PACK_EN_MASK     CSI_CR3_ZERO_PACK_EN_MASK
26654 #define CSI_CSICR3_ZERO_PACK_EN_SHIFT     CSI_CR3_ZERO_PACK_EN_SHIFT
26655 #define CSI_CSICR3_ZERO_PACK_EN(x)     CSI_CR3_ZERO_PACK_EN(x)
26656 #define CSI_CSICR3_SENSOR_16BITS_MASK     CSI_CR3_SENSOR_16BITS_MASK
26657 #define CSI_CSICR3_SENSOR_16BITS_SHIFT     CSI_CR3_SENSOR_16BITS_SHIFT
26658 #define CSI_CSICR3_SENSOR_16BITS(x)     CSI_CR3_SENSOR_16BITS(x)
26659 #define CSI_CSICR3_RxFF_LEVEL_MASK     CSI_CR3_RxFF_LEVEL_MASK
26660 #define CSI_CSICR3_RxFF_LEVEL_SHIFT     CSI_CR3_RxFF_LEVEL_SHIFT
26661 #define CSI_CSICR3_RxFF_LEVEL(x)     CSI_CR3_RxFF_LEVEL(x)
26662 #define CSI_CSICR3_HRESP_ERR_EN_MASK     CSI_CR3_HRESP_ERR_EN_MASK
26663 #define CSI_CSICR3_HRESP_ERR_EN_SHIFT     CSI_CR3_HRESP_ERR_EN_SHIFT
26664 #define CSI_CSICR3_HRESP_ERR_EN(x)     CSI_CR3_HRESP_ERR_EN(x)
26665 #define CSI_CSICR3_STATFF_LEVEL_MASK     CSI_CR3_STATFF_LEVEL_MASK
26666 #define CSI_CSICR3_STATFF_LEVEL_SHIFT     CSI_CR3_STATFF_LEVEL_SHIFT
26667 #define CSI_CSICR3_STATFF_LEVEL(x)     CSI_CR3_STATFF_LEVEL(x)
26668 #define CSI_CSICR3_DMA_REQ_EN_SFF_MASK     CSI_CR3_DMA_REQ_EN_SFF_MASK
26669 #define CSI_CSICR3_DMA_REQ_EN_SFF_SHIFT     CSI_CR3_DMA_REQ_EN_SFF_SHIFT
26670 #define CSI_CSICR3_DMA_REQ_EN_SFF(x)     CSI_CR3_DMA_REQ_EN_SFF(x)
26671 #define CSI_CSICR3_DMA_REQ_EN_RFF_MASK     CSI_CR3_DMA_REQ_EN_RFF_MASK
26672 #define CSI_CSICR3_DMA_REQ_EN_RFF_SHIFT     CSI_CR3_DMA_REQ_EN_RFF_SHIFT
26673 #define CSI_CSICR3_DMA_REQ_EN_RFF(x)     CSI_CR3_DMA_REQ_EN_RFF(x)
26674 #define CSI_CSICR3_DMA_REFLASH_SFF_MASK     CSI_CR3_DMA_REFLASH_SFF_MASK
26675 #define CSI_CSICR3_DMA_REFLASH_SFF_SHIFT     CSI_CR3_DMA_REFLASH_SFF_SHIFT
26676 #define CSI_CSICR3_DMA_REFLASH_SFF(x)     CSI_CR3_DMA_REFLASH_SFF(x)
26677 #define CSI_CSICR3_DMA_REFLASH_RFF_MASK     CSI_CR3_DMA_REFLASH_RFF_MASK
26678 #define CSI_CSICR3_DMA_REFLASH_RFF_SHIFT     CSI_CR3_DMA_REFLASH_RFF_SHIFT
26679 #define CSI_CSICR3_DMA_REFLASH_RFF(x)     CSI_CR3_DMA_REFLASH_RFF(x)
26680 #define CSI_CSICR3_FRMCNT_RST_MASK     CSI_CR3_FRMCNT_RST_MASK
26681 #define CSI_CSICR3_FRMCNT_RST_SHIFT     CSI_CR3_FRMCNT_RST_SHIFT
26682 #define CSI_CSICR3_FRMCNT_RST(x)     CSI_CR3_FRMCNT_RST(x)
26683 #define CSI_CSICR3_FRMCNT_MASK     CSI_CR3_FRMCNT_MASK
26684 #define CSI_CSICR3_FRMCNT_SHIFT     CSI_CR3_FRMCNT_SHIFT
26685 #define CSI_CSICR3_FRMCNT(x)     CSI_CR3_FRMCNT(x)
26686 #define CSI_CSISTATFIFO_STAT_MASK     CSI_STATFIFO_STAT_MASK
26687 #define CSI_CSISTATFIFO_STAT_SHIFT     CSI_STATFIFO_STAT_SHIFT
26688 #define CSI_CSISTATFIFO_STAT(x)     CSI_STATFIFO_STAT(x)
26689 #define CSI_CSIRFIFO_IMAGE_MASK     CSI_RFIFO_IMAGE_MASK
26690 #define CSI_CSIRFIFO_IMAGE_SHIFT     CSI_RFIFO_IMAGE_SHIFT
26691 #define CSI_CSIRFIFO_IMAGE(x)     CSI_RFIFO_IMAGE(x)
26692 #define CSI_CSIRXCNT_RXCNT_MASK     CSI_RXCNT_RXCNT_MASK
26693 #define CSI_CSIRXCNT_RXCNT_SHIFT     CSI_RXCNT_RXCNT_SHIFT
26694 #define CSI_CSIRXCNT_RXCNT(x)     CSI_RXCNT_RXCNT(x)
26695 #define CSI_CSISR_DRDY_MASK     CSI_SR_DRDY_MASK
26696 #define CSI_CSISR_DRDY_SHIFT     CSI_SR_DRDY_SHIFT
26697 #define CSI_CSISR_DRDY(x)     CSI_SR_DRDY(x)
26698 #define CSI_CSISR_ECC_INT_MASK     CSI_SR_ECC_INT_MASK
26699 #define CSI_CSISR_ECC_INT_SHIFT     CSI_SR_ECC_INT_SHIFT
26700 #define CSI_CSISR_ECC_INT(x)     CSI_SR_ECC_INT(x)
26701 #define CSI_CSISR_HISTOGRAM_CALC_DONE_INT_MASK     CSI_SR_HISTOGRAM_CALC_DONE_INT_MASK
26702 #define CSI_CSISR_HISTOGRAM_CALC_DONE_INT_SHIFT     CSI_SR_HISTOGRAM_CALC_DONE_INT_SHIFT
26703 #define CSI_CSISR_HISTOGRAM_CALC_DONE_INT(x)     CSI_SR_HISTOGRAM_CALC_DONE_INT(x)
26704 #define CSI_CSISR_HRESP_ERR_INT_MASK     CSI_SR_HRESP_ERR_INT_MASK
26705 #define CSI_CSISR_HRESP_ERR_INT_SHIFT     CSI_SR_HRESP_ERR_INT_SHIFT
26706 #define CSI_CSISR_HRESP_ERR_INT(x)     CSI_SR_HRESP_ERR_INT(x)
26707 #define CSI_CSISR_COF_INT_MASK     CSI_SR_COF_INT_MASK
26708 #define CSI_CSISR_COF_INT_SHIFT     CSI_SR_COF_INT_SHIFT
26709 #define CSI_CSISR_COF_INT(x)     CSI_SR_COF_INT(x)
26710 #define CSI_CSISR_F1_INT_MASK     CSI_SR_F1_INT_MASK
26711 #define CSI_CSISR_F1_INT_SHIFT     CSI_SR_F1_INT_SHIFT
26712 #define CSI_CSISR_F1_INT(x)     CSI_SR_F1_INT(x)
26713 #define CSI_CSISR_F2_INT_MASK     CSI_SR_F2_INT_MASK
26714 #define CSI_CSISR_F2_INT_SHIFT     CSI_SR_F2_INT_SHIFT
26715 #define CSI_CSISR_F2_INT(x)     CSI_SR_F2_INT(x)
26716 #define CSI_CSISR_SOF_INT_MASK     CSI_SR_SOF_INT_MASK
26717 #define CSI_CSISR_SOF_INT_SHIFT     CSI_SR_SOF_INT_SHIFT
26718 #define CSI_CSISR_SOF_INT(x)     CSI_SR_SOF_INT(x)
26719 #define CSI_CSISR_EOF_INT_MASK     CSI_SR_EOF_INT_MASK
26720 #define CSI_CSISR_EOF_INT_SHIFT     CSI_SR_EOF_INT_SHIFT
26721 #define CSI_CSISR_EOF_INT(x)     CSI_SR_EOF_INT(x)
26722 #define CSI_CSISR_RxFF_INT_MASK     CSI_SR_RxFF_INT_MASK
26723 #define CSI_CSISR_RxFF_INT_SHIFT     CSI_SR_RxFF_INT_SHIFT
26724 #define CSI_CSISR_RxFF_INT(x)     CSI_SR_RxFF_INT(x)
26725 #define CSI_CSISR_DMA_TSF_DONE_FB1_MASK     CSI_SR_DMA_TSF_DONE_FB1_MASK
26726 #define CSI_CSISR_DMA_TSF_DONE_FB1_SHIFT     CSI_SR_DMA_TSF_DONE_FB1_SHIFT
26727 #define CSI_CSISR_DMA_TSF_DONE_FB1(x)     CSI_SR_DMA_TSF_DONE_FB1(x)
26728 #define CSI_CSISR_DMA_TSF_DONE_FB2_MASK     CSI_SR_DMA_TSF_DONE_FB2_MASK
26729 #define CSI_CSISR_DMA_TSF_DONE_FB2_SHIFT     CSI_SR_DMA_TSF_DONE_FB2_SHIFT
26730 #define CSI_CSISR_DMA_TSF_DONE_FB2(x)     CSI_SR_DMA_TSF_DONE_FB2(x)
26731 #define CSI_CSISR_STATFF_INT_MASK     CSI_SR_STATFF_INT_MASK
26732 #define CSI_CSISR_STATFF_INT_SHIFT     CSI_SR_STATFF_INT_SHIFT
26733 #define CSI_CSISR_STATFF_INT(x)     CSI_SR_STATFF_INT(x)
26734 #define CSI_CSISR_DMA_TSF_DONE_SFF_MASK     CSI_SR_DMA_TSF_DONE_SFF_MASK
26735 #define CSI_CSISR_DMA_TSF_DONE_SFF_SHIFT     CSI_SR_DMA_TSF_DONE_SFF_SHIFT
26736 #define CSI_CSISR_DMA_TSF_DONE_SFF(x)     CSI_SR_DMA_TSF_DONE_SFF(x)
26737 #define CSI_CSISR_RF_OR_INT_MASK     CSI_SR_RF_OR_INT_MASK
26738 #define CSI_CSISR_RF_OR_INT_SHIFT     CSI_SR_RF_OR_INT_SHIFT
26739 #define CSI_CSISR_RF_OR_INT(x)     CSI_SR_RF_OR_INT(x)
26740 #define CSI_CSISR_SF_OR_INT_MASK     CSI_SR_SF_OR_INT_MASK
26741 #define CSI_CSISR_SF_OR_INT_SHIFT     CSI_SR_SF_OR_INT_SHIFT
26742 #define CSI_CSISR_SF_OR_INT(x)     CSI_SR_SF_OR_INT(x)
26743 #define CSI_CSISR_DMA_FIELD1_DONE_MASK     CSI_SR_DMA_FIELD1_DONE_MASK
26744 #define CSI_CSISR_DMA_FIELD1_DONE_SHIFT     CSI_SR_DMA_FIELD1_DONE_SHIFT
26745 #define CSI_CSISR_DMA_FIELD1_DONE(x)     CSI_SR_DMA_FIELD1_DONE(x)
26746 #define CSI_CSISR_DMA_FIELD0_DONE_MASK     CSI_SR_DMA_FIELD0_DONE_MASK
26747 #define CSI_CSISR_DMA_FIELD0_DONE_SHIFT     CSI_SR_DMA_FIELD0_DONE_SHIFT
26748 #define CSI_CSISR_DMA_FIELD0_DONE(x)     CSI_SR_DMA_FIELD0_DONE(x)
26749 #define CSI_CSISR_BASEADDR_CHHANGE_ERROR_MASK     CSI_SR_BASEADDR_CHHANGE_ERROR_MASK
26750 #define CSI_CSISR_BASEADDR_CHHANGE_ERROR_SHIFT     CSI_SR_BASEADDR_CHHANGE_ERROR_SHIFT
26751 #define CSI_CSISR_BASEADDR_CHHANGE_ERROR(x)     CSI_SR_BASEADDR_CHHANGE_ERROR(x)
26752 #define CSI_CSIDMASA_STATFIFO_DMA_START_ADDR_SFF_MASK     CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_MASK
26753 #define CSI_CSIDMASA_STATFIFO_DMA_START_ADDR_SFF_SHIFT     CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF_SHIFT
26754 #define CSI_CSIDMASA_STATFIFO_DMA_START_ADDR_SFF(x)     CSI_DMASA_STATFIFO_DMA_START_ADDR_SFF(x)
26755 #define CSI_CSIDMATS_STATFIFO_DMA_TSF_SIZE_SFF_MASK     CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_MASK
26756 #define CSI_CSIDMATS_STATFIFO_DMA_TSF_SIZE_SFF_SHIFT     CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF_SHIFT
26757 #define CSI_CSIDMATS_STATFIFO_DMA_TSF_SIZE_SFF(x)     CSI_DMATS_STATFIFO_DMA_TSF_SIZE_SFF(x)
26758 #define CSI_CSIDMASA_FB1_DMA_START_ADDR_FB1_MASK     CSI_DMASA_FB1_DMA_START_ADDR_FB1_MASK
26759 #define CSI_CSIDMASA_FB1_DMA_START_ADDR_FB1_SHIFT     CSI_DMASA_FB1_DMA_START_ADDR_FB1_SHIFT
26760 #define CSI_CSIDMASA_FB1_DMA_START_ADDR_FB1(x)     CSI_DMASA_FB1_DMA_START_ADDR_FB1(x)
26761 #define CSI_CSIDMASA_FB2_DMA_START_ADDR_FB2_MASK     CSI_DMASA_FB2_DMA_START_ADDR_FB2_MASK
26762 #define CSI_CSIDMASA_FB2_DMA_START_ADDR_FB2_SHIFT     CSI_DMASA_FB2_DMA_START_ADDR_FB2_SHIFT
26763 #define CSI_CSIDMASA_FB2_DMA_START_ADDR_FB2(x)     CSI_DMASA_FB2_DMA_START_ADDR_FB2(x)
26764 #define CSI_CSIFBUF_PARA_FBUF_STRIDE_MASK     CSI_FBUF_PARA_FBUF_STRIDE_MASK
26765 #define CSI_CSIFBUF_PARA_FBUF_STRIDE_SHIFT     CSI_FBUF_PARA_FBUF_STRIDE_SHIFT
26766 #define CSI_CSIFBUF_PARA_FBUF_STRIDE(x)     CSI_FBUF_PARA_FBUF_STRIDE(x)
26767 #define CSI_CSIFBUF_PARA_DEINTERLACE_STRIDE_MASK     CSI_FBUF_PARA_DEINTERLACE_STRIDE_MASK
26768 #define CSI_CSIFBUF_PARA_DEINTERLACE_STRIDE_SHIFT     CSI_FBUF_PARA_DEINTERLACE_STRIDE_SHIFT
26769 #define CSI_CSIFBUF_PARA_DEINTERLACE_STRIDE(x)     CSI_FBUF_PARA_DEINTERLACE_STRIDE(x)
26770 #define CSI_CSIIMAG_PARA_IMAGE_HEIGHT_MASK     CSI_IMAG_PARA_IMAGE_HEIGHT_MASK
26771 #define CSI_CSIIMAG_PARA_IMAGE_HEIGHT_SHIFT     CSI_IMAG_PARA_IMAGE_HEIGHT_SHIFT
26772 #define CSI_CSIIMAG_PARA_IMAGE_HEIGHT(x)     CSI_IMAG_PARA_IMAGE_HEIGHT(x)
26773 #define CSI_CSIIMAG_PARA_IMAGE_WIDTH_MASK     CSI_IMAG_PARA_IMAGE_WIDTH_MASK
26774 #define CSI_CSIIMAG_PARA_IMAGE_WIDTH_SHIFT     CSI_IMAG_PARA_IMAGE_WIDTH_SHIFT
26775 #define CSI_CSIIMAG_PARA_IMAGE_WIDTH(x)     CSI_IMAG_PARA_IMAGE_WIDTH(x)
26776 #define CSI_CSICR18_NTSC_EN_MASK     CSI_CR18_NTSC_EN_MASK
26777 #define CSI_CSICR18_NTSC_EN_SHIFT     CSI_CR18_NTSC_EN_SHIFT
26778 #define CSI_CSICR18_NTSC_EN(x)     CSI_CR18_NTSC_EN(x)
26779 #define CSI_CSICR18_TVDECODER_IN_EN_MASK     CSI_CR18_TVDECODER_IN_EN_MASK
26780 #define CSI_CSICR18_TVDECODER_IN_EN_SHIFT     CSI_CR18_TVDECODER_IN_EN_SHIFT
26781 #define CSI_CSICR18_TVDECODER_IN_EN(x)     CSI_CR18_TVDECODER_IN_EN(x)
26782 #define CSI_CSICR18_DEINTERLACE_EN_MASK     CSI_CR18_DEINTERLACE_EN_MASK
26783 #define CSI_CSICR18_DEINTERLACE_EN_SHIFT     CSI_CR18_DEINTERLACE_EN_SHIFT
26784 #define CSI_CSICR18_DEINTERLACE_EN(x)     CSI_CR18_DEINTERLACE_EN(x)
26785 #define CSI_CSICR18_PARALLEL24_EN_MASK     CSI_CR18_PARALLEL24_EN_MASK
26786 #define CSI_CSICR18_PARALLEL24_EN_SHIFT     CSI_CR18_PARALLEL24_EN_SHIFT
26787 #define CSI_CSICR18_PARALLEL24_EN(x)     CSI_CR18_PARALLEL24_EN(x)
26788 #define CSI_CSICR18_BASEADDR_SWITCH_EN_MASK     CSI_CR18_BASEADDR_SWITCH_EN_MASK
26789 #define CSI_CSICR18_BASEADDR_SWITCH_EN_SHIFT     CSI_CR18_BASEADDR_SWITCH_EN_SHIFT
26790 #define CSI_CSICR18_BASEADDR_SWITCH_EN(x)     CSI_CR18_BASEADDR_SWITCH_EN(x)
26791 #define CSI_CSICR18_BASEADDR_SWITCH_SEL_MASK     CSI_CR18_BASEADDR_SWITCH_SEL_MASK
26792 #define CSI_CSICR18_BASEADDR_SWITCH_SEL_SHIFT     CSI_CR18_BASEADDR_SWITCH_SEL_SHIFT
26793 #define CSI_CSICR18_BASEADDR_SWITCH_SEL(x)     CSI_CR18_BASEADDR_SWITCH_SEL(x)
26794 #define CSI_CSICR18_FIELD0_DONE_IE_MASK     CSI_CR18_FIELD0_DONE_IE_MASK
26795 #define CSI_CSICR18_FIELD0_DONE_IE_SHIFT     CSI_CR18_FIELD0_DONE_IE_SHIFT
26796 #define CSI_CSICR18_FIELD0_DONE_IE(x)     CSI_CR18_FIELD0_DONE_IE(x)
26797 #define CSI_CSICR18_DMA_FIELD1_DONE_IE_MASK     CSI_CR18_DMA_FIELD1_DONE_IE_MASK
26798 #define CSI_CSICR18_DMA_FIELD1_DONE_IE_SHIFT     CSI_CR18_DMA_FIELD1_DONE_IE_SHIFT
26799 #define CSI_CSICR18_DMA_FIELD1_DONE_IE(x)     CSI_CR18_DMA_FIELD1_DONE_IE(x)
26800 #define CSI_CSICR18_LAST_DMA_REQ_SEL_MASK     CSI_CR18_LAST_DMA_REQ_SEL_MASK
26801 #define CSI_CSICR18_LAST_DMA_REQ_SEL_SHIFT     CSI_CR18_LAST_DMA_REQ_SEL_SHIFT
26802 #define CSI_CSICR18_LAST_DMA_REQ_SEL(x)     CSI_CR18_LAST_DMA_REQ_SEL(x)
26803 #define CSI_CSICR18_BASEADDR_CHANGE_ERROR_IE_MASK     CSI_CR18_BASEADDR_CHANGE_ERROR_IE_MASK
26804 #define CSI_CSICR18_BASEADDR_CHANGE_ERROR_IE_SHIFT     CSI_CR18_BASEADDR_CHANGE_ERROR_IE_SHIFT
26805 #define CSI_CSICR18_BASEADDR_CHANGE_ERROR_IE(x)     CSI_CR18_BASEADDR_CHANGE_ERROR_IE(x)
26806 #define CSI_CSICR18_RGB888A_FORMAT_SEL_MASK     CSI_CR18_RGB888A_FORMAT_SEL_MASK
26807 #define CSI_CSICR18_RGB888A_FORMAT_SEL_SHIFT     CSI_CR18_RGB888A_FORMAT_SEL_SHIFT
26808 #define CSI_CSICR18_RGB888A_FORMAT_SEL(x)     CSI_CR18_RGB888A_FORMAT_SEL(x)
26809 #define CSI_CSICR18_AHB_HPROT_MASK     CSI_CR18_AHB_HPROT_MASK
26810 #define CSI_CSICR18_AHB_HPROT_SHIFT     CSI_CR18_AHB_HPROT_SHIFT
26811 #define CSI_CSICR18_AHB_HPROT(x)     CSI_CR18_AHB_HPROT(x)
26812 #define CSI_CSICR18_MASK_OPTION_MASK     CSI_CR18_MASK_OPTION_MASK
26813 #define CSI_CSICR18_MASK_OPTION_SHIFT     CSI_CR18_MASK_OPTION_SHIFT
26814 #define CSI_CSICR18_MASK_OPTION(x)     CSI_CR18_MASK_OPTION(x)
26815 #define CSI_CSICR18_MIPI_DOUBLE_CMPNT_MASK     CSI_CR18_MIPI_DOUBLE_CMPNT_MASK
26816 #define CSI_CSICR18_MIPI_DOUBLE_CMPNT_SHIFT     CSI_CR18_MIPI_DOUBLE_CMPNT_SHIFT
26817 #define CSI_CSICR18_MIPI_DOUBLE_CMPNT(x)     CSI_CR18_MIPI_DOUBLE_CMPNT(x)
26818 #define CSI_CSICR18_MIPI_YU_SWAP_MASK     CSI_CR18_MIPI_YU_SWAP_MASK
26819 #define CSI_CSICR18_MIPI_YU_SWAP_SHIFT     CSI_CR18_MIPI_YU_SWAP_SHIFT
26820 #define CSI_CSICR18_MIPI_YU_SWAP(x)     CSI_CR18_MIPI_YU_SWAP(x)
26821 #define CSI_CSICR18_DATA_FROM_MIPI_MASK     CSI_CR18_DATA_FROM_MIPI_MASK
26822 #define CSI_CSICR18_DATA_FROM_MIPI_SHIFT     CSI_CR18_DATA_FROM_MIPI_SHIFT
26823 #define CSI_CSICR18_DATA_FROM_MIPI(x)     CSI_CR18_DATA_FROM_MIPI(x)
26824 #define CSI_CSICR18_LINE_STRIDE_EN_MASK     CSI_CR18_LINE_STRIDE_EN_MASK
26825 #define CSI_CSICR18_LINE_STRIDE_EN_SHIFT     CSI_CR18_LINE_STRIDE_EN_SHIFT
26826 #define CSI_CSICR18_LINE_STRIDE_EN(x)     CSI_CR18_LINE_STRIDE_EN(x)
26827 #define CSI_CSICR18_MIPI_DATA_FORMAT_MASK     CSI_CR18_MIPI_DATA_FORMAT_MASK
26828 #define CSI_CSICR18_MIPI_DATA_FORMAT_SHIFT     CSI_CR18_MIPI_DATA_FORMAT_SHIFT
26829 #define CSI_CSICR18_MIPI_DATA_FORMAT(x)     CSI_CR18_MIPI_DATA_FORMAT(x)
26830 #define CSI_CSICR18_CSI_ENABLE_MASK     CSI_CR18_CSI_ENABLE_MASK
26831 #define CSI_CSICR18_CSI_ENABLE_SHIFT     CSI_CR18_CSI_ENABLE_SHIFT
26832 #define CSI_CSICR18_CSI_ENABLE(x)     CSI_CR18_CSI_ENABLE(x)
26833 #define CSI_CSICR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_MASK     CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_MASK
26834 #define CSI_CSICR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_SHIFT     CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL_SHIFT
26835 #define CSI_CSICR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL(x)     CSI_CR19_DMA_RFIFO_HIGHEST_FIFO_LEVEL(x)
26836 #define CSI_CSICR20_THRESHOLD_MASK     CSI_CR20_THRESHOLD_MASK
26837 #define CSI_CSICR20_THRESHOLD_SHIFT     CSI_CR20_THRESHOLD_SHIFT
26838 #define CSI_CSICR20_THRESHOLD(x)     CSI_CR20_THRESHOLD(x)
26839 #define CSI_CSICR20_BINARY_EN_MASK     CSI_CR20_BINARY_EN_MASK
26840 #define CSI_CSICR20_BINARY_EN_SHIFT     CSI_CR20_BINARY_EN_SHIFT
26841 #define CSI_CSICR20_BINARY_EN(x)     CSI_CR20_BINARY_EN(x)
26842 #define CSI_CSICR20_QR_DATA_FORMAT_MASK     CSI_CR20_QR_DATA_FORMAT_MASK
26843 #define CSI_CSICR20_QR_DATA_FORMAT_SHIFT     CSI_CR20_QR_DATA_FORMAT_SHIFT
26844 #define CSI_CSICR20_QR_DATA_FORMAT(x)     CSI_CR20_QR_DATA_FORMAT(x)
26845 #define CSI_CSICR20_BIG_END_MASK     CSI_CR20_BIG_END_MASK
26846 #define CSI_CSICR20_BIG_END_SHIFT     CSI_CR20_BIG_END_SHIFT
26847 #define CSI_CSICR20_BIG_END(x)     CSI_CR20_BIG_END(x)
26848 #define CSI_CSICR20_10BIT_NEW_EN_MASK     CSI_CR20_10BIT_NEW_EN_MASK
26849 #define CSI_CSICR20_10BIT_NEW_EN_SHIFT     CSI_CR20_10BIT_NEW_EN_SHIFT
26850 #define CSI_CSICR20_10BIT_NEW_EN(x)     CSI_CR20_10BIT_NEW_EN(x)
26851 #define CSI_CSICR20_HISTOGRAM_EN_MASK     CSI_CR20_HISTOGRAM_EN_MASK
26852 #define CSI_CSICR20_HISTOGRAM_EN_SHIFT     CSI_CR20_HISTOGRAM_EN_SHIFT
26853 #define CSI_CSICR20_HISTOGRAM_EN(x)     CSI_CR20_HISTOGRAM_EN(x)
26854 #define CSI_CSICR20_QRCODE_EN_MASK     CSI_CR20_QRCODE_EN_MASK
26855 #define CSI_CSICR20_QRCODE_EN_SHIFT     CSI_CR20_QRCODE_EN_SHIFT
26856 #define CSI_CSICR20_QRCODE_EN(x)     CSI_CR20_QRCODE_EN(x)
26857 #define CSI_CSICR21_PIXEL_COUNTERS_MASK     CSI_CR21_PIXEL_COUNTERS_MASK
26858 #define CSI_CSICR21_PIXEL_COUNTERS_SHIFT     CSI_CR21_PIXEL_COUNTERS_SHIFT
26859 #define CSI_CSICR21_PIXEL_COUNTERS(x)     CSI_CR21_PIXEL_COUNTERS(x)
26860 #define CSI_CSICR22_PIXEL_COUNTERS_MASK     CSI_CR22_PIXEL_COUNTERS_MASK
26861 #define CSI_CSICR22_PIXEL_COUNTERS_SHIFT     CSI_CR22_PIXEL_COUNTERS_SHIFT
26862 #define CSI_CSICR22_PIXEL_COUNTERS(x)     CSI_CR22_PIXEL_COUNTERS(x)
26863 #define CSI_CSICR23_PIXEL_COUNTERS_MASK     CSI_CR23_PIXEL_COUNTERS_MASK
26864 #define CSI_CSICR23_PIXEL_COUNTERS_SHIFT     CSI_CR23_PIXEL_COUNTERS_SHIFT
26865 #define CSI_CSICR23_PIXEL_COUNTERS(x)     CSI_CR23_PIXEL_COUNTERS(x)
26866 #define CSI_CSICR24_PIXEL_COUNTERS_MASK     CSI_CR24_PIXEL_COUNTERS_MASK
26867 #define CSI_CSICR24_PIXEL_COUNTERS_SHIFT     CSI_CR24_PIXEL_COUNTERS_SHIFT
26868 #define CSI_CSICR24_PIXEL_COUNTERS(x)     CSI_CR24_PIXEL_COUNTERS(x)
26869 #define CSI_CSICR25_PIXEL_COUNTERS_MASK     CSI_CR25_PIXEL_COUNTERS_MASK
26870 #define CSI_CSICR25_PIXEL_COUNTERS_SHIFT     CSI_CR25_PIXEL_COUNTERS_SHIFT
26871 #define CSI_CSICR25_PIXEL_COUNTERS(x)     CSI_CR25_PIXEL_COUNTERS(x)
26872 #define CSI_CSICR26_PIXEL_COUNTERS_MASK     CSI_CR26_PIXEL_COUNTERS_MASK
26873 #define CSI_CSICR26_PIXEL_COUNTERS_SHIFT     CSI_CR26_PIXEL_COUNTERS_SHIFT
26874 #define CSI_CSICR26_PIXEL_COUNTERS(x)     CSI_CR26_PIXEL_COUNTERS(x)
26875 #define CSI_CSICR27_PIXEL_COUNTERS_MASK     CSI_CR27_PIXEL_COUNTERS_MASK
26876 #define CSI_CSICR27_PIXEL_COUNTERS_SHIFT     CSI_CR27_PIXEL_COUNTERS_SHIFT
26877 #define CSI_CSICR27_PIXEL_COUNTERS(x)     CSI_CR27_PIXEL_COUNTERS(x)
26878 #define CSI_CSICR28_PIXEL_COUNTERS_MASK     CSI_CR28_PIXEL_COUNTERS_MASK
26879 #define CSI_CSICR28_PIXEL_COUNTERS_SHIFT     CSI_CR28_PIXEL_COUNTERS_SHIFT
26880 #define CSI_CSICR28_PIXEL_COUNTERS(x)     CSI_CR28_PIXEL_COUNTERS(x)
26881 #define CSI_CSICR29_PIXEL_COUNTERS_MASK     CSI_CR29_PIXEL_COUNTERS_MASK
26882 #define CSI_CSICR29_PIXEL_COUNTERS_SHIFT     CSI_CR29_PIXEL_COUNTERS_SHIFT
26883 #define CSI_CSICR29_PIXEL_COUNTERS(x)     CSI_CR29_PIXEL_COUNTERS(x)
26884 #define CSI_CSICR30_PIXEL_COUNTERS_MASK     CSI_CR30_PIXEL_COUNTERS_MASK
26885 #define CSI_CSICR30_PIXEL_COUNTERS_SHIFT     CSI_CR30_PIXEL_COUNTERS_SHIFT
26886 #define CSI_CSICR30_PIXEL_COUNTERS(x)     CSI_CR30_PIXEL_COUNTERS(x)
26887 #define CSI_CSICR31_PIXEL_COUNTERS_MASK     CSI_CR31_PIXEL_COUNTERS_MASK
26888 #define CSI_CSICR31_PIXEL_COUNTERS_SHIFT     CSI_CR31_PIXEL_COUNTERS_SHIFT
26889 #define CSI_CSICR31_PIXEL_COUNTERS(x)     CSI_CR31_PIXEL_COUNTERS(x)
26890 #define CSI_CSICR32_PIXEL_COUNTERS_MASK     CSI_CR32_PIXEL_COUNTERS_MASK
26891 #define CSI_CSICR32_PIXEL_COUNTERS_SHIFT     CSI_CR32_PIXEL_COUNTERS_SHIFT
26892 #define CSI_CSICR32_PIXEL_COUNTERS(x)     CSI_CR32_PIXEL_COUNTERS(x)
26893 #define CSI_CSICR33_PIXEL_COUNTERS_MASK     CSI_CR33_PIXEL_COUNTERS_MASK
26894 #define CSI_CSICR33_PIXEL_COUNTERS_SHIFT     CSI_CR33_PIXEL_COUNTERS_SHIFT
26895 #define CSI_CSICR33_PIXEL_COUNTERS(x)     CSI_CR33_PIXEL_COUNTERS(x)
26896 #define CSI_CSICR34_PIXEL_COUNTERS_MASK     CSI_CR34_PIXEL_COUNTERS_MASK
26897 #define CSI_CSICR34_PIXEL_COUNTERS_SHIFT     CSI_CR34_PIXEL_COUNTERS_SHIFT
26898 #define CSI_CSICR34_PIXEL_COUNTERS(x)     CSI_CR34_PIXEL_COUNTERS(x)
26899 #define CSI_CSICR35_PIXEL_COUNTERS_MASK     CSI_CR35_PIXEL_COUNTERS_MASK
26900 #define CSI_CSICR35_PIXEL_COUNTERS_SHIFT     CSI_CR35_PIXEL_COUNTERS_SHIFT
26901 #define CSI_CSICR35_PIXEL_COUNTERS(x)     CSI_CR35_PIXEL_COUNTERS(x)
26902 #define CSI_CSICR36_PIXEL_COUNTERS_MASK     CSI_CR36_PIXEL_COUNTERS_MASK
26903 #define CSI_CSICR36_PIXEL_COUNTERS_SHIFT     CSI_CR36_PIXEL_COUNTERS_SHIFT
26904 #define CSI_CSICR36_PIXEL_COUNTERS(x)     CSI_CR36_PIXEL_COUNTERS(x)
26905 #define CSI_CSICR37_PIXEL_COUNTERS_MASK     CSI_CR37_PIXEL_COUNTERS_MASK
26906 #define CSI_CSICR37_PIXEL_COUNTERS_SHIFT     CSI_CR37_PIXEL_COUNTERS_SHIFT
26907 #define CSI_CSICR37_PIXEL_COUNTERS(x)     CSI_CR37_PIXEL_COUNTERS(x)
26908 #define CSI_CSICR38_PIXEL_COUNTERS_MASK     CSI_CR38_PIXEL_COUNTERS_MASK
26909 #define CSI_CSICR38_PIXEL_COUNTERS_SHIFT     CSI_CR38_PIXEL_COUNTERS_SHIFT
26910 #define CSI_CSICR38_PIXEL_COUNTERS(x)     CSI_CR38_PIXEL_COUNTERS(x)
26911 #define CSI_CSICR39_PIXEL_COUNTERS_MASK     CSI_CR39_PIXEL_COUNTERS_MASK
26912 #define CSI_CSICR39_PIXEL_COUNTERS_SHIFT     CSI_CR39_PIXEL_COUNTERS_SHIFT
26913 #define CSI_CSICR39_PIXEL_COUNTERS(x)     CSI_CR39_PIXEL_COUNTERS(x)
26914 #define CSI_CSICR40_PIXEL_COUNTERS_MASK     CSI_CR40_PIXEL_COUNTERS_MASK
26915 #define CSI_CSICR40_PIXEL_COUNTERS_SHIFT     CSI_CR40_PIXEL_COUNTERS_SHIFT
26916 #define CSI_CSICR40_PIXEL_COUNTERS(x)     CSI_CR40_PIXEL_COUNTERS(x)
26917 #define CSI_CSICR41_PIXEL_COUNTERS_MASK     CSI_CR41_PIXEL_COUNTERS_MASK
26918 #define CSI_CSICR41_PIXEL_COUNTERS_SHIFT     CSI_CR41_PIXEL_COUNTERS_SHIFT
26919 #define CSI_CSICR41_PIXEL_COUNTERS(x)     CSI_CR41_PIXEL_COUNTERS(x)
26920 #define CSI_CSICR42_PIXEL_COUNTERS_MASK     CSI_CR42_PIXEL_COUNTERS_MASK
26921 #define CSI_CSICR42_PIXEL_COUNTERS_SHIFT     CSI_CR42_PIXEL_COUNTERS_SHIFT
26922 #define CSI_CSICR42_PIXEL_COUNTERS(x)     CSI_CR42_PIXEL_COUNTERS(x)
26923 #define CSI_CSICR43_PIXEL_COUNTERS_MASK     CSI_CR43_PIXEL_COUNTERS_MASK
26924 #define CSI_CSICR43_PIXEL_COUNTERS_SHIFT     CSI_CR43_PIXEL_COUNTERS_SHIFT
26925 #define CSI_CSICR43_PIXEL_COUNTERS(x)     CSI_CR43_PIXEL_COUNTERS(x)
26926 #define CSI_CSICR44_PIXEL_COUNTERS_MASK     CSI_CR44_PIXEL_COUNTERS_MASK
26927 #define CSI_CSICR44_PIXEL_COUNTERS_SHIFT     CSI_CR44_PIXEL_COUNTERS_SHIFT
26928 #define CSI_CSICR44_PIXEL_COUNTERS(x)     CSI_CR44_PIXEL_COUNTERS(x)
26929 #define CSI_CSICR45_PIXEL_COUNTERS_MASK     CSI_CR45_PIXEL_COUNTERS_MASK
26930 #define CSI_CSICR45_PIXEL_COUNTERS_SHIFT     CSI_CR45_PIXEL_COUNTERS_SHIFT
26931 #define CSI_CSICR45_PIXEL_COUNTERS(x)     CSI_CR45_PIXEL_COUNTERS(x)
26932 #define CSI_CSICR46_PIXEL_COUNTERS_MASK     CSI_CR46_PIXEL_COUNTERS_MASK
26933 #define CSI_CSICR46_PIXEL_COUNTERS_SHIFT     CSI_CR46_PIXEL_COUNTERS_SHIFT
26934 #define CSI_CSICR46_PIXEL_COUNTERS(x)     CSI_CR46_PIXEL_COUNTERS(x)
26935 #define CSI_CSICR47_PIXEL_COUNTERS_MASK     CSI_CR47_PIXEL_COUNTERS_MASK
26936 #define CSI_CSICR47_PIXEL_COUNTERS_SHIFT     CSI_CR47_PIXEL_COUNTERS_SHIFT
26937 #define CSI_CSICR47_PIXEL_COUNTERS(x)     CSI_CR47_PIXEL_COUNTERS(x)
26938 #define CSI_CSICR48_PIXEL_COUNTERS_MASK     CSI_CR48_PIXEL_COUNTERS_MASK
26939 #define CSI_CSICR48_PIXEL_COUNTERS_SHIFT     CSI_CR48_PIXEL_COUNTERS_SHIFT
26940 #define CSI_CSICR48_PIXEL_COUNTERS(x)     CSI_CR48_PIXEL_COUNTERS(x)
26941 #define CSI_CSICR49_PIXEL_COUNTERS_MASK     CSI_CR49_PIXEL_COUNTERS_MASK
26942 #define CSI_CSICR49_PIXEL_COUNTERS_SHIFT     CSI_CR49_PIXEL_COUNTERS_SHIFT
26943 #define CSI_CSICR49_PIXEL_COUNTERS(x)     CSI_CR49_PIXEL_COUNTERS(x)
26944 #define CSI_CSICR50_PIXEL_COUNTERS_MASK     CSI_CR50_PIXEL_COUNTERS_MASK
26945 #define CSI_CSICR50_PIXEL_COUNTERS_SHIFT     CSI_CR50_PIXEL_COUNTERS_SHIFT
26946 #define CSI_CSICR50_PIXEL_COUNTERS(x)     CSI_CR50_PIXEL_COUNTERS(x)
26947 #define CSI_CSICR51_PIXEL_COUNTERS_MASK     CSI_CR51_PIXEL_COUNTERS_MASK
26948 #define CSI_CSICR51_PIXEL_COUNTERS_SHIFT     CSI_CR51_PIXEL_COUNTERS_SHIFT
26949 #define CSI_CSICR51_PIXEL_COUNTERS(x)     CSI_CR51_PIXEL_COUNTERS(x)
26950 #define CSI_CSICR52_PIXEL_COUNTERS_MASK     CSI_CR52_PIXEL_COUNTERS_MASK
26951 #define CSI_CSICR52_PIXEL_COUNTERS_SHIFT     CSI_CR52_PIXEL_COUNTERS_SHIFT
26952 #define CSI_CSICR52_PIXEL_COUNTERS(x)     CSI_CR52_PIXEL_COUNTERS(x)
26953 #define CSI_CSICR53_PIXEL_COUNTERS_MASK     CSI_CR53_PIXEL_COUNTERS_MASK
26954 #define CSI_CSICR53_PIXEL_COUNTERS_SHIFT     CSI_CR53_PIXEL_COUNTERS_SHIFT
26955 #define CSI_CSICR53_PIXEL_COUNTERS(x)     CSI_CR53_PIXEL_COUNTERS(x)
26956 #define CSI_CSICR54_PIXEL_COUNTERS_MASK     CSI_CR54_PIXEL_COUNTERS_MASK
26957 #define CSI_CSICR54_PIXEL_COUNTERS_SHIFT     CSI_CR54_PIXEL_COUNTERS_SHIFT
26958 #define CSI_CSICR54_PIXEL_COUNTERS(x)     CSI_CR54_PIXEL_COUNTERS(x)
26959 #define CSI_CSICR55_PIXEL_COUNTERS_MASK     CSI_CR55_PIXEL_COUNTERS_MASK
26960 #define CSI_CSICR55_PIXEL_COUNTERS_SHIFT     CSI_CR55_PIXEL_COUNTERS_SHIFT
26961 #define CSI_CSICR55_PIXEL_COUNTERS(x)     CSI_CR55_PIXEL_COUNTERS(x)
26962 #define CSI_CSICR56_PIXEL_COUNTERS_MASK     CSI_CR56_PIXEL_COUNTERS_MASK
26963 #define CSI_CSICR56_PIXEL_COUNTERS_SHIFT     CSI_CR56_PIXEL_COUNTERS_SHIFT
26964 #define CSI_CSICR56_PIXEL_COUNTERS(x)     CSI_CR56_PIXEL_COUNTERS(x)
26965 #define CSI_CSICR57_PIXEL_COUNTERS_MASK     CSI_CR57_PIXEL_COUNTERS_MASK
26966 #define CSI_CSICR57_PIXEL_COUNTERS_SHIFT     CSI_CR57_PIXEL_COUNTERS_SHIFT
26967 #define CSI_CSICR57_PIXEL_COUNTERS(x)     CSI_CR57_PIXEL_COUNTERS(x)
26968 #define CSI_CSICR58_PIXEL_COUNTERS_MASK     CSI_CR58_PIXEL_COUNTERS_MASK
26969 #define CSI_CSICR58_PIXEL_COUNTERS_SHIFT     CSI_CR58_PIXEL_COUNTERS_SHIFT
26970 #define CSI_CSICR58_PIXEL_COUNTERS(x)     CSI_CR58_PIXEL_COUNTERS(x)
26971 #define CSI_CSICR59_PIXEL_COUNTERS_MASK     CSI_CR59_PIXEL_COUNTERS_MASK
26972 #define CSI_CSICR59_PIXEL_COUNTERS_SHIFT     CSI_CR59_PIXEL_COUNTERS_SHIFT
26973 #define CSI_CSICR59_PIXEL_COUNTERS(x)     CSI_CR59_PIXEL_COUNTERS(x)
26974 #define CSI_CSICR60_PIXEL_COUNTERS_MASK     CSI_CR60_PIXEL_COUNTERS_MASK
26975 #define CSI_CSICR60_PIXEL_COUNTERS_SHIFT     CSI_CR60_PIXEL_COUNTERS_SHIFT
26976 #define CSI_CSICR60_PIXEL_COUNTERS(x)     CSI_CR60_PIXEL_COUNTERS(x)
26977 #define CSI_CSICR61_PIXEL_COUNTERS_MASK     CSI_CR61_PIXEL_COUNTERS_MASK
26978 #define CSI_CSICR61_PIXEL_COUNTERS_SHIFT     CSI_CR61_PIXEL_COUNTERS_SHIFT
26979 #define CSI_CSICR61_PIXEL_COUNTERS(x)     CSI_CR61_PIXEL_COUNTERS(x)
26980 #define CSI_CSICR62_PIXEL_COUNTERS_MASK     CSI_CR62_PIXEL_COUNTERS_MASK
26981 #define CSI_CSICR62_PIXEL_COUNTERS_SHIFT     CSI_CR62_PIXEL_COUNTERS_SHIFT
26982 #define CSI_CSICR62_PIXEL_COUNTERS(x)     CSI_CR62_PIXEL_COUNTERS(x)
26983 #define CSI_CSICR63_PIXEL_COUNTERS_MASK     CSI_CR63_PIXEL_COUNTERS_MASK
26984 #define CSI_CSICR63_PIXEL_COUNTERS_SHIFT     CSI_CR63_PIXEL_COUNTERS_SHIFT
26985 #define CSI_CSICR63_PIXEL_COUNTERS(x)     CSI_CR63_PIXEL_COUNTERS(x)
26986 #define CSI_CSICR64_PIXEL_COUNTERS_MASK     CSI_CR64_PIXEL_COUNTERS_MASK
26987 #define CSI_CSICR64_PIXEL_COUNTERS_SHIFT     CSI_CR64_PIXEL_COUNTERS_SHIFT
26988 #define CSI_CSICR64_PIXEL_COUNTERS(x)     CSI_CR64_PIXEL_COUNTERS(x)
26989 #define CSI_CSICR65_PIXEL_COUNTERS_MASK     CSI_CR65_PIXEL_COUNTERS_MASK
26990 #define CSI_CSICR65_PIXEL_COUNTERS_SHIFT     CSI_CR65_PIXEL_COUNTERS_SHIFT
26991 #define CSI_CSICR65_PIXEL_COUNTERS(x)     CSI_CR65_PIXEL_COUNTERS(x)
26992 #define CSI_CSICR66_PIXEL_COUNTERS_MASK     CSI_CR66_PIXEL_COUNTERS_MASK
26993 #define CSI_CSICR66_PIXEL_COUNTERS_SHIFT     CSI_CR66_PIXEL_COUNTERS_SHIFT
26994 #define CSI_CSICR66_PIXEL_COUNTERS(x)     CSI_CR66_PIXEL_COUNTERS(x)
26995 #define CSI_CSICR67_PIXEL_COUNTERS_MASK     CSI_CR67_PIXEL_COUNTERS_MASK
26996 #define CSI_CSICR67_PIXEL_COUNTERS_SHIFT     CSI_CR67_PIXEL_COUNTERS_SHIFT
26997 #define CSI_CSICR67_PIXEL_COUNTERS(x)     CSI_CR67_PIXEL_COUNTERS(x)
26998 #define CSI_CSICR68_PIXEL_COUNTERS_MASK     CSI_CR68_PIXEL_COUNTERS_MASK
26999 #define CSI_CSICR68_PIXEL_COUNTERS_SHIFT     CSI_CR68_PIXEL_COUNTERS_SHIFT
27000 #define CSI_CSICR68_PIXEL_COUNTERS(x)     CSI_CR68_PIXEL_COUNTERS(x)
27001 #define CSI_CSICR69_PIXEL_COUNTERS_MASK     CSI_CR69_PIXEL_COUNTERS_MASK
27002 #define CSI_CSICR69_PIXEL_COUNTERS_SHIFT     CSI_CR69_PIXEL_COUNTERS_SHIFT
27003 #define CSI_CSICR69_PIXEL_COUNTERS(x)     CSI_CR69_PIXEL_COUNTERS(x)
27004 #define CSI_CSICR70_PIXEL_COUNTERS_MASK     CSI_CR70_PIXEL_COUNTERS_MASK
27005 #define CSI_CSICR70_PIXEL_COUNTERS_SHIFT     CSI_CR70_PIXEL_COUNTERS_SHIFT
27006 #define CSI_CSICR70_PIXEL_COUNTERS(x)     CSI_CR70_PIXEL_COUNTERS(x)
27007 #define CSI_CSICR71_PIXEL_COUNTERS_MASK     CSI_CR71_PIXEL_COUNTERS_MASK
27008 #define CSI_CSICR71_PIXEL_COUNTERS_SHIFT     CSI_CR71_PIXEL_COUNTERS_SHIFT
27009 #define CSI_CSICR71_PIXEL_COUNTERS(x)     CSI_CR71_PIXEL_COUNTERS(x)
27010 #define CSI_CSICR72_PIXEL_COUNTERS_MASK     CSI_CR72_PIXEL_COUNTERS_MASK
27011 #define CSI_CSICR72_PIXEL_COUNTERS_SHIFT     CSI_CR72_PIXEL_COUNTERS_SHIFT
27012 #define CSI_CSICR72_PIXEL_COUNTERS(x)     CSI_CR72_PIXEL_COUNTERS(x)
27013 #define CSI_CSICR73_PIXEL_COUNTERS_MASK     CSI_CR73_PIXEL_COUNTERS_MASK
27014 #define CSI_CSICR73_PIXEL_COUNTERS_SHIFT     CSI_CR73_PIXEL_COUNTERS_SHIFT
27015 #define CSI_CSICR73_PIXEL_COUNTERS(x)     CSI_CR73_PIXEL_COUNTERS(x)
27016 #define CSI_CSICR74_PIXEL_COUNTERS_MASK     CSI_CR74_PIXEL_COUNTERS_MASK
27017 #define CSI_CSICR74_PIXEL_COUNTERS_SHIFT     CSI_CR74_PIXEL_COUNTERS_SHIFT
27018 #define CSI_CSICR74_PIXEL_COUNTERS(x)     CSI_CR74_PIXEL_COUNTERS(x)
27019 #define CSI_CSICR75_PIXEL_COUNTERS_MASK     CSI_CR75_PIXEL_COUNTERS_MASK
27020 #define CSI_CSICR75_PIXEL_COUNTERS_SHIFT     CSI_CR75_PIXEL_COUNTERS_SHIFT
27021 #define CSI_CSICR75_PIXEL_COUNTERS(x)     CSI_CR75_PIXEL_COUNTERS(x)
27022 #define CSI_CSICR76_PIXEL_COUNTERS_MASK     CSI_CR76_PIXEL_COUNTERS_MASK
27023 #define CSI_CSICR76_PIXEL_COUNTERS_SHIFT     CSI_CR76_PIXEL_COUNTERS_SHIFT
27024 #define CSI_CSICR76_PIXEL_COUNTERS(x)     CSI_CR76_PIXEL_COUNTERS(x)
27025 #define CSI_CSICR77_PIXEL_COUNTERS_MASK     CSI_CR77_PIXEL_COUNTERS_MASK
27026 #define CSI_CSICR77_PIXEL_COUNTERS_SHIFT     CSI_CR77_PIXEL_COUNTERS_SHIFT
27027 #define CSI_CSICR77_PIXEL_COUNTERS(x)     CSI_CR77_PIXEL_COUNTERS(x)
27028 #define CSI_CSICR78_PIXEL_COUNTERS_MASK     CSI_CR78_PIXEL_COUNTERS_MASK
27029 #define CSI_CSICR78_PIXEL_COUNTERS_SHIFT     CSI_CR78_PIXEL_COUNTERS_SHIFT
27030 #define CSI_CSICR78_PIXEL_COUNTERS(x)     CSI_CR78_PIXEL_COUNTERS(x)
27031 #define CSI_CSICR79_PIXEL_COUNTERS_MASK     CSI_CR79_PIXEL_COUNTERS_MASK
27032 #define CSI_CSICR79_PIXEL_COUNTERS_SHIFT     CSI_CR79_PIXEL_COUNTERS_SHIFT
27033 #define CSI_CSICR79_PIXEL_COUNTERS(x)     CSI_CR79_PIXEL_COUNTERS(x)
27034 #define CSI_CSICR80_PIXEL_COUNTERS_MASK     CSI_CR80_PIXEL_COUNTERS_MASK
27035 #define CSI_CSICR80_PIXEL_COUNTERS_SHIFT     CSI_CR80_PIXEL_COUNTERS_SHIFT
27036 #define CSI_CSICR80_PIXEL_COUNTERS(x)     CSI_CR80_PIXEL_COUNTERS(x)
27037 #define CSI_CSICR81_PIXEL_COUNTERS_MASK     CSI_CR81_PIXEL_COUNTERS_MASK
27038 #define CSI_CSICR81_PIXEL_COUNTERS_SHIFT     CSI_CR81_PIXEL_COUNTERS_SHIFT
27039 #define CSI_CSICR81_PIXEL_COUNTERS(x)     CSI_CR81_PIXEL_COUNTERS(x)
27040 #define CSI_CSICR82_PIXEL_COUNTERS_MASK     CSI_CR82_PIXEL_COUNTERS_MASK
27041 #define CSI_CSICR82_PIXEL_COUNTERS_SHIFT     CSI_CR82_PIXEL_COUNTERS_SHIFT
27042 #define CSI_CSICR82_PIXEL_COUNTERS(x)     CSI_CR82_PIXEL_COUNTERS(x)
27043 #define CSI_CSICR83_PIXEL_COUNTERS_MASK     CSI_CR83_PIXEL_COUNTERS_MASK
27044 #define CSI_CSICR83_PIXEL_COUNTERS_SHIFT     CSI_CR83_PIXEL_COUNTERS_SHIFT
27045 #define CSI_CSICR83_PIXEL_COUNTERS(x)     CSI_CR83_PIXEL_COUNTERS(x)
27046 #define CSI_CSICR84_PIXEL_COUNTERS_MASK     CSI_CR84_PIXEL_COUNTERS_MASK
27047 #define CSI_CSICR84_PIXEL_COUNTERS_SHIFT     CSI_CR84_PIXEL_COUNTERS_SHIFT
27048 #define CSI_CSICR84_PIXEL_COUNTERS(x)     CSI_CR84_PIXEL_COUNTERS(x)
27049 #define CSI_CSICR85_PIXEL_COUNTERS_MASK     CSI_CR85_PIXEL_COUNTERS_MASK
27050 #define CSI_CSICR85_PIXEL_COUNTERS_SHIFT     CSI_CR85_PIXEL_COUNTERS_SHIFT
27051 #define CSI_CSICR85_PIXEL_COUNTERS(x)     CSI_CR85_PIXEL_COUNTERS(x)
27052 #define CSI_CSICR86_PIXEL_COUNTERS_MASK     CSI_CR86_PIXEL_COUNTERS_MASK
27053 #define CSI_CSICR86_PIXEL_COUNTERS_SHIFT     CSI_CR86_PIXEL_COUNTERS_SHIFT
27054 #define CSI_CSICR86_PIXEL_COUNTERS(x)     CSI_CR86_PIXEL_COUNTERS(x)
27055 #define CSI_CSICR87_PIXEL_COUNTERS_MASK     CSI_CR87_PIXEL_COUNTERS_MASK
27056 #define CSI_CSICR87_PIXEL_COUNTERS_SHIFT     CSI_CR87_PIXEL_COUNTERS_SHIFT
27057 #define CSI_CSICR87_PIXEL_COUNTERS(x)     CSI_CR87_PIXEL_COUNTERS(x)
27058 #define CSI_CSICR88_PIXEL_COUNTERS_MASK     CSI_CR88_PIXEL_COUNTERS_MASK
27059 #define CSI_CSICR88_PIXEL_COUNTERS_SHIFT     CSI_CR88_PIXEL_COUNTERS_SHIFT
27060 #define CSI_CSICR88_PIXEL_COUNTERS(x)     CSI_CR88_PIXEL_COUNTERS(x)
27061 #define CSI_CSICR89_PIXEL_COUNTERS_MASK     CSI_CR89_PIXEL_COUNTERS_MASK
27062 #define CSI_CSICR89_PIXEL_COUNTERS_SHIFT     CSI_CR89_PIXEL_COUNTERS_SHIFT
27063 #define CSI_CSICR89_PIXEL_COUNTERS(x)     CSI_CR89_PIXEL_COUNTERS(x)
27064 #define CSI_CSICR90_PIXEL_COUNTERS_MASK     CSI_CR90_PIXEL_COUNTERS_MASK
27065 #define CSI_CSICR90_PIXEL_COUNTERS_SHIFT     CSI_CR90_PIXEL_COUNTERS_SHIFT
27066 #define CSI_CSICR90_PIXEL_COUNTERS(x)     CSI_CR90_PIXEL_COUNTERS(x)
27067 #define CSI_CSICR91_PIXEL_COUNTERS_MASK     CSI_CR91_PIXEL_COUNTERS_MASK
27068 #define CSI_CSICR91_PIXEL_COUNTERS_SHIFT     CSI_CR91_PIXEL_COUNTERS_SHIFT
27069 #define CSI_CSICR91_PIXEL_COUNTERS(x)     CSI_CR91_PIXEL_COUNTERS(x)
27070 #define CSI_CSICR92_PIXEL_COUNTERS_MASK     CSI_CR92_PIXEL_COUNTERS_MASK
27071 #define CSI_CSICR92_PIXEL_COUNTERS_SHIFT     CSI_CR92_PIXEL_COUNTERS_SHIFT
27072 #define CSI_CSICR92_PIXEL_COUNTERS(x)     CSI_CR92_PIXEL_COUNTERS(x)
27073 #define CSI_CSICR93_PIXEL_COUNTERS_MASK     CSI_CR93_PIXEL_COUNTERS_MASK
27074 #define CSI_CSICR93_PIXEL_COUNTERS_SHIFT     CSI_CR93_PIXEL_COUNTERS_SHIFT
27075 #define CSI_CSICR93_PIXEL_COUNTERS(x)     CSI_CR93_PIXEL_COUNTERS(x)
27076 #define CSI_CSICR94_PIXEL_COUNTERS_MASK     CSI_CR94_PIXEL_COUNTERS_MASK
27077 #define CSI_CSICR94_PIXEL_COUNTERS_SHIFT     CSI_CR94_PIXEL_COUNTERS_SHIFT
27078 #define CSI_CSICR94_PIXEL_COUNTERS(x)     CSI_CR94_PIXEL_COUNTERS(x)
27079 #define CSI_CSICR95_PIXEL_COUNTERS_MASK     CSI_CR95_PIXEL_COUNTERS_MASK
27080 #define CSI_CSICR95_PIXEL_COUNTERS_SHIFT     CSI_CR95_PIXEL_COUNTERS_SHIFT
27081 #define CSI_CSICR95_PIXEL_COUNTERS(x)     CSI_CR95_PIXEL_COUNTERS(x)
27082 #define CSI_CSICR96_PIXEL_COUNTERS_MASK     CSI_CR96_PIXEL_COUNTERS_MASK
27083 #define CSI_CSICR96_PIXEL_COUNTERS_SHIFT     CSI_CR96_PIXEL_COUNTERS_SHIFT
27084 #define CSI_CSICR96_PIXEL_COUNTERS(x)     CSI_CR96_PIXEL_COUNTERS(x)
27085 #define CSI_CSICR97_PIXEL_COUNTERS_MASK     CSI_CR97_PIXEL_COUNTERS_MASK
27086 #define CSI_CSICR97_PIXEL_COUNTERS_SHIFT     CSI_CR97_PIXEL_COUNTERS_SHIFT
27087 #define CSI_CSICR97_PIXEL_COUNTERS(x)     CSI_CR97_PIXEL_COUNTERS(x)
27088 #define CSI_CSICR98_PIXEL_COUNTERS_MASK     CSI_CR98_PIXEL_COUNTERS_MASK
27089 #define CSI_CSICR98_PIXEL_COUNTERS_SHIFT     CSI_CR98_PIXEL_COUNTERS_SHIFT
27090 #define CSI_CSICR98_PIXEL_COUNTERS(x)     CSI_CR98_PIXEL_COUNTERS(x)
27091 #define CSI_CSICR99_PIXEL_COUNTERS_MASK     CSI_CR99_PIXEL_COUNTERS_MASK
27092 #define CSI_CSICR99_PIXEL_COUNTERS_SHIFT     CSI_CR99_PIXEL_COUNTERS_SHIFT
27093 #define CSI_CSICR99_PIXEL_COUNTERS(x)     CSI_CR99_PIXEL_COUNTERS(x)
27094 #define CSI_CSICR100_PIXEL_COUNTERS_MASK     CSI_CR100_PIXEL_COUNTERS_MASK
27095 #define CSI_CSICR100_PIXEL_COUNTERS_SHIFT     CSI_CR100_PIXEL_COUNTERS_SHIFT
27096 #define CSI_CSICR100_PIXEL_COUNTERS(x)     CSI_CR100_PIXEL_COUNTERS(x)
27097 #define CSI_CSICR101_PIXEL_COUNTERS_MASK     CSI_CR101_PIXEL_COUNTERS_MASK
27098 #define CSI_CSICR101_PIXEL_COUNTERS_SHIFT     CSI_CR101_PIXEL_COUNTERS_SHIFT
27099 #define CSI_CSICR101_PIXEL_COUNTERS(x)     CSI_CR101_PIXEL_COUNTERS(x)
27100 #define CSI_CSICR102_PIXEL_COUNTERS_MASK     CSI_CR102_PIXEL_COUNTERS_MASK
27101 #define CSI_CSICR102_PIXEL_COUNTERS_SHIFT     CSI_CR102_PIXEL_COUNTERS_SHIFT
27102 #define CSI_CSICR102_PIXEL_COUNTERS(x)     CSI_CR102_PIXEL_COUNTERS(x)
27103 #define CSI_CSICR103_PIXEL_COUNTERS_MASK     CSI_CR103_PIXEL_COUNTERS_MASK
27104 #define CSI_CSICR103_PIXEL_COUNTERS_SHIFT     CSI_CR103_PIXEL_COUNTERS_SHIFT
27105 #define CSI_CSICR103_PIXEL_COUNTERS(x)     CSI_CR103_PIXEL_COUNTERS(x)
27106 #define CSI_CSICR104_PIXEL_COUNTERS_MASK     CSI_CR104_PIXEL_COUNTERS_MASK
27107 #define CSI_CSICR104_PIXEL_COUNTERS_SHIFT     CSI_CR104_PIXEL_COUNTERS_SHIFT
27108 #define CSI_CSICR104_PIXEL_COUNTERS(x)     CSI_CR104_PIXEL_COUNTERS(x)
27109 #define CSI_CSICR105_PIXEL_COUNTERS_MASK     CSI_CR105_PIXEL_COUNTERS_MASK
27110 #define CSI_CSICR105_PIXEL_COUNTERS_SHIFT     CSI_CR105_PIXEL_COUNTERS_SHIFT
27111 #define CSI_CSICR105_PIXEL_COUNTERS(x)     CSI_CR105_PIXEL_COUNTERS(x)
27112 #define CSI_CSICR106_PIXEL_COUNTERS_MASK     CSI_CR106_PIXEL_COUNTERS_MASK
27113 #define CSI_CSICR106_PIXEL_COUNTERS_SHIFT     CSI_CR106_PIXEL_COUNTERS_SHIFT
27114 #define CSI_CSICR106_PIXEL_COUNTERS(x)     CSI_CR106_PIXEL_COUNTERS(x)
27115 #define CSI_CSICR107_PIXEL_COUNTERS_MASK     CSI_CR107_PIXEL_COUNTERS_MASK
27116 #define CSI_CSICR107_PIXEL_COUNTERS_SHIFT     CSI_CR107_PIXEL_COUNTERS_SHIFT
27117 #define CSI_CSICR107_PIXEL_COUNTERS(x)     CSI_CR107_PIXEL_COUNTERS(x)
27118 #define CSI_CSICR108_PIXEL_COUNTERS_MASK     CSI_CR108_PIXEL_COUNTERS_MASK
27119 #define CSI_CSICR108_PIXEL_COUNTERS_SHIFT     CSI_CR108_PIXEL_COUNTERS_SHIFT
27120 #define CSI_CSICR108_PIXEL_COUNTERS(x)     CSI_CR108_PIXEL_COUNTERS(x)
27121 #define CSI_CSICR109_PIXEL_COUNTERS_MASK     CSI_CR109_PIXEL_COUNTERS_MASK
27122 #define CSI_CSICR109_PIXEL_COUNTERS_SHIFT     CSI_CR109_PIXEL_COUNTERS_SHIFT
27123 #define CSI_CSICR109_PIXEL_COUNTERS(x)     CSI_CR109_PIXEL_COUNTERS(x)
27124 #define CSI_CSICR110_PIXEL_COUNTERS_MASK     CSI_CR110_PIXEL_COUNTERS_MASK
27125 #define CSI_CSICR110_PIXEL_COUNTERS_SHIFT     CSI_CR110_PIXEL_COUNTERS_SHIFT
27126 #define CSI_CSICR110_PIXEL_COUNTERS(x)     CSI_CR110_PIXEL_COUNTERS(x)
27127 #define CSI_CSICR111_PIXEL_COUNTERS_MASK     CSI_CR111_PIXEL_COUNTERS_MASK
27128 #define CSI_CSICR111_PIXEL_COUNTERS_SHIFT     CSI_CR111_PIXEL_COUNTERS_SHIFT
27129 #define CSI_CSICR111_PIXEL_COUNTERS(x)     CSI_CR111_PIXEL_COUNTERS(x)
27130 #define CSI_CSICR112_PIXEL_COUNTERS_MASK     CSI_CR112_PIXEL_COUNTERS_MASK
27131 #define CSI_CSICR112_PIXEL_COUNTERS_SHIFT     CSI_CR112_PIXEL_COUNTERS_SHIFT
27132 #define CSI_CSICR112_PIXEL_COUNTERS(x)     CSI_CR112_PIXEL_COUNTERS(x)
27133 #define CSI_CSICR113_PIXEL_COUNTERS_MASK     CSI_CR113_PIXEL_COUNTERS_MASK
27134 #define CSI_CSICR113_PIXEL_COUNTERS_SHIFT     CSI_CR113_PIXEL_COUNTERS_SHIFT
27135 #define CSI_CSICR113_PIXEL_COUNTERS(x)     CSI_CR113_PIXEL_COUNTERS(x)
27136 #define CSI_CSICR114_PIXEL_COUNTERS_MASK     CSI_CR114_PIXEL_COUNTERS_MASK
27137 #define CSI_CSICR114_PIXEL_COUNTERS_SHIFT     CSI_CR114_PIXEL_COUNTERS_SHIFT
27138 #define CSI_CSICR114_PIXEL_COUNTERS(x)     CSI_CR114_PIXEL_COUNTERS(x)
27139 #define CSI_CSICR115_PIXEL_COUNTERS_MASK     CSI_CR115_PIXEL_COUNTERS_MASK
27140 #define CSI_CSICR115_PIXEL_COUNTERS_SHIFT     CSI_CR115_PIXEL_COUNTERS_SHIFT
27141 #define CSI_CSICR115_PIXEL_COUNTERS(x)     CSI_CR115_PIXEL_COUNTERS(x)
27142 #define CSI_CSICR116_PIXEL_COUNTERS_MASK     CSI_CR116_PIXEL_COUNTERS_MASK
27143 #define CSI_CSICR116_PIXEL_COUNTERS_SHIFT     CSI_CR116_PIXEL_COUNTERS_SHIFT
27144 #define CSI_CSICR116_PIXEL_COUNTERS(x)     CSI_CR116_PIXEL_COUNTERS(x)
27145 #define CSI_CSICR117_PIXEL_COUNTERS_MASK     CSI_CR117_PIXEL_COUNTERS_MASK
27146 #define CSI_CSICR117_PIXEL_COUNTERS_SHIFT     CSI_CR117_PIXEL_COUNTERS_SHIFT
27147 #define CSI_CSICR117_PIXEL_COUNTERS(x)     CSI_CR117_PIXEL_COUNTERS(x)
27148 #define CSI_CSICR118_PIXEL_COUNTERS_MASK     CSI_CR118_PIXEL_COUNTERS_MASK
27149 #define CSI_CSICR118_PIXEL_COUNTERS_SHIFT     CSI_CR118_PIXEL_COUNTERS_SHIFT
27150 #define CSI_CSICR118_PIXEL_COUNTERS(x)     CSI_CR118_PIXEL_COUNTERS(x)
27151 #define CSI_CSICR119_PIXEL_COUNTERS_MASK     CSI_CR119_PIXEL_COUNTERS_MASK
27152 #define CSI_CSICR119_PIXEL_COUNTERS_SHIFT     CSI_CR119_PIXEL_COUNTERS_SHIFT
27153 #define CSI_CSICR119_PIXEL_COUNTERS(x)     CSI_CR119_PIXEL_COUNTERS(x)
27154 #define CSI_CSICR120_PIXEL_COUNTERS_MASK     CSI_CR120_PIXEL_COUNTERS_MASK
27155 #define CSI_CSICR120_PIXEL_COUNTERS_SHIFT     CSI_CR120_PIXEL_COUNTERS_SHIFT
27156 #define CSI_CSICR120_PIXEL_COUNTERS(x)     CSI_CR120_PIXEL_COUNTERS(x)
27157 #define CSI_CSICR121_PIXEL_COUNTERS_MASK     CSI_CR121_PIXEL_COUNTERS_MASK
27158 #define CSI_CSICR121_PIXEL_COUNTERS_SHIFT     CSI_CR121_PIXEL_COUNTERS_SHIFT
27159 #define CSI_CSICR121_PIXEL_COUNTERS(x)     CSI_CR121_PIXEL_COUNTERS(x)
27160 #define CSI_CSICR122_PIXEL_COUNTERS_MASK     CSI_CR122_PIXEL_COUNTERS_MASK
27161 #define CSI_CSICR122_PIXEL_COUNTERS_SHIFT     CSI_CR122_PIXEL_COUNTERS_SHIFT
27162 #define CSI_CSICR122_PIXEL_COUNTERS(x)     CSI_CR122_PIXEL_COUNTERS(x)
27163 #define CSI_CSICR123_PIXEL_COUNTERS_MASK     CSI_CR123_PIXEL_COUNTERS_MASK
27164 #define CSI_CSICR123_PIXEL_COUNTERS_SHIFT     CSI_CR123_PIXEL_COUNTERS_SHIFT
27165 #define CSI_CSICR123_PIXEL_COUNTERS(x)     CSI_CR123_PIXEL_COUNTERS(x)
27166 #define CSI_CSICR124_PIXEL_COUNTERS_MASK     CSI_CR124_PIXEL_COUNTERS_MASK
27167 #define CSI_CSICR124_PIXEL_COUNTERS_SHIFT     CSI_CR124_PIXEL_COUNTERS_SHIFT
27168 #define CSI_CSICR124_PIXEL_COUNTERS(x)     CSI_CR124_PIXEL_COUNTERS(x)
27169 #define CSI_CSICR125_PIXEL_COUNTERS_MASK     CSI_CR125_PIXEL_COUNTERS_MASK
27170 #define CSI_CSICR125_PIXEL_COUNTERS_SHIFT     CSI_CR125_PIXEL_COUNTERS_SHIFT
27171 #define CSI_CSICR125_PIXEL_COUNTERS(x)     CSI_CR125_PIXEL_COUNTERS(x)
27172 #define CSI_CSICR126_PIXEL_COUNTERS_MASK     CSI_CR126_PIXEL_COUNTERS_MASK
27173 #define CSI_CSICR126_PIXEL_COUNTERS_SHIFT     CSI_CR126_PIXEL_COUNTERS_SHIFT
27174 #define CSI_CSICR126_PIXEL_COUNTERS(x)     CSI_CR126_PIXEL_COUNTERS(x)
27175 #define CSI_CSICR127_PIXEL_COUNTERS_MASK     CSI_CR127_PIXEL_COUNTERS_MASK
27176 #define CSI_CSICR127_PIXEL_COUNTERS_SHIFT     CSI_CR127_PIXEL_COUNTERS_SHIFT
27177 #define CSI_CSICR127_PIXEL_COUNTERS(x)     CSI_CR127_PIXEL_COUNTERS(x)
27178 #define CSI_CSICR128_PIXEL_COUNTERS_MASK     CSI_CR128_PIXEL_COUNTERS_MASK
27179 #define CSI_CSICR128_PIXEL_COUNTERS_SHIFT     CSI_CR128_PIXEL_COUNTERS_SHIFT
27180 #define CSI_CSICR128_PIXEL_COUNTERS(x)     CSI_CR128_PIXEL_COUNTERS(x)
27181 #define CSI_CSICR129_PIXEL_COUNTERS_MASK     CSI_CR129_PIXEL_COUNTERS_MASK
27182 #define CSI_CSICR129_PIXEL_COUNTERS_SHIFT     CSI_CR129_PIXEL_COUNTERS_SHIFT
27183 #define CSI_CSICR129_PIXEL_COUNTERS(x)     CSI_CR129_PIXEL_COUNTERS(x)
27184 #define CSI_CSICR130_PIXEL_COUNTERS_MASK     CSI_CR130_PIXEL_COUNTERS_MASK
27185 #define CSI_CSICR130_PIXEL_COUNTERS_SHIFT     CSI_CR130_PIXEL_COUNTERS_SHIFT
27186 #define CSI_CSICR130_PIXEL_COUNTERS(x)     CSI_CR130_PIXEL_COUNTERS(x)
27187 #define CSI_CSICR131_PIXEL_COUNTERS_MASK     CSI_CR131_PIXEL_COUNTERS_MASK
27188 #define CSI_CSICR131_PIXEL_COUNTERS_SHIFT     CSI_CR131_PIXEL_COUNTERS_SHIFT
27189 #define CSI_CSICR131_PIXEL_COUNTERS(x)     CSI_CR131_PIXEL_COUNTERS(x)
27190 #define CSI_CSICR132_PIXEL_COUNTERS_MASK     CSI_CR132_PIXEL_COUNTERS_MASK
27191 #define CSI_CSICR132_PIXEL_COUNTERS_SHIFT     CSI_CR132_PIXEL_COUNTERS_SHIFT
27192 #define CSI_CSICR132_PIXEL_COUNTERS(x)     CSI_CR132_PIXEL_COUNTERS(x)
27193 #define CSI_CSICR133_PIXEL_COUNTERS_MASK     CSI_CR133_PIXEL_COUNTERS_MASK
27194 #define CSI_CSICR133_PIXEL_COUNTERS_SHIFT     CSI_CR133_PIXEL_COUNTERS_SHIFT
27195 #define CSI_CSICR133_PIXEL_COUNTERS(x)     CSI_CR133_PIXEL_COUNTERS(x)
27196 #define CSI_CSICR134_PIXEL_COUNTERS_MASK     CSI_CR134_PIXEL_COUNTERS_MASK
27197 #define CSI_CSICR134_PIXEL_COUNTERS_SHIFT     CSI_CR134_PIXEL_COUNTERS_SHIFT
27198 #define CSI_CSICR134_PIXEL_COUNTERS(x)     CSI_CR134_PIXEL_COUNTERS(x)
27199 #define CSI_CSICR135_PIXEL_COUNTERS_MASK     CSI_CR135_PIXEL_COUNTERS_MASK
27200 #define CSI_CSICR135_PIXEL_COUNTERS_SHIFT     CSI_CR135_PIXEL_COUNTERS_SHIFT
27201 #define CSI_CSICR135_PIXEL_COUNTERS(x)     CSI_CR135_PIXEL_COUNTERS(x)
27202 #define CSI_CSICR136_PIXEL_COUNTERS_MASK     CSI_CR136_PIXEL_COUNTERS_MASK
27203 #define CSI_CSICR136_PIXEL_COUNTERS_SHIFT     CSI_CR136_PIXEL_COUNTERS_SHIFT
27204 #define CSI_CSICR136_PIXEL_COUNTERS(x)     CSI_CR136_PIXEL_COUNTERS(x)
27205 #define CSI_CSICR137_PIXEL_COUNTERS_MASK     CSI_CR137_PIXEL_COUNTERS_MASK
27206 #define CSI_CSICR137_PIXEL_COUNTERS_SHIFT     CSI_CR137_PIXEL_COUNTERS_SHIFT
27207 #define CSI_CSICR137_PIXEL_COUNTERS(x)     CSI_CR137_PIXEL_COUNTERS(x)
27208 #define CSI_CSICR138_PIXEL_COUNTERS_MASK     CSI_CR138_PIXEL_COUNTERS_MASK
27209 #define CSI_CSICR138_PIXEL_COUNTERS_SHIFT     CSI_CR138_PIXEL_COUNTERS_SHIFT
27210 #define CSI_CSICR138_PIXEL_COUNTERS(x)     CSI_CR138_PIXEL_COUNTERS(x)
27211 #define CSI_CSICR139_PIXEL_COUNTERS_MASK     CSI_CR139_PIXEL_COUNTERS_MASK
27212 #define CSI_CSICR139_PIXEL_COUNTERS_SHIFT     CSI_CR139_PIXEL_COUNTERS_SHIFT
27213 #define CSI_CSICR139_PIXEL_COUNTERS(x)     CSI_CR139_PIXEL_COUNTERS(x)
27214 #define CSI_CSICR140_PIXEL_COUNTERS_MASK     CSI_CR140_PIXEL_COUNTERS_MASK
27215 #define CSI_CSICR140_PIXEL_COUNTERS_SHIFT     CSI_CR140_PIXEL_COUNTERS_SHIFT
27216 #define CSI_CSICR140_PIXEL_COUNTERS(x)     CSI_CR140_PIXEL_COUNTERS(x)
27217 #define CSI_CSICR141_PIXEL_COUNTERS_MASK     CSI_CR141_PIXEL_COUNTERS_MASK
27218 #define CSI_CSICR141_PIXEL_COUNTERS_SHIFT     CSI_CR141_PIXEL_COUNTERS_SHIFT
27219 #define CSI_CSICR141_PIXEL_COUNTERS(x)     CSI_CR141_PIXEL_COUNTERS(x)
27220 #define CSI_CSICR142_PIXEL_COUNTERS_MASK     CSI_CR142_PIXEL_COUNTERS_MASK
27221 #define CSI_CSICR142_PIXEL_COUNTERS_SHIFT     CSI_CR142_PIXEL_COUNTERS_SHIFT
27222 #define CSI_CSICR142_PIXEL_COUNTERS(x)     CSI_CR142_PIXEL_COUNTERS(x)
27223 #define CSI_CSICR143_PIXEL_COUNTERS_MASK     CSI_CR143_PIXEL_COUNTERS_MASK
27224 #define CSI_CSICR143_PIXEL_COUNTERS_SHIFT     CSI_CR143_PIXEL_COUNTERS_SHIFT
27225 #define CSI_CSICR143_PIXEL_COUNTERS(x)     CSI_CR143_PIXEL_COUNTERS(x)
27226 #define CSI_CSICR144_PIXEL_COUNTERS_MASK     CSI_CR144_PIXEL_COUNTERS_MASK
27227 #define CSI_CSICR144_PIXEL_COUNTERS_SHIFT     CSI_CR144_PIXEL_COUNTERS_SHIFT
27228 #define CSI_CSICR144_PIXEL_COUNTERS(x)     CSI_CR144_PIXEL_COUNTERS(x)
27229 #define CSI_CSICR145_PIXEL_COUNTERS_MASK     CSI_CR145_PIXEL_COUNTERS_MASK
27230 #define CSI_CSICR145_PIXEL_COUNTERS_SHIFT     CSI_CR145_PIXEL_COUNTERS_SHIFT
27231 #define CSI_CSICR145_PIXEL_COUNTERS(x)     CSI_CR145_PIXEL_COUNTERS(x)
27232 #define CSI_CSICR146_PIXEL_COUNTERS_MASK     CSI_CR146_PIXEL_COUNTERS_MASK
27233 #define CSI_CSICR146_PIXEL_COUNTERS_SHIFT     CSI_CR146_PIXEL_COUNTERS_SHIFT
27234 #define CSI_CSICR146_PIXEL_COUNTERS(x)     CSI_CR146_PIXEL_COUNTERS(x)
27235 #define CSI_CSICR147_PIXEL_COUNTERS_MASK     CSI_CR147_PIXEL_COUNTERS_MASK
27236 #define CSI_CSICR147_PIXEL_COUNTERS_SHIFT     CSI_CR147_PIXEL_COUNTERS_SHIFT
27237 #define CSI_CSICR147_PIXEL_COUNTERS(x)     CSI_CR147_PIXEL_COUNTERS(x)
27238 #define CSI_CSICR148_PIXEL_COUNTERS_MASK     CSI_CR148_PIXEL_COUNTERS_MASK
27239 #define CSI_CSICR148_PIXEL_COUNTERS_SHIFT     CSI_CR148_PIXEL_COUNTERS_SHIFT
27240 #define CSI_CSICR148_PIXEL_COUNTERS(x)     CSI_CR148_PIXEL_COUNTERS(x)
27241 #define CSI_CSICR149_PIXEL_COUNTERS_MASK     CSI_CR149_PIXEL_COUNTERS_MASK
27242 #define CSI_CSICR149_PIXEL_COUNTERS_SHIFT     CSI_CR149_PIXEL_COUNTERS_SHIFT
27243 #define CSI_CSICR149_PIXEL_COUNTERS(x)     CSI_CR149_PIXEL_COUNTERS(x)
27244 #define CSI_CSICR150_PIXEL_COUNTERS_MASK     CSI_CR150_PIXEL_COUNTERS_MASK
27245 #define CSI_CSICR150_PIXEL_COUNTERS_SHIFT     CSI_CR150_PIXEL_COUNTERS_SHIFT
27246 #define CSI_CSICR150_PIXEL_COUNTERS(x)     CSI_CR150_PIXEL_COUNTERS(x)
27247 #define CSI_CSICR151_PIXEL_COUNTERS_MASK     CSI_CR151_PIXEL_COUNTERS_MASK
27248 #define CSI_CSICR151_PIXEL_COUNTERS_SHIFT     CSI_CR151_PIXEL_COUNTERS_SHIFT
27249 #define CSI_CSICR151_PIXEL_COUNTERS(x)     CSI_CR151_PIXEL_COUNTERS(x)
27250 #define CSI_CSICR152_PIXEL_COUNTERS_MASK     CSI_CR152_PIXEL_COUNTERS_MASK
27251 #define CSI_CSICR152_PIXEL_COUNTERS_SHIFT     CSI_CR152_PIXEL_COUNTERS_SHIFT
27252 #define CSI_CSICR152_PIXEL_COUNTERS(x)     CSI_CR152_PIXEL_COUNTERS(x)
27253 #define CSI_CSICR153_PIXEL_COUNTERS_MASK     CSI_CR153_PIXEL_COUNTERS_MASK
27254 #define CSI_CSICR153_PIXEL_COUNTERS_SHIFT     CSI_CR153_PIXEL_COUNTERS_SHIFT
27255 #define CSI_CSICR153_PIXEL_COUNTERS(x)     CSI_CR153_PIXEL_COUNTERS(x)
27256 #define CSI_CSICR154_PIXEL_COUNTERS_MASK     CSI_CR154_PIXEL_COUNTERS_MASK
27257 #define CSI_CSICR154_PIXEL_COUNTERS_SHIFT     CSI_CR154_PIXEL_COUNTERS_SHIFT
27258 #define CSI_CSICR154_PIXEL_COUNTERS(x)     CSI_CR154_PIXEL_COUNTERS(x)
27259 #define CSI_CSICR155_PIXEL_COUNTERS_MASK     CSI_CR155_PIXEL_COUNTERS_MASK
27260 #define CSI_CSICR155_PIXEL_COUNTERS_SHIFT     CSI_CR155_PIXEL_COUNTERS_SHIFT
27261 #define CSI_CSICR155_PIXEL_COUNTERS(x)     CSI_CR155_PIXEL_COUNTERS(x)
27262 #define CSI_CSICR156_PIXEL_COUNTERS_MASK     CSI_CR156_PIXEL_COUNTERS_MASK
27263 #define CSI_CSICR156_PIXEL_COUNTERS_SHIFT     CSI_CR156_PIXEL_COUNTERS_SHIFT
27264 #define CSI_CSICR156_PIXEL_COUNTERS(x)     CSI_CR156_PIXEL_COUNTERS(x)
27265 #define CSI_CSICR157_PIXEL_COUNTERS_MASK     CSI_CR157_PIXEL_COUNTERS_MASK
27266 #define CSI_CSICR157_PIXEL_COUNTERS_SHIFT     CSI_CR157_PIXEL_COUNTERS_SHIFT
27267 #define CSI_CSICR157_PIXEL_COUNTERS(x)     CSI_CR157_PIXEL_COUNTERS(x)
27268 #define CSI_CSICR158_PIXEL_COUNTERS_MASK     CSI_CR158_PIXEL_COUNTERS_MASK
27269 #define CSI_CSICR158_PIXEL_COUNTERS_SHIFT     CSI_CR158_PIXEL_COUNTERS_SHIFT
27270 #define CSI_CSICR158_PIXEL_COUNTERS(x)     CSI_CR158_PIXEL_COUNTERS(x)
27271 #define CSI_CSICR159_PIXEL_COUNTERS_MASK     CSI_CR159_PIXEL_COUNTERS_MASK
27272 #define CSI_CSICR159_PIXEL_COUNTERS_SHIFT     CSI_CR159_PIXEL_COUNTERS_SHIFT
27273 #define CSI_CSICR159_PIXEL_COUNTERS(x)     CSI_CR159_PIXEL_COUNTERS(x)
27274 #define CSI_CSICR160_PIXEL_COUNTERS_MASK     CSI_CR160_PIXEL_COUNTERS_MASK
27275 #define CSI_CSICR160_PIXEL_COUNTERS_SHIFT     CSI_CR160_PIXEL_COUNTERS_SHIFT
27276 #define CSI_CSICR160_PIXEL_COUNTERS(x)     CSI_CR160_PIXEL_COUNTERS(x)
27277 #define CSI_CSICR161_PIXEL_COUNTERS_MASK     CSI_CR161_PIXEL_COUNTERS_MASK
27278 #define CSI_CSICR161_PIXEL_COUNTERS_SHIFT     CSI_CR161_PIXEL_COUNTERS_SHIFT
27279 #define CSI_CSICR161_PIXEL_COUNTERS(x)     CSI_CR161_PIXEL_COUNTERS(x)
27280 #define CSI_CSICR162_PIXEL_COUNTERS_MASK     CSI_CR162_PIXEL_COUNTERS_MASK
27281 #define CSI_CSICR162_PIXEL_COUNTERS_SHIFT     CSI_CR162_PIXEL_COUNTERS_SHIFT
27282 #define CSI_CSICR162_PIXEL_COUNTERS(x)     CSI_CR162_PIXEL_COUNTERS(x)
27283 #define CSI_CSICR163_PIXEL_COUNTERS_MASK     CSI_CR163_PIXEL_COUNTERS_MASK
27284 #define CSI_CSICR163_PIXEL_COUNTERS_SHIFT     CSI_CR163_PIXEL_COUNTERS_SHIFT
27285 #define CSI_CSICR163_PIXEL_COUNTERS(x)     CSI_CR163_PIXEL_COUNTERS(x)
27286 #define CSI_CSICR164_PIXEL_COUNTERS_MASK     CSI_CR164_PIXEL_COUNTERS_MASK
27287 #define CSI_CSICR164_PIXEL_COUNTERS_SHIFT     CSI_CR164_PIXEL_COUNTERS_SHIFT
27288 #define CSI_CSICR164_PIXEL_COUNTERS(x)     CSI_CR164_PIXEL_COUNTERS(x)
27289 #define CSI_CSICR165_PIXEL_COUNTERS_MASK     CSI_CR165_PIXEL_COUNTERS_MASK
27290 #define CSI_CSICR165_PIXEL_COUNTERS_SHIFT     CSI_CR165_PIXEL_COUNTERS_SHIFT
27291 #define CSI_CSICR165_PIXEL_COUNTERS(x)     CSI_CR165_PIXEL_COUNTERS(x)
27292 #define CSI_CSICR166_PIXEL_COUNTERS_MASK     CSI_CR166_PIXEL_COUNTERS_MASK
27293 #define CSI_CSICR166_PIXEL_COUNTERS_SHIFT     CSI_CR166_PIXEL_COUNTERS_SHIFT
27294 #define CSI_CSICR166_PIXEL_COUNTERS(x)     CSI_CR166_PIXEL_COUNTERS(x)
27295 #define CSI_CSICR167_PIXEL_COUNTERS_MASK     CSI_CR167_PIXEL_COUNTERS_MASK
27296 #define CSI_CSICR167_PIXEL_COUNTERS_SHIFT     CSI_CR167_PIXEL_COUNTERS_SHIFT
27297 #define CSI_CSICR167_PIXEL_COUNTERS(x)     CSI_CR167_PIXEL_COUNTERS(x)
27298 #define CSI_CSICR168_PIXEL_COUNTERS_MASK     CSI_CR168_PIXEL_COUNTERS_MASK
27299 #define CSI_CSICR168_PIXEL_COUNTERS_SHIFT     CSI_CR168_PIXEL_COUNTERS_SHIFT
27300 #define CSI_CSICR168_PIXEL_COUNTERS(x)     CSI_CR168_PIXEL_COUNTERS(x)
27301 #define CSI_CSICR169_PIXEL_COUNTERS_MASK     CSI_CR169_PIXEL_COUNTERS_MASK
27302 #define CSI_CSICR169_PIXEL_COUNTERS_SHIFT     CSI_CR169_PIXEL_COUNTERS_SHIFT
27303 #define CSI_CSICR169_PIXEL_COUNTERS(x)     CSI_CR169_PIXEL_COUNTERS(x)
27304 #define CSI_CSICR170_PIXEL_COUNTERS_MASK     CSI_CR170_PIXEL_COUNTERS_MASK
27305 #define CSI_CSICR170_PIXEL_COUNTERS_SHIFT     CSI_CR170_PIXEL_COUNTERS_SHIFT
27306 #define CSI_CSICR170_PIXEL_COUNTERS(x)     CSI_CR170_PIXEL_COUNTERS(x)
27307 #define CSI_CSICR171_PIXEL_COUNTERS_MASK     CSI_CR171_PIXEL_COUNTERS_MASK
27308 #define CSI_CSICR171_PIXEL_COUNTERS_SHIFT     CSI_CR171_PIXEL_COUNTERS_SHIFT
27309 #define CSI_CSICR171_PIXEL_COUNTERS(x)     CSI_CR171_PIXEL_COUNTERS(x)
27310 #define CSI_CSICR172_PIXEL_COUNTERS_MASK     CSI_CR172_PIXEL_COUNTERS_MASK
27311 #define CSI_CSICR172_PIXEL_COUNTERS_SHIFT     CSI_CR172_PIXEL_COUNTERS_SHIFT
27312 #define CSI_CSICR172_PIXEL_COUNTERS(x)     CSI_CR172_PIXEL_COUNTERS(x)
27313 #define CSI_CSICR173_PIXEL_COUNTERS_MASK     CSI_CR173_PIXEL_COUNTERS_MASK
27314 #define CSI_CSICR173_PIXEL_COUNTERS_SHIFT     CSI_CR173_PIXEL_COUNTERS_SHIFT
27315 #define CSI_CSICR173_PIXEL_COUNTERS(x)     CSI_CR173_PIXEL_COUNTERS(x)
27316 #define CSI_CSICR174_PIXEL_COUNTERS_MASK     CSI_CR174_PIXEL_COUNTERS_MASK
27317 #define CSI_CSICR174_PIXEL_COUNTERS_SHIFT     CSI_CR174_PIXEL_COUNTERS_SHIFT
27318 #define CSI_CSICR174_PIXEL_COUNTERS(x)     CSI_CR174_PIXEL_COUNTERS(x)
27319 #define CSI_CSICR175_PIXEL_COUNTERS_MASK     CSI_CR175_PIXEL_COUNTERS_MASK
27320 #define CSI_CSICR175_PIXEL_COUNTERS_SHIFT     CSI_CR175_PIXEL_COUNTERS_SHIFT
27321 #define CSI_CSICR175_PIXEL_COUNTERS(x)     CSI_CR175_PIXEL_COUNTERS(x)
27322 #define CSI_CSICR176_PIXEL_COUNTERS_MASK     CSI_CR176_PIXEL_COUNTERS_MASK
27323 #define CSI_CSICR176_PIXEL_COUNTERS_SHIFT     CSI_CR176_PIXEL_COUNTERS_SHIFT
27324 #define CSI_CSICR176_PIXEL_COUNTERS(x)     CSI_CR176_PIXEL_COUNTERS(x)
27325 #define CSI_CSICR177_PIXEL_COUNTERS_MASK     CSI_CR177_PIXEL_COUNTERS_MASK
27326 #define CSI_CSICR177_PIXEL_COUNTERS_SHIFT     CSI_CR177_PIXEL_COUNTERS_SHIFT
27327 #define CSI_CSICR177_PIXEL_COUNTERS(x)     CSI_CR177_PIXEL_COUNTERS(x)
27328 #define CSI_CSICR178_PIXEL_COUNTERS_MASK     CSI_CR178_PIXEL_COUNTERS_MASK
27329 #define CSI_CSICR178_PIXEL_COUNTERS_SHIFT     CSI_CR178_PIXEL_COUNTERS_SHIFT
27330 #define CSI_CSICR178_PIXEL_COUNTERS(x)     CSI_CR178_PIXEL_COUNTERS(x)
27331 #define CSI_CSICR179_PIXEL_COUNTERS_MASK     CSI_CR179_PIXEL_COUNTERS_MASK
27332 #define CSI_CSICR179_PIXEL_COUNTERS_SHIFT     CSI_CR179_PIXEL_COUNTERS_SHIFT
27333 #define CSI_CSICR179_PIXEL_COUNTERS(x)     CSI_CR179_PIXEL_COUNTERS(x)
27334 #define CSI_CSICR180_PIXEL_COUNTERS_MASK     CSI_CR180_PIXEL_COUNTERS_MASK
27335 #define CSI_CSICR180_PIXEL_COUNTERS_SHIFT     CSI_CR180_PIXEL_COUNTERS_SHIFT
27336 #define CSI_CSICR180_PIXEL_COUNTERS(x)     CSI_CR180_PIXEL_COUNTERS(x)
27337 #define CSI_CSICR181_PIXEL_COUNTERS_MASK     CSI_CR181_PIXEL_COUNTERS_MASK
27338 #define CSI_CSICR181_PIXEL_COUNTERS_SHIFT     CSI_CR181_PIXEL_COUNTERS_SHIFT
27339 #define CSI_CSICR181_PIXEL_COUNTERS(x)     CSI_CR181_PIXEL_COUNTERS(x)
27340 #define CSI_CSICR182_PIXEL_COUNTERS_MASK     CSI_CR182_PIXEL_COUNTERS_MASK
27341 #define CSI_CSICR182_PIXEL_COUNTERS_SHIFT     CSI_CR182_PIXEL_COUNTERS_SHIFT
27342 #define CSI_CSICR182_PIXEL_COUNTERS(x)     CSI_CR182_PIXEL_COUNTERS(x)
27343 #define CSI_CSICR183_PIXEL_COUNTERS_MASK     CSI_CR183_PIXEL_COUNTERS_MASK
27344 #define CSI_CSICR183_PIXEL_COUNTERS_SHIFT     CSI_CR183_PIXEL_COUNTERS_SHIFT
27345 #define CSI_CSICR183_PIXEL_COUNTERS(x)     CSI_CR183_PIXEL_COUNTERS(x)
27346 #define CSI_CSICR184_PIXEL_COUNTERS_MASK     CSI_CR184_PIXEL_COUNTERS_MASK
27347 #define CSI_CSICR184_PIXEL_COUNTERS_SHIFT     CSI_CR184_PIXEL_COUNTERS_SHIFT
27348 #define CSI_CSICR184_PIXEL_COUNTERS(x)     CSI_CR184_PIXEL_COUNTERS(x)
27349 #define CSI_CSICR185_PIXEL_COUNTERS_MASK     CSI_CR185_PIXEL_COUNTERS_MASK
27350 #define CSI_CSICR185_PIXEL_COUNTERS_SHIFT     CSI_CR185_PIXEL_COUNTERS_SHIFT
27351 #define CSI_CSICR185_PIXEL_COUNTERS(x)     CSI_CR185_PIXEL_COUNTERS(x)
27352 #define CSI_CSICR186_PIXEL_COUNTERS_MASK     CSI_CR186_PIXEL_COUNTERS_MASK
27353 #define CSI_CSICR186_PIXEL_COUNTERS_SHIFT     CSI_CR186_PIXEL_COUNTERS_SHIFT
27354 #define CSI_CSICR186_PIXEL_COUNTERS(x)     CSI_CR186_PIXEL_COUNTERS(x)
27355 #define CSI_CSICR187_PIXEL_COUNTERS_MASK     CSI_CR187_PIXEL_COUNTERS_MASK
27356 #define CSI_CSICR187_PIXEL_COUNTERS_SHIFT     CSI_CR187_PIXEL_COUNTERS_SHIFT
27357 #define CSI_CSICR187_PIXEL_COUNTERS(x)     CSI_CR187_PIXEL_COUNTERS(x)
27358 #define CSI_CSICR188_PIXEL_COUNTERS_MASK     CSI_CR188_PIXEL_COUNTERS_MASK
27359 #define CSI_CSICR188_PIXEL_COUNTERS_SHIFT     CSI_CR188_PIXEL_COUNTERS_SHIFT
27360 #define CSI_CSICR188_PIXEL_COUNTERS(x)     CSI_CR188_PIXEL_COUNTERS(x)
27361 #define CSI_CSICR189_PIXEL_COUNTERS_MASK     CSI_CR189_PIXEL_COUNTERS_MASK
27362 #define CSI_CSICR189_PIXEL_COUNTERS_SHIFT     CSI_CR189_PIXEL_COUNTERS_SHIFT
27363 #define CSI_CSICR189_PIXEL_COUNTERS(x)     CSI_CR189_PIXEL_COUNTERS(x)
27364 #define CSI_CSICR190_PIXEL_COUNTERS_MASK     CSI_CR190_PIXEL_COUNTERS_MASK
27365 #define CSI_CSICR190_PIXEL_COUNTERS_SHIFT     CSI_CR190_PIXEL_COUNTERS_SHIFT
27366 #define CSI_CSICR190_PIXEL_COUNTERS(x)     CSI_CR190_PIXEL_COUNTERS(x)
27367 #define CSI_CSICR191_PIXEL_COUNTERS_MASK     CSI_CR191_PIXEL_COUNTERS_MASK
27368 #define CSI_CSICR191_PIXEL_COUNTERS_SHIFT     CSI_CR191_PIXEL_COUNTERS_SHIFT
27369 #define CSI_CSICR191_PIXEL_COUNTERS(x)     CSI_CR191_PIXEL_COUNTERS(x)
27370 #define CSI_CSICR192_PIXEL_COUNTERS_MASK     CSI_CR192_PIXEL_COUNTERS_MASK
27371 #define CSI_CSICR192_PIXEL_COUNTERS_SHIFT     CSI_CR192_PIXEL_COUNTERS_SHIFT
27372 #define CSI_CSICR192_PIXEL_COUNTERS(x)     CSI_CR192_PIXEL_COUNTERS(x)
27373 #define CSI_CSICR193_PIXEL_COUNTERS_MASK     CSI_CR193_PIXEL_COUNTERS_MASK
27374 #define CSI_CSICR193_PIXEL_COUNTERS_SHIFT     CSI_CR193_PIXEL_COUNTERS_SHIFT
27375 #define CSI_CSICR193_PIXEL_COUNTERS(x)     CSI_CR193_PIXEL_COUNTERS(x)
27376 #define CSI_CSICR194_PIXEL_COUNTERS_MASK     CSI_CR194_PIXEL_COUNTERS_MASK
27377 #define CSI_CSICR194_PIXEL_COUNTERS_SHIFT     CSI_CR194_PIXEL_COUNTERS_SHIFT
27378 #define CSI_CSICR194_PIXEL_COUNTERS(x)     CSI_CR194_PIXEL_COUNTERS(x)
27379 #define CSI_CSICR195_PIXEL_COUNTERS_MASK     CSI_CR195_PIXEL_COUNTERS_MASK
27380 #define CSI_CSICR195_PIXEL_COUNTERS_SHIFT     CSI_CR195_PIXEL_COUNTERS_SHIFT
27381 #define CSI_CSICR195_PIXEL_COUNTERS(x)     CSI_CR195_PIXEL_COUNTERS(x)
27382 #define CSI_CSICR196_PIXEL_COUNTERS_MASK     CSI_CR196_PIXEL_COUNTERS_MASK
27383 #define CSI_CSICR196_PIXEL_COUNTERS_SHIFT     CSI_CR196_PIXEL_COUNTERS_SHIFT
27384 #define CSI_CSICR196_PIXEL_COUNTERS(x)     CSI_CR196_PIXEL_COUNTERS(x)
27385 #define CSI_CSICR197_PIXEL_COUNTERS_MASK     CSI_CR197_PIXEL_COUNTERS_MASK
27386 #define CSI_CSICR197_PIXEL_COUNTERS_SHIFT     CSI_CR197_PIXEL_COUNTERS_SHIFT
27387 #define CSI_CSICR197_PIXEL_COUNTERS(x)     CSI_CR197_PIXEL_COUNTERS(x)
27388 #define CSI_CSICR198_PIXEL_COUNTERS_MASK     CSI_CR198_PIXEL_COUNTERS_MASK
27389 #define CSI_CSICR198_PIXEL_COUNTERS_SHIFT     CSI_CR198_PIXEL_COUNTERS_SHIFT
27390 #define CSI_CSICR198_PIXEL_COUNTERS(x)     CSI_CR198_PIXEL_COUNTERS(x)
27391 #define CSI_CSICR199_PIXEL_COUNTERS_MASK     CSI_CR199_PIXEL_COUNTERS_MASK
27392 #define CSI_CSICR199_PIXEL_COUNTERS_SHIFT     CSI_CR199_PIXEL_COUNTERS_SHIFT
27393 #define CSI_CSICR199_PIXEL_COUNTERS(x)     CSI_CR199_PIXEL_COUNTERS(x)
27394 #define CSI_CSICR200_PIXEL_COUNTERS_MASK     CSI_CR200_PIXEL_COUNTERS_MASK
27395 #define CSI_CSICR200_PIXEL_COUNTERS_SHIFT     CSI_CR200_PIXEL_COUNTERS_SHIFT
27396 #define CSI_CSICR200_PIXEL_COUNTERS(x)     CSI_CR200_PIXEL_COUNTERS(x)
27397 #define CSI_CSICR201_PIXEL_COUNTERS_MASK     CSI_CR201_PIXEL_COUNTERS_MASK
27398 #define CSI_CSICR201_PIXEL_COUNTERS_SHIFT     CSI_CR201_PIXEL_COUNTERS_SHIFT
27399 #define CSI_CSICR201_PIXEL_COUNTERS(x)     CSI_CR201_PIXEL_COUNTERS(x)
27400 #define CSI_CSICR202_PIXEL_COUNTERS_MASK     CSI_CR202_PIXEL_COUNTERS_MASK
27401 #define CSI_CSICR202_PIXEL_COUNTERS_SHIFT     CSI_CR202_PIXEL_COUNTERS_SHIFT
27402 #define CSI_CSICR202_PIXEL_COUNTERS(x)     CSI_CR202_PIXEL_COUNTERS(x)
27403 #define CSI_CSICR203_PIXEL_COUNTERS_MASK     CSI_CR203_PIXEL_COUNTERS_MASK
27404 #define CSI_CSICR203_PIXEL_COUNTERS_SHIFT     CSI_CR203_PIXEL_COUNTERS_SHIFT
27405 #define CSI_CSICR203_PIXEL_COUNTERS(x)     CSI_CR203_PIXEL_COUNTERS(x)
27406 #define CSI_CSICR204_PIXEL_COUNTERS_MASK     CSI_CR204_PIXEL_COUNTERS_MASK
27407 #define CSI_CSICR204_PIXEL_COUNTERS_SHIFT     CSI_CR204_PIXEL_COUNTERS_SHIFT
27408 #define CSI_CSICR204_PIXEL_COUNTERS(x)     CSI_CR204_PIXEL_COUNTERS(x)
27409 #define CSI_CSICR205_PIXEL_COUNTERS_MASK     CSI_CR205_PIXEL_COUNTERS_MASK
27410 #define CSI_CSICR205_PIXEL_COUNTERS_SHIFT     CSI_CR205_PIXEL_COUNTERS_SHIFT
27411 #define CSI_CSICR205_PIXEL_COUNTERS(x)     CSI_CR205_PIXEL_COUNTERS(x)
27412 #define CSI_CSICR206_PIXEL_COUNTERS_MASK     CSI_CR206_PIXEL_COUNTERS_MASK
27413 #define CSI_CSICR206_PIXEL_COUNTERS_SHIFT     CSI_CR206_PIXEL_COUNTERS_SHIFT
27414 #define CSI_CSICR206_PIXEL_COUNTERS(x)     CSI_CR206_PIXEL_COUNTERS(x)
27415 #define CSI_CSICR207_PIXEL_COUNTERS_MASK     CSI_CR207_PIXEL_COUNTERS_MASK
27416 #define CSI_CSICR207_PIXEL_COUNTERS_SHIFT     CSI_CR207_PIXEL_COUNTERS_SHIFT
27417 #define CSI_CSICR207_PIXEL_COUNTERS(x)     CSI_CR207_PIXEL_COUNTERS(x)
27418 #define CSI_CSICR208_PIXEL_COUNTERS_MASK     CSI_CR208_PIXEL_COUNTERS_MASK
27419 #define CSI_CSICR208_PIXEL_COUNTERS_SHIFT     CSI_CR208_PIXEL_COUNTERS_SHIFT
27420 #define CSI_CSICR208_PIXEL_COUNTERS(x)     CSI_CR208_PIXEL_COUNTERS(x)
27421 #define CSI_CSICR209_PIXEL_COUNTERS_MASK     CSI_CR209_PIXEL_COUNTERS_MASK
27422 #define CSI_CSICR209_PIXEL_COUNTERS_SHIFT     CSI_CR209_PIXEL_COUNTERS_SHIFT
27423 #define CSI_CSICR209_PIXEL_COUNTERS(x)     CSI_CR209_PIXEL_COUNTERS(x)
27424 #define CSI_CSICR210_PIXEL_COUNTERS_MASK     CSI_CR210_PIXEL_COUNTERS_MASK
27425 #define CSI_CSICR210_PIXEL_COUNTERS_SHIFT     CSI_CR210_PIXEL_COUNTERS_SHIFT
27426 #define CSI_CSICR210_PIXEL_COUNTERS(x)     CSI_CR210_PIXEL_COUNTERS(x)
27427 #define CSI_CSICR211_PIXEL_COUNTERS_MASK     CSI_CR211_PIXEL_COUNTERS_MASK
27428 #define CSI_CSICR211_PIXEL_COUNTERS_SHIFT     CSI_CR211_PIXEL_COUNTERS_SHIFT
27429 #define CSI_CSICR211_PIXEL_COUNTERS(x)     CSI_CR211_PIXEL_COUNTERS(x)
27430 #define CSI_CSICR212_PIXEL_COUNTERS_MASK     CSI_CR212_PIXEL_COUNTERS_MASK
27431 #define CSI_CSICR212_PIXEL_COUNTERS_SHIFT     CSI_CR212_PIXEL_COUNTERS_SHIFT
27432 #define CSI_CSICR212_PIXEL_COUNTERS(x)     CSI_CR212_PIXEL_COUNTERS(x)
27433 #define CSI_CSICR213_PIXEL_COUNTERS_MASK     CSI_CR213_PIXEL_COUNTERS_MASK
27434 #define CSI_CSICR213_PIXEL_COUNTERS_SHIFT     CSI_CR213_PIXEL_COUNTERS_SHIFT
27435 #define CSI_CSICR213_PIXEL_COUNTERS(x)     CSI_CR213_PIXEL_COUNTERS(x)
27436 #define CSI_CSICR214_PIXEL_COUNTERS_MASK     CSI_CR214_PIXEL_COUNTERS_MASK
27437 #define CSI_CSICR214_PIXEL_COUNTERS_SHIFT     CSI_CR214_PIXEL_COUNTERS_SHIFT
27438 #define CSI_CSICR214_PIXEL_COUNTERS(x)     CSI_CR214_PIXEL_COUNTERS(x)
27439 #define CSI_CSICR215_PIXEL_COUNTERS_MASK     CSI_CR215_PIXEL_COUNTERS_MASK
27440 #define CSI_CSICR215_PIXEL_COUNTERS_SHIFT     CSI_CR215_PIXEL_COUNTERS_SHIFT
27441 #define CSI_CSICR215_PIXEL_COUNTERS(x)     CSI_CR215_PIXEL_COUNTERS(x)
27442 #define CSI_CSICR216_PIXEL_COUNTERS_MASK     CSI_CR216_PIXEL_COUNTERS_MASK
27443 #define CSI_CSICR216_PIXEL_COUNTERS_SHIFT     CSI_CR216_PIXEL_COUNTERS_SHIFT
27444 #define CSI_CSICR216_PIXEL_COUNTERS(x)     CSI_CR216_PIXEL_COUNTERS(x)
27445 #define CSI_CSICR217_PIXEL_COUNTERS_MASK     CSI_CR217_PIXEL_COUNTERS_MASK
27446 #define CSI_CSICR217_PIXEL_COUNTERS_SHIFT     CSI_CR217_PIXEL_COUNTERS_SHIFT
27447 #define CSI_CSICR217_PIXEL_COUNTERS(x)     CSI_CR217_PIXEL_COUNTERS(x)
27448 #define CSI_CSICR218_PIXEL_COUNTERS_MASK     CSI_CR218_PIXEL_COUNTERS_MASK
27449 #define CSI_CSICR218_PIXEL_COUNTERS_SHIFT     CSI_CR218_PIXEL_COUNTERS_SHIFT
27450 #define CSI_CSICR218_PIXEL_COUNTERS(x)     CSI_CR218_PIXEL_COUNTERS(x)
27451 #define CSI_CSICR219_PIXEL_COUNTERS_MASK     CSI_CR219_PIXEL_COUNTERS_MASK
27452 #define CSI_CSICR219_PIXEL_COUNTERS_SHIFT     CSI_CR219_PIXEL_COUNTERS_SHIFT
27453 #define CSI_CSICR219_PIXEL_COUNTERS(x)     CSI_CR219_PIXEL_COUNTERS(x)
27454 #define CSI_CSICR220_PIXEL_COUNTERS_MASK     CSI_CR220_PIXEL_COUNTERS_MASK
27455 #define CSI_CSICR220_PIXEL_COUNTERS_SHIFT     CSI_CR220_PIXEL_COUNTERS_SHIFT
27456 #define CSI_CSICR220_PIXEL_COUNTERS(x)     CSI_CR220_PIXEL_COUNTERS(x)
27457 #define CSI_CSICR221_PIXEL_COUNTERS_MASK     CSI_CR221_PIXEL_COUNTERS_MASK
27458 #define CSI_CSICR221_PIXEL_COUNTERS_SHIFT     CSI_CR221_PIXEL_COUNTERS_SHIFT
27459 #define CSI_CSICR221_PIXEL_COUNTERS(x)     CSI_CR221_PIXEL_COUNTERS(x)
27460 #define CSI_CSICR222_PIXEL_COUNTERS_MASK     CSI_CR222_PIXEL_COUNTERS_MASK
27461 #define CSI_CSICR222_PIXEL_COUNTERS_SHIFT     CSI_CR222_PIXEL_COUNTERS_SHIFT
27462 #define CSI_CSICR222_PIXEL_COUNTERS(x)     CSI_CR222_PIXEL_COUNTERS(x)
27463 #define CSI_CSICR223_PIXEL_COUNTERS_MASK     CSI_CR223_PIXEL_COUNTERS_MASK
27464 #define CSI_CSICR223_PIXEL_COUNTERS_SHIFT     CSI_CR223_PIXEL_COUNTERS_SHIFT
27465 #define CSI_CSICR223_PIXEL_COUNTERS(x)     CSI_CR223_PIXEL_COUNTERS(x)
27466 #define CSI_CSICR224_PIXEL_COUNTERS_MASK     CSI_CR224_PIXEL_COUNTERS_MASK
27467 #define CSI_CSICR224_PIXEL_COUNTERS_SHIFT     CSI_CR224_PIXEL_COUNTERS_SHIFT
27468 #define CSI_CSICR224_PIXEL_COUNTERS(x)     CSI_CR224_PIXEL_COUNTERS(x)
27469 #define CSI_CSICR225_PIXEL_COUNTERS_MASK     CSI_CR225_PIXEL_COUNTERS_MASK
27470 #define CSI_CSICR225_PIXEL_COUNTERS_SHIFT     CSI_CR225_PIXEL_COUNTERS_SHIFT
27471 #define CSI_CSICR225_PIXEL_COUNTERS(x)     CSI_CR225_PIXEL_COUNTERS(x)
27472 #define CSI_CSICR226_PIXEL_COUNTERS_MASK     CSI_CR226_PIXEL_COUNTERS_MASK
27473 #define CSI_CSICR226_PIXEL_COUNTERS_SHIFT     CSI_CR226_PIXEL_COUNTERS_SHIFT
27474 #define CSI_CSICR226_PIXEL_COUNTERS(x)     CSI_CR226_PIXEL_COUNTERS(x)
27475 #define CSI_CSICR227_PIXEL_COUNTERS_MASK     CSI_CR227_PIXEL_COUNTERS_MASK
27476 #define CSI_CSICR227_PIXEL_COUNTERS_SHIFT     CSI_CR227_PIXEL_COUNTERS_SHIFT
27477 #define CSI_CSICR227_PIXEL_COUNTERS(x)     CSI_CR227_PIXEL_COUNTERS(x)
27478 #define CSI_CSICR228_PIXEL_COUNTERS_MASK     CSI_CR228_PIXEL_COUNTERS_MASK
27479 #define CSI_CSICR228_PIXEL_COUNTERS_SHIFT     CSI_CR228_PIXEL_COUNTERS_SHIFT
27480 #define CSI_CSICR228_PIXEL_COUNTERS(x)     CSI_CR228_PIXEL_COUNTERS(x)
27481 #define CSI_CSICR229_PIXEL_COUNTERS_MASK     CSI_CR229_PIXEL_COUNTERS_MASK
27482 #define CSI_CSICR229_PIXEL_COUNTERS_SHIFT     CSI_CR229_PIXEL_COUNTERS_SHIFT
27483 #define CSI_CSICR229_PIXEL_COUNTERS(x)     CSI_CR229_PIXEL_COUNTERS(x)
27484 #define CSI_CSICR230_PIXEL_COUNTERS_MASK     CSI_CR230_PIXEL_COUNTERS_MASK
27485 #define CSI_CSICR230_PIXEL_COUNTERS_SHIFT     CSI_CR230_PIXEL_COUNTERS_SHIFT
27486 #define CSI_CSICR230_PIXEL_COUNTERS(x)     CSI_CR230_PIXEL_COUNTERS(x)
27487 #define CSI_CSICR231_PIXEL_COUNTERS_MASK     CSI_CR231_PIXEL_COUNTERS_MASK
27488 #define CSI_CSICR231_PIXEL_COUNTERS_SHIFT     CSI_CR231_PIXEL_COUNTERS_SHIFT
27489 #define CSI_CSICR231_PIXEL_COUNTERS(x)     CSI_CR231_PIXEL_COUNTERS(x)
27490 #define CSI_CSICR232_PIXEL_COUNTERS_MASK     CSI_CR232_PIXEL_COUNTERS_MASK
27491 #define CSI_CSICR232_PIXEL_COUNTERS_SHIFT     CSI_CR232_PIXEL_COUNTERS_SHIFT
27492 #define CSI_CSICR232_PIXEL_COUNTERS(x)     CSI_CR232_PIXEL_COUNTERS(x)
27493 #define CSI_CSICR233_PIXEL_COUNTERS_MASK     CSI_CR233_PIXEL_COUNTERS_MASK
27494 #define CSI_CSICR233_PIXEL_COUNTERS_SHIFT     CSI_CR233_PIXEL_COUNTERS_SHIFT
27495 #define CSI_CSICR233_PIXEL_COUNTERS(x)     CSI_CR233_PIXEL_COUNTERS(x)
27496 #define CSI_CSICR234_PIXEL_COUNTERS_MASK     CSI_CR234_PIXEL_COUNTERS_MASK
27497 #define CSI_CSICR234_PIXEL_COUNTERS_SHIFT     CSI_CR234_PIXEL_COUNTERS_SHIFT
27498 #define CSI_CSICR234_PIXEL_COUNTERS(x)     CSI_CR234_PIXEL_COUNTERS(x)
27499 #define CSI_CSICR235_PIXEL_COUNTERS_MASK     CSI_CR235_PIXEL_COUNTERS_MASK
27500 #define CSI_CSICR235_PIXEL_COUNTERS_SHIFT     CSI_CR235_PIXEL_COUNTERS_SHIFT
27501 #define CSI_CSICR235_PIXEL_COUNTERS(x)     CSI_CR235_PIXEL_COUNTERS(x)
27502 #define CSI_CSICR236_PIXEL_COUNTERS_MASK     CSI_CR236_PIXEL_COUNTERS_MASK
27503 #define CSI_CSICR236_PIXEL_COUNTERS_SHIFT     CSI_CR236_PIXEL_COUNTERS_SHIFT
27504 #define CSI_CSICR236_PIXEL_COUNTERS(x)     CSI_CR236_PIXEL_COUNTERS(x)
27505 #define CSI_CSICR237_PIXEL_COUNTERS_MASK     CSI_CR237_PIXEL_COUNTERS_MASK
27506 #define CSI_CSICR237_PIXEL_COUNTERS_SHIFT     CSI_CR237_PIXEL_COUNTERS_SHIFT
27507 #define CSI_CSICR237_PIXEL_COUNTERS(x)     CSI_CR237_PIXEL_COUNTERS(x)
27508 #define CSI_CSICR238_PIXEL_COUNTERS_MASK     CSI_CR238_PIXEL_COUNTERS_MASK
27509 #define CSI_CSICR238_PIXEL_COUNTERS_SHIFT     CSI_CR238_PIXEL_COUNTERS_SHIFT
27510 #define CSI_CSICR238_PIXEL_COUNTERS(x)     CSI_CR238_PIXEL_COUNTERS(x)
27511 #define CSI_CSICR239_PIXEL_COUNTERS_MASK     CSI_CR239_PIXEL_COUNTERS_MASK
27512 #define CSI_CSICR239_PIXEL_COUNTERS_SHIFT     CSI_CR239_PIXEL_COUNTERS_SHIFT
27513 #define CSI_CSICR239_PIXEL_COUNTERS(x)     CSI_CR239_PIXEL_COUNTERS(x)
27514 #define CSI_CSICR240_PIXEL_COUNTERS_MASK     CSI_CR240_PIXEL_COUNTERS_MASK
27515 #define CSI_CSICR240_PIXEL_COUNTERS_SHIFT     CSI_CR240_PIXEL_COUNTERS_SHIFT
27516 #define CSI_CSICR240_PIXEL_COUNTERS(x)     CSI_CR240_PIXEL_COUNTERS(x)
27517 #define CSI_CSICR241_PIXEL_COUNTERS_MASK     CSI_CR241_PIXEL_COUNTERS_MASK
27518 #define CSI_CSICR241_PIXEL_COUNTERS_SHIFT     CSI_CR241_PIXEL_COUNTERS_SHIFT
27519 #define CSI_CSICR241_PIXEL_COUNTERS(x)     CSI_CR241_PIXEL_COUNTERS(x)
27520 #define CSI_CSICR242_PIXEL_COUNTERS_MASK     CSI_CR242_PIXEL_COUNTERS_MASK
27521 #define CSI_CSICR242_PIXEL_COUNTERS_SHIFT     CSI_CR242_PIXEL_COUNTERS_SHIFT
27522 #define CSI_CSICR242_PIXEL_COUNTERS(x)     CSI_CR242_PIXEL_COUNTERS(x)
27523 #define CSI_CSICR243_PIXEL_COUNTERS_MASK     CSI_CR243_PIXEL_COUNTERS_MASK
27524 #define CSI_CSICR243_PIXEL_COUNTERS_SHIFT     CSI_CR243_PIXEL_COUNTERS_SHIFT
27525 #define CSI_CSICR243_PIXEL_COUNTERS(x)     CSI_CR243_PIXEL_COUNTERS(x)
27526 #define CSI_CSICR244_PIXEL_COUNTERS_MASK     CSI_CR244_PIXEL_COUNTERS_MASK
27527 #define CSI_CSICR244_PIXEL_COUNTERS_SHIFT     CSI_CR244_PIXEL_COUNTERS_SHIFT
27528 #define CSI_CSICR244_PIXEL_COUNTERS(x)     CSI_CR244_PIXEL_COUNTERS(x)
27529 #define CSI_CSICR245_PIXEL_COUNTERS_MASK     CSI_CR245_PIXEL_COUNTERS_MASK
27530 #define CSI_CSICR245_PIXEL_COUNTERS_SHIFT     CSI_CR245_PIXEL_COUNTERS_SHIFT
27531 #define CSI_CSICR245_PIXEL_COUNTERS(x)     CSI_CR245_PIXEL_COUNTERS(x)
27532 #define CSI_CSICR246_PIXEL_COUNTERS_MASK     CSI_CR246_PIXEL_COUNTERS_MASK
27533 #define CSI_CSICR246_PIXEL_COUNTERS_SHIFT     CSI_CR246_PIXEL_COUNTERS_SHIFT
27534 #define CSI_CSICR246_PIXEL_COUNTERS(x)     CSI_CR246_PIXEL_COUNTERS(x)
27535 #define CSI_CSICR247_PIXEL_COUNTERS_MASK     CSI_CR247_PIXEL_COUNTERS_MASK
27536 #define CSI_CSICR247_PIXEL_COUNTERS_SHIFT     CSI_CR247_PIXEL_COUNTERS_SHIFT
27537 #define CSI_CSICR247_PIXEL_COUNTERS(x)     CSI_CR247_PIXEL_COUNTERS(x)
27538 #define CSI_CSICR248_PIXEL_COUNTERS_MASK     CSI_CR248_PIXEL_COUNTERS_MASK
27539 #define CSI_CSICR248_PIXEL_COUNTERS_SHIFT     CSI_CR248_PIXEL_COUNTERS_SHIFT
27540 #define CSI_CSICR248_PIXEL_COUNTERS(x)     CSI_CR248_PIXEL_COUNTERS(x)
27541 #define CSI_CSICR249_PIXEL_COUNTERS_MASK     CSI_CR249_PIXEL_COUNTERS_MASK
27542 #define CSI_CSICR249_PIXEL_COUNTERS_SHIFT     CSI_CR249_PIXEL_COUNTERS_SHIFT
27543 #define CSI_CSICR249_PIXEL_COUNTERS(x)     CSI_CR249_PIXEL_COUNTERS(x)
27544 #define CSI_CSICR250_PIXEL_COUNTERS_MASK     CSI_CR250_PIXEL_COUNTERS_MASK
27545 #define CSI_CSICR250_PIXEL_COUNTERS_SHIFT     CSI_CR250_PIXEL_COUNTERS_SHIFT
27546 #define CSI_CSICR250_PIXEL_COUNTERS(x)     CSI_CR250_PIXEL_COUNTERS(x)
27547 #define CSI_CSICR251_PIXEL_COUNTERS_MASK     CSI_CR251_PIXEL_COUNTERS_MASK
27548 #define CSI_CSICR251_PIXEL_COUNTERS_SHIFT     CSI_CR251_PIXEL_COUNTERS_SHIFT
27549 #define CSI_CSICR251_PIXEL_COUNTERS(x)     CSI_CR251_PIXEL_COUNTERS(x)
27550 #define CSI_CSICR252_PIXEL_COUNTERS_MASK     CSI_CR252_PIXEL_COUNTERS_MASK
27551 #define CSI_CSICR252_PIXEL_COUNTERS_SHIFT     CSI_CR252_PIXEL_COUNTERS_SHIFT
27552 #define CSI_CSICR252_PIXEL_COUNTERS(x)     CSI_CR252_PIXEL_COUNTERS(x)
27553 #define CSI_CSICR253_PIXEL_COUNTERS_MASK     CSI_CR253_PIXEL_COUNTERS_MASK
27554 #define CSI_CSICR253_PIXEL_COUNTERS_SHIFT     CSI_CR253_PIXEL_COUNTERS_SHIFT
27555 #define CSI_CSICR253_PIXEL_COUNTERS(x)     CSI_CR253_PIXEL_COUNTERS(x)
27556 #define CSI_CSICR254_PIXEL_COUNTERS_MASK     CSI_CR254_PIXEL_COUNTERS_MASK
27557 #define CSI_CSICR254_PIXEL_COUNTERS_SHIFT     CSI_CR254_PIXEL_COUNTERS_SHIFT
27558 #define CSI_CSICR254_PIXEL_COUNTERS(x)     CSI_CR254_PIXEL_COUNTERS(x)
27559 #define CSI_CSICR255_PIXEL_COUNTERS_MASK     CSI_CR255_PIXEL_COUNTERS_MASK
27560 #define CSI_CSICR255_PIXEL_COUNTERS_SHIFT     CSI_CR255_PIXEL_COUNTERS_SHIFT
27561 #define CSI_CSICR255_PIXEL_COUNTERS(x)     CSI_CR255_PIXEL_COUNTERS(x)
27562 #define CSI_CSICR256_PIXEL_COUNTERS_MASK     CSI_CR256_PIXEL_COUNTERS_MASK
27563 #define CSI_CSICR256_PIXEL_COUNTERS_SHIFT     CSI_CR256_PIXEL_COUNTERS_SHIFT
27564 #define CSI_CSICR256_PIXEL_COUNTERS(x)     CSI_CR256_PIXEL_COUNTERS(x)
27565 #define CSI_CSICR257_PIXEL_COUNTERS_MASK     CSI_CR257_PIXEL_COUNTERS_MASK
27566 #define CSI_CSICR257_PIXEL_COUNTERS_SHIFT     CSI_CR257_PIXEL_COUNTERS_SHIFT
27567 #define CSI_CSICR257_PIXEL_COUNTERS(x)     CSI_CR257_PIXEL_COUNTERS(x)
27568 #define CSI_CSICR258_PIXEL_COUNTERS_MASK     CSI_CR258_PIXEL_COUNTERS_MASK
27569 #define CSI_CSICR258_PIXEL_COUNTERS_SHIFT     CSI_CR258_PIXEL_COUNTERS_SHIFT
27570 #define CSI_CSICR258_PIXEL_COUNTERS(x)     CSI_CR258_PIXEL_COUNTERS(x)
27571 #define CSI_CSICR259_PIXEL_COUNTERS_MASK     CSI_CR259_PIXEL_COUNTERS_MASK
27572 #define CSI_CSICR259_PIXEL_COUNTERS_SHIFT     CSI_CR259_PIXEL_COUNTERS_SHIFT
27573 #define CSI_CSICR259_PIXEL_COUNTERS(x)     CSI_CR259_PIXEL_COUNTERS(x)
27574 #define CSI_CSICR260_PIXEL_COUNTERS_MASK     CSI_CR260_PIXEL_COUNTERS_MASK
27575 #define CSI_CSICR260_PIXEL_COUNTERS_SHIFT     CSI_CR260_PIXEL_COUNTERS_SHIFT
27576 #define CSI_CSICR260_PIXEL_COUNTERS(x)     CSI_CR260_PIXEL_COUNTERS(x)
27577 #define CSI_CSICR261_PIXEL_COUNTERS_MASK     CSI_CR261_PIXEL_COUNTERS_MASK
27578 #define CSI_CSICR261_PIXEL_COUNTERS_SHIFT     CSI_CR261_PIXEL_COUNTERS_SHIFT
27579 #define CSI_CSICR261_PIXEL_COUNTERS(x)     CSI_CR261_PIXEL_COUNTERS(x)
27580 #define CSI_CSICR262_PIXEL_COUNTERS_MASK     CSI_CR262_PIXEL_COUNTERS_MASK
27581 #define CSI_CSICR262_PIXEL_COUNTERS_SHIFT     CSI_CR262_PIXEL_COUNTERS_SHIFT
27582 #define CSI_CSICR262_PIXEL_COUNTERS(x)     CSI_CR262_PIXEL_COUNTERS(x)
27583 #define CSI_CSICR263_PIXEL_COUNTERS_MASK     CSI_CR263_PIXEL_COUNTERS_MASK
27584 #define CSI_CSICR263_PIXEL_COUNTERS_SHIFT     CSI_CR263_PIXEL_COUNTERS_SHIFT
27585 #define CSI_CSICR263_PIXEL_COUNTERS(x)     CSI_CR263_PIXEL_COUNTERS(x)
27586 #define CSI_CSICR264_PIXEL_COUNTERS_MASK     CSI_CR264_PIXEL_COUNTERS_MASK
27587 #define CSI_CSICR264_PIXEL_COUNTERS_SHIFT     CSI_CR264_PIXEL_COUNTERS_SHIFT
27588 #define CSI_CSICR264_PIXEL_COUNTERS(x)     CSI_CR264_PIXEL_COUNTERS(x)
27589 #define CSI_CSICR265_PIXEL_COUNTERS_MASK     CSI_CR265_PIXEL_COUNTERS_MASK
27590 #define CSI_CSICR265_PIXEL_COUNTERS_SHIFT     CSI_CR265_PIXEL_COUNTERS_SHIFT
27591 #define CSI_CSICR265_PIXEL_COUNTERS(x)     CSI_CR265_PIXEL_COUNTERS(x)
27592 #define CSI_CSICR266_PIXEL_COUNTERS_MASK     CSI_CR266_PIXEL_COUNTERS_MASK
27593 #define CSI_CSICR266_PIXEL_COUNTERS_SHIFT     CSI_CR266_PIXEL_COUNTERS_SHIFT
27594 #define CSI_CSICR266_PIXEL_COUNTERS(x)     CSI_CR266_PIXEL_COUNTERS(x)
27595 #define CSI_CSICR267_PIXEL_COUNTERS_MASK     CSI_CR267_PIXEL_COUNTERS_MASK
27596 #define CSI_CSICR267_PIXEL_COUNTERS_SHIFT     CSI_CR267_PIXEL_COUNTERS_SHIFT
27597 #define CSI_CSICR267_PIXEL_COUNTERS(x)     CSI_CR267_PIXEL_COUNTERS(x)
27598 #define CSI_CSICR268_PIXEL_COUNTERS_MASK     CSI_CR268_PIXEL_COUNTERS_MASK
27599 #define CSI_CSICR268_PIXEL_COUNTERS_SHIFT     CSI_CR268_PIXEL_COUNTERS_SHIFT
27600 #define CSI_CSICR268_PIXEL_COUNTERS(x)     CSI_CR268_PIXEL_COUNTERS(x)
27601 #define CSI_CSICR269_PIXEL_COUNTERS_MASK     CSI_CR269_PIXEL_COUNTERS_MASK
27602 #define CSI_CSICR269_PIXEL_COUNTERS_SHIFT     CSI_CR269_PIXEL_COUNTERS_SHIFT
27603 #define CSI_CSICR269_PIXEL_COUNTERS(x)     CSI_CR269_PIXEL_COUNTERS(x)
27604 #define CSI_CSICR270_PIXEL_COUNTERS_MASK     CSI_CR270_PIXEL_COUNTERS_MASK
27605 #define CSI_CSICR270_PIXEL_COUNTERS_SHIFT     CSI_CR270_PIXEL_COUNTERS_SHIFT
27606 #define CSI_CSICR270_PIXEL_COUNTERS(x)     CSI_CR270_PIXEL_COUNTERS(x)
27607 #define CSI_CSICR271_PIXEL_COUNTERS_MASK     CSI_CR271_PIXEL_COUNTERS_MASK
27608 #define CSI_CSICR271_PIXEL_COUNTERS_SHIFT     CSI_CR271_PIXEL_COUNTERS_SHIFT
27609 #define CSI_CSICR271_PIXEL_COUNTERS(x)     CSI_CR271_PIXEL_COUNTERS(x)
27610 #define CSI_CSICR272_PIXEL_COUNTERS_MASK     CSI_CR272_PIXEL_COUNTERS_MASK
27611 #define CSI_CSICR272_PIXEL_COUNTERS_SHIFT     CSI_CR272_PIXEL_COUNTERS_SHIFT
27612 #define CSI_CSICR272_PIXEL_COUNTERS(x)     CSI_CR272_PIXEL_COUNTERS(x)
27613 #define CSI_CSICR273_PIXEL_COUNTERS_MASK     CSI_CR273_PIXEL_COUNTERS_MASK
27614 #define CSI_CSICR273_PIXEL_COUNTERS_SHIFT     CSI_CR273_PIXEL_COUNTERS_SHIFT
27615 #define CSI_CSICR273_PIXEL_COUNTERS(x)     CSI_CR273_PIXEL_COUNTERS(x)
27616 #define CSI_CSICR274_PIXEL_COUNTERS_MASK     CSI_CR274_PIXEL_COUNTERS_MASK
27617 #define CSI_CSICR274_PIXEL_COUNTERS_SHIFT     CSI_CR274_PIXEL_COUNTERS_SHIFT
27618 #define CSI_CSICR274_PIXEL_COUNTERS(x)     CSI_CR274_PIXEL_COUNTERS(x)
27619 #define CSI_CSICR275_PIXEL_COUNTERS_MASK     CSI_CR275_PIXEL_COUNTERS_MASK
27620 #define CSI_CSICR275_PIXEL_COUNTERS_SHIFT     CSI_CR275_PIXEL_COUNTERS_SHIFT
27621 #define CSI_CSICR275_PIXEL_COUNTERS(x)     CSI_CR275_PIXEL_COUNTERS(x)
27622 #define CSI_CSICR276_PIXEL_COUNTERS_MASK     CSI_CR276_PIXEL_COUNTERS_MASK
27623 #define CSI_CSICR276_PIXEL_COUNTERS_SHIFT     CSI_CR276_PIXEL_COUNTERS_SHIFT
27624 #define CSI_CSICR276_PIXEL_COUNTERS(x)     CSI_CR276_PIXEL_COUNTERS(x)
27625 
27626 
27627 /*!
27628  * @}
27629  */ /* end of group CSI_Peripheral_Access_Layer */
27630 
27631 
27632 /* ----------------------------------------------------------------------------
27633    -- DAC Peripheral Access Layer
27634    ---------------------------------------------------------------------------- */
27635 
27636 /*!
27637  * @addtogroup DAC_Peripheral_Access_Layer DAC Peripheral Access Layer
27638  * @{
27639  */
27640 
27641 /** DAC - Register Layout Typedef */
27642 typedef struct {
27643   __I  uint32_t VERID;                             /**< Version Identifier Register, offset: 0x0 */
27644   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
27645   __O  uint32_t DATA;                              /**< DAC Data Register, offset: 0x8 */
27646   __IO uint32_t CR;                                /**< DAC Status and Control Register, offset: 0xC */
27647   __I  uint32_t PTR;                               /**< DAC FIFO Pointer Register, offset: 0x10 */
27648   __IO uint32_t CR2;                               /**< DAC Status and Control Register 2, offset: 0x14 */
27649 } DAC_Type;
27650 
27651 /* ----------------------------------------------------------------------------
27652    -- DAC Register Masks
27653    ---------------------------------------------------------------------------- */
27654 
27655 /*!
27656  * @addtogroup DAC_Register_Masks DAC Register Masks
27657  * @{
27658  */
27659 
27660 /*! @name VERID - Version Identifier Register */
27661 /*! @{ */
27662 
27663 #define DAC_VERID_FEATURE_MASK                   (0xFFFFU)
27664 #define DAC_VERID_FEATURE_SHIFT                  (0U)
27665 /*! FEATURE - Feature Identification Number
27666  *  0b0000000000000000..Standard feature set
27667  *  0b0000000000000001..C40 feature set
27668  *  0b0000000000000010..5V DAC feature set
27669  *  0b0000000000000100..ADC BIST feature set
27670  */
27671 #define DAC_VERID_FEATURE(x)                     (((uint32_t)(((uint32_t)(x)) << DAC_VERID_FEATURE_SHIFT)) & DAC_VERID_FEATURE_MASK)
27672 
27673 #define DAC_VERID_MINOR_MASK                     (0xFF0000U)
27674 #define DAC_VERID_MINOR_SHIFT                    (16U)
27675 /*! MINOR - Minor version number
27676  */
27677 #define DAC_VERID_MINOR(x)                       (((uint32_t)(((uint32_t)(x)) << DAC_VERID_MINOR_SHIFT)) & DAC_VERID_MINOR_MASK)
27678 
27679 #define DAC_VERID_MAJOR_MASK                     (0xFF000000U)
27680 #define DAC_VERID_MAJOR_SHIFT                    (24U)
27681 /*! MAJOR - Major version number
27682  */
27683 #define DAC_VERID_MAJOR(x)                       (((uint32_t)(((uint32_t)(x)) << DAC_VERID_MAJOR_SHIFT)) & DAC_VERID_MAJOR_MASK)
27684 /*! @} */
27685 
27686 /*! @name PARAM - Parameter Register */
27687 /*! @{ */
27688 
27689 #define DAC_PARAM_FIFOSZ_MASK                    (0x7U)
27690 #define DAC_PARAM_FIFOSZ_SHIFT                   (0U)
27691 /*! FIFOSZ - FIFO size
27692  *  0b000..FIFO depth is 2
27693  *  0b001..FIFO depth is 4
27694  *  0b010..FIFO depth is 8
27695  *  0b011..FIFO depth is 16
27696  *  0b100..FIFO depth is 32
27697  *  0b101..FIFO depth is 64
27698  *  0b110..FIFO depth is 128
27699  *  0b111..FIFO depth is 256
27700  */
27701 #define DAC_PARAM_FIFOSZ(x)                      (((uint32_t)(((uint32_t)(x)) << DAC_PARAM_FIFOSZ_SHIFT)) & DAC_PARAM_FIFOSZ_MASK)
27702 /*! @} */
27703 
27704 /*! @name DATA - DAC Data Register */
27705 /*! @{ */
27706 
27707 #define DAC_DATA_DATA0_MASK                      (0xFFFU)
27708 #define DAC_DATA_DATA0_SHIFT                     (0U)
27709 /*! DATA0 - FIFO DATA0
27710  */
27711 #define DAC_DATA_DATA0(x)                        (((uint32_t)(((uint32_t)(x)) << DAC_DATA_DATA0_SHIFT)) & DAC_DATA_DATA0_MASK)
27712 /*! @} */
27713 
27714 /*! @name CR - DAC Status and Control Register */
27715 /*! @{ */
27716 
27717 #define DAC_CR_FULLF_MASK                        (0x1U)
27718 #define DAC_CR_FULLF_SHIFT                       (0U)
27719 /*! FULLF - Full Flag
27720  *  0b0..FIFO is not full.
27721  *  0b1..FIFO is full.
27722  */
27723 #define DAC_CR_FULLF(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_FULLF_SHIFT)) & DAC_CR_FULLF_MASK)
27724 
27725 #define DAC_CR_NEMPTF_MASK                       (0x2U)
27726 #define DAC_CR_NEMPTF_SHIFT                      (1U)
27727 /*! NEMPTF - Nearly Empty Flag
27728  *  0b0..More than one data is available in the FIFO.
27729  *  0b1..One data is available in the FIFO.
27730  */
27731 #define DAC_CR_NEMPTF(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_NEMPTF_SHIFT)) & DAC_CR_NEMPTF_MASK)
27732 
27733 #define DAC_CR_WMF_MASK                          (0x4U)
27734 #define DAC_CR_WMF_SHIFT                         (2U)
27735 /*! WMF - FIFO Watermark Status Flag
27736  *  0b0..The DAC buffer read pointer has not reached the watermark level.
27737  *  0b1..The DAC buffer read pointer has reached the watermark level.
27738  */
27739 #define DAC_CR_WMF(x)                            (((uint32_t)(((uint32_t)(x)) << DAC_CR_WMF_SHIFT)) & DAC_CR_WMF_MASK)
27740 
27741 #define DAC_CR_UDFF_MASK                         (0x8U)
27742 #define DAC_CR_UDFF_SHIFT                        (3U)
27743 /*! UDFF - Underflow Flag
27744  *  0b0..No underflow has occurred since the last time the flag was cleared.
27745  *  0b1..At least one trigger underflow has occurred since the last time the flag was cleared.
27746  */
27747 #define DAC_CR_UDFF(x)                           (((uint32_t)(((uint32_t)(x)) << DAC_CR_UDFF_SHIFT)) & DAC_CR_UDFF_MASK)
27748 
27749 #define DAC_CR_OVFF_MASK                         (0x10U)
27750 #define DAC_CR_OVFF_SHIFT                        (4U)
27751 /*! OVFF - Overflow Flag
27752  *  0b0..No overflow has occurred since the last time the flag was cleared.
27753  *  0b1..At least one FIFO overflow has occurred since the last time the flag was cleared.
27754  */
27755 #define DAC_CR_OVFF(x)                           (((uint32_t)(((uint32_t)(x)) << DAC_CR_OVFF_SHIFT)) & DAC_CR_OVFF_MASK)
27756 
27757 #define DAC_CR_FULLIE_MASK                       (0x100U)
27758 #define DAC_CR_FULLIE_SHIFT                      (8U)
27759 /*! FULLIE - Full Interrupt Enable
27760  *  0b0..FIFO Full interrupt is disabled.
27761  *  0b1..FIFO Full interrupt is enabled.
27762  */
27763 #define DAC_CR_FULLIE(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_FULLIE_SHIFT)) & DAC_CR_FULLIE_MASK)
27764 
27765 #define DAC_CR_EMPTIE_MASK                       (0x200U)
27766 #define DAC_CR_EMPTIE_SHIFT                      (9U)
27767 /*! EMPTIE - Nearly Empty Interrupt Enable
27768  *  0b0..FIFO Nearly Empty interrupt is disabled.
27769  *  0b1..FIFO Nearly Empty interrupt is enabled.
27770  */
27771 #define DAC_CR_EMPTIE(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_EMPTIE_SHIFT)) & DAC_CR_EMPTIE_MASK)
27772 
27773 #define DAC_CR_WTMIE_MASK                        (0x400U)
27774 #define DAC_CR_WTMIE_SHIFT                       (10U)
27775 /*! WTMIE - Watermark Interrupt Enable
27776  *  0b0..Watermark interrupt is disabled.
27777  *  0b1..Watermark interrupt is enabled.
27778  */
27779 #define DAC_CR_WTMIE(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_WTMIE_SHIFT)) & DAC_CR_WTMIE_MASK)
27780 
27781 #define DAC_CR_SWTRG_MASK                        (0x1000U)
27782 #define DAC_CR_SWTRG_SHIFT                       (12U)
27783 /*! SWTRG - DAC Software Trigger
27784  *  0b0..The DAC soft trigger is not valid.
27785  *  0b1..The DAC soft trigger is valid.
27786  */
27787 #define DAC_CR_SWTRG(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_SWTRG_SHIFT)) & DAC_CR_SWTRG_MASK)
27788 
27789 #define DAC_CR_TRGSEL_MASK                       (0x2000U)
27790 #define DAC_CR_TRGSEL_SHIFT                      (13U)
27791 /*! TRGSEL - DAC Trigger Select
27792  *  0b0..The DAC hardware trigger is selected.
27793  *  0b1..The DAC software trigger is selected.
27794  */
27795 #define DAC_CR_TRGSEL(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_TRGSEL_SHIFT)) & DAC_CR_TRGSEL_MASK)
27796 
27797 #define DAC_CR_DACRFS_MASK                       (0x4000U)
27798 #define DAC_CR_DACRFS_SHIFT                      (14U)
27799 /*! DACRFS - DAC Reference Select
27800  *  0b0..The DAC selects DACREF_1 as the reference voltage.
27801  *  0b1..The DAC selects DACREF_2 as the reference voltage.
27802  */
27803 #define DAC_CR_DACRFS(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_DACRFS_SHIFT)) & DAC_CR_DACRFS_MASK)
27804 
27805 #define DAC_CR_DACEN_MASK                        (0x8000U)
27806 #define DAC_CR_DACEN_SHIFT                       (15U)
27807 /*! DACEN - DAC Enable
27808  *  0b0..The DAC system is disabled.
27809  *  0b1..The DAC system is enabled.
27810  */
27811 #define DAC_CR_DACEN(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_DACEN_SHIFT)) & DAC_CR_DACEN_MASK)
27812 
27813 #define DAC_CR_FIFOEN_MASK                       (0x10000U)
27814 #define DAC_CR_FIFOEN_SHIFT                      (16U)
27815 /*! FIFOEN - FIFO Enable
27816  *  0b0..FIFO is disabled and only one level buffer is enabled. Any data written from this buffer goes to conversion.
27817  *  0b1..FIFO is enabled. Data will first read from FIFO to buffer then go to conversion.
27818  */
27819 #define DAC_CR_FIFOEN(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR_FIFOEN_SHIFT)) & DAC_CR_FIFOEN_MASK)
27820 
27821 #define DAC_CR_SWMD_MASK                         (0x20000U)
27822 #define DAC_CR_SWMD_SHIFT                        (17U)
27823 /*! SWMD - DAC FIFO Mode Select
27824  *  0b0..Normal mode
27825  *  0b1..Swing back mode
27826  */
27827 #define DAC_CR_SWMD(x)                           (((uint32_t)(((uint32_t)(x)) << DAC_CR_SWMD_SHIFT)) & DAC_CR_SWMD_MASK)
27828 
27829 #define DAC_CR_UVIE_MASK                         (0x40000U)
27830 #define DAC_CR_UVIE_SHIFT                        (18U)
27831 /*! UVIE - Underflow and overflow interrupt enable
27832  *  0b0..Underflow and overflow interrupt is disabled.
27833  *  0b1..Underflow and overflow interrupt is enabled.
27834  */
27835 #define DAC_CR_UVIE(x)                           (((uint32_t)(((uint32_t)(x)) << DAC_CR_UVIE_SHIFT)) & DAC_CR_UVIE_MASK)
27836 
27837 #define DAC_CR_FIFORST_MASK                      (0x200000U)
27838 #define DAC_CR_FIFORST_SHIFT                     (21U)
27839 /*! FIFORST - FIFO Reset
27840  *  0b0..No effect
27841  *  0b1..FIFO reset
27842  */
27843 #define DAC_CR_FIFORST(x)                        (((uint32_t)(((uint32_t)(x)) << DAC_CR_FIFORST_SHIFT)) & DAC_CR_FIFORST_MASK)
27844 
27845 #define DAC_CR_SWRST_MASK                        (0x400000U)
27846 #define DAC_CR_SWRST_SHIFT                       (22U)
27847 /*! SWRST - Software reset
27848  */
27849 #define DAC_CR_SWRST(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_SWRST_SHIFT)) & DAC_CR_SWRST_MASK)
27850 
27851 #define DAC_CR_DMAEN_MASK                        (0x800000U)
27852 #define DAC_CR_DMAEN_SHIFT                       (23U)
27853 /*! DMAEN - DMA Enable Select
27854  *  0b0..DMA is disabled.
27855  *  0b1..DMA is enabled. When DMA is enabled, the DMA request will be generated by original interrupts. The
27856  *       interrupts will not be presented on this module at the same time.
27857  */
27858 #define DAC_CR_DMAEN(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR_DMAEN_SHIFT)) & DAC_CR_DMAEN_MASK)
27859 
27860 #define DAC_CR_WML_MASK                          (0xFF000000U)
27861 #define DAC_CR_WML_SHIFT                         (24U)
27862 /*! WML - Watermark Level Select
27863  */
27864 #define DAC_CR_WML(x)                            (((uint32_t)(((uint32_t)(x)) << DAC_CR_WML_SHIFT)) & DAC_CR_WML_MASK)
27865 /*! @} */
27866 
27867 /*! @name PTR - DAC FIFO Pointer Register */
27868 /*! @{ */
27869 
27870 #define DAC_PTR_DACWFP_MASK                      (0xFFU)
27871 #define DAC_PTR_DACWFP_SHIFT                     (0U)
27872 /*! DACWFP - DACWFP
27873  */
27874 #define DAC_PTR_DACWFP(x)                        (((uint32_t)(((uint32_t)(x)) << DAC_PTR_DACWFP_SHIFT)) & DAC_PTR_DACWFP_MASK)
27875 
27876 #define DAC_PTR_DACRFP_MASK                      (0xFF0000U)
27877 #define DAC_PTR_DACRFP_SHIFT                     (16U)
27878 /*! DACRFP - DACRFP
27879  */
27880 #define DAC_PTR_DACRFP(x)                        (((uint32_t)(((uint32_t)(x)) << DAC_PTR_DACRFP_SHIFT)) & DAC_PTR_DACRFP_MASK)
27881 /*! @} */
27882 
27883 /*! @name CR2 - DAC Status and Control Register 2 */
27884 /*! @{ */
27885 
27886 #define DAC_CR2_BFEN_MASK                        (0x1U)
27887 #define DAC_CR2_BFEN_SHIFT                       (0U)
27888 /*! BFEN - Buffer Enable
27889  *  0b0..Opamp is not used as buffer
27890  *  0b1..Opamp is used as buffer
27891  */
27892 #define DAC_CR2_BFEN(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR2_BFEN_SHIFT)) & DAC_CR2_BFEN_MASK)
27893 
27894 #define DAC_CR2_OEN_MASK                         (0x2U)
27895 #define DAC_CR2_OEN_SHIFT                        (1U)
27896 /*! OEN - Optional Enable
27897  *  0b0..Output buffer is not bypassed
27898  *  0b1..Output buffer is bypassed
27899  */
27900 #define DAC_CR2_OEN(x)                           (((uint32_t)(((uint32_t)(x)) << DAC_CR2_OEN_SHIFT)) & DAC_CR2_OEN_MASK)
27901 
27902 #define DAC_CR2_BFMS_MASK                        (0x4U)
27903 #define DAC_CR2_BFMS_SHIFT                       (2U)
27904 /*! BFMS - Buffer Middle Speed Select
27905  *  0b0..Buffer middle speed not selected
27906  *  0b1..Buffer middle speed selected
27907  */
27908 #define DAC_CR2_BFMS(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR2_BFMS_SHIFT)) & DAC_CR2_BFMS_MASK)
27909 
27910 #define DAC_CR2_BFHS_MASK                        (0x8U)
27911 #define DAC_CR2_BFHS_SHIFT                       (3U)
27912 /*! BFHS - Buffer High Speed Select
27913  *  0b0..Buffer high speed not selected
27914  *  0b1..Buffer high speed selected
27915  */
27916 #define DAC_CR2_BFHS(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR2_BFHS_SHIFT)) & DAC_CR2_BFHS_MASK)
27917 
27918 #define DAC_CR2_IREF2_MASK                       (0x10U)
27919 #define DAC_CR2_IREF2_SHIFT                      (4U)
27920 /*! IREF2 - Internal PTAT (Proportional To Absolute Temperature) Current Reference Select
27921  *  0b0..Internal PTAT Current Reference not selected
27922  *  0b1..Internal PTAT Current Reference selected
27923  */
27924 #define DAC_CR2_IREF2(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR2_IREF2_SHIFT)) & DAC_CR2_IREF2_MASK)
27925 
27926 #define DAC_CR2_IREF1_MASK                       (0x20U)
27927 #define DAC_CR2_IREF1_SHIFT                      (5U)
27928 /*! IREF1 - Internal ZTC (Zero Temperature Coefficient) Current Reference Select
27929  *  0b0..Internal ZTC Current Reference not selected
27930  *  0b1..Internal ZTC Current Reference selected
27931  */
27932 #define DAC_CR2_IREF1(x)                         (((uint32_t)(((uint32_t)(x)) << DAC_CR2_IREF1_SHIFT)) & DAC_CR2_IREF1_MASK)
27933 
27934 #define DAC_CR2_IREF_MASK                        (0x40U)
27935 #define DAC_CR2_IREF_SHIFT                       (6U)
27936 /*! IREF - Internal Current Reference Select
27937  *  0b0..Internal Current Reference not selected
27938  *  0b1..Internal Current Reference selected
27939  */
27940 #define DAC_CR2_IREF(x)                          (((uint32_t)(((uint32_t)(x)) << DAC_CR2_IREF_SHIFT)) & DAC_CR2_IREF_MASK)
27941 /*! @} */
27942 
27943 
27944 /*!
27945  * @}
27946  */ /* end of group DAC_Register_Masks */
27947 
27948 
27949 /* DAC - Peripheral instance base addresses */
27950 /** Peripheral DAC base address */
27951 #define DAC_BASE                                 (0x40064000u)
27952 /** Peripheral DAC base pointer */
27953 #define DAC                                      ((DAC_Type *)DAC_BASE)
27954 /** Array initializer of DAC peripheral base addresses */
27955 #define DAC_BASE_ADDRS                           { DAC_BASE }
27956 /** Array initializer of DAC peripheral base pointers */
27957 #define DAC_BASE_PTRS                            { DAC }
27958 /** Interrupt vectors for the DAC peripheral type */
27959 #define DAC_IRQS                                 { DAC_IRQn }
27960 
27961 /*!
27962  * @}
27963  */ /* end of group DAC_Peripheral_Access_Layer */
27964 
27965 
27966 /* ----------------------------------------------------------------------------
27967    -- DCDC Peripheral Access Layer
27968    ---------------------------------------------------------------------------- */
27969 
27970 /*!
27971  * @addtogroup DCDC_Peripheral_Access_Layer DCDC Peripheral Access Layer
27972  * @{
27973  */
27974 
27975 /** DCDC - Register Layout Typedef */
27976 typedef struct {
27977   __IO uint32_t CTRL0;                             /**< DCDC Control Register 0, offset: 0x0 */
27978   __IO uint32_t CTRL1;                             /**< DCDC Control Register 1, offset: 0x4 */
27979   __IO uint32_t REG0;                              /**< DCDC Register 0, offset: 0x8 */
27980   __IO uint32_t REG1;                              /**< DCDC Register 1, offset: 0xC */
27981   __IO uint32_t REG2;                              /**< DCDC Register 2, offset: 0x10 */
27982   __IO uint32_t REG3;                              /**< DCDC Register 3, offset: 0x14 */
27983   __IO uint32_t REG4;                              /**< DCDC Register 4, offset: 0x18 */
27984   __IO uint32_t REG5;                              /**< DCDC Register 5, offset: 0x1C */
27985   __IO uint32_t REG6;                              /**< DCDC Register 6, offset: 0x20 */
27986   __IO uint32_t REG7;                              /**< DCDC Register 7, offset: 0x24 */
27987   __IO uint32_t REG7P;                             /**< DCDC Register 7 plus, offset: 0x28 */
27988   __IO uint32_t REG8;                              /**< DCDC Register 8, offset: 0x2C */
27989   __IO uint32_t REG9;                              /**< DCDC Register 9, offset: 0x30 */
27990   __IO uint32_t REG10;                             /**< DCDC Register 10, offset: 0x34 */
27991   __IO uint32_t REG11;                             /**< DCDC Register 11, offset: 0x38 */
27992   __IO uint32_t REG12;                             /**< DCDC Register 12, offset: 0x3C */
27993   __IO uint32_t REG13;                             /**< DCDC Register 13, offset: 0x40 */
27994   __IO uint32_t REG14;                             /**< DCDC Register 14, offset: 0x44 */
27995   __IO uint32_t REG15;                             /**< DCDC Register 15, offset: 0x48 */
27996   __IO uint32_t REG16;                             /**< DCDC Register 16, offset: 0x4C */
27997   __IO uint32_t REG17;                             /**< DCDC Register 17, offset: 0x50 */
27998   __IO uint32_t REG18;                             /**< DCDC Register 18, offset: 0x54 */
27999   __IO uint32_t REG19;                             /**< DCDC Register 19, offset: 0x58 */
28000   __IO uint32_t REG20;                             /**< DCDC Register 20, offset: 0x5C */
28001   __IO uint32_t REG21;                             /**< DCDC Register 21, offset: 0x60 */
28002   __IO uint32_t REG22;                             /**< DCDC Register 22, offset: 0x64 */
28003   __IO uint32_t REG23;                             /**< DCDC Register 23, offset: 0x68 */
28004   __IO uint32_t REG24;                             /**< DCDC Register 24, offset: 0x6C */
28005 } DCDC_Type;
28006 
28007 /* ----------------------------------------------------------------------------
28008    -- DCDC Register Masks
28009    ---------------------------------------------------------------------------- */
28010 
28011 /*!
28012  * @addtogroup DCDC_Register_Masks DCDC Register Masks
28013  * @{
28014  */
28015 
28016 /*! @name CTRL0 - DCDC Control Register 0 */
28017 /*! @{ */
28018 
28019 #define DCDC_CTRL0_ENABLE_MASK                   (0x1U)
28020 #define DCDC_CTRL0_ENABLE_SHIFT                  (0U)
28021 /*! ENABLE
28022  *  0b0..Disable (Bypass)
28023  *  0b1..Enable
28024  */
28025 #define DCDC_CTRL0_ENABLE(x)                     (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_ENABLE_SHIFT)) & DCDC_CTRL0_ENABLE_MASK)
28026 
28027 #define DCDC_CTRL0_DIG_EN_MASK                   (0x2U)
28028 #define DCDC_CTRL0_DIG_EN_SHIFT                  (1U)
28029 /*! DIG_EN
28030  *  0b0..Reserved
28031  *  0b1..Enable
28032  */
28033 #define DCDC_CTRL0_DIG_EN(x)                     (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_DIG_EN_SHIFT)) & DCDC_CTRL0_DIG_EN_MASK)
28034 
28035 #define DCDC_CTRL0_STBY_EN_MASK                  (0x4U)
28036 #define DCDC_CTRL0_STBY_EN_SHIFT                 (2U)
28037 /*! STBY_EN
28038  *  0b1..Enter into standby mode
28039  */
28040 #define DCDC_CTRL0_STBY_EN(x)                    (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_STBY_EN_SHIFT)) & DCDC_CTRL0_STBY_EN_MASK)
28041 
28042 #define DCDC_CTRL0_LP_MODE_EN_MASK               (0x8U)
28043 #define DCDC_CTRL0_LP_MODE_EN_SHIFT              (3U)
28044 /*! LP_MODE_EN
28045  *  0b1..Enter into low-power mode
28046  */
28047 #define DCDC_CTRL0_LP_MODE_EN(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_LP_MODE_EN_SHIFT)) & DCDC_CTRL0_LP_MODE_EN_MASK)
28048 
28049 #define DCDC_CTRL0_STBY_LP_MODE_EN_MASK          (0x10U)
28050 #define DCDC_CTRL0_STBY_LP_MODE_EN_SHIFT         (4U)
28051 /*! STBY_LP_MODE_EN
28052  *  0b0..Disable DCDC entry into low-power mode from a GPC standby request
28053  *  0b1..Enable DCDC to enter into low-power mode from a GPC standby request
28054  */
28055 #define DCDC_CTRL0_STBY_LP_MODE_EN(x)            (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_STBY_LP_MODE_EN_SHIFT)) & DCDC_CTRL0_STBY_LP_MODE_EN_MASK)
28056 
28057 #define DCDC_CTRL0_ENABLE_DCDC_CNT_MASK          (0x20U)
28058 #define DCDC_CTRL0_ENABLE_DCDC_CNT_SHIFT         (5U)
28059 /*! ENABLE_DCDC_CNT - Enable internal count for DCDC_OK timeout
28060  *  0b0..Wait DCDC_OK for ACK
28061  *  0b1..Enable internal count for DCDC_OK timeout
28062  */
28063 #define DCDC_CTRL0_ENABLE_DCDC_CNT(x)            (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_ENABLE_DCDC_CNT_SHIFT)) & DCDC_CTRL0_ENABLE_DCDC_CNT_MASK)
28064 
28065 #define DCDC_CTRL0_TRIM_HOLD_MASK                (0x40U)
28066 #define DCDC_CTRL0_TRIM_HOLD_SHIFT               (6U)
28067 /*! TRIM_HOLD - Hold trim input
28068  *  0b0..Sample trim input
28069  *  0b1..Hold trim input
28070  */
28071 #define DCDC_CTRL0_TRIM_HOLD(x)                  (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_TRIM_HOLD_SHIFT)) & DCDC_CTRL0_TRIM_HOLD_MASK)
28072 
28073 #define DCDC_CTRL0_DEBUG_BITS_MASK               (0x7FF80000U)
28074 #define DCDC_CTRL0_DEBUG_BITS_SHIFT              (19U)
28075 /*! DEBUG_BITS - DEBUG_BITS[11:0]
28076  */
28077 #define DCDC_CTRL0_DEBUG_BITS(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_DEBUG_BITS_SHIFT)) & DCDC_CTRL0_DEBUG_BITS_MASK)
28078 
28079 #define DCDC_CTRL0_CONTROL_MODE_MASK             (0x80000000U)
28080 #define DCDC_CTRL0_CONTROL_MODE_SHIFT            (31U)
28081 /*! CONTROL_MODE - Control mode
28082  *  0b0..Software control mode
28083  *  0b1..Hardware control mode (controlled by GPC Setpoints)
28084  */
28085 #define DCDC_CTRL0_CONTROL_MODE(x)               (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL0_CONTROL_MODE_SHIFT)) & DCDC_CTRL0_CONTROL_MODE_MASK)
28086 /*! @} */
28087 
28088 /*! @name CTRL1 - DCDC Control Register 1 */
28089 /*! @{ */
28090 
28091 #define DCDC_CTRL1_VDD1P8CTRL_TRG_MASK           (0x1FU)
28092 #define DCDC_CTRL1_VDD1P8CTRL_TRG_SHIFT          (0U)
28093 /*! VDD1P8CTRL_TRG
28094  *  0b11111..2.275V
28095  *  0b01100..1.8V
28096  *  0b00000..1.5V
28097  */
28098 #define DCDC_CTRL1_VDD1P8CTRL_TRG(x)             (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL1_VDD1P8CTRL_TRG_SHIFT)) & DCDC_CTRL1_VDD1P8CTRL_TRG_MASK)
28099 
28100 #define DCDC_CTRL1_VDD1P0CTRL_TRG_MASK           (0x1F00U)
28101 #define DCDC_CTRL1_VDD1P0CTRL_TRG_SHIFT          (8U)
28102 /*! VDD1P0CTRL_TRG
28103  *  0b11111..1.375V
28104  *  0b10000..1.0V
28105  *  0b00000..0.6V
28106  */
28107 #define DCDC_CTRL1_VDD1P0CTRL_TRG(x)             (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL1_VDD1P0CTRL_TRG_SHIFT)) & DCDC_CTRL1_VDD1P0CTRL_TRG_MASK)
28108 
28109 #define DCDC_CTRL1_VDD1P8CTRL_STBY_TRG_MASK      (0x1F0000U)
28110 #define DCDC_CTRL1_VDD1P8CTRL_STBY_TRG_SHIFT     (16U)
28111 /*! VDD1P8CTRL_STBY_TRG
28112  *  0b11111..2.3V
28113  *  0b01011..1.8V
28114  *  0b00000..1.525V
28115  */
28116 #define DCDC_CTRL1_VDD1P8CTRL_STBY_TRG(x)        (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL1_VDD1P8CTRL_STBY_TRG_SHIFT)) & DCDC_CTRL1_VDD1P8CTRL_STBY_TRG_MASK)
28117 
28118 #define DCDC_CTRL1_VDD1P0CTRL_STBY_TRG_MASK      (0x1F000000U)
28119 #define DCDC_CTRL1_VDD1P0CTRL_STBY_TRG_SHIFT     (24U)
28120 /*! VDD1P0CTRL_STBY_TRG
28121  *  0b11111..1.4V
28122  *  0b01111..1.0V
28123  *  0b00000..0.625V
28124  */
28125 #define DCDC_CTRL1_VDD1P0CTRL_STBY_TRG(x)        (((uint32_t)(((uint32_t)(x)) << DCDC_CTRL1_VDD1P0CTRL_STBY_TRG_SHIFT)) & DCDC_CTRL1_VDD1P0CTRL_STBY_TRG_MASK)
28126 /*! @} */
28127 
28128 /*! @name REG0 - DCDC Register 0 */
28129 /*! @{ */
28130 
28131 #define DCDC_REG0_PWD_ZCD_MASK                   (0x1U)
28132 #define DCDC_REG0_PWD_ZCD_SHIFT                  (0U)
28133 /*! PWD_ZCD - Power Down Zero Cross Detection
28134  *  0b0..Zero cross detetion function powered up
28135  *  0b1..Zero cross detetion function powered down
28136  */
28137 #define DCDC_REG0_PWD_ZCD(x)                     (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_ZCD_SHIFT)) & DCDC_REG0_PWD_ZCD_MASK)
28138 
28139 #define DCDC_REG0_DISABLE_AUTO_CLK_SWITCH_MASK   (0x2U)
28140 #define DCDC_REG0_DISABLE_AUTO_CLK_SWITCH_SHIFT  (1U)
28141 /*! DISABLE_AUTO_CLK_SWITCH - Disable Auto Clock Switch
28142  *  0b0..If DISABLE_AUTO_CLK_SWITCH is set to 0 and 24M xtal is OK, the clock source will switch from internal
28143  *       ring oscillator to 24M xtal automatically
28144  *  0b1..If DISABLE_AUTO_CLK_SWITCH is set to 1, SEL_CLK will determine which clock source the DCDC uses
28145  */
28146 #define DCDC_REG0_DISABLE_AUTO_CLK_SWITCH(x)     (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_DISABLE_AUTO_CLK_SWITCH_SHIFT)) & DCDC_REG0_DISABLE_AUTO_CLK_SWITCH_MASK)
28147 
28148 #define DCDC_REG0_SEL_CLK_MASK                   (0x4U)
28149 #define DCDC_REG0_SEL_CLK_SHIFT                  (2U)
28150 /*! SEL_CLK - Select Clock
28151  *  0b0..DCDC uses internal ring oscillator
28152  *  0b1..DCDC uses 24M xtal
28153  */
28154 #define DCDC_REG0_SEL_CLK(x)                     (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_SEL_CLK_SHIFT)) & DCDC_REG0_SEL_CLK_MASK)
28155 
28156 #define DCDC_REG0_PWD_OSC_INT_MASK               (0x8U)
28157 #define DCDC_REG0_PWD_OSC_INT_SHIFT              (3U)
28158 /*! PWD_OSC_INT - Power down internal ring oscillator
28159  *  0b0..Internal ring oscillator powered up
28160  *  0b1..Internal ring oscillator powered down
28161  */
28162 #define DCDC_REG0_PWD_OSC_INT(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_OSC_INT_SHIFT)) & DCDC_REG0_PWD_OSC_INT_MASK)
28163 
28164 #define DCDC_REG0_PWD_CUR_SNS_CMP_MASK           (0x10U)
28165 #define DCDC_REG0_PWD_CUR_SNS_CMP_SHIFT          (4U)
28166 /*! PWD_CUR_SNS_CMP - Power down signal of the current detector
28167  *  0b0..Current Detector powered up
28168  *  0b1..Current Detector powered down
28169  */
28170 #define DCDC_REG0_PWD_CUR_SNS_CMP(x)             (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_CUR_SNS_CMP_SHIFT)) & DCDC_REG0_PWD_CUR_SNS_CMP_MASK)
28171 
28172 #define DCDC_REG0_CUR_SNS_THRSH_MASK             (0xE0U)
28173 #define DCDC_REG0_CUR_SNS_THRSH_SHIFT            (5U)
28174 /*! CUR_SNS_THRSH - Current Sense (detector) Threshold
28175  */
28176 #define DCDC_REG0_CUR_SNS_THRSH(x)               (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_CUR_SNS_THRSH_SHIFT)) & DCDC_REG0_CUR_SNS_THRSH_MASK)
28177 
28178 #define DCDC_REG0_PWD_OVERCUR_DET_MASK           (0x100U)
28179 #define DCDC_REG0_PWD_OVERCUR_DET_SHIFT          (8U)
28180 /*! PWD_OVERCUR_DET - Power down overcurrent detection comparator
28181  *  0b0..Overcurrent detection comparator is enabled
28182  *  0b1..Overcurrent detection comparator is disabled
28183  */
28184 #define DCDC_REG0_PWD_OVERCUR_DET(x)             (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_OVERCUR_DET_SHIFT)) & DCDC_REG0_PWD_OVERCUR_DET_MASK)
28185 
28186 #define DCDC_REG0_PWD_CMP_DCDC_IN_DET_MASK       (0x800U)
28187 #define DCDC_REG0_PWD_CMP_DCDC_IN_DET_SHIFT      (11U)
28188 /*! PWD_CMP_DCDC_IN_DET
28189  *  0b0..Low voltage detection comparator is enabled
28190  *  0b1..Low voltage detection comparator is disabled
28191  */
28192 #define DCDC_REG0_PWD_CMP_DCDC_IN_DET(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_CMP_DCDC_IN_DET_SHIFT)) & DCDC_REG0_PWD_CMP_DCDC_IN_DET_MASK)
28193 
28194 #define DCDC_REG0_PWD_HIGH_VDD1P8_DET_MASK       (0x10000U)
28195 #define DCDC_REG0_PWD_HIGH_VDD1P8_DET_SHIFT      (16U)
28196 /*! PWD_HIGH_VDD1P8_DET - Power Down High Voltage Detection for VDD1P8
28197  *  0b0..Overvoltage detection comparator for the VDD1P8 output is enabled
28198  *  0b1..Overvoltage detection comparator for the VDD1P8 output is disabled
28199  */
28200 #define DCDC_REG0_PWD_HIGH_VDD1P8_DET(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_HIGH_VDD1P8_DET_SHIFT)) & DCDC_REG0_PWD_HIGH_VDD1P8_DET_MASK)
28201 
28202 #define DCDC_REG0_PWD_HIGH_VDD1P0_DET_MASK       (0x20000U)
28203 #define DCDC_REG0_PWD_HIGH_VDD1P0_DET_SHIFT      (17U)
28204 /*! PWD_HIGH_VDD1P0_DET - Power Down High Voltage Detection for VDD1P0
28205  *  0b0..Overvoltage detection comparator for the VDD1P0 output is enabled
28206  *  0b1..Overvoltage detection comparator for the VDD1P0 output is disabled
28207  */
28208 #define DCDC_REG0_PWD_HIGH_VDD1P0_DET(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_HIGH_VDD1P0_DET_SHIFT)) & DCDC_REG0_PWD_HIGH_VDD1P0_DET_MASK)
28209 
28210 #define DCDC_REG0_LP_HIGH_HYS_MASK               (0x200000U)
28211 #define DCDC_REG0_LP_HIGH_HYS_SHIFT              (21U)
28212 /*! LP_HIGH_HYS - Low Power High Hysteric Value
28213  *  0b0..Adjust hysteretic value in low power to 12.5mV
28214  *  0b1..Adjust hysteretic value in low power to 25mV
28215  */
28216 #define DCDC_REG0_LP_HIGH_HYS(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_LP_HIGH_HYS_SHIFT)) & DCDC_REG0_LP_HIGH_HYS_MASK)
28217 
28218 #define DCDC_REG0_PWD_CMP_OFFSET_MASK            (0x4000000U)
28219 #define DCDC_REG0_PWD_CMP_OFFSET_SHIFT           (26U)
28220 /*! PWD_CMP_OFFSET - power down the out-of-range detection comparator
28221  *  0b0..Out-of-range comparator powered up
28222  *  0b1..Out-of-range comparator powered down
28223  */
28224 #define DCDC_REG0_PWD_CMP_OFFSET(x)              (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_PWD_CMP_OFFSET_SHIFT)) & DCDC_REG0_PWD_CMP_OFFSET_MASK)
28225 
28226 #define DCDC_REG0_XTALOK_DISABLE_MASK            (0x8000000U)
28227 #define DCDC_REG0_XTALOK_DISABLE_SHIFT           (27U)
28228 /*! XTALOK_DISABLE - Disable xtalok detection circuit
28229  *  0b0..Enable xtalok detection circuit
28230  *  0b1..Disable xtalok detection circuit and always outputs OK signal "1"
28231  */
28232 #define DCDC_REG0_XTALOK_DISABLE(x)              (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_XTALOK_DISABLE_SHIFT)) & DCDC_REG0_XTALOK_DISABLE_MASK)
28233 
28234 #define DCDC_REG0_XTAL_24M_OK_MASK               (0x20000000U)
28235 #define DCDC_REG0_XTAL_24M_OK_SHIFT              (29U)
28236 /*! XTAL_24M_OK - 24M XTAL OK
28237  *  0b0..DCDC uses internal ring oscillator
28238  *  0b1..DCDC uses xtal 24M
28239  */
28240 #define DCDC_REG0_XTAL_24M_OK(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_XTAL_24M_OK_SHIFT)) & DCDC_REG0_XTAL_24M_OK_MASK)
28241 
28242 #define DCDC_REG0_STS_DC_OK_MASK                 (0x80000000U)
28243 #define DCDC_REG0_STS_DC_OK_SHIFT                (31U)
28244 /*! STS_DC_OK - DCDC Output OK
28245  *  0b0..DCDC is settling
28246  *  0b1..DCDC already settled
28247  */
28248 #define DCDC_REG0_STS_DC_OK(x)                   (((uint32_t)(((uint32_t)(x)) << DCDC_REG0_STS_DC_OK_SHIFT)) & DCDC_REG0_STS_DC_OK_MASK)
28249 /*! @} */
28250 
28251 /*! @name REG1 - DCDC Register 1 */
28252 /*! @{ */
28253 
28254 #define DCDC_REG1_DM_CTRL_MASK                   (0x8U)
28255 #define DCDC_REG1_DM_CTRL_SHIFT                  (3U)
28256 /*! DM_CTRL - DM Control
28257  *  0b0..No change to ripple when the discontinuous current is present in DCM.
28258  *  0b1..Improves ripple when the inductor current goes to zero in DCM.
28259  */
28260 #define DCDC_REG1_DM_CTRL(x)                     (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_DM_CTRL_SHIFT)) & DCDC_REG1_DM_CTRL_MASK)
28261 
28262 #define DCDC_REG1_RLOAD_REG_EN_LPSR_MASK         (0x10U)
28263 #define DCDC_REG1_RLOAD_REG_EN_LPSR_SHIFT        (4U)
28264 /*! RLOAD_REG_EN_LPSR - Load Resistor Enable
28265  *  0b0..Disconnect load resistor
28266  *  0b1..Connect load resistor
28267  */
28268 #define DCDC_REG1_RLOAD_REG_EN_LPSR(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_RLOAD_REG_EN_LPSR_SHIFT)) & DCDC_REG1_RLOAD_REG_EN_LPSR_MASK)
28269 
28270 #define DCDC_REG1_VBG_TRIM_MASK                  (0x7C0U)
28271 #define DCDC_REG1_VBG_TRIM_SHIFT                 (6U)
28272 /*! VBG_TRIM - Trim Bandgap Voltage
28273  *  0b00000..0.452V
28274  *  0b10000..0.5V
28275  *  0b11111..0.545V
28276  */
28277 #define DCDC_REG1_VBG_TRIM(x)                    (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_VBG_TRIM_SHIFT)) & DCDC_REG1_VBG_TRIM_MASK)
28278 
28279 #define DCDC_REG1_LP_CMP_ISRC_SEL_MASK           (0x1800U)
28280 #define DCDC_REG1_LP_CMP_ISRC_SEL_SHIFT          (11U)
28281 /*! LP_CMP_ISRC_SEL - Low Power Comparator Current Bias
28282  *  0b00..50nA
28283  *  0b01..100nA
28284  *  0b10..200nA
28285  *  0b11..400nA
28286  */
28287 #define DCDC_REG1_LP_CMP_ISRC_SEL(x)             (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_LP_CMP_ISRC_SEL_SHIFT)) & DCDC_REG1_LP_CMP_ISRC_SEL_MASK)
28288 
28289 #define DCDC_REG1_LOOPCTRL_CM_HST_THRESH_MASK    (0x8000000U)
28290 #define DCDC_REG1_LOOPCTRL_CM_HST_THRESH_SHIFT   (27U)
28291 /*! LOOPCTRL_CM_HST_THRESH - Increase Threshold Detection
28292  */
28293 #define DCDC_REG1_LOOPCTRL_CM_HST_THRESH(x)      (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_LOOPCTRL_CM_HST_THRESH_SHIFT)) & DCDC_REG1_LOOPCTRL_CM_HST_THRESH_MASK)
28294 
28295 #define DCDC_REG1_LOOPCTRL_DF_HST_THRESH_MASK    (0x10000000U)
28296 #define DCDC_REG1_LOOPCTRL_DF_HST_THRESH_SHIFT   (28U)
28297 /*! LOOPCTRL_DF_HST_THRESH - Increase Threshold Detection
28298  */
28299 #define DCDC_REG1_LOOPCTRL_DF_HST_THRESH(x)      (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_LOOPCTRL_DF_HST_THRESH_SHIFT)) & DCDC_REG1_LOOPCTRL_DF_HST_THRESH_MASK)
28300 
28301 #define DCDC_REG1_LOOPCTRL_EN_CM_HYST_MASK       (0x20000000U)
28302 #define DCDC_REG1_LOOPCTRL_EN_CM_HYST_SHIFT      (29U)
28303 /*! LOOPCTRL_EN_CM_HYST
28304  *  0b0..Disable hysteresis in switching converter common mode analog comparators
28305  *  0b1..Enable hysteresis in switching converter common mode analog comparators
28306  */
28307 #define DCDC_REG1_LOOPCTRL_EN_CM_HYST(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_LOOPCTRL_EN_CM_HYST_SHIFT)) & DCDC_REG1_LOOPCTRL_EN_CM_HYST_MASK)
28308 
28309 #define DCDC_REG1_LOOPCTRL_EN_DF_HYST_MASK       (0x40000000U)
28310 #define DCDC_REG1_LOOPCTRL_EN_DF_HYST_SHIFT      (30U)
28311 /*! LOOPCTRL_EN_DF_HYST
28312  *  0b0..Disable hysteresis in switching converter differential mode analog comparators
28313  *  0b1..Enable hysteresis in switching converter differential mode analog comparators
28314  */
28315 #define DCDC_REG1_LOOPCTRL_EN_DF_HYST(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG1_LOOPCTRL_EN_DF_HYST_SHIFT)) & DCDC_REG1_LOOPCTRL_EN_DF_HYST_MASK)
28316 /*! @} */
28317 
28318 /*! @name REG2 - DCDC Register 2 */
28319 /*! @{ */
28320 
28321 #define DCDC_REG2_LOOPCTRL_DC_C_MASK             (0x3U)
28322 #define DCDC_REG2_LOOPCTRL_DC_C_SHIFT            (0U)
28323 #define DCDC_REG2_LOOPCTRL_DC_C(x)               (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_DC_C_SHIFT)) & DCDC_REG2_LOOPCTRL_DC_C_MASK)
28324 
28325 #define DCDC_REG2_LOOPCTRL_DC_R_MASK             (0x3CU)
28326 #define DCDC_REG2_LOOPCTRL_DC_R_SHIFT            (2U)
28327 #define DCDC_REG2_LOOPCTRL_DC_R(x)               (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_DC_R_SHIFT)) & DCDC_REG2_LOOPCTRL_DC_R_MASK)
28328 
28329 #define DCDC_REG2_LOOPCTRL_DC_FF_MASK            (0x1C0U)
28330 #define DCDC_REG2_LOOPCTRL_DC_FF_SHIFT           (6U)
28331 #define DCDC_REG2_LOOPCTRL_DC_FF(x)              (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_DC_FF_SHIFT)) & DCDC_REG2_LOOPCTRL_DC_FF_MASK)
28332 
28333 #define DCDC_REG2_LOOPCTRL_EN_RCSCALE_MASK       (0xE00U)
28334 #define DCDC_REG2_LOOPCTRL_EN_RCSCALE_SHIFT      (9U)
28335 /*! LOOPCTRL_EN_RCSCALE - Enable RC Scale
28336  */
28337 #define DCDC_REG2_LOOPCTRL_EN_RCSCALE(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_EN_RCSCALE_SHIFT)) & DCDC_REG2_LOOPCTRL_EN_RCSCALE_MASK)
28338 
28339 #define DCDC_REG2_LOOPCTRL_RCSCALE_THRSH_MASK    (0x1000U)
28340 #define DCDC_REG2_LOOPCTRL_RCSCALE_THRSH_SHIFT   (12U)
28341 #define DCDC_REG2_LOOPCTRL_RCSCALE_THRSH(x)      (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_RCSCALE_THRSH_SHIFT)) & DCDC_REG2_LOOPCTRL_RCSCALE_THRSH_MASK)
28342 
28343 #define DCDC_REG2_LOOPCTRL_HYST_SIGN_MASK        (0x2000U)
28344 #define DCDC_REG2_LOOPCTRL_HYST_SIGN_SHIFT       (13U)
28345 #define DCDC_REG2_LOOPCTRL_HYST_SIGN(x)          (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_HYST_SIGN_SHIFT)) & DCDC_REG2_LOOPCTRL_HYST_SIGN_MASK)
28346 
28347 #define DCDC_REG2_BATTMONITOR_EN_BATADJ_MASK     (0x8000U)
28348 #define DCDC_REG2_BATTMONITOR_EN_BATADJ_SHIFT    (15U)
28349 #define DCDC_REG2_BATTMONITOR_EN_BATADJ(x)       (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_BATTMONITOR_EN_BATADJ_SHIFT)) & DCDC_REG2_BATTMONITOR_EN_BATADJ_MASK)
28350 
28351 #define DCDC_REG2_BATTMONITOR_BATT_VAL_MASK      (0x3FF0000U)
28352 #define DCDC_REG2_BATTMONITOR_BATT_VAL_SHIFT     (16U)
28353 #define DCDC_REG2_BATTMONITOR_BATT_VAL(x)        (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_BATTMONITOR_BATT_VAL_SHIFT)) & DCDC_REG2_BATTMONITOR_BATT_VAL_MASK)
28354 
28355 #define DCDC_REG2_DCM_SET_CTRL_MASK              (0x10000000U)
28356 #define DCDC_REG2_DCM_SET_CTRL_SHIFT             (28U)
28357 /*! DCM_SET_CTRL - DCM Set Control
28358  */
28359 #define DCDC_REG2_DCM_SET_CTRL(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_DCM_SET_CTRL_SHIFT)) & DCDC_REG2_DCM_SET_CTRL_MASK)
28360 
28361 #define DCDC_REG2_LOOPCTRL_TOGGLE_DIF_MASK       (0x40000000U)
28362 #define DCDC_REG2_LOOPCTRL_TOGGLE_DIF_SHIFT      (30U)
28363 #define DCDC_REG2_LOOPCTRL_TOGGLE_DIF(x)         (((uint32_t)(((uint32_t)(x)) << DCDC_REG2_LOOPCTRL_TOGGLE_DIF_SHIFT)) & DCDC_REG2_LOOPCTRL_TOGGLE_DIF_MASK)
28364 /*! @} */
28365 
28366 /*! @name REG3 - DCDC Register 3 */
28367 /*! @{ */
28368 
28369 #define DCDC_REG3_IN_BROWNOUT_MASK               (0x4000U)
28370 #define DCDC_REG3_IN_BROWNOUT_SHIFT              (14U)
28371 /*! IN_BROWNOUT
28372  *  0b1..DCDC_IN is lower than 2.6V
28373  */
28374 #define DCDC_REG3_IN_BROWNOUT(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_IN_BROWNOUT_SHIFT)) & DCDC_REG3_IN_BROWNOUT_MASK)
28375 
28376 #define DCDC_REG3_OVERVOLT_VDD1P8_DET_OUT_MASK   (0x8000U)
28377 #define DCDC_REG3_OVERVOLT_VDD1P8_DET_OUT_SHIFT  (15U)
28378 /*! OVERVOLT_VDD1P8_DET_OUT
28379  *  0b1..VDD1P8 Overvoltage
28380  */
28381 #define DCDC_REG3_OVERVOLT_VDD1P8_DET_OUT(x)     (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_OVERVOLT_VDD1P8_DET_OUT_SHIFT)) & DCDC_REG3_OVERVOLT_VDD1P8_DET_OUT_MASK)
28382 
28383 #define DCDC_REG3_OVERVOLT_VDD1P0_DET_OUT_MASK   (0x10000U)
28384 #define DCDC_REG3_OVERVOLT_VDD1P0_DET_OUT_SHIFT  (16U)
28385 /*! OVERVOLT_VDD1P0_DET_OUT
28386  *  0b1..VDD1P0 Overvoltage
28387  */
28388 #define DCDC_REG3_OVERVOLT_VDD1P0_DET_OUT(x)     (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_OVERVOLT_VDD1P0_DET_OUT_SHIFT)) & DCDC_REG3_OVERVOLT_VDD1P0_DET_OUT_MASK)
28389 
28390 #define DCDC_REG3_OVERCUR_DETECT_OUT_MASK        (0x20000U)
28391 #define DCDC_REG3_OVERCUR_DETECT_OUT_SHIFT       (17U)
28392 /*! OVERCUR_DETECT_OUT
28393  *  0b1..Overcurrent
28394  */
28395 #define DCDC_REG3_OVERCUR_DETECT_OUT(x)          (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_OVERCUR_DETECT_OUT_SHIFT)) & DCDC_REG3_OVERCUR_DETECT_OUT_MASK)
28396 
28397 #define DCDC_REG3_ENABLE_FF_MASK                 (0x40000U)
28398 #define DCDC_REG3_ENABLE_FF_SHIFT                (18U)
28399 /*! ENABLE_FF
28400  *  0b1..Enable feed-forward (FF) function that can speed up transient settling.
28401  */
28402 #define DCDC_REG3_ENABLE_FF(x)                   (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_ENABLE_FF_SHIFT)) & DCDC_REG3_ENABLE_FF_MASK)
28403 
28404 #define DCDC_REG3_DISABLE_PULSE_SKIP_MASK        (0x80000U)
28405 #define DCDC_REG3_DISABLE_PULSE_SKIP_SHIFT       (19U)
28406 /*! DISABLE_PULSE_SKIP - Disable Pulse Skip
28407  *  0b0..Stop charging if the duty cycle is lower than what is set by NEGLIMIT_IN
28408  */
28409 #define DCDC_REG3_DISABLE_PULSE_SKIP(x)          (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_DISABLE_PULSE_SKIP_SHIFT)) & DCDC_REG3_DISABLE_PULSE_SKIP_MASK)
28410 
28411 #define DCDC_REG3_DISABLE_IDLE_SKIP_MASK         (0x100000U)
28412 #define DCDC_REG3_DISABLE_IDLE_SKIP_SHIFT        (20U)
28413 /*! DISABLE_IDLE_SKIP
28414  *  0b0..Enable the idle skip function. The DCDC will be idle when out-of-range comparator detects the output
28415  *       voltage is higher than the target by 25mV. This function requires the out-of-range comparator to be enabled
28416  *       (PWD_CMP_OFFSET=0).
28417  */
28418 #define DCDC_REG3_DISABLE_IDLE_SKIP(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_DISABLE_IDLE_SKIP_SHIFT)) & DCDC_REG3_DISABLE_IDLE_SKIP_MASK)
28419 
28420 #define DCDC_REG3_DOUBLE_IBIAS_CMP_LP_LPSR_MASK  (0x200000U)
28421 #define DCDC_REG3_DOUBLE_IBIAS_CMP_LP_LPSR_SHIFT (21U)
28422 /*! DOUBLE_IBIAS_CMP_LP_LPSR
28423  *  0b1..Double the bias current of the comparator for low-voltage detector in LP (low-power) mode
28424  */
28425 #define DCDC_REG3_DOUBLE_IBIAS_CMP_LP_LPSR(x)    (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_DOUBLE_IBIAS_CMP_LP_LPSR_SHIFT)) & DCDC_REG3_DOUBLE_IBIAS_CMP_LP_LPSR_MASK)
28426 
28427 #define DCDC_REG3_REG_FBK_SEL_MASK               (0xC00000U)
28428 #define DCDC_REG3_REG_FBK_SEL_SHIFT              (22U)
28429 #define DCDC_REG3_REG_FBK_SEL(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_REG_FBK_SEL_SHIFT)) & DCDC_REG3_REG_FBK_SEL_MASK)
28430 
28431 #define DCDC_REG3_MINPWR_DC_HALFCLK_MASK         (0x1000000U)
28432 #define DCDC_REG3_MINPWR_DC_HALFCLK_SHIFT        (24U)
28433 /*! MINPWR_DC_HALFCLK
28434  *  0b0..DCDC clock remains at full frequency for continuous mode
28435  *  0b1..DCDC clock set to half frequency for continuous mode
28436  */
28437 #define DCDC_REG3_MINPWR_DC_HALFCLK(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_MINPWR_DC_HALFCLK_SHIFT)) & DCDC_REG3_MINPWR_DC_HALFCLK_MASK)
28438 
28439 #define DCDC_REG3_MINPWR_HALF_FETS_MASK          (0x4000000U)
28440 #define DCDC_REG3_MINPWR_HALF_FETS_SHIFT         (26U)
28441 #define DCDC_REG3_MINPWR_HALF_FETS(x)            (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_MINPWR_HALF_FETS_SHIFT)) & DCDC_REG3_MINPWR_HALF_FETS_MASK)
28442 
28443 #define DCDC_REG3_MISC_DELAY_TIMING_MASK         (0x8000000U)
28444 #define DCDC_REG3_MISC_DELAY_TIMING_SHIFT        (27U)
28445 /*! MISC_DELAY_TIMING - Miscellaneous Delay Timing
28446  */
28447 #define DCDC_REG3_MISC_DELAY_TIMING(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_MISC_DELAY_TIMING_SHIFT)) & DCDC_REG3_MISC_DELAY_TIMING_MASK)
28448 
28449 #define DCDC_REG3_VDD1P0CTRL_DISABLE_STEP_MASK   (0x20000000U)
28450 #define DCDC_REG3_VDD1P0CTRL_DISABLE_STEP_SHIFT  (29U)
28451 /*! VDD1P0CTRL_DISABLE_STEP - Disable Step for VDD1P0
28452  *  0b0..Enable stepping for VDD1P0
28453  *  0b1..Disable stepping for VDD1P0
28454  */
28455 #define DCDC_REG3_VDD1P0CTRL_DISABLE_STEP(x)     (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_VDD1P0CTRL_DISABLE_STEP_SHIFT)) & DCDC_REG3_VDD1P0CTRL_DISABLE_STEP_MASK)
28456 
28457 #define DCDC_REG3_VDD1P8CTRL_DISABLE_STEP_MASK   (0x40000000U)
28458 #define DCDC_REG3_VDD1P8CTRL_DISABLE_STEP_SHIFT  (30U)
28459 /*! VDD1P8CTRL_DISABLE_STEP - Disable Step for VDD1P8
28460  *  0b0..Enable stepping for VDD1P8
28461  *  0b1..Disable stepping for VDD1P8
28462  */
28463 #define DCDC_REG3_VDD1P8CTRL_DISABLE_STEP(x)     (((uint32_t)(((uint32_t)(x)) << DCDC_REG3_VDD1P8CTRL_DISABLE_STEP_SHIFT)) & DCDC_REG3_VDD1P8CTRL_DISABLE_STEP_MASK)
28464 /*! @} */
28465 
28466 /*! @name REG4 - DCDC Register 4 */
28467 /*! @{ */
28468 
28469 #define DCDC_REG4_ENABLE_SP_MASK                 (0xFFFFU)
28470 #define DCDC_REG4_ENABLE_SP_SHIFT                (0U)
28471 #define DCDC_REG4_ENABLE_SP(x)                   (((uint32_t)(((uint32_t)(x)) << DCDC_REG4_ENABLE_SP_SHIFT)) & DCDC_REG4_ENABLE_SP_MASK)
28472 /*! @} */
28473 
28474 /*! @name REG5 - DCDC Register 5 */
28475 /*! @{ */
28476 
28477 #define DCDC_REG5_DIG_EN_SP_MASK                 (0xFFFFU)
28478 #define DCDC_REG5_DIG_EN_SP_SHIFT                (0U)
28479 #define DCDC_REG5_DIG_EN_SP(x)                   (((uint32_t)(((uint32_t)(x)) << DCDC_REG5_DIG_EN_SP_SHIFT)) & DCDC_REG5_DIG_EN_SP_MASK)
28480 /*! @} */
28481 
28482 /*! @name REG6 - DCDC Register 6 */
28483 /*! @{ */
28484 
28485 #define DCDC_REG6_LP_MODE_SP_MASK                (0xFFFFU)
28486 #define DCDC_REG6_LP_MODE_SP_SHIFT               (0U)
28487 #define DCDC_REG6_LP_MODE_SP(x)                  (((uint32_t)(((uint32_t)(x)) << DCDC_REG6_LP_MODE_SP_SHIFT)) & DCDC_REG6_LP_MODE_SP_MASK)
28488 /*! @} */
28489 
28490 /*! @name REG7 - DCDC Register 7 */
28491 /*! @{ */
28492 
28493 #define DCDC_REG7_STBY_EN_SP_MASK                (0xFFFFU)
28494 #define DCDC_REG7_STBY_EN_SP_SHIFT               (0U)
28495 #define DCDC_REG7_STBY_EN_SP(x)                  (((uint32_t)(((uint32_t)(x)) << DCDC_REG7_STBY_EN_SP_SHIFT)) & DCDC_REG7_STBY_EN_SP_MASK)
28496 /*! @} */
28497 
28498 /*! @name REG7P - DCDC Register 7 plus */
28499 /*! @{ */
28500 
28501 #define DCDC_REG7P_STBY_LP_MODE_SP_MASK          (0xFFFFU)
28502 #define DCDC_REG7P_STBY_LP_MODE_SP_SHIFT         (0U)
28503 #define DCDC_REG7P_STBY_LP_MODE_SP(x)            (((uint32_t)(((uint32_t)(x)) << DCDC_REG7P_STBY_LP_MODE_SP_SHIFT)) & DCDC_REG7P_STBY_LP_MODE_SP_MASK)
28504 /*! @} */
28505 
28506 /*! @name REG8 - DCDC Register 8 */
28507 /*! @{ */
28508 
28509 #define DCDC_REG8_ANA_TRG_SP0_MASK               (0xFFFFFFFFU)
28510 #define DCDC_REG8_ANA_TRG_SP0_SHIFT              (0U)
28511 #define DCDC_REG8_ANA_TRG_SP0(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG8_ANA_TRG_SP0_SHIFT)) & DCDC_REG8_ANA_TRG_SP0_MASK)
28512 /*! @} */
28513 
28514 /*! @name REG9 - DCDC Register 9 */
28515 /*! @{ */
28516 
28517 #define DCDC_REG9_ANA_TRG_SP1_MASK               (0xFFFFFFFFU)
28518 #define DCDC_REG9_ANA_TRG_SP1_SHIFT              (0U)
28519 #define DCDC_REG9_ANA_TRG_SP1(x)                 (((uint32_t)(((uint32_t)(x)) << DCDC_REG9_ANA_TRG_SP1_SHIFT)) & DCDC_REG9_ANA_TRG_SP1_MASK)
28520 /*! @} */
28521 
28522 /*! @name REG10 - DCDC Register 10 */
28523 /*! @{ */
28524 
28525 #define DCDC_REG10_ANA_TRG_SP2_MASK              (0xFFFFFFFFU)
28526 #define DCDC_REG10_ANA_TRG_SP2_SHIFT             (0U)
28527 #define DCDC_REG10_ANA_TRG_SP2(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG10_ANA_TRG_SP2_SHIFT)) & DCDC_REG10_ANA_TRG_SP2_MASK)
28528 /*! @} */
28529 
28530 /*! @name REG11 - DCDC Register 11 */
28531 /*! @{ */
28532 
28533 #define DCDC_REG11_ANA_TRG_SP3_MASK              (0xFFFFFFFFU)
28534 #define DCDC_REG11_ANA_TRG_SP3_SHIFT             (0U)
28535 #define DCDC_REG11_ANA_TRG_SP3(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG11_ANA_TRG_SP3_SHIFT)) & DCDC_REG11_ANA_TRG_SP3_MASK)
28536 /*! @} */
28537 
28538 /*! @name REG12 - DCDC Register 12 */
28539 /*! @{ */
28540 
28541 #define DCDC_REG12_DIG_TRG_SP0_MASK              (0xFFFFFFFFU)
28542 #define DCDC_REG12_DIG_TRG_SP0_SHIFT             (0U)
28543 #define DCDC_REG12_DIG_TRG_SP0(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG12_DIG_TRG_SP0_SHIFT)) & DCDC_REG12_DIG_TRG_SP0_MASK)
28544 /*! @} */
28545 
28546 /*! @name REG13 - DCDC Register 13 */
28547 /*! @{ */
28548 
28549 #define DCDC_REG13_DIG_TRG_SP1_MASK              (0xFFFFFFFFU)
28550 #define DCDC_REG13_DIG_TRG_SP1_SHIFT             (0U)
28551 #define DCDC_REG13_DIG_TRG_SP1(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG13_DIG_TRG_SP1_SHIFT)) & DCDC_REG13_DIG_TRG_SP1_MASK)
28552 /*! @} */
28553 
28554 /*! @name REG14 - DCDC Register 14 */
28555 /*! @{ */
28556 
28557 #define DCDC_REG14_DIG_TRG_SP2_MASK              (0xFFFFFFFFU)
28558 #define DCDC_REG14_DIG_TRG_SP2_SHIFT             (0U)
28559 #define DCDC_REG14_DIG_TRG_SP2(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG14_DIG_TRG_SP2_SHIFT)) & DCDC_REG14_DIG_TRG_SP2_MASK)
28560 /*! @} */
28561 
28562 /*! @name REG15 - DCDC Register 15 */
28563 /*! @{ */
28564 
28565 #define DCDC_REG15_DIG_TRG_SP3_MASK              (0xFFFFFFFFU)
28566 #define DCDC_REG15_DIG_TRG_SP3_SHIFT             (0U)
28567 #define DCDC_REG15_DIG_TRG_SP3(x)                (((uint32_t)(((uint32_t)(x)) << DCDC_REG15_DIG_TRG_SP3_SHIFT)) & DCDC_REG15_DIG_TRG_SP3_MASK)
28568 /*! @} */
28569 
28570 /*! @name REG16 - DCDC Register 16 */
28571 /*! @{ */
28572 
28573 #define DCDC_REG16_ANA_STBY_TRG_SP0_MASK         (0xFFFFFFFFU)
28574 #define DCDC_REG16_ANA_STBY_TRG_SP0_SHIFT        (0U)
28575 #define DCDC_REG16_ANA_STBY_TRG_SP0(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG16_ANA_STBY_TRG_SP0_SHIFT)) & DCDC_REG16_ANA_STBY_TRG_SP0_MASK)
28576 /*! @} */
28577 
28578 /*! @name REG17 - DCDC Register 17 */
28579 /*! @{ */
28580 
28581 #define DCDC_REG17_ANA_STBY_TRG_SP1_MASK         (0xFFFFFFFFU)
28582 #define DCDC_REG17_ANA_STBY_TRG_SP1_SHIFT        (0U)
28583 #define DCDC_REG17_ANA_STBY_TRG_SP1(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG17_ANA_STBY_TRG_SP1_SHIFT)) & DCDC_REG17_ANA_STBY_TRG_SP1_MASK)
28584 /*! @} */
28585 
28586 /*! @name REG18 - DCDC Register 18 */
28587 /*! @{ */
28588 
28589 #define DCDC_REG18_ANA_STBY_TRG_SP2_MASK         (0xFFFFFFFFU)
28590 #define DCDC_REG18_ANA_STBY_TRG_SP2_SHIFT        (0U)
28591 #define DCDC_REG18_ANA_STBY_TRG_SP2(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG18_ANA_STBY_TRG_SP2_SHIFT)) & DCDC_REG18_ANA_STBY_TRG_SP2_MASK)
28592 /*! @} */
28593 
28594 /*! @name REG19 - DCDC Register 19 */
28595 /*! @{ */
28596 
28597 #define DCDC_REG19_ANA_STBY_TRG_SP3_MASK         (0xFFFFFFFFU)
28598 #define DCDC_REG19_ANA_STBY_TRG_SP3_SHIFT        (0U)
28599 #define DCDC_REG19_ANA_STBY_TRG_SP3(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG19_ANA_STBY_TRG_SP3_SHIFT)) & DCDC_REG19_ANA_STBY_TRG_SP3_MASK)
28600 /*! @} */
28601 
28602 /*! @name REG20 - DCDC Register 20 */
28603 /*! @{ */
28604 
28605 #define DCDC_REG20_DIG_STBY_TRG_SP0_MASK         (0xFFFFFFFFU)
28606 #define DCDC_REG20_DIG_STBY_TRG_SP0_SHIFT        (0U)
28607 #define DCDC_REG20_DIG_STBY_TRG_SP0(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG20_DIG_STBY_TRG_SP0_SHIFT)) & DCDC_REG20_DIG_STBY_TRG_SP0_MASK)
28608 /*! @} */
28609 
28610 /*! @name REG21 - DCDC Register 21 */
28611 /*! @{ */
28612 
28613 #define DCDC_REG21_DIG_STBY_TRG_SP1_MASK         (0xFFFFFFFFU)
28614 #define DCDC_REG21_DIG_STBY_TRG_SP1_SHIFT        (0U)
28615 #define DCDC_REG21_DIG_STBY_TRG_SP1(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG21_DIG_STBY_TRG_SP1_SHIFT)) & DCDC_REG21_DIG_STBY_TRG_SP1_MASK)
28616 /*! @} */
28617 
28618 /*! @name REG22 - DCDC Register 22 */
28619 /*! @{ */
28620 
28621 #define DCDC_REG22_DIG_STBY_TRG_SP2_MASK         (0xFFFFFFFFU)
28622 #define DCDC_REG22_DIG_STBY_TRG_SP2_SHIFT        (0U)
28623 #define DCDC_REG22_DIG_STBY_TRG_SP2(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG22_DIG_STBY_TRG_SP2_SHIFT)) & DCDC_REG22_DIG_STBY_TRG_SP2_MASK)
28624 /*! @} */
28625 
28626 /*! @name REG23 - DCDC Register 23 */
28627 /*! @{ */
28628 
28629 #define DCDC_REG23_DIG_STBY_TRG_SP3_MASK         (0xFFFFFFFFU)
28630 #define DCDC_REG23_DIG_STBY_TRG_SP3_SHIFT        (0U)
28631 #define DCDC_REG23_DIG_STBY_TRG_SP3(x)           (((uint32_t)(((uint32_t)(x)) << DCDC_REG23_DIG_STBY_TRG_SP3_SHIFT)) & DCDC_REG23_DIG_STBY_TRG_SP3_MASK)
28632 /*! @} */
28633 
28634 /*! @name REG24 - DCDC Register 24 */
28635 /*! @{ */
28636 
28637 #define DCDC_REG24_OK_COUNT_MASK                 (0xFFFFFFFFU)
28638 #define DCDC_REG24_OK_COUNT_SHIFT                (0U)
28639 #define DCDC_REG24_OK_COUNT(x)                   (((uint32_t)(((uint32_t)(x)) << DCDC_REG24_OK_COUNT_SHIFT)) & DCDC_REG24_OK_COUNT_MASK)
28640 /*! @} */
28641 
28642 
28643 /*!
28644  * @}
28645  */ /* end of group DCDC_Register_Masks */
28646 
28647 
28648 /* DCDC - Peripheral instance base addresses */
28649 /** Peripheral DCDC base address */
28650 #define DCDC_BASE                                (0x40CA8000u)
28651 /** Peripheral DCDC base pointer */
28652 #define DCDC                                     ((DCDC_Type *)DCDC_BASE)
28653 /** Array initializer of DCDC peripheral base addresses */
28654 #define DCDC_BASE_ADDRS                          { DCDC_BASE }
28655 /** Array initializer of DCDC peripheral base pointers */
28656 #define DCDC_BASE_PTRS                           { DCDC }
28657 
28658 /*!
28659  * @}
28660  */ /* end of group DCDC_Peripheral_Access_Layer */
28661 
28662 
28663 /* ----------------------------------------------------------------------------
28664    -- DCIC Peripheral Access Layer
28665    ---------------------------------------------------------------------------- */
28666 
28667 /*!
28668  * @addtogroup DCIC_Peripheral_Access_Layer DCIC Peripheral Access Layer
28669  * @{
28670  */
28671 
28672 /** DCIC - Register Layout Typedef */
28673 typedef struct {
28674   __IO uint32_t DCICC;                             /**< DCIC Control Register, offset: 0x0 */
28675   __IO uint32_t DCICIC;                            /**< DCIC Interrupt Control Register, offset: 0x4 */
28676   __IO uint32_t DCICS;                             /**< DCIC Status Register, offset: 0x8 */
28677        uint8_t RESERVED_0[4];
28678   struct {                                         /* offset: 0x10, array step: 0x10 */
28679     __IO uint32_t DCICRC;                            /**< DCIC ROI Config Register, array offset: 0x10, array step: 0x10 */
28680     __IO uint32_t DCICRS;                            /**< DCIC ROI Size Register, array offset: 0x14, array step: 0x10 */
28681     __IO uint32_t DCICRRS;                           /**< DCIC ROI Reference Signature Register, array offset: 0x18, array step: 0x10 */
28682     __I  uint32_t DCICRCS;                           /**< DCIC ROI Calculated Signature Register, array offset: 0x1C, array step: 0x10 */
28683   } REGION[16];
28684 } DCIC_Type;
28685 
28686 /* ----------------------------------------------------------------------------
28687    -- DCIC Register Masks
28688    ---------------------------------------------------------------------------- */
28689 
28690 /*!
28691  * @addtogroup DCIC_Register_Masks DCIC Register Masks
28692  * @{
28693  */
28694 
28695 /*! @name DCICC - DCIC Control Register */
28696 /*! @{ */
28697 
28698 #define DCIC_DCICC_IC_EN_MASK                    (0x1U)
28699 #define DCIC_DCICC_IC_EN_SHIFT                   (0U)
28700 /*! IC_EN
28701  *  0b0..Disabled
28702  *  0b1..Enabled
28703  */
28704 #define DCIC_DCICC_IC_EN(x)                      (((uint32_t)(((uint32_t)(x)) << DCIC_DCICC_IC_EN_SHIFT)) & DCIC_DCICC_IC_EN_MASK)
28705 
28706 #define DCIC_DCICC_DE_POL_MASK                   (0x10U)
28707 #define DCIC_DCICC_DE_POL_SHIFT                  (4U)
28708 /*! DE_POL
28709  *  0b0..Active High.
28710  *  0b1..Active Low.
28711  */
28712 #define DCIC_DCICC_DE_POL(x)                     (((uint32_t)(((uint32_t)(x)) << DCIC_DCICC_DE_POL_SHIFT)) & DCIC_DCICC_DE_POL_MASK)
28713 
28714 #define DCIC_DCICC_HSYNC_POL_MASK                (0x20U)
28715 #define DCIC_DCICC_HSYNC_POL_SHIFT               (5U)
28716 /*! HSYNC_POL
28717  *  0b0..Active High.
28718  *  0b1..Active Low.
28719  */
28720 #define DCIC_DCICC_HSYNC_POL(x)                  (((uint32_t)(((uint32_t)(x)) << DCIC_DCICC_HSYNC_POL_SHIFT)) & DCIC_DCICC_HSYNC_POL_MASK)
28721 
28722 #define DCIC_DCICC_VSYNC_POL_MASK                (0x40U)
28723 #define DCIC_DCICC_VSYNC_POL_SHIFT               (6U)
28724 /*! VSYNC_POL
28725  *  0b0..Active High.
28726  *  0b1..Active Low.
28727  */
28728 #define DCIC_DCICC_VSYNC_POL(x)                  (((uint32_t)(((uint32_t)(x)) << DCIC_DCICC_VSYNC_POL_SHIFT)) & DCIC_DCICC_VSYNC_POL_MASK)
28729 
28730 #define DCIC_DCICC_CLK_POL_MASK                  (0x80U)
28731 #define DCIC_DCICC_CLK_POL_SHIFT                 (7U)
28732 /*! CLK_POL
28733  *  0b0..Not inverted (default).
28734  *  0b1..Inverted.
28735  */
28736 #define DCIC_DCICC_CLK_POL(x)                    (((uint32_t)(((uint32_t)(x)) << DCIC_DCICC_CLK_POL_SHIFT)) & DCIC_DCICC_CLK_POL_MASK)
28737 /*! @} */
28738 
28739 /*! @name DCICIC - DCIC Interrupt Control Register */
28740 /*! @{ */
28741 
28742 #define DCIC_DCICIC_EI_MASK_MASK                 (0x1U)
28743 #define DCIC_DCICIC_EI_MASK_SHIFT                (0U)
28744 /*! EI_MASK
28745  *  0b0..Mask disabled - Interrupt assertion enabled
28746  *  0b1..Mask enabled - Interrupt assertion disabled
28747  */
28748 #define DCIC_DCICIC_EI_MASK(x)                   (((uint32_t)(((uint32_t)(x)) << DCIC_DCICIC_EI_MASK_SHIFT)) & DCIC_DCICIC_EI_MASK_MASK)
28749 
28750 #define DCIC_DCICIC_FI_MASK_MASK                 (0x2U)
28751 #define DCIC_DCICIC_FI_MASK_SHIFT                (1U)
28752 /*! FI_MASK
28753  *  0b0..Mask disabled - Interrupt assertion enabled
28754  *  0b1..Mask enabled - Interrupt assertion disabled
28755  */
28756 #define DCIC_DCICIC_FI_MASK(x)                   (((uint32_t)(((uint32_t)(x)) << DCIC_DCICIC_FI_MASK_SHIFT)) & DCIC_DCICIC_FI_MASK_MASK)
28757 
28758 #define DCIC_DCICIC_FREEZE_MASK_MASK             (0x8U)
28759 #define DCIC_DCICIC_FREEZE_MASK_SHIFT            (3U)
28760 /*! FREEZE_MASK
28761  *  0b0..Masks change allowed
28762  *  0b1..Masks are frozen
28763  */
28764 #define DCIC_DCICIC_FREEZE_MASK(x)               (((uint32_t)(((uint32_t)(x)) << DCIC_DCICIC_FREEZE_MASK_SHIFT)) & DCIC_DCICIC_FREEZE_MASK_MASK)
28765 
28766 #define DCIC_DCICIC_EXT_SIG_EN_MASK              (0x10000U)
28767 #define DCIC_DCICIC_EXT_SIG_EN_SHIFT             (16U)
28768 /*! EXT_SIG_EN
28769  *  0b0..Disabled
28770  *  0b1..Enabled
28771  */
28772 #define DCIC_DCICIC_EXT_SIG_EN(x)                (((uint32_t)(((uint32_t)(x)) << DCIC_DCICIC_EXT_SIG_EN_SHIFT)) & DCIC_DCICIC_EXT_SIG_EN_MASK)
28773 /*! @} */
28774 
28775 /*! @name DCICS - DCIC Status Register */
28776 /*! @{ */
28777 
28778 #define DCIC_DCICS_ROI_MATCH_STAT_MASK           (0xFFFFU)
28779 #define DCIC_DCICS_ROI_MATCH_STAT_SHIFT          (0U)
28780 /*! ROI_MATCH_STAT
28781  *  0b0000000000000000..ROI calculated CRC matches expected signature
28782  *  0b0000000000000001..Mismatch at ROI calculated CRC
28783  */
28784 #define DCIC_DCICS_ROI_MATCH_STAT(x)             (((uint32_t)(((uint32_t)(x)) << DCIC_DCICS_ROI_MATCH_STAT_SHIFT)) & DCIC_DCICS_ROI_MATCH_STAT_MASK)
28785 
28786 #define DCIC_DCICS_EI_STAT_MASK                  (0x10000U)
28787 #define DCIC_DCICS_EI_STAT_SHIFT                 (16U)
28788 /*! EI_STAT
28789  *  0b0..No pending Interrupt
28790  *  0b1..Pending Interrupt
28791  */
28792 #define DCIC_DCICS_EI_STAT(x)                    (((uint32_t)(((uint32_t)(x)) << DCIC_DCICS_EI_STAT_SHIFT)) & DCIC_DCICS_EI_STAT_MASK)
28793 
28794 #define DCIC_DCICS_FI_STAT_MASK                  (0x20000U)
28795 #define DCIC_DCICS_FI_STAT_SHIFT                 (17U)
28796 /*! FI_STAT
28797  *  0b0..No pending Interrupt
28798  *  0b1..Pending Interrupt
28799  */
28800 #define DCIC_DCICS_FI_STAT(x)                    (((uint32_t)(((uint32_t)(x)) << DCIC_DCICS_FI_STAT_SHIFT)) & DCIC_DCICS_FI_STAT_MASK)
28801 /*! @} */
28802 
28803 /*! @name DCICRC - DCIC ROI Config Register */
28804 /*! @{ */
28805 
28806 #define DCIC_DCICRC_START_OFFSET_X_MASK          (0x1FFFU)
28807 #define DCIC_DCICRC_START_OFFSET_X_SHIFT         (0U)
28808 #define DCIC_DCICRC_START_OFFSET_X(x)            (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRC_START_OFFSET_X_SHIFT)) & DCIC_DCICRC_START_OFFSET_X_MASK)
28809 
28810 #define DCIC_DCICRC_START_OFFSET_Y_MASK          (0xFFF0000U)
28811 #define DCIC_DCICRC_START_OFFSET_Y_SHIFT         (16U)
28812 #define DCIC_DCICRC_START_OFFSET_Y(x)            (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRC_START_OFFSET_Y_SHIFT)) & DCIC_DCICRC_START_OFFSET_Y_MASK)
28813 
28814 #define DCIC_DCICRC_ROI_FREEZE_MASK              (0x40000000U)
28815 #define DCIC_DCICRC_ROI_FREEZE_SHIFT             (30U)
28816 /*! ROI_FREEZE
28817  *  0b0..ROI configuration can be changed
28818  *  0b1..ROI configuration is frozen
28819  */
28820 #define DCIC_DCICRC_ROI_FREEZE(x)                (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRC_ROI_FREEZE_SHIFT)) & DCIC_DCICRC_ROI_FREEZE_MASK)
28821 
28822 #define DCIC_DCICRC_ROI_EN_MASK                  (0x80000000U)
28823 #define DCIC_DCICRC_ROI_EN_SHIFT                 (31U)
28824 /*! ROI_EN
28825  *  0b0..Disabled
28826  *  0b1..Enabled
28827  */
28828 #define DCIC_DCICRC_ROI_EN(x)                    (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRC_ROI_EN_SHIFT)) & DCIC_DCICRC_ROI_EN_MASK)
28829 /*! @} */
28830 
28831 /* The count of DCIC_DCICRC */
28832 #define DCIC_DCICRC_COUNT                        (16U)
28833 
28834 /*! @name DCICRS - DCIC ROI Size Register */
28835 /*! @{ */
28836 
28837 #define DCIC_DCICRS_END_OFFSET_X_MASK            (0x1FFFU)
28838 #define DCIC_DCICRS_END_OFFSET_X_SHIFT           (0U)
28839 #define DCIC_DCICRS_END_OFFSET_X(x)              (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRS_END_OFFSET_X_SHIFT)) & DCIC_DCICRS_END_OFFSET_X_MASK)
28840 
28841 #define DCIC_DCICRS_END_OFFSET_Y_MASK            (0xFFF0000U)
28842 #define DCIC_DCICRS_END_OFFSET_Y_SHIFT           (16U)
28843 #define DCIC_DCICRS_END_OFFSET_Y(x)              (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRS_END_OFFSET_Y_SHIFT)) & DCIC_DCICRS_END_OFFSET_Y_MASK)
28844 /*! @} */
28845 
28846 /* The count of DCIC_DCICRS */
28847 #define DCIC_DCICRS_COUNT                        (16U)
28848 
28849 /*! @name DCICRRS - DCIC ROI Reference Signature Register */
28850 /*! @{ */
28851 
28852 #define DCIC_DCICRRS_REFERENCE_SIGNATURE_MASK    (0xFFFFFFFFU)
28853 #define DCIC_DCICRRS_REFERENCE_SIGNATURE_SHIFT   (0U)
28854 #define DCIC_DCICRRS_REFERENCE_SIGNATURE(x)      (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRRS_REFERENCE_SIGNATURE_SHIFT)) & DCIC_DCICRRS_REFERENCE_SIGNATURE_MASK)
28855 /*! @} */
28856 
28857 /* The count of DCIC_DCICRRS */
28858 #define DCIC_DCICRRS_COUNT                       (16U)
28859 
28860 /*! @name DCICRCS - DCIC ROI Calculated Signature Register */
28861 /*! @{ */
28862 
28863 #define DCIC_DCICRCS_CALCULATED_SIGNATURE_MASK   (0xFFFFFFFFU)
28864 #define DCIC_DCICRCS_CALCULATED_SIGNATURE_SHIFT  (0U)
28865 #define DCIC_DCICRCS_CALCULATED_SIGNATURE(x)     (((uint32_t)(((uint32_t)(x)) << DCIC_DCICRCS_CALCULATED_SIGNATURE_SHIFT)) & DCIC_DCICRCS_CALCULATED_SIGNATURE_MASK)
28866 /*! @} */
28867 
28868 /* The count of DCIC_DCICRCS */
28869 #define DCIC_DCICRCS_COUNT                       (16U)
28870 
28871 
28872 /*!
28873  * @}
28874  */ /* end of group DCIC_Register_Masks */
28875 
28876 
28877 /* DCIC - Peripheral instance base addresses */
28878 /** Peripheral DCIC1 base address */
28879 #define DCIC1_BASE                               (0x40819000u)
28880 /** Peripheral DCIC1 base pointer */
28881 #define DCIC1                                    ((DCIC_Type *)DCIC1_BASE)
28882 /** Peripheral DCIC2 base address */
28883 #define DCIC2_BASE                               (0x4081A000u)
28884 /** Peripheral DCIC2 base pointer */
28885 #define DCIC2                                    ((DCIC_Type *)DCIC2_BASE)
28886 /** Array initializer of DCIC peripheral base addresses */
28887 #define DCIC_BASE_ADDRS                          { 0u, DCIC1_BASE, DCIC2_BASE }
28888 /** Array initializer of DCIC peripheral base pointers */
28889 #define DCIC_BASE_PTRS                           { (DCIC_Type *)0u, DCIC1, DCIC2 }
28890 
28891 /*!
28892  * @}
28893  */ /* end of group DCIC_Peripheral_Access_Layer */
28894 
28895 
28896 /* ----------------------------------------------------------------------------
28897    -- DMA Peripheral Access Layer
28898    ---------------------------------------------------------------------------- */
28899 
28900 /*!
28901  * @addtogroup DMA_Peripheral_Access_Layer DMA Peripheral Access Layer
28902  * @{
28903  */
28904 
28905 /** DMA - Register Layout Typedef */
28906 typedef struct {
28907   __IO uint32_t CR;                                /**< Control, offset: 0x0 */
28908   __I  uint32_t ES;                                /**< Error Status, offset: 0x4 */
28909        uint8_t RESERVED_0[4];
28910   __IO uint32_t ERQ;                               /**< Enable Request, offset: 0xC */
28911        uint8_t RESERVED_1[4];
28912   __IO uint32_t EEI;                               /**< Enable Error Interrupt, offset: 0x14 */
28913   __O  uint8_t CEEI;                               /**< Clear Enable Error Interrupt, offset: 0x18 */
28914   __O  uint8_t SEEI;                               /**< Set Enable Error Interrupt, offset: 0x19 */
28915   __O  uint8_t CERQ;                               /**< Clear Enable Request, offset: 0x1A */
28916   __O  uint8_t SERQ;                               /**< Set Enable Request, offset: 0x1B */
28917   __O  uint8_t CDNE;                               /**< Clear DONE Status Bit, offset: 0x1C */
28918   __O  uint8_t SSRT;                               /**< Set START Bit, offset: 0x1D */
28919   __O  uint8_t CERR;                               /**< Clear Error, offset: 0x1E */
28920   __O  uint8_t CINT;                               /**< Clear Interrupt Request, offset: 0x1F */
28921        uint8_t RESERVED_2[4];
28922   __IO uint32_t INT;                               /**< Interrupt Request, offset: 0x24 */
28923        uint8_t RESERVED_3[4];
28924   __IO uint32_t ERR;                               /**< Error, offset: 0x2C */
28925        uint8_t RESERVED_4[4];
28926   __I  uint32_t HRS;                               /**< Hardware Request Status, offset: 0x34 */
28927        uint8_t RESERVED_5[12];
28928   __IO uint32_t EARS;                              /**< Enable Asynchronous Request in Stop, offset: 0x44 */
28929        uint8_t RESERVED_6[184];
28930   __IO uint8_t DCHPRI3;                            /**< Channel Priority, offset: 0x100 */
28931   __IO uint8_t DCHPRI2;                            /**< Channel Priority, offset: 0x101 */
28932   __IO uint8_t DCHPRI1;                            /**< Channel Priority, offset: 0x102 */
28933   __IO uint8_t DCHPRI0;                            /**< Channel Priority, offset: 0x103 */
28934   __IO uint8_t DCHPRI7;                            /**< Channel Priority, offset: 0x104 */
28935   __IO uint8_t DCHPRI6;                            /**< Channel Priority, offset: 0x105 */
28936   __IO uint8_t DCHPRI5;                            /**< Channel Priority, offset: 0x106 */
28937   __IO uint8_t DCHPRI4;                            /**< Channel Priority, offset: 0x107 */
28938   __IO uint8_t DCHPRI11;                           /**< Channel Priority, offset: 0x108 */
28939   __IO uint8_t DCHPRI10;                           /**< Channel Priority, offset: 0x109 */
28940   __IO uint8_t DCHPRI9;                            /**< Channel Priority, offset: 0x10A */
28941   __IO uint8_t DCHPRI8;                            /**< Channel Priority, offset: 0x10B */
28942   __IO uint8_t DCHPRI15;                           /**< Channel Priority, offset: 0x10C */
28943   __IO uint8_t DCHPRI14;                           /**< Channel Priority, offset: 0x10D */
28944   __IO uint8_t DCHPRI13;                           /**< Channel Priority, offset: 0x10E */
28945   __IO uint8_t DCHPRI12;                           /**< Channel Priority, offset: 0x10F */
28946   __IO uint8_t DCHPRI19;                           /**< Channel Priority, offset: 0x110 */
28947   __IO uint8_t DCHPRI18;                           /**< Channel Priority, offset: 0x111 */
28948   __IO uint8_t DCHPRI17;                           /**< Channel Priority, offset: 0x112 */
28949   __IO uint8_t DCHPRI16;                           /**< Channel Priority, offset: 0x113 */
28950   __IO uint8_t DCHPRI23;                           /**< Channel Priority, offset: 0x114 */
28951   __IO uint8_t DCHPRI22;                           /**< Channel Priority, offset: 0x115 */
28952   __IO uint8_t DCHPRI21;                           /**< Channel Priority, offset: 0x116 */
28953   __IO uint8_t DCHPRI20;                           /**< Channel Priority, offset: 0x117 */
28954   __IO uint8_t DCHPRI27;                           /**< Channel Priority, offset: 0x118 */
28955   __IO uint8_t DCHPRI26;                           /**< Channel Priority, offset: 0x119 */
28956   __IO uint8_t DCHPRI25;                           /**< Channel Priority, offset: 0x11A */
28957   __IO uint8_t DCHPRI24;                           /**< Channel Priority, offset: 0x11B */
28958   __IO uint8_t DCHPRI31;                           /**< Channel Priority, offset: 0x11C */
28959   __IO uint8_t DCHPRI30;                           /**< Channel Priority, offset: 0x11D */
28960   __IO uint8_t DCHPRI29;                           /**< Channel Priority, offset: 0x11E */
28961   __IO uint8_t DCHPRI28;                           /**< Channel Priority, offset: 0x11F */
28962        uint8_t RESERVED_7[3808];
28963   struct {                                         /* offset: 0x1000, array step: 0x20 */
28964     __IO uint32_t SADDR;                             /**< TCD Source Address, array offset: 0x1000, array step: 0x20 */
28965     __IO uint16_t SOFF;                              /**< TCD Signed Source Address Offset, array offset: 0x1004, array step: 0x20 */
28966     __IO uint16_t ATTR;                              /**< TCD Transfer Attributes, array offset: 0x1006, array step: 0x20 */
28967     union {                                          /* offset: 0x1008, array step: 0x20 */
28968       __IO uint32_t NBYTES_MLNO;                       /**< TCD Minor Byte Count (Minor Loop Mapping Disabled), array offset: 0x1008, array step: 0x20 */
28969       __IO uint32_t NBYTES_MLOFFNO;                    /**< TCD Signed Minor Loop Offset (Minor Loop Mapping Enabled and Offset Disabled), array offset: 0x1008, array step: 0x20 */
28970       __IO uint32_t NBYTES_MLOFFYES;                   /**< TCD Signed Minor Loop Offset (Minor Loop Mapping and Offset Enabled), array offset: 0x1008, array step: 0x20 */
28971     };
28972     __IO int32_t SLAST;                              /**< TCD Last Source Address Adjustment, array offset: 0x100C, array step: 0x20 */
28973     __IO uint32_t DADDR;                             /**< TCD Destination Address, array offset: 0x1010, array step: 0x20 */
28974     __IO uint16_t DOFF;                              /**< TCD Signed Destination Address Offset, array offset: 0x1014, array step: 0x20 */
28975     union {                                          /* offset: 0x1016, array step: 0x20 */
28976       __IO uint16_t CITER_ELINKNO;                     /**< TCD Current Minor Loop Link, Major Loop Count (Channel Linking Disabled), array offset: 0x1016, array step: 0x20 */
28977       __IO uint16_t CITER_ELINKYES;                    /**< TCD Current Minor Loop Link, Major Loop Count (Channel Linking Enabled), array offset: 0x1016, array step: 0x20 */
28978     };
28979     __IO int32_t DLAST_SGA;                          /**< TCD Last Destination Address Adjustment/Scatter Gather Address, array offset: 0x1018, array step: 0x20 */
28980     __IO uint16_t CSR;                               /**< TCD Control and Status, array offset: 0x101C, array step: 0x20 */
28981     union {                                          /* offset: 0x101E, array step: 0x20 */
28982       __IO uint16_t BITER_ELINKNO;                     /**< TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Disabled), array offset: 0x101E, array step: 0x20 */
28983       __IO uint16_t BITER_ELINKYES;                    /**< TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Enabled), array offset: 0x101E, array step: 0x20 */
28984     };
28985   } TCD[32];
28986 } DMA_Type;
28987 
28988 /* ----------------------------------------------------------------------------
28989    -- DMA Register Masks
28990    ---------------------------------------------------------------------------- */
28991 
28992 /*!
28993  * @addtogroup DMA_Register_Masks DMA Register Masks
28994  * @{
28995  */
28996 
28997 /*! @name CR - Control */
28998 /*! @{ */
28999 
29000 #define DMA_CR_EDBG_MASK                         (0x2U)
29001 #define DMA_CR_EDBG_SHIFT                        (1U)
29002 /*! EDBG - Enable Debug
29003  *  0b0..When the chip is in Debug mode, the eDMA continues to operate.
29004  *  0b1..When the chip is in debug mode, the DMA stalls the start of a new channel. Executing channels are allowed to complete.
29005  */
29006 #define DMA_CR_EDBG(x)                           (((uint32_t)(((uint32_t)(x)) << DMA_CR_EDBG_SHIFT)) & DMA_CR_EDBG_MASK)
29007 
29008 #define DMA_CR_ERCA_MASK                         (0x4U)
29009 #define DMA_CR_ERCA_SHIFT                        (2U)
29010 /*! ERCA - Enable Round Robin Channel Arbitration
29011  *  0b0..Fixed priority arbitration within each group
29012  *  0b1..Round robin arbitration within each group
29013  */
29014 #define DMA_CR_ERCA(x)                           (((uint32_t)(((uint32_t)(x)) << DMA_CR_ERCA_SHIFT)) & DMA_CR_ERCA_MASK)
29015 
29016 #define DMA_CR_ERGA_MASK                         (0x8U)
29017 #define DMA_CR_ERGA_SHIFT                        (3U)
29018 /*! ERGA - Enable Round Robin Group Arbitration
29019  *  0b0..Fixed priority arbitration
29020  *  0b1..Round robin arbitration
29021  */
29022 #define DMA_CR_ERGA(x)                           (((uint32_t)(((uint32_t)(x)) << DMA_CR_ERGA_SHIFT)) & DMA_CR_ERGA_MASK)
29023 
29024 #define DMA_CR_HOE_MASK                          (0x10U)
29025 #define DMA_CR_HOE_SHIFT                         (4U)
29026 /*! HOE - Halt On Error
29027  *  0b0..Normal operation
29028  *  0b1..Error causes HALT field to be automatically set to 1
29029  */
29030 #define DMA_CR_HOE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_CR_HOE_SHIFT)) & DMA_CR_HOE_MASK)
29031 
29032 #define DMA_CR_HALT_MASK                         (0x20U)
29033 #define DMA_CR_HALT_SHIFT                        (5U)
29034 /*! HALT - Halt eDMA Operations
29035  *  0b0..Normal operation
29036  *  0b1..eDMA operations halted
29037  */
29038 #define DMA_CR_HALT(x)                           (((uint32_t)(((uint32_t)(x)) << DMA_CR_HALT_SHIFT)) & DMA_CR_HALT_MASK)
29039 
29040 #define DMA_CR_CLM_MASK                          (0x40U)
29041 #define DMA_CR_CLM_SHIFT                         (6U)
29042 /*! CLM - Continuous Link Mode
29043  *  0b0..Continuous link mode is off
29044  *  0b1..Continuous link mode is on
29045  */
29046 #define DMA_CR_CLM(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_CR_CLM_SHIFT)) & DMA_CR_CLM_MASK)
29047 
29048 #define DMA_CR_EMLM_MASK                         (0x80U)
29049 #define DMA_CR_EMLM_SHIFT                        (7U)
29050 /*! EMLM - Enable Minor Loop Mapping
29051  *  0b0..Disabled
29052  *  0b1..Enabled
29053  */
29054 #define DMA_CR_EMLM(x)                           (((uint32_t)(((uint32_t)(x)) << DMA_CR_EMLM_SHIFT)) & DMA_CR_EMLM_MASK)
29055 
29056 #define DMA_CR_GRP0PRI_MASK                      (0x100U)
29057 #define DMA_CR_GRP0PRI_SHIFT                     (8U)
29058 /*! GRP0PRI - Channel Group 0 Priority
29059  */
29060 #define DMA_CR_GRP0PRI(x)                        (((uint32_t)(((uint32_t)(x)) << DMA_CR_GRP0PRI_SHIFT)) & DMA_CR_GRP0PRI_MASK)
29061 
29062 #define DMA_CR_GRP1PRI_MASK                      (0x400U)
29063 #define DMA_CR_GRP1PRI_SHIFT                     (10U)
29064 /*! GRP1PRI - Channel Group 1 Priority
29065  */
29066 #define DMA_CR_GRP1PRI(x)                        (((uint32_t)(((uint32_t)(x)) << DMA_CR_GRP1PRI_SHIFT)) & DMA_CR_GRP1PRI_MASK)
29067 
29068 #define DMA_CR_ECX_MASK                          (0x10000U)
29069 #define DMA_CR_ECX_SHIFT                         (16U)
29070 /*! ECX - Error Cancel Transfer
29071  *  0b0..Normal operation
29072  *  0b1..Cancel the remaining data transfer
29073  */
29074 #define DMA_CR_ECX(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_CR_ECX_SHIFT)) & DMA_CR_ECX_MASK)
29075 
29076 #define DMA_CR_CX_MASK                           (0x20000U)
29077 #define DMA_CR_CX_SHIFT                          (17U)
29078 /*! CX - Cancel Transfer
29079  *  0b0..Normal operation
29080  *  0b1..Cancel the remaining data transfer
29081  */
29082 #define DMA_CR_CX(x)                             (((uint32_t)(((uint32_t)(x)) << DMA_CR_CX_SHIFT)) & DMA_CR_CX_MASK)
29083 
29084 #define DMA_CR_VERSION_MASK                      (0x7F000000U)
29085 #define DMA_CR_VERSION_SHIFT                     (24U)
29086 /*! VERSION - eDMA version number
29087  */
29088 #define DMA_CR_VERSION(x)                        (((uint32_t)(((uint32_t)(x)) << DMA_CR_VERSION_SHIFT)) & DMA_CR_VERSION_MASK)
29089 
29090 #define DMA_CR_ACTIVE_MASK                       (0x80000000U)
29091 #define DMA_CR_ACTIVE_SHIFT                      (31U)
29092 /*! ACTIVE - eDMA Active Status
29093  *  0b0..eDMA is idle
29094  *  0b1..eDMA is executing a channel
29095  */
29096 #define DMA_CR_ACTIVE(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_CR_ACTIVE_SHIFT)) & DMA_CR_ACTIVE_MASK)
29097 /*! @} */
29098 
29099 /*! @name ES - Error Status */
29100 /*! @{ */
29101 
29102 #define DMA_ES_DBE_MASK                          (0x1U)
29103 #define DMA_ES_DBE_SHIFT                         (0U)
29104 /*! DBE - Destination Bus Error
29105  *  0b0..No destination bus error.
29106  *  0b1..The most-recently recorded error was a bus error on a destination write.
29107  */
29108 #define DMA_ES_DBE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_DBE_SHIFT)) & DMA_ES_DBE_MASK)
29109 
29110 #define DMA_ES_SBE_MASK                          (0x2U)
29111 #define DMA_ES_SBE_SHIFT                         (1U)
29112 /*! SBE - Source Bus Error
29113  *  0b0..No source bus error.
29114  *  0b1..The most-recently recorded error was a bus error on a source read.
29115  */
29116 #define DMA_ES_SBE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_SBE_SHIFT)) & DMA_ES_SBE_MASK)
29117 
29118 #define DMA_ES_SGE_MASK                          (0x4U)
29119 #define DMA_ES_SGE_SHIFT                         (2U)
29120 /*! SGE - Scatter/Gather Configuration Error
29121  *  0b0..No scatter/gather configuration error.
29122  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_DLASTSGA field.
29123  */
29124 #define DMA_ES_SGE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_SGE_SHIFT)) & DMA_ES_SGE_MASK)
29125 
29126 #define DMA_ES_NCE_MASK                          (0x8U)
29127 #define DMA_ES_NCE_SHIFT                         (3U)
29128 /*! NCE - NBYTES/CITER Configuration Error
29129  *  0b0..No NBYTES/CITER configuration error.
29130  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_NBYTES or TCDn_CITER
29131  *       fields. TCDn_NBYTES is not a multiple of TCDn_ATTR[SSIZE] and TCDn_ATTR[DSIZE], or TCDn_CITER[CITER] = 0, or
29132  *       TCDn_CITER[ELINK] is not equal to TCDn_BITER[ELINK].
29133  */
29134 #define DMA_ES_NCE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_NCE_SHIFT)) & DMA_ES_NCE_MASK)
29135 
29136 #define DMA_ES_DOE_MASK                          (0x10U)
29137 #define DMA_ES_DOE_SHIFT                         (4U)
29138 /*! DOE - Destination Offset Error
29139  *  0b0..No destination offset configuration error.
29140  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_DOFF field. TCDn_DOFF is inconsistent with TCDn_ATTR[DSIZE].
29141  */
29142 #define DMA_ES_DOE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_DOE_SHIFT)) & DMA_ES_DOE_MASK)
29143 
29144 #define DMA_ES_DAE_MASK                          (0x20U)
29145 #define DMA_ES_DAE_SHIFT                         (5U)
29146 /*! DAE - Destination Address Error
29147  *  0b0..No destination address configuration error.
29148  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_DADDR field. TCDn_DADDR
29149  *       is inconsistent with TCDn_ATTR[DSIZE].
29150  */
29151 #define DMA_ES_DAE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_DAE_SHIFT)) & DMA_ES_DAE_MASK)
29152 
29153 #define DMA_ES_SOE_MASK                          (0x40U)
29154 #define DMA_ES_SOE_SHIFT                         (6U)
29155 /*! SOE - Source Offset Error
29156  *  0b0..No source offset configuration error.
29157  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_SOFF field. TCDn_SOFF is inconsistent with TCDn_ATTR[SSIZE].
29158  */
29159 #define DMA_ES_SOE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_SOE_SHIFT)) & DMA_ES_SOE_MASK)
29160 
29161 #define DMA_ES_SAE_MASK                          (0x80U)
29162 #define DMA_ES_SAE_SHIFT                         (7U)
29163 /*! SAE - Source Address Error
29164  *  0b0..No source address configuration error.
29165  *  0b1..The most-recently recorded error was a configuration error detected in the TCDn_SADDR field. TCDn_SADDR
29166  *       is inconsistent with TCDn_ATTR[SSIZE].
29167  */
29168 #define DMA_ES_SAE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_SAE_SHIFT)) & DMA_ES_SAE_MASK)
29169 
29170 #define DMA_ES_ERRCHN_MASK                       (0x1F00U)
29171 #define DMA_ES_ERRCHN_SHIFT                      (8U)
29172 /*! ERRCHN - Error Channel Number or Canceled Channel Number
29173  */
29174 #define DMA_ES_ERRCHN(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ES_ERRCHN_SHIFT)) & DMA_ES_ERRCHN_MASK)
29175 
29176 #define DMA_ES_CPE_MASK                          (0x4000U)
29177 #define DMA_ES_CPE_SHIFT                         (14U)
29178 /*! CPE - Channel Priority Error
29179  *  0b0..No channel priority error.
29180  *  0b1..The most-recently recorded error was a configuration error in the channel priorities within a group.
29181  *       Channel priorities within a group are not unique.
29182  */
29183 #define DMA_ES_CPE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_CPE_SHIFT)) & DMA_ES_CPE_MASK)
29184 
29185 #define DMA_ES_GPE_MASK                          (0x8000U)
29186 #define DMA_ES_GPE_SHIFT                         (15U)
29187 /*! GPE - Group Priority Error
29188  *  0b0..No group priority error.
29189  *  0b1..The most-recently recorded error was a configuration error among the group priorities. All group priorities are not unique.
29190  */
29191 #define DMA_ES_GPE(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_GPE_SHIFT)) & DMA_ES_GPE_MASK)
29192 
29193 #define DMA_ES_ECX_MASK                          (0x10000U)
29194 #define DMA_ES_ECX_SHIFT                         (16U)
29195 /*! ECX - Transfer Canceled
29196  *  0b0..No canceled transfers
29197  *  0b1..The most-recently recorded entry was a canceled transfer initiated by the error cancel transfer field
29198  */
29199 #define DMA_ES_ECX(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_ECX_SHIFT)) & DMA_ES_ECX_MASK)
29200 
29201 #define DMA_ES_VLD_MASK                          (0x80000000U)
29202 #define DMA_ES_VLD_SHIFT                         (31U)
29203 /*! VLD - Logical OR of all ERR status fields
29204  *  0b0..No ERR fields are 1
29205  *  0b1..At least one ERR field has a value of 1, indicating a valid error exists that has not been cleared
29206  */
29207 #define DMA_ES_VLD(x)                            (((uint32_t)(((uint32_t)(x)) << DMA_ES_VLD_SHIFT)) & DMA_ES_VLD_MASK)
29208 /*! @} */
29209 
29210 /*! @name ERQ - Enable Request */
29211 /*! @{ */
29212 
29213 #define DMA_ERQ_ERQ0_MASK                        (0x1U)
29214 #define DMA_ERQ_ERQ0_SHIFT                       (0U)
29215 /*! ERQ0 - Enable DMA Request 0
29216  *  0b0..The DMA request signal for channel 0 is disabled
29217  *  0b1..The DMA request signal for channel 0 is enabled
29218  */
29219 #define DMA_ERQ_ERQ0(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ0_SHIFT)) & DMA_ERQ_ERQ0_MASK)
29220 
29221 #define DMA_ERQ_ERQ1_MASK                        (0x2U)
29222 #define DMA_ERQ_ERQ1_SHIFT                       (1U)
29223 /*! ERQ1 - Enable DMA Request 1
29224  *  0b0..The DMA request signal for channel 1 is disabled
29225  *  0b1..The DMA request signal for channel 1 is enabled
29226  */
29227 #define DMA_ERQ_ERQ1(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ1_SHIFT)) & DMA_ERQ_ERQ1_MASK)
29228 
29229 #define DMA_ERQ_ERQ2_MASK                        (0x4U)
29230 #define DMA_ERQ_ERQ2_SHIFT                       (2U)
29231 /*! ERQ2 - Enable DMA Request 2
29232  *  0b0..The DMA request signal for channel 2 is disabled
29233  *  0b1..The DMA request signal for channel 2 is enabled
29234  */
29235 #define DMA_ERQ_ERQ2(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ2_SHIFT)) & DMA_ERQ_ERQ2_MASK)
29236 
29237 #define DMA_ERQ_ERQ3_MASK                        (0x8U)
29238 #define DMA_ERQ_ERQ3_SHIFT                       (3U)
29239 /*! ERQ3 - Enable DMA Request 3
29240  *  0b0..The DMA request signal for channel 3 is disabled
29241  *  0b1..The DMA request signal for channel 3 is enabled
29242  */
29243 #define DMA_ERQ_ERQ3(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ3_SHIFT)) & DMA_ERQ_ERQ3_MASK)
29244 
29245 #define DMA_ERQ_ERQ4_MASK                        (0x10U)
29246 #define DMA_ERQ_ERQ4_SHIFT                       (4U)
29247 /*! ERQ4 - Enable DMA Request 4
29248  *  0b0..The DMA request signal for channel 4 is disabled
29249  *  0b1..The DMA request signal for channel 4 is enabled
29250  */
29251 #define DMA_ERQ_ERQ4(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ4_SHIFT)) & DMA_ERQ_ERQ4_MASK)
29252 
29253 #define DMA_ERQ_ERQ5_MASK                        (0x20U)
29254 #define DMA_ERQ_ERQ5_SHIFT                       (5U)
29255 /*! ERQ5 - Enable DMA Request 5
29256  *  0b0..The DMA request signal for channel 5 is disabled
29257  *  0b1..The DMA request signal for channel 5 is enabled
29258  */
29259 #define DMA_ERQ_ERQ5(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ5_SHIFT)) & DMA_ERQ_ERQ5_MASK)
29260 
29261 #define DMA_ERQ_ERQ6_MASK                        (0x40U)
29262 #define DMA_ERQ_ERQ6_SHIFT                       (6U)
29263 /*! ERQ6 - Enable DMA Request 6
29264  *  0b0..The DMA request signal for channel 6 is disabled
29265  *  0b1..The DMA request signal for channel 6 is enabled
29266  */
29267 #define DMA_ERQ_ERQ6(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ6_SHIFT)) & DMA_ERQ_ERQ6_MASK)
29268 
29269 #define DMA_ERQ_ERQ7_MASK                        (0x80U)
29270 #define DMA_ERQ_ERQ7_SHIFT                       (7U)
29271 /*! ERQ7 - Enable DMA Request 7
29272  *  0b0..The DMA request signal for channel 7 is disabled
29273  *  0b1..The DMA request signal for channel 7 is enabled
29274  */
29275 #define DMA_ERQ_ERQ7(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ7_SHIFT)) & DMA_ERQ_ERQ7_MASK)
29276 
29277 #define DMA_ERQ_ERQ8_MASK                        (0x100U)
29278 #define DMA_ERQ_ERQ8_SHIFT                       (8U)
29279 /*! ERQ8 - Enable DMA Request 8
29280  *  0b0..The DMA request signal for channel 8 is disabled
29281  *  0b1..The DMA request signal for channel 8 is enabled
29282  */
29283 #define DMA_ERQ_ERQ8(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ8_SHIFT)) & DMA_ERQ_ERQ8_MASK)
29284 
29285 #define DMA_ERQ_ERQ9_MASK                        (0x200U)
29286 #define DMA_ERQ_ERQ9_SHIFT                       (9U)
29287 /*! ERQ9 - Enable DMA Request 9
29288  *  0b0..The DMA request signal for channel 9 is disabled
29289  *  0b1..The DMA request signal for channel 9 is enabled
29290  */
29291 #define DMA_ERQ_ERQ9(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ9_SHIFT)) & DMA_ERQ_ERQ9_MASK)
29292 
29293 #define DMA_ERQ_ERQ10_MASK                       (0x400U)
29294 #define DMA_ERQ_ERQ10_SHIFT                      (10U)
29295 /*! ERQ10 - Enable DMA Request 10
29296  *  0b0..The DMA request signal for channel 10 is disabled
29297  *  0b1..The DMA request signal for channel 10 is enabled
29298  */
29299 #define DMA_ERQ_ERQ10(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ10_SHIFT)) & DMA_ERQ_ERQ10_MASK)
29300 
29301 #define DMA_ERQ_ERQ11_MASK                       (0x800U)
29302 #define DMA_ERQ_ERQ11_SHIFT                      (11U)
29303 /*! ERQ11 - Enable DMA Request 11
29304  *  0b0..The DMA request signal for channel 11 is disabled
29305  *  0b1..The DMA request signal for channel 11 is enabled
29306  */
29307 #define DMA_ERQ_ERQ11(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ11_SHIFT)) & DMA_ERQ_ERQ11_MASK)
29308 
29309 #define DMA_ERQ_ERQ12_MASK                       (0x1000U)
29310 #define DMA_ERQ_ERQ12_SHIFT                      (12U)
29311 /*! ERQ12 - Enable DMA Request 12
29312  *  0b0..The DMA request signal for channel 12 is disabled
29313  *  0b1..The DMA request signal for channel 12 is enabled
29314  */
29315 #define DMA_ERQ_ERQ12(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ12_SHIFT)) & DMA_ERQ_ERQ12_MASK)
29316 
29317 #define DMA_ERQ_ERQ13_MASK                       (0x2000U)
29318 #define DMA_ERQ_ERQ13_SHIFT                      (13U)
29319 /*! ERQ13 - Enable DMA Request 13
29320  *  0b0..The DMA request signal for channel 13 is disabled
29321  *  0b1..The DMA request signal for channel 13 is enabled
29322  */
29323 #define DMA_ERQ_ERQ13(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ13_SHIFT)) & DMA_ERQ_ERQ13_MASK)
29324 
29325 #define DMA_ERQ_ERQ14_MASK                       (0x4000U)
29326 #define DMA_ERQ_ERQ14_SHIFT                      (14U)
29327 /*! ERQ14 - Enable DMA Request 14
29328  *  0b0..The DMA request signal for channel 14 is disabled
29329  *  0b1..The DMA request signal for channel 14 is enabled
29330  */
29331 #define DMA_ERQ_ERQ14(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ14_SHIFT)) & DMA_ERQ_ERQ14_MASK)
29332 
29333 #define DMA_ERQ_ERQ15_MASK                       (0x8000U)
29334 #define DMA_ERQ_ERQ15_SHIFT                      (15U)
29335 /*! ERQ15 - Enable DMA Request 15
29336  *  0b0..The DMA request signal for channel 15 is disabled
29337  *  0b1..The DMA request signal for channel 15 is enabled
29338  */
29339 #define DMA_ERQ_ERQ15(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ15_SHIFT)) & DMA_ERQ_ERQ15_MASK)
29340 
29341 #define DMA_ERQ_ERQ16_MASK                       (0x10000U)
29342 #define DMA_ERQ_ERQ16_SHIFT                      (16U)
29343 /*! ERQ16 - Enable DMA Request 16
29344  *  0b0..The DMA request signal for channel 16 is disabled
29345  *  0b1..The DMA request signal for channel 16 is enabled
29346  */
29347 #define DMA_ERQ_ERQ16(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ16_SHIFT)) & DMA_ERQ_ERQ16_MASK)
29348 
29349 #define DMA_ERQ_ERQ17_MASK                       (0x20000U)
29350 #define DMA_ERQ_ERQ17_SHIFT                      (17U)
29351 /*! ERQ17 - Enable DMA Request 17
29352  *  0b0..The DMA request signal for channel 17 is disabled
29353  *  0b1..The DMA request signal for channel 17 is enabled
29354  */
29355 #define DMA_ERQ_ERQ17(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ17_SHIFT)) & DMA_ERQ_ERQ17_MASK)
29356 
29357 #define DMA_ERQ_ERQ18_MASK                       (0x40000U)
29358 #define DMA_ERQ_ERQ18_SHIFT                      (18U)
29359 /*! ERQ18 - Enable DMA Request 18
29360  *  0b0..The DMA request signal for channel 18 is disabled
29361  *  0b1..The DMA request signal for channel 18 is enabled
29362  */
29363 #define DMA_ERQ_ERQ18(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ18_SHIFT)) & DMA_ERQ_ERQ18_MASK)
29364 
29365 #define DMA_ERQ_ERQ19_MASK                       (0x80000U)
29366 #define DMA_ERQ_ERQ19_SHIFT                      (19U)
29367 /*! ERQ19 - Enable DMA Request 19
29368  *  0b0..The DMA request signal for channel 19 is disabled
29369  *  0b1..The DMA request signal for channel 19 is enabled
29370  */
29371 #define DMA_ERQ_ERQ19(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ19_SHIFT)) & DMA_ERQ_ERQ19_MASK)
29372 
29373 #define DMA_ERQ_ERQ20_MASK                       (0x100000U)
29374 #define DMA_ERQ_ERQ20_SHIFT                      (20U)
29375 /*! ERQ20 - Enable DMA Request 20
29376  *  0b0..The DMA request signal for channel 20 is disabled
29377  *  0b1..The DMA request signal for channel 20 is enabled
29378  */
29379 #define DMA_ERQ_ERQ20(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ20_SHIFT)) & DMA_ERQ_ERQ20_MASK)
29380 
29381 #define DMA_ERQ_ERQ21_MASK                       (0x200000U)
29382 #define DMA_ERQ_ERQ21_SHIFT                      (21U)
29383 /*! ERQ21 - Enable DMA Request 21
29384  *  0b0..The DMA request signal for channel 21 is disabled
29385  *  0b1..The DMA request signal for channel 21 is enabled
29386  */
29387 #define DMA_ERQ_ERQ21(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ21_SHIFT)) & DMA_ERQ_ERQ21_MASK)
29388 
29389 #define DMA_ERQ_ERQ22_MASK                       (0x400000U)
29390 #define DMA_ERQ_ERQ22_SHIFT                      (22U)
29391 /*! ERQ22 - Enable DMA Request 22
29392  *  0b0..The DMA request signal for channel 22 is disabled
29393  *  0b1..The DMA request signal for channel 22 is enabled
29394  */
29395 #define DMA_ERQ_ERQ22(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ22_SHIFT)) & DMA_ERQ_ERQ22_MASK)
29396 
29397 #define DMA_ERQ_ERQ23_MASK                       (0x800000U)
29398 #define DMA_ERQ_ERQ23_SHIFT                      (23U)
29399 /*! ERQ23 - Enable DMA Request 23
29400  *  0b0..The DMA request signal for channel 23 is disabled
29401  *  0b1..The DMA request signal for channel 23 is enabled
29402  */
29403 #define DMA_ERQ_ERQ23(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ23_SHIFT)) & DMA_ERQ_ERQ23_MASK)
29404 
29405 #define DMA_ERQ_ERQ24_MASK                       (0x1000000U)
29406 #define DMA_ERQ_ERQ24_SHIFT                      (24U)
29407 /*! ERQ24 - Enable DMA Request 24
29408  *  0b0..The DMA request signal for channel 24 is disabled
29409  *  0b1..The DMA request signal for channel 24 is enabled
29410  */
29411 #define DMA_ERQ_ERQ24(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ24_SHIFT)) & DMA_ERQ_ERQ24_MASK)
29412 
29413 #define DMA_ERQ_ERQ25_MASK                       (0x2000000U)
29414 #define DMA_ERQ_ERQ25_SHIFT                      (25U)
29415 /*! ERQ25 - Enable DMA Request 25
29416  *  0b0..The DMA request signal for channel 25 is disabled
29417  *  0b1..The DMA request signal for channel 25 is enabled
29418  */
29419 #define DMA_ERQ_ERQ25(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ25_SHIFT)) & DMA_ERQ_ERQ25_MASK)
29420 
29421 #define DMA_ERQ_ERQ26_MASK                       (0x4000000U)
29422 #define DMA_ERQ_ERQ26_SHIFT                      (26U)
29423 /*! ERQ26 - Enable DMA Request 26
29424  *  0b0..The DMA request signal for channel 26 is disabled
29425  *  0b1..The DMA request signal for channel 26 is enabled
29426  */
29427 #define DMA_ERQ_ERQ26(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ26_SHIFT)) & DMA_ERQ_ERQ26_MASK)
29428 
29429 #define DMA_ERQ_ERQ27_MASK                       (0x8000000U)
29430 #define DMA_ERQ_ERQ27_SHIFT                      (27U)
29431 /*! ERQ27 - Enable DMA Request 27
29432  *  0b0..The DMA request signal for channel 27 is disabled
29433  *  0b1..The DMA request signal for channel 27 is enabled
29434  */
29435 #define DMA_ERQ_ERQ27(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ27_SHIFT)) & DMA_ERQ_ERQ27_MASK)
29436 
29437 #define DMA_ERQ_ERQ28_MASK                       (0x10000000U)
29438 #define DMA_ERQ_ERQ28_SHIFT                      (28U)
29439 /*! ERQ28 - Enable DMA Request 28
29440  *  0b0..The DMA request signal for channel 28 is disabled
29441  *  0b1..The DMA request signal for channel 28 is enabled
29442  */
29443 #define DMA_ERQ_ERQ28(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ28_SHIFT)) & DMA_ERQ_ERQ28_MASK)
29444 
29445 #define DMA_ERQ_ERQ29_MASK                       (0x20000000U)
29446 #define DMA_ERQ_ERQ29_SHIFT                      (29U)
29447 /*! ERQ29 - Enable DMA Request 29
29448  *  0b0..The DMA request signal for channel 29 is disabled
29449  *  0b1..The DMA request signal for channel 29 is enabled
29450  */
29451 #define DMA_ERQ_ERQ29(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ29_SHIFT)) & DMA_ERQ_ERQ29_MASK)
29452 
29453 #define DMA_ERQ_ERQ30_MASK                       (0x40000000U)
29454 #define DMA_ERQ_ERQ30_SHIFT                      (30U)
29455 /*! ERQ30 - Enable DMA Request 30
29456  *  0b0..The DMA request signal for channel 30 is disabled
29457  *  0b1..The DMA request signal for channel 30 is enabled
29458  */
29459 #define DMA_ERQ_ERQ30(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ30_SHIFT)) & DMA_ERQ_ERQ30_MASK)
29460 
29461 #define DMA_ERQ_ERQ31_MASK                       (0x80000000U)
29462 #define DMA_ERQ_ERQ31_SHIFT                      (31U)
29463 /*! ERQ31 - Enable DMA Request 31
29464  *  0b0..The DMA request signal for channel 31 is disabled
29465  *  0b1..The DMA request signal for channel 31 is enabled
29466  */
29467 #define DMA_ERQ_ERQ31(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERQ_ERQ31_SHIFT)) & DMA_ERQ_ERQ31_MASK)
29468 /*! @} */
29469 
29470 /*! @name EEI - Enable Error Interrupt */
29471 /*! @{ */
29472 
29473 #define DMA_EEI_EEI0_MASK                        (0x1U)
29474 #define DMA_EEI_EEI0_SHIFT                       (0U)
29475 /*! EEI0 - Enable Error Interrupt 0
29476  *  0b0..An error on channel 0 does not generate an error interrupt
29477  *  0b1..An error on channel 0 generates an error interrupt request
29478  */
29479 #define DMA_EEI_EEI0(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI0_SHIFT)) & DMA_EEI_EEI0_MASK)
29480 
29481 #define DMA_EEI_EEI1_MASK                        (0x2U)
29482 #define DMA_EEI_EEI1_SHIFT                       (1U)
29483 /*! EEI1 - Enable Error Interrupt 1
29484  *  0b0..An error on channel 1 does not generate an error interrupt
29485  *  0b1..An error on channel 1 generates an error interrupt request
29486  */
29487 #define DMA_EEI_EEI1(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI1_SHIFT)) & DMA_EEI_EEI1_MASK)
29488 
29489 #define DMA_EEI_EEI2_MASK                        (0x4U)
29490 #define DMA_EEI_EEI2_SHIFT                       (2U)
29491 /*! EEI2 - Enable Error Interrupt 2
29492  *  0b0..An error on channel 2 does not generate an error interrupt
29493  *  0b1..An error on channel 2 generates an error interrupt request
29494  */
29495 #define DMA_EEI_EEI2(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI2_SHIFT)) & DMA_EEI_EEI2_MASK)
29496 
29497 #define DMA_EEI_EEI3_MASK                        (0x8U)
29498 #define DMA_EEI_EEI3_SHIFT                       (3U)
29499 /*! EEI3 - Enable Error Interrupt 3
29500  *  0b0..An error on channel 3 does not generate an error interrupt
29501  *  0b1..An error on channel 3 generates an error interrupt request
29502  */
29503 #define DMA_EEI_EEI3(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI3_SHIFT)) & DMA_EEI_EEI3_MASK)
29504 
29505 #define DMA_EEI_EEI4_MASK                        (0x10U)
29506 #define DMA_EEI_EEI4_SHIFT                       (4U)
29507 /*! EEI4 - Enable Error Interrupt 4
29508  *  0b0..An error on channel 4 does not generate an error interrupt
29509  *  0b1..An error on channel 4 generates an error interrupt request
29510  */
29511 #define DMA_EEI_EEI4(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI4_SHIFT)) & DMA_EEI_EEI4_MASK)
29512 
29513 #define DMA_EEI_EEI5_MASK                        (0x20U)
29514 #define DMA_EEI_EEI5_SHIFT                       (5U)
29515 /*! EEI5 - Enable Error Interrupt 5
29516  *  0b0..An error on channel 5 does not generate an error interrupt
29517  *  0b1..An error on channel 5 generates an error interrupt request
29518  */
29519 #define DMA_EEI_EEI5(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI5_SHIFT)) & DMA_EEI_EEI5_MASK)
29520 
29521 #define DMA_EEI_EEI6_MASK                        (0x40U)
29522 #define DMA_EEI_EEI6_SHIFT                       (6U)
29523 /*! EEI6 - Enable Error Interrupt 6
29524  *  0b0..An error on channel 6 does not generate an error interrupt
29525  *  0b1..An error on channel 6 generates an error interrupt request
29526  */
29527 #define DMA_EEI_EEI6(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI6_SHIFT)) & DMA_EEI_EEI6_MASK)
29528 
29529 #define DMA_EEI_EEI7_MASK                        (0x80U)
29530 #define DMA_EEI_EEI7_SHIFT                       (7U)
29531 /*! EEI7 - Enable Error Interrupt 7
29532  *  0b0..An error on channel 7 does not generate an error interrupt
29533  *  0b1..An error on channel 7 generates an error interrupt request
29534  */
29535 #define DMA_EEI_EEI7(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI7_SHIFT)) & DMA_EEI_EEI7_MASK)
29536 
29537 #define DMA_EEI_EEI8_MASK                        (0x100U)
29538 #define DMA_EEI_EEI8_SHIFT                       (8U)
29539 /*! EEI8 - Enable Error Interrupt 8
29540  *  0b0..An error on channel 8 does not generate an error interrupt
29541  *  0b1..An error on channel 8 generates an error interrupt request
29542  */
29543 #define DMA_EEI_EEI8(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI8_SHIFT)) & DMA_EEI_EEI8_MASK)
29544 
29545 #define DMA_EEI_EEI9_MASK                        (0x200U)
29546 #define DMA_EEI_EEI9_SHIFT                       (9U)
29547 /*! EEI9 - Enable Error Interrupt 9
29548  *  0b0..An error on channel 9 does not generate an error interrupt
29549  *  0b1..An error on channel 9 generates an error interrupt request
29550  */
29551 #define DMA_EEI_EEI9(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI9_SHIFT)) & DMA_EEI_EEI9_MASK)
29552 
29553 #define DMA_EEI_EEI10_MASK                       (0x400U)
29554 #define DMA_EEI_EEI10_SHIFT                      (10U)
29555 /*! EEI10 - Enable Error Interrupt 10
29556  *  0b0..An error on channel 10 does not generate an error interrupt
29557  *  0b1..An error on channel 10 generates an error interrupt request
29558  */
29559 #define DMA_EEI_EEI10(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI10_SHIFT)) & DMA_EEI_EEI10_MASK)
29560 
29561 #define DMA_EEI_EEI11_MASK                       (0x800U)
29562 #define DMA_EEI_EEI11_SHIFT                      (11U)
29563 /*! EEI11 - Enable Error Interrupt 11
29564  *  0b0..An error on channel 11 does not generate an error interrupt
29565  *  0b1..An error on channel 11 generates an error interrupt request
29566  */
29567 #define DMA_EEI_EEI11(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI11_SHIFT)) & DMA_EEI_EEI11_MASK)
29568 
29569 #define DMA_EEI_EEI12_MASK                       (0x1000U)
29570 #define DMA_EEI_EEI12_SHIFT                      (12U)
29571 /*! EEI12 - Enable Error Interrupt 12
29572  *  0b0..An error on channel 12 does not generate an error interrupt
29573  *  0b1..An error on channel 12 generates an error interrupt request
29574  */
29575 #define DMA_EEI_EEI12(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI12_SHIFT)) & DMA_EEI_EEI12_MASK)
29576 
29577 #define DMA_EEI_EEI13_MASK                       (0x2000U)
29578 #define DMA_EEI_EEI13_SHIFT                      (13U)
29579 /*! EEI13 - Enable Error Interrupt 13
29580  *  0b0..An error on channel 13 does not generate an error interrupt
29581  *  0b1..An error on channel 13 generates an error interrupt request
29582  */
29583 #define DMA_EEI_EEI13(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI13_SHIFT)) & DMA_EEI_EEI13_MASK)
29584 
29585 #define DMA_EEI_EEI14_MASK                       (0x4000U)
29586 #define DMA_EEI_EEI14_SHIFT                      (14U)
29587 /*! EEI14 - Enable Error Interrupt 14
29588  *  0b0..An error on channel 14 does not generate an error interrupt
29589  *  0b1..An error on channel 14 generates an error interrupt request
29590  */
29591 #define DMA_EEI_EEI14(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI14_SHIFT)) & DMA_EEI_EEI14_MASK)
29592 
29593 #define DMA_EEI_EEI15_MASK                       (0x8000U)
29594 #define DMA_EEI_EEI15_SHIFT                      (15U)
29595 /*! EEI15 - Enable Error Interrupt 15
29596  *  0b0..An error on channel 15 does not generate an error interrupt
29597  *  0b1..An error on channel 15 generates an error interrupt request
29598  */
29599 #define DMA_EEI_EEI15(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI15_SHIFT)) & DMA_EEI_EEI15_MASK)
29600 
29601 #define DMA_EEI_EEI16_MASK                       (0x10000U)
29602 #define DMA_EEI_EEI16_SHIFT                      (16U)
29603 /*! EEI16 - Enable Error Interrupt 16
29604  *  0b0..An error on channel 16 does not generate an error interrupt
29605  *  0b1..An error on channel 16 generates an error interrupt request
29606  */
29607 #define DMA_EEI_EEI16(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI16_SHIFT)) & DMA_EEI_EEI16_MASK)
29608 
29609 #define DMA_EEI_EEI17_MASK                       (0x20000U)
29610 #define DMA_EEI_EEI17_SHIFT                      (17U)
29611 /*! EEI17 - Enable Error Interrupt 17
29612  *  0b0..An error on channel 17 does not generate an error interrupt
29613  *  0b1..An error on channel 17 generates an error interrupt request
29614  */
29615 #define DMA_EEI_EEI17(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI17_SHIFT)) & DMA_EEI_EEI17_MASK)
29616 
29617 #define DMA_EEI_EEI18_MASK                       (0x40000U)
29618 #define DMA_EEI_EEI18_SHIFT                      (18U)
29619 /*! EEI18 - Enable Error Interrupt 18
29620  *  0b0..An error on channel 18 does not generate an error interrupt
29621  *  0b1..An error on channel 18 generates an error interrupt request
29622  */
29623 #define DMA_EEI_EEI18(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI18_SHIFT)) & DMA_EEI_EEI18_MASK)
29624 
29625 #define DMA_EEI_EEI19_MASK                       (0x80000U)
29626 #define DMA_EEI_EEI19_SHIFT                      (19U)
29627 /*! EEI19 - Enable Error Interrupt 19
29628  *  0b0..An error on channel 19 does not generate an error interrupt
29629  *  0b1..An error on channel 19 generates an error interrupt request
29630  */
29631 #define DMA_EEI_EEI19(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI19_SHIFT)) & DMA_EEI_EEI19_MASK)
29632 
29633 #define DMA_EEI_EEI20_MASK                       (0x100000U)
29634 #define DMA_EEI_EEI20_SHIFT                      (20U)
29635 /*! EEI20 - Enable Error Interrupt 20
29636  *  0b0..An error on channel 20 does not generate an error interrupt
29637  *  0b1..An error on channel 20 generates an error interrupt request
29638  */
29639 #define DMA_EEI_EEI20(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI20_SHIFT)) & DMA_EEI_EEI20_MASK)
29640 
29641 #define DMA_EEI_EEI21_MASK                       (0x200000U)
29642 #define DMA_EEI_EEI21_SHIFT                      (21U)
29643 /*! EEI21 - Enable Error Interrupt 21
29644  *  0b0..An error on channel 21 does not generate an error interrupt
29645  *  0b1..An error on channel 21 generates an error interrupt request
29646  */
29647 #define DMA_EEI_EEI21(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI21_SHIFT)) & DMA_EEI_EEI21_MASK)
29648 
29649 #define DMA_EEI_EEI22_MASK                       (0x400000U)
29650 #define DMA_EEI_EEI22_SHIFT                      (22U)
29651 /*! EEI22 - Enable Error Interrupt 22
29652  *  0b0..An error on channel 22 does not generate an error interrupt
29653  *  0b1..An error on channel 22 generates an error interrupt request
29654  */
29655 #define DMA_EEI_EEI22(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI22_SHIFT)) & DMA_EEI_EEI22_MASK)
29656 
29657 #define DMA_EEI_EEI23_MASK                       (0x800000U)
29658 #define DMA_EEI_EEI23_SHIFT                      (23U)
29659 /*! EEI23 - Enable Error Interrupt 23
29660  *  0b0..An error on channel 23 does not generate an error interrupt
29661  *  0b1..An error on channel 23 generates an error interrupt request
29662  */
29663 #define DMA_EEI_EEI23(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI23_SHIFT)) & DMA_EEI_EEI23_MASK)
29664 
29665 #define DMA_EEI_EEI24_MASK                       (0x1000000U)
29666 #define DMA_EEI_EEI24_SHIFT                      (24U)
29667 /*! EEI24 - Enable Error Interrupt 24
29668  *  0b0..An error on channel 24 does not generate an error interrupt
29669  *  0b1..An error on channel 24 generates an error interrupt request
29670  */
29671 #define DMA_EEI_EEI24(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI24_SHIFT)) & DMA_EEI_EEI24_MASK)
29672 
29673 #define DMA_EEI_EEI25_MASK                       (0x2000000U)
29674 #define DMA_EEI_EEI25_SHIFT                      (25U)
29675 /*! EEI25 - Enable Error Interrupt 25
29676  *  0b0..An error on channel 25 does not generate an error interrupt
29677  *  0b1..An error on channel 25 generates an error interrupt request
29678  */
29679 #define DMA_EEI_EEI25(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI25_SHIFT)) & DMA_EEI_EEI25_MASK)
29680 
29681 #define DMA_EEI_EEI26_MASK                       (0x4000000U)
29682 #define DMA_EEI_EEI26_SHIFT                      (26U)
29683 /*! EEI26 - Enable Error Interrupt 26
29684  *  0b0..An error on channel 26 does not generate an error interrupt
29685  *  0b1..An error on channel 26 generates an error interrupt request
29686  */
29687 #define DMA_EEI_EEI26(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI26_SHIFT)) & DMA_EEI_EEI26_MASK)
29688 
29689 #define DMA_EEI_EEI27_MASK                       (0x8000000U)
29690 #define DMA_EEI_EEI27_SHIFT                      (27U)
29691 /*! EEI27 - Enable Error Interrupt 27
29692  *  0b0..An error on channel 27 does not generate an error interrupt
29693  *  0b1..An error on channel 27 generates an error interrupt request
29694  */
29695 #define DMA_EEI_EEI27(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI27_SHIFT)) & DMA_EEI_EEI27_MASK)
29696 
29697 #define DMA_EEI_EEI28_MASK                       (0x10000000U)
29698 #define DMA_EEI_EEI28_SHIFT                      (28U)
29699 /*! EEI28 - Enable Error Interrupt 28
29700  *  0b0..An error on channel 28 does not generate an error interrupt
29701  *  0b1..An error on channel 28 generates an error interrupt request
29702  */
29703 #define DMA_EEI_EEI28(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI28_SHIFT)) & DMA_EEI_EEI28_MASK)
29704 
29705 #define DMA_EEI_EEI29_MASK                       (0x20000000U)
29706 #define DMA_EEI_EEI29_SHIFT                      (29U)
29707 /*! EEI29 - Enable Error Interrupt 29
29708  *  0b0..An error on channel 29 does not generate an error interrupt
29709  *  0b1..An error on channel 29 generates an error interrupt request
29710  */
29711 #define DMA_EEI_EEI29(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI29_SHIFT)) & DMA_EEI_EEI29_MASK)
29712 
29713 #define DMA_EEI_EEI30_MASK                       (0x40000000U)
29714 #define DMA_EEI_EEI30_SHIFT                      (30U)
29715 /*! EEI30 - Enable Error Interrupt 30
29716  *  0b0..An error on channel 30 does not generate an error interrupt
29717  *  0b1..An error on channel 30 generates an error interrupt request
29718  */
29719 #define DMA_EEI_EEI30(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI30_SHIFT)) & DMA_EEI_EEI30_MASK)
29720 
29721 #define DMA_EEI_EEI31_MASK                       (0x80000000U)
29722 #define DMA_EEI_EEI31_SHIFT                      (31U)
29723 /*! EEI31 - Enable Error Interrupt 31
29724  *  0b0..An error on channel 31 does not generate an error interrupt
29725  *  0b1..An error on channel 31 generates an error interrupt request
29726  */
29727 #define DMA_EEI_EEI31(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_EEI_EEI31_SHIFT)) & DMA_EEI_EEI31_MASK)
29728 /*! @} */
29729 
29730 /*! @name CEEI - Clear Enable Error Interrupt */
29731 /*! @{ */
29732 
29733 #define DMA_CEEI_CEEI_MASK                       (0x1FU)
29734 #define DMA_CEEI_CEEI_SHIFT                      (0U)
29735 /*! CEEI - Clear Enable Error Interrupt
29736  */
29737 #define DMA_CEEI_CEEI(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CEEI_CEEI_SHIFT)) & DMA_CEEI_CEEI_MASK)
29738 
29739 #define DMA_CEEI_CAEE_MASK                       (0x40U)
29740 #define DMA_CEEI_CAEE_SHIFT                      (6U)
29741 /*! CAEE - Clear All Enable Error Interrupts
29742  *  0b0..Write 0 only to the EEI field specified in the CEEI field
29743  *  0b1..Write 0 to all fields in EEI
29744  */
29745 #define DMA_CEEI_CAEE(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CEEI_CAEE_SHIFT)) & DMA_CEEI_CAEE_MASK)
29746 
29747 #define DMA_CEEI_NOP_MASK                        (0x80U)
29748 #define DMA_CEEI_NOP_SHIFT                       (7U)
29749 /*! NOP - No Op Enable
29750  *  0b0..Normal operation
29751  *  0b1..No operation, ignore the other fields in this register
29752  */
29753 #define DMA_CEEI_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_CEEI_NOP_SHIFT)) & DMA_CEEI_NOP_MASK)
29754 /*! @} */
29755 
29756 /*! @name SEEI - Set Enable Error Interrupt */
29757 /*! @{ */
29758 
29759 #define DMA_SEEI_SEEI_MASK                       (0x1FU)
29760 #define DMA_SEEI_SEEI_SHIFT                      (0U)
29761 /*! SEEI - Set Enable Error Interrupt
29762  */
29763 #define DMA_SEEI_SEEI(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SEEI_SEEI_SHIFT)) & DMA_SEEI_SEEI_MASK)
29764 
29765 #define DMA_SEEI_SAEE_MASK                       (0x40U)
29766 #define DMA_SEEI_SAEE_SHIFT                      (6U)
29767 /*! SAEE - Set All Enable Error Interrupts
29768  *  0b0..Write 1 only to the EEI field specified in the SEEI field
29769  *  0b1..Writes 1 to all fields in EEI
29770  */
29771 #define DMA_SEEI_SAEE(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SEEI_SAEE_SHIFT)) & DMA_SEEI_SAEE_MASK)
29772 
29773 #define DMA_SEEI_NOP_MASK                        (0x80U)
29774 #define DMA_SEEI_NOP_SHIFT                       (7U)
29775 /*! NOP - No Op Enable
29776  *  0b0..Normal operation
29777  *  0b1..No operation, ignore the other fields in this register
29778  */
29779 #define DMA_SEEI_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_SEEI_NOP_SHIFT)) & DMA_SEEI_NOP_MASK)
29780 /*! @} */
29781 
29782 /*! @name CERQ - Clear Enable Request */
29783 /*! @{ */
29784 
29785 #define DMA_CERQ_CERQ_MASK                       (0x1FU)
29786 #define DMA_CERQ_CERQ_SHIFT                      (0U)
29787 /*! CERQ - Clear Enable Request
29788  */
29789 #define DMA_CERQ_CERQ(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CERQ_CERQ_SHIFT)) & DMA_CERQ_CERQ_MASK)
29790 
29791 #define DMA_CERQ_CAER_MASK                       (0x40U)
29792 #define DMA_CERQ_CAER_SHIFT                      (6U)
29793 /*! CAER - Clear All Enable Requests
29794  *  0b0..Write 0 to only the ERQ field specified in the CERQ field
29795  *  0b1..Write 0 to all fields in ERQ
29796  */
29797 #define DMA_CERQ_CAER(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CERQ_CAER_SHIFT)) & DMA_CERQ_CAER_MASK)
29798 
29799 #define DMA_CERQ_NOP_MASK                        (0x80U)
29800 #define DMA_CERQ_NOP_SHIFT                       (7U)
29801 /*! NOP - No Op Enable
29802  *  0b0..Normal operation
29803  *  0b1..No operation, ignore the other fields in this register
29804  */
29805 #define DMA_CERQ_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_CERQ_NOP_SHIFT)) & DMA_CERQ_NOP_MASK)
29806 /*! @} */
29807 
29808 /*! @name SERQ - Set Enable Request */
29809 /*! @{ */
29810 
29811 #define DMA_SERQ_SERQ_MASK                       (0x1FU)
29812 #define DMA_SERQ_SERQ_SHIFT                      (0U)
29813 /*! SERQ - Set Enable Request
29814  */
29815 #define DMA_SERQ_SERQ(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SERQ_SERQ_SHIFT)) & DMA_SERQ_SERQ_MASK)
29816 
29817 #define DMA_SERQ_SAER_MASK                       (0x40U)
29818 #define DMA_SERQ_SAER_SHIFT                      (6U)
29819 /*! SAER - Set All Enable Requests
29820  *  0b0..Write 1 to only the ERQ field specified in the SERQ field
29821  *  0b1..Write 1 to all fields in ERQ
29822  */
29823 #define DMA_SERQ_SAER(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SERQ_SAER_SHIFT)) & DMA_SERQ_SAER_MASK)
29824 
29825 #define DMA_SERQ_NOP_MASK                        (0x80U)
29826 #define DMA_SERQ_NOP_SHIFT                       (7U)
29827 /*! NOP - No Op Enable
29828  *  0b0..Normal operation
29829  *  0b1..No operation, ignore the other fields in this register
29830  */
29831 #define DMA_SERQ_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_SERQ_NOP_SHIFT)) & DMA_SERQ_NOP_MASK)
29832 /*! @} */
29833 
29834 /*! @name CDNE - Clear DONE Status Bit */
29835 /*! @{ */
29836 
29837 #define DMA_CDNE_CDNE_MASK                       (0x1FU)
29838 #define DMA_CDNE_CDNE_SHIFT                      (0U)
29839 /*! CDNE - Clear DONE field
29840  */
29841 #define DMA_CDNE_CDNE(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CDNE_CDNE_SHIFT)) & DMA_CDNE_CDNE_MASK)
29842 
29843 #define DMA_CDNE_CADN_MASK                       (0x40U)
29844 #define DMA_CDNE_CADN_SHIFT                      (6U)
29845 /*! CADN - Clears All DONE fields
29846  *  0b0..Writes 0 to only the TCDn_CSR[DONE] field specified in the CDNE field
29847  *  0b1..Writes 0 to all bits in TCDn_CSR[DONE]
29848  */
29849 #define DMA_CDNE_CADN(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CDNE_CADN_SHIFT)) & DMA_CDNE_CADN_MASK)
29850 
29851 #define DMA_CDNE_NOP_MASK                        (0x80U)
29852 #define DMA_CDNE_NOP_SHIFT                       (7U)
29853 /*! NOP - No Op Enable
29854  *  0b0..Normal operation
29855  *  0b1..No operation; all other fields in this register are ignored.
29856  */
29857 #define DMA_CDNE_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_CDNE_NOP_SHIFT)) & DMA_CDNE_NOP_MASK)
29858 /*! @} */
29859 
29860 /*! @name SSRT - Set START Bit */
29861 /*! @{ */
29862 
29863 #define DMA_SSRT_SSRT_MASK                       (0x1FU)
29864 #define DMA_SSRT_SSRT_SHIFT                      (0U)
29865 /*! SSRT - Set START field
29866  */
29867 #define DMA_SSRT_SSRT(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SSRT_SSRT_SHIFT)) & DMA_SSRT_SSRT_MASK)
29868 
29869 #define DMA_SSRT_SAST_MASK                       (0x40U)
29870 #define DMA_SSRT_SAST_SHIFT                      (6U)
29871 /*! SAST - Set All START fields (activates all channels)
29872  *  0b0..Write 1 to only the TCDn_CSR[START] field specified in the SSRT field
29873  *  0b1..Write 1 to all bits in TCDn_CSR[START]
29874  */
29875 #define DMA_SSRT_SAST(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_SSRT_SAST_SHIFT)) & DMA_SSRT_SAST_MASK)
29876 
29877 #define DMA_SSRT_NOP_MASK                        (0x80U)
29878 #define DMA_SSRT_NOP_SHIFT                       (7U)
29879 /*! NOP - No Op Enable
29880  *  0b0..Normal operation
29881  *  0b1..No operation; all other fields in this register are ignored.
29882  */
29883 #define DMA_SSRT_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_SSRT_NOP_SHIFT)) & DMA_SSRT_NOP_MASK)
29884 /*! @} */
29885 
29886 /*! @name CERR - Clear Error */
29887 /*! @{ */
29888 
29889 #define DMA_CERR_CERR_MASK                       (0x1FU)
29890 #define DMA_CERR_CERR_SHIFT                      (0U)
29891 /*! CERR - Clear Error Indicator
29892  */
29893 #define DMA_CERR_CERR(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CERR_CERR_SHIFT)) & DMA_CERR_CERR_MASK)
29894 
29895 #define DMA_CERR_CAEI_MASK                       (0x40U)
29896 #define DMA_CERR_CAEI_SHIFT                      (6U)
29897 /*! CAEI - Clear All Error Indicators
29898  *  0b0..Write 0 to only the ERR field specified in the CERR field
29899  *  0b1..Write 0 to all fields in ERR
29900  */
29901 #define DMA_CERR_CAEI(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CERR_CAEI_SHIFT)) & DMA_CERR_CAEI_MASK)
29902 
29903 #define DMA_CERR_NOP_MASK                        (0x80U)
29904 #define DMA_CERR_NOP_SHIFT                       (7U)
29905 /*! NOP - No Op Enable
29906  *  0b0..Normal operation
29907  *  0b1..No operation; all other fields in this register are ignored.
29908  */
29909 #define DMA_CERR_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_CERR_NOP_SHIFT)) & DMA_CERR_NOP_MASK)
29910 /*! @} */
29911 
29912 /*! @name CINT - Clear Interrupt Request */
29913 /*! @{ */
29914 
29915 #define DMA_CINT_CINT_MASK                       (0x1FU)
29916 #define DMA_CINT_CINT_SHIFT                      (0U)
29917 /*! CINT - Clear Interrupt Request
29918  */
29919 #define DMA_CINT_CINT(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CINT_CINT_SHIFT)) & DMA_CINT_CINT_MASK)
29920 
29921 #define DMA_CINT_CAIR_MASK                       (0x40U)
29922 #define DMA_CINT_CAIR_SHIFT                      (6U)
29923 /*! CAIR - Clear All Interrupt Requests
29924  *  0b0..Clear only the INT field specified in the CINT field
29925  *  0b1..Clear all bits in INT
29926  */
29927 #define DMA_CINT_CAIR(x)                         (((uint8_t)(((uint8_t)(x)) << DMA_CINT_CAIR_SHIFT)) & DMA_CINT_CAIR_MASK)
29928 
29929 #define DMA_CINT_NOP_MASK                        (0x80U)
29930 #define DMA_CINT_NOP_SHIFT                       (7U)
29931 /*! NOP - No Op Enable
29932  *  0b0..Normal operation
29933  *  0b1..No operation; all other fields in this register are ignored.
29934  */
29935 #define DMA_CINT_NOP(x)                          (((uint8_t)(((uint8_t)(x)) << DMA_CINT_NOP_SHIFT)) & DMA_CINT_NOP_MASK)
29936 /*! @} */
29937 
29938 /*! @name INT - Interrupt Request */
29939 /*! @{ */
29940 
29941 #define DMA_INT_INT0_MASK                        (0x1U)
29942 #define DMA_INT_INT0_SHIFT                       (0U)
29943 /*! INT0 - Interrupt Request 0
29944  *  0b0..The interrupt request for channel 0 is cleared
29945  *  0b1..The interrupt request for channel 0 is active
29946  */
29947 #define DMA_INT_INT0(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT0_SHIFT)) & DMA_INT_INT0_MASK)
29948 
29949 #define DMA_INT_INT1_MASK                        (0x2U)
29950 #define DMA_INT_INT1_SHIFT                       (1U)
29951 /*! INT1 - Interrupt Request 1
29952  *  0b0..The interrupt request for channel 1 is cleared
29953  *  0b1..The interrupt request for channel 1 is active
29954  */
29955 #define DMA_INT_INT1(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT1_SHIFT)) & DMA_INT_INT1_MASK)
29956 
29957 #define DMA_INT_INT2_MASK                        (0x4U)
29958 #define DMA_INT_INT2_SHIFT                       (2U)
29959 /*! INT2 - Interrupt Request 2
29960  *  0b0..The interrupt request for channel 2 is cleared
29961  *  0b1..The interrupt request for channel 2 is active
29962  */
29963 #define DMA_INT_INT2(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT2_SHIFT)) & DMA_INT_INT2_MASK)
29964 
29965 #define DMA_INT_INT3_MASK                        (0x8U)
29966 #define DMA_INT_INT3_SHIFT                       (3U)
29967 /*! INT3 - Interrupt Request 3
29968  *  0b0..The interrupt request for channel 3 is cleared
29969  *  0b1..The interrupt request for channel 3 is active
29970  */
29971 #define DMA_INT_INT3(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT3_SHIFT)) & DMA_INT_INT3_MASK)
29972 
29973 #define DMA_INT_INT4_MASK                        (0x10U)
29974 #define DMA_INT_INT4_SHIFT                       (4U)
29975 /*! INT4 - Interrupt Request 4
29976  *  0b0..The interrupt request for channel 4 is cleared
29977  *  0b1..The interrupt request for channel 4 is active
29978  */
29979 #define DMA_INT_INT4(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT4_SHIFT)) & DMA_INT_INT4_MASK)
29980 
29981 #define DMA_INT_INT5_MASK                        (0x20U)
29982 #define DMA_INT_INT5_SHIFT                       (5U)
29983 /*! INT5 - Interrupt Request 5
29984  *  0b0..The interrupt request for channel 5 is cleared
29985  *  0b1..The interrupt request for channel 5 is active
29986  */
29987 #define DMA_INT_INT5(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT5_SHIFT)) & DMA_INT_INT5_MASK)
29988 
29989 #define DMA_INT_INT6_MASK                        (0x40U)
29990 #define DMA_INT_INT6_SHIFT                       (6U)
29991 /*! INT6 - Interrupt Request 6
29992  *  0b0..The interrupt request for channel 6 is cleared
29993  *  0b1..The interrupt request for channel 6 is active
29994  */
29995 #define DMA_INT_INT6(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT6_SHIFT)) & DMA_INT_INT6_MASK)
29996 
29997 #define DMA_INT_INT7_MASK                        (0x80U)
29998 #define DMA_INT_INT7_SHIFT                       (7U)
29999 /*! INT7 - Interrupt Request 7
30000  *  0b0..The interrupt request for channel 7 is cleared
30001  *  0b1..The interrupt request for channel 7 is active
30002  */
30003 #define DMA_INT_INT7(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT7_SHIFT)) & DMA_INT_INT7_MASK)
30004 
30005 #define DMA_INT_INT8_MASK                        (0x100U)
30006 #define DMA_INT_INT8_SHIFT                       (8U)
30007 /*! INT8 - Interrupt Request 8
30008  *  0b0..The interrupt request for channel 8 is cleared
30009  *  0b1..The interrupt request for channel 8 is active
30010  */
30011 #define DMA_INT_INT8(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT8_SHIFT)) & DMA_INT_INT8_MASK)
30012 
30013 #define DMA_INT_INT9_MASK                        (0x200U)
30014 #define DMA_INT_INT9_SHIFT                       (9U)
30015 /*! INT9 - Interrupt Request 9
30016  *  0b0..The interrupt request for channel 9 is cleared
30017  *  0b1..The interrupt request for channel 9 is active
30018  */
30019 #define DMA_INT_INT9(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT9_SHIFT)) & DMA_INT_INT9_MASK)
30020 
30021 #define DMA_INT_INT10_MASK                       (0x400U)
30022 #define DMA_INT_INT10_SHIFT                      (10U)
30023 /*! INT10 - Interrupt Request 10
30024  *  0b0..The interrupt request for channel 10 is cleared
30025  *  0b1..The interrupt request for channel 10 is active
30026  */
30027 #define DMA_INT_INT10(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT10_SHIFT)) & DMA_INT_INT10_MASK)
30028 
30029 #define DMA_INT_INT11_MASK                       (0x800U)
30030 #define DMA_INT_INT11_SHIFT                      (11U)
30031 /*! INT11 - Interrupt Request 11
30032  *  0b0..The interrupt request for channel 11 is cleared
30033  *  0b1..The interrupt request for channel 11 is active
30034  */
30035 #define DMA_INT_INT11(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT11_SHIFT)) & DMA_INT_INT11_MASK)
30036 
30037 #define DMA_INT_INT12_MASK                       (0x1000U)
30038 #define DMA_INT_INT12_SHIFT                      (12U)
30039 /*! INT12 - Interrupt Request 12
30040  *  0b0..The interrupt request for channel 12 is cleared
30041  *  0b1..The interrupt request for channel 12 is active
30042  */
30043 #define DMA_INT_INT12(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT12_SHIFT)) & DMA_INT_INT12_MASK)
30044 
30045 #define DMA_INT_INT13_MASK                       (0x2000U)
30046 #define DMA_INT_INT13_SHIFT                      (13U)
30047 /*! INT13 - Interrupt Request 13
30048  *  0b0..The interrupt request for channel 13 is cleared
30049  *  0b1..The interrupt request for channel 13 is active
30050  */
30051 #define DMA_INT_INT13(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT13_SHIFT)) & DMA_INT_INT13_MASK)
30052 
30053 #define DMA_INT_INT14_MASK                       (0x4000U)
30054 #define DMA_INT_INT14_SHIFT                      (14U)
30055 /*! INT14 - Interrupt Request 14
30056  *  0b0..The interrupt request for channel 14 is cleared
30057  *  0b1..The interrupt request for channel 14 is active
30058  */
30059 #define DMA_INT_INT14(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT14_SHIFT)) & DMA_INT_INT14_MASK)
30060 
30061 #define DMA_INT_INT15_MASK                       (0x8000U)
30062 #define DMA_INT_INT15_SHIFT                      (15U)
30063 /*! INT15 - Interrupt Request 15
30064  *  0b0..The interrupt request for channel 15 is cleared
30065  *  0b1..The interrupt request for channel 15 is active
30066  */
30067 #define DMA_INT_INT15(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT15_SHIFT)) & DMA_INT_INT15_MASK)
30068 
30069 #define DMA_INT_INT16_MASK                       (0x10000U)
30070 #define DMA_INT_INT16_SHIFT                      (16U)
30071 /*! INT16 - Interrupt Request 16
30072  *  0b0..The interrupt request for channel 16 is cleared
30073  *  0b1..The interrupt request for channel 16 is active
30074  */
30075 #define DMA_INT_INT16(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT16_SHIFT)) & DMA_INT_INT16_MASK)
30076 
30077 #define DMA_INT_INT17_MASK                       (0x20000U)
30078 #define DMA_INT_INT17_SHIFT                      (17U)
30079 /*! INT17 - Interrupt Request 17
30080  *  0b0..The interrupt request for channel 17 is cleared
30081  *  0b1..The interrupt request for channel 17 is active
30082  */
30083 #define DMA_INT_INT17(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT17_SHIFT)) & DMA_INT_INT17_MASK)
30084 
30085 #define DMA_INT_INT18_MASK                       (0x40000U)
30086 #define DMA_INT_INT18_SHIFT                      (18U)
30087 /*! INT18 - Interrupt Request 18
30088  *  0b0..The interrupt request for channel 18 is cleared
30089  *  0b1..The interrupt request for channel 18 is active
30090  */
30091 #define DMA_INT_INT18(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT18_SHIFT)) & DMA_INT_INT18_MASK)
30092 
30093 #define DMA_INT_INT19_MASK                       (0x80000U)
30094 #define DMA_INT_INT19_SHIFT                      (19U)
30095 /*! INT19 - Interrupt Request 19
30096  *  0b0..The interrupt request for channel 19 is cleared
30097  *  0b1..The interrupt request for channel 19 is active
30098  */
30099 #define DMA_INT_INT19(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT19_SHIFT)) & DMA_INT_INT19_MASK)
30100 
30101 #define DMA_INT_INT20_MASK                       (0x100000U)
30102 #define DMA_INT_INT20_SHIFT                      (20U)
30103 /*! INT20 - Interrupt Request 20
30104  *  0b0..The interrupt request for channel 20 is cleared
30105  *  0b1..The interrupt request for channel 20 is active
30106  */
30107 #define DMA_INT_INT20(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT20_SHIFT)) & DMA_INT_INT20_MASK)
30108 
30109 #define DMA_INT_INT21_MASK                       (0x200000U)
30110 #define DMA_INT_INT21_SHIFT                      (21U)
30111 /*! INT21 - Interrupt Request 21
30112  *  0b0..The interrupt request for channel 21 is cleared
30113  *  0b1..The interrupt request for channel 21 is active
30114  */
30115 #define DMA_INT_INT21(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT21_SHIFT)) & DMA_INT_INT21_MASK)
30116 
30117 #define DMA_INT_INT22_MASK                       (0x400000U)
30118 #define DMA_INT_INT22_SHIFT                      (22U)
30119 /*! INT22 - Interrupt Request 22
30120  *  0b0..The interrupt request for channel 22 is cleared
30121  *  0b1..The interrupt request for channel 22 is active
30122  */
30123 #define DMA_INT_INT22(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT22_SHIFT)) & DMA_INT_INT22_MASK)
30124 
30125 #define DMA_INT_INT23_MASK                       (0x800000U)
30126 #define DMA_INT_INT23_SHIFT                      (23U)
30127 /*! INT23 - Interrupt Request 23
30128  *  0b0..The interrupt request for channel 23 is cleared
30129  *  0b1..The interrupt request for channel 23 is active
30130  */
30131 #define DMA_INT_INT23(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT23_SHIFT)) & DMA_INT_INT23_MASK)
30132 
30133 #define DMA_INT_INT24_MASK                       (0x1000000U)
30134 #define DMA_INT_INT24_SHIFT                      (24U)
30135 /*! INT24 - Interrupt Request 24
30136  *  0b0..The interrupt request for channel 24 is cleared
30137  *  0b1..The interrupt request for channel 24 is active
30138  */
30139 #define DMA_INT_INT24(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT24_SHIFT)) & DMA_INT_INT24_MASK)
30140 
30141 #define DMA_INT_INT25_MASK                       (0x2000000U)
30142 #define DMA_INT_INT25_SHIFT                      (25U)
30143 /*! INT25 - Interrupt Request 25
30144  *  0b0..The interrupt request for channel 25 is cleared
30145  *  0b1..The interrupt request for channel 25 is active
30146  */
30147 #define DMA_INT_INT25(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT25_SHIFT)) & DMA_INT_INT25_MASK)
30148 
30149 #define DMA_INT_INT26_MASK                       (0x4000000U)
30150 #define DMA_INT_INT26_SHIFT                      (26U)
30151 /*! INT26 - Interrupt Request 26
30152  *  0b0..The interrupt request for channel 26 is cleared
30153  *  0b1..The interrupt request for channel 26 is active
30154  */
30155 #define DMA_INT_INT26(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT26_SHIFT)) & DMA_INT_INT26_MASK)
30156 
30157 #define DMA_INT_INT27_MASK                       (0x8000000U)
30158 #define DMA_INT_INT27_SHIFT                      (27U)
30159 /*! INT27 - Interrupt Request 27
30160  *  0b0..The interrupt request for channel 27 is cleared
30161  *  0b1..The interrupt request for channel 27 is active
30162  */
30163 #define DMA_INT_INT27(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT27_SHIFT)) & DMA_INT_INT27_MASK)
30164 
30165 #define DMA_INT_INT28_MASK                       (0x10000000U)
30166 #define DMA_INT_INT28_SHIFT                      (28U)
30167 /*! INT28 - Interrupt Request 28
30168  *  0b0..The interrupt request for channel 28 is cleared
30169  *  0b1..The interrupt request for channel 28 is active
30170  */
30171 #define DMA_INT_INT28(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT28_SHIFT)) & DMA_INT_INT28_MASK)
30172 
30173 #define DMA_INT_INT29_MASK                       (0x20000000U)
30174 #define DMA_INT_INT29_SHIFT                      (29U)
30175 /*! INT29 - Interrupt Request 29
30176  *  0b0..The interrupt request for channel 29 is cleared
30177  *  0b1..The interrupt request for channel 29 is active
30178  */
30179 #define DMA_INT_INT29(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT29_SHIFT)) & DMA_INT_INT29_MASK)
30180 
30181 #define DMA_INT_INT30_MASK                       (0x40000000U)
30182 #define DMA_INT_INT30_SHIFT                      (30U)
30183 /*! INT30 - Interrupt Request 30
30184  *  0b0..The interrupt request for channel 30 is cleared
30185  *  0b1..The interrupt request for channel 30 is active
30186  */
30187 #define DMA_INT_INT30(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT30_SHIFT)) & DMA_INT_INT30_MASK)
30188 
30189 #define DMA_INT_INT31_MASK                       (0x80000000U)
30190 #define DMA_INT_INT31_SHIFT                      (31U)
30191 /*! INT31 - Interrupt Request 31
30192  *  0b0..The interrupt request for channel 31 is cleared
30193  *  0b1..The interrupt request for channel 31 is active
30194  */
30195 #define DMA_INT_INT31(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_INT_INT31_SHIFT)) & DMA_INT_INT31_MASK)
30196 /*! @} */
30197 
30198 /*! @name ERR - Error */
30199 /*! @{ */
30200 
30201 #define DMA_ERR_ERR0_MASK                        (0x1U)
30202 #define DMA_ERR_ERR0_SHIFT                       (0U)
30203 /*! ERR0 - Error In Channel 0
30204  *  0b0..No error in this channel has occurred
30205  *  0b1..An error in this channel has occurred
30206  */
30207 #define DMA_ERR_ERR0(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR0_SHIFT)) & DMA_ERR_ERR0_MASK)
30208 
30209 #define DMA_ERR_ERR1_MASK                        (0x2U)
30210 #define DMA_ERR_ERR1_SHIFT                       (1U)
30211 /*! ERR1 - Error In Channel 1
30212  *  0b0..No error in this channel has occurred
30213  *  0b1..An error in this channel has occurred
30214  */
30215 #define DMA_ERR_ERR1(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR1_SHIFT)) & DMA_ERR_ERR1_MASK)
30216 
30217 #define DMA_ERR_ERR2_MASK                        (0x4U)
30218 #define DMA_ERR_ERR2_SHIFT                       (2U)
30219 /*! ERR2 - Error In Channel 2
30220  *  0b0..No error in this channel has occurred
30221  *  0b1..An error in this channel has occurred
30222  */
30223 #define DMA_ERR_ERR2(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR2_SHIFT)) & DMA_ERR_ERR2_MASK)
30224 
30225 #define DMA_ERR_ERR3_MASK                        (0x8U)
30226 #define DMA_ERR_ERR3_SHIFT                       (3U)
30227 /*! ERR3 - Error In Channel 3
30228  *  0b0..No error in this channel has occurred
30229  *  0b1..An error in this channel has occurred
30230  */
30231 #define DMA_ERR_ERR3(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR3_SHIFT)) & DMA_ERR_ERR3_MASK)
30232 
30233 #define DMA_ERR_ERR4_MASK                        (0x10U)
30234 #define DMA_ERR_ERR4_SHIFT                       (4U)
30235 /*! ERR4 - Error In Channel 4
30236  *  0b0..No error in this channel has occurred
30237  *  0b1..An error in this channel has occurred
30238  */
30239 #define DMA_ERR_ERR4(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR4_SHIFT)) & DMA_ERR_ERR4_MASK)
30240 
30241 #define DMA_ERR_ERR5_MASK                        (0x20U)
30242 #define DMA_ERR_ERR5_SHIFT                       (5U)
30243 /*! ERR5 - Error In Channel 5
30244  *  0b0..No error in this channel has occurred
30245  *  0b1..An error in this channel has occurred
30246  */
30247 #define DMA_ERR_ERR5(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR5_SHIFT)) & DMA_ERR_ERR5_MASK)
30248 
30249 #define DMA_ERR_ERR6_MASK                        (0x40U)
30250 #define DMA_ERR_ERR6_SHIFT                       (6U)
30251 /*! ERR6 - Error In Channel 6
30252  *  0b0..No error in this channel has occurred
30253  *  0b1..An error in this channel has occurred
30254  */
30255 #define DMA_ERR_ERR6(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR6_SHIFT)) & DMA_ERR_ERR6_MASK)
30256 
30257 #define DMA_ERR_ERR7_MASK                        (0x80U)
30258 #define DMA_ERR_ERR7_SHIFT                       (7U)
30259 /*! ERR7 - Error In Channel 7
30260  *  0b0..No error in this channel has occurred
30261  *  0b1..An error in this channel has occurred
30262  */
30263 #define DMA_ERR_ERR7(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR7_SHIFT)) & DMA_ERR_ERR7_MASK)
30264 
30265 #define DMA_ERR_ERR8_MASK                        (0x100U)
30266 #define DMA_ERR_ERR8_SHIFT                       (8U)
30267 /*! ERR8 - Error In Channel 8
30268  *  0b0..No error in this channel has occurred
30269  *  0b1..An error in this channel has occurred
30270  */
30271 #define DMA_ERR_ERR8(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR8_SHIFT)) & DMA_ERR_ERR8_MASK)
30272 
30273 #define DMA_ERR_ERR9_MASK                        (0x200U)
30274 #define DMA_ERR_ERR9_SHIFT                       (9U)
30275 /*! ERR9 - Error In Channel 9
30276  *  0b0..No error in this channel has occurred
30277  *  0b1..An error in this channel has occurred
30278  */
30279 #define DMA_ERR_ERR9(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR9_SHIFT)) & DMA_ERR_ERR9_MASK)
30280 
30281 #define DMA_ERR_ERR10_MASK                       (0x400U)
30282 #define DMA_ERR_ERR10_SHIFT                      (10U)
30283 /*! ERR10 - Error In Channel 10
30284  *  0b0..No error in this channel has occurred
30285  *  0b1..An error in this channel has occurred
30286  */
30287 #define DMA_ERR_ERR10(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR10_SHIFT)) & DMA_ERR_ERR10_MASK)
30288 
30289 #define DMA_ERR_ERR11_MASK                       (0x800U)
30290 #define DMA_ERR_ERR11_SHIFT                      (11U)
30291 /*! ERR11 - Error In Channel 11
30292  *  0b0..No error in this channel has occurred
30293  *  0b1..An error in this channel has occurred
30294  */
30295 #define DMA_ERR_ERR11(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR11_SHIFT)) & DMA_ERR_ERR11_MASK)
30296 
30297 #define DMA_ERR_ERR12_MASK                       (0x1000U)
30298 #define DMA_ERR_ERR12_SHIFT                      (12U)
30299 /*! ERR12 - Error In Channel 12
30300  *  0b0..No error in this channel has occurred
30301  *  0b1..An error in this channel has occurred
30302  */
30303 #define DMA_ERR_ERR12(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR12_SHIFT)) & DMA_ERR_ERR12_MASK)
30304 
30305 #define DMA_ERR_ERR13_MASK                       (0x2000U)
30306 #define DMA_ERR_ERR13_SHIFT                      (13U)
30307 /*! ERR13 - Error In Channel 13
30308  *  0b0..No error in this channel has occurred
30309  *  0b1..An error in this channel has occurred
30310  */
30311 #define DMA_ERR_ERR13(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR13_SHIFT)) & DMA_ERR_ERR13_MASK)
30312 
30313 #define DMA_ERR_ERR14_MASK                       (0x4000U)
30314 #define DMA_ERR_ERR14_SHIFT                      (14U)
30315 /*! ERR14 - Error In Channel 14
30316  *  0b0..No error in this channel has occurred
30317  *  0b1..An error in this channel has occurred
30318  */
30319 #define DMA_ERR_ERR14(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR14_SHIFT)) & DMA_ERR_ERR14_MASK)
30320 
30321 #define DMA_ERR_ERR15_MASK                       (0x8000U)
30322 #define DMA_ERR_ERR15_SHIFT                      (15U)
30323 /*! ERR15 - Error In Channel 15
30324  *  0b0..No error in this channel has occurred
30325  *  0b1..An error in this channel has occurred
30326  */
30327 #define DMA_ERR_ERR15(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR15_SHIFT)) & DMA_ERR_ERR15_MASK)
30328 
30329 #define DMA_ERR_ERR16_MASK                       (0x10000U)
30330 #define DMA_ERR_ERR16_SHIFT                      (16U)
30331 /*! ERR16 - Error In Channel 16
30332  *  0b0..No error in this channel has occurred
30333  *  0b1..An error in this channel has occurred
30334  */
30335 #define DMA_ERR_ERR16(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR16_SHIFT)) & DMA_ERR_ERR16_MASK)
30336 
30337 #define DMA_ERR_ERR17_MASK                       (0x20000U)
30338 #define DMA_ERR_ERR17_SHIFT                      (17U)
30339 /*! ERR17 - Error In Channel 17
30340  *  0b0..No error in this channel has occurred
30341  *  0b1..An error in this channel has occurred
30342  */
30343 #define DMA_ERR_ERR17(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR17_SHIFT)) & DMA_ERR_ERR17_MASK)
30344 
30345 #define DMA_ERR_ERR18_MASK                       (0x40000U)
30346 #define DMA_ERR_ERR18_SHIFT                      (18U)
30347 /*! ERR18 - Error In Channel 18
30348  *  0b0..No error in this channel has occurred
30349  *  0b1..An error in this channel has occurred
30350  */
30351 #define DMA_ERR_ERR18(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR18_SHIFT)) & DMA_ERR_ERR18_MASK)
30352 
30353 #define DMA_ERR_ERR19_MASK                       (0x80000U)
30354 #define DMA_ERR_ERR19_SHIFT                      (19U)
30355 /*! ERR19 - Error In Channel 19
30356  *  0b0..No error in this channel has occurred
30357  *  0b1..An error in this channel has occurred
30358  */
30359 #define DMA_ERR_ERR19(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR19_SHIFT)) & DMA_ERR_ERR19_MASK)
30360 
30361 #define DMA_ERR_ERR20_MASK                       (0x100000U)
30362 #define DMA_ERR_ERR20_SHIFT                      (20U)
30363 /*! ERR20 - Error In Channel 20
30364  *  0b0..No error in this channel has occurred
30365  *  0b1..An error in this channel has occurred
30366  */
30367 #define DMA_ERR_ERR20(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR20_SHIFT)) & DMA_ERR_ERR20_MASK)
30368 
30369 #define DMA_ERR_ERR21_MASK                       (0x200000U)
30370 #define DMA_ERR_ERR21_SHIFT                      (21U)
30371 /*! ERR21 - Error In Channel 21
30372  *  0b0..No error in this channel has occurred
30373  *  0b1..An error in this channel has occurred
30374  */
30375 #define DMA_ERR_ERR21(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR21_SHIFT)) & DMA_ERR_ERR21_MASK)
30376 
30377 #define DMA_ERR_ERR22_MASK                       (0x400000U)
30378 #define DMA_ERR_ERR22_SHIFT                      (22U)
30379 /*! ERR22 - Error In Channel 22
30380  *  0b0..No error in this channel has occurred
30381  *  0b1..An error in this channel has occurred
30382  */
30383 #define DMA_ERR_ERR22(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR22_SHIFT)) & DMA_ERR_ERR22_MASK)
30384 
30385 #define DMA_ERR_ERR23_MASK                       (0x800000U)
30386 #define DMA_ERR_ERR23_SHIFT                      (23U)
30387 /*! ERR23 - Error In Channel 23
30388  *  0b0..No error in this channel has occurred
30389  *  0b1..An error in this channel has occurred
30390  */
30391 #define DMA_ERR_ERR23(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR23_SHIFT)) & DMA_ERR_ERR23_MASK)
30392 
30393 #define DMA_ERR_ERR24_MASK                       (0x1000000U)
30394 #define DMA_ERR_ERR24_SHIFT                      (24U)
30395 /*! ERR24 - Error In Channel 24
30396  *  0b0..No error in this channel has occurred
30397  *  0b1..An error in this channel has occurred
30398  */
30399 #define DMA_ERR_ERR24(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR24_SHIFT)) & DMA_ERR_ERR24_MASK)
30400 
30401 #define DMA_ERR_ERR25_MASK                       (0x2000000U)
30402 #define DMA_ERR_ERR25_SHIFT                      (25U)
30403 /*! ERR25 - Error In Channel 25
30404  *  0b0..No error in this channel has occurred
30405  *  0b1..An error in this channel has occurred
30406  */
30407 #define DMA_ERR_ERR25(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR25_SHIFT)) & DMA_ERR_ERR25_MASK)
30408 
30409 #define DMA_ERR_ERR26_MASK                       (0x4000000U)
30410 #define DMA_ERR_ERR26_SHIFT                      (26U)
30411 /*! ERR26 - Error In Channel 26
30412  *  0b0..No error in this channel has occurred
30413  *  0b1..An error in this channel has occurred
30414  */
30415 #define DMA_ERR_ERR26(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR26_SHIFT)) & DMA_ERR_ERR26_MASK)
30416 
30417 #define DMA_ERR_ERR27_MASK                       (0x8000000U)
30418 #define DMA_ERR_ERR27_SHIFT                      (27U)
30419 /*! ERR27 - Error In Channel 27
30420  *  0b0..No error in this channel has occurred
30421  *  0b1..An error in this channel has occurred
30422  */
30423 #define DMA_ERR_ERR27(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR27_SHIFT)) & DMA_ERR_ERR27_MASK)
30424 
30425 #define DMA_ERR_ERR28_MASK                       (0x10000000U)
30426 #define DMA_ERR_ERR28_SHIFT                      (28U)
30427 /*! ERR28 - Error In Channel 28
30428  *  0b0..No error in this channel has occurred
30429  *  0b1..An error in this channel has occurred
30430  */
30431 #define DMA_ERR_ERR28(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR28_SHIFT)) & DMA_ERR_ERR28_MASK)
30432 
30433 #define DMA_ERR_ERR29_MASK                       (0x20000000U)
30434 #define DMA_ERR_ERR29_SHIFT                      (29U)
30435 /*! ERR29 - Error In Channel 29
30436  *  0b0..No error in this channel has occurred
30437  *  0b1..An error in this channel has occurred
30438  */
30439 #define DMA_ERR_ERR29(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR29_SHIFT)) & DMA_ERR_ERR29_MASK)
30440 
30441 #define DMA_ERR_ERR30_MASK                       (0x40000000U)
30442 #define DMA_ERR_ERR30_SHIFT                      (30U)
30443 /*! ERR30 - Error In Channel 30
30444  *  0b0..No error in this channel has occurred
30445  *  0b1..An error in this channel has occurred
30446  */
30447 #define DMA_ERR_ERR30(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR30_SHIFT)) & DMA_ERR_ERR30_MASK)
30448 
30449 #define DMA_ERR_ERR31_MASK                       (0x80000000U)
30450 #define DMA_ERR_ERR31_SHIFT                      (31U)
30451 /*! ERR31 - Error In Channel 31
30452  *  0b0..No error in this channel has occurred
30453  *  0b1..An error in this channel has occurred
30454  */
30455 #define DMA_ERR_ERR31(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_ERR_ERR31_SHIFT)) & DMA_ERR_ERR31_MASK)
30456 /*! @} */
30457 
30458 /*! @name HRS - Hardware Request Status */
30459 /*! @{ */
30460 
30461 #define DMA_HRS_HRS0_MASK                        (0x1U)
30462 #define DMA_HRS_HRS0_SHIFT                       (0U)
30463 /*! HRS0 - Hardware Request Status Channel 0
30464  *  0b0..A hardware service request for channel 0 is not present
30465  *  0b1..A hardware service request for channel 0 is present
30466  */
30467 #define DMA_HRS_HRS0(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS0_SHIFT)) & DMA_HRS_HRS0_MASK)
30468 
30469 #define DMA_HRS_HRS1_MASK                        (0x2U)
30470 #define DMA_HRS_HRS1_SHIFT                       (1U)
30471 /*! HRS1 - Hardware Request Status Channel 1
30472  *  0b0..A hardware service request for channel 1 is not present
30473  *  0b1..A hardware service request for channel 1 is present
30474  */
30475 #define DMA_HRS_HRS1(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS1_SHIFT)) & DMA_HRS_HRS1_MASK)
30476 
30477 #define DMA_HRS_HRS2_MASK                        (0x4U)
30478 #define DMA_HRS_HRS2_SHIFT                       (2U)
30479 /*! HRS2 - Hardware Request Status Channel 2
30480  *  0b0..A hardware service request for channel 2 is not present
30481  *  0b1..A hardware service request for channel 2 is present
30482  */
30483 #define DMA_HRS_HRS2(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS2_SHIFT)) & DMA_HRS_HRS2_MASK)
30484 
30485 #define DMA_HRS_HRS3_MASK                        (0x8U)
30486 #define DMA_HRS_HRS3_SHIFT                       (3U)
30487 /*! HRS3 - Hardware Request Status Channel 3
30488  *  0b0..A hardware service request for channel 3 is not present
30489  *  0b1..A hardware service request for channel 3 is present
30490  */
30491 #define DMA_HRS_HRS3(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS3_SHIFT)) & DMA_HRS_HRS3_MASK)
30492 
30493 #define DMA_HRS_HRS4_MASK                        (0x10U)
30494 #define DMA_HRS_HRS4_SHIFT                       (4U)
30495 /*! HRS4 - Hardware Request Status Channel 4
30496  *  0b0..A hardware service request for channel 4 is not present
30497  *  0b1..A hardware service request for channel 4 is present
30498  */
30499 #define DMA_HRS_HRS4(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS4_SHIFT)) & DMA_HRS_HRS4_MASK)
30500 
30501 #define DMA_HRS_HRS5_MASK                        (0x20U)
30502 #define DMA_HRS_HRS5_SHIFT                       (5U)
30503 /*! HRS5 - Hardware Request Status Channel 5
30504  *  0b0..A hardware service request for channel 5 is not present
30505  *  0b1..A hardware service request for channel 5 is present
30506  */
30507 #define DMA_HRS_HRS5(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS5_SHIFT)) & DMA_HRS_HRS5_MASK)
30508 
30509 #define DMA_HRS_HRS6_MASK                        (0x40U)
30510 #define DMA_HRS_HRS6_SHIFT                       (6U)
30511 /*! HRS6 - Hardware Request Status Channel 6
30512  *  0b0..A hardware service request for channel 6 is not present
30513  *  0b1..A hardware service request for channel 6 is present
30514  */
30515 #define DMA_HRS_HRS6(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS6_SHIFT)) & DMA_HRS_HRS6_MASK)
30516 
30517 #define DMA_HRS_HRS7_MASK                        (0x80U)
30518 #define DMA_HRS_HRS7_SHIFT                       (7U)
30519 /*! HRS7 - Hardware Request Status Channel 7
30520  *  0b0..A hardware service request for channel 7 is not present
30521  *  0b1..A hardware service request for channel 7 is present
30522  */
30523 #define DMA_HRS_HRS7(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS7_SHIFT)) & DMA_HRS_HRS7_MASK)
30524 
30525 #define DMA_HRS_HRS8_MASK                        (0x100U)
30526 #define DMA_HRS_HRS8_SHIFT                       (8U)
30527 /*! HRS8 - Hardware Request Status Channel 8
30528  *  0b0..A hardware service request for channel 8 is not present
30529  *  0b1..A hardware service request for channel 8 is present
30530  */
30531 #define DMA_HRS_HRS8(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS8_SHIFT)) & DMA_HRS_HRS8_MASK)
30532 
30533 #define DMA_HRS_HRS9_MASK                        (0x200U)
30534 #define DMA_HRS_HRS9_SHIFT                       (9U)
30535 /*! HRS9 - Hardware Request Status Channel 9
30536  *  0b0..A hardware service request for channel 9 is not present
30537  *  0b1..A hardware service request for channel 9 is present
30538  */
30539 #define DMA_HRS_HRS9(x)                          (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS9_SHIFT)) & DMA_HRS_HRS9_MASK)
30540 
30541 #define DMA_HRS_HRS10_MASK                       (0x400U)
30542 #define DMA_HRS_HRS10_SHIFT                      (10U)
30543 /*! HRS10 - Hardware Request Status Channel 10
30544  *  0b0..A hardware service request for channel 10 is not present
30545  *  0b1..A hardware service request for channel 10 is present
30546  */
30547 #define DMA_HRS_HRS10(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS10_SHIFT)) & DMA_HRS_HRS10_MASK)
30548 
30549 #define DMA_HRS_HRS11_MASK                       (0x800U)
30550 #define DMA_HRS_HRS11_SHIFT                      (11U)
30551 /*! HRS11 - Hardware Request Status Channel 11
30552  *  0b0..A hardware service request for channel 11 is not present
30553  *  0b1..A hardware service request for channel 11 is present
30554  */
30555 #define DMA_HRS_HRS11(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS11_SHIFT)) & DMA_HRS_HRS11_MASK)
30556 
30557 #define DMA_HRS_HRS12_MASK                       (0x1000U)
30558 #define DMA_HRS_HRS12_SHIFT                      (12U)
30559 /*! HRS12 - Hardware Request Status Channel 12
30560  *  0b0..A hardware service request for channel 12 is not present
30561  *  0b1..A hardware service request for channel 12 is present
30562  */
30563 #define DMA_HRS_HRS12(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS12_SHIFT)) & DMA_HRS_HRS12_MASK)
30564 
30565 #define DMA_HRS_HRS13_MASK                       (0x2000U)
30566 #define DMA_HRS_HRS13_SHIFT                      (13U)
30567 /*! HRS13 - Hardware Request Status Channel 13
30568  *  0b0..A hardware service request for channel 13 is not present
30569  *  0b1..A hardware service request for channel 13 is present
30570  */
30571 #define DMA_HRS_HRS13(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS13_SHIFT)) & DMA_HRS_HRS13_MASK)
30572 
30573 #define DMA_HRS_HRS14_MASK                       (0x4000U)
30574 #define DMA_HRS_HRS14_SHIFT                      (14U)
30575 /*! HRS14 - Hardware Request Status Channel 14
30576  *  0b0..A hardware service request for channel 14 is not present
30577  *  0b1..A hardware service request for channel 14 is present
30578  */
30579 #define DMA_HRS_HRS14(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS14_SHIFT)) & DMA_HRS_HRS14_MASK)
30580 
30581 #define DMA_HRS_HRS15_MASK                       (0x8000U)
30582 #define DMA_HRS_HRS15_SHIFT                      (15U)
30583 /*! HRS15 - Hardware Request Status Channel 15
30584  *  0b0..A hardware service request for channel 15 is not present
30585  *  0b1..A hardware service request for channel 15 is present
30586  */
30587 #define DMA_HRS_HRS15(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS15_SHIFT)) & DMA_HRS_HRS15_MASK)
30588 
30589 #define DMA_HRS_HRS16_MASK                       (0x10000U)
30590 #define DMA_HRS_HRS16_SHIFT                      (16U)
30591 /*! HRS16 - Hardware Request Status Channel 16
30592  *  0b0..A hardware service request for channel 16 is not present
30593  *  0b1..A hardware service request for channel 16 is present
30594  */
30595 #define DMA_HRS_HRS16(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS16_SHIFT)) & DMA_HRS_HRS16_MASK)
30596 
30597 #define DMA_HRS_HRS17_MASK                       (0x20000U)
30598 #define DMA_HRS_HRS17_SHIFT                      (17U)
30599 /*! HRS17 - Hardware Request Status Channel 17
30600  *  0b0..A hardware service request for channel 17 is not present
30601  *  0b1..A hardware service request for channel 17 is present
30602  */
30603 #define DMA_HRS_HRS17(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS17_SHIFT)) & DMA_HRS_HRS17_MASK)
30604 
30605 #define DMA_HRS_HRS18_MASK                       (0x40000U)
30606 #define DMA_HRS_HRS18_SHIFT                      (18U)
30607 /*! HRS18 - Hardware Request Status Channel 18
30608  *  0b0..A hardware service request for channel 18 is not present
30609  *  0b1..A hardware service request for channel 18 is present
30610  */
30611 #define DMA_HRS_HRS18(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS18_SHIFT)) & DMA_HRS_HRS18_MASK)
30612 
30613 #define DMA_HRS_HRS19_MASK                       (0x80000U)
30614 #define DMA_HRS_HRS19_SHIFT                      (19U)
30615 /*! HRS19 - Hardware Request Status Channel 19
30616  *  0b0..A hardware service request for channel 19 is not present
30617  *  0b1..A hardware service request for channel 19 is present
30618  */
30619 #define DMA_HRS_HRS19(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS19_SHIFT)) & DMA_HRS_HRS19_MASK)
30620 
30621 #define DMA_HRS_HRS20_MASK                       (0x100000U)
30622 #define DMA_HRS_HRS20_SHIFT                      (20U)
30623 /*! HRS20 - Hardware Request Status Channel 20
30624  *  0b0..A hardware service request for channel 20 is not present
30625  *  0b1..A hardware service request for channel 20 is present
30626  */
30627 #define DMA_HRS_HRS20(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS20_SHIFT)) & DMA_HRS_HRS20_MASK)
30628 
30629 #define DMA_HRS_HRS21_MASK                       (0x200000U)
30630 #define DMA_HRS_HRS21_SHIFT                      (21U)
30631 /*! HRS21 - Hardware Request Status Channel 21
30632  *  0b0..A hardware service request for channel 21 is not present
30633  *  0b1..A hardware service request for channel 21 is present
30634  */
30635 #define DMA_HRS_HRS21(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS21_SHIFT)) & DMA_HRS_HRS21_MASK)
30636 
30637 #define DMA_HRS_HRS22_MASK                       (0x400000U)
30638 #define DMA_HRS_HRS22_SHIFT                      (22U)
30639 /*! HRS22 - Hardware Request Status Channel 22
30640  *  0b0..A hardware service request for channel 22 is not present
30641  *  0b1..A hardware service request for channel 22 is present
30642  */
30643 #define DMA_HRS_HRS22(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS22_SHIFT)) & DMA_HRS_HRS22_MASK)
30644 
30645 #define DMA_HRS_HRS23_MASK                       (0x800000U)
30646 #define DMA_HRS_HRS23_SHIFT                      (23U)
30647 /*! HRS23 - Hardware Request Status Channel 23
30648  *  0b0..A hardware service request for channel 23 is not present
30649  *  0b1..A hardware service request for channel 23 is present
30650  */
30651 #define DMA_HRS_HRS23(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS23_SHIFT)) & DMA_HRS_HRS23_MASK)
30652 
30653 #define DMA_HRS_HRS24_MASK                       (0x1000000U)
30654 #define DMA_HRS_HRS24_SHIFT                      (24U)
30655 /*! HRS24 - Hardware Request Status Channel 24
30656  *  0b0..A hardware service request for channel 24 is not present
30657  *  0b1..A hardware service request for channel 24 is present
30658  */
30659 #define DMA_HRS_HRS24(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS24_SHIFT)) & DMA_HRS_HRS24_MASK)
30660 
30661 #define DMA_HRS_HRS25_MASK                       (0x2000000U)
30662 #define DMA_HRS_HRS25_SHIFT                      (25U)
30663 /*! HRS25 - Hardware Request Status Channel 25
30664  *  0b0..A hardware service request for channel 25 is not present
30665  *  0b1..A hardware service request for channel 25 is present
30666  */
30667 #define DMA_HRS_HRS25(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS25_SHIFT)) & DMA_HRS_HRS25_MASK)
30668 
30669 #define DMA_HRS_HRS26_MASK                       (0x4000000U)
30670 #define DMA_HRS_HRS26_SHIFT                      (26U)
30671 /*! HRS26 - Hardware Request Status Channel 26
30672  *  0b0..A hardware service request for channel 26 is not present
30673  *  0b1..A hardware service request for channel 26 is present
30674  */
30675 #define DMA_HRS_HRS26(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS26_SHIFT)) & DMA_HRS_HRS26_MASK)
30676 
30677 #define DMA_HRS_HRS27_MASK                       (0x8000000U)
30678 #define DMA_HRS_HRS27_SHIFT                      (27U)
30679 /*! HRS27 - Hardware Request Status Channel 27
30680  *  0b0..A hardware service request for channel 27 is not present
30681  *  0b1..A hardware service request for channel 27 is present
30682  */
30683 #define DMA_HRS_HRS27(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS27_SHIFT)) & DMA_HRS_HRS27_MASK)
30684 
30685 #define DMA_HRS_HRS28_MASK                       (0x10000000U)
30686 #define DMA_HRS_HRS28_SHIFT                      (28U)
30687 /*! HRS28 - Hardware Request Status Channel 28
30688  *  0b0..A hardware service request for channel 28 is not present
30689  *  0b1..A hardware service request for channel 28 is present
30690  */
30691 #define DMA_HRS_HRS28(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS28_SHIFT)) & DMA_HRS_HRS28_MASK)
30692 
30693 #define DMA_HRS_HRS29_MASK                       (0x20000000U)
30694 #define DMA_HRS_HRS29_SHIFT                      (29U)
30695 /*! HRS29 - Hardware Request Status Channel 29
30696  *  0b0..A hardware service request for channel 29 is not preset
30697  *  0b1..A hardware service request for channel 29 is present
30698  */
30699 #define DMA_HRS_HRS29(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS29_SHIFT)) & DMA_HRS_HRS29_MASK)
30700 
30701 #define DMA_HRS_HRS30_MASK                       (0x40000000U)
30702 #define DMA_HRS_HRS30_SHIFT                      (30U)
30703 /*! HRS30 - Hardware Request Status Channel 30
30704  *  0b0..A hardware service request for channel 30 is not present
30705  *  0b1..A hardware service request for channel 30 is present
30706  */
30707 #define DMA_HRS_HRS30(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS30_SHIFT)) & DMA_HRS_HRS30_MASK)
30708 
30709 #define DMA_HRS_HRS31_MASK                       (0x80000000U)
30710 #define DMA_HRS_HRS31_SHIFT                      (31U)
30711 /*! HRS31 - Hardware Request Status Channel 31
30712  *  0b0..A hardware service request for channel 31 is not present
30713  *  0b1..A hardware service request for channel 31 is present
30714  */
30715 #define DMA_HRS_HRS31(x)                         (((uint32_t)(((uint32_t)(x)) << DMA_HRS_HRS31_SHIFT)) & DMA_HRS_HRS31_MASK)
30716 /*! @} */
30717 
30718 /*! @name EARS - Enable Asynchronous Request in Stop */
30719 /*! @{ */
30720 
30721 #define DMA_EARS_EDREQ_0_MASK                    (0x1U)
30722 #define DMA_EARS_EDREQ_0_SHIFT                   (0U)
30723 /*! EDREQ_0 - Enable asynchronous DMA request in stop mode for channel 0.
30724  *  0b0..Disable asynchronous DMA request for channel 0
30725  *  0b1..Enable asynchronous DMA request for channel 0
30726  */
30727 #define DMA_EARS_EDREQ_0(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_0_SHIFT)) & DMA_EARS_EDREQ_0_MASK)
30728 
30729 #define DMA_EARS_EDREQ_1_MASK                    (0x2U)
30730 #define DMA_EARS_EDREQ_1_SHIFT                   (1U)
30731 /*! EDREQ_1 - Enable asynchronous DMA request in stop mode for channel 1.
30732  *  0b0..Disable asynchronous DMA request for channel 1
30733  *  0b1..Enable asynchronous DMA request for channel 1
30734  */
30735 #define DMA_EARS_EDREQ_1(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_1_SHIFT)) & DMA_EARS_EDREQ_1_MASK)
30736 
30737 #define DMA_EARS_EDREQ_2_MASK                    (0x4U)
30738 #define DMA_EARS_EDREQ_2_SHIFT                   (2U)
30739 /*! EDREQ_2 - Enable asynchronous DMA request in stop mode for channel 2.
30740  *  0b0..Disable asynchronous DMA request for channel 2
30741  *  0b1..Enable asynchronous DMA request for channel 2
30742  */
30743 #define DMA_EARS_EDREQ_2(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_2_SHIFT)) & DMA_EARS_EDREQ_2_MASK)
30744 
30745 #define DMA_EARS_EDREQ_3_MASK                    (0x8U)
30746 #define DMA_EARS_EDREQ_3_SHIFT                   (3U)
30747 /*! EDREQ_3 - Enable asynchronous DMA request in stop mode for channel 3.
30748  *  0b0..Disable asynchronous DMA request for channel 3
30749  *  0b1..Enable asynchronous DMA request for channel 3
30750  */
30751 #define DMA_EARS_EDREQ_3(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_3_SHIFT)) & DMA_EARS_EDREQ_3_MASK)
30752 
30753 #define DMA_EARS_EDREQ_4_MASK                    (0x10U)
30754 #define DMA_EARS_EDREQ_4_SHIFT                   (4U)
30755 /*! EDREQ_4 - Enable asynchronous DMA request in stop mode for channel 4.
30756  *  0b0..Disable asynchronous DMA request for channel 4
30757  *  0b1..Enable asynchronous DMA request for channel 4
30758  */
30759 #define DMA_EARS_EDREQ_4(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_4_SHIFT)) & DMA_EARS_EDREQ_4_MASK)
30760 
30761 #define DMA_EARS_EDREQ_5_MASK                    (0x20U)
30762 #define DMA_EARS_EDREQ_5_SHIFT                   (5U)
30763 /*! EDREQ_5 - Enable asynchronous DMA request in stop mode for channel 5.
30764  *  0b0..Disable asynchronous DMA request for channel 5
30765  *  0b1..Enable asynchronous DMA request for channel 5
30766  */
30767 #define DMA_EARS_EDREQ_5(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_5_SHIFT)) & DMA_EARS_EDREQ_5_MASK)
30768 
30769 #define DMA_EARS_EDREQ_6_MASK                    (0x40U)
30770 #define DMA_EARS_EDREQ_6_SHIFT                   (6U)
30771 /*! EDREQ_6 - Enable asynchronous DMA request in stop mode for channel 6.
30772  *  0b0..Disable asynchronous DMA request for channel 6
30773  *  0b1..Enable asynchronous DMA request for channel 6
30774  */
30775 #define DMA_EARS_EDREQ_6(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_6_SHIFT)) & DMA_EARS_EDREQ_6_MASK)
30776 
30777 #define DMA_EARS_EDREQ_7_MASK                    (0x80U)
30778 #define DMA_EARS_EDREQ_7_SHIFT                   (7U)
30779 /*! EDREQ_7 - Enable asynchronous DMA request in stop mode for channel 7.
30780  *  0b0..Disable asynchronous DMA request for channel 7
30781  *  0b1..Enable asynchronous DMA request for channel 7
30782  */
30783 #define DMA_EARS_EDREQ_7(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_7_SHIFT)) & DMA_EARS_EDREQ_7_MASK)
30784 
30785 #define DMA_EARS_EDREQ_8_MASK                    (0x100U)
30786 #define DMA_EARS_EDREQ_8_SHIFT                   (8U)
30787 /*! EDREQ_8 - Enable asynchronous DMA request in stop mode for channel 8.
30788  *  0b0..Disable asynchronous DMA request for channel 8
30789  *  0b1..Enable asynchronous DMA request for channel 8
30790  */
30791 #define DMA_EARS_EDREQ_8(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_8_SHIFT)) & DMA_EARS_EDREQ_8_MASK)
30792 
30793 #define DMA_EARS_EDREQ_9_MASK                    (0x200U)
30794 #define DMA_EARS_EDREQ_9_SHIFT                   (9U)
30795 /*! EDREQ_9 - Enable asynchronous DMA request in stop mode for channel 9.
30796  *  0b0..Disable asynchronous DMA request for channel 9
30797  *  0b1..Enable asynchronous DMA request for channel 9
30798  */
30799 #define DMA_EARS_EDREQ_9(x)                      (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_9_SHIFT)) & DMA_EARS_EDREQ_9_MASK)
30800 
30801 #define DMA_EARS_EDREQ_10_MASK                   (0x400U)
30802 #define DMA_EARS_EDREQ_10_SHIFT                  (10U)
30803 /*! EDREQ_10 - Enable asynchronous DMA request in stop mode for channel 10.
30804  *  0b0..Disable asynchronous DMA request for channel 10
30805  *  0b1..Enable asynchronous DMA request for channel 10
30806  */
30807 #define DMA_EARS_EDREQ_10(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_10_SHIFT)) & DMA_EARS_EDREQ_10_MASK)
30808 
30809 #define DMA_EARS_EDREQ_11_MASK                   (0x800U)
30810 #define DMA_EARS_EDREQ_11_SHIFT                  (11U)
30811 /*! EDREQ_11 - Enable asynchronous DMA request in stop mode for channel 11.
30812  *  0b0..Disable asynchronous DMA request for channel 11
30813  *  0b1..Enable asynchronous DMA request for channel 11
30814  */
30815 #define DMA_EARS_EDREQ_11(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_11_SHIFT)) & DMA_EARS_EDREQ_11_MASK)
30816 
30817 #define DMA_EARS_EDREQ_12_MASK                   (0x1000U)
30818 #define DMA_EARS_EDREQ_12_SHIFT                  (12U)
30819 /*! EDREQ_12 - Enable asynchronous DMA request in stop mode for channel 12.
30820  *  0b0..Disable asynchronous DMA request for channel 12
30821  *  0b1..Enable asynchronous DMA request for channel 12
30822  */
30823 #define DMA_EARS_EDREQ_12(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_12_SHIFT)) & DMA_EARS_EDREQ_12_MASK)
30824 
30825 #define DMA_EARS_EDREQ_13_MASK                   (0x2000U)
30826 #define DMA_EARS_EDREQ_13_SHIFT                  (13U)
30827 /*! EDREQ_13 - Enable asynchronous DMA request in stop mode for channel 13.
30828  *  0b0..Disable asynchronous DMA request for channel 13
30829  *  0b1..Enable asynchronous DMA request for channel 13
30830  */
30831 #define DMA_EARS_EDREQ_13(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_13_SHIFT)) & DMA_EARS_EDREQ_13_MASK)
30832 
30833 #define DMA_EARS_EDREQ_14_MASK                   (0x4000U)
30834 #define DMA_EARS_EDREQ_14_SHIFT                  (14U)
30835 /*! EDREQ_14 - Enable asynchronous DMA request in stop mode for channel 14.
30836  *  0b0..Disable asynchronous DMA request for channel 14
30837  *  0b1..Enable asynchronous DMA request for channel 14
30838  */
30839 #define DMA_EARS_EDREQ_14(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_14_SHIFT)) & DMA_EARS_EDREQ_14_MASK)
30840 
30841 #define DMA_EARS_EDREQ_15_MASK                   (0x8000U)
30842 #define DMA_EARS_EDREQ_15_SHIFT                  (15U)
30843 /*! EDREQ_15 - Enable asynchronous DMA request in stop mode for channel 15.
30844  *  0b0..Disable asynchronous DMA request for channel 15
30845  *  0b1..Enable asynchronous DMA request for channel 15
30846  */
30847 #define DMA_EARS_EDREQ_15(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_15_SHIFT)) & DMA_EARS_EDREQ_15_MASK)
30848 
30849 #define DMA_EARS_EDREQ_16_MASK                   (0x10000U)
30850 #define DMA_EARS_EDREQ_16_SHIFT                  (16U)
30851 /*! EDREQ_16 - Enable asynchronous DMA request in stop mode for channel 16.
30852  *  0b0..Disable asynchronous DMA request for channel 16
30853  *  0b1..Enable asynchronous DMA request for channel 16
30854  */
30855 #define DMA_EARS_EDREQ_16(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_16_SHIFT)) & DMA_EARS_EDREQ_16_MASK)
30856 
30857 #define DMA_EARS_EDREQ_17_MASK                   (0x20000U)
30858 #define DMA_EARS_EDREQ_17_SHIFT                  (17U)
30859 /*! EDREQ_17 - Enable asynchronous DMA request in stop mode for channel 17.
30860  *  0b0..Disable asynchronous DMA request for channel 17
30861  *  0b1..Enable asynchronous DMA request for channel 17
30862  */
30863 #define DMA_EARS_EDREQ_17(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_17_SHIFT)) & DMA_EARS_EDREQ_17_MASK)
30864 
30865 #define DMA_EARS_EDREQ_18_MASK                   (0x40000U)
30866 #define DMA_EARS_EDREQ_18_SHIFT                  (18U)
30867 /*! EDREQ_18 - Enable asynchronous DMA request in stop mode for channel 18.
30868  *  0b0..Disable asynchronous DMA request for channel 18
30869  *  0b1..Enable asynchronous DMA request for channel 18
30870  */
30871 #define DMA_EARS_EDREQ_18(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_18_SHIFT)) & DMA_EARS_EDREQ_18_MASK)
30872 
30873 #define DMA_EARS_EDREQ_19_MASK                   (0x80000U)
30874 #define DMA_EARS_EDREQ_19_SHIFT                  (19U)
30875 /*! EDREQ_19 - Enable asynchronous DMA request in stop mode for channel 19.
30876  *  0b0..Disable asynchronous DMA request for channel 19
30877  *  0b1..Enable asynchronous DMA request for channel 19
30878  */
30879 #define DMA_EARS_EDREQ_19(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_19_SHIFT)) & DMA_EARS_EDREQ_19_MASK)
30880 
30881 #define DMA_EARS_EDREQ_20_MASK                   (0x100000U)
30882 #define DMA_EARS_EDREQ_20_SHIFT                  (20U)
30883 /*! EDREQ_20 - Enable asynchronous DMA request in stop mode for channel 20.
30884  *  0b0..Disable asynchronous DMA request for channel 20
30885  *  0b1..Enable asynchronous DMA request for channel 20
30886  */
30887 #define DMA_EARS_EDREQ_20(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_20_SHIFT)) & DMA_EARS_EDREQ_20_MASK)
30888 
30889 #define DMA_EARS_EDREQ_21_MASK                   (0x200000U)
30890 #define DMA_EARS_EDREQ_21_SHIFT                  (21U)
30891 /*! EDREQ_21 - Enable asynchronous DMA request in stop mode for channel 21.
30892  *  0b0..Disable asynchronous DMA request for channel 21
30893  *  0b1..Enable asynchronous DMA request for channel 21
30894  */
30895 #define DMA_EARS_EDREQ_21(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_21_SHIFT)) & DMA_EARS_EDREQ_21_MASK)
30896 
30897 #define DMA_EARS_EDREQ_22_MASK                   (0x400000U)
30898 #define DMA_EARS_EDREQ_22_SHIFT                  (22U)
30899 /*! EDREQ_22 - Enable asynchronous DMA request in stop mode for channel 22.
30900  *  0b0..Disable asynchronous DMA request for channel 22
30901  *  0b1..Enable asynchronous DMA request for channel 22
30902  */
30903 #define DMA_EARS_EDREQ_22(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_22_SHIFT)) & DMA_EARS_EDREQ_22_MASK)
30904 
30905 #define DMA_EARS_EDREQ_23_MASK                   (0x800000U)
30906 #define DMA_EARS_EDREQ_23_SHIFT                  (23U)
30907 /*! EDREQ_23 - Enable asynchronous DMA request in stop mode for channel 23.
30908  *  0b0..Disable asynchronous DMA request for channel 23
30909  *  0b1..Enable asynchronous DMA request for channel 23
30910  */
30911 #define DMA_EARS_EDREQ_23(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_23_SHIFT)) & DMA_EARS_EDREQ_23_MASK)
30912 
30913 #define DMA_EARS_EDREQ_24_MASK                   (0x1000000U)
30914 #define DMA_EARS_EDREQ_24_SHIFT                  (24U)
30915 /*! EDREQ_24 - Enable asynchronous DMA request in stop mode for channel 24.
30916  *  0b0..Disable asynchronous DMA request for channel 24
30917  *  0b1..Enable asynchronous DMA request for channel 24
30918  */
30919 #define DMA_EARS_EDREQ_24(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_24_SHIFT)) & DMA_EARS_EDREQ_24_MASK)
30920 
30921 #define DMA_EARS_EDREQ_25_MASK                   (0x2000000U)
30922 #define DMA_EARS_EDREQ_25_SHIFT                  (25U)
30923 /*! EDREQ_25 - Enable asynchronous DMA request in stop mode for channel 25.
30924  *  0b0..Disable asynchronous DMA request for channel 25
30925  *  0b1..Enable asynchronous DMA request for channel 25
30926  */
30927 #define DMA_EARS_EDREQ_25(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_25_SHIFT)) & DMA_EARS_EDREQ_25_MASK)
30928 
30929 #define DMA_EARS_EDREQ_26_MASK                   (0x4000000U)
30930 #define DMA_EARS_EDREQ_26_SHIFT                  (26U)
30931 /*! EDREQ_26 - Enable asynchronous DMA request in stop mode for channel 26.
30932  *  0b0..Disable asynchronous DMA request for channel 26
30933  *  0b1..Enable asynchronous DMA request for channel 26
30934  */
30935 #define DMA_EARS_EDREQ_26(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_26_SHIFT)) & DMA_EARS_EDREQ_26_MASK)
30936 
30937 #define DMA_EARS_EDREQ_27_MASK                   (0x8000000U)
30938 #define DMA_EARS_EDREQ_27_SHIFT                  (27U)
30939 /*! EDREQ_27 - Enable asynchronous DMA request in stop mode for channel 27.
30940  *  0b0..Disable asynchronous DMA request for channel 27
30941  *  0b1..Enable asynchronous DMA request for channel 27
30942  */
30943 #define DMA_EARS_EDREQ_27(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_27_SHIFT)) & DMA_EARS_EDREQ_27_MASK)
30944 
30945 #define DMA_EARS_EDREQ_28_MASK                   (0x10000000U)
30946 #define DMA_EARS_EDREQ_28_SHIFT                  (28U)
30947 /*! EDREQ_28 - Enable asynchronous DMA request in stop mode for channel 28.
30948  *  0b0..Disable asynchronous DMA request for channel 28
30949  *  0b1..Enable asynchronous DMA request for channel 28
30950  */
30951 #define DMA_EARS_EDREQ_28(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_28_SHIFT)) & DMA_EARS_EDREQ_28_MASK)
30952 
30953 #define DMA_EARS_EDREQ_29_MASK                   (0x20000000U)
30954 #define DMA_EARS_EDREQ_29_SHIFT                  (29U)
30955 /*! EDREQ_29 - Enable asynchronous DMA request in stop mode for channel 29.
30956  *  0b0..Disable asynchronous DMA request for channel 29
30957  *  0b1..Enable asynchronous DMA request for channel 29
30958  */
30959 #define DMA_EARS_EDREQ_29(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_29_SHIFT)) & DMA_EARS_EDREQ_29_MASK)
30960 
30961 #define DMA_EARS_EDREQ_30_MASK                   (0x40000000U)
30962 #define DMA_EARS_EDREQ_30_SHIFT                  (30U)
30963 /*! EDREQ_30 - Enable asynchronous DMA request in stop mode for channel 30.
30964  *  0b0..Disable asynchronous DMA request for channel 30
30965  *  0b1..Enable asynchronous DMA request for channel 30
30966  */
30967 #define DMA_EARS_EDREQ_30(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_30_SHIFT)) & DMA_EARS_EDREQ_30_MASK)
30968 
30969 #define DMA_EARS_EDREQ_31_MASK                   (0x80000000U)
30970 #define DMA_EARS_EDREQ_31_SHIFT                  (31U)
30971 /*! EDREQ_31 - Enable asynchronous DMA request in stop mode for channel 31.
30972  *  0b0..Disable asynchronous DMA request for channel 31
30973  *  0b1..Enable asynchronous DMA request for channel 31
30974  */
30975 #define DMA_EARS_EDREQ_31(x)                     (((uint32_t)(((uint32_t)(x)) << DMA_EARS_EDREQ_31_SHIFT)) & DMA_EARS_EDREQ_31_MASK)
30976 /*! @} */
30977 
30978 /*! @name DCHPRI3 - Channel Priority */
30979 /*! @{ */
30980 
30981 #define DMA_DCHPRI3_CHPRI_MASK                   (0xFU)
30982 #define DMA_DCHPRI3_CHPRI_SHIFT                  (0U)
30983 /*! CHPRI - Channel n Arbitration Priority
30984  */
30985 #define DMA_DCHPRI3_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI3_CHPRI_SHIFT)) & DMA_DCHPRI3_CHPRI_MASK)
30986 
30987 #define DMA_DCHPRI3_GRPPRI_MASK                  (0x30U)
30988 #define DMA_DCHPRI3_GRPPRI_SHIFT                 (4U)
30989 /*! GRPPRI - Channel n Current Group Priority
30990  */
30991 #define DMA_DCHPRI3_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI3_GRPPRI_SHIFT)) & DMA_DCHPRI3_GRPPRI_MASK)
30992 
30993 #define DMA_DCHPRI3_DPA_MASK                     (0x40U)
30994 #define DMA_DCHPRI3_DPA_SHIFT                    (6U)
30995 /*! DPA - Disable Preempt Ability. This field resets to 0.
30996  *  0b0..Channel n can suspend a lower priority channel
30997  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
30998  */
30999 #define DMA_DCHPRI3_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI3_DPA_SHIFT)) & DMA_DCHPRI3_DPA_MASK)
31000 
31001 #define DMA_DCHPRI3_ECP_MASK                     (0x80U)
31002 #define DMA_DCHPRI3_ECP_SHIFT                    (7U)
31003 /*! ECP - Enable Channel Preemption. This field resets to 0.
31004  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31005  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31006  */
31007 #define DMA_DCHPRI3_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI3_ECP_SHIFT)) & DMA_DCHPRI3_ECP_MASK)
31008 /*! @} */
31009 
31010 /*! @name DCHPRI2 - Channel Priority */
31011 /*! @{ */
31012 
31013 #define DMA_DCHPRI2_CHPRI_MASK                   (0xFU)
31014 #define DMA_DCHPRI2_CHPRI_SHIFT                  (0U)
31015 /*! CHPRI - Channel n Arbitration Priority
31016  */
31017 #define DMA_DCHPRI2_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI2_CHPRI_SHIFT)) & DMA_DCHPRI2_CHPRI_MASK)
31018 
31019 #define DMA_DCHPRI2_GRPPRI_MASK                  (0x30U)
31020 #define DMA_DCHPRI2_GRPPRI_SHIFT                 (4U)
31021 /*! GRPPRI - Channel n Current Group Priority
31022  */
31023 #define DMA_DCHPRI2_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI2_GRPPRI_SHIFT)) & DMA_DCHPRI2_GRPPRI_MASK)
31024 
31025 #define DMA_DCHPRI2_DPA_MASK                     (0x40U)
31026 #define DMA_DCHPRI2_DPA_SHIFT                    (6U)
31027 /*! DPA - Disable Preempt Ability. This field resets to 0.
31028  *  0b0..Channel n can suspend a lower priority channel
31029  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31030  */
31031 #define DMA_DCHPRI2_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI2_DPA_SHIFT)) & DMA_DCHPRI2_DPA_MASK)
31032 
31033 #define DMA_DCHPRI2_ECP_MASK                     (0x80U)
31034 #define DMA_DCHPRI2_ECP_SHIFT                    (7U)
31035 /*! ECP - Enable Channel Preemption. This field resets to 0.
31036  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31037  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31038  */
31039 #define DMA_DCHPRI2_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI2_ECP_SHIFT)) & DMA_DCHPRI2_ECP_MASK)
31040 /*! @} */
31041 
31042 /*! @name DCHPRI1 - Channel Priority */
31043 /*! @{ */
31044 
31045 #define DMA_DCHPRI1_CHPRI_MASK                   (0xFU)
31046 #define DMA_DCHPRI1_CHPRI_SHIFT                  (0U)
31047 /*! CHPRI - Channel n Arbitration Priority
31048  */
31049 #define DMA_DCHPRI1_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI1_CHPRI_SHIFT)) & DMA_DCHPRI1_CHPRI_MASK)
31050 
31051 #define DMA_DCHPRI1_GRPPRI_MASK                  (0x30U)
31052 #define DMA_DCHPRI1_GRPPRI_SHIFT                 (4U)
31053 /*! GRPPRI - Channel n Current Group Priority
31054  */
31055 #define DMA_DCHPRI1_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI1_GRPPRI_SHIFT)) & DMA_DCHPRI1_GRPPRI_MASK)
31056 
31057 #define DMA_DCHPRI1_DPA_MASK                     (0x40U)
31058 #define DMA_DCHPRI1_DPA_SHIFT                    (6U)
31059 /*! DPA - Disable Preempt Ability. This field resets to 0.
31060  *  0b0..Channel n can suspend a lower priority channel
31061  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31062  */
31063 #define DMA_DCHPRI1_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI1_DPA_SHIFT)) & DMA_DCHPRI1_DPA_MASK)
31064 
31065 #define DMA_DCHPRI1_ECP_MASK                     (0x80U)
31066 #define DMA_DCHPRI1_ECP_SHIFT                    (7U)
31067 /*! ECP - Enable Channel Preemption. This field resets to 0.
31068  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31069  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31070  */
31071 #define DMA_DCHPRI1_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI1_ECP_SHIFT)) & DMA_DCHPRI1_ECP_MASK)
31072 /*! @} */
31073 
31074 /*! @name DCHPRI0 - Channel Priority */
31075 /*! @{ */
31076 
31077 #define DMA_DCHPRI0_CHPRI_MASK                   (0xFU)
31078 #define DMA_DCHPRI0_CHPRI_SHIFT                  (0U)
31079 /*! CHPRI - Channel n Arbitration Priority
31080  */
31081 #define DMA_DCHPRI0_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI0_CHPRI_SHIFT)) & DMA_DCHPRI0_CHPRI_MASK)
31082 
31083 #define DMA_DCHPRI0_GRPPRI_MASK                  (0x30U)
31084 #define DMA_DCHPRI0_GRPPRI_SHIFT                 (4U)
31085 /*! GRPPRI - Channel n Current Group Priority
31086  */
31087 #define DMA_DCHPRI0_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI0_GRPPRI_SHIFT)) & DMA_DCHPRI0_GRPPRI_MASK)
31088 
31089 #define DMA_DCHPRI0_DPA_MASK                     (0x40U)
31090 #define DMA_DCHPRI0_DPA_SHIFT                    (6U)
31091 /*! DPA - Disable Preempt Ability. This field resets to 0.
31092  *  0b0..Channel n can suspend a lower priority channel
31093  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31094  */
31095 #define DMA_DCHPRI0_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI0_DPA_SHIFT)) & DMA_DCHPRI0_DPA_MASK)
31096 
31097 #define DMA_DCHPRI0_ECP_MASK                     (0x80U)
31098 #define DMA_DCHPRI0_ECP_SHIFT                    (7U)
31099 /*! ECP - Enable Channel Preemption. This field resets to 0.
31100  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31101  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31102  */
31103 #define DMA_DCHPRI0_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI0_ECP_SHIFT)) & DMA_DCHPRI0_ECP_MASK)
31104 /*! @} */
31105 
31106 /*! @name DCHPRI7 - Channel Priority */
31107 /*! @{ */
31108 
31109 #define DMA_DCHPRI7_CHPRI_MASK                   (0xFU)
31110 #define DMA_DCHPRI7_CHPRI_SHIFT                  (0U)
31111 /*! CHPRI - Channel n Arbitration Priority
31112  */
31113 #define DMA_DCHPRI7_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI7_CHPRI_SHIFT)) & DMA_DCHPRI7_CHPRI_MASK)
31114 
31115 #define DMA_DCHPRI7_GRPPRI_MASK                  (0x30U)
31116 #define DMA_DCHPRI7_GRPPRI_SHIFT                 (4U)
31117 /*! GRPPRI - Channel n Current Group Priority
31118  */
31119 #define DMA_DCHPRI7_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI7_GRPPRI_SHIFT)) & DMA_DCHPRI7_GRPPRI_MASK)
31120 
31121 #define DMA_DCHPRI7_DPA_MASK                     (0x40U)
31122 #define DMA_DCHPRI7_DPA_SHIFT                    (6U)
31123 /*! DPA - Disable Preempt Ability. This field resets to 0.
31124  *  0b0..Channel n can suspend a lower priority channel
31125  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31126  */
31127 #define DMA_DCHPRI7_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI7_DPA_SHIFT)) & DMA_DCHPRI7_DPA_MASK)
31128 
31129 #define DMA_DCHPRI7_ECP_MASK                     (0x80U)
31130 #define DMA_DCHPRI7_ECP_SHIFT                    (7U)
31131 /*! ECP - Enable Channel Preemption. This field resets to 0.
31132  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31133  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31134  */
31135 #define DMA_DCHPRI7_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI7_ECP_SHIFT)) & DMA_DCHPRI7_ECP_MASK)
31136 /*! @} */
31137 
31138 /*! @name DCHPRI6 - Channel Priority */
31139 /*! @{ */
31140 
31141 #define DMA_DCHPRI6_CHPRI_MASK                   (0xFU)
31142 #define DMA_DCHPRI6_CHPRI_SHIFT                  (0U)
31143 /*! CHPRI - Channel n Arbitration Priority
31144  */
31145 #define DMA_DCHPRI6_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI6_CHPRI_SHIFT)) & DMA_DCHPRI6_CHPRI_MASK)
31146 
31147 #define DMA_DCHPRI6_GRPPRI_MASK                  (0x30U)
31148 #define DMA_DCHPRI6_GRPPRI_SHIFT                 (4U)
31149 /*! GRPPRI - Channel n Current Group Priority
31150  */
31151 #define DMA_DCHPRI6_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI6_GRPPRI_SHIFT)) & DMA_DCHPRI6_GRPPRI_MASK)
31152 
31153 #define DMA_DCHPRI6_DPA_MASK                     (0x40U)
31154 #define DMA_DCHPRI6_DPA_SHIFT                    (6U)
31155 /*! DPA - Disable Preempt Ability. This field resets to 0.
31156  *  0b0..Channel n can suspend a lower priority channel
31157  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31158  */
31159 #define DMA_DCHPRI6_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI6_DPA_SHIFT)) & DMA_DCHPRI6_DPA_MASK)
31160 
31161 #define DMA_DCHPRI6_ECP_MASK                     (0x80U)
31162 #define DMA_DCHPRI6_ECP_SHIFT                    (7U)
31163 /*! ECP - Enable Channel Preemption. This field resets to 0.
31164  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31165  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31166  */
31167 #define DMA_DCHPRI6_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI6_ECP_SHIFT)) & DMA_DCHPRI6_ECP_MASK)
31168 /*! @} */
31169 
31170 /*! @name DCHPRI5 - Channel Priority */
31171 /*! @{ */
31172 
31173 #define DMA_DCHPRI5_CHPRI_MASK                   (0xFU)
31174 #define DMA_DCHPRI5_CHPRI_SHIFT                  (0U)
31175 /*! CHPRI - Channel n Arbitration Priority
31176  */
31177 #define DMA_DCHPRI5_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI5_CHPRI_SHIFT)) & DMA_DCHPRI5_CHPRI_MASK)
31178 
31179 #define DMA_DCHPRI5_GRPPRI_MASK                  (0x30U)
31180 #define DMA_DCHPRI5_GRPPRI_SHIFT                 (4U)
31181 /*! GRPPRI - Channel n Current Group Priority
31182  */
31183 #define DMA_DCHPRI5_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI5_GRPPRI_SHIFT)) & DMA_DCHPRI5_GRPPRI_MASK)
31184 
31185 #define DMA_DCHPRI5_DPA_MASK                     (0x40U)
31186 #define DMA_DCHPRI5_DPA_SHIFT                    (6U)
31187 /*! DPA - Disable Preempt Ability. This field resets to 0.
31188  *  0b0..Channel n can suspend a lower priority channel
31189  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31190  */
31191 #define DMA_DCHPRI5_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI5_DPA_SHIFT)) & DMA_DCHPRI5_DPA_MASK)
31192 
31193 #define DMA_DCHPRI5_ECP_MASK                     (0x80U)
31194 #define DMA_DCHPRI5_ECP_SHIFT                    (7U)
31195 /*! ECP - Enable Channel Preemption. This field resets to 0.
31196  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31197  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31198  */
31199 #define DMA_DCHPRI5_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI5_ECP_SHIFT)) & DMA_DCHPRI5_ECP_MASK)
31200 /*! @} */
31201 
31202 /*! @name DCHPRI4 - Channel Priority */
31203 /*! @{ */
31204 
31205 #define DMA_DCHPRI4_CHPRI_MASK                   (0xFU)
31206 #define DMA_DCHPRI4_CHPRI_SHIFT                  (0U)
31207 /*! CHPRI - Channel n Arbitration Priority
31208  */
31209 #define DMA_DCHPRI4_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI4_CHPRI_SHIFT)) & DMA_DCHPRI4_CHPRI_MASK)
31210 
31211 #define DMA_DCHPRI4_GRPPRI_MASK                  (0x30U)
31212 #define DMA_DCHPRI4_GRPPRI_SHIFT                 (4U)
31213 /*! GRPPRI - Channel n Current Group Priority
31214  */
31215 #define DMA_DCHPRI4_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI4_GRPPRI_SHIFT)) & DMA_DCHPRI4_GRPPRI_MASK)
31216 
31217 #define DMA_DCHPRI4_DPA_MASK                     (0x40U)
31218 #define DMA_DCHPRI4_DPA_SHIFT                    (6U)
31219 /*! DPA - Disable Preempt Ability. This field resets to 0.
31220  *  0b0..Channel n can suspend a lower priority channel
31221  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31222  */
31223 #define DMA_DCHPRI4_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI4_DPA_SHIFT)) & DMA_DCHPRI4_DPA_MASK)
31224 
31225 #define DMA_DCHPRI4_ECP_MASK                     (0x80U)
31226 #define DMA_DCHPRI4_ECP_SHIFT                    (7U)
31227 /*! ECP - Enable Channel Preemption. This field resets to 0.
31228  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31229  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31230  */
31231 #define DMA_DCHPRI4_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI4_ECP_SHIFT)) & DMA_DCHPRI4_ECP_MASK)
31232 /*! @} */
31233 
31234 /*! @name DCHPRI11 - Channel Priority */
31235 /*! @{ */
31236 
31237 #define DMA_DCHPRI11_CHPRI_MASK                  (0xFU)
31238 #define DMA_DCHPRI11_CHPRI_SHIFT                 (0U)
31239 /*! CHPRI - Channel n Arbitration Priority
31240  */
31241 #define DMA_DCHPRI11_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI11_CHPRI_SHIFT)) & DMA_DCHPRI11_CHPRI_MASK)
31242 
31243 #define DMA_DCHPRI11_GRPPRI_MASK                 (0x30U)
31244 #define DMA_DCHPRI11_GRPPRI_SHIFT                (4U)
31245 /*! GRPPRI - Channel n Current Group Priority
31246  */
31247 #define DMA_DCHPRI11_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI11_GRPPRI_SHIFT)) & DMA_DCHPRI11_GRPPRI_MASK)
31248 
31249 #define DMA_DCHPRI11_DPA_MASK                    (0x40U)
31250 #define DMA_DCHPRI11_DPA_SHIFT                   (6U)
31251 /*! DPA - Disable Preempt Ability. This field resets to 0.
31252  *  0b0..Channel n can suspend a lower priority channel
31253  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31254  */
31255 #define DMA_DCHPRI11_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI11_DPA_SHIFT)) & DMA_DCHPRI11_DPA_MASK)
31256 
31257 #define DMA_DCHPRI11_ECP_MASK                    (0x80U)
31258 #define DMA_DCHPRI11_ECP_SHIFT                   (7U)
31259 /*! ECP - Enable Channel Preemption. This field resets to 0.
31260  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31261  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31262  */
31263 #define DMA_DCHPRI11_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI11_ECP_SHIFT)) & DMA_DCHPRI11_ECP_MASK)
31264 /*! @} */
31265 
31266 /*! @name DCHPRI10 - Channel Priority */
31267 /*! @{ */
31268 
31269 #define DMA_DCHPRI10_CHPRI_MASK                  (0xFU)
31270 #define DMA_DCHPRI10_CHPRI_SHIFT                 (0U)
31271 /*! CHPRI - Channel n Arbitration Priority
31272  */
31273 #define DMA_DCHPRI10_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI10_CHPRI_SHIFT)) & DMA_DCHPRI10_CHPRI_MASK)
31274 
31275 #define DMA_DCHPRI10_GRPPRI_MASK                 (0x30U)
31276 #define DMA_DCHPRI10_GRPPRI_SHIFT                (4U)
31277 /*! GRPPRI - Channel n Current Group Priority
31278  */
31279 #define DMA_DCHPRI10_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI10_GRPPRI_SHIFT)) & DMA_DCHPRI10_GRPPRI_MASK)
31280 
31281 #define DMA_DCHPRI10_DPA_MASK                    (0x40U)
31282 #define DMA_DCHPRI10_DPA_SHIFT                   (6U)
31283 /*! DPA - Disable Preempt Ability. This field resets to 0.
31284  *  0b0..Channel n can suspend a lower priority channel
31285  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31286  */
31287 #define DMA_DCHPRI10_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI10_DPA_SHIFT)) & DMA_DCHPRI10_DPA_MASK)
31288 
31289 #define DMA_DCHPRI10_ECP_MASK                    (0x80U)
31290 #define DMA_DCHPRI10_ECP_SHIFT                   (7U)
31291 /*! ECP - Enable Channel Preemption. This field resets to 0.
31292  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31293  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31294  */
31295 #define DMA_DCHPRI10_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI10_ECP_SHIFT)) & DMA_DCHPRI10_ECP_MASK)
31296 /*! @} */
31297 
31298 /*! @name DCHPRI9 - Channel Priority */
31299 /*! @{ */
31300 
31301 #define DMA_DCHPRI9_CHPRI_MASK                   (0xFU)
31302 #define DMA_DCHPRI9_CHPRI_SHIFT                  (0U)
31303 /*! CHPRI - Channel n Arbitration Priority
31304  */
31305 #define DMA_DCHPRI9_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI9_CHPRI_SHIFT)) & DMA_DCHPRI9_CHPRI_MASK)
31306 
31307 #define DMA_DCHPRI9_GRPPRI_MASK                  (0x30U)
31308 #define DMA_DCHPRI9_GRPPRI_SHIFT                 (4U)
31309 /*! GRPPRI - Channel n Current Group Priority
31310  */
31311 #define DMA_DCHPRI9_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI9_GRPPRI_SHIFT)) & DMA_DCHPRI9_GRPPRI_MASK)
31312 
31313 #define DMA_DCHPRI9_DPA_MASK                     (0x40U)
31314 #define DMA_DCHPRI9_DPA_SHIFT                    (6U)
31315 /*! DPA - Disable Preempt Ability. This field resets to 0.
31316  *  0b0..Channel n can suspend a lower priority channel
31317  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31318  */
31319 #define DMA_DCHPRI9_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI9_DPA_SHIFT)) & DMA_DCHPRI9_DPA_MASK)
31320 
31321 #define DMA_DCHPRI9_ECP_MASK                     (0x80U)
31322 #define DMA_DCHPRI9_ECP_SHIFT                    (7U)
31323 /*! ECP - Enable Channel Preemption. This field resets to 0.
31324  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31325  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31326  */
31327 #define DMA_DCHPRI9_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI9_ECP_SHIFT)) & DMA_DCHPRI9_ECP_MASK)
31328 /*! @} */
31329 
31330 /*! @name DCHPRI8 - Channel Priority */
31331 /*! @{ */
31332 
31333 #define DMA_DCHPRI8_CHPRI_MASK                   (0xFU)
31334 #define DMA_DCHPRI8_CHPRI_SHIFT                  (0U)
31335 /*! CHPRI - Channel n Arbitration Priority
31336  */
31337 #define DMA_DCHPRI8_CHPRI(x)                     (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI8_CHPRI_SHIFT)) & DMA_DCHPRI8_CHPRI_MASK)
31338 
31339 #define DMA_DCHPRI8_GRPPRI_MASK                  (0x30U)
31340 #define DMA_DCHPRI8_GRPPRI_SHIFT                 (4U)
31341 /*! GRPPRI - Channel n Current Group Priority
31342  */
31343 #define DMA_DCHPRI8_GRPPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI8_GRPPRI_SHIFT)) & DMA_DCHPRI8_GRPPRI_MASK)
31344 
31345 #define DMA_DCHPRI8_DPA_MASK                     (0x40U)
31346 #define DMA_DCHPRI8_DPA_SHIFT                    (6U)
31347 /*! DPA - Disable Preempt Ability. This field resets to 0.
31348  *  0b0..Channel n can suspend a lower priority channel
31349  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31350  */
31351 #define DMA_DCHPRI8_DPA(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI8_DPA_SHIFT)) & DMA_DCHPRI8_DPA_MASK)
31352 
31353 #define DMA_DCHPRI8_ECP_MASK                     (0x80U)
31354 #define DMA_DCHPRI8_ECP_SHIFT                    (7U)
31355 /*! ECP - Enable Channel Preemption. This field resets to 0.
31356  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31357  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31358  */
31359 #define DMA_DCHPRI8_ECP(x)                       (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI8_ECP_SHIFT)) & DMA_DCHPRI8_ECP_MASK)
31360 /*! @} */
31361 
31362 /*! @name DCHPRI15 - Channel Priority */
31363 /*! @{ */
31364 
31365 #define DMA_DCHPRI15_CHPRI_MASK                  (0xFU)
31366 #define DMA_DCHPRI15_CHPRI_SHIFT                 (0U)
31367 /*! CHPRI - Channel n Arbitration Priority
31368  */
31369 #define DMA_DCHPRI15_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI15_CHPRI_SHIFT)) & DMA_DCHPRI15_CHPRI_MASK)
31370 
31371 #define DMA_DCHPRI15_GRPPRI_MASK                 (0x30U)
31372 #define DMA_DCHPRI15_GRPPRI_SHIFT                (4U)
31373 /*! GRPPRI - Channel n Current Group Priority
31374  */
31375 #define DMA_DCHPRI15_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI15_GRPPRI_SHIFT)) & DMA_DCHPRI15_GRPPRI_MASK)
31376 
31377 #define DMA_DCHPRI15_DPA_MASK                    (0x40U)
31378 #define DMA_DCHPRI15_DPA_SHIFT                   (6U)
31379 /*! DPA - Disable Preempt Ability. This field resets to 0.
31380  *  0b0..Channel n can suspend a lower priority channel
31381  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31382  */
31383 #define DMA_DCHPRI15_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI15_DPA_SHIFT)) & DMA_DCHPRI15_DPA_MASK)
31384 
31385 #define DMA_DCHPRI15_ECP_MASK                    (0x80U)
31386 #define DMA_DCHPRI15_ECP_SHIFT                   (7U)
31387 /*! ECP - Enable Channel Preemption. This field resets to 0.
31388  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31389  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31390  */
31391 #define DMA_DCHPRI15_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI15_ECP_SHIFT)) & DMA_DCHPRI15_ECP_MASK)
31392 /*! @} */
31393 
31394 /*! @name DCHPRI14 - Channel Priority */
31395 /*! @{ */
31396 
31397 #define DMA_DCHPRI14_CHPRI_MASK                  (0xFU)
31398 #define DMA_DCHPRI14_CHPRI_SHIFT                 (0U)
31399 /*! CHPRI - Channel n Arbitration Priority
31400  */
31401 #define DMA_DCHPRI14_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI14_CHPRI_SHIFT)) & DMA_DCHPRI14_CHPRI_MASK)
31402 
31403 #define DMA_DCHPRI14_GRPPRI_MASK                 (0x30U)
31404 #define DMA_DCHPRI14_GRPPRI_SHIFT                (4U)
31405 /*! GRPPRI - Channel n Current Group Priority
31406  */
31407 #define DMA_DCHPRI14_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI14_GRPPRI_SHIFT)) & DMA_DCHPRI14_GRPPRI_MASK)
31408 
31409 #define DMA_DCHPRI14_DPA_MASK                    (0x40U)
31410 #define DMA_DCHPRI14_DPA_SHIFT                   (6U)
31411 /*! DPA - Disable Preempt Ability. This field resets to 0.
31412  *  0b0..Channel n can suspend a lower priority channel
31413  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31414  */
31415 #define DMA_DCHPRI14_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI14_DPA_SHIFT)) & DMA_DCHPRI14_DPA_MASK)
31416 
31417 #define DMA_DCHPRI14_ECP_MASK                    (0x80U)
31418 #define DMA_DCHPRI14_ECP_SHIFT                   (7U)
31419 /*! ECP - Enable Channel Preemption. This field resets to 0.
31420  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31421  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31422  */
31423 #define DMA_DCHPRI14_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI14_ECP_SHIFT)) & DMA_DCHPRI14_ECP_MASK)
31424 /*! @} */
31425 
31426 /*! @name DCHPRI13 - Channel Priority */
31427 /*! @{ */
31428 
31429 #define DMA_DCHPRI13_CHPRI_MASK                  (0xFU)
31430 #define DMA_DCHPRI13_CHPRI_SHIFT                 (0U)
31431 /*! CHPRI - Channel n Arbitration Priority
31432  */
31433 #define DMA_DCHPRI13_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI13_CHPRI_SHIFT)) & DMA_DCHPRI13_CHPRI_MASK)
31434 
31435 #define DMA_DCHPRI13_GRPPRI_MASK                 (0x30U)
31436 #define DMA_DCHPRI13_GRPPRI_SHIFT                (4U)
31437 /*! GRPPRI - Channel n Current Group Priority
31438  */
31439 #define DMA_DCHPRI13_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI13_GRPPRI_SHIFT)) & DMA_DCHPRI13_GRPPRI_MASK)
31440 
31441 #define DMA_DCHPRI13_DPA_MASK                    (0x40U)
31442 #define DMA_DCHPRI13_DPA_SHIFT                   (6U)
31443 /*! DPA - Disable Preempt Ability. This field resets to 0.
31444  *  0b0..Channel n can suspend a lower priority channel
31445  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31446  */
31447 #define DMA_DCHPRI13_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI13_DPA_SHIFT)) & DMA_DCHPRI13_DPA_MASK)
31448 
31449 #define DMA_DCHPRI13_ECP_MASK                    (0x80U)
31450 #define DMA_DCHPRI13_ECP_SHIFT                   (7U)
31451 /*! ECP - Enable Channel Preemption. This field resets to 0.
31452  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31453  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31454  */
31455 #define DMA_DCHPRI13_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI13_ECP_SHIFT)) & DMA_DCHPRI13_ECP_MASK)
31456 /*! @} */
31457 
31458 /*! @name DCHPRI12 - Channel Priority */
31459 /*! @{ */
31460 
31461 #define DMA_DCHPRI12_CHPRI_MASK                  (0xFU)
31462 #define DMA_DCHPRI12_CHPRI_SHIFT                 (0U)
31463 /*! CHPRI - Channel n Arbitration Priority
31464  */
31465 #define DMA_DCHPRI12_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI12_CHPRI_SHIFT)) & DMA_DCHPRI12_CHPRI_MASK)
31466 
31467 #define DMA_DCHPRI12_GRPPRI_MASK                 (0x30U)
31468 #define DMA_DCHPRI12_GRPPRI_SHIFT                (4U)
31469 /*! GRPPRI - Channel n Current Group Priority
31470  */
31471 #define DMA_DCHPRI12_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI12_GRPPRI_SHIFT)) & DMA_DCHPRI12_GRPPRI_MASK)
31472 
31473 #define DMA_DCHPRI12_DPA_MASK                    (0x40U)
31474 #define DMA_DCHPRI12_DPA_SHIFT                   (6U)
31475 /*! DPA - Disable Preempt Ability. This field resets to 0.
31476  *  0b0..Channel n can suspend a lower priority channel
31477  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31478  */
31479 #define DMA_DCHPRI12_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI12_DPA_SHIFT)) & DMA_DCHPRI12_DPA_MASK)
31480 
31481 #define DMA_DCHPRI12_ECP_MASK                    (0x80U)
31482 #define DMA_DCHPRI12_ECP_SHIFT                   (7U)
31483 /*! ECP - Enable Channel Preemption. This field resets to 0.
31484  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31485  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31486  */
31487 #define DMA_DCHPRI12_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI12_ECP_SHIFT)) & DMA_DCHPRI12_ECP_MASK)
31488 /*! @} */
31489 
31490 /*! @name DCHPRI19 - Channel Priority */
31491 /*! @{ */
31492 
31493 #define DMA_DCHPRI19_CHPRI_MASK                  (0xFU)
31494 #define DMA_DCHPRI19_CHPRI_SHIFT                 (0U)
31495 /*! CHPRI - Channel n Arbitration Priority
31496  */
31497 #define DMA_DCHPRI19_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI19_CHPRI_SHIFT)) & DMA_DCHPRI19_CHPRI_MASK)
31498 
31499 #define DMA_DCHPRI19_GRPPRI_MASK                 (0x30U)
31500 #define DMA_DCHPRI19_GRPPRI_SHIFT                (4U)
31501 /*! GRPPRI - Channel n Current Group Priority
31502  */
31503 #define DMA_DCHPRI19_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI19_GRPPRI_SHIFT)) & DMA_DCHPRI19_GRPPRI_MASK)
31504 
31505 #define DMA_DCHPRI19_DPA_MASK                    (0x40U)
31506 #define DMA_DCHPRI19_DPA_SHIFT                   (6U)
31507 /*! DPA - Disable Preempt Ability. This field resets to 0.
31508  *  0b0..Channel n can suspend a lower priority channel
31509  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31510  */
31511 #define DMA_DCHPRI19_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI19_DPA_SHIFT)) & DMA_DCHPRI19_DPA_MASK)
31512 
31513 #define DMA_DCHPRI19_ECP_MASK                    (0x80U)
31514 #define DMA_DCHPRI19_ECP_SHIFT                   (7U)
31515 /*! ECP - Enable Channel Preemption. This field resets to 0.
31516  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31517  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31518  */
31519 #define DMA_DCHPRI19_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI19_ECP_SHIFT)) & DMA_DCHPRI19_ECP_MASK)
31520 /*! @} */
31521 
31522 /*! @name DCHPRI18 - Channel Priority */
31523 /*! @{ */
31524 
31525 #define DMA_DCHPRI18_CHPRI_MASK                  (0xFU)
31526 #define DMA_DCHPRI18_CHPRI_SHIFT                 (0U)
31527 /*! CHPRI - Channel n Arbitration Priority
31528  */
31529 #define DMA_DCHPRI18_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI18_CHPRI_SHIFT)) & DMA_DCHPRI18_CHPRI_MASK)
31530 
31531 #define DMA_DCHPRI18_GRPPRI_MASK                 (0x30U)
31532 #define DMA_DCHPRI18_GRPPRI_SHIFT                (4U)
31533 /*! GRPPRI - Channel n Current Group Priority
31534  */
31535 #define DMA_DCHPRI18_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI18_GRPPRI_SHIFT)) & DMA_DCHPRI18_GRPPRI_MASK)
31536 
31537 #define DMA_DCHPRI18_DPA_MASK                    (0x40U)
31538 #define DMA_DCHPRI18_DPA_SHIFT                   (6U)
31539 /*! DPA - Disable Preempt Ability. This field resets to 0.
31540  *  0b0..Channel n can suspend a lower priority channel
31541  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31542  */
31543 #define DMA_DCHPRI18_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI18_DPA_SHIFT)) & DMA_DCHPRI18_DPA_MASK)
31544 
31545 #define DMA_DCHPRI18_ECP_MASK                    (0x80U)
31546 #define DMA_DCHPRI18_ECP_SHIFT                   (7U)
31547 /*! ECP - Enable Channel Preemption. This field resets to 0.
31548  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31549  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31550  */
31551 #define DMA_DCHPRI18_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI18_ECP_SHIFT)) & DMA_DCHPRI18_ECP_MASK)
31552 /*! @} */
31553 
31554 /*! @name DCHPRI17 - Channel Priority */
31555 /*! @{ */
31556 
31557 #define DMA_DCHPRI17_CHPRI_MASK                  (0xFU)
31558 #define DMA_DCHPRI17_CHPRI_SHIFT                 (0U)
31559 /*! CHPRI - Channel n Arbitration Priority
31560  */
31561 #define DMA_DCHPRI17_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI17_CHPRI_SHIFT)) & DMA_DCHPRI17_CHPRI_MASK)
31562 
31563 #define DMA_DCHPRI17_GRPPRI_MASK                 (0x30U)
31564 #define DMA_DCHPRI17_GRPPRI_SHIFT                (4U)
31565 /*! GRPPRI - Channel n Current Group Priority
31566  */
31567 #define DMA_DCHPRI17_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI17_GRPPRI_SHIFT)) & DMA_DCHPRI17_GRPPRI_MASK)
31568 
31569 #define DMA_DCHPRI17_DPA_MASK                    (0x40U)
31570 #define DMA_DCHPRI17_DPA_SHIFT                   (6U)
31571 /*! DPA - Disable Preempt Ability. This field resets to 0.
31572  *  0b0..Channel n can suspend a lower priority channel
31573  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31574  */
31575 #define DMA_DCHPRI17_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI17_DPA_SHIFT)) & DMA_DCHPRI17_DPA_MASK)
31576 
31577 #define DMA_DCHPRI17_ECP_MASK                    (0x80U)
31578 #define DMA_DCHPRI17_ECP_SHIFT                   (7U)
31579 /*! ECP - Enable Channel Preemption. This field resets to 0.
31580  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31581  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31582  */
31583 #define DMA_DCHPRI17_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI17_ECP_SHIFT)) & DMA_DCHPRI17_ECP_MASK)
31584 /*! @} */
31585 
31586 /*! @name DCHPRI16 - Channel Priority */
31587 /*! @{ */
31588 
31589 #define DMA_DCHPRI16_CHPRI_MASK                  (0xFU)
31590 #define DMA_DCHPRI16_CHPRI_SHIFT                 (0U)
31591 /*! CHPRI - Channel n Arbitration Priority
31592  */
31593 #define DMA_DCHPRI16_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI16_CHPRI_SHIFT)) & DMA_DCHPRI16_CHPRI_MASK)
31594 
31595 #define DMA_DCHPRI16_GRPPRI_MASK                 (0x30U)
31596 #define DMA_DCHPRI16_GRPPRI_SHIFT                (4U)
31597 /*! GRPPRI - Channel n Current Group Priority
31598  */
31599 #define DMA_DCHPRI16_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI16_GRPPRI_SHIFT)) & DMA_DCHPRI16_GRPPRI_MASK)
31600 
31601 #define DMA_DCHPRI16_DPA_MASK                    (0x40U)
31602 #define DMA_DCHPRI16_DPA_SHIFT                   (6U)
31603 /*! DPA - Disable Preempt Ability. This field resets to 0.
31604  *  0b0..Channel n can suspend a lower priority channel
31605  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31606  */
31607 #define DMA_DCHPRI16_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI16_DPA_SHIFT)) & DMA_DCHPRI16_DPA_MASK)
31608 
31609 #define DMA_DCHPRI16_ECP_MASK                    (0x80U)
31610 #define DMA_DCHPRI16_ECP_SHIFT                   (7U)
31611 /*! ECP - Enable Channel Preemption. This field resets to 0.
31612  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31613  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31614  */
31615 #define DMA_DCHPRI16_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI16_ECP_SHIFT)) & DMA_DCHPRI16_ECP_MASK)
31616 /*! @} */
31617 
31618 /*! @name DCHPRI23 - Channel Priority */
31619 /*! @{ */
31620 
31621 #define DMA_DCHPRI23_CHPRI_MASK                  (0xFU)
31622 #define DMA_DCHPRI23_CHPRI_SHIFT                 (0U)
31623 /*! CHPRI - Channel n Arbitration Priority
31624  */
31625 #define DMA_DCHPRI23_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI23_CHPRI_SHIFT)) & DMA_DCHPRI23_CHPRI_MASK)
31626 
31627 #define DMA_DCHPRI23_GRPPRI_MASK                 (0x30U)
31628 #define DMA_DCHPRI23_GRPPRI_SHIFT                (4U)
31629 /*! GRPPRI - Channel n Current Group Priority
31630  */
31631 #define DMA_DCHPRI23_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI23_GRPPRI_SHIFT)) & DMA_DCHPRI23_GRPPRI_MASK)
31632 
31633 #define DMA_DCHPRI23_DPA_MASK                    (0x40U)
31634 #define DMA_DCHPRI23_DPA_SHIFT                   (6U)
31635 /*! DPA - Disable Preempt Ability. This field resets to 0.
31636  *  0b0..Channel n can suspend a lower priority channel
31637  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31638  */
31639 #define DMA_DCHPRI23_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI23_DPA_SHIFT)) & DMA_DCHPRI23_DPA_MASK)
31640 
31641 #define DMA_DCHPRI23_ECP_MASK                    (0x80U)
31642 #define DMA_DCHPRI23_ECP_SHIFT                   (7U)
31643 /*! ECP - Enable Channel Preemption. This field resets to 0.
31644  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31645  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31646  */
31647 #define DMA_DCHPRI23_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI23_ECP_SHIFT)) & DMA_DCHPRI23_ECP_MASK)
31648 /*! @} */
31649 
31650 /*! @name DCHPRI22 - Channel Priority */
31651 /*! @{ */
31652 
31653 #define DMA_DCHPRI22_CHPRI_MASK                  (0xFU)
31654 #define DMA_DCHPRI22_CHPRI_SHIFT                 (0U)
31655 /*! CHPRI - Channel n Arbitration Priority
31656  */
31657 #define DMA_DCHPRI22_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI22_CHPRI_SHIFT)) & DMA_DCHPRI22_CHPRI_MASK)
31658 
31659 #define DMA_DCHPRI22_GRPPRI_MASK                 (0x30U)
31660 #define DMA_DCHPRI22_GRPPRI_SHIFT                (4U)
31661 /*! GRPPRI - Channel n Current Group Priority
31662  */
31663 #define DMA_DCHPRI22_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI22_GRPPRI_SHIFT)) & DMA_DCHPRI22_GRPPRI_MASK)
31664 
31665 #define DMA_DCHPRI22_DPA_MASK                    (0x40U)
31666 #define DMA_DCHPRI22_DPA_SHIFT                   (6U)
31667 /*! DPA - Disable Preempt Ability. This field resets to 0.
31668  *  0b0..Channel n can suspend a lower priority channel
31669  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31670  */
31671 #define DMA_DCHPRI22_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI22_DPA_SHIFT)) & DMA_DCHPRI22_DPA_MASK)
31672 
31673 #define DMA_DCHPRI22_ECP_MASK                    (0x80U)
31674 #define DMA_DCHPRI22_ECP_SHIFT                   (7U)
31675 /*! ECP - Enable Channel Preemption. This field resets to 0.
31676  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31677  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31678  */
31679 #define DMA_DCHPRI22_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI22_ECP_SHIFT)) & DMA_DCHPRI22_ECP_MASK)
31680 /*! @} */
31681 
31682 /*! @name DCHPRI21 - Channel Priority */
31683 /*! @{ */
31684 
31685 #define DMA_DCHPRI21_CHPRI_MASK                  (0xFU)
31686 #define DMA_DCHPRI21_CHPRI_SHIFT                 (0U)
31687 /*! CHPRI - Channel n Arbitration Priority
31688  */
31689 #define DMA_DCHPRI21_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI21_CHPRI_SHIFT)) & DMA_DCHPRI21_CHPRI_MASK)
31690 
31691 #define DMA_DCHPRI21_GRPPRI_MASK                 (0x30U)
31692 #define DMA_DCHPRI21_GRPPRI_SHIFT                (4U)
31693 /*! GRPPRI - Channel n Current Group Priority
31694  */
31695 #define DMA_DCHPRI21_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI21_GRPPRI_SHIFT)) & DMA_DCHPRI21_GRPPRI_MASK)
31696 
31697 #define DMA_DCHPRI21_DPA_MASK                    (0x40U)
31698 #define DMA_DCHPRI21_DPA_SHIFT                   (6U)
31699 /*! DPA - Disable Preempt Ability. This field resets to 0.
31700  *  0b0..Channel n can suspend a lower priority channel
31701  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31702  */
31703 #define DMA_DCHPRI21_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI21_DPA_SHIFT)) & DMA_DCHPRI21_DPA_MASK)
31704 
31705 #define DMA_DCHPRI21_ECP_MASK                    (0x80U)
31706 #define DMA_DCHPRI21_ECP_SHIFT                   (7U)
31707 /*! ECP - Enable Channel Preemption. This field resets to 0.
31708  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31709  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31710  */
31711 #define DMA_DCHPRI21_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI21_ECP_SHIFT)) & DMA_DCHPRI21_ECP_MASK)
31712 /*! @} */
31713 
31714 /*! @name DCHPRI20 - Channel Priority */
31715 /*! @{ */
31716 
31717 #define DMA_DCHPRI20_CHPRI_MASK                  (0xFU)
31718 #define DMA_DCHPRI20_CHPRI_SHIFT                 (0U)
31719 /*! CHPRI - Channel n Arbitration Priority
31720  */
31721 #define DMA_DCHPRI20_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI20_CHPRI_SHIFT)) & DMA_DCHPRI20_CHPRI_MASK)
31722 
31723 #define DMA_DCHPRI20_GRPPRI_MASK                 (0x30U)
31724 #define DMA_DCHPRI20_GRPPRI_SHIFT                (4U)
31725 /*! GRPPRI - Channel n Current Group Priority
31726  */
31727 #define DMA_DCHPRI20_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI20_GRPPRI_SHIFT)) & DMA_DCHPRI20_GRPPRI_MASK)
31728 
31729 #define DMA_DCHPRI20_DPA_MASK                    (0x40U)
31730 #define DMA_DCHPRI20_DPA_SHIFT                   (6U)
31731 /*! DPA - Disable Preempt Ability. This field resets to 0.
31732  *  0b0..Channel n can suspend a lower priority channel
31733  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31734  */
31735 #define DMA_DCHPRI20_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI20_DPA_SHIFT)) & DMA_DCHPRI20_DPA_MASK)
31736 
31737 #define DMA_DCHPRI20_ECP_MASK                    (0x80U)
31738 #define DMA_DCHPRI20_ECP_SHIFT                   (7U)
31739 /*! ECP - Enable Channel Preemption. This field resets to 0.
31740  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31741  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31742  */
31743 #define DMA_DCHPRI20_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI20_ECP_SHIFT)) & DMA_DCHPRI20_ECP_MASK)
31744 /*! @} */
31745 
31746 /*! @name DCHPRI27 - Channel Priority */
31747 /*! @{ */
31748 
31749 #define DMA_DCHPRI27_CHPRI_MASK                  (0xFU)
31750 #define DMA_DCHPRI27_CHPRI_SHIFT                 (0U)
31751 /*! CHPRI - Channel n Arbitration Priority
31752  */
31753 #define DMA_DCHPRI27_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI27_CHPRI_SHIFT)) & DMA_DCHPRI27_CHPRI_MASK)
31754 
31755 #define DMA_DCHPRI27_GRPPRI_MASK                 (0x30U)
31756 #define DMA_DCHPRI27_GRPPRI_SHIFT                (4U)
31757 /*! GRPPRI - Channel n Current Group Priority
31758  */
31759 #define DMA_DCHPRI27_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI27_GRPPRI_SHIFT)) & DMA_DCHPRI27_GRPPRI_MASK)
31760 
31761 #define DMA_DCHPRI27_DPA_MASK                    (0x40U)
31762 #define DMA_DCHPRI27_DPA_SHIFT                   (6U)
31763 /*! DPA - Disable Preempt Ability. This field resets to 0.
31764  *  0b0..Channel n can suspend a lower priority channel
31765  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31766  */
31767 #define DMA_DCHPRI27_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI27_DPA_SHIFT)) & DMA_DCHPRI27_DPA_MASK)
31768 
31769 #define DMA_DCHPRI27_ECP_MASK                    (0x80U)
31770 #define DMA_DCHPRI27_ECP_SHIFT                   (7U)
31771 /*! ECP - Enable Channel Preemption. This field resets to 0.
31772  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31773  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31774  */
31775 #define DMA_DCHPRI27_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI27_ECP_SHIFT)) & DMA_DCHPRI27_ECP_MASK)
31776 /*! @} */
31777 
31778 /*! @name DCHPRI26 - Channel Priority */
31779 /*! @{ */
31780 
31781 #define DMA_DCHPRI26_CHPRI_MASK                  (0xFU)
31782 #define DMA_DCHPRI26_CHPRI_SHIFT                 (0U)
31783 /*! CHPRI - Channel n Arbitration Priority
31784  */
31785 #define DMA_DCHPRI26_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI26_CHPRI_SHIFT)) & DMA_DCHPRI26_CHPRI_MASK)
31786 
31787 #define DMA_DCHPRI26_GRPPRI_MASK                 (0x30U)
31788 #define DMA_DCHPRI26_GRPPRI_SHIFT                (4U)
31789 /*! GRPPRI - Channel n Current Group Priority
31790  */
31791 #define DMA_DCHPRI26_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI26_GRPPRI_SHIFT)) & DMA_DCHPRI26_GRPPRI_MASK)
31792 
31793 #define DMA_DCHPRI26_DPA_MASK                    (0x40U)
31794 #define DMA_DCHPRI26_DPA_SHIFT                   (6U)
31795 /*! DPA - Disable Preempt Ability. This field resets to 0.
31796  *  0b0..Channel n can suspend a lower priority channel
31797  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31798  */
31799 #define DMA_DCHPRI26_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI26_DPA_SHIFT)) & DMA_DCHPRI26_DPA_MASK)
31800 
31801 #define DMA_DCHPRI26_ECP_MASK                    (0x80U)
31802 #define DMA_DCHPRI26_ECP_SHIFT                   (7U)
31803 /*! ECP - Enable Channel Preemption. This field resets to 0.
31804  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31805  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31806  */
31807 #define DMA_DCHPRI26_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI26_ECP_SHIFT)) & DMA_DCHPRI26_ECP_MASK)
31808 /*! @} */
31809 
31810 /*! @name DCHPRI25 - Channel Priority */
31811 /*! @{ */
31812 
31813 #define DMA_DCHPRI25_CHPRI_MASK                  (0xFU)
31814 #define DMA_DCHPRI25_CHPRI_SHIFT                 (0U)
31815 /*! CHPRI - Channel n Arbitration Priority
31816  */
31817 #define DMA_DCHPRI25_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI25_CHPRI_SHIFT)) & DMA_DCHPRI25_CHPRI_MASK)
31818 
31819 #define DMA_DCHPRI25_GRPPRI_MASK                 (0x30U)
31820 #define DMA_DCHPRI25_GRPPRI_SHIFT                (4U)
31821 /*! GRPPRI - Channel n Current Group Priority
31822  */
31823 #define DMA_DCHPRI25_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI25_GRPPRI_SHIFT)) & DMA_DCHPRI25_GRPPRI_MASK)
31824 
31825 #define DMA_DCHPRI25_DPA_MASK                    (0x40U)
31826 #define DMA_DCHPRI25_DPA_SHIFT                   (6U)
31827 /*! DPA - Disable Preempt Ability. This field resets to 0.
31828  *  0b0..Channel n can suspend a lower priority channel
31829  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31830  */
31831 #define DMA_DCHPRI25_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI25_DPA_SHIFT)) & DMA_DCHPRI25_DPA_MASK)
31832 
31833 #define DMA_DCHPRI25_ECP_MASK                    (0x80U)
31834 #define DMA_DCHPRI25_ECP_SHIFT                   (7U)
31835 /*! ECP - Enable Channel Preemption. This field resets to 0.
31836  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31837  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31838  */
31839 #define DMA_DCHPRI25_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI25_ECP_SHIFT)) & DMA_DCHPRI25_ECP_MASK)
31840 /*! @} */
31841 
31842 /*! @name DCHPRI24 - Channel Priority */
31843 /*! @{ */
31844 
31845 #define DMA_DCHPRI24_CHPRI_MASK                  (0xFU)
31846 #define DMA_DCHPRI24_CHPRI_SHIFT                 (0U)
31847 /*! CHPRI - Channel n Arbitration Priority
31848  */
31849 #define DMA_DCHPRI24_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI24_CHPRI_SHIFT)) & DMA_DCHPRI24_CHPRI_MASK)
31850 
31851 #define DMA_DCHPRI24_GRPPRI_MASK                 (0x30U)
31852 #define DMA_DCHPRI24_GRPPRI_SHIFT                (4U)
31853 /*! GRPPRI - Channel n Current Group Priority
31854  */
31855 #define DMA_DCHPRI24_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI24_GRPPRI_SHIFT)) & DMA_DCHPRI24_GRPPRI_MASK)
31856 
31857 #define DMA_DCHPRI24_DPA_MASK                    (0x40U)
31858 #define DMA_DCHPRI24_DPA_SHIFT                   (6U)
31859 /*! DPA - Disable Preempt Ability. This field resets to 0.
31860  *  0b0..Channel n can suspend a lower priority channel
31861  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31862  */
31863 #define DMA_DCHPRI24_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI24_DPA_SHIFT)) & DMA_DCHPRI24_DPA_MASK)
31864 
31865 #define DMA_DCHPRI24_ECP_MASK                    (0x80U)
31866 #define DMA_DCHPRI24_ECP_SHIFT                   (7U)
31867 /*! ECP - Enable Channel Preemption. This field resets to 0.
31868  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31869  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31870  */
31871 #define DMA_DCHPRI24_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI24_ECP_SHIFT)) & DMA_DCHPRI24_ECP_MASK)
31872 /*! @} */
31873 
31874 /*! @name DCHPRI31 - Channel Priority */
31875 /*! @{ */
31876 
31877 #define DMA_DCHPRI31_CHPRI_MASK                  (0xFU)
31878 #define DMA_DCHPRI31_CHPRI_SHIFT                 (0U)
31879 /*! CHPRI - Channel n Arbitration Priority
31880  */
31881 #define DMA_DCHPRI31_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI31_CHPRI_SHIFT)) & DMA_DCHPRI31_CHPRI_MASK)
31882 
31883 #define DMA_DCHPRI31_GRPPRI_MASK                 (0x30U)
31884 #define DMA_DCHPRI31_GRPPRI_SHIFT                (4U)
31885 /*! GRPPRI - Channel n Current Group Priority
31886  */
31887 #define DMA_DCHPRI31_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI31_GRPPRI_SHIFT)) & DMA_DCHPRI31_GRPPRI_MASK)
31888 
31889 #define DMA_DCHPRI31_DPA_MASK                    (0x40U)
31890 #define DMA_DCHPRI31_DPA_SHIFT                   (6U)
31891 /*! DPA - Disable Preempt Ability. This field resets to 0.
31892  *  0b0..Channel n can suspend a lower priority channel
31893  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31894  */
31895 #define DMA_DCHPRI31_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI31_DPA_SHIFT)) & DMA_DCHPRI31_DPA_MASK)
31896 
31897 #define DMA_DCHPRI31_ECP_MASK                    (0x80U)
31898 #define DMA_DCHPRI31_ECP_SHIFT                   (7U)
31899 /*! ECP - Enable Channel Preemption. This field resets to 0.
31900  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31901  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31902  */
31903 #define DMA_DCHPRI31_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI31_ECP_SHIFT)) & DMA_DCHPRI31_ECP_MASK)
31904 /*! @} */
31905 
31906 /*! @name DCHPRI30 - Channel Priority */
31907 /*! @{ */
31908 
31909 #define DMA_DCHPRI30_CHPRI_MASK                  (0xFU)
31910 #define DMA_DCHPRI30_CHPRI_SHIFT                 (0U)
31911 /*! CHPRI - Channel n Arbitration Priority
31912  */
31913 #define DMA_DCHPRI30_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI30_CHPRI_SHIFT)) & DMA_DCHPRI30_CHPRI_MASK)
31914 
31915 #define DMA_DCHPRI30_GRPPRI_MASK                 (0x30U)
31916 #define DMA_DCHPRI30_GRPPRI_SHIFT                (4U)
31917 /*! GRPPRI - Channel n Current Group Priority
31918  */
31919 #define DMA_DCHPRI30_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI30_GRPPRI_SHIFT)) & DMA_DCHPRI30_GRPPRI_MASK)
31920 
31921 #define DMA_DCHPRI30_DPA_MASK                    (0x40U)
31922 #define DMA_DCHPRI30_DPA_SHIFT                   (6U)
31923 /*! DPA - Disable Preempt Ability. This field resets to 0.
31924  *  0b0..Channel n can suspend a lower priority channel
31925  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31926  */
31927 #define DMA_DCHPRI30_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI30_DPA_SHIFT)) & DMA_DCHPRI30_DPA_MASK)
31928 
31929 #define DMA_DCHPRI30_ECP_MASK                    (0x80U)
31930 #define DMA_DCHPRI30_ECP_SHIFT                   (7U)
31931 /*! ECP - Enable Channel Preemption. This field resets to 0.
31932  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31933  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31934  */
31935 #define DMA_DCHPRI30_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI30_ECP_SHIFT)) & DMA_DCHPRI30_ECP_MASK)
31936 /*! @} */
31937 
31938 /*! @name DCHPRI29 - Channel Priority */
31939 /*! @{ */
31940 
31941 #define DMA_DCHPRI29_CHPRI_MASK                  (0xFU)
31942 #define DMA_DCHPRI29_CHPRI_SHIFT                 (0U)
31943 /*! CHPRI - Channel n Arbitration Priority
31944  */
31945 #define DMA_DCHPRI29_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI29_CHPRI_SHIFT)) & DMA_DCHPRI29_CHPRI_MASK)
31946 
31947 #define DMA_DCHPRI29_GRPPRI_MASK                 (0x30U)
31948 #define DMA_DCHPRI29_GRPPRI_SHIFT                (4U)
31949 /*! GRPPRI - Channel n Current Group Priority
31950  */
31951 #define DMA_DCHPRI29_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI29_GRPPRI_SHIFT)) & DMA_DCHPRI29_GRPPRI_MASK)
31952 
31953 #define DMA_DCHPRI29_DPA_MASK                    (0x40U)
31954 #define DMA_DCHPRI29_DPA_SHIFT                   (6U)
31955 /*! DPA - Disable Preempt Ability. This field resets to 0.
31956  *  0b0..Channel n can suspend a lower priority channel
31957  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31958  */
31959 #define DMA_DCHPRI29_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI29_DPA_SHIFT)) & DMA_DCHPRI29_DPA_MASK)
31960 
31961 #define DMA_DCHPRI29_ECP_MASK                    (0x80U)
31962 #define DMA_DCHPRI29_ECP_SHIFT                   (7U)
31963 /*! ECP - Enable Channel Preemption. This field resets to 0.
31964  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31965  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31966  */
31967 #define DMA_DCHPRI29_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI29_ECP_SHIFT)) & DMA_DCHPRI29_ECP_MASK)
31968 /*! @} */
31969 
31970 /*! @name DCHPRI28 - Channel Priority */
31971 /*! @{ */
31972 
31973 #define DMA_DCHPRI28_CHPRI_MASK                  (0xFU)
31974 #define DMA_DCHPRI28_CHPRI_SHIFT                 (0U)
31975 /*! CHPRI - Channel n Arbitration Priority
31976  */
31977 #define DMA_DCHPRI28_CHPRI(x)                    (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI28_CHPRI_SHIFT)) & DMA_DCHPRI28_CHPRI_MASK)
31978 
31979 #define DMA_DCHPRI28_GRPPRI_MASK                 (0x30U)
31980 #define DMA_DCHPRI28_GRPPRI_SHIFT                (4U)
31981 /*! GRPPRI - Channel n Current Group Priority
31982  */
31983 #define DMA_DCHPRI28_GRPPRI(x)                   (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI28_GRPPRI_SHIFT)) & DMA_DCHPRI28_GRPPRI_MASK)
31984 
31985 #define DMA_DCHPRI28_DPA_MASK                    (0x40U)
31986 #define DMA_DCHPRI28_DPA_SHIFT                   (6U)
31987 /*! DPA - Disable Preempt Ability. This field resets to 0.
31988  *  0b0..Channel n can suspend a lower priority channel
31989  *  0b1..Channel n cannot suspend any channel, regardless of channel priority
31990  */
31991 #define DMA_DCHPRI28_DPA(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI28_DPA_SHIFT)) & DMA_DCHPRI28_DPA_MASK)
31992 
31993 #define DMA_DCHPRI28_ECP_MASK                    (0x80U)
31994 #define DMA_DCHPRI28_ECP_SHIFT                   (7U)
31995 /*! ECP - Enable Channel Preemption. This field resets to 0.
31996  *  0b0..Channel n cannot be suspended by a higher priority channel's service request
31997  *  0b1..Channel n can be temporarily suspended by the service request of a higher priority channel
31998  */
31999 #define DMA_DCHPRI28_ECP(x)                      (((uint8_t)(((uint8_t)(x)) << DMA_DCHPRI28_ECP_SHIFT)) & DMA_DCHPRI28_ECP_MASK)
32000 /*! @} */
32001 
32002 /*! @name SADDR - TCD Source Address */
32003 /*! @{ */
32004 
32005 #define DMA_SADDR_SADDR_MASK                     (0xFFFFFFFFU)
32006 #define DMA_SADDR_SADDR_SHIFT                    (0U)
32007 /*! SADDR - Source Address
32008  */
32009 #define DMA_SADDR_SADDR(x)                       (((uint32_t)(((uint32_t)(x)) << DMA_SADDR_SADDR_SHIFT)) & DMA_SADDR_SADDR_MASK)
32010 /*! @} */
32011 
32012 /* The count of DMA_SADDR */
32013 #define DMA_SADDR_COUNT                          (32U)
32014 
32015 /*! @name SOFF - TCD Signed Source Address Offset */
32016 /*! @{ */
32017 
32018 #define DMA_SOFF_SOFF_MASK                       (0xFFFFU)
32019 #define DMA_SOFF_SOFF_SHIFT                      (0U)
32020 /*! SOFF - Source address signed offset
32021  */
32022 #define DMA_SOFF_SOFF(x)                         (((uint16_t)(((uint16_t)(x)) << DMA_SOFF_SOFF_SHIFT)) & DMA_SOFF_SOFF_MASK)
32023 /*! @} */
32024 
32025 /* The count of DMA_SOFF */
32026 #define DMA_SOFF_COUNT                           (32U)
32027 
32028 /*! @name ATTR - TCD Transfer Attributes */
32029 /*! @{ */
32030 
32031 #define DMA_ATTR_DSIZE_MASK                      (0x7U)
32032 #define DMA_ATTR_DSIZE_SHIFT                     (0U)
32033 /*! DSIZE - Destination data transfer size
32034  */
32035 #define DMA_ATTR_DSIZE(x)                        (((uint16_t)(((uint16_t)(x)) << DMA_ATTR_DSIZE_SHIFT)) & DMA_ATTR_DSIZE_MASK)
32036 
32037 #define DMA_ATTR_DMOD_MASK                       (0xF8U)
32038 #define DMA_ATTR_DMOD_SHIFT                      (3U)
32039 /*! DMOD - Destination Address Modulo
32040  */
32041 #define DMA_ATTR_DMOD(x)                         (((uint16_t)(((uint16_t)(x)) << DMA_ATTR_DMOD_SHIFT)) & DMA_ATTR_DMOD_MASK)
32042 
32043 #define DMA_ATTR_SSIZE_MASK                      (0x700U)
32044 #define DMA_ATTR_SSIZE_SHIFT                     (8U)
32045 /*! SSIZE - Source data transfer size
32046  *  0b000..8-bit
32047  *  0b001..16-bit
32048  *  0b010..32-bit
32049  *  0b011..64-bit
32050  *  0b100..Reserved
32051  *  0b101..32-byte burst (4 beats of 64 bits)
32052  *  0b110..Reserved
32053  *  0b111..Reserved
32054  */
32055 #define DMA_ATTR_SSIZE(x)                        (((uint16_t)(((uint16_t)(x)) << DMA_ATTR_SSIZE_SHIFT)) & DMA_ATTR_SSIZE_MASK)
32056 
32057 #define DMA_ATTR_SMOD_MASK                       (0xF800U)
32058 #define DMA_ATTR_SMOD_SHIFT                      (11U)
32059 /*! SMOD - Source Address Modulo
32060  *  0b00000..Source address modulo feature is disabled
32061  *  0b00001-0b11111..Value defines address range used to set up circular data queue
32062  */
32063 #define DMA_ATTR_SMOD(x)                         (((uint16_t)(((uint16_t)(x)) << DMA_ATTR_SMOD_SHIFT)) & DMA_ATTR_SMOD_MASK)
32064 /*! @} */
32065 
32066 /* The count of DMA_ATTR */
32067 #define DMA_ATTR_COUNT                           (32U)
32068 
32069 /*! @name NBYTES_MLNO - TCD Minor Byte Count (Minor Loop Mapping Disabled) */
32070 /*! @{ */
32071 
32072 #define DMA_NBYTES_MLNO_NBYTES_MASK              (0xFFFFFFFFU)
32073 #define DMA_NBYTES_MLNO_NBYTES_SHIFT             (0U)
32074 /*! NBYTES - Minor Byte Transfer Count
32075  */
32076 #define DMA_NBYTES_MLNO_NBYTES(x)                (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLNO_NBYTES_SHIFT)) & DMA_NBYTES_MLNO_NBYTES_MASK)
32077 /*! @} */
32078 
32079 /* The count of DMA_NBYTES_MLNO */
32080 #define DMA_NBYTES_MLNO_COUNT                    (32U)
32081 
32082 /*! @name NBYTES_MLOFFNO - TCD Signed Minor Loop Offset (Minor Loop Mapping Enabled and Offset Disabled) */
32083 /*! @{ */
32084 
32085 #define DMA_NBYTES_MLOFFNO_NBYTES_MASK           (0x3FFFFFFFU)
32086 #define DMA_NBYTES_MLOFFNO_NBYTES_SHIFT          (0U)
32087 /*! NBYTES - Minor Byte Transfer Count
32088  */
32089 #define DMA_NBYTES_MLOFFNO_NBYTES(x)             (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFNO_NBYTES_SHIFT)) & DMA_NBYTES_MLOFFNO_NBYTES_MASK)
32090 
32091 #define DMA_NBYTES_MLOFFNO_DMLOE_MASK            (0x40000000U)
32092 #define DMA_NBYTES_MLOFFNO_DMLOE_SHIFT           (30U)
32093 /*! DMLOE - Destination Minor Loop Offset Enable
32094  *  0b0..The minor loop offset is not applied to the DADDR
32095  *  0b1..The minor loop offset is applied to the DADDR
32096  */
32097 #define DMA_NBYTES_MLOFFNO_DMLOE(x)              (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFNO_DMLOE_SHIFT)) & DMA_NBYTES_MLOFFNO_DMLOE_MASK)
32098 
32099 #define DMA_NBYTES_MLOFFNO_SMLOE_MASK            (0x80000000U)
32100 #define DMA_NBYTES_MLOFFNO_SMLOE_SHIFT           (31U)
32101 /*! SMLOE - Source Minor Loop Offset Enable
32102  *  0b0..The minor loop offset is not applied to the SADDR
32103  *  0b1..The minor loop offset is applied to the SADDR
32104  */
32105 #define DMA_NBYTES_MLOFFNO_SMLOE(x)              (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFNO_SMLOE_SHIFT)) & DMA_NBYTES_MLOFFNO_SMLOE_MASK)
32106 /*! @} */
32107 
32108 /* The count of DMA_NBYTES_MLOFFNO */
32109 #define DMA_NBYTES_MLOFFNO_COUNT                 (32U)
32110 
32111 /*! @name NBYTES_MLOFFYES - TCD Signed Minor Loop Offset (Minor Loop Mapping and Offset Enabled) */
32112 /*! @{ */
32113 
32114 #define DMA_NBYTES_MLOFFYES_NBYTES_MASK          (0x3FFU)
32115 #define DMA_NBYTES_MLOFFYES_NBYTES_SHIFT         (0U)
32116 /*! NBYTES - Minor Byte Transfer Count
32117  */
32118 #define DMA_NBYTES_MLOFFYES_NBYTES(x)            (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFYES_NBYTES_SHIFT)) & DMA_NBYTES_MLOFFYES_NBYTES_MASK)
32119 
32120 #define DMA_NBYTES_MLOFFYES_MLOFF_MASK           (0x3FFFFC00U)
32121 #define DMA_NBYTES_MLOFFYES_MLOFF_SHIFT          (10U)
32122 /*! MLOFF - If SMLOE = 1 or DMLOE = 1, this field represents a sign-extended offset applied to the
32123  *    source or destination address to form the next-state value after the minor loop completes.
32124  */
32125 #define DMA_NBYTES_MLOFFYES_MLOFF(x)             (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFYES_MLOFF_SHIFT)) & DMA_NBYTES_MLOFFYES_MLOFF_MASK)
32126 
32127 #define DMA_NBYTES_MLOFFYES_DMLOE_MASK           (0x40000000U)
32128 #define DMA_NBYTES_MLOFFYES_DMLOE_SHIFT          (30U)
32129 /*! DMLOE - Destination Minor Loop Offset Enable
32130  *  0b0..The minor loop offset is not applied to the DADDR
32131  *  0b1..The minor loop offset is applied to the DADDR
32132  */
32133 #define DMA_NBYTES_MLOFFYES_DMLOE(x)             (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFYES_DMLOE_SHIFT)) & DMA_NBYTES_MLOFFYES_DMLOE_MASK)
32134 
32135 #define DMA_NBYTES_MLOFFYES_SMLOE_MASK           (0x80000000U)
32136 #define DMA_NBYTES_MLOFFYES_SMLOE_SHIFT          (31U)
32137 /*! SMLOE - Source Minor Loop Offset Enable
32138  *  0b0..The minor loop offset is not applied to the SADDR
32139  *  0b1..The minor loop offset is applied to the SADDR
32140  */
32141 #define DMA_NBYTES_MLOFFYES_SMLOE(x)             (((uint32_t)(((uint32_t)(x)) << DMA_NBYTES_MLOFFYES_SMLOE_SHIFT)) & DMA_NBYTES_MLOFFYES_SMLOE_MASK)
32142 /*! @} */
32143 
32144 /* The count of DMA_NBYTES_MLOFFYES */
32145 #define DMA_NBYTES_MLOFFYES_COUNT                (32U)
32146 
32147 /*! @name SLAST - TCD Last Source Address Adjustment */
32148 /*! @{ */
32149 
32150 #define DMA_SLAST_SLAST_MASK                     (0xFFFFFFFFU)
32151 #define DMA_SLAST_SLAST_SHIFT                    (0U)
32152 /*! SLAST - Last Source Address Adjustment
32153  */
32154 #define DMA_SLAST_SLAST(x)                       (((uint32_t)(((uint32_t)(x)) << DMA_SLAST_SLAST_SHIFT)) & DMA_SLAST_SLAST_MASK)
32155 /*! @} */
32156 
32157 /* The count of DMA_SLAST */
32158 #define DMA_SLAST_COUNT                          (32U)
32159 
32160 /*! @name DADDR - TCD Destination Address */
32161 /*! @{ */
32162 
32163 #define DMA_DADDR_DADDR_MASK                     (0xFFFFFFFFU)
32164 #define DMA_DADDR_DADDR_SHIFT                    (0U)
32165 /*! DADDR - Destination Address
32166  */
32167 #define DMA_DADDR_DADDR(x)                       (((uint32_t)(((uint32_t)(x)) << DMA_DADDR_DADDR_SHIFT)) & DMA_DADDR_DADDR_MASK)
32168 /*! @} */
32169 
32170 /* The count of DMA_DADDR */
32171 #define DMA_DADDR_COUNT                          (32U)
32172 
32173 /*! @name DOFF - TCD Signed Destination Address Offset */
32174 /*! @{ */
32175 
32176 #define DMA_DOFF_DOFF_MASK                       (0xFFFFU)
32177 #define DMA_DOFF_DOFF_SHIFT                      (0U)
32178 /*! DOFF - Destination Address Signed Offset
32179  */
32180 #define DMA_DOFF_DOFF(x)                         (((uint16_t)(((uint16_t)(x)) << DMA_DOFF_DOFF_SHIFT)) & DMA_DOFF_DOFF_MASK)
32181 /*! @} */
32182 
32183 /* The count of DMA_DOFF */
32184 #define DMA_DOFF_COUNT                           (32U)
32185 
32186 /*! @name CITER_ELINKNO - TCD Current Minor Loop Link, Major Loop Count (Channel Linking Disabled) */
32187 /*! @{ */
32188 
32189 #define DMA_CITER_ELINKNO_CITER_MASK             (0x7FFFU)
32190 #define DMA_CITER_ELINKNO_CITER_SHIFT            (0U)
32191 /*! CITER - Current Major Iteration Count
32192  */
32193 #define DMA_CITER_ELINKNO_CITER(x)               (((uint16_t)(((uint16_t)(x)) << DMA_CITER_ELINKNO_CITER_SHIFT)) & DMA_CITER_ELINKNO_CITER_MASK)
32194 
32195 #define DMA_CITER_ELINKNO_ELINK_MASK             (0x8000U)
32196 #define DMA_CITER_ELINKNO_ELINK_SHIFT            (15U)
32197 /*! ELINK - Enable channel-to-channel linking on minor-loop complete
32198  *  0b0..Channel-to-channel linking is disabled
32199  *  0b1..Channel-to-channel linking is enabled
32200  */
32201 #define DMA_CITER_ELINKNO_ELINK(x)               (((uint16_t)(((uint16_t)(x)) << DMA_CITER_ELINKNO_ELINK_SHIFT)) & DMA_CITER_ELINKNO_ELINK_MASK)
32202 /*! @} */
32203 
32204 /* The count of DMA_CITER_ELINKNO */
32205 #define DMA_CITER_ELINKNO_COUNT                  (32U)
32206 
32207 /*! @name CITER_ELINKYES - TCD Current Minor Loop Link, Major Loop Count (Channel Linking Enabled) */
32208 /*! @{ */
32209 
32210 #define DMA_CITER_ELINKYES_CITER_MASK            (0x1FFU)
32211 #define DMA_CITER_ELINKYES_CITER_SHIFT           (0U)
32212 /*! CITER - Current Major Iteration Count
32213  */
32214 #define DMA_CITER_ELINKYES_CITER(x)              (((uint16_t)(((uint16_t)(x)) << DMA_CITER_ELINKYES_CITER_SHIFT)) & DMA_CITER_ELINKYES_CITER_MASK)
32215 
32216 #define DMA_CITER_ELINKYES_LINKCH_MASK           (0x3E00U)
32217 #define DMA_CITER_ELINKYES_LINKCH_SHIFT          (9U)
32218 /*! LINKCH - Minor Loop Link Channel Number
32219  */
32220 #define DMA_CITER_ELINKYES_LINKCH(x)             (((uint16_t)(((uint16_t)(x)) << DMA_CITER_ELINKYES_LINKCH_SHIFT)) & DMA_CITER_ELINKYES_LINKCH_MASK)
32221 
32222 #define DMA_CITER_ELINKYES_ELINK_MASK            (0x8000U)
32223 #define DMA_CITER_ELINKYES_ELINK_SHIFT           (15U)
32224 /*! ELINK - Enable channel-to-channel linking on minor-loop complete
32225  *  0b0..Channel-to-channel linking is disabled
32226  *  0b1..Channel-to-channel linking is enabled
32227  */
32228 #define DMA_CITER_ELINKYES_ELINK(x)              (((uint16_t)(((uint16_t)(x)) << DMA_CITER_ELINKYES_ELINK_SHIFT)) & DMA_CITER_ELINKYES_ELINK_MASK)
32229 /*! @} */
32230 
32231 /* The count of DMA_CITER_ELINKYES */
32232 #define DMA_CITER_ELINKYES_COUNT                 (32U)
32233 
32234 /*! @name DLAST_SGA - TCD Last Destination Address Adjustment/Scatter Gather Address */
32235 /*! @{ */
32236 
32237 #define DMA_DLAST_SGA_DLASTSGA_MASK              (0xFFFFFFFFU)
32238 #define DMA_DLAST_SGA_DLASTSGA_SHIFT             (0U)
32239 /*! DLASTSGA - Destination last address adjustment, or next memory address TCD for channel (scatter/gather)
32240  */
32241 #define DMA_DLAST_SGA_DLASTSGA(x)                (((uint32_t)(((uint32_t)(x)) << DMA_DLAST_SGA_DLASTSGA_SHIFT)) & DMA_DLAST_SGA_DLASTSGA_MASK)
32242 /*! @} */
32243 
32244 /* The count of DMA_DLAST_SGA */
32245 #define DMA_DLAST_SGA_COUNT                      (32U)
32246 
32247 /*! @name CSR - TCD Control and Status */
32248 /*! @{ */
32249 
32250 #define DMA_CSR_START_MASK                       (0x1U)
32251 #define DMA_CSR_START_SHIFT                      (0U)
32252 /*! START - Channel Start
32253  *  0b0..Channel is not explicitly started
32254  *  0b1..Channel is explicitly started via a software initiated service request
32255  */
32256 #define DMA_CSR_START(x)                         (((uint16_t)(((uint16_t)(x)) << DMA_CSR_START_SHIFT)) & DMA_CSR_START_MASK)
32257 
32258 #define DMA_CSR_INTMAJOR_MASK                    (0x2U)
32259 #define DMA_CSR_INTMAJOR_SHIFT                   (1U)
32260 /*! INTMAJOR - Enable an interrupt when major iteration count completes.
32261  *  0b0..End of major loop interrupt is disabled
32262  *  0b1..End of major loop interrupt is enabled
32263  */
32264 #define DMA_CSR_INTMAJOR(x)                      (((uint16_t)(((uint16_t)(x)) << DMA_CSR_INTMAJOR_SHIFT)) & DMA_CSR_INTMAJOR_MASK)
32265 
32266 #define DMA_CSR_INTHALF_MASK                     (0x4U)
32267 #define DMA_CSR_INTHALF_SHIFT                    (2U)
32268 /*! INTHALF - Enable an interrupt when major counter is half complete.
32269  *  0b0..Half-point interrupt is disabled
32270  *  0b1..Half-point interrupt is enabled
32271  */
32272 #define DMA_CSR_INTHALF(x)                       (((uint16_t)(((uint16_t)(x)) << DMA_CSR_INTHALF_SHIFT)) & DMA_CSR_INTHALF_MASK)
32273 
32274 #define DMA_CSR_DREQ_MASK                        (0x8U)
32275 #define DMA_CSR_DREQ_SHIFT                       (3U)
32276 /*! DREQ - Disable Request
32277  *  0b0..The channel's ERQ field is not affected
32278  *  0b1..The channel's ERQ field value changes to 0 when the major loop is complete
32279  */
32280 #define DMA_CSR_DREQ(x)                          (((uint16_t)(((uint16_t)(x)) << DMA_CSR_DREQ_SHIFT)) & DMA_CSR_DREQ_MASK)
32281 
32282 #define DMA_CSR_ESG_MASK                         (0x10U)
32283 #define DMA_CSR_ESG_SHIFT                        (4U)
32284 /*! ESG - Enable Scatter/Gather Processing
32285  *  0b0..The current channel's TCD is normal format
32286  *  0b1..The current channel's TCD specifies a scatter gather format
32287  */
32288 #define DMA_CSR_ESG(x)                           (((uint16_t)(((uint16_t)(x)) << DMA_CSR_ESG_SHIFT)) & DMA_CSR_ESG_MASK)
32289 
32290 #define DMA_CSR_MAJORELINK_MASK                  (0x20U)
32291 #define DMA_CSR_MAJORELINK_SHIFT                 (5U)
32292 /*! MAJORELINK - Enable channel-to-channel linking on major loop complete
32293  *  0b0..Channel-to-channel linking is disabled
32294  *  0b1..Channel-to-channel linking is enabled
32295  */
32296 #define DMA_CSR_MAJORELINK(x)                    (((uint16_t)(((uint16_t)(x)) << DMA_CSR_MAJORELINK_SHIFT)) & DMA_CSR_MAJORELINK_MASK)
32297 
32298 #define DMA_CSR_ACTIVE_MASK                      (0x40U)
32299 #define DMA_CSR_ACTIVE_SHIFT                     (6U)
32300 /*! ACTIVE - Channel Active
32301  */
32302 #define DMA_CSR_ACTIVE(x)                        (((uint16_t)(((uint16_t)(x)) << DMA_CSR_ACTIVE_SHIFT)) & DMA_CSR_ACTIVE_MASK)
32303 
32304 #define DMA_CSR_DONE_MASK                        (0x80U)
32305 #define DMA_CSR_DONE_SHIFT                       (7U)
32306 /*! DONE - Channel Done
32307  */
32308 #define DMA_CSR_DONE(x)                          (((uint16_t)(((uint16_t)(x)) << DMA_CSR_DONE_SHIFT)) & DMA_CSR_DONE_MASK)
32309 
32310 #define DMA_CSR_MAJORLINKCH_MASK                 (0x1F00U)
32311 #define DMA_CSR_MAJORLINKCH_SHIFT                (8U)
32312 /*! MAJORLINKCH - Major Loop Link Channel Number
32313  */
32314 #define DMA_CSR_MAJORLINKCH(x)                   (((uint16_t)(((uint16_t)(x)) << DMA_CSR_MAJORLINKCH_SHIFT)) & DMA_CSR_MAJORLINKCH_MASK)
32315 
32316 #define DMA_CSR_BWC_MASK                         (0xC000U)
32317 #define DMA_CSR_BWC_SHIFT                        (14U)
32318 /*! BWC - Bandwidth Control
32319  *  0b00..No eDMA engine stalls
32320  *  0b01..Reserved
32321  *  0b10..eDMA engine stalls for 4 cycles after each R/W
32322  *  0b11..eDMA engine stalls for 8 cycles after each R/W
32323  */
32324 #define DMA_CSR_BWC(x)                           (((uint16_t)(((uint16_t)(x)) << DMA_CSR_BWC_SHIFT)) & DMA_CSR_BWC_MASK)
32325 /*! @} */
32326 
32327 /* The count of DMA_CSR */
32328 #define DMA_CSR_COUNT                            (32U)
32329 
32330 /*! @name BITER_ELINKNO - TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Disabled) */
32331 /*! @{ */
32332 
32333 #define DMA_BITER_ELINKNO_BITER_MASK             (0x7FFFU)
32334 #define DMA_BITER_ELINKNO_BITER_SHIFT            (0U)
32335 /*! BITER - Starting Major Iteration Count
32336  */
32337 #define DMA_BITER_ELINKNO_BITER(x)               (((uint16_t)(((uint16_t)(x)) << DMA_BITER_ELINKNO_BITER_SHIFT)) & DMA_BITER_ELINKNO_BITER_MASK)
32338 
32339 #define DMA_BITER_ELINKNO_ELINK_MASK             (0x8000U)
32340 #define DMA_BITER_ELINKNO_ELINK_SHIFT            (15U)
32341 /*! ELINK - Enables channel-to-channel linking on minor loop complete
32342  *  0b0..Channel-to-channel linking is disabled
32343  *  0b1..Channel-to-channel linking is enabled
32344  */
32345 #define DMA_BITER_ELINKNO_ELINK(x)               (((uint16_t)(((uint16_t)(x)) << DMA_BITER_ELINKNO_ELINK_SHIFT)) & DMA_BITER_ELINKNO_ELINK_MASK)
32346 /*! @} */
32347 
32348 /* The count of DMA_BITER_ELINKNO */
32349 #define DMA_BITER_ELINKNO_COUNT                  (32U)
32350 
32351 /*! @name BITER_ELINKYES - TCD Beginning Minor Loop Link, Major Loop Count (Channel Linking Enabled) */
32352 /*! @{ */
32353 
32354 #define DMA_BITER_ELINKYES_BITER_MASK            (0x1FFU)
32355 #define DMA_BITER_ELINKYES_BITER_SHIFT           (0U)
32356 /*! BITER - Starting major iteration count
32357  */
32358 #define DMA_BITER_ELINKYES_BITER(x)              (((uint16_t)(((uint16_t)(x)) << DMA_BITER_ELINKYES_BITER_SHIFT)) & DMA_BITER_ELINKYES_BITER_MASK)
32359 
32360 #define DMA_BITER_ELINKYES_LINKCH_MASK           (0x3E00U)
32361 #define DMA_BITER_ELINKYES_LINKCH_SHIFT          (9U)
32362 /*! LINKCH - Link Channel Number
32363  */
32364 #define DMA_BITER_ELINKYES_LINKCH(x)             (((uint16_t)(((uint16_t)(x)) << DMA_BITER_ELINKYES_LINKCH_SHIFT)) & DMA_BITER_ELINKYES_LINKCH_MASK)
32365 
32366 #define DMA_BITER_ELINKYES_ELINK_MASK            (0x8000U)
32367 #define DMA_BITER_ELINKYES_ELINK_SHIFT           (15U)
32368 /*! ELINK - Enables channel-to-channel linking on minor loop complete
32369  *  0b0..Channel-to-channel linking is disabled
32370  *  0b1..Channel-to-channel linking is enabled
32371  */
32372 #define DMA_BITER_ELINKYES_ELINK(x)              (((uint16_t)(((uint16_t)(x)) << DMA_BITER_ELINKYES_ELINK_SHIFT)) & DMA_BITER_ELINKYES_ELINK_MASK)
32373 /*! @} */
32374 
32375 /* The count of DMA_BITER_ELINKYES */
32376 #define DMA_BITER_ELINKYES_COUNT                 (32U)
32377 
32378 
32379 /*!
32380  * @}
32381  */ /* end of group DMA_Register_Masks */
32382 
32383 
32384 /* DMA - Peripheral instance base addresses */
32385 /** Peripheral DMA0 base address */
32386 #define DMA0_BASE                                (0x40070000u)
32387 /** Peripheral DMA0 base pointer */
32388 #define DMA0                                     ((DMA_Type *)DMA0_BASE)
32389 /** Array initializer of DMA peripheral base addresses */
32390 #define DMA_BASE_ADDRS                           { DMA0_BASE }
32391 /** Array initializer of DMA peripheral base pointers */
32392 #define DMA_BASE_PTRS                            { DMA0 }
32393 /** Interrupt vectors for the DMA peripheral type */
32394 #define DMA_CHN_IRQS                             { { DMA0_DMA16_IRQn, DMA1_DMA17_IRQn, DMA2_DMA18_IRQn, DMA3_DMA19_IRQn, DMA4_DMA20_IRQn, DMA5_DMA21_IRQn, DMA6_DMA22_IRQn, DMA7_DMA23_IRQn, DMA8_DMA24_IRQn, DMA9_DMA25_IRQn, DMA10_DMA26_IRQn, DMA11_DMA27_IRQn, DMA12_DMA28_IRQn, DMA13_DMA29_IRQn, DMA14_DMA30_IRQn, DMA15_DMA31_IRQn, DMA0_DMA16_IRQn, DMA1_DMA17_IRQn, DMA2_DMA18_IRQn, DMA3_DMA19_IRQn, DMA4_DMA20_IRQn, DMA5_DMA21_IRQn, DMA6_DMA22_IRQn, DMA7_DMA23_IRQn, DMA8_DMA24_IRQn, DMA9_DMA25_IRQn, DMA10_DMA26_IRQn, DMA11_DMA27_IRQn, DMA12_DMA28_IRQn, DMA13_DMA29_IRQn, DMA14_DMA30_IRQn, DMA15_DMA31_IRQn } }
32395 #define DMA_ERROR_IRQS                           { DMA_ERROR_IRQn }
32396 
32397 /*!
32398  * @}
32399  */ /* end of group DMA_Peripheral_Access_Layer */
32400 
32401 
32402 /* ----------------------------------------------------------------------------
32403    -- DMAMUX Peripheral Access Layer
32404    ---------------------------------------------------------------------------- */
32405 
32406 /*!
32407  * @addtogroup DMAMUX_Peripheral_Access_Layer DMAMUX Peripheral Access Layer
32408  * @{
32409  */
32410 
32411 /** DMAMUX - Register Layout Typedef */
32412 typedef struct {
32413   __IO uint32_t CHCFG[32];                         /**< Channel 0 Configuration Register..Channel 31 Configuration Register, array offset: 0x0, array step: 0x4 */
32414 } DMAMUX_Type;
32415 
32416 /* ----------------------------------------------------------------------------
32417    -- DMAMUX Register Masks
32418    ---------------------------------------------------------------------------- */
32419 
32420 /*!
32421  * @addtogroup DMAMUX_Register_Masks DMAMUX Register Masks
32422  * @{
32423  */
32424 
32425 /*! @name CHCFG - Channel 0 Configuration Register..Channel 31 Configuration Register */
32426 /*! @{ */
32427 
32428 #define DMAMUX_CHCFG_SOURCE_MASK                 (0xFFU)
32429 #define DMAMUX_CHCFG_SOURCE_SHIFT                (0U)
32430 /*! SOURCE - DMA Channel Source (Slot Number)
32431  */
32432 #define DMAMUX_CHCFG_SOURCE(x)                   (((uint32_t)(((uint32_t)(x)) << DMAMUX_CHCFG_SOURCE_SHIFT)) & DMAMUX_CHCFG_SOURCE_MASK)
32433 
32434 #define DMAMUX_CHCFG_A_ON_MASK                   (0x20000000U)
32435 #define DMAMUX_CHCFG_A_ON_SHIFT                  (29U)
32436 /*! A_ON - DMA Channel Always Enable
32437  *  0b0..DMA Channel Always ON function is disabled
32438  *  0b1..DMA Channel Always ON function is enabled
32439  */
32440 #define DMAMUX_CHCFG_A_ON(x)                     (((uint32_t)(((uint32_t)(x)) << DMAMUX_CHCFG_A_ON_SHIFT)) & DMAMUX_CHCFG_A_ON_MASK)
32441 
32442 #define DMAMUX_CHCFG_TRIG_MASK                   (0x40000000U)
32443 #define DMAMUX_CHCFG_TRIG_SHIFT                  (30U)
32444 /*! TRIG - DMA Channel Trigger Enable
32445  *  0b0..Triggering is disabled. If triggering is disabled and ENBL is set, the DMA Channel will simply route the
32446  *       specified source to the DMA channel. (Normal mode)
32447  *  0b1..Triggering is enabled. If triggering is enabled and ENBL is set, the DMA_CH_MUX is in Periodic Trigger mode.
32448  */
32449 #define DMAMUX_CHCFG_TRIG(x)                     (((uint32_t)(((uint32_t)(x)) << DMAMUX_CHCFG_TRIG_SHIFT)) & DMAMUX_CHCFG_TRIG_MASK)
32450 
32451 #define DMAMUX_CHCFG_ENBL_MASK                   (0x80000000U)
32452 #define DMAMUX_CHCFG_ENBL_SHIFT                  (31U)
32453 /*! ENBL - DMA Mux Channel Enable
32454  *  0b0..DMA Mux channel is disabled
32455  *  0b1..DMA Mux channel is enabled
32456  */
32457 #define DMAMUX_CHCFG_ENBL(x)                     (((uint32_t)(((uint32_t)(x)) << DMAMUX_CHCFG_ENBL_SHIFT)) & DMAMUX_CHCFG_ENBL_MASK)
32458 /*! @} */
32459 
32460 /* The count of DMAMUX_CHCFG */
32461 #define DMAMUX_CHCFG_COUNT                       (32U)
32462 
32463 
32464 /*!
32465  * @}
32466  */ /* end of group DMAMUX_Register_Masks */
32467 
32468 
32469 /* DMAMUX - Peripheral instance base addresses */
32470 /** Peripheral DMAMUX0 base address */
32471 #define DMAMUX0_BASE                             (0x40074000u)
32472 /** Peripheral DMAMUX0 base pointer */
32473 #define DMAMUX0                                  ((DMAMUX_Type *)DMAMUX0_BASE)
32474 /** Array initializer of DMAMUX peripheral base addresses */
32475 #define DMAMUX_BASE_ADDRS                        { DMAMUX0_BASE }
32476 /** Array initializer of DMAMUX peripheral base pointers */
32477 #define DMAMUX_BASE_PTRS                         { DMAMUX0 }
32478 
32479 /*!
32480  * @}
32481  */ /* end of group DMAMUX_Peripheral_Access_Layer */
32482 
32483 
32484 /* ----------------------------------------------------------------------------
32485    -- DSI_HOST Peripheral Access Layer
32486    ---------------------------------------------------------------------------- */
32487 
32488 /*!
32489  * @addtogroup DSI_HOST_Peripheral_Access_Layer DSI_HOST Peripheral Access Layer
32490  * @{
32491  */
32492 
32493 /** DSI_HOST - Register Layout Typedef */
32494 typedef struct {
32495   __IO uint32_t CFG_NUM_LANES;                     /**< CFG_NUM_LANES, offset: 0x0 */
32496   __IO uint32_t CFG_NONCONTINUOUS_CLK;             /**< CFG_NONCONTINUOUS_CLK, offset: 0x4 */
32497   __IO uint32_t CFG_T_PRE;                         /**< CFG_T_PRE, offset: 0x8 */
32498   __IO uint32_t CFG_T_POST;                        /**< CFG_T_POST, offset: 0xC */
32499   __IO uint32_t CFG_TX_GAP;                        /**< CFG_TX_GAP, offset: 0x10 */
32500   __IO uint32_t CFG_AUTOINSERT_EOTP;               /**< CFG_AUTOINSERT_ETOP, offset: 0x14 */
32501   __IO uint32_t CFG_EXTRA_CMDS_AFTER_EOTP;         /**< CFG_EXTRA_CMDS_AFTER_ETOP, offset: 0x18 */
32502   __IO uint32_t CFG_HTX_TO_COUNT;                  /**< CFG_HTX_TO_COUNT, offset: 0x1C */
32503   __IO uint32_t CFG_LRX_H_TO_COUNT;                /**< CFG_LRX_H_TO_COUNT, offset: 0x20 */
32504   __IO uint32_t CFG_BTA_H_TO_COUNT;                /**< CFG_BTA_H_TO_COUNT, offset: 0x24 */
32505   __IO uint32_t CFG_TWAKEUP;                       /**< CFG_TWAKEUP, offset: 0x28 */
32506   __I  uint32_t CFG_STATUS_OUT;                    /**< CFG_STATUS_OUT, offset: 0x2C */
32507   __I  uint32_t RX_ERROR_STATUS;                   /**< RX_ERROR_STATUS, offset: 0x30 */
32508 } DSI_HOST_Type;
32509 
32510 /* ----------------------------------------------------------------------------
32511    -- DSI_HOST Register Masks
32512    ---------------------------------------------------------------------------- */
32513 
32514 /*!
32515  * @addtogroup DSI_HOST_Register_Masks DSI_HOST Register Masks
32516  * @{
32517  */
32518 
32519 /*! @name CFG_NUM_LANES - CFG_NUM_LANES */
32520 /*! @{ */
32521 
32522 #define DSI_HOST_CFG_NUM_LANES_NUM_LANES_MASK    (0x3U)
32523 #define DSI_HOST_CFG_NUM_LANES_NUM_LANES_SHIFT   (0U)
32524 /*! NUM_LANES - Sets the number of active lanes that are to be used for transmitting data.
32525  *  0b00..1 lane
32526  *  0b01..2 lanes
32527  */
32528 #define DSI_HOST_CFG_NUM_LANES_NUM_LANES(x)      (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_NUM_LANES_NUM_LANES_SHIFT)) & DSI_HOST_CFG_NUM_LANES_NUM_LANES_MASK)
32529 /*! @} */
32530 
32531 /*! @name CFG_NONCONTINUOUS_CLK - CFG_NONCONTINUOUS_CLK */
32532 /*! @{ */
32533 
32534 #define DSI_HOST_CFG_NONCONTINUOUS_CLK_CLK_MODE_MASK (0x1U)
32535 #define DSI_HOST_CFG_NONCONTINUOUS_CLK_CLK_MODE_SHIFT (0U)
32536 /*! CLK_MODE - Sets the Host Controller into non-continuous MIPI clock mode. When in non-continuous
32537  *    clock mode, the high speed clock will transition into low power mode between transmissions.
32538  *  0b0..Continuous high speed clock
32539  *  0b1..Non-Continuous high speed clock
32540  */
32541 #define DSI_HOST_CFG_NONCONTINUOUS_CLK_CLK_MODE(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_NONCONTINUOUS_CLK_CLK_MODE_SHIFT)) & DSI_HOST_CFG_NONCONTINUOUS_CLK_CLK_MODE_MASK)
32542 /*! @} */
32543 
32544 /*! @name CFG_T_PRE - CFG_T_PRE */
32545 /*! @{ */
32546 
32547 #define DSI_HOST_CFG_T_PRE_NUM_PERIODS_MASK      (0xFFU)
32548 #define DSI_HOST_CFG_T_PRE_NUM_PERIODS_SHIFT     (0U)
32549 /*! NUM_PERIODS - Sets the number of byte clock periods ('clk_byte' input) that the controller will
32550  *    wait after enabling the clock lane for HS operation before enabling the data lanes for HS
32551  *    operation. This setting represents the TCLK-PRE DPHY timing parameter. The minimum value for this
32552  *    port is 1.
32553  */
32554 #define DSI_HOST_CFG_T_PRE_NUM_PERIODS(x)        (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_T_PRE_NUM_PERIODS_SHIFT)) & DSI_HOST_CFG_T_PRE_NUM_PERIODS_MASK)
32555 /*! @} */
32556 
32557 /*! @name CFG_T_POST - CFG_T_POST */
32558 /*! @{ */
32559 
32560 #define DSI_HOST_CFG_T_POST_NUM_PERIODS_MASK     (0xFFU)
32561 #define DSI_HOST_CFG_T_POST_NUM_PERIODS_SHIFT    (0U)
32562 /*! NUM_PERIODS - Sets the number of byte clock periods ('clk_byte' input) to wait before putting
32563  *    the clock lane into LP mode after the data lanes have been detected to be in Stop State. This
32564  *    setting represents the DPHY timing parameters TLPX + TCLK-PREPARE + TCLK-ZERO + TCLK-PRE
32565  *    requirement for the clock lane before the data lane is allowed to change from LP11 to start a high
32566  *    speed transmission. The minimum value for this port is 1.
32567  */
32568 #define DSI_HOST_CFG_T_POST_NUM_PERIODS(x)       (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_T_POST_NUM_PERIODS_SHIFT)) & DSI_HOST_CFG_T_POST_NUM_PERIODS_MASK)
32569 /*! @} */
32570 
32571 /*! @name CFG_TX_GAP - CFG_TX_GAP */
32572 /*! @{ */
32573 
32574 #define DSI_HOST_CFG_TX_GAP_NUM_PERIODS_MASK     (0xFFU)
32575 #define DSI_HOST_CFG_TX_GAP_NUM_PERIODS_SHIFT    (0U)
32576 /*! NUM_PERIODS - Sets the number of byte clock periods ('clk_byte' input) that the controller will
32577  *    wait after the clock lane has been put into LP mode before enabling the clock lane for HS mode
32578  *    again. This setting represents the THS-EXIT DPHY timing parameter. The minimum value for this
32579  *    port is 1.
32580  */
32581 #define DSI_HOST_CFG_TX_GAP_NUM_PERIODS(x)       (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_TX_GAP_NUM_PERIODS_SHIFT)) & DSI_HOST_CFG_TX_GAP_NUM_PERIODS_MASK)
32582 /*! @} */
32583 
32584 /*! @name CFG_AUTOINSERT_EOTP - CFG_AUTOINSERT_ETOP */
32585 /*! @{ */
32586 
32587 #define DSI_HOST_CFG_AUTOINSERT_EOTP_AUTOINSERT_MASK (0x1U)
32588 #define DSI_HOST_CFG_AUTOINSERT_EOTP_AUTOINSERT_SHIFT (0U)
32589 /*! AUTOINSERT - Enables the Host Controller to automatically insert an EoTp short packet when switching from HS to LP mode.
32590  *  0b0..EoTp is not automatically inserted
32591  *  0b1..EoTp is automatically inserted
32592  */
32593 #define DSI_HOST_CFG_AUTOINSERT_EOTP_AUTOINSERT(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_AUTOINSERT_EOTP_AUTOINSERT_SHIFT)) & DSI_HOST_CFG_AUTOINSERT_EOTP_AUTOINSERT_MASK)
32594 /*! @} */
32595 
32596 /*! @name CFG_EXTRA_CMDS_AFTER_EOTP - CFG_EXTRA_CMDS_AFTER_ETOP */
32597 /*! @{ */
32598 
32599 #define DSI_HOST_CFG_EXTRA_CMDS_AFTER_EOTP_EXTRA_EOTP_MASK (0xFFU)
32600 #define DSI_HOST_CFG_EXTRA_CMDS_AFTER_EOTP_EXTRA_EOTP_SHIFT (0U)
32601 /*! EXTRA_EOTP - Configures the DSI Host Controller to send extra End Of Transmission Packets after
32602  *    the end of a packet. The value is the number of extra EOTP packets sent.
32603  */
32604 #define DSI_HOST_CFG_EXTRA_CMDS_AFTER_EOTP_EXTRA_EOTP(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_EXTRA_CMDS_AFTER_EOTP_EXTRA_EOTP_SHIFT)) & DSI_HOST_CFG_EXTRA_CMDS_AFTER_EOTP_EXTRA_EOTP_MASK)
32605 /*! @} */
32606 
32607 /*! @name CFG_HTX_TO_COUNT - CFG_HTX_TO_COUNT */
32608 /*! @{ */
32609 
32610 #define DSI_HOST_CFG_HTX_TO_COUNT_COUNT_MASK     (0xFFFFFFU)
32611 #define DSI_HOST_CFG_HTX_TO_COUNT_COUNT_SHIFT    (0U)
32612 /*! COUNT - Sets the value of the DSI Host High Speed TX timeout count in clk_byte clock periods
32613  *    that once reached will initiate a timeout error and follow the recovery procedure documented in
32614  *    the DSI specification.
32615  */
32616 #define DSI_HOST_CFG_HTX_TO_COUNT_COUNT(x)       (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_HTX_TO_COUNT_COUNT_SHIFT)) & DSI_HOST_CFG_HTX_TO_COUNT_COUNT_MASK)
32617 /*! @} */
32618 
32619 /*! @name CFG_LRX_H_TO_COUNT - CFG_LRX_H_TO_COUNT */
32620 /*! @{ */
32621 
32622 #define DSI_HOST_CFG_LRX_H_TO_COUNT_COUNT_MASK   (0xFFFFFFU)
32623 #define DSI_HOST_CFG_LRX_H_TO_COUNT_COUNT_SHIFT  (0U)
32624 /*! COUNT - Sets the value of the DSI Host low power RX timeout count in clk_byte clock periods that
32625  *    once reached will initiate a timeout error and follow the recovery procedure documented in
32626  *    the DSI specification.
32627  */
32628 #define DSI_HOST_CFG_LRX_H_TO_COUNT_COUNT(x)     (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_LRX_H_TO_COUNT_COUNT_SHIFT)) & DSI_HOST_CFG_LRX_H_TO_COUNT_COUNT_MASK)
32629 /*! @} */
32630 
32631 /*! @name CFG_BTA_H_TO_COUNT - CFG_BTA_H_TO_COUNT */
32632 /*! @{ */
32633 
32634 #define DSI_HOST_CFG_BTA_H_TO_COUNT_COUNT_MASK   (0xFFFFFFU)
32635 #define DSI_HOST_CFG_BTA_H_TO_COUNT_COUNT_SHIFT  (0U)
32636 /*! COUNT - Sets the value of the DSI Host Bus Turn Around (BTA) timeout in clk_byte clock periods
32637  *    that once reached will initiate a timeout error.
32638  */
32639 #define DSI_HOST_CFG_BTA_H_TO_COUNT_COUNT(x)     (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_BTA_H_TO_COUNT_COUNT_SHIFT)) & DSI_HOST_CFG_BTA_H_TO_COUNT_COUNT_MASK)
32640 /*! @} */
32641 
32642 /*! @name CFG_TWAKEUP - CFG_TWAKEUP */
32643 /*! @{ */
32644 
32645 #define DSI_HOST_CFG_TWAKEUP_NUM_PERIODS_MASK    (0x7FFFFU)
32646 #define DSI_HOST_CFG_TWAKEUP_NUM_PERIODS_SHIFT   (0U)
32647 /*! NUM_PERIODS - DPHY Twakeup timing parameter. Sets the number of clk_esc clock periods to keep a
32648  *    clock or data lane in Mark-1 state after exiting ULPS. The MIPI DPHY spec requires a minimum
32649  *    of 1ms in Mark-1 state after leaving ULPS.
32650  */
32651 #define DSI_HOST_CFG_TWAKEUP_NUM_PERIODS(x)      (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_TWAKEUP_NUM_PERIODS_SHIFT)) & DSI_HOST_CFG_TWAKEUP_NUM_PERIODS_MASK)
32652 /*! @} */
32653 
32654 /*! @name CFG_STATUS_OUT - CFG_STATUS_OUT */
32655 /*! @{ */
32656 
32657 #define DSI_HOST_CFG_STATUS_OUT_STATUS_MASK      (0xFFFFFFFFU)
32658 #define DSI_HOST_CFG_STATUS_OUT_STATUS_SHIFT     (0U)
32659 /*! STATUS - Status Register
32660  */
32661 #define DSI_HOST_CFG_STATUS_OUT_STATUS(x)        (((uint32_t)(((uint32_t)(x)) << DSI_HOST_CFG_STATUS_OUT_STATUS_SHIFT)) & DSI_HOST_CFG_STATUS_OUT_STATUS_MASK)
32662 /*! @} */
32663 
32664 /*! @name RX_ERROR_STATUS - RX_ERROR_STATUS */
32665 /*! @{ */
32666 
32667 #define DSI_HOST_RX_ERROR_STATUS_STATUS_MASK     (0x7FFU)
32668 #define DSI_HOST_RX_ERROR_STATUS_STATUS_SHIFT    (0U)
32669 /*! STATUS - Status Register for Host receive error detection, ECC errors, CRC errors and for timeout indicators
32670  */
32671 #define DSI_HOST_RX_ERROR_STATUS_STATUS(x)       (((uint32_t)(((uint32_t)(x)) << DSI_HOST_RX_ERROR_STATUS_STATUS_SHIFT)) & DSI_HOST_RX_ERROR_STATUS_STATUS_MASK)
32672 /*! @} */
32673 
32674 
32675 /*!
32676  * @}
32677  */ /* end of group DSI_HOST_Register_Masks */
32678 
32679 
32680 /* DSI_HOST - Peripheral instance base addresses */
32681 /** Peripheral DSI_HOST base address */
32682 #define DSI_HOST_BASE                            (0x4080C000u)
32683 /** Peripheral DSI_HOST base pointer */
32684 #define DSI_HOST                                 ((DSI_HOST_Type *)DSI_HOST_BASE)
32685 /** Array initializer of DSI_HOST peripheral base addresses */
32686 #define DSI_HOST_BASE_ADDRS                      { DSI_HOST_BASE }
32687 /** Array initializer of DSI_HOST peripheral base pointers */
32688 #define DSI_HOST_BASE_PTRS                       { DSI_HOST }
32689 /** Interrupt vectors for the DSI_HOST peripheral type */
32690 #define DSI_HOST_DSI_IRQS                        { MIPI_DSI_IRQn }
32691 
32692 /*!
32693  * @}
32694  */ /* end of group DSI_HOST_Peripheral_Access_Layer */
32695 
32696 
32697 /* ----------------------------------------------------------------------------
32698    -- DSI_HOST_APB_PKT_IF Peripheral Access Layer
32699    ---------------------------------------------------------------------------- */
32700 
32701 /*!
32702  * @addtogroup DSI_HOST_APB_PKT_IF_Peripheral_Access_Layer DSI_HOST_APB_PKT_IF Peripheral Access Layer
32703  * @{
32704  */
32705 
32706 /** DSI_HOST_APB_PKT_IF - Register Layout Typedef */
32707 typedef struct {
32708   __IO uint32_t TX_PAYLOAD;                        /**< TX_PAYLOAD, offset: 0x0 */
32709   __IO uint32_t PKT_CONTROL;                       /**< PKT_CONTROL, offset: 0x4 */
32710   __IO uint32_t SEND_PACKET;                       /**< SEND_PACKET, offset: 0x8 */
32711   __I  uint32_t PKT_STATUS;                        /**< PKT_STATUS, offset: 0xC */
32712   __I  uint32_t PKT_FIFO_WR_LEVEL;                 /**< PKT_FIFO_WR_LEVEL, offset: 0x10 */
32713   __I  uint32_t PKT_FIFO_RD_LEVEL;                 /**< PKT_FIFO_RD_LEVEL, offset: 0x14 */
32714   __I  uint32_t PKT_RX_PAYLOAD;                    /**< PKT_RX_PAYLOAD, offset: 0x18 */
32715   __I  uint32_t PKT_RX_PKT_HEADER;                 /**< PKT_RX_PKT_HEADER, offset: 0x1C */
32716   __I  uint32_t IRQ_STATUS;                        /**< IRQ_STATUS, offset: 0x20 */
32717   __I  uint32_t IRQ_STATUS2;                       /**< IRQ_STATUS2, offset: 0x24 */
32718   __IO uint32_t IRQ_MASK;                          /**< IRQ_MASK, offset: 0x28 */
32719   __IO uint32_t IRQ_MASK2;                         /**< IRQ_MASK2, offset: 0x2C */
32720 } DSI_HOST_APB_PKT_IF_Type;
32721 
32722 /* ----------------------------------------------------------------------------
32723    -- DSI_HOST_APB_PKT_IF Register Masks
32724    ---------------------------------------------------------------------------- */
32725 
32726 /*!
32727  * @addtogroup DSI_HOST_APB_PKT_IF_Register_Masks DSI_HOST_APB_PKT_IF Register Masks
32728  * @{
32729  */
32730 
32731 /*! @name TX_PAYLOAD - TX_PAYLOAD */
32732 /*! @{ */
32733 
32734 #define DSI_HOST_APB_PKT_IF_TX_PAYLOAD_PAYLOAD_MASK (0xFFFFFFFFU)
32735 #define DSI_HOST_APB_PKT_IF_TX_PAYLOAD_PAYLOAD_SHIFT (0U)
32736 /*! PAYLOAD - Tx Payload data write register. Write to this register loads the payload FIFO with 32 bit values.
32737  */
32738 #define DSI_HOST_APB_PKT_IF_TX_PAYLOAD_PAYLOAD(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_TX_PAYLOAD_PAYLOAD_SHIFT)) & DSI_HOST_APB_PKT_IF_TX_PAYLOAD_PAYLOAD_MASK)
32739 /*! @} */
32740 
32741 /*! @name PKT_CONTROL - PKT_CONTROL */
32742 /*! @{ */
32743 
32744 #define DSI_HOST_APB_PKT_IF_PKT_CONTROL_CTRL_MASK (0x7FFFFFFU)
32745 #define DSI_HOST_APB_PKT_IF_PKT_CONTROL_CTRL_SHIFT (0U)
32746 /*! CTRL - Tx packet control
32747  */
32748 #define DSI_HOST_APB_PKT_IF_PKT_CONTROL_CTRL(x)  (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_CONTROL_CTRL_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_CONTROL_CTRL_MASK)
32749 /*! @} */
32750 
32751 /*! @name SEND_PACKET - SEND_PACKET */
32752 /*! @{ */
32753 
32754 #define DSI_HOST_APB_PKT_IF_SEND_PACKET_TX_SEND_MASK (0x1U)
32755 #define DSI_HOST_APB_PKT_IF_SEND_PACKET_TX_SEND_SHIFT (0U)
32756 /*! TX_SEND - Tx send packet, writing to this register causes the packet described in dsi_host_pkt_control to be sent.
32757  *  0b0..Packet not sent
32758  *  0b1..Packet is sent
32759  */
32760 #define DSI_HOST_APB_PKT_IF_SEND_PACKET_TX_SEND(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_SEND_PACKET_TX_SEND_SHIFT)) & DSI_HOST_APB_PKT_IF_SEND_PACKET_TX_SEND_MASK)
32761 /*! @} */
32762 
32763 /*! @name PKT_STATUS - PKT_STATUS */
32764 /*! @{ */
32765 
32766 #define DSI_HOST_APB_PKT_IF_PKT_STATUS_STATUS_MASK (0x1FFU)
32767 #define DSI_HOST_APB_PKT_IF_PKT_STATUS_STATUS_SHIFT (0U)
32768 /*! STATUS - Status of APB to packet interface.
32769  */
32770 #define DSI_HOST_APB_PKT_IF_PKT_STATUS_STATUS(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_STATUS_STATUS_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_STATUS_STATUS_MASK)
32771 /*! @} */
32772 
32773 /*! @name PKT_FIFO_WR_LEVEL - PKT_FIFO_WR_LEVEL */
32774 /*! @{ */
32775 
32776 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_WR_LEVEL_WR_MASK (0xFFFFU)
32777 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_WR_LEVEL_WR_SHIFT (0U)
32778 /*! WR - Write level of APB to pkt interface FIFO
32779  */
32780 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_WR_LEVEL_WR(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_FIFO_WR_LEVEL_WR_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_FIFO_WR_LEVEL_WR_MASK)
32781 /*! @} */
32782 
32783 /*! @name PKT_FIFO_RD_LEVEL - PKT_FIFO_RD_LEVEL */
32784 /*! @{ */
32785 
32786 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_RD_LEVEL_RD_MASK (0xFFFFU)
32787 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_RD_LEVEL_RD_SHIFT (0U)
32788 /*! RD - Read level of APB to pkt interface FIFO
32789  */
32790 #define DSI_HOST_APB_PKT_IF_PKT_FIFO_RD_LEVEL_RD(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_FIFO_RD_LEVEL_RD_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_FIFO_RD_LEVEL_RD_MASK)
32791 /*! @} */
32792 
32793 /*! @name PKT_RX_PAYLOAD - PKT_RX_PAYLOAD */
32794 /*! @{ */
32795 
32796 #define DSI_HOST_APB_PKT_IF_PKT_RX_PAYLOAD_PAYLOAD_MASK (0xFFFFFFFFU)
32797 #define DSI_HOST_APB_PKT_IF_PKT_RX_PAYLOAD_PAYLOAD_SHIFT (0U)
32798 /*! PAYLOAD - APB to pkt interface Rx payload read
32799  */
32800 #define DSI_HOST_APB_PKT_IF_PKT_RX_PAYLOAD_PAYLOAD(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_RX_PAYLOAD_PAYLOAD_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_RX_PAYLOAD_PAYLOAD_MASK)
32801 /*! @} */
32802 
32803 /*! @name PKT_RX_PKT_HEADER - PKT_RX_PKT_HEADER */
32804 /*! @{ */
32805 
32806 #define DSI_HOST_APB_PKT_IF_PKT_RX_PKT_HEADER_HEADER_MASK (0xFFFFFFU)
32807 #define DSI_HOST_APB_PKT_IF_PKT_RX_PKT_HEADER_HEADER_SHIFT (0U)
32808 /*! HEADER - APB to pkt interface Rx packet header
32809  */
32810 #define DSI_HOST_APB_PKT_IF_PKT_RX_PKT_HEADER_HEADER(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_PKT_RX_PKT_HEADER_HEADER_SHIFT)) & DSI_HOST_APB_PKT_IF_PKT_RX_PKT_HEADER_HEADER_MASK)
32811 /*! @} */
32812 
32813 /*! @name IRQ_STATUS - IRQ_STATUS */
32814 /*! @{ */
32815 
32816 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS_STATUS_MASK (0xFFFFFFFFU)
32817 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS_STATUS_SHIFT (0U)
32818 /*! STATUS - Status of APB to packet interface.
32819  */
32820 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS_STATUS(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_IRQ_STATUS_STATUS_SHIFT)) & DSI_HOST_APB_PKT_IF_IRQ_STATUS_STATUS_MASK)
32821 /*! @} */
32822 
32823 /*! @name IRQ_STATUS2 - IRQ_STATUS2 */
32824 /*! @{ */
32825 
32826 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS2_STATUS2_MASK (0x7U)
32827 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS2_STATUS2_SHIFT (0U)
32828 /*! STATUS2 - Status of APB to packet interface part 2, read part 2 first then dsi_host_irq_status.
32829  *    Reading dsi_host_irq_status will clear both status and status2.
32830  */
32831 #define DSI_HOST_APB_PKT_IF_IRQ_STATUS2_STATUS2(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_IRQ_STATUS2_STATUS2_SHIFT)) & DSI_HOST_APB_PKT_IF_IRQ_STATUS2_STATUS2_MASK)
32832 /*! @} */
32833 
32834 /*! @name IRQ_MASK - IRQ_MASK */
32835 /*! @{ */
32836 
32837 #define DSI_HOST_APB_PKT_IF_IRQ_MASK_MASK_MASK   (0xFFFFFFFFU)
32838 #define DSI_HOST_APB_PKT_IF_IRQ_MASK_MASK_SHIFT  (0U)
32839 /*! MASK - IRQ Mask
32840  */
32841 #define DSI_HOST_APB_PKT_IF_IRQ_MASK_MASK(x)     (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_IRQ_MASK_MASK_SHIFT)) & DSI_HOST_APB_PKT_IF_IRQ_MASK_MASK_MASK)
32842 /*! @} */
32843 
32844 /*! @name IRQ_MASK2 - IRQ_MASK2 */
32845 /*! @{ */
32846 
32847 #define DSI_HOST_APB_PKT_IF_IRQ_MASK2_MASK2_MASK (0x7U)
32848 #define DSI_HOST_APB_PKT_IF_IRQ_MASK2_MASK2_SHIFT (0U)
32849 /*! MASK2 - IRQ mask 2
32850  */
32851 #define DSI_HOST_APB_PKT_IF_IRQ_MASK2_MASK2(x)   (((uint32_t)(((uint32_t)(x)) << DSI_HOST_APB_PKT_IF_IRQ_MASK2_MASK2_SHIFT)) & DSI_HOST_APB_PKT_IF_IRQ_MASK2_MASK2_MASK)
32852 /*! @} */
32853 
32854 
32855 /*!
32856  * @}
32857  */ /* end of group DSI_HOST_APB_PKT_IF_Register_Masks */
32858 
32859 
32860 /* DSI_HOST_APB_PKT_IF - Peripheral instance base addresses */
32861 /** Peripheral DSI_HOST_APB_PKT_IF base address */
32862 #define DSI_HOST_APB_PKT_IF_BASE                 (0x4080C280u)
32863 /** Peripheral DSI_HOST_APB_PKT_IF base pointer */
32864 #define DSI_HOST_APB_PKT_IF                      ((DSI_HOST_APB_PKT_IF_Type *)DSI_HOST_APB_PKT_IF_BASE)
32865 /** Array initializer of DSI_HOST_APB_PKT_IF peripheral base addresses */
32866 #define DSI_HOST_APB_PKT_IF_BASE_ADDRS           { DSI_HOST_APB_PKT_IF_BASE }
32867 /** Array initializer of DSI_HOST_APB_PKT_IF peripheral base pointers */
32868 #define DSI_HOST_APB_PKT_IF_BASE_PTRS            { DSI_HOST_APB_PKT_IF }
32869 
32870 /*!
32871  * @}
32872  */ /* end of group DSI_HOST_APB_PKT_IF_Peripheral_Access_Layer */
32873 
32874 
32875 /* ----------------------------------------------------------------------------
32876    -- DSI_HOST_DPI_INTFC Peripheral Access Layer
32877    ---------------------------------------------------------------------------- */
32878 
32879 /*!
32880  * @addtogroup DSI_HOST_DPI_INTFC_Peripheral_Access_Layer DSI_HOST_DPI_INTFC Peripheral Access Layer
32881  * @{
32882  */
32883 
32884 /** DSI_HOST_DPI_INTFC - Register Layout Typedef */
32885 typedef struct {
32886   __IO uint32_t PIXEL_PAYLOAD_SIZE;                /**< PEXEL_PAYLOAD_SIZE, offset: 0x0 */
32887   __IO uint32_t PIXEL_FIFO_SEND_LEVEL;             /**< PIXEL_FIFO_SEND_LEVEL, offset: 0x4 */
32888   __IO uint32_t INTERFACE_COLOR_CODING;            /**< INTERFACE_COLOR_CODING, offset: 0x8 */
32889   __IO uint32_t PIXEL_FORMAT;                      /**< PIXEL_FORMAT, offset: 0xC */
32890   __IO uint32_t VSYNC_POLARITY;                    /**< VSYNC_POLARITY, offset: 0x10 */
32891   __IO uint32_t HSYNC_POLARITY;                    /**< HSYNC_POLARITY, offset: 0x14 */
32892   __IO uint32_t VIDEO_MODE;                        /**< VIDEO_MODE, offset: 0x18 */
32893   __IO uint32_t HFP;                               /**< HFP, offset: 0x1C */
32894   __IO uint32_t HBP;                               /**< HBP, offset: 0x20 */
32895   __IO uint32_t HSA;                               /**< HSA, offset: 0x24 */
32896   __IO uint32_t ENABLE_MULT_PKTS;                  /**< ENABLE_MULT_PKTS, offset: 0x28 */
32897   __IO uint32_t VBP;                               /**< VBP, offset: 0x2C */
32898   __IO uint32_t VFP;                               /**< VFP, offset: 0x30 */
32899   __IO uint32_t BLLP_MODE;                         /**< BLLP_MODE, offset: 0x34 */
32900   __IO uint32_t USE_NULL_PKT_BLLP;                 /**< USE_NULL_PKT_BLLP, offset: 0x38 */
32901   __IO uint32_t VACTIVE;                           /**< VACTIVE, offset: 0x3C */
32902 } DSI_HOST_DPI_INTFC_Type;
32903 
32904 /* ----------------------------------------------------------------------------
32905    -- DSI_HOST_DPI_INTFC Register Masks
32906    ---------------------------------------------------------------------------- */
32907 
32908 /*!
32909  * @addtogroup DSI_HOST_DPI_INTFC_Register_Masks DSI_HOST_DPI_INTFC Register Masks
32910  * @{
32911  */
32912 
32913 /*! @name PIXEL_PAYLOAD_SIZE - PEXEL_PAYLOAD_SIZE */
32914 /*! @{ */
32915 
32916 #define DSI_HOST_DPI_INTFC_PIXEL_PAYLOAD_SIZE_PAYLOAD_SIZE_MASK (0xFFFFU)
32917 #define DSI_HOST_DPI_INTFC_PIXEL_PAYLOAD_SIZE_PAYLOAD_SIZE_SHIFT (0U)
32918 /*! PAYLOAD_SIZE - Maximum number of pixels that should be sent as one DSI packet. Recommended to be
32919  *    evenly divisible by the line size (in pixels).
32920  */
32921 #define DSI_HOST_DPI_INTFC_PIXEL_PAYLOAD_SIZE_PAYLOAD_SIZE(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_PIXEL_PAYLOAD_SIZE_PAYLOAD_SIZE_SHIFT)) & DSI_HOST_DPI_INTFC_PIXEL_PAYLOAD_SIZE_PAYLOAD_SIZE_MASK)
32922 /*! @} */
32923 
32924 /*! @name PIXEL_FIFO_SEND_LEVEL - PIXEL_FIFO_SEND_LEVEL */
32925 /*! @{ */
32926 
32927 #define DSI_HOST_DPI_INTFC_PIXEL_FIFO_SEND_LEVEL_FIFO_SEND_LEVEL_MASK (0xFFFFU)
32928 #define DSI_HOST_DPI_INTFC_PIXEL_FIFO_SEND_LEVEL_FIFO_SEND_LEVEL_SHIFT (0U)
32929 /*! FIFO_SEND_LEVEL - In order to optimize DSI utility, the DPI bridge buffers a certain number of
32930  *    DPI pixels before initiating a DSI packet. This configuration port controls the level at which
32931  *    the DPI Host bridge begins sending pixels.
32932  */
32933 #define DSI_HOST_DPI_INTFC_PIXEL_FIFO_SEND_LEVEL_FIFO_SEND_LEVEL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_PIXEL_FIFO_SEND_LEVEL_FIFO_SEND_LEVEL_SHIFT)) & DSI_HOST_DPI_INTFC_PIXEL_FIFO_SEND_LEVEL_FIFO_SEND_LEVEL_MASK)
32934 /*! @} */
32935 
32936 /*! @name INTERFACE_COLOR_CODING - INTERFACE_COLOR_CODING */
32937 /*! @{ */
32938 
32939 #define DSI_HOST_DPI_INTFC_INTERFACE_COLOR_CODING_RGB_CONFIG_MASK (0x7U)
32940 #define DSI_HOST_DPI_INTFC_INTERFACE_COLOR_CODING_RGB_CONFIG_SHIFT (0U)
32941 /*! RGB_CONFIG - Sets the distribution of RGB bits within the 24-bit d bus, as specified by the DPI specification.
32942  *  0b000..16-bit Configuration 1
32943  *  0b001..16-bit Configuration 2
32944  *  0b010..16-bit Configuration 3
32945  *  0b011..18-bit Configuration 1
32946  *  0b100..18-bit Configuration 2
32947  *  0b101..24-bit
32948  *  0b110, 0b111..Reserved
32949  */
32950 #define DSI_HOST_DPI_INTFC_INTERFACE_COLOR_CODING_RGB_CONFIG(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_INTERFACE_COLOR_CODING_RGB_CONFIG_SHIFT)) & DSI_HOST_DPI_INTFC_INTERFACE_COLOR_CODING_RGB_CONFIG_MASK)
32951 /*! @} */
32952 
32953 /*! @name PIXEL_FORMAT - PIXEL_FORMAT */
32954 /*! @{ */
32955 
32956 #define DSI_HOST_DPI_INTFC_PIXEL_FORMAT_PIXEL_FORMAT_MASK (0x3U)
32957 #define DSI_HOST_DPI_INTFC_PIXEL_FORMAT_PIXEL_FORMAT_SHIFT (0U)
32958 /*! PIXEL_FORMAT - Sets the DSI packet type of the pixels
32959  *  0b00..16 bit
32960  *  0b01..18 bit
32961  *  0b10..18 bit loosely packed
32962  *  0b11..24 bit
32963  */
32964 #define DSI_HOST_DPI_INTFC_PIXEL_FORMAT_PIXEL_FORMAT(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_PIXEL_FORMAT_PIXEL_FORMAT_SHIFT)) & DSI_HOST_DPI_INTFC_PIXEL_FORMAT_PIXEL_FORMAT_MASK)
32965 /*! @} */
32966 
32967 /*! @name VSYNC_POLARITY - VSYNC_POLARITY */
32968 /*! @{ */
32969 
32970 #define DSI_HOST_DPI_INTFC_VSYNC_POLARITY_VSYNC_POLARITY_MASK (0x1U)
32971 #define DSI_HOST_DPI_INTFC_VSYNC_POLARITY_VSYNC_POLARITY_SHIFT (0U)
32972 /*! VSYNC_POLARITY - Sets polarity of dpi_vsync_input
32973  *  0b0..active low
32974  *  0b1..active high
32975  */
32976 #define DSI_HOST_DPI_INTFC_VSYNC_POLARITY_VSYNC_POLARITY(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_VSYNC_POLARITY_VSYNC_POLARITY_SHIFT)) & DSI_HOST_DPI_INTFC_VSYNC_POLARITY_VSYNC_POLARITY_MASK)
32977 /*! @} */
32978 
32979 /*! @name HSYNC_POLARITY - HSYNC_POLARITY */
32980 /*! @{ */
32981 
32982 #define DSI_HOST_DPI_INTFC_HSYNC_POLARITY_HSYNC_POLARITY_MASK (0x1U)
32983 #define DSI_HOST_DPI_INTFC_HSYNC_POLARITY_HSYNC_POLARITY_SHIFT (0U)
32984 /*! HSYNC_POLARITY - Sets polarity of dpi_hsync_input
32985  *  0b0..active low
32986  *  0b1..active high
32987  */
32988 #define DSI_HOST_DPI_INTFC_HSYNC_POLARITY_HSYNC_POLARITY(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_HSYNC_POLARITY_HSYNC_POLARITY_SHIFT)) & DSI_HOST_DPI_INTFC_HSYNC_POLARITY_HSYNC_POLARITY_MASK)
32989 /*! @} */
32990 
32991 /*! @name VIDEO_MODE - VIDEO_MODE */
32992 /*! @{ */
32993 
32994 #define DSI_HOST_DPI_INTFC_VIDEO_MODE_VIDEO_MODE_MASK (0x3U)
32995 #define DSI_HOST_DPI_INTFC_VIDEO_MODE_VIDEO_MODE_SHIFT (0U)
32996 /*! VIDEO_MODE - Select DSI video mode that the host DPI module should generate packets for.
32997  *  0b00..Non-Burst mode with Sync Pulses
32998  *  0b01..Non-Burst mode with Sync Events
32999  *  0b10..Burst mode
33000  *  0b11..Reserved, not valid
33001  */
33002 #define DSI_HOST_DPI_INTFC_VIDEO_MODE_VIDEO_MODE(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_VIDEO_MODE_VIDEO_MODE_SHIFT)) & DSI_HOST_DPI_INTFC_VIDEO_MODE_VIDEO_MODE_MASK)
33003 /*! @} */
33004 
33005 /*! @name HFP - HFP */
33006 /*! @{ */
33007 
33008 #define DSI_HOST_DPI_INTFC_HFP_PAYLOAD_SIZE_MASK (0xFFFFU)
33009 #define DSI_HOST_DPI_INTFC_HFP_PAYLOAD_SIZE_SHIFT (0U)
33010 /*! PAYLOAD_SIZE - Sets the DSI packet payload size, in bytes, of the horizontal front porch blanking packet.
33011  */
33012 #define DSI_HOST_DPI_INTFC_HFP_PAYLOAD_SIZE(x)   (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_HFP_PAYLOAD_SIZE_SHIFT)) & DSI_HOST_DPI_INTFC_HFP_PAYLOAD_SIZE_MASK)
33013 /*! @} */
33014 
33015 /*! @name HBP - HBP */
33016 /*! @{ */
33017 
33018 #define DSI_HOST_DPI_INTFC_HBP_PAYLOAD_SIZE_MASK (0xFFFFU)
33019 #define DSI_HOST_DPI_INTFC_HBP_PAYLOAD_SIZE_SHIFT (0U)
33020 /*! PAYLOAD_SIZE - Sets the DSI packet payload size, in bytes, of the horizontal back porch blanking packet.
33021  */
33022 #define DSI_HOST_DPI_INTFC_HBP_PAYLOAD_SIZE(x)   (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_HBP_PAYLOAD_SIZE_SHIFT)) & DSI_HOST_DPI_INTFC_HBP_PAYLOAD_SIZE_MASK)
33023 /*! @} */
33024 
33025 /*! @name HSA - HSA */
33026 /*! @{ */
33027 
33028 #define DSI_HOST_DPI_INTFC_HSA_PAYLOAD_SIZE_MASK (0xFFFFU)
33029 #define DSI_HOST_DPI_INTFC_HSA_PAYLOAD_SIZE_SHIFT (0U)
33030 /*! PAYLOAD_SIZE - Sets the DSI packet payload size, in bytes, of the horizontal sync width filler blanking packet.
33031  */
33032 #define DSI_HOST_DPI_INTFC_HSA_PAYLOAD_SIZE(x)   (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_HSA_PAYLOAD_SIZE_SHIFT)) & DSI_HOST_DPI_INTFC_HSA_PAYLOAD_SIZE_MASK)
33033 /*! @} */
33034 
33035 /*! @name ENABLE_MULT_PKTS - ENABLE_MULT_PKTS */
33036 /*! @{ */
33037 
33038 #define DSI_HOST_DPI_INTFC_ENABLE_MULT_PKTS_ENABLE_MULT_PKTS_MASK (0x1U)
33039 #define DSI_HOST_DPI_INTFC_ENABLE_MULT_PKTS_ENABLE_MULT_PKTS_SHIFT (0U)
33040 /*! ENABLE_MULT_PKTS - Enable Multiple packets per video line. When enabled,
33041  *    PIXEL_PAYLOAD_SIZE[PAYLOAD_SIZE] must be set to exactly half the size of the video line
33042  *  0b0..Video Line is sent in a single packet
33043  *  0b1..Video Line is sent in two packets
33044  */
33045 #define DSI_HOST_DPI_INTFC_ENABLE_MULT_PKTS_ENABLE_MULT_PKTS(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_ENABLE_MULT_PKTS_ENABLE_MULT_PKTS_SHIFT)) & DSI_HOST_DPI_INTFC_ENABLE_MULT_PKTS_ENABLE_MULT_PKTS_MASK)
33046 /*! @} */
33047 
33048 /*! @name VBP - VBP */
33049 /*! @{ */
33050 
33051 #define DSI_HOST_DPI_INTFC_VBP_NUM_LINES_MASK    (0xFFU)
33052 #define DSI_HOST_DPI_INTFC_VBP_NUM_LINES_SHIFT   (0U)
33053 /*! NUM_LINES - Sets the number of lines in the vertical back porch.
33054  */
33055 #define DSI_HOST_DPI_INTFC_VBP_NUM_LINES(x)      (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_VBP_NUM_LINES_SHIFT)) & DSI_HOST_DPI_INTFC_VBP_NUM_LINES_MASK)
33056 /*! @} */
33057 
33058 /*! @name VFP - VFP */
33059 /*! @{ */
33060 
33061 #define DSI_HOST_DPI_INTFC_VFP_NUM_LINES_MASK    (0xFFU)
33062 #define DSI_HOST_DPI_INTFC_VFP_NUM_LINES_SHIFT   (0U)
33063 /*! NUM_LINES - Sets the number of lines in the vertical front porch.
33064  */
33065 #define DSI_HOST_DPI_INTFC_VFP_NUM_LINES(x)      (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_VFP_NUM_LINES_SHIFT)) & DSI_HOST_DPI_INTFC_VFP_NUM_LINES_MASK)
33066 /*! @} */
33067 
33068 /*! @name BLLP_MODE - BLLP_MODE */
33069 /*! @{ */
33070 
33071 #define DSI_HOST_DPI_INTFC_BLLP_MODE_LP_MASK     (0x1U)
33072 #define DSI_HOST_DPI_INTFC_BLLP_MODE_LP_SHIFT    (0U)
33073 /*! LP - Optimize bllp periods to Low Power mode when possible
33074  *  0b0..Blanking packets are sent during BLLP periods
33075  *  0b1..LP mode is used for BLLP periods
33076  */
33077 #define DSI_HOST_DPI_INTFC_BLLP_MODE_LP(x)       (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_BLLP_MODE_LP_SHIFT)) & DSI_HOST_DPI_INTFC_BLLP_MODE_LP_MASK)
33078 /*! @} */
33079 
33080 /*! @name USE_NULL_PKT_BLLP - USE_NULL_PKT_BLLP */
33081 /*! @{ */
33082 
33083 #define DSI_HOST_DPI_INTFC_USE_NULL_PKT_BLLP_NULL_MASK (0x1U)
33084 #define DSI_HOST_DPI_INTFC_USE_NULL_PKT_BLLP_NULL_SHIFT (0U)
33085 /*! NULL - Selects type of blanking packet to be sent during bllp
33086  *  0b0..Blanking packet used in bllp region 1
33087  *  0b1..Null packet used in bllp region
33088  */
33089 #define DSI_HOST_DPI_INTFC_USE_NULL_PKT_BLLP_NULL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_USE_NULL_PKT_BLLP_NULL_SHIFT)) & DSI_HOST_DPI_INTFC_USE_NULL_PKT_BLLP_NULL_MASK)
33090 /*! @} */
33091 
33092 /*! @name VACTIVE - VACTIVE */
33093 /*! @{ */
33094 
33095 #define DSI_HOST_DPI_INTFC_VACTIVE_NUM_LINES_MASK (0x3FFFU)
33096 #define DSI_HOST_DPI_INTFC_VACTIVE_NUM_LINES_SHIFT (0U)
33097 /*! NUM_LINES - Sets the number of lines in the vertical active aread.
33098  */
33099 #define DSI_HOST_DPI_INTFC_VACTIVE_NUM_LINES(x)  (((uint32_t)(((uint32_t)(x)) << DSI_HOST_DPI_INTFC_VACTIVE_NUM_LINES_SHIFT)) & DSI_HOST_DPI_INTFC_VACTIVE_NUM_LINES_MASK)
33100 /*! @} */
33101 
33102 
33103 /*!
33104  * @}
33105  */ /* end of group DSI_HOST_DPI_INTFC_Register_Masks */
33106 
33107 
33108 /* DSI_HOST_DPI_INTFC - Peripheral instance base addresses */
33109 /** Peripheral DSI_HOST_DPI_INTFC base address */
33110 #define DSI_HOST_DPI_INTFC_BASE                  (0x4080C200u)
33111 /** Peripheral DSI_HOST_DPI_INTFC base pointer */
33112 #define DSI_HOST_DPI_INTFC                       ((DSI_HOST_DPI_INTFC_Type *)DSI_HOST_DPI_INTFC_BASE)
33113 /** Array initializer of DSI_HOST_DPI_INTFC peripheral base addresses */
33114 #define DSI_HOST_DPI_INTFC_BASE_ADDRS            { DSI_HOST_DPI_INTFC_BASE }
33115 /** Array initializer of DSI_HOST_DPI_INTFC peripheral base pointers */
33116 #define DSI_HOST_DPI_INTFC_BASE_PTRS             { DSI_HOST_DPI_INTFC }
33117 
33118 /*!
33119  * @}
33120  */ /* end of group DSI_HOST_DPI_INTFC_Peripheral_Access_Layer */
33121 
33122 
33123 /* ----------------------------------------------------------------------------
33124    -- DSI_HOST_NXP_FDSOI28_DPHY_INTFC Peripheral Access Layer
33125    ---------------------------------------------------------------------------- */
33126 
33127 /*!
33128  * @addtogroup DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Peripheral_Access_Layer DSI_HOST_NXP_FDSOI28_DPHY_INTFC Peripheral Access Layer
33129  * @{
33130  */
33131 
33132 /** DSI_HOST_NXP_FDSOI28_DPHY_INTFC - Register Layout Typedef */
33133 typedef struct {
33134   __IO uint32_t PD_TX;                             /**< PD_TX, offset: 0x0 */
33135   __IO uint32_t M_PRG_HS_PREPARE;                  /**< M_PRG_HS_PREPARE, offset: 0x4 */
33136   __IO uint32_t MC_PRG_HS_PREPARE;                 /**< MC_PRG_HS_PREPARE, offset: 0x8 */
33137   __IO uint32_t M_PRG_HS_ZERO;                     /**< M_PRG_HS_ZERO, offset: 0xC */
33138   __IO uint32_t MC_PRG_HS_ZERO;                    /**< MC_PRG_HS_ZERO, offset: 0x10 */
33139   __IO uint32_t M_PRG_HS_TRAIL;                    /**< M_PRG_HS_TRAIL, offset: 0x14 */
33140   __IO uint32_t MC_PRG_HS_TRAIL;                   /**< MC_PRG_HS_TRAIL, offset: 0x18 */
33141   __IO uint32_t PD_PLL;                            /**< PD_PLL, offset: 0x1C */
33142   __IO uint32_t TST;                               /**< TST, offset: 0x20 */
33143   __IO uint32_t CN;                                /**< CN, offset: 0x24 */
33144   __IO uint32_t CM;                                /**< CM, offset: 0x28 */
33145   __IO uint32_t CO;                                /**< CO, offset: 0x2C */
33146   __I  uint32_t LOCK;                              /**< LOCK, offset: 0x30 */
33147   __IO uint32_t LOCK_BYP;                          /**< LOCK_BYP, offset: 0x34 */
33148   __IO uint32_t TX_RCAL;                           /**< TX_RCAL, offset: 0x38 */
33149   __IO uint32_t AUTO_PD_EN;                        /**< AUTO_PD_EN, offset: 0x3C */
33150   __IO uint32_t RXLPRP;                            /**< RXLPRP, offset: 0x40 */
33151   __IO uint32_t RXCDRP;                            /**< RXCDRP, offset: 0x44 */
33152 } DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Type;
33153 
33154 /* ----------------------------------------------------------------------------
33155    -- DSI_HOST_NXP_FDSOI28_DPHY_INTFC Register Masks
33156    ---------------------------------------------------------------------------- */
33157 
33158 /*!
33159  * @addtogroup DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Register_Masks DSI_HOST_NXP_FDSOI28_DPHY_INTFC Register Masks
33160  * @{
33161  */
33162 
33163 /*! @name PD_TX - PD_TX */
33164 /*! @{ */
33165 
33166 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_TX_PD_TX_MASK (0x1U)
33167 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_TX_PD_TX_SHIFT (0U)
33168 /*! PD_TX - Power Down input for D-PHY
33169  *  0b1..Power Down
33170  *  0b0..Power Up
33171  */
33172 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_TX_PD_TX(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_TX_PD_TX_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_TX_PD_TX_MASK)
33173 /*! @} */
33174 
33175 /*! @name M_PRG_HS_PREPARE - M_PRG_HS_PREPARE */
33176 /*! @{ */
33177 
33178 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_PREPARE_M_PRG_HS_PREPARE_MASK (0x3U)
33179 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_PREPARE_M_PRG_HS_PREPARE_SHIFT (0U)
33180 /*! M_PRG_HS_PREPARE - DPHY m_PRG_HS_PREPARE input
33181  */
33182 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_PREPARE_M_PRG_HS_PREPARE(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_PREPARE_M_PRG_HS_PREPARE_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_PREPARE_M_PRG_HS_PREPARE_MASK)
33183 /*! @} */
33184 
33185 /*! @name MC_PRG_HS_PREPARE - MC_PRG_HS_PREPARE */
33186 /*! @{ */
33187 
33188 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_PREPARE_MC_PRG_HS_PREPARE_MASK (0x1U)
33189 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_PREPARE_MC_PRG_HS_PREPARE_SHIFT (0U)
33190 /*! MC_PRG_HS_PREPARE - DPHY mc_PRG_HS_PREPARE input
33191  */
33192 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_PREPARE_MC_PRG_HS_PREPARE(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_PREPARE_MC_PRG_HS_PREPARE_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_PREPARE_MC_PRG_HS_PREPARE_MASK)
33193 /*! @} */
33194 
33195 /*! @name M_PRG_HS_ZERO - M_PRG_HS_ZERO */
33196 /*! @{ */
33197 
33198 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_ZERO_M_PRG_HS_ZERO_MASK (0x1FU)
33199 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_ZERO_M_PRG_HS_ZERO_SHIFT (0U)
33200 /*! M_PRG_HS_ZERO - DPHY m_PRG_HS_ZERO input
33201  */
33202 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_ZERO_M_PRG_HS_ZERO(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_ZERO_M_PRG_HS_ZERO_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_ZERO_M_PRG_HS_ZERO_MASK)
33203 /*! @} */
33204 
33205 /*! @name MC_PRG_HS_ZERO - MC_PRG_HS_ZERO */
33206 /*! @{ */
33207 
33208 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_ZERO_MC_PRG_HS_ZERO_MASK (0x3FU)
33209 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_ZERO_MC_PRG_HS_ZERO_SHIFT (0U)
33210 /*! MC_PRG_HS_ZERO - DPHY mc_PRG_HS_ZERO input
33211  */
33212 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_ZERO_MC_PRG_HS_ZERO(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_ZERO_MC_PRG_HS_ZERO_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_ZERO_MC_PRG_HS_ZERO_MASK)
33213 /*! @} */
33214 
33215 /*! @name M_PRG_HS_TRAIL - M_PRG_HS_TRAIL */
33216 /*! @{ */
33217 
33218 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_TRAIL_M_PRG_HS_TRAIL_MASK (0xFU)
33219 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_TRAIL_M_PRG_HS_TRAIL_SHIFT (0U)
33220 /*! M_PRG_HS_TRAIL - DPHY m_PRG_HS_TRAIL input
33221  */
33222 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_TRAIL_M_PRG_HS_TRAIL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_TRAIL_M_PRG_HS_TRAIL_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_M_PRG_HS_TRAIL_M_PRG_HS_TRAIL_MASK)
33223 /*! @} */
33224 
33225 /*! @name MC_PRG_HS_TRAIL - MC_PRG_HS_TRAIL */
33226 /*! @{ */
33227 
33228 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_TRAIL_MC_PRG_HS_TRAIL_MASK (0xFU)
33229 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_TRAIL_MC_PRG_HS_TRAIL_SHIFT (0U)
33230 /*! MC_PRG_HS_TRAIL - DPHY mc_PRG_HS_TRAIL input
33231  */
33232 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_TRAIL_MC_PRG_HS_TRAIL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_TRAIL_MC_PRG_HS_TRAIL_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_MC_PRG_HS_TRAIL_MC_PRG_HS_TRAIL_MASK)
33233 /*! @} */
33234 
33235 /*! @name PD_PLL - PD_PLL */
33236 /*! @{ */
33237 
33238 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_PLL_PD_PLL_MASK (0x1U)
33239 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_PLL_PD_PLL_SHIFT (0U)
33240 /*! PD_PLL - Power-down signal
33241  *  0b1..Power down PLL
33242  *  0b0..Power up PLL
33243  */
33244 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_PLL_PD_PLL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_PLL_PD_PLL_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_PD_PLL_PD_PLL_MASK)
33245 /*! @} */
33246 
33247 /*! @name TST - TST */
33248 /*! @{ */
33249 
33250 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TST_TST_MASK (0x3FU)
33251 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TST_TST_SHIFT (0U)
33252 /*! TST - Test
33253  */
33254 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TST_TST(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TST_TST_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TST_TST_MASK)
33255 /*! @} */
33256 
33257 /*! @name CN - CN */
33258 /*! @{ */
33259 
33260 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CN_CN_MASK (0x1FU)
33261 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CN_CN_SHIFT (0U)
33262 /*! CN - Control N divider
33263  */
33264 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CN_CN(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CN_CN_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CN_CN_MASK)
33265 /*! @} */
33266 
33267 /*! @name CM - CM */
33268 /*! @{ */
33269 
33270 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CM_CM_MASK (0xFFU)
33271 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CM_CM_SHIFT (0U)
33272 /*! CM - Control M divider
33273  */
33274 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CM_CM(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CM_CM_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CM_CM_MASK)
33275 /*! @} */
33276 
33277 /*! @name CO - CO */
33278 /*! @{ */
33279 
33280 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CO_CO_MASK (0x3U)
33281 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CO_CO_SHIFT (0U)
33282 /*! CO - Control O divider
33283  *  0b00..Divide by 1
33284  *  0b01..Divide by 2
33285  *  0b10..Divide by 4
33286  *  0b11..Divide by 8
33287  */
33288 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CO_CO(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CO_CO_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_CO_CO_MASK)
33289 /*! @} */
33290 
33291 /*! @name LOCK - LOCK */
33292 /*! @{ */
33293 
33294 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_LOCK_MASK (0x1U)
33295 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_LOCK_SHIFT (0U)
33296 /*! LOCK - Lock Detect output
33297  *  0b1..PLL has achieved frequency lock
33298  *  0b0..PLL not locked
33299  */
33300 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_LOCK(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_LOCK_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_LOCK_MASK)
33301 /*! @} */
33302 
33303 /*! @name LOCK_BYP - LOCK_BYP */
33304 /*! @{ */
33305 
33306 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_BYP_LOCK_BYP_MASK (0x1U)
33307 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_BYP_LOCK_BYP_SHIFT (0U)
33308 /*! LOCK_BYP - DPHY LOCK_BYP input
33309  *  0b0..PLL LOCK signal will gate TxByteClkHS clock
33310  *  0b1..PLL LOCK signal will not gate TxByteClkHS clock, CIL based counter will be used to gate the TxByteClkHS
33311  */
33312 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_BYP_LOCK_BYP(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_BYP_LOCK_BYP_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_LOCK_BYP_LOCK_BYP_MASK)
33313 /*! @} */
33314 
33315 /*! @name TX_RCAL - TX_RCAL */
33316 /*! @{ */
33317 
33318 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TX_RCAL_TX_RCAL_MASK (0x3U)
33319 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TX_RCAL_TX_RCAL_SHIFT (0U)
33320 /*! TX_RCAL - On-chip termination control bits for manual calibration of HS-TX
33321  *  0b00..20% higher than mid-range. Highest impedance setting
33322  *  0b01..Mid-range impedance setting (default)
33323  *  0b10..15% lower than mid-range
33324  *  0b11..25% lower than mid-range. Lowest impedance setting
33325  */
33326 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TX_RCAL_TX_RCAL(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TX_RCAL_TX_RCAL_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_TX_RCAL_TX_RCAL_MASK)
33327 /*! @} */
33328 
33329 /*! @name AUTO_PD_EN - AUTO_PD_EN */
33330 /*! @{ */
33331 
33332 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_AUTO_PD_EN_AUTO_PD_EN_MASK (0x1U)
33333 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_AUTO_PD_EN_AUTO_PD_EN_SHIFT (0U)
33334 /*! AUTO_PD_EN - DPHY AUTO_PD_EN input
33335  *  0b0..Inactive lanes are powered up and driving LP11
33336  *  0b1..inactive lanes are powered down
33337  */
33338 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_AUTO_PD_EN_AUTO_PD_EN(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_AUTO_PD_EN_AUTO_PD_EN_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_AUTO_PD_EN_AUTO_PD_EN_MASK)
33339 /*! @} */
33340 
33341 /*! @name RXLPRP - RXLPRP */
33342 /*! @{ */
33343 
33344 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXLPRP_RXLPRP_MASK (0x3U)
33345 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXLPRP_RXLPRP_SHIFT (0U)
33346 /*! RXLPRP - DPHY RXLPRP input
33347  */
33348 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXLPRP_RXLPRP(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXLPRP_RXLPRP_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXLPRP_RXLPRP_MASK)
33349 /*! @} */
33350 
33351 /*! @name RXCDRP - RXCDRP */
33352 /*! @{ */
33353 
33354 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXCDRP_RXCDRP_MASK (0x3U)
33355 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXCDRP_RXCDRP_SHIFT (0U)
33356 /*! RXCDRP - DPHY RXCDRP input
33357  *  0b00..344mV
33358  *  0b01..325mV (Default)
33359  *  0b10..307mV
33360  *  0b11..Invalid
33361  */
33362 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXCDRP_RXCDRP(x) (((uint32_t)(((uint32_t)(x)) << DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXCDRP_RXCDRP_SHIFT)) & DSI_HOST_NXP_FDSOI28_DPHY_INTFC_RXCDRP_RXCDRP_MASK)
33363 /*! @} */
33364 
33365 
33366 /*!
33367  * @}
33368  */ /* end of group DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Register_Masks */
33369 
33370 
33371 /* DSI_HOST_NXP_FDSOI28_DPHY_INTFC - Peripheral instance base addresses */
33372 /** Peripheral DSI_HOST_DPHY_INTFC base address */
33373 #define DSI_HOST_DPHY_INTFC_BASE                 (0x4080C300u)
33374 /** Peripheral DSI_HOST_DPHY_INTFC base pointer */
33375 #define DSI_HOST_DPHY_INTFC                      ((DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Type *)DSI_HOST_DPHY_INTFC_BASE)
33376 /** Array initializer of DSI_HOST_NXP_FDSOI28_DPHY_INTFC peripheral base
33377  * addresses */
33378 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_BASE_ADDRS { DSI_HOST_DPHY_INTFC_BASE }
33379 /** Array initializer of DSI_HOST_NXP_FDSOI28_DPHY_INTFC peripheral base
33380  * pointers */
33381 #define DSI_HOST_NXP_FDSOI28_DPHY_INTFC_BASE_PTRS { DSI_HOST_DPHY_INTFC }
33382 
33383 /*!
33384  * @}
33385  */ /* end of group DSI_HOST_NXP_FDSOI28_DPHY_INTFC_Peripheral_Access_Layer */
33386 
33387 
33388 /* ----------------------------------------------------------------------------
33389    -- EMVSIM Peripheral Access Layer
33390    ---------------------------------------------------------------------------- */
33391 
33392 /*!
33393  * @addtogroup EMVSIM_Peripheral_Access_Layer EMVSIM Peripheral Access Layer
33394  * @{
33395  */
33396 
33397 /** EMVSIM - Register Layout Typedef */
33398 typedef struct {
33399   __I  uint32_t VER_ID;                            /**< Version ID Register, offset: 0x0 */
33400   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
33401   __IO uint32_t CLKCFG;                            /**< Clock Configuration Register, offset: 0x8 */
33402   __IO uint32_t DIVISOR;                           /**< Baud Rate Divisor Register, offset: 0xC */
33403   __IO uint32_t CTRL;                              /**< Control Register, offset: 0x10 */
33404   __IO uint32_t INT_MASK;                          /**< Interrupt Mask Register, offset: 0x14 */
33405   __IO uint32_t RX_THD;                            /**< Receiver Threshold Register, offset: 0x18 */
33406   __IO uint32_t TX_THD;                            /**< Transmitter Threshold Register, offset: 0x1C */
33407   __IO uint32_t RX_STATUS;                         /**< Receive Status Register, offset: 0x20 */
33408   __IO uint32_t TX_STATUS;                         /**< Transmitter Status Register, offset: 0x24 */
33409   __IO uint32_t PCSR;                              /**< Port Control and Status Register, offset: 0x28 */
33410   __I  uint32_t RX_BUF;                            /**< Receive Data Read Buffer, offset: 0x2C */
33411   __O  uint32_t TX_BUF;                            /**< Transmit Data Buffer, offset: 0x30 */
33412   __IO uint32_t TX_GETU;                           /**< Transmitter Guard ETU Value Register, offset: 0x34 */
33413   __IO uint32_t CWT_VAL;                           /**< Character Wait Time Value Register, offset: 0x38 */
33414   __IO uint32_t BWT_VAL;                           /**< Block Wait Time Value Register, offset: 0x3C */
33415   __IO uint32_t BGT_VAL;                           /**< Block Guard Time Value Register, offset: 0x40 */
33416   __IO uint32_t GPCNT0_VAL;                        /**< General Purpose Counter 0 Timeout Value Register, offset: 0x44 */
33417   __IO uint32_t GPCNT1_VAL;                        /**< General Purpose Counter 1 Timeout Value, offset: 0x48 */
33418 } EMVSIM_Type;
33419 
33420 /* ----------------------------------------------------------------------------
33421    -- EMVSIM Register Masks
33422    ---------------------------------------------------------------------------- */
33423 
33424 /*!
33425  * @addtogroup EMVSIM_Register_Masks EMVSIM Register Masks
33426  * @{
33427  */
33428 
33429 /*! @name VER_ID - Version ID Register */
33430 /*! @{ */
33431 
33432 #define EMVSIM_VER_ID_VER_MASK                   (0xFFFFFFFFU)
33433 #define EMVSIM_VER_ID_VER_SHIFT                  (0U)
33434 /*! VER - Version ID of the module
33435  */
33436 #define EMVSIM_VER_ID_VER(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_VER_ID_VER_SHIFT)) & EMVSIM_VER_ID_VER_MASK)
33437 /*! @} */
33438 
33439 /*! @name PARAM - Parameter Register */
33440 /*! @{ */
33441 
33442 #define EMVSIM_PARAM_RX_FIFO_DEPTH_MASK          (0xFFU)
33443 #define EMVSIM_PARAM_RX_FIFO_DEPTH_SHIFT         (0U)
33444 /*! RX_FIFO_DEPTH - Receive FIFO Depth
33445  */
33446 #define EMVSIM_PARAM_RX_FIFO_DEPTH(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_PARAM_RX_FIFO_DEPTH_SHIFT)) & EMVSIM_PARAM_RX_FIFO_DEPTH_MASK)
33447 
33448 #define EMVSIM_PARAM_TX_FIFO_DEPTH_MASK          (0xFF00U)
33449 #define EMVSIM_PARAM_TX_FIFO_DEPTH_SHIFT         (8U)
33450 /*! TX_FIFO_DEPTH - Transmit FIFO Depth
33451  */
33452 #define EMVSIM_PARAM_TX_FIFO_DEPTH(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_PARAM_TX_FIFO_DEPTH_SHIFT)) & EMVSIM_PARAM_TX_FIFO_DEPTH_MASK)
33453 /*! @} */
33454 
33455 /*! @name CLKCFG - Clock Configuration Register */
33456 /*! @{ */
33457 
33458 #define EMVSIM_CLKCFG_CLK_PRSC_MASK              (0xFFU)
33459 #define EMVSIM_CLKCFG_CLK_PRSC_SHIFT             (0U)
33460 /*! CLK_PRSC - Clock Prescaler Value
33461  */
33462 #define EMVSIM_CLKCFG_CLK_PRSC(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_CLKCFG_CLK_PRSC_SHIFT)) & EMVSIM_CLKCFG_CLK_PRSC_MASK)
33463 
33464 #define EMVSIM_CLKCFG_GPCNT1_CLK_SEL_MASK        (0x300U)
33465 #define EMVSIM_CLKCFG_GPCNT1_CLK_SEL_SHIFT       (8U)
33466 /*! GPCNT1_CLK_SEL - General Purpose Counter 1 Clock Select
33467  *  0b00..Disabled / Reset
33468  *  0b01..Card Clock
33469  *  0b10..Receive Clock
33470  *  0b11..ETU Clock (transmit clock)
33471  */
33472 #define EMVSIM_CLKCFG_GPCNT1_CLK_SEL(x)          (((uint32_t)(((uint32_t)(x)) << EMVSIM_CLKCFG_GPCNT1_CLK_SEL_SHIFT)) & EMVSIM_CLKCFG_GPCNT1_CLK_SEL_MASK)
33473 
33474 #define EMVSIM_CLKCFG_GPCNT0_CLK_SEL_MASK        (0xC00U)
33475 #define EMVSIM_CLKCFG_GPCNT0_CLK_SEL_SHIFT       (10U)
33476 /*! GPCNT0_CLK_SEL - General Purpose Counter 0 Clock Select
33477  *  0b00..Disabled / Reset
33478  *  0b01..Card Clock
33479  *  0b10..Receive Clock
33480  *  0b11..ETU Clock (transmit clock)
33481  */
33482 #define EMVSIM_CLKCFG_GPCNT0_CLK_SEL(x)          (((uint32_t)(((uint32_t)(x)) << EMVSIM_CLKCFG_GPCNT0_CLK_SEL_SHIFT)) & EMVSIM_CLKCFG_GPCNT0_CLK_SEL_MASK)
33483 /*! @} */
33484 
33485 /*! @name DIVISOR - Baud Rate Divisor Register */
33486 /*! @{ */
33487 
33488 #define EMVSIM_DIVISOR_DIVISOR_VALUE_MASK        (0x1FFU)
33489 #define EMVSIM_DIVISOR_DIVISOR_VALUE_SHIFT       (0U)
33490 /*! DIVISOR_VALUE - Divisor (F/D) Value
33491  *  0b000000000-0b000000100..Invalid. As per ISO 7816 specification, minimum value of F/D is 5
33492  *  0b000000101-0b011111111..Divisor value F/D
33493  */
33494 #define EMVSIM_DIVISOR_DIVISOR_VALUE(x)          (((uint32_t)(((uint32_t)(x)) << EMVSIM_DIVISOR_DIVISOR_VALUE_SHIFT)) & EMVSIM_DIVISOR_DIVISOR_VALUE_MASK)
33495 /*! @} */
33496 
33497 /*! @name CTRL - Control Register */
33498 /*! @{ */
33499 
33500 #define EMVSIM_CTRL_IC_MASK                      (0x1U)
33501 #define EMVSIM_CTRL_IC_SHIFT                     (0U)
33502 /*! IC - Inverse Convention
33503  *  0b0..Direction convention transfers enabled
33504  *  0b1..Inverse convention transfers enabled
33505  */
33506 #define EMVSIM_CTRL_IC(x)                        (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_IC_SHIFT)) & EMVSIM_CTRL_IC_MASK)
33507 
33508 #define EMVSIM_CTRL_ICM_MASK                     (0x2U)
33509 #define EMVSIM_CTRL_ICM_SHIFT                    (1U)
33510 /*! ICM - Initial Character Mode
33511  *  0b0..Initial Character Mode disabled
33512  *  0b1..Initial Character Mode enabled
33513  */
33514 #define EMVSIM_CTRL_ICM(x)                       (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_ICM_SHIFT)) & EMVSIM_CTRL_ICM_MASK)
33515 
33516 #define EMVSIM_CTRL_ANACK_MASK                   (0x4U)
33517 #define EMVSIM_CTRL_ANACK_SHIFT                  (2U)
33518 /*! ANACK - Auto NACK Enable
33519  *  0b0..NACK generation on errors disabled
33520  *  0b1..NACK generation on errors enabled
33521  */
33522 #define EMVSIM_CTRL_ANACK(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_ANACK_SHIFT)) & EMVSIM_CTRL_ANACK_MASK)
33523 
33524 #define EMVSIM_CTRL_ONACK_MASK                   (0x8U)
33525 #define EMVSIM_CTRL_ONACK_SHIFT                  (3U)
33526 /*! ONACK - Overrun NACK Enable
33527  *  0b0..NACK generation on overrun is disabled
33528  *  0b1..NACK generation on overrun is enabled
33529  */
33530 #define EMVSIM_CTRL_ONACK(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_ONACK_SHIFT)) & EMVSIM_CTRL_ONACK_MASK)
33531 
33532 #define EMVSIM_CTRL_FLSH_RX_MASK                 (0x100U)
33533 #define EMVSIM_CTRL_FLSH_RX_SHIFT                (8U)
33534 /*! FLSH_RX - Flush Receiver Bit
33535  *  0b0..EMVSIM Receiver normal operation
33536  *  0b1..EMVSIM Receiver held in Reset
33537  */
33538 #define EMVSIM_CTRL_FLSH_RX(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_FLSH_RX_SHIFT)) & EMVSIM_CTRL_FLSH_RX_MASK)
33539 
33540 #define EMVSIM_CTRL_FLSH_TX_MASK                 (0x200U)
33541 #define EMVSIM_CTRL_FLSH_TX_SHIFT                (9U)
33542 /*! FLSH_TX - Flush Transmitter Bit
33543  *  0b0..EMVSIM Transmitter normal operation
33544  *  0b1..EMVSIM Transmitter held in Reset
33545  */
33546 #define EMVSIM_CTRL_FLSH_TX(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_FLSH_TX_SHIFT)) & EMVSIM_CTRL_FLSH_TX_MASK)
33547 
33548 #define EMVSIM_CTRL_SW_RST_MASK                  (0x400U)
33549 #define EMVSIM_CTRL_SW_RST_SHIFT                 (10U)
33550 /*! SW_RST - Software Reset Bit
33551  *  0b0..EMVSIM Normal operation
33552  *  0b1..EMVSIM held in Reset
33553  */
33554 #define EMVSIM_CTRL_SW_RST(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_SW_RST_SHIFT)) & EMVSIM_CTRL_SW_RST_MASK)
33555 
33556 #define EMVSIM_CTRL_KILL_CLOCKS_MASK             (0x800U)
33557 #define EMVSIM_CTRL_KILL_CLOCKS_SHIFT            (11U)
33558 /*! KILL_CLOCKS - Kill all internal clocks
33559  *  0b0..EMVSIM input clock enabled
33560  *  0b1..EMVSIM input clock is disabled
33561  */
33562 #define EMVSIM_CTRL_KILL_CLOCKS(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_KILL_CLOCKS_SHIFT)) & EMVSIM_CTRL_KILL_CLOCKS_MASK)
33563 
33564 #define EMVSIM_CTRL_DOZE_EN_MASK                 (0x1000U)
33565 #define EMVSIM_CTRL_DOZE_EN_SHIFT                (12U)
33566 /*! DOZE_EN - Doze Enable
33567  *  0b0..DOZE instruction gates all internal EMVSIM clocks as well as the Smart Card clock when the transmit FIFO is empty
33568  *  0b1..DOZE instruction has no effect on EMVSIM module
33569  */
33570 #define EMVSIM_CTRL_DOZE_EN(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_DOZE_EN_SHIFT)) & EMVSIM_CTRL_DOZE_EN_MASK)
33571 
33572 #define EMVSIM_CTRL_STOP_EN_MASK                 (0x2000U)
33573 #define EMVSIM_CTRL_STOP_EN_SHIFT                (13U)
33574 /*! STOP_EN - STOP Enable
33575  *  0b0..STOP instruction shuts down all EMVSIM clocks
33576  *  0b1..STOP instruction shuts down all clocks except for the Smart Card Clock (SCK) (clock provided to Smart Card)
33577  */
33578 #define EMVSIM_CTRL_STOP_EN(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_STOP_EN_SHIFT)) & EMVSIM_CTRL_STOP_EN_MASK)
33579 
33580 #define EMVSIM_CTRL_RCV_EN_MASK                  (0x10000U)
33581 #define EMVSIM_CTRL_RCV_EN_SHIFT                 (16U)
33582 /*! RCV_EN - Receiver Enable
33583  *  0b0..EMVSIM Receiver disabled
33584  *  0b1..EMVSIM Receiver enabled
33585  */
33586 #define EMVSIM_CTRL_RCV_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_RCV_EN_SHIFT)) & EMVSIM_CTRL_RCV_EN_MASK)
33587 
33588 #define EMVSIM_CTRL_XMT_EN_MASK                  (0x20000U)
33589 #define EMVSIM_CTRL_XMT_EN_SHIFT                 (17U)
33590 /*! XMT_EN - Transmitter Enable
33591  *  0b0..EMVSIM Transmitter disabled
33592  *  0b1..EMVSIM Transmitter enabled
33593  */
33594 #define EMVSIM_CTRL_XMT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_XMT_EN_SHIFT)) & EMVSIM_CTRL_XMT_EN_MASK)
33595 
33596 #define EMVSIM_CTRL_RCVR_11_MASK                 (0x40000U)
33597 #define EMVSIM_CTRL_RCVR_11_SHIFT                (18U)
33598 /*! RCVR_11 - Receiver 11 ETU Mode Enable
33599  *  0b0..Receiver configured for 12 ETU operation mode
33600  *  0b1..Receiver configured for 11 ETU operation mode
33601  */
33602 #define EMVSIM_CTRL_RCVR_11(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_RCVR_11_SHIFT)) & EMVSIM_CTRL_RCVR_11_MASK)
33603 
33604 #define EMVSIM_CTRL_RX_DMA_EN_MASK               (0x80000U)
33605 #define EMVSIM_CTRL_RX_DMA_EN_SHIFT              (19U)
33606 /*! RX_DMA_EN - Receive DMA Enable
33607  *  0b0..No DMA Read Request asserted for Receiver
33608  *  0b1..DMA Read Request asserted for Receiver
33609  */
33610 #define EMVSIM_CTRL_RX_DMA_EN(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_RX_DMA_EN_SHIFT)) & EMVSIM_CTRL_RX_DMA_EN_MASK)
33611 
33612 #define EMVSIM_CTRL_TX_DMA_EN_MASK               (0x100000U)
33613 #define EMVSIM_CTRL_TX_DMA_EN_SHIFT              (20U)
33614 /*! TX_DMA_EN - Transmit DMA Enable
33615  *  0b0..No DMA Write Request asserted for Transmitter
33616  *  0b1..DMA Write Request asserted for Transmitter
33617  */
33618 #define EMVSIM_CTRL_TX_DMA_EN(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_TX_DMA_EN_SHIFT)) & EMVSIM_CTRL_TX_DMA_EN_MASK)
33619 
33620 #define EMVSIM_CTRL_INV_CRC_VAL_MASK             (0x1000000U)
33621 #define EMVSIM_CTRL_INV_CRC_VAL_SHIFT            (24U)
33622 /*! INV_CRC_VAL - Invert bits in the CRC Output Value
33623  *  0b0..Bits in CRC Output value are not inverted.
33624  *  0b1..Bits in CRC Output value are inverted.
33625  */
33626 #define EMVSIM_CTRL_INV_CRC_VAL(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_INV_CRC_VAL_SHIFT)) & EMVSIM_CTRL_INV_CRC_VAL_MASK)
33627 
33628 #define EMVSIM_CTRL_CRC_OUT_FLIP_MASK            (0x2000000U)
33629 #define EMVSIM_CTRL_CRC_OUT_FLIP_SHIFT           (25U)
33630 /*! CRC_OUT_FLIP - CRC Output Value Bit Reversal or Flip
33631  *  0b0..Bits within the CRC output bytes are not reversed i.e. 15:0 remains 15:0
33632  *  0b1..Bits within the CRC output bytes are reversed i.e. 15:0 becomes {8:15,0:7}
33633  */
33634 #define EMVSIM_CTRL_CRC_OUT_FLIP(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_CRC_OUT_FLIP_SHIFT)) & EMVSIM_CTRL_CRC_OUT_FLIP_MASK)
33635 
33636 #define EMVSIM_CTRL_CRC_IN_FLIP_MASK             (0x4000000U)
33637 #define EMVSIM_CTRL_CRC_IN_FLIP_SHIFT            (26U)
33638 /*! CRC_IN_FLIP - CRC Input Byte's Bit Reversal or Flip Control
33639  *  0b0..Bits in the input byte are not reversed (i.e. 7:0 remain 7:0) before the CRC calculation
33640  *  0b1..Bits in the input byte are reversed (i.e. 7:0 becomes 0:7) before CRC calculation
33641  */
33642 #define EMVSIM_CTRL_CRC_IN_FLIP(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_CRC_IN_FLIP_SHIFT)) & EMVSIM_CTRL_CRC_IN_FLIP_MASK)
33643 
33644 #define EMVSIM_CTRL_CWT_EN_MASK                  (0x8000000U)
33645 #define EMVSIM_CTRL_CWT_EN_SHIFT                 (27U)
33646 /*! CWT_EN - Character Wait Time Counter Enable
33647  *  0b0..Character Wait time Counter is disabled
33648  *  0b1..Character Wait time counter is enabled
33649  */
33650 #define EMVSIM_CTRL_CWT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_CWT_EN_SHIFT)) & EMVSIM_CTRL_CWT_EN_MASK)
33651 
33652 #define EMVSIM_CTRL_LRC_EN_MASK                  (0x10000000U)
33653 #define EMVSIM_CTRL_LRC_EN_SHIFT                 (28U)
33654 /*! LRC_EN - LRC Enable
33655  *  0b0..8-bit Linear Redundancy Checking disabled
33656  *  0b1..8-bit Linear Redundancy Checking enabled
33657  */
33658 #define EMVSIM_CTRL_LRC_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_LRC_EN_SHIFT)) & EMVSIM_CTRL_LRC_EN_MASK)
33659 
33660 #define EMVSIM_CTRL_CRC_EN_MASK                  (0x20000000U)
33661 #define EMVSIM_CTRL_CRC_EN_SHIFT                 (29U)
33662 /*! CRC_EN - CRC Enable
33663  *  0b0..16-bit Cyclic Redundancy Checking disabled
33664  *  0b1..16-bit Cyclic Redundancy Checking enabled
33665  */
33666 #define EMVSIM_CTRL_CRC_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_CRC_EN_SHIFT)) & EMVSIM_CTRL_CRC_EN_MASK)
33667 
33668 #define EMVSIM_CTRL_XMT_CRC_LRC_MASK             (0x40000000U)
33669 #define EMVSIM_CTRL_XMT_CRC_LRC_SHIFT            (30U)
33670 /*! XMT_CRC_LRC - Transmit CRC or LRC Enable
33671  *  0b0..No CRC or LRC value is transmitted
33672  *  0b1..Transmit LRC or CRC info when FIFO empties (whichever is enabled)
33673  */
33674 #define EMVSIM_CTRL_XMT_CRC_LRC(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_XMT_CRC_LRC_SHIFT)) & EMVSIM_CTRL_XMT_CRC_LRC_MASK)
33675 
33676 #define EMVSIM_CTRL_BWT_EN_MASK                  (0x80000000U)
33677 #define EMVSIM_CTRL_BWT_EN_SHIFT                 (31U)
33678 /*! BWT_EN - Block Wait Time Counter Enable
33679  *  0b0..Disable BWT, BGT Counters
33680  *  0b1..Enable BWT, BGT Counters
33681  */
33682 #define EMVSIM_CTRL_BWT_EN(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CTRL_BWT_EN_SHIFT)) & EMVSIM_CTRL_BWT_EN_MASK)
33683 /*! @} */
33684 
33685 /*! @name INT_MASK - Interrupt Mask Register */
33686 /*! @{ */
33687 
33688 #define EMVSIM_INT_MASK_RDT_IM_MASK              (0x1U)
33689 #define EMVSIM_INT_MASK_RDT_IM_SHIFT             (0U)
33690 /*! RDT_IM - Receive Data Threshold Interrupt Mask
33691  *  0b0..RDTF interrupt enabled
33692  *  0b1..RDTF interrupt masked
33693  */
33694 #define EMVSIM_INT_MASK_RDT_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_RDT_IM_SHIFT)) & EMVSIM_INT_MASK_RDT_IM_MASK)
33695 
33696 #define EMVSIM_INT_MASK_TC_IM_MASK               (0x2U)
33697 #define EMVSIM_INT_MASK_TC_IM_SHIFT              (1U)
33698 /*! TC_IM - Transmit Complete Interrupt Mask
33699  *  0b0..TCF interrupt enabled
33700  *  0b1..TCF interrupt masked
33701  */
33702 #define EMVSIM_INT_MASK_TC_IM(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_TC_IM_SHIFT)) & EMVSIM_INT_MASK_TC_IM_MASK)
33703 
33704 #define EMVSIM_INT_MASK_RFO_IM_MASK              (0x4U)
33705 #define EMVSIM_INT_MASK_RFO_IM_SHIFT             (2U)
33706 /*! RFO_IM - Receive FIFO Overflow Interrupt Mask
33707  *  0b0..RFO interrupt enabled
33708  *  0b1..RFO interrupt masked
33709  */
33710 #define EMVSIM_INT_MASK_RFO_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_RFO_IM_SHIFT)) & EMVSIM_INT_MASK_RFO_IM_MASK)
33711 
33712 #define EMVSIM_INT_MASK_ETC_IM_MASK              (0x8U)
33713 #define EMVSIM_INT_MASK_ETC_IM_SHIFT             (3U)
33714 /*! ETC_IM - Early Transmit Complete Interrupt Mask
33715  *  0b0..ETC interrupt enabled
33716  *  0b1..ETC interrupt masked
33717  */
33718 #define EMVSIM_INT_MASK_ETC_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_ETC_IM_SHIFT)) & EMVSIM_INT_MASK_ETC_IM_MASK)
33719 
33720 #define EMVSIM_INT_MASK_TFE_IM_MASK              (0x10U)
33721 #define EMVSIM_INT_MASK_TFE_IM_SHIFT             (4U)
33722 /*! TFE_IM - Transmit FIFO Empty Interrupt Mask
33723  *  0b0..TFE interrupt enabled
33724  *  0b1..TFE interrupt masked
33725  */
33726 #define EMVSIM_INT_MASK_TFE_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_TFE_IM_SHIFT)) & EMVSIM_INT_MASK_TFE_IM_MASK)
33727 
33728 #define EMVSIM_INT_MASK_TNACK_IM_MASK            (0x20U)
33729 #define EMVSIM_INT_MASK_TNACK_IM_SHIFT           (5U)
33730 /*! TNACK_IM - Transmit NACK Threshold Interrupt Mask
33731  *  0b0..TNTE interrupt enabled
33732  *  0b1..TNTE interrupt masked
33733  */
33734 #define EMVSIM_INT_MASK_TNACK_IM(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_TNACK_IM_SHIFT)) & EMVSIM_INT_MASK_TNACK_IM_MASK)
33735 
33736 #define EMVSIM_INT_MASK_TFF_IM_MASK              (0x40U)
33737 #define EMVSIM_INT_MASK_TFF_IM_SHIFT             (6U)
33738 /*! TFF_IM - Transmit FIFO Full Interrupt Mask
33739  *  0b0..TFF interrupt enabled
33740  *  0b1..TFF interrupt masked
33741  */
33742 #define EMVSIM_INT_MASK_TFF_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_TFF_IM_SHIFT)) & EMVSIM_INT_MASK_TFF_IM_MASK)
33743 
33744 #define EMVSIM_INT_MASK_TDT_IM_MASK              (0x80U)
33745 #define EMVSIM_INT_MASK_TDT_IM_SHIFT             (7U)
33746 /*! TDT_IM - Transmit Data Threshold Interrupt Mask
33747  *  0b0..TDTF interrupt enabled
33748  *  0b1..TDTF interrupt masked
33749  */
33750 #define EMVSIM_INT_MASK_TDT_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_TDT_IM_SHIFT)) & EMVSIM_INT_MASK_TDT_IM_MASK)
33751 
33752 #define EMVSIM_INT_MASK_GPCNT0_IM_MASK           (0x100U)
33753 #define EMVSIM_INT_MASK_GPCNT0_IM_SHIFT          (8U)
33754 /*! GPCNT0_IM - General Purpose Timer 0 Timeout Interrupt Mask
33755  *  0b0..GPCNT0_TO interrupt enabled
33756  *  0b1..GPCNT0_TO interrupt masked
33757  */
33758 #define EMVSIM_INT_MASK_GPCNT0_IM(x)             (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_GPCNT0_IM_SHIFT)) & EMVSIM_INT_MASK_GPCNT0_IM_MASK)
33759 
33760 #define EMVSIM_INT_MASK_CWT_ERR_IM_MASK          (0x200U)
33761 #define EMVSIM_INT_MASK_CWT_ERR_IM_SHIFT         (9U)
33762 /*! CWT_ERR_IM - Character Wait Time Error Interrupt Mask
33763  *  0b0..CWT_ERR interrupt enabled
33764  *  0b1..CWT_ERR interrupt masked
33765  */
33766 #define EMVSIM_INT_MASK_CWT_ERR_IM(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_CWT_ERR_IM_SHIFT)) & EMVSIM_INT_MASK_CWT_ERR_IM_MASK)
33767 
33768 #define EMVSIM_INT_MASK_RNACK_IM_MASK            (0x400U)
33769 #define EMVSIM_INT_MASK_RNACK_IM_SHIFT           (10U)
33770 /*! RNACK_IM - Receiver NACK Threshold Interrupt Mask
33771  *  0b0..RTE interrupt enabled
33772  *  0b1..RTE interrupt masked
33773  */
33774 #define EMVSIM_INT_MASK_RNACK_IM(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_RNACK_IM_SHIFT)) & EMVSIM_INT_MASK_RNACK_IM_MASK)
33775 
33776 #define EMVSIM_INT_MASK_BWT_ERR_IM_MASK          (0x800U)
33777 #define EMVSIM_INT_MASK_BWT_ERR_IM_SHIFT         (11U)
33778 /*! BWT_ERR_IM - Block Wait Time Error Interrupt Mask
33779  *  0b0..BWT_ERR interrupt enabled
33780  *  0b1..BWT_ERR interrupt masked
33781  */
33782 #define EMVSIM_INT_MASK_BWT_ERR_IM(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_BWT_ERR_IM_SHIFT)) & EMVSIM_INT_MASK_BWT_ERR_IM_MASK)
33783 
33784 #define EMVSIM_INT_MASK_BGT_ERR_IM_MASK          (0x1000U)
33785 #define EMVSIM_INT_MASK_BGT_ERR_IM_SHIFT         (12U)
33786 /*! BGT_ERR_IM - Block Guard Time Error Interrupt
33787  *  0b0..BGT_ERR interrupt enabled
33788  *  0b1..BGT_ERR interrupt masked
33789  */
33790 #define EMVSIM_INT_MASK_BGT_ERR_IM(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_BGT_ERR_IM_SHIFT)) & EMVSIM_INT_MASK_BGT_ERR_IM_MASK)
33791 
33792 #define EMVSIM_INT_MASK_GPCNT1_IM_MASK           (0x2000U)
33793 #define EMVSIM_INT_MASK_GPCNT1_IM_SHIFT          (13U)
33794 /*! GPCNT1_IM - General Purpose Counter 1 Timeout Interrupt Mask
33795  *  0b0..GPCNT1_TO interrupt enabled
33796  *  0b1..GPCNT1_TO interrupt masked
33797  */
33798 #define EMVSIM_INT_MASK_GPCNT1_IM(x)             (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_GPCNT1_IM_SHIFT)) & EMVSIM_INT_MASK_GPCNT1_IM_MASK)
33799 
33800 #define EMVSIM_INT_MASK_RX_DATA_IM_MASK          (0x4000U)
33801 #define EMVSIM_INT_MASK_RX_DATA_IM_SHIFT         (14U)
33802 /*! RX_DATA_IM - Receive Data Interrupt Mask
33803  *  0b0..RX_DATA interrupt enabled
33804  *  0b1..RX_DATA interrupt masked
33805  */
33806 #define EMVSIM_INT_MASK_RX_DATA_IM(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_RX_DATA_IM_SHIFT)) & EMVSIM_INT_MASK_RX_DATA_IM_MASK)
33807 
33808 #define EMVSIM_INT_MASK_PEF_IM_MASK              (0x8000U)
33809 #define EMVSIM_INT_MASK_PEF_IM_SHIFT             (15U)
33810 /*! PEF_IM - Parity Error Interrupt Mask
33811  *  0b0..PEF interrupt enabled
33812  *  0b1..PEF interrupt masked
33813  */
33814 #define EMVSIM_INT_MASK_PEF_IM(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_INT_MASK_PEF_IM_SHIFT)) & EMVSIM_INT_MASK_PEF_IM_MASK)
33815 /*! @} */
33816 
33817 /*! @name RX_THD - Receiver Threshold Register */
33818 /*! @{ */
33819 
33820 #define EMVSIM_RX_THD_RDT_MASK                   (0xFU)
33821 #define EMVSIM_RX_THD_RDT_SHIFT                  (0U)
33822 /*! RDT - Receiver Data Threshold Value
33823  */
33824 #define EMVSIM_RX_THD_RDT(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_THD_RDT_SHIFT)) & EMVSIM_RX_THD_RDT_MASK)
33825 
33826 #define EMVSIM_RX_THD_RNCK_THD_MASK              (0xF00U)
33827 #define EMVSIM_RX_THD_RNCK_THD_SHIFT             (8U)
33828 /*! RNCK_THD - Receiver NACK Threshold Value
33829  */
33830 #define EMVSIM_RX_THD_RNCK_THD(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_THD_RNCK_THD_SHIFT)) & EMVSIM_RX_THD_RNCK_THD_MASK)
33831 /*! @} */
33832 
33833 /*! @name TX_THD - Transmitter Threshold Register */
33834 /*! @{ */
33835 
33836 #define EMVSIM_TX_THD_TDT_MASK                   (0xFU)
33837 #define EMVSIM_TX_THD_TDT_SHIFT                  (0U)
33838 /*! TDT - Transmitter Data Threshold Value
33839  */
33840 #define EMVSIM_TX_THD_TDT(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_THD_TDT_SHIFT)) & EMVSIM_TX_THD_TDT_MASK)
33841 
33842 #define EMVSIM_TX_THD_TNCK_THD_MASK              (0xF00U)
33843 #define EMVSIM_TX_THD_TNCK_THD_SHIFT             (8U)
33844 /*! TNCK_THD - Transmitter NACK Threshold Value
33845  */
33846 #define EMVSIM_TX_THD_TNCK_THD(x)                (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_THD_TNCK_THD_SHIFT)) & EMVSIM_TX_THD_TNCK_THD_MASK)
33847 /*! @} */
33848 
33849 /*! @name RX_STATUS - Receive Status Register */
33850 /*! @{ */
33851 
33852 #define EMVSIM_RX_STATUS_RFO_MASK                (0x1U)
33853 #define EMVSIM_RX_STATUS_RFO_SHIFT               (0U)
33854 /*! RFO - Receive FIFO Overflow Flag
33855  *  0b0..No overrun error has occurred
33856  *  0b1..A byte was received when the received FIFO was already full
33857  */
33858 #define EMVSIM_RX_STATUS_RFO(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RFO_SHIFT)) & EMVSIM_RX_STATUS_RFO_MASK)
33859 
33860 #define EMVSIM_RX_STATUS_RX_DATA_MASK            (0x10U)
33861 #define EMVSIM_RX_STATUS_RX_DATA_SHIFT           (4U)
33862 /*! RX_DATA - Receive Data Interrupt Flag
33863  *  0b0..No new byte is received
33864  *  0b1..New byte is received ans stored in Receive FIFO
33865  */
33866 #define EMVSIM_RX_STATUS_RX_DATA(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RX_DATA_SHIFT)) & EMVSIM_RX_STATUS_RX_DATA_MASK)
33867 
33868 #define EMVSIM_RX_STATUS_RDTF_MASK               (0x20U)
33869 #define EMVSIM_RX_STATUS_RDTF_SHIFT              (5U)
33870 /*! RDTF - Receive Data Threshold Interrupt Flag
33871  *  0b0..Number of unread bytes in receive FIFO less than the value set by RDT
33872  *  0b1..Number of unread bytes in receive FIFO greater or than equal to value set by RDT.
33873  */
33874 #define EMVSIM_RX_STATUS_RDTF(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RDTF_SHIFT)) & EMVSIM_RX_STATUS_RDTF_MASK)
33875 
33876 #define EMVSIM_RX_STATUS_LRC_OK_MASK             (0x40U)
33877 #define EMVSIM_RX_STATUS_LRC_OK_SHIFT            (6U)
33878 /*! LRC_OK - LRC Check OK Flag
33879  *  0b0..Current LRC value does not match remainder.
33880  *  0b1..Current calculated LRC value matches the expected result (i.e. zero).
33881  */
33882 #define EMVSIM_RX_STATUS_LRC_OK(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_LRC_OK_SHIFT)) & EMVSIM_RX_STATUS_LRC_OK_MASK)
33883 
33884 #define EMVSIM_RX_STATUS_CRC_OK_MASK             (0x80U)
33885 #define EMVSIM_RX_STATUS_CRC_OK_SHIFT            (7U)
33886 /*! CRC_OK - CRC Check OK Flag
33887  *  0b0..Current CRC value does not match remainder.
33888  *  0b1..Current calculated CRC value matches the expected result.
33889  */
33890 #define EMVSIM_RX_STATUS_CRC_OK(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_CRC_OK_SHIFT)) & EMVSIM_RX_STATUS_CRC_OK_MASK)
33891 
33892 #define EMVSIM_RX_STATUS_CWT_ERR_MASK            (0x100U)
33893 #define EMVSIM_RX_STATUS_CWT_ERR_SHIFT           (8U)
33894 /*! CWT_ERR - Character Wait Time Error Flag
33895  *  0b0..No CWT violation has occurred
33896  *  0b1..Time between two consecutive characters has exceeded the value in CWT_VAL.
33897  */
33898 #define EMVSIM_RX_STATUS_CWT_ERR(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_CWT_ERR_SHIFT)) & EMVSIM_RX_STATUS_CWT_ERR_MASK)
33899 
33900 #define EMVSIM_RX_STATUS_RTE_MASK                (0x200U)
33901 #define EMVSIM_RX_STATUS_RTE_SHIFT               (9U)
33902 /*! RTE - Received NACK Threshold Error Flag
33903  *  0b0..Number of NACKs generated by the receiver is less than the value programmed in RNCK_THD
33904  *  0b1..Number of NACKs generated by the receiver is equal to the value programmed in RNCK_THD
33905  */
33906 #define EMVSIM_RX_STATUS_RTE(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RTE_SHIFT)) & EMVSIM_RX_STATUS_RTE_MASK)
33907 
33908 #define EMVSIM_RX_STATUS_BWT_ERR_MASK            (0x400U)
33909 #define EMVSIM_RX_STATUS_BWT_ERR_SHIFT           (10U)
33910 /*! BWT_ERR - Block Wait Time Error Flag
33911  *  0b0..Block wait time not exceeded
33912  *  0b1..Block wait time was exceeded
33913  */
33914 #define EMVSIM_RX_STATUS_BWT_ERR(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_BWT_ERR_SHIFT)) & EMVSIM_RX_STATUS_BWT_ERR_MASK)
33915 
33916 #define EMVSIM_RX_STATUS_BGT_ERR_MASK            (0x800U)
33917 #define EMVSIM_RX_STATUS_BGT_ERR_SHIFT           (11U)
33918 /*! BGT_ERR - Block Guard Time Error Flag
33919  *  0b0..Block guard time was sufficient
33920  *  0b1..Block guard time was too small
33921  */
33922 #define EMVSIM_RX_STATUS_BGT_ERR(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_BGT_ERR_SHIFT)) & EMVSIM_RX_STATUS_BGT_ERR_MASK)
33923 
33924 #define EMVSIM_RX_STATUS_PEF_MASK                (0x1000U)
33925 #define EMVSIM_RX_STATUS_PEF_SHIFT               (12U)
33926 /*! PEF - Parity Error Flag
33927  *  0b0..No parity error detected
33928  *  0b1..Parity error detected
33929  */
33930 #define EMVSIM_RX_STATUS_PEF(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_PEF_SHIFT)) & EMVSIM_RX_STATUS_PEF_MASK)
33931 
33932 #define EMVSIM_RX_STATUS_FEF_MASK                (0x2000U)
33933 #define EMVSIM_RX_STATUS_FEF_SHIFT               (13U)
33934 /*! FEF - Frame Error Flag
33935  *  0b0..No frame error detected
33936  *  0b1..Frame error detected
33937  */
33938 #define EMVSIM_RX_STATUS_FEF(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_FEF_SHIFT)) & EMVSIM_RX_STATUS_FEF_MASK)
33939 
33940 #define EMVSIM_RX_STATUS_RX_WPTR_MASK            (0xF0000U)
33941 #define EMVSIM_RX_STATUS_RX_WPTR_SHIFT           (16U)
33942 /*! RX_WPTR - Receive FIFO Write Pointer Value
33943  */
33944 #define EMVSIM_RX_STATUS_RX_WPTR(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RX_WPTR_SHIFT)) & EMVSIM_RX_STATUS_RX_WPTR_MASK)
33945 
33946 #define EMVSIM_RX_STATUS_RX_CNT_MASK             (0xF000000U)
33947 #define EMVSIM_RX_STATUS_RX_CNT_SHIFT            (24U)
33948 /*! RX_CNT - Receive FIFO Byte Count
33949  *  0b0000..FIFO is emtpy
33950  */
33951 #define EMVSIM_RX_STATUS_RX_CNT(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_STATUS_RX_CNT_SHIFT)) & EMVSIM_RX_STATUS_RX_CNT_MASK)
33952 /*! @} */
33953 
33954 /*! @name TX_STATUS - Transmitter Status Register */
33955 /*! @{ */
33956 
33957 #define EMVSIM_TX_STATUS_TNTE_MASK               (0x1U)
33958 #define EMVSIM_TX_STATUS_TNTE_SHIFT              (0U)
33959 /*! TNTE - Transmit NACK Threshold Error Flag
33960  *  0b0..Transmit NACK threshold has not been reached
33961  *  0b1..Transmit NACK threshold reached; transmitter frozen
33962  */
33963 #define EMVSIM_TX_STATUS_TNTE(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TNTE_SHIFT)) & EMVSIM_TX_STATUS_TNTE_MASK)
33964 
33965 #define EMVSIM_TX_STATUS_TFE_MASK                (0x8U)
33966 #define EMVSIM_TX_STATUS_TFE_SHIFT               (3U)
33967 /*! TFE - Transmit FIFO Empty Flag
33968  *  0b0..Transmit FIFO is not empty
33969  *  0b1..Transmit FIFO is empty
33970  */
33971 #define EMVSIM_TX_STATUS_TFE(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TFE_SHIFT)) & EMVSIM_TX_STATUS_TFE_MASK)
33972 
33973 #define EMVSIM_TX_STATUS_ETCF_MASK               (0x10U)
33974 #define EMVSIM_TX_STATUS_ETCF_SHIFT              (4U)
33975 /*! ETCF - Early Transmit Complete Flag
33976  *  0b0..Transmit pending or in progress
33977  *  0b1..Transmit complete
33978  */
33979 #define EMVSIM_TX_STATUS_ETCF(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_ETCF_SHIFT)) & EMVSIM_TX_STATUS_ETCF_MASK)
33980 
33981 #define EMVSIM_TX_STATUS_TCF_MASK                (0x20U)
33982 #define EMVSIM_TX_STATUS_TCF_SHIFT               (5U)
33983 /*! TCF - Transmit Complete Flag
33984  *  0b0..Transmit pending or in progress
33985  *  0b1..Transmit complete
33986  */
33987 #define EMVSIM_TX_STATUS_TCF(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TCF_SHIFT)) & EMVSIM_TX_STATUS_TCF_MASK)
33988 
33989 #define EMVSIM_TX_STATUS_TFF_MASK                (0x40U)
33990 #define EMVSIM_TX_STATUS_TFF_SHIFT               (6U)
33991 /*! TFF - Transmit FIFO Full Flag
33992  *  0b0..Transmit FIFO Full condition has not occurred
33993  *  0b1..A Transmit FIFO Full condition has occurred
33994  */
33995 #define EMVSIM_TX_STATUS_TFF(x)                  (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TFF_SHIFT)) & EMVSIM_TX_STATUS_TFF_MASK)
33996 
33997 #define EMVSIM_TX_STATUS_TDTF_MASK               (0x80U)
33998 #define EMVSIM_TX_STATUS_TDTF_SHIFT              (7U)
33999 /*! TDTF - Transmit Data Threshold Flag
34000  *  0b0..Number of bytes in FIFO is greater than TDT, or bit has been cleared
34001  *  0b1..Number of bytes in FIFO is less than or equal to TDT
34002  */
34003 #define EMVSIM_TX_STATUS_TDTF(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TDTF_SHIFT)) & EMVSIM_TX_STATUS_TDTF_MASK)
34004 
34005 #define EMVSIM_TX_STATUS_GPCNT0_TO_MASK          (0x100U)
34006 #define EMVSIM_TX_STATUS_GPCNT0_TO_SHIFT         (8U)
34007 /*! GPCNT0_TO - General Purpose Counter 0 Timeout Flag
34008  *  0b0..GPCNT0 time not reached, or bit has been cleared.
34009  *  0b1..General Purpose counter has reached the GPCNT0 value
34010  */
34011 #define EMVSIM_TX_STATUS_GPCNT0_TO(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_GPCNT0_TO_SHIFT)) & EMVSIM_TX_STATUS_GPCNT0_TO_MASK)
34012 
34013 #define EMVSIM_TX_STATUS_GPCNT1_TO_MASK          (0x200U)
34014 #define EMVSIM_TX_STATUS_GPCNT1_TO_SHIFT         (9U)
34015 /*! GPCNT1_TO - General Purpose Counter 1 Timeout Flag
34016  *  0b0..GPCNT1 time not reached, or bit has been cleared.
34017  *  0b1..General Purpose counter has reached the GPCNT1 value
34018  */
34019 #define EMVSIM_TX_STATUS_GPCNT1_TO(x)            (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_GPCNT1_TO_SHIFT)) & EMVSIM_TX_STATUS_GPCNT1_TO_MASK)
34020 
34021 #define EMVSIM_TX_STATUS_TX_RPTR_MASK            (0xF0000U)
34022 #define EMVSIM_TX_STATUS_TX_RPTR_SHIFT           (16U)
34023 /*! TX_RPTR - Transmit FIFO Read Pointer
34024  */
34025 #define EMVSIM_TX_STATUS_TX_RPTR(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TX_RPTR_SHIFT)) & EMVSIM_TX_STATUS_TX_RPTR_MASK)
34026 
34027 #define EMVSIM_TX_STATUS_TX_CNT_MASK             (0xF000000U)
34028 #define EMVSIM_TX_STATUS_TX_CNT_SHIFT            (24U)
34029 /*! TX_CNT - Transmit FIFO Byte Count
34030  *  0b0000..FIFO is emtpy
34031  */
34032 #define EMVSIM_TX_STATUS_TX_CNT(x)               (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_STATUS_TX_CNT_SHIFT)) & EMVSIM_TX_STATUS_TX_CNT_MASK)
34033 /*! @} */
34034 
34035 /*! @name PCSR - Port Control and Status Register */
34036 /*! @{ */
34037 
34038 #define EMVSIM_PCSR_SAPD_MASK                    (0x1U)
34039 #define EMVSIM_PCSR_SAPD_SHIFT                   (0U)
34040 /*! SAPD - Auto Power Down Enable
34041  *  0b0..Auto power down disabled
34042  *  0b1..Auto power down enabled
34043  */
34044 #define EMVSIM_PCSR_SAPD(x)                      (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SAPD_SHIFT)) & EMVSIM_PCSR_SAPD_MASK)
34045 
34046 #define EMVSIM_PCSR_SVCC_EN_MASK                 (0x2U)
34047 #define EMVSIM_PCSR_SVCC_EN_SHIFT                (1U)
34048 /*! SVCC_EN - Vcc Enable for Smart Card
34049  *  0b0..Smart Card Voltage disabled
34050  *  0b1..Smart Card Voltage enabled
34051  */
34052 #define EMVSIM_PCSR_SVCC_EN(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SVCC_EN_SHIFT)) & EMVSIM_PCSR_SVCC_EN_MASK)
34053 
34054 #define EMVSIM_PCSR_VCCENP_MASK                  (0x4U)
34055 #define EMVSIM_PCSR_VCCENP_SHIFT                 (2U)
34056 /*! VCCENP - VCC Enable Polarity Control
34057  *  0b0..SVCC_EN is active high. Polarity of SVCC_EN is unchanged.
34058  *  0b1..SVCC_EN is active low. Polarity of SVCC_EN is inverted.
34059  */
34060 #define EMVSIM_PCSR_VCCENP(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_VCCENP_SHIFT)) & EMVSIM_PCSR_VCCENP_MASK)
34061 
34062 #define EMVSIM_PCSR_SRST_MASK                    (0x8U)
34063 #define EMVSIM_PCSR_SRST_SHIFT                   (3U)
34064 /*! SRST - Reset to Smart Card
34065  *  0b0..Smart Card Reset is asserted
34066  *  0b1..Smart Card Reset is de-asserted
34067  */
34068 #define EMVSIM_PCSR_SRST(x)                      (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SRST_SHIFT)) & EMVSIM_PCSR_SRST_MASK)
34069 
34070 #define EMVSIM_PCSR_SCEN_MASK                    (0x10U)
34071 #define EMVSIM_PCSR_SCEN_SHIFT                   (4U)
34072 /*! SCEN - Clock Enable for Smart Card
34073  *  0b0..Smart Card Clock Disabled
34074  *  0b1..Smart Card Clock Enabled
34075  */
34076 #define EMVSIM_PCSR_SCEN(x)                      (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SCEN_SHIFT)) & EMVSIM_PCSR_SCEN_MASK)
34077 
34078 #define EMVSIM_PCSR_SCSP_MASK                    (0x20U)
34079 #define EMVSIM_PCSR_SCSP_SHIFT                   (5U)
34080 /*! SCSP - Smart Card Clock Stop Polarity
34081  *  0b0..Clock is logic 0 when stopped by SCEN
34082  *  0b1..Clock is logic 1 when stopped by SCEN
34083  */
34084 #define EMVSIM_PCSR_SCSP(x)                      (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SCSP_SHIFT)) & EMVSIM_PCSR_SCSP_MASK)
34085 
34086 #define EMVSIM_PCSR_SPD_MASK                     (0x80U)
34087 #define EMVSIM_PCSR_SPD_SHIFT                    (7U)
34088 /*! SPD - Auto Power Down Control
34089  *  0b0..No effect
34090  *  0b1..Start Auto Powerdown or Power Down is in progress
34091  */
34092 #define EMVSIM_PCSR_SPD(x)                       (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SPD_SHIFT)) & EMVSIM_PCSR_SPD_MASK)
34093 
34094 #define EMVSIM_PCSR_SPDIM_MASK                   (0x1000000U)
34095 #define EMVSIM_PCSR_SPDIM_SHIFT                  (24U)
34096 /*! SPDIM - Smart Card Presence Detect Interrupt Mask
34097  *  0b0..SIM presence detect interrupt is enabled
34098  *  0b1..SIM presence detect interrupt is masked
34099  */
34100 #define EMVSIM_PCSR_SPDIM(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SPDIM_SHIFT)) & EMVSIM_PCSR_SPDIM_MASK)
34101 
34102 #define EMVSIM_PCSR_SPDIF_MASK                   (0x2000000U)
34103 #define EMVSIM_PCSR_SPDIF_SHIFT                  (25U)
34104 /*! SPDIF - Smart Card Presence Detect Interrupt Flag
34105  *  0b0..No insertion or removal of Smart Card detected on Port
34106  *  0b1..Insertion or removal of Smart Card detected on Port
34107  */
34108 #define EMVSIM_PCSR_SPDIF(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SPDIF_SHIFT)) & EMVSIM_PCSR_SPDIF_MASK)
34109 
34110 #define EMVSIM_PCSR_SPDP_MASK                    (0x4000000U)
34111 #define EMVSIM_PCSR_SPDP_SHIFT                   (26U)
34112 /*! SPDP - Smart Card Presence Detect Pin Status
34113  *  0b0..SIM Presence Detect pin is logic low
34114  *  0b1..SIM Presence Detectpin is logic high
34115  */
34116 #define EMVSIM_PCSR_SPDP(x)                      (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SPDP_SHIFT)) & EMVSIM_PCSR_SPDP_MASK)
34117 
34118 #define EMVSIM_PCSR_SPDES_MASK                   (0x8000000U)
34119 #define EMVSIM_PCSR_SPDES_SHIFT                  (27U)
34120 /*! SPDES - SIM Presence Detect Edge Select
34121  *  0b0..Falling edge on the pin
34122  *  0b1..Rising edge on the pin
34123  */
34124 #define EMVSIM_PCSR_SPDES(x)                     (((uint32_t)(((uint32_t)(x)) << EMVSIM_PCSR_SPDES_SHIFT)) & EMVSIM_PCSR_SPDES_MASK)
34125 /*! @} */
34126 
34127 /*! @name RX_BUF - Receive Data Read Buffer */
34128 /*! @{ */
34129 
34130 #define EMVSIM_RX_BUF_RX_BYTE_MASK               (0xFFU)
34131 #define EMVSIM_RX_BUF_RX_BYTE_SHIFT              (0U)
34132 /*! RX_BYTE - Receive Data Byte Read
34133  */
34134 #define EMVSIM_RX_BUF_RX_BYTE(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_RX_BUF_RX_BYTE_SHIFT)) & EMVSIM_RX_BUF_RX_BYTE_MASK)
34135 /*! @} */
34136 
34137 /*! @name TX_BUF - Transmit Data Buffer */
34138 /*! @{ */
34139 
34140 #define EMVSIM_TX_BUF_TX_BYTE_MASK               (0xFFU)
34141 #define EMVSIM_TX_BUF_TX_BYTE_SHIFT              (0U)
34142 /*! TX_BYTE - Transmit Data Byte
34143  */
34144 #define EMVSIM_TX_BUF_TX_BYTE(x)                 (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_BUF_TX_BYTE_SHIFT)) & EMVSIM_TX_BUF_TX_BYTE_MASK)
34145 /*! @} */
34146 
34147 /*! @name TX_GETU - Transmitter Guard ETU Value Register */
34148 /*! @{ */
34149 
34150 #define EMVSIM_TX_GETU_GETU_MASK                 (0xFFU)
34151 #define EMVSIM_TX_GETU_GETU_SHIFT                (0U)
34152 /*! GETU - Transmitter Guard Time Value in ETU
34153  */
34154 #define EMVSIM_TX_GETU_GETU(x)                   (((uint32_t)(((uint32_t)(x)) << EMVSIM_TX_GETU_GETU_SHIFT)) & EMVSIM_TX_GETU_GETU_MASK)
34155 /*! @} */
34156 
34157 /*! @name CWT_VAL - Character Wait Time Value Register */
34158 /*! @{ */
34159 
34160 #define EMVSIM_CWT_VAL_CWT_MASK                  (0xFFFFU)
34161 #define EMVSIM_CWT_VAL_CWT_SHIFT                 (0U)
34162 /*! CWT - Character Wait Time Value
34163  */
34164 #define EMVSIM_CWT_VAL_CWT(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_CWT_VAL_CWT_SHIFT)) & EMVSIM_CWT_VAL_CWT_MASK)
34165 /*! @} */
34166 
34167 /*! @name BWT_VAL - Block Wait Time Value Register */
34168 /*! @{ */
34169 
34170 #define EMVSIM_BWT_VAL_BWT_MASK                  (0xFFFFFFFFU)
34171 #define EMVSIM_BWT_VAL_BWT_SHIFT                 (0U)
34172 /*! BWT - Block Wait Time Value
34173  */
34174 #define EMVSIM_BWT_VAL_BWT(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_BWT_VAL_BWT_SHIFT)) & EMVSIM_BWT_VAL_BWT_MASK)
34175 /*! @} */
34176 
34177 /*! @name BGT_VAL - Block Guard Time Value Register */
34178 /*! @{ */
34179 
34180 #define EMVSIM_BGT_VAL_BGT_MASK                  (0xFFFFU)
34181 #define EMVSIM_BGT_VAL_BGT_SHIFT                 (0U)
34182 /*! BGT - Block Guard Time Value
34183  */
34184 #define EMVSIM_BGT_VAL_BGT(x)                    (((uint32_t)(((uint32_t)(x)) << EMVSIM_BGT_VAL_BGT_SHIFT)) & EMVSIM_BGT_VAL_BGT_MASK)
34185 /*! @} */
34186 
34187 /*! @name GPCNT0_VAL - General Purpose Counter 0 Timeout Value Register */
34188 /*! @{ */
34189 
34190 #define EMVSIM_GPCNT0_VAL_GPCNT0_MASK            (0xFFFFU)
34191 #define EMVSIM_GPCNT0_VAL_GPCNT0_SHIFT           (0U)
34192 /*! GPCNT0 - General Purpose Counter 0 Timeout Value
34193  */
34194 #define EMVSIM_GPCNT0_VAL_GPCNT0(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_GPCNT0_VAL_GPCNT0_SHIFT)) & EMVSIM_GPCNT0_VAL_GPCNT0_MASK)
34195 /*! @} */
34196 
34197 /*! @name GPCNT1_VAL - General Purpose Counter 1 Timeout Value */
34198 /*! @{ */
34199 
34200 #define EMVSIM_GPCNT1_VAL_GPCNT1_MASK            (0xFFFFU)
34201 #define EMVSIM_GPCNT1_VAL_GPCNT1_SHIFT           (0U)
34202 /*! GPCNT1 - General Purpose Counter 1 Timeout Value
34203  */
34204 #define EMVSIM_GPCNT1_VAL_GPCNT1(x)              (((uint32_t)(((uint32_t)(x)) << EMVSIM_GPCNT1_VAL_GPCNT1_SHIFT)) & EMVSIM_GPCNT1_VAL_GPCNT1_MASK)
34205 /*! @} */
34206 
34207 
34208 /*!
34209  * @}
34210  */ /* end of group EMVSIM_Register_Masks */
34211 
34212 
34213 /* EMVSIM - Peripheral instance base addresses */
34214 /** Peripheral EMVSIM1 base address */
34215 #define EMVSIM1_BASE                             (0x40154000u)
34216 /** Peripheral EMVSIM1 base pointer */
34217 #define EMVSIM1                                  ((EMVSIM_Type *)EMVSIM1_BASE)
34218 /** Peripheral EMVSIM2 base address */
34219 #define EMVSIM2_BASE                             (0x40158000u)
34220 /** Peripheral EMVSIM2 base pointer */
34221 #define EMVSIM2                                  ((EMVSIM_Type *)EMVSIM2_BASE)
34222 /** Array initializer of EMVSIM peripheral base addresses */
34223 #define EMVSIM_BASE_ADDRS                        { 0u, EMVSIM1_BASE, EMVSIM2_BASE }
34224 /** Array initializer of EMVSIM peripheral base pointers */
34225 #define EMVSIM_BASE_PTRS                         { (EMVSIM_Type *)0u, EMVSIM1, EMVSIM2 }
34226 /** Interrupt vectors for the EMVSIM peripheral type */
34227 #define EMVSIM_IRQS                              { NotAvail_IRQn, EMVSIM1_IRQn, EMVSIM2_IRQn }
34228 
34229 /*!
34230  * @}
34231  */ /* end of group EMVSIM_Peripheral_Access_Layer */
34232 
34233 
34234 /* ----------------------------------------------------------------------------
34235    -- ENC Peripheral Access Layer
34236    ---------------------------------------------------------------------------- */
34237 
34238 /*!
34239  * @addtogroup ENC_Peripheral_Access_Layer ENC Peripheral Access Layer
34240  * @{
34241  */
34242 
34243 /** ENC - Register Layout Typedef */
34244 typedef struct {
34245   __IO uint16_t CTRL;                              /**< Control Register, offset: 0x0 */
34246   __IO uint16_t FILT;                              /**< Input Filter Register, offset: 0x2 */
34247   __IO uint16_t WTR;                               /**< Watchdog Timeout Register, offset: 0x4 */
34248   __IO uint16_t POSD;                              /**< Position Difference Counter Register, offset: 0x6 */
34249   __I  uint16_t POSDH;                             /**< Position Difference Hold Register, offset: 0x8 */
34250   __IO uint16_t REV;                               /**< Revolution Counter Register, offset: 0xA */
34251   __I  uint16_t REVH;                              /**< Revolution Hold Register, offset: 0xC */
34252   __IO uint16_t UPOS;                              /**< Upper Position Counter Register, offset: 0xE */
34253   __IO uint16_t LPOS;                              /**< Lower Position Counter Register, offset: 0x10 */
34254   __I  uint16_t UPOSH;                             /**< Upper Position Hold Register, offset: 0x12 */
34255   __I  uint16_t LPOSH;                             /**< Lower Position Hold Register, offset: 0x14 */
34256   __IO uint16_t UINIT;                             /**< Upper Initialization Register, offset: 0x16 */
34257   __IO uint16_t LINIT;                             /**< Lower Initialization Register, offset: 0x18 */
34258   __I  uint16_t IMR;                               /**< Input Monitor Register, offset: 0x1A */
34259   __IO uint16_t TST;                               /**< Test Register, offset: 0x1C */
34260   __IO uint16_t CTRL2;                             /**< Control 2 Register, offset: 0x1E */
34261   __IO uint16_t UMOD;                              /**< Upper Modulus Register, offset: 0x20 */
34262   __IO uint16_t LMOD;                              /**< Lower Modulus Register, offset: 0x22 */
34263   __IO uint16_t UCOMP;                             /**< Upper Position Compare Register, offset: 0x24 */
34264   __IO uint16_t LCOMP;                             /**< Lower Position Compare Register, offset: 0x26 */
34265   __I  uint16_t LASTEDGE;                          /**< Last Edge Time Register, offset: 0x28 */
34266   __I  uint16_t LASTEDGEH;                         /**< Last Edge Time Hold Register, offset: 0x2A */
34267   __I  uint16_t POSDPER;                           /**< Position Difference Period Counter Register, offset: 0x2C */
34268   __I  uint16_t POSDPERBFR;                        /**< Position Difference Period Buffer Register, offset: 0x2E */
34269   __I  uint16_t POSDPERH;                          /**< Position Difference Period Hold Register, offset: 0x30 */
34270   __IO uint16_t CTRL3;                             /**< Control 3 Register, offset: 0x32 */
34271 } ENC_Type;
34272 
34273 /* ----------------------------------------------------------------------------
34274    -- ENC Register Masks
34275    ---------------------------------------------------------------------------- */
34276 
34277 /*!
34278  * @addtogroup ENC_Register_Masks ENC Register Masks
34279  * @{
34280  */
34281 
34282 /*! @name CTRL - Control Register */
34283 /*! @{ */
34284 
34285 #define ENC_CTRL_CMPIE_MASK                      (0x1U)
34286 #define ENC_CTRL_CMPIE_SHIFT                     (0U)
34287 /*! CMPIE - Compare Interrupt Enable
34288  *  0b0..Disabled
34289  *  0b1..Enabled
34290  */
34291 #define ENC_CTRL_CMPIE(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_CMPIE_SHIFT)) & ENC_CTRL_CMPIE_MASK)
34292 
34293 #define ENC_CTRL_CMPIRQ_MASK                     (0x2U)
34294 #define ENC_CTRL_CMPIRQ_SHIFT                    (1U)
34295 /*! CMPIRQ - Compare Interrupt Request
34296  *  0b0..No match has occurred (the counter does not match the COMP value)
34297  *  0b1..COMP match has occurred (the counter matches the COMP value)
34298  */
34299 #define ENC_CTRL_CMPIRQ(x)                       (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_CMPIRQ_SHIFT)) & ENC_CTRL_CMPIRQ_MASK)
34300 
34301 #define ENC_CTRL_WDE_MASK                        (0x4U)
34302 #define ENC_CTRL_WDE_SHIFT                       (2U)
34303 /*! WDE - Watchdog Enable
34304  *  0b0..Disabled
34305  *  0b1..Enabled
34306  */
34307 #define ENC_CTRL_WDE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_WDE_SHIFT)) & ENC_CTRL_WDE_MASK)
34308 
34309 #define ENC_CTRL_DIE_MASK                        (0x8U)
34310 #define ENC_CTRL_DIE_SHIFT                       (3U)
34311 /*! DIE - Watchdog Timeout Interrupt Enable
34312  *  0b0..Disabled
34313  *  0b1..Enabled
34314  */
34315 #define ENC_CTRL_DIE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_DIE_SHIFT)) & ENC_CTRL_DIE_MASK)
34316 
34317 #define ENC_CTRL_DIRQ_MASK                       (0x10U)
34318 #define ENC_CTRL_DIRQ_SHIFT                      (4U)
34319 /*! DIRQ - Watchdog Timeout Interrupt Request
34320  *  0b0..No Watchdog timeout interrupt has occurred
34321  *  0b1..Watchdog timeout interrupt has occurred
34322  */
34323 #define ENC_CTRL_DIRQ(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_DIRQ_SHIFT)) & ENC_CTRL_DIRQ_MASK)
34324 
34325 #define ENC_CTRL_XNE_MASK                        (0x20U)
34326 #define ENC_CTRL_XNE_SHIFT                       (5U)
34327 /*! XNE - Use Negative Edge of INDEX Pulse
34328  *  0b0..Use positive edge of INDEX pulse
34329  *  0b1..Use negative edge of INDEX pulse
34330  */
34331 #define ENC_CTRL_XNE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_XNE_SHIFT)) & ENC_CTRL_XNE_MASK)
34332 
34333 #define ENC_CTRL_XIP_MASK                        (0x40U)
34334 #define ENC_CTRL_XIP_SHIFT                       (6U)
34335 /*! XIP - INDEX Triggered Initialization of Position Counters UPOS and LPOS
34336  *  0b0..INDEX pulse does not initialize the position counter
34337  *  0b1..INDEX pulse initializes the position counter
34338  */
34339 #define ENC_CTRL_XIP(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_XIP_SHIFT)) & ENC_CTRL_XIP_MASK)
34340 
34341 #define ENC_CTRL_XIE_MASK                        (0x80U)
34342 #define ENC_CTRL_XIE_SHIFT                       (7U)
34343 /*! XIE - INDEX Pulse Interrupt Enable
34344  *  0b0..Disabled
34345  *  0b1..Enabled
34346  */
34347 #define ENC_CTRL_XIE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_XIE_SHIFT)) & ENC_CTRL_XIE_MASK)
34348 
34349 #define ENC_CTRL_XIRQ_MASK                       (0x100U)
34350 #define ENC_CTRL_XIRQ_SHIFT                      (8U)
34351 /*! XIRQ - INDEX Pulse Interrupt Request
34352  *  0b0..INDEX pulse has not occurred
34353  *  0b1..INDEX pulse has occurred
34354  */
34355 #define ENC_CTRL_XIRQ(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_XIRQ_SHIFT)) & ENC_CTRL_XIRQ_MASK)
34356 
34357 #define ENC_CTRL_PH1_MASK                        (0x200U)
34358 #define ENC_CTRL_PH1_SHIFT                       (9U)
34359 /*! PH1 - Enable Signal Phase Count Mode
34360  *  0b0..Use the standard quadrature decoder, where PHASEA and PHASEB represent a two-phase quadrature signal.
34361  *  0b1..Bypass the quadrature decoder. A positive transition of the PHASEA input generates a count signal. The
34362  *       PHASEB input and the REV bit control the counter direction: If CTRL[REV] = 0, PHASEB = 0, then count up If
34363  *       CTRL[REV] = 1, PHASEB = 1, then count up If CTRL[REV] = 0, PHASEB = 1, then count down If CTRL[REV] = 1,
34364  *       PHASEB = 0, then count down
34365  */
34366 #define ENC_CTRL_PH1(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_PH1_SHIFT)) & ENC_CTRL_PH1_MASK)
34367 
34368 #define ENC_CTRL_REV_MASK                        (0x400U)
34369 #define ENC_CTRL_REV_SHIFT                       (10U)
34370 /*! REV - Enable Reverse Direction Counting
34371  *  0b0..Count normally
34372  *  0b1..Count in the reverse direction
34373  */
34374 #define ENC_CTRL_REV(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_REV_SHIFT)) & ENC_CTRL_REV_MASK)
34375 
34376 #define ENC_CTRL_SWIP_MASK                       (0x800U)
34377 #define ENC_CTRL_SWIP_SHIFT                      (11U)
34378 /*! SWIP - Software-Triggered Initialization of Position Counters UPOS and LPOS
34379  *  0b0..No action
34380  *  0b1..Initialize position counter (using upper and lower initialization registers, UINIT and LINIT)
34381  */
34382 #define ENC_CTRL_SWIP(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_SWIP_SHIFT)) & ENC_CTRL_SWIP_MASK)
34383 
34384 #define ENC_CTRL_HNE_MASK                        (0x1000U)
34385 #define ENC_CTRL_HNE_SHIFT                       (12U)
34386 /*! HNE - Use Negative Edge of HOME Input
34387  *  0b0..Use positive-going edge-to-trigger initialization of position counters UPOS and LPOS
34388  *  0b1..Use negative-going edge-to-trigger initialization of position counters UPOS and LPOS
34389  */
34390 #define ENC_CTRL_HNE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_HNE_SHIFT)) & ENC_CTRL_HNE_MASK)
34391 
34392 #define ENC_CTRL_HIP_MASK                        (0x2000U)
34393 #define ENC_CTRL_HIP_SHIFT                       (13U)
34394 /*! HIP - Enable HOME to Initialize Position Counters UPOS and LPOS
34395  *  0b0..No action
34396  *  0b1..HOME signal initializes the position counter
34397  */
34398 #define ENC_CTRL_HIP(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_HIP_SHIFT)) & ENC_CTRL_HIP_MASK)
34399 
34400 #define ENC_CTRL_HIE_MASK                        (0x4000U)
34401 #define ENC_CTRL_HIE_SHIFT                       (14U)
34402 /*! HIE - HOME Interrupt Enable
34403  *  0b0..Disabled
34404  *  0b1..Enabled
34405  */
34406 #define ENC_CTRL_HIE(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_HIE_SHIFT)) & ENC_CTRL_HIE_MASK)
34407 
34408 #define ENC_CTRL_HIRQ_MASK                       (0x8000U)
34409 #define ENC_CTRL_HIRQ_SHIFT                      (15U)
34410 /*! HIRQ - HOME Signal Transition Interrupt Request
34411  *  0b0..No transition on the HOME signal has occurred
34412  *  0b1..A transition on the HOME signal has occurred
34413  */
34414 #define ENC_CTRL_HIRQ(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL_HIRQ_SHIFT)) & ENC_CTRL_HIRQ_MASK)
34415 /*! @} */
34416 
34417 /*! @name FILT - Input Filter Register */
34418 /*! @{ */
34419 
34420 #define ENC_FILT_FILT_PER_MASK                   (0xFFU)
34421 #define ENC_FILT_FILT_PER_SHIFT                  (0U)
34422 /*! FILT_PER - Input Filter Sample Period
34423  */
34424 #define ENC_FILT_FILT_PER(x)                     (((uint16_t)(((uint16_t)(x)) << ENC_FILT_FILT_PER_SHIFT)) & ENC_FILT_FILT_PER_MASK)
34425 
34426 #define ENC_FILT_FILT_CNT_MASK                   (0x700U)
34427 #define ENC_FILT_FILT_CNT_SHIFT                  (8U)
34428 /*! FILT_CNT - Input Filter Sample Count
34429  */
34430 #define ENC_FILT_FILT_CNT(x)                     (((uint16_t)(((uint16_t)(x)) << ENC_FILT_FILT_CNT_SHIFT)) & ENC_FILT_FILT_CNT_MASK)
34431 
34432 #define ENC_FILT_FILT_PRSC_MASK                  (0xE000U)
34433 #define ENC_FILT_FILT_PRSC_SHIFT                 (13U)
34434 /*! FILT_PRSC - prescaler divide IPbus clock to FILT clk
34435  */
34436 #define ENC_FILT_FILT_PRSC(x)                    (((uint16_t)(((uint16_t)(x)) << ENC_FILT_FILT_PRSC_SHIFT)) & ENC_FILT_FILT_PRSC_MASK)
34437 /*! @} */
34438 
34439 /*! @name WTR - Watchdog Timeout Register */
34440 /*! @{ */
34441 
34442 #define ENC_WTR_WDOG_MASK                        (0xFFFFU)
34443 #define ENC_WTR_WDOG_SHIFT                       (0U)
34444 /*! WDOG - WDOG
34445  */
34446 #define ENC_WTR_WDOG(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_WTR_WDOG_SHIFT)) & ENC_WTR_WDOG_MASK)
34447 /*! @} */
34448 
34449 /*! @name POSD - Position Difference Counter Register */
34450 /*! @{ */
34451 
34452 #define ENC_POSD_POSD_MASK                       (0xFFFFU)
34453 #define ENC_POSD_POSD_SHIFT                      (0U)
34454 /*! POSD - POSD
34455  */
34456 #define ENC_POSD_POSD(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_POSD_POSD_SHIFT)) & ENC_POSD_POSD_MASK)
34457 /*! @} */
34458 
34459 /*! @name POSDH - Position Difference Hold Register */
34460 /*! @{ */
34461 
34462 #define ENC_POSDH_POSDH_MASK                     (0xFFFFU)
34463 #define ENC_POSDH_POSDH_SHIFT                    (0U)
34464 /*! POSDH - POSDH
34465  */
34466 #define ENC_POSDH_POSDH(x)                       (((uint16_t)(((uint16_t)(x)) << ENC_POSDH_POSDH_SHIFT)) & ENC_POSDH_POSDH_MASK)
34467 /*! @} */
34468 
34469 /*! @name REV - Revolution Counter Register */
34470 /*! @{ */
34471 
34472 #define ENC_REV_REV_MASK                         (0xFFFFU)
34473 #define ENC_REV_REV_SHIFT                        (0U)
34474 /*! REV - REV
34475  */
34476 #define ENC_REV_REV(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_REV_REV_SHIFT)) & ENC_REV_REV_MASK)
34477 /*! @} */
34478 
34479 /*! @name REVH - Revolution Hold Register */
34480 /*! @{ */
34481 
34482 #define ENC_REVH_REVH_MASK                       (0xFFFFU)
34483 #define ENC_REVH_REVH_SHIFT                      (0U)
34484 /*! REVH - REVH
34485  */
34486 #define ENC_REVH_REVH(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_REVH_REVH_SHIFT)) & ENC_REVH_REVH_MASK)
34487 /*! @} */
34488 
34489 /*! @name UPOS - Upper Position Counter Register */
34490 /*! @{ */
34491 
34492 #define ENC_UPOS_POS_MASK                        (0xFFFFU)
34493 #define ENC_UPOS_POS_SHIFT                       (0U)
34494 /*! POS - POS
34495  */
34496 #define ENC_UPOS_POS(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_UPOS_POS_SHIFT)) & ENC_UPOS_POS_MASK)
34497 /*! @} */
34498 
34499 /*! @name LPOS - Lower Position Counter Register */
34500 /*! @{ */
34501 
34502 #define ENC_LPOS_POS_MASK                        (0xFFFFU)
34503 #define ENC_LPOS_POS_SHIFT                       (0U)
34504 /*! POS - POS
34505  */
34506 #define ENC_LPOS_POS(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_LPOS_POS_SHIFT)) & ENC_LPOS_POS_MASK)
34507 /*! @} */
34508 
34509 /*! @name UPOSH - Upper Position Hold Register */
34510 /*! @{ */
34511 
34512 #define ENC_UPOSH_POSH_MASK                      (0xFFFFU)
34513 #define ENC_UPOSH_POSH_SHIFT                     (0U)
34514 /*! POSH - POSH
34515  */
34516 #define ENC_UPOSH_POSH(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_UPOSH_POSH_SHIFT)) & ENC_UPOSH_POSH_MASK)
34517 /*! @} */
34518 
34519 /*! @name LPOSH - Lower Position Hold Register */
34520 /*! @{ */
34521 
34522 #define ENC_LPOSH_POSH_MASK                      (0xFFFFU)
34523 #define ENC_LPOSH_POSH_SHIFT                     (0U)
34524 /*! POSH - POSH
34525  */
34526 #define ENC_LPOSH_POSH(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_LPOSH_POSH_SHIFT)) & ENC_LPOSH_POSH_MASK)
34527 /*! @} */
34528 
34529 /*! @name UINIT - Upper Initialization Register */
34530 /*! @{ */
34531 
34532 #define ENC_UINIT_INIT_MASK                      (0xFFFFU)
34533 #define ENC_UINIT_INIT_SHIFT                     (0U)
34534 /*! INIT - INIT
34535  */
34536 #define ENC_UINIT_INIT(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_UINIT_INIT_SHIFT)) & ENC_UINIT_INIT_MASK)
34537 /*! @} */
34538 
34539 /*! @name LINIT - Lower Initialization Register */
34540 /*! @{ */
34541 
34542 #define ENC_LINIT_INIT_MASK                      (0xFFFFU)
34543 #define ENC_LINIT_INIT_SHIFT                     (0U)
34544 /*! INIT - INIT
34545  */
34546 #define ENC_LINIT_INIT(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_LINIT_INIT_SHIFT)) & ENC_LINIT_INIT_MASK)
34547 /*! @} */
34548 
34549 /*! @name IMR - Input Monitor Register */
34550 /*! @{ */
34551 
34552 #define ENC_IMR_HOME_MASK                        (0x1U)
34553 #define ENC_IMR_HOME_SHIFT                       (0U)
34554 /*! HOME - HOME
34555  */
34556 #define ENC_IMR_HOME(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_IMR_HOME_SHIFT)) & ENC_IMR_HOME_MASK)
34557 
34558 #define ENC_IMR_INDEX_MASK                       (0x2U)
34559 #define ENC_IMR_INDEX_SHIFT                      (1U)
34560 /*! INDEX - INDEX
34561  */
34562 #define ENC_IMR_INDEX(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_IMR_INDEX_SHIFT)) & ENC_IMR_INDEX_MASK)
34563 
34564 #define ENC_IMR_PHB_MASK                         (0x4U)
34565 #define ENC_IMR_PHB_SHIFT                        (2U)
34566 /*! PHB - PHB
34567  */
34568 #define ENC_IMR_PHB(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_IMR_PHB_SHIFT)) & ENC_IMR_PHB_MASK)
34569 
34570 #define ENC_IMR_PHA_MASK                         (0x8U)
34571 #define ENC_IMR_PHA_SHIFT                        (3U)
34572 /*! PHA - PHA
34573  */
34574 #define ENC_IMR_PHA(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_IMR_PHA_SHIFT)) & ENC_IMR_PHA_MASK)
34575 
34576 #define ENC_IMR_FHOM_MASK                        (0x10U)
34577 #define ENC_IMR_FHOM_SHIFT                       (4U)
34578 /*! FHOM - FHOM
34579  */
34580 #define ENC_IMR_FHOM(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_IMR_FHOM_SHIFT)) & ENC_IMR_FHOM_MASK)
34581 
34582 #define ENC_IMR_FIND_MASK                        (0x20U)
34583 #define ENC_IMR_FIND_SHIFT                       (5U)
34584 /*! FIND - FIND
34585  */
34586 #define ENC_IMR_FIND(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_IMR_FIND_SHIFT)) & ENC_IMR_FIND_MASK)
34587 
34588 #define ENC_IMR_FPHB_MASK                        (0x40U)
34589 #define ENC_IMR_FPHB_SHIFT                       (6U)
34590 /*! FPHB - FPHB
34591  */
34592 #define ENC_IMR_FPHB(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_IMR_FPHB_SHIFT)) & ENC_IMR_FPHB_MASK)
34593 
34594 #define ENC_IMR_FPHA_MASK                        (0x80U)
34595 #define ENC_IMR_FPHA_SHIFT                       (7U)
34596 /*! FPHA - FPHA
34597  */
34598 #define ENC_IMR_FPHA(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_IMR_FPHA_SHIFT)) & ENC_IMR_FPHA_MASK)
34599 /*! @} */
34600 
34601 /*! @name TST - Test Register */
34602 /*! @{ */
34603 
34604 #define ENC_TST_TEST_COUNT_MASK                  (0xFFU)
34605 #define ENC_TST_TEST_COUNT_SHIFT                 (0U)
34606 /*! TEST_COUNT - TEST_COUNT
34607  */
34608 #define ENC_TST_TEST_COUNT(x)                    (((uint16_t)(((uint16_t)(x)) << ENC_TST_TEST_COUNT_SHIFT)) & ENC_TST_TEST_COUNT_MASK)
34609 
34610 #define ENC_TST_TEST_PERIOD_MASK                 (0x1F00U)
34611 #define ENC_TST_TEST_PERIOD_SHIFT                (8U)
34612 /*! TEST_PERIOD - TEST_PERIOD
34613  */
34614 #define ENC_TST_TEST_PERIOD(x)                   (((uint16_t)(((uint16_t)(x)) << ENC_TST_TEST_PERIOD_SHIFT)) & ENC_TST_TEST_PERIOD_MASK)
34615 
34616 #define ENC_TST_QDN_MASK                         (0x2000U)
34617 #define ENC_TST_QDN_SHIFT                        (13U)
34618 /*! QDN - Quadrature Decoder Negative Signal
34619  *  0b0..Generates a positive quadrature decoder signal
34620  *  0b1..Generates a negative quadrature decoder signal
34621  */
34622 #define ENC_TST_QDN(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_TST_QDN_SHIFT)) & ENC_TST_QDN_MASK)
34623 
34624 #define ENC_TST_TCE_MASK                         (0x4000U)
34625 #define ENC_TST_TCE_SHIFT                        (14U)
34626 /*! TCE - Test Counter Enable
34627  *  0b0..Disabled
34628  *  0b1..Enabled
34629  */
34630 #define ENC_TST_TCE(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_TST_TCE_SHIFT)) & ENC_TST_TCE_MASK)
34631 
34632 #define ENC_TST_TEN_MASK                         (0x8000U)
34633 #define ENC_TST_TEN_SHIFT                        (15U)
34634 /*! TEN - Test Mode Enable
34635  *  0b0..Disabled
34636  *  0b1..Enabled
34637  */
34638 #define ENC_TST_TEN(x)                           (((uint16_t)(((uint16_t)(x)) << ENC_TST_TEN_SHIFT)) & ENC_TST_TEN_MASK)
34639 /*! @} */
34640 
34641 /*! @name CTRL2 - Control 2 Register */
34642 /*! @{ */
34643 
34644 #define ENC_CTRL2_UPDHLD_MASK                    (0x1U)
34645 #define ENC_CTRL2_UPDHLD_SHIFT                   (0U)
34646 /*! UPDHLD - Update Hold Registers
34647  *  0b0..Disable updates of hold registers on the rising edge of TRIGGER input signal
34648  *  0b1..Enable updates of hold registers on the rising edge of TRIGGER input signal
34649  */
34650 #define ENC_CTRL2_UPDHLD(x)                      (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_UPDHLD_SHIFT)) & ENC_CTRL2_UPDHLD_MASK)
34651 
34652 #define ENC_CTRL2_UPDPOS_MASK                    (0x2U)
34653 #define ENC_CTRL2_UPDPOS_SHIFT                   (1U)
34654 /*! UPDPOS - Update Position Registers
34655  *  0b0..No action for POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER
34656  *  0b1..Clear POSD, REV, UPOS and LPOS registers on rising edge of TRIGGER
34657  */
34658 #define ENC_CTRL2_UPDPOS(x)                      (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_UPDPOS_SHIFT)) & ENC_CTRL2_UPDPOS_MASK)
34659 
34660 #define ENC_CTRL2_MOD_MASK                       (0x4U)
34661 #define ENC_CTRL2_MOD_SHIFT                      (2U)
34662 /*! MOD - Enable Modulo Counting
34663  *  0b0..Disable modulo counting
34664  *  0b1..Enable modulo counting
34665  */
34666 #define ENC_CTRL2_MOD(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_MOD_SHIFT)) & ENC_CTRL2_MOD_MASK)
34667 
34668 #define ENC_CTRL2_DIR_MASK                       (0x8U)
34669 #define ENC_CTRL2_DIR_SHIFT                      (3U)
34670 /*! DIR - Count Direction Flag
34671  *  0b0..Last count was in the down direction
34672  *  0b1..Last count was in the up direction
34673  */
34674 #define ENC_CTRL2_DIR(x)                         (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_DIR_SHIFT)) & ENC_CTRL2_DIR_MASK)
34675 
34676 #define ENC_CTRL2_RUIE_MASK                      (0x10U)
34677 #define ENC_CTRL2_RUIE_SHIFT                     (4U)
34678 /*! RUIE - Roll-under Interrupt Enable
34679  *  0b0..Disabled
34680  *  0b1..Enabled
34681  */
34682 #define ENC_CTRL2_RUIE(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_RUIE_SHIFT)) & ENC_CTRL2_RUIE_MASK)
34683 
34684 #define ENC_CTRL2_RUIRQ_MASK                     (0x20U)
34685 #define ENC_CTRL2_RUIRQ_SHIFT                    (5U)
34686 /*! RUIRQ - Roll-under Interrupt Request
34687  *  0b0..No roll-under has occurred
34688  *  0b1..Roll-under has occurred
34689  */
34690 #define ENC_CTRL2_RUIRQ(x)                       (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_RUIRQ_SHIFT)) & ENC_CTRL2_RUIRQ_MASK)
34691 
34692 #define ENC_CTRL2_ROIE_MASK                      (0x40U)
34693 #define ENC_CTRL2_ROIE_SHIFT                     (6U)
34694 /*! ROIE - Roll-over Interrupt Enable
34695  *  0b0..Disabled
34696  *  0b1..Enabled
34697  */
34698 #define ENC_CTRL2_ROIE(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_ROIE_SHIFT)) & ENC_CTRL2_ROIE_MASK)
34699 
34700 #define ENC_CTRL2_ROIRQ_MASK                     (0x80U)
34701 #define ENC_CTRL2_ROIRQ_SHIFT                    (7U)
34702 /*! ROIRQ - Roll-over Interrupt Request
34703  *  0b0..No roll-over has occurred
34704  *  0b1..Roll-over has occurred
34705  */
34706 #define ENC_CTRL2_ROIRQ(x)                       (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_ROIRQ_SHIFT)) & ENC_CTRL2_ROIRQ_MASK)
34707 
34708 #define ENC_CTRL2_REVMOD_MASK                    (0x100U)
34709 #define ENC_CTRL2_REVMOD_SHIFT                   (8U)
34710 /*! REVMOD - Revolution Counter Modulus Enable
34711  *  0b0..Use INDEX pulse to increment/decrement revolution counter (REV)
34712  *  0b1..Use modulus counting roll-over/under to increment/decrement revolution counter (REV)
34713  */
34714 #define ENC_CTRL2_REVMOD(x)                      (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_REVMOD_SHIFT)) & ENC_CTRL2_REVMOD_MASK)
34715 
34716 #define ENC_CTRL2_OUTCTL_MASK                    (0x200U)
34717 #define ENC_CTRL2_OUTCTL_SHIFT                   (9U)
34718 /*! OUTCTL - Output Control
34719  *  0b0..POSMATCH pulses when a match occurs between the position counters (POS) and the corresponding compare value (COMP )
34720  *  0b1..POSMATCH pulses when the UPOS, LPOS, REV, or POSD registers are read
34721  */
34722 #define ENC_CTRL2_OUTCTL(x)                      (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_OUTCTL_SHIFT)) & ENC_CTRL2_OUTCTL_MASK)
34723 
34724 #define ENC_CTRL2_SABIE_MASK                     (0x400U)
34725 #define ENC_CTRL2_SABIE_SHIFT                    (10U)
34726 /*! SABIE - Simultaneous PHASEA and PHASEB Change Interrupt Enable
34727  *  0b0..Disabled
34728  *  0b1..Enabled
34729  */
34730 #define ENC_CTRL2_SABIE(x)                       (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_SABIE_SHIFT)) & ENC_CTRL2_SABIE_MASK)
34731 
34732 #define ENC_CTRL2_SABIRQ_MASK                    (0x800U)
34733 #define ENC_CTRL2_SABIRQ_SHIFT                   (11U)
34734 /*! SABIRQ - Simultaneous PHASEA and PHASEB Change Interrupt Request
34735  *  0b0..No simultaneous change of PHASEA and PHASEB has occurred
34736  *  0b1..A simultaneous change of PHASEA and PHASEB has occurred
34737  */
34738 #define ENC_CTRL2_SABIRQ(x)                      (((uint16_t)(((uint16_t)(x)) << ENC_CTRL2_SABIRQ_SHIFT)) & ENC_CTRL2_SABIRQ_MASK)
34739 /*! @} */
34740 
34741 /*! @name UMOD - Upper Modulus Register */
34742 /*! @{ */
34743 
34744 #define ENC_UMOD_MOD_MASK                        (0xFFFFU)
34745 #define ENC_UMOD_MOD_SHIFT                       (0U)
34746 /*! MOD - MOD
34747  */
34748 #define ENC_UMOD_MOD(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_UMOD_MOD_SHIFT)) & ENC_UMOD_MOD_MASK)
34749 /*! @} */
34750 
34751 /*! @name LMOD - Lower Modulus Register */
34752 /*! @{ */
34753 
34754 #define ENC_LMOD_MOD_MASK                        (0xFFFFU)
34755 #define ENC_LMOD_MOD_SHIFT                       (0U)
34756 /*! MOD - MOD
34757  */
34758 #define ENC_LMOD_MOD(x)                          (((uint16_t)(((uint16_t)(x)) << ENC_LMOD_MOD_SHIFT)) & ENC_LMOD_MOD_MASK)
34759 /*! @} */
34760 
34761 /*! @name UCOMP - Upper Position Compare Register */
34762 /*! @{ */
34763 
34764 #define ENC_UCOMP_COMP_MASK                      (0xFFFFU)
34765 #define ENC_UCOMP_COMP_SHIFT                     (0U)
34766 /*! COMP - COMP
34767  */
34768 #define ENC_UCOMP_COMP(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_UCOMP_COMP_SHIFT)) & ENC_UCOMP_COMP_MASK)
34769 /*! @} */
34770 
34771 /*! @name LCOMP - Lower Position Compare Register */
34772 /*! @{ */
34773 
34774 #define ENC_LCOMP_COMP_MASK                      (0xFFFFU)
34775 #define ENC_LCOMP_COMP_SHIFT                     (0U)
34776 /*! COMP - COMP
34777  */
34778 #define ENC_LCOMP_COMP(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_LCOMP_COMP_SHIFT)) & ENC_LCOMP_COMP_MASK)
34779 /*! @} */
34780 
34781 /*! @name LASTEDGE - Last Edge Time Register */
34782 /*! @{ */
34783 
34784 #define ENC_LASTEDGE_LASTEDGE_MASK               (0xFFFFU)
34785 #define ENC_LASTEDGE_LASTEDGE_SHIFT              (0U)
34786 /*! LASTEDGE - Last Edge Time Counter
34787  */
34788 #define ENC_LASTEDGE_LASTEDGE(x)                 (((uint16_t)(((uint16_t)(x)) << ENC_LASTEDGE_LASTEDGE_SHIFT)) & ENC_LASTEDGE_LASTEDGE_MASK)
34789 /*! @} */
34790 
34791 /*! @name LASTEDGEH - Last Edge Time Hold Register */
34792 /*! @{ */
34793 
34794 #define ENC_LASTEDGEH_LASTEDGEH_MASK             (0xFFFFU)
34795 #define ENC_LASTEDGEH_LASTEDGEH_SHIFT            (0U)
34796 /*! LASTEDGEH - Last Edge Time Hold
34797  */
34798 #define ENC_LASTEDGEH_LASTEDGEH(x)               (((uint16_t)(((uint16_t)(x)) << ENC_LASTEDGEH_LASTEDGEH_SHIFT)) & ENC_LASTEDGEH_LASTEDGEH_MASK)
34799 /*! @} */
34800 
34801 /*! @name POSDPER - Position Difference Period Counter Register */
34802 /*! @{ */
34803 
34804 #define ENC_POSDPER_POSDPER_MASK                 (0xFFFFU)
34805 #define ENC_POSDPER_POSDPER_SHIFT                (0U)
34806 /*! POSDPER - Position difference period
34807  */
34808 #define ENC_POSDPER_POSDPER(x)                   (((uint16_t)(((uint16_t)(x)) << ENC_POSDPER_POSDPER_SHIFT)) & ENC_POSDPER_POSDPER_MASK)
34809 /*! @} */
34810 
34811 /*! @name POSDPERBFR - Position Difference Period Buffer Register */
34812 /*! @{ */
34813 
34814 #define ENC_POSDPERBFR_POSDPERBFR_MASK           (0xFFFFU)
34815 #define ENC_POSDPERBFR_POSDPERBFR_SHIFT          (0U)
34816 /*! POSDPERBFR - Position difference period buffer
34817  */
34818 #define ENC_POSDPERBFR_POSDPERBFR(x)             (((uint16_t)(((uint16_t)(x)) << ENC_POSDPERBFR_POSDPERBFR_SHIFT)) & ENC_POSDPERBFR_POSDPERBFR_MASK)
34819 /*! @} */
34820 
34821 /*! @name POSDPERH - Position Difference Period Hold Register */
34822 /*! @{ */
34823 
34824 #define ENC_POSDPERH_POSDPERH_MASK               (0xFFFFU)
34825 #define ENC_POSDPERH_POSDPERH_SHIFT              (0U)
34826 /*! POSDPERH - Position difference period hold
34827  */
34828 #define ENC_POSDPERH_POSDPERH(x)                 (((uint16_t)(((uint16_t)(x)) << ENC_POSDPERH_POSDPERH_SHIFT)) & ENC_POSDPERH_POSDPERH_MASK)
34829 /*! @} */
34830 
34831 /*! @name CTRL3 - Control 3 Register */
34832 /*! @{ */
34833 
34834 #define ENC_CTRL3_PMEN_MASK                      (0x1U)
34835 #define ENC_CTRL3_PMEN_SHIFT                     (0U)
34836 /*! PMEN - Period measurement function enable
34837  *  0b0..Period measurement functions are not used. POSD is loaded to POSDH and then cleared whenever POSD, UPOS, LPOS, or REV is read.
34838  *  0b1..Period measurement functions are used. POSD is loaded to POSDH and then cleared only when POSD is read.
34839  */
34840 #define ENC_CTRL3_PMEN(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_CTRL3_PMEN_SHIFT)) & ENC_CTRL3_PMEN_MASK)
34841 
34842 #define ENC_CTRL3_PRSC_MASK                      (0xF0U)
34843 #define ENC_CTRL3_PRSC_SHIFT                     (4U)
34844 /*! PRSC - Prescaler
34845  */
34846 #define ENC_CTRL3_PRSC(x)                        (((uint16_t)(((uint16_t)(x)) << ENC_CTRL3_PRSC_SHIFT)) & ENC_CTRL3_PRSC_MASK)
34847 /*! @} */
34848 
34849 
34850 /*!
34851  * @}
34852  */ /* end of group ENC_Register_Masks */
34853 
34854 
34855 /* ENC - Peripheral instance base addresses */
34856 /** Peripheral ENC1 base address */
34857 #define ENC1_BASE                                (0x40174000u)
34858 /** Peripheral ENC1 base pointer */
34859 #define ENC1                                     ((ENC_Type *)ENC1_BASE)
34860 /** Peripheral ENC2 base address */
34861 #define ENC2_BASE                                (0x40178000u)
34862 /** Peripheral ENC2 base pointer */
34863 #define ENC2                                     ((ENC_Type *)ENC2_BASE)
34864 /** Peripheral ENC3 base address */
34865 #define ENC3_BASE                                (0x4017C000u)
34866 /** Peripheral ENC3 base pointer */
34867 #define ENC3                                     ((ENC_Type *)ENC3_BASE)
34868 /** Peripheral ENC4 base address */
34869 #define ENC4_BASE                                (0x40180000u)
34870 /** Peripheral ENC4 base pointer */
34871 #define ENC4                                     ((ENC_Type *)ENC4_BASE)
34872 /** Array initializer of ENC peripheral base addresses */
34873 #define ENC_BASE_ADDRS                           { 0u, ENC1_BASE, ENC2_BASE, ENC3_BASE, ENC4_BASE }
34874 /** Array initializer of ENC peripheral base pointers */
34875 #define ENC_BASE_PTRS                            { (ENC_Type *)0u, ENC1, ENC2, ENC3, ENC4 }
34876 /** Interrupt vectors for the ENC peripheral type */
34877 #define ENC_COMPARE_IRQS                         { NotAvail_IRQn, ENC1_IRQn, ENC2_IRQn, ENC3_IRQn, ENC4_IRQn }
34878 #define ENC_HOME_IRQS                            { NotAvail_IRQn, ENC1_IRQn, ENC2_IRQn, ENC3_IRQn, ENC4_IRQn }
34879 #define ENC_WDOG_IRQS                            { NotAvail_IRQn, ENC1_IRQn, ENC2_IRQn, ENC3_IRQn, ENC4_IRQn }
34880 #define ENC_INDEX_IRQS                           { NotAvail_IRQn, ENC1_IRQn, ENC2_IRQn, ENC3_IRQn, ENC4_IRQn }
34881 #define ENC_INPUT_SWITCH_IRQS                    { NotAvail_IRQn, ENC1_IRQn, ENC2_IRQn, ENC3_IRQn, ENC4_IRQn }
34882 
34883 /*!
34884  * @}
34885  */ /* end of group ENC_Peripheral_Access_Layer */
34886 
34887 
34888 /* ----------------------------------------------------------------------------
34889    -- ENET Peripheral Access Layer
34890    ---------------------------------------------------------------------------- */
34891 
34892 /*!
34893  * @addtogroup ENET_Peripheral_Access_Layer ENET Peripheral Access Layer
34894  * @{
34895  */
34896 
34897 /** ENET - Register Layout Typedef */
34898 typedef struct {
34899        uint8_t RESERVED_0[4];
34900   __IO uint32_t EIR;                               /**< Interrupt Event Register, offset: 0x4 */
34901   __IO uint32_t EIMR;                              /**< Interrupt Mask Register, offset: 0x8 */
34902        uint8_t RESERVED_1[4];
34903   __IO uint32_t RDAR;                              /**< Receive Descriptor Active Register - Ring 0, offset: 0x10 */
34904   __IO uint32_t TDAR;                              /**< Transmit Descriptor Active Register - Ring 0, offset: 0x14 */
34905        uint8_t RESERVED_2[12];
34906   __IO uint32_t ECR;                               /**< Ethernet Control Register, offset: 0x24 */
34907        uint8_t RESERVED_3[24];
34908   __IO uint32_t MMFR;                              /**< MII Management Frame Register, offset: 0x40 */
34909   __IO uint32_t MSCR;                              /**< MII Speed Control Register, offset: 0x44 */
34910        uint8_t RESERVED_4[28];
34911   __IO uint32_t MIBC;                              /**< MIB Control Register, offset: 0x64 */
34912        uint8_t RESERVED_5[28];
34913   __IO uint32_t RCR;                               /**< Receive Control Register, offset: 0x84 */
34914        uint8_t RESERVED_6[60];
34915   __IO uint32_t TCR;                               /**< Transmit Control Register, offset: 0xC4 */
34916        uint8_t RESERVED_7[28];
34917   __IO uint32_t PALR;                              /**< Physical Address Lower Register, offset: 0xE4 */
34918   __IO uint32_t PAUR;                              /**< Physical Address Upper Register, offset: 0xE8 */
34919   __IO uint32_t OPD;                               /**< Opcode/Pause Duration Register, offset: 0xEC */
34920   __IO uint32_t TXIC[3];                           /**< Transmit Interrupt Coalescing Register, array offset: 0xF0, array step: 0x4 */
34921        uint8_t RESERVED_8[4];
34922   __IO uint32_t RXIC[3];                           /**< Receive Interrupt Coalescing Register, array offset: 0x100, array step: 0x4 */
34923        uint8_t RESERVED_9[12];
34924   __IO uint32_t IAUR;                              /**< Descriptor Individual Upper Address Register, offset: 0x118 */
34925   __IO uint32_t IALR;                              /**< Descriptor Individual Lower Address Register, offset: 0x11C */
34926   __IO uint32_t GAUR;                              /**< Descriptor Group Upper Address Register, offset: 0x120 */
34927   __IO uint32_t GALR;                              /**< Descriptor Group Lower Address Register, offset: 0x124 */
34928        uint8_t RESERVED_10[28];
34929   __IO uint32_t TFWR;                              /**< Transmit FIFO Watermark Register, offset: 0x144 */
34930        uint8_t RESERVED_11[24];
34931   __IO uint32_t RDSR1;                             /**< Receive Descriptor Ring 1 Start Register, offset: 0x160 */
34932   __IO uint32_t TDSR1;                             /**< Transmit Buffer Descriptor Ring 1 Start Register, offset: 0x164 */
34933   __IO uint32_t MRBR1;                             /**< Maximum Receive Buffer Size Register - Ring 1, offset: 0x168 */
34934   __IO uint32_t RDSR2;                             /**< Receive Descriptor Ring 2 Start Register, offset: 0x16C */
34935   __IO uint32_t TDSR2;                             /**< Transmit Buffer Descriptor Ring 2 Start Register, offset: 0x170 */
34936   __IO uint32_t MRBR2;                             /**< Maximum Receive Buffer Size Register - Ring 2, offset: 0x174 */
34937        uint8_t RESERVED_12[8];
34938   __IO uint32_t RDSR;                              /**< Receive Descriptor Ring 0 Start Register, offset: 0x180 */
34939   __IO uint32_t TDSR;                              /**< Transmit Buffer Descriptor Ring 0 Start Register, offset: 0x184 */
34940   __IO uint32_t MRBR;                              /**< Maximum Receive Buffer Size Register - Ring 0, offset: 0x188 */
34941        uint8_t RESERVED_13[4];
34942   __IO uint32_t RSFL;                              /**< Receive FIFO Section Full Threshold, offset: 0x190 */
34943   __IO uint32_t RSEM;                              /**< Receive FIFO Section Empty Threshold, offset: 0x194 */
34944   __IO uint32_t RAEM;                              /**< Receive FIFO Almost Empty Threshold, offset: 0x198 */
34945   __IO uint32_t RAFL;                              /**< Receive FIFO Almost Full Threshold, offset: 0x19C */
34946   __IO uint32_t TSEM;                              /**< Transmit FIFO Section Empty Threshold, offset: 0x1A0 */
34947   __IO uint32_t TAEM;                              /**< Transmit FIFO Almost Empty Threshold, offset: 0x1A4 */
34948   __IO uint32_t TAFL;                              /**< Transmit FIFO Almost Full Threshold, offset: 0x1A8 */
34949   __IO uint32_t TIPG;                              /**< Transmit Inter-Packet Gap, offset: 0x1AC */
34950   __IO uint32_t FTRL;                              /**< Frame Truncation Length, offset: 0x1B0 */
34951        uint8_t RESERVED_14[12];
34952   __IO uint32_t TACC;                              /**< Transmit Accelerator Function Configuration, offset: 0x1C0 */
34953   __IO uint32_t RACC;                              /**< Receive Accelerator Function Configuration, offset: 0x1C4 */
34954   __IO uint32_t RCMR[2];                           /**< Receive Classification Match Register for Class n, array offset: 0x1C8, array step: 0x4 */
34955        uint8_t RESERVED_15[8];
34956   __IO uint32_t DMACFG[2];                         /**< DMA Class Based Configuration, array offset: 0x1D8, array step: 0x4 */
34957   __IO uint32_t RDAR1;                             /**< Receive Descriptor Active Register - Ring 1, offset: 0x1E0 */
34958   __IO uint32_t TDAR1;                             /**< Transmit Descriptor Active Register - Ring 1, offset: 0x1E4 */
34959   __IO uint32_t RDAR2;                             /**< Receive Descriptor Active Register - Ring 2, offset: 0x1E8 */
34960   __IO uint32_t TDAR2;                             /**< Transmit Descriptor Active Register - Ring 2, offset: 0x1EC */
34961   __IO uint32_t QOS;                               /**< QOS Scheme, offset: 0x1F0 */
34962        uint8_t RESERVED_16[16];
34963   __I  uint32_t RMON_T_PACKETS;                    /**< Tx Packet Count Statistic Register, offset: 0x204 */
34964   __I  uint32_t RMON_T_BC_PKT;                     /**< Tx Broadcast Packets Statistic Register, offset: 0x208 */
34965   __I  uint32_t RMON_T_MC_PKT;                     /**< Tx Multicast Packets Statistic Register, offset: 0x20C */
34966   __I  uint32_t RMON_T_CRC_ALIGN;                  /**< Tx Packets with CRC/Align Error Statistic Register, offset: 0x210 */
34967   __I  uint32_t RMON_T_UNDERSIZE;                  /**< Tx Packets Less Than Bytes and Good CRC Statistic Register, offset: 0x214 */
34968   __I  uint32_t RMON_T_OVERSIZE;                   /**< Tx Packets GT MAX_FL bytes and Good CRC Statistic Register, offset: 0x218 */
34969   __I  uint32_t RMON_T_FRAG;                       /**< Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register, offset: 0x21C */
34970   __I  uint32_t RMON_T_JAB;                        /**< Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register, offset: 0x220 */
34971   __I  uint32_t RMON_T_COL;                        /**< Tx Collision Count Statistic Register, offset: 0x224 */
34972   __I  uint32_t RMON_T_P64;                        /**< Tx 64-Byte Packets Statistic Register, offset: 0x228 */
34973   __I  uint32_t RMON_T_P65TO127;                   /**< Tx 65- to 127-byte Packets Statistic Register, offset: 0x22C */
34974   __I  uint32_t RMON_T_P128TO255;                  /**< Tx 128- to 255-byte Packets Statistic Register, offset: 0x230 */
34975   __I  uint32_t RMON_T_P256TO511;                  /**< Tx 256- to 511-byte Packets Statistic Register, offset: 0x234 */
34976   __I  uint32_t RMON_T_P512TO1023;                 /**< Tx 512- to 1023-byte Packets Statistic Register, offset: 0x238 */
34977   __I  uint32_t RMON_T_P1024TO2047;                /**< Tx 1024- to 2047-byte Packets Statistic Register, offset: 0x23C */
34978   __I  uint32_t RMON_T_P_GTE2048;                  /**< Tx Packets Greater Than 2048 Bytes Statistic Register, offset: 0x240 */
34979   __I  uint32_t RMON_T_OCTETS;                     /**< Tx Octets Statistic Register, offset: 0x244 */
34980        uint32_t IEEE_T_DROP;                       /**< Reserved Statistic Register, offset: 0x248 */
34981   __I  uint32_t IEEE_T_FRAME_OK;                   /**< Frames Transmitted OK Statistic Register, offset: 0x24C */
34982   __I  uint32_t IEEE_T_1COL;                       /**< Frames Transmitted with Single Collision Statistic Register, offset: 0x250 */
34983   __I  uint32_t IEEE_T_MCOL;                       /**< Frames Transmitted with Multiple Collisions Statistic Register, offset: 0x254 */
34984   __I  uint32_t IEEE_T_DEF;                        /**< Frames Transmitted after Deferral Delay Statistic Register, offset: 0x258 */
34985   __I  uint32_t IEEE_T_LCOL;                       /**< Frames Transmitted with Late Collision Statistic Register, offset: 0x25C */
34986   __I  uint32_t IEEE_T_EXCOL;                      /**< Frames Transmitted with Excessive Collisions Statistic Register, offset: 0x260 */
34987   __I  uint32_t IEEE_T_MACERR;                     /**< Frames Transmitted with Tx FIFO Underrun Statistic Register, offset: 0x264 */
34988   __I  uint32_t IEEE_T_CSERR;                      /**< Frames Transmitted with Carrier Sense Error Statistic Register, offset: 0x268 */
34989   __I  uint32_t IEEE_T_SQE;                        /**< Reserved Statistic Register, offset: 0x26C */
34990   __I  uint32_t IEEE_T_FDXFC;                      /**< Flow Control Pause Frames Transmitted Statistic Register, offset: 0x270 */
34991   __I  uint32_t IEEE_T_OCTETS_OK;                  /**< Octet Count for Frames Transmitted w/o Error Statistic Register, offset: 0x274 */
34992        uint8_t RESERVED_17[12];
34993   __I  uint32_t RMON_R_PACKETS;                    /**< Rx Packet Count Statistic Register, offset: 0x284 */
34994   __I  uint32_t RMON_R_BC_PKT;                     /**< Rx Broadcast Packets Statistic Register, offset: 0x288 */
34995   __I  uint32_t RMON_R_MC_PKT;                     /**< Rx Multicast Packets Statistic Register, offset: 0x28C */
34996   __I  uint32_t RMON_R_CRC_ALIGN;                  /**< Rx Packets with CRC/Align Error Statistic Register, offset: 0x290 */
34997   __I  uint32_t RMON_R_UNDERSIZE;                  /**< Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register, offset: 0x294 */
34998   __I  uint32_t RMON_R_OVERSIZE;                   /**< Rx Packets Greater Than MAX_FL and Good CRC Statistic Register, offset: 0x298 */
34999   __I  uint32_t RMON_R_FRAG;                       /**< Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register, offset: 0x29C */
35000   __I  uint32_t RMON_R_JAB;                        /**< Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register, offset: 0x2A0 */
35001        uint8_t RESERVED_18[4];
35002   __I  uint32_t RMON_R_P64;                        /**< Rx 64-Byte Packets Statistic Register, offset: 0x2A8 */
35003   __I  uint32_t RMON_R_P65TO127;                   /**< Rx 65- to 127-Byte Packets Statistic Register, offset: 0x2AC */
35004   __I  uint32_t RMON_R_P128TO255;                  /**< Rx 128- to 255-Byte Packets Statistic Register, offset: 0x2B0 */
35005   __I  uint32_t RMON_R_P256TO511;                  /**< Rx 256- to 511-Byte Packets Statistic Register, offset: 0x2B4 */
35006   __I  uint32_t RMON_R_P512TO1023;                 /**< Rx 512- to 1023-Byte Packets Statistic Register, offset: 0x2B8 */
35007   __I  uint32_t RMON_R_P1024TO2047;                /**< Rx 1024- to 2047-Byte Packets Statistic Register, offset: 0x2BC */
35008   __I  uint32_t RMON_R_P_GTE2048;                  /**< Rx Packets Greater than 2048 Bytes Statistic Register, offset: 0x2C0 */
35009   __I  uint32_t RMON_R_OCTETS;                     /**< Rx Octets Statistic Register, offset: 0x2C4 */
35010   __I  uint32_t IEEE_R_DROP;                       /**< Frames not Counted Correctly Statistic Register, offset: 0x2C8 */
35011   __I  uint32_t IEEE_R_FRAME_OK;                   /**< Frames Received OK Statistic Register, offset: 0x2CC */
35012   __I  uint32_t IEEE_R_CRC;                        /**< Frames Received with CRC Error Statistic Register, offset: 0x2D0 */
35013   __I  uint32_t IEEE_R_ALIGN;                      /**< Frames Received with Alignment Error Statistic Register, offset: 0x2D4 */
35014   __I  uint32_t IEEE_R_MACERR;                     /**< Receive FIFO Overflow Count Statistic Register, offset: 0x2D8 */
35015   __I  uint32_t IEEE_R_FDXFC;                      /**< Flow Control Pause Frames Received Statistic Register, offset: 0x2DC */
35016   __I  uint32_t IEEE_R_OCTETS_OK;                  /**< Octet Count for Frames Received without Error Statistic Register, offset: 0x2E0 */
35017        uint8_t RESERVED_19[284];
35018   __IO uint32_t ATCR;                              /**< Adjustable Timer Control Register, offset: 0x400 */
35019   __IO uint32_t ATVR;                              /**< Timer Value Register, offset: 0x404 */
35020   __IO uint32_t ATOFF;                             /**< Timer Offset Register, offset: 0x408 */
35021   __IO uint32_t ATPER;                             /**< Timer Period Register, offset: 0x40C */
35022   __IO uint32_t ATCOR;                             /**< Timer Correction Register, offset: 0x410 */
35023   __IO uint32_t ATINC;                             /**< Time-Stamping Clock Period Register, offset: 0x414 */
35024   __I  uint32_t ATSTMP;                            /**< Timestamp of Last Transmitted Frame, offset: 0x418 */
35025        uint8_t RESERVED_20[488];
35026   __IO uint32_t TGSR;                              /**< Timer Global Status Register, offset: 0x604 */
35027   struct {                                         /* offset: 0x608, array step: 0x8 */
35028     __IO uint32_t TCSR;                              /**< Timer Control Status Register, array offset: 0x608, array step: 0x8 */
35029     __IO uint32_t TCCR;                              /**< Timer Compare Capture Register, array offset: 0x60C, array step: 0x8 */
35030   } CHANNEL[4];
35031 } ENET_Type;
35032 
35033 /* ----------------------------------------------------------------------------
35034    -- ENET Register Masks
35035    ---------------------------------------------------------------------------- */
35036 
35037 /*!
35038  * @addtogroup ENET_Register_Masks ENET Register Masks
35039  * @{
35040  */
35041 
35042 /*! @name EIR - Interrupt Event Register */
35043 /*! @{ */
35044 
35045 #define ENET_EIR_RXB1_MASK                       (0x1U)
35046 #define ENET_EIR_RXB1_SHIFT                      (0U)
35047 /*! RXB1 - Receive buffer interrupt, class 1
35048  */
35049 #define ENET_EIR_RXB1(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXB1_SHIFT)) & ENET_EIR_RXB1_MASK)
35050 
35051 #define ENET_EIR_RXF1_MASK                       (0x2U)
35052 #define ENET_EIR_RXF1_SHIFT                      (1U)
35053 /*! RXF1 - Receive frame interrupt, class 1
35054  */
35055 #define ENET_EIR_RXF1(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXF1_SHIFT)) & ENET_EIR_RXF1_MASK)
35056 
35057 #define ENET_EIR_TXB1_MASK                       (0x4U)
35058 #define ENET_EIR_TXB1_SHIFT                      (2U)
35059 /*! TXB1 - Transmit buffer interrupt, class 1
35060  */
35061 #define ENET_EIR_TXB1(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXB1_SHIFT)) & ENET_EIR_TXB1_MASK)
35062 
35063 #define ENET_EIR_TXF1_MASK                       (0x8U)
35064 #define ENET_EIR_TXF1_SHIFT                      (3U)
35065 /*! TXF1 - Transmit frame interrupt, class 1
35066  */
35067 #define ENET_EIR_TXF1(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXF1_SHIFT)) & ENET_EIR_TXF1_MASK)
35068 
35069 #define ENET_EIR_RXB2_MASK                       (0x10U)
35070 #define ENET_EIR_RXB2_SHIFT                      (4U)
35071 /*! RXB2 - Receive buffer interrupt, class 2
35072  */
35073 #define ENET_EIR_RXB2(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXB2_SHIFT)) & ENET_EIR_RXB2_MASK)
35074 
35075 #define ENET_EIR_RXF2_MASK                       (0x20U)
35076 #define ENET_EIR_RXF2_SHIFT                      (5U)
35077 /*! RXF2 - Receive frame interrupt, class 2
35078  */
35079 #define ENET_EIR_RXF2(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXF2_SHIFT)) & ENET_EIR_RXF2_MASK)
35080 
35081 #define ENET_EIR_TXB2_MASK                       (0x40U)
35082 #define ENET_EIR_TXB2_SHIFT                      (6U)
35083 /*! TXB2 - Transmit buffer interrupt, class 2
35084  */
35085 #define ENET_EIR_TXB2(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXB2_SHIFT)) & ENET_EIR_TXB2_MASK)
35086 
35087 #define ENET_EIR_TXF2_MASK                       (0x80U)
35088 #define ENET_EIR_TXF2_SHIFT                      (7U)
35089 /*! TXF2 - Transmit frame interrupt, class 2
35090  */
35091 #define ENET_EIR_TXF2(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXF2_SHIFT)) & ENET_EIR_TXF2_MASK)
35092 
35093 #define ENET_EIR_RXFLUSH_0_MASK                  (0x1000U)
35094 #define ENET_EIR_RXFLUSH_0_SHIFT                 (12U)
35095 #define ENET_EIR_RXFLUSH_0(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXFLUSH_0_SHIFT)) & ENET_EIR_RXFLUSH_0_MASK)
35096 
35097 #define ENET_EIR_RXFLUSH_1_MASK                  (0x2000U)
35098 #define ENET_EIR_RXFLUSH_1_SHIFT                 (13U)
35099 #define ENET_EIR_RXFLUSH_1(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXFLUSH_1_SHIFT)) & ENET_EIR_RXFLUSH_1_MASK)
35100 
35101 #define ENET_EIR_RXFLUSH_2_MASK                  (0x4000U)
35102 #define ENET_EIR_RXFLUSH_2_SHIFT                 (14U)
35103 #define ENET_EIR_RXFLUSH_2(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXFLUSH_2_SHIFT)) & ENET_EIR_RXFLUSH_2_MASK)
35104 
35105 #define ENET_EIR_TS_TIMER_MASK                   (0x8000U)
35106 #define ENET_EIR_TS_TIMER_SHIFT                  (15U)
35107 /*! TS_TIMER - Timestamp Timer
35108  */
35109 #define ENET_EIR_TS_TIMER(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TS_TIMER_SHIFT)) & ENET_EIR_TS_TIMER_MASK)
35110 
35111 #define ENET_EIR_TS_AVAIL_MASK                   (0x10000U)
35112 #define ENET_EIR_TS_AVAIL_SHIFT                  (16U)
35113 /*! TS_AVAIL - Transmit Timestamp Available
35114  */
35115 #define ENET_EIR_TS_AVAIL(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TS_AVAIL_SHIFT)) & ENET_EIR_TS_AVAIL_MASK)
35116 
35117 #define ENET_EIR_WAKEUP_MASK                     (0x20000U)
35118 #define ENET_EIR_WAKEUP_SHIFT                    (17U)
35119 /*! WAKEUP - Node Wakeup Request Indication
35120  */
35121 #define ENET_EIR_WAKEUP(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_EIR_WAKEUP_SHIFT)) & ENET_EIR_WAKEUP_MASK)
35122 
35123 #define ENET_EIR_PLR_MASK                        (0x40000U)
35124 #define ENET_EIR_PLR_SHIFT                       (18U)
35125 /*! PLR - Payload Receive Error
35126  */
35127 #define ENET_EIR_PLR(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_PLR_SHIFT)) & ENET_EIR_PLR_MASK)
35128 
35129 #define ENET_EIR_UN_MASK                         (0x80000U)
35130 #define ENET_EIR_UN_SHIFT                        (19U)
35131 /*! UN - Transmit FIFO Underrun
35132  */
35133 #define ENET_EIR_UN(x)                           (((uint32_t)(((uint32_t)(x)) << ENET_EIR_UN_SHIFT)) & ENET_EIR_UN_MASK)
35134 
35135 #define ENET_EIR_RL_MASK                         (0x100000U)
35136 #define ENET_EIR_RL_SHIFT                        (20U)
35137 /*! RL - Collision Retry Limit
35138  */
35139 #define ENET_EIR_RL(x)                           (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RL_SHIFT)) & ENET_EIR_RL_MASK)
35140 
35141 #define ENET_EIR_LC_MASK                         (0x200000U)
35142 #define ENET_EIR_LC_SHIFT                        (21U)
35143 /*! LC - Late Collision
35144  */
35145 #define ENET_EIR_LC(x)                           (((uint32_t)(((uint32_t)(x)) << ENET_EIR_LC_SHIFT)) & ENET_EIR_LC_MASK)
35146 
35147 #define ENET_EIR_EBERR_MASK                      (0x400000U)
35148 #define ENET_EIR_EBERR_SHIFT                     (22U)
35149 /*! EBERR - Ethernet Bus Error
35150  */
35151 #define ENET_EIR_EBERR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIR_EBERR_SHIFT)) & ENET_EIR_EBERR_MASK)
35152 
35153 #define ENET_EIR_MII_MASK                        (0x800000U)
35154 #define ENET_EIR_MII_SHIFT                       (23U)
35155 /*! MII - MII Interrupt.
35156  */
35157 #define ENET_EIR_MII(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_MII_SHIFT)) & ENET_EIR_MII_MASK)
35158 
35159 #define ENET_EIR_RXB_MASK                        (0x1000000U)
35160 #define ENET_EIR_RXB_SHIFT                       (24U)
35161 /*! RXB - Receive Buffer Interrupt
35162  */
35163 #define ENET_EIR_RXB(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXB_SHIFT)) & ENET_EIR_RXB_MASK)
35164 
35165 #define ENET_EIR_RXF_MASK                        (0x2000000U)
35166 #define ENET_EIR_RXF_SHIFT                       (25U)
35167 /*! RXF - Receive Frame Interrupt
35168  */
35169 #define ENET_EIR_RXF(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_RXF_SHIFT)) & ENET_EIR_RXF_MASK)
35170 
35171 #define ENET_EIR_TXB_MASK                        (0x4000000U)
35172 #define ENET_EIR_TXB_SHIFT                       (26U)
35173 /*! TXB - Transmit Buffer Interrupt
35174  */
35175 #define ENET_EIR_TXB(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXB_SHIFT)) & ENET_EIR_TXB_MASK)
35176 
35177 #define ENET_EIR_TXF_MASK                        (0x8000000U)
35178 #define ENET_EIR_TXF_SHIFT                       (27U)
35179 /*! TXF - Transmit Frame Interrupt
35180  */
35181 #define ENET_EIR_TXF(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_TXF_SHIFT)) & ENET_EIR_TXF_MASK)
35182 
35183 #define ENET_EIR_GRA_MASK                        (0x10000000U)
35184 #define ENET_EIR_GRA_SHIFT                       (28U)
35185 /*! GRA - Graceful Stop Complete
35186  */
35187 #define ENET_EIR_GRA(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIR_GRA_SHIFT)) & ENET_EIR_GRA_MASK)
35188 
35189 #define ENET_EIR_BABT_MASK                       (0x20000000U)
35190 #define ENET_EIR_BABT_SHIFT                      (29U)
35191 /*! BABT - Babbling Transmit Error
35192  */
35193 #define ENET_EIR_BABT(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_BABT_SHIFT)) & ENET_EIR_BABT_MASK)
35194 
35195 #define ENET_EIR_BABR_MASK                       (0x40000000U)
35196 #define ENET_EIR_BABR_SHIFT                      (30U)
35197 /*! BABR - Babbling Receive Error
35198  */
35199 #define ENET_EIR_BABR(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIR_BABR_SHIFT)) & ENET_EIR_BABR_MASK)
35200 /*! @} */
35201 
35202 /*! @name EIMR - Interrupt Mask Register */
35203 /*! @{ */
35204 
35205 #define ENET_EIMR_RXB1_MASK                      (0x1U)
35206 #define ENET_EIMR_RXB1_SHIFT                     (0U)
35207 /*! RXB1 - Receive buffer interrupt, class 1
35208  *  0b0..The corresponding interrupt source is masked.
35209  *  0b1..The corresponding interrupt source is not masked.
35210  */
35211 #define ENET_EIMR_RXB1(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXB1_SHIFT)) & ENET_EIMR_RXB1_MASK)
35212 
35213 #define ENET_EIMR_RXF1_MASK                      (0x2U)
35214 #define ENET_EIMR_RXF1_SHIFT                     (1U)
35215 /*! RXF1 - Receive frame interrupt, class 1
35216  *  0b0..The corresponding interrupt source is masked.
35217  *  0b1..The corresponding interrupt source is not masked.
35218  */
35219 #define ENET_EIMR_RXF1(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXF1_SHIFT)) & ENET_EIMR_RXF1_MASK)
35220 
35221 #define ENET_EIMR_TXB1_MASK                      (0x4U)
35222 #define ENET_EIMR_TXB1_SHIFT                     (2U)
35223 /*! TXB1 - Transmit buffer interrupt, class 1
35224  *  0b0..The corresponding interrupt source is masked.
35225  *  0b1..The corresponding interrupt source is not masked.
35226  */
35227 #define ENET_EIMR_TXB1(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXB1_SHIFT)) & ENET_EIMR_TXB1_MASK)
35228 
35229 #define ENET_EIMR_TXF1_MASK                      (0x8U)
35230 #define ENET_EIMR_TXF1_SHIFT                     (3U)
35231 /*! TXF1 - Transmit frame interrupt, class 1
35232  *  0b0..The corresponding interrupt source is masked.
35233  *  0b1..The corresponding interrupt source is not masked.
35234  */
35235 #define ENET_EIMR_TXF1(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXF1_SHIFT)) & ENET_EIMR_TXF1_MASK)
35236 
35237 #define ENET_EIMR_RXB2_MASK                      (0x10U)
35238 #define ENET_EIMR_RXB2_SHIFT                     (4U)
35239 /*! RXB2 - Receive buffer interrupt, class 2
35240  *  0b0..The corresponding interrupt source is masked.
35241  *  0b1..The corresponding interrupt source is not masked.
35242  */
35243 #define ENET_EIMR_RXB2(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXB2_SHIFT)) & ENET_EIMR_RXB2_MASK)
35244 
35245 #define ENET_EIMR_RXF2_MASK                      (0x20U)
35246 #define ENET_EIMR_RXF2_SHIFT                     (5U)
35247 /*! RXF2 - Receive frame interrupt, class 2
35248  *  0b0..The corresponding interrupt source is masked.
35249  *  0b1..The corresponding interrupt source is not masked.
35250  */
35251 #define ENET_EIMR_RXF2(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXF2_SHIFT)) & ENET_EIMR_RXF2_MASK)
35252 
35253 #define ENET_EIMR_TXB2_MASK                      (0x40U)
35254 #define ENET_EIMR_TXB2_SHIFT                     (6U)
35255 /*! TXB2 - Transmit buffer interrupt, class 2
35256  *  0b0..The corresponding interrupt source is masked.
35257  *  0b1..The corresponding interrupt source is not masked.
35258  */
35259 #define ENET_EIMR_TXB2(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXB2_SHIFT)) & ENET_EIMR_TXB2_MASK)
35260 
35261 #define ENET_EIMR_TXF2_MASK                      (0x80U)
35262 #define ENET_EIMR_TXF2_SHIFT                     (7U)
35263 /*! TXF2 - Transmit frame interrupt, class 2
35264  *  0b0..The corresponding interrupt source is masked.
35265  *  0b1..The corresponding interrupt source is not masked.
35266  */
35267 #define ENET_EIMR_TXF2(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXF2_SHIFT)) & ENET_EIMR_TXF2_MASK)
35268 
35269 #define ENET_EIMR_RXFLUSH_0_MASK                 (0x1000U)
35270 #define ENET_EIMR_RXFLUSH_0_SHIFT                (12U)
35271 /*! RXFLUSH_0
35272  *  0b0..The corresponding interrupt source is masked.
35273  *  0b1..The corresponding interrupt source is not masked.
35274  */
35275 #define ENET_EIMR_RXFLUSH_0(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXFLUSH_0_SHIFT)) & ENET_EIMR_RXFLUSH_0_MASK)
35276 
35277 #define ENET_EIMR_RXFLUSH_1_MASK                 (0x2000U)
35278 #define ENET_EIMR_RXFLUSH_1_SHIFT                (13U)
35279 /*! RXFLUSH_1
35280  *  0b0..The corresponding interrupt source is masked.
35281  *  0b1..The corresponding interrupt source is not masked.
35282  */
35283 #define ENET_EIMR_RXFLUSH_1(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXFLUSH_1_SHIFT)) & ENET_EIMR_RXFLUSH_1_MASK)
35284 
35285 #define ENET_EIMR_RXFLUSH_2_MASK                 (0x4000U)
35286 #define ENET_EIMR_RXFLUSH_2_SHIFT                (14U)
35287 /*! RXFLUSH_2
35288  *  0b0..The corresponding interrupt source is masked.
35289  *  0b1..The corresponding interrupt source is not masked.
35290  */
35291 #define ENET_EIMR_RXFLUSH_2(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXFLUSH_2_SHIFT)) & ENET_EIMR_RXFLUSH_2_MASK)
35292 
35293 #define ENET_EIMR_TS_TIMER_MASK                  (0x8000U)
35294 #define ENET_EIMR_TS_TIMER_SHIFT                 (15U)
35295 /*! TS_TIMER - TS_TIMER Interrupt Mask
35296  *  0b0..The corresponding interrupt source is masked.
35297  *  0b1..The corresponding interrupt source is not masked.
35298  */
35299 #define ENET_EIMR_TS_TIMER(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TS_TIMER_SHIFT)) & ENET_EIMR_TS_TIMER_MASK)
35300 
35301 #define ENET_EIMR_TS_AVAIL_MASK                  (0x10000U)
35302 #define ENET_EIMR_TS_AVAIL_SHIFT                 (16U)
35303 /*! TS_AVAIL - TS_AVAIL Interrupt Mask
35304  *  0b0..The corresponding interrupt source is masked.
35305  *  0b1..The corresponding interrupt source is not masked.
35306  */
35307 #define ENET_EIMR_TS_AVAIL(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TS_AVAIL_SHIFT)) & ENET_EIMR_TS_AVAIL_MASK)
35308 
35309 #define ENET_EIMR_WAKEUP_MASK                    (0x20000U)
35310 #define ENET_EIMR_WAKEUP_SHIFT                   (17U)
35311 /*! WAKEUP - WAKEUP Interrupt Mask
35312  *  0b0..The corresponding interrupt source is masked.
35313  *  0b1..The corresponding interrupt source is not masked.
35314  */
35315 #define ENET_EIMR_WAKEUP(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_WAKEUP_SHIFT)) & ENET_EIMR_WAKEUP_MASK)
35316 
35317 #define ENET_EIMR_PLR_MASK                       (0x40000U)
35318 #define ENET_EIMR_PLR_SHIFT                      (18U)
35319 /*! PLR - PLR Interrupt Mask
35320  *  0b0..The corresponding interrupt source is masked.
35321  *  0b1..The corresponding interrupt source is not masked.
35322  */
35323 #define ENET_EIMR_PLR(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_PLR_SHIFT)) & ENET_EIMR_PLR_MASK)
35324 
35325 #define ENET_EIMR_UN_MASK                        (0x80000U)
35326 #define ENET_EIMR_UN_SHIFT                       (19U)
35327 /*! UN - UN Interrupt Mask
35328  *  0b0..The corresponding interrupt source is masked.
35329  *  0b1..The corresponding interrupt source is not masked.
35330  */
35331 #define ENET_EIMR_UN(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_UN_SHIFT)) & ENET_EIMR_UN_MASK)
35332 
35333 #define ENET_EIMR_RL_MASK                        (0x100000U)
35334 #define ENET_EIMR_RL_SHIFT                       (20U)
35335 /*! RL - RL Interrupt Mask
35336  *  0b0..The corresponding interrupt source is masked.
35337  *  0b1..The corresponding interrupt source is not masked.
35338  */
35339 #define ENET_EIMR_RL(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RL_SHIFT)) & ENET_EIMR_RL_MASK)
35340 
35341 #define ENET_EIMR_LC_MASK                        (0x200000U)
35342 #define ENET_EIMR_LC_SHIFT                       (21U)
35343 /*! LC - LC Interrupt Mask
35344  *  0b0..The corresponding interrupt source is masked.
35345  *  0b1..The corresponding interrupt source is not masked.
35346  */
35347 #define ENET_EIMR_LC(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_LC_SHIFT)) & ENET_EIMR_LC_MASK)
35348 
35349 #define ENET_EIMR_EBERR_MASK                     (0x400000U)
35350 #define ENET_EIMR_EBERR_SHIFT                    (22U)
35351 /*! EBERR - EBERR Interrupt Mask
35352  *  0b0..The corresponding interrupt source is masked.
35353  *  0b1..The corresponding interrupt source is not masked.
35354  */
35355 #define ENET_EIMR_EBERR(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_EBERR_SHIFT)) & ENET_EIMR_EBERR_MASK)
35356 
35357 #define ENET_EIMR_MII_MASK                       (0x800000U)
35358 #define ENET_EIMR_MII_SHIFT                      (23U)
35359 /*! MII - MII Interrupt Mask
35360  *  0b0..The corresponding interrupt source is masked.
35361  *  0b1..The corresponding interrupt source is not masked.
35362  */
35363 #define ENET_EIMR_MII(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_MII_SHIFT)) & ENET_EIMR_MII_MASK)
35364 
35365 #define ENET_EIMR_RXB_MASK                       (0x1000000U)
35366 #define ENET_EIMR_RXB_SHIFT                      (24U)
35367 /*! RXB - RXB Interrupt Mask
35368  *  0b0..The corresponding interrupt source is masked.
35369  *  0b1..The corresponding interrupt source is not masked.
35370  */
35371 #define ENET_EIMR_RXB(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXB_SHIFT)) & ENET_EIMR_RXB_MASK)
35372 
35373 #define ENET_EIMR_RXF_MASK                       (0x2000000U)
35374 #define ENET_EIMR_RXF_SHIFT                      (25U)
35375 /*! RXF - RXF Interrupt Mask
35376  *  0b0..The corresponding interrupt source is masked.
35377  *  0b1..The corresponding interrupt source is not masked.
35378  */
35379 #define ENET_EIMR_RXF(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_RXF_SHIFT)) & ENET_EIMR_RXF_MASK)
35380 
35381 #define ENET_EIMR_TXB_MASK                       (0x4000000U)
35382 #define ENET_EIMR_TXB_SHIFT                      (26U)
35383 /*! TXB - TXB Interrupt Mask
35384  *  0b0..The corresponding interrupt source is masked.
35385  *  0b1..The corresponding interrupt source is not masked.
35386  */
35387 #define ENET_EIMR_TXB(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXB_SHIFT)) & ENET_EIMR_TXB_MASK)
35388 
35389 #define ENET_EIMR_TXF_MASK                       (0x8000000U)
35390 #define ENET_EIMR_TXF_SHIFT                      (27U)
35391 /*! TXF - TXF Interrupt Mask
35392  *  0b0..The corresponding interrupt source is masked.
35393  *  0b1..The corresponding interrupt source is not masked.
35394  */
35395 #define ENET_EIMR_TXF(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_TXF_SHIFT)) & ENET_EIMR_TXF_MASK)
35396 
35397 #define ENET_EIMR_GRA_MASK                       (0x10000000U)
35398 #define ENET_EIMR_GRA_SHIFT                      (28U)
35399 /*! GRA - GRA Interrupt Mask
35400  *  0b0..The corresponding interrupt source is masked.
35401  *  0b1..The corresponding interrupt source is not masked.
35402  */
35403 #define ENET_EIMR_GRA(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_GRA_SHIFT)) & ENET_EIMR_GRA_MASK)
35404 
35405 #define ENET_EIMR_BABT_MASK                      (0x20000000U)
35406 #define ENET_EIMR_BABT_SHIFT                     (29U)
35407 /*! BABT - BABT Interrupt Mask
35408  *  0b0..The corresponding interrupt source is masked.
35409  *  0b1..The corresponding interrupt source is not masked.
35410  */
35411 #define ENET_EIMR_BABT(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_BABT_SHIFT)) & ENET_EIMR_BABT_MASK)
35412 
35413 #define ENET_EIMR_BABR_MASK                      (0x40000000U)
35414 #define ENET_EIMR_BABR_SHIFT                     (30U)
35415 /*! BABR - BABR Interrupt Mask
35416  *  0b0..The corresponding interrupt source is masked.
35417  *  0b1..The corresponding interrupt source is not masked.
35418  */
35419 #define ENET_EIMR_BABR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_EIMR_BABR_SHIFT)) & ENET_EIMR_BABR_MASK)
35420 /*! @} */
35421 
35422 /*! @name RDAR - Receive Descriptor Active Register - Ring 0 */
35423 /*! @{ */
35424 
35425 #define ENET_RDAR_RDAR_MASK                      (0x1000000U)
35426 #define ENET_RDAR_RDAR_SHIFT                     (24U)
35427 /*! RDAR - Receive Descriptor Active
35428  */
35429 #define ENET_RDAR_RDAR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RDAR_RDAR_SHIFT)) & ENET_RDAR_RDAR_MASK)
35430 /*! @} */
35431 
35432 /*! @name TDAR - Transmit Descriptor Active Register - Ring 0 */
35433 /*! @{ */
35434 
35435 #define ENET_TDAR_TDAR_MASK                      (0x1000000U)
35436 #define ENET_TDAR_TDAR_SHIFT                     (24U)
35437 /*! TDAR - Transmit Descriptor Active
35438  */
35439 #define ENET_TDAR_TDAR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TDAR_TDAR_SHIFT)) & ENET_TDAR_TDAR_MASK)
35440 /*! @} */
35441 
35442 /*! @name ECR - Ethernet Control Register */
35443 /*! @{ */
35444 
35445 #define ENET_ECR_RESET_MASK                      (0x1U)
35446 #define ENET_ECR_RESET_SHIFT                     (0U)
35447 /*! RESET - Ethernet MAC Reset
35448  */
35449 #define ENET_ECR_RESET(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ECR_RESET_SHIFT)) & ENET_ECR_RESET_MASK)
35450 
35451 #define ENET_ECR_ETHEREN_MASK                    (0x2U)
35452 #define ENET_ECR_ETHEREN_SHIFT                   (1U)
35453 /*! ETHEREN - Ethernet Enable
35454  *  0b0..Reception immediately stops and transmission stops after a bad CRC is appended to any currently transmitted frame.
35455  *  0b1..MAC is enabled, and reception and transmission are possible.
35456  */
35457 #define ENET_ECR_ETHEREN(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ECR_ETHEREN_SHIFT)) & ENET_ECR_ETHEREN_MASK)
35458 
35459 #define ENET_ECR_MAGICEN_MASK                    (0x4U)
35460 #define ENET_ECR_MAGICEN_SHIFT                   (2U)
35461 /*! MAGICEN - Magic Packet Detection Enable
35462  *  0b0..Magic detection logic disabled.
35463  *  0b1..The MAC core detects magic packets and asserts EIR[WAKEUP] when a frame is detected.
35464  */
35465 #define ENET_ECR_MAGICEN(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ECR_MAGICEN_SHIFT)) & ENET_ECR_MAGICEN_MASK)
35466 
35467 #define ENET_ECR_SLEEP_MASK                      (0x8U)
35468 #define ENET_ECR_SLEEP_SHIFT                     (3U)
35469 /*! SLEEP - Sleep Mode Enable
35470  *  0b0..Normal operating mode.
35471  *  0b1..Sleep mode.
35472  */
35473 #define ENET_ECR_SLEEP(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ECR_SLEEP_SHIFT)) & ENET_ECR_SLEEP_MASK)
35474 
35475 #define ENET_ECR_EN1588_MASK                     (0x10U)
35476 #define ENET_ECR_EN1588_SHIFT                    (4U)
35477 /*! EN1588 - EN1588 Enable
35478  *  0b0..Legacy FEC buffer descriptors and functions enabled.
35479  *  0b1..Enhanced frame time-stamping functions enabled. Has no effect within the MAC besides controlling the DMA control bit ena_1588.
35480  */
35481 #define ENET_ECR_EN1588(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_ECR_EN1588_SHIFT)) & ENET_ECR_EN1588_MASK)
35482 
35483 #define ENET_ECR_SPEED_MASK                      (0x20U)
35484 #define ENET_ECR_SPEED_SHIFT                     (5U)
35485 /*! SPEED
35486  *  0b0..10/100-Mbit/s mode
35487  *  0b1..1000-Mbit/s mode
35488  */
35489 #define ENET_ECR_SPEED(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ECR_SPEED_SHIFT)) & ENET_ECR_SPEED_MASK)
35490 
35491 #define ENET_ECR_DBGEN_MASK                      (0x40U)
35492 #define ENET_ECR_DBGEN_SHIFT                     (6U)
35493 /*! DBGEN - Debug Enable
35494  *  0b0..MAC continues operation in debug mode.
35495  *  0b1..MAC enters hardware freeze mode when the processor is in debug mode.
35496  */
35497 #define ENET_ECR_DBGEN(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ECR_DBGEN_SHIFT)) & ENET_ECR_DBGEN_MASK)
35498 
35499 #define ENET_ECR_DBSWP_MASK                      (0x100U)
35500 #define ENET_ECR_DBSWP_SHIFT                     (8U)
35501 /*! DBSWP - Descriptor Byte Swapping Enable
35502  *  0b0..The buffer descriptor bytes are not swapped to support big-endian devices.
35503  *  0b1..The buffer descriptor bytes are swapped to support little-endian devices.
35504  */
35505 #define ENET_ECR_DBSWP(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ECR_DBSWP_SHIFT)) & ENET_ECR_DBSWP_MASK)
35506 
35507 #define ENET_ECR_SVLANEN_MASK                    (0x200U)
35508 #define ENET_ECR_SVLANEN_SHIFT                   (9U)
35509 /*! SVLANEN - S-VLAN enable
35510  *  0b0..Only the EtherType 0x8100 will be considered for VLAN detection.
35511  *  0b1..The EtherType 0x88a8 will be considered in addition to 0x8100 (C-VLAN) to identify a VLAN frame in
35512  *       receive. When a VLAN frame is identified, the two bytes following the VLAN type are extracted and used by the
35513  *       classification match comparators, RCMRn.
35514  */
35515 #define ENET_ECR_SVLANEN(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ECR_SVLANEN_SHIFT)) & ENET_ECR_SVLANEN_MASK)
35516 
35517 #define ENET_ECR_VLANUSE2ND_MASK                 (0x400U)
35518 #define ENET_ECR_VLANUSE2ND_SHIFT                (10U)
35519 /*! VLANUSE2ND - VLAN use second tag
35520  *  0b0..Always extract data from the first VLAN tag if it exists.
35521  *  0b1..When a double-tagged frame is detected, the data of the second tag is extracted for further processing. A
35522  *       double-tagged frame is defined as: The first tag can be a C-VLAN or a S-VLAN (if SVLAN_ENA = 1) The
35523  *       second tag must be a C-VLAN
35524  */
35525 #define ENET_ECR_VLANUSE2ND(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_ECR_VLANUSE2ND_SHIFT)) & ENET_ECR_VLANUSE2ND_MASK)
35526 
35527 #define ENET_ECR_SVLANDBL_MASK                   (0x800U)
35528 #define ENET_ECR_SVLANDBL_SHIFT                  (11U)
35529 /*! SVLANDBL - S-VLAN double tag
35530  *  0b0..Disable S-VLAN double tag
35531  *  0b1..Enable S-VLAN double tag
35532  */
35533 #define ENET_ECR_SVLANDBL(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_ECR_SVLANDBL_SHIFT)) & ENET_ECR_SVLANDBL_MASK)
35534 
35535 #define ENET_ECR_TXC_DLY_MASK                    (0x10000U)
35536 #define ENET_ECR_TXC_DLY_SHIFT                   (16U)
35537 /*! TXC_DLY - Transmit clock delay
35538  *  0b0..RGMII_TXC is not delayed.
35539  *  0b1..Generate delayed version of RGMII_TXC.
35540  */
35541 #define ENET_ECR_TXC_DLY(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ECR_TXC_DLY_SHIFT)) & ENET_ECR_TXC_DLY_MASK)
35542 /*! @} */
35543 
35544 /*! @name MMFR - MII Management Frame Register */
35545 /*! @{ */
35546 
35547 #define ENET_MMFR_DATA_MASK                      (0xFFFFU)
35548 #define ENET_MMFR_DATA_SHIFT                     (0U)
35549 /*! DATA - Management Frame Data
35550  */
35551 #define ENET_MMFR_DATA(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_DATA_SHIFT)) & ENET_MMFR_DATA_MASK)
35552 
35553 #define ENET_MMFR_TA_MASK                        (0x30000U)
35554 #define ENET_MMFR_TA_SHIFT                       (16U)
35555 /*! TA - Turn Around
35556  */
35557 #define ENET_MMFR_TA(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_TA_SHIFT)) & ENET_MMFR_TA_MASK)
35558 
35559 #define ENET_MMFR_RA_MASK                        (0x7C0000U)
35560 #define ENET_MMFR_RA_SHIFT                       (18U)
35561 /*! RA - Register Address
35562  */
35563 #define ENET_MMFR_RA(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_RA_SHIFT)) & ENET_MMFR_RA_MASK)
35564 
35565 #define ENET_MMFR_PA_MASK                        (0xF800000U)
35566 #define ENET_MMFR_PA_SHIFT                       (23U)
35567 /*! PA - PHY Address
35568  */
35569 #define ENET_MMFR_PA(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_PA_SHIFT)) & ENET_MMFR_PA_MASK)
35570 
35571 #define ENET_MMFR_OP_MASK                        (0x30000000U)
35572 #define ENET_MMFR_OP_SHIFT                       (28U)
35573 /*! OP - Operation Code
35574  */
35575 #define ENET_MMFR_OP(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_OP_SHIFT)) & ENET_MMFR_OP_MASK)
35576 
35577 #define ENET_MMFR_ST_MASK                        (0xC0000000U)
35578 #define ENET_MMFR_ST_SHIFT                       (30U)
35579 /*! ST - Start Of Frame Delimiter
35580  */
35581 #define ENET_MMFR_ST(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_MMFR_ST_SHIFT)) & ENET_MMFR_ST_MASK)
35582 /*! @} */
35583 
35584 /*! @name MSCR - MII Speed Control Register */
35585 /*! @{ */
35586 
35587 #define ENET_MSCR_MII_SPEED_MASK                 (0x7EU)
35588 #define ENET_MSCR_MII_SPEED_SHIFT                (1U)
35589 /*! MII_SPEED - MII Speed
35590  */
35591 #define ENET_MSCR_MII_SPEED(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_MSCR_MII_SPEED_SHIFT)) & ENET_MSCR_MII_SPEED_MASK)
35592 
35593 #define ENET_MSCR_DIS_PRE_MASK                   (0x80U)
35594 #define ENET_MSCR_DIS_PRE_SHIFT                  (7U)
35595 /*! DIS_PRE - Disable Preamble
35596  *  0b0..Preamble enabled.
35597  *  0b1..Preamble (32 ones) is not prepended to the MII management frame.
35598  */
35599 #define ENET_MSCR_DIS_PRE(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_MSCR_DIS_PRE_SHIFT)) & ENET_MSCR_DIS_PRE_MASK)
35600 
35601 #define ENET_MSCR_HOLDTIME_MASK                  (0x700U)
35602 #define ENET_MSCR_HOLDTIME_SHIFT                 (8U)
35603 /*! HOLDTIME - Hold time On MDIO Output
35604  *  0b000..1 internal module clock cycle
35605  *  0b001..2 internal module clock cycles
35606  *  0b010..3 internal module clock cycles
35607  *  0b111..8 internal module clock cycles
35608  */
35609 #define ENET_MSCR_HOLDTIME(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_MSCR_HOLDTIME_SHIFT)) & ENET_MSCR_HOLDTIME_MASK)
35610 /*! @} */
35611 
35612 /*! @name MIBC - MIB Control Register */
35613 /*! @{ */
35614 
35615 #define ENET_MIBC_MIB_CLEAR_MASK                 (0x20000000U)
35616 #define ENET_MIBC_MIB_CLEAR_SHIFT                (29U)
35617 /*! MIB_CLEAR - MIB Clear
35618  *  0b0..See note above.
35619  *  0b1..All statistics counters are reset to 0.
35620  */
35621 #define ENET_MIBC_MIB_CLEAR(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_MIBC_MIB_CLEAR_SHIFT)) & ENET_MIBC_MIB_CLEAR_MASK)
35622 
35623 #define ENET_MIBC_MIB_IDLE_MASK                  (0x40000000U)
35624 #define ENET_MIBC_MIB_IDLE_SHIFT                 (30U)
35625 /*! MIB_IDLE - MIB Idle
35626  *  0b0..The MIB block is updating MIB counters.
35627  *  0b1..The MIB block is not currently updating any MIB counters.
35628  */
35629 #define ENET_MIBC_MIB_IDLE(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_MIBC_MIB_IDLE_SHIFT)) & ENET_MIBC_MIB_IDLE_MASK)
35630 
35631 #define ENET_MIBC_MIB_DIS_MASK                   (0x80000000U)
35632 #define ENET_MIBC_MIB_DIS_SHIFT                  (31U)
35633 /*! MIB_DIS - Disable MIB Logic
35634  *  0b0..MIB logic is enabled.
35635  *  0b1..MIB logic is disabled. The MIB logic halts and does not update any MIB counters.
35636  */
35637 #define ENET_MIBC_MIB_DIS(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_MIBC_MIB_DIS_SHIFT)) & ENET_MIBC_MIB_DIS_MASK)
35638 /*! @} */
35639 
35640 /*! @name RCR - Receive Control Register */
35641 /*! @{ */
35642 
35643 #define ENET_RCR_LOOP_MASK                       (0x1U)
35644 #define ENET_RCR_LOOP_SHIFT                      (0U)
35645 /*! LOOP - Internal Loopback
35646  *  0b0..Loopback disabled.
35647  *  0b1..Transmitted frames are looped back internal to the device and transmit MII output signals are not asserted. DRT must be cleared.
35648  */
35649 #define ENET_RCR_LOOP(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_RCR_LOOP_SHIFT)) & ENET_RCR_LOOP_MASK)
35650 
35651 #define ENET_RCR_DRT_MASK                        (0x2U)
35652 #define ENET_RCR_DRT_SHIFT                       (1U)
35653 /*! DRT - Disable Receive On Transmit
35654  *  0b0..Receive path operates independently of transmit (i.e., full-duplex mode). Can also be used to monitor transmit activity in half-duplex mode.
35655  *  0b1..Disable reception of frames while transmitting. (Normally used for half-duplex mode.)
35656  */
35657 #define ENET_RCR_DRT(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_RCR_DRT_SHIFT)) & ENET_RCR_DRT_MASK)
35658 
35659 #define ENET_RCR_MII_MODE_MASK                   (0x4U)
35660 #define ENET_RCR_MII_MODE_SHIFT                  (2U)
35661 /*! MII_MODE - Media Independent Interface Mode
35662  *  0b0..Reserved.
35663  *  0b1..MII or RMII mode, as indicated by the RMII_MODE field.
35664  */
35665 #define ENET_RCR_MII_MODE(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RCR_MII_MODE_SHIFT)) & ENET_RCR_MII_MODE_MASK)
35666 
35667 #define ENET_RCR_PROM_MASK                       (0x8U)
35668 #define ENET_RCR_PROM_SHIFT                      (3U)
35669 /*! PROM - Promiscuous Mode
35670  *  0b0..Disabled.
35671  *  0b1..Enabled.
35672  */
35673 #define ENET_RCR_PROM(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_RCR_PROM_SHIFT)) & ENET_RCR_PROM_MASK)
35674 
35675 #define ENET_RCR_BC_REJ_MASK                     (0x10U)
35676 #define ENET_RCR_BC_REJ_SHIFT                    (4U)
35677 /*! BC_REJ - Broadcast Frame Reject
35678  *  0b0..Will not reject frames as described above
35679  *  0b1..Will reject frames as described above
35680  */
35681 #define ENET_RCR_BC_REJ(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RCR_BC_REJ_SHIFT)) & ENET_RCR_BC_REJ_MASK)
35682 
35683 #define ENET_RCR_FCE_MASK                        (0x20U)
35684 #define ENET_RCR_FCE_SHIFT                       (5U)
35685 /*! FCE - Flow Control Enable
35686  *  0b0..Disable flow control
35687  *  0b1..Enable flow control
35688  */
35689 #define ENET_RCR_FCE(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_RCR_FCE_SHIFT)) & ENET_RCR_FCE_MASK)
35690 
35691 #define ENET_RCR_RGMII_EN_MASK                   (0x40U)
35692 #define ENET_RCR_RGMII_EN_SHIFT                  (6U)
35693 /*! RGMII_EN - RGMII Mode Enable
35694  *  0b0..MAC configured for non-RGMII operation
35695  *  0b1..MAC configured for RGMII operation. If ECR[SPEED] is set, the MAC is in RGMII 1000-Mbit/s mode. If
35696  *       ECR[SPEED] is cleared, the MAC is in RGMII 10/100-Mbit/s mode.
35697  */
35698 #define ENET_RCR_RGMII_EN(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RCR_RGMII_EN_SHIFT)) & ENET_RCR_RGMII_EN_MASK)
35699 
35700 #define ENET_RCR_RMII_MODE_MASK                  (0x100U)
35701 #define ENET_RCR_RMII_MODE_SHIFT                 (8U)
35702 /*! RMII_MODE - RMII Mode Enable
35703  *  0b0..MAC configured for MII mode.
35704  *  0b1..MAC configured for RMII operation.
35705  */
35706 #define ENET_RCR_RMII_MODE(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_RCR_RMII_MODE_SHIFT)) & ENET_RCR_RMII_MODE_MASK)
35707 
35708 #define ENET_RCR_RMII_10T_MASK                   (0x200U)
35709 #define ENET_RCR_RMII_10T_SHIFT                  (9U)
35710 /*! RMII_10T
35711  *  0b0..100-Mbit/s or 1-Gbit/s operation.
35712  *  0b1..10-Mbit/s operation.
35713  */
35714 #define ENET_RCR_RMII_10T(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RCR_RMII_10T_SHIFT)) & ENET_RCR_RMII_10T_MASK)
35715 
35716 #define ENET_RCR_PADEN_MASK                      (0x1000U)
35717 #define ENET_RCR_PADEN_SHIFT                     (12U)
35718 /*! PADEN - Enable Frame Padding Remove On Receive
35719  *  0b0..No padding is removed on receive by the MAC.
35720  *  0b1..Padding is removed from received frames.
35721  */
35722 #define ENET_RCR_PADEN(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RCR_PADEN_SHIFT)) & ENET_RCR_PADEN_MASK)
35723 
35724 #define ENET_RCR_PAUFWD_MASK                     (0x2000U)
35725 #define ENET_RCR_PAUFWD_SHIFT                    (13U)
35726 /*! PAUFWD - Terminate/Forward Pause Frames
35727  *  0b0..Pause frames are terminated and discarded in the MAC.
35728  *  0b1..Pause frames are forwarded to the user application.
35729  */
35730 #define ENET_RCR_PAUFWD(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RCR_PAUFWD_SHIFT)) & ENET_RCR_PAUFWD_MASK)
35731 
35732 #define ENET_RCR_CRCFWD_MASK                     (0x4000U)
35733 #define ENET_RCR_CRCFWD_SHIFT                    (14U)
35734 /*! CRCFWD - Terminate/Forward Received CRC
35735  *  0b0..The CRC field of received frames is transmitted to the user application.
35736  *  0b1..The CRC field is stripped from the frame.
35737  */
35738 #define ENET_RCR_CRCFWD(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RCR_CRCFWD_SHIFT)) & ENET_RCR_CRCFWD_MASK)
35739 
35740 #define ENET_RCR_CFEN_MASK                       (0x8000U)
35741 #define ENET_RCR_CFEN_SHIFT                      (15U)
35742 /*! CFEN - MAC Control Frame Enable
35743  *  0b0..MAC control frames with any opcode other than 0x0001 (pause frame) are accepted and forwarded to the client interface.
35744  *  0b1..MAC control frames with any opcode other than 0x0001 (pause frame) are silently discarded.
35745  */
35746 #define ENET_RCR_CFEN(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_RCR_CFEN_SHIFT)) & ENET_RCR_CFEN_MASK)
35747 
35748 #define ENET_RCR_MAX_FL_MASK                     (0x3FFF0000U)
35749 #define ENET_RCR_MAX_FL_SHIFT                    (16U)
35750 /*! MAX_FL - Maximum Frame Length
35751  */
35752 #define ENET_RCR_MAX_FL(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RCR_MAX_FL_SHIFT)) & ENET_RCR_MAX_FL_MASK)
35753 
35754 #define ENET_RCR_NLC_MASK                        (0x40000000U)
35755 #define ENET_RCR_NLC_SHIFT                       (30U)
35756 /*! NLC - Payload Length Check Disable
35757  *  0b0..The payload length check is disabled.
35758  *  0b1..The core checks the frame's payload length with the frame length/type field. Errors are indicated in the EIR[PLR] field.
35759  */
35760 #define ENET_RCR_NLC(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_RCR_NLC_SHIFT)) & ENET_RCR_NLC_MASK)
35761 
35762 #define ENET_RCR_GRS_MASK                        (0x80000000U)
35763 #define ENET_RCR_GRS_SHIFT                       (31U)
35764 /*! GRS - Graceful Receive Stopped
35765  *  0b0..Receive not stopped
35766  *  0b1..Receive stopped
35767  */
35768 #define ENET_RCR_GRS(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_RCR_GRS_SHIFT)) & ENET_RCR_GRS_MASK)
35769 /*! @} */
35770 
35771 /*! @name TCR - Transmit Control Register */
35772 /*! @{ */
35773 
35774 #define ENET_TCR_GTS_MASK                        (0x1U)
35775 #define ENET_TCR_GTS_SHIFT                       (0U)
35776 /*! GTS - Graceful Transmit Stop
35777  *  0b0..Disable graceful transmit stop
35778  *  0b1..Enable graceful transmit stop
35779  */
35780 #define ENET_TCR_GTS(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_TCR_GTS_SHIFT)) & ENET_TCR_GTS_MASK)
35781 
35782 #define ENET_TCR_FDEN_MASK                       (0x4U)
35783 #define ENET_TCR_FDEN_SHIFT                      (2U)
35784 /*! FDEN - Full-Duplex Enable
35785  *  0b0..Disable full-duplex
35786  *  0b1..Enable full-duplex
35787  */
35788 #define ENET_TCR_FDEN(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TCR_FDEN_SHIFT)) & ENET_TCR_FDEN_MASK)
35789 
35790 #define ENET_TCR_TFC_PAUSE_MASK                  (0x8U)
35791 #define ENET_TCR_TFC_PAUSE_SHIFT                 (3U)
35792 /*! TFC_PAUSE - Transmit Frame Control Pause
35793  *  0b0..No PAUSE frame transmitted.
35794  *  0b1..The MAC stops transmission of data frames after the current transmission is complete.
35795  */
35796 #define ENET_TCR_TFC_PAUSE(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_TCR_TFC_PAUSE_SHIFT)) & ENET_TCR_TFC_PAUSE_MASK)
35797 
35798 #define ENET_TCR_RFC_PAUSE_MASK                  (0x10U)
35799 #define ENET_TCR_RFC_PAUSE_SHIFT                 (4U)
35800 /*! RFC_PAUSE - Receive Frame Control Pause
35801  */
35802 #define ENET_TCR_RFC_PAUSE(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_TCR_RFC_PAUSE_SHIFT)) & ENET_TCR_RFC_PAUSE_MASK)
35803 
35804 #define ENET_TCR_ADDSEL_MASK                     (0xE0U)
35805 #define ENET_TCR_ADDSEL_SHIFT                    (5U)
35806 /*! ADDSEL - Source MAC Address Select On Transmit
35807  *  0b000..Node MAC address programmed on PADDR1/2 registers.
35808  *  0b100..Reserved.
35809  *  0b101..Reserved.
35810  *  0b110..Reserved.
35811  */
35812 #define ENET_TCR_ADDSEL(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TCR_ADDSEL_SHIFT)) & ENET_TCR_ADDSEL_MASK)
35813 
35814 #define ENET_TCR_ADDINS_MASK                     (0x100U)
35815 #define ENET_TCR_ADDINS_SHIFT                    (8U)
35816 /*! ADDINS - Set MAC Address On Transmit
35817  *  0b0..The source MAC address is not modified by the MAC.
35818  *  0b1..The MAC overwrites the source MAC address with the programmed MAC address according to ADDSEL.
35819  */
35820 #define ENET_TCR_ADDINS(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TCR_ADDINS_SHIFT)) & ENET_TCR_ADDINS_MASK)
35821 
35822 #define ENET_TCR_CRCFWD_MASK                     (0x200U)
35823 #define ENET_TCR_CRCFWD_SHIFT                    (9U)
35824 /*! CRCFWD - Forward Frame From Application With CRC
35825  *  0b0..TxBD[TC] controls whether the frame has a CRC from the application.
35826  *  0b1..The transmitter does not append any CRC to transmitted frames, as it is expecting a frame with CRC from the application.
35827  */
35828 #define ENET_TCR_CRCFWD(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TCR_CRCFWD_SHIFT)) & ENET_TCR_CRCFWD_MASK)
35829 /*! @} */
35830 
35831 /*! @name PALR - Physical Address Lower Register */
35832 /*! @{ */
35833 
35834 #define ENET_PALR_PADDR1_MASK                    (0xFFFFFFFFU)
35835 #define ENET_PALR_PADDR1_SHIFT                   (0U)
35836 /*! PADDR1 - Pause Address
35837  */
35838 #define ENET_PALR_PADDR1(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_PALR_PADDR1_SHIFT)) & ENET_PALR_PADDR1_MASK)
35839 /*! @} */
35840 
35841 /*! @name PAUR - Physical Address Upper Register */
35842 /*! @{ */
35843 
35844 #define ENET_PAUR_TYPE_MASK                      (0xFFFFU)
35845 #define ENET_PAUR_TYPE_SHIFT                     (0U)
35846 /*! TYPE - Type Field In PAUSE Frames
35847  */
35848 #define ENET_PAUR_TYPE(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_PAUR_TYPE_SHIFT)) & ENET_PAUR_TYPE_MASK)
35849 
35850 #define ENET_PAUR_PADDR2_MASK                    (0xFFFF0000U)
35851 #define ENET_PAUR_PADDR2_SHIFT                   (16U)
35852 #define ENET_PAUR_PADDR2(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_PAUR_PADDR2_SHIFT)) & ENET_PAUR_PADDR2_MASK)
35853 /*! @} */
35854 
35855 /*! @name OPD - Opcode/Pause Duration Register */
35856 /*! @{ */
35857 
35858 #define ENET_OPD_PAUSE_DUR_MASK                  (0xFFFFU)
35859 #define ENET_OPD_PAUSE_DUR_SHIFT                 (0U)
35860 /*! PAUSE_DUR - Pause Duration
35861  */
35862 #define ENET_OPD_PAUSE_DUR(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_OPD_PAUSE_DUR_SHIFT)) & ENET_OPD_PAUSE_DUR_MASK)
35863 
35864 #define ENET_OPD_OPCODE_MASK                     (0xFFFF0000U)
35865 #define ENET_OPD_OPCODE_SHIFT                    (16U)
35866 /*! OPCODE - Opcode Field In PAUSE Frames
35867  */
35868 #define ENET_OPD_OPCODE(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_OPD_OPCODE_SHIFT)) & ENET_OPD_OPCODE_MASK)
35869 /*! @} */
35870 
35871 /*! @name TXIC - Transmit Interrupt Coalescing Register */
35872 /*! @{ */
35873 
35874 #define ENET_TXIC_ICTT_MASK                      (0xFFFFU)
35875 #define ENET_TXIC_ICTT_SHIFT                     (0U)
35876 /*! ICTT - Interrupt coalescing timer threshold
35877  */
35878 #define ENET_TXIC_ICTT(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TXIC_ICTT_SHIFT)) & ENET_TXIC_ICTT_MASK)
35879 
35880 #define ENET_TXIC_ICFT_MASK                      (0xFF00000U)
35881 #define ENET_TXIC_ICFT_SHIFT                     (20U)
35882 /*! ICFT - Interrupt coalescing frame count threshold
35883  */
35884 #define ENET_TXIC_ICFT(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TXIC_ICFT_SHIFT)) & ENET_TXIC_ICFT_MASK)
35885 
35886 #define ENET_TXIC_ICCS_MASK                      (0x40000000U)
35887 #define ENET_TXIC_ICCS_SHIFT                     (30U)
35888 /*! ICCS - Interrupt Coalescing Timer Clock Source Select
35889  *  0b0..Use MII/GMII TX clocks.
35890  *  0b1..Use ENET system clock.
35891  */
35892 #define ENET_TXIC_ICCS(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TXIC_ICCS_SHIFT)) & ENET_TXIC_ICCS_MASK)
35893 
35894 #define ENET_TXIC_ICEN_MASK                      (0x80000000U)
35895 #define ENET_TXIC_ICEN_SHIFT                     (31U)
35896 /*! ICEN - Interrupt Coalescing Enable
35897  *  0b0..Disable Interrupt coalescing.
35898  *  0b1..Enable Interrupt coalescing.
35899  */
35900 #define ENET_TXIC_ICEN(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TXIC_ICEN_SHIFT)) & ENET_TXIC_ICEN_MASK)
35901 /*! @} */
35902 
35903 /* The count of ENET_TXIC */
35904 #define ENET_TXIC_COUNT                          (3U)
35905 
35906 /*! @name RXIC - Receive Interrupt Coalescing Register */
35907 /*! @{ */
35908 
35909 #define ENET_RXIC_ICTT_MASK                      (0xFFFFU)
35910 #define ENET_RXIC_ICTT_SHIFT                     (0U)
35911 /*! ICTT - Interrupt coalescing timer threshold
35912  */
35913 #define ENET_RXIC_ICTT(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RXIC_ICTT_SHIFT)) & ENET_RXIC_ICTT_MASK)
35914 
35915 #define ENET_RXIC_ICFT_MASK                      (0xFF00000U)
35916 #define ENET_RXIC_ICFT_SHIFT                     (20U)
35917 /*! ICFT - Interrupt coalescing frame count threshold
35918  */
35919 #define ENET_RXIC_ICFT(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RXIC_ICFT_SHIFT)) & ENET_RXIC_ICFT_MASK)
35920 
35921 #define ENET_RXIC_ICCS_MASK                      (0x40000000U)
35922 #define ENET_RXIC_ICCS_SHIFT                     (30U)
35923 /*! ICCS - Interrupt Coalescing Timer Clock Source Select
35924  *  0b0..Use MII/GMII TX clocks.
35925  *  0b1..Use ENET system clock.
35926  */
35927 #define ENET_RXIC_ICCS(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RXIC_ICCS_SHIFT)) & ENET_RXIC_ICCS_MASK)
35928 
35929 #define ENET_RXIC_ICEN_MASK                      (0x80000000U)
35930 #define ENET_RXIC_ICEN_SHIFT                     (31U)
35931 /*! ICEN - Interrupt Coalescing Enable
35932  *  0b0..Disable Interrupt coalescing.
35933  *  0b1..Enable Interrupt coalescing.
35934  */
35935 #define ENET_RXIC_ICEN(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RXIC_ICEN_SHIFT)) & ENET_RXIC_ICEN_MASK)
35936 /*! @} */
35937 
35938 /* The count of ENET_RXIC */
35939 #define ENET_RXIC_COUNT                          (3U)
35940 
35941 /*! @name IAUR - Descriptor Individual Upper Address Register */
35942 /*! @{ */
35943 
35944 #define ENET_IAUR_IADDR1_MASK                    (0xFFFFFFFFU)
35945 #define ENET_IAUR_IADDR1_SHIFT                   (0U)
35946 #define ENET_IAUR_IADDR1(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_IAUR_IADDR1_SHIFT)) & ENET_IAUR_IADDR1_MASK)
35947 /*! @} */
35948 
35949 /*! @name IALR - Descriptor Individual Lower Address Register */
35950 /*! @{ */
35951 
35952 #define ENET_IALR_IADDR2_MASK                    (0xFFFFFFFFU)
35953 #define ENET_IALR_IADDR2_SHIFT                   (0U)
35954 #define ENET_IALR_IADDR2(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_IALR_IADDR2_SHIFT)) & ENET_IALR_IADDR2_MASK)
35955 /*! @} */
35956 
35957 /*! @name GAUR - Descriptor Group Upper Address Register */
35958 /*! @{ */
35959 
35960 #define ENET_GAUR_GADDR1_MASK                    (0xFFFFFFFFU)
35961 #define ENET_GAUR_GADDR1_SHIFT                   (0U)
35962 #define ENET_GAUR_GADDR1(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_GAUR_GADDR1_SHIFT)) & ENET_GAUR_GADDR1_MASK)
35963 /*! @} */
35964 
35965 /*! @name GALR - Descriptor Group Lower Address Register */
35966 /*! @{ */
35967 
35968 #define ENET_GALR_GADDR2_MASK                    (0xFFFFFFFFU)
35969 #define ENET_GALR_GADDR2_SHIFT                   (0U)
35970 #define ENET_GALR_GADDR2(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_GALR_GADDR2_SHIFT)) & ENET_GALR_GADDR2_MASK)
35971 /*! @} */
35972 
35973 /*! @name TFWR - Transmit FIFO Watermark Register */
35974 /*! @{ */
35975 
35976 #define ENET_TFWR_TFWR_MASK                      (0x3FU)
35977 #define ENET_TFWR_TFWR_SHIFT                     (0U)
35978 /*! TFWR - Transmit FIFO Write
35979  *  0b000000..64 bytes written.
35980  *  0b000001..64 bytes written.
35981  *  0b000010..128 bytes written.
35982  *  0b000011..192 bytes written.
35983  *  0b111111..4032 bytes written.
35984  */
35985 #define ENET_TFWR_TFWR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TFWR_TFWR_SHIFT)) & ENET_TFWR_TFWR_MASK)
35986 
35987 #define ENET_TFWR_STRFWD_MASK                    (0x100U)
35988 #define ENET_TFWR_STRFWD_SHIFT                   (8U)
35989 /*! STRFWD - Store And Forward Enable
35990  *  0b0..Reset. The transmission start threshold is programmed in TFWR[TFWR].
35991  *  0b1..Enabled.
35992  */
35993 #define ENET_TFWR_STRFWD(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_TFWR_STRFWD_SHIFT)) & ENET_TFWR_STRFWD_MASK)
35994 /*! @} */
35995 
35996 /*! @name RDSR1 - Receive Descriptor Ring 1 Start Register */
35997 /*! @{ */
35998 
35999 #define ENET_RDSR1_R_DES_START_MASK              (0xFFFFFFF8U)
36000 #define ENET_RDSR1_R_DES_START_SHIFT             (3U)
36001 #define ENET_RDSR1_R_DES_START(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RDSR1_R_DES_START_SHIFT)) & ENET_RDSR1_R_DES_START_MASK)
36002 /*! @} */
36003 
36004 /*! @name TDSR1 - Transmit Buffer Descriptor Ring 1 Start Register */
36005 /*! @{ */
36006 
36007 #define ENET_TDSR1_X_DES_START_MASK              (0xFFFFFFF8U)
36008 #define ENET_TDSR1_X_DES_START_SHIFT             (3U)
36009 #define ENET_TDSR1_X_DES_START(x)                (((uint32_t)(((uint32_t)(x)) << ENET_TDSR1_X_DES_START_SHIFT)) & ENET_TDSR1_X_DES_START_MASK)
36010 /*! @} */
36011 
36012 /*! @name MRBR1 - Maximum Receive Buffer Size Register - Ring 1 */
36013 /*! @{ */
36014 
36015 #define ENET_MRBR1_R_BUF_SIZE_MASK               (0x7F0U)
36016 #define ENET_MRBR1_R_BUF_SIZE_SHIFT              (4U)
36017 #define ENET_MRBR1_R_BUF_SIZE(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_MRBR1_R_BUF_SIZE_SHIFT)) & ENET_MRBR1_R_BUF_SIZE_MASK)
36018 /*! @} */
36019 
36020 /*! @name RDSR2 - Receive Descriptor Ring 2 Start Register */
36021 /*! @{ */
36022 
36023 #define ENET_RDSR2_R_DES_START_MASK              (0xFFFFFFF8U)
36024 #define ENET_RDSR2_R_DES_START_SHIFT             (3U)
36025 #define ENET_RDSR2_R_DES_START(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RDSR2_R_DES_START_SHIFT)) & ENET_RDSR2_R_DES_START_MASK)
36026 /*! @} */
36027 
36028 /*! @name TDSR2 - Transmit Buffer Descriptor Ring 2 Start Register */
36029 /*! @{ */
36030 
36031 #define ENET_TDSR2_X_DES_START_MASK              (0xFFFFFFF8U)
36032 #define ENET_TDSR2_X_DES_START_SHIFT             (3U)
36033 #define ENET_TDSR2_X_DES_START(x)                (((uint32_t)(((uint32_t)(x)) << ENET_TDSR2_X_DES_START_SHIFT)) & ENET_TDSR2_X_DES_START_MASK)
36034 /*! @} */
36035 
36036 /*! @name MRBR2 - Maximum Receive Buffer Size Register - Ring 2 */
36037 /*! @{ */
36038 
36039 #define ENET_MRBR2_R_BUF_SIZE_MASK               (0x7F0U)
36040 #define ENET_MRBR2_R_BUF_SIZE_SHIFT              (4U)
36041 #define ENET_MRBR2_R_BUF_SIZE(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_MRBR2_R_BUF_SIZE_SHIFT)) & ENET_MRBR2_R_BUF_SIZE_MASK)
36042 /*! @} */
36043 
36044 /*! @name RDSR - Receive Descriptor Ring 0 Start Register */
36045 /*! @{ */
36046 
36047 #define ENET_RDSR_R_DES_START_MASK               (0xFFFFFFF8U)
36048 #define ENET_RDSR_R_DES_START_SHIFT              (3U)
36049 #define ENET_RDSR_R_DES_START(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_RDSR_R_DES_START_SHIFT)) & ENET_RDSR_R_DES_START_MASK)
36050 /*! @} */
36051 
36052 /*! @name TDSR - Transmit Buffer Descriptor Ring 0 Start Register */
36053 /*! @{ */
36054 
36055 #define ENET_TDSR_X_DES_START_MASK               (0xFFFFFFF8U)
36056 #define ENET_TDSR_X_DES_START_SHIFT              (3U)
36057 #define ENET_TDSR_X_DES_START(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_TDSR_X_DES_START_SHIFT)) & ENET_TDSR_X_DES_START_MASK)
36058 /*! @} */
36059 
36060 /*! @name MRBR - Maximum Receive Buffer Size Register - Ring 0 */
36061 /*! @{ */
36062 
36063 #define ENET_MRBR_R_BUF_SIZE_MASK                (0x3FF0U)  /* Merged from fields with different position or width, of widths (7, 10), largest definition used */
36064 #define ENET_MRBR_R_BUF_SIZE_SHIFT               (4U)
36065 #define ENET_MRBR_R_BUF_SIZE(x)                  (((uint32_t)(((uint32_t)(x)) << ENET_MRBR_R_BUF_SIZE_SHIFT)) & ENET_MRBR_R_BUF_SIZE_MASK)  /* Merged from fields with different position or width, of widths (7, 10), largest definition used */
36066 /*! @} */
36067 
36068 /*! @name RSFL - Receive FIFO Section Full Threshold */
36069 /*! @{ */
36070 
36071 #define ENET_RSFL_RX_SECTION_FULL_MASK           (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36072 #define ENET_RSFL_RX_SECTION_FULL_SHIFT          (0U)
36073 /*! RX_SECTION_FULL - Value Of Receive FIFO Section Full Threshold
36074  */
36075 #define ENET_RSFL_RX_SECTION_FULL(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RSFL_RX_SECTION_FULL_SHIFT)) & ENET_RSFL_RX_SECTION_FULL_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36076 /*! @} */
36077 
36078 /*! @name RSEM - Receive FIFO Section Empty Threshold */
36079 /*! @{ */
36080 
36081 #define ENET_RSEM_RX_SECTION_EMPTY_MASK          (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36082 #define ENET_RSEM_RX_SECTION_EMPTY_SHIFT         (0U)
36083 /*! RX_SECTION_EMPTY - Value Of The Receive FIFO Section Empty Threshold
36084  */
36085 #define ENET_RSEM_RX_SECTION_EMPTY(x)            (((uint32_t)(((uint32_t)(x)) << ENET_RSEM_RX_SECTION_EMPTY_SHIFT)) & ENET_RSEM_RX_SECTION_EMPTY_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36086 
36087 #define ENET_RSEM_STAT_SECTION_EMPTY_MASK        (0x1F0000U)
36088 #define ENET_RSEM_STAT_SECTION_EMPTY_SHIFT       (16U)
36089 /*! STAT_SECTION_EMPTY - RX Status FIFO Section Empty Threshold
36090  */
36091 #define ENET_RSEM_STAT_SECTION_EMPTY(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RSEM_STAT_SECTION_EMPTY_SHIFT)) & ENET_RSEM_STAT_SECTION_EMPTY_MASK)
36092 /*! @} */
36093 
36094 /*! @name RAEM - Receive FIFO Almost Empty Threshold */
36095 /*! @{ */
36096 
36097 #define ENET_RAEM_RX_ALMOST_EMPTY_MASK           (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36098 #define ENET_RAEM_RX_ALMOST_EMPTY_SHIFT          (0U)
36099 /*! RX_ALMOST_EMPTY - Value Of The Receive FIFO Almost Empty Threshold
36100  */
36101 #define ENET_RAEM_RX_ALMOST_EMPTY(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RAEM_RX_ALMOST_EMPTY_SHIFT)) & ENET_RAEM_RX_ALMOST_EMPTY_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36102 /*! @} */
36103 
36104 /*! @name RAFL - Receive FIFO Almost Full Threshold */
36105 /*! @{ */
36106 
36107 #define ENET_RAFL_RX_ALMOST_FULL_MASK            (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36108 #define ENET_RAFL_RX_ALMOST_FULL_SHIFT           (0U)
36109 /*! RX_ALMOST_FULL - Value Of The Receive FIFO Almost Full Threshold
36110  */
36111 #define ENET_RAFL_RX_ALMOST_FULL(x)              (((uint32_t)(((uint32_t)(x)) << ENET_RAFL_RX_ALMOST_FULL_SHIFT)) & ENET_RAFL_RX_ALMOST_FULL_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36112 /*! @} */
36113 
36114 /*! @name TSEM - Transmit FIFO Section Empty Threshold */
36115 /*! @{ */
36116 
36117 #define ENET_TSEM_TX_SECTION_EMPTY_MASK          (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36118 #define ENET_TSEM_TX_SECTION_EMPTY_SHIFT         (0U)
36119 /*! TX_SECTION_EMPTY - Value Of The Transmit FIFO Section Empty Threshold
36120  */
36121 #define ENET_TSEM_TX_SECTION_EMPTY(x)            (((uint32_t)(((uint32_t)(x)) << ENET_TSEM_TX_SECTION_EMPTY_SHIFT)) & ENET_TSEM_TX_SECTION_EMPTY_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36122 /*! @} */
36123 
36124 /*! @name TAEM - Transmit FIFO Almost Empty Threshold */
36125 /*! @{ */
36126 
36127 #define ENET_TAEM_TX_ALMOST_EMPTY_MASK           (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36128 #define ENET_TAEM_TX_ALMOST_EMPTY_SHIFT          (0U)
36129 /*! TX_ALMOST_EMPTY - Value of Transmit FIFO Almost Empty Threshold
36130  */
36131 #define ENET_TAEM_TX_ALMOST_EMPTY(x)             (((uint32_t)(((uint32_t)(x)) << ENET_TAEM_TX_ALMOST_EMPTY_SHIFT)) & ENET_TAEM_TX_ALMOST_EMPTY_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36132 /*! @} */
36133 
36134 /*! @name TAFL - Transmit FIFO Almost Full Threshold */
36135 /*! @{ */
36136 
36137 #define ENET_TAFL_TX_ALMOST_FULL_MASK            (0x3FFU)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36138 #define ENET_TAFL_TX_ALMOST_FULL_SHIFT           (0U)
36139 /*! TX_ALMOST_FULL - Value Of The Transmit FIFO Almost Full Threshold
36140  */
36141 #define ENET_TAFL_TX_ALMOST_FULL(x)              (((uint32_t)(((uint32_t)(x)) << ENET_TAFL_TX_ALMOST_FULL_SHIFT)) & ENET_TAFL_TX_ALMOST_FULL_MASK)  /* Merged from fields with different position or width, of widths (8, 10), largest definition used */
36142 /*! @} */
36143 
36144 /*! @name TIPG - Transmit Inter-Packet Gap */
36145 /*! @{ */
36146 
36147 #define ENET_TIPG_IPG_MASK                       (0x1FU)
36148 #define ENET_TIPG_IPG_SHIFT                      (0U)
36149 /*! IPG - Transmit Inter-Packet Gap
36150  */
36151 #define ENET_TIPG_IPG(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TIPG_IPG_SHIFT)) & ENET_TIPG_IPG_MASK)
36152 /*! @} */
36153 
36154 /*! @name FTRL - Frame Truncation Length */
36155 /*! @{ */
36156 
36157 #define ENET_FTRL_TRUNC_FL_MASK                  (0x3FFFU)
36158 #define ENET_FTRL_TRUNC_FL_SHIFT                 (0U)
36159 /*! TRUNC_FL - Frame Truncation Length
36160  */
36161 #define ENET_FTRL_TRUNC_FL(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_FTRL_TRUNC_FL_SHIFT)) & ENET_FTRL_TRUNC_FL_MASK)
36162 /*! @} */
36163 
36164 /*! @name TACC - Transmit Accelerator Function Configuration */
36165 /*! @{ */
36166 
36167 #define ENET_TACC_SHIFT16_MASK                   (0x1U)
36168 #define ENET_TACC_SHIFT16_SHIFT                  (0U)
36169 /*! SHIFT16 - TX FIFO Shift-16
36170  *  0b0..Disabled.
36171  *  0b1..Indicates to the transmit data FIFO that the written frames contain two additional octets before the
36172  *       frame data. This means the actual frame begins at bit 16 of the first word written into the FIFO. This
36173  *       function allows putting the frame payload on a 32-bit boundary in memory, as the 14-byte Ethernet header is
36174  *       extended to a 16-byte header.
36175  */
36176 #define ENET_TACC_SHIFT16(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_TACC_SHIFT16_SHIFT)) & ENET_TACC_SHIFT16_MASK)
36177 
36178 #define ENET_TACC_IPCHK_MASK                     (0x8U)
36179 #define ENET_TACC_IPCHK_SHIFT                    (3U)
36180 /*! IPCHK
36181  *  0b0..Checksum is not inserted.
36182  *  0b1..If an IP frame is transmitted, the checksum is inserted automatically. The IP header checksum field must
36183  *       be cleared. If a non-IP frame is transmitted the frame is not modified.
36184  */
36185 #define ENET_TACC_IPCHK(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TACC_IPCHK_SHIFT)) & ENET_TACC_IPCHK_MASK)
36186 
36187 #define ENET_TACC_PROCHK_MASK                    (0x10U)
36188 #define ENET_TACC_PROCHK_SHIFT                   (4U)
36189 /*! PROCHK
36190  *  0b0..Checksum not inserted.
36191  *  0b1..If an IP frame with a known protocol is transmitted, the checksum is inserted automatically into the
36192  *       frame. The checksum field must be cleared. The other frames are not modified.
36193  */
36194 #define ENET_TACC_PROCHK(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_TACC_PROCHK_SHIFT)) & ENET_TACC_PROCHK_MASK)
36195 /*! @} */
36196 
36197 /*! @name RACC - Receive Accelerator Function Configuration */
36198 /*! @{ */
36199 
36200 #define ENET_RACC_PADREM_MASK                    (0x1U)
36201 #define ENET_RACC_PADREM_SHIFT                   (0U)
36202 /*! PADREM - Enable Padding Removal For Short IP Frames
36203  *  0b0..Padding not removed.
36204  *  0b1..Any bytes following the IP payload section of the frame are removed from the frame.
36205  */
36206 #define ENET_RACC_PADREM(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_RACC_PADREM_SHIFT)) & ENET_RACC_PADREM_MASK)
36207 
36208 #define ENET_RACC_IPDIS_MASK                     (0x2U)
36209 #define ENET_RACC_IPDIS_SHIFT                    (1U)
36210 /*! IPDIS - Enable Discard Of Frames With Wrong IPv4 Header Checksum
36211  *  0b0..Frames with wrong IPv4 header checksum are not discarded.
36212  *  0b1..If an IPv4 frame is received with a mismatching header checksum, the frame is discarded. IPv6 has no
36213  *       header checksum and is not affected by this setting. Discarding is only available when the RX FIFO operates in
36214  *       store and forward mode (RSFL cleared).
36215  */
36216 #define ENET_RACC_IPDIS(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RACC_IPDIS_SHIFT)) & ENET_RACC_IPDIS_MASK)
36217 
36218 #define ENET_RACC_PRODIS_MASK                    (0x4U)
36219 #define ENET_RACC_PRODIS_SHIFT                   (2U)
36220 /*! PRODIS - Enable Discard Of Frames With Wrong Protocol Checksum
36221  *  0b0..Frames with wrong checksum are not discarded.
36222  *  0b1..If a TCP/IP, UDP/IP, or ICMP/IP frame is received that has a wrong TCP, UDP, or ICMP checksum, the frame
36223  *       is discarded. Discarding is only available when the RX FIFO operates in store and forward mode (RSFL
36224  *       cleared).
36225  */
36226 #define ENET_RACC_PRODIS(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_RACC_PRODIS_SHIFT)) & ENET_RACC_PRODIS_MASK)
36227 
36228 #define ENET_RACC_LINEDIS_MASK                   (0x40U)
36229 #define ENET_RACC_LINEDIS_SHIFT                  (6U)
36230 /*! LINEDIS - Enable Discard Of Frames With MAC Layer Errors
36231  *  0b0..Frames with errors are not discarded.
36232  *  0b1..Any frame received with a CRC, length, or PHY error is automatically discarded and not forwarded to the user application interface.
36233  */
36234 #define ENET_RACC_LINEDIS(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RACC_LINEDIS_SHIFT)) & ENET_RACC_LINEDIS_MASK)
36235 
36236 #define ENET_RACC_SHIFT16_MASK                   (0x80U)
36237 #define ENET_RACC_SHIFT16_SHIFT                  (7U)
36238 /*! SHIFT16 - RX FIFO Shift-16
36239  *  0b0..Disabled.
36240  *  0b1..Instructs the MAC to write two additional bytes in front of each frame received into the RX FIFO.
36241  */
36242 #define ENET_RACC_SHIFT16(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RACC_SHIFT16_SHIFT)) & ENET_RACC_SHIFT16_MASK)
36243 /*! @} */
36244 
36245 /*! @name RCMR - Receive Classification Match Register for Class n */
36246 /*! @{ */
36247 
36248 #define ENET_RCMR_CMP0_MASK                      (0x7U)
36249 #define ENET_RCMR_CMP0_SHIFT                     (0U)
36250 /*! CMP0 - Compare 0
36251  */
36252 #define ENET_RCMR_CMP0(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RCMR_CMP0_SHIFT)) & ENET_RCMR_CMP0_MASK)
36253 
36254 #define ENET_RCMR_CMP1_MASK                      (0x70U)
36255 #define ENET_RCMR_CMP1_SHIFT                     (4U)
36256 /*! CMP1 - Compare 1
36257  */
36258 #define ENET_RCMR_CMP1(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RCMR_CMP1_SHIFT)) & ENET_RCMR_CMP1_MASK)
36259 
36260 #define ENET_RCMR_CMP2_MASK                      (0x700U)
36261 #define ENET_RCMR_CMP2_SHIFT                     (8U)
36262 /*! CMP2 - Compare 2
36263  */
36264 #define ENET_RCMR_CMP2(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RCMR_CMP2_SHIFT)) & ENET_RCMR_CMP2_MASK)
36265 
36266 #define ENET_RCMR_CMP3_MASK                      (0x7000U)
36267 #define ENET_RCMR_CMP3_SHIFT                     (12U)
36268 /*! CMP3 - Compare 3
36269  */
36270 #define ENET_RCMR_CMP3(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_RCMR_CMP3_SHIFT)) & ENET_RCMR_CMP3_MASK)
36271 
36272 #define ENET_RCMR_MATCHEN_MASK                   (0x10000U)
36273 #define ENET_RCMR_MATCHEN_SHIFT                  (16U)
36274 /*! MATCHEN - Match Enable
36275  *  0b0..Disabled (default): no compares will occur and the classification indicator for this class will never assert.
36276  *  0b1..The register contents are valid and a comparison with all compare values is done when a VLAN frame is received.
36277  */
36278 #define ENET_RCMR_MATCHEN(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_RCMR_MATCHEN_SHIFT)) & ENET_RCMR_MATCHEN_MASK)
36279 /*! @} */
36280 
36281 /* The count of ENET_RCMR */
36282 #define ENET_RCMR_COUNT                          (2U)
36283 
36284 /*! @name DMACFG - DMA Class Based Configuration */
36285 /*! @{ */
36286 
36287 #define ENET_DMACFG_IDLE_SLOPE_MASK              (0xFFFFU)
36288 #define ENET_DMACFG_IDLE_SLOPE_SHIFT             (0U)
36289 /*! IDLE_SLOPE - Idle slope
36290  */
36291 #define ENET_DMACFG_IDLE_SLOPE(x)                (((uint32_t)(((uint32_t)(x)) << ENET_DMACFG_IDLE_SLOPE_SHIFT)) & ENET_DMACFG_IDLE_SLOPE_MASK)
36292 
36293 #define ENET_DMACFG_DMA_CLASS_EN_MASK            (0x10000U)
36294 #define ENET_DMACFG_DMA_CLASS_EN_SHIFT           (16U)
36295 /*! DMA_CLASS_EN - DMA class enable
36296  *  0b0..The DMA controller's channel for the class is not used. Disabling the DMA controller of a class also
36297  *       requires disabling the class match comparator for the class (see registers RCMRn). When class 1 and class 2
36298  *       queues are disabled then their frames will be placed in queue 0.
36299  *  0b1..Enable the DMA controller to support the corresponding descriptor ring for this class of traffic.
36300  */
36301 #define ENET_DMACFG_DMA_CLASS_EN(x)              (((uint32_t)(((uint32_t)(x)) << ENET_DMACFG_DMA_CLASS_EN_SHIFT)) & ENET_DMACFG_DMA_CLASS_EN_MASK)
36302 
36303 #define ENET_DMACFG_CALC_NOIPG_MASK              (0x20000U)
36304 #define ENET_DMACFG_CALC_NOIPG_SHIFT             (17U)
36305 /*! CALC_NOIPG - Calculate no IPG
36306  *  0b0..The traffic shaper function should consider 12 octets of IPG in addition to the frame data transferred
36307  *       for a frame when doing bandwidth calculations. This is the default.
36308  *  0b1..Addition of 12 bytes for the IPG should be omitted when calculating the bandwidth (for traffic shaping,
36309  *       when writing a frame into the transmit FIFO, the shaper will usually consider 12 bytes of IPG for every
36310  *       frame as part of the bandwidth allocated by the frame. This addition can be suppressed, meaning short frames
36311  *       will become more bandwidth than large frames due to the relation of data to IPG overhead).
36312  */
36313 #define ENET_DMACFG_CALC_NOIPG(x)                (((uint32_t)(((uint32_t)(x)) << ENET_DMACFG_CALC_NOIPG_SHIFT)) & ENET_DMACFG_CALC_NOIPG_MASK)
36314 /*! @} */
36315 
36316 /* The count of ENET_DMACFG */
36317 #define ENET_DMACFG_COUNT                        (2U)
36318 
36319 /*! @name RDAR1 - Receive Descriptor Active Register - Ring 1 */
36320 /*! @{ */
36321 
36322 #define ENET_RDAR1_RDAR_MASK                     (0x1000000U)
36323 #define ENET_RDAR1_RDAR_SHIFT                    (24U)
36324 /*! RDAR - Receive Descriptor Active
36325  */
36326 #define ENET_RDAR1_RDAR(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RDAR1_RDAR_SHIFT)) & ENET_RDAR1_RDAR_MASK)
36327 /*! @} */
36328 
36329 /*! @name TDAR1 - Transmit Descriptor Active Register - Ring 1 */
36330 /*! @{ */
36331 
36332 #define ENET_TDAR1_TDAR_MASK                     (0x1000000U)
36333 #define ENET_TDAR1_TDAR_SHIFT                    (24U)
36334 /*! TDAR - Transmit Descriptor Active
36335  */
36336 #define ENET_TDAR1_TDAR(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TDAR1_TDAR_SHIFT)) & ENET_TDAR1_TDAR_MASK)
36337 /*! @} */
36338 
36339 /*! @name RDAR2 - Receive Descriptor Active Register - Ring 2 */
36340 /*! @{ */
36341 
36342 #define ENET_RDAR2_RDAR_MASK                     (0x1000000U)
36343 #define ENET_RDAR2_RDAR_SHIFT                    (24U)
36344 /*! RDAR - Receive Descriptor Active
36345  */
36346 #define ENET_RDAR2_RDAR(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_RDAR2_RDAR_SHIFT)) & ENET_RDAR2_RDAR_MASK)
36347 /*! @} */
36348 
36349 /*! @name TDAR2 - Transmit Descriptor Active Register - Ring 2 */
36350 /*! @{ */
36351 
36352 #define ENET_TDAR2_TDAR_MASK                     (0x1000000U)
36353 #define ENET_TDAR2_TDAR_SHIFT                    (24U)
36354 /*! TDAR - Transmit Descriptor Active
36355  */
36356 #define ENET_TDAR2_TDAR(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TDAR2_TDAR_SHIFT)) & ENET_TDAR2_TDAR_MASK)
36357 /*! @} */
36358 
36359 /*! @name QOS - QOS Scheme */
36360 /*! @{ */
36361 
36362 #define ENET_QOS_TX_SCHEME_MASK                  (0x7U)
36363 #define ENET_QOS_TX_SCHEME_SHIFT                 (0U)
36364 /*! TX_SCHEME - TX scheme configuration
36365  *  0b000..Credit-based scheme
36366  *  0b001..Round-robin scheme
36367  *  0b010-0b111..Reserved
36368  */
36369 #define ENET_QOS_TX_SCHEME(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_TX_SCHEME_SHIFT)) & ENET_QOS_TX_SCHEME_MASK)
36370 
36371 #define ENET_QOS_RX_FLUSH0_MASK                  (0x8U)
36372 #define ENET_QOS_RX_FLUSH0_SHIFT                 (3U)
36373 /*! RX_FLUSH0 - RX Flush Ring 0
36374  *  0b0..Disable
36375  *  0b1..Enable
36376  */
36377 #define ENET_QOS_RX_FLUSH0(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_RX_FLUSH0_SHIFT)) & ENET_QOS_RX_FLUSH0_MASK)
36378 
36379 #define ENET_QOS_RX_FLUSH1_MASK                  (0x10U)
36380 #define ENET_QOS_RX_FLUSH1_SHIFT                 (4U)
36381 /*! RX_FLUSH1 - RX Flush Ring 1
36382  *  0b0..Disable
36383  *  0b1..Enable
36384  */
36385 #define ENET_QOS_RX_FLUSH1(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_RX_FLUSH1_SHIFT)) & ENET_QOS_RX_FLUSH1_MASK)
36386 
36387 #define ENET_QOS_RX_FLUSH2_MASK                  (0x20U)
36388 #define ENET_QOS_RX_FLUSH2_SHIFT                 (5U)
36389 /*! RX_FLUSH2 - RX Flush Ring 2
36390  *  0b0..Disable
36391  *  0b1..Enable
36392  */
36393 #define ENET_QOS_RX_FLUSH2(x)                    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_RX_FLUSH2_SHIFT)) & ENET_QOS_RX_FLUSH2_MASK)
36394 /*! @} */
36395 
36396 /*! @name RMON_T_PACKETS - Tx Packet Count Statistic Register */
36397 /*! @{ */
36398 
36399 #define ENET_RMON_T_PACKETS_TXPKTS_MASK          (0xFFFFU)
36400 #define ENET_RMON_T_PACKETS_TXPKTS_SHIFT         (0U)
36401 /*! TXPKTS - Packet count
36402  */
36403 #define ENET_RMON_T_PACKETS_TXPKTS(x)            (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_PACKETS_TXPKTS_SHIFT)) & ENET_RMON_T_PACKETS_TXPKTS_MASK)
36404 /*! @} */
36405 
36406 /*! @name RMON_T_BC_PKT - Tx Broadcast Packets Statistic Register */
36407 /*! @{ */
36408 
36409 #define ENET_RMON_T_BC_PKT_TXPKTS_MASK           (0xFFFFU)
36410 #define ENET_RMON_T_BC_PKT_TXPKTS_SHIFT          (0U)
36411 /*! TXPKTS - Broadcast packets
36412  */
36413 #define ENET_RMON_T_BC_PKT_TXPKTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_BC_PKT_TXPKTS_SHIFT)) & ENET_RMON_T_BC_PKT_TXPKTS_MASK)
36414 /*! @} */
36415 
36416 /*! @name RMON_T_MC_PKT - Tx Multicast Packets Statistic Register */
36417 /*! @{ */
36418 
36419 #define ENET_RMON_T_MC_PKT_TXPKTS_MASK           (0xFFFFU)
36420 #define ENET_RMON_T_MC_PKT_TXPKTS_SHIFT          (0U)
36421 /*! TXPKTS - Multicast packets
36422  */
36423 #define ENET_RMON_T_MC_PKT_TXPKTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_MC_PKT_TXPKTS_SHIFT)) & ENET_RMON_T_MC_PKT_TXPKTS_MASK)
36424 /*! @} */
36425 
36426 /*! @name RMON_T_CRC_ALIGN - Tx Packets with CRC/Align Error Statistic Register */
36427 /*! @{ */
36428 
36429 #define ENET_RMON_T_CRC_ALIGN_TXPKTS_MASK        (0xFFFFU)
36430 #define ENET_RMON_T_CRC_ALIGN_TXPKTS_SHIFT       (0U)
36431 /*! TXPKTS - Packets with CRC/align error
36432  */
36433 #define ENET_RMON_T_CRC_ALIGN_TXPKTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_CRC_ALIGN_TXPKTS_SHIFT)) & ENET_RMON_T_CRC_ALIGN_TXPKTS_MASK)
36434 /*! @} */
36435 
36436 /*! @name RMON_T_UNDERSIZE - Tx Packets Less Than Bytes and Good CRC Statistic Register */
36437 /*! @{ */
36438 
36439 #define ENET_RMON_T_UNDERSIZE_TXPKTS_MASK        (0xFFFFU)
36440 #define ENET_RMON_T_UNDERSIZE_TXPKTS_SHIFT       (0U)
36441 /*! TXPKTS - Number of transmit packets less than 64 bytes with good CRC
36442  */
36443 #define ENET_RMON_T_UNDERSIZE_TXPKTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_UNDERSIZE_TXPKTS_SHIFT)) & ENET_RMON_T_UNDERSIZE_TXPKTS_MASK)
36444 /*! @} */
36445 
36446 /*! @name RMON_T_OVERSIZE - Tx Packets GT MAX_FL bytes and Good CRC Statistic Register */
36447 /*! @{ */
36448 
36449 #define ENET_RMON_T_OVERSIZE_TXPKTS_MASK         (0xFFFFU)
36450 #define ENET_RMON_T_OVERSIZE_TXPKTS_SHIFT        (0U)
36451 /*! TXPKTS - Number of transmit packets greater than MAX_FL bytes with good CRC
36452  */
36453 #define ENET_RMON_T_OVERSIZE_TXPKTS(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_OVERSIZE_TXPKTS_SHIFT)) & ENET_RMON_T_OVERSIZE_TXPKTS_MASK)
36454 /*! @} */
36455 
36456 /*! @name RMON_T_FRAG - Tx Packets Less Than 64 Bytes and Bad CRC Statistic Register */
36457 /*! @{ */
36458 
36459 #define ENET_RMON_T_FRAG_TXPKTS_MASK             (0xFFFFU)
36460 #define ENET_RMON_T_FRAG_TXPKTS_SHIFT            (0U)
36461 /*! TXPKTS - Number of packets less than 64 bytes with bad CRC
36462  */
36463 #define ENET_RMON_T_FRAG_TXPKTS(x)               (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_FRAG_TXPKTS_SHIFT)) & ENET_RMON_T_FRAG_TXPKTS_MASK)
36464 /*! @} */
36465 
36466 /*! @name RMON_T_JAB - Tx Packets Greater Than MAX_FL bytes and Bad CRC Statistic Register */
36467 /*! @{ */
36468 
36469 #define ENET_RMON_T_JAB_TXPKTS_MASK              (0xFFFFU)
36470 #define ENET_RMON_T_JAB_TXPKTS_SHIFT             (0U)
36471 /*! TXPKTS - Number of transmit packets greater than MAX_FL bytes and bad CRC
36472  */
36473 #define ENET_RMON_T_JAB_TXPKTS(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_JAB_TXPKTS_SHIFT)) & ENET_RMON_T_JAB_TXPKTS_MASK)
36474 /*! @} */
36475 
36476 /*! @name RMON_T_COL - Tx Collision Count Statistic Register */
36477 /*! @{ */
36478 
36479 #define ENET_RMON_T_COL_TXPKTS_MASK              (0xFFFFU)
36480 #define ENET_RMON_T_COL_TXPKTS_SHIFT             (0U)
36481 /*! TXPKTS - Number of transmit collisions
36482  */
36483 #define ENET_RMON_T_COL_TXPKTS(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_COL_TXPKTS_SHIFT)) & ENET_RMON_T_COL_TXPKTS_MASK)
36484 /*! @} */
36485 
36486 /*! @name RMON_T_P64 - Tx 64-Byte Packets Statistic Register */
36487 /*! @{ */
36488 
36489 #define ENET_RMON_T_P64_TXPKTS_MASK              (0xFFFFU)
36490 #define ENET_RMON_T_P64_TXPKTS_SHIFT             (0U)
36491 /*! TXPKTS - Number of 64-byte transmit packets
36492  */
36493 #define ENET_RMON_T_P64_TXPKTS(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P64_TXPKTS_SHIFT)) & ENET_RMON_T_P64_TXPKTS_MASK)
36494 /*! @} */
36495 
36496 /*! @name RMON_T_P65TO127 - Tx 65- to 127-byte Packets Statistic Register */
36497 /*! @{ */
36498 
36499 #define ENET_RMON_T_P65TO127_TXPKTS_MASK         (0xFFFFU)
36500 #define ENET_RMON_T_P65TO127_TXPKTS_SHIFT        (0U)
36501 /*! TXPKTS - Number of 65- to 127-byte transmit packets
36502  */
36503 #define ENET_RMON_T_P65TO127_TXPKTS(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P65TO127_TXPKTS_SHIFT)) & ENET_RMON_T_P65TO127_TXPKTS_MASK)
36504 /*! @} */
36505 
36506 /*! @name RMON_T_P128TO255 - Tx 128- to 255-byte Packets Statistic Register */
36507 /*! @{ */
36508 
36509 #define ENET_RMON_T_P128TO255_TXPKTS_MASK        (0xFFFFU)
36510 #define ENET_RMON_T_P128TO255_TXPKTS_SHIFT       (0U)
36511 /*! TXPKTS - Number of 128- to 255-byte transmit packets
36512  */
36513 #define ENET_RMON_T_P128TO255_TXPKTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P128TO255_TXPKTS_SHIFT)) & ENET_RMON_T_P128TO255_TXPKTS_MASK)
36514 /*! @} */
36515 
36516 /*! @name RMON_T_P256TO511 - Tx 256- to 511-byte Packets Statistic Register */
36517 /*! @{ */
36518 
36519 #define ENET_RMON_T_P256TO511_TXPKTS_MASK        (0xFFFFU)
36520 #define ENET_RMON_T_P256TO511_TXPKTS_SHIFT       (0U)
36521 /*! TXPKTS - Number of 256- to 511-byte transmit packets
36522  */
36523 #define ENET_RMON_T_P256TO511_TXPKTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P256TO511_TXPKTS_SHIFT)) & ENET_RMON_T_P256TO511_TXPKTS_MASK)
36524 /*! @} */
36525 
36526 /*! @name RMON_T_P512TO1023 - Tx 512- to 1023-byte Packets Statistic Register */
36527 /*! @{ */
36528 
36529 #define ENET_RMON_T_P512TO1023_TXPKTS_MASK       (0xFFFFU)
36530 #define ENET_RMON_T_P512TO1023_TXPKTS_SHIFT      (0U)
36531 /*! TXPKTS - Number of 512- to 1023-byte transmit packets
36532  */
36533 #define ENET_RMON_T_P512TO1023_TXPKTS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P512TO1023_TXPKTS_SHIFT)) & ENET_RMON_T_P512TO1023_TXPKTS_MASK)
36534 /*! @} */
36535 
36536 /*! @name RMON_T_P1024TO2047 - Tx 1024- to 2047-byte Packets Statistic Register */
36537 /*! @{ */
36538 
36539 #define ENET_RMON_T_P1024TO2047_TXPKTS_MASK      (0xFFFFU)
36540 #define ENET_RMON_T_P1024TO2047_TXPKTS_SHIFT     (0U)
36541 /*! TXPKTS - Number of 1024- to 2047-byte transmit packets
36542  */
36543 #define ENET_RMON_T_P1024TO2047_TXPKTS(x)        (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P1024TO2047_TXPKTS_SHIFT)) & ENET_RMON_T_P1024TO2047_TXPKTS_MASK)
36544 /*! @} */
36545 
36546 /*! @name RMON_T_P_GTE2048 - Tx Packets Greater Than 2048 Bytes Statistic Register */
36547 /*! @{ */
36548 
36549 #define ENET_RMON_T_P_GTE2048_TXPKTS_MASK        (0xFFFFU)
36550 #define ENET_RMON_T_P_GTE2048_TXPKTS_SHIFT       (0U)
36551 /*! TXPKTS - Number of transmit packets greater than 2048 bytes
36552  */
36553 #define ENET_RMON_T_P_GTE2048_TXPKTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_P_GTE2048_TXPKTS_SHIFT)) & ENET_RMON_T_P_GTE2048_TXPKTS_MASK)
36554 /*! @} */
36555 
36556 /*! @name RMON_T_OCTETS - Tx Octets Statistic Register */
36557 /*! @{ */
36558 
36559 #define ENET_RMON_T_OCTETS_TXOCTS_MASK           (0xFFFFFFFFU)
36560 #define ENET_RMON_T_OCTETS_TXOCTS_SHIFT          (0U)
36561 /*! TXOCTS - Number of transmit octets
36562  */
36563 #define ENET_RMON_T_OCTETS_TXOCTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RMON_T_OCTETS_TXOCTS_SHIFT)) & ENET_RMON_T_OCTETS_TXOCTS_MASK)
36564 /*! @} */
36565 
36566 /*! @name IEEE_T_FRAME_OK - Frames Transmitted OK Statistic Register */
36567 /*! @{ */
36568 
36569 #define ENET_IEEE_T_FRAME_OK_COUNT_MASK          (0xFFFFU)
36570 #define ENET_IEEE_T_FRAME_OK_COUNT_SHIFT         (0U)
36571 /*! COUNT - Number of frames transmitted OK
36572  */
36573 #define ENET_IEEE_T_FRAME_OK_COUNT(x)            (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_FRAME_OK_COUNT_SHIFT)) & ENET_IEEE_T_FRAME_OK_COUNT_MASK)
36574 /*! @} */
36575 
36576 /*! @name IEEE_T_1COL - Frames Transmitted with Single Collision Statistic Register */
36577 /*! @{ */
36578 
36579 #define ENET_IEEE_T_1COL_COUNT_MASK              (0xFFFFU)
36580 #define ENET_IEEE_T_1COL_COUNT_SHIFT             (0U)
36581 /*! COUNT - Number of frames transmitted with one collision
36582  */
36583 #define ENET_IEEE_T_1COL_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_1COL_COUNT_SHIFT)) & ENET_IEEE_T_1COL_COUNT_MASK)
36584 /*! @} */
36585 
36586 /*! @name IEEE_T_MCOL - Frames Transmitted with Multiple Collisions Statistic Register */
36587 /*! @{ */
36588 
36589 #define ENET_IEEE_T_MCOL_COUNT_MASK              (0xFFFFU)
36590 #define ENET_IEEE_T_MCOL_COUNT_SHIFT             (0U)
36591 /*! COUNT - Number of frames transmitted with multiple collisions
36592  */
36593 #define ENET_IEEE_T_MCOL_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_MCOL_COUNT_SHIFT)) & ENET_IEEE_T_MCOL_COUNT_MASK)
36594 /*! @} */
36595 
36596 /*! @name IEEE_T_DEF - Frames Transmitted after Deferral Delay Statistic Register */
36597 /*! @{ */
36598 
36599 #define ENET_IEEE_T_DEF_COUNT_MASK               (0xFFFFU)
36600 #define ENET_IEEE_T_DEF_COUNT_SHIFT              (0U)
36601 /*! COUNT - Number of frames transmitted with deferral delay
36602  */
36603 #define ENET_IEEE_T_DEF_COUNT(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_DEF_COUNT_SHIFT)) & ENET_IEEE_T_DEF_COUNT_MASK)
36604 /*! @} */
36605 
36606 /*! @name IEEE_T_LCOL - Frames Transmitted with Late Collision Statistic Register */
36607 /*! @{ */
36608 
36609 #define ENET_IEEE_T_LCOL_COUNT_MASK              (0xFFFFU)
36610 #define ENET_IEEE_T_LCOL_COUNT_SHIFT             (0U)
36611 /*! COUNT - Number of frames transmitted with late collision
36612  */
36613 #define ENET_IEEE_T_LCOL_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_LCOL_COUNT_SHIFT)) & ENET_IEEE_T_LCOL_COUNT_MASK)
36614 /*! @} */
36615 
36616 /*! @name IEEE_T_EXCOL - Frames Transmitted with Excessive Collisions Statistic Register */
36617 /*! @{ */
36618 
36619 #define ENET_IEEE_T_EXCOL_COUNT_MASK             (0xFFFFU)
36620 #define ENET_IEEE_T_EXCOL_COUNT_SHIFT            (0U)
36621 /*! COUNT - Number of frames transmitted with excessive collisions
36622  */
36623 #define ENET_IEEE_T_EXCOL_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_EXCOL_COUNT_SHIFT)) & ENET_IEEE_T_EXCOL_COUNT_MASK)
36624 /*! @} */
36625 
36626 /*! @name IEEE_T_MACERR - Frames Transmitted with Tx FIFO Underrun Statistic Register */
36627 /*! @{ */
36628 
36629 #define ENET_IEEE_T_MACERR_COUNT_MASK            (0xFFFFU)
36630 #define ENET_IEEE_T_MACERR_COUNT_SHIFT           (0U)
36631 /*! COUNT - Number of frames transmitted with transmit FIFO underrun
36632  */
36633 #define ENET_IEEE_T_MACERR_COUNT(x)              (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_MACERR_COUNT_SHIFT)) & ENET_IEEE_T_MACERR_COUNT_MASK)
36634 /*! @} */
36635 
36636 /*! @name IEEE_T_CSERR - Frames Transmitted with Carrier Sense Error Statistic Register */
36637 /*! @{ */
36638 
36639 #define ENET_IEEE_T_CSERR_COUNT_MASK             (0xFFFFU)
36640 #define ENET_IEEE_T_CSERR_COUNT_SHIFT            (0U)
36641 /*! COUNT - Number of frames transmitted with carrier sense error
36642  */
36643 #define ENET_IEEE_T_CSERR_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_CSERR_COUNT_SHIFT)) & ENET_IEEE_T_CSERR_COUNT_MASK)
36644 /*! @} */
36645 
36646 /*! @name IEEE_T_SQE - Reserved Statistic Register */
36647 /*! @{ */
36648 
36649 #define ENET_IEEE_T_SQE_COUNT_MASK               (0xFFFFU)
36650 #define ENET_IEEE_T_SQE_COUNT_SHIFT              (0U)
36651 /*! COUNT - This read-only field is reserved and always has the value 0
36652  */
36653 #define ENET_IEEE_T_SQE_COUNT(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_SQE_COUNT_SHIFT)) & ENET_IEEE_T_SQE_COUNT_MASK)
36654 /*! @} */
36655 
36656 /*! @name IEEE_T_FDXFC - Flow Control Pause Frames Transmitted Statistic Register */
36657 /*! @{ */
36658 
36659 #define ENET_IEEE_T_FDXFC_COUNT_MASK             (0xFFFFU)
36660 #define ENET_IEEE_T_FDXFC_COUNT_SHIFT            (0U)
36661 /*! COUNT - Number of flow-control pause frames transmitted
36662  */
36663 #define ENET_IEEE_T_FDXFC_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_FDXFC_COUNT_SHIFT)) & ENET_IEEE_T_FDXFC_COUNT_MASK)
36664 /*! @} */
36665 
36666 /*! @name IEEE_T_OCTETS_OK - Octet Count for Frames Transmitted w/o Error Statistic Register */
36667 /*! @{ */
36668 
36669 #define ENET_IEEE_T_OCTETS_OK_COUNT_MASK         (0xFFFFFFFFU)
36670 #define ENET_IEEE_T_OCTETS_OK_COUNT_SHIFT        (0U)
36671 /*! COUNT - Octet count for frames transmitted without error Counts total octets (includes header and FCS fields).
36672  */
36673 #define ENET_IEEE_T_OCTETS_OK_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_T_OCTETS_OK_COUNT_SHIFT)) & ENET_IEEE_T_OCTETS_OK_COUNT_MASK)
36674 /*! @} */
36675 
36676 /*! @name RMON_R_PACKETS - Rx Packet Count Statistic Register */
36677 /*! @{ */
36678 
36679 #define ENET_RMON_R_PACKETS_COUNT_MASK           (0xFFFFU)
36680 #define ENET_RMON_R_PACKETS_COUNT_SHIFT          (0U)
36681 /*! COUNT - Number of packets received
36682  */
36683 #define ENET_RMON_R_PACKETS_COUNT(x)             (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_PACKETS_COUNT_SHIFT)) & ENET_RMON_R_PACKETS_COUNT_MASK)
36684 /*! @} */
36685 
36686 /*! @name RMON_R_BC_PKT - Rx Broadcast Packets Statistic Register */
36687 /*! @{ */
36688 
36689 #define ENET_RMON_R_BC_PKT_COUNT_MASK            (0xFFFFU)
36690 #define ENET_RMON_R_BC_PKT_COUNT_SHIFT           (0U)
36691 /*! COUNT - Number of receive broadcast packets
36692  */
36693 #define ENET_RMON_R_BC_PKT_COUNT(x)              (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_BC_PKT_COUNT_SHIFT)) & ENET_RMON_R_BC_PKT_COUNT_MASK)
36694 /*! @} */
36695 
36696 /*! @name RMON_R_MC_PKT - Rx Multicast Packets Statistic Register */
36697 /*! @{ */
36698 
36699 #define ENET_RMON_R_MC_PKT_COUNT_MASK            (0xFFFFU)
36700 #define ENET_RMON_R_MC_PKT_COUNT_SHIFT           (0U)
36701 /*! COUNT - Number of receive multicast packets
36702  */
36703 #define ENET_RMON_R_MC_PKT_COUNT(x)              (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_MC_PKT_COUNT_SHIFT)) & ENET_RMON_R_MC_PKT_COUNT_MASK)
36704 /*! @} */
36705 
36706 /*! @name RMON_R_CRC_ALIGN - Rx Packets with CRC/Align Error Statistic Register */
36707 /*! @{ */
36708 
36709 #define ENET_RMON_R_CRC_ALIGN_COUNT_MASK         (0xFFFFU)
36710 #define ENET_RMON_R_CRC_ALIGN_COUNT_SHIFT        (0U)
36711 /*! COUNT - Number of receive packets with CRC or align error
36712  */
36713 #define ENET_RMON_R_CRC_ALIGN_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_CRC_ALIGN_COUNT_SHIFT)) & ENET_RMON_R_CRC_ALIGN_COUNT_MASK)
36714 /*! @} */
36715 
36716 /*! @name RMON_R_UNDERSIZE - Rx Packets with Less Than 64 Bytes and Good CRC Statistic Register */
36717 /*! @{ */
36718 
36719 #define ENET_RMON_R_UNDERSIZE_COUNT_MASK         (0xFFFFU)
36720 #define ENET_RMON_R_UNDERSIZE_COUNT_SHIFT        (0U)
36721 /*! COUNT - Number of receive packets with less than 64 bytes and good CRC
36722  */
36723 #define ENET_RMON_R_UNDERSIZE_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_UNDERSIZE_COUNT_SHIFT)) & ENET_RMON_R_UNDERSIZE_COUNT_MASK)
36724 /*! @} */
36725 
36726 /*! @name RMON_R_OVERSIZE - Rx Packets Greater Than MAX_FL and Good CRC Statistic Register */
36727 /*! @{ */
36728 
36729 #define ENET_RMON_R_OVERSIZE_COUNT_MASK          (0xFFFFU)
36730 #define ENET_RMON_R_OVERSIZE_COUNT_SHIFT         (0U)
36731 /*! COUNT - Number of receive packets greater than MAX_FL and good CRC
36732  */
36733 #define ENET_RMON_R_OVERSIZE_COUNT(x)            (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_OVERSIZE_COUNT_SHIFT)) & ENET_RMON_R_OVERSIZE_COUNT_MASK)
36734 /*! @} */
36735 
36736 /*! @name RMON_R_FRAG - Rx Packets Less Than 64 Bytes and Bad CRC Statistic Register */
36737 /*! @{ */
36738 
36739 #define ENET_RMON_R_FRAG_COUNT_MASK              (0xFFFFU)
36740 #define ENET_RMON_R_FRAG_COUNT_SHIFT             (0U)
36741 /*! COUNT - Number of receive packets with less than 64 bytes and bad CRC
36742  */
36743 #define ENET_RMON_R_FRAG_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_FRAG_COUNT_SHIFT)) & ENET_RMON_R_FRAG_COUNT_MASK)
36744 /*! @} */
36745 
36746 /*! @name RMON_R_JAB - Rx Packets Greater Than MAX_FL Bytes and Bad CRC Statistic Register */
36747 /*! @{ */
36748 
36749 #define ENET_RMON_R_JAB_COUNT_MASK               (0xFFFFU)
36750 #define ENET_RMON_R_JAB_COUNT_SHIFT              (0U)
36751 /*! COUNT - Number of receive packets greater than MAX_FL and bad CRC
36752  */
36753 #define ENET_RMON_R_JAB_COUNT(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_JAB_COUNT_SHIFT)) & ENET_RMON_R_JAB_COUNT_MASK)
36754 /*! @} */
36755 
36756 /*! @name RMON_R_P64 - Rx 64-Byte Packets Statistic Register */
36757 /*! @{ */
36758 
36759 #define ENET_RMON_R_P64_COUNT_MASK               (0xFFFFU)
36760 #define ENET_RMON_R_P64_COUNT_SHIFT              (0U)
36761 /*! COUNT - Number of 64-byte receive packets
36762  */
36763 #define ENET_RMON_R_P64_COUNT(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P64_COUNT_SHIFT)) & ENET_RMON_R_P64_COUNT_MASK)
36764 /*! @} */
36765 
36766 /*! @name RMON_R_P65TO127 - Rx 65- to 127-Byte Packets Statistic Register */
36767 /*! @{ */
36768 
36769 #define ENET_RMON_R_P65TO127_COUNT_MASK          (0xFFFFU)
36770 #define ENET_RMON_R_P65TO127_COUNT_SHIFT         (0U)
36771 /*! COUNT - Number of 65- to 127-byte recieve packets
36772  */
36773 #define ENET_RMON_R_P65TO127_COUNT(x)            (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P65TO127_COUNT_SHIFT)) & ENET_RMON_R_P65TO127_COUNT_MASK)
36774 /*! @} */
36775 
36776 /*! @name RMON_R_P128TO255 - Rx 128- to 255-Byte Packets Statistic Register */
36777 /*! @{ */
36778 
36779 #define ENET_RMON_R_P128TO255_COUNT_MASK         (0xFFFFU)
36780 #define ENET_RMON_R_P128TO255_COUNT_SHIFT        (0U)
36781 /*! COUNT - Number of 128- to 255-byte recieve packets
36782  */
36783 #define ENET_RMON_R_P128TO255_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P128TO255_COUNT_SHIFT)) & ENET_RMON_R_P128TO255_COUNT_MASK)
36784 /*! @} */
36785 
36786 /*! @name RMON_R_P256TO511 - Rx 256- to 511-Byte Packets Statistic Register */
36787 /*! @{ */
36788 
36789 #define ENET_RMON_R_P256TO511_COUNT_MASK         (0xFFFFU)
36790 #define ENET_RMON_R_P256TO511_COUNT_SHIFT        (0U)
36791 /*! COUNT - Number of 256- to 511-byte recieve packets
36792  */
36793 #define ENET_RMON_R_P256TO511_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P256TO511_COUNT_SHIFT)) & ENET_RMON_R_P256TO511_COUNT_MASK)
36794 /*! @} */
36795 
36796 /*! @name RMON_R_P512TO1023 - Rx 512- to 1023-Byte Packets Statistic Register */
36797 /*! @{ */
36798 
36799 #define ENET_RMON_R_P512TO1023_COUNT_MASK        (0xFFFFU)
36800 #define ENET_RMON_R_P512TO1023_COUNT_SHIFT       (0U)
36801 /*! COUNT - Number of 512- to 1023-byte recieve packets
36802  */
36803 #define ENET_RMON_R_P512TO1023_COUNT(x)          (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P512TO1023_COUNT_SHIFT)) & ENET_RMON_R_P512TO1023_COUNT_MASK)
36804 /*! @} */
36805 
36806 /*! @name RMON_R_P1024TO2047 - Rx 1024- to 2047-Byte Packets Statistic Register */
36807 /*! @{ */
36808 
36809 #define ENET_RMON_R_P1024TO2047_COUNT_MASK       (0xFFFFU)
36810 #define ENET_RMON_R_P1024TO2047_COUNT_SHIFT      (0U)
36811 /*! COUNT - Number of 1024- to 2047-byte recieve packets
36812  */
36813 #define ENET_RMON_R_P1024TO2047_COUNT(x)         (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P1024TO2047_COUNT_SHIFT)) & ENET_RMON_R_P1024TO2047_COUNT_MASK)
36814 /*! @} */
36815 
36816 /*! @name RMON_R_P_GTE2048 - Rx Packets Greater than 2048 Bytes Statistic Register */
36817 /*! @{ */
36818 
36819 #define ENET_RMON_R_P_GTE2048_COUNT_MASK         (0xFFFFU)
36820 #define ENET_RMON_R_P_GTE2048_COUNT_SHIFT        (0U)
36821 /*! COUNT - Number of greater-than-2048-byte recieve packets
36822  */
36823 #define ENET_RMON_R_P_GTE2048_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_P_GTE2048_COUNT_SHIFT)) & ENET_RMON_R_P_GTE2048_COUNT_MASK)
36824 /*! @} */
36825 
36826 /*! @name RMON_R_OCTETS - Rx Octets Statistic Register */
36827 /*! @{ */
36828 
36829 #define ENET_RMON_R_OCTETS_COUNT_MASK            (0xFFFFFFFFU)
36830 #define ENET_RMON_R_OCTETS_COUNT_SHIFT           (0U)
36831 /*! COUNT - Number of receive octets
36832  */
36833 #define ENET_RMON_R_OCTETS_COUNT(x)              (((uint32_t)(((uint32_t)(x)) << ENET_RMON_R_OCTETS_COUNT_SHIFT)) & ENET_RMON_R_OCTETS_COUNT_MASK)
36834 /*! @} */
36835 
36836 /*! @name IEEE_R_DROP - Frames not Counted Correctly Statistic Register */
36837 /*! @{ */
36838 
36839 #define ENET_IEEE_R_DROP_COUNT_MASK              (0xFFFFU)
36840 #define ENET_IEEE_R_DROP_COUNT_SHIFT             (0U)
36841 /*! COUNT - Frame count
36842  */
36843 #define ENET_IEEE_R_DROP_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_DROP_COUNT_SHIFT)) & ENET_IEEE_R_DROP_COUNT_MASK)
36844 /*! @} */
36845 
36846 /*! @name IEEE_R_FRAME_OK - Frames Received OK Statistic Register */
36847 /*! @{ */
36848 
36849 #define ENET_IEEE_R_FRAME_OK_COUNT_MASK          (0xFFFFU)
36850 #define ENET_IEEE_R_FRAME_OK_COUNT_SHIFT         (0U)
36851 /*! COUNT - Number of frames received OK
36852  */
36853 #define ENET_IEEE_R_FRAME_OK_COUNT(x)            (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_FRAME_OK_COUNT_SHIFT)) & ENET_IEEE_R_FRAME_OK_COUNT_MASK)
36854 /*! @} */
36855 
36856 /*! @name IEEE_R_CRC - Frames Received with CRC Error Statistic Register */
36857 /*! @{ */
36858 
36859 #define ENET_IEEE_R_CRC_COUNT_MASK               (0xFFFFU)
36860 #define ENET_IEEE_R_CRC_COUNT_SHIFT              (0U)
36861 /*! COUNT - Number of frames received with CRC error
36862  */
36863 #define ENET_IEEE_R_CRC_COUNT(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_CRC_COUNT_SHIFT)) & ENET_IEEE_R_CRC_COUNT_MASK)
36864 /*! @} */
36865 
36866 /*! @name IEEE_R_ALIGN - Frames Received with Alignment Error Statistic Register */
36867 /*! @{ */
36868 
36869 #define ENET_IEEE_R_ALIGN_COUNT_MASK             (0xFFFFU)
36870 #define ENET_IEEE_R_ALIGN_COUNT_SHIFT            (0U)
36871 /*! COUNT - Number of frames received with alignment error
36872  */
36873 #define ENET_IEEE_R_ALIGN_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_ALIGN_COUNT_SHIFT)) & ENET_IEEE_R_ALIGN_COUNT_MASK)
36874 /*! @} */
36875 
36876 /*! @name IEEE_R_MACERR - Receive FIFO Overflow Count Statistic Register */
36877 /*! @{ */
36878 
36879 #define ENET_IEEE_R_MACERR_COUNT_MASK            (0xFFFFU)
36880 #define ENET_IEEE_R_MACERR_COUNT_SHIFT           (0U)
36881 /*! COUNT - Receive FIFO overflow count
36882  */
36883 #define ENET_IEEE_R_MACERR_COUNT(x)              (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_MACERR_COUNT_SHIFT)) & ENET_IEEE_R_MACERR_COUNT_MASK)
36884 /*! @} */
36885 
36886 /*! @name IEEE_R_FDXFC - Flow Control Pause Frames Received Statistic Register */
36887 /*! @{ */
36888 
36889 #define ENET_IEEE_R_FDXFC_COUNT_MASK             (0xFFFFU)
36890 #define ENET_IEEE_R_FDXFC_COUNT_SHIFT            (0U)
36891 /*! COUNT - Number of flow-control pause frames received
36892  */
36893 #define ENET_IEEE_R_FDXFC_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_FDXFC_COUNT_SHIFT)) & ENET_IEEE_R_FDXFC_COUNT_MASK)
36894 /*! @} */
36895 
36896 /*! @name IEEE_R_OCTETS_OK - Octet Count for Frames Received without Error Statistic Register */
36897 /*! @{ */
36898 
36899 #define ENET_IEEE_R_OCTETS_OK_COUNT_MASK         (0xFFFFFFFFU)
36900 #define ENET_IEEE_R_OCTETS_OK_COUNT_SHIFT        (0U)
36901 /*! COUNT - Number of octets for frames received without error
36902  */
36903 #define ENET_IEEE_R_OCTETS_OK_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_IEEE_R_OCTETS_OK_COUNT_SHIFT)) & ENET_IEEE_R_OCTETS_OK_COUNT_MASK)
36904 /*! @} */
36905 
36906 /*! @name ATCR - Adjustable Timer Control Register */
36907 /*! @{ */
36908 
36909 #define ENET_ATCR_EN_MASK                        (0x1U)
36910 #define ENET_ATCR_EN_SHIFT                       (0U)
36911 /*! EN - Enable Timer
36912  *  0b0..The timer stops at the current value.
36913  *  0b1..The timer starts incrementing.
36914  */
36915 #define ENET_ATCR_EN(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_EN_SHIFT)) & ENET_ATCR_EN_MASK)
36916 
36917 #define ENET_ATCR_OFFEN_MASK                     (0x4U)
36918 #define ENET_ATCR_OFFEN_SHIFT                    (2U)
36919 /*! OFFEN - Enable One-Shot Offset Event
36920  *  0b0..Disable.
36921  *  0b1..The timer can be reset to zero when the given offset time is reached (offset event). The field is cleared
36922  *       when the offset event is reached, so no further event occurs until the field is set again. The timer
36923  *       offset value must be set before setting this field.
36924  */
36925 #define ENET_ATCR_OFFEN(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_OFFEN_SHIFT)) & ENET_ATCR_OFFEN_MASK)
36926 
36927 #define ENET_ATCR_OFFRST_MASK                    (0x8U)
36928 #define ENET_ATCR_OFFRST_SHIFT                   (3U)
36929 /*! OFFRST - Reset Timer On Offset Event
36930  *  0b0..The timer is not affected and no action occurs, besides clearing OFFEN, when the offset is reached.
36931  *  0b1..If OFFEN is set, the timer resets to zero when the offset setting is reached. The offset event does not cause a timer interrupt.
36932  */
36933 #define ENET_ATCR_OFFRST(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_OFFRST_SHIFT)) & ENET_ATCR_OFFRST_MASK)
36934 
36935 #define ENET_ATCR_PEREN_MASK                     (0x10U)
36936 #define ENET_ATCR_PEREN_SHIFT                    (4U)
36937 /*! PEREN - Enable Periodical Event
36938  *  0b0..Disable.
36939  *  0b1..A period event interrupt can be generated (EIR[TS_TIMER]) and the event signal output is asserted when
36940  *       the timer wraps around according to the periodic setting ATPER. The timer period value must be set before
36941  *       setting this bit. Not all devices contain the event signal output. See the chip configuration details.
36942  */
36943 #define ENET_ATCR_PEREN(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_PEREN_SHIFT)) & ENET_ATCR_PEREN_MASK)
36944 
36945 #define ENET_ATCR_PINPER_MASK                    (0x80U)
36946 #define ENET_ATCR_PINPER_SHIFT                   (7U)
36947 /*! PINPER - Enables event signal output external pin frc_evt_period assertion on period event
36948  *  0b0..Disable.
36949  *  0b1..Enable.
36950  */
36951 #define ENET_ATCR_PINPER(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_PINPER_SHIFT)) & ENET_ATCR_PINPER_MASK)
36952 
36953 #define ENET_ATCR_RESTART_MASK                   (0x200U)
36954 #define ENET_ATCR_RESTART_SHIFT                  (9U)
36955 /*! RESTART - Reset Timer
36956  */
36957 #define ENET_ATCR_RESTART(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_RESTART_SHIFT)) & ENET_ATCR_RESTART_MASK)
36958 
36959 #define ENET_ATCR_CAPTURE_MASK                   (0x800U)
36960 #define ENET_ATCR_CAPTURE_SHIFT                  (11U)
36961 /*! CAPTURE - Capture Timer Value
36962  *  0b0..No effect.
36963  *  0b1..The current time is captured and can be read from the ATVR register.
36964  */
36965 #define ENET_ATCR_CAPTURE(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_CAPTURE_SHIFT)) & ENET_ATCR_CAPTURE_MASK)
36966 
36967 #define ENET_ATCR_SLAVE_MASK                     (0x2000U)
36968 #define ENET_ATCR_SLAVE_SHIFT                    (13U)
36969 /*! SLAVE - Enable Timer Slave Mode
36970  *  0b0..The timer is active and all configuration fields in this register are relevant.
36971  *  0b1..The internal timer is disabled and the externally provided timer value is used. All other fields, except
36972  *       CAPTURE, in this register have no effect. CAPTURE can still be used to capture the current timer value.
36973  */
36974 #define ENET_ATCR_SLAVE(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_ATCR_SLAVE_SHIFT)) & ENET_ATCR_SLAVE_MASK)
36975 /*! @} */
36976 
36977 /*! @name ATVR - Timer Value Register */
36978 /*! @{ */
36979 
36980 #define ENET_ATVR_ATIME_MASK                     (0xFFFFFFFFU)
36981 #define ENET_ATVR_ATIME_SHIFT                    (0U)
36982 #define ENET_ATVR_ATIME(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_ATVR_ATIME_SHIFT)) & ENET_ATVR_ATIME_MASK)
36983 /*! @} */
36984 
36985 /*! @name ATOFF - Timer Offset Register */
36986 /*! @{ */
36987 
36988 #define ENET_ATOFF_OFFSET_MASK                   (0xFFFFFFFFU)
36989 #define ENET_ATOFF_OFFSET_SHIFT                  (0U)
36990 #define ENET_ATOFF_OFFSET(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_ATOFF_OFFSET_SHIFT)) & ENET_ATOFF_OFFSET_MASK)
36991 /*! @} */
36992 
36993 /*! @name ATPER - Timer Period Register */
36994 /*! @{ */
36995 
36996 #define ENET_ATPER_PERIOD_MASK                   (0xFFFFFFFFU)
36997 #define ENET_ATPER_PERIOD_SHIFT                  (0U)
36998 /*! PERIOD - Value for generating periodic events
36999  */
37000 #define ENET_ATPER_PERIOD(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_ATPER_PERIOD_SHIFT)) & ENET_ATPER_PERIOD_MASK)
37001 /*! @} */
37002 
37003 /*! @name ATCOR - Timer Correction Register */
37004 /*! @{ */
37005 
37006 #define ENET_ATCOR_COR_MASK                      (0x7FFFFFFFU)
37007 #define ENET_ATCOR_COR_SHIFT                     (0U)
37008 /*! COR - Correction Counter Wrap-Around Value
37009  */
37010 #define ENET_ATCOR_COR(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ATCOR_COR_SHIFT)) & ENET_ATCOR_COR_MASK)
37011 /*! @} */
37012 
37013 /*! @name ATINC - Time-Stamping Clock Period Register */
37014 /*! @{ */
37015 
37016 #define ENET_ATINC_INC_MASK                      (0x7FU)
37017 #define ENET_ATINC_INC_SHIFT                     (0U)
37018 /*! INC - Clock Period Of The Timestamping Clock (ts_clk) In Nanoseconds
37019  */
37020 #define ENET_ATINC_INC(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_ATINC_INC_SHIFT)) & ENET_ATINC_INC_MASK)
37021 
37022 #define ENET_ATINC_INC_CORR_MASK                 (0x7F00U)
37023 #define ENET_ATINC_INC_CORR_SHIFT                (8U)
37024 /*! INC_CORR - Correction Increment Value
37025  */
37026 #define ENET_ATINC_INC_CORR(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_ATINC_INC_CORR_SHIFT)) & ENET_ATINC_INC_CORR_MASK)
37027 /*! @} */
37028 
37029 /*! @name ATSTMP - Timestamp of Last Transmitted Frame */
37030 /*! @{ */
37031 
37032 #define ENET_ATSTMP_TIMESTAMP_MASK               (0xFFFFFFFFU)
37033 #define ENET_ATSTMP_TIMESTAMP_SHIFT              (0U)
37034 /*! TIMESTAMP - Timestamp of the last frame transmitted by the core that had TxBD[TS] set the
37035  *    ff_tx_ts_frm signal asserted from the user application
37036  */
37037 #define ENET_ATSTMP_TIMESTAMP(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_ATSTMP_TIMESTAMP_SHIFT)) & ENET_ATSTMP_TIMESTAMP_MASK)
37038 /*! @} */
37039 
37040 /*! @name TGSR - Timer Global Status Register */
37041 /*! @{ */
37042 
37043 #define ENET_TGSR_TF0_MASK                       (0x1U)
37044 #define ENET_TGSR_TF0_SHIFT                      (0U)
37045 /*! TF0 - Copy Of Timer Flag For Channel 0
37046  *  0b0..Timer Flag for Channel 0 is clear
37047  *  0b1..Timer Flag for Channel 0 is set
37048  */
37049 #define ENET_TGSR_TF0(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TGSR_TF0_SHIFT)) & ENET_TGSR_TF0_MASK)
37050 
37051 #define ENET_TGSR_TF1_MASK                       (0x2U)
37052 #define ENET_TGSR_TF1_SHIFT                      (1U)
37053 /*! TF1 - Copy Of Timer Flag For Channel 1
37054  *  0b0..Timer Flag for Channel 1 is clear
37055  *  0b1..Timer Flag for Channel 1 is set
37056  */
37057 #define ENET_TGSR_TF1(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TGSR_TF1_SHIFT)) & ENET_TGSR_TF1_MASK)
37058 
37059 #define ENET_TGSR_TF2_MASK                       (0x4U)
37060 #define ENET_TGSR_TF2_SHIFT                      (2U)
37061 /*! TF2 - Copy Of Timer Flag For Channel 2
37062  *  0b0..Timer Flag for Channel 2 is clear
37063  *  0b1..Timer Flag for Channel 2 is set
37064  */
37065 #define ENET_TGSR_TF2(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TGSR_TF2_SHIFT)) & ENET_TGSR_TF2_MASK)
37066 
37067 #define ENET_TGSR_TF3_MASK                       (0x8U)
37068 #define ENET_TGSR_TF3_SHIFT                      (3U)
37069 /*! TF3 - Copy Of Timer Flag For Channel 3
37070  *  0b0..Timer Flag for Channel 3 is clear
37071  *  0b1..Timer Flag for Channel 3 is set
37072  */
37073 #define ENET_TGSR_TF3(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TGSR_TF3_SHIFT)) & ENET_TGSR_TF3_MASK)
37074 /*! @} */
37075 
37076 /*! @name TCSR - Timer Control Status Register */
37077 /*! @{ */
37078 
37079 #define ENET_TCSR_TDRE_MASK                      (0x1U)
37080 #define ENET_TCSR_TDRE_SHIFT                     (0U)
37081 /*! TDRE - Timer DMA Request Enable
37082  *  0b0..DMA request is disabled
37083  *  0b1..DMA request is enabled
37084  */
37085 #define ENET_TCSR_TDRE(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TCSR_TDRE_SHIFT)) & ENET_TCSR_TDRE_MASK)
37086 
37087 #define ENET_TCSR_TMODE_MASK                     (0x3CU)
37088 #define ENET_TCSR_TMODE_SHIFT                    (2U)
37089 /*! TMODE - Timer Mode
37090  *  0b0000..Timer Channel is disabled.
37091  *  0b0001..Timer Channel is configured for Input Capture on rising edge.
37092  *  0b0010..Timer Channel is configured for Input Capture on falling edge.
37093  *  0b0011..Timer Channel is configured for Input Capture on both edges.
37094  *  0b0100..Timer Channel is configured for Output Compare - software only.
37095  *  0b0101..Timer Channel is configured for Output Compare - toggle output on compare.
37096  *  0b0110..Timer Channel is configured for Output Compare - clear output on compare.
37097  *  0b0111..Timer Channel is configured for Output Compare - set output on compare.
37098  *  0b1000..Reserved
37099  *  0b1010..Timer Channel is configured for Output Compare - clear output on compare, set output on overflow.
37100  *  0b10x1..Timer Channel is configured for Output Compare - set output on compare, clear output on overflow.
37101  *  0b110x..Reserved
37102  *  0b1110..Timer Channel is configured for Output Compare - pulse output low on compare for one 1588-clock cycle.
37103  *  0b1111..Timer Channel is configured for Output Compare - pulse output high on compare for one 1588-clock cycle.
37104  */
37105 #define ENET_TCSR_TMODE(x)                       (((uint32_t)(((uint32_t)(x)) << ENET_TCSR_TMODE_SHIFT)) & ENET_TCSR_TMODE_MASK)
37106 
37107 #define ENET_TCSR_TIE_MASK                       (0x40U)
37108 #define ENET_TCSR_TIE_SHIFT                      (6U)
37109 /*! TIE - Timer Interrupt Enable
37110  *  0b0..Interrupt is disabled
37111  *  0b1..Interrupt is enabled
37112  */
37113 #define ENET_TCSR_TIE(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TCSR_TIE_SHIFT)) & ENET_TCSR_TIE_MASK)
37114 
37115 #define ENET_TCSR_TF_MASK                        (0x80U)
37116 #define ENET_TCSR_TF_SHIFT                       (7U)
37117 /*! TF - Timer Flag
37118  *  0b0..Input Capture or Output Compare has not occurred.
37119  *  0b1..Input Capture or Output Compare has occurred.
37120  */
37121 #define ENET_TCSR_TF(x)                          (((uint32_t)(((uint32_t)(x)) << ENET_TCSR_TF_SHIFT)) & ENET_TCSR_TF_MASK)
37122 
37123 #define ENET_TCSR_TPWC_MASK                      (0xF800U)
37124 #define ENET_TCSR_TPWC_SHIFT                     (11U)
37125 /*! TPWC - Timer PulseWidth Control
37126  *  0b00000..Pulse width is one 1588-clock cycle.
37127  *  0b00001..Pulse width is two 1588-clock cycles.
37128  *  0b00010..Pulse width is three 1588-clock cycles.
37129  *  0b00011..Pulse width is four 1588-clock cycles.
37130  *  0b11111..Pulse width is 32 1588-clock cycles.
37131  */
37132 #define ENET_TCSR_TPWC(x)                        (((uint32_t)(((uint32_t)(x)) << ENET_TCSR_TPWC_SHIFT)) & ENET_TCSR_TPWC_MASK)
37133 /*! @} */
37134 
37135 /* The count of ENET_TCSR */
37136 #define ENET_TCSR_COUNT                          (4U)
37137 
37138 /*! @name TCCR - Timer Compare Capture Register */
37139 /*! @{ */
37140 
37141 #define ENET_TCCR_TCC_MASK                       (0xFFFFFFFFU)
37142 #define ENET_TCCR_TCC_SHIFT                      (0U)
37143 /*! TCC - Timer Capture Compare
37144  */
37145 #define ENET_TCCR_TCC(x)                         (((uint32_t)(((uint32_t)(x)) << ENET_TCCR_TCC_SHIFT)) & ENET_TCCR_TCC_MASK)
37146 /*! @} */
37147 
37148 /* The count of ENET_TCCR */
37149 #define ENET_TCCR_COUNT                          (4U)
37150 
37151 
37152 /*!
37153  * @}
37154  */ /* end of group ENET_Register_Masks */
37155 
37156 
37157 /* ENET - Peripheral instance base addresses */
37158 /** Peripheral ENET base address */
37159 #define ENET_BASE                                (0x40424000u)
37160 /** Peripheral ENET base pointer */
37161 #define ENET                                     ((ENET_Type *)ENET_BASE)
37162 /** Peripheral ENET_1G base address */
37163 #define ENET_1G_BASE                             (0x40420000u)
37164 /** Peripheral ENET_1G base pointer */
37165 #define ENET_1G                                  ((ENET_Type *)ENET_1G_BASE)
37166 /** Array initializer of ENET peripheral base addresses */
37167 #define ENET_BASE_ADDRS                          { ENET_BASE, ENET_1G_BASE }
37168 /** Array initializer of ENET peripheral base pointers */
37169 #define ENET_BASE_PTRS                           { ENET, ENET_1G }
37170 /** Interrupt vectors for the ENET peripheral type */
37171 #define ENET_Transmit_IRQS                       { ENET_IRQn, ENET_1G_IRQn }
37172 #define ENET_Receive_IRQS                        { ENET_IRQn, ENET_1G_IRQn }
37173 #define ENET_Error_IRQS                          { ENET_IRQn, ENET_1G_IRQn }
37174 #define ENET_1588_Timer_IRQS                     { ENET_1588_Timer_IRQn, ENET_1G_1588_Timer_IRQn }
37175 #define ENET_Ts_IRQS                             { ENET_IRQn, ENET_1G_IRQn }
37176 /* ENET Buffer Descriptor and Buffer Address Alignment. */
37177 #define ENET_BUFF_ALIGNMENT                      (64U)
37178 
37179 
37180 /*!
37181  * @}
37182  */ /* end of group ENET_Peripheral_Access_Layer */
37183 
37184 
37185 /* ----------------------------------------------------------------------------
37186    -- ENET_QOS Peripheral Access Layer
37187    ---------------------------------------------------------------------------- */
37188 
37189 /*!
37190  * @addtogroup ENET_QOS_Peripheral_Access_Layer ENET_QOS Peripheral Access Layer
37191  * @{
37192  */
37193 
37194 /** ENET_QOS - Register Layout Typedef */
37195 typedef struct {
37196   __IO uint32_t MAC_CONFIGURATION;                 /**< MAC Configuration Register, offset: 0x0 */
37197   __IO uint32_t MAC_EXT_CONFIGURATION;             /**< MAC Extended Configuration Register, offset: 0x4 */
37198   __IO uint32_t MAC_PACKET_FILTER;                 /**< MAC Packet Filter, offset: 0x8 */
37199   __IO uint32_t MAC_WATCHDOG_TIMEOUT;              /**< Watchdog Timeout, offset: 0xC */
37200   __IO uint32_t MAC_HASH_TABLE_REG0;               /**< MAC Hash Table Register 0, offset: 0x10 */
37201   __IO uint32_t MAC_HASH_TABLE_REG1;               /**< MAC Hash Table Register 1, offset: 0x14 */
37202        uint8_t RESERVED_0[56];
37203   __IO uint32_t MAC_VLAN_TAG_CTRL;                 /**< MAC VLAN Tag Control, offset: 0x50 */
37204   __IO uint32_t MAC_VLAN_TAG_DATA;                 /**< MAC VLAN Tag Data, offset: 0x54 */
37205   __IO uint32_t MAC_VLAN_HASH_TABLE;               /**< MAC VLAN Hash Table, offset: 0x58 */
37206        uint8_t RESERVED_1[4];
37207   __IO uint32_t MAC_VLAN_INCL;                     /**< VLAN Tag Inclusion or Replacement, offset: 0x60 */
37208   __IO uint32_t MAC_INNER_VLAN_INCL;               /**< MAC Inner VLAN Tag Inclusion or Replacement, offset: 0x64 */
37209        uint8_t RESERVED_2[8];
37210   __IO uint32_t MAC_TX_FLOW_CTRL_Q[5];             /**< MAC Q0 Tx Flow Control..MAC Q4 Tx Flow Control, array offset: 0x70, array step: 0x4 */
37211        uint8_t RESERVED_3[12];
37212   __IO uint32_t MAC_RX_FLOW_CTRL;                  /**< MAC Rx Flow Control, offset: 0x90 */
37213   __IO uint32_t MAC_RXQ_CTRL4;                     /**< Receive Queue Control 4, offset: 0x94 */
37214   __IO uint32_t MAC_TXQ_PRTY_MAP0;                 /**< Transmit Queue Priority Mapping 0, offset: 0x98 */
37215   __IO uint32_t MAC_TXQ_PRTY_MAP1;                 /**< Transmit Queue Priority Mapping 1, offset: 0x9C */
37216   __IO uint32_t MAC_RXQ_CTRL[4];                   /**< Receive Queue Control 0..Receive Queue Control 3, array offset: 0xA0, array step: 0x4 */
37217   __I  uint32_t MAC_INTERRUPT_STATUS;              /**< Interrupt Status, offset: 0xB0 */
37218   __IO uint32_t MAC_INTERRUPT_ENABLE;              /**< Interrupt Enable, offset: 0xB4 */
37219   __I  uint32_t MAC_RX_TX_STATUS;                  /**< Receive Transmit Status, offset: 0xB8 */
37220        uint8_t RESERVED_4[4];
37221   __IO uint32_t MAC_PMT_CONTROL_STATUS;            /**< PMT Control and Status, offset: 0xC0 */
37222   __IO uint32_t MAC_RWK_PACKET_FILTER;             /**< Remote Wakeup Filter, offset: 0xC4 */
37223        uint8_t RESERVED_5[8];
37224   __IO uint32_t MAC_LPI_CONTROL_STATUS;            /**< LPI Control and Status, offset: 0xD0 */
37225   __IO uint32_t MAC_LPI_TIMERS_CONTROL;            /**< LPI Timers Control, offset: 0xD4 */
37226   __IO uint32_t MAC_LPI_ENTRY_TIMER;               /**< Tx LPI Entry Timer Control, offset: 0xD8 */
37227   __IO uint32_t MAC_ONEUS_TIC_COUNTER;             /**< One-microsecond Reference Timer, offset: 0xDC */
37228        uint8_t RESERVED_6[24];
37229   __IO uint32_t MAC_PHYIF_CONTROL_STATUS;          /**< PHY Interface Control and Status, offset: 0xF8 */
37230        uint8_t RESERVED_7[20];
37231   __I  uint32_t MAC_VERSION;                       /**< MAC Version, offset: 0x110 */
37232   __I  uint32_t MAC_DEBUG;                         /**< MAC Debug, offset: 0x114 */
37233        uint8_t RESERVED_8[4];
37234   __I  uint32_t MAC_HW_FEAT[4];                    /**< Optional Features or Functions 0..Optional Features or Functions 3, array offset: 0x11C, array step: 0x4 */
37235        uint8_t RESERVED_9[212];
37236   __IO uint32_t MAC_MDIO_ADDRESS;                  /**< MDIO Address, offset: 0x200 */
37237   __IO uint32_t MAC_MDIO_DATA;                     /**< MAC MDIO Data, offset: 0x204 */
37238        uint8_t RESERVED_10[40];
37239   __IO uint32_t MAC_CSR_SW_CTRL;                   /**< CSR Software Control, offset: 0x230 */
37240   __IO uint32_t MAC_FPE_CTRL_STS;                  /**< Frame Preemption Control, offset: 0x234 */
37241        uint8_t RESERVED_11[8];
37242   __I  uint32_t MAC_PRESN_TIME_NS;                 /**< 32-bit Binary Rollover Equivalent Time, offset: 0x240 */
37243   __IO uint32_t MAC_PRESN_TIME_UPDT;               /**< MAC 1722 Presentation Time, offset: 0x244 */
37244        uint8_t RESERVED_12[184];
37245   struct {                                         /* offset: 0x300, array step: 0x8 */
37246     __IO uint32_t HIGH;                              /**< MAC Address0 High..MAC Address63 High, array offset: 0x300, array step: 0x8 */
37247     __IO uint32_t LOW;                               /**< MAC Address0 Low..MAC Address63 Low, array offset: 0x304, array step: 0x8 */
37248   } MAC_ADDRESS[64];
37249        uint8_t RESERVED_13[512];
37250   __IO uint32_t MAC_MMC_CONTROL;                   /**< MMC Control, offset: 0x700 */
37251   __I  uint32_t MAC_MMC_RX_INTERRUPT;              /**< MMC Rx Interrupt, offset: 0x704 */
37252   __I  uint32_t MAC_MMC_TX_INTERRUPT;              /**< MMC Tx Interrupt, offset: 0x708 */
37253   __IO uint32_t MAC_MMC_RX_INTERRUPT_MASK;         /**< MMC Rx Interrupt Mask, offset: 0x70C */
37254   __IO uint32_t MAC_MMC_TX_INTERRUPT_MASK;         /**< MMC Tx Interrupt Mask, offset: 0x710 */
37255   __I  uint32_t MAC_TX_OCTET_COUNT_GOOD_BAD;       /**< Tx Octet Count Good and Bad, offset: 0x714 */
37256   __I  uint32_t MAC_TX_PACKET_COUNT_GOOD_BAD;      /**< Tx Packet Count Good and Bad, offset: 0x718 */
37257   __I  uint32_t MAC_TX_BROADCAST_PACKETS_GOOD;     /**< Tx Broadcast Packets Good, offset: 0x71C */
37258   __I  uint32_t MAC_TX_MULTICAST_PACKETS_GOOD;     /**< Tx Multicast Packets Good, offset: 0x720 */
37259   __I  uint32_t MAC_TX_64OCTETS_PACKETS_GOOD_BAD;  /**< Tx Good and Bad 64-Byte Packets, offset: 0x724 */
37260   __I  uint32_t MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD; /**< Tx Good and Bad 65 to 127-Byte Packets, offset: 0x728 */
37261   __I  uint32_t MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD; /**< Tx Good and Bad 128 to 255-Byte Packets, offset: 0x72C */
37262   __I  uint32_t MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD; /**< Tx Good and Bad 256 to 511-Byte Packets, offset: 0x730 */
37263   __I  uint32_t MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD; /**< Tx Good and Bad 512 to 1023-Byte Packets, offset: 0x734 */
37264   __I  uint32_t MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD; /**< Tx Good and Bad 1024 to Max-Byte Packets, offset: 0x738 */
37265   __I  uint32_t MAC_TX_UNICAST_PACKETS_GOOD_BAD;   /**< Good and Bad Unicast Packets Transmitted, offset: 0x73C */
37266   __I  uint32_t MAC_TX_MULTICAST_PACKETS_GOOD_BAD; /**< Good and Bad Multicast Packets Transmitted, offset: 0x740 */
37267   __I  uint32_t MAC_TX_BROADCAST_PACKETS_GOOD_BAD; /**< Good and Bad Broadcast Packets Transmitted, offset: 0x744 */
37268   __I  uint32_t MAC_TX_UNDERFLOW_ERROR_PACKETS;    /**< Tx Packets Aborted By Underflow Error, offset: 0x748 */
37269   __I  uint32_t MAC_TX_SINGLE_COLLISION_GOOD_PACKETS; /**< Single Collision Good Packets Transmitted, offset: 0x74C */
37270   __I  uint32_t MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS; /**< Multiple Collision Good Packets Transmitted, offset: 0x750 */
37271   __I  uint32_t MAC_TX_DEFERRED_PACKETS;           /**< Deferred Packets Transmitted, offset: 0x754 */
37272   __I  uint32_t MAC_TX_LATE_COLLISION_PACKETS;     /**< Late Collision Packets Transmitted, offset: 0x758 */
37273   __I  uint32_t MAC_TX_EXCESSIVE_COLLISION_PACKETS; /**< Excessive Collision Packets Transmitted, offset: 0x75C */
37274   __I  uint32_t MAC_TX_CARRIER_ERROR_PACKETS;      /**< Carrier Error Packets Transmitted, offset: 0x760 */
37275   __I  uint32_t MAC_TX_OCTET_COUNT_GOOD;           /**< Bytes Transmitted in Good Packets, offset: 0x764 */
37276   __I  uint32_t MAC_TX_PACKET_COUNT_GOOD;          /**< Good Packets Transmitted, offset: 0x768 */
37277   __I  uint32_t MAC_TX_EXCESSIVE_DEFERRAL_ERROR;   /**< Packets Aborted By Excessive Deferral Error, offset: 0x76C */
37278   __I  uint32_t MAC_TX_PAUSE_PACKETS;              /**< Pause Packets Transmitted, offset: 0x770 */
37279   __I  uint32_t MAC_TX_VLAN_PACKETS_GOOD;          /**< Good VLAN Packets Transmitted, offset: 0x774 */
37280   __I  uint32_t MAC_TX_OSIZE_PACKETS_GOOD;         /**< Good Oversize Packets Transmitted, offset: 0x778 */
37281        uint8_t RESERVED_14[4];
37282   __I  uint32_t MAC_RX_PACKETS_COUNT_GOOD_BAD;     /**< Good and Bad Packets Received, offset: 0x780 */
37283   __I  uint32_t MAC_RX_OCTET_COUNT_GOOD_BAD;       /**< Bytes in Good and Bad Packets Received, offset: 0x784 */
37284   __I  uint32_t MAC_RX_OCTET_COUNT_GOOD;           /**< Bytes in Good Packets Received, offset: 0x788 */
37285   __I  uint32_t MAC_RX_BROADCAST_PACKETS_GOOD;     /**< Good Broadcast Packets Received, offset: 0x78C */
37286   __I  uint32_t MAC_RX_MULTICAST_PACKETS_GOOD;     /**< Good Multicast Packets Received, offset: 0x790 */
37287   __I  uint32_t MAC_RX_CRC_ERROR_PACKETS;          /**< CRC Error Packets Received, offset: 0x794 */
37288   __I  uint32_t MAC_RX_ALIGNMENT_ERROR_PACKETS;    /**< Alignment Error Packets Received, offset: 0x798 */
37289   __I  uint32_t MAC_RX_RUNT_ERROR_PACKETS;         /**< Runt Error Packets Received, offset: 0x79C */
37290   __I  uint32_t MAC_RX_JABBER_ERROR_PACKETS;       /**< Jabber Error Packets Received, offset: 0x7A0 */
37291   __I  uint32_t MAC_RX_UNDERSIZE_PACKETS_GOOD;     /**< Good Undersize Packets Received, offset: 0x7A4 */
37292   __I  uint32_t MAC_RX_OVERSIZE_PACKETS_GOOD;      /**< Good Oversize Packets Received, offset: 0x7A8 */
37293   __I  uint32_t MAC_RX_64OCTETS_PACKETS_GOOD_BAD;  /**< Good and Bad 64-Byte Packets Received, offset: 0x7AC */
37294   __I  uint32_t MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD; /**< Good and Bad 64-to-127 Byte Packets Received, offset: 0x7B0 */
37295   __I  uint32_t MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD; /**< Good and Bad 128-to-255 Byte Packets Received, offset: 0x7B4 */
37296   __I  uint32_t MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD; /**< Good and Bad 256-to-511 Byte Packets Received, offset: 0x7B8 */
37297   __I  uint32_t MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD; /**< Good and Bad 512-to-1023 Byte Packets Received, offset: 0x7BC */
37298   __I  uint32_t MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD; /**< Good and Bad 1024-to-Max Byte Packets Received, offset: 0x7C0 */
37299   __I  uint32_t MAC_RX_UNICAST_PACKETS_GOOD;       /**< Good Unicast Packets Received, offset: 0x7C4 */
37300   __I  uint32_t MAC_RX_LENGTH_ERROR_PACKETS;       /**< Length Error Packets Received, offset: 0x7C8 */
37301   __I  uint32_t MAC_RX_OUT_OF_RANGE_TYPE_PACKETS;  /**< Out-of-range Type Packets Received, offset: 0x7CC */
37302   __I  uint32_t MAC_RX_PAUSE_PACKETS;              /**< Pause Packets Received, offset: 0x7D0 */
37303   __I  uint32_t MAC_RX_FIFO_OVERFLOW_PACKETS;      /**< Missed Packets Due to FIFO Overflow, offset: 0x7D4 */
37304   __I  uint32_t MAC_RX_VLAN_PACKETS_GOOD_BAD;      /**< Good and Bad VLAN Packets Received, offset: 0x7D8 */
37305   __I  uint32_t MAC_RX_WATCHDOG_ERROR_PACKETS;     /**< Watchdog Error Packets Received, offset: 0x7DC */
37306   __I  uint32_t MAC_RX_RECEIVE_ERROR_PACKETS;      /**< Receive Error Packets Received, offset: 0x7E0 */
37307   __I  uint32_t MAC_RX_CONTROL_PACKETS_GOOD;       /**< Good Control Packets Received, offset: 0x7E4 */
37308        uint8_t RESERVED_15[4];
37309   __I  uint32_t MAC_TX_LPI_USEC_CNTR;              /**< Microseconds Tx LPI Asserted, offset: 0x7EC */
37310   __I  uint32_t MAC_TX_LPI_TRAN_CNTR;              /**< Number of Times Tx LPI Asserted, offset: 0x7F0 */
37311   __I  uint32_t MAC_RX_LPI_USEC_CNTR;              /**< Microseconds Rx LPI Sampled, offset: 0x7F4 */
37312   __I  uint32_t MAC_RX_LPI_TRAN_CNTR;              /**< Number of Times Rx LPI Entered, offset: 0x7F8 */
37313        uint8_t RESERVED_16[4];
37314   __IO uint32_t MAC_MMC_IPC_RX_INTERRUPT_MASK;     /**< MMC IPC Receive Interrupt Mask, offset: 0x800 */
37315        uint8_t RESERVED_17[4];
37316   __I  uint32_t MAC_MMC_IPC_RX_INTERRUPT;          /**< MMC IPC Receive Interrupt, offset: 0x808 */
37317        uint8_t RESERVED_18[4];
37318   __I  uint32_t MAC_RXIPV4_GOOD_PACKETS;           /**< Good IPv4 Datagrams Received, offset: 0x810 */
37319   __I  uint32_t MAC_RXIPV4_HEADER_ERROR_PACKETS;   /**< IPv4 Datagrams Received with Header Errors, offset: 0x814 */
37320   __I  uint32_t MAC_RXIPV4_NO_PAYLOAD_PACKETS;     /**< IPv4 Datagrams Received with No Payload, offset: 0x818 */
37321   __I  uint32_t MAC_RXIPV4_FRAGMENTED_PACKETS;     /**< IPv4 Datagrams Received with Fragmentation, offset: 0x81C */
37322   __I  uint32_t MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS; /**< IPv4 Datagrams Received with UDP Checksum Disabled, offset: 0x820 */
37323   __I  uint32_t MAC_RXIPV6_GOOD_PACKETS;           /**< Good IPv6 Datagrams Received, offset: 0x824 */
37324   __I  uint32_t MAC_RXIPV6_HEADER_ERROR_PACKETS;   /**< IPv6 Datagrams Received with Header Errors, offset: 0x828 */
37325   __I  uint32_t MAC_RXIPV6_NO_PAYLOAD_PACKETS;     /**< IPv6 Datagrams Received with No Payload, offset: 0x82C */
37326   __I  uint32_t MAC_RXUDP_GOOD_PACKETS;            /**< IPv6 Datagrams Received with Good UDP, offset: 0x830 */
37327   __I  uint32_t MAC_RXUDP_ERROR_PACKETS;           /**< IPv6 Datagrams Received with UDP Checksum Error, offset: 0x834 */
37328   __I  uint32_t MAC_RXTCP_GOOD_PACKETS;            /**< IPv6 Datagrams Received with Good TCP Payload, offset: 0x838 */
37329   __I  uint32_t MAC_RXTCP_ERROR_PACKETS;           /**< IPv6 Datagrams Received with TCP Checksum Error, offset: 0x83C */
37330   __I  uint32_t MAC_RXICMP_GOOD_PACKETS;           /**< IPv6 Datagrams Received with Good ICMP Payload, offset: 0x840 */
37331   __I  uint32_t MAC_RXICMP_ERROR_PACKETS;          /**< IPv6 Datagrams Received with ICMP Checksum Error, offset: 0x844 */
37332        uint8_t RESERVED_19[8];
37333   __I  uint32_t MAC_RXIPV4_GOOD_OCTETS;            /**< Good Bytes Received in IPv4 Datagrams, offset: 0x850 */
37334   __I  uint32_t MAC_RXIPV4_HEADER_ERROR_OCTETS;    /**< Bytes Received in IPv4 Datagrams with Header Errors, offset: 0x854 */
37335   __I  uint32_t MAC_RXIPV4_NO_PAYLOAD_OCTETS;      /**< Bytes Received in IPv4 Datagrams with No Payload, offset: 0x858 */
37336   __I  uint32_t MAC_RXIPV4_FRAGMENTED_OCTETS;      /**< Bytes Received in Fragmented IPv4 Datagrams, offset: 0x85C */
37337   __I  uint32_t MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS; /**< Bytes Received with UDP Checksum Disabled, offset: 0x860 */
37338   __I  uint32_t MAC_RXIPV6_GOOD_OCTETS;            /**< Bytes Received in Good IPv6 Datagrams, offset: 0x864 */
37339   __I  uint32_t MAC_RXIPV6_HEADER_ERROR_OCTETS;    /**< Bytes Received in IPv6 Datagrams with Data Errors, offset: 0x868 */
37340   __I  uint32_t MAC_RXIPV6_NO_PAYLOAD_OCTETS;      /**< Bytes Received in IPv6 Datagrams with No Payload, offset: 0x86C */
37341   __I  uint32_t MAC_RXUDP_GOOD_OCTETS;             /**< Bytes Received in Good UDP Segment, offset: 0x870 */
37342   __I  uint32_t MAC_RXUDP_ERROR_OCTETS;            /**< Bytes Received in UDP Segment with Checksum Errors, offset: 0x874 */
37343   __I  uint32_t MAC_RXTCP_GOOD_OCTETS;             /**< Bytes Received in Good TCP Segment, offset: 0x878 */
37344   __I  uint32_t MAC_RXTCP_ERROR_OCTETS;            /**< Bytes Received in TCP Segment with Checksum Errors, offset: 0x87C */
37345   __I  uint32_t MAC_RXICMP_GOOD_OCTETS;            /**< Bytes Received in Good ICMP Segment, offset: 0x880 */
37346   __I  uint32_t MAC_RXICMP_ERROR_OCTETS;           /**< Bytes Received in ICMP Segment with Checksum Errors, offset: 0x884 */
37347        uint8_t RESERVED_20[24];
37348   __I  uint32_t MAC_MMC_FPE_TX_INTERRUPT;          /**< MMC FPE Transmit Interrupt, offset: 0x8A0 */
37349   __IO uint32_t MAC_MMC_FPE_TX_INTERRUPT_MASK;     /**< MMC FPE Transmit Mask Interrupt, offset: 0x8A4 */
37350   __I  uint32_t MAC_MMC_TX_FPE_FRAGMENT_CNTR;      /**< MMC FPE Transmitted Fragment Counter, offset: 0x8A8 */
37351   __I  uint32_t MAC_MMC_TX_HOLD_REQ_CNTR;          /**< MMC FPE Transmitted Hold Request Counter, offset: 0x8AC */
37352        uint8_t RESERVED_21[16];
37353   __I  uint32_t MAC_MMC_FPE_RX_INTERRUPT;          /**< MMC FPE Receive Interrupt, offset: 0x8C0 */
37354   __IO uint32_t MAC_MMC_FPE_RX_INTERRUPT_MASK;     /**< MMC FPE Receive Interrupt Mask, offset: 0x8C4 */
37355   __I  uint32_t MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR; /**< MMC Receive Packet Reassembly Error Counter, offset: 0x8C8 */
37356   __I  uint32_t MAC_MMC_RX_PACKET_SMD_ERR_CNTR;    /**< MMC Receive Packet SMD Error Counter, offset: 0x8CC */
37357   __I  uint32_t MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR; /**< MMC Receive Packet Successful Reassembly Counter, offset: 0x8D0 */
37358   __I  uint32_t MAC_MMC_RX_FPE_FRAGMENT_CNTR;      /**< MMC FPE Received Fragment Counter, offset: 0x8D4 */
37359        uint8_t RESERVED_22[40];
37360   __IO uint32_t MAC_L3_L4_CONTROL0;                /**< Layer 3 and Layer 4 Control of Filter 0, offset: 0x900 */
37361   __IO uint32_t MAC_LAYER4_ADDRESS0;               /**< Layer 4 Address 0, offset: 0x904 */
37362        uint8_t RESERVED_23[8];
37363   __IO uint32_t MAC_LAYER3_ADDR0_REG0;             /**< Layer 3 Address 0 Register 0, offset: 0x910 */
37364   __IO uint32_t MAC_LAYER3_ADDR1_REG0;             /**< Layer 3 Address 1 Register 0, offset: 0x914 */
37365   __IO uint32_t MAC_LAYER3_ADDR2_REG0;             /**< Layer 3 Address 2 Register 0, offset: 0x918 */
37366   __IO uint32_t MAC_LAYER3_ADDR3_REG0;             /**< Layer 3 Address 3 Register 0, offset: 0x91C */
37367        uint8_t RESERVED_24[16];
37368   __IO uint32_t MAC_L3_L4_CONTROL1;                /**< Layer 3 and Layer 4 Control of Filter 1, offset: 0x930 */
37369   __IO uint32_t MAC_LAYER4_ADDRESS1;               /**< Layer 4 Address 0, offset: 0x934 */
37370        uint8_t RESERVED_25[8];
37371   __IO uint32_t MAC_LAYER3_ADDR0_REG1;             /**< Layer 3 Address 0 Register 1, offset: 0x940 */
37372   __IO uint32_t MAC_LAYER3_ADDR1_REG1;             /**< Layer 3 Address 1 Register 1, offset: 0x944 */
37373   __IO uint32_t MAC_LAYER3_ADDR2_REG1;             /**< Layer 3 Address 2 Register 1, offset: 0x948 */
37374   __IO uint32_t MAC_LAYER3_ADDR3_REG1;             /**< Layer 3 Address 3 Register 1, offset: 0x94C */
37375        uint8_t RESERVED_26[16];
37376   __IO uint32_t MAC_L3_L4_CONTROL2;                /**< Layer 3 and Layer 4 Control of Filter 2, offset: 0x960 */
37377   __IO uint32_t MAC_LAYER4_ADDRESS2;               /**< Layer 4 Address 2, offset: 0x964 */
37378        uint8_t RESERVED_27[8];
37379   __IO uint32_t MAC_LAYER3_ADDR0_REG2;             /**< Layer 3 Address 0 Register 2, offset: 0x970 */
37380   __IO uint32_t MAC_LAYER3_ADDR1_REG2;             /**< Layer 3 Address 0 Register 2, offset: 0x974 */
37381   __IO uint32_t MAC_LAYER3_ADDR2_REG2;             /**< Layer 3 Address 2 Register 2, offset: 0x978 */
37382   __IO uint32_t MAC_LAYER3_ADDR3_REG2;             /**< Layer 3 Address 3 Register 2, offset: 0x97C */
37383        uint8_t RESERVED_28[16];
37384   __IO uint32_t MAC_L3_L4_CONTROL3;                /**< Layer 3 and Layer 4 Control of Filter 3, offset: 0x990 */
37385   __IO uint32_t MAC_LAYER4_ADDRESS3;               /**< Layer 4 Address 3, offset: 0x994 */
37386        uint8_t RESERVED_29[8];
37387   __IO uint32_t MAC_LAYER3_ADDR0_REG3;             /**< Layer 3 Address 0 Register 3, offset: 0x9A0 */
37388   __IO uint32_t MAC_LAYER3_ADDR1_REG3;             /**< Layer 3 Address 1 Register 3, offset: 0x9A4 */
37389   __IO uint32_t MAC_LAYER3_ADDR2_REG3;             /**< Layer 3 Address 2 Register 3, offset: 0x9A8 */
37390   __IO uint32_t MAC_LAYER3_ADDR3_REG3;             /**< Layer 3 Address 3 Register 3, offset: 0x9AC */
37391        uint8_t RESERVED_30[16];
37392   __IO uint32_t MAC_L3_L4_CONTROL4;                /**< Layer 3 and Layer 4 Control of Filter 4, offset: 0x9C0 */
37393   __IO uint32_t MAC_LAYER4_ADDRESS4;               /**< Layer 4 Address 4, offset: 0x9C4 */
37394        uint8_t RESERVED_31[8];
37395   __IO uint32_t MAC_LAYER3_ADDR0_REG4;             /**< Layer 3 Address 0 Register 4, offset: 0x9D0 */
37396   __IO uint32_t MAC_LAYER3_ADDR1_REG4;             /**< Layer 3 Address 1 Register 4, offset: 0x9D4 */
37397   __IO uint32_t MAC_LAYER3_ADDR2_REG4;             /**< Layer 3 Address 2 Register 4, offset: 0x9D8 */
37398   __IO uint32_t MAC_LAYER3_ADDR3_REG4;             /**< Layer 3 Address 3 Register 4, offset: 0x9DC */
37399        uint8_t RESERVED_32[16];
37400   __IO uint32_t MAC_L3_L4_CONTROL5;                /**< Layer 3 and Layer 4 Control of Filter 5, offset: 0x9F0 */
37401   __IO uint32_t MAC_LAYER4_ADDRESS5;               /**< Layer 4 Address 5, offset: 0x9F4 */
37402        uint8_t RESERVED_33[8];
37403   __IO uint32_t MAC_LAYER3_ADDR0_REG5;             /**< Layer 3 Address 0 Register 5, offset: 0xA00 */
37404   __IO uint32_t MAC_LAYER3_ADDR1_REG5;             /**< Layer 3 Address 1 Register 5, offset: 0xA04 */
37405   __IO uint32_t MAC_LAYER3_ADDR2_REG5;             /**< Layer 3 Address 2 Register 5, offset: 0xA08 */
37406   __IO uint32_t MAC_LAYER3_ADDR3_REG5;             /**< Layer 3 Address 3 Register 5, offset: 0xA0C */
37407        uint8_t RESERVED_34[16];
37408   __IO uint32_t MAC_L3_L4_CONTROL6;                /**< Layer 3 and Layer 4 Control of Filter 6, offset: 0xA20 */
37409   __IO uint32_t MAC_LAYER4_ADDRESS6;               /**< Layer 4 Address 6, offset: 0xA24 */
37410        uint8_t RESERVED_35[8];
37411   __IO uint32_t MAC_LAYER3_ADDR0_REG6;             /**< Layer 3 Address 0 Register 6, offset: 0xA30 */
37412   __IO uint32_t MAC_LAYER3_ADDR1_REG6;             /**< Layer 3 Address 1 Register 6, offset: 0xA34 */
37413   __IO uint32_t MAC_LAYER3_ADDR2_REG6;             /**< Layer 3 Address 2 Register 6, offset: 0xA38 */
37414   __IO uint32_t MAC_LAYER3_ADDR3_REG6;             /**< Layer 3 Address 3 Register 6, offset: 0xA3C */
37415        uint8_t RESERVED_36[16];
37416   __IO uint32_t MAC_L3_L4_CONTROL7;                /**< Layer 3 and Layer 4 Control of Filter 0, offset: 0xA50 */
37417   __IO uint32_t MAC_LAYER4_ADDRESS7;               /**< Layer 4 Address 7, offset: 0xA54 */
37418        uint8_t RESERVED_37[8];
37419   __IO uint32_t MAC_LAYER3_ADDR0_REG7;             /**< Layer 3 Address 0 Register 7, offset: 0xA60 */
37420   __IO uint32_t MAC_LAYER3_ADDR1_REG7;             /**< Layer 3 Address 1 Register 7, offset: 0xA64 */
37421   __IO uint32_t MAC_LAYER3_ADDR2_REG7;             /**< Layer 3 Address 2 Register 7, offset: 0xA68 */
37422   __IO uint32_t MAC_LAYER3_ADDR3_REG7;             /**< Layer 3 Address 3 Register 7, offset: 0xA6C */
37423        uint8_t RESERVED_38[144];
37424   __IO uint32_t MAC_TIMESTAMP_CONTROL;             /**< Timestamp Control, offset: 0xB00 */
37425   __IO uint32_t MAC_SUB_SECOND_INCREMENT;          /**< Subsecond Increment, offset: 0xB04 */
37426   __I  uint32_t MAC_SYSTEM_TIME_SECONDS;           /**< System Time Seconds, offset: 0xB08 */
37427   __I  uint32_t MAC_SYSTEM_TIME_NANOSECONDS;       /**< System Time Nanoseconds, offset: 0xB0C */
37428   __IO uint32_t MAC_SYSTEM_TIME_SECONDS_UPDATE;    /**< System Time Seconds Update, offset: 0xB10 */
37429   __IO uint32_t MAC_SYSTEM_TIME_NANOSECONDS_UPDATE; /**< System Time Nanoseconds Update, offset: 0xB14 */
37430   __IO uint32_t MAC_TIMESTAMP_ADDEND;              /**< Timestamp Addend, offset: 0xB18 */
37431   __IO uint32_t MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS; /**< System Time - Higher Word Seconds, offset: 0xB1C */
37432   __I  uint32_t MAC_TIMESTAMP_STATUS;              /**< Timestamp Status, offset: 0xB20 */
37433        uint8_t RESERVED_39[12];
37434   __I  uint32_t MAC_TX_TIMESTAMP_STATUS_NANOSECONDS; /**< Transmit Timestamp Status Nanoseconds, offset: 0xB30 */
37435   __I  uint32_t MAC_TX_TIMESTAMP_STATUS_SECONDS;   /**< Transmit Timestamp Status Seconds, offset: 0xB34 */
37436        uint8_t RESERVED_40[8];
37437   __IO uint32_t MAC_AUXILIARY_CONTROL;             /**< Auxiliary Timestamp Control, offset: 0xB40 */
37438        uint8_t RESERVED_41[4];
37439   __I  uint32_t MAC_AUXILIARY_TIMESTAMP_NANOSECONDS; /**< Auxiliary Timestamp Nanoseconds, offset: 0xB48 */
37440   __I  uint32_t MAC_AUXILIARY_TIMESTAMP_SECONDS;   /**< Auxiliary Timestamp Seconds, offset: 0xB4C */
37441   __IO uint32_t MAC_TIMESTAMP_INGRESS_ASYM_CORR;   /**< Timestamp Ingress Asymmetry Correction, offset: 0xB50 */
37442   __IO uint32_t MAC_TIMESTAMP_EGRESS_ASYM_CORR;    /**< imestamp Egress Asymmetry Correction, offset: 0xB54 */
37443   __IO uint32_t MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND; /**< Timestamp Ingress Correction Nanosecond, offset: 0xB58 */
37444   __IO uint32_t MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND; /**< Timestamp Egress Correction Nanosecond, offset: 0xB5C */
37445   __IO uint32_t MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC; /**< Timestamp Ingress Correction Subnanosecond, offset: 0xB60 */
37446   __IO uint32_t MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC; /**< Timestamp Egress Correction Subnanosecond, offset: 0xB64 */
37447   __I  uint32_t MAC_TIMESTAMP_INGRESS_LATENCY;     /**< Timestamp Ingress Latency, offset: 0xB68 */
37448   __I  uint32_t MAC_TIMESTAMP_EGRESS_LATENCY;      /**< Timestamp Egress Latency, offset: 0xB6C */
37449   __IO uint32_t MAC_PPS_CONTROL;                   /**< PPS Control, offset: 0xB70 */
37450        uint8_t RESERVED_42[12];
37451   __IO uint32_t MAC_PPS0_TARGET_TIME_SECONDS;      /**< PPS0 Target Time Seconds, offset: 0xB80 */
37452   __IO uint32_t MAC_PPS0_TARGET_TIME_NANOSECONDS;  /**< PPS0 Target Time Nanoseconds, offset: 0xB84 */
37453   __IO uint32_t MAC_PPS0_INTERVAL;                 /**< PPS0 Interval, offset: 0xB88 */
37454   __IO uint32_t MAC_PPS0_WIDTH;                    /**< PPS0 Width, offset: 0xB8C */
37455   __IO uint32_t MAC_PPS1_TARGET_TIME_SECONDS;      /**< PPS1 Target Time Seconds, offset: 0xB90 */
37456   __IO uint32_t MAC_PPS1_TARGET_TIME_NANOSECONDS;  /**< PPS1 Target Time Nanoseconds, offset: 0xB94 */
37457   __IO uint32_t MAC_PPS1_INTERVAL;                 /**< PPS1 Interval, offset: 0xB98 */
37458   __IO uint32_t MAC_PPS1_WIDTH;                    /**< PPS1 Width, offset: 0xB9C */
37459   __IO uint32_t MAC_PPS2_TARGET_TIME_SECONDS;      /**< PPS2 Target Time Seconds, offset: 0xBA0 */
37460   __IO uint32_t MAC_PPS2_TARGET_TIME_NANOSECONDS;  /**< PPS2 Target Time Nanoseconds, offset: 0xBA4 */
37461   __IO uint32_t MAC_PPS2_INTERVAL;                 /**< PPS2 Interval, offset: 0xBA8 */
37462   __IO uint32_t MAC_PPS2_WIDTH;                    /**< PPS2 Width, offset: 0xBAC */
37463   __IO uint32_t MAC_PPS3_TARGET_TIME_SECONDS;      /**< PPS3 Target Time Seconds, offset: 0xBB0 */
37464   __IO uint32_t MAC_PPS3_TARGET_TIME_NANOSECONDS;  /**< PPS3 Target Time Nanoseconds, offset: 0xBB4 */
37465   __IO uint32_t MAC_PPS3_INTERVAL;                 /**< PPS3 Interval, offset: 0xBB8 */
37466   __IO uint32_t MAC_PPS3_WIDTH;                    /**< PPS3 Width, offset: 0xBBC */
37467   __IO uint32_t MAC_PTO_CONTROL;                   /**< PTP Offload Engine Control, offset: 0xBC0 */
37468   __IO uint32_t MAC_SOURCE_PORT_IDENTITY0;         /**< Source Port Identity 0, offset: 0xBC4 */
37469   __IO uint32_t MAC_SOURCE_PORT_IDENTITY1;         /**< Source Port Identity 1, offset: 0xBC8 */
37470   __IO uint32_t MAC_SOURCE_PORT_IDENTITY2;         /**< Source Port Identity 2, offset: 0xBCC */
37471   __IO uint32_t MAC_LOG_MESSAGE_INTERVAL;          /**< Log Message Interval, offset: 0xBD0 */
37472        uint8_t RESERVED_43[44];
37473   __IO uint32_t MTL_OPERATION_MODE;                /**< MTL Operation Mode, offset: 0xC00 */
37474        uint8_t RESERVED_44[4];
37475   __IO uint32_t MTL_DBG_CTL;                       /**< FIFO Debug Access Control and Status, offset: 0xC08 */
37476   __IO uint32_t MTL_DBG_STS;                       /**< FIFO Debug Status, offset: 0xC0C */
37477   __IO uint32_t MTL_FIFO_DEBUG_DATA;               /**< FIFO Debug Data, offset: 0xC10 */
37478        uint8_t RESERVED_45[12];
37479   __I  uint32_t MTL_INTERRUPT_STATUS;              /**< MTL Interrupt Status, offset: 0xC20 */
37480        uint8_t RESERVED_46[12];
37481   __IO uint32_t MTL_RXQ_DMA_MAP0;                  /**< Receive Queue and DMA Channel Mapping 0, offset: 0xC30 */
37482   __IO uint32_t MTL_RXQ_DMA_MAP1;                  /**< Receive Queue and DMA Channel Mapping 1, offset: 0xC34 */
37483        uint8_t RESERVED_47[8];
37484   __IO uint32_t MTL_TBS_CTRL;                      /**< Time Based Scheduling Control, offset: 0xC40 */
37485        uint8_t RESERVED_48[12];
37486   __IO uint32_t MTL_EST_CONTROL;                   /**< Enhancements to Scheduled Transmission Control, offset: 0xC50 */
37487        uint8_t RESERVED_49[4];
37488   __IO uint32_t MTL_EST_STATUS;                    /**< Enhancements to Scheduled Transmission Status, offset: 0xC58 */
37489        uint8_t RESERVED_50[4];
37490   __IO uint32_t MTL_EST_SCH_ERROR;                 /**< EST Scheduling Error, offset: 0xC60 */
37491   __IO uint32_t MTL_EST_FRM_SIZE_ERROR;            /**< EST Frame Size Error, offset: 0xC64 */
37492   __I  uint32_t MTL_EST_FRM_SIZE_CAPTURE;          /**< EST Frame Size Capture, offset: 0xC68 */
37493        uint8_t RESERVED_51[4];
37494   __IO uint32_t MTL_EST_INTR_ENABLE;               /**< EST Interrupt Enable, offset: 0xC70 */
37495        uint8_t RESERVED_52[12];
37496   __IO uint32_t MTL_EST_GCL_CONTROL;               /**< EST GCL Control, offset: 0xC80 */
37497   __IO uint32_t MTL_EST_GCL_DATA;                  /**< EST GCL Data, offset: 0xC84 */
37498        uint8_t RESERVED_53[8];
37499   __IO uint32_t MTL_FPE_CTRL_STS;                  /**< Frame Preemption Control and Status, offset: 0xC90 */
37500   __IO uint32_t MTL_FPE_ADVANCE;                   /**< Frame Preemption Hold and Release Advance, offset: 0xC94 */
37501        uint8_t RESERVED_54[8];
37502   __IO uint32_t MTL_RXP_CONTROL_STATUS;            /**< RXP Control Status, offset: 0xCA0 */
37503   __IO uint32_t MTL_RXP_INTERRUPT_CONTROL_STATUS;  /**< RXP Interrupt Control Status, offset: 0xCA4 */
37504   __I  uint32_t MTL_RXP_DROP_CNT;                  /**< RXP Drop Count, offset: 0xCA8 */
37505   __I  uint32_t MTL_RXP_ERROR_CNT;                 /**< RXP Error Count, offset: 0xCAC */
37506   __IO uint32_t MTL_RXP_INDIRECT_ACC_CONTROL_STATUS; /**< RXP Indirect Access Control and Status, offset: 0xCB0 */
37507   __IO uint32_t MTL_RXP_INDIRECT_ACC_DATA;         /**< RXP Indirect Access Data, offset: 0xCB4 */
37508        uint8_t RESERVED_55[72];
37509   struct {                                         /* offset: 0xD00, array step: 0x40 */
37510     __IO uint32_t MTL_TXQX_OP_MODE;                  /**< Queue 0 Transmit Operation Mode..Queue 4 Transmit Operation Mode, array offset: 0xD00, array step: 0x40 */
37511     __I  uint32_t MTL_TXQX_UNDRFLW;                  /**< Queue 0 Underflow Counter..Queue 4 Underflow Counter, array offset: 0xD04, array step: 0x40 */
37512     __I  uint32_t MTL_TXQX_DBG;                      /**< Queue 0 Transmit Debug..Queue 4 Transmit Debug, array offset: 0xD08, array step: 0x40 */
37513          uint8_t RESERVED_0[4];
37514     __IO uint32_t MTL_TXQX_ETS_CTRL;                 /**< Queue 1 ETS Control..Queue 4 ETS Control, array offset: 0xD10, array step: 0x40 */
37515     __I  uint32_t MTL_TXQX_ETS_STAT;                 /**< Queue 0 ETS Status..Queue 4 ETS Status, array offset: 0xD14, array step: 0x40 */
37516     __IO uint32_t MTL_TXQX_QNTM_WGHT;                /**< Queue 0 Quantum or Weights..Queue 4 idleSlopeCredit, Quantum or Weights, array offset: 0xD18, array step: 0x40 */
37517     __IO uint32_t MTL_TXQX_SNDSLP_CRDT;              /**< Queue 1 sendSlopeCredit..Queue 4 sendSlopeCredit, array offset: 0xD1C, array step: 0x40 */
37518     __IO uint32_t MTL_TXQX_HI_CRDT;                  /**< Queue 1 hiCredit..Queue 4 hiCredit, array offset: 0xD20, array step: 0x40 */
37519     __IO uint32_t MTL_TXQX_LO_CRDT;                  /**< Queue 1 loCredit..Queue 4 loCredit, array offset: 0xD24, array step: 0x40 */
37520          uint8_t RESERVED_1[4];
37521     __IO uint32_t MTL_TXQX_INTCTRL_STAT;             /**< Queue 0 Interrupt Control Status..Queue 4 Interrupt Control Status, array offset: 0xD2C, array step: 0x40 */
37522     __IO uint32_t MTL_RXQX_OP_MODE;                  /**< Queue 0 Receive Operation Mode..Queue 4 Receive Operation Mode, array offset: 0xD30, array step: 0x40 */
37523     __I  uint32_t MTL_RXQX_MISSPKT_OVRFLW_CNT;       /**< Queue 0 Missed Packet and Overflow Counter..Queue 4 Missed Packet and Overflow Counter, array offset: 0xD34, array step: 0x40 */
37524     __I  uint32_t MTL_RXQX_DBG;                      /**< Queue 0 Receive Debug..Queue 4 Receive Debug, array offset: 0xD38, array step: 0x40 */
37525     __IO uint32_t MTL_RXQX_CTRL;                     /**< Queue 0 Receive Control..Queue 4 Receive Control, array offset: 0xD3C, array step: 0x40 */
37526   } MTL_QUEUE[5];
37527        uint8_t RESERVED_56[448];
37528   __IO uint32_t DMA_MODE;                          /**< DMA Bus Mode, offset: 0x1000 */
37529   __IO uint32_t DMA_SYSBUS_MODE;                   /**< DMA System Bus Mode, offset: 0x1004 */
37530   __I  uint32_t DMA_INTERRUPT_STATUS;              /**< DMA Interrupt Status, offset: 0x1008 */
37531   __I  uint32_t DMA_DEBUG_STATUS0;                 /**< DMA Debug Status 0, offset: 0x100C */
37532   __I  uint32_t DMA_DEBUG_STATUS1;                 /**< DMA Debug Status 1, offset: 0x1010 */
37533        uint8_t RESERVED_57[44];
37534   __IO uint32_t DMA_AXI_LPI_ENTRY_INTERVAL;        /**< AXI LPI Entry Interval Control, offset: 0x1040 */
37535        uint8_t RESERVED_58[12];
37536   __IO uint32_t DMA_TBS_CTRL;                      /**< TBS Control, offset: 0x1050 */
37537        uint8_t RESERVED_59[172];
37538   struct {                                         /* offset: 0x1100, array step: 0x80 */
37539     __IO uint32_t DMA_CHX_CTRL;                      /**< DMA Channel 0 Control..DMA Channel 4 Control, array offset: 0x1100, array step: 0x80 */
37540     __IO uint32_t DMA_CHX_TX_CTRL;                   /**< DMA Channel 0 Transmit Control..DMA Channel 4 Transmit Control, array offset: 0x1104, array step: 0x80 */
37541     __IO uint32_t DMA_CHX_RX_CTRL;                   /**< DMA Channel 0 Receive Control..DMA Channel 4 Receive Control, array offset: 0x1108, array step: 0x80 */
37542          uint8_t RESERVED_0[8];
37543     __IO uint32_t DMA_CHX_TXDESC_LIST_ADDR;          /**< Channel 0 Tx Descriptor List Address register..Channel 4 Tx Descriptor List Address, array offset: 0x1114, array step: 0x80 */
37544          uint8_t RESERVED_1[4];
37545     __IO uint32_t DMA_CHX_RXDESC_LIST_ADDR;          /**< Channel 0 Rx Descriptor List Address register..Channel 4 Rx Descriptor List Address, array offset: 0x111C, array step: 0x80 */
37546     __IO uint32_t DMA_CHX_TXDESC_TAIL_PTR;           /**< Channel 0 Tx Descriptor Tail Pointer..Channel 4 Tx Descriptor Tail Pointer, array offset: 0x1120, array step: 0x80 */
37547          uint8_t RESERVED_2[4];
37548     __IO uint32_t DMA_CHX_RXDESC_TAIL_PTR;           /**< Channel 0 Rx Descriptor Tail Pointer..Channel 4 Rx Descriptor Tail Pointer, array offset: 0x1128, array step: 0x80 */
37549     __IO uint32_t DMA_CHX_TXDESC_RING_LENGTH;        /**< Channel 0 Tx Descriptor Ring Length..Channel 4 Tx Descriptor Ring Length, array offset: 0x112C, array step: 0x80 */
37550     __IO uint32_t DMA_CHX_RXDESC_RING_LENGTH;        /**< Channel 0 Rx Descriptor Ring Length..Channel 4 Rx Descriptor Ring Length, array offset: 0x1130, array step: 0x80 */
37551     __IO uint32_t DMA_CHX_INT_EN;                    /**< Channel 0 Interrupt Enable..Channel 4 Interrupt Enable, array offset: 0x1134, array step: 0x80 */
37552     __IO uint32_t DMA_CHX_RX_INT_WDTIMER;            /**< Channel 0 Receive Interrupt Watchdog Timer..Channel 4 Receive Interrupt Watchdog Timer, array offset: 0x1138, array step: 0x80 */
37553     __IO uint32_t DMA_CHX_SLOT_FUNC_CTRL_STAT;       /**< Channel 0 Slot Function Control and Status..Channel 4 Slot Function Control and Status, array offset: 0x113C, array step: 0x80 */
37554          uint8_t RESERVED_3[4];
37555     __I  uint32_t DMA_CHX_CUR_HST_TXDESC;            /**< Channel 0 Current Application Transmit Descriptor..Channel 4 Current Application Transmit Descriptor, array offset: 0x1144, array step: 0x80 */
37556          uint8_t RESERVED_4[4];
37557     __I  uint32_t DMA_CHX_CUR_HST_RXDESC;            /**< Channel 0 Current Application Receive Descriptor..Channel 4 Current Application Receive Descriptor, array offset: 0x114C, array step: 0x80 */
37558          uint8_t RESERVED_5[4];
37559     __I  uint32_t DMA_CHX_CUR_HST_TXBUF;             /**< Channel 0 Current Application Transmit Buffer Address..Channel 4 Current Application Transmit Buffer Address, array offset: 0x1154, array step: 0x80 */
37560          uint8_t RESERVED_6[4];
37561     __I  uint32_t DMA_CHX_CUR_HST_RXBUF;             /**< Channel 0 Current Application Receive Buffer Address..Channel 4 Current Application Receive Buffer Address, array offset: 0x115C, array step: 0x80 */
37562     __IO uint32_t DMA_CHX_STAT;                      /**< DMA Channel 0 Status..DMA Channel 4 Status, array offset: 0x1160, array step: 0x80 */
37563     __I  uint32_t DMA_CHX_MISS_FRAME_CNT;            /**< Channel 0 Missed Frame Counter..Channel 4 Missed Frame Counter, array offset: 0x1164, array step: 0x80 */
37564     __I  uint32_t DMA_CHX_RXP_ACCEPT_CNT;            /**< Channel 0 RXP Frames Accepted Counter..Channel 4 RXP Frames Accepted Counter, array offset: 0x1168, array step: 0x80 */
37565     __I  uint32_t DMA_CHX_RX_ERI_CNT;                /**< Channel 0 Receive ERI Counter..Channel 4 Receive ERI Counter, array offset: 0x116C, array step: 0x80 */
37566          uint8_t RESERVED_7[16];
37567   } DMA_CH[5];
37568 } ENET_QOS_Type;
37569 
37570 /* ----------------------------------------------------------------------------
37571    -- ENET_QOS Register Masks
37572    ---------------------------------------------------------------------------- */
37573 
37574 /*!
37575  * @addtogroup ENET_QOS_Register_Masks ENET_QOS Register Masks
37576  * @{
37577  */
37578 
37579 /*! @name MAC_CONFIGURATION - MAC Configuration Register */
37580 /*! @{ */
37581 
37582 #define ENET_QOS_MAC_CONFIGURATION_RE_MASK       (0x1U)
37583 #define ENET_QOS_MAC_CONFIGURATION_RE_SHIFT      (0U)
37584 /*! RE - Receiver Enable
37585  *  0b0..Receiver is disabled
37586  *  0b1..Receiver is enabled
37587  */
37588 #define ENET_QOS_MAC_CONFIGURATION_RE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_RE_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_RE_MASK)
37589 
37590 #define ENET_QOS_MAC_CONFIGURATION_TE_MASK       (0x2U)
37591 #define ENET_QOS_MAC_CONFIGURATION_TE_SHIFT      (1U)
37592 /*! TE - Transmitter Enable
37593  *  0b0..Transmitter is disabled
37594  *  0b1..Transmitter is enabled
37595  */
37596 #define ENET_QOS_MAC_CONFIGURATION_TE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_TE_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_TE_MASK)
37597 
37598 #define ENET_QOS_MAC_CONFIGURATION_PRELEN_MASK   (0xCU)
37599 #define ENET_QOS_MAC_CONFIGURATION_PRELEN_SHIFT  (2U)
37600 /*! PRELEN - Preamble Length for Transmit packets
37601  *  0b10..3 bytes of preamble
37602  *  0b01..5 bytes of preamble
37603  *  0b00..7 bytes of preamble
37604  *  0b11..Reserved
37605  */
37606 #define ENET_QOS_MAC_CONFIGURATION_PRELEN(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_PRELEN_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_PRELEN_MASK)
37607 
37608 #define ENET_QOS_MAC_CONFIGURATION_DC_MASK       (0x10U)
37609 #define ENET_QOS_MAC_CONFIGURATION_DC_SHIFT      (4U)
37610 /*! DC - Deferral Check
37611  *  0b0..Deferral check function is disabled
37612  *  0b1..Deferral check function is enabled
37613  */
37614 #define ENET_QOS_MAC_CONFIGURATION_DC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_DC_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_DC_MASK)
37615 
37616 #define ENET_QOS_MAC_CONFIGURATION_BL_MASK       (0x60U)
37617 #define ENET_QOS_MAC_CONFIGURATION_BL_SHIFT      (5U)
37618 /*! BL - Back-Off Limit
37619  *  0b11..k = min(n,1)
37620  *  0b00..k = min(n,10)
37621  *  0b10..k = min(n,4)
37622  *  0b01..k = min(n,8)
37623  */
37624 #define ENET_QOS_MAC_CONFIGURATION_BL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_BL_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_BL_MASK)
37625 
37626 #define ENET_QOS_MAC_CONFIGURATION_DR_MASK       (0x100U)
37627 #define ENET_QOS_MAC_CONFIGURATION_DR_SHIFT      (8U)
37628 /*! DR - Disable Retry
37629  *  0b1..Disable Retry
37630  *  0b0..Enable Retry
37631  */
37632 #define ENET_QOS_MAC_CONFIGURATION_DR(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_DR_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_DR_MASK)
37633 
37634 #define ENET_QOS_MAC_CONFIGURATION_DCRS_MASK     (0x200U)
37635 #define ENET_QOS_MAC_CONFIGURATION_DCRS_SHIFT    (9U)
37636 /*! DCRS - Disable Carrier Sense During Transmission
37637  *  0b1..Disable Carrier Sense During Transmission
37638  *  0b0..Enable Carrier Sense During Transmission
37639  */
37640 #define ENET_QOS_MAC_CONFIGURATION_DCRS(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_DCRS_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_DCRS_MASK)
37641 
37642 #define ENET_QOS_MAC_CONFIGURATION_DO_MASK       (0x400U)
37643 #define ENET_QOS_MAC_CONFIGURATION_DO_SHIFT      (10U)
37644 /*! DO - Disable Receive Own
37645  *  0b1..Disable Receive Own
37646  *  0b0..Enable Receive Own
37647  */
37648 #define ENET_QOS_MAC_CONFIGURATION_DO(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_DO_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_DO_MASK)
37649 
37650 #define ENET_QOS_MAC_CONFIGURATION_ECRSFD_MASK   (0x800U)
37651 #define ENET_QOS_MAC_CONFIGURATION_ECRSFD_SHIFT  (11U)
37652 /*! ECRSFD - Enable Carrier Sense Before Transmission in Full-Duplex Mode
37653  *  0b0..ECRSFD is disabled
37654  *  0b1..ECRSFD is enabled
37655  */
37656 #define ENET_QOS_MAC_CONFIGURATION_ECRSFD(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_ECRSFD_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_ECRSFD_MASK)
37657 
37658 #define ENET_QOS_MAC_CONFIGURATION_LM_MASK       (0x1000U)
37659 #define ENET_QOS_MAC_CONFIGURATION_LM_SHIFT      (12U)
37660 /*! LM - Loopback Mode
37661  *  0b0..Loopback is disabled
37662  *  0b1..Loopback is enabled
37663  */
37664 #define ENET_QOS_MAC_CONFIGURATION_LM(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_LM_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_LM_MASK)
37665 
37666 #define ENET_QOS_MAC_CONFIGURATION_DM_MASK       (0x2000U)
37667 #define ENET_QOS_MAC_CONFIGURATION_DM_SHIFT      (13U)
37668 /*! DM - Duplex Mode
37669  *  0b1..Full-duplex mode
37670  *  0b0..Half-duplex mode
37671  */
37672 #define ENET_QOS_MAC_CONFIGURATION_DM(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_DM_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_DM_MASK)
37673 
37674 #define ENET_QOS_MAC_CONFIGURATION_FES_MASK      (0x4000U)
37675 #define ENET_QOS_MAC_CONFIGURATION_FES_SHIFT     (14U)
37676 /*! FES - Speed
37677  *  0b1..100 Mbps when PS bit is 1 and 2.5 Gbps when PS bit is 0
37678  *  0b0..10 Mbps when PS bit is 1 and 1 Gbps when PS bit is 0
37679  */
37680 #define ENET_QOS_MAC_CONFIGURATION_FES(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_FES_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_FES_MASK)
37681 
37682 #define ENET_QOS_MAC_CONFIGURATION_PS_MASK       (0x8000U)
37683 #define ENET_QOS_MAC_CONFIGURATION_PS_SHIFT      (15U)
37684 /*! PS - Port Select
37685  *  0b0..For 1000 or 2500 Mbps operations
37686  *  0b1..For 10 or 100 Mbps operations
37687  */
37688 #define ENET_QOS_MAC_CONFIGURATION_PS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_PS_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_PS_MASK)
37689 
37690 #define ENET_QOS_MAC_CONFIGURATION_JE_MASK       (0x10000U)
37691 #define ENET_QOS_MAC_CONFIGURATION_JE_SHIFT      (16U)
37692 /*! JE - Jumbo Packet Enable When this bit is set, the MAC allows jumbo packets of 9,018 bytes
37693  *    (9,022 bytes for VLAN tagged packets) without reporting a giant packet error in the Rx packet
37694  *    status.
37695  *  0b0..Jumbo packet is disabled
37696  *  0b1..Jumbo packet is enabled
37697  */
37698 #define ENET_QOS_MAC_CONFIGURATION_JE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_JE_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_JE_MASK)
37699 
37700 #define ENET_QOS_MAC_CONFIGURATION_JD_MASK       (0x20000U)
37701 #define ENET_QOS_MAC_CONFIGURATION_JD_SHIFT      (17U)
37702 /*! JD - Jabber Disable
37703  *  0b1..Jabber is disabled
37704  *  0b0..Jabber is enabled
37705  */
37706 #define ENET_QOS_MAC_CONFIGURATION_JD(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_JD_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_JD_MASK)
37707 
37708 #define ENET_QOS_MAC_CONFIGURATION_BE_MASK       (0x40000U)
37709 #define ENET_QOS_MAC_CONFIGURATION_BE_SHIFT      (18U)
37710 /*! BE - Packet Burst Enable When this bit is set, the MAC allows packet bursting during
37711  *    transmission in the GMII half-duplex mode.
37712  *  0b0..Packet Burst is disabled
37713  *  0b1..Packet Burst is enabled
37714  */
37715 #define ENET_QOS_MAC_CONFIGURATION_BE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_BE_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_BE_MASK)
37716 
37717 #define ENET_QOS_MAC_CONFIGURATION_WD_MASK       (0x80000U)
37718 #define ENET_QOS_MAC_CONFIGURATION_WD_SHIFT      (19U)
37719 /*! WD - Watchdog Disable
37720  *  0b1..Watchdog is disabled
37721  *  0b0..Watchdog is enabled
37722  */
37723 #define ENET_QOS_MAC_CONFIGURATION_WD(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_WD_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_WD_MASK)
37724 
37725 #define ENET_QOS_MAC_CONFIGURATION_ACS_MASK      (0x100000U)
37726 #define ENET_QOS_MAC_CONFIGURATION_ACS_SHIFT     (20U)
37727 /*! ACS - Automatic Pad or CRC Stripping When this bit is set, the MAC strips the Pad or FCS field
37728  *    on the incoming packets only if the value of the length field is less than 1,536 bytes.
37729  *  0b0..Automatic Pad or CRC Stripping is disabled
37730  *  0b1..Automatic Pad or CRC Stripping is enabled
37731  */
37732 #define ENET_QOS_MAC_CONFIGURATION_ACS(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_ACS_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_ACS_MASK)
37733 
37734 #define ENET_QOS_MAC_CONFIGURATION_CST_MASK      (0x200000U)
37735 #define ENET_QOS_MAC_CONFIGURATION_CST_SHIFT     (21U)
37736 /*! CST - CRC stripping for Type packets When this bit is set, the last four bytes (FCS) of all
37737  *    packets of Ether type (type field greater than 1,536) are stripped and dropped before forwarding
37738  *    the packet to the application.
37739  *  0b0..CRC stripping for Type packets is disabled
37740  *  0b1..CRC stripping for Type packets is enabled
37741  */
37742 #define ENET_QOS_MAC_CONFIGURATION_CST(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_CST_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_CST_MASK)
37743 
37744 #define ENET_QOS_MAC_CONFIGURATION_S2KP_MASK     (0x400000U)
37745 #define ENET_QOS_MAC_CONFIGURATION_S2KP_SHIFT    (22U)
37746 /*! S2KP - IEEE 802.
37747  *  0b0..Support upto 2K packet is disabled
37748  *  0b1..Support upto 2K packet is Enabled
37749  */
37750 #define ENET_QOS_MAC_CONFIGURATION_S2KP(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_S2KP_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_S2KP_MASK)
37751 
37752 #define ENET_QOS_MAC_CONFIGURATION_GPSLCE_MASK   (0x800000U)
37753 #define ENET_QOS_MAC_CONFIGURATION_GPSLCE_SHIFT  (23U)
37754 /*! GPSLCE - Giant Packet Size Limit Control Enable
37755  *  0b0..Giant Packet Size Limit Control is disabled
37756  *  0b1..Giant Packet Size Limit Control is enabled
37757  */
37758 #define ENET_QOS_MAC_CONFIGURATION_GPSLCE(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_GPSLCE_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_GPSLCE_MASK)
37759 
37760 #define ENET_QOS_MAC_CONFIGURATION_IPG_MASK      (0x7000000U)
37761 #define ENET_QOS_MAC_CONFIGURATION_IPG_SHIFT     (24U)
37762 /*! IPG - Inter-Packet Gap These bits control the minimum IPG between packets during transmission.
37763  *  0b111..40 bit times IPG
37764  *  0b110..48 bit times IPG
37765  *  0b101..56 bit times IPG
37766  *  0b100..64 bit times IPG
37767  *  0b011..72 bit times IPG
37768  *  0b010..80 bit times IPG
37769  *  0b001..88 bit times IPG
37770  *  0b000..96 bit times IPG
37771  */
37772 #define ENET_QOS_MAC_CONFIGURATION_IPG(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_IPG_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_IPG_MASK)
37773 
37774 #define ENET_QOS_MAC_CONFIGURATION_IPC_MASK      (0x8000000U)
37775 #define ENET_QOS_MAC_CONFIGURATION_IPC_SHIFT     (27U)
37776 /*! IPC - Checksum Offload
37777  *  0b0..IP header/payload checksum checking is disabled
37778  *  0b1..IP header/payload checksum checking is enabled
37779  */
37780 #define ENET_QOS_MAC_CONFIGURATION_IPC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_IPC_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_IPC_MASK)
37781 
37782 #define ENET_QOS_MAC_CONFIGURATION_SARC_MASK     (0x70000000U)
37783 #define ENET_QOS_MAC_CONFIGURATION_SARC_SHIFT    (28U)
37784 /*! SARC - Source Address Insertion or Replacement Control
37785  *  0b010..Contents of MAC Addr-0 inserted in SA field
37786  *  0b011..Contents of MAC Addr-0 replaces SA field
37787  *  0b110..Contents of MAC Addr-1 inserted in SA field
37788  *  0b111..Contents of MAC Addr-1 replaces SA field
37789  *  0b000..mti_sa_ctrl_i and ati_sa_ctrl_i input signals control the SA field generation
37790  */
37791 #define ENET_QOS_MAC_CONFIGURATION_SARC(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CONFIGURATION_SARC_SHIFT)) & ENET_QOS_MAC_CONFIGURATION_SARC_MASK)
37792 /*! @} */
37793 
37794 /*! @name MAC_EXT_CONFIGURATION - MAC Extended Configuration Register */
37795 /*! @{ */
37796 
37797 #define ENET_QOS_MAC_EXT_CONFIGURATION_GPSL_MASK (0x3FFFU)
37798 #define ENET_QOS_MAC_EXT_CONFIGURATION_GPSL_SHIFT (0U)
37799 /*! GPSL - Giant Packet Size Limit
37800  */
37801 #define ENET_QOS_MAC_EXT_CONFIGURATION_GPSL(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_GPSL_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_GPSL_MASK)
37802 
37803 #define ENET_QOS_MAC_EXT_CONFIGURATION_DCRCC_MASK (0x10000U)
37804 #define ENET_QOS_MAC_EXT_CONFIGURATION_DCRCC_SHIFT (16U)
37805 /*! DCRCC - Disable CRC Checking for Received Packets
37806  *  0b1..CRC Checking is disabled
37807  *  0b0..CRC Checking is enabled
37808  */
37809 #define ENET_QOS_MAC_EXT_CONFIGURATION_DCRCC(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_DCRCC_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_DCRCC_MASK)
37810 
37811 #define ENET_QOS_MAC_EXT_CONFIGURATION_SPEN_MASK (0x20000U)
37812 #define ENET_QOS_MAC_EXT_CONFIGURATION_SPEN_SHIFT (17U)
37813 /*! SPEN - Slow Protocol Detection Enable
37814  *  0b0..Slow Protocol Detection is disabled
37815  *  0b1..Slow Protocol Detection is enabled
37816  */
37817 #define ENET_QOS_MAC_EXT_CONFIGURATION_SPEN(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_SPEN_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_SPEN_MASK)
37818 
37819 #define ENET_QOS_MAC_EXT_CONFIGURATION_USP_MASK  (0x40000U)
37820 #define ENET_QOS_MAC_EXT_CONFIGURATION_USP_SHIFT (18U)
37821 /*! USP - Unicast Slow Protocol Packet Detect
37822  *  0b0..Unicast Slow Protocol Packet Detection is disabled
37823  *  0b1..Unicast Slow Protocol Packet Detection is enabled
37824  */
37825 #define ENET_QOS_MAC_EXT_CONFIGURATION_USP(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_USP_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_USP_MASK)
37826 
37827 #define ENET_QOS_MAC_EXT_CONFIGURATION_PDC_MASK  (0x80000U)
37828 #define ENET_QOS_MAC_EXT_CONFIGURATION_PDC_SHIFT (19U)
37829 /*! PDC - Packet Duplication Control
37830  *  0b0..Packet Duplication Control is disabled
37831  *  0b1..Packet Duplication Control is enabled
37832  */
37833 #define ENET_QOS_MAC_EXT_CONFIGURATION_PDC(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_PDC_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_PDC_MASK)
37834 
37835 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPGEN_MASK (0x1000000U)
37836 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPGEN_SHIFT (24U)
37837 /*! EIPGEN - Extended Inter-Packet Gap Enable
37838  *  0b0..Extended Inter-Packet Gap is disabled
37839  *  0b1..Extended Inter-Packet Gap is enabled
37840  */
37841 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPGEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_EIPGEN_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_EIPGEN_MASK)
37842 
37843 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPG_MASK (0x3E000000U)
37844 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPG_SHIFT (25U)
37845 /*! EIPG - Extended Inter-Packet Gap
37846  */
37847 #define ENET_QOS_MAC_EXT_CONFIGURATION_EIPG(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_EXT_CONFIGURATION_EIPG_SHIFT)) & ENET_QOS_MAC_EXT_CONFIGURATION_EIPG_MASK)
37848 /*! @} */
37849 
37850 /*! @name MAC_PACKET_FILTER - MAC Packet Filter */
37851 /*! @{ */
37852 
37853 #define ENET_QOS_MAC_PACKET_FILTER_PR_MASK       (0x1U)
37854 #define ENET_QOS_MAC_PACKET_FILTER_PR_SHIFT      (0U)
37855 /*! PR - Promiscuous Mode
37856  *  0b0..Promiscuous Mode is disabled
37857  *  0b1..Promiscuous Mode is enabled
37858  */
37859 #define ENET_QOS_MAC_PACKET_FILTER_PR(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_PR_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_PR_MASK)
37860 
37861 #define ENET_QOS_MAC_PACKET_FILTER_HUC_MASK      (0x2U)
37862 #define ENET_QOS_MAC_PACKET_FILTER_HUC_SHIFT     (1U)
37863 /*! HUC - Hash Unicast
37864  *  0b0..Hash Unicast is disabled
37865  *  0b1..Hash Unicast is enabled
37866  */
37867 #define ENET_QOS_MAC_PACKET_FILTER_HUC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_HUC_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_HUC_MASK)
37868 
37869 #define ENET_QOS_MAC_PACKET_FILTER_HMC_MASK      (0x4U)
37870 #define ENET_QOS_MAC_PACKET_FILTER_HMC_SHIFT     (2U)
37871 /*! HMC - Hash Multicast
37872  *  0b0..Hash Multicast is disabled
37873  *  0b1..Hash Multicast is enabled
37874  */
37875 #define ENET_QOS_MAC_PACKET_FILTER_HMC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_HMC_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_HMC_MASK)
37876 
37877 #define ENET_QOS_MAC_PACKET_FILTER_DAIF_MASK     (0x8U)
37878 #define ENET_QOS_MAC_PACKET_FILTER_DAIF_SHIFT    (3U)
37879 /*! DAIF - DA Inverse Filtering
37880  *  0b0..DA Inverse Filtering is disabled
37881  *  0b1..DA Inverse Filtering is enabled
37882  */
37883 #define ENET_QOS_MAC_PACKET_FILTER_DAIF(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_DAIF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_DAIF_MASK)
37884 
37885 #define ENET_QOS_MAC_PACKET_FILTER_PM_MASK       (0x10U)
37886 #define ENET_QOS_MAC_PACKET_FILTER_PM_SHIFT      (4U)
37887 /*! PM - Pass All Multicast
37888  *  0b0..Pass All Multicast is disabled
37889  *  0b1..Pass All Multicast is enabled
37890  */
37891 #define ENET_QOS_MAC_PACKET_FILTER_PM(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_PM_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_PM_MASK)
37892 
37893 #define ENET_QOS_MAC_PACKET_FILTER_DBF_MASK      (0x20U)
37894 #define ENET_QOS_MAC_PACKET_FILTER_DBF_SHIFT     (5U)
37895 /*! DBF - Disable Broadcast Packets
37896  *  0b1..Disable Broadcast Packets
37897  *  0b0..Enable Broadcast Packets
37898  */
37899 #define ENET_QOS_MAC_PACKET_FILTER_DBF(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_DBF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_DBF_MASK)
37900 
37901 #define ENET_QOS_MAC_PACKET_FILTER_PCF_MASK      (0xC0U)
37902 #define ENET_QOS_MAC_PACKET_FILTER_PCF_SHIFT     (6U)
37903 /*! PCF - Pass Control Packets These bits control the forwarding of all control packets (including
37904  *    unicast and multicast Pause packets).
37905  *  0b00..MAC filters all control packets from reaching the application
37906  *  0b10..MAC forwards all control packets to the application even if they fail the Address filter
37907  *  0b11..MAC forwards the control packets that pass the Address filter
37908  *  0b01..MAC forwards all control packets except Pause packets to the application even if they fail the Address filter
37909  */
37910 #define ENET_QOS_MAC_PACKET_FILTER_PCF(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_PCF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_PCF_MASK)
37911 
37912 #define ENET_QOS_MAC_PACKET_FILTER_SAIF_MASK     (0x100U)
37913 #define ENET_QOS_MAC_PACKET_FILTER_SAIF_SHIFT    (8U)
37914 /*! SAIF - SA Inverse Filtering
37915  *  0b0..SA Inverse Filtering is disabled
37916  *  0b1..SA Inverse Filtering is enabled
37917  */
37918 #define ENET_QOS_MAC_PACKET_FILTER_SAIF(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_SAIF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_SAIF_MASK)
37919 
37920 #define ENET_QOS_MAC_PACKET_FILTER_SAF_MASK      (0x200U)
37921 #define ENET_QOS_MAC_PACKET_FILTER_SAF_SHIFT     (9U)
37922 /*! SAF - Source Address Filter Enable
37923  *  0b0..SA Filtering is disabled
37924  *  0b1..SA Filtering is enabled
37925  */
37926 #define ENET_QOS_MAC_PACKET_FILTER_SAF(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_SAF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_SAF_MASK)
37927 
37928 #define ENET_QOS_MAC_PACKET_FILTER_HPF_MASK      (0x400U)
37929 #define ENET_QOS_MAC_PACKET_FILTER_HPF_SHIFT     (10U)
37930 /*! HPF - Hash or Perfect Filter
37931  *  0b0..Hash or Perfect Filter is disabled
37932  *  0b1..Hash or Perfect Filter is enabled
37933  */
37934 #define ENET_QOS_MAC_PACKET_FILTER_HPF(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_HPF_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_HPF_MASK)
37935 
37936 #define ENET_QOS_MAC_PACKET_FILTER_VTFE_MASK     (0x10000U)
37937 #define ENET_QOS_MAC_PACKET_FILTER_VTFE_SHIFT    (16U)
37938 /*! VTFE - VLAN Tag Filter Enable
37939  *  0b0..VLAN Tag Filter is disabled
37940  *  0b1..VLAN Tag Filter is enabled
37941  */
37942 #define ENET_QOS_MAC_PACKET_FILTER_VTFE(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_VTFE_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_VTFE_MASK)
37943 
37944 #define ENET_QOS_MAC_PACKET_FILTER_IPFE_MASK     (0x100000U)
37945 #define ENET_QOS_MAC_PACKET_FILTER_IPFE_SHIFT    (20U)
37946 /*! IPFE - Layer 3 and Layer 4 Filter Enable
37947  *  0b0..Layer 3 and Layer 4 Filters are disabled
37948  *  0b1..Layer 3 and Layer 4 Filters are enabled
37949  */
37950 #define ENET_QOS_MAC_PACKET_FILTER_IPFE(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_IPFE_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_IPFE_MASK)
37951 
37952 #define ENET_QOS_MAC_PACKET_FILTER_DNTU_MASK     (0x200000U)
37953 #define ENET_QOS_MAC_PACKET_FILTER_DNTU_SHIFT    (21U)
37954 /*! DNTU - Drop Non-TCP/UDP over IP Packets
37955  *  0b1..Drop Non-TCP/UDP over IP Packets
37956  *  0b0..Forward Non-TCP/UDP over IP Packets
37957  */
37958 #define ENET_QOS_MAC_PACKET_FILTER_DNTU(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_DNTU_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_DNTU_MASK)
37959 
37960 #define ENET_QOS_MAC_PACKET_FILTER_RA_MASK       (0x80000000U)
37961 #define ENET_QOS_MAC_PACKET_FILTER_RA_SHIFT      (31U)
37962 /*! RA - Receive All
37963  *  0b0..Receive All is disabled
37964  *  0b1..Receive All is enabled
37965  */
37966 #define ENET_QOS_MAC_PACKET_FILTER_RA(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PACKET_FILTER_RA_SHIFT)) & ENET_QOS_MAC_PACKET_FILTER_RA_MASK)
37967 /*! @} */
37968 
37969 /*! @name MAC_WATCHDOG_TIMEOUT - Watchdog Timeout */
37970 /*! @{ */
37971 
37972 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_WTO_MASK   (0xFU)
37973 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_WTO_SHIFT  (0U)
37974 /*! WTO - Watchdog Timeout
37975  *  0b1000..10 KB
37976  *  0b1001..11 KB
37977  *  0b1010..12 KB
37978  *  0b1011..13 KB
37979  *  0b1100..14 KB
37980  *  0b1101..15 KB
37981  *  0b1110..16383 Bytes
37982  *  0b0000..2 KB
37983  *  0b0001..3 KB
37984  *  0b0010..4 KB
37985  *  0b0011..5 KB
37986  *  0b0100..6 KB
37987  *  0b0101..7 KB
37988  *  0b0110..8 KB
37989  *  0b0111..9 KB
37990  *  0b1111..Reserved
37991  */
37992 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_WTO(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_WATCHDOG_TIMEOUT_WTO_SHIFT)) & ENET_QOS_MAC_WATCHDOG_TIMEOUT_WTO_MASK)
37993 
37994 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_PWE_MASK   (0x100U)
37995 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_PWE_SHIFT  (8U)
37996 /*! PWE - Programmable Watchdog Enable
37997  *  0b0..Programmable Watchdog is disabled
37998  *  0b1..Programmable Watchdog is enabled
37999  */
38000 #define ENET_QOS_MAC_WATCHDOG_TIMEOUT_PWE(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_WATCHDOG_TIMEOUT_PWE_SHIFT)) & ENET_QOS_MAC_WATCHDOG_TIMEOUT_PWE_MASK)
38001 /*! @} */
38002 
38003 /*! @name MAC_HASH_TABLE_REG0 - MAC Hash Table Register 0 */
38004 /*! @{ */
38005 
38006 #define ENET_QOS_MAC_HASH_TABLE_REG0_HT31T0_MASK (0xFFFFFFFFU)
38007 #define ENET_QOS_MAC_HASH_TABLE_REG0_HT31T0_SHIFT (0U)
38008 /*! HT31T0 - MAC Hash Table First 32 Bits This field contains the first 32 Bits [31:0] of the Hash table.
38009  */
38010 #define ENET_QOS_MAC_HASH_TABLE_REG0_HT31T0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HASH_TABLE_REG0_HT31T0_SHIFT)) & ENET_QOS_MAC_HASH_TABLE_REG0_HT31T0_MASK)
38011 /*! @} */
38012 
38013 /*! @name MAC_HASH_TABLE_REG1 - MAC Hash Table Register 1 */
38014 /*! @{ */
38015 
38016 #define ENET_QOS_MAC_HASH_TABLE_REG1_HT63T32_MASK (0xFFFFFFFFU)
38017 #define ENET_QOS_MAC_HASH_TABLE_REG1_HT63T32_SHIFT (0U)
38018 /*! HT63T32 - MAC Hash Table Second 32 Bits This field contains the second 32 Bits [63:32] of the Hash table.
38019  */
38020 #define ENET_QOS_MAC_HASH_TABLE_REG1_HT63T32(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HASH_TABLE_REG1_HT63T32_SHIFT)) & ENET_QOS_MAC_HASH_TABLE_REG1_HT63T32_MASK)
38021 /*! @} */
38022 
38023 /*! @name MAC_VLAN_TAG_CTRL - MAC VLAN Tag Control */
38024 /*! @{ */
38025 
38026 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OB_MASK       (0x1U)
38027 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OB_SHIFT      (0U)
38028 /*! OB - Operation Busy
38029  *  0b0..Operation Busy is disabled
38030  *  0b1..Operation Busy is enabled
38031  */
38032 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OB(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_OB_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_OB_MASK)
38033 
38034 #define ENET_QOS_MAC_VLAN_TAG_CTRL_CT_MASK       (0x2U)
38035 #define ENET_QOS_MAC_VLAN_TAG_CTRL_CT_SHIFT      (1U)
38036 /*! CT - Command Type
38037  *  0b1..Read operation
38038  *  0b0..Write operation
38039  */
38040 #define ENET_QOS_MAC_VLAN_TAG_CTRL_CT(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_CT_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_CT_MASK)
38041 
38042 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OFS_MASK      (0x7CU)
38043 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OFS_SHIFT     (2U)
38044 /*! OFS - Offset
38045  */
38046 #define ENET_QOS_MAC_VLAN_TAG_CTRL_OFS(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_OFS_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_OFS_MASK)
38047 
38048 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTIM_MASK     (0x20000U)
38049 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTIM_SHIFT    (17U)
38050 /*! VTIM - VLAN Tag Inverse Match Enable
38051  *  0b0..VLAN Tag Inverse Match is disabled
38052  *  0b1..VLAN Tag Inverse Match is enabled
38053  */
38054 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTIM(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_VTIM_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_VTIM_MASK)
38055 
38056 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ESVL_MASK     (0x40000U)
38057 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ESVL_SHIFT    (18U)
38058 /*! ESVL - Enable S-VLAN When this bit is set, the MAC transmitter and receiver consider the S-VLAN
38059  *    packets (Type = 0x88A8) as valid VLAN tagged packets.
38060  *  0b0..S-VLAN is disabled
38061  *  0b1..S-VLAN is enabled
38062  */
38063 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ESVL(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_ESVL_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_ESVL_MASK)
38064 
38065 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLS_MASK     (0x600000U)
38066 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLS_SHIFT    (21U)
38067 /*! EVLS - Enable VLAN Tag Stripping on Receive This field indicates the stripping operation on the
38068  *    outer VLAN Tag in received packet.
38069  *  0b11..Always strip
38070  *  0b00..Do not strip
38071  *  0b10..Strip if VLAN filter fails
38072  *  0b01..Strip if VLAN filter passes
38073  */
38074 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLS(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_EVLS_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_EVLS_MASK)
38075 
38076 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLRXS_MASK   (0x1000000U)
38077 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLRXS_SHIFT  (24U)
38078 /*! EVLRXS - Enable VLAN Tag in Rx status
38079  *  0b0..VLAN Tag in Rx status is disabled
38080  *  0b1..VLAN Tag in Rx status is enabled
38081  */
38082 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EVLRXS(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_EVLRXS_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_EVLRXS_MASK)
38083 
38084 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTHM_MASK     (0x2000000U)
38085 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTHM_SHIFT    (25U)
38086 /*! VTHM - VLAN Tag Hash Table Match Enable
38087  *  0b0..VLAN Tag Hash Table Match is disabled
38088  *  0b1..VLAN Tag Hash Table Match is enabled
38089  */
38090 #define ENET_QOS_MAC_VLAN_TAG_CTRL_VTHM(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_VTHM_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_VTHM_MASK)
38091 
38092 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EDVLP_MASK    (0x4000000U)
38093 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EDVLP_SHIFT   (26U)
38094 /*! EDVLP - Enable Double VLAN Processing
38095  *  0b0..Double VLAN Processing is disabled
38096  *  0b1..Double VLAN Processing is enabled
38097  */
38098 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EDVLP(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_EDVLP_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_EDVLP_MASK)
38099 
38100 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ERIVLT_MASK   (0x8000000U)
38101 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ERIVLT_SHIFT  (27U)
38102 /*! ERIVLT - ERIVLT
38103  *  0b0..Inner VLAN tag is disabled
38104  *  0b1..Inner VLAN tag is enabled
38105  */
38106 #define ENET_QOS_MAC_VLAN_TAG_CTRL_ERIVLT(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_ERIVLT_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_ERIVLT_MASK)
38107 
38108 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLS_MASK    (0x30000000U)
38109 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLS_SHIFT   (28U)
38110 /*! EIVLS - Enable Inner VLAN Tag Stripping on Receive This field indicates the stripping operation
38111  *    on inner VLAN Tag in received packet.
38112  *  0b11..Always strip
38113  *  0b00..Do not strip
38114  *  0b10..Strip if VLAN filter fails
38115  *  0b01..Strip if VLAN filter passes
38116  */
38117 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLS(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLS_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLS_MASK)
38118 
38119 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLRXS_MASK  (0x80000000U)
38120 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLRXS_SHIFT (31U)
38121 /*! EIVLRXS - Enable Inner VLAN Tag in Rx Status
38122  *  0b0..Inner VLAN Tag in Rx status is disabled
38123  *  0b1..Inner VLAN Tag in Rx status is enabled
38124  */
38125 #define ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLRXS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLRXS_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_CTRL_EIVLRXS_MASK)
38126 /*! @} */
38127 
38128 /*! @name MAC_VLAN_TAG_DATA - MAC VLAN Tag Data */
38129 /*! @{ */
38130 
38131 #define ENET_QOS_MAC_VLAN_TAG_DATA_VID_MASK      (0xFFFFU)
38132 #define ENET_QOS_MAC_VLAN_TAG_DATA_VID_SHIFT     (0U)
38133 /*! VID - VLAN Tag ID
38134  */
38135 #define ENET_QOS_MAC_VLAN_TAG_DATA_VID(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_VID_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_VID_MASK)
38136 
38137 #define ENET_QOS_MAC_VLAN_TAG_DATA_VEN_MASK      (0x10000U)
38138 #define ENET_QOS_MAC_VLAN_TAG_DATA_VEN_SHIFT     (16U)
38139 /*! VEN - VLAN Tag Enable
38140  *  0b0..VLAN Tag is disabled
38141  *  0b1..VLAN Tag is enabled
38142  */
38143 #define ENET_QOS_MAC_VLAN_TAG_DATA_VEN(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_VEN_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_VEN_MASK)
38144 
38145 #define ENET_QOS_MAC_VLAN_TAG_DATA_ETV_MASK      (0x20000U)
38146 #define ENET_QOS_MAC_VLAN_TAG_DATA_ETV_SHIFT     (17U)
38147 /*! ETV - 12bits or 16bits VLAN comparison
38148  *  0b1..12 bit VLAN comparison
38149  *  0b0..16 bit VLAN comparison
38150  */
38151 #define ENET_QOS_MAC_VLAN_TAG_DATA_ETV(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_ETV_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_ETV_MASK)
38152 
38153 #define ENET_QOS_MAC_VLAN_TAG_DATA_DOVLTC_MASK   (0x40000U)
38154 #define ENET_QOS_MAC_VLAN_TAG_DATA_DOVLTC_SHIFT  (18U)
38155 /*! DOVLTC - Disable VLAN Type Comparison
38156  *  0b1..VLAN type comparison is disabled
38157  *  0b0..VLAN type comparison is enabled
38158  */
38159 #define ENET_QOS_MAC_VLAN_TAG_DATA_DOVLTC(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_DOVLTC_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_DOVLTC_MASK)
38160 
38161 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERSVLM_MASK   (0x80000U)
38162 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERSVLM_SHIFT  (19U)
38163 /*! ERSVLM - Enable S-VLAN Match for received Frames
38164  *  0b0..Receive S-VLAN Match is disabled
38165  *  0b1..Receive S-VLAN Match is enabled
38166  */
38167 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERSVLM(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_ERSVLM_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_ERSVLM_MASK)
38168 
38169 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERIVLT_MASK   (0x100000U)
38170 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERIVLT_SHIFT  (20U)
38171 /*! ERIVLT - Enable Inner VLAN Tag Comparison
38172  *  0b0..Inner VLAN tag comparison is disabled
38173  *  0b1..Inner VLAN tag comparison is enabled
38174  */
38175 #define ENET_QOS_MAC_VLAN_TAG_DATA_ERIVLT(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_ERIVLT_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_ERIVLT_MASK)
38176 
38177 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHEN_MASK  (0x1000000U)
38178 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHEN_SHIFT (24U)
38179 /*! DMACHEN - DMA Channel Number Enable
38180  *  0b0..DMA Channel Number is disabled
38181  *  0b1..DMA Channel Number is enabled
38182  */
38183 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHEN(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_DMACHEN_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_DMACHEN_MASK)
38184 
38185 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHN_MASK   (0xE000000U)
38186 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHN_SHIFT  (25U)
38187 /*! DMACHN - DMA Channel Number
38188  */
38189 #define ENET_QOS_MAC_VLAN_TAG_DATA_DMACHN(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_TAG_DATA_DMACHN_SHIFT)) & ENET_QOS_MAC_VLAN_TAG_DATA_DMACHN_MASK)
38190 /*! @} */
38191 
38192 /*! @name MAC_VLAN_HASH_TABLE - MAC VLAN Hash Table */
38193 /*! @{ */
38194 
38195 #define ENET_QOS_MAC_VLAN_HASH_TABLE_VLHT_MASK   (0xFFFFU)
38196 #define ENET_QOS_MAC_VLAN_HASH_TABLE_VLHT_SHIFT  (0U)
38197 /*! VLHT - VLAN Hash Table This field contains the 16-bit VLAN Hash Table.
38198  */
38199 #define ENET_QOS_MAC_VLAN_HASH_TABLE_VLHT(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_HASH_TABLE_VLHT_SHIFT)) & ENET_QOS_MAC_VLAN_HASH_TABLE_VLHT_MASK)
38200 /*! @} */
38201 
38202 /*! @name MAC_VLAN_INCL - VLAN Tag Inclusion or Replacement */
38203 /*! @{ */
38204 
38205 #define ENET_QOS_MAC_VLAN_INCL_VLT_MASK          (0xFFFFU)
38206 #define ENET_QOS_MAC_VLAN_INCL_VLT_SHIFT         (0U)
38207 /*! VLT - VLAN Tag for Transmit Packets
38208  */
38209 #define ENET_QOS_MAC_VLAN_INCL_VLT(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_VLT_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_VLT_MASK)
38210 
38211 #define ENET_QOS_MAC_VLAN_INCL_VLC_MASK          (0x30000U)
38212 #define ENET_QOS_MAC_VLAN_INCL_VLC_SHIFT         (16U)
38213 /*! VLC - VLAN Tag Control in Transmit Packets - 2'b00: No VLAN tag deletion, insertion, or
38214  *    replacement - 2'b01: VLAN tag deletion The MAC removes the VLAN type (bytes 13 and 14) and VLAN tag
38215  *    (bytes 15 and 16) of all transmitted packets with VLAN tags.
38216  *  0b01..VLAN tag deletion
38217  *  0b10..VLAN tag insertion
38218  *  0b00..No VLAN tag deletion, insertion, or replacement
38219  *  0b11..VLAN tag replacement
38220  */
38221 #define ENET_QOS_MAC_VLAN_INCL_VLC(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_VLC_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_VLC_MASK)
38222 
38223 #define ENET_QOS_MAC_VLAN_INCL_VLP_MASK          (0x40000U)
38224 #define ENET_QOS_MAC_VLAN_INCL_VLP_SHIFT         (18U)
38225 /*! VLP - VLAN Priority Control
38226  *  0b0..VLAN Priority Control is disabled
38227  *  0b1..VLAN Priority Control is enabled
38228  */
38229 #define ENET_QOS_MAC_VLAN_INCL_VLP(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_VLP_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_VLP_MASK)
38230 
38231 #define ENET_QOS_MAC_VLAN_INCL_CSVL_MASK         (0x80000U)
38232 #define ENET_QOS_MAC_VLAN_INCL_CSVL_SHIFT        (19U)
38233 /*! CSVL - C-VLAN or S-VLAN
38234  *  0b0..C-VLAN type (0x8100) is inserted or replaced
38235  *  0b1..S-VLAN type (0x88A8) is inserted or replaced
38236  */
38237 #define ENET_QOS_MAC_VLAN_INCL_CSVL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_CSVL_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_CSVL_MASK)
38238 
38239 #define ENET_QOS_MAC_VLAN_INCL_VLTI_MASK         (0x100000U)
38240 #define ENET_QOS_MAC_VLAN_INCL_VLTI_SHIFT        (20U)
38241 /*! VLTI - VLAN Tag Input When this bit is set, it indicates that the VLAN tag to be inserted or
38242  *    replaced in Tx packet should be taken from: - The Tx descriptor
38243  *  0b0..VLAN Tag Input is disabled
38244  *  0b1..VLAN Tag Input is enabled
38245  */
38246 #define ENET_QOS_MAC_VLAN_INCL_VLTI(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_VLTI_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_VLTI_MASK)
38247 
38248 #define ENET_QOS_MAC_VLAN_INCL_CBTI_MASK         (0x200000U)
38249 #define ENET_QOS_MAC_VLAN_INCL_CBTI_SHIFT        (21U)
38250 /*! CBTI - Channel based tag insertion
38251  *  0b0..Channel based tag insertion is disabled
38252  *  0b1..Channel based tag insertion is enabled
38253  */
38254 #define ENET_QOS_MAC_VLAN_INCL_CBTI(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_CBTI_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_CBTI_MASK)
38255 
38256 #define ENET_QOS_MAC_VLAN_INCL_ADDR_MASK         (0x7000000U)
38257 #define ENET_QOS_MAC_VLAN_INCL_ADDR_SHIFT        (24U)
38258 /*! ADDR - Address
38259  */
38260 #define ENET_QOS_MAC_VLAN_INCL_ADDR(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_ADDR_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_ADDR_MASK)
38261 
38262 #define ENET_QOS_MAC_VLAN_INCL_RDWR_MASK         (0x40000000U)
38263 #define ENET_QOS_MAC_VLAN_INCL_RDWR_SHIFT        (30U)
38264 /*! RDWR - Read write control
38265  *  0b0..Read operation of indirect access
38266  *  0b1..Write operation of indirect access
38267  */
38268 #define ENET_QOS_MAC_VLAN_INCL_RDWR(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_RDWR_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_RDWR_MASK)
38269 
38270 #define ENET_QOS_MAC_VLAN_INCL_BUSY_MASK         (0x80000000U)
38271 #define ENET_QOS_MAC_VLAN_INCL_BUSY_SHIFT        (31U)
38272 /*! BUSY - Busy
38273  *  0b1..Busy status detected
38274  *  0b0..Busy status not detected
38275  */
38276 #define ENET_QOS_MAC_VLAN_INCL_BUSY(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VLAN_INCL_BUSY_SHIFT)) & ENET_QOS_MAC_VLAN_INCL_BUSY_MASK)
38277 /*! @} */
38278 
38279 /*! @name MAC_INNER_VLAN_INCL - MAC Inner VLAN Tag Inclusion or Replacement */
38280 /*! @{ */
38281 
38282 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLT_MASK    (0xFFFFU)
38283 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLT_SHIFT   (0U)
38284 /*! VLT - VLAN Tag for Transmit Packets
38285  */
38286 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLT(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INNER_VLAN_INCL_VLT_SHIFT)) & ENET_QOS_MAC_INNER_VLAN_INCL_VLT_MASK)
38287 
38288 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLC_MASK    (0x30000U)
38289 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLC_SHIFT   (16U)
38290 /*! VLC - VLAN Tag Control in Transmit Packets
38291  *  0b01..VLAN tag deletion
38292  *  0b10..VLAN tag insertion
38293  *  0b00..No VLAN tag deletion, insertion, or replacement
38294  *  0b11..VLAN tag replacement
38295  */
38296 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLC(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INNER_VLAN_INCL_VLC_SHIFT)) & ENET_QOS_MAC_INNER_VLAN_INCL_VLC_MASK)
38297 
38298 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLP_MASK    (0x40000U)
38299 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLP_SHIFT   (18U)
38300 /*! VLP - VLAN Priority Control
38301  *  0b0..VLAN Priority Control is disabled
38302  *  0b1..VLAN Priority Control is enabled
38303  */
38304 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLP(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INNER_VLAN_INCL_VLP_SHIFT)) & ENET_QOS_MAC_INNER_VLAN_INCL_VLP_MASK)
38305 
38306 #define ENET_QOS_MAC_INNER_VLAN_INCL_CSVL_MASK   (0x80000U)
38307 #define ENET_QOS_MAC_INNER_VLAN_INCL_CSVL_SHIFT  (19U)
38308 /*! CSVL - C-VLAN or S-VLAN
38309  *  0b0..C-VLAN type (0x8100) is inserted
38310  *  0b1..S-VLAN type (0x88A8) is inserted
38311  */
38312 #define ENET_QOS_MAC_INNER_VLAN_INCL_CSVL(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INNER_VLAN_INCL_CSVL_SHIFT)) & ENET_QOS_MAC_INNER_VLAN_INCL_CSVL_MASK)
38313 
38314 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLTI_MASK   (0x100000U)
38315 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLTI_SHIFT  (20U)
38316 /*! VLTI - VLAN Tag Input When this bit is set, it indicates that the VLAN tag to be inserted or
38317  *    replaced in Tx packet should be taken from: - The Tx descriptor
38318  *  0b0..VLAN Tag Input is disabled
38319  *  0b1..VLAN Tag Input is enabled
38320  */
38321 #define ENET_QOS_MAC_INNER_VLAN_INCL_VLTI(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INNER_VLAN_INCL_VLTI_SHIFT)) & ENET_QOS_MAC_INNER_VLAN_INCL_VLTI_MASK)
38322 /*! @} */
38323 
38324 /*! @name MAC_TX_FLOW_CTRL_Q - MAC Q0 Tx Flow Control..MAC Q4 Tx Flow Control */
38325 /*! @{ */
38326 
38327 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_FCB_BPA_MASK (0x1U)
38328 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_FCB_BPA_SHIFT (0U)
38329 /*! FCB_BPA - Flow Control Busy or Backpressure Activate
38330  *  0b0..Flow Control Busy or Backpressure Activate is disabled
38331  *  0b1..Flow Control Busy or Backpressure Activate is enabled
38332  */
38333 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_FCB_BPA(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_FLOW_CTRL_Q_FCB_BPA_SHIFT)) & ENET_QOS_MAC_TX_FLOW_CTRL_Q_FCB_BPA_MASK)
38334 
38335 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_TFE_MASK     (0x2U)
38336 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_TFE_SHIFT    (1U)
38337 /*! TFE - Transmit Flow Control Enable
38338  *  0b0..Transmit Flow Control is disabled
38339  *  0b1..Transmit Flow Control is enabled
38340  */
38341 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_TFE(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_FLOW_CTRL_Q_TFE_SHIFT)) & ENET_QOS_MAC_TX_FLOW_CTRL_Q_TFE_MASK)
38342 
38343 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PLT_MASK     (0x70U)
38344 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PLT_SHIFT    (4U)
38345 /*! PLT - Pause Low Threshold
38346  *  0b011..Pause Time minus 144 Slot Times (PT -144 slot times)
38347  *  0b100..Pause Time minus 256 Slot Times (PT -256 slot times)
38348  *  0b001..Pause Time minus 28 Slot Times (PT -28 slot times)
38349  *  0b010..Pause Time minus 36 Slot Times (PT -36 slot times)
38350  *  0b000..Pause Time minus 4 Slot Times (PT -4 slot times)
38351  *  0b101..Pause Time minus 512 Slot Times (PT -512 slot times)
38352  *  0b110..Reserved
38353  */
38354 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PLT(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_FLOW_CTRL_Q_PLT_SHIFT)) & ENET_QOS_MAC_TX_FLOW_CTRL_Q_PLT_MASK)
38355 
38356 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_DZPQ_MASK    (0x80U)
38357 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_DZPQ_SHIFT   (7U)
38358 /*! DZPQ - Disable Zero-Quanta Pause
38359  *  0b1..Zero-Quanta Pause packet generation is disabled
38360  *  0b0..Zero-Quanta Pause packet generation is enabled
38361  */
38362 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_DZPQ(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_FLOW_CTRL_Q_DZPQ_SHIFT)) & ENET_QOS_MAC_TX_FLOW_CTRL_Q_DZPQ_MASK)
38363 
38364 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PT_MASK      (0xFFFF0000U)
38365 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PT_SHIFT     (16U)
38366 /*! PT - Pause Time
38367  */
38368 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_PT(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_FLOW_CTRL_Q_PT_SHIFT)) & ENET_QOS_MAC_TX_FLOW_CTRL_Q_PT_MASK)
38369 /*! @} */
38370 
38371 /* The count of ENET_QOS_MAC_TX_FLOW_CTRL_Q */
38372 #define ENET_QOS_MAC_TX_FLOW_CTRL_Q_COUNT        (5U)
38373 
38374 /*! @name MAC_RX_FLOW_CTRL - MAC Rx Flow Control */
38375 /*! @{ */
38376 
38377 #define ENET_QOS_MAC_RX_FLOW_CTRL_RFE_MASK       (0x1U)
38378 #define ENET_QOS_MAC_RX_FLOW_CTRL_RFE_SHIFT      (0U)
38379 /*! RFE - Receive Flow Control Enable
38380  *  0b0..Receive Flow Control is disabled
38381  *  0b1..Receive Flow Control is enabled
38382  */
38383 #define ENET_QOS_MAC_RX_FLOW_CTRL_RFE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_FLOW_CTRL_RFE_SHIFT)) & ENET_QOS_MAC_RX_FLOW_CTRL_RFE_MASK)
38384 
38385 #define ENET_QOS_MAC_RX_FLOW_CTRL_UP_MASK        (0x2U)
38386 #define ENET_QOS_MAC_RX_FLOW_CTRL_UP_SHIFT       (1U)
38387 /*! UP - Unicast Pause Packet Detect
38388  *  0b0..Unicast Pause Packet Detect disabled
38389  *  0b1..Unicast Pause Packet Detect enabled
38390  */
38391 #define ENET_QOS_MAC_RX_FLOW_CTRL_UP(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_FLOW_CTRL_UP_SHIFT)) & ENET_QOS_MAC_RX_FLOW_CTRL_UP_MASK)
38392 
38393 #define ENET_QOS_MAC_RX_FLOW_CTRL_PFCE_MASK      (0x100U)
38394 #define ENET_QOS_MAC_RX_FLOW_CTRL_PFCE_SHIFT     (8U)
38395 /*! PFCE - Priority Based Flow Control Enable
38396  *  0b0..Priority Based Flow Control is disabled
38397  *  0b1..Priority Based Flow Control is enabled
38398  */
38399 #define ENET_QOS_MAC_RX_FLOW_CTRL_PFCE(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_FLOW_CTRL_PFCE_SHIFT)) & ENET_QOS_MAC_RX_FLOW_CTRL_PFCE_MASK)
38400 /*! @} */
38401 
38402 /*! @name MAC_RXQ_CTRL4 - Receive Queue Control 4 */
38403 /*! @{ */
38404 
38405 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQE_MASK        (0x1U)
38406 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQE_SHIFT       (0U)
38407 /*! UFFQE - Unicast Address Filter Fail Packets Queuing Enable.
38408  *  0b0..Unicast Address Filter Fail Packets Queuing is disabled
38409  *  0b1..Unicast Address Filter Fail Packets Queuing is enabled
38410  */
38411 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_UFFQE_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_UFFQE_MASK)
38412 
38413 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQ_MASK         (0xEU)
38414 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQ_SHIFT        (1U)
38415 /*! UFFQ - Unicast Address Filter Fail Packets Queue.
38416  */
38417 #define ENET_QOS_MAC_RXQ_CTRL4_UFFQ(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_UFFQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_UFFQ_MASK)
38418 
38419 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQE_MASK        (0x100U)
38420 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQE_SHIFT       (8U)
38421 /*! MFFQE - Multicast Address Filter Fail Packets Queuing Enable.
38422  *  0b0..Multicast Address Filter Fail Packets Queuing is disabled
38423  *  0b1..Multicast Address Filter Fail Packets Queuing is enabled
38424  */
38425 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_MFFQE_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_MFFQE_MASK)
38426 
38427 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQ_MASK         (0xE00U)
38428 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQ_SHIFT        (9U)
38429 /*! MFFQ - Multicast Address Filter Fail Packets Queue.
38430  */
38431 #define ENET_QOS_MAC_RXQ_CTRL4_MFFQ(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_MFFQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_MFFQ_MASK)
38432 
38433 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQE_MASK        (0x10000U)
38434 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQE_SHIFT       (16U)
38435 /*! VFFQE - VLAN Tag Filter Fail Packets Queuing Enable
38436  *  0b0..VLAN tag Filter Fail Packets Queuing is disabled
38437  *  0b1..VLAN tag Filter Fail Packets Queuing is enabled
38438  */
38439 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_VFFQE_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_VFFQE_MASK)
38440 
38441 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQ_MASK         (0xE0000U)
38442 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQ_SHIFT        (17U)
38443 /*! VFFQ - VLAN Tag Filter Fail Packets Queue
38444  */
38445 #define ENET_QOS_MAC_RXQ_CTRL4_VFFQ(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL4_VFFQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL4_VFFQ_MASK)
38446 /*! @} */
38447 
38448 /*! @name MAC_TXQ_PRTY_MAP0 - Transmit Queue Priority Mapping 0 */
38449 /*! @{ */
38450 
38451 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ0_MASK    (0xFFU)
38452 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ0_SHIFT   (0U)
38453 /*! PSTQ0 - Priorities Selected in Transmit Queue 0
38454  */
38455 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ0(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ0_SHIFT)) & ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ0_MASK)
38456 
38457 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ1_MASK    (0xFF00U)
38458 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ1_SHIFT   (8U)
38459 /*! PSTQ1 - Priorities Selected in Transmit Queue 1 This bit is similar to the PSTQ0 bit.
38460  */
38461 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ1(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ1_SHIFT)) & ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ1_MASK)
38462 
38463 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ2_MASK    (0xFF0000U)
38464 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ2_SHIFT   (16U)
38465 /*! PSTQ2 - Priorities Selected in Transmit Queue 2 This bit is similar to the PSTQ0 bit.
38466  */
38467 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ2(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ2_SHIFT)) & ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ2_MASK)
38468 
38469 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ3_MASK    (0xFF000000U)
38470 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ3_SHIFT   (24U)
38471 /*! PSTQ3 - Priorities Selected in Transmit Queue 3 This bit is similar to the PSTQ0 bit.
38472  */
38473 #define ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ3(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ3_SHIFT)) & ENET_QOS_MAC_TXQ_PRTY_MAP0_PSTQ3_MASK)
38474 /*! @} */
38475 
38476 /*! @name MAC_TXQ_PRTY_MAP1 - Transmit Queue Priority Mapping 1 */
38477 /*! @{ */
38478 
38479 #define ENET_QOS_MAC_TXQ_PRTY_MAP1_PSTQ4_MASK    (0xFFU)
38480 #define ENET_QOS_MAC_TXQ_PRTY_MAP1_PSTQ4_SHIFT   (0U)
38481 /*! PSTQ4 - Priorities Selected in Transmit Queue 4
38482  */
38483 #define ENET_QOS_MAC_TXQ_PRTY_MAP1_PSTQ4(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TXQ_PRTY_MAP1_PSTQ4_SHIFT)) & ENET_QOS_MAC_TXQ_PRTY_MAP1_PSTQ4_MASK)
38484 /*! @} */
38485 
38486 /*! @name MAC_RXQ_CTRL - Receive Queue Control 0..Receive Queue Control 3 */
38487 /*! @{ */
38488 
38489 #define ENET_QOS_MAC_RXQ_CTRL_AVCPQ_MASK         (0x7U)
38490 #define ENET_QOS_MAC_RXQ_CTRL_AVCPQ_SHIFT        (0U)
38491 /*! AVCPQ - AV Untagged Control Packets Queue
38492  *  0b000..Receive Queue 0
38493  *  0b001..Receive Queue 1
38494  *  0b010..Receive Queue 2
38495  *  0b011..Receive Queue 3
38496  *  0b100..Receive Queue 4
38497  *  0b101..Reserved
38498  *  0b110..Reserved
38499  *  0b111..Reserved
38500  */
38501 #define ENET_QOS_MAC_RXQ_CTRL_AVCPQ(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_AVCPQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_AVCPQ_MASK)
38502 
38503 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ0_MASK         (0xFFU)
38504 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ0_SHIFT        (0U)
38505 /*! PSRQ0 - Priorities Selected in the Receive Queue 0
38506  */
38507 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ0(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PSRQ0_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PSRQ0_MASK)
38508 
38509 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ4_MASK         (0xFFU)
38510 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ4_SHIFT        (0U)
38511 /*! PSRQ4 - Priorities Selected in the Receive Queue 4
38512  */
38513 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ4(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PSRQ4_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PSRQ4_MASK)
38514 
38515 #define ENET_QOS_MAC_RXQ_CTRL_RXQ0EN_MASK        (0x3U)
38516 #define ENET_QOS_MAC_RXQ_CTRL_RXQ0EN_SHIFT       (0U)
38517 /*! RXQ0EN - Receive Queue 0 Enable This field indicates whether Rx Queue 0 is enabled for AV or DCB.
38518  *  0b00..Queue not enabled
38519  *  0b01..Queue enabled for AV
38520  *  0b10..Queue enabled for DCB/Generic
38521  *  0b11..Reserved
38522  */
38523 #define ENET_QOS_MAC_RXQ_CTRL_RXQ0EN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_RXQ0EN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_RXQ0EN_MASK)
38524 
38525 #define ENET_QOS_MAC_RXQ_CTRL_RXQ1EN_MASK        (0xCU)
38526 #define ENET_QOS_MAC_RXQ_CTRL_RXQ1EN_SHIFT       (2U)
38527 /*! RXQ1EN - Receive Queue 1 Enable This field is similar to the RXQ0EN field.
38528  *  0b00..Queue not enabled
38529  *  0b01..Queue enabled for AV
38530  *  0b10..Queue enabled for DCB/Generic
38531  *  0b11..Reserved
38532  */
38533 #define ENET_QOS_MAC_RXQ_CTRL_RXQ1EN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_RXQ1EN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_RXQ1EN_MASK)
38534 
38535 #define ENET_QOS_MAC_RXQ_CTRL_PTPQ_MASK          (0x70U)
38536 #define ENET_QOS_MAC_RXQ_CTRL_PTPQ_SHIFT         (4U)
38537 /*! PTPQ - PTP Packets Queue
38538  *  0b000..Receive Queue 0
38539  *  0b001..Receive Queue 1
38540  *  0b010..Receive Queue 2
38541  *  0b011..Receive Queue 3
38542  *  0b100..Receive Queue 4
38543  *  0b101..Reserved
38544  *  0b110..Reserved
38545  *  0b111..Reserved
38546  */
38547 #define ENET_QOS_MAC_RXQ_CTRL_PTPQ(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PTPQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PTPQ_MASK)
38548 
38549 #define ENET_QOS_MAC_RXQ_CTRL_RXQ2EN_MASK        (0x30U)
38550 #define ENET_QOS_MAC_RXQ_CTRL_RXQ2EN_SHIFT       (4U)
38551 /*! RXQ2EN - Receive Queue 2 Enable This field is similar to the RXQ0EN field.
38552  *  0b00..Queue not enabled
38553  *  0b01..Queue enabled for AV
38554  *  0b10..Queue enabled for DCB/Generic
38555  *  0b11..Reserved
38556  */
38557 #define ENET_QOS_MAC_RXQ_CTRL_RXQ2EN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_RXQ2EN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_RXQ2EN_MASK)
38558 
38559 #define ENET_QOS_MAC_RXQ_CTRL_RXQ3EN_MASK        (0xC0U)
38560 #define ENET_QOS_MAC_RXQ_CTRL_RXQ3EN_SHIFT       (6U)
38561 /*! RXQ3EN - Receive Queue 3 Enable This field is similar to the RXQ0EN field.
38562  *  0b00..Queue not enabled
38563  *  0b01..Queue enabled for AV
38564  *  0b10..Queue enabled for DCB/Generic
38565  *  0b11..Reserved
38566  */
38567 #define ENET_QOS_MAC_RXQ_CTRL_RXQ3EN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_RXQ3EN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_RXQ3EN_MASK)
38568 
38569 #define ENET_QOS_MAC_RXQ_CTRL_DCBCPQ_MASK        (0x700U)
38570 #define ENET_QOS_MAC_RXQ_CTRL_DCBCPQ_SHIFT       (8U)
38571 /*! DCBCPQ - DCB Control Packets Queue
38572  *  0b000..Receive Queue 0
38573  *  0b001..Receive Queue 1
38574  *  0b010..Receive Queue 2
38575  *  0b011..Receive Queue 3
38576  *  0b100..Receive Queue 4
38577  *  0b101..Reserved
38578  *  0b110..Reserved
38579  *  0b111..Reserved
38580  */
38581 #define ENET_QOS_MAC_RXQ_CTRL_DCBCPQ(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_DCBCPQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_DCBCPQ_MASK)
38582 
38583 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ1_MASK         (0xFF00U)
38584 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ1_SHIFT        (8U)
38585 /*! PSRQ1 - Priorities Selected in the Receive Queue 1
38586  */
38587 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ1(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PSRQ1_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PSRQ1_MASK)
38588 
38589 #define ENET_QOS_MAC_RXQ_CTRL_RXQ4EN_MASK        (0x300U)
38590 #define ENET_QOS_MAC_RXQ_CTRL_RXQ4EN_SHIFT       (8U)
38591 /*! RXQ4EN - Receive Queue 4 Enable This field is similar to the RXQ0EN field.
38592  *  0b00..Queue not enabled
38593  *  0b01..Queue enabled for AV
38594  *  0b10..Queue enabled for DCB/Generic
38595  *  0b11..Reserved
38596  */
38597 #define ENET_QOS_MAC_RXQ_CTRL_RXQ4EN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_RXQ4EN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_RXQ4EN_MASK)
38598 
38599 #define ENET_QOS_MAC_RXQ_CTRL_UPQ_MASK           (0x7000U)
38600 #define ENET_QOS_MAC_RXQ_CTRL_UPQ_SHIFT          (12U)
38601 /*! UPQ - Untagged Packet Queue
38602  *  0b000..Receive Queue 0
38603  *  0b001..Receive Queue 1
38604  *  0b010..Receive Queue 2
38605  *  0b011..Receive Queue 3
38606  *  0b100..Receive Queue 4
38607  *  0b101..Reserved
38608  *  0b110..Reserved
38609  *  0b111..Reserved
38610  */
38611 #define ENET_QOS_MAC_RXQ_CTRL_UPQ(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_UPQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_UPQ_MASK)
38612 
38613 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQ_MASK         (0x70000U)
38614 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQ_SHIFT        (16U)
38615 /*! MCBCQ - Multicast and Broadcast Queue
38616  *  0b000..Receive Queue 0
38617  *  0b001..Receive Queue 1
38618  *  0b010..Receive Queue 2
38619  *  0b011..Receive Queue 3
38620  *  0b100..Receive Queue 4
38621  *  0b101..Reserved
38622  *  0b110..Reserved
38623  *  0b111..Reserved
38624  */
38625 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQ(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_MCBCQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_MCBCQ_MASK)
38626 
38627 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ2_MASK         (0xFF0000U)
38628 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ2_SHIFT        (16U)
38629 /*! PSRQ2 - Priorities Selected in the Receive Queue 2
38630  */
38631 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ2(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PSRQ2_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PSRQ2_MASK)
38632 
38633 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQEN_MASK       (0x100000U)
38634 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQEN_SHIFT      (20U)
38635 /*! MCBCQEN - Multicast and Broadcast Queue Enable This bit specifies that Multicast or Broadcast
38636  *    packets routing to the Rx Queue is enabled and the Multicast or Broadcast packets must be routed
38637  *    to Rx Queue specified in MCBCQ field.
38638  *  0b0..Multicast and Broadcast Queue is disabled
38639  *  0b1..Multicast and Broadcast Queue is enabled
38640  */
38641 #define ENET_QOS_MAC_RXQ_CTRL_MCBCQEN(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_MCBCQEN_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_MCBCQEN_MASK)
38642 
38643 #define ENET_QOS_MAC_RXQ_CTRL_TACPQE_MASK        (0x200000U)
38644 #define ENET_QOS_MAC_RXQ_CTRL_TACPQE_SHIFT       (21U)
38645 /*! TACPQE - Tagged AV Control Packets Queuing Enable.
38646  *  0b0..Tagged AV Control Packets Queuing is disabled
38647  *  0b1..Tagged AV Control Packets Queuing is enabled
38648  */
38649 #define ENET_QOS_MAC_RXQ_CTRL_TACPQE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_TACPQE_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_TACPQE_MASK)
38650 
38651 #define ENET_QOS_MAC_RXQ_CTRL_TPQC_MASK          (0xC00000U)
38652 #define ENET_QOS_MAC_RXQ_CTRL_TPQC_SHIFT         (22U)
38653 /*! TPQC - Tagged PTP over Ethernet Packets Queuing Control.
38654  */
38655 #define ENET_QOS_MAC_RXQ_CTRL_TPQC(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_TPQC_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_TPQC_MASK)
38656 
38657 #define ENET_QOS_MAC_RXQ_CTRL_FPRQ_MASK          (0x7000000U)
38658 #define ENET_QOS_MAC_RXQ_CTRL_FPRQ_SHIFT         (24U)
38659 /*! FPRQ - Frame Preemption Residue Queue
38660  */
38661 #define ENET_QOS_MAC_RXQ_CTRL_FPRQ(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_FPRQ_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_FPRQ_MASK)
38662 
38663 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ3_MASK         (0xFF000000U)
38664 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ3_SHIFT        (24U)
38665 /*! PSRQ3 - Priorities Selected in the Receive Queue 3
38666  */
38667 #define ENET_QOS_MAC_RXQ_CTRL_PSRQ3(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXQ_CTRL_PSRQ3_SHIFT)) & ENET_QOS_MAC_RXQ_CTRL_PSRQ3_MASK)
38668 /*! @} */
38669 
38670 /* The count of ENET_QOS_MAC_RXQ_CTRL */
38671 #define ENET_QOS_MAC_RXQ_CTRL_COUNT              (4U)
38672 
38673 /*! @name MAC_INTERRUPT_STATUS - Interrupt Status */
38674 /*! @{ */
38675 
38676 #define ENET_QOS_MAC_INTERRUPT_STATUS_RGSMIIIS_MASK (0x1U)
38677 #define ENET_QOS_MAC_INTERRUPT_STATUS_RGSMIIIS_SHIFT (0U)
38678 /*! RGSMIIIS - RGMII or SMII Interrupt Status
38679  *  0b1..RGMII or SMII Interrupt Status is active
38680  *  0b0..RGMII or SMII Interrupt Status is not active
38681  */
38682 #define ENET_QOS_MAC_INTERRUPT_STATUS_RGSMIIIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_RGSMIIIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_RGSMIIIS_MASK)
38683 
38684 #define ENET_QOS_MAC_INTERRUPT_STATUS_PHYIS_MASK (0x8U)
38685 #define ENET_QOS_MAC_INTERRUPT_STATUS_PHYIS_SHIFT (3U)
38686 /*! PHYIS - PHY Interrupt
38687  *  0b1..PHY Interrupt detected
38688  *  0b0..PHY Interrupt not detected
38689  */
38690 #define ENET_QOS_MAC_INTERRUPT_STATUS_PHYIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_PHYIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_PHYIS_MASK)
38691 
38692 #define ENET_QOS_MAC_INTERRUPT_STATUS_PMTIS_MASK (0x10U)
38693 #define ENET_QOS_MAC_INTERRUPT_STATUS_PMTIS_SHIFT (4U)
38694 /*! PMTIS - PMT Interrupt Status
38695  *  0b1..PMT Interrupt status active
38696  *  0b0..PMT Interrupt status not active
38697  */
38698 #define ENET_QOS_MAC_INTERRUPT_STATUS_PMTIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_PMTIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_PMTIS_MASK)
38699 
38700 #define ENET_QOS_MAC_INTERRUPT_STATUS_LPIIS_MASK (0x20U)
38701 #define ENET_QOS_MAC_INTERRUPT_STATUS_LPIIS_SHIFT (5U)
38702 /*! LPIIS - LPI Interrupt Status
38703  *  0b1..LPI Interrupt status active
38704  *  0b0..LPI Interrupt status not active
38705  */
38706 #define ENET_QOS_MAC_INTERRUPT_STATUS_LPIIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_LPIIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_LPIIS_MASK)
38707 
38708 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCIS_MASK (0x100U)
38709 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCIS_SHIFT (8U)
38710 /*! MMCIS - MMC Interrupt Status
38711  *  0b1..MMC Interrupt status active
38712  *  0b0..MMC Interrupt status not active
38713  */
38714 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MMCIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MMCIS_MASK)
38715 
38716 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIS_MASK (0x200U)
38717 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIS_SHIFT (9U)
38718 /*! MMCRXIS - MMC Receive Interrupt Status
38719  *  0b1..MMC Receive Interrupt status active
38720  *  0b0..MMC Receive Interrupt status not active
38721  */
38722 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIS_MASK)
38723 
38724 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCTXIS_MASK (0x400U)
38725 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCTXIS_SHIFT (10U)
38726 /*! MMCTXIS - MMC Transmit Interrupt Status
38727  *  0b1..MMC Transmit Interrupt status active
38728  *  0b0..MMC Transmit Interrupt status not active
38729  */
38730 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCTXIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MMCTXIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MMCTXIS_MASK)
38731 
38732 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIPIS_MASK (0x800U)
38733 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIPIS_SHIFT (11U)
38734 /*! MMCRXIPIS - MMC Receive Checksum Offload Interrupt Status
38735  *  0b1..MMC Receive Checksum Offload Interrupt status active
38736  *  0b0..MMC Receive Checksum Offload Interrupt status not active
38737  */
38738 #define ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIPIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MMCRXIPIS_MASK)
38739 
38740 #define ENET_QOS_MAC_INTERRUPT_STATUS_TSIS_MASK  (0x1000U)
38741 #define ENET_QOS_MAC_INTERRUPT_STATUS_TSIS_SHIFT (12U)
38742 /*! TSIS - Timestamp Interrupt Status
38743  *  0b1..Timestamp Interrupt status active
38744  *  0b0..Timestamp Interrupt status not active
38745  */
38746 #define ENET_QOS_MAC_INTERRUPT_STATUS_TSIS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_TSIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_TSIS_MASK)
38747 
38748 #define ENET_QOS_MAC_INTERRUPT_STATUS_TXSTSIS_MASK (0x2000U)
38749 #define ENET_QOS_MAC_INTERRUPT_STATUS_TXSTSIS_SHIFT (13U)
38750 /*! TXSTSIS - Transmit Status Interrupt
38751  *  0b1..Transmit Interrupt status active
38752  *  0b0..Transmit Interrupt status not active
38753  */
38754 #define ENET_QOS_MAC_INTERRUPT_STATUS_TXSTSIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_TXSTSIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_TXSTSIS_MASK)
38755 
38756 #define ENET_QOS_MAC_INTERRUPT_STATUS_RXSTSIS_MASK (0x4000U)
38757 #define ENET_QOS_MAC_INTERRUPT_STATUS_RXSTSIS_SHIFT (14U)
38758 /*! RXSTSIS - Receive Status Interrupt
38759  *  0b1..Receive Interrupt status active
38760  *  0b0..Receive Interrupt status not active
38761  */
38762 #define ENET_QOS_MAC_INTERRUPT_STATUS_RXSTSIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_RXSTSIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_RXSTSIS_MASK)
38763 
38764 #define ENET_QOS_MAC_INTERRUPT_STATUS_FPEIS_MASK (0x20000U)
38765 #define ENET_QOS_MAC_INTERRUPT_STATUS_FPEIS_SHIFT (17U)
38766 /*! FPEIS - Frame Preemption Interrupt Status
38767  *  0b1..Frame Preemption Interrupt status active
38768  *  0b0..Frame Preemption Interrupt status not active
38769  */
38770 #define ENET_QOS_MAC_INTERRUPT_STATUS_FPEIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_FPEIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_FPEIS_MASK)
38771 
38772 #define ENET_QOS_MAC_INTERRUPT_STATUS_MDIOIS_MASK (0x40000U)
38773 #define ENET_QOS_MAC_INTERRUPT_STATUS_MDIOIS_SHIFT (18U)
38774 /*! MDIOIS - MDIO Interrupt Status
38775  *  0b1..MDIO Interrupt status active
38776  *  0b0..MDIO Interrupt status not active
38777  */
38778 #define ENET_QOS_MAC_INTERRUPT_STATUS_MDIOIS(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MDIOIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MDIOIS_MASK)
38779 
38780 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFTIS_MASK (0x80000U)
38781 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFTIS_SHIFT (19U)
38782 /*! MFTIS - MMC FPE Transmit Interrupt Status
38783  *  0b1..MMC FPE Transmit Interrupt status active
38784  *  0b0..MMC FPE Transmit Interrupt status not active
38785  */
38786 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFTIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MFTIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MFTIS_MASK)
38787 
38788 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFRIS_MASK (0x100000U)
38789 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFRIS_SHIFT (20U)
38790 /*! MFRIS - MMC FPE Receive Interrupt Status
38791  *  0b1..MMC FPE Receive Interrupt status active
38792  *  0b0..MMC FPE Receive Interrupt status not active
38793  */
38794 #define ENET_QOS_MAC_INTERRUPT_STATUS_MFRIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_STATUS_MFRIS_SHIFT)) & ENET_QOS_MAC_INTERRUPT_STATUS_MFRIS_MASK)
38795 /*! @} */
38796 
38797 /*! @name MAC_INTERRUPT_ENABLE - Interrupt Enable */
38798 /*! @{ */
38799 
38800 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RGSMIIIE_MASK (0x1U)
38801 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RGSMIIIE_SHIFT (0U)
38802 /*! RGSMIIIE - RGMII or SMII Interrupt Enable When this bit is set, it enables the assertion of the
38803  *    interrupt signal because of the setting of RGSMIIIS bit in MAC_INTERRUPT_STATUS register.
38804  *  0b0..RGMII or SMII Interrupt is disabled
38805  *  0b1..RGMII or SMII Interrupt is enabled
38806  */
38807 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RGSMIIIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_RGSMIIIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_RGSMIIIE_MASK)
38808 
38809 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PHYIE_MASK (0x8U)
38810 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PHYIE_SHIFT (3U)
38811 /*! PHYIE - PHY Interrupt Enable When this bit is set, it enables the assertion of the interrupt
38812  *    signal because of the setting of MAC_INTERRUPT_STATUS[PHYIS].
38813  *  0b0..PHY Interrupt is disabled
38814  *  0b1..PHY Interrupt is enabled
38815  */
38816 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PHYIE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_PHYIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_PHYIE_MASK)
38817 
38818 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PMTIE_MASK (0x10U)
38819 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PMTIE_SHIFT (4U)
38820 /*! PMTIE - PMT Interrupt Enable When this bit is set, it enables the assertion of the interrupt
38821  *    signal because of the setting of MAC_INTERRUPT_STATUS[PMTIS].
38822  *  0b0..PMT Interrupt is disabled
38823  *  0b1..PMT Interrupt is enabled
38824  */
38825 #define ENET_QOS_MAC_INTERRUPT_ENABLE_PMTIE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_PMTIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_PMTIE_MASK)
38826 
38827 #define ENET_QOS_MAC_INTERRUPT_ENABLE_LPIIE_MASK (0x20U)
38828 #define ENET_QOS_MAC_INTERRUPT_ENABLE_LPIIE_SHIFT (5U)
38829 /*! LPIIE - LPI Interrupt Enable When this bit is set, it enables the assertion of the interrupt
38830  *    signal because of the setting of MAC_INTERRUPT_STATUS[LPIIS].
38831  *  0b0..LPI Interrupt is disabled
38832  *  0b1..LPI Interrupt is enabled
38833  */
38834 #define ENET_QOS_MAC_INTERRUPT_ENABLE_LPIIE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_LPIIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_LPIIE_MASK)
38835 
38836 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TSIE_MASK  (0x1000U)
38837 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TSIE_SHIFT (12U)
38838 /*! TSIE - Timestamp Interrupt Enable When this bit is set, it enables the assertion of the
38839  *    interrupt signal because of the setting of MAC_INTERRUPT_STATUS[TSIS].
38840  *  0b0..Timestamp Interrupt is disabled
38841  *  0b1..Timestamp Interrupt is enabled
38842  */
38843 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TSIE(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_TSIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_TSIE_MASK)
38844 
38845 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TXSTSIE_MASK (0x2000U)
38846 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TXSTSIE_SHIFT (13U)
38847 /*! TXSTSIE - Transmit Status Interrupt Enable When this bit is set, it enables the assertion of the
38848  *    interrupt signal because of the setting of MAC_INTERRUPT_STATUS[TXSTSIS].
38849  *  0b0..Timestamp Status Interrupt is disabled
38850  *  0b1..Timestamp Status Interrupt is enabled
38851  */
38852 #define ENET_QOS_MAC_INTERRUPT_ENABLE_TXSTSIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_TXSTSIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_TXSTSIE_MASK)
38853 
38854 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RXSTSIE_MASK (0x4000U)
38855 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RXSTSIE_SHIFT (14U)
38856 /*! RXSTSIE - Receive Status Interrupt Enable When this bit is set, it enables the assertion of the
38857  *    interrupt signal because of the setting of MAC_INTERRUPT_STATUS[RXSTSIS].
38858  *  0b0..Receive Status Interrupt is disabled
38859  *  0b1..Receive Status Interrupt is enabled
38860  */
38861 #define ENET_QOS_MAC_INTERRUPT_ENABLE_RXSTSIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_RXSTSIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_RXSTSIE_MASK)
38862 
38863 #define ENET_QOS_MAC_INTERRUPT_ENABLE_FPEIE_MASK (0x20000U)
38864 #define ENET_QOS_MAC_INTERRUPT_ENABLE_FPEIE_SHIFT (17U)
38865 /*! FPEIE - Frame Preemption Interrupt Enable When this bit is set, it enables the assertion of the
38866  *    interrupt when FPEIS field is set in the MAC_INTERRUPT_STATUS.
38867  *  0b0..Frame Preemption Interrupt is disabled
38868  *  0b1..Frame Preemption Interrupt is enabled
38869  */
38870 #define ENET_QOS_MAC_INTERRUPT_ENABLE_FPEIE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_FPEIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_FPEIE_MASK)
38871 
38872 #define ENET_QOS_MAC_INTERRUPT_ENABLE_MDIOIE_MASK (0x40000U)
38873 #define ENET_QOS_MAC_INTERRUPT_ENABLE_MDIOIE_SHIFT (18U)
38874 /*! MDIOIE - MDIO Interrupt Enable When this bit is set, it enables the assertion of the interrupt
38875  *    when MDIOIS field is set in the MAC_INTERRUPT_STATUS register.
38876  *  0b0..MDIO Interrupt is disabled
38877  *  0b1..MDIO Interrupt is enabled
38878  */
38879 #define ENET_QOS_MAC_INTERRUPT_ENABLE_MDIOIE(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_INTERRUPT_ENABLE_MDIOIE_SHIFT)) & ENET_QOS_MAC_INTERRUPT_ENABLE_MDIOIE_MASK)
38880 /*! @} */
38881 
38882 /*! @name MAC_RX_TX_STATUS - Receive Transmit Status */
38883 /*! @{ */
38884 
38885 #define ENET_QOS_MAC_RX_TX_STATUS_TJT_MASK       (0x1U)
38886 #define ENET_QOS_MAC_RX_TX_STATUS_TJT_SHIFT      (0U)
38887 /*! TJT - Transmit Jabber Timeout This bit indicates that the Transmit Jabber Timer expired which
38888  *    happens when the packet size exceeds 2,048 bytes (10,240 bytes when the Jumbo packet is enabled)
38889  *    and JD bit is reset in the MAC_CONFIGURATION register.
38890  *  0b1..Transmit Jabber Timeout occurred
38891  *  0b0..No Transmit Jabber Timeout
38892  */
38893 #define ENET_QOS_MAC_RX_TX_STATUS_TJT(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_TJT_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_TJT_MASK)
38894 
38895 #define ENET_QOS_MAC_RX_TX_STATUS_NCARR_MASK     (0x2U)
38896 #define ENET_QOS_MAC_RX_TX_STATUS_NCARR_SHIFT    (1U)
38897 /*! NCARR - No Carrier When the DTXSTS bit is set in the MAC_OPERATION_MODE register, this bit
38898  *    indicates that the carrier signal from the PHY is not present at the end of preamble transmission.
38899  *  0b1..No carrier
38900  *  0b0..Carrier is present
38901  */
38902 #define ENET_QOS_MAC_RX_TX_STATUS_NCARR(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_NCARR_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_NCARR_MASK)
38903 
38904 #define ENET_QOS_MAC_RX_TX_STATUS_LCARR_MASK     (0x4U)
38905 #define ENET_QOS_MAC_RX_TX_STATUS_LCARR_SHIFT    (2U)
38906 /*! LCARR - Loss of Carrier When the DTXSTS bit is set in the MAC_OPERATION_MODE register, this bit
38907  *    indicates that the loss of carrier occurred during packet transmission, that is, the phy_crs_i
38908  *    signal was inactive for one or more transmission clock periods during packet transmission.
38909  *  0b1..Loss of carrier
38910  *  0b0..Carrier is present
38911  */
38912 #define ENET_QOS_MAC_RX_TX_STATUS_LCARR(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_LCARR_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_LCARR_MASK)
38913 
38914 #define ENET_QOS_MAC_RX_TX_STATUS_EXDEF_MASK     (0x8U)
38915 #define ENET_QOS_MAC_RX_TX_STATUS_EXDEF_SHIFT    (3U)
38916 /*! EXDEF - Excessive Deferral When the DTXSTS bit is set in the MAC_OPERATION_MODE register and the
38917  *    DC bit is set in the MAC_CONFIGURATION register, this bit indicates that the transmission
38918  *    ended because of excessive deferral of over 24,288 bit times (155,680 in 1000/2500 Mbps mode or
38919  *    when Jumbo packet is enabled).
38920  *  0b1..Excessive deferral
38921  *  0b0..No Excessive deferral
38922  */
38923 #define ENET_QOS_MAC_RX_TX_STATUS_EXDEF(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_EXDEF_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_EXDEF_MASK)
38924 
38925 #define ENET_QOS_MAC_RX_TX_STATUS_LCOL_MASK      (0x10U)
38926 #define ENET_QOS_MAC_RX_TX_STATUS_LCOL_SHIFT     (4U)
38927 /*! LCOL - Late Collision When the DTXSTS bit is set in the MAC_OPERATION_MODE register, this bit
38928  *    indicates that the packet transmission aborted because a collision occurred after the collision
38929  *    window (64 bytes including Preamble in MII mode; 512 bytes including Preamble and Carrier
38930  *    Extension in GMII mode).
38931  *  0b1..Late collision is sensed
38932  *  0b0..No collision
38933  */
38934 #define ENET_QOS_MAC_RX_TX_STATUS_LCOL(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_LCOL_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_LCOL_MASK)
38935 
38936 #define ENET_QOS_MAC_RX_TX_STATUS_EXCOL_MASK     (0x20U)
38937 #define ENET_QOS_MAC_RX_TX_STATUS_EXCOL_SHIFT    (5U)
38938 /*! EXCOL - Excessive Collisions When the DTXSTS bit is set in the MAC_OPERATION_MODE register, this
38939  *    bit indicates that the transmission aborted after 16 successive collisions while attempting
38940  *    to transmit the current packet.
38941  *  0b1..Excessive collision is sensed
38942  *  0b0..No collision
38943  */
38944 #define ENET_QOS_MAC_RX_TX_STATUS_EXCOL(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_EXCOL_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_EXCOL_MASK)
38945 
38946 #define ENET_QOS_MAC_RX_TX_STATUS_RWT_MASK       (0x100U)
38947 #define ENET_QOS_MAC_RX_TX_STATUS_RWT_SHIFT      (8U)
38948 /*! RWT - Receive Watchdog Timeout This bit is set when a packet with length greater than 2,048
38949  *    bytes is received (10, 240 bytes when Jumbo Packet mode is enabled) and the WD bit is reset in the
38950  *    MAC_CONFIGURATION register.
38951  *  0b1..Receive watchdog timed out
38952  *  0b0..No receive watchdog timeout
38953  */
38954 #define ENET_QOS_MAC_RX_TX_STATUS_RWT(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_TX_STATUS_RWT_SHIFT)) & ENET_QOS_MAC_RX_TX_STATUS_RWT_MASK)
38955 /*! @} */
38956 
38957 /*! @name MAC_PMT_CONTROL_STATUS - PMT Control and Status */
38958 /*! @{ */
38959 
38960 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_PWRDWN_MASK (0x1U)
38961 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_PWRDWN_SHIFT (0U)
38962 /*! PWRDWN - Power Down When this bit is set, the MAC receiver drops all received packets until it
38963  *    receives the expected magic packet or remote wake-up packet.
38964  *  0b0..Power down is disabled
38965  *  0b1..Power down is enabled
38966  */
38967 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_PWRDWN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_PWRDWN_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_PWRDWN_MASK)
38968 
38969 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPKTEN_MASK (0x2U)
38970 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPKTEN_SHIFT (1U)
38971 /*! MGKPKTEN - Magic Packet Enable When this bit is set, a power management event is generated when the MAC receives a magic packet.
38972  *  0b0..Magic Packet is disabled
38973  *  0b1..Magic Packet is enabled
38974  */
38975 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPKTEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPKTEN_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPKTEN_MASK)
38976 
38977 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPKTEN_MASK (0x4U)
38978 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPKTEN_SHIFT (2U)
38979 /*! RWKPKTEN - Remote Wake-Up Packet Enable When this bit is set, a power management event is
38980  *    generated when the MAC receives a remote wake-up packet.
38981  *  0b0..Remote wake-up packet is disabled
38982  *  0b1..Remote wake-up packet is enabled
38983  */
38984 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPKTEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPKTEN_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPKTEN_MASK)
38985 
38986 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPRCVD_MASK (0x20U)
38987 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPRCVD_SHIFT (5U)
38988 /*! MGKPRCVD - Magic Packet Received When this bit is set, it indicates that the power management
38989  *    event is generated because of the reception of a magic packet.
38990  *  0b1..Magic packet is received
38991  *  0b0..No Magic packet is received
38992  */
38993 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPRCVD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPRCVD_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_MGKPRCVD_MASK)
38994 
38995 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPRCVD_MASK (0x40U)
38996 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPRCVD_SHIFT (6U)
38997 /*! RWKPRCVD - Remote Wake-Up Packet Received When this bit is set, it indicates that the power
38998  *    management event is generated because of the reception of a remote wake-up packet.
38999  *  0b1..Remote wake-up packet is received
39000  *  0b0..Remote wake-up packet is received
39001  */
39002 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPRCVD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPRCVD_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPRCVD_MASK)
39003 
39004 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_GLBLUCAST_MASK (0x200U)
39005 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_GLBLUCAST_SHIFT (9U)
39006 /*! GLBLUCAST - Global Unicast When this bit set, any unicast packet filtered by the MAC (DAF)
39007  *    address recognition is detected as a remote wake-up packet.
39008  *  0b0..Global unicast is disabled
39009  *  0b1..Global unicast is enabled
39010  */
39011 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_GLBLUCAST(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_GLBLUCAST_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_GLBLUCAST_MASK)
39012 
39013 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPFE_MASK (0x400U)
39014 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPFE_SHIFT (10U)
39015 /*! RWKPFE - Remote Wake-up Packet Forwarding Enable When this bit is set along with RWKPKTEN, the
39016  *    MAC receiver drops all received frames until it receives the expected Wake-up frame.
39017  *  0b0..Remote Wake-up Packet Forwarding is disabled
39018  *  0b1..Remote Wake-up Packet Forwarding is enabled
39019  */
39020 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPFE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPFE_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPFE_MASK)
39021 
39022 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPTR_MASK (0x1F000000U)
39023 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPTR_SHIFT (24U)
39024 /*! RWKPTR - Remote Wake-up FIFO Pointer This field gives the current value (0 to 7, 15, or 31 when
39025  *    4, 8, or 16 Remote Wake-up Packet Filters are selected) of the Remote Wake-up Packet Filter
39026  *    register pointer.
39027  */
39028 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPTR_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKPTR_MASK)
39029 
39030 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKFILTRST_MASK (0x80000000U)
39031 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKFILTRST_SHIFT (31U)
39032 /*! RWKFILTRST - Remote Wake-Up Packet Filter Register Pointer Reset When this bit is set, the
39033  *    remote wake-up packet filter register pointer is reset to 3'b000.
39034  *  0b0..Remote Wake-Up Packet Filter Register Pointer is not Reset
39035  *  0b1..Remote Wake-Up Packet Filter Register Pointer is Reset
39036  */
39037 #define ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKFILTRST(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKFILTRST_SHIFT)) & ENET_QOS_MAC_PMT_CONTROL_STATUS_RWKFILTRST_MASK)
39038 /*! @} */
39039 
39040 /*! @name MAC_RWK_PACKET_FILTER - Remote Wakeup Filter */
39041 /*! @{ */
39042 
39043 #define ENET_QOS_MAC_RWK_PACKET_FILTER_WKUPFRMFTR_MASK (0xFFFFFFFFU)
39044 #define ENET_QOS_MAC_RWK_PACKET_FILTER_WKUPFRMFTR_SHIFT (0U)
39045 /*! WKUPFRMFTR - RWK Packet Filter This field contains the various controls of RWK Packet filter.
39046  */
39047 #define ENET_QOS_MAC_RWK_PACKET_FILTER_WKUPFRMFTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RWK_PACKET_FILTER_WKUPFRMFTR_SHIFT)) & ENET_QOS_MAC_RWK_PACKET_FILTER_WKUPFRMFTR_MASK)
39048 /*! @} */
39049 
39050 /*! @name MAC_LPI_CONTROL_STATUS - LPI Control and Status */
39051 /*! @{ */
39052 
39053 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEN_MASK (0x1U)
39054 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEN_SHIFT (0U)
39055 /*! TLPIEN - Transmit LPI Entry When this bit is set, it indicates that the MAC Transmitter has
39056  *    entered the LPI state because of the setting of the LPIEN bit.
39057  *  0b1..Transmit LPI entry detected
39058  *  0b0..Transmit LPI entry not detected
39059  */
39060 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEN_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEN_MASK)
39061 
39062 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEX_MASK (0x2U)
39063 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEX_SHIFT (1U)
39064 /*! TLPIEX - Transmit LPI Exit When this bit is set, it indicates that the MAC transmitter exited
39065  *    the LPI state after the application cleared the LPIEN bit and the LPI TW Timer has expired.
39066  *  0b1..Transmit LPI exit detected
39067  *  0b0..Transmit LPI exit not detected
39068  */
39069 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEX(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEX_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIEX_MASK)
39070 
39071 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEN_MASK (0x4U)
39072 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEN_SHIFT (2U)
39073 /*! RLPIEN - Receive LPI Entry When this bit is set, it indicates that the MAC Receiver has received
39074  *    an LPI pattern and entered the LPI state.
39075  *  0b1..Receive LPI entry detected
39076  *  0b0..Receive LPI entry not detected
39077  */
39078 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEN_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEN_MASK)
39079 
39080 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEX_MASK (0x8U)
39081 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEX_SHIFT (3U)
39082 /*! RLPIEX - Receive LPI Exit When this bit is set, it indicates that the MAC Receiver has stopped
39083  *    receiving the LPI pattern on the GMII or MII interface, exited the LPI state, and resumed the
39084  *    normal reception.
39085  *  0b1..Receive LPI exit detected
39086  *  0b0..Receive LPI exit not detected
39087  */
39088 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEX(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEX_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIEX_MASK)
39089 
39090 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIST_MASK (0x100U)
39091 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIST_SHIFT (8U)
39092 /*! TLPIST - Transmit LPI State When this bit is set, it indicates that the MAC is transmitting the
39093  *    LPI pattern on the GMII or MII interface.
39094  *  0b1..Transmit LPI state detected
39095  *  0b0..Transmit LPI state not detected
39096  */
39097 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIST(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIST_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_TLPIST_MASK)
39098 
39099 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIST_MASK (0x200U)
39100 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIST_SHIFT (9U)
39101 /*! RLPIST - Receive LPI State When this bit is set, it indicates that the MAC is receiving the LPI
39102  *    pattern on the GMII or MII interface.
39103  *  0b1..Receive LPI state detected
39104  *  0b0..Receive LPI state not detected
39105  */
39106 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIST(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIST_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_RLPIST_MASK)
39107 
39108 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIEN_MASK (0x10000U)
39109 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIEN_SHIFT (16U)
39110 /*! LPIEN - LPI Enable When this bit is set, it instructs the MAC Transmitter to enter the LPI state.
39111  *  0b0..LPI state is disabled
39112  *  0b1..LPI state is enabled
39113  */
39114 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIEN_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIEN_MASK)
39115 
39116 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLS_MASK (0x20000U)
39117 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLS_SHIFT (17U)
39118 /*! PLS - PHY Link Status This bit indicates the link status of the PHY.
39119  *  0b0..link is down
39120  *  0b1..link is okay (UP)
39121  */
39122 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_PLS_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_PLS_MASK)
39123 
39124 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLSEN_MASK (0x40000U)
39125 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLSEN_SHIFT (18U)
39126 /*! PLSEN - PHY Link Status Enable This bit enables the link status received on the RGMII, SGMII, or
39127  *    SMII Receive paths to be used for activating the LPI LS TIMER.
39128  *  0b0..PHY Link Status is disabled
39129  *  0b1..PHY Link Status is enabled
39130  */
39131 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_PLSEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_PLSEN_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_PLSEN_MASK)
39132 
39133 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITXA_MASK (0x80000U)
39134 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITXA_SHIFT (19U)
39135 /*! LPITXA - LPI Tx Automate This bit controls the behavior of the MAC when it is entering or coming
39136  *    out of the LPI mode on the Transmit side.
39137  *  0b0..LPI Tx Automate is disabled
39138  *  0b1..LPI Tx Automate is enabled
39139  */
39140 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITXA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITXA_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITXA_MASK)
39141 
39142 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIATE_MASK (0x100000U)
39143 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIATE_SHIFT (20U)
39144 /*! LPIATE - LPI Timer Enable This bit controls the automatic entry of the MAC Transmitter into and exit out of the LPI state.
39145  *  0b0..LPI Timer is disabled
39146  *  0b1..LPI Timer is enabled
39147  */
39148 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIATE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIATE_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_LPIATE_MASK)
39149 
39150 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITCSE_MASK (0x200000U)
39151 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITCSE_SHIFT (21U)
39152 /*! LPITCSE - LPI Tx Clock Stop Enable When this bit is set, the MAC asserts
39153  *    sbd_tx_clk_gating_ctrl_o signal high after it enters Tx LPI mode to indicate that the Tx clock to MAC can be stopped.
39154  *  0b0..LPI Tx Clock Stop is disabled
39155  *  0b1..LPI Tx Clock Stop is enabled
39156  */
39157 #define ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITCSE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITCSE_SHIFT)) & ENET_QOS_MAC_LPI_CONTROL_STATUS_LPITCSE_MASK)
39158 /*! @} */
39159 
39160 /*! @name MAC_LPI_TIMERS_CONTROL - LPI Timers Control */
39161 /*! @{ */
39162 
39163 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_TWT_MASK (0xFFFFU)
39164 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_TWT_SHIFT (0U)
39165 /*! TWT - LPI TW Timer This field specifies the minimum time (in microseconds) for which the MAC
39166  *    waits after it stops transmitting the LPI pattern to the PHY and before it resumes the normal
39167  *    transmission.
39168  */
39169 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_TWT(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_TIMERS_CONTROL_TWT_SHIFT)) & ENET_QOS_MAC_LPI_TIMERS_CONTROL_TWT_MASK)
39170 
39171 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_LST_MASK (0x3FF0000U)
39172 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_LST_SHIFT (16U)
39173 /*! LST - LPI LS Timer This field specifies the minimum time (in milliseconds) for which the link
39174  *    status from the PHY should be up (OKAY) before the LPI pattern can be transmitted to the PHY.
39175  */
39176 #define ENET_QOS_MAC_LPI_TIMERS_CONTROL_LST(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_TIMERS_CONTROL_LST_SHIFT)) & ENET_QOS_MAC_LPI_TIMERS_CONTROL_LST_MASK)
39177 /*! @} */
39178 
39179 /*! @name MAC_LPI_ENTRY_TIMER - Tx LPI Entry Timer Control */
39180 /*! @{ */
39181 
39182 #define ENET_QOS_MAC_LPI_ENTRY_TIMER_LPIET_MASK  (0xFFFF8U)
39183 #define ENET_QOS_MAC_LPI_ENTRY_TIMER_LPIET_SHIFT (3U)
39184 /*! LPIET - LPI Entry Timer This field specifies the time in microseconds the MAC waits to enter LPI
39185  *    mode, after it has transmitted all the frames.
39186  */
39187 #define ENET_QOS_MAC_LPI_ENTRY_TIMER_LPIET(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LPI_ENTRY_TIMER_LPIET_SHIFT)) & ENET_QOS_MAC_LPI_ENTRY_TIMER_LPIET_MASK)
39188 /*! @} */
39189 
39190 /*! @name MAC_ONEUS_TIC_COUNTER - One-microsecond Reference Timer */
39191 /*! @{ */
39192 
39193 #define ENET_QOS_MAC_ONEUS_TIC_COUNTER_TIC_1US_CNTR_MASK (0xFFFU)
39194 #define ENET_QOS_MAC_ONEUS_TIC_COUNTER_TIC_1US_CNTR_SHIFT (0U)
39195 /*! TIC_1US_CNTR - 1US TIC Counter The application must program this counter so that the number of clock cycles of CSR clock is 1us.
39196  */
39197 #define ENET_QOS_MAC_ONEUS_TIC_COUNTER_TIC_1US_CNTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_ONEUS_TIC_COUNTER_TIC_1US_CNTR_SHIFT)) & ENET_QOS_MAC_ONEUS_TIC_COUNTER_TIC_1US_CNTR_MASK)
39198 /*! @} */
39199 
39200 /*! @name MAC_PHYIF_CONTROL_STATUS - PHY Interface Control and Status */
39201 /*! @{ */
39202 
39203 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_TC_MASK (0x1U)
39204 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_TC_SHIFT (0U)
39205 /*! TC - Transmit Configuration in RGMII, SGMII, or SMII When set, this bit enables the transmission
39206  *    of duplex mode, link speed, and link up or down information to the PHY in the RGMII, SMII, or
39207  *    SGMII port.
39208  *  0b0..Disable Transmit Configuration in RGMII, SGMII, or SMII
39209  *  0b1..Enable Transmit Configuration in RGMII, SGMII, or SMII
39210  */
39211 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_TC(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PHYIF_CONTROL_STATUS_TC_SHIFT)) & ENET_QOS_MAC_PHYIF_CONTROL_STATUS_TC_MASK)
39212 
39213 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LUD_MASK (0x2U)
39214 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LUD_SHIFT (1U)
39215 /*! LUD - Link Up or Down This bit indicates whether the link is up or down during transmission of
39216  *    configuration in the RGMII, SGMII, or SMII interface.
39217  *  0b0..Link down
39218  *  0b1..Link up
39219  */
39220 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LUD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LUD_SHIFT)) & ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LUD_MASK)
39221 
39222 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKMOD_MASK (0x10000U)
39223 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKMOD_SHIFT (16U)
39224 /*! LNKMOD - Link Mode This bit indicates the current mode of operation of the link.
39225  *  0b1..Full-duplex mode
39226  *  0b0..Half-duplex mode
39227  */
39228 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKMOD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKMOD_SHIFT)) & ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKMOD_MASK)
39229 
39230 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSPEED_MASK (0x60000U)
39231 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSPEED_SHIFT (17U)
39232 /*! LNKSPEED - Link Speed This bit indicates the current speed of the link.
39233  *  0b10..125 MHz
39234  *  0b00..2.5 MHz
39235  *  0b01..25 MHz
39236  *  0b11..Reserved
39237  */
39238 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSPEED(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSPEED_SHIFT)) & ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSPEED_MASK)
39239 
39240 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSTS_MASK (0x80000U)
39241 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSTS_SHIFT (19U)
39242 /*! LNKSTS - Link Status This bit indicates whether the link is up (1'b1) or down (1'b0).
39243  *  0b1..Link up
39244  *  0b0..Link down
39245  */
39246 #define ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSTS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSTS_SHIFT)) & ENET_QOS_MAC_PHYIF_CONTROL_STATUS_LNKSTS_MASK)
39247 /*! @} */
39248 
39249 /*! @name MAC_VERSION - MAC Version */
39250 /*! @{ */
39251 
39252 #define ENET_QOS_MAC_VERSION_SNPSVER_MASK        (0xFFU)
39253 #define ENET_QOS_MAC_VERSION_SNPSVER_SHIFT       (0U)
39254 /*! SNPSVER - Synopsys-defined Version
39255  */
39256 #define ENET_QOS_MAC_VERSION_SNPSVER(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VERSION_SNPSVER_SHIFT)) & ENET_QOS_MAC_VERSION_SNPSVER_MASK)
39257 
39258 #define ENET_QOS_MAC_VERSION_USERVER_MASK        (0xFF00U)
39259 #define ENET_QOS_MAC_VERSION_USERVER_SHIFT       (8U)
39260 /*! USERVER - User-defined Version (8'h10)
39261  */
39262 #define ENET_QOS_MAC_VERSION_USERVER(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_VERSION_USERVER_SHIFT)) & ENET_QOS_MAC_VERSION_USERVER_MASK)
39263 /*! @} */
39264 
39265 /*! @name MAC_DEBUG - MAC Debug */
39266 /*! @{ */
39267 
39268 #define ENET_QOS_MAC_DEBUG_RPESTS_MASK           (0x1U)
39269 #define ENET_QOS_MAC_DEBUG_RPESTS_SHIFT          (0U)
39270 /*! RPESTS - MAC GMII or MII Receive Protocol Engine Status When this bit is set, it indicates that
39271  *    the MAC GMII or MII receive protocol engine is actively receiving data, and it is not in the
39272  *    Idle state.
39273  *  0b1..MAC GMII or MII Receive Protocol Engine Status detected
39274  *  0b0..MAC GMII or MII Receive Protocol Engine Status not detected
39275  */
39276 #define ENET_QOS_MAC_DEBUG_RPESTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_DEBUG_RPESTS_SHIFT)) & ENET_QOS_MAC_DEBUG_RPESTS_MASK)
39277 
39278 #define ENET_QOS_MAC_DEBUG_RFCFCSTS_MASK         (0x6U)
39279 #define ENET_QOS_MAC_DEBUG_RFCFCSTS_SHIFT        (1U)
39280 /*! RFCFCSTS - MAC Receive Packet Controller FIFO Status When this bit is set, this field indicates
39281  *    the active state of the small FIFO Read and Write controllers of the MAC Receive Packet
39282  *    Controller module.
39283  */
39284 #define ENET_QOS_MAC_DEBUG_RFCFCSTS(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_DEBUG_RFCFCSTS_SHIFT)) & ENET_QOS_MAC_DEBUG_RFCFCSTS_MASK)
39285 
39286 #define ENET_QOS_MAC_DEBUG_TPESTS_MASK           (0x10000U)
39287 #define ENET_QOS_MAC_DEBUG_TPESTS_SHIFT          (16U)
39288 /*! TPESTS - MAC GMII or MII Transmit Protocol Engine Status When this bit is set, it indicates that
39289  *    the MAC GMII or MII transmit protocol engine is actively transmitting data, and it is not in
39290  *    the Idle state.
39291  *  0b1..MAC GMII or MII Transmit Protocol Engine Status detected
39292  *  0b0..MAC GMII or MII Transmit Protocol Engine Status not detected
39293  */
39294 #define ENET_QOS_MAC_DEBUG_TPESTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_DEBUG_TPESTS_SHIFT)) & ENET_QOS_MAC_DEBUG_TPESTS_MASK)
39295 
39296 #define ENET_QOS_MAC_DEBUG_TFCSTS_MASK           (0x60000U)
39297 #define ENET_QOS_MAC_DEBUG_TFCSTS_SHIFT          (17U)
39298 /*! TFCSTS - MAC Transmit Packet Controller Status This field indicates the state of the MAC Transmit Packet Controller module.
39299  *  0b10..Generating and transmitting a Pause control packet (in full-duplex mode)
39300  *  0b00..Idle state
39301  *  0b11..Transferring input packet for transmission
39302  *  0b01..Waiting for one of the following: Status of the previous packet OR IPG or back off period to be over
39303  */
39304 #define ENET_QOS_MAC_DEBUG_TFCSTS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_DEBUG_TFCSTS_SHIFT)) & ENET_QOS_MAC_DEBUG_TFCSTS_MASK)
39305 /*! @} */
39306 
39307 /*! @name MAC_HW_FEAT - Optional Features or Functions 0..Optional Features or Functions 3 */
39308 /*! @{ */
39309 
39310 #define ENET_QOS_MAC_HW_FEAT_MIISEL_MASK         (0x1U)
39311 #define ENET_QOS_MAC_HW_FEAT_MIISEL_SHIFT        (0U)
39312 /*! MIISEL - 10 or 100 Mbps Support This bit is set to 1 when 10/100 Mbps is selected as the Mode of Operation
39313  *  0b1..10 or 100 Mbps support
39314  *  0b0..No 10 or 100 Mbps support
39315  */
39316 #define ENET_QOS_MAC_HW_FEAT_MIISEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_MIISEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_MIISEL_MASK)
39317 
39318 #define ENET_QOS_MAC_HW_FEAT_NRVF_MASK           (0x7U)
39319 #define ENET_QOS_MAC_HW_FEAT_NRVF_SHIFT          (0U)
39320 /*! NRVF - Number of Extended VLAN Tag Filters Enabled This field indicates the Number of Extended VLAN Tag Filters selected:
39321  *  0b011..16 Extended Rx VLAN Filters
39322  *  0b100..24 Extended Rx VLAN Filters
39323  *  0b101..32 Extended Rx VLAN Filters
39324  *  0b001..4 Extended Rx VLAN Filters
39325  *  0b010..8 Extended Rx VLAN Filters
39326  *  0b000..No Extended Rx VLAN Filters
39327  *  0b110..Reserved
39328  */
39329 #define ENET_QOS_MAC_HW_FEAT_NRVF(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_NRVF_SHIFT)) & ENET_QOS_MAC_HW_FEAT_NRVF_MASK)
39330 
39331 #define ENET_QOS_MAC_HW_FEAT_RXFIFOSIZE_MASK     (0x1FU)
39332 #define ENET_QOS_MAC_HW_FEAT_RXFIFOSIZE_SHIFT    (0U)
39333 /*! RXFIFOSIZE - MTL Receive FIFO Size This field contains the configured value of MTL Rx FIFO in
39334  *    bytes expressed as Log to base 2 minus 7, that is, Log2(RXFIFO_SIZE) -7:
39335  *  0b00011..1024 bytes
39336  *  0b00000..128 bytes
39337  *  0b01010..128 KB
39338  *  0b00111..16384 bytes
39339  *  0b00100..2048 bytes
39340  *  0b00001..256 bytes
39341  *  0b01011..256 KB
39342  *  0b01000..32 KB
39343  *  0b00101..4096 bytes
39344  *  0b00010..512 bytes
39345  *  0b01001..64 KB
39346  *  0b00110..8192 bytes
39347  *  0b01100..Reserved
39348  */
39349 #define ENET_QOS_MAC_HW_FEAT_RXFIFOSIZE(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RXFIFOSIZE_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RXFIFOSIZE_MASK)
39350 
39351 #define ENET_QOS_MAC_HW_FEAT_RXQCNT_MASK         (0xFU)
39352 #define ENET_QOS_MAC_HW_FEAT_RXQCNT_SHIFT        (0U)
39353 /*! RXQCNT - Number of MTL Receive Queues This field indicates the number of MTL Receive queues:
39354  *  0b0000..1 MTL Rx Queue
39355  *  0b0001..2 MTL Rx Queues
39356  *  0b0010..3 MTL Rx Queues
39357  *  0b0011..4 MTL Rx Queues
39358  *  0b0100..5 MTL Rx Queues
39359  *  0b0101..Reserved
39360  *  0b0110..Reserved
39361  *  0b0111..Reserved
39362  */
39363 #define ENET_QOS_MAC_HW_FEAT_RXQCNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RXQCNT_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RXQCNT_MASK)
39364 
39365 #define ENET_QOS_MAC_HW_FEAT_GMIISEL_MASK        (0x2U)
39366 #define ENET_QOS_MAC_HW_FEAT_GMIISEL_SHIFT       (1U)
39367 /*! GMIISEL - 1000 Mbps Support This bit is set to 1 when 1000 Mbps is selected as the Mode of Operation
39368  *  0b1..1000 Mbps support
39369  *  0b0..No 1000 Mbps support
39370  */
39371 #define ENET_QOS_MAC_HW_FEAT_GMIISEL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_GMIISEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_GMIISEL_MASK)
39372 
39373 #define ENET_QOS_MAC_HW_FEAT_HDSEL_MASK          (0x4U)
39374 #define ENET_QOS_MAC_HW_FEAT_HDSEL_SHIFT         (2U)
39375 /*! HDSEL - Half-duplex Support This bit is set to 1 when the half-duplex mode is selected
39376  *  0b1..Half-duplex support
39377  *  0b0..No Half-duplex support
39378  */
39379 #define ENET_QOS_MAC_HW_FEAT_HDSEL(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_HDSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_HDSEL_MASK)
39380 
39381 #define ENET_QOS_MAC_HW_FEAT_PCSSEL_MASK         (0x8U)
39382 #define ENET_QOS_MAC_HW_FEAT_PCSSEL_SHIFT        (3U)
39383 /*! PCSSEL - PCS Registers (TBI, SGMII, or RTBI PHY interface) This bit is set to 1 when the TBI,
39384  *    SGMII, or RTBI PHY interface option is selected
39385  *  0b1..PCS Registers (TBI, SGMII, or RTBI PHY interface)
39386  *  0b0..No PCS Registers (TBI, SGMII, or RTBI PHY interface)
39387  */
39388 #define ENET_QOS_MAC_HW_FEAT_PCSSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_PCSSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_PCSSEL_MASK)
39389 
39390 #define ENET_QOS_MAC_HW_FEAT_CBTISEL_MASK        (0x10U)
39391 #define ENET_QOS_MAC_HW_FEAT_CBTISEL_SHIFT       (4U)
39392 /*! CBTISEL - Queue/Channel based VLAN tag insertion on Tx Enable This bit is set to 1 when the
39393  *    Enable Queue/Channel based VLAN tag insertion on Tx Feature is selected.
39394  *  0b1..Enable Queue/Channel based VLAN tag insertion on Tx feature is selected
39395  *  0b0..Enable Queue/Channel based VLAN tag insertion on Tx feature is not selected
39396  */
39397 #define ENET_QOS_MAC_HW_FEAT_CBTISEL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_CBTISEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_CBTISEL_MASK)
39398 
39399 #define ENET_QOS_MAC_HW_FEAT_VLHASH_MASK         (0x10U)
39400 #define ENET_QOS_MAC_HW_FEAT_VLHASH_SHIFT        (4U)
39401 /*! VLHASH - VLAN Hash Filter Selected This bit is set to 1 when the Enable VLAN Hash Table Based Filtering option is selected
39402  *  0b1..VLAN Hash Filter selected
39403  *  0b0..VLAN Hash Filter not selected
39404  */
39405 #define ENET_QOS_MAC_HW_FEAT_VLHASH(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_VLHASH_SHIFT)) & ENET_QOS_MAC_HW_FEAT_VLHASH_MASK)
39406 
39407 #define ENET_QOS_MAC_HW_FEAT_DVLAN_MASK          (0x20U)
39408 #define ENET_QOS_MAC_HW_FEAT_DVLAN_SHIFT         (5U)
39409 /*! DVLAN - Double VLAN Tag Processing Selected This bit is set to 1 when the Enable Double VLAN Processing Feature is selected.
39410  *  0b1..Double VLAN option is selected
39411  *  0b0..Double VLAN option is not selected
39412  */
39413 #define ENET_QOS_MAC_HW_FEAT_DVLAN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_DVLAN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_DVLAN_MASK)
39414 
39415 #define ENET_QOS_MAC_HW_FEAT_SMASEL_MASK         (0x20U)
39416 #define ENET_QOS_MAC_HW_FEAT_SMASEL_SHIFT        (5U)
39417 /*! SMASEL - SMA (MDIO) Interface This bit is set to 1 when the Enable Station Management (MDIO Interface) option is selected
39418  *  0b1..SMA (MDIO) Interface selected
39419  *  0b0..SMA (MDIO) Interface not selected
39420  */
39421 #define ENET_QOS_MAC_HW_FEAT_SMASEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_SMASEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_SMASEL_MASK)
39422 
39423 #define ENET_QOS_MAC_HW_FEAT_SPRAM_MASK          (0x20U)
39424 #define ENET_QOS_MAC_HW_FEAT_SPRAM_SHIFT         (5U)
39425 /*! SPRAM - Single Port RAM Enable This bit is set to 1 when the Use single port RAM Feature is selected.
39426  *  0b1..Single Port RAM feature is selected
39427  *  0b0..Single Port RAM feature is not selected
39428  */
39429 #define ENET_QOS_MAC_HW_FEAT_SPRAM(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_SPRAM_SHIFT)) & ENET_QOS_MAC_HW_FEAT_SPRAM_MASK)
39430 
39431 #define ENET_QOS_MAC_HW_FEAT_RWKSEL_MASK         (0x40U)
39432 #define ENET_QOS_MAC_HW_FEAT_RWKSEL_SHIFT        (6U)
39433 /*! RWKSEL - PMT Remote Wake-up Packet Enable This bit is set to 1 when the Enable Remote Wake-Up Packet Detection option is selected
39434  *  0b1..PMT Remote Wake-up Packet Enable option is selected
39435  *  0b0..PMT Remote Wake-up Packet Enable option is not selected
39436  */
39437 #define ENET_QOS_MAC_HW_FEAT_RWKSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RWKSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RWKSEL_MASK)
39438 
39439 #define ENET_QOS_MAC_HW_FEAT_TXFIFOSIZE_MASK     (0x7C0U)
39440 #define ENET_QOS_MAC_HW_FEAT_TXFIFOSIZE_SHIFT    (6U)
39441 /*! TXFIFOSIZE - MTL Transmit FIFO Size This field contains the configured value of MTL Tx FIFO in
39442  *    bytes expressed as Log to base 2 minus 7, that is, Log2(TXFIFO_SIZE) -7:
39443  *  0b00011..1024 bytes
39444  *  0b00000..128 bytes
39445  *  0b01010..128 KB
39446  *  0b00111..16384 bytes
39447  *  0b00100..2048 bytes
39448  *  0b00001..256 bytes
39449  *  0b01000..32 KB
39450  *  0b00101..4096 bytes
39451  *  0b00010..512 bytes
39452  *  0b01001..64 KB
39453  *  0b00110..8192 bytes
39454  *  0b01011..Reserved
39455  */
39456 #define ENET_QOS_MAC_HW_FEAT_TXFIFOSIZE(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TXFIFOSIZE_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TXFIFOSIZE_MASK)
39457 
39458 #define ENET_QOS_MAC_HW_FEAT_TXQCNT_MASK         (0x3C0U)
39459 #define ENET_QOS_MAC_HW_FEAT_TXQCNT_SHIFT        (6U)
39460 /*! TXQCNT - Number of MTL Transmit Queues This field indicates the number of MTL Transmit queues:
39461  *  0b0000..1 MTL Tx Queue
39462  *  0b0001..2 MTL Tx Queues
39463  *  0b0010..3 MTL Tx Queues
39464  *  0b0011..4 MTL Tx Queues
39465  *  0b0100..5 MTL Tx Queues
39466  *  0b0101..Reserved
39467  *  0b0110..Reserved
39468  *  0b0111..Reserved
39469  */
39470 #define ENET_QOS_MAC_HW_FEAT_TXQCNT(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TXQCNT_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TXQCNT_MASK)
39471 
39472 #define ENET_QOS_MAC_HW_FEAT_MGKSEL_MASK         (0x80U)
39473 #define ENET_QOS_MAC_HW_FEAT_MGKSEL_SHIFT        (7U)
39474 /*! MGKSEL - PMT Magic Packet Enable This bit is set to 1 when the Enable Magic Packet Detection option is selected
39475  *  0b1..PMT Magic Packet Enable option is selected
39476  *  0b0..PMT Magic Packet Enable option is not selected
39477  */
39478 #define ENET_QOS_MAC_HW_FEAT_MGKSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_MGKSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_MGKSEL_MASK)
39479 
39480 #define ENET_QOS_MAC_HW_FEAT_MMCSEL_MASK         (0x100U)
39481 #define ENET_QOS_MAC_HW_FEAT_MMCSEL_SHIFT        (8U)
39482 /*! MMCSEL - RMON Module Enable This bit is set to 1 when the Enable MAC Management Counters (MMC) option is selected
39483  *  0b1..RMON Module Enable option is selected
39484  *  0b0..RMON Module Enable option is not selected
39485  */
39486 #define ENET_QOS_MAC_HW_FEAT_MMCSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_MMCSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_MMCSEL_MASK)
39487 
39488 #define ENET_QOS_MAC_HW_FEAT_ARPOFFSEL_MASK      (0x200U)
39489 #define ENET_QOS_MAC_HW_FEAT_ARPOFFSEL_SHIFT     (9U)
39490 /*! ARPOFFSEL - ARP Offload Enabled This bit is set to 1 when the Enable IPv4 ARP Offload option is selected
39491  *  0b1..ARP Offload Enable option is selected
39492  *  0b0..ARP Offload Enable option is not selected
39493  */
39494 #define ENET_QOS_MAC_HW_FEAT_ARPOFFSEL(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ARPOFFSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ARPOFFSEL_MASK)
39495 
39496 #define ENET_QOS_MAC_HW_FEAT_PDUPSEL_MASK        (0x200U)
39497 #define ENET_QOS_MAC_HW_FEAT_PDUPSEL_SHIFT       (9U)
39498 /*! PDUPSEL - Broadcast/Multicast Packet Duplication This bit is set to 1 when the
39499  *    Broadcast/Multicast Packet Duplication feature is selected.
39500  *  0b1..Broadcast/Multicast Packet Duplication feature is selected
39501  *  0b0..Broadcast/Multicast Packet Duplication feature is not selected
39502  */
39503 #define ENET_QOS_MAC_HW_FEAT_PDUPSEL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_PDUPSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_PDUPSEL_MASK)
39504 
39505 #define ENET_QOS_MAC_HW_FEAT_FRPSEL_MASK         (0x400U)
39506 #define ENET_QOS_MAC_HW_FEAT_FRPSEL_SHIFT        (10U)
39507 /*! FRPSEL - Flexible Receive Parser Selected This bit is set to 1 when the Enable Flexible
39508  *    Programmable Receive Parser option is selected.
39509  *  0b1..Flexible Receive Parser feature is selected
39510  *  0b0..Flexible Receive Parser feature is not selected
39511  */
39512 #define ENET_QOS_MAC_HW_FEAT_FRPSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_FRPSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_FRPSEL_MASK)
39513 
39514 #define ENET_QOS_MAC_HW_FEAT_FRPBS_MASK          (0x1800U)
39515 #define ENET_QOS_MAC_HW_FEAT_FRPBS_SHIFT         (11U)
39516 /*! FRPBS - Flexible Receive Parser Buffer size This field indicates the supported Max Number of
39517  *    bytes of the packet data to be Parsed by Flexible Receive Parser.
39518  *  0b01..128 Bytes
39519  *  0b10..256 Bytes
39520  *  0b00..64 Bytes
39521  *  0b11..Reserved
39522  */
39523 #define ENET_QOS_MAC_HW_FEAT_FRPBS(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_FRPBS_SHIFT)) & ENET_QOS_MAC_HW_FEAT_FRPBS_MASK)
39524 
39525 #define ENET_QOS_MAC_HW_FEAT_OSTEN_MASK          (0x800U)
39526 #define ENET_QOS_MAC_HW_FEAT_OSTEN_SHIFT         (11U)
39527 /*! OSTEN - One-Step Timestamping Enable This bit is set to 1 when the Enable One-Step Timestamp Feature is selected.
39528  *  0b1..One-Step Timestamping feature is selected
39529  *  0b0..One-Step Timestamping feature is not selected
39530  */
39531 #define ENET_QOS_MAC_HW_FEAT_OSTEN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_OSTEN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_OSTEN_MASK)
39532 
39533 #define ENET_QOS_MAC_HW_FEAT_PTOEN_MASK          (0x1000U)
39534 #define ENET_QOS_MAC_HW_FEAT_PTOEN_SHIFT         (12U)
39535 /*! PTOEN - PTP Offload Enable This bit is set to 1 when the Enable PTP Timestamp Offload Feature is selected.
39536  *  0b1..PTP Offload feature is selected
39537  *  0b0..PTP Offload feature is not selected
39538  */
39539 #define ENET_QOS_MAC_HW_FEAT_PTOEN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_PTOEN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_PTOEN_MASK)
39540 
39541 #define ENET_QOS_MAC_HW_FEAT_RXCHCNT_MASK        (0xF000U)
39542 #define ENET_QOS_MAC_HW_FEAT_RXCHCNT_SHIFT       (12U)
39543 /*! RXCHCNT - Number of DMA Receive Channels This field indicates the number of DMA Receive channels:
39544  *  0b0000..1 MTL Rx Channel
39545  *  0b0001..2 MTL Rx Channels
39546  *  0b0010..3 MTL Rx Channels
39547  *  0b0011..4 MTL Rx Channels
39548  *  0b0100..5 MTL Rx Channels
39549  *  0b0101..Reserved
39550  *  0b0110..Reserved
39551  *  0b0111..Reserved
39552  */
39553 #define ENET_QOS_MAC_HW_FEAT_RXCHCNT(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RXCHCNT_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RXCHCNT_MASK)
39554 
39555 #define ENET_QOS_MAC_HW_FEAT_TSSEL_MASK          (0x1000U)
39556 #define ENET_QOS_MAC_HW_FEAT_TSSEL_SHIFT         (12U)
39557 /*! TSSEL - IEEE 1588-2008 Timestamp Enabled This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected
39558  *  0b1..IEEE 1588-2008 Timestamp Enable option is selected
39559  *  0b0..IEEE 1588-2008 Timestamp Enable option is not selected
39560  */
39561 #define ENET_QOS_MAC_HW_FEAT_TSSEL(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TSSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TSSEL_MASK)
39562 
39563 #define ENET_QOS_MAC_HW_FEAT_ADVTHWORD_MASK      (0x2000U)
39564 #define ENET_QOS_MAC_HW_FEAT_ADVTHWORD_SHIFT     (13U)
39565 /*! ADVTHWORD - IEEE 1588 High Word Register Enable This bit is set to 1 when the Add IEEE 1588 Higher Word Register option is selected
39566  *  0b1..IEEE 1588 High Word Register option is selected
39567  *  0b0..IEEE 1588 High Word Register option is not selected
39568  */
39569 #define ENET_QOS_MAC_HW_FEAT_ADVTHWORD(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ADVTHWORD_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ADVTHWORD_MASK)
39570 
39571 #define ENET_QOS_MAC_HW_FEAT_EEESEL_MASK         (0x2000U)
39572 #define ENET_QOS_MAC_HW_FEAT_EEESEL_SHIFT        (13U)
39573 /*! EEESEL - Energy Efficient Ethernet Enabled This bit is set to 1 when the Enable Energy Efficient
39574  *    Ethernet (EEE) option is selected
39575  *  0b1..Energy Efficient Ethernet Enable option is selected
39576  *  0b0..Energy Efficient Ethernet Enable option is not selected
39577  */
39578 #define ENET_QOS_MAC_HW_FEAT_EEESEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_EEESEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_EEESEL_MASK)
39579 
39580 #define ENET_QOS_MAC_HW_FEAT_FRPES_MASK          (0x6000U)
39581 #define ENET_QOS_MAC_HW_FEAT_FRPES_SHIFT         (13U)
39582 /*! FRPES - Flexible Receive Parser Table Entries size This field indicates the Max Number of Parser
39583  *    Entries supported by Flexible Receive Parser.
39584  *  0b01..128 Entries
39585  *  0b10..256 Entries
39586  *  0b00..64 Entries
39587  *  0b11..Reserved
39588  */
39589 #define ENET_QOS_MAC_HW_FEAT_FRPES(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_FRPES_SHIFT)) & ENET_QOS_MAC_HW_FEAT_FRPES_MASK)
39590 
39591 #define ENET_QOS_MAC_HW_FEAT_ADDR64_MASK         (0xC000U)
39592 #define ENET_QOS_MAC_HW_FEAT_ADDR64_SHIFT        (14U)
39593 /*! ADDR64 - Address Width.
39594  *  0b00..32
39595  *  0b01..40
39596  *  0b10..48
39597  *  0b11..Reserved
39598  */
39599 #define ENET_QOS_MAC_HW_FEAT_ADDR64(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ADDR64_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ADDR64_MASK)
39600 
39601 #define ENET_QOS_MAC_HW_FEAT_TXCOESEL_MASK       (0x4000U)
39602 #define ENET_QOS_MAC_HW_FEAT_TXCOESEL_SHIFT      (14U)
39603 /*! TXCOESEL - Transmit Checksum Offload Enabled This bit is set to 1 when the Enable Transmit
39604  *    TCP/IP Checksum Insertion option is selected
39605  *  0b1..Transmit Checksum Offload Enable option is selected
39606  *  0b0..Transmit Checksum Offload Enable option is not selected
39607  */
39608 #define ENET_QOS_MAC_HW_FEAT_TXCOESEL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TXCOESEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TXCOESEL_MASK)
39609 
39610 #define ENET_QOS_MAC_HW_FEAT_DCBEN_MASK          (0x10000U)
39611 #define ENET_QOS_MAC_HW_FEAT_DCBEN_SHIFT         (16U)
39612 /*! DCBEN - DCB Feature Enable This bit is set to 1 when the Enable Data Center Bridging option is selected
39613  *  0b1..DCB Feature is selected
39614  *  0b0..DCB Feature is not selected
39615  */
39616 #define ENET_QOS_MAC_HW_FEAT_DCBEN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_DCBEN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_DCBEN_MASK)
39617 
39618 #define ENET_QOS_MAC_HW_FEAT_ESTSEL_MASK         (0x10000U)
39619 #define ENET_QOS_MAC_HW_FEAT_ESTSEL_SHIFT        (16U)
39620 /*! ESTSEL - Enhancements to Scheduling Traffic Enable This bit is set to 1 when the Enable
39621  *    Enhancements to Scheduling Traffic feature is selected.
39622  *  0b1..Enable Enhancements to Scheduling Traffic feature is selected
39623  *  0b0..Enable Enhancements to Scheduling Traffic feature is not selected
39624  */
39625 #define ENET_QOS_MAC_HW_FEAT_ESTSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ESTSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ESTSEL_MASK)
39626 
39627 #define ENET_QOS_MAC_HW_FEAT_RXCOESEL_MASK       (0x10000U)
39628 #define ENET_QOS_MAC_HW_FEAT_RXCOESEL_SHIFT      (16U)
39629 /*! RXCOESEL - Receive Checksum Offload Enabled This bit is set to 1 when the Enable Receive TCP/IP Checksum Check option is selected
39630  *  0b1..Receive Checksum Offload Enable option is selected
39631  *  0b0..Receive Checksum Offload Enable option is not selected
39632  */
39633 #define ENET_QOS_MAC_HW_FEAT_RXCOESEL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RXCOESEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RXCOESEL_MASK)
39634 
39635 #define ENET_QOS_MAC_HW_FEAT_ESTDEP_MASK         (0xE0000U)
39636 #define ENET_QOS_MAC_HW_FEAT_ESTDEP_SHIFT        (17U)
39637 /*! ESTDEP - Depth of the Gate Control List This field indicates the depth of Gate Control list expressed as Log2(DWC_EQOS_EST_DEP)-5
39638  *  0b101..1024
39639  *  0b010..128
39640  *  0b011..256
39641  *  0b100..512
39642  *  0b001..64
39643  *  0b000..No Depth configured
39644  *  0b110..Reserved
39645  */
39646 #define ENET_QOS_MAC_HW_FEAT_ESTDEP(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ESTDEP_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ESTDEP_MASK)
39647 
39648 #define ENET_QOS_MAC_HW_FEAT_SPHEN_MASK          (0x20000U)
39649 #define ENET_QOS_MAC_HW_FEAT_SPHEN_SHIFT         (17U)
39650 /*! SPHEN - Split Header Feature Enable This bit is set to 1 when the Enable Split Header Structure option is selected
39651  *  0b1..Split Header Feature is selected
39652  *  0b0..Split Header Feature is not selected
39653  */
39654 #define ENET_QOS_MAC_HW_FEAT_SPHEN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_SPHEN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_SPHEN_MASK)
39655 
39656 #define ENET_QOS_MAC_HW_FEAT_ADDMACADRSEL_MASK   (0x7C0000U)
39657 #define ENET_QOS_MAC_HW_FEAT_ADDMACADRSEL_SHIFT  (18U)
39658 /*! ADDMACADRSEL - MAC Addresses 1-31 Selected This bit is set to 1 when the non-zero value is
39659  *    selected for Enable Additional 1-31 MAC Address Registers option
39660  */
39661 #define ENET_QOS_MAC_HW_FEAT_ADDMACADRSEL(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ADDMACADRSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ADDMACADRSEL_MASK)
39662 
39663 #define ENET_QOS_MAC_HW_FEAT_TSOEN_MASK          (0x40000U)
39664 #define ENET_QOS_MAC_HW_FEAT_TSOEN_SHIFT         (18U)
39665 /*! TSOEN - TCP Segmentation Offload Enable This bit is set to 1 when the Enable TCP Segmentation
39666  *    Offloading for TCP/IP Packets option is selected
39667  *  0b1..TCP Segmentation Offload Feature is selected
39668  *  0b0..TCP Segmentation Offload Feature is not selected
39669  */
39670 #define ENET_QOS_MAC_HW_FEAT_TSOEN(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TSOEN_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TSOEN_MASK)
39671 
39672 #define ENET_QOS_MAC_HW_FEAT_TXCHCNT_MASK        (0x3C0000U)
39673 #define ENET_QOS_MAC_HW_FEAT_TXCHCNT_SHIFT       (18U)
39674 /*! TXCHCNT - Number of DMA Transmit Channels This field indicates the number of DMA Transmit channels:
39675  *  0b0000..1 MTL Tx Channel
39676  *  0b0001..2 MTL Tx Channels
39677  *  0b0010..3 MTL Tx Channels
39678  *  0b0011..4 MTL Tx Channels
39679  *  0b0100..5 MTL Tx Channels
39680  *  0b0101..Reserved
39681  *  0b0110..Reserved
39682  *  0b0111..Reserved
39683  */
39684 #define ENET_QOS_MAC_HW_FEAT_TXCHCNT(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TXCHCNT_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TXCHCNT_MASK)
39685 
39686 #define ENET_QOS_MAC_HW_FEAT_DBGMEMA_MASK        (0x80000U)
39687 #define ENET_QOS_MAC_HW_FEAT_DBGMEMA_SHIFT       (19U)
39688 /*! DBGMEMA - DMA Debug Registers Enable This bit is set to 1 when the Debug Mode Enable option is selected
39689  *  0b1..DMA Debug Registers option is selected
39690  *  0b0..DMA Debug Registers option is not selected
39691  */
39692 #define ENET_QOS_MAC_HW_FEAT_DBGMEMA(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_DBGMEMA_SHIFT)) & ENET_QOS_MAC_HW_FEAT_DBGMEMA_MASK)
39693 
39694 #define ENET_QOS_MAC_HW_FEAT_AVSEL_MASK          (0x100000U)
39695 #define ENET_QOS_MAC_HW_FEAT_AVSEL_SHIFT         (20U)
39696 /*! AVSEL - AV Feature Enable This bit is set to 1 when the Enable Audio Video Bridging option is selected.
39697  *  0b1..AV Feature is selected
39698  *  0b0..AV Feature is not selected
39699  */
39700 #define ENET_QOS_MAC_HW_FEAT_AVSEL(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_AVSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_AVSEL_MASK)
39701 
39702 #define ENET_QOS_MAC_HW_FEAT_ESTWID_MASK         (0x300000U)
39703 #define ENET_QOS_MAC_HW_FEAT_ESTWID_SHIFT        (20U)
39704 /*! ESTWID - Width of the Time Interval field in the Gate Control List This field indicates the
39705  *    width of the Configured Time Interval Field
39706  *  0b00..Width not configured
39707  *  0b01..16
39708  *  0b10..20
39709  *  0b11..24
39710  */
39711 #define ENET_QOS_MAC_HW_FEAT_ESTWID(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ESTWID_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ESTWID_MASK)
39712 
39713 #define ENET_QOS_MAC_HW_FEAT_RAVSEL_MASK         (0x200000U)
39714 #define ENET_QOS_MAC_HW_FEAT_RAVSEL_SHIFT        (21U)
39715 /*! RAVSEL - Rx Side Only AV Feature Enable This bit is set to 1 when the Enable Audio Video
39716  *    Bridging option on Rx Side Only is selected.
39717  *  0b1..Rx Side Only AV Feature is selected
39718  *  0b0..Rx Side Only AV Feature is not selected
39719  */
39720 #define ENET_QOS_MAC_HW_FEAT_RAVSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_RAVSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_RAVSEL_MASK)
39721 
39722 #define ENET_QOS_MAC_HW_FEAT_MACADR32SEL_MASK    (0x800000U)
39723 #define ENET_QOS_MAC_HW_FEAT_MACADR32SEL_SHIFT   (23U)
39724 /*! MACADR32SEL - MAC Addresses 32-63 Selected This bit is set to 1 when the Enable Additional 32
39725  *    MAC Address Registers (32-63) option is selected
39726  *  0b1..MAC Addresses 32-63 Select option is selected
39727  *  0b0..MAC Addresses 32-63 Select option is not selected
39728  */
39729 #define ENET_QOS_MAC_HW_FEAT_MACADR32SEL(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_MACADR32SEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_MACADR32SEL_MASK)
39730 
39731 #define ENET_QOS_MAC_HW_FEAT_POUOST_MASK         (0x800000U)
39732 #define ENET_QOS_MAC_HW_FEAT_POUOST_SHIFT        (23U)
39733 /*! POUOST - One Step for PTP over UDP/IP Feature Enable This bit is set to 1 when the Enable One
39734  *    step timestamp for PTP over UDP/IP feature is selected.
39735  *  0b1..One Step for PTP over UDP/IP Feature is selected
39736  *  0b0..One Step for PTP over UDP/IP Feature is not selected
39737  */
39738 #define ENET_QOS_MAC_HW_FEAT_POUOST(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_POUOST_SHIFT)) & ENET_QOS_MAC_HW_FEAT_POUOST_MASK)
39739 
39740 #define ENET_QOS_MAC_HW_FEAT_HASHTBLSZ_MASK      (0x3000000U)
39741 #define ENET_QOS_MAC_HW_FEAT_HASHTBLSZ_SHIFT     (24U)
39742 /*! HASHTBLSZ - Hash Table Size This field indicates the size of the hash table:
39743  *  0b10..128
39744  *  0b11..256
39745  *  0b01..64
39746  *  0b00..No hash table
39747  */
39748 #define ENET_QOS_MAC_HW_FEAT_HASHTBLSZ(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_HASHTBLSZ_SHIFT)) & ENET_QOS_MAC_HW_FEAT_HASHTBLSZ_MASK)
39749 
39750 #define ENET_QOS_MAC_HW_FEAT_MACADR64SEL_MASK    (0x1000000U)
39751 #define ENET_QOS_MAC_HW_FEAT_MACADR64SEL_SHIFT   (24U)
39752 /*! MACADR64SEL - MAC Addresses 64-127 Selected This bit is set to 1 when the Enable Additional 64
39753  *    MAC Address Registers (64-127) option is selected
39754  *  0b1..MAC Addresses 64-127 Select option is selected
39755  *  0b0..MAC Addresses 64-127 Select option is not selected
39756  */
39757 #define ENET_QOS_MAC_HW_FEAT_MACADR64SEL(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_MACADR64SEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_MACADR64SEL_MASK)
39758 
39759 #define ENET_QOS_MAC_HW_FEAT_PPSOUTNUM_MASK      (0x7000000U)
39760 #define ENET_QOS_MAC_HW_FEAT_PPSOUTNUM_SHIFT     (24U)
39761 /*! PPSOUTNUM - Number of PPS Outputs This field indicates the number of PPS outputs:
39762  *  0b001..1 PPS output
39763  *  0b010..2 PPS output
39764  *  0b011..3 PPS output
39765  *  0b100..4 PPS output
39766  *  0b000..No PPS output
39767  *  0b101..Reserved
39768  */
39769 #define ENET_QOS_MAC_HW_FEAT_PPSOUTNUM(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_PPSOUTNUM_SHIFT)) & ENET_QOS_MAC_HW_FEAT_PPSOUTNUM_MASK)
39770 
39771 #define ENET_QOS_MAC_HW_FEAT_TSSTSSEL_MASK       (0x6000000U)
39772 #define ENET_QOS_MAC_HW_FEAT_TSSTSSEL_SHIFT      (25U)
39773 /*! TSSTSSEL - Timestamp System Time Source This bit indicates the source of the Timestamp system
39774  *    time: This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected
39775  *  0b10..Both
39776  *  0b01..External
39777  *  0b00..Internal
39778  *  0b11..Reserved
39779  */
39780 #define ENET_QOS_MAC_HW_FEAT_TSSTSSEL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TSSTSSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TSSTSSEL_MASK)
39781 
39782 #define ENET_QOS_MAC_HW_FEAT_FPESEL_MASK         (0x4000000U)
39783 #define ENET_QOS_MAC_HW_FEAT_FPESEL_SHIFT        (26U)
39784 /*! FPESEL - Frame Preemption Enable This bit is set to 1 when the Enable Frame preemption feature is selected.
39785  *  0b1..Frame Preemption Enable feature is selected
39786  *  0b0..Frame Preemption Enable feature is not selected
39787  */
39788 #define ENET_QOS_MAC_HW_FEAT_FPESEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_FPESEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_FPESEL_MASK)
39789 
39790 #define ENET_QOS_MAC_HW_FEAT_L3L4FNUM_MASK       (0x78000000U)
39791 #define ENET_QOS_MAC_HW_FEAT_L3L4FNUM_SHIFT      (27U)
39792 /*! L3L4FNUM - Total number of L3 or L4 Filters This field indicates the total number of L3 or L4 filters:
39793  *  0b0001..1 L3 or L4 Filter
39794  *  0b0010..2 L3 or L4 Filters
39795  *  0b0011..3 L3 or L4 Filters
39796  *  0b0100..4 L3 or L4 Filters
39797  *  0b0101..5 L3 or L4 Filters
39798  *  0b0110..6 L3 or L4 Filters
39799  *  0b0111..7 L3 or L4 Filters
39800  *  0b1000..8 L3 or L4 Filters
39801  *  0b0000..No L3 or L4 Filter
39802  */
39803 #define ENET_QOS_MAC_HW_FEAT_L3L4FNUM(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_L3L4FNUM_SHIFT)) & ENET_QOS_MAC_HW_FEAT_L3L4FNUM_MASK)
39804 
39805 #define ENET_QOS_MAC_HW_FEAT_SAVLANINS_MASK      (0x8000000U)
39806 #define ENET_QOS_MAC_HW_FEAT_SAVLANINS_SHIFT     (27U)
39807 /*! SAVLANINS - Source Address or VLAN Insertion Enable This bit is set to 1 when the Enable SA and
39808  *    VLAN Insertion on Tx option is selected
39809  *  0b1..Source Address or VLAN Insertion Enable option is selected
39810  *  0b0..Source Address or VLAN Insertion Enable option is not selected
39811  */
39812 #define ENET_QOS_MAC_HW_FEAT_SAVLANINS(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_SAVLANINS_SHIFT)) & ENET_QOS_MAC_HW_FEAT_SAVLANINS_MASK)
39813 
39814 #define ENET_QOS_MAC_HW_FEAT_TBSSEL_MASK         (0x8000000U)
39815 #define ENET_QOS_MAC_HW_FEAT_TBSSEL_SHIFT        (27U)
39816 /*! TBSSEL - Time Based Scheduling Enable This bit is set to 1 when the Time Based Scheduling feature is selected.
39817  *  0b1..Time Based Scheduling Enable feature is selected
39818  *  0b0..Time Based Scheduling Enable feature is not selected
39819  */
39820 #define ENET_QOS_MAC_HW_FEAT_TBSSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_TBSSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_TBSSEL_MASK)
39821 
39822 #define ENET_QOS_MAC_HW_FEAT_ACTPHYSEL_MASK      (0x70000000U)
39823 #define ENET_QOS_MAC_HW_FEAT_ACTPHYSEL_SHIFT     (28U)
39824 /*! ACTPHYSEL - Active PHY Selected When you have multiple PHY interfaces in your configuration,
39825  *    this field indicates the sampled value of phy_intf_sel_i during reset de-assertion.
39826  *  0b000..GMII or MII
39827  *  0b111..RevMII
39828  *  0b001..RGMII
39829  *  0b100..RMII
39830  *  0b101..RTBI
39831  *  0b010..SGMII
39832  *  0b110..SMII
39833  *  0b011..TBI
39834  */
39835 #define ENET_QOS_MAC_HW_FEAT_ACTPHYSEL(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ACTPHYSEL_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ACTPHYSEL_MASK)
39836 
39837 #define ENET_QOS_MAC_HW_FEAT_ASP_MASK            (0x30000000U)
39838 #define ENET_QOS_MAC_HW_FEAT_ASP_SHIFT           (28U)
39839 /*! ASP - Automotive Safety Package Following are the encoding for the different Safety features
39840  *  0b10..All the Automotive Safety features are selected without the "Parity Port Enable for external interface" feature
39841  *  0b11..All the Automotive Safety features are selected with the "Parity Port Enable for external interface" feature
39842  *  0b01..Only "ECC protection for external memory" feature is selected
39843  *  0b00..No Safety features selected
39844  */
39845 #define ENET_QOS_MAC_HW_FEAT_ASP(x)              (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_ASP_SHIFT)) & ENET_QOS_MAC_HW_FEAT_ASP_MASK)
39846 
39847 #define ENET_QOS_MAC_HW_FEAT_AUXSNAPNUM_MASK     (0x70000000U)
39848 #define ENET_QOS_MAC_HW_FEAT_AUXSNAPNUM_SHIFT    (28U)
39849 /*! AUXSNAPNUM - Number of Auxiliary Snapshot Inputs This field indicates the number of auxiliary snapshot inputs:
39850  *  0b001..1 auxiliary input
39851  *  0b010..2 auxiliary input
39852  *  0b011..3 auxiliary input
39853  *  0b100..4 auxiliary input
39854  *  0b000..No auxiliary input
39855  *  0b101..Reserved
39856  */
39857 #define ENET_QOS_MAC_HW_FEAT_AUXSNAPNUM(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_HW_FEAT_AUXSNAPNUM_SHIFT)) & ENET_QOS_MAC_HW_FEAT_AUXSNAPNUM_MASK)
39858 /*! @} */
39859 
39860 /* The count of ENET_QOS_MAC_HW_FEAT */
39861 #define ENET_QOS_MAC_HW_FEAT_COUNT               (4U)
39862 
39863 /*! @name MAC_MDIO_ADDRESS - MDIO Address */
39864 /*! @{ */
39865 
39866 #define ENET_QOS_MAC_MDIO_ADDRESS_GB_MASK        (0x1U)
39867 #define ENET_QOS_MAC_MDIO_ADDRESS_GB_SHIFT       (0U)
39868 /*! GB - GMII Busy The application sets this bit to instruct the SMA to initiate a Read or Write access to the MDIO slave.
39869  *  0b0..GMII Busy is disabled
39870  *  0b1..GMII Busy is enabled
39871  */
39872 #define ENET_QOS_MAC_MDIO_ADDRESS_GB(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_GB_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_GB_MASK)
39873 
39874 #define ENET_QOS_MAC_MDIO_ADDRESS_C45E_MASK      (0x2U)
39875 #define ENET_QOS_MAC_MDIO_ADDRESS_C45E_SHIFT     (1U)
39876 /*! C45E - Clause 45 PHY Enable When this bit is set, Clause 45 capable PHY is connected to MDIO.
39877  *  0b0..Clause 45 PHY is disabled
39878  *  0b1..Clause 45 PHY is enabled
39879  */
39880 #define ENET_QOS_MAC_MDIO_ADDRESS_C45E(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_C45E_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_C45E_MASK)
39881 
39882 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_0_MASK     (0x4U)
39883 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_0_SHIFT    (2U)
39884 /*! GOC_0 - GMII Operation Command 0 This is the lower bit of the operation command to the PHY or RevMII.
39885  *  0b0..GMII Operation Command 0 is disabled
39886  *  0b1..GMII Operation Command 0 is enabled
39887  */
39888 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_0(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_GOC_0_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_GOC_0_MASK)
39889 
39890 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_1_MASK     (0x8U)
39891 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_1_SHIFT    (3U)
39892 /*! GOC_1 - GMII Operation Command 1 This bit is higher bit of the operation command to the PHY or
39893  *    RevMII, GOC_1 and GOC_O is encoded as follows: - 00: Reserved - 01: Write - 10: Post Read
39894  *    Increment Address for Clause 45 PHY - 11: Read When Clause 22 PHY or RevMII is enabled, only Write
39895  *    and Read commands are valid.
39896  *  0b0..GMII Operation Command 1 is disabled
39897  *  0b1..GMII Operation Command 1 is enabled
39898  */
39899 #define ENET_QOS_MAC_MDIO_ADDRESS_GOC_1(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_GOC_1_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_GOC_1_MASK)
39900 
39901 #define ENET_QOS_MAC_MDIO_ADDRESS_SKAP_MASK      (0x10U)
39902 #define ENET_QOS_MAC_MDIO_ADDRESS_SKAP_SHIFT     (4U)
39903 /*! SKAP - Skip Address Packet When this bit is set, the SMA does not send the address packets
39904  *    before read, write, or post-read increment address packets.
39905  *  0b0..Skip Address Packet is disabled
39906  *  0b1..Skip Address Packet is enabled
39907  */
39908 #define ENET_QOS_MAC_MDIO_ADDRESS_SKAP(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_SKAP_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_SKAP_MASK)
39909 
39910 #define ENET_QOS_MAC_MDIO_ADDRESS_CR_MASK        (0xF00U)
39911 #define ENET_QOS_MAC_MDIO_ADDRESS_CR_SHIFT       (8U)
39912 /*! CR - CSR Clock Range The CSR Clock Range selection determines the frequency of the MDC clock
39913  *    according to the CSR clock frequency used in your design: - 0000: CSR clock = 60-100 MHz; MDC
39914  *    clock = CSR clock/42 - 0001: CSR clock = 100-150 MHz; MDC clock = CSR clock/62 - 0010: CSR clock
39915  *    = 20-35 MHz; MDC clock = CSR clock/16 - 0011: CSR clock = 35-60 MHz; MDC clock = CSR clock/26
39916  *    - 0100: CSR clock = 150-250 MHz; MDC clock = CSR clock/102 - 0101: CSR clock = 250-300 MHz;
39917  *    MDC clock = CSR clock/124 - 0110: CSR clock = 300-500 MHz; MDC clock = CSR clock/204 - 0111: CSR
39918  *    clock = 500-800 MHz; MDC clock = CSR clock/324 The suggested range of CSR clock frequency
39919  *    applicable for each value (when Bit 11 = 0) ensures that the MDC clock is approximately between 1.
39920  */
39921 #define ENET_QOS_MAC_MDIO_ADDRESS_CR(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_CR_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_CR_MASK)
39922 
39923 #define ENET_QOS_MAC_MDIO_ADDRESS_NTC_MASK       (0x7000U)
39924 #define ENET_QOS_MAC_MDIO_ADDRESS_NTC_SHIFT      (12U)
39925 /*! NTC - Number of Trailing Clocks This field controls the number of trailing clock cycles
39926  *    generated on gmii_mdc_o (MDC) after the end of transmission of MDIO frame.
39927  */
39928 #define ENET_QOS_MAC_MDIO_ADDRESS_NTC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_NTC_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_NTC_MASK)
39929 
39930 #define ENET_QOS_MAC_MDIO_ADDRESS_RDA_MASK       (0x1F0000U)
39931 #define ENET_QOS_MAC_MDIO_ADDRESS_RDA_SHIFT      (16U)
39932 /*! RDA - Register/Device Address These bits select the PHY register in selected Clause 22 PHY device.
39933  */
39934 #define ENET_QOS_MAC_MDIO_ADDRESS_RDA(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_RDA_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_RDA_MASK)
39935 
39936 #define ENET_QOS_MAC_MDIO_ADDRESS_PA_MASK        (0x3E00000U)
39937 #define ENET_QOS_MAC_MDIO_ADDRESS_PA_SHIFT       (21U)
39938 /*! PA - Physical Layer Address This field indicates which Clause 22 PHY devices (out of 32 devices) the MAC is accessing.
39939  */
39940 #define ENET_QOS_MAC_MDIO_ADDRESS_PA(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_PA_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_PA_MASK)
39941 
39942 #define ENET_QOS_MAC_MDIO_ADDRESS_BTB_MASK       (0x4000000U)
39943 #define ENET_QOS_MAC_MDIO_ADDRESS_BTB_SHIFT      (26U)
39944 /*! BTB - Back to Back transactions When this bit is set and the NTC has value greater than 0, then
39945  *    the MAC informs the completion of a read or write command at the end of frame transfer (before
39946  *    the trailing clocks are transmitted).
39947  *  0b0..Back to Back transactions disabled
39948  *  0b1..Back to Back transactions enabled
39949  */
39950 #define ENET_QOS_MAC_MDIO_ADDRESS_BTB(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_BTB_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_BTB_MASK)
39951 
39952 #define ENET_QOS_MAC_MDIO_ADDRESS_PSE_MASK       (0x8000000U)
39953 #define ENET_QOS_MAC_MDIO_ADDRESS_PSE_SHIFT      (27U)
39954 /*! PSE - Preamble Suppression Enable When this bit is set, the SMA suppresses the 32-bit preamble
39955  *    and transmits MDIO frames with only 1 preamble bit.
39956  *  0b0..Preamble Suppression disabled
39957  *  0b1..Preamble Suppression enabled
39958  */
39959 #define ENET_QOS_MAC_MDIO_ADDRESS_PSE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_ADDRESS_PSE_SHIFT)) & ENET_QOS_MAC_MDIO_ADDRESS_PSE_MASK)
39960 /*! @} */
39961 
39962 /*! @name MAC_MDIO_DATA - MAC MDIO Data */
39963 /*! @{ */
39964 
39965 #define ENET_QOS_MAC_MDIO_DATA_GD_MASK           (0xFFFFU)
39966 #define ENET_QOS_MAC_MDIO_DATA_GD_SHIFT          (0U)
39967 /*! GD - GMII Data This field contains the 16-bit data value read from the PHY or RevMII after a
39968  *    Management Read operation or the 16-bit data value to be written to the PHY or RevMII before a
39969  *    Management Write operation.
39970  */
39971 #define ENET_QOS_MAC_MDIO_DATA_GD(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_DATA_GD_SHIFT)) & ENET_QOS_MAC_MDIO_DATA_GD_MASK)
39972 
39973 #define ENET_QOS_MAC_MDIO_DATA_RA_MASK           (0xFFFF0000U)
39974 #define ENET_QOS_MAC_MDIO_DATA_RA_SHIFT          (16U)
39975 /*! RA - Register Address This field is valid only when C45E is set.
39976  */
39977 #define ENET_QOS_MAC_MDIO_DATA_RA(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MDIO_DATA_RA_SHIFT)) & ENET_QOS_MAC_MDIO_DATA_RA_MASK)
39978 /*! @} */
39979 
39980 /*! @name MAC_CSR_SW_CTRL - CSR Software Control */
39981 /*! @{ */
39982 
39983 #define ENET_QOS_MAC_CSR_SW_CTRL_RCWE_MASK       (0x1U)
39984 #define ENET_QOS_MAC_CSR_SW_CTRL_RCWE_SHIFT      (0U)
39985 /*! RCWE - Register Clear on Write 1 Enable When this bit is set, the access mode of some register
39986  *    fields changes to Clear on Write 1, the application needs to set that respective bit to 1 to
39987  *    clear it.
39988  *  0b0..Register Clear on Write 1 is disabled
39989  *  0b1..Register Clear on Write 1 is enabled
39990  */
39991 #define ENET_QOS_MAC_CSR_SW_CTRL_RCWE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_CSR_SW_CTRL_RCWE_SHIFT)) & ENET_QOS_MAC_CSR_SW_CTRL_RCWE_MASK)
39992 /*! @} */
39993 
39994 /*! @name MAC_FPE_CTRL_STS - Frame Preemption Control */
39995 /*! @{ */
39996 
39997 #define ENET_QOS_MAC_FPE_CTRL_STS_EFPE_MASK      (0x1U)
39998 #define ENET_QOS_MAC_FPE_CTRL_STS_EFPE_SHIFT     (0U)
39999 /*! EFPE - Enable Tx Frame Preemption When set Frame Preemption Tx functionality is enabled.
40000  *  0b0..Tx Frame Preemption is disabled
40001  *  0b1..Tx Frame Preemption is enabled
40002  */
40003 #define ENET_QOS_MAC_FPE_CTRL_STS_EFPE(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_EFPE_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_EFPE_MASK)
40004 
40005 #define ENET_QOS_MAC_FPE_CTRL_STS_SVER_MASK      (0x2U)
40006 #define ENET_QOS_MAC_FPE_CTRL_STS_SVER_SHIFT     (1U)
40007 /*! SVER - Send Verify mPacket When set indicates hardware to send a verify mPacket.
40008  *  0b0..Send Verify mPacket is disabled
40009  *  0b1..Send Verify mPacket is enabled
40010  */
40011 #define ENET_QOS_MAC_FPE_CTRL_STS_SVER(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_SVER_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_SVER_MASK)
40012 
40013 #define ENET_QOS_MAC_FPE_CTRL_STS_SRSP_MASK      (0x4U)
40014 #define ENET_QOS_MAC_FPE_CTRL_STS_SRSP_SHIFT     (2U)
40015 /*! SRSP - Send Respond mPacket When set indicates hardware to send a Respond mPacket.
40016  *  0b0..Send Respond mPacket is disabled
40017  *  0b1..Send Respond mPacket is enabled
40018  */
40019 #define ENET_QOS_MAC_FPE_CTRL_STS_SRSP(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_SRSP_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_SRSP_MASK)
40020 
40021 #define ENET_QOS_MAC_FPE_CTRL_STS_S1_SET_0_MASK  (0x8U)
40022 #define ENET_QOS_MAC_FPE_CTRL_STS_S1_SET_0_SHIFT (3U)
40023 /*! S1_SET_0 - Synopsys Reserved, Must be set to "0".
40024  */
40025 #define ENET_QOS_MAC_FPE_CTRL_STS_S1_SET_0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_S1_SET_0_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_S1_SET_0_MASK)
40026 
40027 #define ENET_QOS_MAC_FPE_CTRL_STS_RVER_MASK      (0x10000U)
40028 #define ENET_QOS_MAC_FPE_CTRL_STS_RVER_SHIFT     (16U)
40029 /*! RVER - Received Verify Frame Set when a Verify mPacket is received.
40030  *  0b1..Received Verify Frame
40031  *  0b0..Not received Verify Frame
40032  */
40033 #define ENET_QOS_MAC_FPE_CTRL_STS_RVER(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_RVER_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_RVER_MASK)
40034 
40035 #define ENET_QOS_MAC_FPE_CTRL_STS_RRSP_MASK      (0x20000U)
40036 #define ENET_QOS_MAC_FPE_CTRL_STS_RRSP_SHIFT     (17U)
40037 /*! RRSP - Received Respond Frame Set when a Respond mPacket is received.
40038  *  0b1..Received Respond Frame
40039  *  0b0..Not received Respond Frame
40040  */
40041 #define ENET_QOS_MAC_FPE_CTRL_STS_RRSP(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_RRSP_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_RRSP_MASK)
40042 
40043 #define ENET_QOS_MAC_FPE_CTRL_STS_TVER_MASK      (0x40000U)
40044 #define ENET_QOS_MAC_FPE_CTRL_STS_TVER_SHIFT     (18U)
40045 /*! TVER - Transmitted Verify Frame Set when a Verify mPacket is transmitted (triggered by setting SVER field).
40046  *  0b1..transmitted Verify Frame
40047  *  0b0..Not transmitted Verify Frame
40048  */
40049 #define ENET_QOS_MAC_FPE_CTRL_STS_TVER(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_TVER_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_TVER_MASK)
40050 
40051 #define ENET_QOS_MAC_FPE_CTRL_STS_TRSP_MASK      (0x80000U)
40052 #define ENET_QOS_MAC_FPE_CTRL_STS_TRSP_SHIFT     (19U)
40053 /*! TRSP - Transmitted Respond Frame Set when a Respond mPacket is transmitted (triggered by setting SRSP field).
40054  *  0b1..transmitted Respond Frame
40055  *  0b0..Not transmitted Respond Frame
40056  */
40057 #define ENET_QOS_MAC_FPE_CTRL_STS_TRSP(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_FPE_CTRL_STS_TRSP_SHIFT)) & ENET_QOS_MAC_FPE_CTRL_STS_TRSP_MASK)
40058 /*! @} */
40059 
40060 /*! @name MAC_PRESN_TIME_NS - 32-bit Binary Rollover Equivalent Time */
40061 /*! @{ */
40062 
40063 #define ENET_QOS_MAC_PRESN_TIME_NS_MPTN_MASK     (0xFFFFFFFFU)
40064 #define ENET_QOS_MAC_PRESN_TIME_NS_MPTN_SHIFT    (0U)
40065 /*! MPTN - MAC 1722 Presentation Time in ns These bits indicate the value of the 32-bit binary
40066  *    rollover equivalent time of the PTP System Time in ns
40067  */
40068 #define ENET_QOS_MAC_PRESN_TIME_NS_MPTN(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PRESN_TIME_NS_MPTN_SHIFT)) & ENET_QOS_MAC_PRESN_TIME_NS_MPTN_MASK)
40069 /*! @} */
40070 
40071 /*! @name MAC_PRESN_TIME_UPDT - MAC 1722 Presentation Time */
40072 /*! @{ */
40073 
40074 #define ENET_QOS_MAC_PRESN_TIME_UPDT_MPTU_MASK   (0xFFFFFFFFU)
40075 #define ENET_QOS_MAC_PRESN_TIME_UPDT_MPTU_SHIFT  (0U)
40076 /*! MPTU - MAC 1722 Presentation Time Update This field holds the init value or the update value for the presentation time.
40077  */
40078 #define ENET_QOS_MAC_PRESN_TIME_UPDT_MPTU(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PRESN_TIME_UPDT_MPTU_SHIFT)) & ENET_QOS_MAC_PRESN_TIME_UPDT_MPTU_MASK)
40079 /*! @} */
40080 
40081 /*! @name HIGH - MAC Address0 High..MAC Address63 High */
40082 /*! @{ */
40083 
40084 #define ENET_QOS_HIGH_ADDRHI_MASK                (0xFFFFU)
40085 #define ENET_QOS_HIGH_ADDRHI_SHIFT               (0U)
40086 /*! ADDRHI - MAC ADDRESS32 [47:32] This field contains the upper 16 bits (47:32) of the 33rd 6-byte MAC address.
40087  */
40088 #define ENET_QOS_HIGH_ADDRHI(x)                  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_HIGH_ADDRHI_SHIFT)) & ENET_QOS_HIGH_ADDRHI_MASK)
40089 
40090 #define ENET_QOS_HIGH_DCS_MASK                   (0x1F0000U)  /* Merged from fields with different position or width, of widths (3, 5), largest definition used */
40091 #define ENET_QOS_HIGH_DCS_SHIFT                  (16U)
40092 /*! DCS - DMA Channel Select If the PDC bit of MAC_EXT_CONFIGURATION register is not set: This field
40093  *    contains the binary representation of the DMA Channel number to which an Rx packet whose DA
40094  *    matches the MAC Address(#i) content is routed.
40095  */
40096 #define ENET_QOS_HIGH_DCS(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_HIGH_DCS_SHIFT)) & ENET_QOS_HIGH_DCS_MASK)  /* Merged from fields with different position or width, of widths (3, 5), largest definition used */
40097 
40098 #define ENET_QOS_HIGH_MBC_MASK                   (0x3F000000U)
40099 #define ENET_QOS_HIGH_MBC_SHIFT                  (24U)
40100 /*! MBC - Mask Byte Control These bits are mask control bits for comparing each of the MAC Address bytes.
40101  */
40102 #define ENET_QOS_HIGH_MBC(x)                     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_HIGH_MBC_SHIFT)) & ENET_QOS_HIGH_MBC_MASK)
40103 
40104 #define ENET_QOS_HIGH_SA_MASK                    (0x40000000U)
40105 #define ENET_QOS_HIGH_SA_SHIFT                   (30U)
40106 /*! SA - Source Address When this bit is set, the MAC ADDRESS1[47:0] is used to compare with the SA
40107  *    fields of the received packet.
40108  *  0b0..Compare with Destination Address
40109  *  0b1..Compare with Source Address
40110  */
40111 #define ENET_QOS_HIGH_SA(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_HIGH_SA_SHIFT)) & ENET_QOS_HIGH_SA_MASK)
40112 
40113 #define ENET_QOS_HIGH_AE_MASK                    (0x80000000U)
40114 #define ENET_QOS_HIGH_AE_SHIFT                   (31U)
40115 /*! AE - Address Enable When this bit is set, the address filter module uses the second MAC address for perfect filtering.
40116  *  0b0..INVALID : This bit must be always set to 1
40117  *  0b1..This bit is always set to 1
40118  */
40119 #define ENET_QOS_HIGH_AE(x)                      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_HIGH_AE_SHIFT)) & ENET_QOS_HIGH_AE_MASK)
40120 /*! @} */
40121 
40122 /* The count of ENET_QOS_HIGH */
40123 #define ENET_QOS_HIGH_COUNT                      (64U)
40124 
40125 /*! @name LOW - MAC Address0 Low..MAC Address63 Low */
40126 /*! @{ */
40127 
40128 #define ENET_QOS_LOW_ADDRLO_MASK                 (0xFFFFFFFFU)
40129 #define ENET_QOS_LOW_ADDRLO_SHIFT                (0U)
40130 /*! ADDRLO - MAC ADDRESS32 [31:0] This field contains the lower 32 bits of the 33rd 6-byte MAC address.
40131  */
40132 #define ENET_QOS_LOW_ADDRLO(x)                   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_LOW_ADDRLO_SHIFT)) & ENET_QOS_LOW_ADDRLO_MASK)
40133 /*! @} */
40134 
40135 /* The count of ENET_QOS_LOW */
40136 #define ENET_QOS_LOW_COUNT                       (64U)
40137 
40138 /*! @name MAC_MMC_CONTROL - MMC Control */
40139 /*! @{ */
40140 
40141 #define ENET_QOS_MAC_MMC_CONTROL_CNTRST_MASK     (0x1U)
40142 #define ENET_QOS_MAC_MMC_CONTROL_CNTRST_SHIFT    (0U)
40143 /*! CNTRST - Counters Reset When this bit is set, all counters are reset.
40144  *  0b0..Counters are not reset
40145  *  0b1..All counters are reset
40146  */
40147 #define ENET_QOS_MAC_MMC_CONTROL_CNTRST(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_CNTRST_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_CNTRST_MASK)
40148 
40149 #define ENET_QOS_MAC_MMC_CONTROL_CNTSTOPRO_MASK  (0x2U)
40150 #define ENET_QOS_MAC_MMC_CONTROL_CNTSTOPRO_SHIFT (1U)
40151 /*! CNTSTOPRO - Counter Stop Rollover When this bit is set, the counter does not roll over to zero after reaching the maximum value.
40152  *  0b0..Counter Stop Rollover is disabled
40153  *  0b1..Counter Stop Rollover is enabled
40154  */
40155 #define ENET_QOS_MAC_MMC_CONTROL_CNTSTOPRO(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_CNTSTOPRO_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_CNTSTOPRO_MASK)
40156 
40157 #define ENET_QOS_MAC_MMC_CONTROL_RSTONRD_MASK    (0x4U)
40158 #define ENET_QOS_MAC_MMC_CONTROL_RSTONRD_SHIFT   (2U)
40159 /*! RSTONRD - Reset on Read When this bit is set, the MMC counters are reset to zero after Read (self-clearing after reset).
40160  *  0b0..Reset on Read is disabled
40161  *  0b1..Reset on Read is enabled
40162  */
40163 #define ENET_QOS_MAC_MMC_CONTROL_RSTONRD(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_RSTONRD_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_RSTONRD_MASK)
40164 
40165 #define ENET_QOS_MAC_MMC_CONTROL_CNTFREEZ_MASK   (0x8U)
40166 #define ENET_QOS_MAC_MMC_CONTROL_CNTFREEZ_SHIFT  (3U)
40167 /*! CNTFREEZ - MMC Counter Freeze When this bit is set, it freezes all MMC counters to their current value.
40168  *  0b0..MMC Counter Freeze is disabled
40169  *  0b1..MMC Counter Freeze is enabled
40170  */
40171 #define ENET_QOS_MAC_MMC_CONTROL_CNTFREEZ(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_CNTFREEZ_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_CNTFREEZ_MASK)
40172 
40173 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRST_MASK    (0x10U)
40174 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRST_SHIFT   (4U)
40175 /*! CNTPRST - Counters Preset When this bit is set, all counters are initialized or preset to almost
40176  *    full or almost half according to the CNTPRSTLVL bit.
40177  *  0b0..Counters Preset is disabled
40178  *  0b1..Counters Preset is enabled
40179  */
40180 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRST(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_CNTPRST_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_CNTPRST_MASK)
40181 
40182 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRSTLVL_MASK (0x20U)
40183 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRSTLVL_SHIFT (5U)
40184 /*! CNTPRSTLVL - Full-Half Preset When this bit is low and the CNTPRST bit is set, all MMC counters get preset to almost-half value.
40185  *  0b0..Full-Half Preset is disabled
40186  *  0b1..Full-Half Preset is enabled
40187  */
40188 #define ENET_QOS_MAC_MMC_CONTROL_CNTPRSTLVL(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_CNTPRSTLVL_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_CNTPRSTLVL_MASK)
40189 
40190 #define ENET_QOS_MAC_MMC_CONTROL_UCDBC_MASK      (0x100U)
40191 #define ENET_QOS_MAC_MMC_CONTROL_UCDBC_SHIFT     (8U)
40192 /*! UCDBC - Update MMC Counters for Dropped Broadcast Packets Note: The CNTRST bit has a higher priority than the CNTPRST bit.
40193  *  0b0..Update MMC Counters for Dropped Broadcast Packets is disabled
40194  *  0b1..Update MMC Counters for Dropped Broadcast Packets is enabled
40195  */
40196 #define ENET_QOS_MAC_MMC_CONTROL_UCDBC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_CONTROL_UCDBC_SHIFT)) & ENET_QOS_MAC_MMC_CONTROL_UCDBC_MASK)
40197 /*! @} */
40198 
40199 /*! @name MAC_MMC_RX_INTERRUPT - MMC Rx Interrupt */
40200 /*! @{ */
40201 
40202 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBPKTIS_MASK (0x1U)
40203 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBPKTIS_SHIFT (0U)
40204 /*! RXGBPKTIS - MMC Receive Good Bad Packet Counter Interrupt Status This bit is set when the
40205  *    rxpacketcount_gb counter reaches half of the maximum value or the maximum value.
40206  *  0b1..MMC Receive Good Bad Packet Counter Interrupt Status detected
40207  *  0b0..MMC Receive Good Bad Packet Counter Interrupt Status not detected
40208  */
40209 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBPKTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBPKTIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBPKTIS_MASK)
40210 
40211 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBOCTIS_MASK (0x2U)
40212 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBOCTIS_SHIFT (1U)
40213 /*! RXGBOCTIS - MMC Receive Good Bad Octet Counter Interrupt Status This bit is set when the
40214  *    rxoctetcount_gb counter reaches half of the maximum value or the maximum value.
40215  *  0b1..MMC Receive Good Bad Octet Counter Interrupt Status detected
40216  *  0b0..MMC Receive Good Bad Octet Counter Interrupt Status not detected
40217  */
40218 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBOCTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBOCTIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGBOCTIS_MASK)
40219 
40220 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGOCTIS_MASK (0x4U)
40221 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGOCTIS_SHIFT (2U)
40222 /*! RXGOCTIS - MMC Receive Good Octet Counter Interrupt Status This bit is set when the
40223  *    rxoctetcount_g counter reaches half of the maximum value or the maximum value.
40224  *  0b1..MMC Receive Good Octet Counter Interrupt Status detected
40225  *  0b0..MMC Receive Good Octet Counter Interrupt Status not detected
40226  */
40227 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGOCTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGOCTIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXGOCTIS_MASK)
40228 
40229 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXBCGPIS_MASK (0x8U)
40230 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXBCGPIS_SHIFT (3U)
40231 /*! RXBCGPIS - MMC Receive Broadcast Good Packet Counter Interrupt Status This bit is set when the
40232  *    rxbroadcastpackets_g counter reaches half of the maximum value or the maximum value.
40233  *  0b1..MMC Receive Broadcast Good Packet Counter Interrupt Status detected
40234  *  0b0..MMC Receive Broadcast Good Packet Counter Interrupt Status not detected
40235  */
40236 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXBCGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXBCGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXBCGPIS_MASK)
40237 
40238 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXMCGPIS_MASK (0x10U)
40239 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXMCGPIS_SHIFT (4U)
40240 /*! RXMCGPIS - MMC Receive Multicast Good Packet Counter Interrupt Status This bit is set when the
40241  *    rxmulticastpackets_g counter reaches half of the maximum value or the maximum value.
40242  *  0b1..MMC Receive Multicast Good Packet Counter Interrupt Status detected
40243  *  0b0..MMC Receive Multicast Good Packet Counter Interrupt Status not detected
40244  */
40245 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXMCGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXMCGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXMCGPIS_MASK)
40246 
40247 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCRCERPIS_MASK (0x20U)
40248 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCRCERPIS_SHIFT (5U)
40249 /*! RXCRCERPIS - MMC Receive CRC Error Packet Counter Interrupt Status This bit is set when the
40250  *    rxcrcerror counter reaches half of the maximum value or the maximum value.
40251  *  0b1..MMC Receive CRC Error Packet Counter Interrupt Status detected
40252  *  0b0..MMC Receive CRC Error Packet Counter Interrupt Status not detected
40253  */
40254 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCRCERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCRCERPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCRCERPIS_MASK)
40255 
40256 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXALGNERPIS_MASK (0x40U)
40257 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXALGNERPIS_SHIFT (6U)
40258 /*! RXALGNERPIS - MMC Receive Alignment Error Packet Counter Interrupt Status This bit is set when
40259  *    the rxalignmenterror counter reaches half of the maximum value or the maximum value.
40260  *  0b1..MMC Receive Alignment Error Packet Counter Interrupt Status detected
40261  *  0b0..MMC Receive Alignment Error Packet Counter Interrupt Status not detected
40262  */
40263 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXALGNERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXALGNERPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXALGNERPIS_MASK)
40264 
40265 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRUNTPIS_MASK (0x80U)
40266 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRUNTPIS_SHIFT (7U)
40267 /*! RXRUNTPIS - MMC Receive Runt Packet Counter Interrupt Status This bit is set when the
40268  *    rxrunterror counter reaches half of the maximum value or the maximum value.
40269  *  0b1..MMC Receive Runt Packet Counter Interrupt Status detected
40270  *  0b0..MMC Receive Runt Packet Counter Interrupt Status not detected
40271  */
40272 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRUNTPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRUNTPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRUNTPIS_MASK)
40273 
40274 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXJABERPIS_MASK (0x100U)
40275 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXJABERPIS_SHIFT (8U)
40276 /*! RXJABERPIS - MMC Receive Jabber Error Packet Counter Interrupt Status This bit is set when the
40277  *    rxjabbererror counter reaches half of the maximum value or the maximum value.
40278  *  0b1..MMC Receive Jabber Error Packet Counter Interrupt Status detected
40279  *  0b0..MMC Receive Jabber Error Packet Counter Interrupt Status not detected
40280  */
40281 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXJABERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXJABERPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXJABERPIS_MASK)
40282 
40283 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUSIZEGPIS_MASK (0x200U)
40284 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUSIZEGPIS_SHIFT (9U)
40285 /*! RXUSIZEGPIS - MMC Receive Undersize Good Packet Counter Interrupt Status This bit is set when
40286  *    the rxundersize_g counter reaches half of the maximum value or the maximum value.
40287  *  0b1..MMC Receive Undersize Good Packet Counter Interrupt Status detected
40288  *  0b0..MMC Receive Undersize Good Packet Counter Interrupt Status not detected
40289  */
40290 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUSIZEGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUSIZEGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUSIZEGPIS_MASK)
40291 
40292 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXOSIZEGPIS_MASK (0x400U)
40293 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXOSIZEGPIS_SHIFT (10U)
40294 /*! RXOSIZEGPIS - MMC Receive Oversize Good Packet Counter Interrupt Status This bit is set when the
40295  *    rxoversize_g counter reaches half of the maximum value or the maximum value.
40296  *  0b1..MMC Receive Oversize Good Packet Counter Interrupt Status detected
40297  *  0b0..MMC Receive Oversize Good Packet Counter Interrupt Status not detected
40298  */
40299 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXOSIZEGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXOSIZEGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXOSIZEGPIS_MASK)
40300 
40301 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX64OCTGBPIS_MASK (0x800U)
40302 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX64OCTGBPIS_SHIFT (11U)
40303 /*! RX64OCTGBPIS - MMC Receive 64 Octet Good Bad Packet Counter Interrupt Status This bit is set
40304  *    when the rx64octets_gb counter reaches half of the maximum value or the maximum value.
40305  *  0b1..MMC Receive 64 Octet Good Bad Packet Counter Interrupt Status detected
40306  *  0b0..MMC Receive 64 Octet Good Bad Packet Counter Interrupt Status not detected
40307  */
40308 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX64OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX64OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX64OCTGBPIS_MASK)
40309 
40310 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX65T127OCTGBPIS_MASK (0x1000U)
40311 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX65T127OCTGBPIS_SHIFT (12U)
40312 /*! RX65T127OCTGBPIS - MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Status This bit
40313  *    is set when the rx65to127octets_gb counter reaches half of the maximum value or the maximum
40314  *    value.
40315  *  0b1..MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Status detected
40316  *  0b0..MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Status not detected
40317  */
40318 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX65T127OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX65T127OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX65T127OCTGBPIS_MASK)
40319 
40320 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX128T255OCTGBPIS_MASK (0x2000U)
40321 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX128T255OCTGBPIS_SHIFT (13U)
40322 /*! RX128T255OCTGBPIS - MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Status This
40323  *    bit is set when the rx128to255octets_gb counter reaches half of the maximum value or the
40324  *    maximum value.
40325  *  0b1..MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Status detected
40326  *  0b0..MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Status not detected
40327  */
40328 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX128T255OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX128T255OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX128T255OCTGBPIS_MASK)
40329 
40330 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX256T511OCTGBPIS_MASK (0x4000U)
40331 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX256T511OCTGBPIS_SHIFT (14U)
40332 /*! RX256T511OCTGBPIS - MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Status This
40333  *    bit is set when the rx256to511octets_gb counter reaches half of the maximum value or the
40334  *    maximum value.
40335  *  0b1..MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Status detected
40336  *  0b0..MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Status not detected
40337  */
40338 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX256T511OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX256T511OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX256T511OCTGBPIS_MASK)
40339 
40340 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX512T1023OCTGBPIS_MASK (0x8000U)
40341 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX512T1023OCTGBPIS_SHIFT (15U)
40342 /*! RX512T1023OCTGBPIS - MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Status This
40343  *    bit is set when the rx512to1023octets_gb counter reaches half of the maximum value or the
40344  *    maximum value.
40345  *  0b1..MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Status detected
40346  *  0b0..MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Status not detected
40347  */
40348 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX512T1023OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX512T1023OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX512T1023OCTGBPIS_MASK)
40349 
40350 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX1024TMAXOCTGBPIS_MASK (0x10000U)
40351 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX1024TMAXOCTGBPIS_SHIFT (16U)
40352 /*! RX1024TMAXOCTGBPIS - MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status
40353  *    This bit is set when the rx1024tomaxoctets_gb counter reaches half of the maximum value or the
40354  *    maximum value.
40355  *  0b1..MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status detected
40356  *  0b0..MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status not detected
40357  */
40358 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RX1024TMAXOCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RX1024TMAXOCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RX1024TMAXOCTGBPIS_MASK)
40359 
40360 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUCGPIS_MASK (0x20000U)
40361 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUCGPIS_SHIFT (17U)
40362 /*! RXUCGPIS - MMC Receive Unicast Good Packet Counter Interrupt Status This bit is set when the
40363  *    rxunicastpackets_g counter reaches half of the maximum value or the maximum value.
40364  *  0b1..MMC Receive Unicast Good Packet Counter Interrupt Status detected
40365  *  0b0..MMC Receive Unicast Good Packet Counter Interrupt Status not detected
40366  */
40367 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUCGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUCGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXUCGPIS_MASK)
40368 
40369 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLENERPIS_MASK (0x40000U)
40370 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLENERPIS_SHIFT (18U)
40371 /*! RXLENERPIS - MMC Receive Length Error Packet Counter Interrupt Status This bit is set when the
40372  *    rxlengtherror counter reaches half of the maximum value or the maximum value.
40373  *  0b1..MMC Receive Length Error Packet Counter Interrupt Status detected
40374  *  0b0..MMC Receive Length Error Packet Counter Interrupt Status not detected
40375  */
40376 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLENERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLENERPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLENERPIS_MASK)
40377 
40378 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXORANGEPIS_MASK (0x80000U)
40379 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXORANGEPIS_SHIFT (19U)
40380 /*! RXORANGEPIS - MMC Receive Out Of Range Error Packet Counter Interrupt Status.
40381  *  0b1..MMC Receive Out Of Range Error Packet Counter Interrupt Status detected
40382  *  0b0..MMC Receive Out Of Range Error Packet Counter Interrupt Status not detected
40383  */
40384 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXORANGEPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXORANGEPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXORANGEPIS_MASK)
40385 
40386 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXPAUSPIS_MASK (0x100000U)
40387 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXPAUSPIS_SHIFT (20U)
40388 /*! RXPAUSPIS - MMC Receive Pause Packet Counter Interrupt Status This bit is set when the
40389  *    rxpausepackets counter reaches half of the maximum value or the maximum value.
40390  *  0b1..MMC Receive Pause Packet Counter Interrupt Status detected
40391  *  0b0..MMC Receive Pause Packet Counter Interrupt Status not detected
40392  */
40393 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXPAUSPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXPAUSPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXPAUSPIS_MASK)
40394 
40395 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXFOVPIS_MASK (0x200000U)
40396 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXFOVPIS_SHIFT (21U)
40397 /*! RXFOVPIS - MMC Receive FIFO Overflow Packet Counter Interrupt Status This bit is set when the
40398  *    rxfifooverflow counter reaches half of the maximum value or the maximum value.
40399  *  0b1..MMC Receive FIFO Overflow Packet Counter Interrupt Status detected
40400  *  0b0..MMC Receive FIFO Overflow Packet Counter Interrupt Status not detected
40401  */
40402 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXFOVPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXFOVPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXFOVPIS_MASK)
40403 
40404 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXVLANGBPIS_MASK (0x400000U)
40405 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXVLANGBPIS_SHIFT (22U)
40406 /*! RXVLANGBPIS - MMC Receive VLAN Good Bad Packet Counter Interrupt Status This bit is set when the
40407  *    rxvlanpackets_gb counter reaches half of the maximum value or the maximum value.
40408  *  0b1..MMC Receive VLAN Good Bad Packet Counter Interrupt Status detected
40409  *  0b0..MMC Receive VLAN Good Bad Packet Counter Interrupt Status not detected
40410  */
40411 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXVLANGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXVLANGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXVLANGBPIS_MASK)
40412 
40413 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXWDOGPIS_MASK (0x800000U)
40414 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXWDOGPIS_SHIFT (23U)
40415 /*! RXWDOGPIS - MMC Receive Watchdog Error Packet Counter Interrupt Status This bit is set when the
40416  *    rxwatchdog error counter reaches half of the maximum value or the maximum value.
40417  *  0b1..MMC Receive Watchdog Error Packet Counter Interrupt Status detected
40418  *  0b0..MMC Receive Watchdog Error Packet Counter Interrupt Status not detected
40419  */
40420 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXWDOGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXWDOGPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXWDOGPIS_MASK)
40421 
40422 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRCVERRPIS_MASK (0x1000000U)
40423 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRCVERRPIS_SHIFT (24U)
40424 /*! RXRCVERRPIS - MMC Receive Error Packet Counter Interrupt Status This bit is set when the
40425  *    rxrcverror counter reaches half of the maximum value or the maximum value.
40426  *  0b1..MMC Receive Error Packet Counter Interrupt Status detected
40427  *  0b0..MMC Receive Error Packet Counter Interrupt Status not detected
40428  */
40429 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRCVERRPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRCVERRPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXRCVERRPIS_MASK)
40430 
40431 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCTRLPIS_MASK (0x2000000U)
40432 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCTRLPIS_SHIFT (25U)
40433 /*! RXCTRLPIS - MMC Receive Control Packet Counter Interrupt Status This bit is set when the
40434  *    rxctrlpackets_g counter reaches half of the maximum value or the maximum value.
40435  *  0b1..MMC Receive Control Packet Counter Interrupt Status detected
40436  *  0b0..MMC Receive Control Packet Counter Interrupt Status not detected
40437  */
40438 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCTRLPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCTRLPIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXCTRLPIS_MASK)
40439 
40440 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPIUSCIS_MASK (0x4000000U)
40441 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPIUSCIS_SHIFT (26U)
40442 /*! RXLPIUSCIS - MMC Receive LPI microsecond counter interrupt status This bit is set when the
40443  *    Rx_LPI_USEC_Cntr counter reaches half of the maximum value or the maximum value.
40444  *  0b1..MMC Receive LPI microsecond Counter Interrupt Status detected
40445  *  0b0..MMC Receive LPI microsecond Counter Interrupt Status not detected
40446  */
40447 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPIUSCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPIUSCIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPIUSCIS_MASK)
40448 
40449 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPITRCIS_MASK (0x8000000U)
40450 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPITRCIS_SHIFT (27U)
40451 /*! RXLPITRCIS - MMC Receive LPI transition counter interrupt status This bit is set when the
40452  *    Rx_LPI_Tran_Cntr counter reaches half of the maximum value or the maximum value.
40453  *  0b1..MMC Receive LPI transition Counter Interrupt Status detected
40454  *  0b0..MMC Receive LPI transition Counter Interrupt Status not detected
40455  */
40456 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPITRCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPITRCIS_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_RXLPITRCIS_MASK)
40457 /*! @} */
40458 
40459 /*! @name MAC_MMC_TX_INTERRUPT - MMC Tx Interrupt */
40460 /*! @{ */
40461 
40462 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBOCTIS_MASK (0x1U)
40463 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBOCTIS_SHIFT (0U)
40464 /*! TXGBOCTIS - MMC Transmit Good Bad Octet Counter Interrupt Status This bit is set when the
40465  *    txoctetcount_gb counter reaches half of the maximum value or the maximum value.
40466  *  0b1..MMC Transmit Good Bad Octet Counter Interrupt Status detected
40467  *  0b0..MMC Transmit Good Bad Octet Counter Interrupt Status not detected
40468  */
40469 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBOCTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBOCTIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBOCTIS_MASK)
40470 
40471 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBPKTIS_MASK (0x2U)
40472 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBPKTIS_SHIFT (1U)
40473 /*! TXGBPKTIS - MMC Transmit Good Bad Packet Counter Interrupt Status This bit is set when the
40474  *    txpacketcount_gb counter reaches half of the maximum value or the maximum value.
40475  *  0b1..MMC Transmit Good Bad Packet Counter Interrupt Status detected
40476  *  0b0..MMC Transmit Good Bad Packet Counter Interrupt Status not detected
40477  */
40478 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBPKTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBPKTIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGBPKTIS_MASK)
40479 
40480 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGPIS_MASK (0x4U)
40481 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGPIS_SHIFT (2U)
40482 /*! TXBCGPIS - MMC Transmit Broadcast Good Packet Counter Interrupt Status This bit is set when the
40483  *    txbroadcastpackets_g counter reaches half of the maximum value or the maximum value.
40484  *  0b1..MMC Transmit Broadcast Good Packet Counter Interrupt Status detected
40485  *  0b0..MMC Transmit Broadcast Good Packet Counter Interrupt Status not detected
40486  */
40487 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGPIS_MASK)
40488 
40489 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGPIS_MASK (0x8U)
40490 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGPIS_SHIFT (3U)
40491 /*! TXMCGPIS - MMC Transmit Multicast Good Packet Counter Interrupt Status This bit is set when the
40492  *    txmulticastpackets_g counter reaches half of the maximum value or the maximum value.
40493  *  0b1..MMC Transmit Multicast Good Packet Counter Interrupt Status detected
40494  *  0b0..MMC Transmit Multicast Good Packet Counter Interrupt Status not detected
40495  */
40496 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGPIS_MASK)
40497 
40498 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX64OCTGBPIS_MASK (0x10U)
40499 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX64OCTGBPIS_SHIFT (4U)
40500 /*! TX64OCTGBPIS - MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Status This bit is set
40501  *    when the tx64octets_gb counter reaches half of the maximum value or the maximum value.
40502  *  0b1..MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Status detected
40503  *  0b0..MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Status not detected
40504  */
40505 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX64OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX64OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX64OCTGBPIS_MASK)
40506 
40507 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX65T127OCTGBPIS_MASK (0x20U)
40508 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX65T127OCTGBPIS_SHIFT (5U)
40509 /*! TX65T127OCTGBPIS - MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Status This
40510  *    bit is set when the tx65to127octets_gb counter reaches half the maximum value, and also when it
40511  *    reaches the maximum value.
40512  *  0b1..MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Status detected
40513  *  0b0..MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Status not detected
40514  */
40515 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX65T127OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX65T127OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX65T127OCTGBPIS_MASK)
40516 
40517 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX128T255OCTGBPIS_MASK (0x40U)
40518 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX128T255OCTGBPIS_SHIFT (6U)
40519 /*! TX128T255OCTGBPIS - MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Status This
40520  *    bit is set when the tx128to255octets_gb counter reaches half of the maximum value or the
40521  *    maximum value.
40522  *  0b1..MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Status detected
40523  *  0b0..MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Status not detected
40524  */
40525 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX128T255OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX128T255OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX128T255OCTGBPIS_MASK)
40526 
40527 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX256T511OCTGBPIS_MASK (0x80U)
40528 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX256T511OCTGBPIS_SHIFT (7U)
40529 /*! TX256T511OCTGBPIS - MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Status This
40530  *    bit is set when the tx256to511octets_gb counter reaches half of the maximum value or the
40531  *    maximum value.
40532  *  0b1..MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Status detected
40533  *  0b0..MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Status not detected
40534  */
40535 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX256T511OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX256T511OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX256T511OCTGBPIS_MASK)
40536 
40537 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX512T1023OCTGBPIS_MASK (0x100U)
40538 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX512T1023OCTGBPIS_SHIFT (8U)
40539 /*! TX512T1023OCTGBPIS - MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Status
40540  *    This bit is set when the tx512to1023octets_gb counter reaches half of the maximum value or the
40541  *    maximum value.
40542  *  0b1..MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Status detected
40543  *  0b0..MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Status not detected
40544  */
40545 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX512T1023OCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX512T1023OCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX512T1023OCTGBPIS_MASK)
40546 
40547 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX1024TMAXOCTGBPIS_MASK (0x200U)
40548 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX1024TMAXOCTGBPIS_SHIFT (9U)
40549 /*! TX1024TMAXOCTGBPIS - MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status
40550  *    This bit is set when the tx1024tomaxoctets_gb counter reaches half of the maximum value or
40551  *    the maximum value.
40552  *  0b1..MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status detected
40553  *  0b0..MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Status not detected
40554  */
40555 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TX1024TMAXOCTGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TX1024TMAXOCTGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TX1024TMAXOCTGBPIS_MASK)
40556 
40557 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUCGBPIS_MASK (0x400U)
40558 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUCGBPIS_SHIFT (10U)
40559 /*! TXUCGBPIS - MMC Transmit Unicast Good Bad Packet Counter Interrupt Status This bit is set when
40560  *    the txunicastpackets_gb counter reaches half of the maximum value or the maximum value.
40561  *  0b1..MMC Transmit Unicast Good Bad Packet Counter Interrupt Status detected
40562  *  0b0..MMC Transmit Unicast Good Bad Packet Counter Interrupt Status not detected
40563  */
40564 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUCGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUCGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUCGBPIS_MASK)
40565 
40566 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGBPIS_MASK (0x800U)
40567 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGBPIS_SHIFT (11U)
40568 /*! TXMCGBPIS - MMC Transmit Multicast Good Bad Packet Counter Interrupt Status The bit is set when
40569  *    the txmulticastpackets_gb counter reaches half of the maximum value or the maximum value.
40570  *  0b1..MMC Transmit Multicast Good Bad Packet Counter Interrupt Status detected
40571  *  0b0..MMC Transmit Multicast Good Bad Packet Counter Interrupt Status not detected
40572  */
40573 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCGBPIS_MASK)
40574 
40575 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGBPIS_MASK (0x1000U)
40576 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGBPIS_SHIFT (12U)
40577 /*! TXBCGBPIS - MMC Transmit Broadcast Good Bad Packet Counter Interrupt Status This bit is set when
40578  *    the txbroadcastpackets_gb counter reaches half of the maximum value or the maximum value.
40579  *  0b1..MMC Transmit Broadcast Good Bad Packet Counter Interrupt Status detected
40580  *  0b0..MMC Transmit Broadcast Good Bad Packet Counter Interrupt Status not detected
40581  */
40582 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGBPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGBPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXBCGBPIS_MASK)
40583 
40584 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUFLOWERPIS_MASK (0x2000U)
40585 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUFLOWERPIS_SHIFT (13U)
40586 /*! TXUFLOWERPIS - MMC Transmit Underflow Error Packet Counter Interrupt Status This bit is set when
40587  *    the txunderflowerror counter reaches half of the maximum value or the maximum value.
40588  *  0b1..MMC Transmit Underflow Error Packet Counter Interrupt Status detected
40589  *  0b0..MMC Transmit Underflow Error Packet Counter Interrupt Status not detected
40590  */
40591 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUFLOWERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUFLOWERPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXUFLOWERPIS_MASK)
40592 
40593 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXSCOLGPIS_MASK (0x4000U)
40594 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXSCOLGPIS_SHIFT (14U)
40595 /*! TXSCOLGPIS - MMC Transmit Single Collision Good Packet Counter Interrupt Status This bit is set
40596  *    when the txsinglecol_g counter reaches half of the maximum value or the maximum value.
40597  *  0b1..MMC Transmit Single Collision Good Packet Counter Interrupt Status detected
40598  *  0b0..MMC Transmit Single Collision Good Packet Counter Interrupt Status not detected
40599  */
40600 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXSCOLGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXSCOLGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXSCOLGPIS_MASK)
40601 
40602 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCOLGPIS_MASK (0x8000U)
40603 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCOLGPIS_SHIFT (15U)
40604 /*! TXMCOLGPIS - MMC Transmit Multiple Collision Good Packet Counter Interrupt Status This bit is
40605  *    set when the txmulticol_g counter reaches half of the maximum value or the maximum value.
40606  *  0b1..MMC Transmit Multiple Collision Good Packet Counter Interrupt Status detected
40607  *  0b0..MMC Transmit Multiple Collision Good Packet Counter Interrupt Status not detected
40608  */
40609 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCOLGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCOLGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXMCOLGPIS_MASK)
40610 
40611 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXDEFPIS_MASK (0x10000U)
40612 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXDEFPIS_SHIFT (16U)
40613 /*! TXDEFPIS - MMC Transmit Deferred Packet Counter Interrupt Status This bit is set when the
40614  *    txdeferred counter reaches half of the maximum value or the maximum value.
40615  *  0b1..MMC Transmit Deferred Packet Counter Interrupt Status detected
40616  *  0b0..MMC Transmit Deferred Packet Counter Interrupt Status not detected
40617  */
40618 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXDEFPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXDEFPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXDEFPIS_MASK)
40619 
40620 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLATCOLPIS_MASK (0x20000U)
40621 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLATCOLPIS_SHIFT (17U)
40622 /*! TXLATCOLPIS - MMC Transmit Late Collision Packet Counter Interrupt Status This bit is set when
40623  *    the txlatecol counter reaches half of the maximum value or the maximum value.
40624  *  0b1..MMC Transmit Late Collision Packet Counter Interrupt Status detected
40625  *  0b0..MMC Transmit Late Collision Packet Counter Interrupt Status not detected
40626  */
40627 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLATCOLPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLATCOLPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLATCOLPIS_MASK)
40628 
40629 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXCOLPIS_MASK (0x40000U)
40630 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXCOLPIS_SHIFT (18U)
40631 /*! TXEXCOLPIS - MMC Transmit Excessive Collision Packet Counter Interrupt Status This bit is set
40632  *    when the txexesscol counter reaches half of the maximum value or the maximum value.
40633  *  0b1..MMC Transmit Excessive Collision Packet Counter Interrupt Status detected
40634  *  0b0..MMC Transmit Excessive Collision Packet Counter Interrupt Status not detected
40635  */
40636 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXCOLPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXCOLPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXCOLPIS_MASK)
40637 
40638 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXCARERPIS_MASK (0x80000U)
40639 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXCARERPIS_SHIFT (19U)
40640 /*! TXCARERPIS - MMC Transmit Carrier Error Packet Counter Interrupt Status This bit is set when the
40641  *    txcarriererror counter reaches half of the maximum value or the maximum value.
40642  *  0b1..MMC Transmit Carrier Error Packet Counter Interrupt Status detected
40643  *  0b0..MMC Transmit Carrier Error Packet Counter Interrupt Status not detected
40644  */
40645 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXCARERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXCARERPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXCARERPIS_MASK)
40646 
40647 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGOCTIS_MASK (0x100000U)
40648 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGOCTIS_SHIFT (20U)
40649 /*! TXGOCTIS - MMC Transmit Good Octet Counter Interrupt Status This bit is set when the
40650  *    txoctetcount_g counter reaches half of the maximum value or the maximum value.
40651  *  0b1..MMC Transmit Good Octet Counter Interrupt Status detected
40652  *  0b0..MMC Transmit Good Octet Counter Interrupt Status not detected
40653  */
40654 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGOCTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGOCTIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGOCTIS_MASK)
40655 
40656 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGPKTIS_MASK (0x200000U)
40657 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGPKTIS_SHIFT (21U)
40658 /*! TXGPKTIS - MMC Transmit Good Packet Counter Interrupt Status This bit is set when the
40659  *    txpacketcount_g counter reaches half of the maximum value or the maximum value.
40660  *  0b1..MMC Transmit Good Packet Counter Interrupt Status detected
40661  *  0b0..MMC Transmit Good Packet Counter Interrupt Status not detected
40662  */
40663 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGPKTIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGPKTIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXGPKTIS_MASK)
40664 
40665 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXDEFPIS_MASK (0x400000U)
40666 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXDEFPIS_SHIFT (22U)
40667 /*! TXEXDEFPIS - MMC Transmit Excessive Deferral Packet Counter Interrupt Status This bit is set
40668  *    when the txexcessdef counter reaches half of the maximum value or the maximum value.
40669  *  0b1..MMC Transmit Excessive Deferral Packet Counter Interrupt Status detected
40670  *  0b0..MMC Transmit Excessive Deferral Packet Counter Interrupt Status not detected
40671  */
40672 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXDEFPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXDEFPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXEXDEFPIS_MASK)
40673 
40674 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXPAUSPIS_MASK (0x800000U)
40675 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXPAUSPIS_SHIFT (23U)
40676 /*! TXPAUSPIS - MMC Transmit Pause Packet Counter Interrupt Status This bit is set when the
40677  *    txpausepacketserror counter reaches half of the maximum value or the maximum value.
40678  *  0b1..MMC Transmit Pause Packet Counter Interrupt Status detected
40679  *  0b0..MMC Transmit Pause Packet Counter Interrupt Status not detected
40680  */
40681 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXPAUSPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXPAUSPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXPAUSPIS_MASK)
40682 
40683 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXVLANGPIS_MASK (0x1000000U)
40684 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXVLANGPIS_SHIFT (24U)
40685 /*! TXVLANGPIS - MMC Transmit VLAN Good Packet Counter Interrupt Status This bit is set when the
40686  *    txvlanpackets_g counter reaches half of the maximum value or the maximum value.
40687  *  0b1..MMC Transmit VLAN Good Packet Counter Interrupt Status detected
40688  *  0b0..MMC Transmit VLAN Good Packet Counter Interrupt Status not detected
40689  */
40690 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXVLANGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXVLANGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXVLANGPIS_MASK)
40691 
40692 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXOSIZEGPIS_MASK (0x2000000U)
40693 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXOSIZEGPIS_SHIFT (25U)
40694 /*! TXOSIZEGPIS - MMC Transmit Oversize Good Packet Counter Interrupt Status This bit is set when
40695  *    the txoversize_g counter reaches half of the maximum value or the maximum value.
40696  *  0b1..MMC Transmit Oversize Good Packet Counter Interrupt Status detected
40697  *  0b0..MMC Transmit Oversize Good Packet Counter Interrupt Status not detected
40698  */
40699 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXOSIZEGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXOSIZEGPIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXOSIZEGPIS_MASK)
40700 
40701 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPIUSCIS_MASK (0x4000000U)
40702 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPIUSCIS_SHIFT (26U)
40703 /*! TXLPIUSCIS - MMC Transmit LPI microsecond counter interrupt status This bit is set when the
40704  *    Tx_LPI_USEC_Cntr counter reaches half of the maximum value or the maximum value.
40705  *  0b1..MMC Transmit LPI microsecond Counter Interrupt Status detected
40706  *  0b0..MMC Transmit LPI microsecond Counter Interrupt Status not detected
40707  */
40708 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPIUSCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPIUSCIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPIUSCIS_MASK)
40709 
40710 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPITRCIS_MASK (0x8000000U)
40711 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPITRCIS_SHIFT (27U)
40712 /*! TXLPITRCIS - MMC Transmit LPI transition counter interrupt status This bit is set when the
40713  *    Tx_LPI_Tran_Cntr counter reaches half of the maximum value or the maximum value.
40714  *  0b1..MMC Transmit LPI transition Counter Interrupt Status detected
40715  *  0b0..MMC Transmit LPI transition Counter Interrupt Status not detected
40716  */
40717 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPITRCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPITRCIS_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_TXLPITRCIS_MASK)
40718 /*! @} */
40719 
40720 /*! @name MAC_MMC_RX_INTERRUPT_MASK - MMC Rx Interrupt Mask */
40721 /*! @{ */
40722 
40723 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBPKTIM_MASK (0x1U)
40724 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBPKTIM_SHIFT (0U)
40725 /*! RXGBPKTIM - MMC Receive Good Bad Packet Counter Interrupt Mask Setting this bit masks the
40726  *    interrupt when the rxpacketcount_gb counter reaches half of the maximum value or the maximum value.
40727  *  0b0..MMC Receive Good Bad Packet Counter Interrupt Mask is disabled
40728  *  0b1..MMC Receive Good Bad Packet Counter Interrupt Mask is enabled
40729  */
40730 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBPKTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBPKTIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBPKTIM_MASK)
40731 
40732 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBOCTIM_MASK (0x2U)
40733 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBOCTIM_SHIFT (1U)
40734 /*! RXGBOCTIM - MMC Receive Good Bad Octet Counter Interrupt Mask Setting this bit masks the
40735  *    interrupt when the rxoctetcount_gb counter reaches half of the maximum value or the maximum value.
40736  *  0b0..MMC Receive Good Bad Octet Counter Interrupt Mask is disabled
40737  *  0b1..MMC Receive Good Bad Octet Counter Interrupt Mask is enabled
40738  */
40739 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBOCTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBOCTIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGBOCTIM_MASK)
40740 
40741 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGOCTIM_MASK (0x4U)
40742 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGOCTIM_SHIFT (2U)
40743 /*! RXGOCTIM - MMC Receive Good Octet Counter Interrupt Mask Setting this bit masks the interrupt
40744  *    when the rxoctetcount_g counter reaches half of the maximum value or the maximum value.
40745  *  0b0..MMC Receive Good Octet Counter Interrupt Mask is disabled
40746  *  0b1..MMC Receive Good Octet Counter Interrupt Mask is enabled
40747  */
40748 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGOCTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGOCTIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXGOCTIM_MASK)
40749 
40750 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXBCGPIM_MASK (0x8U)
40751 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXBCGPIM_SHIFT (3U)
40752 /*! RXBCGPIM - MMC Receive Broadcast Good Packet Counter Interrupt Mask Setting this bit masks the
40753  *    interrupt when the rxbroadcastpackets_g counter reaches half of the maximum value or the
40754  *    maximum value.
40755  *  0b0..MMC Receive Broadcast Good Packet Counter Interrupt Mask is disabled
40756  *  0b1..MMC Receive Broadcast Good Packet Counter Interrupt Mask is enabled
40757  */
40758 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXBCGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXBCGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXBCGPIM_MASK)
40759 
40760 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXMCGPIM_MASK (0x10U)
40761 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXMCGPIM_SHIFT (4U)
40762 /*! RXMCGPIM - MMC Receive Multicast Good Packet Counter Interrupt Mask Setting this bit masks the
40763  *    interrupt when the rxmulticastpackets_g counter reaches half of the maximum value or the
40764  *    maximum value.
40765  *  0b0..MMC Receive Multicast Good Packet Counter Interrupt Mask is disabled
40766  *  0b1..MMC Receive Multicast Good Packet Counter Interrupt Mask is enabled
40767  */
40768 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXMCGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXMCGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXMCGPIM_MASK)
40769 
40770 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCRCERPIM_MASK (0x20U)
40771 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCRCERPIM_SHIFT (5U)
40772 /*! RXCRCERPIM - MMC Receive CRC Error Packet Counter Interrupt Mask Setting this bit masks the
40773  *    interrupt when the rxcrcerror counter reaches half of the maximum value or the maximum value.
40774  *  0b0..MMC Receive CRC Error Packet Counter Interrupt Mask is disabled
40775  *  0b1..MMC Receive CRC Error Packet Counter Interrupt Mask is enabled
40776  */
40777 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCRCERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCRCERPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCRCERPIM_MASK)
40778 
40779 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXALGNERPIM_MASK (0x40U)
40780 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXALGNERPIM_SHIFT (6U)
40781 /*! RXALGNERPIM - MMC Receive Alignment Error Packet Counter Interrupt Mask Setting this bit masks
40782  *    the interrupt when the rxalignmenterror counter reaches half of the maximum value or the
40783  *    maximum value.
40784  *  0b0..MMC Receive Alignment Error Packet Counter Interrupt Mask is disabled
40785  *  0b1..MMC Receive Alignment Error Packet Counter Interrupt Mask is enabled
40786  */
40787 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXALGNERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXALGNERPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXALGNERPIM_MASK)
40788 
40789 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRUNTPIM_MASK (0x80U)
40790 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRUNTPIM_SHIFT (7U)
40791 /*! RXRUNTPIM - MMC Receive Runt Packet Counter Interrupt Mask Setting this bit masks the interrupt
40792  *    when the rxrunterror counter reaches half of the maximum value or the maximum value.
40793  *  0b0..MMC Receive Runt Packet Counter Interrupt Mask is disabled
40794  *  0b1..MMC Receive Runt Packet Counter Interrupt Mask is enabled
40795  */
40796 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRUNTPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRUNTPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRUNTPIM_MASK)
40797 
40798 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXJABERPIM_MASK (0x100U)
40799 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXJABERPIM_SHIFT (8U)
40800 /*! RXJABERPIM - MMC Receive Jabber Error Packet Counter Interrupt Mask Setting this bit masks the
40801  *    interrupt when the rxjabbererror counter reaches half of the maximum value or the maximum value.
40802  *  0b0..MMC Receive Jabber Error Packet Counter Interrupt Mask is disabled
40803  *  0b1..MMC Receive Jabber Error Packet Counter Interrupt Mask is enabled
40804  */
40805 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXJABERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXJABERPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXJABERPIM_MASK)
40806 
40807 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUSIZEGPIM_MASK (0x200U)
40808 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUSIZEGPIM_SHIFT (9U)
40809 /*! RXUSIZEGPIM - MMC Receive Undersize Good Packet Counter Interrupt Mask Setting this bit masks
40810  *    the interrupt when the rxundersize_g counter reaches half of the maximum value or the maximum
40811  *    value.
40812  *  0b0..MMC Receive Undersize Good Packet Counter Interrupt Mask is disabled
40813  *  0b1..MMC Receive Undersize Good Packet Counter Interrupt Mask is enabled
40814  */
40815 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUSIZEGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUSIZEGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUSIZEGPIM_MASK)
40816 
40817 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXOSIZEGPIM_MASK (0x400U)
40818 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXOSIZEGPIM_SHIFT (10U)
40819 /*! RXOSIZEGPIM - MMC Receive Oversize Good Packet Counter Interrupt Mask Setting this bit masks the
40820  *    interrupt when the rxoversize_g counter reaches half of the maximum value or the maximum
40821  *    value.
40822  *  0b0..MMC Receive Oversize Good Packet Counter Interrupt Mask is disabled
40823  *  0b1..MMC Receive Oversize Good Packet Counter Interrupt Mask is enabled
40824  */
40825 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXOSIZEGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXOSIZEGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXOSIZEGPIM_MASK)
40826 
40827 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX64OCTGBPIM_MASK (0x800U)
40828 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX64OCTGBPIM_SHIFT (11U)
40829 /*! RX64OCTGBPIM - MMC Receive 64 Octet Good Bad Packet Counter Interrupt Mask Setting this bit
40830  *    masks the interrupt when the rx64octets_gb counter reaches half of the maximum value or the
40831  *    maximum value.
40832  *  0b0..MMC Receive 64 Octet Good Bad Packet Counter Interrupt Mask is disabled
40833  *  0b1..MMC Receive 64 Octet Good Bad Packet Counter Interrupt Mask is enabled
40834  */
40835 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX64OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX64OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX64OCTGBPIM_MASK)
40836 
40837 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX65T127OCTGBPIM_MASK (0x1000U)
40838 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX65T127OCTGBPIM_SHIFT (12U)
40839 /*! RX65T127OCTGBPIM - MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Mask Setting
40840  *    this bit masks the interrupt when the rx65to127octets_gb counter reaches half of the maximum
40841  *    value or the maximum value.
40842  *  0b0..MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Mask is disabled
40843  *  0b1..MMC Receive 65 to 127 Octet Good Bad Packet Counter Interrupt Mask is enabled
40844  */
40845 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX65T127OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX65T127OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX65T127OCTGBPIM_MASK)
40846 
40847 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX128T255OCTGBPIM_MASK (0x2000U)
40848 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX128T255OCTGBPIM_SHIFT (13U)
40849 /*! RX128T255OCTGBPIM - MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Mask Setting
40850  *    this bit masks the interrupt when the rx128to255octets_gb counter reaches half of the maximum
40851  *    value or the maximum value.
40852  *  0b0..MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Mask is disabled
40853  *  0b1..MMC Receive 128 to 255 Octet Good Bad Packet Counter Interrupt Mask is enabled
40854  */
40855 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX128T255OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX128T255OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX128T255OCTGBPIM_MASK)
40856 
40857 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX256T511OCTGBPIM_MASK (0x4000U)
40858 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX256T511OCTGBPIM_SHIFT (14U)
40859 /*! RX256T511OCTGBPIM - MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Mask Setting
40860  *    this bit masks the interrupt when the rx256to511octets_gb counter reaches half of the maximum
40861  *    value or the maximum value.
40862  *  0b0..MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Mask is disabled
40863  *  0b1..MMC Receive 256 to 511 Octet Good Bad Packet Counter Interrupt Mask is enabled
40864  */
40865 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX256T511OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX256T511OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX256T511OCTGBPIM_MASK)
40866 
40867 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX512T1023OCTGBPIM_MASK (0x8000U)
40868 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX512T1023OCTGBPIM_SHIFT (15U)
40869 /*! RX512T1023OCTGBPIM - MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask
40870  *    Setting this bit masks the interrupt when the rx512to1023octets_gb counter reaches half of the
40871  *    maximum value or the maximum value.
40872  *  0b0..MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask is disabled
40873  *  0b1..MMC Receive 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask is enabled
40874  */
40875 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX512T1023OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX512T1023OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX512T1023OCTGBPIM_MASK)
40876 
40877 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX1024TMAXOCTGBPIM_MASK (0x10000U)
40878 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX1024TMAXOCTGBPIM_SHIFT (16U)
40879 /*! RX1024TMAXOCTGBPIM - MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask.
40880  *  0b0..MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask is disabled
40881  *  0b1..MMC Receive 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask is enabled
40882  */
40883 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX1024TMAXOCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX1024TMAXOCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RX1024TMAXOCTGBPIM_MASK)
40884 
40885 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUCGPIM_MASK (0x20000U)
40886 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUCGPIM_SHIFT (17U)
40887 /*! RXUCGPIM - MMC Receive Unicast Good Packet Counter Interrupt Mask Setting this bit masks the
40888  *    interrupt when the rxunicastpackets_g counter reaches half of the maximum value or the maximum
40889  *    value.
40890  *  0b0..MMC Receive Unicast Good Packet Counter Interrupt Mask is disabled
40891  *  0b1..MMC Receive Unicast Good Packet Counter Interrupt Mask is enabled
40892  */
40893 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUCGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUCGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXUCGPIM_MASK)
40894 
40895 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLENERPIM_MASK (0x40000U)
40896 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLENERPIM_SHIFT (18U)
40897 /*! RXLENERPIM - MMC Receive Length Error Packet Counter Interrupt Mask Setting this bit masks the
40898  *    interrupt when the rxlengtherror counter reaches half of the maximum value or the maximum value.
40899  *  0b0..MMC Receive Length Error Packet Counter Interrupt Mask is disabled
40900  *  0b1..MMC Receive Length Error Packet Counter Interrupt Mask is enabled
40901  */
40902 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLENERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLENERPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLENERPIM_MASK)
40903 
40904 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXORANGEPIM_MASK (0x80000U)
40905 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXORANGEPIM_SHIFT (19U)
40906 /*! RXORANGEPIM - MMC Receive Out Of Range Error Packet Counter Interrupt Mask Setting this bit
40907  *    masks the interrupt when the rxoutofrangetype counter reaches half of the maximum value or the
40908  *    maximum value.
40909  *  0b0..MMC Receive Out Of Range Error Packet Counter Interrupt Mask is disabled
40910  *  0b1..MMC Receive Out Of Range Error Packet Counter Interrupt Mask is enabled
40911  */
40912 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXORANGEPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXORANGEPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXORANGEPIM_MASK)
40913 
40914 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXPAUSPIM_MASK (0x100000U)
40915 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXPAUSPIM_SHIFT (20U)
40916 /*! RXPAUSPIM - MMC Receive Pause Packet Counter Interrupt Mask Setting this bit masks the interrupt
40917  *    when the rxpausepackets counter reaches half of the maximum value or the maximum value.
40918  *  0b0..MMC Receive Pause Packet Counter Interrupt Mask is disabled
40919  *  0b1..MMC Receive Pause Packet Counter Interrupt Mask is enabled
40920  */
40921 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXPAUSPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXPAUSPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXPAUSPIM_MASK)
40922 
40923 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXFOVPIM_MASK (0x200000U)
40924 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXFOVPIM_SHIFT (21U)
40925 /*! RXFOVPIM - MMC Receive FIFO Overflow Packet Counter Interrupt Mask Setting this bit masks the
40926  *    interrupt when the rxfifooverflow counter reaches half of the maximum value or the maximum value.
40927  *  0b0..MMC Receive FIFO Overflow Packet Counter Interrupt Mask is disabled
40928  *  0b1..MMC Receive FIFO Overflow Packet Counter Interrupt Mask is enabled
40929  */
40930 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXFOVPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXFOVPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXFOVPIM_MASK)
40931 
40932 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXVLANGBPIM_MASK (0x400000U)
40933 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXVLANGBPIM_SHIFT (22U)
40934 /*! RXVLANGBPIM - MMC Receive VLAN Good Bad Packet Counter Interrupt Mask Setting this bit masks the
40935  *    interrupt when the rxvlanpackets_gb counter reaches half of the maximum value or the maximum
40936  *    value.
40937  *  0b0..MMC Receive VLAN Good Bad Packet Counter Interrupt Mask is disabled
40938  *  0b1..MMC Receive VLAN Good Bad Packet Counter Interrupt Mask is enabled
40939  */
40940 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXVLANGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXVLANGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXVLANGBPIM_MASK)
40941 
40942 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXWDOGPIM_MASK (0x800000U)
40943 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXWDOGPIM_SHIFT (23U)
40944 /*! RXWDOGPIM - MMC Receive Watchdog Error Packet Counter Interrupt Mask Setting this bit masks the
40945  *    interrupt when the rxwatchdog counter reaches half of the maximum value or the maximum value.
40946  *  0b0..MMC Receive Watchdog Error Packet Counter Interrupt Mask is disabled
40947  *  0b1..MMC Receive Watchdog Error Packet Counter Interrupt Mask is enabled
40948  */
40949 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXWDOGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXWDOGPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXWDOGPIM_MASK)
40950 
40951 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRCVERRPIM_MASK (0x1000000U)
40952 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRCVERRPIM_SHIFT (24U)
40953 /*! RXRCVERRPIM - MMC Receive Error Packet Counter Interrupt Mask Setting this bit masks the
40954  *    interrupt when the rxrcverror counter reaches half of the maximum value or the maximum value.
40955  *  0b0..MMC Receive Error Packet Counter Interrupt Mask is disabled
40956  *  0b1..MMC Receive Error Packet Counter Interrupt Mask is enabled
40957  */
40958 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRCVERRPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRCVERRPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXRCVERRPIM_MASK)
40959 
40960 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCTRLPIM_MASK (0x2000000U)
40961 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCTRLPIM_SHIFT (25U)
40962 /*! RXCTRLPIM - MMC Receive Control Packet Counter Interrupt Mask Setting this bit masks the
40963  *    interrupt when the rxctrlpackets_g counter reaches half of the maximum value or the maximum value.
40964  *  0b0..MMC Receive Control Packet Counter Interrupt Mask is disabled
40965  *  0b1..MMC Receive Control Packet Counter Interrupt Mask is enabled
40966  */
40967 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCTRLPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCTRLPIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXCTRLPIM_MASK)
40968 
40969 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPIUSCIM_MASK (0x4000000U)
40970 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPIUSCIM_SHIFT (26U)
40971 /*! RXLPIUSCIM - MMC Receive LPI microsecond counter interrupt Mask Setting this bit masks the
40972  *    interrupt when the Rx_LPI_USEC_Cntr counter reaches half of the maximum value or the maximum value.
40973  *  0b0..MMC Receive LPI microsecond counter interrupt Mask is disabled
40974  *  0b1..MMC Receive LPI microsecond counter interrupt Mask is enabled
40975  */
40976 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPIUSCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPIUSCIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPIUSCIM_MASK)
40977 
40978 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPITRCIM_MASK (0x8000000U)
40979 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPITRCIM_SHIFT (27U)
40980 /*! RXLPITRCIM - MMC Receive LPI transition counter interrupt Mask Setting this bit masks the
40981  *    interrupt when the Rx_LPI_Tran_Cntr counter reaches half of the maximum value or the maximum value.
40982  *  0b0..MMC Receive LPI transition counter interrupt Mask is disabled
40983  *  0b1..MMC Receive LPI transition counter interrupt Mask is enabled
40984  */
40985 #define ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPITRCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPITRCIM_SHIFT)) & ENET_QOS_MAC_MMC_RX_INTERRUPT_MASK_RXLPITRCIM_MASK)
40986 /*! @} */
40987 
40988 /*! @name MAC_MMC_TX_INTERRUPT_MASK - MMC Tx Interrupt Mask */
40989 /*! @{ */
40990 
40991 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBOCTIM_MASK (0x1U)
40992 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBOCTIM_SHIFT (0U)
40993 /*! TXGBOCTIM - MMC Transmit Good Bad Octet Counter Interrupt Mask Setting this bit masks the
40994  *    interrupt when the txoctetcount_gb counter reaches half of the maximum value or the maximum value.
40995  *  0b0..MMC Transmit Good Bad Octet Counter Interrupt Mask is disabled
40996  *  0b1..MMC Transmit Good Bad Octet Counter Interrupt Mask is enabled
40997  */
40998 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBOCTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBOCTIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBOCTIM_MASK)
40999 
41000 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBPKTIM_MASK (0x2U)
41001 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBPKTIM_SHIFT (1U)
41002 /*! TXGBPKTIM - MMC Transmit Good Bad Packet Counter Interrupt Mask Setting this bit masks the
41003  *    interrupt when the txpacketcount_gb counter reaches half of the maximum value or the maximum value.
41004  *  0b0..MMC Transmit Good Bad Packet Counter Interrupt Mask is disabled
41005  *  0b1..MMC Transmit Good Bad Packet Counter Interrupt Mask is enabled
41006  */
41007 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBPKTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBPKTIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGBPKTIM_MASK)
41008 
41009 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGPIM_MASK (0x4U)
41010 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGPIM_SHIFT (2U)
41011 /*! TXBCGPIM - MMC Transmit Broadcast Good Packet Counter Interrupt Mask Setting this bit masks the
41012  *    interrupt when the txbroadcastpackets_g counter reaches half of the maximum value or the
41013  *    maximum value.
41014  *  0b0..MMC Transmit Broadcast Good Packet Counter Interrupt Mask is disabled
41015  *  0b1..MMC Transmit Broadcast Good Packet Counter Interrupt Mask is enabled
41016  */
41017 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGPIM_MASK)
41018 
41019 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGPIM_MASK (0x8U)
41020 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGPIM_SHIFT (3U)
41021 /*! TXMCGPIM - MMC Transmit Multicast Good Packet Counter Interrupt Mask Setting this bit masks the
41022  *    interrupt when the txmulticastpackets_g counter reaches half of the maximum value or the
41023  *    maximum value.
41024  *  0b0..MMC Transmit Multicast Good Packet Counter Interrupt Mask is disabled
41025  *  0b1..MMC Transmit Multicast Good Packet Counter Interrupt Mask is enabled
41026  */
41027 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGPIM_MASK)
41028 
41029 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX64OCTGBPIM_MASK (0x10U)
41030 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX64OCTGBPIM_SHIFT (4U)
41031 /*! TX64OCTGBPIM - MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Mask Setting this bit
41032  *    masks the interrupt when the tx64octets_gb counter reaches half of the maximum value or the
41033  *    maximum value.
41034  *  0b0..MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Mask is disabled
41035  *  0b1..MMC Transmit 64 Octet Good Bad Packet Counter Interrupt Mask is enabled
41036  */
41037 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX64OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX64OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX64OCTGBPIM_MASK)
41038 
41039 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX65T127OCTGBPIM_MASK (0x20U)
41040 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX65T127OCTGBPIM_SHIFT (5U)
41041 /*! TX65T127OCTGBPIM - MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Mask Setting
41042  *    this bit masks the interrupt when the tx65to127octets_gb counter reaches half of the maximum
41043  *    value or the maximum value.
41044  *  0b0..MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Mask is disabled
41045  *  0b1..MMC Transmit 65 to 127 Octet Good Bad Packet Counter Interrupt Mask is enabled
41046  */
41047 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX65T127OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX65T127OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX65T127OCTGBPIM_MASK)
41048 
41049 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX128T255OCTGBPIM_MASK (0x40U)
41050 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX128T255OCTGBPIM_SHIFT (6U)
41051 /*! TX128T255OCTGBPIM - MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Mask Setting
41052  *    this bit masks the interrupt when the tx128to255octets_gb counter reaches half of the maximum
41053  *    value or the maximum value.
41054  *  0b0..MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Mask is disabled
41055  *  0b1..MMC Transmit 128 to 255 Octet Good Bad Packet Counter Interrupt Mask is enabled
41056  */
41057 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX128T255OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX128T255OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX128T255OCTGBPIM_MASK)
41058 
41059 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX256T511OCTGBPIM_MASK (0x80U)
41060 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX256T511OCTGBPIM_SHIFT (7U)
41061 /*! TX256T511OCTGBPIM - MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Mask Setting
41062  *    this bit masks the interrupt when the tx256to511octets_gb counter reaches half of the maximum
41063  *    value or the maximum value.
41064  *  0b0..MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Mask is disabled
41065  *  0b1..MMC Transmit 256 to 511 Octet Good Bad Packet Counter Interrupt Mask is enabled
41066  */
41067 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX256T511OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX256T511OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX256T511OCTGBPIM_MASK)
41068 
41069 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX512T1023OCTGBPIM_MASK (0x100U)
41070 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX512T1023OCTGBPIM_SHIFT (8U)
41071 /*! TX512T1023OCTGBPIM - MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask
41072  *    Setting this bit masks the interrupt when the tx512to1023octets_gb counter reaches half of the
41073  *    maximum value or the maximum value.
41074  *  0b0..MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask is disabled
41075  *  0b1..MMC Transmit 512 to 1023 Octet Good Bad Packet Counter Interrupt Mask is enabled
41076  */
41077 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX512T1023OCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX512T1023OCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX512T1023OCTGBPIM_MASK)
41078 
41079 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX1024TMAXOCTGBPIM_MASK (0x200U)
41080 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX1024TMAXOCTGBPIM_SHIFT (9U)
41081 /*! TX1024TMAXOCTGBPIM - MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask
41082  *    Setting this bit masks the interrupt when the tx1024tomaxoctets_gb counter reaches half of the
41083  *    maximum value or the maximum value.
41084  *  0b0..MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask is disabled
41085  *  0b1..MMC Transmit 1024 to Maximum Octet Good Bad Packet Counter Interrupt Mask is enabled
41086  */
41087 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX1024TMAXOCTGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX1024TMAXOCTGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TX1024TMAXOCTGBPIM_MASK)
41088 
41089 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUCGBPIM_MASK (0x400U)
41090 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUCGBPIM_SHIFT (10U)
41091 /*! TXUCGBPIM - MMC Transmit Unicast Good Bad Packet Counter Interrupt Mask Setting this bit masks
41092  *    the interrupt when the txunicastpackets_gb counter reaches half of the maximum value or the
41093  *    maximum value.
41094  *  0b0..MMC Transmit Unicast Good Bad Packet Counter Interrupt Mask is disabled
41095  *  0b1..MMC Transmit Unicast Good Bad Packet Counter Interrupt Mask is enabled
41096  */
41097 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUCGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUCGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUCGBPIM_MASK)
41098 
41099 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGBPIM_MASK (0x800U)
41100 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGBPIM_SHIFT (11U)
41101 /*! TXMCGBPIM - MMC Transmit Multicast Good Bad Packet Counter Interrupt Mask Setting this bit masks
41102  *    the interrupt when the txmulticastpackets_gb counter reaches half of the maximum value or the
41103  *    maximum value.
41104  *  0b0..MMC Transmit Multicast Good Bad Packet Counter Interrupt Mask is disabled
41105  *  0b1..MMC Transmit Multicast Good Bad Packet Counter Interrupt Mask is enabled
41106  */
41107 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCGBPIM_MASK)
41108 
41109 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGBPIM_MASK (0x1000U)
41110 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGBPIM_SHIFT (12U)
41111 /*! TXBCGBPIM - MMC Transmit Broadcast Good Bad Packet Counter Interrupt Mask Setting this bit masks
41112  *    the interrupt when the txbroadcastpackets_gb counter reaches half of the maximum value or the
41113  *    maximum value.
41114  *  0b0..MMC Transmit Broadcast Good Bad Packet Counter Interrupt Mask is disabled
41115  *  0b1..MMC Transmit Broadcast Good Bad Packet Counter Interrupt Mask is enabled
41116  */
41117 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGBPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGBPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXBCGBPIM_MASK)
41118 
41119 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUFLOWERPIM_MASK (0x2000U)
41120 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUFLOWERPIM_SHIFT (13U)
41121 /*! TXUFLOWERPIM - MMC Transmit Underflow Error Packet Counter Interrupt Mask Setting this bit masks
41122  *    the interrupt when the txunderflowerror counter reaches half of the maximum value or the
41123  *    maximum value.
41124  *  0b0..MMC Transmit Underflow Error Packet Counter Interrupt Mask is disabled
41125  *  0b1..MMC Transmit Underflow Error Packet Counter Interrupt Mask is enabled
41126  */
41127 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUFLOWERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUFLOWERPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXUFLOWERPIM_MASK)
41128 
41129 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXSCOLGPIM_MASK (0x4000U)
41130 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXSCOLGPIM_SHIFT (14U)
41131 /*! TXSCOLGPIM - MMC Transmit Single Collision Good Packet Counter Interrupt Mask Setting this bit
41132  *    masks the interrupt when the txsinglecol_g counter reaches half of the maximum value or the
41133  *    maximum value.
41134  *  0b0..MMC Transmit Single Collision Good Packet Counter Interrupt Mask is disabled
41135  *  0b1..MMC Transmit Single Collision Good Packet Counter Interrupt Mask is enabled
41136  */
41137 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXSCOLGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXSCOLGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXSCOLGPIM_MASK)
41138 
41139 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCOLGPIM_MASK (0x8000U)
41140 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCOLGPIM_SHIFT (15U)
41141 /*! TXMCOLGPIM - MMC Transmit Multiple Collision Good Packet Counter Interrupt Mask Setting this bit
41142  *    masks the interrupt when the txmulticol_g counter reaches half of the maximum value or the
41143  *    maximum value.
41144  *  0b0..MMC Transmit Multiple Collision Good Packet Counter Interrupt Mask is disabled
41145  *  0b1..MMC Transmit Multiple Collision Good Packet Counter Interrupt Mask is enabled
41146  */
41147 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCOLGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCOLGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXMCOLGPIM_MASK)
41148 
41149 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXDEFPIM_MASK (0x10000U)
41150 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXDEFPIM_SHIFT (16U)
41151 /*! TXDEFPIM - MMC Transmit Deferred Packet Counter Interrupt Mask Setting this bit masks the
41152  *    interrupt when the txdeferred counter reaches half of the maximum value or the maximum value.
41153  *  0b0..MMC Transmit Deferred Packet Counter Interrupt Mask is disabled
41154  *  0b1..MMC Transmit Deferred Packet Counter Interrupt Mask is enabled
41155  */
41156 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXDEFPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXDEFPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXDEFPIM_MASK)
41157 
41158 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLATCOLPIM_MASK (0x20000U)
41159 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLATCOLPIM_SHIFT (17U)
41160 /*! TXLATCOLPIM - MMC Transmit Late Collision Packet Counter Interrupt Mask Setting this bit masks
41161  *    the interrupt when the txlatecol counter reaches half of the maximum value or the maximum value.
41162  *  0b0..MMC Transmit Late Collision Packet Counter Interrupt Mask is disabled
41163  *  0b1..MMC Transmit Late Collision Packet Counter Interrupt Mask is enabled
41164  */
41165 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLATCOLPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLATCOLPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLATCOLPIM_MASK)
41166 
41167 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXCOLPIM_MASK (0x40000U)
41168 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXCOLPIM_SHIFT (18U)
41169 /*! TXEXCOLPIM - MMC Transmit Excessive Collision Packet Counter Interrupt Mask Setting this bit
41170  *    masks the interrupt when the txexcesscol counter reaches half of the maximum value or the maximum
41171  *    value.
41172  *  0b0..MMC Transmit Excessive Collision Packet Counter Interrupt Mask is disabled
41173  *  0b1..MMC Transmit Excessive Collision Packet Counter Interrupt Mask is enabled
41174  */
41175 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXCOLPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXCOLPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXCOLPIM_MASK)
41176 
41177 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXCARERPIM_MASK (0x80000U)
41178 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXCARERPIM_SHIFT (19U)
41179 /*! TXCARERPIM - MMC Transmit Carrier Error Packet Counter Interrupt Mask Setting this bit masks the
41180  *    interrupt when the txcarriererror counter reaches half of the maximum value or the maximum
41181  *    value.
41182  *  0b0..MMC Transmit Carrier Error Packet Counter Interrupt Mask is disabled
41183  *  0b1..MMC Transmit Carrier Error Packet Counter Interrupt Mask is enabled
41184  */
41185 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXCARERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXCARERPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXCARERPIM_MASK)
41186 
41187 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGOCTIM_MASK (0x100000U)
41188 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGOCTIM_SHIFT (20U)
41189 /*! TXGOCTIM - MMC Transmit Good Octet Counter Interrupt Mask Setting this bit masks the interrupt
41190  *    when the txoctetcount_g counter reaches half of the maximum value or the maximum value.
41191  *  0b0..MMC Transmit Good Octet Counter Interrupt Mask is disabled
41192  *  0b1..MMC Transmit Good Octet Counter Interrupt Mask is enabled
41193  */
41194 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGOCTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGOCTIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGOCTIM_MASK)
41195 
41196 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGPKTIM_MASK (0x200000U)
41197 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGPKTIM_SHIFT (21U)
41198 /*! TXGPKTIM - MMC Transmit Good Packet Counter Interrupt Mask Setting this bit masks the interrupt
41199  *    when the txpacketcount_g counter reaches half of the maximum value or the maximum value.
41200  *  0b0..MMC Transmit Good Packet Counter Interrupt Mask is disabled
41201  *  0b1..MMC Transmit Good Packet Counter Interrupt Mask is enabled
41202  */
41203 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGPKTIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGPKTIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXGPKTIM_MASK)
41204 
41205 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXDEFPIM_MASK (0x400000U)
41206 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXDEFPIM_SHIFT (22U)
41207 /*! TXEXDEFPIM - MMC Transmit Excessive Deferral Packet Counter Interrupt Mask Setting this bit
41208  *    masks the interrupt when the txexcessdef counter reaches half of the maximum value or the maximum
41209  *    value.
41210  *  0b0..MMC Transmit Excessive Deferral Packet Counter Interrupt Mask is disabled
41211  *  0b1..MMC Transmit Excessive Deferral Packet Counter Interrupt Mask is enabled
41212  */
41213 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXDEFPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXDEFPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXEXDEFPIM_MASK)
41214 
41215 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXPAUSPIM_MASK (0x800000U)
41216 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXPAUSPIM_SHIFT (23U)
41217 /*! TXPAUSPIM - MMC Transmit Pause Packet Counter Interrupt Mask Setting this bit masks the
41218  *    interrupt when the txpausepackets counter reaches half of the maximum value or the maximum value.
41219  *  0b0..MMC Transmit Pause Packet Counter Interrupt Mask is disabled
41220  *  0b1..MMC Transmit Pause Packet Counter Interrupt Mask is enabled
41221  */
41222 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXPAUSPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXPAUSPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXPAUSPIM_MASK)
41223 
41224 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXVLANGPIM_MASK (0x1000000U)
41225 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXVLANGPIM_SHIFT (24U)
41226 /*! TXVLANGPIM - MMC Transmit VLAN Good Packet Counter Interrupt Mask Setting this bit masks the
41227  *    interrupt when the txvlanpackets_g counter reaches half of the maximum value or the maximum value.
41228  *  0b0..MMC Transmit VLAN Good Packet Counter Interrupt Mask is disabled
41229  *  0b1..MMC Transmit VLAN Good Packet Counter Interrupt Mask is enabled
41230  */
41231 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXVLANGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXVLANGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXVLANGPIM_MASK)
41232 
41233 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXOSIZEGPIM_MASK (0x2000000U)
41234 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXOSIZEGPIM_SHIFT (25U)
41235 /*! TXOSIZEGPIM - MMC Transmit Oversize Good Packet Counter Interrupt Mask Setting this bit masks
41236  *    the interrupt when the txoversize_g counter reaches half of the maximum value or the maximum
41237  *    value.
41238  *  0b0..MMC Transmit Oversize Good Packet Counter Interrupt Mask is disabled
41239  *  0b1..MMC Transmit Oversize Good Packet Counter Interrupt Mask is enabled
41240  */
41241 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXOSIZEGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXOSIZEGPIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXOSIZEGPIM_MASK)
41242 
41243 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPIUSCIM_MASK (0x4000000U)
41244 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPIUSCIM_SHIFT (26U)
41245 /*! TXLPIUSCIM - MMC Transmit LPI microsecond counter interrupt Mask Setting this bit masks the
41246  *    interrupt when the Tx_LPI_USEC_Cntr counter reaches half of the maximum value or the maximum value.
41247  *  0b0..MMC Transmit LPI microsecond counter interrupt Mask is disabled
41248  *  0b1..MMC Transmit LPI microsecond counter interrupt Mask is enabled
41249  */
41250 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPIUSCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPIUSCIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPIUSCIM_MASK)
41251 
41252 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPITRCIM_MASK (0x8000000U)
41253 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPITRCIM_SHIFT (27U)
41254 /*! TXLPITRCIM - MMC Transmit LPI transition counter interrupt Mask Setting this bit masks the
41255  *    interrupt when the Tx_LPI_Tran_Cntr counter reaches half of the maximum value or the maximum value.
41256  *  0b0..MMC Transmit LPI transition counter interrupt Mask is disabled
41257  *  0b1..MMC Transmit LPI transition counter interrupt Mask is enabled
41258  */
41259 #define ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPITRCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPITRCIM_SHIFT)) & ENET_QOS_MAC_MMC_TX_INTERRUPT_MASK_TXLPITRCIM_MASK)
41260 /*! @} */
41261 
41262 /*! @name MAC_TX_OCTET_COUNT_GOOD_BAD - Tx Octet Count Good and Bad */
41263 /*! @{ */
41264 
41265 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_BAD_TXOCTGB_MASK (0xFFFFFFFFU)
41266 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_BAD_TXOCTGB_SHIFT (0U)
41267 /*! TXOCTGB - Tx Octet Count Good Bad This field indicates the number of bytes transmitted,
41268  *    exclusive of preamble and retried bytes, in good and bad packets.
41269  */
41270 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_BAD_TXOCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_BAD_TXOCTGB_SHIFT)) & ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_BAD_TXOCTGB_MASK)
41271 /*! @} */
41272 
41273 /*! @name MAC_TX_PACKET_COUNT_GOOD_BAD - Tx Packet Count Good and Bad */
41274 /*! @{ */
41275 
41276 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_BAD_TXPKTGB_MASK (0xFFFFFFFFU)
41277 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_BAD_TXPKTGB_SHIFT (0U)
41278 /*! TXPKTGB - Tx Packet Count Good Bad This field indicates the number of good and bad packets
41279  *    transmitted, exclusive of retried packets.
41280  */
41281 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_BAD_TXPKTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_BAD_TXPKTGB_SHIFT)) & ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_BAD_TXPKTGB_MASK)
41282 /*! @} */
41283 
41284 /*! @name MAC_TX_BROADCAST_PACKETS_GOOD - Tx Broadcast Packets Good */
41285 /*! @{ */
41286 
41287 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_TXBCASTG_MASK (0xFFFFFFFFU)
41288 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_TXBCASTG_SHIFT (0U)
41289 /*! TXBCASTG - Tx Broadcast Packets Good This field indicates the number of good broadcast packets transmitted.
41290  */
41291 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_TXBCASTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_TXBCASTG_SHIFT)) & ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_TXBCASTG_MASK)
41292 /*! @} */
41293 
41294 /*! @name MAC_TX_MULTICAST_PACKETS_GOOD - Tx Multicast Packets Good */
41295 /*! @{ */
41296 
41297 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_TXMCASTG_MASK (0xFFFFFFFFU)
41298 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_TXMCASTG_SHIFT (0U)
41299 /*! TXMCASTG - Tx Multicast Packets Good This field indicates the number of good multicast packets transmitted.
41300  */
41301 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_TXMCASTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_TXMCASTG_SHIFT)) & ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_TXMCASTG_MASK)
41302 /*! @} */
41303 
41304 /*! @name MAC_TX_64OCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 64-Byte Packets */
41305 /*! @{ */
41306 
41307 #define ENET_QOS_MAC_TX_64OCTETS_PACKETS_GOOD_BAD_TX64OCTGB_MASK (0xFFFFFFFFU)
41308 #define ENET_QOS_MAC_TX_64OCTETS_PACKETS_GOOD_BAD_TX64OCTGB_SHIFT (0U)
41309 /*! TX64OCTGB - Tx 64Octets Packets Good_Bad This field indicates the number of good and bad packets
41310  *    transmitted with length 64 bytes, exclusive of preamble and retried packets.
41311  */
41312 #define ENET_QOS_MAC_TX_64OCTETS_PACKETS_GOOD_BAD_TX64OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_64OCTETS_PACKETS_GOOD_BAD_TX64OCTGB_SHIFT)) & ENET_QOS_MAC_TX_64OCTETS_PACKETS_GOOD_BAD_TX64OCTGB_MASK)
41313 /*! @} */
41314 
41315 /*! @name MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 65 to 127-Byte Packets */
41316 /*! @{ */
41317 
41318 #define ENET_QOS_MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD_TX65_127OCTGB_MASK (0xFFFFFFFFU)
41319 #define ENET_QOS_MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD_TX65_127OCTGB_SHIFT (0U)
41320 /*! TX65_127OCTGB - Tx 65To127Octets Packets Good Bad This field indicates the number of good and
41321  *    bad packets transmitted with length between 65 and 127 (inclusive) bytes, exclusive of preamble
41322  *    and retried packets.
41323  */
41324 #define ENET_QOS_MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD_TX65_127OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD_TX65_127OCTGB_SHIFT)) & ENET_QOS_MAC_TX_65TO127OCTETS_PACKETS_GOOD_BAD_TX65_127OCTGB_MASK)
41325 /*! @} */
41326 
41327 /*! @name MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 128 to 255-Byte Packets */
41328 /*! @{ */
41329 
41330 #define ENET_QOS_MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD_TX128_255OCTGB_MASK (0xFFFFFFFFU)
41331 #define ENET_QOS_MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD_TX128_255OCTGB_SHIFT (0U)
41332 /*! TX128_255OCTGB - Tx 128To255Octets Packets Good Bad This field indicates the number of good and
41333  *    bad packets transmitted with length between 128 and 255 (inclusive) bytes, exclusive of
41334  *    preamble and retried packets.
41335  */
41336 #define ENET_QOS_MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD_TX128_255OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD_TX128_255OCTGB_SHIFT)) & ENET_QOS_MAC_TX_128TO255OCTETS_PACKETS_GOOD_BAD_TX128_255OCTGB_MASK)
41337 /*! @} */
41338 
41339 /*! @name MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 256 to 511-Byte Packets */
41340 /*! @{ */
41341 
41342 #define ENET_QOS_MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD_TX256_511OCTGB_MASK (0xFFFFFFFFU)
41343 #define ENET_QOS_MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD_TX256_511OCTGB_SHIFT (0U)
41344 /*! TX256_511OCTGB - Tx 256To511Octets Packets Good Bad This field indicates the number of good and
41345  *    bad packets transmitted with length between 256 and 511 (inclusive) bytes, exclusive of
41346  *    preamble and retried packets.
41347  */
41348 #define ENET_QOS_MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD_TX256_511OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD_TX256_511OCTGB_SHIFT)) & ENET_QOS_MAC_TX_256TO511OCTETS_PACKETS_GOOD_BAD_TX256_511OCTGB_MASK)
41349 /*! @} */
41350 
41351 /*! @name MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 512 to 1023-Byte Packets */
41352 /*! @{ */
41353 
41354 #define ENET_QOS_MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD_TX512_1023OCTGB_MASK (0xFFFFFFFFU)
41355 #define ENET_QOS_MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD_TX512_1023OCTGB_SHIFT (0U)
41356 /*! TX512_1023OCTGB - Tx 512To1023Octets Packets Good Bad This field indicates the number of good
41357  *    and bad packets transmitted with length between 512 and 1023 (inclusive) bytes, exclusive of
41358  *    preamble and retried packets.
41359  */
41360 #define ENET_QOS_MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD_TX512_1023OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD_TX512_1023OCTGB_SHIFT)) & ENET_QOS_MAC_TX_512TO1023OCTETS_PACKETS_GOOD_BAD_TX512_1023OCTGB_MASK)
41361 /*! @} */
41362 
41363 /*! @name MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD - Tx Good and Bad 1024 to Max-Byte Packets */
41364 /*! @{ */
41365 
41366 #define ENET_QOS_MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_TX1024_MAXOCTGB_MASK (0xFFFFFFFFU)
41367 #define ENET_QOS_MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_TX1024_MAXOCTGB_SHIFT (0U)
41368 /*! TX1024_MAXOCTGB - Tx 1024ToMaxOctets Packets Good Bad This field indicates the number of good
41369  *    and bad packets transmitted with length between 1024 and maxsize (inclusive) bytes, exclusive of
41370  *    preamble and retried packets.
41371  */
41372 #define ENET_QOS_MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_TX1024_MAXOCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_TX1024_MAXOCTGB_SHIFT)) & ENET_QOS_MAC_TX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_TX1024_MAXOCTGB_MASK)
41373 /*! @} */
41374 
41375 /*! @name MAC_TX_UNICAST_PACKETS_GOOD_BAD - Good and Bad Unicast Packets Transmitted */
41376 /*! @{ */
41377 
41378 #define ENET_QOS_MAC_TX_UNICAST_PACKETS_GOOD_BAD_TXUCASTGB_MASK (0xFFFFFFFFU)
41379 #define ENET_QOS_MAC_TX_UNICAST_PACKETS_GOOD_BAD_TXUCASTGB_SHIFT (0U)
41380 /*! TXUCASTGB - Tx Unicast Packets Good Bad This field indicates the number of good and bad unicast packets transmitted.
41381  */
41382 #define ENET_QOS_MAC_TX_UNICAST_PACKETS_GOOD_BAD_TXUCASTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_UNICAST_PACKETS_GOOD_BAD_TXUCASTGB_SHIFT)) & ENET_QOS_MAC_TX_UNICAST_PACKETS_GOOD_BAD_TXUCASTGB_MASK)
41383 /*! @} */
41384 
41385 /*! @name MAC_TX_MULTICAST_PACKETS_GOOD_BAD - Good and Bad Multicast Packets Transmitted */
41386 /*! @{ */
41387 
41388 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_BAD_TXMCASTGB_MASK (0xFFFFFFFFU)
41389 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_BAD_TXMCASTGB_SHIFT (0U)
41390 /*! TXMCASTGB - Tx Multicast Packets Good Bad This field indicates the number of good and bad multicast packets transmitted.
41391  */
41392 #define ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_BAD_TXMCASTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_BAD_TXMCASTGB_SHIFT)) & ENET_QOS_MAC_TX_MULTICAST_PACKETS_GOOD_BAD_TXMCASTGB_MASK)
41393 /*! @} */
41394 
41395 /*! @name MAC_TX_BROADCAST_PACKETS_GOOD_BAD - Good and Bad Broadcast Packets Transmitted */
41396 /*! @{ */
41397 
41398 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_BAD_TXBCASTGB_MASK (0xFFFFFFFFU)
41399 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_BAD_TXBCASTGB_SHIFT (0U)
41400 /*! TXBCASTGB - Tx Broadcast Packets Good Bad This field indicates the number of good and bad broadcast packets transmitted.
41401  */
41402 #define ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_BAD_TXBCASTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_BAD_TXBCASTGB_SHIFT)) & ENET_QOS_MAC_TX_BROADCAST_PACKETS_GOOD_BAD_TXBCASTGB_MASK)
41403 /*! @} */
41404 
41405 /*! @name MAC_TX_UNDERFLOW_ERROR_PACKETS - Tx Packets Aborted By Underflow Error */
41406 /*! @{ */
41407 
41408 #define ENET_QOS_MAC_TX_UNDERFLOW_ERROR_PACKETS_TXUNDRFLW_MASK (0xFFFFFFFFU)
41409 #define ENET_QOS_MAC_TX_UNDERFLOW_ERROR_PACKETS_TXUNDRFLW_SHIFT (0U)
41410 /*! TXUNDRFLW - Tx Underflow Error Packets This field indicates the number of packets aborted because of packets underflow error.
41411  */
41412 #define ENET_QOS_MAC_TX_UNDERFLOW_ERROR_PACKETS_TXUNDRFLW(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_UNDERFLOW_ERROR_PACKETS_TXUNDRFLW_SHIFT)) & ENET_QOS_MAC_TX_UNDERFLOW_ERROR_PACKETS_TXUNDRFLW_MASK)
41413 /*! @} */
41414 
41415 /*! @name MAC_TX_SINGLE_COLLISION_GOOD_PACKETS - Single Collision Good Packets Transmitted */
41416 /*! @{ */
41417 
41418 #define ENET_QOS_MAC_TX_SINGLE_COLLISION_GOOD_PACKETS_TXSNGLCOLG_MASK (0xFFFFFFFFU)
41419 #define ENET_QOS_MAC_TX_SINGLE_COLLISION_GOOD_PACKETS_TXSNGLCOLG_SHIFT (0U)
41420 /*! TXSNGLCOLG - Tx Single Collision Good Packets This field indicates the number of successfully
41421  *    transmitted packets after a single collision in the half-duplex mode.
41422  */
41423 #define ENET_QOS_MAC_TX_SINGLE_COLLISION_GOOD_PACKETS_TXSNGLCOLG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_SINGLE_COLLISION_GOOD_PACKETS_TXSNGLCOLG_SHIFT)) & ENET_QOS_MAC_TX_SINGLE_COLLISION_GOOD_PACKETS_TXSNGLCOLG_MASK)
41424 /*! @} */
41425 
41426 /*! @name MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS - Multiple Collision Good Packets Transmitted */
41427 /*! @{ */
41428 
41429 #define ENET_QOS_MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS_TXMULTCOLG_MASK (0xFFFFFFFFU)
41430 #define ENET_QOS_MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS_TXMULTCOLG_SHIFT (0U)
41431 /*! TXMULTCOLG - Tx Multiple Collision Good Packets This field indicates the number of successfully
41432  *    transmitted packets after multiple collisions in the half-duplex mode.
41433  */
41434 #define ENET_QOS_MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS_TXMULTCOLG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS_TXMULTCOLG_SHIFT)) & ENET_QOS_MAC_TX_MULTIPLE_COLLISION_GOOD_PACKETS_TXMULTCOLG_MASK)
41435 /*! @} */
41436 
41437 /*! @name MAC_TX_DEFERRED_PACKETS - Deferred Packets Transmitted */
41438 /*! @{ */
41439 
41440 #define ENET_QOS_MAC_TX_DEFERRED_PACKETS_TXDEFRD_MASK (0xFFFFFFFFU)
41441 #define ENET_QOS_MAC_TX_DEFERRED_PACKETS_TXDEFRD_SHIFT (0U)
41442 /*! TXDEFRD - Tx Deferred Packets This field indicates the number of successfully transmitted after
41443  *    a deferral in the half-duplex mode.
41444  */
41445 #define ENET_QOS_MAC_TX_DEFERRED_PACKETS_TXDEFRD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_DEFERRED_PACKETS_TXDEFRD_SHIFT)) & ENET_QOS_MAC_TX_DEFERRED_PACKETS_TXDEFRD_MASK)
41446 /*! @} */
41447 
41448 /*! @name MAC_TX_LATE_COLLISION_PACKETS - Late Collision Packets Transmitted */
41449 /*! @{ */
41450 
41451 #define ENET_QOS_MAC_TX_LATE_COLLISION_PACKETS_TXLATECOL_MASK (0xFFFFFFFFU)
41452 #define ENET_QOS_MAC_TX_LATE_COLLISION_PACKETS_TXLATECOL_SHIFT (0U)
41453 /*! TXLATECOL - Tx Late Collision Packets This field indicates the number of packets aborted because of late collision error.
41454  */
41455 #define ENET_QOS_MAC_TX_LATE_COLLISION_PACKETS_TXLATECOL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_LATE_COLLISION_PACKETS_TXLATECOL_SHIFT)) & ENET_QOS_MAC_TX_LATE_COLLISION_PACKETS_TXLATECOL_MASK)
41456 /*! @} */
41457 
41458 /*! @name MAC_TX_EXCESSIVE_COLLISION_PACKETS - Excessive Collision Packets Transmitted */
41459 /*! @{ */
41460 
41461 #define ENET_QOS_MAC_TX_EXCESSIVE_COLLISION_PACKETS_TXEXSCOL_MASK (0xFFFFFFFFU)
41462 #define ENET_QOS_MAC_TX_EXCESSIVE_COLLISION_PACKETS_TXEXSCOL_SHIFT (0U)
41463 /*! TXEXSCOL - Tx Excessive Collision Packets This field indicates the number of packets aborted
41464  *    because of excessive (16) collision errors.
41465  */
41466 #define ENET_QOS_MAC_TX_EXCESSIVE_COLLISION_PACKETS_TXEXSCOL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_EXCESSIVE_COLLISION_PACKETS_TXEXSCOL_SHIFT)) & ENET_QOS_MAC_TX_EXCESSIVE_COLLISION_PACKETS_TXEXSCOL_MASK)
41467 /*! @} */
41468 
41469 /*! @name MAC_TX_CARRIER_ERROR_PACKETS - Carrier Error Packets Transmitted */
41470 /*! @{ */
41471 
41472 #define ENET_QOS_MAC_TX_CARRIER_ERROR_PACKETS_TXCARR_MASK (0xFFFFFFFFU)
41473 #define ENET_QOS_MAC_TX_CARRIER_ERROR_PACKETS_TXCARR_SHIFT (0U)
41474 /*! TXCARR - Tx Carrier Error Packets This field indicates the number of packets aborted because of
41475  *    carrier sense error (no carrier or loss of carrier).
41476  */
41477 #define ENET_QOS_MAC_TX_CARRIER_ERROR_PACKETS_TXCARR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_CARRIER_ERROR_PACKETS_TXCARR_SHIFT)) & ENET_QOS_MAC_TX_CARRIER_ERROR_PACKETS_TXCARR_MASK)
41478 /*! @} */
41479 
41480 /*! @name MAC_TX_OCTET_COUNT_GOOD - Bytes Transmitted in Good Packets */
41481 /*! @{ */
41482 
41483 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_TXOCTG_MASK (0xFFFFFFFFU)
41484 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_TXOCTG_SHIFT (0U)
41485 /*! TXOCTG - Tx Octet Count Good This field indicates the number of bytes transmitted, exclusive of preamble, only in good packets.
41486  */
41487 #define ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_TXOCTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_TXOCTG_SHIFT)) & ENET_QOS_MAC_TX_OCTET_COUNT_GOOD_TXOCTG_MASK)
41488 /*! @} */
41489 
41490 /*! @name MAC_TX_PACKET_COUNT_GOOD - Good Packets Transmitted */
41491 /*! @{ */
41492 
41493 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_TXPKTG_MASK (0xFFFFFFFFU)
41494 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_TXPKTG_SHIFT (0U)
41495 /*! TXPKTG - Tx Packet Count Good This field indicates the number of good packets transmitted.
41496  */
41497 #define ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_TXPKTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_TXPKTG_SHIFT)) & ENET_QOS_MAC_TX_PACKET_COUNT_GOOD_TXPKTG_MASK)
41498 /*! @} */
41499 
41500 /*! @name MAC_TX_EXCESSIVE_DEFERRAL_ERROR - Packets Aborted By Excessive Deferral Error */
41501 /*! @{ */
41502 
41503 #define ENET_QOS_MAC_TX_EXCESSIVE_DEFERRAL_ERROR_TXEXSDEF_MASK (0xFFFFFFFFU)
41504 #define ENET_QOS_MAC_TX_EXCESSIVE_DEFERRAL_ERROR_TXEXSDEF_SHIFT (0U)
41505 /*! TXEXSDEF - Tx Excessive Deferral Error This field indicates the number of packets aborted
41506  *    because of excessive deferral error (deferred for more than two max-sized packet times).
41507  */
41508 #define ENET_QOS_MAC_TX_EXCESSIVE_DEFERRAL_ERROR_TXEXSDEF(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_EXCESSIVE_DEFERRAL_ERROR_TXEXSDEF_SHIFT)) & ENET_QOS_MAC_TX_EXCESSIVE_DEFERRAL_ERROR_TXEXSDEF_MASK)
41509 /*! @} */
41510 
41511 /*! @name MAC_TX_PAUSE_PACKETS - Pause Packets Transmitted */
41512 /*! @{ */
41513 
41514 #define ENET_QOS_MAC_TX_PAUSE_PACKETS_TXPAUSE_MASK (0xFFFFFFFFU)
41515 #define ENET_QOS_MAC_TX_PAUSE_PACKETS_TXPAUSE_SHIFT (0U)
41516 /*! TXPAUSE - Tx Pause Packets This field indicates the number of good Pause packets transmitted.
41517  */
41518 #define ENET_QOS_MAC_TX_PAUSE_PACKETS_TXPAUSE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_PAUSE_PACKETS_TXPAUSE_SHIFT)) & ENET_QOS_MAC_TX_PAUSE_PACKETS_TXPAUSE_MASK)
41519 /*! @} */
41520 
41521 /*! @name MAC_TX_VLAN_PACKETS_GOOD - Good VLAN Packets Transmitted */
41522 /*! @{ */
41523 
41524 #define ENET_QOS_MAC_TX_VLAN_PACKETS_GOOD_TXVLANG_MASK (0xFFFFFFFFU)
41525 #define ENET_QOS_MAC_TX_VLAN_PACKETS_GOOD_TXVLANG_SHIFT (0U)
41526 /*! TXVLANG - Tx VLAN Packets Good This field provides the number of good VLAN packets transmitted.
41527  */
41528 #define ENET_QOS_MAC_TX_VLAN_PACKETS_GOOD_TXVLANG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_VLAN_PACKETS_GOOD_TXVLANG_SHIFT)) & ENET_QOS_MAC_TX_VLAN_PACKETS_GOOD_TXVLANG_MASK)
41529 /*! @} */
41530 
41531 /*! @name MAC_TX_OSIZE_PACKETS_GOOD - Good Oversize Packets Transmitted */
41532 /*! @{ */
41533 
41534 #define ENET_QOS_MAC_TX_OSIZE_PACKETS_GOOD_TXOSIZG_MASK (0xFFFFFFFFU)
41535 #define ENET_QOS_MAC_TX_OSIZE_PACKETS_GOOD_TXOSIZG_SHIFT (0U)
41536 /*! TXOSIZG - Tx OSize Packets Good This field indicates the number of packets transmitted without
41537  *    errors and with length greater than the maxsize (1,518 or 1,522 bytes for VLAN tagged packets;
41538  *    2000 bytes if enabled in S2KP bit of the CONFIGURATION register).
41539  */
41540 #define ENET_QOS_MAC_TX_OSIZE_PACKETS_GOOD_TXOSIZG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_OSIZE_PACKETS_GOOD_TXOSIZG_SHIFT)) & ENET_QOS_MAC_TX_OSIZE_PACKETS_GOOD_TXOSIZG_MASK)
41541 /*! @} */
41542 
41543 /*! @name MAC_RX_PACKETS_COUNT_GOOD_BAD - Good and Bad Packets Received */
41544 /*! @{ */
41545 
41546 #define ENET_QOS_MAC_RX_PACKETS_COUNT_GOOD_BAD_RXPKTGB_MASK (0xFFFFFFFFU)
41547 #define ENET_QOS_MAC_RX_PACKETS_COUNT_GOOD_BAD_RXPKTGB_SHIFT (0U)
41548 /*! RXPKTGB - Rx Packets Count Good Bad This field indicates the number of good and bad packets received.
41549  */
41550 #define ENET_QOS_MAC_RX_PACKETS_COUNT_GOOD_BAD_RXPKTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_PACKETS_COUNT_GOOD_BAD_RXPKTGB_SHIFT)) & ENET_QOS_MAC_RX_PACKETS_COUNT_GOOD_BAD_RXPKTGB_MASK)
41551 /*! @} */
41552 
41553 /*! @name MAC_RX_OCTET_COUNT_GOOD_BAD - Bytes in Good and Bad Packets Received */
41554 /*! @{ */
41555 
41556 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_BAD_RXOCTGB_MASK (0xFFFFFFFFU)
41557 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_BAD_RXOCTGB_SHIFT (0U)
41558 /*! RXOCTGB - Rx Octet Count Good Bad This field indicates the number of bytes received, exclusive
41559  *    of preamble, in good and bad packets.
41560  */
41561 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_BAD_RXOCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_BAD_RXOCTGB_SHIFT)) & ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_BAD_RXOCTGB_MASK)
41562 /*! @} */
41563 
41564 /*! @name MAC_RX_OCTET_COUNT_GOOD - Bytes in Good Packets Received */
41565 /*! @{ */
41566 
41567 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_RXOCTG_MASK (0xFFFFFFFFU)
41568 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_RXOCTG_SHIFT (0U)
41569 /*! RXOCTG - Rx Octet Count Good This field indicates the number of bytes received, exclusive of preamble, only in good packets.
41570  */
41571 #define ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_RXOCTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_RXOCTG_SHIFT)) & ENET_QOS_MAC_RX_OCTET_COUNT_GOOD_RXOCTG_MASK)
41572 /*! @} */
41573 
41574 /*! @name MAC_RX_BROADCAST_PACKETS_GOOD - Good Broadcast Packets Received */
41575 /*! @{ */
41576 
41577 #define ENET_QOS_MAC_RX_BROADCAST_PACKETS_GOOD_RXBCASTG_MASK (0xFFFFFFFFU)
41578 #define ENET_QOS_MAC_RX_BROADCAST_PACKETS_GOOD_RXBCASTG_SHIFT (0U)
41579 /*! RXBCASTG - Rx Broadcast Packets Good This field indicates the number of good broadcast packets received.
41580  */
41581 #define ENET_QOS_MAC_RX_BROADCAST_PACKETS_GOOD_RXBCASTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_BROADCAST_PACKETS_GOOD_RXBCASTG_SHIFT)) & ENET_QOS_MAC_RX_BROADCAST_PACKETS_GOOD_RXBCASTG_MASK)
41582 /*! @} */
41583 
41584 /*! @name MAC_RX_MULTICAST_PACKETS_GOOD - Good Multicast Packets Received */
41585 /*! @{ */
41586 
41587 #define ENET_QOS_MAC_RX_MULTICAST_PACKETS_GOOD_RXMCASTG_MASK (0xFFFFFFFFU)
41588 #define ENET_QOS_MAC_RX_MULTICAST_PACKETS_GOOD_RXMCASTG_SHIFT (0U)
41589 /*! RXMCASTG - Rx Multicast Packets Good This field indicates the number of good multicast packets received.
41590  */
41591 #define ENET_QOS_MAC_RX_MULTICAST_PACKETS_GOOD_RXMCASTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_MULTICAST_PACKETS_GOOD_RXMCASTG_SHIFT)) & ENET_QOS_MAC_RX_MULTICAST_PACKETS_GOOD_RXMCASTG_MASK)
41592 /*! @} */
41593 
41594 /*! @name MAC_RX_CRC_ERROR_PACKETS - CRC Error Packets Received */
41595 /*! @{ */
41596 
41597 #define ENET_QOS_MAC_RX_CRC_ERROR_PACKETS_RXCRCERR_MASK (0xFFFFFFFFU)
41598 #define ENET_QOS_MAC_RX_CRC_ERROR_PACKETS_RXCRCERR_SHIFT (0U)
41599 /*! RXCRCERR - Rx CRC Error Packets This field indicates the number of packets received with CRC error.
41600  */
41601 #define ENET_QOS_MAC_RX_CRC_ERROR_PACKETS_RXCRCERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_CRC_ERROR_PACKETS_RXCRCERR_SHIFT)) & ENET_QOS_MAC_RX_CRC_ERROR_PACKETS_RXCRCERR_MASK)
41602 /*! @} */
41603 
41604 /*! @name MAC_RX_ALIGNMENT_ERROR_PACKETS - Alignment Error Packets Received */
41605 /*! @{ */
41606 
41607 #define ENET_QOS_MAC_RX_ALIGNMENT_ERROR_PACKETS_RXALGNERR_MASK (0xFFFFFFFFU)
41608 #define ENET_QOS_MAC_RX_ALIGNMENT_ERROR_PACKETS_RXALGNERR_SHIFT (0U)
41609 /*! RXALGNERR - Rx Alignment Error Packets This field indicates the number of packets received with alignment (dribble) error.
41610  */
41611 #define ENET_QOS_MAC_RX_ALIGNMENT_ERROR_PACKETS_RXALGNERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_ALIGNMENT_ERROR_PACKETS_RXALGNERR_SHIFT)) & ENET_QOS_MAC_RX_ALIGNMENT_ERROR_PACKETS_RXALGNERR_MASK)
41612 /*! @} */
41613 
41614 /*! @name MAC_RX_RUNT_ERROR_PACKETS - Runt Error Packets Received */
41615 /*! @{ */
41616 
41617 #define ENET_QOS_MAC_RX_RUNT_ERROR_PACKETS_RXRUNTERR_MASK (0xFFFFFFFFU)
41618 #define ENET_QOS_MAC_RX_RUNT_ERROR_PACKETS_RXRUNTERR_SHIFT (0U)
41619 /*! RXRUNTERR - Rx Runt Error Packets This field indicates the number of packets received with runt
41620  *    (length less than 64 bytes and CRC error) error.
41621  */
41622 #define ENET_QOS_MAC_RX_RUNT_ERROR_PACKETS_RXRUNTERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_RUNT_ERROR_PACKETS_RXRUNTERR_SHIFT)) & ENET_QOS_MAC_RX_RUNT_ERROR_PACKETS_RXRUNTERR_MASK)
41623 /*! @} */
41624 
41625 /*! @name MAC_RX_JABBER_ERROR_PACKETS - Jabber Error Packets Received */
41626 /*! @{ */
41627 
41628 #define ENET_QOS_MAC_RX_JABBER_ERROR_PACKETS_RXJABERR_MASK (0xFFFFFFFFU)
41629 #define ENET_QOS_MAC_RX_JABBER_ERROR_PACKETS_RXJABERR_SHIFT (0U)
41630 /*! RXJABERR - Rx Jabber Error Packets This field indicates the number of giant packets received
41631  *    with length (including CRC) greater than 1,518 bytes (1,522 bytes for VLAN tagged) and with CRC
41632  *    error.
41633  */
41634 #define ENET_QOS_MAC_RX_JABBER_ERROR_PACKETS_RXJABERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_JABBER_ERROR_PACKETS_RXJABERR_SHIFT)) & ENET_QOS_MAC_RX_JABBER_ERROR_PACKETS_RXJABERR_MASK)
41635 /*! @} */
41636 
41637 /*! @name MAC_RX_UNDERSIZE_PACKETS_GOOD - Good Undersize Packets Received */
41638 /*! @{ */
41639 
41640 #define ENET_QOS_MAC_RX_UNDERSIZE_PACKETS_GOOD_RXUNDERSZG_MASK (0xFFFFFFFFU)
41641 #define ENET_QOS_MAC_RX_UNDERSIZE_PACKETS_GOOD_RXUNDERSZG_SHIFT (0U)
41642 /*! RXUNDERSZG - Rx Undersize Packets Good This field indicates the number of packets received with
41643  *    length less than 64 bytes, without any errors.
41644  */
41645 #define ENET_QOS_MAC_RX_UNDERSIZE_PACKETS_GOOD_RXUNDERSZG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_UNDERSIZE_PACKETS_GOOD_RXUNDERSZG_SHIFT)) & ENET_QOS_MAC_RX_UNDERSIZE_PACKETS_GOOD_RXUNDERSZG_MASK)
41646 /*! @} */
41647 
41648 /*! @name MAC_RX_OVERSIZE_PACKETS_GOOD - Good Oversize Packets Received */
41649 /*! @{ */
41650 
41651 #define ENET_QOS_MAC_RX_OVERSIZE_PACKETS_GOOD_RXOVERSZG_MASK (0xFFFFFFFFU)
41652 #define ENET_QOS_MAC_RX_OVERSIZE_PACKETS_GOOD_RXOVERSZG_SHIFT (0U)
41653 /*! RXOVERSZG - Rx Oversize Packets Good This field indicates the number of packets received without
41654  *    errors, with length greater than the maxsize (1,518 bytes or 1,522 bytes for VLAN tagged
41655  *    packets; 2000 bytes if enabled in the S2KP bit of the MAC_CONFIGURATION register).
41656  */
41657 #define ENET_QOS_MAC_RX_OVERSIZE_PACKETS_GOOD_RXOVERSZG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_OVERSIZE_PACKETS_GOOD_RXOVERSZG_SHIFT)) & ENET_QOS_MAC_RX_OVERSIZE_PACKETS_GOOD_RXOVERSZG_MASK)
41658 /*! @} */
41659 
41660 /*! @name MAC_RX_64OCTETS_PACKETS_GOOD_BAD - Good and Bad 64-Byte Packets Received */
41661 /*! @{ */
41662 
41663 #define ENET_QOS_MAC_RX_64OCTETS_PACKETS_GOOD_BAD_RX64OCTGB_MASK (0xFFFFFFFFU)
41664 #define ENET_QOS_MAC_RX_64OCTETS_PACKETS_GOOD_BAD_RX64OCTGB_SHIFT (0U)
41665 /*! RX64OCTGB - Rx 64 Octets Packets Good Bad This field indicates the number of good and bad
41666  *    packets received with length 64 bytes, exclusive of the preamble.
41667  */
41668 #define ENET_QOS_MAC_RX_64OCTETS_PACKETS_GOOD_BAD_RX64OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_64OCTETS_PACKETS_GOOD_BAD_RX64OCTGB_SHIFT)) & ENET_QOS_MAC_RX_64OCTETS_PACKETS_GOOD_BAD_RX64OCTGB_MASK)
41669 /*! @} */
41670 
41671 /*! @name MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD - Good and Bad 64-to-127 Byte Packets Received */
41672 /*! @{ */
41673 
41674 #define ENET_QOS_MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD_RX65_127OCTGB_MASK (0xFFFFFFFFU)
41675 #define ENET_QOS_MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD_RX65_127OCTGB_SHIFT (0U)
41676 /*! RX65_127OCTGB - Rx 65-127 Octets Packets Good Bad This field indicates the number of good and
41677  *    bad packets received with length between 65 and 127 (inclusive) bytes, exclusive of the preamble.
41678  */
41679 #define ENET_QOS_MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD_RX65_127OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD_RX65_127OCTGB_SHIFT)) & ENET_QOS_MAC_RX_65TO127OCTETS_PACKETS_GOOD_BAD_RX65_127OCTGB_MASK)
41680 /*! @} */
41681 
41682 /*! @name MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD - Good and Bad 128-to-255 Byte Packets Received */
41683 /*! @{ */
41684 
41685 #define ENET_QOS_MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD_RX128_255OCTGB_MASK (0xFFFFFFFFU)
41686 #define ENET_QOS_MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD_RX128_255OCTGB_SHIFT (0U)
41687 /*! RX128_255OCTGB - Rx 128-255 Octets Packets Good Bad This field indicates the number of good and
41688  *    bad packets received with length between 128 and 255 (inclusive) bytes, exclusive of the
41689  *    preamble.
41690  */
41691 #define ENET_QOS_MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD_RX128_255OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD_RX128_255OCTGB_SHIFT)) & ENET_QOS_MAC_RX_128TO255OCTETS_PACKETS_GOOD_BAD_RX128_255OCTGB_MASK)
41692 /*! @} */
41693 
41694 /*! @name MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD - Good and Bad 256-to-511 Byte Packets Received */
41695 /*! @{ */
41696 
41697 #define ENET_QOS_MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD_RX256_511OCTGB_MASK (0xFFFFFFFFU)
41698 #define ENET_QOS_MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD_RX256_511OCTGB_SHIFT (0U)
41699 /*! RX256_511OCTGB - Rx 256-511 Octets Packets Good Bad This field indicates the number of good and
41700  *    bad packets received with length between 256 and 511 (inclusive) bytes, exclusive of the
41701  *    preamble.
41702  */
41703 #define ENET_QOS_MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD_RX256_511OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD_RX256_511OCTGB_SHIFT)) & ENET_QOS_MAC_RX_256TO511OCTETS_PACKETS_GOOD_BAD_RX256_511OCTGB_MASK)
41704 /*! @} */
41705 
41706 /*! @name MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD - Good and Bad 512-to-1023 Byte Packets Received */
41707 /*! @{ */
41708 
41709 #define ENET_QOS_MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD_RX512_1023OCTGB_MASK (0xFFFFFFFFU)
41710 #define ENET_QOS_MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD_RX512_1023OCTGB_SHIFT (0U)
41711 /*! RX512_1023OCTGB - RX 512-1023 Octets Packets Good Bad This field indicates the number of good
41712  *    and bad packets received with length between 512 and 1023 (inclusive) bytes, exclusive of the
41713  *    preamble.
41714  */
41715 #define ENET_QOS_MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD_RX512_1023OCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD_RX512_1023OCTGB_SHIFT)) & ENET_QOS_MAC_RX_512TO1023OCTETS_PACKETS_GOOD_BAD_RX512_1023OCTGB_MASK)
41716 /*! @} */
41717 
41718 /*! @name MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD - Good and Bad 1024-to-Max Byte Packets Received */
41719 /*! @{ */
41720 
41721 #define ENET_QOS_MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_RX1024_MAXOCTGB_MASK (0xFFFFFFFFU)
41722 #define ENET_QOS_MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_RX1024_MAXOCTGB_SHIFT (0U)
41723 /*! RX1024_MAXOCTGB - Rx 1024-Max Octets Good Bad This field indicates the number of good and bad
41724  *    packets received with length between 1024 and maxsize (inclusive) bytes, exclusive of the
41725  *    preamble.
41726  */
41727 #define ENET_QOS_MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_RX1024_MAXOCTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_RX1024_MAXOCTGB_SHIFT)) & ENET_QOS_MAC_RX_1024TOMAXOCTETS_PACKETS_GOOD_BAD_RX1024_MAXOCTGB_MASK)
41728 /*! @} */
41729 
41730 /*! @name MAC_RX_UNICAST_PACKETS_GOOD - Good Unicast Packets Received */
41731 /*! @{ */
41732 
41733 #define ENET_QOS_MAC_RX_UNICAST_PACKETS_GOOD_RXUCASTG_MASK (0xFFFFFFFFU)
41734 #define ENET_QOS_MAC_RX_UNICAST_PACKETS_GOOD_RXUCASTG_SHIFT (0U)
41735 /*! RXUCASTG - Rx Unicast Packets Good This field indicates the number of good unicast packets received.
41736  */
41737 #define ENET_QOS_MAC_RX_UNICAST_PACKETS_GOOD_RXUCASTG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_UNICAST_PACKETS_GOOD_RXUCASTG_SHIFT)) & ENET_QOS_MAC_RX_UNICAST_PACKETS_GOOD_RXUCASTG_MASK)
41738 /*! @} */
41739 
41740 /*! @name MAC_RX_LENGTH_ERROR_PACKETS - Length Error Packets Received */
41741 /*! @{ */
41742 
41743 #define ENET_QOS_MAC_RX_LENGTH_ERROR_PACKETS_RXLENERR_MASK (0xFFFFFFFFU)
41744 #define ENET_QOS_MAC_RX_LENGTH_ERROR_PACKETS_RXLENERR_SHIFT (0U)
41745 /*! RXLENERR - Rx Length Error Packets This field indicates the number of packets received with
41746  *    length error (Length Type field not equal to packet size), for all packets with valid length field.
41747  */
41748 #define ENET_QOS_MAC_RX_LENGTH_ERROR_PACKETS_RXLENERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_LENGTH_ERROR_PACKETS_RXLENERR_SHIFT)) & ENET_QOS_MAC_RX_LENGTH_ERROR_PACKETS_RXLENERR_MASK)
41749 /*! @} */
41750 
41751 /*! @name MAC_RX_OUT_OF_RANGE_TYPE_PACKETS - Out-of-range Type Packets Received */
41752 /*! @{ */
41753 
41754 #define ENET_QOS_MAC_RX_OUT_OF_RANGE_TYPE_PACKETS_RXOUTOFRNG_MASK (0xFFFFFFFFU)
41755 #define ENET_QOS_MAC_RX_OUT_OF_RANGE_TYPE_PACKETS_RXOUTOFRNG_SHIFT (0U)
41756 /*! RXOUTOFRNG - Rx Out of Range Type Packet This field indicates the number of packets received
41757  *    with length field not equal to the valid packet size (greater than 1,500 but less than 1,536).
41758  */
41759 #define ENET_QOS_MAC_RX_OUT_OF_RANGE_TYPE_PACKETS_RXOUTOFRNG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_OUT_OF_RANGE_TYPE_PACKETS_RXOUTOFRNG_SHIFT)) & ENET_QOS_MAC_RX_OUT_OF_RANGE_TYPE_PACKETS_RXOUTOFRNG_MASK)
41760 /*! @} */
41761 
41762 /*! @name MAC_RX_PAUSE_PACKETS - Pause Packets Received */
41763 /*! @{ */
41764 
41765 #define ENET_QOS_MAC_RX_PAUSE_PACKETS_RXPAUSEPKT_MASK (0xFFFFFFFFU)
41766 #define ENET_QOS_MAC_RX_PAUSE_PACKETS_RXPAUSEPKT_SHIFT (0U)
41767 /*! RXPAUSEPKT - Rx Pause Packets This field indicates the number of good and valid Pause packets received.
41768  */
41769 #define ENET_QOS_MAC_RX_PAUSE_PACKETS_RXPAUSEPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_PAUSE_PACKETS_RXPAUSEPKT_SHIFT)) & ENET_QOS_MAC_RX_PAUSE_PACKETS_RXPAUSEPKT_MASK)
41770 /*! @} */
41771 
41772 /*! @name MAC_RX_FIFO_OVERFLOW_PACKETS - Missed Packets Due to FIFO Overflow */
41773 /*! @{ */
41774 
41775 #define ENET_QOS_MAC_RX_FIFO_OVERFLOW_PACKETS_RXFIFOOVFL_MASK (0xFFFFFFFFU)
41776 #define ENET_QOS_MAC_RX_FIFO_OVERFLOW_PACKETS_RXFIFOOVFL_SHIFT (0U)
41777 /*! RXFIFOOVFL - Rx FIFO Overflow Packets This field indicates the number of missed received packets because of FIFO overflow.
41778  */
41779 #define ENET_QOS_MAC_RX_FIFO_OVERFLOW_PACKETS_RXFIFOOVFL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_FIFO_OVERFLOW_PACKETS_RXFIFOOVFL_SHIFT)) & ENET_QOS_MAC_RX_FIFO_OVERFLOW_PACKETS_RXFIFOOVFL_MASK)
41780 /*! @} */
41781 
41782 /*! @name MAC_RX_VLAN_PACKETS_GOOD_BAD - Good and Bad VLAN Packets Received */
41783 /*! @{ */
41784 
41785 #define ENET_QOS_MAC_RX_VLAN_PACKETS_GOOD_BAD_RXVLANPKTGB_MASK (0xFFFFFFFFU)
41786 #define ENET_QOS_MAC_RX_VLAN_PACKETS_GOOD_BAD_RXVLANPKTGB_SHIFT (0U)
41787 /*! RXVLANPKTGB - Rx VLAN Packets Good Bad This field indicates the number of good and bad VLAN packets received.
41788  */
41789 #define ENET_QOS_MAC_RX_VLAN_PACKETS_GOOD_BAD_RXVLANPKTGB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_VLAN_PACKETS_GOOD_BAD_RXVLANPKTGB_SHIFT)) & ENET_QOS_MAC_RX_VLAN_PACKETS_GOOD_BAD_RXVLANPKTGB_MASK)
41790 /*! @} */
41791 
41792 /*! @name MAC_RX_WATCHDOG_ERROR_PACKETS - Watchdog Error Packets Received */
41793 /*! @{ */
41794 
41795 #define ENET_QOS_MAC_RX_WATCHDOG_ERROR_PACKETS_RXWDGERR_MASK (0xFFFFFFFFU)
41796 #define ENET_QOS_MAC_RX_WATCHDOG_ERROR_PACKETS_RXWDGERR_SHIFT (0U)
41797 /*! RXWDGERR - Rx Watchdog Error Packets This field indicates the number of packets received with
41798  *    error because of watchdog timeout error (packets with a data load larger than 2,048 bytes (when
41799  *    JE and WD bits are reset in MAC_CONFIGURATION register), 10,240 bytes (when JE bit is set and
41800  *    WD bit is reset in MAC_CONFIGURATION register), 16,384 bytes (when WD bit is set in
41801  *    MAC_CONFIGURATION register) or the value programmed in the MAC_WATCHDOG_TIMEOUT register).
41802  */
41803 #define ENET_QOS_MAC_RX_WATCHDOG_ERROR_PACKETS_RXWDGERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_WATCHDOG_ERROR_PACKETS_RXWDGERR_SHIFT)) & ENET_QOS_MAC_RX_WATCHDOG_ERROR_PACKETS_RXWDGERR_MASK)
41804 /*! @} */
41805 
41806 /*! @name MAC_RX_RECEIVE_ERROR_PACKETS - Receive Error Packets Received */
41807 /*! @{ */
41808 
41809 #define ENET_QOS_MAC_RX_RECEIVE_ERROR_PACKETS_RXRCVERR_MASK (0xFFFFFFFFU)
41810 #define ENET_QOS_MAC_RX_RECEIVE_ERROR_PACKETS_RXRCVERR_SHIFT (0U)
41811 /*! RXRCVERR - Rx Receive Error Packets This field indicates the number of packets received with
41812  *    Receive error or Packet Extension error on the GMII or MII interface.
41813  */
41814 #define ENET_QOS_MAC_RX_RECEIVE_ERROR_PACKETS_RXRCVERR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_RECEIVE_ERROR_PACKETS_RXRCVERR_SHIFT)) & ENET_QOS_MAC_RX_RECEIVE_ERROR_PACKETS_RXRCVERR_MASK)
41815 /*! @} */
41816 
41817 /*! @name MAC_RX_CONTROL_PACKETS_GOOD - Good Control Packets Received */
41818 /*! @{ */
41819 
41820 #define ENET_QOS_MAC_RX_CONTROL_PACKETS_GOOD_RXCTRLG_MASK (0xFFFFFFFFU)
41821 #define ENET_QOS_MAC_RX_CONTROL_PACKETS_GOOD_RXCTRLG_SHIFT (0U)
41822 /*! RXCTRLG - Rx Control Packets Good This field indicates the number of good control packets received.
41823  */
41824 #define ENET_QOS_MAC_RX_CONTROL_PACKETS_GOOD_RXCTRLG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_CONTROL_PACKETS_GOOD_RXCTRLG_SHIFT)) & ENET_QOS_MAC_RX_CONTROL_PACKETS_GOOD_RXCTRLG_MASK)
41825 /*! @} */
41826 
41827 /*! @name MAC_TX_LPI_USEC_CNTR - Microseconds Tx LPI Asserted */
41828 /*! @{ */
41829 
41830 #define ENET_QOS_MAC_TX_LPI_USEC_CNTR_TXLPIUSC_MASK (0xFFFFFFFFU)
41831 #define ENET_QOS_MAC_TX_LPI_USEC_CNTR_TXLPIUSC_SHIFT (0U)
41832 /*! TXLPIUSC - Tx LPI Microseconds Counter This field indicates the number of microseconds Tx LPI is asserted.
41833  */
41834 #define ENET_QOS_MAC_TX_LPI_USEC_CNTR_TXLPIUSC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_LPI_USEC_CNTR_TXLPIUSC_SHIFT)) & ENET_QOS_MAC_TX_LPI_USEC_CNTR_TXLPIUSC_MASK)
41835 /*! @} */
41836 
41837 /*! @name MAC_TX_LPI_TRAN_CNTR - Number of Times Tx LPI Asserted */
41838 /*! @{ */
41839 
41840 #define ENET_QOS_MAC_TX_LPI_TRAN_CNTR_TXLPITRC_MASK (0xFFFFFFFFU)
41841 #define ENET_QOS_MAC_TX_LPI_TRAN_CNTR_TXLPITRC_SHIFT (0U)
41842 /*! TXLPITRC - Tx LPI Transition counter This field indicates the number of times Tx LPI Entry has occurred.
41843  */
41844 #define ENET_QOS_MAC_TX_LPI_TRAN_CNTR_TXLPITRC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_LPI_TRAN_CNTR_TXLPITRC_SHIFT)) & ENET_QOS_MAC_TX_LPI_TRAN_CNTR_TXLPITRC_MASK)
41845 /*! @} */
41846 
41847 /*! @name MAC_RX_LPI_USEC_CNTR - Microseconds Rx LPI Sampled */
41848 /*! @{ */
41849 
41850 #define ENET_QOS_MAC_RX_LPI_USEC_CNTR_RXLPIUSC_MASK (0xFFFFFFFFU)
41851 #define ENET_QOS_MAC_RX_LPI_USEC_CNTR_RXLPIUSC_SHIFT (0U)
41852 /*! RXLPIUSC - Rx LPI Microseconds Counter This field indicates the number of microseconds Rx LPI is asserted.
41853  */
41854 #define ENET_QOS_MAC_RX_LPI_USEC_CNTR_RXLPIUSC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_LPI_USEC_CNTR_RXLPIUSC_SHIFT)) & ENET_QOS_MAC_RX_LPI_USEC_CNTR_RXLPIUSC_MASK)
41855 /*! @} */
41856 
41857 /*! @name MAC_RX_LPI_TRAN_CNTR - Number of Times Rx LPI Entered */
41858 /*! @{ */
41859 
41860 #define ENET_QOS_MAC_RX_LPI_TRAN_CNTR_RXLPITRC_MASK (0xFFFFFFFFU)
41861 #define ENET_QOS_MAC_RX_LPI_TRAN_CNTR_RXLPITRC_SHIFT (0U)
41862 /*! RXLPITRC - Rx LPI Transition counter This field indicates the number of times Rx LPI Entry has occurred.
41863  */
41864 #define ENET_QOS_MAC_RX_LPI_TRAN_CNTR_RXLPITRC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RX_LPI_TRAN_CNTR_RXLPITRC_SHIFT)) & ENET_QOS_MAC_RX_LPI_TRAN_CNTR_RXLPITRC_MASK)
41865 /*! @} */
41866 
41867 /*! @name MAC_MMC_IPC_RX_INTERRUPT_MASK - MMC IPC Receive Interrupt Mask */
41868 /*! @{ */
41869 
41870 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GPIM_MASK (0x1U)
41871 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GPIM_SHIFT (0U)
41872 /*! RXIPV4GPIM - MMC Receive IPV4 Good Packet Counter Interrupt Mask Setting this bit masks the
41873  *    interrupt when the rxipv4_gd_pkts counter reaches half of the maximum value or the maximum value.
41874  *  0b0..MMC Receive IPV4 Good Packet Counter Interrupt Mask is disabled
41875  *  0b1..MMC Receive IPV4 Good Packet Counter Interrupt Mask is enabled
41876  */
41877 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GPIM_MASK)
41878 
41879 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HERPIM_MASK (0x2U)
41880 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HERPIM_SHIFT (1U)
41881 /*! RXIPV4HERPIM - MMC Receive IPV4 Header Error Packet Counter Interrupt Mask Setting this bit
41882  *    masks the interrupt when the rxipv4_hdrerr_pkts counter reaches half of the maximum value or the
41883  *    maximum value.
41884  *  0b0..MMC Receive IPV4 Header Error Packet Counter Interrupt Mask is disabled
41885  *  0b1..MMC Receive IPV4 Header Error Packet Counter Interrupt Mask is enabled
41886  */
41887 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HERPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HERPIM_MASK)
41888 
41889 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYPIM_MASK (0x4U)
41890 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYPIM_SHIFT (2U)
41891 /*! RXIPV4NOPAYPIM - MMC Receive IPV4 No Payload Packet Counter Interrupt Mask Setting this bit
41892  *    masks the interrupt when the rxipv4_nopay_pkts counter reaches half of the maximum value or the
41893  *    maximum value.
41894  *  0b0..MMC Receive IPV4 No Payload Packet Counter Interrupt Mask is disabled
41895  *  0b1..MMC Receive IPV4 No Payload Packet Counter Interrupt Mask is enabled
41896  */
41897 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYPIM_MASK)
41898 
41899 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGPIM_MASK (0x8U)
41900 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGPIM_SHIFT (3U)
41901 /*! RXIPV4FRAGPIM - MMC Receive IPV4 Fragmented Packet Counter Interrupt Mask Setting this bit masks
41902  *    the interrupt when the rxipv4_frag_pkts counter reaches half of the maximum value or the
41903  *    maximum value.
41904  *  0b0..MMC Receive IPV4 Fragmented Packet Counter Interrupt Mask is disabled
41905  *  0b1..MMC Receive IPV4 Fragmented Packet Counter Interrupt Mask is enabled
41906  */
41907 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGPIM_MASK)
41908 
41909 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLPIM_MASK (0x10U)
41910 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLPIM_SHIFT (4U)
41911 /*! RXIPV4UDSBLPIM - MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Mask Setting
41912  *    this bit masks the interrupt when the rxipv4_udsbl_pkts counter reaches half of the maximum
41913  *    value or the maximum value.
41914  *  0b0..MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Mask is disabled
41915  *  0b1..MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Mask is enabled
41916  */
41917 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLPIM_MASK)
41918 
41919 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GPIM_MASK (0x20U)
41920 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GPIM_SHIFT (5U)
41921 /*! RXIPV6GPIM - MMC Receive IPV6 Good Packet Counter Interrupt Mask Setting this bit masks the
41922  *    interrupt when the rxipv6_gd_pkts counter reaches half of the maximum value or the maximum value.
41923  *  0b0..MMC Receive IPV6 Good Packet Counter Interrupt Mask is disabled
41924  *  0b1..MMC Receive IPV6 Good Packet Counter Interrupt Mask is enabled
41925  */
41926 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GPIM_MASK)
41927 
41928 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HERPIM_MASK (0x40U)
41929 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HERPIM_SHIFT (6U)
41930 /*! RXIPV6HERPIM - MMC Receive IPV6 Header Error Packet Counter Interrupt Mask Setting this bit
41931  *    masks the interrupt when the rxipv6_hdrerr_pkts counter reaches half of the maximum value or the
41932  *    maximum value.
41933  *  0b0..MMC Receive IPV6 Header Error Packet Counter Interrupt Mask is disabled
41934  *  0b1..MMC Receive IPV6 Header Error Packet Counter Interrupt Mask is enabled
41935  */
41936 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HERPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HERPIM_MASK)
41937 
41938 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYPIM_MASK (0x80U)
41939 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYPIM_SHIFT (7U)
41940 /*! RXIPV6NOPAYPIM - MMC Receive IPV6 No Payload Packet Counter Interrupt Mask Setting this bit
41941  *    masks the interrupt when the rxipv6_nopay_pkts counter reaches half of the maximum value or the
41942  *    maximum value.
41943  *  0b0..MMC Receive IPV6 No Payload Packet Counter Interrupt Mask is disabled
41944  *  0b1..MMC Receive IPV6 No Payload Packet Counter Interrupt Mask is enabled
41945  */
41946 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYPIM_MASK)
41947 
41948 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGPIM_MASK (0x100U)
41949 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGPIM_SHIFT (8U)
41950 /*! RXUDPGPIM - MMC Receive UDP Good Packet Counter Interrupt Mask Setting this bit masks the
41951  *    interrupt when the rxudp_gd_pkts counter reaches half of the maximum value or the maximum value.
41952  *  0b0..MMC Receive UDP Good Packet Counter Interrupt Mask is disabled
41953  *  0b1..MMC Receive UDP Good Packet Counter Interrupt Mask is enabled
41954  */
41955 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGPIM_MASK)
41956 
41957 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPERPIM_MASK (0x200U)
41958 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPERPIM_SHIFT (9U)
41959 /*! RXUDPERPIM - MMC Receive UDP Error Packet Counter Interrupt Mask Setting this bit masks the
41960  *    interrupt when the rxudp_err_pkts counter reaches half of the maximum value or the maximum value.
41961  *  0b0..MMC Receive UDP Error Packet Counter Interrupt Mask is disabled
41962  *  0b1..MMC Receive UDP Error Packet Counter Interrupt Mask is enabled
41963  */
41964 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPERPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPERPIM_MASK)
41965 
41966 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGPIM_MASK (0x400U)
41967 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGPIM_SHIFT (10U)
41968 /*! RXTCPGPIM - MMC Receive TCP Good Packet Counter Interrupt Mask Setting this bit masks the
41969  *    interrupt when the rxtcp_gd_pkts counter reaches half of the maximum value or the maximum value.
41970  *  0b0..MMC Receive TCP Good Packet Counter Interrupt Mask is disabled
41971  *  0b1..MMC Receive TCP Good Packet Counter Interrupt Mask is enabled
41972  */
41973 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGPIM_MASK)
41974 
41975 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPERPIM_MASK (0x800U)
41976 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPERPIM_SHIFT (11U)
41977 /*! RXTCPERPIM - MMC Receive TCP Error Packet Counter Interrupt Mask Setting this bit masks the
41978  *    interrupt when the rxtcp_err_pkts counter reaches half of the maximum value or the maximum value.
41979  *  0b0..MMC Receive TCP Error Packet Counter Interrupt Mask is disabled
41980  *  0b1..MMC Receive TCP Error Packet Counter Interrupt Mask is enabled
41981  */
41982 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPERPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPERPIM_MASK)
41983 
41984 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGPIM_MASK (0x1000U)
41985 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGPIM_SHIFT (12U)
41986 /*! RXICMPGPIM - MMC Receive ICMP Good Packet Counter Interrupt Mask Setting this bit masks the
41987  *    interrupt when the rxicmp_gd_pkts counter reaches half of the maximum value or the maximum value.
41988  *  0b0..MMC Receive ICMP Good Packet Counter Interrupt Mask is disabled
41989  *  0b1..MMC Receive ICMP Good Packet Counter Interrupt Mask is enabled
41990  */
41991 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGPIM_MASK)
41992 
41993 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPERPIM_MASK (0x2000U)
41994 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPERPIM_SHIFT (13U)
41995 /*! RXICMPERPIM - MMC Receive ICMP Error Packet Counter Interrupt Mask Setting this bit masks the
41996  *    interrupt when the rxicmp_err_pkts counter reaches half of the maximum value or the maximum
41997  *    value.
41998  *  0b0..MMC Receive ICMP Error Packet Counter Interrupt Mask is disabled
41999  *  0b1..MMC Receive ICMP Error Packet Counter Interrupt Mask is enabled
42000  */
42001 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPERPIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPERPIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPERPIM_MASK)
42002 
42003 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GOIM_MASK (0x10000U)
42004 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GOIM_SHIFT (16U)
42005 /*! RXIPV4GOIM - MMC Receive IPV4 Good Octet Counter Interrupt Mask Setting this bit masks the
42006  *    interrupt when the rxipv4_gd_octets counter reaches half of the maximum value or the maximum value.
42007  *  0b0..MMC Receive IPV4 Good Octet Counter Interrupt Mask is disabled
42008  *  0b1..MMC Receive IPV4 Good Octet Counter Interrupt Mask is enabled
42009  */
42010 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4GOIM_MASK)
42011 
42012 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HEROIM_MASK (0x20000U)
42013 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HEROIM_SHIFT (17U)
42014 /*! RXIPV4HEROIM - MMC Receive IPV4 Header Error Octet Counter Interrupt Mask Setting this bit masks
42015  *    the interrupt when the rxipv4_hdrerr_octets counter reaches half of the maximum value or the
42016  *    maximum value.
42017  *  0b0..MMC Receive IPV4 Header Error Octet Counter Interrupt Mask is disabled
42018  *  0b1..MMC Receive IPV4 Header Error Octet Counter Interrupt Mask is enabled
42019  */
42020 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HEROIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HEROIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4HEROIM_MASK)
42021 
42022 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYOIM_MASK (0x40000U)
42023 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYOIM_SHIFT (18U)
42024 /*! RXIPV4NOPAYOIM - MMC Receive IPV4 No Payload Octet Counter Interrupt Mask Setting this bit masks
42025  *    the interrupt when the rxipv4_nopay_octets counter reaches half of the maximum value or the
42026  *    maximum value.
42027  *  0b0..MMC Receive IPV4 No Payload Octet Counter Interrupt Mask is disabled
42028  *  0b1..MMC Receive IPV4 No Payload Octet Counter Interrupt Mask is enabled
42029  */
42030 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4NOPAYOIM_MASK)
42031 
42032 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGOIM_MASK (0x80000U)
42033 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGOIM_SHIFT (19U)
42034 /*! RXIPV4FRAGOIM - MMC Receive IPV4 Fragmented Octet Counter Interrupt Mask Setting this bit masks
42035  *    the interrupt when the rxipv4_frag_octets counter reaches half of the maximum value or the
42036  *    maximum value.
42037  *  0b0..MMC Receive IPV4 Fragmented Octet Counter Interrupt Mask is disabled
42038  *  0b1..MMC Receive IPV4 Fragmented Octet Counter Interrupt Mask is enabled
42039  */
42040 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4FRAGOIM_MASK)
42041 
42042 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLOIM_MASK (0x100000U)
42043 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLOIM_SHIFT (20U)
42044 /*! RXIPV4UDSBLOIM - MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Mask Setting
42045  *    this bit masks the interrupt when the rxipv4_udsbl_octets counter reaches half of the maximum
42046  *    value or the maximum value.
42047  *  0b0..MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Mask is disabled
42048  *  0b1..MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Mask is enabled
42049  */
42050 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV4UDSBLOIM_MASK)
42051 
42052 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GOIM_MASK (0x200000U)
42053 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GOIM_SHIFT (21U)
42054 /*! RXIPV6GOIM - MMC Receive IPV6 Good Octet Counter Interrupt Mask Setting this bit masks the
42055  *    interrupt when the rxipv6_gd_octets counter reaches half of the maximum value or the maximum value.
42056  *  0b0..MMC Receive IPV6 Good Octet Counter Interrupt Mask is disabled
42057  *  0b1..MMC Receive IPV6 Good Octet Counter Interrupt Mask is enabled
42058  */
42059 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6GOIM_MASK)
42060 
42061 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HEROIM_MASK (0x400000U)
42062 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HEROIM_SHIFT (22U)
42063 /*! RXIPV6HEROIM - MMC Receive IPV6 Good Octet Counter Interrupt Mask Setting this bit masks the
42064  *    interrupt when the rxipv6_hdrerr_octets counter reaches half of the maximum value or the maximum
42065  *    value.
42066  *  0b0..MMC Receive IPV6 Good Octet Counter Interrupt Mask is disabled
42067  *  0b1..MMC Receive IPV6 Good Octet Counter Interrupt Mask is enabled
42068  */
42069 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HEROIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HEROIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6HEROIM_MASK)
42070 
42071 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYOIM_MASK (0x800000U)
42072 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYOIM_SHIFT (23U)
42073 /*! RXIPV6NOPAYOIM - MMC Receive IPV6 Header Error Octet Counter Interrupt Mask Setting this bit
42074  *    masks the interrupt when the rxipv6_nopay_octets counter reaches half of the maximum value or the
42075  *    maximum value.
42076  *  0b0..MMC Receive IPV6 Header Error Octet Counter Interrupt Mask is disabled
42077  *  0b1..MMC Receive IPV6 Header Error Octet Counter Interrupt Mask is enabled
42078  */
42079 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXIPV6NOPAYOIM_MASK)
42080 
42081 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGOIM_MASK (0x1000000U)
42082 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGOIM_SHIFT (24U)
42083 /*! RXUDPGOIM - MMC Receive IPV6 No Payload Octet Counter Interrupt Mask Setting this bit masks the
42084  *    interrupt when the rxudp_gd_octets counter reaches half of the maximum value or the maximum
42085  *    value.
42086  *  0b0..MMC Receive IPV6 No Payload Octet Counter Interrupt Mask is disabled
42087  *  0b1..MMC Receive IPV6 No Payload Octet Counter Interrupt Mask is enabled
42088  */
42089 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPGOIM_MASK)
42090 
42091 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPEROIM_MASK (0x2000000U)
42092 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPEROIM_SHIFT (25U)
42093 /*! RXUDPEROIM - MMC Receive UDP Good Octet Counter Interrupt Mask Setting this bit masks the
42094  *    interrupt when the rxudp_err_octets counter reaches half of the maximum value or the maximum value.
42095  *  0b0..MMC Receive UDP Good Octet Counter Interrupt Mask is disabled
42096  *  0b1..MMC Receive UDP Good Octet Counter Interrupt Mask is enabled
42097  */
42098 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPEROIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPEROIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXUDPEROIM_MASK)
42099 
42100 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGOIM_MASK (0x4000000U)
42101 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGOIM_SHIFT (26U)
42102 /*! RXTCPGOIM - MMC Receive TCP Good Octet Counter Interrupt Mask Setting this bit masks the
42103  *    interrupt when the rxtcp_gd_octets counter reaches half of the maximum value or the maximum value.
42104  *  0b0..MMC Receive TCP Good Octet Counter Interrupt Mask is disabled
42105  *  0b1..MMC Receive TCP Good Octet Counter Interrupt Mask is enabled
42106  */
42107 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPGOIM_MASK)
42108 
42109 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPEROIM_MASK (0x8000000U)
42110 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPEROIM_SHIFT (27U)
42111 /*! RXTCPEROIM - MMC Receive TCP Error Octet Counter Interrupt Mask Setting this bit masks the
42112  *    interrupt when the rxtcp_err_octets counter reaches half of the maximum value or the maximum value.
42113  *  0b0..MMC Receive TCP Error Octet Counter Interrupt Mask is disabled
42114  *  0b1..MMC Receive TCP Error Octet Counter Interrupt Mask is enabled
42115  */
42116 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPEROIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPEROIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXTCPEROIM_MASK)
42117 
42118 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGOIM_MASK (0x10000000U)
42119 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGOIM_SHIFT (28U)
42120 /*! RXICMPGOIM - MMC Receive ICMP Good Octet Counter Interrupt Mask Setting this bit masks the
42121  *    interrupt when the rxicmp_gd_octets counter reaches half of the maximum value or the maximum value.
42122  *  0b0..MMC Receive ICMP Good Octet Counter Interrupt Mask is disabled
42123  *  0b1..MMC Receive ICMP Good Octet Counter Interrupt Mask is enabled
42124  */
42125 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGOIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGOIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPGOIM_MASK)
42126 
42127 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPEROIM_MASK (0x20000000U)
42128 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPEROIM_SHIFT (29U)
42129 /*! RXICMPEROIM - MMC Receive ICMP Error Octet Counter Interrupt Mask Setting this bit masks the
42130  *    interrupt when the rxicmp_err_octets counter reaches half of the maximum value or the maximum
42131  *    value.
42132  *  0b0..MMC Receive ICMP Error Octet Counter Interrupt Mask is disabled
42133  *  0b1..MMC Receive ICMP Error Octet Counter Interrupt Mask is enabled
42134  */
42135 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPEROIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPEROIM_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_MASK_RXICMPEROIM_MASK)
42136 /*! @} */
42137 
42138 /*! @name MAC_MMC_IPC_RX_INTERRUPT - MMC IPC Receive Interrupt */
42139 /*! @{ */
42140 
42141 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GPIS_MASK (0x1U)
42142 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GPIS_SHIFT (0U)
42143 /*! RXIPV4GPIS - MMC Receive IPV4 Good Packet Counter Interrupt Status This bit is set when the
42144  *    rxipv4_gd_pkts counter reaches half of the maximum value or the maximum value.
42145  *  0b1..MMC Receive IPV4 Good Packet Counter Interrupt Status detected
42146  *  0b0..MMC Receive IPV4 Good Packet Counter Interrupt Status not detected
42147  */
42148 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GPIS_MASK)
42149 
42150 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HERPIS_MASK (0x2U)
42151 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HERPIS_SHIFT (1U)
42152 /*! RXIPV4HERPIS - MMC Receive IPV4 Header Error Packet Counter Interrupt Status This bit is set
42153  *    when the rxipv4_hdrerr_pkts counter reaches half of the maximum value or the maximum value.
42154  *  0b1..MMC Receive IPV4 Header Error Packet Counter Interrupt Status detected
42155  *  0b0..MMC Receive IPV4 Header Error Packet Counter Interrupt Status not detected
42156  */
42157 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HERPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HERPIS_MASK)
42158 
42159 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYPIS_MASK (0x4U)
42160 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYPIS_SHIFT (2U)
42161 /*! RXIPV4NOPAYPIS - MMC Receive IPV4 No Payload Packet Counter Interrupt Status This bit is set
42162  *    when the rxipv4_nopay_pkts counter reaches half of the maximum value or the maximum value.
42163  *  0b1..MMC Receive IPV4 No Payload Packet Counter Interrupt Status detected
42164  *  0b0..MMC Receive IPV4 No Payload Packet Counter Interrupt Status not detected
42165  */
42166 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYPIS_MASK)
42167 
42168 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGPIS_MASK (0x8U)
42169 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGPIS_SHIFT (3U)
42170 /*! RXIPV4FRAGPIS - MMC Receive IPV4 Fragmented Packet Counter Interrupt Status This bit is set when
42171  *    the rxipv4_frag_pkts counter reaches half of the maximum value or the maximum value.
42172  *  0b1..MMC Receive IPV4 Fragmented Packet Counter Interrupt Status detected
42173  *  0b0..MMC Receive IPV4 Fragmented Packet Counter Interrupt Status not detected
42174  */
42175 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGPIS_MASK)
42176 
42177 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLPIS_MASK (0x10U)
42178 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLPIS_SHIFT (4U)
42179 /*! RXIPV4UDSBLPIS - MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Status This bit
42180  *    is set when the rxipv4_udsbl_pkts counter reaches half of the maximum value or the maximum
42181  *    value.
42182  *  0b1..MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Status detected
42183  *  0b0..MMC Receive IPV4 UDP Checksum Disabled Packet Counter Interrupt Status not detected
42184  */
42185 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLPIS_MASK)
42186 
42187 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GPIS_MASK (0x20U)
42188 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GPIS_SHIFT (5U)
42189 /*! RXIPV6GPIS - MMC Receive IPV6 Good Packet Counter Interrupt Status This bit is set when the
42190  *    rxipv6_gd_pkts counter reaches half of the maximum value or the maximum value.
42191  *  0b1..MMC Receive IPV6 Good Packet Counter Interrupt Status detected
42192  *  0b0..MMC Receive IPV6 Good Packet Counter Interrupt Status not detected
42193  */
42194 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GPIS_MASK)
42195 
42196 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HERPIS_MASK (0x40U)
42197 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HERPIS_SHIFT (6U)
42198 /*! RXIPV6HERPIS - MMC Receive IPV6 Header Error Packet Counter Interrupt Status This bit is set
42199  *    when the rxipv6_hdrerr_pkts counter reaches half of the maximum value or the maximum value.
42200  *  0b1..MMC Receive IPV6 Header Error Packet Counter Interrupt Status detected
42201  *  0b0..MMC Receive IPV6 Header Error Packet Counter Interrupt Status not detected
42202  */
42203 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HERPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HERPIS_MASK)
42204 
42205 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYPIS_MASK (0x80U)
42206 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYPIS_SHIFT (7U)
42207 /*! RXIPV6NOPAYPIS - MMC Receive IPV6 No Payload Packet Counter Interrupt Status This bit is set
42208  *    when the rxipv6_nopay_pkts counter reaches half of the maximum value or the maximum value.
42209  *  0b1..MMC Receive IPV6 No Payload Packet Counter Interrupt Status detected
42210  *  0b0..MMC Receive IPV6 No Payload Packet Counter Interrupt Status not detected
42211  */
42212 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYPIS_MASK)
42213 
42214 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGPIS_MASK (0x100U)
42215 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGPIS_SHIFT (8U)
42216 /*! RXUDPGPIS - MC Receive UDP Good Packet Counter Interrupt Status This bit is set when the
42217  *    rxudp_gd_pkts counter reaches half of the maximum value or the maximum value.
42218  *  0b1..MMC Receive UDP Good Packet Counter Interrupt Status detected
42219  *  0b0..MMC Receive UDP Good Packet Counter Interrupt Status not detected
42220  */
42221 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGPIS_MASK)
42222 
42223 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPERPIS_MASK (0x200U)
42224 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPERPIS_SHIFT (9U)
42225 /*! RXUDPERPIS - MMC Receive UDP Error Packet Counter Interrupt Status This bit is set when the
42226  *    rxudp_err_pkts counter reaches half of the maximum value or the maximum value.
42227  *  0b1..MMC Receive UDP Error Packet Counter Interrupt Status detected
42228  *  0b0..MMC Receive UDP Error Packet Counter Interrupt Status not detected
42229  */
42230 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPERPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPERPIS_MASK)
42231 
42232 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGPIS_MASK (0x400U)
42233 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGPIS_SHIFT (10U)
42234 /*! RXTCPGPIS - MMC Receive TCP Good Packet Counter Interrupt Status This bit is set when the
42235  *    rxtcp_gd_pkts counter reaches half of the maximum value or the maximum value.
42236  *  0b1..MMC Receive TCP Good Packet Counter Interrupt Status detected
42237  *  0b0..MMC Receive TCP Good Packet Counter Interrupt Status not detected
42238  */
42239 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGPIS_MASK)
42240 
42241 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPERPIS_MASK (0x800U)
42242 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPERPIS_SHIFT (11U)
42243 /*! RXTCPERPIS - MMC Receive TCP Error Packet Counter Interrupt Status This bit is set when the
42244  *    rxtcp_err_pkts counter reaches half of the maximum value or the maximum value.
42245  *  0b1..MMC Receive TCP Error Packet Counter Interrupt Status detected
42246  *  0b0..MMC Receive TCP Error Packet Counter Interrupt Status not detected
42247  */
42248 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPERPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPERPIS_MASK)
42249 
42250 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGPIS_MASK (0x1000U)
42251 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGPIS_SHIFT (12U)
42252 /*! RXICMPGPIS - MMC Receive ICMP Good Packet Counter Interrupt Status This bit is set when the
42253  *    rxicmp_gd_pkts counter reaches half of the maximum value or the maximum value.
42254  *  0b1..MMC Receive ICMP Good Packet Counter Interrupt Status detected
42255  *  0b0..MMC Receive ICMP Good Packet Counter Interrupt Status not detected
42256  */
42257 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGPIS_MASK)
42258 
42259 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPERPIS_MASK (0x2000U)
42260 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPERPIS_SHIFT (13U)
42261 /*! RXICMPERPIS - MMC Receive ICMP Error Packet Counter Interrupt Status This bit is set when the
42262  *    rxicmp_err_pkts counter reaches half of the maximum value or the maximum value.
42263  *  0b1..MMC Receive ICMP Error Packet Counter Interrupt Status detected
42264  *  0b0..MMC Receive ICMP Error Packet Counter Interrupt Status not detected
42265  */
42266 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPERPIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPERPIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPERPIS_MASK)
42267 
42268 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GOIS_MASK (0x10000U)
42269 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GOIS_SHIFT (16U)
42270 /*! RXIPV4GOIS - MMC Receive IPV4 Good Octet Counter Interrupt Status This bit is set when the
42271  *    rxipv4_gd_octets counter reaches half of the maximum value or the maximum value.
42272  *  0b1..MMC Receive IPV4 Good Octet Counter Interrupt Status detected
42273  *  0b0..MMC Receive IPV4 Good Octet Counter Interrupt Status not detected
42274  */
42275 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4GOIS_MASK)
42276 
42277 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HEROIS_MASK (0x20000U)
42278 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HEROIS_SHIFT (17U)
42279 /*! RXIPV4HEROIS - MMC Receive IPV4 Header Error Octet Counter Interrupt Status This bit is set when
42280  *    the rxipv4_hdrerr_octets counter reaches half of the maximum value or the maximum value.
42281  *  0b1..MMC Receive IPV4 Header Error Octet Counter Interrupt Status detected
42282  *  0b0..MMC Receive IPV4 Header Error Octet Counter Interrupt Status not detected
42283  */
42284 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HEROIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HEROIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4HEROIS_MASK)
42285 
42286 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYOIS_MASK (0x40000U)
42287 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYOIS_SHIFT (18U)
42288 /*! RXIPV4NOPAYOIS - MMC Receive IPV4 No Payload Octet Counter Interrupt Status This bit is set when
42289  *    the rxipv4_nopay_octets counter reaches half of the maximum value or the maximum value.
42290  *  0b1..MMC Receive IPV4 No Payload Octet Counter Interrupt Status detected
42291  *  0b0..MMC Receive IPV4 No Payload Octet Counter Interrupt Status not detected
42292  */
42293 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4NOPAYOIS_MASK)
42294 
42295 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGOIS_MASK (0x80000U)
42296 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGOIS_SHIFT (19U)
42297 /*! RXIPV4FRAGOIS - MMC Receive IPV4 Fragmented Octet Counter Interrupt Status This bit is set when
42298  *    the rxipv4_frag_octets counter reaches half of the maximum value or the maximum value.
42299  *  0b1..MMC Receive IPV4 Fragmented Octet Counter Interrupt Status detected
42300  *  0b0..MMC Receive IPV4 Fragmented Octet Counter Interrupt Status not detected
42301  */
42302 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4FRAGOIS_MASK)
42303 
42304 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLOIS_MASK (0x100000U)
42305 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLOIS_SHIFT (20U)
42306 /*! RXIPV4UDSBLOIS - MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Status This bit
42307  *    is set when the rxipv4_udsbl_octets counter reaches half of the maximum value or the maximum
42308  *    value.
42309  *  0b1..MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Status detected
42310  *  0b0..MMC Receive IPV4 UDP Checksum Disabled Octet Counter Interrupt Status not detected
42311  */
42312 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV4UDSBLOIS_MASK)
42313 
42314 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GOIS_MASK (0x200000U)
42315 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GOIS_SHIFT (21U)
42316 /*! RXIPV6GOIS - MMC Receive IPV6 Good Octet Counter Interrupt Status This bit is set when the
42317  *    rxipv6_gd_octets counter reaches half of the maximum value or the maximum value.
42318  *  0b1..MMC Receive IPV6 Good Octet Counter Interrupt Status detected
42319  *  0b0..MMC Receive IPV6 Good Octet Counter Interrupt Status not detected
42320  */
42321 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6GOIS_MASK)
42322 
42323 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HEROIS_MASK (0x400000U)
42324 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HEROIS_SHIFT (22U)
42325 /*! RXIPV6HEROIS - MMC Receive IPV6 Header Error Octet Counter Interrupt Status This bit is set when
42326  *    the rxipv6_hdrerr_octets counter reaches half of the maximum value or the maximum value.
42327  *  0b1..MMC Receive IPV6 Header Error Octet Counter Interrupt Status detected
42328  *  0b0..MMC Receive IPV6 Header Error Octet Counter Interrupt Status not detected
42329  */
42330 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HEROIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HEROIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6HEROIS_MASK)
42331 
42332 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYOIS_MASK (0x800000U)
42333 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYOIS_SHIFT (23U)
42334 /*! RXIPV6NOPAYOIS - MMC Receive IPV6 No Payload Octet Counter Interrupt Status This bit is set when
42335  *    the rxipv6_nopay_octets counter reaches half of the maximum value or the maximum value.
42336  *  0b1..MMC Receive IPV6 No Payload Octet Counter Interrupt Status detected
42337  *  0b0..MMC Receive IPV6 No Payload Octet Counter Interrupt Status not detected
42338  */
42339 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXIPV6NOPAYOIS_MASK)
42340 
42341 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGOIS_MASK (0x1000000U)
42342 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGOIS_SHIFT (24U)
42343 /*! RXUDPGOIS - MMC Receive UDP Good Octet Counter Interrupt Status This bit is set when the
42344  *    rxudp_gd_octets counter reaches half of the maximum value or the maximum value.
42345  *  0b1..MMC Receive UDP Good Octet Counter Interrupt Status detected
42346  *  0b0..MMC Receive UDP Good Octet Counter Interrupt Status not detected
42347  */
42348 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPGOIS_MASK)
42349 
42350 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPEROIS_MASK (0x2000000U)
42351 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPEROIS_SHIFT (25U)
42352 /*! RXUDPEROIS - MMC Receive UDP Error Octet Counter Interrupt Status This bit is set when the
42353  *    rxudp_err_octets counter reaches half of the maximum value or the maximum value.
42354  *  0b1..MMC Receive UDP Error Octet Counter Interrupt Status detected
42355  *  0b0..MMC Receive UDP Error Octet Counter Interrupt Status not detected
42356  */
42357 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPEROIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPEROIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXUDPEROIS_MASK)
42358 
42359 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGOIS_MASK (0x4000000U)
42360 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGOIS_SHIFT (26U)
42361 /*! RXTCPGOIS - MMC Receive TCP Good Octet Counter Interrupt Status This bit is set when the
42362  *    rxtcp_gd_octets counter reaches half of the maximum value or the maximum value.
42363  *  0b1..MMC Receive TCP Good Octet Counter Interrupt Status detected
42364  *  0b0..MMC Receive TCP Good Octet Counter Interrupt Status not detected
42365  */
42366 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPGOIS_MASK)
42367 
42368 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPEROIS_MASK (0x8000000U)
42369 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPEROIS_SHIFT (27U)
42370 /*! RXTCPEROIS - MMC Receive TCP Error Octet Counter Interrupt Status This bit is set when the
42371  *    rxtcp_err_octets counter reaches half of the maximum value or the maximum value.
42372  *  0b1..MMC Receive TCP Error Octet Counter Interrupt Status detected
42373  *  0b0..MMC Receive TCP Error Octet Counter Interrupt Status not detected
42374  */
42375 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPEROIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPEROIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXTCPEROIS_MASK)
42376 
42377 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGOIS_MASK (0x10000000U)
42378 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGOIS_SHIFT (28U)
42379 /*! RXICMPGOIS - MMC Receive ICMP Good Octet Counter Interrupt Status This bit is set when the
42380  *    rxicmp_gd_octets counter reaches half of the maximum value or the maximum value.
42381  *  0b1..MMC Receive ICMP Good Octet Counter Interrupt Status detected
42382  *  0b0..MMC Receive ICMP Good Octet Counter Interrupt Status not detected
42383  */
42384 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGOIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGOIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPGOIS_MASK)
42385 
42386 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPEROIS_MASK (0x20000000U)
42387 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPEROIS_SHIFT (29U)
42388 /*! RXICMPEROIS - MMC Receive ICMP Error Octet Counter Interrupt Status This bit is set when the
42389  *    rxicmp_err_octets counter reaches half of the maximum value or the maximum value.
42390  *  0b1..MMC Receive ICMP Error Octet Counter Interrupt Status detected
42391  *  0b0..MMC Receive ICMP Error Octet Counter Interrupt Status not detected
42392  */
42393 #define ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPEROIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPEROIS_SHIFT)) & ENET_QOS_MAC_MMC_IPC_RX_INTERRUPT_RXICMPEROIS_MASK)
42394 /*! @} */
42395 
42396 /*! @name MAC_RXIPV4_GOOD_PACKETS - Good IPv4 Datagrams Received */
42397 /*! @{ */
42398 
42399 #define ENET_QOS_MAC_RXIPV4_GOOD_PACKETS_RXIPV4GDPKT_MASK (0xFFFFFFFFU)
42400 #define ENET_QOS_MAC_RXIPV4_GOOD_PACKETS_RXIPV4GDPKT_SHIFT (0U)
42401 /*! RXIPV4GDPKT - RxIPv4 Good Packets This field indicates the number of good IPv4 datagrams received with the TCP, UDP, or ICMP payload.
42402  */
42403 #define ENET_QOS_MAC_RXIPV4_GOOD_PACKETS_RXIPV4GDPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_GOOD_PACKETS_RXIPV4GDPKT_SHIFT)) & ENET_QOS_MAC_RXIPV4_GOOD_PACKETS_RXIPV4GDPKT_MASK)
42404 /*! @} */
42405 
42406 /*! @name MAC_RXIPV4_HEADER_ERROR_PACKETS - IPv4 Datagrams Received with Header Errors */
42407 /*! @{ */
42408 
42409 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_PACKETS_RXIPV4HDRERRPKT_MASK (0xFFFFFFFFU)
42410 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_PACKETS_RXIPV4HDRERRPKT_SHIFT (0U)
42411 /*! RXIPV4HDRERRPKT - RxIPv4 Header Error Packets This field indicates the number of IPv4 datagrams
42412  *    received with header (checksum, length, or version mismatch) errors.
42413  */
42414 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_PACKETS_RXIPV4HDRERRPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_HEADER_ERROR_PACKETS_RXIPV4HDRERRPKT_SHIFT)) & ENET_QOS_MAC_RXIPV4_HEADER_ERROR_PACKETS_RXIPV4HDRERRPKT_MASK)
42415 /*! @} */
42416 
42417 /*! @name MAC_RXIPV4_NO_PAYLOAD_PACKETS - IPv4 Datagrams Received with No Payload */
42418 /*! @{ */
42419 
42420 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_PACKETS_RXIPV4NOPAYPKT_MASK (0xFFFFFFFFU)
42421 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_PACKETS_RXIPV4NOPAYPKT_SHIFT (0U)
42422 /*! RXIPV4NOPAYPKT - RxIPv4 Payload Packets This field indicates the number of IPv4 datagram packets
42423  *    received that did not have a TCP, UDP, or ICMP payload.
42424  */
42425 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_PACKETS_RXIPV4NOPAYPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_PACKETS_RXIPV4NOPAYPKT_SHIFT)) & ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_PACKETS_RXIPV4NOPAYPKT_MASK)
42426 /*! @} */
42427 
42428 /*! @name MAC_RXIPV4_FRAGMENTED_PACKETS - IPv4 Datagrams Received with Fragmentation */
42429 /*! @{ */
42430 
42431 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_PACKETS_RXIPV4FRAGPKT_MASK (0xFFFFFFFFU)
42432 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_PACKETS_RXIPV4FRAGPKT_SHIFT (0U)
42433 /*! RXIPV4FRAGPKT - RxIPv4 Fragmented Packets This field indicates the number of good IPv4 datagrams received with fragmentation.
42434  */
42435 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_PACKETS_RXIPV4FRAGPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_FRAGMENTED_PACKETS_RXIPV4FRAGPKT_SHIFT)) & ENET_QOS_MAC_RXIPV4_FRAGMENTED_PACKETS_RXIPV4FRAGPKT_MASK)
42436 /*! @} */
42437 
42438 /*! @name MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS - IPv4 Datagrams Received with UDP Checksum Disabled */
42439 /*! @{ */
42440 
42441 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS_RXIPV4UDSBLPKT_MASK (0xFFFFFFFFU)
42442 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS_RXIPV4UDSBLPKT_SHIFT (0U)
42443 /*! RXIPV4UDSBLPKT - RxIPv4 UDP Checksum Disabled Packets This field indicates the number of good
42444  *    IPv4 datagrams received that had a UDP payload with checksum disabled.
42445  */
42446 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS_RXIPV4UDSBLPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS_RXIPV4UDSBLPKT_SHIFT)) & ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLED_PACKETS_RXIPV4UDSBLPKT_MASK)
42447 /*! @} */
42448 
42449 /*! @name MAC_RXIPV6_GOOD_PACKETS - Good IPv6 Datagrams Received */
42450 /*! @{ */
42451 
42452 #define ENET_QOS_MAC_RXIPV6_GOOD_PACKETS_RXIPV6GDPKT_MASK (0xFFFFFFFFU)
42453 #define ENET_QOS_MAC_RXIPV6_GOOD_PACKETS_RXIPV6GDPKT_SHIFT (0U)
42454 /*! RXIPV6GDPKT - RxIPv6 Good Packets This field indicates the number of good IPv6 datagrams received with the TCP, UDP, or ICMP payload.
42455  */
42456 #define ENET_QOS_MAC_RXIPV6_GOOD_PACKETS_RXIPV6GDPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_GOOD_PACKETS_RXIPV6GDPKT_SHIFT)) & ENET_QOS_MAC_RXIPV6_GOOD_PACKETS_RXIPV6GDPKT_MASK)
42457 /*! @} */
42458 
42459 /*! @name MAC_RXIPV6_HEADER_ERROR_PACKETS - IPv6 Datagrams Received with Header Errors */
42460 /*! @{ */
42461 
42462 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_PACKETS_RXIPV6HDRERRPKT_MASK (0xFFFFFFFFU)
42463 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_PACKETS_RXIPV6HDRERRPKT_SHIFT (0U)
42464 /*! RXIPV6HDRERRPKT - RxIPv6 Header Error Packets This field indicates the number of IPv6 datagrams
42465  *    received with header (length or version mismatch) errors.
42466  */
42467 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_PACKETS_RXIPV6HDRERRPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_HEADER_ERROR_PACKETS_RXIPV6HDRERRPKT_SHIFT)) & ENET_QOS_MAC_RXIPV6_HEADER_ERROR_PACKETS_RXIPV6HDRERRPKT_MASK)
42468 /*! @} */
42469 
42470 /*! @name MAC_RXIPV6_NO_PAYLOAD_PACKETS - IPv6 Datagrams Received with No Payload */
42471 /*! @{ */
42472 
42473 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_PACKETS_RXIPV6NOPAYPKT_MASK (0xFFFFFFFFU)
42474 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_PACKETS_RXIPV6NOPAYPKT_SHIFT (0U)
42475 /*! RXIPV6NOPAYPKT - RxIPv6 Payload Packets This field indicates the number of IPv6 datagram packets
42476  *    received that did not have a TCP, UDP, or ICMP payload.
42477  */
42478 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_PACKETS_RXIPV6NOPAYPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_PACKETS_RXIPV6NOPAYPKT_SHIFT)) & ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_PACKETS_RXIPV6NOPAYPKT_MASK)
42479 /*! @} */
42480 
42481 /*! @name MAC_RXUDP_GOOD_PACKETS - IPv6 Datagrams Received with Good UDP */
42482 /*! @{ */
42483 
42484 #define ENET_QOS_MAC_RXUDP_GOOD_PACKETS_RXUDPGDPKT_MASK (0xFFFFFFFFU)
42485 #define ENET_QOS_MAC_RXUDP_GOOD_PACKETS_RXUDPGDPKT_SHIFT (0U)
42486 /*! RXUDPGDPKT - RxUDP Good Packets This field indicates the number of good IP datagrams received with a good UDP payload.
42487  */
42488 #define ENET_QOS_MAC_RXUDP_GOOD_PACKETS_RXUDPGDPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXUDP_GOOD_PACKETS_RXUDPGDPKT_SHIFT)) & ENET_QOS_MAC_RXUDP_GOOD_PACKETS_RXUDPGDPKT_MASK)
42489 /*! @} */
42490 
42491 /*! @name MAC_RXUDP_ERROR_PACKETS - IPv6 Datagrams Received with UDP Checksum Error */
42492 /*! @{ */
42493 
42494 #define ENET_QOS_MAC_RXUDP_ERROR_PACKETS_RXUDPERRPKT_MASK (0xFFFFFFFFU)
42495 #define ENET_QOS_MAC_RXUDP_ERROR_PACKETS_RXUDPERRPKT_SHIFT (0U)
42496 /*! RXUDPERRPKT - RxUDP Error Packets This field indicates the number of good IP datagrams received
42497  *    whose UDP payload has a checksum error.
42498  */
42499 #define ENET_QOS_MAC_RXUDP_ERROR_PACKETS_RXUDPERRPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXUDP_ERROR_PACKETS_RXUDPERRPKT_SHIFT)) & ENET_QOS_MAC_RXUDP_ERROR_PACKETS_RXUDPERRPKT_MASK)
42500 /*! @} */
42501 
42502 /*! @name MAC_RXTCP_GOOD_PACKETS - IPv6 Datagrams Received with Good TCP Payload */
42503 /*! @{ */
42504 
42505 #define ENET_QOS_MAC_RXTCP_GOOD_PACKETS_RXTCPGDPKT_MASK (0xFFFFFFFFU)
42506 #define ENET_QOS_MAC_RXTCP_GOOD_PACKETS_RXTCPGDPKT_SHIFT (0U)
42507 /*! RXTCPGDPKT - RxTCP Good Packets This field indicates the number of good IP datagrams received with a good TCP payload.
42508  */
42509 #define ENET_QOS_MAC_RXTCP_GOOD_PACKETS_RXTCPGDPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXTCP_GOOD_PACKETS_RXTCPGDPKT_SHIFT)) & ENET_QOS_MAC_RXTCP_GOOD_PACKETS_RXTCPGDPKT_MASK)
42510 /*! @} */
42511 
42512 /*! @name MAC_RXTCP_ERROR_PACKETS - IPv6 Datagrams Received with TCP Checksum Error */
42513 /*! @{ */
42514 
42515 #define ENET_QOS_MAC_RXTCP_ERROR_PACKETS_RXTCPERRPKT_MASK (0xFFFFFFFFU)
42516 #define ENET_QOS_MAC_RXTCP_ERROR_PACKETS_RXTCPERRPKT_SHIFT (0U)
42517 /*! RXTCPERRPKT - RxTCP Error Packets This field indicates the number of good IP datagrams received
42518  *    whose TCP payload has a checksum error.
42519  */
42520 #define ENET_QOS_MAC_RXTCP_ERROR_PACKETS_RXTCPERRPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXTCP_ERROR_PACKETS_RXTCPERRPKT_SHIFT)) & ENET_QOS_MAC_RXTCP_ERROR_PACKETS_RXTCPERRPKT_MASK)
42521 /*! @} */
42522 
42523 /*! @name MAC_RXICMP_GOOD_PACKETS - IPv6 Datagrams Received with Good ICMP Payload */
42524 /*! @{ */
42525 
42526 #define ENET_QOS_MAC_RXICMP_GOOD_PACKETS_RXICMPGDPKT_MASK (0xFFFFFFFFU)
42527 #define ENET_QOS_MAC_RXICMP_GOOD_PACKETS_RXICMPGDPKT_SHIFT (0U)
42528 /*! RXICMPGDPKT - RxICMP Good Packets This field indicates the number of good IP datagrams received with a good ICMP payload.
42529  */
42530 #define ENET_QOS_MAC_RXICMP_GOOD_PACKETS_RXICMPGDPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXICMP_GOOD_PACKETS_RXICMPGDPKT_SHIFT)) & ENET_QOS_MAC_RXICMP_GOOD_PACKETS_RXICMPGDPKT_MASK)
42531 /*! @} */
42532 
42533 /*! @name MAC_RXICMP_ERROR_PACKETS - IPv6 Datagrams Received with ICMP Checksum Error */
42534 /*! @{ */
42535 
42536 #define ENET_QOS_MAC_RXICMP_ERROR_PACKETS_RXICMPERRPKT_MASK (0xFFFFFFFFU)
42537 #define ENET_QOS_MAC_RXICMP_ERROR_PACKETS_RXICMPERRPKT_SHIFT (0U)
42538 /*! RXICMPERRPKT - RxICMP Error Packets This field indicates the number of good IP datagrams
42539  *    received whose ICMP payload has a checksum error.
42540  */
42541 #define ENET_QOS_MAC_RXICMP_ERROR_PACKETS_RXICMPERRPKT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXICMP_ERROR_PACKETS_RXICMPERRPKT_SHIFT)) & ENET_QOS_MAC_RXICMP_ERROR_PACKETS_RXICMPERRPKT_MASK)
42542 /*! @} */
42543 
42544 /*! @name MAC_RXIPV4_GOOD_OCTETS - Good Bytes Received in IPv4 Datagrams */
42545 /*! @{ */
42546 
42547 #define ENET_QOS_MAC_RXIPV4_GOOD_OCTETS_RXIPV4GDOCT_MASK (0xFFFFFFFFU)
42548 #define ENET_QOS_MAC_RXIPV4_GOOD_OCTETS_RXIPV4GDOCT_SHIFT (0U)
42549 /*! RXIPV4GDOCT - RxIPv4 Good Octets This field indicates the number of bytes received in good IPv4
42550  *    datagrams encapsulating TCP, UDP, or ICMP data.
42551  */
42552 #define ENET_QOS_MAC_RXIPV4_GOOD_OCTETS_RXIPV4GDOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_GOOD_OCTETS_RXIPV4GDOCT_SHIFT)) & ENET_QOS_MAC_RXIPV4_GOOD_OCTETS_RXIPV4GDOCT_MASK)
42553 /*! @} */
42554 
42555 /*! @name MAC_RXIPV4_HEADER_ERROR_OCTETS - Bytes Received in IPv4 Datagrams with Header Errors */
42556 /*! @{ */
42557 
42558 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_OCTETS_RXIPV4HDRERROCT_MASK (0xFFFFFFFFU)
42559 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_OCTETS_RXIPV4HDRERROCT_SHIFT (0U)
42560 /*! RXIPV4HDRERROCT - RxIPv4 Header Error Octets This field indicates the number of bytes received
42561  *    in IPv4 datagrams with header errors (checksum, length, version mismatch).
42562  */
42563 #define ENET_QOS_MAC_RXIPV4_HEADER_ERROR_OCTETS_RXIPV4HDRERROCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_HEADER_ERROR_OCTETS_RXIPV4HDRERROCT_SHIFT)) & ENET_QOS_MAC_RXIPV4_HEADER_ERROR_OCTETS_RXIPV4HDRERROCT_MASK)
42564 /*! @} */
42565 
42566 /*! @name MAC_RXIPV4_NO_PAYLOAD_OCTETS - Bytes Received in IPv4 Datagrams with No Payload */
42567 /*! @{ */
42568 
42569 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_OCTETS_RXIPV4NOPAYOCT_MASK (0xFFFFFFFFU)
42570 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_OCTETS_RXIPV4NOPAYOCT_SHIFT (0U)
42571 /*! RXIPV4NOPAYOCT - RxIPv4 Payload Octets This field indicates the number of bytes received in IPv4
42572  *    datagrams that did not have a TCP, UDP, or ICMP payload.
42573  */
42574 #define ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_OCTETS_RXIPV4NOPAYOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_OCTETS_RXIPV4NOPAYOCT_SHIFT)) & ENET_QOS_MAC_RXIPV4_NO_PAYLOAD_OCTETS_RXIPV4NOPAYOCT_MASK)
42575 /*! @} */
42576 
42577 /*! @name MAC_RXIPV4_FRAGMENTED_OCTETS - Bytes Received in Fragmented IPv4 Datagrams */
42578 /*! @{ */
42579 
42580 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_OCTETS_RXIPV4FRAGOCT_MASK (0xFFFFFFFFU)
42581 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_OCTETS_RXIPV4FRAGOCT_SHIFT (0U)
42582 /*! RXIPV4FRAGOCT - RxIPv4 Fragmented Octets This field indicates the number of bytes received in fragmented IPv4 datagrams.
42583  */
42584 #define ENET_QOS_MAC_RXIPV4_FRAGMENTED_OCTETS_RXIPV4FRAGOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_FRAGMENTED_OCTETS_RXIPV4FRAGOCT_SHIFT)) & ENET_QOS_MAC_RXIPV4_FRAGMENTED_OCTETS_RXIPV4FRAGOCT_MASK)
42585 /*! @} */
42586 
42587 /*! @name MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS - Bytes Received with UDP Checksum Disabled */
42588 /*! @{ */
42589 
42590 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS_RXIPV4UDSBLOCT_MASK (0xFFFFFFFFU)
42591 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS_RXIPV4UDSBLOCT_SHIFT (0U)
42592 /*! RXIPV4UDSBLOCT - RxIPv4 UDP Checksum Disable Octets This field indicates the number of bytes
42593  *    received in a UDP segment that had the UDP checksum disabled.
42594  */
42595 #define ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS_RXIPV4UDSBLOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS_RXIPV4UDSBLOCT_SHIFT)) & ENET_QOS_MAC_RXIPV4_UDP_CHECKSUM_DISABLE_OCTETS_RXIPV4UDSBLOCT_MASK)
42596 /*! @} */
42597 
42598 /*! @name MAC_RXIPV6_GOOD_OCTETS - Bytes Received in Good IPv6 Datagrams */
42599 /*! @{ */
42600 
42601 #define ENET_QOS_MAC_RXIPV6_GOOD_OCTETS_RXIPV6GDOCT_MASK (0xFFFFFFFFU)
42602 #define ENET_QOS_MAC_RXIPV6_GOOD_OCTETS_RXIPV6GDOCT_SHIFT (0U)
42603 /*! RXIPV6GDOCT - RxIPv6 Good Octets This field indicates the number of bytes received in good IPv6
42604  *    datagrams encapsulating TCP, UDP, or ICMP data.
42605  */
42606 #define ENET_QOS_MAC_RXIPV6_GOOD_OCTETS_RXIPV6GDOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_GOOD_OCTETS_RXIPV6GDOCT_SHIFT)) & ENET_QOS_MAC_RXIPV6_GOOD_OCTETS_RXIPV6GDOCT_MASK)
42607 /*! @} */
42608 
42609 /*! @name MAC_RXIPV6_HEADER_ERROR_OCTETS - Bytes Received in IPv6 Datagrams with Data Errors */
42610 /*! @{ */
42611 
42612 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_OCTETS_RXIPV6HDRERROCT_MASK (0xFFFFFFFFU)
42613 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_OCTETS_RXIPV6HDRERROCT_SHIFT (0U)
42614 /*! RXIPV6HDRERROCT - RxIPv6 Header Error Octets This field indicates the number of bytes received
42615  *    in IPv6 datagrams with header errors (length, version mismatch).
42616  */
42617 #define ENET_QOS_MAC_RXIPV6_HEADER_ERROR_OCTETS_RXIPV6HDRERROCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_HEADER_ERROR_OCTETS_RXIPV6HDRERROCT_SHIFT)) & ENET_QOS_MAC_RXIPV6_HEADER_ERROR_OCTETS_RXIPV6HDRERROCT_MASK)
42618 /*! @} */
42619 
42620 /*! @name MAC_RXIPV6_NO_PAYLOAD_OCTETS - Bytes Received in IPv6 Datagrams with No Payload */
42621 /*! @{ */
42622 
42623 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_OCTETS_RXIPV6NOPAYOCT_MASK (0xFFFFFFFFU)
42624 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_OCTETS_RXIPV6NOPAYOCT_SHIFT (0U)
42625 /*! RXIPV6NOPAYOCT - RxIPv6 Payload Octets This field indicates the number of bytes received in IPv6
42626  *    datagrams that did not have a TCP, UDP, or ICMP payload.
42627  */
42628 #define ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_OCTETS_RXIPV6NOPAYOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_OCTETS_RXIPV6NOPAYOCT_SHIFT)) & ENET_QOS_MAC_RXIPV6_NO_PAYLOAD_OCTETS_RXIPV6NOPAYOCT_MASK)
42629 /*! @} */
42630 
42631 /*! @name MAC_RXUDP_GOOD_OCTETS - Bytes Received in Good UDP Segment */
42632 /*! @{ */
42633 
42634 #define ENET_QOS_MAC_RXUDP_GOOD_OCTETS_RXUDPGDOCT_MASK (0xFFFFFFFFU)
42635 #define ENET_QOS_MAC_RXUDP_GOOD_OCTETS_RXUDPGDOCT_SHIFT (0U)
42636 /*! RXUDPGDOCT - RxUDP Good Octets This field indicates the number of bytes received in a good UDP segment.
42637  */
42638 #define ENET_QOS_MAC_RXUDP_GOOD_OCTETS_RXUDPGDOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXUDP_GOOD_OCTETS_RXUDPGDOCT_SHIFT)) & ENET_QOS_MAC_RXUDP_GOOD_OCTETS_RXUDPGDOCT_MASK)
42639 /*! @} */
42640 
42641 /*! @name MAC_RXUDP_ERROR_OCTETS - Bytes Received in UDP Segment with Checksum Errors */
42642 /*! @{ */
42643 
42644 #define ENET_QOS_MAC_RXUDP_ERROR_OCTETS_RXUDPERROCT_MASK (0xFFFFFFFFU)
42645 #define ENET_QOS_MAC_RXUDP_ERROR_OCTETS_RXUDPERROCT_SHIFT (0U)
42646 /*! RXUDPERROCT - RxUDP Error Octets This field indicates the number of bytes received in a UDP segment that had checksum errors.
42647  */
42648 #define ENET_QOS_MAC_RXUDP_ERROR_OCTETS_RXUDPERROCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXUDP_ERROR_OCTETS_RXUDPERROCT_SHIFT)) & ENET_QOS_MAC_RXUDP_ERROR_OCTETS_RXUDPERROCT_MASK)
42649 /*! @} */
42650 
42651 /*! @name MAC_RXTCP_GOOD_OCTETS - Bytes Received in Good TCP Segment */
42652 /*! @{ */
42653 
42654 #define ENET_QOS_MAC_RXTCP_GOOD_OCTETS_RXTCPGDOCT_MASK (0xFFFFFFFFU)
42655 #define ENET_QOS_MAC_RXTCP_GOOD_OCTETS_RXTCPGDOCT_SHIFT (0U)
42656 /*! RXTCPGDOCT - RxTCP Good Octets This field indicates the number of bytes received in a good TCP segment.
42657  */
42658 #define ENET_QOS_MAC_RXTCP_GOOD_OCTETS_RXTCPGDOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXTCP_GOOD_OCTETS_RXTCPGDOCT_SHIFT)) & ENET_QOS_MAC_RXTCP_GOOD_OCTETS_RXTCPGDOCT_MASK)
42659 /*! @} */
42660 
42661 /*! @name MAC_RXTCP_ERROR_OCTETS - Bytes Received in TCP Segment with Checksum Errors */
42662 /*! @{ */
42663 
42664 #define ENET_QOS_MAC_RXTCP_ERROR_OCTETS_RXTCPERROCT_MASK (0xFFFFFFFFU)
42665 #define ENET_QOS_MAC_RXTCP_ERROR_OCTETS_RXTCPERROCT_SHIFT (0U)
42666 /*! RXTCPERROCT - RxTCP Error Octets This field indicates the number of bytes received in a TCP segment that had checksum errors.
42667  */
42668 #define ENET_QOS_MAC_RXTCP_ERROR_OCTETS_RXTCPERROCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXTCP_ERROR_OCTETS_RXTCPERROCT_SHIFT)) & ENET_QOS_MAC_RXTCP_ERROR_OCTETS_RXTCPERROCT_MASK)
42669 /*! @} */
42670 
42671 /*! @name MAC_RXICMP_GOOD_OCTETS - Bytes Received in Good ICMP Segment */
42672 /*! @{ */
42673 
42674 #define ENET_QOS_MAC_RXICMP_GOOD_OCTETS_RXICMPGDOCT_MASK (0xFFFFFFFFU)
42675 #define ENET_QOS_MAC_RXICMP_GOOD_OCTETS_RXICMPGDOCT_SHIFT (0U)
42676 /*! RXICMPGDOCT - RxICMP Good Octets This field indicates the number of bytes received in a good ICMP segment.
42677  */
42678 #define ENET_QOS_MAC_RXICMP_GOOD_OCTETS_RXICMPGDOCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXICMP_GOOD_OCTETS_RXICMPGDOCT_SHIFT)) & ENET_QOS_MAC_RXICMP_GOOD_OCTETS_RXICMPGDOCT_MASK)
42679 /*! @} */
42680 
42681 /*! @name MAC_RXICMP_ERROR_OCTETS - Bytes Received in ICMP Segment with Checksum Errors */
42682 /*! @{ */
42683 
42684 #define ENET_QOS_MAC_RXICMP_ERROR_OCTETS_RXICMPERROCT_MASK (0xFFFFFFFFU)
42685 #define ENET_QOS_MAC_RXICMP_ERROR_OCTETS_RXICMPERROCT_SHIFT (0U)
42686 /*! RXICMPERROCT - RxICMP Error Octets This field indicates the number of bytes received in a ICMP segment that had checksum errors.
42687  */
42688 #define ENET_QOS_MAC_RXICMP_ERROR_OCTETS_RXICMPERROCT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_RXICMP_ERROR_OCTETS_RXICMPERROCT_SHIFT)) & ENET_QOS_MAC_RXICMP_ERROR_OCTETS_RXICMPERROCT_MASK)
42689 /*! @} */
42690 
42691 /*! @name MAC_MMC_FPE_TX_INTERRUPT - MMC FPE Transmit Interrupt */
42692 /*! @{ */
42693 
42694 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_FCIS_MASK (0x1U)
42695 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_FCIS_SHIFT (0U)
42696 /*! FCIS - MMC Tx FPE Fragment Counter Interrupt status This bit is set when the
42697  *    Tx_FPE_Fragment_Cntr counter reaches half of the maximum value or the maximum value.
42698  *  0b1..MMC Tx FPE Fragment Counter Interrupt status detected
42699  *  0b0..MMC Tx FPE Fragment Counter Interrupt status not detected
42700  */
42701 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_FCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_FCIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_FCIS_MASK)
42702 
42703 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_HRCIS_MASK (0x2U)
42704 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_HRCIS_SHIFT (1U)
42705 /*! HRCIS - MMC Tx Hold Request Counter Interrupt Status This bit is set when the Tx_Hold_Req_Cntr
42706  *    counter reaches half of the maximum value or the maximum value.
42707  *  0b1..MMC Tx Hold Request Counter Interrupt Status detected
42708  *  0b0..MMC Tx Hold Request Counter Interrupt Status not detected
42709  */
42710 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_HRCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_HRCIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_HRCIS_MASK)
42711 /*! @} */
42712 
42713 /*! @name MAC_MMC_FPE_TX_INTERRUPT_MASK - MMC FPE Transmit Mask Interrupt */
42714 /*! @{ */
42715 
42716 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_FCIM_MASK (0x1U)
42717 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_FCIM_SHIFT (0U)
42718 /*! FCIM - MMC Transmit Fragment Counter Interrupt Mask Setting this bit masks the interrupt when
42719  *    the Tx_FPE_Fragment_Cntr counter reaches half of the maximum value or the maximum value.
42720  *  0b0..MMC Transmit Fragment Counter Interrupt Mask is disabled
42721  *  0b1..MMC Transmit Fragment Counter Interrupt Mask is enabled
42722  */
42723 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_FCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_FCIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_FCIM_MASK)
42724 
42725 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_HRCIM_MASK (0x2U)
42726 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_HRCIM_SHIFT (1U)
42727 /*! HRCIM - MMC Transmit Hold Request Counter Interrupt Mask Setting this bit masks the interrupt
42728  *    when the Tx_Hold_Req_Cntr counter reaches half of the maximum value or the maximum value.
42729  *  0b0..MMC Transmit Hold Request Counter Interrupt Mask is disabled
42730  *  0b1..MMC Transmit Hold Request Counter Interrupt Mask is enabled
42731  */
42732 #define ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_HRCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_HRCIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_TX_INTERRUPT_MASK_HRCIM_MASK)
42733 /*! @} */
42734 
42735 /*! @name MAC_MMC_TX_FPE_FRAGMENT_CNTR - MMC FPE Transmitted Fragment Counter */
42736 /*! @{ */
42737 
42738 #define ENET_QOS_MAC_MMC_TX_FPE_FRAGMENT_CNTR_TXFFC_MASK (0xFFFFFFFFU)
42739 #define ENET_QOS_MAC_MMC_TX_FPE_FRAGMENT_CNTR_TXFFC_SHIFT (0U)
42740 /*! TXFFC - Tx FPE Fragment counter This field indicates the number of additional mPackets that has
42741  *    been transmitted due to preemption Exists when any one of the RX/TX MMC counters are enabled
42742  *    during FPE Enabled configuration.
42743  */
42744 #define ENET_QOS_MAC_MMC_TX_FPE_FRAGMENT_CNTR_TXFFC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_FPE_FRAGMENT_CNTR_TXFFC_SHIFT)) & ENET_QOS_MAC_MMC_TX_FPE_FRAGMENT_CNTR_TXFFC_MASK)
42745 /*! @} */
42746 
42747 /*! @name MAC_MMC_TX_HOLD_REQ_CNTR - MMC FPE Transmitted Hold Request Counter */
42748 /*! @{ */
42749 
42750 #define ENET_QOS_MAC_MMC_TX_HOLD_REQ_CNTR_TXHRC_MASK (0xFFFFFFFFU)
42751 #define ENET_QOS_MAC_MMC_TX_HOLD_REQ_CNTR_TXHRC_SHIFT (0U)
42752 /*! TXHRC - Tx Hold Request Counter This field indicates count of number of a hold request is given to MAC.
42753  */
42754 #define ENET_QOS_MAC_MMC_TX_HOLD_REQ_CNTR_TXHRC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_TX_HOLD_REQ_CNTR_TXHRC_SHIFT)) & ENET_QOS_MAC_MMC_TX_HOLD_REQ_CNTR_TXHRC_MASK)
42755 /*! @} */
42756 
42757 /*! @name MAC_MMC_FPE_RX_INTERRUPT - MMC FPE Receive Interrupt */
42758 /*! @{ */
42759 
42760 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAECIS_MASK (0x1U)
42761 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAECIS_SHIFT (0U)
42762 /*! PAECIS - MMC Rx Packet Assembly Error Counter Interrupt Status This bit is set when the
42763  *    Rx_Packet_Assemble_Err_Cntr counter reaches half of the maximum value or the maximum value.
42764  *  0b1..MMC Rx Packet Assembly Error Counter Interrupt Status detected
42765  *  0b0..MMC Rx Packet Assembly Error Counter Interrupt Status not detected
42766  */
42767 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAECIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAECIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAECIS_MASK)
42768 
42769 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PSECIS_MASK (0x2U)
42770 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PSECIS_SHIFT (1U)
42771 /*! PSECIS - MMC Rx Packet SMD Error Counter Interrupt Status This bit is set when the
42772  *    Rx_Packet_SMD_Err_Cntr counter reaches half of the maximum value or the maximum value.
42773  *  0b1..MMC Rx Packet SMD Error Counter Interrupt Status detected
42774  *  0b0..MMC Rx Packet SMD Error Counter Interrupt Status not detected
42775  */
42776 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PSECIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PSECIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PSECIS_MASK)
42777 
42778 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAOCIS_MASK (0x4U)
42779 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAOCIS_SHIFT (2U)
42780 /*! PAOCIS - MMC Rx Packet Assembly OK Counter Interrupt Status This bit is set when the
42781  *    Rx_Packet_Assemble_Ok_Cntr counter reaches half of the maximum value or the maximum value.
42782  *  0b1..MMC Rx Packet Assembly OK Counter Interrupt Status detected
42783  *  0b0..MMC Rx Packet Assembly OK Counter Interrupt Status not detected
42784  */
42785 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAOCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAOCIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_PAOCIS_MASK)
42786 
42787 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_FCIS_MASK (0x8U)
42788 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_FCIS_SHIFT (3U)
42789 /*! FCIS - MMC Rx FPE Fragment Counter Interrupt Status This bit is set when the
42790  *    Rx_FPE_Fragment_Cntr counter reaches half of the maximum value or the maximum value.
42791  *  0b1..MMC Rx FPE Fragment Counter Interrupt Status detected
42792  *  0b0..MMC Rx FPE Fragment Counter Interrupt Status not detected
42793  */
42794 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_FCIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_FCIS_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_FCIS_MASK)
42795 /*! @} */
42796 
42797 /*! @name MAC_MMC_FPE_RX_INTERRUPT_MASK - MMC FPE Receive Interrupt Mask */
42798 /*! @{ */
42799 
42800 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAECIM_MASK (0x1U)
42801 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAECIM_SHIFT (0U)
42802 /*! PAECIM - MMC Rx Packet Assembly Error Counter Interrupt Mask Setting this bit masks the
42803  *    interrupt when the R Rx_Packet_Assemble_Err_Cntr counter reaches half of the maximum value or the
42804  *    maximum value.
42805  *  0b0..MMC Rx Packet Assembly Error Counter Interrupt Mask is disabled
42806  *  0b1..MMC Rx Packet Assembly Error Counter Interrupt Mask is enabled
42807  */
42808 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAECIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAECIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAECIM_MASK)
42809 
42810 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PSECIM_MASK (0x2U)
42811 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PSECIM_SHIFT (1U)
42812 /*! PSECIM - MMC Rx Packet SMD Error Counter Interrupt Mask Setting this bit masks the interrupt
42813  *    when the R Rx_Packet_SMD_Err_Cntr counter reaches half of the maximum value or the maximum value.
42814  *  0b0..MMC Rx Packet SMD Error Counter Interrupt Mask is disabled
42815  *  0b1..MMC Rx Packet SMD Error Counter Interrupt Mask is enabled
42816  */
42817 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PSECIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PSECIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PSECIM_MASK)
42818 
42819 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAOCIM_MASK (0x4U)
42820 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAOCIM_SHIFT (2U)
42821 /*! PAOCIM - MMC Rx Packet Assembly OK Counter Interrupt Mask Setting this bit masks the interrupt
42822  *    when the Rx_Packet_Assemble_Ok_Cntr counter reaches half of the maximum value or the maximum
42823  *    value.
42824  *  0b0..MMC Rx Packet Assembly OK Counter Interrupt Mask is disabled
42825  *  0b1..MMC Rx Packet Assembly OK Counter Interrupt Mask is enabled
42826  */
42827 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAOCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAOCIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_PAOCIM_MASK)
42828 
42829 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_FCIM_MASK (0x8U)
42830 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_FCIM_SHIFT (3U)
42831 /*! FCIM - MMC Rx FPE Fragment Counter Interrupt Mask Setting this bit masks the interrupt when the
42832  *    Tx_FPE_Fragment_Cntr counter reaches half of the maximum value or the maximum value.
42833  *  0b0..MMC Rx FPE Fragment Counter Interrupt Mask is disabled
42834  *  0b1..MMC Rx FPE Fragment Counter Interrupt Mask is enabled
42835  */
42836 #define ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_FCIM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_FCIM_SHIFT)) & ENET_QOS_MAC_MMC_FPE_RX_INTERRUPT_MASK_FCIM_MASK)
42837 /*! @} */
42838 
42839 /*! @name MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR - MMC Receive Packet Reassembly Error Counter */
42840 /*! @{ */
42841 
42842 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR_PAEC_MASK (0xFFFFFFFFU)
42843 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR_PAEC_SHIFT (0U)
42844 /*! PAEC - Rx Packet Assembly Error Counter This field indicates the number of MAC frames with
42845  *    reassembly errors on the Receiver, due to mismatch in the Fragment Count value.
42846  */
42847 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR_PAEC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR_PAEC_SHIFT)) & ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_ERR_CNTR_PAEC_MASK)
42848 /*! @} */
42849 
42850 /*! @name MAC_MMC_RX_PACKET_SMD_ERR_CNTR - MMC Receive Packet SMD Error Counter */
42851 /*! @{ */
42852 
42853 #define ENET_QOS_MAC_MMC_RX_PACKET_SMD_ERR_CNTR_PSEC_MASK (0xFFFFFFFFU)
42854 #define ENET_QOS_MAC_MMC_RX_PACKET_SMD_ERR_CNTR_PSEC_SHIFT (0U)
42855 /*! PSEC - Rx Packet SMD Error Counter This field indicates the number of MAC frames rejected due to
42856  *    unknown SMD value and MAC frame fragments rejected due to arriving with an SMD-C when there
42857  *    was no preceding preempted frame.
42858  */
42859 #define ENET_QOS_MAC_MMC_RX_PACKET_SMD_ERR_CNTR_PSEC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_PACKET_SMD_ERR_CNTR_PSEC_SHIFT)) & ENET_QOS_MAC_MMC_RX_PACKET_SMD_ERR_CNTR_PSEC_MASK)
42860 /*! @} */
42861 
42862 /*! @name MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR - MMC Receive Packet Successful Reassembly Counter */
42863 /*! @{ */
42864 
42865 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR_PAOC_MASK (0xFFFFFFFFU)
42866 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR_PAOC_SHIFT (0U)
42867 /*! PAOC - Rx Packet Assembly OK Counter This field indicates the number of MAC frames that were
42868  *    successfully reassembled and delivered to MAC.
42869  */
42870 #define ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR_PAOC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR_PAOC_SHIFT)) & ENET_QOS_MAC_MMC_RX_PACKET_ASSEMBLY_OK_CNTR_PAOC_MASK)
42871 /*! @} */
42872 
42873 /*! @name MAC_MMC_RX_FPE_FRAGMENT_CNTR - MMC FPE Received Fragment Counter */
42874 /*! @{ */
42875 
42876 #define ENET_QOS_MAC_MMC_RX_FPE_FRAGMENT_CNTR_FFC_MASK (0xFFFFFFFFU)
42877 #define ENET_QOS_MAC_MMC_RX_FPE_FRAGMENT_CNTR_FFC_SHIFT (0U)
42878 /*! FFC - Rx FPE Fragment Counter This field indicates the number of additional mPackets received
42879  *    due to preemption Exists when at least one of the RX/TX MMC counters are enabled during FPE
42880  *    Enabled configuration.
42881  */
42882 #define ENET_QOS_MAC_MMC_RX_FPE_FRAGMENT_CNTR_FFC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_MMC_RX_FPE_FRAGMENT_CNTR_FFC_SHIFT)) & ENET_QOS_MAC_MMC_RX_FPE_FRAGMENT_CNTR_FFC_MASK)
42883 /*! @} */
42884 
42885 /*! @name MAC_L3_L4_CONTROL0 - Layer 3 and Layer 4 Control of Filter 0 */
42886 /*! @{ */
42887 
42888 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3PEN0_MASK  (0x1U)
42889 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3PEN0_SHIFT (0U)
42890 /*! L3PEN0 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
42891  *    Address matching is enabled for IPv6 packets.
42892  *  0b0..Layer 3 Protocol is disabled
42893  *  0b1..Layer 3 Protocol is enabled
42894  */
42895 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3PEN0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3PEN0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3PEN0_MASK)
42896 
42897 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAM0_MASK  (0x4U)
42898 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAM0_SHIFT (2U)
42899 /*! L3SAM0 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
42900  *  0b0..Layer 3 IP SA Match is disabled
42901  *  0b1..Layer 3 IP SA Match is enabled
42902  */
42903 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAM0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3SAM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3SAM0_MASK)
42904 
42905 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAIM0_MASK (0x8U)
42906 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAIM0_SHIFT (3U)
42907 /*! L3SAIM0 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
42908  *    field is enabled for inverse matching.
42909  *  0b0..Layer 3 IP SA Inverse Match is disabled
42910  *  0b1..Layer 3 IP SA Inverse Match is enabled
42911  */
42912 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3SAIM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3SAIM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3SAIM0_MASK)
42913 
42914 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAM0_MASK  (0x10U)
42915 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAM0_SHIFT (4U)
42916 /*! L3DAM0 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
42917  *  0b0..Layer 3 IP DA Match is disabled
42918  *  0b1..Layer 3 IP DA Match is enabled
42919  */
42920 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAM0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3DAM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3DAM0_MASK)
42921 
42922 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAIM0_MASK (0x20U)
42923 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAIM0_SHIFT (5U)
42924 /*! L3DAIM0 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
42925  *    Address field is enabled for inverse matching.
42926  *  0b0..Layer 3 IP DA Inverse Match is disabled
42927  *  0b1..Layer 3 IP DA Inverse Match is enabled
42928  */
42929 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3DAIM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3DAIM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3DAIM0_MASK)
42930 
42931 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HSBM0_MASK (0x7C0U)
42932 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HSBM0_SHIFT (6U)
42933 /*! L3HSBM0 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
42934  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
42935  */
42936 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HSBM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3HSBM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3HSBM0_MASK)
42937 
42938 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HDBM0_MASK (0xF800U)
42939 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HDBM0_SHIFT (11U)
42940 /*! L3HDBM0 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
42941  *    bits of IP Destination Address that are matched in the IPv4 packets.
42942  */
42943 #define ENET_QOS_MAC_L3_L4_CONTROL0_L3HDBM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L3HDBM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L3HDBM0_MASK)
42944 
42945 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4PEN0_MASK  (0x10000U)
42946 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4PEN0_SHIFT (16U)
42947 /*! L4PEN0 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
42948  *    fields of UDP packets are used for matching.
42949  *  0b0..Layer 4 Protocol is disabled
42950  *  0b1..Layer 4 Protocol is enabled
42951  */
42952 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4PEN0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L4PEN0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L4PEN0_MASK)
42953 
42954 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPM0_MASK  (0x40000U)
42955 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPM0_SHIFT (18U)
42956 /*! L4SPM0 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
42957  *  0b0..Layer 4 Source Port Match is disabled
42958  *  0b1..Layer 4 Source Port Match is enabled
42959  */
42960 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPM0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L4SPM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L4SPM0_MASK)
42961 
42962 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPIM0_MASK (0x80000U)
42963 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPIM0_SHIFT (19U)
42964 /*! L4SPIM0 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
42965  *    number field is enabled for inverse matching.
42966  *  0b0..Layer 4 Source Port Inverse Match is disabled
42967  *  0b1..Layer 4 Source Port Inverse Match is enabled
42968  */
42969 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4SPIM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L4SPIM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L4SPIM0_MASK)
42970 
42971 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPM0_MASK  (0x100000U)
42972 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPM0_SHIFT (20U)
42973 /*! L4DPM0 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
42974  *    Port number field is enabled for matching.
42975  *  0b0..Layer 4 Destination Port Match is disabled
42976  *  0b1..Layer 4 Destination Port Match is enabled
42977  */
42978 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPM0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L4DPM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L4DPM0_MASK)
42979 
42980 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPIM0_MASK (0x200000U)
42981 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPIM0_SHIFT (21U)
42982 /*! L4DPIM0 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
42983  *    Destination Port number field is enabled for inverse matching.
42984  *  0b0..Layer 4 Destination Port Inverse Match is disabled
42985  *  0b1..Layer 4 Destination Port Inverse Match is enabled
42986  */
42987 #define ENET_QOS_MAC_L3_L4_CONTROL0_L4DPIM0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_L4DPIM0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_L4DPIM0_MASK)
42988 
42989 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHN0_MASK  (0x7000000U)
42990 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHN0_SHIFT (24U)
42991 /*! DMCHN0 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
42992  *    to which the packet passed by this filter is routed.
42993  */
42994 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHN0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_DMCHN0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_DMCHN0_MASK)
42995 
42996 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHEN0_MASK (0x10000000U)
42997 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHEN0_SHIFT (28U)
42998 /*! DMCHEN0 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
42999  *    number for the packet that is passed by this L3_L4 filter.
43000  *  0b0..DMA Channel Select is disabled
43001  *  0b1..DMA Channel Select is enabled
43002  */
43003 #define ENET_QOS_MAC_L3_L4_CONTROL0_DMCHEN0(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL0_DMCHEN0_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL0_DMCHEN0_MASK)
43004 /*! @} */
43005 
43006 /*! @name MAC_LAYER4_ADDRESS0 - Layer 4 Address 0 */
43007 /*! @{ */
43008 
43009 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4SP0_MASK  (0xFFFFU)
43010 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4SP0_SHIFT (0U)
43011 /*! L4SP0 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43012  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43013  *    Source Port Number field in the IPv4 or IPv6 packets.
43014  */
43015 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4SP0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS0_L4SP0_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS0_L4SP0_MASK)
43016 
43017 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4DP0_MASK  (0xFFFF0000U)
43018 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4DP0_SHIFT (16U)
43019 /*! L4DP0 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43020  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43021  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43022  */
43023 #define ENET_QOS_MAC_LAYER4_ADDRESS0_L4DP0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS0_L4DP0_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS0_L4DP0_MASK)
43024 /*! @} */
43025 
43026 /*! @name MAC_LAYER3_ADDR0_REG0 - Layer 3 Address 0 Register 0 */
43027 /*! @{ */
43028 
43029 #define ENET_QOS_MAC_LAYER3_ADDR0_REG0_L3A00_MASK (0xFFFFFFFFU)
43030 #define ENET_QOS_MAC_LAYER3_ADDR0_REG0_L3A00_SHIFT (0U)
43031 /*! L3A00 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43032  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43033  *    Address field in the IPv6 packets.
43034  */
43035 #define ENET_QOS_MAC_LAYER3_ADDR0_REG0_L3A00(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG0_L3A00_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG0_L3A00_MASK)
43036 /*! @} */
43037 
43038 /*! @name MAC_LAYER3_ADDR1_REG0 - Layer 3 Address 1 Register 0 */
43039 /*! @{ */
43040 
43041 #define ENET_QOS_MAC_LAYER3_ADDR1_REG0_L3A10_MASK (0xFFFFFFFFU)
43042 #define ENET_QOS_MAC_LAYER3_ADDR1_REG0_L3A10_SHIFT (0U)
43043 /*! L3A10 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43044  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43045  *    Address field in the IPv6 packets.
43046  */
43047 #define ENET_QOS_MAC_LAYER3_ADDR1_REG0_L3A10(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG0_L3A10_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG0_L3A10_MASK)
43048 /*! @} */
43049 
43050 /*! @name MAC_LAYER3_ADDR2_REG0 - Layer 3 Address 2 Register 0 */
43051 /*! @{ */
43052 
43053 #define ENET_QOS_MAC_LAYER3_ADDR2_REG0_L3A20_MASK (0xFFFFFFFFU)
43054 #define ENET_QOS_MAC_LAYER3_ADDR2_REG0_L3A20_SHIFT (0U)
43055 /*! L3A20 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
43056  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
43057  *    Address field in the IPv6 packets.
43058  */
43059 #define ENET_QOS_MAC_LAYER3_ADDR2_REG0_L3A20(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG0_L3A20_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG0_L3A20_MASK)
43060 /*! @} */
43061 
43062 /*! @name MAC_LAYER3_ADDR3_REG0 - Layer 3 Address 3 Register 0 */
43063 /*! @{ */
43064 
43065 #define ENET_QOS_MAC_LAYER3_ADDR3_REG0_L3A30_MASK (0xFFFFFFFFU)
43066 #define ENET_QOS_MAC_LAYER3_ADDR3_REG0_L3A30_SHIFT (0U)
43067 /*! L3A30 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
43068  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
43069  *    Address field in the IPv6 packets.
43070  */
43071 #define ENET_QOS_MAC_LAYER3_ADDR3_REG0_L3A30(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG0_L3A30_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG0_L3A30_MASK)
43072 /*! @} */
43073 
43074 /*! @name MAC_L3_L4_CONTROL1 - Layer 3 and Layer 4 Control of Filter 1 */
43075 /*! @{ */
43076 
43077 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3PEN1_MASK  (0x1U)
43078 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3PEN1_SHIFT (0U)
43079 /*! L3PEN1 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
43080  *    Address matching is enabled for IPv6 packets.
43081  *  0b0..Layer 3 Protocol is disabled
43082  *  0b1..Layer 3 Protocol is enabled
43083  */
43084 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3PEN1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3PEN1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3PEN1_MASK)
43085 
43086 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAM1_MASK  (0x4U)
43087 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAM1_SHIFT (2U)
43088 /*! L3SAM1 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
43089  *  0b0..Layer 3 IP SA Match is disabled
43090  *  0b1..Layer 3 IP SA Match is enabled
43091  */
43092 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAM1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3SAM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3SAM1_MASK)
43093 
43094 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAIM1_MASK (0x8U)
43095 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAIM1_SHIFT (3U)
43096 /*! L3SAIM1 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
43097  *    field is enabled for inverse matching.
43098  *  0b0..Layer 3 IP SA Inverse Match is disabled
43099  *  0b1..Layer 3 IP SA Inverse Match is enabled
43100  */
43101 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3SAIM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3SAIM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3SAIM1_MASK)
43102 
43103 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAM1_MASK  (0x10U)
43104 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAM1_SHIFT (4U)
43105 /*! L3DAM1 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
43106  *  0b0..Layer 3 IP DA Match is disabled
43107  *  0b1..Layer 3 IP DA Match is enabled
43108  */
43109 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAM1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3DAM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3DAM1_MASK)
43110 
43111 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAIM1_MASK (0x20U)
43112 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAIM1_SHIFT (5U)
43113 /*! L3DAIM1 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
43114  *    Address field is enabled for inverse matching.
43115  *  0b0..Layer 3 IP DA Inverse Match is disabled
43116  *  0b1..Layer 3 IP DA Inverse Match is enabled
43117  */
43118 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3DAIM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3DAIM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3DAIM1_MASK)
43119 
43120 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HSBM1_MASK (0x7C0U)
43121 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HSBM1_SHIFT (6U)
43122 /*! L3HSBM1 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
43123  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
43124  */
43125 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HSBM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3HSBM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3HSBM1_MASK)
43126 
43127 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HDBM1_MASK (0xF800U)
43128 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HDBM1_SHIFT (11U)
43129 /*! L3HDBM1 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
43130  *    bits of IP Destination Address that are matched in the IPv4 packets.
43131  */
43132 #define ENET_QOS_MAC_L3_L4_CONTROL1_L3HDBM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L3HDBM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L3HDBM1_MASK)
43133 
43134 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4PEN1_MASK  (0x10000U)
43135 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4PEN1_SHIFT (16U)
43136 /*! L4PEN1 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
43137  *    fields of UDP packets are used for matching.
43138  *  0b0..Layer 4 Protocol is disabled
43139  *  0b1..Layer 4 Protocol is enabled
43140  */
43141 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4PEN1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L4PEN1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L4PEN1_MASK)
43142 
43143 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPM1_MASK  (0x40000U)
43144 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPM1_SHIFT (18U)
43145 /*! L4SPM1 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
43146  *  0b0..Layer 4 Source Port Match is disabled
43147  *  0b1..Layer 4 Source Port Match is enabled
43148  */
43149 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPM1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L4SPM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L4SPM1_MASK)
43150 
43151 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPIM1_MASK (0x80000U)
43152 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPIM1_SHIFT (19U)
43153 /*! L4SPIM1 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
43154  *    number field is enabled for inverse matching.
43155  *  0b0..Layer 4 Source Port Inverse Match is disabled
43156  *  0b1..Layer 4 Source Port Inverse Match is enabled
43157  */
43158 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4SPIM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L4SPIM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L4SPIM1_MASK)
43159 
43160 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPM1_MASK  (0x100000U)
43161 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPM1_SHIFT (20U)
43162 /*! L4DPM1 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
43163  *    Port number field is enabled for matching.
43164  *  0b0..Layer 4 Destination Port Match is disabled
43165  *  0b1..Layer 4 Destination Port Match is enabled
43166  */
43167 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPM1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L4DPM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L4DPM1_MASK)
43168 
43169 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPIM1_MASK (0x200000U)
43170 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPIM1_SHIFT (21U)
43171 /*! L4DPIM1 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
43172  *    Destination Port number field is enabled for inverse matching.
43173  *  0b0..Layer 4 Destination Port Inverse Match is disabled
43174  *  0b1..Layer 4 Destination Port Inverse Match is enabled
43175  */
43176 #define ENET_QOS_MAC_L3_L4_CONTROL1_L4DPIM1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_L4DPIM1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_L4DPIM1_MASK)
43177 
43178 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHN1_MASK  (0x7000000U)
43179 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHN1_SHIFT (24U)
43180 /*! DMCHN1 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
43181  *    to which the packet passed by this filter is routed.
43182  */
43183 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHN1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_DMCHN1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_DMCHN1_MASK)
43184 
43185 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHEN1_MASK (0x10000000U)
43186 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHEN1_SHIFT (28U)
43187 /*! DMCHEN1 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
43188  *    number for the packet that is passed by this L3_L4 filter.
43189  *  0b0..DMA Channel Select is disabled
43190  *  0b1..DMA Channel Select is enabled
43191  */
43192 #define ENET_QOS_MAC_L3_L4_CONTROL1_DMCHEN1(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL1_DMCHEN1_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL1_DMCHEN1_MASK)
43193 /*! @} */
43194 
43195 /*! @name MAC_LAYER4_ADDRESS1 - Layer 4 Address 0 */
43196 /*! @{ */
43197 
43198 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4SP1_MASK  (0xFFFFU)
43199 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4SP1_SHIFT (0U)
43200 /*! L4SP1 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43201  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43202  *    Source Port Number field in the IPv4 or IPv6 packets.
43203  */
43204 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4SP1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS1_L4SP1_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS1_L4SP1_MASK)
43205 
43206 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4DP1_MASK  (0xFFFF0000U)
43207 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4DP1_SHIFT (16U)
43208 /*! L4DP1 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43209  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43210  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43211  */
43212 #define ENET_QOS_MAC_LAYER4_ADDRESS1_L4DP1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS1_L4DP1_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS1_L4DP1_MASK)
43213 /*! @} */
43214 
43215 /*! @name MAC_LAYER3_ADDR0_REG1 - Layer 3 Address 0 Register 1 */
43216 /*! @{ */
43217 
43218 #define ENET_QOS_MAC_LAYER3_ADDR0_REG1_L3A01_MASK (0xFFFFFFFFU)
43219 #define ENET_QOS_MAC_LAYER3_ADDR0_REG1_L3A01_SHIFT (0U)
43220 /*! L3A01 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43221  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43222  *    Address field in the IPv6 packets.
43223  */
43224 #define ENET_QOS_MAC_LAYER3_ADDR0_REG1_L3A01(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG1_L3A01_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG1_L3A01_MASK)
43225 /*! @} */
43226 
43227 /*! @name MAC_LAYER3_ADDR1_REG1 - Layer 3 Address 1 Register 1 */
43228 /*! @{ */
43229 
43230 #define ENET_QOS_MAC_LAYER3_ADDR1_REG1_L3A11_MASK (0xFFFFFFFFU)
43231 #define ENET_QOS_MAC_LAYER3_ADDR1_REG1_L3A11_SHIFT (0U)
43232 /*! L3A11 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43233  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43234  *    Address field in the IPv6 packets.
43235  */
43236 #define ENET_QOS_MAC_LAYER3_ADDR1_REG1_L3A11(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG1_L3A11_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG1_L3A11_MASK)
43237 /*! @} */
43238 
43239 /*! @name MAC_LAYER3_ADDR2_REG1 - Layer 3 Address 2 Register 1 */
43240 /*! @{ */
43241 
43242 #define ENET_QOS_MAC_LAYER3_ADDR2_REG1_L3A21_MASK (0xFFFFFFFFU)
43243 #define ENET_QOS_MAC_LAYER3_ADDR2_REG1_L3A21_SHIFT (0U)
43244 /*! L3A21 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
43245  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
43246  *    Address field in the IPv6 packets.
43247  */
43248 #define ENET_QOS_MAC_LAYER3_ADDR2_REG1_L3A21(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG1_L3A21_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG1_L3A21_MASK)
43249 /*! @} */
43250 
43251 /*! @name MAC_LAYER3_ADDR3_REG1 - Layer 3 Address 3 Register 1 */
43252 /*! @{ */
43253 
43254 #define ENET_QOS_MAC_LAYER3_ADDR3_REG1_L3A31_MASK (0xFFFFFFFFU)
43255 #define ENET_QOS_MAC_LAYER3_ADDR3_REG1_L3A31_SHIFT (0U)
43256 /*! L3A31 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
43257  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
43258  *    Address field in the IPv6 packets.
43259  */
43260 #define ENET_QOS_MAC_LAYER3_ADDR3_REG1_L3A31(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG1_L3A31_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG1_L3A31_MASK)
43261 /*! @} */
43262 
43263 /*! @name MAC_L3_L4_CONTROL2 - Layer 3 and Layer 4 Control of Filter 2 */
43264 /*! @{ */
43265 
43266 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3PEN2_MASK  (0x1U)
43267 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3PEN2_SHIFT (0U)
43268 /*! L3PEN2 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
43269  *    Address matching is enabled for IPv6 packets.
43270  *  0b0..Layer 3 Protocol is disabled
43271  *  0b1..Layer 3 Protocol is enabled
43272  */
43273 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3PEN2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3PEN2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3PEN2_MASK)
43274 
43275 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAM2_MASK  (0x4U)
43276 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAM2_SHIFT (2U)
43277 /*! L3SAM2 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
43278  *  0b0..Layer 3 IP SA Match is disabled
43279  *  0b1..Layer 3 IP SA Match is enabled
43280  */
43281 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAM2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3SAM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3SAM2_MASK)
43282 
43283 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAIM2_MASK (0x8U)
43284 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAIM2_SHIFT (3U)
43285 /*! L3SAIM2 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
43286  *    field is enabled for inverse matching.
43287  *  0b0..Layer 3 IP SA Inverse Match is disabled
43288  *  0b1..Layer 3 IP SA Inverse Match is enabled
43289  */
43290 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3SAIM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3SAIM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3SAIM2_MASK)
43291 
43292 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAM2_MASK  (0x10U)
43293 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAM2_SHIFT (4U)
43294 /*! L3DAM2 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
43295  *  0b0..Layer 3 IP DA Match is disabled
43296  *  0b1..Layer 3 IP DA Match is enabled
43297  */
43298 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAM2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3DAM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3DAM2_MASK)
43299 
43300 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAIM2_MASK (0x20U)
43301 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAIM2_SHIFT (5U)
43302 /*! L3DAIM2 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
43303  *    Address field is enabled for inverse matching.
43304  *  0b0..Layer 3 IP DA Inverse Match is disabled
43305  *  0b1..Layer 3 IP DA Inverse Match is enabled
43306  */
43307 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3DAIM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3DAIM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3DAIM2_MASK)
43308 
43309 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HSBM2_MASK (0x7C0U)
43310 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HSBM2_SHIFT (6U)
43311 /*! L3HSBM2 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
43312  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
43313  */
43314 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HSBM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3HSBM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3HSBM2_MASK)
43315 
43316 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HDBM2_MASK (0xF800U)
43317 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HDBM2_SHIFT (11U)
43318 /*! L3HDBM2 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
43319  *    bits of IP Destination Address that are matched in the IPv4 packets.
43320  */
43321 #define ENET_QOS_MAC_L3_L4_CONTROL2_L3HDBM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L3HDBM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L3HDBM2_MASK)
43322 
43323 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4PEN2_MASK  (0x10000U)
43324 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4PEN2_SHIFT (16U)
43325 /*! L4PEN2 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
43326  *    fields of UDP packets are used for matching.
43327  *  0b0..Layer 4 Protocol is disabled
43328  *  0b1..Layer 4 Protocol is enabled
43329  */
43330 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4PEN2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L4PEN2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L4PEN2_MASK)
43331 
43332 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPM2_MASK  (0x40000U)
43333 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPM2_SHIFT (18U)
43334 /*! L4SPM2 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
43335  *  0b0..Layer 4 Source Port Match is disabled
43336  *  0b1..Layer 4 Source Port Match is enabled
43337  */
43338 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPM2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L4SPM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L4SPM2_MASK)
43339 
43340 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPIM2_MASK (0x80000U)
43341 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPIM2_SHIFT (19U)
43342 /*! L4SPIM2 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
43343  *    number field is enabled for inverse matching.
43344  *  0b0..Layer 4 Source Port Inverse Match is disabled
43345  *  0b1..Layer 4 Source Port Inverse Match is enabled
43346  */
43347 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4SPIM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L4SPIM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L4SPIM2_MASK)
43348 
43349 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPM2_MASK  (0x100000U)
43350 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPM2_SHIFT (20U)
43351 /*! L4DPM2 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
43352  *    Port number field is enabled for matching.
43353  *  0b0..Layer 4 Destination Port Match is disabled
43354  *  0b1..Layer 4 Destination Port Match is enabled
43355  */
43356 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPM2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L4DPM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L4DPM2_MASK)
43357 
43358 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPIM2_MASK (0x200000U)
43359 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPIM2_SHIFT (21U)
43360 /*! L4DPIM2 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
43361  *    Destination Port number field is enabled for inverse matching.
43362  *  0b0..Layer 4 Destination Port Inverse Match is disabled
43363  *  0b1..Layer 4 Destination Port Inverse Match is enabled
43364  */
43365 #define ENET_QOS_MAC_L3_L4_CONTROL2_L4DPIM2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_L4DPIM2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_L4DPIM2_MASK)
43366 
43367 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHN2_MASK  (0x7000000U)
43368 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHN2_SHIFT (24U)
43369 /*! DMCHN2 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
43370  *    to which the packet passed by this filter is routed.
43371  */
43372 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHN2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_DMCHN2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_DMCHN2_MASK)
43373 
43374 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHEN2_MASK (0x10000000U)
43375 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHEN2_SHIFT (28U)
43376 /*! DMCHEN2 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
43377  *    number for the packet that is passed by this L3_L4 filter.
43378  *  0b0..DMA Channel Select is disabled
43379  *  0b1..DMA Channel Select is enabled
43380  */
43381 #define ENET_QOS_MAC_L3_L4_CONTROL2_DMCHEN2(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL2_DMCHEN2_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL2_DMCHEN2_MASK)
43382 /*! @} */
43383 
43384 /*! @name MAC_LAYER4_ADDRESS2 - Layer 4 Address 2 */
43385 /*! @{ */
43386 
43387 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4SP2_MASK  (0xFFFFU)
43388 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4SP2_SHIFT (0U)
43389 /*! L4SP2 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43390  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43391  *    Source Port Number field in the IPv4 or IPv6 packets.
43392  */
43393 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4SP2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS2_L4SP2_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS2_L4SP2_MASK)
43394 
43395 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4DP2_MASK  (0xFFFF0000U)
43396 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4DP2_SHIFT (16U)
43397 /*! L4DP2 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43398  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43399  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43400  */
43401 #define ENET_QOS_MAC_LAYER4_ADDRESS2_L4DP2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS2_L4DP2_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS2_L4DP2_MASK)
43402 /*! @} */
43403 
43404 /*! @name MAC_LAYER3_ADDR0_REG2 - Layer 3 Address 0 Register 2 */
43405 /*! @{ */
43406 
43407 #define ENET_QOS_MAC_LAYER3_ADDR0_REG2_L3A02_MASK (0xFFFFFFFFU)
43408 #define ENET_QOS_MAC_LAYER3_ADDR0_REG2_L3A02_SHIFT (0U)
43409 /*! L3A02 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43410  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43411  *    Address field in the IPv6 packets.
43412  */
43413 #define ENET_QOS_MAC_LAYER3_ADDR0_REG2_L3A02(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG2_L3A02_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG2_L3A02_MASK)
43414 /*! @} */
43415 
43416 /*! @name MAC_LAYER3_ADDR1_REG2 - Layer 3 Address 0 Register 2 */
43417 /*! @{ */
43418 
43419 #define ENET_QOS_MAC_LAYER3_ADDR1_REG2_L3A12_MASK (0xFFFFFFFFU)
43420 #define ENET_QOS_MAC_LAYER3_ADDR1_REG2_L3A12_SHIFT (0U)
43421 /*! L3A12 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43422  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43423  *    Address field in the IPv6 packets.
43424  */
43425 #define ENET_QOS_MAC_LAYER3_ADDR1_REG2_L3A12(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG2_L3A12_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG2_L3A12_MASK)
43426 /*! @} */
43427 
43428 /*! @name MAC_LAYER3_ADDR2_REG2 - Layer 3 Address 2 Register 2 */
43429 /*! @{ */
43430 
43431 #define ENET_QOS_MAC_LAYER3_ADDR2_REG2_L3A22_MASK (0xFFFFFFFFU)
43432 #define ENET_QOS_MAC_LAYER3_ADDR2_REG2_L3A22_SHIFT (0U)
43433 /*! L3A22 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
43434  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
43435  *    Address field in the IPv6 packets.
43436  */
43437 #define ENET_QOS_MAC_LAYER3_ADDR2_REG2_L3A22(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG2_L3A22_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG2_L3A22_MASK)
43438 /*! @} */
43439 
43440 /*! @name MAC_LAYER3_ADDR3_REG2 - Layer 3 Address 3 Register 2 */
43441 /*! @{ */
43442 
43443 #define ENET_QOS_MAC_LAYER3_ADDR3_REG2_L3A32_MASK (0xFFFFFFFFU)
43444 #define ENET_QOS_MAC_LAYER3_ADDR3_REG2_L3A32_SHIFT (0U)
43445 /*! L3A32 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
43446  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
43447  *    Address field in the IPv6 packets.
43448  */
43449 #define ENET_QOS_MAC_LAYER3_ADDR3_REG2_L3A32(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG2_L3A32_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG2_L3A32_MASK)
43450 /*! @} */
43451 
43452 /*! @name MAC_L3_L4_CONTROL3 - Layer 3 and Layer 4 Control of Filter 3 */
43453 /*! @{ */
43454 
43455 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3PEN3_MASK  (0x1U)
43456 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3PEN3_SHIFT (0U)
43457 /*! L3PEN3 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
43458  *    Address matching is enabled for IPv6 packets.
43459  *  0b0..Layer 3 Protocol is disabled
43460  *  0b1..Layer 3 Protocol is enabled
43461  */
43462 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3PEN3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3PEN3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3PEN3_MASK)
43463 
43464 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAM3_MASK  (0x4U)
43465 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAM3_SHIFT (2U)
43466 /*! L3SAM3 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
43467  *  0b0..Layer 3 IP SA Match is disabled
43468  *  0b1..Layer 3 IP SA Match is enabled
43469  */
43470 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAM3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3SAM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3SAM3_MASK)
43471 
43472 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAIM3_MASK (0x8U)
43473 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAIM3_SHIFT (3U)
43474 /*! L3SAIM3 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
43475  *    field is enabled for inverse matching.
43476  *  0b0..Layer 3 IP SA Inverse Match is disabled
43477  *  0b1..Layer 3 IP SA Inverse Match is enabled
43478  */
43479 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3SAIM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3SAIM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3SAIM3_MASK)
43480 
43481 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAM3_MASK  (0x10U)
43482 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAM3_SHIFT (4U)
43483 /*! L3DAM3 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
43484  *  0b0..Layer 3 IP DA Match is disabled
43485  *  0b1..Layer 3 IP DA Match is enabled
43486  */
43487 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAM3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3DAM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3DAM3_MASK)
43488 
43489 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAIM3_MASK (0x20U)
43490 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAIM3_SHIFT (5U)
43491 /*! L3DAIM3 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
43492  *    Address field is enabled for inverse matching.
43493  *  0b0..Layer 3 IP DA Inverse Match is disabled
43494  *  0b1..Layer 3 IP DA Inverse Match is enabled
43495  */
43496 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3DAIM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3DAIM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3DAIM3_MASK)
43497 
43498 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HSBM3_MASK (0x7C0U)
43499 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HSBM3_SHIFT (6U)
43500 /*! L3HSBM3 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
43501  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
43502  */
43503 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HSBM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3HSBM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3HSBM3_MASK)
43504 
43505 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HDBM3_MASK (0xF800U)
43506 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HDBM3_SHIFT (11U)
43507 /*! L3HDBM3 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
43508  *    bits of IP Destination Address that are matched in the IPv4 packets.
43509  */
43510 #define ENET_QOS_MAC_L3_L4_CONTROL3_L3HDBM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L3HDBM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L3HDBM3_MASK)
43511 
43512 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4PEN3_MASK  (0x10000U)
43513 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4PEN3_SHIFT (16U)
43514 /*! L4PEN3 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
43515  *    fields of UDP packets are used for matching.
43516  *  0b0..Layer 4 Protocol is disabled
43517  *  0b1..Layer 4 Protocol is enabled
43518  */
43519 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4PEN3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L4PEN3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L4PEN3_MASK)
43520 
43521 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPM3_MASK  (0x40000U)
43522 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPM3_SHIFT (18U)
43523 /*! L4SPM3 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
43524  *  0b0..Layer 4 Source Port Match is disabled
43525  *  0b1..Layer 4 Source Port Match is enabled
43526  */
43527 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPM3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L4SPM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L4SPM3_MASK)
43528 
43529 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPIM3_MASK (0x80000U)
43530 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPIM3_SHIFT (19U)
43531 /*! L4SPIM3 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
43532  *    number field is enabled for inverse matching.
43533  *  0b0..Layer 4 Source Port Inverse Match is disabled
43534  *  0b1..Layer 4 Source Port Inverse Match is enabled
43535  */
43536 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4SPIM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L4SPIM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L4SPIM3_MASK)
43537 
43538 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPM3_MASK  (0x100000U)
43539 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPM3_SHIFT (20U)
43540 /*! L4DPM3 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
43541  *    Port number field is enabled for matching.
43542  *  0b0..Layer 4 Destination Port Match is disabled
43543  *  0b1..Layer 4 Destination Port Match is enabled
43544  */
43545 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPM3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L4DPM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L4DPM3_MASK)
43546 
43547 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPIM3_MASK (0x200000U)
43548 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPIM3_SHIFT (21U)
43549 /*! L4DPIM3 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
43550  *    Destination Port number field is enabled for inverse matching.
43551  *  0b0..Layer 4 Destination Port Inverse Match is disabled
43552  *  0b1..Layer 4 Destination Port Inverse Match is enabled
43553  */
43554 #define ENET_QOS_MAC_L3_L4_CONTROL3_L4DPIM3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_L4DPIM3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_L4DPIM3_MASK)
43555 
43556 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHN3_MASK  (0x7000000U)
43557 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHN3_SHIFT (24U)
43558 /*! DMCHN3 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
43559  *    to which the packet passed by this filter is routed.
43560  */
43561 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHN3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_DMCHN3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_DMCHN3_MASK)
43562 
43563 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHEN3_MASK (0x10000000U)
43564 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHEN3_SHIFT (28U)
43565 /*! DMCHEN3 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
43566  *    number for the packet that is passed by this L3_L4 filter.
43567  *  0b0..DMA Channel Select is disabled
43568  *  0b1..DMA Channel Select is enabled
43569  */
43570 #define ENET_QOS_MAC_L3_L4_CONTROL3_DMCHEN3(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL3_DMCHEN3_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL3_DMCHEN3_MASK)
43571 /*! @} */
43572 
43573 /*! @name MAC_LAYER4_ADDRESS3 - Layer 4 Address 3 */
43574 /*! @{ */
43575 
43576 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4SP3_MASK  (0xFFFFU)
43577 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4SP3_SHIFT (0U)
43578 /*! L4SP3 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43579  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43580  *    Source Port Number field in the IPv4 or IPv6 packets.
43581  */
43582 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4SP3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS3_L4SP3_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS3_L4SP3_MASK)
43583 
43584 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4DP3_MASK  (0xFFFF0000U)
43585 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4DP3_SHIFT (16U)
43586 /*! L4DP3 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43587  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43588  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43589  */
43590 #define ENET_QOS_MAC_LAYER4_ADDRESS3_L4DP3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS3_L4DP3_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS3_L4DP3_MASK)
43591 /*! @} */
43592 
43593 /*! @name MAC_LAYER3_ADDR0_REG3 - Layer 3 Address 0 Register 3 */
43594 /*! @{ */
43595 
43596 #define ENET_QOS_MAC_LAYER3_ADDR0_REG3_L3A03_MASK (0xFFFFFFFFU)
43597 #define ENET_QOS_MAC_LAYER3_ADDR0_REG3_L3A03_SHIFT (0U)
43598 /*! L3A03 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43599  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43600  *    Address field in the IPv6 packets.
43601  */
43602 #define ENET_QOS_MAC_LAYER3_ADDR0_REG3_L3A03(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG3_L3A03_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG3_L3A03_MASK)
43603 /*! @} */
43604 
43605 /*! @name MAC_LAYER3_ADDR1_REG3 - Layer 3 Address 1 Register 3 */
43606 /*! @{ */
43607 
43608 #define ENET_QOS_MAC_LAYER3_ADDR1_REG3_L3A13_MASK (0xFFFFFFFFU)
43609 #define ENET_QOS_MAC_LAYER3_ADDR1_REG3_L3A13_SHIFT (0U)
43610 /*! L3A13 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43611  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43612  *    Address field in the IPv6 packets.
43613  */
43614 #define ENET_QOS_MAC_LAYER3_ADDR1_REG3_L3A13(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG3_L3A13_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG3_L3A13_MASK)
43615 /*! @} */
43616 
43617 /*! @name MAC_LAYER3_ADDR2_REG3 - Layer 3 Address 2 Register 3 */
43618 /*! @{ */
43619 
43620 #define ENET_QOS_MAC_LAYER3_ADDR2_REG3_L3A23_MASK (0xFFFFFFFFU)
43621 #define ENET_QOS_MAC_LAYER3_ADDR2_REG3_L3A23_SHIFT (0U)
43622 /*! L3A23 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
43623  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
43624  *    Address field in the IPv6 packets.
43625  */
43626 #define ENET_QOS_MAC_LAYER3_ADDR2_REG3_L3A23(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG3_L3A23_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG3_L3A23_MASK)
43627 /*! @} */
43628 
43629 /*! @name MAC_LAYER3_ADDR3_REG3 - Layer 3 Address 3 Register 3 */
43630 /*! @{ */
43631 
43632 #define ENET_QOS_MAC_LAYER3_ADDR3_REG3_L3A33_MASK (0xFFFFFFFFU)
43633 #define ENET_QOS_MAC_LAYER3_ADDR3_REG3_L3A33_SHIFT (0U)
43634 /*! L3A33 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
43635  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
43636  *    Address field in the IPv6 packets.
43637  */
43638 #define ENET_QOS_MAC_LAYER3_ADDR3_REG3_L3A33(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG3_L3A33_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG3_L3A33_MASK)
43639 /*! @} */
43640 
43641 /*! @name MAC_L3_L4_CONTROL4 - Layer 3 and Layer 4 Control of Filter 4 */
43642 /*! @{ */
43643 
43644 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3PEN4_MASK  (0x1U)
43645 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3PEN4_SHIFT (0U)
43646 /*! L3PEN4 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
43647  *    Address matching is enabled for IPv6 packets.
43648  *  0b0..Layer 3 Protocol is disabled
43649  *  0b1..Layer 3 Protocol is enabled
43650  */
43651 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3PEN4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3PEN4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3PEN4_MASK)
43652 
43653 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAM4_MASK  (0x4U)
43654 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAM4_SHIFT (2U)
43655 /*! L3SAM4 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
43656  *  0b0..Layer 3 IP SA Match is disabled
43657  *  0b1..Layer 3 IP SA Match is enabled
43658  */
43659 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAM4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3SAM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3SAM4_MASK)
43660 
43661 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAIM4_MASK (0x8U)
43662 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAIM4_SHIFT (3U)
43663 /*! L3SAIM4 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
43664  *    field is enabled for inverse matching.
43665  *  0b0..Layer 3 IP SA Inverse Match is disabled
43666  *  0b1..Layer 3 IP SA Inverse Match is enabled
43667  */
43668 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3SAIM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3SAIM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3SAIM4_MASK)
43669 
43670 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAM4_MASK  (0x10U)
43671 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAM4_SHIFT (4U)
43672 /*! L3DAM4 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
43673  *  0b0..Layer 3 IP DA Match is disabled
43674  *  0b1..Layer 3 IP DA Match is enabled
43675  */
43676 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAM4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3DAM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3DAM4_MASK)
43677 
43678 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAIM4_MASK (0x20U)
43679 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAIM4_SHIFT (5U)
43680 /*! L3DAIM4 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
43681  *    Address field is enabled for inverse matching.
43682  *  0b0..Layer 3 IP DA Inverse Match is disabled
43683  *  0b1..Layer 3 IP DA Inverse Match is enabled
43684  */
43685 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3DAIM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3DAIM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3DAIM4_MASK)
43686 
43687 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HSBM4_MASK (0x7C0U)
43688 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HSBM4_SHIFT (6U)
43689 /*! L3HSBM4 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
43690  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
43691  */
43692 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HSBM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3HSBM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3HSBM4_MASK)
43693 
43694 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HDBM4_MASK (0xF800U)
43695 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HDBM4_SHIFT (11U)
43696 /*! L3HDBM4 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
43697  *    bits of IP Destination Address that are matched in the IPv4 packets.
43698  */
43699 #define ENET_QOS_MAC_L3_L4_CONTROL4_L3HDBM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L3HDBM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L3HDBM4_MASK)
43700 
43701 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4PEN4_MASK  (0x10000U)
43702 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4PEN4_SHIFT (16U)
43703 /*! L4PEN4 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
43704  *    fields of UDP packets are used for matching.
43705  *  0b0..Layer 4 Protocol is disabled
43706  *  0b1..Layer 4 Protocol is enabled
43707  */
43708 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4PEN4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L4PEN4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L4PEN4_MASK)
43709 
43710 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPM4_MASK  (0x40000U)
43711 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPM4_SHIFT (18U)
43712 /*! L4SPM4 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
43713  *  0b0..Layer 4 Source Port Match is disabled
43714  *  0b1..Layer 4 Source Port Match is enabled
43715  */
43716 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPM4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L4SPM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L4SPM4_MASK)
43717 
43718 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPIM4_MASK (0x80000U)
43719 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPIM4_SHIFT (19U)
43720 /*! L4SPIM4 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
43721  *    number field is enabled for inverse matching.
43722  *  0b0..Layer 4 Source Port Inverse Match is disabled
43723  *  0b1..Layer 4 Source Port Inverse Match is enabled
43724  */
43725 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4SPIM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L4SPIM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L4SPIM4_MASK)
43726 
43727 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPM4_MASK  (0x100000U)
43728 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPM4_SHIFT (20U)
43729 /*! L4DPM4 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
43730  *    Port number field is enabled for matching.
43731  *  0b0..Layer 4 Destination Port Match is disabled
43732  *  0b1..Layer 4 Destination Port Match is enabled
43733  */
43734 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPM4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L4DPM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L4DPM4_MASK)
43735 
43736 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPIM4_MASK (0x200000U)
43737 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPIM4_SHIFT (21U)
43738 /*! L4DPIM4 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
43739  *    Destination Port number field is enabled for inverse matching.
43740  *  0b0..Layer 4 Destination Port Inverse Match is disabled
43741  *  0b1..Layer 4 Destination Port Inverse Match is enabled
43742  */
43743 #define ENET_QOS_MAC_L3_L4_CONTROL4_L4DPIM4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_L4DPIM4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_L4DPIM4_MASK)
43744 
43745 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHN4_MASK  (0x7000000U)
43746 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHN4_SHIFT (24U)
43747 /*! DMCHN4 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
43748  *    to which the packet passed by this filter is routed.
43749  */
43750 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHN4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_DMCHN4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_DMCHN4_MASK)
43751 
43752 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHEN4_MASK (0x10000000U)
43753 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHEN4_SHIFT (28U)
43754 /*! DMCHEN4 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
43755  *    number for the packet that is passed by this L3_L4 filter.
43756  *  0b0..DMA Channel Select is disabled
43757  *  0b1..DMA Channel Select is enabled
43758  */
43759 #define ENET_QOS_MAC_L3_L4_CONTROL4_DMCHEN4(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL4_DMCHEN4_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL4_DMCHEN4_MASK)
43760 /*! @} */
43761 
43762 /*! @name MAC_LAYER4_ADDRESS4 - Layer 4 Address 4 */
43763 /*! @{ */
43764 
43765 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4SP4_MASK  (0xFFFFU)
43766 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4SP4_SHIFT (0U)
43767 /*! L4SP4 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43768  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43769  *    Source Port Number field in the IPv4 or IPv6 packets.
43770  */
43771 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4SP4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS4_L4SP4_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS4_L4SP4_MASK)
43772 
43773 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4DP4_MASK  (0xFFFF0000U)
43774 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4DP4_SHIFT (16U)
43775 /*! L4DP4 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43776  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43777  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43778  */
43779 #define ENET_QOS_MAC_LAYER4_ADDRESS4_L4DP4(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS4_L4DP4_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS4_L4DP4_MASK)
43780 /*! @} */
43781 
43782 /*! @name MAC_LAYER3_ADDR0_REG4 - Layer 3 Address 0 Register 4 */
43783 /*! @{ */
43784 
43785 #define ENET_QOS_MAC_LAYER3_ADDR0_REG4_L3A04_MASK (0xFFFFFFFFU)
43786 #define ENET_QOS_MAC_LAYER3_ADDR0_REG4_L3A04_SHIFT (0U)
43787 /*! L3A04 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43788  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43789  *    Address field in the IPv6 packets.
43790  */
43791 #define ENET_QOS_MAC_LAYER3_ADDR0_REG4_L3A04(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG4_L3A04_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG4_L3A04_MASK)
43792 /*! @} */
43793 
43794 /*! @name MAC_LAYER3_ADDR1_REG4 - Layer 3 Address 1 Register 4 */
43795 /*! @{ */
43796 
43797 #define ENET_QOS_MAC_LAYER3_ADDR1_REG4_L3A14_MASK (0xFFFFFFFFU)
43798 #define ENET_QOS_MAC_LAYER3_ADDR1_REG4_L3A14_SHIFT (0U)
43799 /*! L3A14 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43800  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43801  *    Address field in the IPv6 packets.
43802  */
43803 #define ENET_QOS_MAC_LAYER3_ADDR1_REG4_L3A14(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG4_L3A14_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG4_L3A14_MASK)
43804 /*! @} */
43805 
43806 /*! @name MAC_LAYER3_ADDR2_REG4 - Layer 3 Address 2 Register 4 */
43807 /*! @{ */
43808 
43809 #define ENET_QOS_MAC_LAYER3_ADDR2_REG4_L3A24_MASK (0xFFFFFFFFU)
43810 #define ENET_QOS_MAC_LAYER3_ADDR2_REG4_L3A24_SHIFT (0U)
43811 /*! L3A24 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
43812  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
43813  *    Address field in the IPv6 packets.
43814  */
43815 #define ENET_QOS_MAC_LAYER3_ADDR2_REG4_L3A24(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG4_L3A24_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG4_L3A24_MASK)
43816 /*! @} */
43817 
43818 /*! @name MAC_LAYER3_ADDR3_REG4 - Layer 3 Address 3 Register 4 */
43819 /*! @{ */
43820 
43821 #define ENET_QOS_MAC_LAYER3_ADDR3_REG4_L3A34_MASK (0xFFFFFFFFU)
43822 #define ENET_QOS_MAC_LAYER3_ADDR3_REG4_L3A34_SHIFT (0U)
43823 /*! L3A34 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
43824  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
43825  *    Address field in the IPv6 packets.
43826  */
43827 #define ENET_QOS_MAC_LAYER3_ADDR3_REG4_L3A34(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG4_L3A34_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG4_L3A34_MASK)
43828 /*! @} */
43829 
43830 /*! @name MAC_L3_L4_CONTROL5 - Layer 3 and Layer 4 Control of Filter 5 */
43831 /*! @{ */
43832 
43833 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3PEN5_MASK  (0x1U)
43834 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3PEN5_SHIFT (0U)
43835 /*! L3PEN5 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
43836  *    Address matching is enabled for IPv6 packets.
43837  *  0b0..Layer 3 Protocol is disabled
43838  *  0b1..Layer 3 Protocol is enabled
43839  */
43840 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3PEN5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3PEN5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3PEN5_MASK)
43841 
43842 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAM5_MASK  (0x4U)
43843 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAM5_SHIFT (2U)
43844 /*! L3SAM5 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
43845  *  0b0..Layer 3 IP SA Match is disabled
43846  *  0b1..Layer 3 IP SA Match is enabled
43847  */
43848 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAM5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3SAM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3SAM5_MASK)
43849 
43850 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAIM5_MASK (0x8U)
43851 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAIM5_SHIFT (3U)
43852 /*! L3SAIM5 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
43853  *    field is enabled for inverse matching.
43854  *  0b0..Layer 3 IP SA Inverse Match is disabled
43855  *  0b1..Layer 3 IP SA Inverse Match is enabled
43856  */
43857 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3SAIM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3SAIM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3SAIM5_MASK)
43858 
43859 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAM5_MASK  (0x10U)
43860 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAM5_SHIFT (4U)
43861 /*! L3DAM5 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
43862  *  0b0..Layer 3 IP DA Match is disabled
43863  *  0b1..Layer 3 IP DA Match is enabled
43864  */
43865 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAM5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3DAM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3DAM5_MASK)
43866 
43867 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAIM5_MASK (0x20U)
43868 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAIM5_SHIFT (5U)
43869 /*! L3DAIM5 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
43870  *    Address field is enabled for inverse matching.
43871  *  0b0..Layer 3 IP DA Inverse Match is disabled
43872  *  0b1..Layer 3 IP DA Inverse Match is enabled
43873  */
43874 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3DAIM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3DAIM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3DAIM5_MASK)
43875 
43876 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HSBM5_MASK (0x7C0U)
43877 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HSBM5_SHIFT (6U)
43878 /*! L3HSBM5 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
43879  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
43880  */
43881 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HSBM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3HSBM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3HSBM5_MASK)
43882 
43883 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HDBM5_MASK (0xF800U)
43884 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HDBM5_SHIFT (11U)
43885 /*! L3HDBM5 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
43886  *    bits of IP Destination Address that are matched in the IPv4 packets.
43887  */
43888 #define ENET_QOS_MAC_L3_L4_CONTROL5_L3HDBM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L3HDBM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L3HDBM5_MASK)
43889 
43890 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4PEN5_MASK  (0x10000U)
43891 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4PEN5_SHIFT (16U)
43892 /*! L4PEN5 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
43893  *    fields of UDP packets are used for matching.
43894  *  0b0..Layer 4 Protocol is disabled
43895  *  0b1..Layer 4 Protocol is enabled
43896  */
43897 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4PEN5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L4PEN5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L4PEN5_MASK)
43898 
43899 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPM5_MASK  (0x40000U)
43900 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPM5_SHIFT (18U)
43901 /*! L4SPM5 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
43902  *  0b0..Layer 4 Source Port Match is disabled
43903  *  0b1..Layer 4 Source Port Match is enabled
43904  */
43905 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPM5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L4SPM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L4SPM5_MASK)
43906 
43907 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPIM5_MASK (0x80000U)
43908 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPIM5_SHIFT (19U)
43909 /*! L4SPIM5 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
43910  *    number field is enabled for inverse matching.
43911  *  0b0..Layer 4 Source Port Inverse Match is disabled
43912  *  0b1..Layer 4 Source Port Inverse Match is enabled
43913  */
43914 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4SPIM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L4SPIM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L4SPIM5_MASK)
43915 
43916 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPM5_MASK  (0x100000U)
43917 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPM5_SHIFT (20U)
43918 /*! L4DPM5 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
43919  *    Port number field is enabled for matching.
43920  *  0b0..Layer 4 Destination Port Match is disabled
43921  *  0b1..Layer 4 Destination Port Match is enabled
43922  */
43923 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPM5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L4DPM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L4DPM5_MASK)
43924 
43925 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPIM5_MASK (0x200000U)
43926 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPIM5_SHIFT (21U)
43927 /*! L4DPIM5 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
43928  *    Destination Port number field is enabled for inverse matching.
43929  *  0b0..Layer 4 Destination Port Inverse Match is disabled
43930  *  0b1..Layer 4 Destination Port Inverse Match is enabled
43931  */
43932 #define ENET_QOS_MAC_L3_L4_CONTROL5_L4DPIM5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_L4DPIM5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_L4DPIM5_MASK)
43933 
43934 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHN5_MASK  (0x7000000U)
43935 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHN5_SHIFT (24U)
43936 /*! DMCHN5 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
43937  *    to which the packet passed by this filter is routed.
43938  */
43939 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHN5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_DMCHN5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_DMCHN5_MASK)
43940 
43941 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHEN5_MASK (0x10000000U)
43942 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHEN5_SHIFT (28U)
43943 /*! DMCHEN5 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
43944  *    number for the packet that is passed by this L3_L4 filter.
43945  *  0b0..DMA Channel Select is disabled
43946  *  0b1..DMA Channel Select is enabled
43947  */
43948 #define ENET_QOS_MAC_L3_L4_CONTROL5_DMCHEN5(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL5_DMCHEN5_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL5_DMCHEN5_MASK)
43949 /*! @} */
43950 
43951 /*! @name MAC_LAYER4_ADDRESS5 - Layer 4 Address 5 */
43952 /*! @{ */
43953 
43954 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4SP5_MASK  (0xFFFFU)
43955 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4SP5_SHIFT (0U)
43956 /*! L4SP5 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
43957  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
43958  *    Source Port Number field in the IPv4 or IPv6 packets.
43959  */
43960 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4SP5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS5_L4SP5_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS5_L4SP5_MASK)
43961 
43962 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4DP5_MASK  (0xFFFF0000U)
43963 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4DP5_SHIFT (16U)
43964 /*! L4DP5 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
43965  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
43966  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
43967  */
43968 #define ENET_QOS_MAC_LAYER4_ADDRESS5_L4DP5(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS5_L4DP5_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS5_L4DP5_MASK)
43969 /*! @} */
43970 
43971 /*! @name MAC_LAYER3_ADDR0_REG5 - Layer 3 Address 0 Register 5 */
43972 /*! @{ */
43973 
43974 #define ENET_QOS_MAC_LAYER3_ADDR0_REG5_L3A05_MASK (0xFFFFFFFFU)
43975 #define ENET_QOS_MAC_LAYER3_ADDR0_REG5_L3A05_SHIFT (0U)
43976 /*! L3A05 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
43977  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
43978  *    Address field in the IPv6 packets.
43979  */
43980 #define ENET_QOS_MAC_LAYER3_ADDR0_REG5_L3A05(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG5_L3A05_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG5_L3A05_MASK)
43981 /*! @} */
43982 
43983 /*! @name MAC_LAYER3_ADDR1_REG5 - Layer 3 Address 1 Register 5 */
43984 /*! @{ */
43985 
43986 #define ENET_QOS_MAC_LAYER3_ADDR1_REG5_L3A15_MASK (0xFFFFFFFFU)
43987 #define ENET_QOS_MAC_LAYER3_ADDR1_REG5_L3A15_SHIFT (0U)
43988 /*! L3A15 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
43989  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
43990  *    Address field in the IPv6 packets.
43991  */
43992 #define ENET_QOS_MAC_LAYER3_ADDR1_REG5_L3A15(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG5_L3A15_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG5_L3A15_MASK)
43993 /*! @} */
43994 
43995 /*! @name MAC_LAYER3_ADDR2_REG5 - Layer 3 Address 2 Register 5 */
43996 /*! @{ */
43997 
43998 #define ENET_QOS_MAC_LAYER3_ADDR2_REG5_L3A25_MASK (0xFFFFFFFFU)
43999 #define ENET_QOS_MAC_LAYER3_ADDR2_REG5_L3A25_SHIFT (0U)
44000 /*! L3A25 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
44001  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
44002  *    Address field in the IPv6 packets.
44003  */
44004 #define ENET_QOS_MAC_LAYER3_ADDR2_REG5_L3A25(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG5_L3A25_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG5_L3A25_MASK)
44005 /*! @} */
44006 
44007 /*! @name MAC_LAYER3_ADDR3_REG5 - Layer 3 Address 3 Register 5 */
44008 /*! @{ */
44009 
44010 #define ENET_QOS_MAC_LAYER3_ADDR3_REG5_L3A35_MASK (0xFFFFFFFFU)
44011 #define ENET_QOS_MAC_LAYER3_ADDR3_REG5_L3A35_SHIFT (0U)
44012 /*! L3A35 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
44013  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
44014  *    Address field in the IPv6 packets.
44015  */
44016 #define ENET_QOS_MAC_LAYER3_ADDR3_REG5_L3A35(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG5_L3A35_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG5_L3A35_MASK)
44017 /*! @} */
44018 
44019 /*! @name MAC_L3_L4_CONTROL6 - Layer 3 and Layer 4 Control of Filter 6 */
44020 /*! @{ */
44021 
44022 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3PEN6_MASK  (0x1U)
44023 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3PEN6_SHIFT (0U)
44024 /*! L3PEN6 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
44025  *    Address matching is enabled for IPv6 packets.
44026  *  0b0..Layer 3 Protocol is disabled
44027  *  0b1..Layer 3 Protocol is enabled
44028  */
44029 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3PEN6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3PEN6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3PEN6_MASK)
44030 
44031 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAM6_MASK  (0x4U)
44032 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAM6_SHIFT (2U)
44033 /*! L3SAM6 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
44034  *  0b0..Layer 3 IP SA Match is disabled
44035  *  0b1..Layer 3 IP SA Match is enabled
44036  */
44037 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAM6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3SAM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3SAM6_MASK)
44038 
44039 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAIM6_MASK (0x8U)
44040 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAIM6_SHIFT (3U)
44041 /*! L3SAIM6 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
44042  *    field is enabled for inverse matching.
44043  *  0b0..Layer 3 IP SA Inverse Match is disabled
44044  *  0b1..Layer 3 IP SA Inverse Match is enabled
44045  */
44046 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3SAIM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3SAIM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3SAIM6_MASK)
44047 
44048 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAM6_MASK  (0x10U)
44049 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAM6_SHIFT (4U)
44050 /*! L3DAM6 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
44051  *  0b0..Layer 3 IP DA Match is disabled
44052  *  0b1..Layer 3 IP DA Match is enabled
44053  */
44054 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAM6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3DAM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3DAM6_MASK)
44055 
44056 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAIM6_MASK (0x20U)
44057 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAIM6_SHIFT (5U)
44058 /*! L3DAIM6 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
44059  *    Address field is enabled for inverse matching.
44060  *  0b0..Layer 3 IP DA Inverse Match is disabled
44061  *  0b1..Layer 3 IP DA Inverse Match is enabled
44062  */
44063 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3DAIM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3DAIM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3DAIM6_MASK)
44064 
44065 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HSBM6_MASK (0x7C0U)
44066 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HSBM6_SHIFT (6U)
44067 /*! L3HSBM6 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
44068  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
44069  */
44070 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HSBM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3HSBM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3HSBM6_MASK)
44071 
44072 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HDBM6_MASK (0xF800U)
44073 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HDBM6_SHIFT (11U)
44074 /*! L3HDBM6 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
44075  *    bits of IP Destination Address that are matched in the IPv4 packets.
44076  */
44077 #define ENET_QOS_MAC_L3_L4_CONTROL6_L3HDBM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L3HDBM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L3HDBM6_MASK)
44078 
44079 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4PEN6_MASK  (0x10000U)
44080 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4PEN6_SHIFT (16U)
44081 /*! L4PEN6 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
44082  *    fields of UDP packets are used for matching.
44083  *  0b0..Layer 4 Protocol is disabled
44084  *  0b1..Layer 4 Protocol is enabled
44085  */
44086 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4PEN6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L4PEN6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L4PEN6_MASK)
44087 
44088 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPM6_MASK  (0x40000U)
44089 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPM6_SHIFT (18U)
44090 /*! L4SPM6 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
44091  *  0b0..Layer 4 Source Port Match is disabled
44092  *  0b1..Layer 4 Source Port Match is enabled
44093  */
44094 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPM6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L4SPM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L4SPM6_MASK)
44095 
44096 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPIM6_MASK (0x80000U)
44097 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPIM6_SHIFT (19U)
44098 /*! L4SPIM6 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
44099  *    number field is enabled for inverse matching.
44100  *  0b0..Layer 4 Source Port Inverse Match is disabled
44101  *  0b1..Layer 4 Source Port Inverse Match is enabled
44102  */
44103 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4SPIM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L4SPIM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L4SPIM6_MASK)
44104 
44105 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPM6_MASK  (0x100000U)
44106 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPM6_SHIFT (20U)
44107 /*! L4DPM6 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
44108  *    Port number field is enabled for matching.
44109  *  0b0..Layer 4 Destination Port Match is disabled
44110  *  0b1..Layer 4 Destination Port Match is enabled
44111  */
44112 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPM6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L4DPM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L4DPM6_MASK)
44113 
44114 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPIM6_MASK (0x200000U)
44115 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPIM6_SHIFT (21U)
44116 /*! L4DPIM6 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
44117  *    Destination Port number field is enabled for inverse matching.
44118  *  0b0..Layer 4 Destination Port Inverse Match is disabled
44119  *  0b1..Layer 4 Destination Port Inverse Match is enabled
44120  */
44121 #define ENET_QOS_MAC_L3_L4_CONTROL6_L4DPIM6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_L4DPIM6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_L4DPIM6_MASK)
44122 
44123 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHN6_MASK  (0x7000000U)
44124 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHN6_SHIFT (24U)
44125 /*! DMCHN6 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
44126  *    to which the packet passed by this filter is routed.
44127  */
44128 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHN6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_DMCHN6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_DMCHN6_MASK)
44129 
44130 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHEN6_MASK (0x10000000U)
44131 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHEN6_SHIFT (28U)
44132 /*! DMCHEN6 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
44133  *    number for the packet that is passed by this L3_L4 filter.
44134  *  0b0..DMA Channel Select is disabled
44135  *  0b1..DMA Channel Select is enabled
44136  */
44137 #define ENET_QOS_MAC_L3_L4_CONTROL6_DMCHEN6(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL6_DMCHEN6_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL6_DMCHEN6_MASK)
44138 /*! @} */
44139 
44140 /*! @name MAC_LAYER4_ADDRESS6 - Layer 4 Address 6 */
44141 /*! @{ */
44142 
44143 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4SP6_MASK  (0xFFFFU)
44144 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4SP6_SHIFT (0U)
44145 /*! L4SP6 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
44146  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
44147  *    Source Port Number field in the IPv4 or IPv6 packets.
44148  */
44149 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4SP6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS6_L4SP6_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS6_L4SP6_MASK)
44150 
44151 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4DP6_MASK  (0xFFFF0000U)
44152 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4DP6_SHIFT (16U)
44153 /*! L4DP6 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
44154  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
44155  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
44156  */
44157 #define ENET_QOS_MAC_LAYER4_ADDRESS6_L4DP6(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS6_L4DP6_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS6_L4DP6_MASK)
44158 /*! @} */
44159 
44160 /*! @name MAC_LAYER3_ADDR0_REG6 - Layer 3 Address 0 Register 6 */
44161 /*! @{ */
44162 
44163 #define ENET_QOS_MAC_LAYER3_ADDR0_REG6_L3A06_MASK (0xFFFFFFFFU)
44164 #define ENET_QOS_MAC_LAYER3_ADDR0_REG6_L3A06_SHIFT (0U)
44165 /*! L3A06 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
44166  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
44167  *    Address field in the IPv6 packets.
44168  */
44169 #define ENET_QOS_MAC_LAYER3_ADDR0_REG6_L3A06(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG6_L3A06_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG6_L3A06_MASK)
44170 /*! @} */
44171 
44172 /*! @name MAC_LAYER3_ADDR1_REG6 - Layer 3 Address 1 Register 6 */
44173 /*! @{ */
44174 
44175 #define ENET_QOS_MAC_LAYER3_ADDR1_REG6_L3A16_MASK (0xFFFFFFFFU)
44176 #define ENET_QOS_MAC_LAYER3_ADDR1_REG6_L3A16_SHIFT (0U)
44177 /*! L3A16 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
44178  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
44179  *    Address field in the IPv6 packets.
44180  */
44181 #define ENET_QOS_MAC_LAYER3_ADDR1_REG6_L3A16(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG6_L3A16_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG6_L3A16_MASK)
44182 /*! @} */
44183 
44184 /*! @name MAC_LAYER3_ADDR2_REG6 - Layer 3 Address 2 Register 6 */
44185 /*! @{ */
44186 
44187 #define ENET_QOS_MAC_LAYER3_ADDR2_REG6_L3A26_MASK (0xFFFFFFFFU)
44188 #define ENET_QOS_MAC_LAYER3_ADDR2_REG6_L3A26_SHIFT (0U)
44189 /*! L3A26 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
44190  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
44191  *    Address field in the IPv6 packets.
44192  */
44193 #define ENET_QOS_MAC_LAYER3_ADDR2_REG6_L3A26(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG6_L3A26_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG6_L3A26_MASK)
44194 /*! @} */
44195 
44196 /*! @name MAC_LAYER3_ADDR3_REG6 - Layer 3 Address 3 Register 6 */
44197 /*! @{ */
44198 
44199 #define ENET_QOS_MAC_LAYER3_ADDR3_REG6_L3A36_MASK (0xFFFFFFFFU)
44200 #define ENET_QOS_MAC_LAYER3_ADDR3_REG6_L3A36_SHIFT (0U)
44201 /*! L3A36 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
44202  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
44203  *    Address field in the IPv6 packets.
44204  */
44205 #define ENET_QOS_MAC_LAYER3_ADDR3_REG6_L3A36(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG6_L3A36_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG6_L3A36_MASK)
44206 /*! @} */
44207 
44208 /*! @name MAC_L3_L4_CONTROL7 - Layer 3 and Layer 4 Control of Filter 0 */
44209 /*! @{ */
44210 
44211 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3PEN7_MASK  (0x1U)
44212 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3PEN7_SHIFT (0U)
44213 /*! L3PEN7 - Layer 3 Protocol Enable When this bit is set, the Layer 3 IP Source or Destination
44214  *    Address matching is enabled for IPv6 packets.
44215  *  0b0..Layer 3 Protocol is disabled
44216  *  0b1..Layer 3 Protocol is enabled
44217  */
44218 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3PEN7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3PEN7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3PEN7_MASK)
44219 
44220 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAM7_MASK  (0x4U)
44221 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAM7_SHIFT (2U)
44222 /*! L3SAM7 - Layer 3 IP SA Match Enable When this bit is set, the Layer 3 IP Source Address field is enabled for matching.
44223  *  0b0..Layer 3 IP SA Match is disabled
44224  *  0b1..Layer 3 IP SA Match is enabled
44225  */
44226 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAM7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3SAM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3SAM7_MASK)
44227 
44228 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAIM7_MASK (0x8U)
44229 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAIM7_SHIFT (3U)
44230 /*! L3SAIM7 - Layer 3 IP SA Inverse Match Enable When this bit is set, the Layer 3 IP Source Address
44231  *    field is enabled for inverse matching.
44232  *  0b0..Layer 3 IP SA Inverse Match is disabled
44233  *  0b1..Layer 3 IP SA Inverse Match is enabled
44234  */
44235 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3SAIM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3SAIM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3SAIM7_MASK)
44236 
44237 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAM7_MASK  (0x10U)
44238 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAM7_SHIFT (4U)
44239 /*! L3DAM7 - Layer 3 IP DA Match Enable When this bit is set, the Layer 3 IP Destination Address field is enabled for matching.
44240  *  0b0..Layer 3 IP DA Match is disabled
44241  *  0b1..Layer 3 IP DA Match is enabled
44242  */
44243 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAM7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3DAM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3DAM7_MASK)
44244 
44245 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAIM7_MASK (0x20U)
44246 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAIM7_SHIFT (5U)
44247 /*! L3DAIM7 - Layer 3 IP DA Inverse Match Enable When this bit is set, the Layer 3 IP Destination
44248  *    Address field is enabled for inverse matching.
44249  *  0b0..Layer 3 IP DA Inverse Match is disabled
44250  *  0b1..Layer 3 IP DA Inverse Match is enabled
44251  */
44252 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3DAIM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3DAIM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3DAIM7_MASK)
44253 
44254 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HSBM7_MASK (0x7C0U)
44255 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HSBM7_SHIFT (6U)
44256 /*! L3HSBM7 - Layer 3 IP SA Higher Bits Match IPv4 Packets: This field contains the number of lower
44257  *    bits of IP Source Address that are masked for matching in the IPv4 packets.
44258  */
44259 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HSBM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3HSBM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3HSBM7_MASK)
44260 
44261 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HDBM7_MASK (0xF800U)
44262 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HDBM7_SHIFT (11U)
44263 /*! L3HDBM7 - Layer 3 IP DA Higher Bits Match IPv4 Packets: This field contains the number of higher
44264  *    bits of IP Destination Address that are matched in the IPv4 packets.
44265  */
44266 #define ENET_QOS_MAC_L3_L4_CONTROL7_L3HDBM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L3HDBM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L3HDBM7_MASK)
44267 
44268 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4PEN7_MASK  (0x10000U)
44269 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4PEN7_SHIFT (16U)
44270 /*! L4PEN7 - Layer 4 Protocol Enable When this bit is set, the Source and Destination Port number
44271  *    fields of UDP packets are used for matching.
44272  *  0b0..Layer 4 Protocol is disabled
44273  *  0b1..Layer 4 Protocol is enabled
44274  */
44275 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4PEN7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L4PEN7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L4PEN7_MASK)
44276 
44277 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPM7_MASK  (0x40000U)
44278 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPM7_SHIFT (18U)
44279 /*! L4SPM7 - Layer 4 Source Port Match Enable When this bit is set, the Layer 4 Source Port number field is enabled for matching.
44280  *  0b0..Layer 4 Source Port Match is disabled
44281  *  0b1..Layer 4 Source Port Match is enabled
44282  */
44283 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPM7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L4SPM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L4SPM7_MASK)
44284 
44285 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPIM7_MASK (0x80000U)
44286 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPIM7_SHIFT (19U)
44287 /*! L4SPIM7 - Layer 4 Source Port Inverse Match Enable When this bit is set, the Layer 4 Source Port
44288  *    number field is enabled for inverse matching.
44289  *  0b0..Layer 4 Source Port Inverse Match is disabled
44290  *  0b1..Layer 4 Source Port Inverse Match is enabled
44291  */
44292 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4SPIM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L4SPIM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L4SPIM7_MASK)
44293 
44294 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPM7_MASK  (0x100000U)
44295 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPM7_SHIFT (20U)
44296 /*! L4DPM7 - Layer 4 Destination Port Match Enable When this bit is set, the Layer 4 Destination
44297  *    Port number field is enabled for matching.
44298  *  0b0..Layer 4 Destination Port Match is disabled
44299  *  0b1..Layer 4 Destination Port Match is enabled
44300  */
44301 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPM7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L4DPM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L4DPM7_MASK)
44302 
44303 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPIM7_MASK (0x200000U)
44304 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPIM7_SHIFT (21U)
44305 /*! L4DPIM7 - Layer 4 Destination Port Inverse Match Enable When this bit is set, the Layer 4
44306  *    Destination Port number field is enabled for inverse matching.
44307  *  0b0..Layer 4 Destination Port Inverse Match is disabled
44308  *  0b1..Layer 4 Destination Port Inverse Match is enabled
44309  */
44310 #define ENET_QOS_MAC_L3_L4_CONTROL7_L4DPIM7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_L4DPIM7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_L4DPIM7_MASK)
44311 
44312 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHN7_MASK  (0x7000000U)
44313 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHN7_SHIFT (24U)
44314 /*! DMCHN7 - DMA Channel Number When DMCHEN is set high, this field selects the DMA Channel number
44315  *    to which the packet passed by this filter is routed.
44316  */
44317 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHN7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_DMCHN7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_DMCHN7_MASK)
44318 
44319 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHEN7_MASK (0x10000000U)
44320 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHEN7_SHIFT (28U)
44321 /*! DMCHEN7 - DMA Channel Select Enable When set, this bit enables the selection of the DMA channel
44322  *    number for the packet that is passed by this L3_L4 filter.
44323  *  0b0..DMA Channel Select is disabled
44324  *  0b1..DMA Channel Select is enabled
44325  */
44326 #define ENET_QOS_MAC_L3_L4_CONTROL7_DMCHEN7(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_L3_L4_CONTROL7_DMCHEN7_SHIFT)) & ENET_QOS_MAC_L3_L4_CONTROL7_DMCHEN7_MASK)
44327 /*! @} */
44328 
44329 /*! @name MAC_LAYER4_ADDRESS7 - Layer 4 Address 7 */
44330 /*! @{ */
44331 
44332 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4SP7_MASK  (0xFFFFU)
44333 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4SP7_SHIFT (0U)
44334 /*! L4SP7 - Layer 4 Source Port Number Field When the L4PEN0 bit is reset and the L4SPM0 bit is set
44335  *    in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the TCP
44336  *    Source Port Number field in the IPv4 or IPv6 packets.
44337  */
44338 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4SP7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS7_L4SP7_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS7_L4SP7_MASK)
44339 
44340 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4DP7_MASK  (0xFFFF0000U)
44341 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4DP7_SHIFT (16U)
44342 /*! L4DP7 - Layer 4 Destination Port Number Field When the L4PEN0 bit is reset and the L4DPM0 bit is
44343  *    set in the MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with the
44344  *    TCP Destination Port Number field in the IPv4 or IPv6 packets.
44345  */
44346 #define ENET_QOS_MAC_LAYER4_ADDRESS7_L4DP7(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER4_ADDRESS7_L4DP7_SHIFT)) & ENET_QOS_MAC_LAYER4_ADDRESS7_L4DP7_MASK)
44347 /*! @} */
44348 
44349 /*! @name MAC_LAYER3_ADDR0_REG7 - Layer 3 Address 0 Register 7 */
44350 /*! @{ */
44351 
44352 #define ENET_QOS_MAC_LAYER3_ADDR0_REG7_L3A07_MASK (0xFFFFFFFFU)
44353 #define ENET_QOS_MAC_LAYER3_ADDR0_REG7_L3A07_SHIFT (0U)
44354 /*! L3A07 - Layer 3 Address 0 Field When the L3PEN0 and L3SAM0 bits are set in the
44355  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[31:0] of the IP Source
44356  *    Address field in the IPv6 packets.
44357  */
44358 #define ENET_QOS_MAC_LAYER3_ADDR0_REG7_L3A07(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR0_REG7_L3A07_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR0_REG7_L3A07_MASK)
44359 /*! @} */
44360 
44361 /*! @name MAC_LAYER3_ADDR1_REG7 - Layer 3 Address 1 Register 7 */
44362 /*! @{ */
44363 
44364 #define ENET_QOS_MAC_LAYER3_ADDR1_REG7_L3A17_MASK (0xFFFFFFFFU)
44365 #define ENET_QOS_MAC_LAYER3_ADDR1_REG7_L3A17_SHIFT (0U)
44366 /*! L3A17 - Layer 3 Address 1 Field When the L3PEN0 and L3SAM0 bits are set in the
44367  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[63:32] of the IP Source
44368  *    Address field in the IPv6 packets.
44369  */
44370 #define ENET_QOS_MAC_LAYER3_ADDR1_REG7_L3A17(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR1_REG7_L3A17_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR1_REG7_L3A17_MASK)
44371 /*! @} */
44372 
44373 /*! @name MAC_LAYER3_ADDR2_REG7 - Layer 3 Address 2 Register 7 */
44374 /*! @{ */
44375 
44376 #define ENET_QOS_MAC_LAYER3_ADDR2_REG7_L3A27_MASK (0xFFFFFFFFU)
44377 #define ENET_QOS_MAC_LAYER3_ADDR2_REG7_L3A27_SHIFT (0U)
44378 /*! L3A27 - Layer 3 Address 2 Field When the L3PEN0 and L3SAM0 bits are set in the
44379  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[95:64] of the IP Source
44380  *    Address field in the IPv6 packets.
44381  */
44382 #define ENET_QOS_MAC_LAYER3_ADDR2_REG7_L3A27(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR2_REG7_L3A27_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR2_REG7_L3A27_MASK)
44383 /*! @} */
44384 
44385 /*! @name MAC_LAYER3_ADDR3_REG7 - Layer 3 Address 3 Register 7 */
44386 /*! @{ */
44387 
44388 #define ENET_QOS_MAC_LAYER3_ADDR3_REG7_L3A37_MASK (0xFFFFFFFFU)
44389 #define ENET_QOS_MAC_LAYER3_ADDR3_REG7_L3A37_SHIFT (0U)
44390 /*! L3A37 - Layer 3 Address 3 Field When the L3PEN0 and L3SAM0 bits are set in the
44391  *    MAC_L3_L4_CONTROL0 register, this field contains the value to be matched with Bits[127:96] of the IP Source
44392  *    Address field in the IPv6 packets.
44393  */
44394 #define ENET_QOS_MAC_LAYER3_ADDR3_REG7_L3A37(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LAYER3_ADDR3_REG7_L3A37_SHIFT)) & ENET_QOS_MAC_LAYER3_ADDR3_REG7_L3A37_MASK)
44395 /*! @} */
44396 
44397 /*! @name MAC_TIMESTAMP_CONTROL - Timestamp Control */
44398 /*! @{ */
44399 
44400 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENA_MASK (0x1U)
44401 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENA_SHIFT (0U)
44402 /*! TSENA - Enable Timestamp When this bit is set, the timestamp is added for Transmit and Receive packets.
44403  *  0b0..Timestamp is disabled
44404  *  0b1..Timestamp is enabled
44405  */
44406 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENA(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENA_MASK)
44407 
44408 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCFUPDT_MASK (0x2U)
44409 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCFUPDT_SHIFT (1U)
44410 /*! TSCFUPDT - Fine or Coarse Timestamp Update When this bit is set, the Fine method is used to update system timestamp.
44411  *  0b0..Coarse method is used to update system timestamp
44412  *  0b1..Fine method is used to update system timestamp
44413  */
44414 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCFUPDT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCFUPDT_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCFUPDT_MASK)
44415 
44416 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSINIT_MASK (0x4U)
44417 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSINIT_SHIFT (2U)
44418 /*! TSINIT - Initialize Timestamp When this bit is set, the system time is initialized (overwritten)
44419  *    with the value specified in the MAC_System_Time_Seconds_Update and
44420  *    MAC_System_Time_Nanoseconds_Update registers.
44421  *  0b0..Timestamp is not initialized
44422  *  0b1..Timestamp is initialized
44423  */
44424 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSINIT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSINIT_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSINIT_MASK)
44425 
44426 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSUPDT_MASK (0x8U)
44427 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSUPDT_SHIFT (3U)
44428 /*! TSUPDT - Update Timestamp When this bit is set, the system time is updated (added or subtracted)
44429  *    with the value specified in MAC_System_Time_Seconds_Update and
44430  *    MAC_System_Time_Nanoseconds_Update registers.
44431  *  0b0..Timestamp is not updated
44432  *  0b1..Timestamp is updated
44433  */
44434 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSUPDT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSUPDT_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSUPDT_MASK)
44435 
44436 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSADDREG_MASK (0x20U)
44437 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSADDREG_SHIFT (5U)
44438 /*! TSADDREG - Update Addend Register When this bit is set, the content of the Timestamp Addend
44439  *    register is updated in the PTP block for fine correction.
44440  *  0b0..Addend Register is not updated
44441  *  0b1..Addend Register is updated
44442  */
44443 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSADDREG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSADDREG_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSADDREG_MASK)
44444 
44445 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_PTGE_MASK (0x40U)
44446 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_PTGE_SHIFT (6U)
44447 /*! PTGE - Presentation Time Generation Enable When this bit is set the Presentation Time generation will be enabled.
44448  *  0b0..Presentation Time Generation is disabled
44449  *  0b1..Presentation Time Generation is enabled
44450  */
44451 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_PTGE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_PTGE_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_PTGE_MASK)
44452 
44453 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENALL_MASK (0x100U)
44454 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENALL_SHIFT (8U)
44455 /*! TSENALL - Enable Timestamp for All Packets When this bit is set, the timestamp snapshot is
44456  *    enabled for all packets received by the MAC.
44457  *  0b0..Timestamp for All Packets disabled
44458  *  0b1..Timestamp for All Packets enabled
44459  */
44460 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENALL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENALL_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENALL_MASK)
44461 
44462 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR_MASK (0x200U)
44463 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR_SHIFT (9U)
44464 /*! TSCTRLSSR - Timestamp Digital or Binary Rollover Control When this bit is set, the Timestamp Low
44465  *    register rolls over after 0x3B9A_C9FF value (that is, 1 nanosecond accuracy) and increments
44466  *    the timestamp (High) seconds.
44467  *  0b0..Timestamp Digital or Binary Rollover Control is disabled
44468  *  0b1..Timestamp Digital or Binary Rollover Control is enabled
44469  */
44470 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR_MASK)
44471 
44472 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSVER2ENA_MASK (0x400U)
44473 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSVER2ENA_SHIFT (10U)
44474 /*! TSVER2ENA - Enable PTP Packet Processing for Version 2 Format When this bit is set, the IEEE
44475  *    1588 version 2 format is used to process the PTP packets.
44476  *  0b0..PTP Packet Processing for Version 2 Format is disabled
44477  *  0b1..PTP Packet Processing for Version 2 Format is enabled
44478  */
44479 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSVER2ENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSVER2ENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSVER2ENA_MASK)
44480 
44481 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPENA_MASK (0x800U)
44482 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPENA_SHIFT (11U)
44483 /*! TSIPENA - Enable Processing of PTP over Ethernet Packets When this bit is set, the MAC receiver
44484  *    processes the PTP packets encapsulated directly in the Ethernet packets.
44485  *  0b0..Processing of PTP over Ethernet Packets is disabled
44486  *  0b1..Processing of PTP over Ethernet Packets is enabled
44487  */
44488 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPENA_MASK)
44489 
44490 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV6ENA_MASK (0x1000U)
44491 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV6ENA_SHIFT (12U)
44492 /*! TSIPV6ENA - Enable Processing of PTP Packets Sent over IPv6-UDP When this bit is set, the MAC
44493  *    receiver processes the PTP packets encapsulated in IPv6-UDP packets.
44494  *  0b0..Processing of PTP Packets Sent over IPv6-UDP is disabled
44495  *  0b1..Processing of PTP Packets Sent over IPv6-UDP is enabled
44496  */
44497 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV6ENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV6ENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV6ENA_MASK)
44498 
44499 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV4ENA_MASK (0x2000U)
44500 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV4ENA_SHIFT (13U)
44501 /*! TSIPV4ENA - Enable Processing of PTP Packets Sent over IPv4-UDP When this bit is set, the MAC
44502  *    receiver processes the PTP packets encapsulated in IPv4-UDP packets.
44503  *  0b0..Processing of PTP Packets Sent over IPv4-UDP is disabled
44504  *  0b1..Processing of PTP Packets Sent over IPv4-UDP is enabled
44505  */
44506 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV4ENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV4ENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSIPV4ENA_MASK)
44507 
44508 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSEVNTENA_MASK (0x4000U)
44509 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSEVNTENA_SHIFT (14U)
44510 /*! TSEVNTENA - Enable Timestamp Snapshot for Event Messages When this bit is set, the timestamp
44511  *    snapshot is taken only for event messages (SYNC, Delay_Req, Pdelay_Req, or Pdelay_Resp).
44512  *  0b0..Timestamp Snapshot for Event Messages is disabled
44513  *  0b1..Timestamp Snapshot for Event Messages is enabled
44514  */
44515 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSEVNTENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSEVNTENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSEVNTENA_MASK)
44516 
44517 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSMSTRENA_MASK (0x8000U)
44518 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSMSTRENA_SHIFT (15U)
44519 /*! TSMSTRENA - Enable Snapshot for Messages Relevant to Master When this bit is set, the snapshot
44520  *    is taken only for the messages that are relevant to the master node.
44521  *  0b0..Snapshot for Messages Relevant to Master is disabled
44522  *  0b1..Snapshot for Messages Relevant to Master is enabled
44523  */
44524 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSMSTRENA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSMSTRENA_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSMSTRENA_MASK)
44525 
44526 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_SNAPTYPSEL_MASK (0x30000U)
44527 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_SNAPTYPSEL_SHIFT (16U)
44528 /*! SNAPTYPSEL - Select PTP packets for Taking Snapshots These bits, along with Bits 15 and 14,
44529  *    decide the set of PTP packet types for which snapshot needs to be taken.
44530  */
44531 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_SNAPTYPSEL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_SNAPTYPSEL_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_SNAPTYPSEL_MASK)
44532 
44533 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENMACADDR_MASK (0x40000U)
44534 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENMACADDR_SHIFT (18U)
44535 /*! TSENMACADDR - Enable MAC Address for PTP Packet Filtering When this bit is set, the DA MAC
44536  *    address (that matches any MAC Address register) is used to filter the PTP packets when PTP is
44537  *    directly sent over Ethernet.
44538  *  0b0..MAC Address for PTP Packet Filtering is disabled
44539  *  0b1..MAC Address for PTP Packet Filtering is enabled
44540  */
44541 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENMACADDR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENMACADDR_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TSENMACADDR_MASK)
44542 
44543 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_CSC_MASK  (0x80000U)
44544 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_CSC_SHIFT (19U)
44545 /*! CSC - Enable checksum correction during OST for PTP over UDP/IPv4 packets When this bit is set,
44546  *    the last two bytes of PTP message sent over UDP/IPv4 is updated to keep the UDP checksum
44547  *    correct, for changes made to origin timestamp and/or correction field as part of one step timestamp
44548  *    operation.
44549  *  0b0..checksum correction during OST for PTP over UDP/IPv4 packets is disabled
44550  *  0b1..checksum correction during OST for PTP over UDP/IPv4 packets is enabled
44551  */
44552 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_CSC(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_CSC_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_CSC_MASK)
44553 
44554 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_ESTI_MASK (0x100000U)
44555 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_ESTI_SHIFT (20U)
44556 /*! ESTI - External System Time Input When this bit is set, the MAC uses the external 64-bit
44557  *    reference System Time input for the following: - To take the timestamp provided as status - To insert
44558  *    the timestamp in transmit PTP packets when One-step Timestamp or Timestamp Offload feature is
44559  *    enabled.
44560  *  0b0..External System Time Input is disabled
44561  *  0b1..External System Time Input is enabled
44562  */
44563 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_ESTI(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_ESTI_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_ESTI_MASK)
44564 
44565 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TXTSSTSM_MASK (0x1000000U)
44566 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TXTSSTSM_SHIFT (24U)
44567 /*! TXTSSTSM - Transmit Timestamp Status Mode When this bit is set, the MAC overwrites the earlier
44568  *    transmit timestamp status even if it is not read by the software.
44569  *  0b0..Transmit Timestamp Status Mode is disabled
44570  *  0b1..Transmit Timestamp Status Mode is enabled
44571  */
44572 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_TXTSSTSM(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_TXTSSTSM_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_TXTSSTSM_MASK)
44573 
44574 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_AV8021ASMEN_MASK (0x10000000U)
44575 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_AV8021ASMEN_SHIFT (28U)
44576 /*! AV8021ASMEN - AV 802.
44577  *  0b0..AV 802.1AS Mode is disabled
44578  *  0b1..AV 802.1AS Mode is enabled
44579  */
44580 #define ENET_QOS_MAC_TIMESTAMP_CONTROL_AV8021ASMEN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_CONTROL_AV8021ASMEN_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_CONTROL_AV8021ASMEN_MASK)
44581 /*! @} */
44582 
44583 /*! @name MAC_SUB_SECOND_INCREMENT - Subsecond Increment */
44584 /*! @{ */
44585 
44586 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SNSINC_MASK (0xFF00U)
44587 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SNSINC_SHIFT (8U)
44588 /*! SNSINC - Sub-nanosecond Increment Value This field contains the sub-nanosecond increment value,
44589  *    represented in nanoseconds multiplied by 2^8.
44590  */
44591 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SNSINC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SUB_SECOND_INCREMENT_SNSINC_SHIFT)) & ENET_QOS_MAC_SUB_SECOND_INCREMENT_SNSINC_MASK)
44592 
44593 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SSINC_MASK (0xFF0000U)
44594 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SSINC_SHIFT (16U)
44595 /*! SSINC - Sub-second Increment Value The value programmed in this field is accumulated every clock
44596  *    cycle (of clk_ptp_i) with the contents of the sub-second register.
44597  */
44598 #define ENET_QOS_MAC_SUB_SECOND_INCREMENT_SSINC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SUB_SECOND_INCREMENT_SSINC_SHIFT)) & ENET_QOS_MAC_SUB_SECOND_INCREMENT_SSINC_MASK)
44599 /*! @} */
44600 
44601 /*! @name MAC_SYSTEM_TIME_SECONDS - System Time Seconds */
44602 /*! @{ */
44603 
44604 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_TSS_MASK (0xFFFFFFFFU)
44605 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_TSS_SHIFT (0U)
44606 /*! TSS - Timestamp Second The value in this field indicates the current value in seconds of the
44607  *    System Time maintained by the MAC.
44608  */
44609 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_TSS(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_SECONDS_TSS_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_SECONDS_TSS_MASK)
44610 /*! @} */
44611 
44612 /*! @name MAC_SYSTEM_TIME_NANOSECONDS - System Time Nanoseconds */
44613 /*! @{ */
44614 
44615 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_TSSS_MASK (0x7FFFFFFFU)
44616 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_TSSS_SHIFT (0U)
44617 /*! TSSS - Timestamp Sub Seconds The value in this field has the sub-second representation of time, with an accuracy of 0.
44618  */
44619 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_TSSS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_TSSS_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_TSSS_MASK)
44620 /*! @} */
44621 
44622 /*! @name MAC_SYSTEM_TIME_SECONDS_UPDATE - System Time Seconds Update */
44623 /*! @{ */
44624 
44625 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_UPDATE_TSS_MASK (0xFFFFFFFFU)
44626 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_UPDATE_TSS_SHIFT (0U)
44627 /*! TSS - Timestamp Seconds The value in this field is the seconds part of the update.
44628  */
44629 #define ENET_QOS_MAC_SYSTEM_TIME_SECONDS_UPDATE_TSS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_SECONDS_UPDATE_TSS_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_SECONDS_UPDATE_TSS_MASK)
44630 /*! @} */
44631 
44632 /*! @name MAC_SYSTEM_TIME_NANOSECONDS_UPDATE - System Time Nanoseconds Update */
44633 /*! @{ */
44634 
44635 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_TSSS_MASK (0x7FFFFFFFU)
44636 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_TSSS_SHIFT (0U)
44637 /*! TSSS - Timestamp Sub Seconds The value in this field is the sub-seconds part of the update.
44638  */
44639 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_TSSS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_TSSS_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_TSSS_MASK)
44640 
44641 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_ADDSUB_MASK (0x80000000U)
44642 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_ADDSUB_SHIFT (31U)
44643 /*! ADDSUB - Add or Subtract Time When this bit is set, the time value is subtracted with the contents of the update register.
44644  *  0b0..Add time
44645  *  0b1..Subtract time
44646  */
44647 #define ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_ADDSUB(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_ADDSUB_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_NANOSECONDS_UPDATE_ADDSUB_MASK)
44648 /*! @} */
44649 
44650 /*! @name MAC_TIMESTAMP_ADDEND - Timestamp Addend */
44651 /*! @{ */
44652 
44653 #define ENET_QOS_MAC_TIMESTAMP_ADDEND_TSAR_MASK  (0xFFFFFFFFU)
44654 #define ENET_QOS_MAC_TIMESTAMP_ADDEND_TSAR_SHIFT (0U)
44655 /*! TSAR - Timestamp Addend Register This field indicates the 32-bit time value to be added to the
44656  *    Accumulator register to achieve time synchronization.
44657  */
44658 #define ENET_QOS_MAC_TIMESTAMP_ADDEND_TSAR(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_ADDEND_TSAR_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_ADDEND_TSAR_MASK)
44659 /*! @} */
44660 
44661 /*! @name MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS - System Time - Higher Word Seconds */
44662 /*! @{ */
44663 
44664 #define ENET_QOS_MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS_TSHWR_MASK (0xFFFFU)
44665 #define ENET_QOS_MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS_TSHWR_SHIFT (0U)
44666 /*! TSHWR - Timestamp Higher Word Register This field contains the most-significant 16-bits of timestamp seconds value.
44667  */
44668 #define ENET_QOS_MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS_TSHWR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS_TSHWR_SHIFT)) & ENET_QOS_MAC_SYSTEM_TIME_HIGHER_WORD_SECONDS_TSHWR_MASK)
44669 /*! @} */
44670 
44671 /*! @name MAC_TIMESTAMP_STATUS - Timestamp Status */
44672 /*! @{ */
44673 
44674 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSSOVF_MASK (0x1U)
44675 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSSOVF_SHIFT (0U)
44676 /*! TSSOVF - Timestamp Seconds Overflow When this bit is set, it indicates that the seconds value of
44677  *    the timestamp (when supporting version 2 format) has overflowed beyond 32'hFFFF_FFFF.
44678  *  0b1..Timestamp Seconds Overflow status detected
44679  *  0b0..Timestamp Seconds Overflow status not detected
44680  */
44681 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSSOVF(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSSOVF_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSSOVF_MASK)
44682 
44683 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT0_MASK (0x2U)
44684 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT0_SHIFT (1U)
44685 /*! TSTARGT0 - Timestamp Target Time Reached When set, this bit indicates that the value of system
44686  *    time is greater than or equal to the value specified in the MAC_PPS0_Target_Time_Seconds and
44687  *    MAC_PPS0_Target_Time_Nanoseconds registers.
44688  *  0b1..Timestamp Target Time Reached status detected
44689  *  0b0..Timestamp Target Time Reached status not detected
44690  */
44691 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT0_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT0_MASK)
44692 
44693 #define ENET_QOS_MAC_TIMESTAMP_STATUS_AUXTSTRIG_MASK (0x4U)
44694 #define ENET_QOS_MAC_TIMESTAMP_STATUS_AUXTSTRIG_SHIFT (2U)
44695 /*! AUXTSTRIG - Auxiliary Timestamp Trigger Snapshot This bit is set high when the auxiliary snapshot is written to the FIFO.
44696  *  0b1..Auxiliary Timestamp Trigger Snapshot status detected
44697  *  0b0..Auxiliary Timestamp Trigger Snapshot status not detected
44698  */
44699 #define ENET_QOS_MAC_TIMESTAMP_STATUS_AUXTSTRIG(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_AUXTSTRIG_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_AUXTSTRIG_MASK)
44700 
44701 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR0_MASK (0x8U)
44702 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR0_SHIFT (3U)
44703 /*! TSTRGTERR0 - Timestamp Target Time Error This bit is set when the latest target time programmed
44704  *    in the MAC_PPS0_Target_Time_Seconds and MAC_PPS0_Target_Time_Nanoseconds registers elapses.
44705  *  0b1..Timestamp Target Time Error status detected
44706  *  0b0..Timestamp Target Time Error status not detected
44707  */
44708 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR0_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR0_MASK)
44709 
44710 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT1_MASK (0x10U)
44711 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT1_SHIFT (4U)
44712 /*! TSTARGT1 - Timestamp Target Time Reached for Target Time PPS1 When set, this bit indicates that
44713  *    the value of system time is greater than or equal to the value specified in the
44714  *    MAC_PPS1_TARGET_TIME_SECONDS and MAC_PPS1_TARGET_TIME_NANOSECONDS registers.
44715  *  0b1..Timestamp Target Time Reached for Target Time PPS1 status detected
44716  *  0b0..Timestamp Target Time Reached for Target Time PPS1 status not detected
44717  */
44718 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT1_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT1_MASK)
44719 
44720 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR1_MASK (0x20U)
44721 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR1_SHIFT (5U)
44722 /*! TSTRGTERR1 - Timestamp Target Time Error This bit is set when the latest target time programmed
44723  *    in the MAC_PPS1_TARGET_TIME_SECONDS and MAC_PPS1_TARGET_TIME_NANOSECONDS registers elapses.
44724  *  0b1..Timestamp Target Time Error status detected
44725  *  0b0..Timestamp Target Time Error status not detected
44726  */
44727 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR1_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR1_MASK)
44728 
44729 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT2_MASK (0x40U)
44730 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT2_SHIFT (6U)
44731 /*! TSTARGT2 - Timestamp Target Time Reached for Target Time PPS2 When set, this bit indicates that
44732  *    the value of system time is greater than or equal to the value specified in the
44733  *    MAC_PPS2_TARGET_TIME_SECONDS and MAC_PPS2_TARGET_TIME_NANOSECONDS registers.
44734  *  0b1..Timestamp Target Time Reached for Target Time PPS2 status detected
44735  *  0b0..Timestamp Target Time Reached for Target Time PPS2 status not detected
44736  */
44737 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT2_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT2_MASK)
44738 
44739 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR2_MASK (0x80U)
44740 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR2_SHIFT (7U)
44741 /*! TSTRGTERR2 - Timestamp Target Time Error This bit is set when the latest target time programmed
44742  *    in the MAC_PPS2_TARGET_TIME_SECONDS and MAC_PPS2_TARGET_TIME_NANOSECONDS registers elapses.
44743  *  0b1..Timestamp Target Time Error status detected
44744  *  0b0..Timestamp Target Time Error status not detected
44745  */
44746 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR2_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR2_MASK)
44747 
44748 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT3_MASK (0x100U)
44749 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT3_SHIFT (8U)
44750 /*! TSTARGT3 - Timestamp Target Time Reached for Target Time PPS3 When this bit is set, it indicates
44751  *    that the value of system time is greater than or equal to the value specified in the
44752  *    MAC_PPS3_TARGET_TIME_SECONDS and MAC_PPS3_TARGET_TIME_NANOSECONDS registers.
44753  *  0b1..Timestamp Target Time Reached for Target Time PPS3 status detected
44754  *  0b0..Timestamp Target Time Reached for Target Time PPS3 status not detected
44755  */
44756 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT3_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTARGT3_MASK)
44757 
44758 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR3_MASK (0x200U)
44759 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR3_SHIFT (9U)
44760 /*! TSTRGTERR3 - Timestamp Target Time Error This bit is set when the latest target time programmed
44761  *    in the MAC_PPS3_TARGET_TIME_SECONDS and MAC_PPS3_TARGET_TIME_NANOSECONDS registers elapses.
44762  *  0b1..Timestamp Target Time Error status detected
44763  *  0b0..Timestamp Target Time Error status not detected
44764  */
44765 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR3_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TSTRGTERR3_MASK)
44766 
44767 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TXTSSIS_MASK (0x8000U)
44768 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TXTSSIS_SHIFT (15U)
44769 /*! TXTSSIS - Tx Timestamp Status Interrupt Status In non-EQOS_CORE configurations when drop
44770  *    transmit status is enabled in MTL, this bit is set when the captured transmit timestamp is updated in
44771  *    the MAC_TX_TIMESTAMP_STATUS_NANOSECONDS and MAC_TX_TIMESTAMP_STATUS_SECONDS registers.
44772  *  0b1..Tx Timestamp Status Interrupt status detected
44773  *  0b0..Tx Timestamp Status Interrupt status not detected
44774  */
44775 #define ENET_QOS_MAC_TIMESTAMP_STATUS_TXTSSIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_TXTSSIS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_TXTSSIS_MASK)
44776 
44777 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTN_MASK (0xF0000U)
44778 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTN_SHIFT (16U)
44779 /*! ATSSTN - Auxiliary Timestamp Snapshot Trigger Identifier These bits identify the Auxiliary
44780  *    trigger inputs for which the timestamp available in the Auxiliary Snapshot Register is applicable.
44781  */
44782 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTN(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTN_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTN_MASK)
44783 
44784 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTM_MASK (0x1000000U)
44785 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTM_SHIFT (24U)
44786 /*! ATSSTM - Auxiliary Timestamp Snapshot Trigger Missed This bit is set when the Auxiliary
44787  *    timestamp snapshot FIFO is full and external trigger was set.
44788  *  0b1..Auxiliary Timestamp Snapshot Trigger Missed status detected
44789  *  0b0..Auxiliary Timestamp Snapshot Trigger Missed status not detected
44790  */
44791 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTM(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTM_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_ATSSTM_MASK)
44792 
44793 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSNS_MASK (0x3E000000U)
44794 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSNS_SHIFT (25U)
44795 /*! ATSNS - Number of Auxiliary Timestamp Snapshots This field indicates the number of Snapshots available in the FIFO.
44796  */
44797 #define ENET_QOS_MAC_TIMESTAMP_STATUS_ATSNS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_STATUS_ATSNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_STATUS_ATSNS_MASK)
44798 /*! @} */
44799 
44800 /*! @name MAC_TX_TIMESTAMP_STATUS_NANOSECONDS - Transmit Timestamp Status Nanoseconds */
44801 /*! @{ */
44802 
44803 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSLO_MASK (0x7FFFFFFFU)
44804 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSLO_SHIFT (0U)
44805 /*! TXTSSLO - Transmit Timestamp Status Low This field contains the 31 bits of the Nanoseconds field
44806  *    of the Transmit packet's captured timestamp.
44807  */
44808 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSLO(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSLO_SHIFT)) & ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSLO_MASK)
44809 
44810 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSMIS_MASK (0x80000000U)
44811 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSMIS_SHIFT (31U)
44812 /*! TXTSSMIS - Transmit Timestamp Status Missed When this bit is set, it indicates one of the
44813  *    following: - The timestamp of the current packet is ignored if TXTSSTSM bit of the TIMESTAMP_CONTROL
44814  *    register is reset - The timestamp of the previous packet is overwritten with timestamp of the
44815  *    current packet if TXTSSTSM bit of the MAC_TIMESTAMP_CONTROL register is set.
44816  *  0b1..Transmit Timestamp Status Missed status detected
44817  *  0b0..Transmit Timestamp Status Missed status not detected
44818  */
44819 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSMIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSMIS_SHIFT)) & ENET_QOS_MAC_TX_TIMESTAMP_STATUS_NANOSECONDS_TXTSSMIS_MASK)
44820 /*! @} */
44821 
44822 /*! @name MAC_TX_TIMESTAMP_STATUS_SECONDS - Transmit Timestamp Status Seconds */
44823 /*! @{ */
44824 
44825 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_SECONDS_TXTSSHI_MASK (0xFFFFFFFFU)
44826 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_SECONDS_TXTSSHI_SHIFT (0U)
44827 /*! TXTSSHI - Transmit Timestamp Status High This field contains the lower 32 bits of the Seconds
44828  *    field of Transmit packet's captured timestamp.
44829  */
44830 #define ENET_QOS_MAC_TX_TIMESTAMP_STATUS_SECONDS_TXTSSHI(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TX_TIMESTAMP_STATUS_SECONDS_TXTSSHI_SHIFT)) & ENET_QOS_MAC_TX_TIMESTAMP_STATUS_SECONDS_TXTSSHI_MASK)
44831 /*! @} */
44832 
44833 /*! @name MAC_AUXILIARY_CONTROL - Auxiliary Timestamp Control */
44834 /*! @{ */
44835 
44836 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSFC_MASK (0x1U)
44837 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSFC_SHIFT (0U)
44838 /*! ATSFC - Auxiliary Snapshot FIFO Clear When set, this bit resets the pointers of the Auxiliary Snapshot FIFO.
44839  *  0b0..Auxiliary Snapshot FIFO Clear is disabled
44840  *  0b1..Auxiliary Snapshot FIFO Clear is enabled
44841  */
44842 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSFC(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_CONTROL_ATSFC_SHIFT)) & ENET_QOS_MAC_AUXILIARY_CONTROL_ATSFC_MASK)
44843 
44844 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN0_MASK (0x10U)
44845 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN0_SHIFT (4U)
44846 /*! ATSEN0 - Auxiliary Snapshot 0 Enable This bit controls the capturing of Auxiliary Snapshot Trigger 0.
44847  *  0b0..Auxiliary Snapshot $i is disabled
44848  *  0b1..Auxiliary Snapshot $i is enabled
44849  */
44850 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN0_SHIFT)) & ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN0_MASK)
44851 
44852 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN1_MASK (0x20U)
44853 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN1_SHIFT (5U)
44854 /*! ATSEN1 - Auxiliary Snapshot 1 Enable This bit controls the capturing of Auxiliary Snapshot Trigger 1.
44855  *  0b0..Auxiliary Snapshot $i is disabled
44856  *  0b1..Auxiliary Snapshot $i is enabled
44857  */
44858 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN1_SHIFT)) & ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN1_MASK)
44859 
44860 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN2_MASK (0x40U)
44861 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN2_SHIFT (6U)
44862 /*! ATSEN2 - Auxiliary Snapshot 2 Enable This bit controls the capturing of Auxiliary Snapshot Trigger 2.
44863  *  0b0..Auxiliary Snapshot $i is disabled
44864  *  0b1..Auxiliary Snapshot $i is enabled
44865  */
44866 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN2_SHIFT)) & ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN2_MASK)
44867 
44868 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN3_MASK (0x80U)
44869 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN3_SHIFT (7U)
44870 /*! ATSEN3 - Auxiliary Snapshot 3 Enable This bit controls the capturing of Auxiliary Snapshot Trigger 3.
44871  *  0b0..Auxiliary Snapshot $i is disabled
44872  *  0b1..Auxiliary Snapshot $i is enabled
44873  */
44874 #define ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN3_SHIFT)) & ENET_QOS_MAC_AUXILIARY_CONTROL_ATSEN3_MASK)
44875 /*! @} */
44876 
44877 /*! @name MAC_AUXILIARY_TIMESTAMP_NANOSECONDS - Auxiliary Timestamp Nanoseconds */
44878 /*! @{ */
44879 
44880 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_NANOSECONDS_AUXTSLO_MASK (0x7FFFFFFFU)
44881 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_NANOSECONDS_AUXTSLO_SHIFT (0U)
44882 /*! AUXTSLO - Auxiliary Timestamp Contains the lower 31 bits (nanoseconds field) of the auxiliary timestamp.
44883  */
44884 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_NANOSECONDS_AUXTSLO(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_TIMESTAMP_NANOSECONDS_AUXTSLO_SHIFT)) & ENET_QOS_MAC_AUXILIARY_TIMESTAMP_NANOSECONDS_AUXTSLO_MASK)
44885 /*! @} */
44886 
44887 /*! @name MAC_AUXILIARY_TIMESTAMP_SECONDS - Auxiliary Timestamp Seconds */
44888 /*! @{ */
44889 
44890 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_SECONDS_AUXTSHI_MASK (0xFFFFFFFFU)
44891 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_SECONDS_AUXTSHI_SHIFT (0U)
44892 /*! AUXTSHI - Auxiliary Timestamp Contains the lower 32 bits of the Seconds field of the auxiliary timestamp.
44893  */
44894 #define ENET_QOS_MAC_AUXILIARY_TIMESTAMP_SECONDS_AUXTSHI(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_AUXILIARY_TIMESTAMP_SECONDS_AUXTSHI_SHIFT)) & ENET_QOS_MAC_AUXILIARY_TIMESTAMP_SECONDS_AUXTSHI_MASK)
44895 /*! @} */
44896 
44897 /*! @name MAC_TIMESTAMP_INGRESS_ASYM_CORR - Timestamp Ingress Asymmetry Correction */
44898 /*! @{ */
44899 
44900 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_ASYM_CORR_OSTIAC_MASK (0xFFFFFFFFU)
44901 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_ASYM_CORR_OSTIAC_SHIFT (0U)
44902 /*! OSTIAC - One-Step Timestamp Ingress Asymmetry Correction This field contains the ingress path
44903  *    asymmetry value to be added to correctionField of Pdelay_Resp PTP packet.
44904  */
44905 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_ASYM_CORR_OSTIAC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_INGRESS_ASYM_CORR_OSTIAC_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_INGRESS_ASYM_CORR_OSTIAC_MASK)
44906 /*! @} */
44907 
44908 /*! @name MAC_TIMESTAMP_EGRESS_ASYM_CORR - imestamp Egress Asymmetry Correction */
44909 /*! @{ */
44910 
44911 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_ASYM_CORR_OSTEAC_MASK (0xFFFFFFFFU)
44912 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_ASYM_CORR_OSTEAC_SHIFT (0U)
44913 /*! OSTEAC - One-Step Timestamp Egress Asymmetry Correction This field contains the egress path
44914  *    asymmetry value to be subtracted from correctionField of Pdelay_Resp PTP packet.
44915  */
44916 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_ASYM_CORR_OSTEAC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_EGRESS_ASYM_CORR_OSTEAC_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_EGRESS_ASYM_CORR_OSTEAC_MASK)
44917 /*! @} */
44918 
44919 /*! @name MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND - Timestamp Ingress Correction Nanosecond */
44920 /*! @{ */
44921 
44922 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND_TSIC_MASK (0xFFFFFFFFU)
44923 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND_TSIC_SHIFT (0U)
44924 /*! TSIC - Timestamp Ingress Correction This field contains the ingress path correction value as
44925  *    defined by the Ingress Correction expression.
44926  */
44927 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND_TSIC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND_TSIC_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_NANOSECOND_TSIC_MASK)
44928 /*! @} */
44929 
44930 /*! @name MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND - Timestamp Egress Correction Nanosecond */
44931 /*! @{ */
44932 
44933 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND_TSEC_MASK (0xFFFFFFFFU)
44934 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND_TSEC_SHIFT (0U)
44935 /*! TSEC - Timestamp Egress Correction This field contains the nanoseconds part of the egress path
44936  *    correction value as defined by the Egress Correction expression.
44937  */
44938 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND_TSEC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND_TSEC_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_NANOSECOND_TSEC_MASK)
44939 /*! @} */
44940 
44941 /*! @name MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC - Timestamp Ingress Correction Subnanosecond */
44942 /*! @{ */
44943 
44944 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC_TSICSNS_MASK (0xFF00U)
44945 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC_TSICSNS_SHIFT (8U)
44946 /*! TSICSNS - Timestamp Ingress Correction, sub-nanoseconds This field contains the sub-nanoseconds
44947  *    part of the ingress path correction value as defined by the "Ingress Correction" expression.
44948  */
44949 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC_TSICSNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC_TSICSNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_INGRESS_CORR_SUBNANOSEC_TSICSNS_MASK)
44950 /*! @} */
44951 
44952 /*! @name MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC - Timestamp Egress Correction Subnanosecond */
44953 /*! @{ */
44954 
44955 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC_TSECSNS_MASK (0xFF00U)
44956 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC_TSECSNS_SHIFT (8U)
44957 /*! TSECSNS - Timestamp Egress Correction, sub-nanoseconds This field contains the sub-nanoseconds
44958  *    part of the egress path correction value as defined by the "Egress Correction" expression.
44959  */
44960 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC_TSECSNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC_TSECSNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_EGRESS_CORR_SUBNANOSEC_TSECSNS_MASK)
44961 /*! @} */
44962 
44963 /*! @name MAC_TIMESTAMP_INGRESS_LATENCY - Timestamp Ingress Latency */
44964 /*! @{ */
44965 
44966 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLSNS_MASK (0xFF00U)
44967 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLSNS_SHIFT (8U)
44968 /*! ITLSNS - Ingress Timestamp Latency, in nanoseconds This register holds the average latency in
44969  *    nanoseconds between the input ports (phy_rxd_i) of MAC and the actual point (GMII/MII) where the
44970  *    ingress timestamp is taken.
44971  */
44972 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLSNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLSNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLSNS_MASK)
44973 
44974 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLNS_MASK (0xFFF0000U)
44975 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLNS_SHIFT (16U)
44976 /*! ITLNS - Ingress Timestamp Latency, in sub-nanoseconds This register holds the average latency in
44977  *    sub-nanoseconds between the input ports (phy_rxd_i) of MAC and the actual point (GMII/MII)
44978  *    where the ingress timestamp is taken.
44979  */
44980 #define ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_INGRESS_LATENCY_ITLNS_MASK)
44981 /*! @} */
44982 
44983 /*! @name MAC_TIMESTAMP_EGRESS_LATENCY - Timestamp Egress Latency */
44984 /*! @{ */
44985 
44986 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLSNS_MASK (0xFF00U)
44987 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLSNS_SHIFT (8U)
44988 /*! ETLSNS - Egress Timestamp Latency, in sub-nanoseconds This register holds the average latency in
44989  *    sub-nanoseconds between the actual point (GMII/MII) where the egress timestamp is taken and
44990  *    the output ports (phy_txd_o) of the MAC.
44991  */
44992 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLSNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLSNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLSNS_MASK)
44993 
44994 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLNS_MASK (0xFFF0000U)
44995 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLNS_SHIFT (16U)
44996 /*! ETLNS - Egress Timestamp Latency, in nanoseconds This register holds the average latency in
44997  *    nanoseconds between the actual point (GMII/MII) where the egress timestamp is taken and the output
44998  *    ports (phy_txd_o) of the MAC.
44999  */
45000 #define ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLNS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLNS_SHIFT)) & ENET_QOS_MAC_TIMESTAMP_EGRESS_LATENCY_ETLNS_MASK)
45001 /*! @} */
45002 
45003 /*! @name MAC_PPS_CONTROL - PPS Control */
45004 /*! @{ */
45005 
45006 #define ENET_QOS_MAC_PPS_CONTROL_PPSCTRL_PPSCMD_MASK (0xFU)
45007 #define ENET_QOS_MAC_PPS_CONTROL_PPSCTRL_PPSCMD_SHIFT (0U)
45008 /*! PPSCTRL_PPSCMD - PPS Output Frequency Control This field controls the frequency of the PPS0 output (ptp_pps_o[0]) signal.
45009  */
45010 #define ENET_QOS_MAC_PPS_CONTROL_PPSCTRL_PPSCMD(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_PPSCTRL_PPSCMD_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_PPSCTRL_PPSCMD_MASK)
45011 
45012 #define ENET_QOS_MAC_PPS_CONTROL_PPSEN0_MASK     (0x10U)
45013 #define ENET_QOS_MAC_PPS_CONTROL_PPSEN0_SHIFT    (4U)
45014 /*! PPSEN0 - Flexible PPS Output Mode Enable When this bit is set, Bits[3:0] function as PPSCMD.
45015  *  0b0..Flexible PPS Output Mode is disabled
45016  *  0b1..Flexible PPS Output Mode is enabled
45017  */
45018 #define ENET_QOS_MAC_PPS_CONTROL_PPSEN0(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_PPSEN0_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_PPSEN0_MASK)
45019 
45020 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL0_MASK (0x60U)
45021 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL0_SHIFT (5U)
45022 /*! TRGTMODSEL0 - Target Time Register Mode for PPS0 Output This field indicates the Target Time
45023  *    registers (MAC_PPS0_TARGET_TIME_SECONDS and MAC_PPS0_TARGET_TIME_NANOSECONDS) mode for PPS0
45024  *    output signal:
45025  *  0b10..Target Time registers are programmed for generating the interrupt event and starting or stopping the PPS0 output signal generation
45026  *  0b00..Target Time registers are programmed only for generating the interrupt event. The Flexible PPS function
45027  *        must not be enabled in this mode, otherwise spurious transitions may be observed on the corresponding
45028  *        ptp_pps_o output port
45029  *  0b11..Target Time registers are programmed only for starting or stopping the PPS0 output signal generation. No interrupt is asserted
45030  *  0b01..Reserved
45031  */
45032 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL0(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL0_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL0_MASK)
45033 
45034 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN0_MASK    (0x80U)
45035 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN0_SHIFT   (7U)
45036 /*! MCGREN0 - MCGR Mode Enable for PPS0 Output This field enables the 0th PPS instance to operate in PPS or MCGR mode.
45037  *  0b1..0th PPS instance is enabled to operate in MCGR mode
45038  *  0b0..0th PPS instance is enabled to operate in PPS mode
45039  */
45040 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN0(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_MCGREN0_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_MCGREN0_MASK)
45041 
45042 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD1_MASK    (0xF00U)
45043 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD1_SHIFT   (8U)
45044 /*! PPSCMD1 - Flexible PPS1 Output Control This field controls the flexible PPS1 output (ptp_pps_o[1]) signal.
45045  */
45046 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD1(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_PPSCMD1_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_PPSCMD1_MASK)
45047 
45048 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL1_MASK (0x6000U)
45049 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL1_SHIFT (13U)
45050 /*! TRGTMODSEL1 - Target Time Register Mode for PPS1 Output This field indicates the Target Time
45051  *    registers (MAC_PPS1_TARGET_TIME_SECONDS and MAC_PPS1_TARGET_TIME_NANOSECONDS) mode for PPS1
45052  *    output signal.
45053  *  0b10..Target Time registers are programmed for generating the interrupt event and starting or stopping the PPS0 output signal generation
45054  *  0b00..Target Time registers are programmed only for generating the interrupt event. The Flexible PPS function
45055  *        must not be enabled in this mode, otherwise spurious transitions may be observed on the corresponding
45056  *        ptp_pps_o output port
45057  *  0b11..Target Time registers are programmed only for starting or stopping the PPS0 output signal generation. No interrupt is asserted
45058  *  0b01..Reserved
45059  */
45060 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL1(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL1_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL1_MASK)
45061 
45062 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN1_MASK    (0x8000U)
45063 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN1_SHIFT   (15U)
45064 /*! MCGREN1 - MCGR Mode Enable for PPS1 Output This field enables the 1st PPS instance to operate in PPS or MCGR mode.
45065  *  0b0..1st PPS instance is disabled to operate in PPS or MCGR mode
45066  *  0b1..1st PPS instance is enabled to operate in PPS or MCGR mode
45067  */
45068 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN1(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_MCGREN1_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_MCGREN1_MASK)
45069 
45070 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD2_MASK    (0xF0000U)
45071 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD2_SHIFT   (16U)
45072 /*! PPSCMD2 - Flexible PPS2 Output Control This field controls the flexible PPS2 output (ptp_pps_o[2]) signal.
45073  */
45074 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD2(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_PPSCMD2_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_PPSCMD2_MASK)
45075 
45076 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL2_MASK (0x600000U)
45077 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL2_SHIFT (21U)
45078 /*! TRGTMODSEL2 - Target Time Register Mode for PPS2 Output This field indicates the Target Time
45079  *    registers (MAC_PPS2_TARGET_TIME_SECONDS and MAC_PPS2_TARGET_TIME_NANOSECONDS) mode for PPS2
45080  *    output signal.
45081  *  0b10..Target Time registers are programmed for generating the interrupt event and starting or stopping the PPS0 output signal generation
45082  *  0b00..Target Time registers are programmed only for generating the interrupt event. The Flexible PPS function
45083  *        must not be enabled in this mode, otherwise spurious transitions may be observed on the corresponding
45084  *        ptp_pps_o output port
45085  *  0b11..Target Time registers are programmed only for starting or stopping the PPS0 output signal generation. No interrupt is asserted
45086  *  0b01..Reserved
45087  */
45088 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL2(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL2_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL2_MASK)
45089 
45090 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN2_MASK    (0x800000U)
45091 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN2_SHIFT   (23U)
45092 /*! MCGREN2 - MCGR Mode Enable for PPS2 Output This field enables the 2nd PPS instance to operate in PPS or MCGR mode.
45093  *  0b0..2nd PPS instance is disabled to operate in PPS or MCGR mode
45094  *  0b1..2nd PPS instance is enabled to operate in PPS or MCGR mode
45095  */
45096 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN2(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_MCGREN2_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_MCGREN2_MASK)
45097 
45098 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD3_MASK    (0xF000000U)
45099 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD3_SHIFT   (24U)
45100 /*! PPSCMD3 - Flexible PPS3 Output Control This field controls the flexible PPS3 output (ptp_pps_o[3]) signal.
45101  */
45102 #define ENET_QOS_MAC_PPS_CONTROL_PPSCMD3(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_PPSCMD3_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_PPSCMD3_MASK)
45103 
45104 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL3_MASK (0x60000000U)
45105 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL3_SHIFT (29U)
45106 /*! TRGTMODSEL3 - Target Time Register Mode for PPS3 Output This field indicates the Target Time
45107  *    registers (MAC_PPS3_TARGET_TIME_SECONDS and MAC_PPS3_TARGET_TIME_NANOSECONDS) mode for PPS3
45108  *    output signal.
45109  *  0b10..Target Time registers are programmed for generating the interrupt event and starting or stopping the PPS0 output signal generation
45110  *  0b00..Target Time registers are programmed only for generating the interrupt event. The Flexible PPS function
45111  *        must not be enabled in this mode, otherwise spurious transitions may be observed on the corresponding
45112  *        ptp_pps_o output port
45113  *  0b11..Target Time registers are programmed only for starting or stopping the PPS0 output signal generation. No interrupt is asserted
45114  *  0b01..Reserved
45115  */
45116 #define ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL3(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL3_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_TRGTMODSEL3_MASK)
45117 
45118 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN3_MASK    (0x80000000U)
45119 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN3_SHIFT   (31U)
45120 /*! MCGREN3 - MCGR Mode Enable for PPS3 Output This field enables the 3rd PPS instance to operate in PPS or MCGR mode.
45121  */
45122 #define ENET_QOS_MAC_PPS_CONTROL_MCGREN3(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS_CONTROL_MCGREN3_SHIFT)) & ENET_QOS_MAC_PPS_CONTROL_MCGREN3_MASK)
45123 /*! @} */
45124 
45125 /*! @name MAC_PPS0_TARGET_TIME_SECONDS - PPS0 Target Time Seconds */
45126 /*! @{ */
45127 
45128 #define ENET_QOS_MAC_PPS0_TARGET_TIME_SECONDS_TSTRH0_MASK (0xFFFFFFFFU)
45129 #define ENET_QOS_MAC_PPS0_TARGET_TIME_SECONDS_TSTRH0_SHIFT (0U)
45130 /*! TSTRH0 - PPS Target Time Seconds Register This field stores the time in seconds.
45131  */
45132 #define ENET_QOS_MAC_PPS0_TARGET_TIME_SECONDS_TSTRH0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS0_TARGET_TIME_SECONDS_TSTRH0_SHIFT)) & ENET_QOS_MAC_PPS0_TARGET_TIME_SECONDS_TSTRH0_MASK)
45133 /*! @} */
45134 
45135 /*! @name MAC_PPS0_TARGET_TIME_NANOSECONDS - PPS0 Target Time Nanoseconds */
45136 /*! @{ */
45137 
45138 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TTSL0_MASK (0x7FFFFFFFU)
45139 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TTSL0_SHIFT (0U)
45140 /*! TTSL0 - Target Time Low for PPS Register This register stores the time in (signed) nanoseconds.
45141  */
45142 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TTSL0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TTSL0_SHIFT)) & ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TTSL0_MASK)
45143 
45144 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TRGTBUSY0_MASK (0x80000000U)
45145 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TRGTBUSY0_SHIFT (31U)
45146 /*! TRGTBUSY0 - PPS Target Time Register Busy The MAC sets this bit when the PPSCMD0 field in the
45147  *    PPS_CONTROL register is programmed to 010 or 011.
45148  *  0b1..PPS Target Time Register Busy is detected
45149  *  0b0..PPS Target Time Register Busy status is not detected
45150  */
45151 #define ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TRGTBUSY0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TRGTBUSY0_SHIFT)) & ENET_QOS_MAC_PPS0_TARGET_TIME_NANOSECONDS_TRGTBUSY0_MASK)
45152 /*! @} */
45153 
45154 /*! @name MAC_PPS0_INTERVAL - PPS0 Interval */
45155 /*! @{ */
45156 
45157 #define ENET_QOS_MAC_PPS0_INTERVAL_PPSINT0_MASK  (0xFFFFFFFFU)
45158 #define ENET_QOS_MAC_PPS0_INTERVAL_PPSINT0_SHIFT (0U)
45159 /*! PPSINT0 - PPS Output Signal Interval These bits store the interval between the rising edges of PPS0 signal output.
45160  */
45161 #define ENET_QOS_MAC_PPS0_INTERVAL_PPSINT0(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS0_INTERVAL_PPSINT0_SHIFT)) & ENET_QOS_MAC_PPS0_INTERVAL_PPSINT0_MASK)
45162 /*! @} */
45163 
45164 /*! @name MAC_PPS0_WIDTH - PPS0 Width */
45165 /*! @{ */
45166 
45167 #define ENET_QOS_MAC_PPS0_WIDTH_PPSWIDTH0_MASK   (0xFFFFFFFFU)
45168 #define ENET_QOS_MAC_PPS0_WIDTH_PPSWIDTH0_SHIFT  (0U)
45169 /*! PPSWIDTH0 - PPS Output Signal Width These bits store the width between the rising edge and
45170  *    corresponding falling edge of PPS0 signal output.
45171  */
45172 #define ENET_QOS_MAC_PPS0_WIDTH_PPSWIDTH0(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS0_WIDTH_PPSWIDTH0_SHIFT)) & ENET_QOS_MAC_PPS0_WIDTH_PPSWIDTH0_MASK)
45173 /*! @} */
45174 
45175 /*! @name MAC_PPS1_TARGET_TIME_SECONDS - PPS1 Target Time Seconds */
45176 /*! @{ */
45177 
45178 #define ENET_QOS_MAC_PPS1_TARGET_TIME_SECONDS_TSTRH1_MASK (0xFFFFFFFFU)
45179 #define ENET_QOS_MAC_PPS1_TARGET_TIME_SECONDS_TSTRH1_SHIFT (0U)
45180 /*! TSTRH1 - PPS Target Time Seconds Register This field stores the time in seconds.
45181  */
45182 #define ENET_QOS_MAC_PPS1_TARGET_TIME_SECONDS_TSTRH1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS1_TARGET_TIME_SECONDS_TSTRH1_SHIFT)) & ENET_QOS_MAC_PPS1_TARGET_TIME_SECONDS_TSTRH1_MASK)
45183 /*! @} */
45184 
45185 /*! @name MAC_PPS1_TARGET_TIME_NANOSECONDS - PPS1 Target Time Nanoseconds */
45186 /*! @{ */
45187 
45188 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TTSL1_MASK (0x7FFFFFFFU)
45189 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TTSL1_SHIFT (0U)
45190 /*! TTSL1 - Target Time Low for PPS Register This register stores the time in (signed) nanoseconds.
45191  */
45192 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TTSL1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TTSL1_SHIFT)) & ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TTSL1_MASK)
45193 
45194 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TRGTBUSY1_MASK (0x80000000U)
45195 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TRGTBUSY1_SHIFT (31U)
45196 /*! TRGTBUSY1 - PPS Target Time Register Busy The MAC sets this bit when the PPSCMD0 field in the
45197  *    PPS_CONTROL register is programmed to 010 or 011.
45198  *  0b1..PPS Target Time Register Busy is detected
45199  *  0b0..PPS Target Time Register Busy status is not detected
45200  */
45201 #define ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TRGTBUSY1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TRGTBUSY1_SHIFT)) & ENET_QOS_MAC_PPS1_TARGET_TIME_NANOSECONDS_TRGTBUSY1_MASK)
45202 /*! @} */
45203 
45204 /*! @name MAC_PPS1_INTERVAL - PPS1 Interval */
45205 /*! @{ */
45206 
45207 #define ENET_QOS_MAC_PPS1_INTERVAL_PPSINT1_MASK  (0xFFFFFFFFU)
45208 #define ENET_QOS_MAC_PPS1_INTERVAL_PPSINT1_SHIFT (0U)
45209 /*! PPSINT1 - PPS Output Signal Interval These bits store the interval between the rising edges of PPS0 signal output.
45210  */
45211 #define ENET_QOS_MAC_PPS1_INTERVAL_PPSINT1(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS1_INTERVAL_PPSINT1_SHIFT)) & ENET_QOS_MAC_PPS1_INTERVAL_PPSINT1_MASK)
45212 /*! @} */
45213 
45214 /*! @name MAC_PPS1_WIDTH - PPS1 Width */
45215 /*! @{ */
45216 
45217 #define ENET_QOS_MAC_PPS1_WIDTH_PPSWIDTH1_MASK   (0xFFFFFFFFU)
45218 #define ENET_QOS_MAC_PPS1_WIDTH_PPSWIDTH1_SHIFT  (0U)
45219 /*! PPSWIDTH1 - PPS Output Signal Width These bits store the width between the rising edge and
45220  *    corresponding falling edge of PPS0 signal output.
45221  */
45222 #define ENET_QOS_MAC_PPS1_WIDTH_PPSWIDTH1(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS1_WIDTH_PPSWIDTH1_SHIFT)) & ENET_QOS_MAC_PPS1_WIDTH_PPSWIDTH1_MASK)
45223 /*! @} */
45224 
45225 /*! @name MAC_PPS2_TARGET_TIME_SECONDS - PPS2 Target Time Seconds */
45226 /*! @{ */
45227 
45228 #define ENET_QOS_MAC_PPS2_TARGET_TIME_SECONDS_TSTRH2_MASK (0xFFFFFFFFU)
45229 #define ENET_QOS_MAC_PPS2_TARGET_TIME_SECONDS_TSTRH2_SHIFT (0U)
45230 /*! TSTRH2 - PPS Target Time Seconds Register This field stores the time in seconds.
45231  */
45232 #define ENET_QOS_MAC_PPS2_TARGET_TIME_SECONDS_TSTRH2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS2_TARGET_TIME_SECONDS_TSTRH2_SHIFT)) & ENET_QOS_MAC_PPS2_TARGET_TIME_SECONDS_TSTRH2_MASK)
45233 /*! @} */
45234 
45235 /*! @name MAC_PPS2_TARGET_TIME_NANOSECONDS - PPS2 Target Time Nanoseconds */
45236 /*! @{ */
45237 
45238 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TTSL2_MASK (0x7FFFFFFFU)
45239 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TTSL2_SHIFT (0U)
45240 /*! TTSL2 - Target Time Low for PPS Register This register stores the time in (signed) nanoseconds.
45241  */
45242 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TTSL2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TTSL2_SHIFT)) & ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TTSL2_MASK)
45243 
45244 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TRGTBUSY2_MASK (0x80000000U)
45245 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TRGTBUSY2_SHIFT (31U)
45246 /*! TRGTBUSY2 - PPS Target Time Register Busy The MAC sets this bit when the PPSCMD0 field in the
45247  *    PPS_CONTROL register is programmed to 010 or 011.
45248  *  0b1..PPS Target Time Register Busy is detected
45249  *  0b0..PPS Target Time Register Busy status is not detected
45250  */
45251 #define ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TRGTBUSY2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TRGTBUSY2_SHIFT)) & ENET_QOS_MAC_PPS2_TARGET_TIME_NANOSECONDS_TRGTBUSY2_MASK)
45252 /*! @} */
45253 
45254 /*! @name MAC_PPS2_INTERVAL - PPS2 Interval */
45255 /*! @{ */
45256 
45257 #define ENET_QOS_MAC_PPS2_INTERVAL_PPSINT2_MASK  (0xFFFFFFFFU)
45258 #define ENET_QOS_MAC_PPS2_INTERVAL_PPSINT2_SHIFT (0U)
45259 /*! PPSINT2 - PPS Output Signal Interval These bits store the interval between the rising edges of PPS0 signal output.
45260  */
45261 #define ENET_QOS_MAC_PPS2_INTERVAL_PPSINT2(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS2_INTERVAL_PPSINT2_SHIFT)) & ENET_QOS_MAC_PPS2_INTERVAL_PPSINT2_MASK)
45262 /*! @} */
45263 
45264 /*! @name MAC_PPS2_WIDTH - PPS2 Width */
45265 /*! @{ */
45266 
45267 #define ENET_QOS_MAC_PPS2_WIDTH_PPSWIDTH2_MASK   (0xFFFFFFFFU)
45268 #define ENET_QOS_MAC_PPS2_WIDTH_PPSWIDTH2_SHIFT  (0U)
45269 /*! PPSWIDTH2 - PPS Output Signal Width These bits store the width between the rising edge and
45270  *    corresponding falling edge of PPS0 signal output.
45271  */
45272 #define ENET_QOS_MAC_PPS2_WIDTH_PPSWIDTH2(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS2_WIDTH_PPSWIDTH2_SHIFT)) & ENET_QOS_MAC_PPS2_WIDTH_PPSWIDTH2_MASK)
45273 /*! @} */
45274 
45275 /*! @name MAC_PPS3_TARGET_TIME_SECONDS - PPS3 Target Time Seconds */
45276 /*! @{ */
45277 
45278 #define ENET_QOS_MAC_PPS3_TARGET_TIME_SECONDS_TSTRH3_MASK (0xFFFFFFFFU)
45279 #define ENET_QOS_MAC_PPS3_TARGET_TIME_SECONDS_TSTRH3_SHIFT (0U)
45280 /*! TSTRH3 - PPS Target Time Seconds Register This field stores the time in seconds.
45281  */
45282 #define ENET_QOS_MAC_PPS3_TARGET_TIME_SECONDS_TSTRH3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS3_TARGET_TIME_SECONDS_TSTRH3_SHIFT)) & ENET_QOS_MAC_PPS3_TARGET_TIME_SECONDS_TSTRH3_MASK)
45283 /*! @} */
45284 
45285 /*! @name MAC_PPS3_TARGET_TIME_NANOSECONDS - PPS3 Target Time Nanoseconds */
45286 /*! @{ */
45287 
45288 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TTSL3_MASK (0x7FFFFFFFU)
45289 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TTSL3_SHIFT (0U)
45290 /*! TTSL3 - Target Time Low for PPS Register This register stores the time in (signed) nanoseconds.
45291  */
45292 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TTSL3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TTSL3_SHIFT)) & ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TTSL3_MASK)
45293 
45294 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TRGTBUSY3_MASK (0x80000000U)
45295 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TRGTBUSY3_SHIFT (31U)
45296 /*! TRGTBUSY3 - PPS Target Time Register Busy The MAC sets this bit when the PPSCMD0 field in the
45297  *    PPS_CONTROL register is programmed to 010 or 011.
45298  *  0b1..PPS Target Time Register Busy is detected
45299  *  0b0..PPS Target Time Register Busy status is not detected
45300  */
45301 #define ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TRGTBUSY3(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TRGTBUSY3_SHIFT)) & ENET_QOS_MAC_PPS3_TARGET_TIME_NANOSECONDS_TRGTBUSY3_MASK)
45302 /*! @} */
45303 
45304 /*! @name MAC_PPS3_INTERVAL - PPS3 Interval */
45305 /*! @{ */
45306 
45307 #define ENET_QOS_MAC_PPS3_INTERVAL_PPSINT3_MASK  (0xFFFFFFFFU)
45308 #define ENET_QOS_MAC_PPS3_INTERVAL_PPSINT3_SHIFT (0U)
45309 /*! PPSINT3 - PPS Output Signal Interval These bits store the interval between the rising edges of PPS0 signal output.
45310  */
45311 #define ENET_QOS_MAC_PPS3_INTERVAL_PPSINT3(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS3_INTERVAL_PPSINT3_SHIFT)) & ENET_QOS_MAC_PPS3_INTERVAL_PPSINT3_MASK)
45312 /*! @} */
45313 
45314 /*! @name MAC_PPS3_WIDTH - PPS3 Width */
45315 /*! @{ */
45316 
45317 #define ENET_QOS_MAC_PPS3_WIDTH_PPSWIDTH3_MASK   (0xFFFFFFFFU)
45318 #define ENET_QOS_MAC_PPS3_WIDTH_PPSWIDTH3_SHIFT  (0U)
45319 /*! PPSWIDTH3 - PPS Output Signal Width These bits store the width between the rising edge and
45320  *    corresponding falling edge of PPS0 signal output.
45321  */
45322 #define ENET_QOS_MAC_PPS3_WIDTH_PPSWIDTH3(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PPS3_WIDTH_PPSWIDTH3_SHIFT)) & ENET_QOS_MAC_PPS3_WIDTH_PPSWIDTH3_MASK)
45323 /*! @} */
45324 
45325 /*! @name MAC_PTO_CONTROL - PTP Offload Engine Control */
45326 /*! @{ */
45327 
45328 #define ENET_QOS_MAC_PTO_CONTROL_PTOEN_MASK      (0x1U)
45329 #define ENET_QOS_MAC_PTO_CONTROL_PTOEN_SHIFT     (0U)
45330 /*! PTOEN - PTP Offload Enable When this bit is set, the PTP Offload feature is enabled.
45331  *  0b0..PTP Offload feature is disabled
45332  *  0b1..PTP Offload feature is enabled
45333  */
45334 #define ENET_QOS_MAC_PTO_CONTROL_PTOEN(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_PTOEN_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_PTOEN_MASK)
45335 
45336 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCEN_MASK    (0x2U)
45337 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCEN_SHIFT   (1U)
45338 /*! ASYNCEN - Automatic PTP SYNC message Enable When this bit is set, PTP SYNC message is generated
45339  *    periodically based on interval programmed or trigger from application, when the MAC is
45340  *    programmed to be in Clock Master mode.
45341  *  0b0..Automatic PTP SYNC message is disabled
45342  *  0b1..Automatic PTP SYNC message is enabled
45343  */
45344 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCEN(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_ASYNCEN_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_ASYNCEN_MASK)
45345 
45346 #define ENET_QOS_MAC_PTO_CONTROL_APDREQEN_MASK   (0x4U)
45347 #define ENET_QOS_MAC_PTO_CONTROL_APDREQEN_SHIFT  (2U)
45348 /*! APDREQEN - Automatic PTP Pdelay_Req message Enable When this bit is set, PTP Pdelay_Req message
45349  *    is generated periodically based on interval programmed or trigger from application, when the
45350  *    MAC is programmed to be in Peer-to-Peer Transparent mode.
45351  *  0b0..Automatic PTP Pdelay_Req message is disabled
45352  *  0b1..Automatic PTP Pdelay_Req message is enabled
45353  */
45354 #define ENET_QOS_MAC_PTO_CONTROL_APDREQEN(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_APDREQEN_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_APDREQEN_MASK)
45355 
45356 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCTRIG_MASK  (0x10U)
45357 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCTRIG_SHIFT (4U)
45358 /*! ASYNCTRIG - Automatic PTP SYNC message Trigger When this bit is set, one PTP SYNC message is transmitted.
45359  *  0b0..Automatic PTP SYNC message Trigger is disabled
45360  *  0b1..Automatic PTP SYNC message Trigger is enabled
45361  */
45362 #define ENET_QOS_MAC_PTO_CONTROL_ASYNCTRIG(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_ASYNCTRIG_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_ASYNCTRIG_MASK)
45363 
45364 #define ENET_QOS_MAC_PTO_CONTROL_APDREQTRIG_MASK (0x20U)
45365 #define ENET_QOS_MAC_PTO_CONTROL_APDREQTRIG_SHIFT (5U)
45366 /*! APDREQTRIG - Automatic PTP Pdelay_Req message Trigger When this bit is set, one PTP Pdelay_Req message is transmitted.
45367  *  0b0..Automatic PTP Pdelay_Req message Trigger is disabled
45368  *  0b1..Automatic PTP Pdelay_Req message Trigger is enabled
45369  */
45370 #define ENET_QOS_MAC_PTO_CONTROL_APDREQTRIG(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_APDREQTRIG_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_APDREQTRIG_MASK)
45371 
45372 #define ENET_QOS_MAC_PTO_CONTROL_DRRDIS_MASK     (0x40U)
45373 #define ENET_QOS_MAC_PTO_CONTROL_DRRDIS_SHIFT    (6U)
45374 /*! DRRDIS - Disable PTO Delay Request/Response response generation When this bit is set, the Delay
45375  *    Request and Delay response is not generated for received SYNC and Delay request packet
45376  *    respectively, as required by the programmed mode.
45377  *  0b1..PTO Delay Request/Response response generation is disabled
45378  *  0b0..PTO Delay Request/Response response generation is enabled
45379  */
45380 #define ENET_QOS_MAC_PTO_CONTROL_DRRDIS(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_DRRDIS_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_DRRDIS_MASK)
45381 
45382 #define ENET_QOS_MAC_PTO_CONTROL_PDRDIS_MASK     (0x80U)
45383 #define ENET_QOS_MAC_PTO_CONTROL_PDRDIS_SHIFT    (7U)
45384 /*! PDRDIS - Disable Peer Delay Response response generation When this bit is set, the Peer Delay
45385  *    Response (Pdelay_Resp) response is not be generated for received Peer Delay Request (Pdelay_Req)
45386  *    request packet, as required by the programmed mode.
45387  *  0b1..Peer Delay Response response generation is disabled
45388  *  0b0..Peer Delay Response response generation is enabled
45389  */
45390 #define ENET_QOS_MAC_PTO_CONTROL_PDRDIS(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_PDRDIS_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_PDRDIS_MASK)
45391 
45392 #define ENET_QOS_MAC_PTO_CONTROL_DN_MASK         (0xFF00U)
45393 #define ENET_QOS_MAC_PTO_CONTROL_DN_SHIFT        (8U)
45394 /*! DN - Domain Number This field indicates the domain Number in which the PTP node is operating.
45395  */
45396 #define ENET_QOS_MAC_PTO_CONTROL_DN(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_PTO_CONTROL_DN_SHIFT)) & ENET_QOS_MAC_PTO_CONTROL_DN_MASK)
45397 /*! @} */
45398 
45399 /*! @name MAC_SOURCE_PORT_IDENTITY0 - Source Port Identity 0 */
45400 /*! @{ */
45401 
45402 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY0_SPI0_MASK (0xFFFFFFFFU)
45403 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY0_SPI0_SHIFT (0U)
45404 /*! SPI0 - Source Port Identity 0 This field indicates bits [31:0] of sourcePortIdentity of PTP node.
45405  */
45406 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY0_SPI0(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SOURCE_PORT_IDENTITY0_SPI0_SHIFT)) & ENET_QOS_MAC_SOURCE_PORT_IDENTITY0_SPI0_MASK)
45407 /*! @} */
45408 
45409 /*! @name MAC_SOURCE_PORT_IDENTITY1 - Source Port Identity 1 */
45410 /*! @{ */
45411 
45412 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY1_SPI1_MASK (0xFFFFFFFFU)
45413 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY1_SPI1_SHIFT (0U)
45414 /*! SPI1 - Source Port Identity 1 This field indicates bits [63:32] of sourcePortIdentity of PTP node.
45415  */
45416 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY1_SPI1(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SOURCE_PORT_IDENTITY1_SPI1_SHIFT)) & ENET_QOS_MAC_SOURCE_PORT_IDENTITY1_SPI1_MASK)
45417 /*! @} */
45418 
45419 /*! @name MAC_SOURCE_PORT_IDENTITY2 - Source Port Identity 2 */
45420 /*! @{ */
45421 
45422 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY2_SPI2_MASK (0xFFFFU)
45423 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY2_SPI2_SHIFT (0U)
45424 /*! SPI2 - Source Port Identity 2 This field indicates bits [79:64] of sourcePortIdentity of PTP node.
45425  */
45426 #define ENET_QOS_MAC_SOURCE_PORT_IDENTITY2_SPI2(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_SOURCE_PORT_IDENTITY2_SPI2_SHIFT)) & ENET_QOS_MAC_SOURCE_PORT_IDENTITY2_SPI2_MASK)
45427 /*! @} */
45428 
45429 /*! @name MAC_LOG_MESSAGE_INTERVAL - Log Message Interval */
45430 /*! @{ */
45431 
45432 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LSI_MASK (0xFFU)
45433 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LSI_SHIFT (0U)
45434 /*! LSI - Log Sync Interval This field indicates the periodicity of the automatically generated SYNC
45435  *    message when the PTP node is Master.
45436  */
45437 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LSI(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LSI_SHIFT)) & ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LSI_MASK)
45438 
45439 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_DRSYNCR_MASK (0x700U)
45440 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_DRSYNCR_SHIFT (8U)
45441 /*! DRSYNCR - Delay_Req to SYNC Ratio In Slave mode, it is used for controlling frequency of Delay_Req messages transmitted.
45442  *  0b110..Reserved
45443  *  0b000..DelayReq generated for every received SYNC
45444  *  0b100..for every 16 SYNC messages
45445  *  0b001..DelayReq generated every alternate reception of SYNC
45446  *  0b101..for every 32 SYNC messages
45447  *  0b010..for every 4 SYNC messages
45448  *  0b011..for every 8 SYNC messages
45449  */
45450 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_DRSYNCR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_DRSYNCR_SHIFT)) & ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_DRSYNCR_MASK)
45451 
45452 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LMPDRI_MASK (0xFF000000U)
45453 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LMPDRI_SHIFT (24U)
45454 /*! LMPDRI - Log Min Pdelay_Req Interval This field indicates logMinPdelayReqInterval of PTP node.
45455  */
45456 #define ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LMPDRI(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LMPDRI_SHIFT)) & ENET_QOS_MAC_LOG_MESSAGE_INTERVAL_LMPDRI_MASK)
45457 /*! @} */
45458 
45459 /*! @name MTL_OPERATION_MODE - MTL Operation Mode */
45460 /*! @{ */
45461 
45462 #define ENET_QOS_MTL_OPERATION_MODE_DTXSTS_MASK  (0x2U)
45463 #define ENET_QOS_MTL_OPERATION_MODE_DTXSTS_SHIFT (1U)
45464 /*! DTXSTS - Drop Transmit Status When this bit is set, the Tx packet status received from the MAC is dropped in the MTL.
45465  *  0b0..Drop Transmit Status is disabled
45466  *  0b1..Drop Transmit Status is enabled
45467  */
45468 #define ENET_QOS_MTL_OPERATION_MODE_DTXSTS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_DTXSTS_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_DTXSTS_MASK)
45469 
45470 #define ENET_QOS_MTL_OPERATION_MODE_RAA_MASK     (0x4U)
45471 #define ENET_QOS_MTL_OPERATION_MODE_RAA_SHIFT    (2U)
45472 /*! RAA - Receive Arbitration Algorithm This field is used to select the arbitration algorithm for the Rx side.
45473  *  0b0..Strict priority (SP)
45474  *  0b1..Weighted Strict Priority (WSP)
45475  */
45476 #define ENET_QOS_MTL_OPERATION_MODE_RAA(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_RAA_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_RAA_MASK)
45477 
45478 #define ENET_QOS_MTL_OPERATION_MODE_SCHALG_MASK  (0x60U)
45479 #define ENET_QOS_MTL_OPERATION_MODE_SCHALG_SHIFT (5U)
45480 /*! SCHALG - Tx Scheduling Algorithm This field indicates the algorithm for Tx scheduling:
45481  *  0b10..DWRR algorithm when DCB feature is selected.Otherwise, Reserved
45482  *  0b11..Strict priority algorithm
45483  *  0b01..WFQ algorithm when DCB feature is selected.Otherwise, Reserved
45484  *  0b00..WRR algorithm
45485  */
45486 #define ENET_QOS_MTL_OPERATION_MODE_SCHALG(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_SCHALG_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_SCHALG_MASK)
45487 
45488 #define ENET_QOS_MTL_OPERATION_MODE_CNTPRST_MASK (0x100U)
45489 #define ENET_QOS_MTL_OPERATION_MODE_CNTPRST_SHIFT (8U)
45490 /*! CNTPRST - Counters Preset When this bit is set, - MTL_TxQ[0-7]_Underflow register is initialized/preset to 12'h7F0.
45491  *  0b0..Counters Preset is disabled
45492  *  0b1..Counters Preset is enabled
45493  */
45494 #define ENET_QOS_MTL_OPERATION_MODE_CNTPRST(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_CNTPRST_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_CNTPRST_MASK)
45495 
45496 #define ENET_QOS_MTL_OPERATION_MODE_CNTCLR_MASK  (0x200U)
45497 #define ENET_QOS_MTL_OPERATION_MODE_CNTCLR_SHIFT (9U)
45498 /*! CNTCLR - Counters Reset When this bit is set, all counters are reset.
45499  *  0b0..Counters are not reset
45500  *  0b1..All counters are reset
45501  */
45502 #define ENET_QOS_MTL_OPERATION_MODE_CNTCLR(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_CNTCLR_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_CNTCLR_MASK)
45503 
45504 #define ENET_QOS_MTL_OPERATION_MODE_FRPE_MASK    (0x8000U)
45505 #define ENET_QOS_MTL_OPERATION_MODE_FRPE_SHIFT   (15U)
45506 /*! FRPE - Flexible Rx parser Enable When this bit is set to 1, the Programmable Rx Parser functionality is enabled.
45507  *  0b0..Flexible Rx parser is disabled
45508  *  0b1..Flexible Rx parser is enabled
45509  */
45510 #define ENET_QOS_MTL_OPERATION_MODE_FRPE(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_OPERATION_MODE_FRPE_SHIFT)) & ENET_QOS_MTL_OPERATION_MODE_FRPE_MASK)
45511 /*! @} */
45512 
45513 /*! @name MTL_DBG_CTL - FIFO Debug Access Control and Status */
45514 /*! @{ */
45515 
45516 #define ENET_QOS_MTL_DBG_CTL_FDBGEN_MASK         (0x1U)
45517 #define ENET_QOS_MTL_DBG_CTL_FDBGEN_SHIFT        (0U)
45518 /*! FDBGEN - FIFO Debug Access Enable When this bit is set, it indicates that the debug mode access to the FIFO is enabled.
45519  *  0b0..FIFO Debug Access is disabled
45520  *  0b1..FIFO Debug Access is enabled
45521  */
45522 #define ENET_QOS_MTL_DBG_CTL_FDBGEN(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_FDBGEN_SHIFT)) & ENET_QOS_MTL_DBG_CTL_FDBGEN_MASK)
45523 
45524 #define ENET_QOS_MTL_DBG_CTL_DBGMOD_MASK         (0x2U)
45525 #define ENET_QOS_MTL_DBG_CTL_DBGMOD_SHIFT        (1U)
45526 /*! DBGMOD - Debug Mode Access to FIFO When this bit is set, it indicates that the current access to
45527  *    the FIFO is read, write, and debug access.
45528  *  0b0..Debug Mode Access to FIFO is disabled
45529  *  0b1..Debug Mode Access to FIFO is enabled
45530  */
45531 #define ENET_QOS_MTL_DBG_CTL_DBGMOD(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_DBGMOD_SHIFT)) & ENET_QOS_MTL_DBG_CTL_DBGMOD_MASK)
45532 
45533 #define ENET_QOS_MTL_DBG_CTL_BYTEEN_MASK         (0xCU)
45534 #define ENET_QOS_MTL_DBG_CTL_BYTEEN_SHIFT        (2U)
45535 /*! BYTEEN - Byte Enables This field indicates the number of data bytes valid in the data register during Write operation.
45536  *  0b11..All four bytes are valid
45537  *  0b10..Byte 0, Byte 1, and Byte 2 are valid
45538  *  0b01..Byte 0 and Byte 1 are valid
45539  *  0b00..Byte 0 valid
45540  */
45541 #define ENET_QOS_MTL_DBG_CTL_BYTEEN(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_BYTEEN_SHIFT)) & ENET_QOS_MTL_DBG_CTL_BYTEEN_MASK)
45542 
45543 #define ENET_QOS_MTL_DBG_CTL_PKTSTATE_MASK       (0x60U)
45544 #define ENET_QOS_MTL_DBG_CTL_PKTSTATE_SHIFT      (5U)
45545 /*! PKTSTATE - Encoded Packet State This field is used to write the control information to the Tx FIFO or Rx FIFO.
45546  *  0b01..Control Word/Normal Status
45547  *  0b11..EOP Data/EOP
45548  *  0b00..Packet Data
45549  *  0b10..SOP Data/Last Status
45550  */
45551 #define ENET_QOS_MTL_DBG_CTL_PKTSTATE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_PKTSTATE_SHIFT)) & ENET_QOS_MTL_DBG_CTL_PKTSTATE_MASK)
45552 
45553 #define ENET_QOS_MTL_DBG_CTL_RSTALL_MASK         (0x100U)
45554 #define ENET_QOS_MTL_DBG_CTL_RSTALL_SHIFT        (8U)
45555 /*! RSTALL - Reset All Pointers When this bit is set, the pointers of all FIFOs are reset when FIFO Debug Access is enabled.
45556  *  0b0..Reset All Pointers is disabled
45557  *  0b1..Reset All Pointers is enabled
45558  */
45559 #define ENET_QOS_MTL_DBG_CTL_RSTALL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_RSTALL_SHIFT)) & ENET_QOS_MTL_DBG_CTL_RSTALL_MASK)
45560 
45561 #define ENET_QOS_MTL_DBG_CTL_RSTSEL_MASK         (0x200U)
45562 #define ENET_QOS_MTL_DBG_CTL_RSTSEL_SHIFT        (9U)
45563 /*! RSTSEL - Reset Pointers of Selected FIFO When this bit is set, the pointers of the
45564  *    currently-selected FIFO are reset when FIFO Debug Access is enabled.
45565  *  0b0..Reset Pointers of Selected FIFO is disabled
45566  *  0b1..Reset Pointers of Selected FIFO is enabled
45567  */
45568 #define ENET_QOS_MTL_DBG_CTL_RSTSEL(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_RSTSEL_SHIFT)) & ENET_QOS_MTL_DBG_CTL_RSTSEL_MASK)
45569 
45570 #define ENET_QOS_MTL_DBG_CTL_FIFORDEN_MASK       (0x400U)
45571 #define ENET_QOS_MTL_DBG_CTL_FIFORDEN_SHIFT      (10U)
45572 /*! FIFORDEN - FIFO Read Enable When this bit is set, it enables the Read operation on selected FIFO when FIFO Debug Access is enabled.
45573  *  0b0..FIFO Read is disabled
45574  *  0b1..FIFO Read is enabled
45575  */
45576 #define ENET_QOS_MTL_DBG_CTL_FIFORDEN(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_FIFORDEN_SHIFT)) & ENET_QOS_MTL_DBG_CTL_FIFORDEN_MASK)
45577 
45578 #define ENET_QOS_MTL_DBG_CTL_FIFOWREN_MASK       (0x800U)
45579 #define ENET_QOS_MTL_DBG_CTL_FIFOWREN_SHIFT      (11U)
45580 /*! FIFOWREN - FIFO Write Enable When this bit is set, it enables the Write operation on selected
45581  *    FIFO when FIFO Debug Access is enabled.
45582  *  0b0..FIFO Write is disabled
45583  *  0b1..FIFO Write is enabled
45584  */
45585 #define ENET_QOS_MTL_DBG_CTL_FIFOWREN(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_FIFOWREN_SHIFT)) & ENET_QOS_MTL_DBG_CTL_FIFOWREN_MASK)
45586 
45587 #define ENET_QOS_MTL_DBG_CTL_FIFOSEL_MASK        (0x3000U)
45588 #define ENET_QOS_MTL_DBG_CTL_FIFOSEL_SHIFT       (12U)
45589 /*! FIFOSEL - FIFO Selected for Access This field indicates the FIFO selected for debug access:
45590  *  0b11..Rx FIFO
45591  *  0b10..TSO FIFO (cannot be accessed when SLVMOD is set)
45592  *  0b00..Tx FIFO
45593  *  0b01..Tx Status FIFO (only read access when SLVMOD is set)
45594  */
45595 #define ENET_QOS_MTL_DBG_CTL_FIFOSEL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_FIFOSEL_SHIFT)) & ENET_QOS_MTL_DBG_CTL_FIFOSEL_MASK)
45596 
45597 #define ENET_QOS_MTL_DBG_CTL_PKTIE_MASK          (0x4000U)
45598 #define ENET_QOS_MTL_DBG_CTL_PKTIE_SHIFT         (14U)
45599 /*! PKTIE - Receive Packet Available Interrupt Status Enable When this bit is set, an interrupt is
45600  *    generated when EOP of received packet is written to the Rx FIFO.
45601  *  0b0..Receive Packet Available Interrupt Status is disabled
45602  *  0b1..Receive Packet Available Interrupt Status is enabled
45603  */
45604 #define ENET_QOS_MTL_DBG_CTL_PKTIE(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_PKTIE_SHIFT)) & ENET_QOS_MTL_DBG_CTL_PKTIE_MASK)
45605 
45606 #define ENET_QOS_MTL_DBG_CTL_STSIE_MASK          (0x8000U)
45607 #define ENET_QOS_MTL_DBG_CTL_STSIE_SHIFT         (15U)
45608 /*! STSIE - Transmit Status Available Interrupt Status Enable When this bit is set, an interrupt is
45609  *    generated when Transmit status is available in slave mode.
45610  *  0b0..Transmit Packet Available Interrupt Status is disabled
45611  *  0b1..Transmit Packet Available Interrupt Status is enabled
45612  */
45613 #define ENET_QOS_MTL_DBG_CTL_STSIE(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_CTL_STSIE_SHIFT)) & ENET_QOS_MTL_DBG_CTL_STSIE_MASK)
45614 /*! @} */
45615 
45616 /*! @name MTL_DBG_STS - FIFO Debug Status */
45617 /*! @{ */
45618 
45619 #define ENET_QOS_MTL_DBG_STS_FIFOBUSY_MASK       (0x1U)
45620 #define ENET_QOS_MTL_DBG_STS_FIFOBUSY_SHIFT      (0U)
45621 /*! FIFOBUSY - FIFO Busy When set, this bit indicates that a FIFO operation is in progress in the
45622  *    MAC and content of the following fields is not valid: - All other fields of this register - All
45623  *    fields of the MTL_FIFO_DEBUG_DATA register
45624  *  0b1..FIFO Busy detected
45625  *  0b0..FIFO Busy not detected
45626  */
45627 #define ENET_QOS_MTL_DBG_STS_FIFOBUSY(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_FIFOBUSY_SHIFT)) & ENET_QOS_MTL_DBG_STS_FIFOBUSY_MASK)
45628 
45629 #define ENET_QOS_MTL_DBG_STS_PKTSTATE_MASK       (0x6U)
45630 #define ENET_QOS_MTL_DBG_STS_PKTSTATE_SHIFT      (1U)
45631 /*! PKTSTATE - Encoded Packet State This field is used to get the control or status information of the selected FIFO.
45632  *  0b01..Control Word/Normal Status
45633  *  0b11..EOP Data/EOP
45634  *  0b00..Packet Data
45635  *  0b10..SOP Data/Last Status
45636  */
45637 #define ENET_QOS_MTL_DBG_STS_PKTSTATE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_PKTSTATE_SHIFT)) & ENET_QOS_MTL_DBG_STS_PKTSTATE_MASK)
45638 
45639 #define ENET_QOS_MTL_DBG_STS_BYTEEN_MASK         (0x18U)
45640 #define ENET_QOS_MTL_DBG_STS_BYTEEN_SHIFT        (3U)
45641 /*! BYTEEN - Byte Enables This field indicates the number of data bytes valid in the data register during Read operation.
45642  *  0b11..All four bytes are valid
45643  *  0b10..Byte 0, Byte 1, and Byte 2 are valid
45644  *  0b01..Byte 0 and Byte 1 are valid
45645  *  0b00..Byte 0 valid
45646  */
45647 #define ENET_QOS_MTL_DBG_STS_BYTEEN(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_BYTEEN_SHIFT)) & ENET_QOS_MTL_DBG_STS_BYTEEN_MASK)
45648 
45649 #define ENET_QOS_MTL_DBG_STS_PKTI_MASK           (0x100U)
45650 #define ENET_QOS_MTL_DBG_STS_PKTI_SHIFT          (8U)
45651 /*! PKTI - Receive Packet Available Interrupt Status When set, this bit indicates that MAC layer has
45652  *    written the EOP of received packet to the Rx FIFO.
45653  *  0b1..Receive Packet Available Interrupt Status detected
45654  *  0b0..Receive Packet Available Interrupt Status not detected
45655  */
45656 #define ENET_QOS_MTL_DBG_STS_PKTI(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_PKTI_SHIFT)) & ENET_QOS_MTL_DBG_STS_PKTI_MASK)
45657 
45658 #define ENET_QOS_MTL_DBG_STS_STSI_MASK           (0x200U)
45659 #define ENET_QOS_MTL_DBG_STS_STSI_SHIFT          (9U)
45660 /*! STSI - Transmit Status Available Interrupt Status When set, this bit indicates that the Slave
45661  *    mode Tx packet is transmitted, and the status is available in Tx Status FIFO.
45662  *  0b1..Transmit Status Available Interrupt Status detected
45663  *  0b0..Transmit Status Available Interrupt Status not detected
45664  */
45665 #define ENET_QOS_MTL_DBG_STS_STSI(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_STSI_SHIFT)) & ENET_QOS_MTL_DBG_STS_STSI_MASK)
45666 
45667 #define ENET_QOS_MTL_DBG_STS_LOCR_MASK           (0xFFFF8000U)
45668 #define ENET_QOS_MTL_DBG_STS_LOCR_SHIFT          (15U)
45669 /*! LOCR - Remaining Locations in the FIFO Slave Access Mode: This field indicates the space available in selected FIFO.
45670  */
45671 #define ENET_QOS_MTL_DBG_STS_LOCR(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_DBG_STS_LOCR_SHIFT)) & ENET_QOS_MTL_DBG_STS_LOCR_MASK)
45672 /*! @} */
45673 
45674 /*! @name MTL_FIFO_DEBUG_DATA - FIFO Debug Data */
45675 /*! @{ */
45676 
45677 #define ENET_QOS_MTL_FIFO_DEBUG_DATA_FDBGDATA_MASK (0xFFFFFFFFU)
45678 #define ENET_QOS_MTL_FIFO_DEBUG_DATA_FDBGDATA_SHIFT (0U)
45679 /*! FDBGDATA - FIFO Debug Data During debug or slave access write operation, this field contains the
45680  *    data to be written to the Tx FIFO, Rx FIFO, or TSO FIFO.
45681  */
45682 #define ENET_QOS_MTL_FIFO_DEBUG_DATA_FDBGDATA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FIFO_DEBUG_DATA_FDBGDATA_SHIFT)) & ENET_QOS_MTL_FIFO_DEBUG_DATA_FDBGDATA_MASK)
45683 /*! @} */
45684 
45685 /*! @name MTL_INTERRUPT_STATUS - MTL Interrupt Status */
45686 /*! @{ */
45687 
45688 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q0IS_MASK  (0x1U)
45689 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q0IS_SHIFT (0U)
45690 /*! Q0IS - Queue 0 Interrupt status This bit indicates that there is an interrupt from Queue 0.
45691  *  0b1..Queue 0 Interrupt status detected
45692  *  0b0..Queue 0 Interrupt status not detected
45693  */
45694 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q0IS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_Q0IS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_Q0IS_MASK)
45695 
45696 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q1IS_MASK  (0x2U)
45697 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q1IS_SHIFT (1U)
45698 /*! Q1IS - Queue 1 Interrupt status This bit indicates that there is an interrupt from Queue 1.
45699  *  0b1..Queue 1 Interrupt status detected
45700  *  0b0..Queue 1 Interrupt status not detected
45701  */
45702 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q1IS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_Q1IS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_Q1IS_MASK)
45703 
45704 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q2IS_MASK  (0x4U)
45705 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q2IS_SHIFT (2U)
45706 /*! Q2IS - Queue 2 Interrupt status This bit indicates that there is an interrupt from Queue 2.
45707  *  0b1..Queue 2 Interrupt status detected
45708  *  0b0..Queue 2 Interrupt status not detected
45709  */
45710 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q2IS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_Q2IS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_Q2IS_MASK)
45711 
45712 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q3IS_MASK  (0x8U)
45713 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q3IS_SHIFT (3U)
45714 /*! Q3IS - Queue 3 Interrupt status This bit indicates that there is an interrupt from Queue 3.
45715  *  0b1..Queue 3 Interrupt status detected
45716  *  0b0..Queue 3 Interrupt status not detected
45717  */
45718 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q3IS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_Q3IS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_Q3IS_MASK)
45719 
45720 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q4IS_MASK  (0x10U)
45721 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q4IS_SHIFT (4U)
45722 /*! Q4IS - Queue 4 Interrupt status This bit indicates that there is an interrupt from Queue 4.
45723  *  0b1..Queue 4 Interrupt status detected
45724  *  0b0..Queue 4 Interrupt status not detected
45725  */
45726 #define ENET_QOS_MTL_INTERRUPT_STATUS_Q4IS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_Q4IS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_Q4IS_MASK)
45727 
45728 #define ENET_QOS_MTL_INTERRUPT_STATUS_DBGIS_MASK (0x20000U)
45729 #define ENET_QOS_MTL_INTERRUPT_STATUS_DBGIS_SHIFT (17U)
45730 /*! DBGIS - Debug Interrupt status This bit indicates an interrupt event during the slave access.
45731  *  0b1..Debug Interrupt status detected
45732  *  0b0..Debug Interrupt status not detected
45733  */
45734 #define ENET_QOS_MTL_INTERRUPT_STATUS_DBGIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_DBGIS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_DBGIS_MASK)
45735 
45736 #define ENET_QOS_MTL_INTERRUPT_STATUS_ESTIS_MASK (0x40000U)
45737 #define ENET_QOS_MTL_INTERRUPT_STATUS_ESTIS_SHIFT (18U)
45738 /*! ESTIS - EST (TAS- 802.
45739  *  0b1..EST (TAS- 802.1Qbv) Interrupt status detected
45740  *  0b0..EST (TAS- 802.1Qbv) Interrupt status not detected
45741  */
45742 #define ENET_QOS_MTL_INTERRUPT_STATUS_ESTIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_ESTIS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_ESTIS_MASK)
45743 
45744 #define ENET_QOS_MTL_INTERRUPT_STATUS_MTLPIS_MASK (0x800000U)
45745 #define ENET_QOS_MTL_INTERRUPT_STATUS_MTLPIS_SHIFT (23U)
45746 /*! MTLPIS - MTL Rx Parser Interrupt Status This bit indicates that there is an interrupt from Rx Parser Block.
45747  *  0b1..MTL Rx Parser Interrupt status detected
45748  *  0b0..MTL Rx Parser Interrupt status not detected
45749  */
45750 #define ENET_QOS_MTL_INTERRUPT_STATUS_MTLPIS(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_INTERRUPT_STATUS_MTLPIS_SHIFT)) & ENET_QOS_MTL_INTERRUPT_STATUS_MTLPIS_MASK)
45751 /*! @} */
45752 
45753 /*! @name MTL_RXQ_DMA_MAP0 - Receive Queue and DMA Channel Mapping 0 */
45754 /*! @{ */
45755 
45756 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0MDMACH_MASK  (0x7U)
45757 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0MDMACH_SHIFT (0U)
45758 /*! Q0MDMACH - Queue 0 Mapped to DMA Channel This field controls the routing of the packet received
45759  *    in Queue 0 to the DMA channel: - 000: DMA Channel 0 - 001: DMA Channel 1 - 010: DMA Channel 2
45760  *    - 011: DMA Channel 3 - 100: DMA Channel 4 - 101: Reserved - 110: Reserved - 111: Reserved This
45761  *    field is valid when the Q0DDMACH field is reset.
45762  */
45763 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0MDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q0MDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q0MDMACH_MASK)
45764 
45765 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0DDMACH_MASK  (0x10U)
45766 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0DDMACH_SHIFT (4U)
45767 /*! Q0DDMACH - Queue 0 Enabled for DA-based DMA Channel Selection When set, this bit indicates that
45768  *    the packets received in Queue 0 are routed to a particular DMA channel as decided in the MAC
45769  *    Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the
45770  *    Ethernet DA address.
45771  *  0b0..Queue 0 disabled for DA-based DMA Channel Selection
45772  *  0b1..Queue 0 enabled for DA-based DMA Channel Selection
45773  */
45774 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q0DDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q0DDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q0DDMACH_MASK)
45775 
45776 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1MDMACH_MASK  (0x700U)
45777 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1MDMACH_SHIFT (8U)
45778 /*! Q1MDMACH - Queue 1 Mapped to DMA Channel This field controls the routing of the received packet
45779  *    in Queue 1 to the DMA channel: - 000: DMA Channel 0 - 001: DMA Channel 1 - 010: DMA Channel 2
45780  *    - 011: DMA Channel 3 - 100: DMA Channel 4 - 101: Reserved - 110: Reserved - 111: Reserved This
45781  *    field is valid when the Q1DDMACH field is reset.
45782  */
45783 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1MDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q1MDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q1MDMACH_MASK)
45784 
45785 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1DDMACH_MASK  (0x1000U)
45786 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1DDMACH_SHIFT (12U)
45787 /*! Q1DDMACH - Queue 1 Enabled for DA-based DMA Channel Selection When set, this bit indicates that
45788  *    the packets received in Queue 1 are routed to a particular DMA channel as decided in the MAC
45789  *    Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the
45790  *    Ethernet DA address.
45791  *  0b0..Queue 1 disabled for DA-based DMA Channel Selection
45792  *  0b1..Queue 1 enabled for DA-based DMA Channel Selection
45793  */
45794 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q1DDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q1DDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q1DDMACH_MASK)
45795 
45796 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2MDMACH_MASK  (0x70000U)
45797 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2MDMACH_SHIFT (16U)
45798 /*! Q2MDMACH - Queue 2 Mapped to DMA Channel This field controls the routing of the received packet
45799  *    in Queue 2 to the DMA channel: - 000: DMA Channel 0 - 001: DMA Channel 1 - 010: DMA Channel 2
45800  *    - 011: DMA Channel 3 - 100: DMA Channel 4 - 101: Reserved - 110: Reserved - 111: Reserved This
45801  *    field is valid when the Q2DDMACH field is reset.
45802  */
45803 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2MDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q2MDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q2MDMACH_MASK)
45804 
45805 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2DDMACH_MASK  (0x100000U)
45806 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2DDMACH_SHIFT (20U)
45807 /*! Q2DDMACH - Queue 2 Enabled for DA-based DMA Channel Selection When set, this bit indicates that
45808  *    the packets received in Queue 2 are routed to a particular DMA channel as decided in the MAC
45809  *    Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the
45810  *    Ethernet DA address.
45811  *  0b0..Queue 2 disabled for DA-based DMA Channel Selection
45812  *  0b1..Queue 2 enabled for DA-based DMA Channel Selection
45813  */
45814 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q2DDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q2DDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q2DDMACH_MASK)
45815 
45816 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3MDMACH_MASK  (0x7000000U)
45817 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3MDMACH_SHIFT (24U)
45818 /*! Q3MDMACH - Queue 3 Mapped to DMA Channel This field controls the routing of the received packet
45819  *    in Queue 3 to the DMA channel: - 000: DMA Channel 0 - 001: DMA Channel 1 - 010: DMA Channel 2
45820  *    - 011: DMA Channel 3 - 100: DMA Channel 4 - 101: Reserved - 110: Reserved - 111: Reserved This
45821  *    field is valid when the Q3DDMACH field is reset.
45822  */
45823 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3MDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q3MDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q3MDMACH_MASK)
45824 
45825 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3DDMACH_MASK  (0x10000000U)
45826 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3DDMACH_SHIFT (28U)
45827 /*! Q3DDMACH - Queue 3 Enabled for Dynamic (per packet) DMA Channel Selection When set, this bit
45828  *    indicates that the packets received in Queue 3 are routed to a particular DMA channel as decided
45829  *    in the MAC Receiver based on the DMA channel number programmed in the L3-L4 filter registers,
45830  *    or the Ethernet DA address.
45831  *  0b0..Queue 3 disabled for DA-based DMA Channel Selection
45832  *  0b1..Queue 3 enabled for DA-based DMA Channel Selection
45833  */
45834 #define ENET_QOS_MTL_RXQ_DMA_MAP0_Q3DDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP0_Q3DDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP0_Q3DDMACH_MASK)
45835 /*! @} */
45836 
45837 /*! @name MTL_RXQ_DMA_MAP1 - Receive Queue and DMA Channel Mapping 1 */
45838 /*! @{ */
45839 
45840 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4MDMACH_MASK  (0x7U)
45841 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4MDMACH_SHIFT (0U)
45842 /*! Q4MDMACH - Queue 4 Mapped to DMA Channel This field controls the routing of the packet received
45843  *    in Queue 4 to the DMA channel: - 000: DMA Channel 0 - 001: DMA Channel 1 - 010: DMA Channel 2
45844  *    - 011: DMA Channel 3 - 100: DMA Channel 4 - 101: Reserved - 110: Reserved - 111: Reserved This
45845  *    field is valid when the Q4DDMACH field is reset.
45846  */
45847 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4MDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP1_Q4MDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP1_Q4MDMACH_MASK)
45848 
45849 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4DDMACH_MASK  (0x10U)
45850 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4DDMACH_SHIFT (4U)
45851 /*! Q4DDMACH - Queue 4 Enabled for DA-based DMA Channel Selection When set, this bit indicates that
45852  *    the packets received in Queue 4 are routed to a particular DMA channel as decided in the MAC
45853  *    Receiver based on the DMA channel number programmed in the L3-L4 filter registers, or the
45854  *    Ethernet DA address.
45855  *  0b0..Queue 4 disabled for DA-based DMA Channel Selection
45856  *  0b1..Queue 4 enabled for DA-based DMA Channel Selection
45857  */
45858 #define ENET_QOS_MTL_RXQ_DMA_MAP1_Q4DDMACH(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQ_DMA_MAP1_Q4DDMACH_SHIFT)) & ENET_QOS_MTL_RXQ_DMA_MAP1_Q4DDMACH_MASK)
45859 /*! @} */
45860 
45861 /*! @name MTL_TBS_CTRL - Time Based Scheduling Control */
45862 /*! @{ */
45863 
45864 #define ENET_QOS_MTL_TBS_CTRL_ESTM_MASK          (0x1U)
45865 #define ENET_QOS_MTL_TBS_CTRL_ESTM_SHIFT         (0U)
45866 /*! ESTM - EST offset Mode When this bit is set, the Launch Time value used in Time Based Scheduling
45867  *    is interpreted as an EST offset value and is added to the Base Time Register (BTR) of the
45868  *    current list.
45869  *  0b0..EST offset Mode is disabled
45870  *  0b1..EST offset Mode is enabled
45871  */
45872 #define ENET_QOS_MTL_TBS_CTRL_ESTM(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TBS_CTRL_ESTM_SHIFT)) & ENET_QOS_MTL_TBS_CTRL_ESTM_MASK)
45873 
45874 #define ENET_QOS_MTL_TBS_CTRL_LEOV_MASK          (0x2U)
45875 #define ENET_QOS_MTL_TBS_CTRL_LEOV_SHIFT         (1U)
45876 /*! LEOV - Launch Expiry Offset Valid When set indicates the LEOS field is valid.
45877  *  0b0..LEOS field is invalid
45878  *  0b1..LEOS field is valid
45879  */
45880 #define ENET_QOS_MTL_TBS_CTRL_LEOV(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TBS_CTRL_LEOV_SHIFT)) & ENET_QOS_MTL_TBS_CTRL_LEOV_MASK)
45881 
45882 #define ENET_QOS_MTL_TBS_CTRL_LEGOS_MASK         (0x70U)
45883 #define ENET_QOS_MTL_TBS_CTRL_LEGOS_SHIFT        (4U)
45884 /*! LEGOS - Launch Expiry GSN Offset The number GSN slots that has to be added to the Launch GSN to compute the Launch Expiry time.
45885  */
45886 #define ENET_QOS_MTL_TBS_CTRL_LEGOS(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TBS_CTRL_LEGOS_SHIFT)) & ENET_QOS_MTL_TBS_CTRL_LEGOS_MASK)
45887 
45888 #define ENET_QOS_MTL_TBS_CTRL_LEOS_MASK          (0xFFFFFF00U)
45889 #define ENET_QOS_MTL_TBS_CTRL_LEOS_SHIFT         (8U)
45890 /*! LEOS - Launch Expiry Offset The value in units of 256 nanoseconds that has to be added to the
45891  *    Launch time to compute the Launch Expiry time.
45892  */
45893 #define ENET_QOS_MTL_TBS_CTRL_LEOS(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TBS_CTRL_LEOS_SHIFT)) & ENET_QOS_MTL_TBS_CTRL_LEOS_MASK)
45894 /*! @} */
45895 
45896 /*! @name MTL_EST_CONTROL - Enhancements to Scheduled Transmission Control */
45897 /*! @{ */
45898 
45899 #define ENET_QOS_MTL_EST_CONTROL_EEST_MASK       (0x1U)
45900 #define ENET_QOS_MTL_EST_CONTROL_EEST_SHIFT      (0U)
45901 /*! EEST - Enable EST When reset, the gate control list processing is halted and all gates are assumed to be in Open state.
45902  *  0b0..EST is disabled
45903  *  0b1..EST is enabled
45904  */
45905 #define ENET_QOS_MTL_EST_CONTROL_EEST(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_EEST_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_EEST_MASK)
45906 
45907 #define ENET_QOS_MTL_EST_CONTROL_SSWL_MASK       (0x2U)
45908 #define ENET_QOS_MTL_EST_CONTROL_SSWL_SHIFT      (1U)
45909 /*! SSWL - Switch to S/W owned list When set indicates that the software has programmed that list
45910  *    that it currently owns (SWOL) and the hardware should switch to the new list based on the new
45911  *    BTR.
45912  *  0b0..Switch to S/W owned list is disabled
45913  *  0b1..Switch to S/W owned list is enabled
45914  */
45915 #define ENET_QOS_MTL_EST_CONTROL_SSWL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_SSWL_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_SSWL_MASK)
45916 
45917 #define ENET_QOS_MTL_EST_CONTROL_DDBF_MASK       (0x10U)
45918 #define ENET_QOS_MTL_EST_CONTROL_DDBF_SHIFT      (4U)
45919 /*! DDBF - Do not Drop frames during Frame Size Error When set, frames are not be dropped during
45920  *    Head-of-Line blocking due to Frame Size Error (HLBF field of MTL_EST_STATUS register).
45921  *  0b1..Do not Drop frames during Frame Size Error
45922  *  0b0..Drop frames during Frame Size Error
45923  */
45924 #define ENET_QOS_MTL_EST_CONTROL_DDBF(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_DDBF_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_DDBF_MASK)
45925 
45926 #define ENET_QOS_MTL_EST_CONTROL_DFBS_MASK       (0x20U)
45927 #define ENET_QOS_MTL_EST_CONTROL_DFBS_SHIFT      (5U)
45928 /*! DFBS - Drop Frames causing Scheduling Error When set frames reported to cause HOL Blocking due
45929  *    to not getting scheduled (HLBS field of EST_STATUS register) after 4,8,16,32 (based on LCSE
45930  *    field of this register) GCL iterations are dropped.
45931  *  0b0..Do not Drop Frames causing Scheduling Error
45932  *  0b1..Drop Frames causing Scheduling Error
45933  */
45934 #define ENET_QOS_MTL_EST_CONTROL_DFBS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_DFBS_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_DFBS_MASK)
45935 
45936 #define ENET_QOS_MTL_EST_CONTROL_LCSE_MASK       (0xC0U)
45937 #define ENET_QOS_MTL_EST_CONTROL_LCSE_SHIFT      (6U)
45938 /*! LCSE - Loop Count to report Scheduling Error Programmable number of GCL list iterations before
45939  *    reporting an HLBS error defined in EST_STATUS register.
45940  *  0b10..16 iterations
45941  *  0b11..32 iterations
45942  *  0b00..4 iterations
45943  *  0b01..8 iterations
45944  */
45945 #define ENET_QOS_MTL_EST_CONTROL_LCSE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_LCSE_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_LCSE_MASK)
45946 
45947 #define ENET_QOS_MTL_EST_CONTROL_TILS_MASK       (0x700U)
45948 #define ENET_QOS_MTL_EST_CONTROL_TILS_SHIFT      (8U)
45949 /*! TILS - Time Interval Left Shift Amount This field provides the left shift amount for the
45950  *    programmed Time Interval values used in the Gate Control Lists.
45951  */
45952 #define ENET_QOS_MTL_EST_CONTROL_TILS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_TILS_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_TILS_MASK)
45953 
45954 #define ENET_QOS_MTL_EST_CONTROL_CTOV_MASK       (0xFFF000U)
45955 #define ENET_QOS_MTL_EST_CONTROL_CTOV_SHIFT      (12U)
45956 /*! CTOV - Current Time Offset Value Provides a 12 bit time offset value in nano second that is
45957  *    added to the current time to compensate for all the implementation pipeline delays such as the CDC
45958  *    sync delay, buffering delays, data path delays etc.
45959  */
45960 #define ENET_QOS_MTL_EST_CONTROL_CTOV(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_CTOV_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_CTOV_MASK)
45961 
45962 #define ENET_QOS_MTL_EST_CONTROL_PTOV_MASK       (0xFF000000U)
45963 #define ENET_QOS_MTL_EST_CONTROL_PTOV_SHIFT      (24U)
45964 /*! PTOV - PTP Time Offset Value The value of PTP Clock period multiplied by 6 in nanoseconds.
45965  */
45966 #define ENET_QOS_MTL_EST_CONTROL_PTOV(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_CONTROL_PTOV_SHIFT)) & ENET_QOS_MTL_EST_CONTROL_PTOV_MASK)
45967 /*! @} */
45968 
45969 /*! @name MTL_EST_STATUS - Enhancements to Scheduled Transmission Status */
45970 /*! @{ */
45971 
45972 #define ENET_QOS_MTL_EST_STATUS_SWLC_MASK        (0x1U)
45973 #define ENET_QOS_MTL_EST_STATUS_SWLC_SHIFT       (0U)
45974 /*! SWLC - Switch to S/W owned list Complete When "1" indicates the hardware has successfully
45975  *    switched to the SWOL, and the SWOL bit has been updated to that effect.
45976  *  0b1..Switch to S/W owned list Complete detected
45977  *  0b0..Switch to S/W owned list Complete not detected
45978  */
45979 #define ENET_QOS_MTL_EST_STATUS_SWLC(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_SWLC_SHIFT)) & ENET_QOS_MTL_EST_STATUS_SWLC_MASK)
45980 
45981 #define ENET_QOS_MTL_EST_STATUS_BTRE_MASK        (0x2U)
45982 #define ENET_QOS_MTL_EST_STATUS_BTRE_SHIFT       (1U)
45983 /*! BTRE - BTR Error When "1" indicates a programming error in the BTR of SWOL where the programmed
45984  *    value is less than current time.
45985  *  0b1..BTR Error detected
45986  *  0b0..BTR Error not detected
45987  */
45988 #define ENET_QOS_MTL_EST_STATUS_BTRE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_BTRE_SHIFT)) & ENET_QOS_MTL_EST_STATUS_BTRE_MASK)
45989 
45990 #define ENET_QOS_MTL_EST_STATUS_HLBF_MASK        (0x4U)
45991 #define ENET_QOS_MTL_EST_STATUS_HLBF_SHIFT       (2U)
45992 /*! HLBF - Head-Of-Line Blocking due to Frame Size Set when HOL Blocking is noticed on one or more
45993  *    Queues as a result of none of the Time Intervals of gate open in the GCL being greater than or
45994  *    equal to the duration needed for frame size (or frame fragment size when preemption is
45995  *    enabled) transmission.
45996  *  0b1..Head-Of-Line Blocking due to Frame Size detected
45997  *  0b0..Head-Of-Line Blocking due to Frame Size not detected
45998  */
45999 #define ENET_QOS_MTL_EST_STATUS_HLBF(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_HLBF_SHIFT)) & ENET_QOS_MTL_EST_STATUS_HLBF_MASK)
46000 
46001 #define ENET_QOS_MTL_EST_STATUS_HLBS_MASK        (0x8U)
46002 #define ENET_QOS_MTL_EST_STATUS_HLBS_SHIFT       (3U)
46003 /*! HLBS - Head-Of-Line Blocking due to Scheduling Set when the frame is not able to win arbitration
46004  *    and get scheduled even after 4 iterations of the GCL.
46005  *  0b1..Head-Of-Line Blocking due to Scheduling detected
46006  *  0b0..Head-Of-Line Blocking due to Scheduling not detected
46007  */
46008 #define ENET_QOS_MTL_EST_STATUS_HLBS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_HLBS_SHIFT)) & ENET_QOS_MTL_EST_STATUS_HLBS_MASK)
46009 
46010 #define ENET_QOS_MTL_EST_STATUS_CGCE_MASK        (0x10U)
46011 #define ENET_QOS_MTL_EST_STATUS_CGCE_SHIFT       (4U)
46012 /*! CGCE - Constant Gate Control Error This error occurs when the list length (LLR) is 1 and the
46013  *    programmed Time Interval (TI) value after the optional Left Shifting is less than or equal to the
46014  *    Cycle Time (CTR).
46015  *  0b1..Constant Gate Control Error detected
46016  *  0b0..Constant Gate Control Error not detected
46017  */
46018 #define ENET_QOS_MTL_EST_STATUS_CGCE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_CGCE_SHIFT)) & ENET_QOS_MTL_EST_STATUS_CGCE_MASK)
46019 
46020 #define ENET_QOS_MTL_EST_STATUS_SWOL_MASK        (0x80U)
46021 #define ENET_QOS_MTL_EST_STATUS_SWOL_SHIFT       (7U)
46022 /*! SWOL - S/W owned list When '0' indicates Gate control list number "0" is owned by software and
46023  *    when "1" indicates the Gate Control list "1" is owned by the software.
46024  *  0b1..Gate control list number "1" is owned by software
46025  *  0b0..Gate control list number "0" is owned by software
46026  */
46027 #define ENET_QOS_MTL_EST_STATUS_SWOL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_SWOL_SHIFT)) & ENET_QOS_MTL_EST_STATUS_SWOL_MASK)
46028 
46029 #define ENET_QOS_MTL_EST_STATUS_BTRL_MASK        (0xF00U)
46030 #define ENET_QOS_MTL_EST_STATUS_BTRL_SHIFT       (8U)
46031 /*! BTRL - BTR Error Loop Count Provides the minimum count (N) for which the equation Current Time
46032  *    =< New BTR + (N * New Cycle Time) becomes true.
46033  */
46034 #define ENET_QOS_MTL_EST_STATUS_BTRL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_BTRL_SHIFT)) & ENET_QOS_MTL_EST_STATUS_BTRL_MASK)
46035 
46036 #define ENET_QOS_MTL_EST_STATUS_CGSN_MASK        (0xF0000U)
46037 #define ENET_QOS_MTL_EST_STATUS_CGSN_SHIFT       (16U)
46038 /*! CGSN - Current GCL Slot Number Indicates the slot number of the GCL list.
46039  */
46040 #define ENET_QOS_MTL_EST_STATUS_CGSN(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_STATUS_CGSN_SHIFT)) & ENET_QOS_MTL_EST_STATUS_CGSN_MASK)
46041 /*! @} */
46042 
46043 /*! @name MTL_EST_SCH_ERROR - EST Scheduling Error */
46044 /*! @{ */
46045 
46046 #define ENET_QOS_MTL_EST_SCH_ERROR_SEQN_MASK     (0x1FU)
46047 #define ENET_QOS_MTL_EST_SCH_ERROR_SEQN_SHIFT    (0U)
46048 /*! SEQN - Schedule Error Queue Number The One Hot Encoded Queue Numbers that have experienced
46049  *    error/timeout described in HLBS field of status register.
46050  */
46051 #define ENET_QOS_MTL_EST_SCH_ERROR_SEQN(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_SCH_ERROR_SEQN_SHIFT)) & ENET_QOS_MTL_EST_SCH_ERROR_SEQN_MASK)
46052 /*! @} */
46053 
46054 /*! @name MTL_EST_FRM_SIZE_ERROR - EST Frame Size Error */
46055 /*! @{ */
46056 
46057 #define ENET_QOS_MTL_EST_FRM_SIZE_ERROR_FEQN_MASK (0x1FU)
46058 #define ENET_QOS_MTL_EST_FRM_SIZE_ERROR_FEQN_SHIFT (0U)
46059 /*! FEQN - Frame Size Error Queue Number The One Hot Encoded Queue Numbers that have experienced
46060  *    error described in HLBF field of status register.
46061  */
46062 #define ENET_QOS_MTL_EST_FRM_SIZE_ERROR_FEQN(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_FRM_SIZE_ERROR_FEQN_SHIFT)) & ENET_QOS_MTL_EST_FRM_SIZE_ERROR_FEQN_MASK)
46063 /*! @} */
46064 
46065 /*! @name MTL_EST_FRM_SIZE_CAPTURE - EST Frame Size Capture */
46066 /*! @{ */
46067 
46068 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFS_MASK (0x7FFFU)
46069 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFS_SHIFT (0U)
46070 /*! HBFS - Frame Size of HLBF Captures the Frame Size of the dropped frame related to queue number
46071  *    indicated in HBFQ field of this register.
46072  */
46073 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFS_SHIFT)) & ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFS_MASK)
46074 
46075 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFQ_MASK (0x70000U)
46076 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFQ_SHIFT (16U)
46077 /*! HBFQ - Queue Number of HLBF Captures the binary value of the of the first Queue (number)
46078  *    experiencing HLBF error (see HLBF field of status register).
46079  */
46080 #define ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFQ(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFQ_SHIFT)) & ENET_QOS_MTL_EST_FRM_SIZE_CAPTURE_HBFQ_MASK)
46081 /*! @} */
46082 
46083 /*! @name MTL_EST_INTR_ENABLE - EST Interrupt Enable */
46084 /*! @{ */
46085 
46086 #define ENET_QOS_MTL_EST_INTR_ENABLE_IECC_MASK   (0x1U)
46087 #define ENET_QOS_MTL_EST_INTR_ENABLE_IECC_SHIFT  (0U)
46088 /*! IECC - Interrupt Enable for Switch List When set, generates interrupt when the configuration
46089  *    change is successful and the hardware has switched to the new list.
46090  *  0b0..Interrupt for Switch List is disabled
46091  *  0b1..Interrupt for Switch List is enabled
46092  */
46093 #define ENET_QOS_MTL_EST_INTR_ENABLE_IECC(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_INTR_ENABLE_IECC_SHIFT)) & ENET_QOS_MTL_EST_INTR_ENABLE_IECC_MASK)
46094 
46095 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEBE_MASK   (0x2U)
46096 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEBE_SHIFT  (1U)
46097 /*! IEBE - Interrupt Enable for BTR Error When set, generates interrupt when the BTR Error occurs and is indicated in the status.
46098  *  0b0..Interrupt for BTR Error is disabled
46099  *  0b1..Interrupt for BTR Error is enabled
46100  */
46101 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEBE(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_INTR_ENABLE_IEBE_SHIFT)) & ENET_QOS_MTL_EST_INTR_ENABLE_IEBE_MASK)
46102 
46103 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHF_MASK   (0x4U)
46104 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHF_SHIFT  (2U)
46105 /*! IEHF - Interrupt Enable for HLBF When set, generates interrupt when the Head-of-Line Blocking
46106  *    due to Frame Size error occurs and is indicated in the status.
46107  *  0b0..Interrupt for HLBF is disabled
46108  *  0b1..Interrupt for HLBF is enabled
46109  */
46110 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHF(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_INTR_ENABLE_IEHF_SHIFT)) & ENET_QOS_MTL_EST_INTR_ENABLE_IEHF_MASK)
46111 
46112 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHS_MASK   (0x8U)
46113 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHS_SHIFT  (3U)
46114 /*! IEHS - Interrupt Enable for HLBS When set, generates interrupt when the Head-of-Line Blocking
46115  *    due to Scheduling issue and is indicated in the status.
46116  *  0b0..Interrupt for HLBS is disabled
46117  *  0b1..Interrupt for HLBS is enabled
46118  */
46119 #define ENET_QOS_MTL_EST_INTR_ENABLE_IEHS(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_INTR_ENABLE_IEHS_SHIFT)) & ENET_QOS_MTL_EST_INTR_ENABLE_IEHS_MASK)
46120 
46121 #define ENET_QOS_MTL_EST_INTR_ENABLE_CGCE_MASK   (0x10U)
46122 #define ENET_QOS_MTL_EST_INTR_ENABLE_CGCE_SHIFT  (4U)
46123 /*! CGCE - Interrupt Enable for CGCE When set, generates interrupt when the Constant Gate Control
46124  *    Error occurs and is indicated in the status.
46125  *  0b0..Interrupt for CGCE is disabled
46126  *  0b1..Interrupt for CGCE is enabled
46127  */
46128 #define ENET_QOS_MTL_EST_INTR_ENABLE_CGCE(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_INTR_ENABLE_CGCE_SHIFT)) & ENET_QOS_MTL_EST_INTR_ENABLE_CGCE_MASK)
46129 /*! @} */
46130 
46131 /*! @name MTL_EST_GCL_CONTROL - EST GCL Control */
46132 /*! @{ */
46133 
46134 #define ENET_QOS_MTL_EST_GCL_CONTROL_SRWO_MASK   (0x1U)
46135 #define ENET_QOS_MTL_EST_GCL_CONTROL_SRWO_SHIFT  (0U)
46136 /*! SRWO - Start Read/Write Op When set indicates a Read/Write Op has started and is in progress.
46137  *  0b0..Start Read/Write Op disabled
46138  *  0b1..Start Read/Write Op enabled
46139  */
46140 #define ENET_QOS_MTL_EST_GCL_CONTROL_SRWO(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_SRWO_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_SRWO_MASK)
46141 
46142 #define ENET_QOS_MTL_EST_GCL_CONTROL_R1W0_MASK   (0x2U)
46143 #define ENET_QOS_MTL_EST_GCL_CONTROL_R1W0_SHIFT  (1U)
46144 /*! R1W0 - Read '1', Write '0': When set to '1': Read Operation When set to '0': Write Operation.
46145  *  0b1..Read Operation
46146  *  0b0..Write Operation
46147  */
46148 #define ENET_QOS_MTL_EST_GCL_CONTROL_R1W0(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_R1W0_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_R1W0_MASK)
46149 
46150 #define ENET_QOS_MTL_EST_GCL_CONTROL_GCRR_MASK   (0x4U)
46151 #define ENET_QOS_MTL_EST_GCL_CONTROL_GCRR_SHIFT  (2U)
46152 /*! GCRR - Gate Control Related Registers When set to "1" indicates the R/W access is for the GCL
46153  *    related registers (BTR, CTR, TER, LLR) whose address is provided by GCRA.
46154  *  0b0..Gate Control Related Registers are disabled
46155  *  0b1..Gate Control Related Registers are enabled
46156  */
46157 #define ENET_QOS_MTL_EST_GCL_CONTROL_GCRR(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_GCRR_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_GCRR_MASK)
46158 
46159 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGM_MASK   (0x10U)
46160 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGM_SHIFT  (4U)
46161 /*! DBGM - Debug Mode When set to "1" indicates R/W in debug mode where the memory bank (for GCL and
46162  *    Time related registers) is explicitly provided by DBGB value, when set to "0" SWOL bit is
46163  *    used to determine which bank to use.
46164  *  0b0..Debug Mode is disabled
46165  *  0b1..Debug Mode is enabled
46166  */
46167 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGM(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_DBGM_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_DBGM_MASK)
46168 
46169 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGB_MASK   (0x20U)
46170 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGB_SHIFT  (5U)
46171 /*! DBGB - Debug Mode Bank Select When set to "0" indicates R/W in debug mode should be directed to
46172  *    Bank 0 (GCL0 and corresponding Time related registers).
46173  *  0b0..R/W in debug mode should be directed to Bank 0
46174  *  0b1..R/W in debug mode should be directed to Bank 1
46175  */
46176 #define ENET_QOS_MTL_EST_GCL_CONTROL_DBGB(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_DBGB_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_DBGB_MASK)
46177 
46178 #define ENET_QOS_MTL_EST_GCL_CONTROL_ADDR_MASK   (0x1FF00U)
46179 #define ENET_QOS_MTL_EST_GCL_CONTROL_ADDR_SHIFT  (8U)
46180 /*! ADDR - Gate Control List Address: (GCLA when GCRR is "0").
46181  */
46182 #define ENET_QOS_MTL_EST_GCL_CONTROL_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_ADDR_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_ADDR_MASK)
46183 
46184 #define ENET_QOS_MTL_EST_GCL_CONTROL_ERR0_MASK   (0x100000U)
46185 #define ENET_QOS_MTL_EST_GCL_CONTROL_ERR0_SHIFT  (20U)
46186 /*! ERR0 - When set indicates the last write operation was aborted as software writes to GCL and GCL
46187  *    registers is prohibited when SSWL bit of MTL_EST_CONTROL Register is set.
46188  *  0b0..ERR0 is disabled
46189  *  0b1..ERR1 is enabled
46190  */
46191 #define ENET_QOS_MTL_EST_GCL_CONTROL_ERR0(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_ERR0_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_ERR0_MASK)
46192 
46193 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEE_MASK (0x200000U)
46194 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEE_SHIFT (21U)
46195 /*! ESTEIEE - EST ECC Inject Error Enable When set along with EEST bit of MTL_EST_CONTROL register,
46196  *    enables the ECC error injection feature.
46197  *  0b0..EST ECC Inject Error is disabled
46198  *  0b1..EST ECC Inject Error is enabled
46199  */
46200 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEE(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEE_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEE_MASK)
46201 
46202 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEC_MASK (0xC00000U)
46203 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEC_SHIFT (22U)
46204 /*! ESTEIEC - ECC Inject Error Control for EST Memory When EIEE bit of this register is set,
46205  *    following are the errors inserted based on the value encoded in this field.
46206  *  0b00..Insert 1 bit error
46207  *  0b11..Insert 1 bit error in address field
46208  *  0b01..Insert 2 bit errors
46209  *  0b10..Insert 3 bit errors
46210  */
46211 #define ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEC(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEC_SHIFT)) & ENET_QOS_MTL_EST_GCL_CONTROL_ESTEIEC_MASK)
46212 /*! @} */
46213 
46214 /*! @name MTL_EST_GCL_DATA - EST GCL Data */
46215 /*! @{ */
46216 
46217 #define ENET_QOS_MTL_EST_GCL_DATA_GCD_MASK       (0xFFFFFFFFU)
46218 #define ENET_QOS_MTL_EST_GCL_DATA_GCD_SHIFT      (0U)
46219 /*! GCD - Gate Control Data The data corresponding to the address selected in the MTL_GCL_CONTROL register.
46220  */
46221 #define ENET_QOS_MTL_EST_GCL_DATA_GCD(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_EST_GCL_DATA_GCD_SHIFT)) & ENET_QOS_MTL_EST_GCL_DATA_GCD_MASK)
46222 /*! @} */
46223 
46224 /*! @name MTL_FPE_CTRL_STS - Frame Preemption Control and Status */
46225 /*! @{ */
46226 
46227 #define ENET_QOS_MTL_FPE_CTRL_STS_AFSZ_MASK      (0x3U)
46228 #define ENET_QOS_MTL_FPE_CTRL_STS_AFSZ_SHIFT     (0U)
46229 /*! AFSZ - Additional Fragment Size used to indicate, in units of 64 bytes, the minimum number of
46230  *    bytes over 64 bytes required in non-final fragments of preempted frames.
46231  */
46232 #define ENET_QOS_MTL_FPE_CTRL_STS_AFSZ(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FPE_CTRL_STS_AFSZ_SHIFT)) & ENET_QOS_MTL_FPE_CTRL_STS_AFSZ_MASK)
46233 
46234 #define ENET_QOS_MTL_FPE_CTRL_STS_PEC_MASK       (0x1F00U)
46235 #define ENET_QOS_MTL_FPE_CTRL_STS_PEC_SHIFT      (8U)
46236 /*! PEC - Preemption Classification When set indicates the corresponding Queue must be classified as
46237  *    preemptable, when '0' Queue is classified as express.
46238  */
46239 #define ENET_QOS_MTL_FPE_CTRL_STS_PEC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FPE_CTRL_STS_PEC_SHIFT)) & ENET_QOS_MTL_FPE_CTRL_STS_PEC_MASK)
46240 
46241 #define ENET_QOS_MTL_FPE_CTRL_STS_HRS_MASK       (0x10000000U)
46242 #define ENET_QOS_MTL_FPE_CTRL_STS_HRS_SHIFT      (28U)
46243 /*! HRS - Hold/Release Status - 1: Indicates a Set-and-Hold-MAC operation was last executed and the pMAC is in Hold State.
46244  *  0b1..Indicates a Set-and-Hold-MAC operation was last executed and the pMAC is in Hold State
46245  *  0b0..Indicates a Set-and-Release-MAC operation was last executed and the pMAC is in Release State
46246  */
46247 #define ENET_QOS_MTL_FPE_CTRL_STS_HRS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FPE_CTRL_STS_HRS_SHIFT)) & ENET_QOS_MTL_FPE_CTRL_STS_HRS_MASK)
46248 /*! @} */
46249 
46250 /*! @name MTL_FPE_ADVANCE - Frame Preemption Hold and Release Advance */
46251 /*! @{ */
46252 
46253 #define ENET_QOS_MTL_FPE_ADVANCE_HADV_MASK       (0xFFFFU)
46254 #define ENET_QOS_MTL_FPE_ADVANCE_HADV_SHIFT      (0U)
46255 /*! HADV - Hold Advance The maximum time in nanoseconds that can elapse between issuing a HOLD to
46256  *    the MAC and the MAC ceasing to transmit any preemptable frame that is in the process of
46257  *    transmission or any preemptable frames that are queued for transmission.
46258  */
46259 #define ENET_QOS_MTL_FPE_ADVANCE_HADV(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FPE_ADVANCE_HADV_SHIFT)) & ENET_QOS_MTL_FPE_ADVANCE_HADV_MASK)
46260 
46261 #define ENET_QOS_MTL_FPE_ADVANCE_RADV_MASK       (0xFFFF0000U)
46262 #define ENET_QOS_MTL_FPE_ADVANCE_RADV_SHIFT      (16U)
46263 /*! RADV - Release Advance The maximum time in nanoseconds that can elapse between issuing a RELEASE
46264  *    to the MAC and the MAC being ready to resume transmission of preemptable frames, in the
46265  *    absence of there being any express frames available for transmission.
46266  */
46267 #define ENET_QOS_MTL_FPE_ADVANCE_RADV(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_FPE_ADVANCE_RADV_SHIFT)) & ENET_QOS_MTL_FPE_ADVANCE_RADV_MASK)
46268 /*! @} */
46269 
46270 /*! @name MTL_RXP_CONTROL_STATUS - RXP Control Status */
46271 /*! @{ */
46272 
46273 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NVE_MASK (0xFFU)
46274 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NVE_SHIFT (0U)
46275 /*! NVE - Number of valid entries in the Instruction table This control indicates the number of
46276  *    valid entries in the Instruction Memory.
46277  */
46278 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NVE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_CONTROL_STATUS_NVE_SHIFT)) & ENET_QOS_MTL_RXP_CONTROL_STATUS_NVE_MASK)
46279 
46280 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NPE_MASK (0xFF0000U)
46281 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NPE_SHIFT (16U)
46282 /*! NPE - Number of parsable entries in the Instruction table This control indicates the number of
46283  *    parsable entries in the Instruction Memory.
46284  */
46285 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_NPE(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_CONTROL_STATUS_NPE_SHIFT)) & ENET_QOS_MTL_RXP_CONTROL_STATUS_NPE_MASK)
46286 
46287 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_RXPI_MASK (0x80000000U)
46288 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_RXPI_SHIFT (31U)
46289 /*! RXPI - RX Parser in Idle state This status bit is set to 1 when the Rx parser is in Idle State
46290  *    and waiting for a new packet for processing.
46291  *  0b1..RX Parser in Idle state
46292  *  0b0..RX Parser not in Idle state
46293  */
46294 #define ENET_QOS_MTL_RXP_CONTROL_STATUS_RXPI(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_CONTROL_STATUS_RXPI_SHIFT)) & ENET_QOS_MTL_RXP_CONTROL_STATUS_RXPI_MASK)
46295 /*! @} */
46296 
46297 /*! @name MTL_RXP_INTERRUPT_CONTROL_STATUS - RXP Interrupt Control Status */
46298 /*! @{ */
46299 
46300 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIS_MASK (0x1U)
46301 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIS_SHIFT (0U)
46302 /*! NVEOVIS - Number of Valid Entries Overflow Interrupt Status While parsing if the Instruction
46303  *    address found to be more than NVE (Number of Valid Entries in MTL_RXP_CONTROL register), then
46304  *    this bit is set to 1.
46305  *  0b1..Number of Valid Entries Overflow Interrupt Status detected
46306  *  0b0..Number of Valid Entries Overflow Interrupt Status not detected
46307  */
46308 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIS_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIS_MASK)
46309 
46310 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIS_MASK (0x2U)
46311 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIS_SHIFT (1U)
46312 /*! NPEOVIS - Number of Parsable Entries Overflow Interrupt Status While parsing a packet if the
46313  *    number of parsed entries found to be more than NPE[] (Number of Parseable Entries in
46314  *    MTL_RXP_CONTROL register),then this bit is set to 1.
46315  *  0b1..Number of Parsable Entries Overflow Interrupt Status detected
46316  *  0b0..Number of Parsable Entries Overflow Interrupt Status not detected
46317  */
46318 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIS_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIS_MASK)
46319 
46320 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIS_MASK (0x4U)
46321 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIS_SHIFT (2U)
46322 /*! FOOVIS - Frame Offset Overflow Interrupt Status While parsing if the Instruction table entry's
46323  *    'Frame Offset' found to be more than EOF offset, then then this bit is set.
46324  *  0b1..Frame Offset Overflow Interrupt Status detected
46325  *  0b0..Frame Offset Overflow Interrupt Status not detected
46326  */
46327 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIS_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIS_MASK)
46328 
46329 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIS_MASK (0x8U)
46330 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIS_SHIFT (3U)
46331 /*! PDRFIS - Packet Dropped due to RF Interrupt Status If the Rx Parser result says to drop the
46332  *    packet by setting RF=1 in the instruction memory, then this bit is set to 1.
46333  *  0b1..Packet Dropped due to RF Interrupt Status detected
46334  *  0b0..Packet Dropped due to RF Interrupt Status not detected
46335  */
46336 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIS_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIS_MASK)
46337 
46338 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIE_MASK (0x10000U)
46339 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIE_SHIFT (16U)
46340 /*! NVEOVIE - Number of Valid Entries Overflow Interrupt Enable When this bit is set, the NVEOVIS interrupt is enabled.
46341  *  0b0..Number of Valid Entries Overflow Interrupt is disabled
46342  *  0b1..Number of Valid Entries Overflow Interrupt is enabled
46343  */
46344 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIE_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NVEOVIE_MASK)
46345 
46346 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIE_MASK (0x20000U)
46347 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIE_SHIFT (17U)
46348 /*! NPEOVIE - Number of Parsable Entries Overflow Interrupt Enable When this bit is set, the NPEOVIS interrupt is enabled.
46349  *  0b0..Number of Parsable Entries Overflow Interrupt is disabled
46350  *  0b1..Number of Parsable Entries Overflow Interrupt is enabled
46351  */
46352 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIE_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_NPEOVIE_MASK)
46353 
46354 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIE_MASK (0x40000U)
46355 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIE_SHIFT (18U)
46356 /*! FOOVIE - Frame Offset Overflow Interrupt Enable When this bit is set, the FOOVIS interrupt is enabled.
46357  *  0b0..Frame Offset Overflow Interrupt is disabled
46358  *  0b1..Frame Offset Overflow Interrupt is enabled
46359  */
46360 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIE_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_FOOVIE_MASK)
46361 
46362 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIE_MASK (0x80000U)
46363 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIE_SHIFT (19U)
46364 /*! PDRFIE - Packet Drop due to RF Interrupt Enable When this bit is set, the PDRFIS interrupt is enabled.
46365  *  0b0..Packet Drop due to RF Interrupt is disabled
46366  *  0b1..Packet Drop due to RF Interrupt is enabled
46367  */
46368 #define ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIE_SHIFT)) & ENET_QOS_MTL_RXP_INTERRUPT_CONTROL_STATUS_PDRFIE_MASK)
46369 /*! @} */
46370 
46371 /*! @name MTL_RXP_DROP_CNT - RXP Drop Count */
46372 /*! @{ */
46373 
46374 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDC_MASK     (0x7FFFFFFFU)
46375 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDC_SHIFT    (0U)
46376 /*! RXPDC - Rx Parser Drop count This 31-bit counter is implemented whenever a Rx Parser Drops a packet due to RF =1.
46377  */
46378 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDC(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_DROP_CNT_RXPDC_SHIFT)) & ENET_QOS_MTL_RXP_DROP_CNT_RXPDC_MASK)
46379 
46380 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDCOVF_MASK  (0x80000000U)
46381 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDCOVF_SHIFT (31U)
46382 /*! RXPDCOVF - Rx Parser Drop Counter Overflow Bit When set, this bit indicates that the
46383  *    MTL_RXP_DROP_CNT (RXPDC) Counter field crossed the maximum limit.
46384  *  0b1..Rx Parser Drop count overflow occurred
46385  *  0b0..Rx Parser Drop count overflow not occurred
46386  */
46387 #define ENET_QOS_MTL_RXP_DROP_CNT_RXPDCOVF(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_DROP_CNT_RXPDCOVF_SHIFT)) & ENET_QOS_MTL_RXP_DROP_CNT_RXPDCOVF_MASK)
46388 /*! @} */
46389 
46390 /*! @name MTL_RXP_ERROR_CNT - RXP Error Count */
46391 /*! @{ */
46392 
46393 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPEC_MASK    (0x7FFFFFFFU)
46394 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPEC_SHIFT   (0U)
46395 /*! RXPEC - Rx Parser Error count This 31-bit counter is implemented whenever a Rx Parser encounters
46396  *    following Error scenarios - Entry address >= NVE[] - Number Parsed Entries >= NPE[] - Entry
46397  *    address > EOF data entry address The counter is cleared when the register is read.
46398  */
46399 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPEC(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_ERROR_CNT_RXPEC_SHIFT)) & ENET_QOS_MTL_RXP_ERROR_CNT_RXPEC_MASK)
46400 
46401 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPECOVF_MASK (0x80000000U)
46402 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPECOVF_SHIFT (31U)
46403 /*! RXPECOVF - Rx Parser Error Counter Overflow Bit When set, this bit indicates that the
46404  *    MTL_RXP_ERROR_CNT (RXPEC) Counter field crossed the maximum limit.
46405  *  0b1..Rx Parser Error count overflow occurred
46406  *  0b0..Rx Parser Error count overflow not occurred
46407  */
46408 #define ENET_QOS_MTL_RXP_ERROR_CNT_RXPECOVF(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_ERROR_CNT_RXPECOVF_SHIFT)) & ENET_QOS_MTL_RXP_ERROR_CNT_RXPECOVF_MASK)
46409 /*! @} */
46410 
46411 /*! @name MTL_RXP_INDIRECT_ACC_CONTROL_STATUS - RXP Indirect Access Control and Status */
46412 /*! @{ */
46413 
46414 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_ADDR_MASK (0x3FFU)
46415 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_ADDR_SHIFT (0U)
46416 /*! ADDR - FRP Instruction Table Offset Address This field indicates the ADDR of the 32-bit entry in Rx parser instruction table.
46417  */
46418 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_ADDR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_ADDR_SHIFT)) & ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_ADDR_MASK)
46419 
46420 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_WRRDN_MASK (0x10000U)
46421 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_WRRDN_SHIFT (16U)
46422 /*! WRRDN - Read Write Control When this bit is set to 1 indicates the write operation to the Rx Parser Memory.
46423  *  0b0..Read operation to the Rx Parser Memory
46424  *  0b1..Write operation to the Rx Parser Memory
46425  */
46426 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_WRRDN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_WRRDN_SHIFT)) & ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_WRRDN_MASK)
46427 
46428 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_STARTBUSY_MASK (0x80000000U)
46429 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_STARTBUSY_SHIFT (31U)
46430 /*! STARTBUSY - FRP Instruction Table Access Busy When this bit is set to 1 by the software then it
46431  *    indicates to start the Read/Write operation from/to the Rx Parser Memory.
46432  *  0b1..hardware is busy (Read/Write operation from/to the Rx Parser Memory)
46433  *  0b0..hardware not busy
46434  */
46435 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_STARTBUSY(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_STARTBUSY_SHIFT)) & ENET_QOS_MTL_RXP_INDIRECT_ACC_CONTROL_STATUS_STARTBUSY_MASK)
46436 /*! @} */
46437 
46438 /*! @name MTL_RXP_INDIRECT_ACC_DATA - RXP Indirect Access Data */
46439 /*! @{ */
46440 
46441 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_DATA_DATA_MASK (0xFFFFFFFFU)
46442 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_DATA_DATA_SHIFT (0U)
46443 /*! DATA - FRP Instruction Table Write/Read Data Software should write this register before issuing any write command.
46444  */
46445 #define ENET_QOS_MTL_RXP_INDIRECT_ACC_DATA_DATA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXP_INDIRECT_ACC_DATA_DATA_SHIFT)) & ENET_QOS_MTL_RXP_INDIRECT_ACC_DATA_DATA_MASK)
46446 /*! @} */
46447 
46448 /*! @name MTL_TXQX_OP_MODE - Queue 0 Transmit Operation Mode..Queue 4 Transmit Operation Mode */
46449 /*! @{ */
46450 
46451 #define ENET_QOS_MTL_TXQX_OP_MODE_FTQ_MASK       (0x1U)
46452 #define ENET_QOS_MTL_TXQX_OP_MODE_FTQ_SHIFT      (0U)
46453 /*! FTQ - Flush Transmit Queue When this bit is set, the Tx queue controller logic is reset to its default values.
46454  *  0b0..Flush Transmit Queue is disabled
46455  *  0b1..Flush Transmit Queue is enabled
46456  */
46457 #define ENET_QOS_MTL_TXQX_OP_MODE_FTQ(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_OP_MODE_FTQ_SHIFT)) & ENET_QOS_MTL_TXQX_OP_MODE_FTQ_MASK)
46458 
46459 #define ENET_QOS_MTL_TXQX_OP_MODE_TSF_MASK       (0x2U)
46460 #define ENET_QOS_MTL_TXQX_OP_MODE_TSF_SHIFT      (1U)
46461 /*! TSF - Transmit Store and Forward When this bit is set, the transmission starts when a full packet resides in the MTL Tx queue.
46462  *  0b0..Transmit Store and Forward is disabled
46463  *  0b1..Transmit Store and Forward is enabled
46464  */
46465 #define ENET_QOS_MTL_TXQX_OP_MODE_TSF(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_OP_MODE_TSF_SHIFT)) & ENET_QOS_MTL_TXQX_OP_MODE_TSF_MASK)
46466 
46467 #define ENET_QOS_MTL_TXQX_OP_MODE_TXQEN_MASK     (0xCU)
46468 #define ENET_QOS_MTL_TXQX_OP_MODE_TXQEN_SHIFT    (2U)
46469 /*! TXQEN - Transmit Queue Enable This field is used to enable/disable the transmit queue 0.
46470  *  0b00..Not enabled
46471  *  0b10..Enabled
46472  *  0b01..Enable in AV mode (Reserved in non-AV)
46473  *  0b11..Reserved
46474  */
46475 #define ENET_QOS_MTL_TXQX_OP_MODE_TXQEN(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_OP_MODE_TXQEN_SHIFT)) & ENET_QOS_MTL_TXQX_OP_MODE_TXQEN_MASK)
46476 
46477 #define ENET_QOS_MTL_TXQX_OP_MODE_TTC_MASK       (0x70U)
46478 #define ENET_QOS_MTL_TXQX_OP_MODE_TTC_SHIFT      (4U)
46479 /*! TTC - Transmit Threshold Control These bits control the threshold level of the MTL Tx Queue.
46480  *  0b011..128
46481  *  0b100..192
46482  *  0b101..256
46483  *  0b000..32
46484  *  0b110..384
46485  *  0b111..512
46486  *  0b001..64
46487  *  0b010..96
46488  */
46489 #define ENET_QOS_MTL_TXQX_OP_MODE_TTC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_OP_MODE_TTC_SHIFT)) & ENET_QOS_MTL_TXQX_OP_MODE_TTC_MASK)
46490 
46491 #define ENET_QOS_MTL_TXQX_OP_MODE_TQS_MASK       (0x1F0000U)
46492 #define ENET_QOS_MTL_TXQX_OP_MODE_TQS_SHIFT      (16U)
46493 /*! TQS - Transmit Queue Size This field indicates the size of the allocated Transmit queues in blocks of 256 bytes.
46494  */
46495 #define ENET_QOS_MTL_TXQX_OP_MODE_TQS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_OP_MODE_TQS_SHIFT)) & ENET_QOS_MTL_TXQX_OP_MODE_TQS_MASK)
46496 /*! @} */
46497 
46498 /* The count of ENET_QOS_MTL_TXQX_OP_MODE */
46499 #define ENET_QOS_MTL_TXQX_OP_MODE_COUNT          (5U)
46500 
46501 /*! @name MTL_TXQX_UNDRFLW - Queue 0 Underflow Counter..Queue 4 Underflow Counter */
46502 /*! @{ */
46503 
46504 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFFRMCNT_MASK  (0x7FFU)
46505 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFFRMCNT_SHIFT (0U)
46506 /*! UFFRMCNT - Underflow Packet Counter This field indicates the number of packets aborted by the
46507  *    controller because of Tx Queue Underflow.
46508  */
46509 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFFRMCNT(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_UNDRFLW_UFFRMCNT_SHIFT)) & ENET_QOS_MTL_TXQX_UNDRFLW_UFFRMCNT_MASK)
46510 
46511 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFCNTOVF_MASK  (0x800U)
46512 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFCNTOVF_SHIFT (11U)
46513 /*! UFCNTOVF - Overflow Bit for Underflow Packet Counter This bit is set every time the Tx queue
46514  *    Underflow Packet Counter field overflows, that is, it has crossed the maximum count.
46515  *  0b1..Overflow detected for Underflow Packet Counter
46516  *  0b0..Overflow not detected for Underflow Packet Counter
46517  */
46518 #define ENET_QOS_MTL_TXQX_UNDRFLW_UFCNTOVF(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_UNDRFLW_UFCNTOVF_SHIFT)) & ENET_QOS_MTL_TXQX_UNDRFLW_UFCNTOVF_MASK)
46519 /*! @} */
46520 
46521 /* The count of ENET_QOS_MTL_TXQX_UNDRFLW */
46522 #define ENET_QOS_MTL_TXQX_UNDRFLW_COUNT          (5U)
46523 
46524 /*! @name MTL_TXQX_DBG - Queue 0 Transmit Debug..Queue 4 Transmit Debug */
46525 /*! @{ */
46526 
46527 #define ENET_QOS_MTL_TXQX_DBG_TXQPAUSED_MASK     (0x1U)
46528 #define ENET_QOS_MTL_TXQX_DBG_TXQPAUSED_SHIFT    (0U)
46529 /*! TXQPAUSED - Transmit Queue in Pause When this bit is high and the Rx flow control is enabled, it
46530  *    indicates that the Tx Queue is in the Pause condition (in the full-duplex only mode) because
46531  *    of the following: - Reception of the PFC packet for the priorities assigned to the Tx Queue
46532  *    when PFC is enabled - Reception of 802.
46533  *  0b1..Transmit Queue in Pause status is detected
46534  *  0b0..Transmit Queue in Pause status is not detected
46535  */
46536 #define ENET_QOS_MTL_TXQX_DBG_TXQPAUSED(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_TXQPAUSED_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_TXQPAUSED_MASK)
46537 
46538 #define ENET_QOS_MTL_TXQX_DBG_TRCSTS_MASK        (0x6U)
46539 #define ENET_QOS_MTL_TXQX_DBG_TRCSTS_SHIFT       (1U)
46540 /*! TRCSTS - MTL Tx Queue Read Controller Status This field indicates the state of the Tx Queue Read Controller:
46541  *  0b11..Flushing the Tx queue because of the Packet Abort request from the MAC
46542  *  0b00..Idle state
46543  *  0b01..Read state (transferring data to the MAC transmitter)
46544  *  0b10..Waiting for pending Tx Status from the MAC transmitter
46545  */
46546 #define ENET_QOS_MTL_TXQX_DBG_TRCSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_TRCSTS_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_TRCSTS_MASK)
46547 
46548 #define ENET_QOS_MTL_TXQX_DBG_TWCSTS_MASK        (0x8U)
46549 #define ENET_QOS_MTL_TXQX_DBG_TWCSTS_SHIFT       (3U)
46550 /*! TWCSTS - MTL Tx Queue Write Controller Status When high, this bit indicates that the MTL Tx
46551  *    Queue Write Controller is active, and it is transferring the data to the Tx Queue.
46552  *  0b1..MTL Tx Queue Write Controller status is detected
46553  *  0b0..MTL Tx Queue Write Controller status is not detected
46554  */
46555 #define ENET_QOS_MTL_TXQX_DBG_TWCSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_TWCSTS_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_TWCSTS_MASK)
46556 
46557 #define ENET_QOS_MTL_TXQX_DBG_TXQSTS_MASK        (0x10U)
46558 #define ENET_QOS_MTL_TXQX_DBG_TXQSTS_SHIFT       (4U)
46559 /*! TXQSTS - MTL Tx Queue Not Empty Status When this bit is high, it indicates that the MTL Tx Queue
46560  *    is not empty and some data is left for transmission.
46561  *  0b1..MTL Tx Queue Not Empty status is detected
46562  *  0b0..MTL Tx Queue Not Empty status is not detected
46563  */
46564 #define ENET_QOS_MTL_TXQX_DBG_TXQSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_TXQSTS_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_TXQSTS_MASK)
46565 
46566 #define ENET_QOS_MTL_TXQX_DBG_TXSTSFSTS_MASK     (0x20U)
46567 #define ENET_QOS_MTL_TXQX_DBG_TXSTSFSTS_SHIFT    (5U)
46568 /*! TXSTSFSTS - MTL Tx Status FIFO Full Status When high, this bit indicates that the MTL Tx Status FIFO is full.
46569  *  0b1..MTL Tx Status FIFO Full status is detected
46570  *  0b0..MTL Tx Status FIFO Full status is not detected
46571  */
46572 #define ENET_QOS_MTL_TXQX_DBG_TXSTSFSTS(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_TXSTSFSTS_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_TXSTSFSTS_MASK)
46573 
46574 #define ENET_QOS_MTL_TXQX_DBG_PTXQ_MASK          (0x70000U)
46575 #define ENET_QOS_MTL_TXQX_DBG_PTXQ_SHIFT         (16U)
46576 /*! PTXQ - Number of Packets in the Transmit Queue This field indicates the current number of packets in the Tx Queue.
46577  */
46578 #define ENET_QOS_MTL_TXQX_DBG_PTXQ(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_PTXQ_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_PTXQ_MASK)
46579 
46580 #define ENET_QOS_MTL_TXQX_DBG_STXSTSF_MASK       (0x700000U)
46581 #define ENET_QOS_MTL_TXQX_DBG_STXSTSF_SHIFT      (20U)
46582 /*! STXSTSF - Number of Status Words in Tx Status FIFO of Queue This field indicates the current
46583  *    number of status in the Tx Status FIFO of this queue.
46584  */
46585 #define ENET_QOS_MTL_TXQX_DBG_STXSTSF(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_DBG_STXSTSF_SHIFT)) & ENET_QOS_MTL_TXQX_DBG_STXSTSF_MASK)
46586 /*! @} */
46587 
46588 /* The count of ENET_QOS_MTL_TXQX_DBG */
46589 #define ENET_QOS_MTL_TXQX_DBG_COUNT              (5U)
46590 
46591 /*! @name MTL_TXQX_ETS_CTRL - Queue 1 ETS Control..Queue 4 ETS Control */
46592 /*! @{ */
46593 
46594 #define ENET_QOS_MTL_TXQX_ETS_CTRL_AVALG_MASK    (0x4U)
46595 #define ENET_QOS_MTL_TXQX_ETS_CTRL_AVALG_SHIFT   (2U)
46596 /*! AVALG - AV Algorithm When Queue 1 is programmed for AV, this field configures the scheduling
46597  *    algorithm for this queue: This bit when set, indicates credit based shaper algorithm (CBS) is
46598  *    selected for Queue 1 traffic.
46599  *  0b0..CBS Algorithm is disabled
46600  *  0b1..CBS Algorithm is enabled
46601  */
46602 #define ENET_QOS_MTL_TXQX_ETS_CTRL_AVALG(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_ETS_CTRL_AVALG_SHIFT)) & ENET_QOS_MTL_TXQX_ETS_CTRL_AVALG_MASK)
46603 
46604 #define ENET_QOS_MTL_TXQX_ETS_CTRL_CC_MASK       (0x8U)
46605 #define ENET_QOS_MTL_TXQX_ETS_CTRL_CC_SHIFT      (3U)
46606 /*! CC - Credit Control When this bit is set, the accumulated credit parameter in the credit-based
46607  *    shaper algorithm logic is not reset to zero when there is positive credit and no packet to
46608  *    transmit in Channel 1.
46609  *  0b0..Credit Control is disabled
46610  *  0b1..Credit Control is enabled
46611  */
46612 #define ENET_QOS_MTL_TXQX_ETS_CTRL_CC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_ETS_CTRL_CC_SHIFT)) & ENET_QOS_MTL_TXQX_ETS_CTRL_CC_MASK)
46613 
46614 #define ENET_QOS_MTL_TXQX_ETS_CTRL_SLC_MASK      (0x70U)
46615 #define ENET_QOS_MTL_TXQX_ETS_CTRL_SLC_SHIFT     (4U)
46616 /*! SLC - Slot Count If the credit-based shaper algorithm is enabled, the software can program the
46617  *    number of slots (of duration programmed in DMA_CH[n]_Slot_Interval register) over which the
46618  *    average transmitted bits per slot, provided in the MTL_TXQ[N]_ETS_STATUS register, need to be
46619  *    computed for Queue.
46620  *  0b100..16 slots
46621  *  0b000..1 slot
46622  *  0b001..2 slots
46623  *  0b010..4 slots
46624  *  0b011..8 slots
46625  *  0b101..Reserved
46626  */
46627 #define ENET_QOS_MTL_TXQX_ETS_CTRL_SLC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_ETS_CTRL_SLC_SHIFT)) & ENET_QOS_MTL_TXQX_ETS_CTRL_SLC_MASK)
46628 /*! @} */
46629 
46630 /* The count of ENET_QOS_MTL_TXQX_ETS_CTRL */
46631 #define ENET_QOS_MTL_TXQX_ETS_CTRL_COUNT         (5U)
46632 
46633 /*! @name MTL_TXQX_ETS_STAT - Queue 0 ETS Status..Queue 4 ETS Status */
46634 /*! @{ */
46635 
46636 #define ENET_QOS_MTL_TXQX_ETS_STAT_ABS_MASK      (0xFFFFFFU)
46637 #define ENET_QOS_MTL_TXQX_ETS_STAT_ABS_SHIFT     (0U)
46638 /*! ABS - Average Bits per Slot This field contains the average transmitted bits per slot.
46639  */
46640 #define ENET_QOS_MTL_TXQX_ETS_STAT_ABS(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_ETS_STAT_ABS_SHIFT)) & ENET_QOS_MTL_TXQX_ETS_STAT_ABS_MASK)
46641 /*! @} */
46642 
46643 /* The count of ENET_QOS_MTL_TXQX_ETS_STAT */
46644 #define ENET_QOS_MTL_TXQX_ETS_STAT_COUNT         (5U)
46645 
46646 /*! @name MTL_TXQX_QNTM_WGHT - Queue 0 Quantum or Weights..Queue 4 idleSlopeCredit, Quantum or Weights */
46647 /*! @{ */
46648 
46649 #define ENET_QOS_MTL_TXQX_QNTM_WGHT_ISCQW_MASK   (0x1FFFFFU)
46650 #define ENET_QOS_MTL_TXQX_QNTM_WGHT_ISCQW_SHIFT  (0U)
46651 /*! ISCQW - Quantum or Weights When the DCB operation is enabled with DWRR algorithm for Queue 0
46652  *    traffic, this field contains the quantum value in bytes to be added to credit during every queue
46653  *    scanning cycle.
46654  */
46655 #define ENET_QOS_MTL_TXQX_QNTM_WGHT_ISCQW(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_QNTM_WGHT_ISCQW_SHIFT)) & ENET_QOS_MTL_TXQX_QNTM_WGHT_ISCQW_MASK)
46656 /*! @} */
46657 
46658 /* The count of ENET_QOS_MTL_TXQX_QNTM_WGHT */
46659 #define ENET_QOS_MTL_TXQX_QNTM_WGHT_COUNT        (5U)
46660 
46661 /*! @name MTL_TXQX_SNDSLP_CRDT - Queue 1 sendSlopeCredit..Queue 4 sendSlopeCredit */
46662 /*! @{ */
46663 
46664 #define ENET_QOS_MTL_TXQX_SNDSLP_CRDT_SSC_MASK   (0x3FFFU)
46665 #define ENET_QOS_MTL_TXQX_SNDSLP_CRDT_SSC_SHIFT  (0U)
46666 /*! SSC - sendSlopeCredit Value When AV operation is enabled, this field contains the
46667  *    sendSlopeCredit value required for credit-based shaper algorithm for Queue 1.
46668  */
46669 #define ENET_QOS_MTL_TXQX_SNDSLP_CRDT_SSC(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_SNDSLP_CRDT_SSC_SHIFT)) & ENET_QOS_MTL_TXQX_SNDSLP_CRDT_SSC_MASK)
46670 /*! @} */
46671 
46672 /* The count of ENET_QOS_MTL_TXQX_SNDSLP_CRDT */
46673 #define ENET_QOS_MTL_TXQX_SNDSLP_CRDT_COUNT      (5U)
46674 
46675 /*! @name MTL_TXQX_HI_CRDT - Queue 1 hiCredit..Queue 4 hiCredit */
46676 /*! @{ */
46677 
46678 #define ENET_QOS_MTL_TXQX_HI_CRDT_HC_MASK        (0x1FFFFFFFU)
46679 #define ENET_QOS_MTL_TXQX_HI_CRDT_HC_SHIFT       (0U)
46680 /*! HC - hiCredit Value When the AV feature is enabled, this field contains the hiCredit value
46681  *    required for the credit-based shaper algorithm.
46682  */
46683 #define ENET_QOS_MTL_TXQX_HI_CRDT_HC(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_HI_CRDT_HC_SHIFT)) & ENET_QOS_MTL_TXQX_HI_CRDT_HC_MASK)
46684 /*! @} */
46685 
46686 /* The count of ENET_QOS_MTL_TXQX_HI_CRDT */
46687 #define ENET_QOS_MTL_TXQX_HI_CRDT_COUNT          (5U)
46688 
46689 /*! @name MTL_TXQX_LO_CRDT - Queue 1 loCredit..Queue 4 loCredit */
46690 /*! @{ */
46691 
46692 #define ENET_QOS_MTL_TXQX_LO_CRDT_LC_MASK        (0x1FFFFFFFU)
46693 #define ENET_QOS_MTL_TXQX_LO_CRDT_LC_SHIFT       (0U)
46694 /*! LC - loCredit Value When AV operation is enabled, this field contains the loCredit value
46695  *    required for the credit-based shaper algorithm.
46696  */
46697 #define ENET_QOS_MTL_TXQX_LO_CRDT_LC(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_LO_CRDT_LC_SHIFT)) & ENET_QOS_MTL_TXQX_LO_CRDT_LC_MASK)
46698 /*! @} */
46699 
46700 /* The count of ENET_QOS_MTL_TXQX_LO_CRDT */
46701 #define ENET_QOS_MTL_TXQX_LO_CRDT_COUNT          (5U)
46702 
46703 /*! @name MTL_TXQX_INTCTRL_STAT - Queue 0 Interrupt Control Status..Queue 4 Interrupt Control Status */
46704 /*! @{ */
46705 
46706 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUNFIS_MASK (0x1U)
46707 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUNFIS_SHIFT (0U)
46708 /*! TXUNFIS - Transmit Queue Underflow Interrupt Status This bit indicates that the Transmit Queue
46709  *    had an underflow while transmitting the packet.
46710  *  0b1..Transmit Queue Underflow Interrupt Status detected
46711  *  0b0..Transmit Queue Underflow Interrupt Status not detected
46712  */
46713 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUNFIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUNFIS_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUNFIS_MASK)
46714 
46715 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIS_MASK (0x2U)
46716 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIS_SHIFT (1U)
46717 /*! ABPSIS - Average Bits Per Slot Interrupt Status When set, this bit indicates that the MAC has updated the ABS value.
46718  *  0b1..Average Bits Per Slot Interrupt Status detected
46719  *  0b0..Average Bits Per Slot Interrupt Status not detected
46720  */
46721 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIS_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIS_MASK)
46722 
46723 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUIE_MASK (0x100U)
46724 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUIE_SHIFT (8U)
46725 /*! TXUIE - Transmit Queue Underflow Interrupt Enable When this bit is set, the Transmit Queue Underflow interrupt is enabled.
46726  *  0b0..Transmit Queue Underflow Interrupt Status is disabled
46727  *  0b1..Transmit Queue Underflow Interrupt Status is enabled
46728  */
46729 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUIE(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUIE_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_TXUIE_MASK)
46730 
46731 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIE_MASK (0x200U)
46732 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIE_SHIFT (9U)
46733 /*! ABPSIE - Average Bits Per Slot Interrupt Enable When this bit is set, the MAC asserts the
46734  *    sbd_intr_o or mci_intr_o interrupt when the average bits per slot status is updated.
46735  *  0b0..Average Bits Per Slot Interrupt is disabled
46736  *  0b1..Average Bits Per Slot Interrupt is enabled
46737  */
46738 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIE(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIE_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_ABPSIE_MASK)
46739 
46740 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOVFIS_MASK (0x10000U)
46741 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOVFIS_SHIFT (16U)
46742 /*! RXOVFIS - Receive Queue Overflow Interrupt Status This bit indicates that the Receive Queue had
46743  *    an overflow while receiving the packet.
46744  *  0b1..Receive Queue Overflow Interrupt Status detected
46745  *  0b0..Receive Queue Overflow Interrupt Status not detected
46746  */
46747 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOVFIS(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOVFIS_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOVFIS_MASK)
46748 
46749 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOIE_MASK (0x1000000U)
46750 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOIE_SHIFT (24U)
46751 /*! RXOIE - Receive Queue Overflow Interrupt Enable When this bit is set, the Receive Queue Overflow interrupt is enabled.
46752  *  0b0..Receive Queue Overflow Interrupt is disabled
46753  *  0b1..Receive Queue Overflow Interrupt is enabled
46754  */
46755 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOIE(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOIE_SHIFT)) & ENET_QOS_MTL_TXQX_INTCTRL_STAT_RXOIE_MASK)
46756 /*! @} */
46757 
46758 /* The count of ENET_QOS_MTL_TXQX_INTCTRL_STAT */
46759 #define ENET_QOS_MTL_TXQX_INTCTRL_STAT_COUNT     (5U)
46760 
46761 /*! @name MTL_RXQX_OP_MODE - Queue 0 Receive Operation Mode..Queue 4 Receive Operation Mode */
46762 /*! @{ */
46763 
46764 #define ENET_QOS_MTL_RXQX_OP_MODE_RTC_MASK       (0x3U)
46765 #define ENET_QOS_MTL_RXQX_OP_MODE_RTC_SHIFT      (0U)
46766 /*! RTC - Receive Queue Threshold Control These bits control the threshold level of the MTL Rx queue
46767  *    (in bytes): The received packet is transferred to the application or DMA when the packet size
46768  *    within the MTL Rx queue is larger than the threshold.
46769  *  0b11..128
46770  *  0b01..32
46771  *  0b00..64
46772  *  0b10..96
46773  */
46774 #define ENET_QOS_MTL_RXQX_OP_MODE_RTC(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_RTC_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_RTC_MASK)
46775 
46776 #define ENET_QOS_MTL_RXQX_OP_MODE_FUP_MASK       (0x8U)
46777 #define ENET_QOS_MTL_RXQX_OP_MODE_FUP_SHIFT      (3U)
46778 /*! FUP - Forward Undersized Good Packets When this bit is set, the Rx queue forwards the undersized
46779  *    good packets (packets with no error and length less than 64 bytes), including pad-bytes and
46780  *    CRC.
46781  *  0b0..Forward Undersized Good Packets is disabled
46782  *  0b1..Forward Undersized Good Packets is enabled
46783  */
46784 #define ENET_QOS_MTL_RXQX_OP_MODE_FUP(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_FUP_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_FUP_MASK)
46785 
46786 #define ENET_QOS_MTL_RXQX_OP_MODE_FEP_MASK       (0x10U)
46787 #define ENET_QOS_MTL_RXQX_OP_MODE_FEP_SHIFT      (4U)
46788 /*! FEP - Forward Error Packets When this bit is reset, the Rx queue drops packets with error status
46789  *    (CRC error, GMII_ER, watchdog timeout, or overflow).
46790  *  0b0..Forward Error Packets is disabled
46791  *  0b1..Forward Error Packets is enabled
46792  */
46793 #define ENET_QOS_MTL_RXQX_OP_MODE_FEP(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_FEP_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_FEP_MASK)
46794 
46795 #define ENET_QOS_MTL_RXQX_OP_MODE_RSF_MASK       (0x20U)
46796 #define ENET_QOS_MTL_RXQX_OP_MODE_RSF_SHIFT      (5U)
46797 /*! RSF - Receive Queue Store and Forward When this bit is set, the DWC_ether_qos reads a packet
46798  *    from the Rx queue only after the complete packet has been written to it, ignoring the RTC field
46799  *    of this register.
46800  *  0b0..Receive Queue Store and Forward is disabled
46801  *  0b1..Receive Queue Store and Forward is enabled
46802  */
46803 #define ENET_QOS_MTL_RXQX_OP_MODE_RSF(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_RSF_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_RSF_MASK)
46804 
46805 #define ENET_QOS_MTL_RXQX_OP_MODE_DIS_TCP_EF_MASK (0x40U)
46806 #define ENET_QOS_MTL_RXQX_OP_MODE_DIS_TCP_EF_SHIFT (6U)
46807 /*! DIS_TCP_EF - Disable Dropping of TCP/IP Checksum Error Packets When this bit is set, the MAC
46808  *    does not drop the packets which only have the errors detected by the Receive Checksum Offload
46809  *    engine.
46810  *  0b1..Dropping of TCP/IP Checksum Error Packets is disabled
46811  *  0b0..Dropping of TCP/IP Checksum Error Packets is enabled
46812  */
46813 #define ENET_QOS_MTL_RXQX_OP_MODE_DIS_TCP_EF(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_DIS_TCP_EF_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_DIS_TCP_EF_MASK)
46814 
46815 #define ENET_QOS_MTL_RXQX_OP_MODE_EHFC_MASK      (0x80U)
46816 #define ENET_QOS_MTL_RXQX_OP_MODE_EHFC_SHIFT     (7U)
46817 /*! EHFC - Enable Hardware Flow Control When this bit is set, the flow control signal operation,
46818  *    based on the fill-level of Rx queue, is enabled.
46819  *  0b0..Hardware Flow Control is disabled
46820  *  0b1..Hardware Flow Control is enabled
46821  */
46822 #define ENET_QOS_MTL_RXQX_OP_MODE_EHFC(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_EHFC_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_EHFC_MASK)
46823 
46824 #define ENET_QOS_MTL_RXQX_OP_MODE_RFA_MASK       (0xF00U)
46825 #define ENET_QOS_MTL_RXQX_OP_MODE_RFA_SHIFT      (8U)
46826 /*! RFA - Threshold for Activating Flow Control (in half-duplex and full-duplex These bits control
46827  *    the threshold (fill-level of Rx queue) at which the flow control is activated: For more
46828  *    information on encoding for this field, see RFD.
46829  */
46830 #define ENET_QOS_MTL_RXQX_OP_MODE_RFA(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_RFA_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_RFA_MASK)
46831 
46832 #define ENET_QOS_MTL_RXQX_OP_MODE_RFD_MASK       (0x3C000U)
46833 #define ENET_QOS_MTL_RXQX_OP_MODE_RFD_SHIFT      (14U)
46834 /*! RFD - Threshold for Deactivating Flow Control (in half-duplex and full-duplex modes) These bits
46835  *    control the threshold (fill-level of Rx queue) at which the flow control is de-asserted after
46836  *    activation: - 0: Full minus 1 KB, that is, FULL 1 KB - 1: Full minus 1.
46837  */
46838 #define ENET_QOS_MTL_RXQX_OP_MODE_RFD(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_RFD_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_RFD_MASK)
46839 
46840 #define ENET_QOS_MTL_RXQX_OP_MODE_RQS_MASK       (0x1F00000U)
46841 #define ENET_QOS_MTL_RXQX_OP_MODE_RQS_SHIFT      (20U)
46842 /*! RQS - Receive Queue Size This field indicates the size of the allocated Receive queues in blocks of 256 bytes.
46843  */
46844 #define ENET_QOS_MTL_RXQX_OP_MODE_RQS(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_OP_MODE_RQS_SHIFT)) & ENET_QOS_MTL_RXQX_OP_MODE_RQS_MASK)
46845 /*! @} */
46846 
46847 /* The count of ENET_QOS_MTL_RXQX_OP_MODE */
46848 #define ENET_QOS_MTL_RXQX_OP_MODE_COUNT          (5U)
46849 
46850 /*! @name MTL_RXQX_MISSPKT_OVRFLW_CNT - Queue 0 Missed Packet and Overflow Counter..Queue 4 Missed Packet and Overflow Counter */
46851 /*! @{ */
46852 
46853 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFPKTCNT_MASK (0x7FFU)
46854 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFPKTCNT_SHIFT (0U)
46855 /*! OVFPKTCNT - Overflow Packet Counter This field indicates the number of packets discarded by the
46856  *    DWC_ether_qos because of Receive queue overflow.
46857  */
46858 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFPKTCNT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFPKTCNT_SHIFT)) & ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFPKTCNT_MASK)
46859 
46860 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFCNTOVF_MASK (0x800U)
46861 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFCNTOVF_SHIFT (11U)
46862 /*! OVFCNTOVF - Overflow Counter Overflow Bit When set, this bit indicates that the Rx Queue
46863  *    Overflow Packet Counter field crossed the maximum limit.
46864  *  0b1..Overflow Counter overflow detected
46865  *  0b0..Overflow Counter overflow not detected
46866  */
46867 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFCNTOVF(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFCNTOVF_SHIFT)) & ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_OVFCNTOVF_MASK)
46868 
46869 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISPKTCNT_MASK (0x7FF0000U)
46870 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISPKTCNT_SHIFT (16U)
46871 /*! MISPKTCNT - Missed Packet Counter This field indicates the number of packets missed by the
46872  *    DWC_ether_qos because the application asserted ari_pkt_flush_i[] for this queue.
46873  */
46874 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISPKTCNT(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISPKTCNT_SHIFT)) & ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISPKTCNT_MASK)
46875 
46876 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISCNTOVF_MASK (0x8000000U)
46877 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISCNTOVF_SHIFT (27U)
46878 /*! MISCNTOVF - Missed Packet Counter Overflow Bit When set, this bit indicates that the Rx Queue
46879  *    Missed Packet Counter crossed the maximum limit.
46880  *  0b1..Missed Packet Counter overflow detected
46881  *  0b0..Missed Packet Counter overflow not detected
46882  */
46883 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISCNTOVF(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISCNTOVF_SHIFT)) & ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_MISCNTOVF_MASK)
46884 /*! @} */
46885 
46886 /* The count of ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT */
46887 #define ENET_QOS_MTL_RXQX_MISSPKT_OVRFLW_CNT_COUNT (5U)
46888 
46889 /*! @name MTL_RXQX_DBG - Queue 0 Receive Debug..Queue 4 Receive Debug */
46890 /*! @{ */
46891 
46892 #define ENET_QOS_MTL_RXQX_DBG_RWCSTS_MASK        (0x1U)
46893 #define ENET_QOS_MTL_RXQX_DBG_RWCSTS_SHIFT       (0U)
46894 /*! RWCSTS - MTL Rx Queue Write Controller Active Status When high, this bit indicates that the MTL
46895  *    Rx queue Write controller is active, and it is transferring a received packet to the Rx Queue.
46896  *  0b1..MTL Rx Queue Write Controller Active Status detected
46897  *  0b0..MTL Rx Queue Write Controller Active Status not detected
46898  */
46899 #define ENET_QOS_MTL_RXQX_DBG_RWCSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_DBG_RWCSTS_SHIFT)) & ENET_QOS_MTL_RXQX_DBG_RWCSTS_MASK)
46900 
46901 #define ENET_QOS_MTL_RXQX_DBG_RRCSTS_MASK        (0x6U)
46902 #define ENET_QOS_MTL_RXQX_DBG_RRCSTS_SHIFT       (1U)
46903 /*! RRCSTS - MTL Rx Queue Read Controller State This field gives the state of the Rx queue Read controller:
46904  *  0b11..Flushing the packet data and status
46905  *  0b00..Idle state
46906  *  0b01..Reading packet data
46907  *  0b10..Reading packet status (or timestamp)
46908  */
46909 #define ENET_QOS_MTL_RXQX_DBG_RRCSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_DBG_RRCSTS_SHIFT)) & ENET_QOS_MTL_RXQX_DBG_RRCSTS_MASK)
46910 
46911 #define ENET_QOS_MTL_RXQX_DBG_RXQSTS_MASK        (0x30U)
46912 #define ENET_QOS_MTL_RXQX_DBG_RXQSTS_SHIFT       (4U)
46913 /*! RXQSTS - MTL Rx Queue Fill-Level Status This field gives the status of the fill-level of the Rx Queue:
46914  *  0b10..Rx Queue fill-level above flow-control activate threshold
46915  *  0b01..Rx Queue fill-level below flow-control deactivate threshold
46916  *  0b00..Rx Queue empty
46917  *  0b11..Rx Queue full
46918  */
46919 #define ENET_QOS_MTL_RXQX_DBG_RXQSTS(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_DBG_RXQSTS_SHIFT)) & ENET_QOS_MTL_RXQX_DBG_RXQSTS_MASK)
46920 
46921 #define ENET_QOS_MTL_RXQX_DBG_PRXQ_MASK          (0x3FFF0000U)
46922 #define ENET_QOS_MTL_RXQX_DBG_PRXQ_SHIFT         (16U)
46923 /*! PRXQ - Number of Packets in Receive Queue This field indicates the current number of packets in the Rx Queue.
46924  */
46925 #define ENET_QOS_MTL_RXQX_DBG_PRXQ(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_DBG_PRXQ_SHIFT)) & ENET_QOS_MTL_RXQX_DBG_PRXQ_MASK)
46926 /*! @} */
46927 
46928 /* The count of ENET_QOS_MTL_RXQX_DBG */
46929 #define ENET_QOS_MTL_RXQX_DBG_COUNT              (5U)
46930 
46931 /*! @name MTL_RXQX_CTRL - Queue 0 Receive Control..Queue 4 Receive Control */
46932 /*! @{ */
46933 
46934 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_WEGT_MASK     (0x7U)
46935 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_WEGT_SHIFT    (0U)
46936 /*! RXQ_WEGT - Receive Queue Weight This field indicates the weight assigned to the Rx Queue 0.
46937  */
46938 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_WEGT(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_CTRL_RXQ_WEGT_SHIFT)) & ENET_QOS_MTL_RXQX_CTRL_RXQ_WEGT_MASK)
46939 
46940 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_FRM_ARBIT_MASK (0x8U)
46941 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_FRM_ARBIT_SHIFT (3U)
46942 /*! RXQ_FRM_ARBIT - Receive Queue Packet Arbitration When this bit is set, the DWC_ether_qos drives
46943  *    the packet data to the ARI interface such that the entire packet data of currently-selected
46944  *    queue is transmitted before switching to other queue.
46945  *  0b0..Receive Queue Packet Arbitration is disabled
46946  *  0b1..Receive Queue Packet Arbitration is enabled
46947  */
46948 #define ENET_QOS_MTL_RXQX_CTRL_RXQ_FRM_ARBIT(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_MTL_RXQX_CTRL_RXQ_FRM_ARBIT_SHIFT)) & ENET_QOS_MTL_RXQX_CTRL_RXQ_FRM_ARBIT_MASK)
46949 /*! @} */
46950 
46951 /* The count of ENET_QOS_MTL_RXQX_CTRL */
46952 #define ENET_QOS_MTL_RXQX_CTRL_COUNT             (5U)
46953 
46954 /*! @name DMA_MODE - DMA Bus Mode */
46955 /*! @{ */
46956 
46957 #define ENET_QOS_DMA_MODE_SWR_MASK               (0x1U)
46958 #define ENET_QOS_DMA_MODE_SWR_SHIFT              (0U)
46959 /*! SWR - Software Reset When this bit is set, the MAC and the DMA controller reset the logic and
46960  *    all internal registers of the DMA, MTL, and MAC.
46961  *  0b0..Software Reset is disabled
46962  *  0b1..Software Reset is enabled
46963  */
46964 #define ENET_QOS_DMA_MODE_SWR(x)                 (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_MODE_SWR_SHIFT)) & ENET_QOS_DMA_MODE_SWR_MASK)
46965 
46966 #define ENET_QOS_DMA_MODE_DSPW_MASK              (0x100U)
46967 #define ENET_QOS_DMA_MODE_DSPW_SHIFT             (8U)
46968 /*! DSPW - Descriptor Posted Write When this bit is set to 0, the descriptor writes are always non-posted.
46969  *  0b0..Descriptor Posted Write is disabled
46970  *  0b1..Descriptor Posted Write is enabled
46971  */
46972 #define ENET_QOS_DMA_MODE_DSPW(x)                (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_MODE_DSPW_SHIFT)) & ENET_QOS_DMA_MODE_DSPW_MASK)
46973 
46974 #define ENET_QOS_DMA_MODE_INTM_MASK              (0x30000U)
46975 #define ENET_QOS_DMA_MODE_INTM_SHIFT             (16U)
46976 /*! INTM - Interrupt Mode This field defines the interrupt mode of DWC_ether_qos.
46977  *  0b00..See above description
46978  *  0b01..See above description
46979  *  0b10..See above description
46980  *  0b11..Reserved
46981  */
46982 #define ENET_QOS_DMA_MODE_INTM(x)                (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_MODE_INTM_SHIFT)) & ENET_QOS_DMA_MODE_INTM_MASK)
46983 /*! @} */
46984 
46985 /*! @name DMA_SYSBUS_MODE - DMA System Bus Mode */
46986 /*! @{ */
46987 
46988 #define ENET_QOS_DMA_SYSBUS_MODE_FB_MASK         (0x1U)
46989 #define ENET_QOS_DMA_SYSBUS_MODE_FB_SHIFT        (0U)
46990 /*! FB - Fixed Burst Length When this bit is set to 1, the EQOS-AXI master initiates burst transfers
46991  *    of specified lengths as given below.
46992  *  0b0..Fixed Burst Length is disabled
46993  *  0b1..Fixed Burst Length is enabled
46994  */
46995 #define ENET_QOS_DMA_SYSBUS_MODE_FB(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_FB_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_FB_MASK)
46996 
46997 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN4_MASK      (0x2U)
46998 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN4_SHIFT     (1U)
46999 /*! BLEN4 - AXI Burst Length 4 When this bit is set to 1 or the FB bit is set to 0, the EQOS-AXI
47000  *    master can select a burst length of 4 on the AXI interface.
47001  *  0b0..No effect
47002  *  0b1..AXI Burst Length 4
47003  */
47004 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN4(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_BLEN4_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_BLEN4_MASK)
47005 
47006 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN8_MASK      (0x4U)
47007 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN8_SHIFT     (2U)
47008 /*! BLEN8 - AXI Burst Length 8 When this bit is set to 1 or the FB bit is set to 0, the EQOS-AXI
47009  *    master can select a burst length of 8 on the AXI interface.
47010  *  0b0..No effect
47011  *  0b1..AXI Burst Length 8
47012  */
47013 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN8(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_BLEN8_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_BLEN8_MASK)
47014 
47015 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN16_MASK     (0x8U)
47016 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN16_SHIFT    (3U)
47017 /*! BLEN16 - AXI Burst Length 16 When this bit is set to 1 or the FB bit is set to 0, the EQOS-AXI
47018  *    master can select a burst length of 16 on the AXI interface.
47019  *  0b0..No effect
47020  *  0b1..AXI Burst Length 16
47021  */
47022 #define ENET_QOS_DMA_SYSBUS_MODE_BLEN16(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_BLEN16_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_BLEN16_MASK)
47023 
47024 #define ENET_QOS_DMA_SYSBUS_MODE_AALE_MASK       (0x400U)
47025 #define ENET_QOS_DMA_SYSBUS_MODE_AALE_SHIFT      (10U)
47026 /*! AALE - Automatic AXI LPI enable When set to 1, enables the AXI master to enter into LPI state
47027  *    when there is no activity in the DWC_ether_qos for number of system clock cycles programmed in
47028  *    the LPIEI field of DMA_AXI_LPI_ENTRY_INTERVAL register.
47029  *  0b0..Automatic AXI LPI is disabled
47030  *  0b1..Automatic AXI LPI is enabled
47031  */
47032 #define ENET_QOS_DMA_SYSBUS_MODE_AALE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_AALE_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_AALE_MASK)
47033 
47034 #define ENET_QOS_DMA_SYSBUS_MODE_AAL_MASK        (0x1000U)
47035 #define ENET_QOS_DMA_SYSBUS_MODE_AAL_SHIFT       (12U)
47036 /*! AAL - Address-Aligned Beats When this bit is set to 1, the EQOS-AXI or EQOS-AHB master performs
47037  *    address-aligned burst transfers on Read and Write channels.
47038  *  0b0..Address-Aligned Beats is disabled
47039  *  0b1..Address-Aligned Beats is enabled
47040  */
47041 #define ENET_QOS_DMA_SYSBUS_MODE_AAL(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_AAL_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_AAL_MASK)
47042 
47043 #define ENET_QOS_DMA_SYSBUS_MODE_ONEKBBE_MASK    (0x2000U)
47044 #define ENET_QOS_DMA_SYSBUS_MODE_ONEKBBE_SHIFT   (13U)
47045 /*! ONEKBBE - 1 KB Boundary Crossing Enable for the EQOS-AXI Master When set, the burst transfers
47046  *    performed by the EQOS-AXI master do not cross 1 KB boundary.
47047  *  0b0..1 KB Boundary Crossing for the EQOS-AXI Master Beats is disabled
47048  *  0b1..1 KB Boundary Crossing for the EQOS-AXI Master Beats is enabled
47049  */
47050 #define ENET_QOS_DMA_SYSBUS_MODE_ONEKBBE(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_ONEKBBE_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_ONEKBBE_MASK)
47051 
47052 #define ENET_QOS_DMA_SYSBUS_MODE_RD_OSR_LMT_MASK (0xF0000U)
47053 #define ENET_QOS_DMA_SYSBUS_MODE_RD_OSR_LMT_SHIFT (16U)
47054 /*! RD_OSR_LMT - AXI Maximum Read Outstanding Request Limit This value limits the maximum outstanding request on the AXI read interface.
47055  */
47056 #define ENET_QOS_DMA_SYSBUS_MODE_RD_OSR_LMT(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_RD_OSR_LMT_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_RD_OSR_LMT_MASK)
47057 
47058 #define ENET_QOS_DMA_SYSBUS_MODE_WR_OSR_LMT_MASK (0xF000000U)
47059 #define ENET_QOS_DMA_SYSBUS_MODE_WR_OSR_LMT_SHIFT (24U)
47060 /*! WR_OSR_LMT - AXI Maximum Write Outstanding Request Limit This value limits the maximum
47061  *    outstanding request on the AXI write interface.
47062  */
47063 #define ENET_QOS_DMA_SYSBUS_MODE_WR_OSR_LMT(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_WR_OSR_LMT_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_WR_OSR_LMT_MASK)
47064 
47065 #define ENET_QOS_DMA_SYSBUS_MODE_LPI_XIT_PKT_MASK (0x40000000U)
47066 #define ENET_QOS_DMA_SYSBUS_MODE_LPI_XIT_PKT_SHIFT (30U)
47067 /*! LPI_XIT_PKT - Unlock on Magic Packet or Remote Wake-Up Packet When set to 1, this bit enables
47068  *    the AXI master to come out of the LPI mode only when the magic packet or remote wake-up packet
47069  *    is received.
47070  *  0b0..Unlock on Magic Packet or Remote Wake-Up Packet is disabled
47071  *  0b1..Unlock on Magic Packet or Remote Wake-Up Packet is enabled
47072  */
47073 #define ENET_QOS_DMA_SYSBUS_MODE_LPI_XIT_PKT(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_LPI_XIT_PKT_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_LPI_XIT_PKT_MASK)
47074 
47075 #define ENET_QOS_DMA_SYSBUS_MODE_EN_LPI_MASK     (0x80000000U)
47076 #define ENET_QOS_DMA_SYSBUS_MODE_EN_LPI_SHIFT    (31U)
47077 /*! EN_LPI - Enable Low Power Interface (LPI) When set to 1, this bit enables the LPI mode supported
47078  *    by the EQOS-AXI configuration and accepts the LPI request from the AXI System Clock
47079  *    controller.
47080  *  0b0..Low Power Interface (LPI) is disabled
47081  *  0b1..Low Power Interface (LPI) is enabled
47082  */
47083 #define ENET_QOS_DMA_SYSBUS_MODE_EN_LPI(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_SYSBUS_MODE_EN_LPI_SHIFT)) & ENET_QOS_DMA_SYSBUS_MODE_EN_LPI_MASK)
47084 /*! @} */
47085 
47086 /*! @name DMA_INTERRUPT_STATUS - DMA Interrupt Status */
47087 /*! @{ */
47088 
47089 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC0IS_MASK (0x1U)
47090 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC0IS_SHIFT (0U)
47091 /*! DC0IS - DMA Channel 0 Interrupt Status This bit indicates an interrupt event in DMA Channel 0.
47092  *  0b1..DMA Channel 0 Interrupt Status detected
47093  *  0b0..DMA Channel 0 Interrupt Status not detected
47094  */
47095 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC0IS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_DC0IS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_DC0IS_MASK)
47096 
47097 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC1IS_MASK (0x2U)
47098 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC1IS_SHIFT (1U)
47099 /*! DC1IS - DMA Channel 1 Interrupt Status This bit indicates an interrupt event in DMA Channel 1.
47100  *  0b1..DMA Channel 1 Interrupt Status detected
47101  *  0b0..DMA Channel 1 Interrupt Status not detected
47102  */
47103 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC1IS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_DC1IS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_DC1IS_MASK)
47104 
47105 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC2IS_MASK (0x4U)
47106 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC2IS_SHIFT (2U)
47107 /*! DC2IS - DMA Channel 2 Interrupt Status This bit indicates an interrupt event in DMA Channel 2.
47108  *  0b1..DMA Channel 2 Interrupt Status detected
47109  *  0b0..DMA Channel 2 Interrupt Status not detected
47110  */
47111 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC2IS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_DC2IS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_DC2IS_MASK)
47112 
47113 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC3IS_MASK (0x8U)
47114 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC3IS_SHIFT (3U)
47115 /*! DC3IS - DMA Channel 3 Interrupt Status This bit indicates an interrupt event in DMA Channel 3.
47116  *  0b1..DMA Channel 3 Interrupt Status detected
47117  *  0b0..DMA Channel 3 Interrupt Status not detected
47118  */
47119 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC3IS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_DC3IS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_DC3IS_MASK)
47120 
47121 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC4IS_MASK (0x10U)
47122 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC4IS_SHIFT (4U)
47123 /*! DC4IS - DMA Channel 4 Interrupt Status This bit indicates an interrupt event in DMA Channel 4.
47124  *  0b1..DMA Channel 4 Interrupt Status detected
47125  *  0b0..DMA Channel 4 Interrupt Status not detected
47126  */
47127 #define ENET_QOS_DMA_INTERRUPT_STATUS_DC4IS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_DC4IS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_DC4IS_MASK)
47128 
47129 #define ENET_QOS_DMA_INTERRUPT_STATUS_MTLIS_MASK (0x10000U)
47130 #define ENET_QOS_DMA_INTERRUPT_STATUS_MTLIS_SHIFT (16U)
47131 /*! MTLIS - MTL Interrupt Status This bit indicates an interrupt event in the MTL.
47132  *  0b1..MTL Interrupt Status detected
47133  *  0b0..MTL Interrupt Status not detected
47134  */
47135 #define ENET_QOS_DMA_INTERRUPT_STATUS_MTLIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_MTLIS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_MTLIS_MASK)
47136 
47137 #define ENET_QOS_DMA_INTERRUPT_STATUS_MACIS_MASK (0x20000U)
47138 #define ENET_QOS_DMA_INTERRUPT_STATUS_MACIS_SHIFT (17U)
47139 /*! MACIS - MAC Interrupt Status This bit indicates an interrupt event in the MAC.
47140  *  0b1..MAC Interrupt Status detected
47141  *  0b0..MAC Interrupt Status not detected
47142  */
47143 #define ENET_QOS_DMA_INTERRUPT_STATUS_MACIS(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_INTERRUPT_STATUS_MACIS_SHIFT)) & ENET_QOS_DMA_INTERRUPT_STATUS_MACIS_MASK)
47144 /*! @} */
47145 
47146 /*! @name DMA_DEBUG_STATUS0 - DMA Debug Status 0 */
47147 /*! @{ */
47148 
47149 #define ENET_QOS_DMA_DEBUG_STATUS0_AXWHSTS_MASK  (0x1U)
47150 #define ENET_QOS_DMA_DEBUG_STATUS0_AXWHSTS_SHIFT (0U)
47151 /*! AXWHSTS - AXI Master Write Channel When high, this bit indicates that the write channel of the
47152  *    AXI master is active, and it is transferring data.
47153  *  0b1..AXI Master Write Channel or AHB Master Status detected
47154  *  0b0..AXI Master Write Channel or AHB Master Status not detected
47155  */
47156 #define ENET_QOS_DMA_DEBUG_STATUS0_AXWHSTS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_AXWHSTS_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_AXWHSTS_MASK)
47157 
47158 #define ENET_QOS_DMA_DEBUG_STATUS0_AXRHSTS_MASK  (0x2U)
47159 #define ENET_QOS_DMA_DEBUG_STATUS0_AXRHSTS_SHIFT (1U)
47160 /*! AXRHSTS - AXI Master Read Channel Status When high, this bit indicates that the read channel of
47161  *    the AXI master is active, and it is transferring the data.
47162  *  0b1..AXI Master Read Channel Status detected
47163  *  0b0..AXI Master Read Channel Status not detected
47164  */
47165 #define ENET_QOS_DMA_DEBUG_STATUS0_AXRHSTS(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_AXRHSTS_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_AXRHSTS_MASK)
47166 
47167 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS0_MASK     (0xF00U)
47168 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS0_SHIFT    (8U)
47169 /*! RPS0 - DMA Channel 0 Receive Process State This field indicates the Rx DMA FSM state for Channel 0.
47170  *  0b0010..Reserved for future use
47171  *  0b0101..Running (Closing the Rx Descriptor)
47172  *  0b0001..Running (Fetching Rx Transfer Descriptor)
47173  *  0b0111..Running (Transferring the received packet data from the Rx buffer to the system memory)
47174  *  0b0011..Running (Waiting for Rx packet)
47175  *  0b0000..Stopped (Reset or Stop Receive Command issued)
47176  *  0b0100..Suspended (Rx Descriptor Unavailable)
47177  *  0b0110..Timestamp write state
47178  */
47179 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS0(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_RPS0_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_RPS0_MASK)
47180 
47181 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS0_MASK     (0xF000U)
47182 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS0_SHIFT    (12U)
47183 /*! TPS0 - DMA Channel 0 Transmit Process State This field indicates the Tx DMA FSM state for Channel 0.
47184  *  0b0101..Reserved for future use
47185  *  0b0111..Running (Closing Tx Descriptor)
47186  *  0b0001..Running (Fetching Tx Transfer Descriptor)
47187  *  0b0011..Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO))
47188  *  0b0010..Running (Waiting for status)
47189  *  0b0000..Stopped (Reset or Stop Transmit Command issued)
47190  *  0b0110..Suspended (Tx Descriptor Unavailable or Tx Buffer Underflow)
47191  *  0b0100..Timestamp write state
47192  */
47193 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS0(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_TPS0_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_TPS0_MASK)
47194 
47195 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS1_MASK     (0xF0000U)
47196 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS1_SHIFT    (16U)
47197 /*! RPS1 - DMA Channel 1 Receive Process State This field indicates the Rx DMA FSM state for Channel 1.
47198  *  0b0010..Reserved for future use
47199  *  0b0101..Running (Closing the Rx Descriptor)
47200  *  0b0001..Running (Fetching Rx Transfer Descriptor)
47201  *  0b0111..Running (Transferring the received packet data from the Rx buffer to the system memory)
47202  *  0b0011..Running (Waiting for Rx packet)
47203  *  0b0000..Stopped (Reset or Stop Receive Command issued)
47204  *  0b0100..Suspended (Rx Descriptor Unavailable)
47205  *  0b0110..Timestamp write state
47206  */
47207 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS1(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_RPS1_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_RPS1_MASK)
47208 
47209 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS1_MASK     (0xF00000U)
47210 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS1_SHIFT    (20U)
47211 /*! TPS1 - DMA Channel 1 Transmit Process State This field indicates the Tx DMA FSM state for Channel 1.
47212  *  0b0101..Reserved for future use
47213  *  0b0111..Running (Closing Tx Descriptor)
47214  *  0b0001..Running (Fetching Tx Transfer Descriptor)
47215  *  0b0011..Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO))
47216  *  0b0010..Running (Waiting for status)
47217  *  0b0000..Stopped (Reset or Stop Transmit Command issued)
47218  *  0b0110..Suspended (Tx Descriptor Unavailable or Tx Buffer Underflow)
47219  *  0b0100..Timestamp write state
47220  */
47221 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS1(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_TPS1_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_TPS1_MASK)
47222 
47223 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS2_MASK     (0xF000000U)
47224 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS2_SHIFT    (24U)
47225 /*! RPS2 - DMA Channel 2 Receive Process State This field indicates the Rx DMA FSM state for Channel 2.
47226  *  0b0010..Reserved for future use
47227  *  0b0101..Running (Closing the Rx Descriptor)
47228  *  0b0001..Running (Fetching Rx Transfer Descriptor)
47229  *  0b0111..Running (Transferring the received packet data from the Rx buffer to the system memory)
47230  *  0b0011..Running (Waiting for Rx packet)
47231  *  0b0000..Stopped (Reset or Stop Receive Command issued)
47232  *  0b0100..Suspended (Rx Descriptor Unavailable)
47233  *  0b0110..Timestamp write state
47234  */
47235 #define ENET_QOS_DMA_DEBUG_STATUS0_RPS2(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_RPS2_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_RPS2_MASK)
47236 
47237 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS2_MASK     (0xF0000000U)
47238 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS2_SHIFT    (28U)
47239 /*! TPS2 - DMA Channel 2 Transmit Process State This field indicates the Tx DMA FSM state for Channel 2.
47240  *  0b0101..Reserved for future use
47241  *  0b0111..Running (Closing Tx Descriptor)
47242  *  0b0001..Running (Fetching Tx Transfer Descriptor)
47243  *  0b0011..Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO))
47244  *  0b0010..Running (Waiting for status)
47245  *  0b0000..Stopped (Reset or Stop Transmit Command issued)
47246  *  0b0110..Suspended (Tx Descriptor Unavailable or Tx Buffer Underflow)
47247  *  0b0100..Timestamp write state
47248  */
47249 #define ENET_QOS_DMA_DEBUG_STATUS0_TPS2(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS0_TPS2_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS0_TPS2_MASK)
47250 /*! @} */
47251 
47252 /*! @name DMA_DEBUG_STATUS1 - DMA Debug Status 1 */
47253 /*! @{ */
47254 
47255 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS3_MASK     (0xFU)
47256 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS3_SHIFT    (0U)
47257 /*! RPS3 - DMA Channel 3 Receive Process State This field indicates the Rx DMA FSM state for Channel 3.
47258  *  0b0010..Reserved for future use
47259  *  0b0101..Running (Closing the Rx Descriptor)
47260  *  0b0001..Running (Fetching Rx Transfer Descriptor)
47261  *  0b0111..Running (Transferring the received packet data from the Rx buffer to the system memory)
47262  *  0b0011..Running (Waiting for Rx packet)
47263  *  0b0000..Stopped (Reset or Stop Receive Command issued)
47264  *  0b0100..Suspended (Rx Descriptor Unavailable)
47265  *  0b0110..Timestamp write state
47266  */
47267 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS3(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS1_RPS3_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS1_RPS3_MASK)
47268 
47269 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS3_MASK     (0xF0U)
47270 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS3_SHIFT    (4U)
47271 /*! TPS3 - DMA Channel 3 Transmit Process State This field indicates the Tx DMA FSM state for Channel 3.
47272  *  0b0101..Reserved for future use
47273  *  0b0111..Running (Closing Tx Descriptor)
47274  *  0b0001..Running (Fetching Tx Transfer Descriptor)
47275  *  0b0011..Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO))
47276  *  0b0010..Running (Waiting for status)
47277  *  0b0000..Stopped (Reset or Stop Transmit Command issued)
47278  *  0b0110..Suspended (Tx Descriptor Unavailable or Tx Buffer Underflow)
47279  *  0b0100..Timestamp write state
47280  */
47281 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS3(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS1_TPS3_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS1_TPS3_MASK)
47282 
47283 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS4_MASK     (0xF00U)
47284 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS4_SHIFT    (8U)
47285 /*! RPS4 - DMA Channel 4 Receive Process State This field indicates the Rx DMA FSM state for Channel 4.
47286  *  0b0010..Reserved for future use
47287  *  0b0101..Running (Closing the Rx Descriptor)
47288  *  0b0001..Running (Fetching Rx Transfer Descriptor)
47289  *  0b0111..Running (Transferring the received packet data from the Rx buffer to the system memory)
47290  *  0b0011..Running (Waiting for Rx packet)
47291  *  0b0000..Stopped (Reset or Stop Receive Command issued)
47292  *  0b0100..Suspended (Rx Descriptor Unavailable)
47293  *  0b0110..Timestamp write state
47294  */
47295 #define ENET_QOS_DMA_DEBUG_STATUS1_RPS4(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS1_RPS4_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS1_RPS4_MASK)
47296 
47297 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS4_MASK     (0xF000U)
47298 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS4_SHIFT    (12U)
47299 /*! TPS4 - DMA Channel 4 Transmit Process State This field indicates the Tx DMA FSM state for Channel 4.
47300  *  0b0101..Reserved for future use
47301  *  0b0111..Running (Closing Tx Descriptor)
47302  *  0b0001..Running (Fetching Tx Transfer Descriptor)
47303  *  0b0011..Running (Reading Data from system memory buffer and queuing it to the Tx buffer (Tx FIFO))
47304  *  0b0010..Running (Waiting for status)
47305  *  0b0000..Stopped (Reset or Stop Transmit Command issued)
47306  *  0b0110..Suspended (Tx Descriptor Unavailable or Tx Buffer Underflow)
47307  *  0b0100..Timestamp write state
47308  */
47309 #define ENET_QOS_DMA_DEBUG_STATUS1_TPS4(x)       (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_DEBUG_STATUS1_TPS4_SHIFT)) & ENET_QOS_DMA_DEBUG_STATUS1_TPS4_MASK)
47310 /*! @} */
47311 
47312 /*! @name DMA_AXI_LPI_ENTRY_INTERVAL - AXI LPI Entry Interval Control */
47313 /*! @{ */
47314 
47315 #define ENET_QOS_DMA_AXI_LPI_ENTRY_INTERVAL_LPIEI_MASK (0xFU)
47316 #define ENET_QOS_DMA_AXI_LPI_ENTRY_INTERVAL_LPIEI_SHIFT (0U)
47317 /*! LPIEI - LPI Entry Interval Contains the number of system clock cycles, multiplied by 64, to wait
47318  *    for an activity in the DWC_ether_qos to enter into the AXI low power state 0 indicates 64
47319  *    clock cycles
47320  */
47321 #define ENET_QOS_DMA_AXI_LPI_ENTRY_INTERVAL_LPIEI(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_AXI_LPI_ENTRY_INTERVAL_LPIEI_SHIFT)) & ENET_QOS_DMA_AXI_LPI_ENTRY_INTERVAL_LPIEI_MASK)
47322 /*! @} */
47323 
47324 /*! @name DMA_TBS_CTRL - TBS Control */
47325 /*! @{ */
47326 
47327 #define ENET_QOS_DMA_TBS_CTRL_FTOV_MASK          (0x1U)
47328 #define ENET_QOS_DMA_TBS_CTRL_FTOV_SHIFT         (0U)
47329 /*! FTOV - Fetch Time Offset Valid When set indicates the FTOS field is valid.
47330  *  0b0..Fetch Time Offset is invalid
47331  *  0b1..Fetch Time Offset is valid
47332  */
47333 #define ENET_QOS_DMA_TBS_CTRL_FTOV(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_TBS_CTRL_FTOV_SHIFT)) & ENET_QOS_DMA_TBS_CTRL_FTOV_MASK)
47334 
47335 #define ENET_QOS_DMA_TBS_CTRL_FGOS_MASK          (0x70U)
47336 #define ENET_QOS_DMA_TBS_CTRL_FGOS_SHIFT         (4U)
47337 /*! FGOS - Fetch GSN Offset The number GSN slots that must be deducted from the Launch GSN to compute the Fetch GSN.
47338  */
47339 #define ENET_QOS_DMA_TBS_CTRL_FGOS(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_TBS_CTRL_FGOS_SHIFT)) & ENET_QOS_DMA_TBS_CTRL_FGOS_MASK)
47340 
47341 #define ENET_QOS_DMA_TBS_CTRL_FTOS_MASK          (0xFFFFFF00U)
47342 #define ENET_QOS_DMA_TBS_CTRL_FTOS_SHIFT         (8U)
47343 /*! FTOS - Fetch Time Offset The value in units of 256 nanoseconds, that has to be deducted from the
47344  *    Launch time to compute the Fetch Time.
47345  */
47346 #define ENET_QOS_DMA_TBS_CTRL_FTOS(x)            (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_TBS_CTRL_FTOS_SHIFT)) & ENET_QOS_DMA_TBS_CTRL_FTOS_MASK)
47347 /*! @} */
47348 
47349 /*! @name DMA_CHX_CTRL - DMA Channel 0 Control..DMA Channel 4 Control */
47350 /*! @{ */
47351 
47352 #define ENET_QOS_DMA_CHX_CTRL_PBLx8_MASK         (0x10000U)
47353 #define ENET_QOS_DMA_CHX_CTRL_PBLx8_SHIFT        (16U)
47354 /*! PBLx8 - 8xPBL mode When this bit is set, the PBL value programmed in Bits[21:16] in
47355  *    DMA_CH4_TX_CONTROL and Bits[21:16] in DMA_CH4_RX_CONTROL is multiplied by eight times.
47356  *  0b0..8xPBL mode is disabled
47357  *  0b1..8xPBL mode is enabled
47358  */
47359 #define ENET_QOS_DMA_CHX_CTRL_PBLx8(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CTRL_PBLx8_SHIFT)) & ENET_QOS_DMA_CHX_CTRL_PBLx8_MASK)
47360 
47361 #define ENET_QOS_DMA_CHX_CTRL_DSL_MASK           (0x1C0000U)
47362 #define ENET_QOS_DMA_CHX_CTRL_DSL_SHIFT          (18U)
47363 /*! DSL - Descriptor Skip Length This bit specifies the Word, Dword, or Lword number (depending on
47364  *    the 32-bit, 64-bit, or 128-bit bus) to skip between two unchained descriptors.
47365  */
47366 #define ENET_QOS_DMA_CHX_CTRL_DSL(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CTRL_DSL_SHIFT)) & ENET_QOS_DMA_CHX_CTRL_DSL_MASK)
47367 /*! @} */
47368 
47369 /* The count of ENET_QOS_DMA_CHX_CTRL */
47370 #define ENET_QOS_DMA_CHX_CTRL_COUNT              (5U)
47371 
47372 /*! @name DMA_CHX_TX_CTRL - DMA Channel 0 Transmit Control..DMA Channel 4 Transmit Control */
47373 /*! @{ */
47374 
47375 #define ENET_QOS_DMA_CHX_TX_CTRL_ST_MASK         (0x1U)
47376 #define ENET_QOS_DMA_CHX_TX_CTRL_ST_SHIFT        (0U)
47377 /*! ST - Start or Stop Transmission Command When this bit is set, transmission is placed in the Running state.
47378  *  0b1..Start Transmission Command
47379  *  0b0..Stop Transmission Command
47380  */
47381 #define ENET_QOS_DMA_CHX_TX_CTRL_ST(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TX_CTRL_ST_SHIFT)) & ENET_QOS_DMA_CHX_TX_CTRL_ST_MASK)
47382 
47383 #define ENET_QOS_DMA_CHX_TX_CTRL_OSF_MASK        (0x10U)
47384 #define ENET_QOS_DMA_CHX_TX_CTRL_OSF_SHIFT       (4U)
47385 /*! OSF - Operate on Second Packet When this bit is set, it instructs the DMA to process the second
47386  *    packet of the Transmit data even before the status for the first packet is obtained.
47387  *  0b0..Operate on Second Packet disabled
47388  *  0b1..Operate on Second Packet enabled
47389  */
47390 #define ENET_QOS_DMA_CHX_TX_CTRL_OSF(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TX_CTRL_OSF_SHIFT)) & ENET_QOS_DMA_CHX_TX_CTRL_OSF_MASK)
47391 
47392 #define ENET_QOS_DMA_CHX_TX_CTRL_IPBL_MASK       (0x8000U)
47393 #define ENET_QOS_DMA_CHX_TX_CTRL_IPBL_SHIFT      (15U)
47394 /*! IPBL - Ignore PBL Requirement When this bit is set, the DMA does not check for PBL number of
47395  *    locations in the MTL before initiating a transfer.
47396  *  0b0..Ignore PBL Requirement is disabled
47397  *  0b1..Ignore PBL Requirement is enabled
47398  */
47399 #define ENET_QOS_DMA_CHX_TX_CTRL_IPBL(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TX_CTRL_IPBL_SHIFT)) & ENET_QOS_DMA_CHX_TX_CTRL_IPBL_MASK)
47400 
47401 #define ENET_QOS_DMA_CHX_TX_CTRL_TxPBL_MASK      (0x3F0000U)
47402 #define ENET_QOS_DMA_CHX_TX_CTRL_TxPBL_SHIFT     (16U)
47403 /*! TxPBL - Transmit Programmable Burst Length These bits indicate the maximum number of beats to be
47404  *    transferred in one DMA block data transfer.
47405  */
47406 #define ENET_QOS_DMA_CHX_TX_CTRL_TxPBL(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TX_CTRL_TxPBL_SHIFT)) & ENET_QOS_DMA_CHX_TX_CTRL_TxPBL_MASK)
47407 
47408 #define ENET_QOS_DMA_CHX_TX_CTRL_EDSE_MASK       (0x10000000U)
47409 #define ENET_QOS_DMA_CHX_TX_CTRL_EDSE_SHIFT      (28U)
47410 /*! EDSE - Enhanced Descriptor Enable When this bit is set, the corresponding channel uses Enhanced
47411  *    Descriptors that are 32 Bytes for both Normal and Context Descriptors.
47412  *  0b0..Enhanced Descriptor is disabled
47413  *  0b1..Enhanced Descriptor is enabled
47414  */
47415 #define ENET_QOS_DMA_CHX_TX_CTRL_EDSE(x)         (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TX_CTRL_EDSE_SHIFT)) & ENET_QOS_DMA_CHX_TX_CTRL_EDSE_MASK)
47416 /*! @} */
47417 
47418 /* The count of ENET_QOS_DMA_CHX_TX_CTRL */
47419 #define ENET_QOS_DMA_CHX_TX_CTRL_COUNT           (5U)
47420 
47421 /*! @name DMA_CHX_RX_CTRL - DMA Channel 0 Receive Control..DMA Channel 4 Receive Control */
47422 /*! @{ */
47423 
47424 #define ENET_QOS_DMA_CHX_RX_CTRL_SR_MASK         (0x1U)
47425 #define ENET_QOS_DMA_CHX_RX_CTRL_SR_SHIFT        (0U)
47426 /*! SR - Start or Stop Receive When this bit is set, the DMA tries to acquire the descriptor from
47427  *    the Receive list and processes the incoming packets.
47428  *  0b1..Start Receive
47429  *  0b0..Stop Receive
47430  */
47431 #define ENET_QOS_DMA_CHX_RX_CTRL_SR(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_CTRL_SR_SHIFT)) & ENET_QOS_DMA_CHX_RX_CTRL_SR_MASK)
47432 
47433 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_x_0_MASK   (0xEU)
47434 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_x_0_SHIFT  (1U)
47435 /*! RBSZ_x_0 - Receive Buffer size Low RBSZ[13:0] is split into two fields RBSZ_13_y and RBSZ_x_0.
47436  */
47437 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_x_0(x)     (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_x_0_SHIFT)) & ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_x_0_MASK)
47438 
47439 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_13_y_MASK  (0x7FF0U)
47440 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_13_y_SHIFT (4U)
47441 /*! RBSZ_13_y - Receive Buffer size High RBSZ[13:0] is split into two fields higher RBSZ_13_y and lower RBSZ_x_0.
47442  */
47443 #define ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_13_y(x)    (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_13_y_SHIFT)) & ENET_QOS_DMA_CHX_RX_CTRL_RBSZ_13_y_MASK)
47444 
47445 #define ENET_QOS_DMA_CHX_RX_CTRL_RxPBL_MASK      (0x3F0000U)
47446 #define ENET_QOS_DMA_CHX_RX_CTRL_RxPBL_SHIFT     (16U)
47447 /*! RxPBL - Receive Programmable Burst Length These bits indicate the maximum number of beats to be
47448  *    transferred in one DMA block data transfer.
47449  */
47450 #define ENET_QOS_DMA_CHX_RX_CTRL_RxPBL(x)        (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_CTRL_RxPBL_SHIFT)) & ENET_QOS_DMA_CHX_RX_CTRL_RxPBL_MASK)
47451 
47452 #define ENET_QOS_DMA_CHX_RX_CTRL_RPF_MASK        (0x80000000U)
47453 #define ENET_QOS_DMA_CHX_RX_CTRL_RPF_SHIFT       (31U)
47454 /*! RPF - Rx Packet Flush.
47455  *  0b0..Rx Packet Flush is disabled
47456  *  0b1..Rx Packet Flush is enabled
47457  */
47458 #define ENET_QOS_DMA_CHX_RX_CTRL_RPF(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_CTRL_RPF_SHIFT)) & ENET_QOS_DMA_CHX_RX_CTRL_RPF_MASK)
47459 /*! @} */
47460 
47461 /* The count of ENET_QOS_DMA_CHX_RX_CTRL */
47462 #define ENET_QOS_DMA_CHX_RX_CTRL_COUNT           (5U)
47463 
47464 /*! @name DMA_CHX_TXDESC_LIST_ADDR - Channel 0 Tx Descriptor List Address register..Channel 4 Tx Descriptor List Address */
47465 /*! @{ */
47466 
47467 #define ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_TDESLA_MASK (0xFFFFFFF8U)
47468 #define ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_TDESLA_SHIFT (3U)
47469 /*! TDESLA - Start of Transmit List This field contains the base address of the first descriptor in the Transmit descriptor list.
47470  */
47471 #define ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_TDESLA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_TDESLA_SHIFT)) & ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_TDESLA_MASK)
47472 /*! @} */
47473 
47474 /* The count of ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR */
47475 #define ENET_QOS_DMA_CHX_TXDESC_LIST_ADDR_COUNT  (5U)
47476 
47477 /*! @name DMA_CHX_RXDESC_LIST_ADDR - Channel 0 Rx Descriptor List Address register..Channel 4 Rx Descriptor List Address */
47478 /*! @{ */
47479 
47480 #define ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_RDESLA_MASK (0xFFFFFFF8U)
47481 #define ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_RDESLA_SHIFT (3U)
47482 /*! RDESLA - Start of Receive List This field contains the base address of the first descriptor in the Rx Descriptor list.
47483  */
47484 #define ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_RDESLA(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_RDESLA_SHIFT)) & ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_RDESLA_MASK)
47485 /*! @} */
47486 
47487 /* The count of ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR */
47488 #define ENET_QOS_DMA_CHX_RXDESC_LIST_ADDR_COUNT  (5U)
47489 
47490 /*! @name DMA_CHX_TXDESC_TAIL_PTR - Channel 0 Tx Descriptor Tail Pointer..Channel 4 Tx Descriptor Tail Pointer */
47491 /*! @{ */
47492 
47493 #define ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_TDTP_MASK (0xFFFFFFF8U)
47494 #define ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_TDTP_SHIFT (3U)
47495 /*! TDTP - Transmit Descriptor Tail Pointer This field contains the tail pointer for the Tx descriptor ring.
47496  */
47497 #define ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_TDTP(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_TDTP_SHIFT)) & ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_TDTP_MASK)
47498 /*! @} */
47499 
47500 /* The count of ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR */
47501 #define ENET_QOS_DMA_CHX_TXDESC_TAIL_PTR_COUNT   (5U)
47502 
47503 /*! @name DMA_CHX_RXDESC_TAIL_PTR - Channel 0 Rx Descriptor Tail Pointer..Channel 4 Rx Descriptor Tail Pointer */
47504 /*! @{ */
47505 
47506 #define ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_RDTP_MASK (0xFFFFFFF8U)
47507 #define ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_RDTP_SHIFT (3U)
47508 /*! RDTP - Receive Descriptor Tail Pointer This field contains the tail pointer for the Rx descriptor ring.
47509  */
47510 #define ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_RDTP(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_RDTP_SHIFT)) & ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_RDTP_MASK)
47511 /*! @} */
47512 
47513 /* The count of ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR */
47514 #define ENET_QOS_DMA_CHX_RXDESC_TAIL_PTR_COUNT   (5U)
47515 
47516 /*! @name DMA_CHX_TXDESC_RING_LENGTH - Channel 0 Tx Descriptor Ring Length..Channel 4 Tx Descriptor Ring Length */
47517 /*! @{ */
47518 
47519 #define ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL_MASK (0x3FFU)
47520 #define ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL_SHIFT (0U)
47521 /*! TDRL - Transmit Descriptor Ring Length This field sets the maximum number of Tx descriptors in the circular descriptor ring.
47522  */
47523 #define ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL_SHIFT)) & ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_TDRL_MASK)
47524 /*! @} */
47525 
47526 /* The count of ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH */
47527 #define ENET_QOS_DMA_CHX_TXDESC_RING_LENGTH_COUNT (5U)
47528 
47529 /*! @name DMA_CHX_RXDESC_RING_LENGTH - Channel 0 Rx Descriptor Ring Length..Channel 4 Rx Descriptor Ring Length */
47530 /*! @{ */
47531 
47532 #define ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_RDRL_MASK (0x3FFU)
47533 #define ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_RDRL_SHIFT (0U)
47534 /*! RDRL - Receive Descriptor Ring Length This register sets the maximum number of Rx descriptors in the circular descriptor ring.
47535  */
47536 #define ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_RDRL(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_RDRL_SHIFT)) & ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_RDRL_MASK)
47537 /*! @} */
47538 
47539 /* The count of ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH */
47540 #define ENET_QOS_DMA_CHX_RXDESC_RING_LENGTH_COUNT (5U)
47541 
47542 /*! @name DMA_CHX_INT_EN - Channel 0 Interrupt Enable..Channel 4 Interrupt Enable */
47543 /*! @{ */
47544 
47545 #define ENET_QOS_DMA_CHX_INT_EN_TIE_MASK         (0x1U)
47546 #define ENET_QOS_DMA_CHX_INT_EN_TIE_SHIFT        (0U)
47547 /*! TIE - Transmit Interrupt Enable When this bit is set along with the NIE bit, the Transmit Interrupt is enabled.
47548  *  0b0..Transmit Interrupt is disabled
47549  *  0b1..Transmit Interrupt is enabled
47550  */
47551 #define ENET_QOS_DMA_CHX_INT_EN_TIE(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_TIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_TIE_MASK)
47552 
47553 #define ENET_QOS_DMA_CHX_INT_EN_TXSE_MASK        (0x2U)
47554 #define ENET_QOS_DMA_CHX_INT_EN_TXSE_SHIFT       (1U)
47555 /*! TXSE - Transmit Stopped Enable When this bit is set along with the AIE bit, the Transmission Stopped interrupt is enabled.
47556  *  0b0..Transmit Stopped is disabled
47557  *  0b1..Transmit Stopped is enabled
47558  */
47559 #define ENET_QOS_DMA_CHX_INT_EN_TXSE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_TXSE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_TXSE_MASK)
47560 
47561 #define ENET_QOS_DMA_CHX_INT_EN_TBUE_MASK        (0x4U)
47562 #define ENET_QOS_DMA_CHX_INT_EN_TBUE_SHIFT       (2U)
47563 /*! TBUE - Transmit Buffer Unavailable Enable When this bit is set along with the NIE bit, the
47564  *    Transmit Buffer Unavailable interrupt is enabled.
47565  *  0b0..Transmit Buffer Unavailable is disabled
47566  *  0b1..Transmit Buffer Unavailable is enabled
47567  */
47568 #define ENET_QOS_DMA_CHX_INT_EN_TBUE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_TBUE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_TBUE_MASK)
47569 
47570 #define ENET_QOS_DMA_CHX_INT_EN_RIE_MASK         (0x40U)
47571 #define ENET_QOS_DMA_CHX_INT_EN_RIE_SHIFT        (6U)
47572 /*! RIE - Receive Interrupt Enable When this bit is set along with the NIE bit, the Receive Interrupt is enabled.
47573  *  0b0..Receive Interrupt is disabled
47574  *  0b1..Receive Interrupt is enabled
47575  */
47576 #define ENET_QOS_DMA_CHX_INT_EN_RIE(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_RIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_RIE_MASK)
47577 
47578 #define ENET_QOS_DMA_CHX_INT_EN_RBUE_MASK        (0x80U)
47579 #define ENET_QOS_DMA_CHX_INT_EN_RBUE_SHIFT       (7U)
47580 /*! RBUE - Receive Buffer Unavailable Enable When this bit is set along with the AIE bit, the
47581  *    Receive Buffer Unavailable interrupt is enabled.
47582  *  0b0..Receive Buffer Unavailable is disabled
47583  *  0b1..Receive Buffer Unavailable is enabled
47584  */
47585 #define ENET_QOS_DMA_CHX_INT_EN_RBUE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_RBUE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_RBUE_MASK)
47586 
47587 #define ENET_QOS_DMA_CHX_INT_EN_RSE_MASK         (0x100U)
47588 #define ENET_QOS_DMA_CHX_INT_EN_RSE_SHIFT        (8U)
47589 /*! RSE - Receive Stopped Enable When this bit is set along with the AIE bit, the Receive Stopped Interrupt is enabled.
47590  *  0b0..Receive Stopped is disabled
47591  *  0b1..Receive Stopped is enabled
47592  */
47593 #define ENET_QOS_DMA_CHX_INT_EN_RSE(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_RSE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_RSE_MASK)
47594 
47595 #define ENET_QOS_DMA_CHX_INT_EN_RWTE_MASK        (0x200U)
47596 #define ENET_QOS_DMA_CHX_INT_EN_RWTE_SHIFT       (9U)
47597 /*! RWTE - Receive Watchdog Timeout Enable When this bit is set along with the AIE bit, the Receive
47598  *    Watchdog Timeout interrupt is enabled.
47599  *  0b0..Receive Watchdog Timeout is disabled
47600  *  0b1..Receive Watchdog Timeout is enabled
47601  */
47602 #define ENET_QOS_DMA_CHX_INT_EN_RWTE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_RWTE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_RWTE_MASK)
47603 
47604 #define ENET_QOS_DMA_CHX_INT_EN_ETIE_MASK        (0x400U)
47605 #define ENET_QOS_DMA_CHX_INT_EN_ETIE_SHIFT       (10U)
47606 /*! ETIE - Early Transmit Interrupt Enable When this bit is set along with the AIE bit, the Early Transmit interrupt is enabled.
47607  *  0b0..Early Transmit Interrupt is disabled
47608  *  0b1..Early Transmit Interrupt is enabled
47609  */
47610 #define ENET_QOS_DMA_CHX_INT_EN_ETIE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_ETIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_ETIE_MASK)
47611 
47612 #define ENET_QOS_DMA_CHX_INT_EN_ERIE_MASK        (0x800U)
47613 #define ENET_QOS_DMA_CHX_INT_EN_ERIE_SHIFT       (11U)
47614 /*! ERIE - Early Receive Interrupt Enable When this bit is set along with the NIE bit, the Early Receive interrupt is enabled.
47615  *  0b0..Early Receive Interrupt is disabled
47616  *  0b1..Early Receive Interrupt is enabled
47617  */
47618 #define ENET_QOS_DMA_CHX_INT_EN_ERIE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_ERIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_ERIE_MASK)
47619 
47620 #define ENET_QOS_DMA_CHX_INT_EN_FBEE_MASK        (0x1000U)
47621 #define ENET_QOS_DMA_CHX_INT_EN_FBEE_SHIFT       (12U)
47622 /*! FBEE - Fatal Bus Error Enable When this bit is set along with the AIE bit, the Fatal Bus error interrupt is enabled.
47623  *  0b0..Fatal Bus Error is disabled
47624  *  0b1..Fatal Bus Error is enabled
47625  */
47626 #define ENET_QOS_DMA_CHX_INT_EN_FBEE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_FBEE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_FBEE_MASK)
47627 
47628 #define ENET_QOS_DMA_CHX_INT_EN_CDEE_MASK        (0x2000U)
47629 #define ENET_QOS_DMA_CHX_INT_EN_CDEE_SHIFT       (13U)
47630 /*! CDEE - Context Descriptor Error Enable When this bit is set along with the AIE bit, the Descriptor error interrupt is enabled.
47631  *  0b0..Context Descriptor Error is disabled
47632  *  0b1..Context Descriptor Error is enabled
47633  */
47634 #define ENET_QOS_DMA_CHX_INT_EN_CDEE(x)          (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_CDEE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_CDEE_MASK)
47635 
47636 #define ENET_QOS_DMA_CHX_INT_EN_AIE_MASK         (0x4000U)
47637 #define ENET_QOS_DMA_CHX_INT_EN_AIE_SHIFT        (14U)
47638 /*! AIE - Abnormal Interrupt Summary Enable When this bit is set, the abnormal interrupt summary is enabled.
47639  *  0b0..Abnormal Interrupt Summary is disabled
47640  *  0b1..Abnormal Interrupt Summary is enabled
47641  */
47642 #define ENET_QOS_DMA_CHX_INT_EN_AIE(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_AIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_AIE_MASK)
47643 
47644 #define ENET_QOS_DMA_CHX_INT_EN_NIE_MASK         (0x8000U)
47645 #define ENET_QOS_DMA_CHX_INT_EN_NIE_SHIFT        (15U)
47646 /*! NIE - Normal Interrupt Summary Enable When this bit is set, the normal interrupt summary is enabled.
47647  *  0b0..Normal Interrupt Summary is disabled
47648  *  0b1..Normal Interrupt Summary is enabled
47649  */
47650 #define ENET_QOS_DMA_CHX_INT_EN_NIE(x)           (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_INT_EN_NIE_SHIFT)) & ENET_QOS_DMA_CHX_INT_EN_NIE_MASK)
47651 /*! @} */
47652 
47653 /* The count of ENET_QOS_DMA_CHX_INT_EN */
47654 #define ENET_QOS_DMA_CHX_INT_EN_COUNT            (5U)
47655 
47656 /*! @name DMA_CHX_RX_INT_WDTIMER - Channel 0 Receive Interrupt Watchdog Timer..Channel 4 Receive Interrupt Watchdog Timer */
47657 /*! @{ */
47658 
47659 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWT_MASK (0xFFU)
47660 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWT_SHIFT (0U)
47661 /*! RWT - Receive Interrupt Watchdog Timer Count This field indicates the number of system clock
47662  *    cycles, multiplied by factor indicated in RWTU field, for which the watchdog timer is set.
47663  */
47664 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWT(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWT_SHIFT)) & ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWT_MASK)
47665 
47666 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWTU_MASK (0x30000U)
47667 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWTU_SHIFT (16U)
47668 /*! RWTU - Receive Interrupt Watchdog Timer Count Units This fields indicates the number of system
47669  *    clock cycles corresponding to one unit in RWT field.
47670  */
47671 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWTU(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWTU_SHIFT)) & ENET_QOS_DMA_CHX_RX_INT_WDTIMER_RWTU_MASK)
47672 /*! @} */
47673 
47674 /* The count of ENET_QOS_DMA_CHX_RX_INT_WDTIMER */
47675 #define ENET_QOS_DMA_CHX_RX_INT_WDTIMER_COUNT    (5U)
47676 
47677 /*! @name DMA_CHX_SLOT_FUNC_CTRL_STAT - Channel 0 Slot Function Control and Status..Channel 4 Slot Function Control and Status */
47678 /*! @{ */
47679 
47680 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ESC_MASK (0x1U)
47681 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ESC_SHIFT (0U)
47682 /*! ESC - Enable Slot Comparison When set, this bit enables the checking of the slot numbers
47683  *    programmed in the Tx descriptor with the current reference given in the RSN field.
47684  *  0b0..Slot Comparison is disabled
47685  *  0b1..Slot Comparison is enabled
47686  */
47687 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ESC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ESC_SHIFT)) & ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ESC_MASK)
47688 
47689 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ASC_MASK (0x2U)
47690 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ASC_SHIFT (1U)
47691 /*! ASC - Advance Slot Check When set, this bit enables the DMA to fetch the data from the buffer
47692  *    when the slot number (SLOTNUM) programmed in the Tx descriptor is - equal to the reference slot
47693  *    number given in the RSN field or - ahead of the reference slot number by up to two slots This
47694  *    bit is applicable only when the ESC bit is set.
47695  *  0b0..Advance Slot Check is disabled
47696  *  0b1..Advance Slot Check is enabled
47697  */
47698 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ASC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ASC_SHIFT)) & ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_ASC_MASK)
47699 
47700 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_SIV_MASK (0xFFF0U)
47701 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_SIV_SHIFT (4U)
47702 /*! SIV - Slot Interval Value This field controls the period of the slot interval in which the TxDMA
47703  *    fetches the scheduled packets.
47704  */
47705 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_SIV(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_SIV_SHIFT)) & ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_SIV_MASK)
47706 
47707 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_RSN_MASK (0xF0000U)
47708 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_RSN_SHIFT (16U)
47709 /*! RSN - Reference Slot Number This field gives the current value of the reference slot number in the DMA.
47710  */
47711 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_RSN(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_RSN_SHIFT)) & ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_RSN_MASK)
47712 /*! @} */
47713 
47714 /* The count of ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT */
47715 #define ENET_QOS_DMA_CHX_SLOT_FUNC_CTRL_STAT_COUNT (5U)
47716 
47717 /*! @name DMA_CHX_CUR_HST_TXDESC - Channel 0 Current Application Transmit Descriptor..Channel 4 Current Application Transmit Descriptor */
47718 /*! @{ */
47719 
47720 #define ENET_QOS_DMA_CHX_CUR_HST_TXDESC_CURTDESAPTR_MASK (0xFFFFFFFFU)
47721 #define ENET_QOS_DMA_CHX_CUR_HST_TXDESC_CURTDESAPTR_SHIFT (0U)
47722 /*! CURTDESAPTR - Application Transmit Descriptor Address Pointer The DMA updates this pointer during Tx operation.
47723  */
47724 #define ENET_QOS_DMA_CHX_CUR_HST_TXDESC_CURTDESAPTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CUR_HST_TXDESC_CURTDESAPTR_SHIFT)) & ENET_QOS_DMA_CHX_CUR_HST_TXDESC_CURTDESAPTR_MASK)
47725 /*! @} */
47726 
47727 /* The count of ENET_QOS_DMA_CHX_CUR_HST_TXDESC */
47728 #define ENET_QOS_DMA_CHX_CUR_HST_TXDESC_COUNT    (5U)
47729 
47730 /*! @name DMA_CHX_CUR_HST_RXDESC - Channel 0 Current Application Receive Descriptor..Channel 4 Current Application Receive Descriptor */
47731 /*! @{ */
47732 
47733 #define ENET_QOS_DMA_CHX_CUR_HST_RXDESC_CURRDESAPTR_MASK (0xFFFFFFFFU)
47734 #define ENET_QOS_DMA_CHX_CUR_HST_RXDESC_CURRDESAPTR_SHIFT (0U)
47735 /*! CURRDESAPTR - Application Receive Descriptor Address Pointer The DMA updates this pointer during Rx operation.
47736  */
47737 #define ENET_QOS_DMA_CHX_CUR_HST_RXDESC_CURRDESAPTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CUR_HST_RXDESC_CURRDESAPTR_SHIFT)) & ENET_QOS_DMA_CHX_CUR_HST_RXDESC_CURRDESAPTR_MASK)
47738 /*! @} */
47739 
47740 /* The count of ENET_QOS_DMA_CHX_CUR_HST_RXDESC */
47741 #define ENET_QOS_DMA_CHX_CUR_HST_RXDESC_COUNT    (5U)
47742 
47743 /*! @name DMA_CHX_CUR_HST_TXBUF - Channel 0 Current Application Transmit Buffer Address..Channel 4 Current Application Transmit Buffer Address */
47744 /*! @{ */
47745 
47746 #define ENET_QOS_DMA_CHX_CUR_HST_TXBUF_CURTBUFAPTR_MASK (0xFFFFFFFFU)
47747 #define ENET_QOS_DMA_CHX_CUR_HST_TXBUF_CURTBUFAPTR_SHIFT (0U)
47748 /*! CURTBUFAPTR - Application Transmit Buffer Address Pointer The DMA updates this pointer during Tx operation.
47749  */
47750 #define ENET_QOS_DMA_CHX_CUR_HST_TXBUF_CURTBUFAPTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CUR_HST_TXBUF_CURTBUFAPTR_SHIFT)) & ENET_QOS_DMA_CHX_CUR_HST_TXBUF_CURTBUFAPTR_MASK)
47751 /*! @} */
47752 
47753 /* The count of ENET_QOS_DMA_CHX_CUR_HST_TXBUF */
47754 #define ENET_QOS_DMA_CHX_CUR_HST_TXBUF_COUNT     (5U)
47755 
47756 /*! @name DMA_CHX_CUR_HST_RXBUF - Channel 0 Current Application Receive Buffer Address..Channel 4 Current Application Receive Buffer Address */
47757 /*! @{ */
47758 
47759 #define ENET_QOS_DMA_CHX_CUR_HST_RXBUF_CURRBUFAPTR_MASK (0xFFFFFFFFU)
47760 #define ENET_QOS_DMA_CHX_CUR_HST_RXBUF_CURRBUFAPTR_SHIFT (0U)
47761 /*! CURRBUFAPTR - Application Receive Buffer Address Pointer The DMA updates this pointer during Rx operation.
47762  */
47763 #define ENET_QOS_DMA_CHX_CUR_HST_RXBUF_CURRBUFAPTR(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_CUR_HST_RXBUF_CURRBUFAPTR_SHIFT)) & ENET_QOS_DMA_CHX_CUR_HST_RXBUF_CURRBUFAPTR_MASK)
47764 /*! @} */
47765 
47766 /* The count of ENET_QOS_DMA_CHX_CUR_HST_RXBUF */
47767 #define ENET_QOS_DMA_CHX_CUR_HST_RXBUF_COUNT     (5U)
47768 
47769 /*! @name DMA_CHX_STAT - DMA Channel 0 Status..DMA Channel 4 Status */
47770 /*! @{ */
47771 
47772 #define ENET_QOS_DMA_CHX_STAT_TI_MASK            (0x1U)
47773 #define ENET_QOS_DMA_CHX_STAT_TI_SHIFT           (0U)
47774 /*! TI - Transmit Interrupt This bit indicates that the packet transmission is complete.
47775  *  0b1..Transmit Interrupt status detected
47776  *  0b0..Transmit Interrupt status not detected
47777  */
47778 #define ENET_QOS_DMA_CHX_STAT_TI(x)              (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_TI_SHIFT)) & ENET_QOS_DMA_CHX_STAT_TI_MASK)
47779 
47780 #define ENET_QOS_DMA_CHX_STAT_TPS_MASK           (0x2U)
47781 #define ENET_QOS_DMA_CHX_STAT_TPS_SHIFT          (1U)
47782 /*! TPS - Transmit Process Stopped This bit is set when the transmission is stopped.
47783  *  0b1..Transmit Process Stopped status detected
47784  *  0b0..Transmit Process Stopped status not detected
47785  */
47786 #define ENET_QOS_DMA_CHX_STAT_TPS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_TPS_SHIFT)) & ENET_QOS_DMA_CHX_STAT_TPS_MASK)
47787 
47788 #define ENET_QOS_DMA_CHX_STAT_TBU_MASK           (0x4U)
47789 #define ENET_QOS_DMA_CHX_STAT_TBU_SHIFT          (2U)
47790 /*! TBU - Transmit Buffer Unavailable This bit indicates that the application owns the next
47791  *    descriptor in the Transmit list, and the DMA cannot acquire it.
47792  *  0b1..Transmit Buffer Unavailable status detected
47793  *  0b0..Transmit Buffer Unavailable status not detected
47794  */
47795 #define ENET_QOS_DMA_CHX_STAT_TBU(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_TBU_SHIFT)) & ENET_QOS_DMA_CHX_STAT_TBU_MASK)
47796 
47797 #define ENET_QOS_DMA_CHX_STAT_RI_MASK            (0x40U)
47798 #define ENET_QOS_DMA_CHX_STAT_RI_SHIFT           (6U)
47799 /*! RI - Receive Interrupt This bit indicates that the packet reception is complete.
47800  *  0b1..Receive Interrupt status detected
47801  *  0b0..Receive Interrupt status not detected
47802  */
47803 #define ENET_QOS_DMA_CHX_STAT_RI(x)              (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_RI_SHIFT)) & ENET_QOS_DMA_CHX_STAT_RI_MASK)
47804 
47805 #define ENET_QOS_DMA_CHX_STAT_RBU_MASK           (0x80U)
47806 #define ENET_QOS_DMA_CHX_STAT_RBU_SHIFT          (7U)
47807 /*! RBU - Receive Buffer Unavailable This bit indicates that the application owns the next
47808  *    descriptor in the Receive list, and the DMA cannot acquire it.
47809  *  0b1..Receive Buffer Unavailable status detected
47810  *  0b0..Receive Buffer Unavailable status not detected
47811  */
47812 #define ENET_QOS_DMA_CHX_STAT_RBU(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_RBU_SHIFT)) & ENET_QOS_DMA_CHX_STAT_RBU_MASK)
47813 
47814 #define ENET_QOS_DMA_CHX_STAT_RPS_MASK           (0x100U)
47815 #define ENET_QOS_DMA_CHX_STAT_RPS_SHIFT          (8U)
47816 /*! RPS - Receive Process Stopped This bit is asserted when the Rx process enters the Stopped state.
47817  *  0b1..Receive Process Stopped status detected
47818  *  0b0..Receive Process Stopped status not detected
47819  */
47820 #define ENET_QOS_DMA_CHX_STAT_RPS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_RPS_SHIFT)) & ENET_QOS_DMA_CHX_STAT_RPS_MASK)
47821 
47822 #define ENET_QOS_DMA_CHX_STAT_RWT_MASK           (0x200U)
47823 #define ENET_QOS_DMA_CHX_STAT_RWT_SHIFT          (9U)
47824 /*! RWT - Receive Watchdog Timeout This bit is asserted when a packet with length greater than 2,048
47825  *    bytes (10,240 bytes when Jumbo Packet mode is enabled) is received.
47826  *  0b1..Receive Watchdog Timeout status detected
47827  *  0b0..Receive Watchdog Timeout status not detected
47828  */
47829 #define ENET_QOS_DMA_CHX_STAT_RWT(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_RWT_SHIFT)) & ENET_QOS_DMA_CHX_STAT_RWT_MASK)
47830 
47831 #define ENET_QOS_DMA_CHX_STAT_ETI_MASK           (0x400U)
47832 #define ENET_QOS_DMA_CHX_STAT_ETI_SHIFT          (10U)
47833 /*! ETI - Early Transmit Interrupt This bit when set indicates that the TxDMA has completed the
47834  *    transfer of packet data to the MTL TXFIFO memory.
47835  *  0b1..Early Transmit Interrupt status detected
47836  *  0b0..Early Transmit Interrupt status not detected
47837  */
47838 #define ENET_QOS_DMA_CHX_STAT_ETI(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_ETI_SHIFT)) & ENET_QOS_DMA_CHX_STAT_ETI_MASK)
47839 
47840 #define ENET_QOS_DMA_CHX_STAT_ERI_MASK           (0x800U)
47841 #define ENET_QOS_DMA_CHX_STAT_ERI_SHIFT          (11U)
47842 /*! ERI - Early Receive Interrupt This bit when set indicates that the RxDMA has completed the
47843  *    transfer of packet data to the memory.
47844  *  0b1..Early Receive Interrupt status detected
47845  *  0b0..Early Receive Interrupt status not detected
47846  */
47847 #define ENET_QOS_DMA_CHX_STAT_ERI(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_ERI_SHIFT)) & ENET_QOS_DMA_CHX_STAT_ERI_MASK)
47848 
47849 #define ENET_QOS_DMA_CHX_STAT_FBE_MASK           (0x1000U)
47850 #define ENET_QOS_DMA_CHX_STAT_FBE_SHIFT          (12U)
47851 /*! FBE - Fatal Bus Error This bit indicates that a bus error occurred (as described in the EB field).
47852  *  0b1..Fatal Bus Error status detected
47853  *  0b0..Fatal Bus Error status not detected
47854  */
47855 #define ENET_QOS_DMA_CHX_STAT_FBE(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_FBE_SHIFT)) & ENET_QOS_DMA_CHX_STAT_FBE_MASK)
47856 
47857 #define ENET_QOS_DMA_CHX_STAT_CDE_MASK           (0x2000U)
47858 #define ENET_QOS_DMA_CHX_STAT_CDE_SHIFT          (13U)
47859 /*! CDE - Context Descriptor Error This bit indicates that the DMA Tx/Rx engine received a
47860  *    descriptor error, which indicates invalid context in the middle of packet flow ( intermediate
47861  *    descriptor) or all one's descriptor in Tx case and on Rx side it indicates DMA has read a descriptor
47862  *    with either of the buffer address as ones which is considered to be invalid.
47863  *  0b1..Context Descriptor Error status detected
47864  *  0b0..Context Descriptor Error status not detected
47865  */
47866 #define ENET_QOS_DMA_CHX_STAT_CDE(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_CDE_SHIFT)) & ENET_QOS_DMA_CHX_STAT_CDE_MASK)
47867 
47868 #define ENET_QOS_DMA_CHX_STAT_AIS_MASK           (0x4000U)
47869 #define ENET_QOS_DMA_CHX_STAT_AIS_SHIFT          (14U)
47870 /*! AIS - Abnormal Interrupt Summary Abnormal Interrupt Summary bit value is the logical OR of the
47871  *    following when the corresponding interrupt bits are enabled in the DMA_CH3_INTERRUPT_ENABLE
47872  *    register: - Bit 1: Transmit Process Stopped - Bit 7: Receive Buffer Unavailable - Bit 8: Receive
47873  *    Process Stopped - Bit 10: Early Transmit Interrupt - Bit 12: Fatal Bus Error - Bit 13: Context
47874  *    Descriptor Error Only unmasked bits affect the Abnormal Interrupt Summary bit.
47875  *  0b1..Abnormal Interrupt Summary status detected
47876  *  0b0..Abnormal Interrupt Summary status not detected
47877  */
47878 #define ENET_QOS_DMA_CHX_STAT_AIS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_AIS_SHIFT)) & ENET_QOS_DMA_CHX_STAT_AIS_MASK)
47879 
47880 #define ENET_QOS_DMA_CHX_STAT_NIS_MASK           (0x8000U)
47881 #define ENET_QOS_DMA_CHX_STAT_NIS_SHIFT          (15U)
47882 /*! NIS - Normal Interrupt Summary Normal Interrupt Summary bit value is the logical OR of the
47883  *    following bits when the corresponding interrupt bits are enabled in the DMA_CH3_INTERRUPT_ENABLE
47884  *    register: - Bit 0: Transmit Interrupt - Bit 2: Transmit Buffer Unavailable - Bit 6: Receive
47885  *    Interrupt - Bit 11: Early Receive Interrupt Only unmasked bits (interrupts for which interrupt
47886  *    enable is set in DMA_CH3_INTERRUPT_ENABLE register) affect the Normal Interrupt Summary bit.
47887  *  0b1..Normal Interrupt Summary status detected
47888  *  0b0..Normal Interrupt Summary status not detected
47889  */
47890 #define ENET_QOS_DMA_CHX_STAT_NIS(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_NIS_SHIFT)) & ENET_QOS_DMA_CHX_STAT_NIS_MASK)
47891 
47892 #define ENET_QOS_DMA_CHX_STAT_TEB_MASK           (0x70000U)
47893 #define ENET_QOS_DMA_CHX_STAT_TEB_SHIFT          (16U)
47894 /*! TEB - Tx DMA Error Bits This field indicates the type of error that caused a Bus Error.
47895  */
47896 #define ENET_QOS_DMA_CHX_STAT_TEB(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_TEB_SHIFT)) & ENET_QOS_DMA_CHX_STAT_TEB_MASK)
47897 
47898 #define ENET_QOS_DMA_CHX_STAT_REB_MASK           (0x380000U)
47899 #define ENET_QOS_DMA_CHX_STAT_REB_SHIFT          (19U)
47900 /*! REB - Rx DMA Error Bits This field indicates the type of error that caused a Bus Error.
47901  */
47902 #define ENET_QOS_DMA_CHX_STAT_REB(x)             (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_STAT_REB_SHIFT)) & ENET_QOS_DMA_CHX_STAT_REB_MASK)
47903 /*! @} */
47904 
47905 /* The count of ENET_QOS_DMA_CHX_STAT */
47906 #define ENET_QOS_DMA_CHX_STAT_COUNT              (5U)
47907 
47908 /*! @name DMA_CHX_MISS_FRAME_CNT - Channel 0 Missed Frame Counter..Channel 4 Missed Frame Counter */
47909 /*! @{ */
47910 
47911 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFC_MASK (0x7FFU)
47912 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFC_SHIFT (0U)
47913 /*! MFC - Dropped Packet Counters This counter indicates the number of packet counters that are
47914  *    dropped by the DMA either because of bus error or because of programming RPF field in
47915  *    DMA_CH2_RX_CONTROL register.
47916  */
47917 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFC(x)   (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFC_SHIFT)) & ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFC_MASK)
47918 
47919 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFCO_MASK (0x8000U)
47920 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFCO_SHIFT (15U)
47921 /*! MFCO - Overflow status of the MFC Counter When this bit is set then the MFC counter does not get incremented further.
47922  *  0b1..Miss Frame Counter overflow occurred
47923  *  0b0..Miss Frame Counter overflow not occurred
47924  */
47925 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFCO(x)  (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFCO_SHIFT)) & ENET_QOS_DMA_CHX_MISS_FRAME_CNT_MFCO_MASK)
47926 /*! @} */
47927 
47928 /* The count of ENET_QOS_DMA_CHX_MISS_FRAME_CNT */
47929 #define ENET_QOS_DMA_CHX_MISS_FRAME_CNT_COUNT    (5U)
47930 
47931 /*! @name DMA_CHX_RXP_ACCEPT_CNT - Channel 0 RXP Frames Accepted Counter..Channel 4 RXP Frames Accepted Counter */
47932 /*! @{ */
47933 
47934 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPAC_MASK (0x7FFFFFFFU)
47935 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPAC_SHIFT (0U)
47936 /*! RXPAC - Rx Parser Accept Counter This 31-bit counter is implemented whenever a Rx Parser Accept a packet due to AF =1.
47937  */
47938 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPAC(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPAC_SHIFT)) & ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPAC_MASK)
47939 
47940 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPACOF_MASK (0x80000000U)
47941 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPACOF_SHIFT (31U)
47942 /*! RXPACOF - Rx Parser Accept Counter Overflow Bit When set, this bit indicates that the RXPAC
47943  *    Counter field crossed the maximum limit.
47944  *  0b1..Rx Parser Accept Counter overflow occurred
47945  *  0b0..Rx Parser Accept Counter overflow not occurred
47946  */
47947 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPACOF(x) (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPACOF_SHIFT)) & ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_RXPACOF_MASK)
47948 /*! @} */
47949 
47950 /* The count of ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT */
47951 #define ENET_QOS_DMA_CHX_RXP_ACCEPT_CNT_COUNT    (5U)
47952 
47953 /*! @name DMA_CHX_RX_ERI_CNT - Channel 0 Receive ERI Counter..Channel 4 Receive ERI Counter */
47954 /*! @{ */
47955 
47956 #define ENET_QOS_DMA_CHX_RX_ERI_CNT_ECNT_MASK    (0xFFFU)
47957 #define ENET_QOS_DMA_CHX_RX_ERI_CNT_ECNT_SHIFT   (0U)
47958 /*! ECNT - ERI Counter When ERIC bit of DMA_CH4_RX_CONTROL register is set, this counter increments
47959  *    for burst transfer completed by the Rx DMA from the start of packet transfer.
47960  */
47961 #define ENET_QOS_DMA_CHX_RX_ERI_CNT_ECNT(x)      (((uint32_t)(((uint32_t)(x)) << ENET_QOS_DMA_CHX_RX_ERI_CNT_ECNT_SHIFT)) & ENET_QOS_DMA_CHX_RX_ERI_CNT_ECNT_MASK)
47962 /*! @} */
47963 
47964 /* The count of ENET_QOS_DMA_CHX_RX_ERI_CNT */
47965 #define ENET_QOS_DMA_CHX_RX_ERI_CNT_COUNT        (5U)
47966 
47967 
47968 /*!
47969  * @}
47970  */ /* end of group ENET_QOS_Register_Masks */
47971 
47972 
47973 /* ENET_QOS - Peripheral instance base addresses */
47974 /** Peripheral ENET_QOS base address */
47975 #define ENET_QOS_BASE                            (0x4043C000u)
47976 /** Peripheral ENET_QOS base pointer */
47977 #define ENET_QOS                                 ((ENET_QOS_Type *)ENET_QOS_BASE)
47978 /** Array initializer of ENET_QOS peripheral base addresses */
47979 #define ENET_QOS_BASE_ADDRS                      { ENET_QOS_BASE }
47980 /** Array initializer of ENET_QOS peripheral base pointers */
47981 #define ENET_QOS_BASE_PTRS                       { ENET_QOS }
47982 /** Interrupt vectors for the ENET_QOS peripheral type */
47983 #define ENET_QOS_IRQS                            { ENET_QOS_IRQn }
47984 #define ENET_QOS_PMT_IRQS                        { ENET_QOS_PMT_IRQn }
47985 
47986 /*!
47987  * @}
47988  */ /* end of group ENET_QOS_Peripheral_Access_Layer */
47989 
47990 
47991 /* ----------------------------------------------------------------------------
47992    -- ETHERNET_PLL Peripheral Access Layer
47993    ---------------------------------------------------------------------------- */
47994 
47995 /*!
47996  * @addtogroup ETHERNET_PLL_Peripheral_Access_Layer ETHERNET_PLL Peripheral Access Layer
47997  * @{
47998  */
47999 
48000 /** ETHERNET_PLL - Register Layout Typedef */
48001 typedef struct {
48002   struct {                                         /* offset: 0x0 */
48003     __IO uint32_t RW;                                /**< Fractional PLL Control Register, offset: 0x0 */
48004     __IO uint32_t SET;                               /**< Fractional PLL Control Register, offset: 0x4 */
48005     __IO uint32_t CLR;                               /**< Fractional PLL Control Register, offset: 0x8 */
48006     __IO uint32_t TOG;                               /**< Fractional PLL Control Register, offset: 0xC */
48007   } CTRL0;
48008   struct {                                         /* offset: 0x10 */
48009     __IO uint32_t RW;                                /**< Fractional PLL Spread Spectrum Control Register, offset: 0x10 */
48010     __IO uint32_t SET;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x14 */
48011     __IO uint32_t CLR;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x18 */
48012     __IO uint32_t TOG;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x1C */
48013   } SPREAD_SPECTRUM;
48014   struct {                                         /* offset: 0x20 */
48015     __IO uint32_t RW;                                /**< Fractional PLL Numerator Control Register, offset: 0x20 */
48016     __IO uint32_t SET;                               /**< Fractional PLL Numerator Control Register, offset: 0x24 */
48017     __IO uint32_t CLR;                               /**< Fractional PLL Numerator Control Register, offset: 0x28 */
48018     __IO uint32_t TOG;                               /**< Fractional PLL Numerator Control Register, offset: 0x2C */
48019   } NUMERATOR;
48020   struct {                                         /* offset: 0x30 */
48021     __IO uint32_t RW;                                /**< Fractional PLL Denominator Control Register, offset: 0x30 */
48022     __IO uint32_t SET;                               /**< Fractional PLL Denominator Control Register, offset: 0x34 */
48023     __IO uint32_t CLR;                               /**< Fractional PLL Denominator Control Register, offset: 0x38 */
48024     __IO uint32_t TOG;                               /**< Fractional PLL Denominator Control Register, offset: 0x3C */
48025   } DENOMINATOR;
48026 } ETHERNET_PLL_Type;
48027 
48028 /* ----------------------------------------------------------------------------
48029    -- ETHERNET_PLL Register Masks
48030    ---------------------------------------------------------------------------- */
48031 
48032 /*!
48033  * @addtogroup ETHERNET_PLL_Register_Masks ETHERNET_PLL Register Masks
48034  * @{
48035  */
48036 
48037 /*! @name CTRL0 - Fractional PLL Control Register */
48038 /*! @{ */
48039 
48040 #define ETHERNET_PLL_CTRL0_DIV_SELECT_MASK       (0x7FU)
48041 #define ETHERNET_PLL_CTRL0_DIV_SELECT_SHIFT      (0U)
48042 /*! DIV_SELECT - DIV_SELECT
48043  */
48044 #define ETHERNET_PLL_CTRL0_DIV_SELECT(x)         (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_DIV_SELECT_SHIFT)) & ETHERNET_PLL_CTRL0_DIV_SELECT_MASK)
48045 
48046 #define ETHERNET_PLL_CTRL0_ENABLE_ALT_MASK       (0x100U)
48047 #define ETHERNET_PLL_CTRL0_ENABLE_ALT_SHIFT      (8U)
48048 /*! ENABLE_ALT - ENABLE_ALT
48049  *  0b0..Disable the alternate clock output
48050  *  0b1..Enable the alternate clock output which is the output of the post_divider, and cannot be bypassed
48051  */
48052 #define ETHERNET_PLL_CTRL0_ENABLE_ALT(x)         (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_ENABLE_ALT_SHIFT)) & ETHERNET_PLL_CTRL0_ENABLE_ALT_MASK)
48053 
48054 #define ETHERNET_PLL_CTRL0_HOLD_RING_OFF_MASK    (0x2000U)
48055 #define ETHERNET_PLL_CTRL0_HOLD_RING_OFF_SHIFT   (13U)
48056 /*! HOLD_RING_OFF - PLL Start up initialization
48057  *  0b0..Normal operation
48058  *  0b1..Initialize PLL start up
48059  */
48060 #define ETHERNET_PLL_CTRL0_HOLD_RING_OFF(x)      (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_HOLD_RING_OFF_SHIFT)) & ETHERNET_PLL_CTRL0_HOLD_RING_OFF_MASK)
48061 
48062 #define ETHERNET_PLL_CTRL0_POWERUP_MASK          (0x4000U)
48063 #define ETHERNET_PLL_CTRL0_POWERUP_SHIFT         (14U)
48064 /*! POWERUP - POWERUP
48065  *  0b1..Power Up the PLL
48066  *  0b0..Power down the PLL
48067  */
48068 #define ETHERNET_PLL_CTRL0_POWERUP(x)            (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_POWERUP_SHIFT)) & ETHERNET_PLL_CTRL0_POWERUP_MASK)
48069 
48070 #define ETHERNET_PLL_CTRL0_ENABLE_MASK           (0x8000U)
48071 #define ETHERNET_PLL_CTRL0_ENABLE_SHIFT          (15U)
48072 /*! ENABLE - ENABLE
48073  *  0b1..Enable the clock output
48074  *  0b0..Disable the clock output
48075  */
48076 #define ETHERNET_PLL_CTRL0_ENABLE(x)             (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_ENABLE_SHIFT)) & ETHERNET_PLL_CTRL0_ENABLE_MASK)
48077 
48078 #define ETHERNET_PLL_CTRL0_BYPASS_MASK           (0x10000U)
48079 #define ETHERNET_PLL_CTRL0_BYPASS_SHIFT          (16U)
48080 /*! BYPASS - BYPASS
48081  *  0b1..Bypass the PLL
48082  *  0b0..No Bypass
48083  */
48084 #define ETHERNET_PLL_CTRL0_BYPASS(x)             (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_BYPASS_SHIFT)) & ETHERNET_PLL_CTRL0_BYPASS_MASK)
48085 
48086 #define ETHERNET_PLL_CTRL0_DITHER_EN_MASK        (0x20000U)
48087 #define ETHERNET_PLL_CTRL0_DITHER_EN_SHIFT       (17U)
48088 /*! DITHER_EN - DITHER_EN
48089  *  0b0..Disable Dither
48090  *  0b1..Enable Dither
48091  */
48092 #define ETHERNET_PLL_CTRL0_DITHER_EN(x)          (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_DITHER_EN_SHIFT)) & ETHERNET_PLL_CTRL0_DITHER_EN_MASK)
48093 
48094 #define ETHERNET_PLL_CTRL0_BIAS_TRIM_MASK        (0x380000U)
48095 #define ETHERNET_PLL_CTRL0_BIAS_TRIM_SHIFT       (19U)
48096 /*! BIAS_TRIM - BIAS_TRIM
48097  */
48098 #define ETHERNET_PLL_CTRL0_BIAS_TRIM(x)          (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_BIAS_TRIM_SHIFT)) & ETHERNET_PLL_CTRL0_BIAS_TRIM_MASK)
48099 
48100 #define ETHERNET_PLL_CTRL0_PLL_REG_EN_MASK       (0x400000U)
48101 #define ETHERNET_PLL_CTRL0_PLL_REG_EN_SHIFT      (22U)
48102 /*! PLL_REG_EN - PLL_REG_EN
48103  */
48104 #define ETHERNET_PLL_CTRL0_PLL_REG_EN(x)         (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_PLL_REG_EN_SHIFT)) & ETHERNET_PLL_CTRL0_PLL_REG_EN_MASK)
48105 
48106 #define ETHERNET_PLL_CTRL0_POST_DIV_SEL_MASK     (0xE000000U)
48107 #define ETHERNET_PLL_CTRL0_POST_DIV_SEL_SHIFT    (25U)
48108 /*! POST_DIV_SEL - Post Divide Select
48109  *  0b000..Divide by 1
48110  *  0b001..Divide by 2
48111  *  0b010..Divide by 4
48112  *  0b011..Divide by 8
48113  *  0b100..Divide by 16
48114  *  0b101..Divide by 32
48115  */
48116 #define ETHERNET_PLL_CTRL0_POST_DIV_SEL(x)       (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_POST_DIV_SEL_SHIFT)) & ETHERNET_PLL_CTRL0_POST_DIV_SEL_MASK)
48117 
48118 #define ETHERNET_PLL_CTRL0_BIAS_SELECT_MASK      (0x20000000U)
48119 #define ETHERNET_PLL_CTRL0_BIAS_SELECT_SHIFT     (29U)
48120 /*! BIAS_SELECT - BIAS_SELECT
48121  *  0b0..Used in SoCs with a bias current of 10uA
48122  *  0b1..Used in SoCs with a bias current of 2uA
48123  */
48124 #define ETHERNET_PLL_CTRL0_BIAS_SELECT(x)        (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_CTRL0_BIAS_SELECT_SHIFT)) & ETHERNET_PLL_CTRL0_BIAS_SELECT_MASK)
48125 /*! @} */
48126 
48127 /*! @name SPREAD_SPECTRUM - Fractional PLL Spread Spectrum Control Register */
48128 /*! @{ */
48129 
48130 #define ETHERNET_PLL_SPREAD_SPECTRUM_STEP_MASK   (0x7FFFU)
48131 #define ETHERNET_PLL_SPREAD_SPECTRUM_STEP_SHIFT  (0U)
48132 /*! STEP - Step
48133  */
48134 #define ETHERNET_PLL_SPREAD_SPECTRUM_STEP(x)     (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_SPREAD_SPECTRUM_STEP_SHIFT)) & ETHERNET_PLL_SPREAD_SPECTRUM_STEP_MASK)
48135 
48136 #define ETHERNET_PLL_SPREAD_SPECTRUM_ENABLE_MASK (0x8000U)
48137 #define ETHERNET_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT (15U)
48138 /*! ENABLE - Enable
48139  */
48140 #define ETHERNET_PLL_SPREAD_SPECTRUM_ENABLE(x)   (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT)) & ETHERNET_PLL_SPREAD_SPECTRUM_ENABLE_MASK)
48141 
48142 #define ETHERNET_PLL_SPREAD_SPECTRUM_STOP_MASK   (0xFFFF0000U)
48143 #define ETHERNET_PLL_SPREAD_SPECTRUM_STOP_SHIFT  (16U)
48144 /*! STOP - Stop
48145  */
48146 #define ETHERNET_PLL_SPREAD_SPECTRUM_STOP(x)     (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_SPREAD_SPECTRUM_STOP_SHIFT)) & ETHERNET_PLL_SPREAD_SPECTRUM_STOP_MASK)
48147 /*! @} */
48148 
48149 /*! @name NUMERATOR - Fractional PLL Numerator Control Register */
48150 /*! @{ */
48151 
48152 #define ETHERNET_PLL_NUMERATOR_NUM_MASK          (0x3FFFFFFFU)
48153 #define ETHERNET_PLL_NUMERATOR_NUM_SHIFT         (0U)
48154 /*! NUM - Numerator
48155  */
48156 #define ETHERNET_PLL_NUMERATOR_NUM(x)            (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_NUMERATOR_NUM_SHIFT)) & ETHERNET_PLL_NUMERATOR_NUM_MASK)
48157 /*! @} */
48158 
48159 /*! @name DENOMINATOR - Fractional PLL Denominator Control Register */
48160 /*! @{ */
48161 
48162 #define ETHERNET_PLL_DENOMINATOR_DENOM_MASK      (0x3FFFFFFFU)
48163 #define ETHERNET_PLL_DENOMINATOR_DENOM_SHIFT     (0U)
48164 /*! DENOM - Denominator
48165  */
48166 #define ETHERNET_PLL_DENOMINATOR_DENOM(x)        (((uint32_t)(((uint32_t)(x)) << ETHERNET_PLL_DENOMINATOR_DENOM_SHIFT)) & ETHERNET_PLL_DENOMINATOR_DENOM_MASK)
48167 /*! @} */
48168 
48169 
48170 /*!
48171  * @}
48172  */ /* end of group ETHERNET_PLL_Register_Masks */
48173 
48174 
48175 /* ETHERNET_PLL - Peripheral instance base addresses */
48176 /** Peripheral ETHERNET_PLL base address */
48177 #define ETHERNET_PLL_BASE                        (0u)
48178 /** Peripheral ETHERNET_PLL base pointer */
48179 #define ETHERNET_PLL                             ((ETHERNET_PLL_Type *)ETHERNET_PLL_BASE)
48180 /** Array initializer of ETHERNET_PLL peripheral base addresses */
48181 #define ETHERNET_PLL_BASE_ADDRS                  { ETHERNET_PLL_BASE }
48182 /** Array initializer of ETHERNET_PLL peripheral base pointers */
48183 #define ETHERNET_PLL_BASE_PTRS                   { ETHERNET_PLL }
48184 
48185 /*!
48186  * @}
48187  */ /* end of group ETHERNET_PLL_Peripheral_Access_Layer */
48188 
48189 
48190 /* ----------------------------------------------------------------------------
48191    -- EWM Peripheral Access Layer
48192    ---------------------------------------------------------------------------- */
48193 
48194 /*!
48195  * @addtogroup EWM_Peripheral_Access_Layer EWM Peripheral Access Layer
48196  * @{
48197  */
48198 
48199 /** EWM - Register Layout Typedef */
48200 typedef struct {
48201   __IO uint8_t CTRL;                               /**< Control Register, offset: 0x0 */
48202   __O  uint8_t SERV;                               /**< Service Register, offset: 0x1 */
48203   __IO uint8_t CMPL;                               /**< Compare Low Register, offset: 0x2 */
48204   __IO uint8_t CMPH;                               /**< Compare High Register, offset: 0x3 */
48205   __IO uint8_t CLKCTRL;                            /**< Clock Control Register, offset: 0x4 */
48206   __IO uint8_t CLKPRESCALER;                       /**< Clock Prescaler Register, offset: 0x5 */
48207 } EWM_Type;
48208 
48209 /* ----------------------------------------------------------------------------
48210    -- EWM Register Masks
48211    ---------------------------------------------------------------------------- */
48212 
48213 /*!
48214  * @addtogroup EWM_Register_Masks EWM Register Masks
48215  * @{
48216  */
48217 
48218 /*! @name CTRL - Control Register */
48219 /*! @{ */
48220 
48221 #define EWM_CTRL_EWMEN_MASK                      (0x1U)
48222 #define EWM_CTRL_EWMEN_SHIFT                     (0U)
48223 /*! EWMEN - EWM enable.
48224  *  0b0..EWM module is disabled.
48225  *  0b1..EWM module is enabled.
48226  */
48227 #define EWM_CTRL_EWMEN(x)                        (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK)
48228 
48229 #define EWM_CTRL_ASSIN_MASK                      (0x2U)
48230 #define EWM_CTRL_ASSIN_SHIFT                     (1U)
48231 /*! ASSIN - EWM_in's Assertion State Select.
48232  *  0b0..Default assert state of the EWM_in signal.
48233  *  0b1..Inverts the assert state of EWM_in signal.
48234  */
48235 #define EWM_CTRL_ASSIN(x)                        (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_ASSIN_SHIFT)) & EWM_CTRL_ASSIN_MASK)
48236 
48237 #define EWM_CTRL_INEN_MASK                       (0x4U)
48238 #define EWM_CTRL_INEN_SHIFT                      (2U)
48239 /*! INEN - Input Enable.
48240  *  0b0..EWM_in port is disabled.
48241  *  0b1..EWM_in port is enabled.
48242  */
48243 #define EWM_CTRL_INEN(x)                         (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK)
48244 
48245 #define EWM_CTRL_INTEN_MASK                      (0x8U)
48246 #define EWM_CTRL_INTEN_SHIFT                     (3U)
48247 /*! INTEN - Interrupt Enable.
48248  *  0b1..Generates an interrupt request, when EWM_OUT_b is asserted.
48249  *  0b0..Deasserts the interrupt request.
48250  */
48251 #define EWM_CTRL_INTEN(x)                        (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK)
48252 /*! @} */
48253 
48254 /*! @name SERV - Service Register */
48255 /*! @{ */
48256 
48257 #define EWM_SERV_SERVICE_MASK                    (0xFFU)
48258 #define EWM_SERV_SERVICE_SHIFT                   (0U)
48259 /*! SERVICE - SERVICE
48260  */
48261 #define EWM_SERV_SERVICE(x)                      (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK)
48262 /*! @} */
48263 
48264 /*! @name CMPL - Compare Low Register */
48265 /*! @{ */
48266 
48267 #define EWM_CMPL_COMPAREL_MASK                   (0xFFU)
48268 #define EWM_CMPL_COMPAREL_SHIFT                  (0U)
48269 /*! COMPAREL - COMPAREL
48270  */
48271 #define EWM_CMPL_COMPAREL(x)                     (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK)
48272 /*! @} */
48273 
48274 /*! @name CMPH - Compare High Register */
48275 /*! @{ */
48276 
48277 #define EWM_CMPH_COMPAREH_MASK                   (0xFFU)
48278 #define EWM_CMPH_COMPAREH_SHIFT                  (0U)
48279 /*! COMPAREH - COMPAREH
48280  */
48281 #define EWM_CMPH_COMPAREH(x)                     (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK)
48282 /*! @} */
48283 
48284 /*! @name CLKCTRL - Clock Control Register */
48285 /*! @{ */
48286 
48287 #define EWM_CLKCTRL_CLKSEL_MASK                  (0x3U)
48288 #define EWM_CLKCTRL_CLKSEL_SHIFT                 (0U)
48289 /*! CLKSEL - CLKSEL
48290  */
48291 #define EWM_CLKCTRL_CLKSEL(x)                    (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK)
48292 /*! @} */
48293 
48294 /*! @name CLKPRESCALER - Clock Prescaler Register */
48295 /*! @{ */
48296 
48297 #define EWM_CLKPRESCALER_CLK_DIV_MASK            (0xFFU)
48298 #define EWM_CLKPRESCALER_CLK_DIV_SHIFT           (0U)
48299 /*! CLK_DIV - CLK_DIV
48300  */
48301 #define EWM_CLKPRESCALER_CLK_DIV(x)              (((uint8_t)(((uint8_t)(x)) << EWM_CLKPRESCALER_CLK_DIV_SHIFT)) & EWM_CLKPRESCALER_CLK_DIV_MASK)
48302 /*! @} */
48303 
48304 
48305 /*!
48306  * @}
48307  */ /* end of group EWM_Register_Masks */
48308 
48309 
48310 /* EWM - Peripheral instance base addresses */
48311 /** Peripheral EWM base address */
48312 #define EWM_BASE                                 (0x4002C000u)
48313 /** Peripheral EWM base pointer */
48314 #define EWM                                      ((EWM_Type *)EWM_BASE)
48315 /** Array initializer of EWM peripheral base addresses */
48316 #define EWM_BASE_ADDRS                           { EWM_BASE }
48317 /** Array initializer of EWM peripheral base pointers */
48318 #define EWM_BASE_PTRS                            { EWM }
48319 /** Interrupt vectors for the EWM peripheral type */
48320 #define EWM_IRQS                                 { EWM_IRQn }
48321 
48322 /*!
48323  * @}
48324  */ /* end of group EWM_Peripheral_Access_Layer */
48325 
48326 
48327 /* ----------------------------------------------------------------------------
48328    -- FLEXIO Peripheral Access Layer
48329    ---------------------------------------------------------------------------- */
48330 
48331 /*!
48332  * @addtogroup FLEXIO_Peripheral_Access_Layer FLEXIO Peripheral Access Layer
48333  * @{
48334  */
48335 
48336 /** FLEXIO - Register Layout Typedef */
48337 typedef struct {
48338   __I  uint32_t VERID;                             /**< Version ID Register, offset: 0x0 */
48339   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
48340   __IO uint32_t CTRL;                              /**< FlexIO Control Register, offset: 0x8 */
48341   __I  uint32_t PIN;                               /**< Pin State Register, offset: 0xC */
48342   __IO uint32_t SHIFTSTAT;                         /**< Shifter Status Register, offset: 0x10 */
48343   __IO uint32_t SHIFTERR;                          /**< Shifter Error Register, offset: 0x14 */
48344   __IO uint32_t TIMSTAT;                           /**< Timer Status Register, offset: 0x18 */
48345        uint8_t RESERVED_0[4];
48346   __IO uint32_t SHIFTSIEN;                         /**< Shifter Status Interrupt Enable, offset: 0x20 */
48347   __IO uint32_t SHIFTEIEN;                         /**< Shifter Error Interrupt Enable, offset: 0x24 */
48348   __IO uint32_t TIMIEN;                            /**< Timer Interrupt Enable Register, offset: 0x28 */
48349        uint8_t RESERVED_1[4];
48350   __IO uint32_t SHIFTSDEN;                         /**< Shifter Status DMA Enable, offset: 0x30 */
48351        uint8_t RESERVED_2[4];
48352   __IO uint32_t TIMERSDEN;                         /**< Timer Status DMA Enable, offset: 0x38 */
48353        uint8_t RESERVED_3[4];
48354   __IO uint32_t SHIFTSTATE;                        /**< Shifter State Register, offset: 0x40 */
48355        uint8_t RESERVED_4[60];
48356   __IO uint32_t SHIFTCTL[8];                       /**< Shifter Control N Register, array offset: 0x80, array step: 0x4 */
48357        uint8_t RESERVED_5[96];
48358   __IO uint32_t SHIFTCFG[8];                       /**< Shifter Configuration N Register, array offset: 0x100, array step: 0x4 */
48359        uint8_t RESERVED_6[224];
48360   __IO uint32_t SHIFTBUF[8];                       /**< Shifter Buffer N Register, array offset: 0x200, array step: 0x4 */
48361        uint8_t RESERVED_7[96];
48362   __IO uint32_t SHIFTBUFBIS[8];                    /**< Shifter Buffer N Bit Swapped Register, array offset: 0x280, array step: 0x4 */
48363        uint8_t RESERVED_8[96];
48364   __IO uint32_t SHIFTBUFBYS[8];                    /**< Shifter Buffer N Byte Swapped Register, array offset: 0x300, array step: 0x4 */
48365        uint8_t RESERVED_9[96];
48366   __IO uint32_t SHIFTBUFBBS[8];                    /**< Shifter Buffer N Bit Byte Swapped Register, array offset: 0x380, array step: 0x4 */
48367        uint8_t RESERVED_10[96];
48368   __IO uint32_t TIMCTL[8];                         /**< Timer Control N Register, array offset: 0x400, array step: 0x4 */
48369        uint8_t RESERVED_11[96];
48370   __IO uint32_t TIMCFG[8];                         /**< Timer Configuration N Register, array offset: 0x480, array step: 0x4 */
48371        uint8_t RESERVED_12[96];
48372   __IO uint32_t TIMCMP[8];                         /**< Timer Compare N Register, array offset: 0x500, array step: 0x4 */
48373        uint8_t RESERVED_13[352];
48374   __IO uint32_t SHIFTBUFNBS[8];                    /**< Shifter Buffer N Nibble Byte Swapped Register, array offset: 0x680, array step: 0x4 */
48375        uint8_t RESERVED_14[96];
48376   __IO uint32_t SHIFTBUFHWS[8];                    /**< Shifter Buffer N Half Word Swapped Register, array offset: 0x700, array step: 0x4 */
48377        uint8_t RESERVED_15[96];
48378   __IO uint32_t SHIFTBUFNIS[8];                    /**< Shifter Buffer N Nibble Swapped Register, array offset: 0x780, array step: 0x4 */
48379        uint8_t RESERVED_16[96];
48380   __IO uint32_t SHIFTBUFOES[8];                    /**< Shifter Buffer N Odd Even Swapped Register, array offset: 0x800, array step: 0x4 */
48381        uint8_t RESERVED_17[96];
48382   __IO uint32_t SHIFTBUFEOS[8];                    /**< Shifter Buffer N Even Odd Swapped Register, array offset: 0x880, array step: 0x4 */
48383 } FLEXIO_Type;
48384 
48385 /* ----------------------------------------------------------------------------
48386    -- FLEXIO Register Masks
48387    ---------------------------------------------------------------------------- */
48388 
48389 /*!
48390  * @addtogroup FLEXIO_Register_Masks FLEXIO Register Masks
48391  * @{
48392  */
48393 
48394 /*! @name VERID - Version ID Register */
48395 /*! @{ */
48396 
48397 #define FLEXIO_VERID_FEATURE_MASK                (0xFFFFU)
48398 #define FLEXIO_VERID_FEATURE_SHIFT               (0U)
48399 /*! FEATURE - Feature Specification Number
48400  *  0b0000000000000000..Standard features implemented.
48401  *  0b0000000000000001..Supports state, logic and parallel modes.
48402  *  0b0000000000000010..Supports pin control registers.
48403  *  0b0000000000000011..Supports state, logic and parallel modes; plus pin control registers.
48404  */
48405 #define FLEXIO_VERID_FEATURE(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_VERID_FEATURE_SHIFT)) & FLEXIO_VERID_FEATURE_MASK)
48406 
48407 #define FLEXIO_VERID_MINOR_MASK                  (0xFF0000U)
48408 #define FLEXIO_VERID_MINOR_SHIFT                 (16U)
48409 /*! MINOR - Minor Version Number
48410  */
48411 #define FLEXIO_VERID_MINOR(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_VERID_MINOR_SHIFT)) & FLEXIO_VERID_MINOR_MASK)
48412 
48413 #define FLEXIO_VERID_MAJOR_MASK                  (0xFF000000U)
48414 #define FLEXIO_VERID_MAJOR_SHIFT                 (24U)
48415 /*! MAJOR - Major Version Number
48416  */
48417 #define FLEXIO_VERID_MAJOR(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_VERID_MAJOR_SHIFT)) & FLEXIO_VERID_MAJOR_MASK)
48418 /*! @} */
48419 
48420 /*! @name PARAM - Parameter Register */
48421 /*! @{ */
48422 
48423 #define FLEXIO_PARAM_SHIFTER_MASK                (0xFFU)
48424 #define FLEXIO_PARAM_SHIFTER_SHIFT               (0U)
48425 /*! SHIFTER - Shifter Number
48426  */
48427 #define FLEXIO_PARAM_SHIFTER(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_PARAM_SHIFTER_SHIFT)) & FLEXIO_PARAM_SHIFTER_MASK)
48428 
48429 #define FLEXIO_PARAM_TIMER_MASK                  (0xFF00U)
48430 #define FLEXIO_PARAM_TIMER_SHIFT                 (8U)
48431 /*! TIMER - Timer Number
48432  */
48433 #define FLEXIO_PARAM_TIMER(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_PARAM_TIMER_SHIFT)) & FLEXIO_PARAM_TIMER_MASK)
48434 
48435 #define FLEXIO_PARAM_PIN_MASK                    (0xFF0000U)
48436 #define FLEXIO_PARAM_PIN_SHIFT                   (16U)
48437 /*! PIN - Pin Number
48438  */
48439 #define FLEXIO_PARAM_PIN(x)                      (((uint32_t)(((uint32_t)(x)) << FLEXIO_PARAM_PIN_SHIFT)) & FLEXIO_PARAM_PIN_MASK)
48440 
48441 #define FLEXIO_PARAM_TRIGGER_MASK                (0xFF000000U)
48442 #define FLEXIO_PARAM_TRIGGER_SHIFT               (24U)
48443 /*! TRIGGER - Trigger Number
48444  */
48445 #define FLEXIO_PARAM_TRIGGER(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_PARAM_TRIGGER_SHIFT)) & FLEXIO_PARAM_TRIGGER_MASK)
48446 /*! @} */
48447 
48448 /*! @name CTRL - FlexIO Control Register */
48449 /*! @{ */
48450 
48451 #define FLEXIO_CTRL_FLEXEN_MASK                  (0x1U)
48452 #define FLEXIO_CTRL_FLEXEN_SHIFT                 (0U)
48453 /*! FLEXEN - FlexIO Enable
48454  *  0b0..FlexIO module is disabled.
48455  *  0b1..FlexIO module is enabled.
48456  */
48457 #define FLEXIO_CTRL_FLEXEN(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_CTRL_FLEXEN_SHIFT)) & FLEXIO_CTRL_FLEXEN_MASK)
48458 
48459 #define FLEXIO_CTRL_SWRST_MASK                   (0x2U)
48460 #define FLEXIO_CTRL_SWRST_SHIFT                  (1U)
48461 /*! SWRST - Software Reset
48462  *  0b0..Software reset is disabled
48463  *  0b1..Software reset is enabled, all FlexIO registers except the Control Register are reset.
48464  */
48465 #define FLEXIO_CTRL_SWRST(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXIO_CTRL_SWRST_SHIFT)) & FLEXIO_CTRL_SWRST_MASK)
48466 
48467 #define FLEXIO_CTRL_FASTACC_MASK                 (0x4U)
48468 #define FLEXIO_CTRL_FASTACC_SHIFT                (2U)
48469 /*! FASTACC - Fast Access
48470  *  0b0..Configures for normal register accesses to FlexIO
48471  *  0b1..Configures for fast register accesses to FlexIO
48472  */
48473 #define FLEXIO_CTRL_FASTACC(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXIO_CTRL_FASTACC_SHIFT)) & FLEXIO_CTRL_FASTACC_MASK)
48474 
48475 #define FLEXIO_CTRL_DBGE_MASK                    (0x40000000U)
48476 #define FLEXIO_CTRL_DBGE_SHIFT                   (30U)
48477 /*! DBGE - Debug Enable
48478  *  0b0..FlexIO is disabled in debug modes.
48479  *  0b1..FlexIO is enabled in debug modes
48480  */
48481 #define FLEXIO_CTRL_DBGE(x)                      (((uint32_t)(((uint32_t)(x)) << FLEXIO_CTRL_DBGE_SHIFT)) & FLEXIO_CTRL_DBGE_MASK)
48482 
48483 #define FLEXIO_CTRL_DOZEN_MASK                   (0x80000000U)
48484 #define FLEXIO_CTRL_DOZEN_SHIFT                  (31U)
48485 /*! DOZEN - Doze Enable
48486  *  0b0..FlexIO enabled in Doze modes.
48487  *  0b1..FlexIO disabled in Doze modes.
48488  */
48489 #define FLEXIO_CTRL_DOZEN(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXIO_CTRL_DOZEN_SHIFT)) & FLEXIO_CTRL_DOZEN_MASK)
48490 /*! @} */
48491 
48492 /*! @name PIN - Pin State Register */
48493 /*! @{ */
48494 
48495 #define FLEXIO_PIN_PDI_MASK                      (0xFFFFFFFFU)
48496 #define FLEXIO_PIN_PDI_SHIFT                     (0U)
48497 /*! PDI - Pin Data Input
48498  */
48499 #define FLEXIO_PIN_PDI(x)                        (((uint32_t)(((uint32_t)(x)) << FLEXIO_PIN_PDI_SHIFT)) & FLEXIO_PIN_PDI_MASK)
48500 /*! @} */
48501 
48502 /*! @name SHIFTSTAT - Shifter Status Register */
48503 /*! @{ */
48504 
48505 #define FLEXIO_SHIFTSTAT_SSF_MASK                (0xFFU)
48506 #define FLEXIO_SHIFTSTAT_SSF_SHIFT               (0U)
48507 /*! SSF - Shifter Status Flag
48508  */
48509 #define FLEXIO_SHIFTSTAT_SSF(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTSTAT_SSF_SHIFT)) & FLEXIO_SHIFTSTAT_SSF_MASK)
48510 /*! @} */
48511 
48512 /*! @name SHIFTERR - Shifter Error Register */
48513 /*! @{ */
48514 
48515 #define FLEXIO_SHIFTERR_SEF_MASK                 (0xFFU)
48516 #define FLEXIO_SHIFTERR_SEF_SHIFT                (0U)
48517 /*! SEF - Shifter Error Flags
48518  */
48519 #define FLEXIO_SHIFTERR_SEF(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTERR_SEF_SHIFT)) & FLEXIO_SHIFTERR_SEF_MASK)
48520 /*! @} */
48521 
48522 /*! @name TIMSTAT - Timer Status Register */
48523 /*! @{ */
48524 
48525 #define FLEXIO_TIMSTAT_TSF_MASK                  (0xFFU)
48526 #define FLEXIO_TIMSTAT_TSF_SHIFT                 (0U)
48527 /*! TSF - Timer Status Flags
48528  */
48529 #define FLEXIO_TIMSTAT_TSF(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMSTAT_TSF_SHIFT)) & FLEXIO_TIMSTAT_TSF_MASK)
48530 /*! @} */
48531 
48532 /*! @name SHIFTSIEN - Shifter Status Interrupt Enable */
48533 /*! @{ */
48534 
48535 #define FLEXIO_SHIFTSIEN_SSIE_MASK               (0xFFU)
48536 #define FLEXIO_SHIFTSIEN_SSIE_SHIFT              (0U)
48537 /*! SSIE - Shifter Status Interrupt Enable
48538  */
48539 #define FLEXIO_SHIFTSIEN_SSIE(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTSIEN_SSIE_SHIFT)) & FLEXIO_SHIFTSIEN_SSIE_MASK)
48540 /*! @} */
48541 
48542 /*! @name SHIFTEIEN - Shifter Error Interrupt Enable */
48543 /*! @{ */
48544 
48545 #define FLEXIO_SHIFTEIEN_SEIE_MASK               (0xFFU)
48546 #define FLEXIO_SHIFTEIEN_SEIE_SHIFT              (0U)
48547 /*! SEIE - Shifter Error Interrupt Enable
48548  */
48549 #define FLEXIO_SHIFTEIEN_SEIE(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTEIEN_SEIE_SHIFT)) & FLEXIO_SHIFTEIEN_SEIE_MASK)
48550 /*! @} */
48551 
48552 /*! @name TIMIEN - Timer Interrupt Enable Register */
48553 /*! @{ */
48554 
48555 #define FLEXIO_TIMIEN_TEIE_MASK                  (0xFFU)
48556 #define FLEXIO_TIMIEN_TEIE_SHIFT                 (0U)
48557 /*! TEIE - Timer Status Interrupt Enable
48558  */
48559 #define FLEXIO_TIMIEN_TEIE(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMIEN_TEIE_SHIFT)) & FLEXIO_TIMIEN_TEIE_MASK)
48560 /*! @} */
48561 
48562 /*! @name SHIFTSDEN - Shifter Status DMA Enable */
48563 /*! @{ */
48564 
48565 #define FLEXIO_SHIFTSDEN_SSDE_MASK               (0xFFU)
48566 #define FLEXIO_SHIFTSDEN_SSDE_SHIFT              (0U)
48567 /*! SSDE - Shifter Status DMA Enable
48568  */
48569 #define FLEXIO_SHIFTSDEN_SSDE(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTSDEN_SSDE_SHIFT)) & FLEXIO_SHIFTSDEN_SSDE_MASK)
48570 /*! @} */
48571 
48572 /*! @name TIMERSDEN - Timer Status DMA Enable */
48573 /*! @{ */
48574 
48575 #define FLEXIO_TIMERSDEN_TSDE_MASK               (0xFFU)
48576 #define FLEXIO_TIMERSDEN_TSDE_SHIFT              (0U)
48577 /*! TSDE - Timer Status DMA Enable
48578  */
48579 #define FLEXIO_TIMERSDEN_TSDE(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMERSDEN_TSDE_SHIFT)) & FLEXIO_TIMERSDEN_TSDE_MASK)
48580 /*! @} */
48581 
48582 /*! @name SHIFTSTATE - Shifter State Register */
48583 /*! @{ */
48584 
48585 #define FLEXIO_SHIFTSTATE_STATE_MASK             (0x7U)
48586 #define FLEXIO_SHIFTSTATE_STATE_SHIFT            (0U)
48587 /*! STATE - Current State Pointer
48588  */
48589 #define FLEXIO_SHIFTSTATE_STATE(x)               (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTSTATE_STATE_SHIFT)) & FLEXIO_SHIFTSTATE_STATE_MASK)
48590 /*! @} */
48591 
48592 /*! @name SHIFTCTL - Shifter Control N Register */
48593 /*! @{ */
48594 
48595 #define FLEXIO_SHIFTCTL_SMOD_MASK                (0x7U)
48596 #define FLEXIO_SHIFTCTL_SMOD_SHIFT               (0U)
48597 /*! SMOD - Shifter Mode
48598  *  0b000..Disabled.
48599  *  0b001..Receive mode. Captures the current Shifter content into the SHIFTBUF on expiration of the Timer.
48600  *  0b010..Transmit mode. Load SHIFTBUF contents into the Shifter on expiration of the Timer.
48601  *  0b011..Reserved.
48602  *  0b100..Match Store mode. Shifter data is compared to SHIFTBUF content on expiration of the Timer.
48603  *  0b101..Match Continuous mode. Shifter data is continuously compared to SHIFTBUF contents.
48604  *  0b110..State mode. SHIFTBUF contents are used for storing programmable state attributes.
48605  *  0b111..Logic mode. SHIFTBUF contents are used for implementing programmable logic look up table.
48606  */
48607 #define FLEXIO_SHIFTCTL_SMOD(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_SMOD_SHIFT)) & FLEXIO_SHIFTCTL_SMOD_MASK)
48608 
48609 #define FLEXIO_SHIFTCTL_PINPOL_MASK              (0x80U)
48610 #define FLEXIO_SHIFTCTL_PINPOL_SHIFT             (7U)
48611 /*! PINPOL - Shifter Pin Polarity
48612  *  0b0..Pin is active high
48613  *  0b1..Pin is active low
48614  */
48615 #define FLEXIO_SHIFTCTL_PINPOL(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_PINPOL_SHIFT)) & FLEXIO_SHIFTCTL_PINPOL_MASK)
48616 
48617 #define FLEXIO_SHIFTCTL_PINSEL_MASK              (0x1F00U)
48618 #define FLEXIO_SHIFTCTL_PINSEL_SHIFT             (8U)
48619 /*! PINSEL - Shifter Pin Select
48620  */
48621 #define FLEXIO_SHIFTCTL_PINSEL(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_PINSEL_SHIFT)) & FLEXIO_SHIFTCTL_PINSEL_MASK)
48622 
48623 #define FLEXIO_SHIFTCTL_PINCFG_MASK              (0x30000U)
48624 #define FLEXIO_SHIFTCTL_PINCFG_SHIFT             (16U)
48625 /*! PINCFG - Shifter Pin Configuration
48626  *  0b00..Shifter pin output disabled
48627  *  0b01..Shifter pin open drain or bidirectional output enable
48628  *  0b10..Shifter pin bidirectional output data
48629  *  0b11..Shifter pin output
48630  */
48631 #define FLEXIO_SHIFTCTL_PINCFG(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_PINCFG_SHIFT)) & FLEXIO_SHIFTCTL_PINCFG_MASK)
48632 
48633 #define FLEXIO_SHIFTCTL_TIMPOL_MASK              (0x800000U)
48634 #define FLEXIO_SHIFTCTL_TIMPOL_SHIFT             (23U)
48635 /*! TIMPOL - Timer Polarity
48636  *  0b0..Shift on posedge of Shift clock
48637  *  0b1..Shift on negedge of Shift clock
48638  */
48639 #define FLEXIO_SHIFTCTL_TIMPOL(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_TIMPOL_SHIFT)) & FLEXIO_SHIFTCTL_TIMPOL_MASK)
48640 
48641 #define FLEXIO_SHIFTCTL_TIMSEL_MASK              (0x7000000U)
48642 #define FLEXIO_SHIFTCTL_TIMSEL_SHIFT             (24U)
48643 /*! TIMSEL - Timer Select
48644  */
48645 #define FLEXIO_SHIFTCTL_TIMSEL(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCTL_TIMSEL_SHIFT)) & FLEXIO_SHIFTCTL_TIMSEL_MASK)
48646 /*! @} */
48647 
48648 /* The count of FLEXIO_SHIFTCTL */
48649 #define FLEXIO_SHIFTCTL_COUNT                    (8U)
48650 
48651 /*! @name SHIFTCFG - Shifter Configuration N Register */
48652 /*! @{ */
48653 
48654 #define FLEXIO_SHIFTCFG_SSTART_MASK              (0x3U)
48655 #define FLEXIO_SHIFTCFG_SSTART_SHIFT             (0U)
48656 /*! SSTART - Shifter Start bit
48657  *  0b00..Start bit disabled for transmitter/receiver/match store, transmitter loads data on enable
48658  *  0b01..Start bit disabled for transmitter/receiver/match store, transmitter loads data on first shift
48659  *  0b10..Transmitter outputs start bit value 0 before loading data on first shift, receiver/match store sets error flag if start bit is not 0
48660  *  0b11..Transmitter outputs start bit value 1 before loading data on first shift, receiver/match store sets error flag if start bit is not 1
48661  */
48662 #define FLEXIO_SHIFTCFG_SSTART(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCFG_SSTART_SHIFT)) & FLEXIO_SHIFTCFG_SSTART_MASK)
48663 
48664 #define FLEXIO_SHIFTCFG_SSTOP_MASK               (0x30U)
48665 #define FLEXIO_SHIFTCFG_SSTOP_SHIFT              (4U)
48666 /*! SSTOP - Shifter Stop bit
48667  *  0b00..Stop bit disabled for transmitter/receiver/match store
48668  *  0b01..Reserved for transmitter/receiver/match store
48669  *  0b10..Transmitter outputs stop bit value 0 on store, receiver/match store sets error flag if stop bit is not 0
48670  *  0b11..Transmitter outputs stop bit value 1 on store, receiver/match store sets error flag if stop bit is not 1
48671  */
48672 #define FLEXIO_SHIFTCFG_SSTOP(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCFG_SSTOP_SHIFT)) & FLEXIO_SHIFTCFG_SSTOP_MASK)
48673 
48674 #define FLEXIO_SHIFTCFG_INSRC_MASK               (0x100U)
48675 #define FLEXIO_SHIFTCFG_INSRC_SHIFT              (8U)
48676 /*! INSRC - Input Source
48677  *  0b0..Pin
48678  *  0b1..Shifter N+1 Output
48679  */
48680 #define FLEXIO_SHIFTCFG_INSRC(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCFG_INSRC_SHIFT)) & FLEXIO_SHIFTCFG_INSRC_MASK)
48681 
48682 #define FLEXIO_SHIFTCFG_LATST_MASK               (0x200U)
48683 #define FLEXIO_SHIFTCFG_LATST_SHIFT              (9U)
48684 /*! LATST - Late Store
48685  *  0b0..Shift register stores the pre-shift register state.
48686  *  0b1..Shift register stores the post-shift register state.
48687  */
48688 #define FLEXIO_SHIFTCFG_LATST(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCFG_LATST_SHIFT)) & FLEXIO_SHIFTCFG_LATST_MASK)
48689 
48690 #define FLEXIO_SHIFTCFG_PWIDTH_MASK              (0x1F0000U)
48691 #define FLEXIO_SHIFTCFG_PWIDTH_SHIFT             (16U)
48692 /*! PWIDTH - Parallel Width
48693  */
48694 #define FLEXIO_SHIFTCFG_PWIDTH(x)                (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTCFG_PWIDTH_SHIFT)) & FLEXIO_SHIFTCFG_PWIDTH_MASK)
48695 /*! @} */
48696 
48697 /* The count of FLEXIO_SHIFTCFG */
48698 #define FLEXIO_SHIFTCFG_COUNT                    (8U)
48699 
48700 /*! @name SHIFTBUF - Shifter Buffer N Register */
48701 /*! @{ */
48702 
48703 #define FLEXIO_SHIFTBUF_SHIFTBUF_MASK            (0xFFFFFFFFU)
48704 #define FLEXIO_SHIFTBUF_SHIFTBUF_SHIFT           (0U)
48705 /*! SHIFTBUF - Shift Buffer
48706  */
48707 #define FLEXIO_SHIFTBUF_SHIFTBUF(x)              (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUF_SHIFTBUF_SHIFT)) & FLEXIO_SHIFTBUF_SHIFTBUF_MASK)
48708 /*! @} */
48709 
48710 /* The count of FLEXIO_SHIFTBUF */
48711 #define FLEXIO_SHIFTBUF_COUNT                    (8U)
48712 
48713 /*! @name SHIFTBUFBIS - Shifter Buffer N Bit Swapped Register */
48714 /*! @{ */
48715 
48716 #define FLEXIO_SHIFTBUFBIS_SHIFTBUFBIS_MASK      (0xFFFFFFFFU)
48717 #define FLEXIO_SHIFTBUFBIS_SHIFTBUFBIS_SHIFT     (0U)
48718 /*! SHIFTBUFBIS - Shift Buffer
48719  */
48720 #define FLEXIO_SHIFTBUFBIS_SHIFTBUFBIS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFBIS_SHIFTBUFBIS_SHIFT)) & FLEXIO_SHIFTBUFBIS_SHIFTBUFBIS_MASK)
48721 /*! @} */
48722 
48723 /* The count of FLEXIO_SHIFTBUFBIS */
48724 #define FLEXIO_SHIFTBUFBIS_COUNT                 (8U)
48725 
48726 /*! @name SHIFTBUFBYS - Shifter Buffer N Byte Swapped Register */
48727 /*! @{ */
48728 
48729 #define FLEXIO_SHIFTBUFBYS_SHIFTBUFBYS_MASK      (0xFFFFFFFFU)
48730 #define FLEXIO_SHIFTBUFBYS_SHIFTBUFBYS_SHIFT     (0U)
48731 /*! SHIFTBUFBYS - Shift Buffer
48732  */
48733 #define FLEXIO_SHIFTBUFBYS_SHIFTBUFBYS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFBYS_SHIFTBUFBYS_SHIFT)) & FLEXIO_SHIFTBUFBYS_SHIFTBUFBYS_MASK)
48734 /*! @} */
48735 
48736 /* The count of FLEXIO_SHIFTBUFBYS */
48737 #define FLEXIO_SHIFTBUFBYS_COUNT                 (8U)
48738 
48739 /*! @name SHIFTBUFBBS - Shifter Buffer N Bit Byte Swapped Register */
48740 /*! @{ */
48741 
48742 #define FLEXIO_SHIFTBUFBBS_SHIFTBUFBBS_MASK      (0xFFFFFFFFU)
48743 #define FLEXIO_SHIFTBUFBBS_SHIFTBUFBBS_SHIFT     (0U)
48744 /*! SHIFTBUFBBS - Shift Buffer
48745  */
48746 #define FLEXIO_SHIFTBUFBBS_SHIFTBUFBBS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFBBS_SHIFTBUFBBS_SHIFT)) & FLEXIO_SHIFTBUFBBS_SHIFTBUFBBS_MASK)
48747 /*! @} */
48748 
48749 /* The count of FLEXIO_SHIFTBUFBBS */
48750 #define FLEXIO_SHIFTBUFBBS_COUNT                 (8U)
48751 
48752 /*! @name TIMCTL - Timer Control N Register */
48753 /*! @{ */
48754 
48755 #define FLEXIO_TIMCTL_TIMOD_MASK                 (0x7U)
48756 #define FLEXIO_TIMCTL_TIMOD_SHIFT                (0U)
48757 /*! TIMOD - Timer Mode
48758  *  0b000..Timer Disabled.
48759  *  0b001..Dual 8-bit counters baud mode.
48760  *  0b010..Dual 8-bit counters PWM high mode.
48761  *  0b011..Single 16-bit counter mode.
48762  *  0b100..Single 16-bit counter disable mode.
48763  *  0b101..Dual 8-bit counters word mode.
48764  *  0b110..Dual 8-bit counters PWM low mode.
48765  *  0b111..Single 16-bit input capture mode.
48766  */
48767 #define FLEXIO_TIMCTL_TIMOD(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_TIMOD_SHIFT)) & FLEXIO_TIMCTL_TIMOD_MASK)
48768 
48769 #define FLEXIO_TIMCTL_ONETIM_MASK                (0x20U)
48770 #define FLEXIO_TIMCTL_ONETIM_SHIFT               (5U)
48771 /*! ONETIM - Timer One Time Operation
48772  *  0b0..The timer enable event is generated as normal.
48773  *  0b1..The timer enable event is blocked unless timer status flag is clear.
48774  */
48775 #define FLEXIO_TIMCTL_ONETIM(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_ONETIM_SHIFT)) & FLEXIO_TIMCTL_ONETIM_MASK)
48776 
48777 #define FLEXIO_TIMCTL_PININS_MASK                (0x40U)
48778 #define FLEXIO_TIMCTL_PININS_SHIFT               (6U)
48779 /*! PININS - Timer Pin Input Select
48780  *  0b0..Timer pin input and output are selected by PINSEL.
48781  *  0b1..Timer pin input is selected by PINSEL+1, timer pin output remains selected by PINSEL.
48782  */
48783 #define FLEXIO_TIMCTL_PININS(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_PININS_SHIFT)) & FLEXIO_TIMCTL_PININS_MASK)
48784 
48785 #define FLEXIO_TIMCTL_PINPOL_MASK                (0x80U)
48786 #define FLEXIO_TIMCTL_PINPOL_SHIFT               (7U)
48787 /*! PINPOL - Timer Pin Polarity
48788  *  0b0..Pin is active high
48789  *  0b1..Pin is active low
48790  */
48791 #define FLEXIO_TIMCTL_PINPOL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_PINPOL_SHIFT)) & FLEXIO_TIMCTL_PINPOL_MASK)
48792 
48793 #define FLEXIO_TIMCTL_PINSEL_MASK                (0x1F00U)
48794 #define FLEXIO_TIMCTL_PINSEL_SHIFT               (8U)
48795 /*! PINSEL - Timer Pin Select
48796  */
48797 #define FLEXIO_TIMCTL_PINSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_PINSEL_SHIFT)) & FLEXIO_TIMCTL_PINSEL_MASK)
48798 
48799 #define FLEXIO_TIMCTL_PINCFG_MASK                (0x30000U)
48800 #define FLEXIO_TIMCTL_PINCFG_SHIFT               (16U)
48801 /*! PINCFG - Timer Pin Configuration
48802  *  0b00..Timer pin output disabled
48803  *  0b01..Timer pin open drain or bidirectional output enable
48804  *  0b10..Timer pin bidirectional output data
48805  *  0b11..Timer pin output
48806  */
48807 #define FLEXIO_TIMCTL_PINCFG(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_PINCFG_SHIFT)) & FLEXIO_TIMCTL_PINCFG_MASK)
48808 
48809 #define FLEXIO_TIMCTL_TRGSRC_MASK                (0x400000U)
48810 #define FLEXIO_TIMCTL_TRGSRC_SHIFT               (22U)
48811 /*! TRGSRC - Trigger Source
48812  *  0b0..External trigger selected
48813  *  0b1..Internal trigger selected
48814  */
48815 #define FLEXIO_TIMCTL_TRGSRC(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_TRGSRC_SHIFT)) & FLEXIO_TIMCTL_TRGSRC_MASK)
48816 
48817 #define FLEXIO_TIMCTL_TRGPOL_MASK                (0x800000U)
48818 #define FLEXIO_TIMCTL_TRGPOL_SHIFT               (23U)
48819 /*! TRGPOL - Trigger Polarity
48820  *  0b0..Trigger active high
48821  *  0b1..Trigger active low
48822  */
48823 #define FLEXIO_TIMCTL_TRGPOL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_TRGPOL_SHIFT)) & FLEXIO_TIMCTL_TRGPOL_MASK)
48824 
48825 #define FLEXIO_TIMCTL_TRGSEL_MASK                (0x3F000000U)
48826 #define FLEXIO_TIMCTL_TRGSEL_SHIFT               (24U)
48827 /*! TRGSEL - Trigger Select
48828  */
48829 #define FLEXIO_TIMCTL_TRGSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCTL_TRGSEL_SHIFT)) & FLEXIO_TIMCTL_TRGSEL_MASK)
48830 /*! @} */
48831 
48832 /* The count of FLEXIO_TIMCTL */
48833 #define FLEXIO_TIMCTL_COUNT                      (8U)
48834 
48835 /*! @name TIMCFG - Timer Configuration N Register */
48836 /*! @{ */
48837 
48838 #define FLEXIO_TIMCFG_TSTART_MASK                (0x2U)
48839 #define FLEXIO_TIMCFG_TSTART_SHIFT               (1U)
48840 /*! TSTART - Timer Start Bit
48841  *  0b0..Start bit disabled
48842  *  0b1..Start bit enabled
48843  */
48844 #define FLEXIO_TIMCFG_TSTART(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TSTART_SHIFT)) & FLEXIO_TIMCFG_TSTART_MASK)
48845 
48846 #define FLEXIO_TIMCFG_TSTOP_MASK                 (0x30U)
48847 #define FLEXIO_TIMCFG_TSTOP_SHIFT                (4U)
48848 /*! TSTOP - Timer Stop Bit
48849  *  0b00..Stop bit disabled
48850  *  0b01..Stop bit is enabled on timer compare
48851  *  0b10..Stop bit is enabled on timer disable
48852  *  0b11..Stop bit is enabled on timer compare and timer disable
48853  */
48854 #define FLEXIO_TIMCFG_TSTOP(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TSTOP_SHIFT)) & FLEXIO_TIMCFG_TSTOP_MASK)
48855 
48856 #define FLEXIO_TIMCFG_TIMENA_MASK                (0x700U)
48857 #define FLEXIO_TIMCFG_TIMENA_SHIFT               (8U)
48858 /*! TIMENA - Timer Enable
48859  *  0b000..Timer always enabled
48860  *  0b001..Timer enabled on Timer N-1 enable
48861  *  0b010..Timer enabled on Trigger high
48862  *  0b011..Timer enabled on Trigger high and Pin high
48863  *  0b100..Timer enabled on Pin rising edge
48864  *  0b101..Timer enabled on Pin rising edge and Trigger high
48865  *  0b110..Timer enabled on Trigger rising edge
48866  *  0b111..Timer enabled on Trigger rising or falling edge
48867  */
48868 #define FLEXIO_TIMCFG_TIMENA(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TIMENA_SHIFT)) & FLEXIO_TIMCFG_TIMENA_MASK)
48869 
48870 #define FLEXIO_TIMCFG_TIMDIS_MASK                (0x7000U)
48871 #define FLEXIO_TIMCFG_TIMDIS_SHIFT               (12U)
48872 /*! TIMDIS - Timer Disable
48873  *  0b000..Timer never disabled
48874  *  0b001..Timer disabled on Timer N-1 disable
48875  *  0b010..Timer disabled on Timer compare (upper 8-bits match and decrement)
48876  *  0b011..Timer disabled on Timer compare (upper 8-bits match and decrement) and Trigger Low
48877  *  0b100..Timer disabled on Pin rising or falling edge
48878  *  0b101..Timer disabled on Pin rising or falling edge provided Trigger is high
48879  *  0b110..Timer disabled on Trigger falling edge
48880  *  0b111..Reserved
48881  */
48882 #define FLEXIO_TIMCFG_TIMDIS(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TIMDIS_SHIFT)) & FLEXIO_TIMCFG_TIMDIS_MASK)
48883 
48884 #define FLEXIO_TIMCFG_TIMRST_MASK                (0x70000U)
48885 #define FLEXIO_TIMCFG_TIMRST_SHIFT               (16U)
48886 /*! TIMRST - Timer Reset
48887  *  0b000..Timer never reset
48888  *  0b001..Timer reset on Timer Output high.
48889  *  0b010..Timer reset on Timer Pin equal to Timer Output
48890  *  0b011..Timer reset on Timer Trigger equal to Timer Output
48891  *  0b100..Timer reset on Timer Pin rising edge
48892  *  0b101..Reserved
48893  *  0b110..Timer reset on Trigger rising edge
48894  *  0b111..Timer reset on Trigger rising or falling edge
48895  */
48896 #define FLEXIO_TIMCFG_TIMRST(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TIMRST_SHIFT)) & FLEXIO_TIMCFG_TIMRST_MASK)
48897 
48898 #define FLEXIO_TIMCFG_TIMDEC_MASK                (0x700000U)
48899 #define FLEXIO_TIMCFG_TIMDEC_SHIFT               (20U)
48900 /*! TIMDEC - Timer Decrement
48901  *  0b000..Decrement counter on FlexIO clock, Shift clock equals Timer output.
48902  *  0b001..Decrement counter on Trigger input (both edges), Shift clock equals Timer output.
48903  *  0b010..Decrement counter on Pin input (both edges), Shift clock equals Pin input.
48904  *  0b011..Decrement counter on Trigger input (both edges), Shift clock equals Trigger input.
48905  *  0b100..Decrement counter on FlexIO clock divided by 16, Shift clock equals Timer output.
48906  *  0b101..Decrement counter on FlexIO clock divided by 256, Shift clock equals Timer output.
48907  *  0b110..Decrement counter on Pin input (rising edge), Shift clock equals Pin input.
48908  *  0b111..Decrement counter on Trigger input (rising edge), Shift clock equals Trigger input.
48909  */
48910 #define FLEXIO_TIMCFG_TIMDEC(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TIMDEC_SHIFT)) & FLEXIO_TIMCFG_TIMDEC_MASK)
48911 
48912 #define FLEXIO_TIMCFG_TIMOUT_MASK                (0x3000000U)
48913 #define FLEXIO_TIMCFG_TIMOUT_SHIFT               (24U)
48914 /*! TIMOUT - Timer Output
48915  *  0b00..Timer output is logic one when enabled and is not affected by timer reset
48916  *  0b01..Timer output is logic zero when enabled and is not affected by timer reset
48917  *  0b10..Timer output is logic one when enabled and on timer reset
48918  *  0b11..Timer output is logic zero when enabled and on timer reset
48919  */
48920 #define FLEXIO_TIMCFG_TIMOUT(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCFG_TIMOUT_SHIFT)) & FLEXIO_TIMCFG_TIMOUT_MASK)
48921 /*! @} */
48922 
48923 /* The count of FLEXIO_TIMCFG */
48924 #define FLEXIO_TIMCFG_COUNT                      (8U)
48925 
48926 /*! @name TIMCMP - Timer Compare N Register */
48927 /*! @{ */
48928 
48929 #define FLEXIO_TIMCMP_CMP_MASK                   (0xFFFFU)
48930 #define FLEXIO_TIMCMP_CMP_SHIFT                  (0U)
48931 /*! CMP - Timer Compare Value
48932  */
48933 #define FLEXIO_TIMCMP_CMP(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXIO_TIMCMP_CMP_SHIFT)) & FLEXIO_TIMCMP_CMP_MASK)
48934 /*! @} */
48935 
48936 /* The count of FLEXIO_TIMCMP */
48937 #define FLEXIO_TIMCMP_COUNT                      (8U)
48938 
48939 /*! @name SHIFTBUFNBS - Shifter Buffer N Nibble Byte Swapped Register */
48940 /*! @{ */
48941 
48942 #define FLEXIO_SHIFTBUFNBS_SHIFTBUFNBS_MASK      (0xFFFFFFFFU)
48943 #define FLEXIO_SHIFTBUFNBS_SHIFTBUFNBS_SHIFT     (0U)
48944 /*! SHIFTBUFNBS - Shift Buffer
48945  */
48946 #define FLEXIO_SHIFTBUFNBS_SHIFTBUFNBS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFNBS_SHIFTBUFNBS_SHIFT)) & FLEXIO_SHIFTBUFNBS_SHIFTBUFNBS_MASK)
48947 /*! @} */
48948 
48949 /* The count of FLEXIO_SHIFTBUFNBS */
48950 #define FLEXIO_SHIFTBUFNBS_COUNT                 (8U)
48951 
48952 /*! @name SHIFTBUFHWS - Shifter Buffer N Half Word Swapped Register */
48953 /*! @{ */
48954 
48955 #define FLEXIO_SHIFTBUFHWS_SHIFTBUFHWS_MASK      (0xFFFFFFFFU)
48956 #define FLEXIO_SHIFTBUFHWS_SHIFTBUFHWS_SHIFT     (0U)
48957 /*! SHIFTBUFHWS - Shift Buffer
48958  */
48959 #define FLEXIO_SHIFTBUFHWS_SHIFTBUFHWS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFHWS_SHIFTBUFHWS_SHIFT)) & FLEXIO_SHIFTBUFHWS_SHIFTBUFHWS_MASK)
48960 /*! @} */
48961 
48962 /* The count of FLEXIO_SHIFTBUFHWS */
48963 #define FLEXIO_SHIFTBUFHWS_COUNT                 (8U)
48964 
48965 /*! @name SHIFTBUFNIS - Shifter Buffer N Nibble Swapped Register */
48966 /*! @{ */
48967 
48968 #define FLEXIO_SHIFTBUFNIS_SHIFTBUFNIS_MASK      (0xFFFFFFFFU)
48969 #define FLEXIO_SHIFTBUFNIS_SHIFTBUFNIS_SHIFT     (0U)
48970 /*! SHIFTBUFNIS - Shift Buffer
48971  */
48972 #define FLEXIO_SHIFTBUFNIS_SHIFTBUFNIS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFNIS_SHIFTBUFNIS_SHIFT)) & FLEXIO_SHIFTBUFNIS_SHIFTBUFNIS_MASK)
48973 /*! @} */
48974 
48975 /* The count of FLEXIO_SHIFTBUFNIS */
48976 #define FLEXIO_SHIFTBUFNIS_COUNT                 (8U)
48977 
48978 /*! @name SHIFTBUFOES - Shifter Buffer N Odd Even Swapped Register */
48979 /*! @{ */
48980 
48981 #define FLEXIO_SHIFTBUFOES_SHIFTBUFOES_MASK      (0xFFFFFFFFU)
48982 #define FLEXIO_SHIFTBUFOES_SHIFTBUFOES_SHIFT     (0U)
48983 /*! SHIFTBUFOES - Shift Buffer
48984  */
48985 #define FLEXIO_SHIFTBUFOES_SHIFTBUFOES(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFOES_SHIFTBUFOES_SHIFT)) & FLEXIO_SHIFTBUFOES_SHIFTBUFOES_MASK)
48986 /*! @} */
48987 
48988 /* The count of FLEXIO_SHIFTBUFOES */
48989 #define FLEXIO_SHIFTBUFOES_COUNT                 (8U)
48990 
48991 /*! @name SHIFTBUFEOS - Shifter Buffer N Even Odd Swapped Register */
48992 /*! @{ */
48993 
48994 #define FLEXIO_SHIFTBUFEOS_SHIFTBUFEOS_MASK      (0xFFFFFFFFU)
48995 #define FLEXIO_SHIFTBUFEOS_SHIFTBUFEOS_SHIFT     (0U)
48996 /*! SHIFTBUFEOS - Shift Buffer
48997  */
48998 #define FLEXIO_SHIFTBUFEOS_SHIFTBUFEOS(x)        (((uint32_t)(((uint32_t)(x)) << FLEXIO_SHIFTBUFEOS_SHIFTBUFEOS_SHIFT)) & FLEXIO_SHIFTBUFEOS_SHIFTBUFEOS_MASK)
48999 /*! @} */
49000 
49001 /* The count of FLEXIO_SHIFTBUFEOS */
49002 #define FLEXIO_SHIFTBUFEOS_COUNT                 (8U)
49003 
49004 
49005 /*!
49006  * @}
49007  */ /* end of group FLEXIO_Register_Masks */
49008 
49009 
49010 /* FLEXIO - Peripheral instance base addresses */
49011 /** Peripheral FLEXIO1 base address */
49012 #define FLEXIO1_BASE                             (0x400AC000u)
49013 /** Peripheral FLEXIO1 base pointer */
49014 #define FLEXIO1                                  ((FLEXIO_Type *)FLEXIO1_BASE)
49015 /** Peripheral FLEXIO2 base address */
49016 #define FLEXIO2_BASE                             (0x400B0000u)
49017 /** Peripheral FLEXIO2 base pointer */
49018 #define FLEXIO2                                  ((FLEXIO_Type *)FLEXIO2_BASE)
49019 /** Array initializer of FLEXIO peripheral base addresses */
49020 #define FLEXIO_BASE_ADDRS                        { 0u, FLEXIO1_BASE, FLEXIO2_BASE }
49021 /** Array initializer of FLEXIO peripheral base pointers */
49022 #define FLEXIO_BASE_PTRS                         { (FLEXIO_Type *)0u, FLEXIO1, FLEXIO2 }
49023 /** Interrupt vectors for the FLEXIO peripheral type */
49024 #define FLEXIO_IRQS                              { NotAvail_IRQn, FLEXIO1_IRQn, FLEXIO2_IRQn }
49025 
49026 /*!
49027  * @}
49028  */ /* end of group FLEXIO_Peripheral_Access_Layer */
49029 
49030 
49031 /* ----------------------------------------------------------------------------
49032    -- FLEXRAM Peripheral Access Layer
49033    ---------------------------------------------------------------------------- */
49034 
49035 /*!
49036  * @addtogroup FLEXRAM_Peripheral_Access_Layer FLEXRAM Peripheral Access Layer
49037  * @{
49038  */
49039 
49040 /** FLEXRAM - Register Layout Typedef */
49041 typedef struct {
49042   __IO uint32_t TCM_CTRL;                          /**< TCM CRTL Register, offset: 0x0 */
49043   __IO uint32_t OCRAM_MAGIC_ADDR;                  /**< OCRAM Magic Address Register, offset: 0x4 */
49044   __IO uint32_t DTCM_MAGIC_ADDR;                   /**< DTCM Magic Address Register, offset: 0x8 */
49045   __IO uint32_t ITCM_MAGIC_ADDR;                   /**< ITCM Magic Address Register, offset: 0xC */
49046   __IO uint32_t INT_STATUS;                        /**< Interrupt Status Register, offset: 0x10 */
49047   __IO uint32_t INT_STAT_EN;                       /**< Interrupt Status Enable Register, offset: 0x14 */
49048   __IO uint32_t INT_SIG_EN;                        /**< Interrupt Enable Register, offset: 0x18 */
49049   __I  uint32_t OCRAM_ECC_SINGLE_ERROR_INFO;       /**< OCRAM single-bit ECC Error Information Register, offset: 0x1C */
49050   __I  uint32_t OCRAM_ECC_SINGLE_ERROR_ADDR;       /**< OCRAM single-bit ECC Error Address Register, offset: 0x20 */
49051   __I  uint32_t OCRAM_ECC_SINGLE_ERROR_DATA_LSB;   /**< OCRAM single-bit ECC Error Data Register, offset: 0x24 */
49052   __I  uint32_t OCRAM_ECC_SINGLE_ERROR_DATA_MSB;   /**< OCRAM single-bit ECC Error Data Register, offset: 0x28 */
49053   __I  uint32_t OCRAM_ECC_MULTI_ERROR_INFO;        /**< OCRAM multi-bit ECC Error Information Register, offset: 0x2C */
49054   __I  uint32_t OCRAM_ECC_MULTI_ERROR_ADDR;        /**< OCRAM multi-bit ECC Error Address Register, offset: 0x30 */
49055   __I  uint32_t OCRAM_ECC_MULTI_ERROR_DATA_LSB;    /**< OCRAM multi-bit ECC Error Data Register, offset: 0x34 */
49056   __I  uint32_t OCRAM_ECC_MULTI_ERROR_DATA_MSB;    /**< OCRAM multi-bit ECC Error Data Register, offset: 0x38 */
49057   __I  uint32_t ITCM_ECC_SINGLE_ERROR_INFO;        /**< ITCM single-bit ECC Error Information Register, offset: 0x3C */
49058   __I  uint32_t ITCM_ECC_SINGLE_ERROR_ADDR;        /**< ITCM single-bit ECC Error Address Register, offset: 0x40 */
49059   __I  uint32_t ITCM_ECC_SINGLE_ERROR_DATA_LSB;    /**< ITCM single-bit ECC Error Data Register, offset: 0x44 */
49060   __I  uint32_t ITCM_ECC_SINGLE_ERROR_DATA_MSB;    /**< ITCM single-bit ECC Error Data Register, offset: 0x48 */
49061   __I  uint32_t ITCM_ECC_MULTI_ERROR_INFO;         /**< ITCM multi-bit ECC Error Information Register, offset: 0x4C */
49062   __I  uint32_t ITCM_ECC_MULTI_ERROR_ADDR;         /**< ITCM multi-bit ECC Error Address Register, offset: 0x50 */
49063   __I  uint32_t ITCM_ECC_MULTI_ERROR_DATA_LSB;     /**< ITCM multi-bit ECC Error Data Register, offset: 0x54 */
49064   __I  uint32_t ITCM_ECC_MULTI_ERROR_DATA_MSB;     /**< ITCM multi-bit ECC Error Data Register, offset: 0x58 */
49065   __I  uint32_t D0TCM_ECC_SINGLE_ERROR_INFO;       /**< D0TCM single-bit ECC Error Information Register, offset: 0x5C */
49066   __I  uint32_t D0TCM_ECC_SINGLE_ERROR_ADDR;       /**< D0TCM single-bit ECC Error Address Register, offset: 0x60 */
49067   __I  uint32_t D0TCM_ECC_SINGLE_ERROR_DATA;       /**< D0TCM single-bit ECC Error Data Register, offset: 0x64 */
49068   __I  uint32_t D0TCM_ECC_MULTI_ERROR_INFO;        /**< D0TCM multi-bit ECC Error Information Register, offset: 0x68 */
49069   __I  uint32_t D0TCM_ECC_MULTI_ERROR_ADDR;        /**< D0TCM multi-bit ECC Error Address Register, offset: 0x6C */
49070   __I  uint32_t D0TCM_ECC_MULTI_ERROR_DATA;        /**< D0TCM multi-bit ECC Error Data Register, offset: 0x70 */
49071   __I  uint32_t D1TCM_ECC_SINGLE_ERROR_INFO;       /**< D1TCM single-bit ECC Error Information Register, offset: 0x74 */
49072   __I  uint32_t D1TCM_ECC_SINGLE_ERROR_ADDR;       /**< D1TCM single-bit ECC Error Address Register, offset: 0x78 */
49073   __I  uint32_t D1TCM_ECC_SINGLE_ERROR_DATA;       /**< D1TCM single-bit ECC Error Data Register, offset: 0x7C */
49074   __I  uint32_t D1TCM_ECC_MULTI_ERROR_INFO;        /**< D1TCM multi-bit ECC Error Information Register, offset: 0x80 */
49075   __I  uint32_t D1TCM_ECC_MULTI_ERROR_ADDR;        /**< D1TCM multi-bit ECC Error Address Register, offset: 0x84 */
49076   __I  uint32_t D1TCM_ECC_MULTI_ERROR_DATA;        /**< D1TCM multi-bit ECC Error Data Register, offset: 0x88 */
49077        uint8_t RESERVED_0[124];
49078   __IO uint32_t FLEXRAM_CTRL;                      /**< FlexRAM feature Control register, offset: 0x108 */
49079   __I  uint32_t OCRAM_PIPELINE_STATUS;             /**< OCRAM Pipeline Status register, offset: 0x10C */
49080 } FLEXRAM_Type;
49081 
49082 /* ----------------------------------------------------------------------------
49083    -- FLEXRAM Register Masks
49084    ---------------------------------------------------------------------------- */
49085 
49086 /*!
49087  * @addtogroup FLEXRAM_Register_Masks FLEXRAM Register Masks
49088  * @{
49089  */
49090 
49091 /*! @name TCM_CTRL - TCM CRTL Register */
49092 /*! @{ */
49093 
49094 #define FLEXRAM_TCM_CTRL_TCM_WWAIT_EN_MASK       (0x1U)
49095 #define FLEXRAM_TCM_CTRL_TCM_WWAIT_EN_SHIFT      (0U)
49096 /*! TCM_WWAIT_EN - TCM Write Wait Mode Enable
49097  *  0b0..TCM write fast mode: Write RAM accesses are expected to be finished in 1-cycle.
49098  *  0b1..TCM write wait mode: Write RAM accesses are expected to be finished in 2-cycles.
49099  */
49100 #define FLEXRAM_TCM_CTRL_TCM_WWAIT_EN(x)         (((uint32_t)(((uint32_t)(x)) << FLEXRAM_TCM_CTRL_TCM_WWAIT_EN_SHIFT)) & FLEXRAM_TCM_CTRL_TCM_WWAIT_EN_MASK)
49101 
49102 #define FLEXRAM_TCM_CTRL_TCM_RWAIT_EN_MASK       (0x2U)
49103 #define FLEXRAM_TCM_CTRL_TCM_RWAIT_EN_SHIFT      (1U)
49104 /*! TCM_RWAIT_EN - TCM Read Wait Mode Enable
49105  *  0b0..TCM read fast mode: Read RAM accesses are expected to be finished in 1-cycle.
49106  *  0b1..TCM read wait mode: Read RAM accesses are expected to be finished in 2-cycles.
49107  */
49108 #define FLEXRAM_TCM_CTRL_TCM_RWAIT_EN(x)         (((uint32_t)(((uint32_t)(x)) << FLEXRAM_TCM_CTRL_TCM_RWAIT_EN_SHIFT)) & FLEXRAM_TCM_CTRL_TCM_RWAIT_EN_MASK)
49109 
49110 #define FLEXRAM_TCM_CTRL_FORCE_CLK_ON_MASK       (0x4U)
49111 #define FLEXRAM_TCM_CTRL_FORCE_CLK_ON_SHIFT      (2U)
49112 /*! FORCE_CLK_ON - Force RAM Clock Always On
49113  */
49114 #define FLEXRAM_TCM_CTRL_FORCE_CLK_ON(x)         (((uint32_t)(((uint32_t)(x)) << FLEXRAM_TCM_CTRL_FORCE_CLK_ON_SHIFT)) & FLEXRAM_TCM_CTRL_FORCE_CLK_ON_MASK)
49115 
49116 #define FLEXRAM_TCM_CTRL_Reserved_MASK           (0xFFFFFFF8U)
49117 #define FLEXRAM_TCM_CTRL_Reserved_SHIFT          (3U)
49118 /*! Reserved - Reserved
49119  */
49120 #define FLEXRAM_TCM_CTRL_Reserved(x)             (((uint32_t)(((uint32_t)(x)) << FLEXRAM_TCM_CTRL_Reserved_SHIFT)) & FLEXRAM_TCM_CTRL_Reserved_MASK)
49121 /*! @} */
49122 
49123 /*! @name OCRAM_MAGIC_ADDR - OCRAM Magic Address Register */
49124 /*! @{ */
49125 
49126 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_WR_RD_SEL_MASK (0x1U)
49127 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_WR_RD_SEL_SHIFT (0U)
49128 /*! OCRAM_WR_RD_SEL - OCRAM Write Read Select
49129  *  0b0..When OCRAM read access hits magic address, it will generate interrupt.
49130  *  0b1..When OCRAM write access hits magic address, it will generate interrupt.
49131  */
49132 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_WR_RD_SEL(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_WR_RD_SEL_SHIFT)) & FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_WR_RD_SEL_MASK)
49133 
49134 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_MAGIC_ADDR_MASK (0x3FFFEU)
49135 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_MAGIC_ADDR_SHIFT (1U)
49136 /*! OCRAM_MAGIC_ADDR - OCRAM Magic Address
49137  */
49138 #define FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_MAGIC_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_MAGIC_ADDR_SHIFT)) & FLEXRAM_OCRAM_MAGIC_ADDR_OCRAM_MAGIC_ADDR_MASK)
49139 
49140 #define FLEXRAM_OCRAM_MAGIC_ADDR_Reserved_MASK   (0xFFFC0000U)
49141 #define FLEXRAM_OCRAM_MAGIC_ADDR_Reserved_SHIFT  (18U)
49142 /*! Reserved - Reserved
49143  */
49144 #define FLEXRAM_OCRAM_MAGIC_ADDR_Reserved(x)     (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_MAGIC_ADDR_Reserved_SHIFT)) & FLEXRAM_OCRAM_MAGIC_ADDR_Reserved_MASK)
49145 /*! @} */
49146 
49147 /*! @name DTCM_MAGIC_ADDR - DTCM Magic Address Register */
49148 /*! @{ */
49149 
49150 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_WR_RD_SEL_MASK (0x1U)
49151 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_WR_RD_SEL_SHIFT (0U)
49152 /*! DTCM_WR_RD_SEL - DTCM Write Read Select
49153  *  0b0..When DTCM read access hits magic address, it will generate interrupt.
49154  *  0b1..When DTCM write access hits magic address, it will generate interrupt.
49155  */
49156 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_WR_RD_SEL(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_DTCM_MAGIC_ADDR_DTCM_WR_RD_SEL_SHIFT)) & FLEXRAM_DTCM_MAGIC_ADDR_DTCM_WR_RD_SEL_MASK)
49157 
49158 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_MAGIC_ADDR_MASK (0x1FFFEU)
49159 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_MAGIC_ADDR_SHIFT (1U)
49160 /*! DTCM_MAGIC_ADDR - DTCM Magic Address
49161  */
49162 #define FLEXRAM_DTCM_MAGIC_ADDR_DTCM_MAGIC_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_DTCM_MAGIC_ADDR_DTCM_MAGIC_ADDR_SHIFT)) & FLEXRAM_DTCM_MAGIC_ADDR_DTCM_MAGIC_ADDR_MASK)
49163 
49164 #define FLEXRAM_DTCM_MAGIC_ADDR_Reserved_MASK    (0xFFFE0000U)
49165 #define FLEXRAM_DTCM_MAGIC_ADDR_Reserved_SHIFT   (17U)
49166 /*! Reserved - Reserved
49167  */
49168 #define FLEXRAM_DTCM_MAGIC_ADDR_Reserved(x)      (((uint32_t)(((uint32_t)(x)) << FLEXRAM_DTCM_MAGIC_ADDR_Reserved_SHIFT)) & FLEXRAM_DTCM_MAGIC_ADDR_Reserved_MASK)
49169 /*! @} */
49170 
49171 /*! @name ITCM_MAGIC_ADDR - ITCM Magic Address Register */
49172 /*! @{ */
49173 
49174 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_WR_RD_SEL_MASK (0x1U)
49175 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_WR_RD_SEL_SHIFT (0U)
49176 /*! ITCM_WR_RD_SEL - ITCM Write Read Select
49177  *  0b0..When ITCM read access hits magic address, it will generate interrupt.
49178  *  0b1..When ITCM write access hits magic address, it will generate interrupt.
49179  */
49180 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_WR_RD_SEL(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_MAGIC_ADDR_ITCM_WR_RD_SEL_SHIFT)) & FLEXRAM_ITCM_MAGIC_ADDR_ITCM_WR_RD_SEL_MASK)
49181 
49182 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_MAGIC_ADDR_MASK (0x1FFFEU)
49183 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_MAGIC_ADDR_SHIFT (1U)
49184 /*! ITCM_MAGIC_ADDR - ITCM Magic Address
49185  */
49186 #define FLEXRAM_ITCM_MAGIC_ADDR_ITCM_MAGIC_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_MAGIC_ADDR_ITCM_MAGIC_ADDR_SHIFT)) & FLEXRAM_ITCM_MAGIC_ADDR_ITCM_MAGIC_ADDR_MASK)
49187 
49188 #define FLEXRAM_ITCM_MAGIC_ADDR_Reserved_MASK    (0xFFFE0000U)
49189 #define FLEXRAM_ITCM_MAGIC_ADDR_Reserved_SHIFT   (17U)
49190 /*! Reserved - Reserved
49191  */
49192 #define FLEXRAM_ITCM_MAGIC_ADDR_Reserved(x)      (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_MAGIC_ADDR_Reserved_SHIFT)) & FLEXRAM_ITCM_MAGIC_ADDR_Reserved_MASK)
49193 /*! @} */
49194 
49195 /*! @name INT_STATUS - Interrupt Status Register */
49196 /*! @{ */
49197 
49198 #define FLEXRAM_INT_STATUS_ITCM_MAM_STATUS_MASK  (0x1U)
49199 #define FLEXRAM_INT_STATUS_ITCM_MAM_STATUS_SHIFT (0U)
49200 /*! ITCM_MAM_STATUS - ITCM Magic Address Match Status
49201  *  0b0..ITCM did not access magic address.
49202  *  0b1..ITCM accessed magic address.
49203  */
49204 #define FLEXRAM_INT_STATUS_ITCM_MAM_STATUS(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_ITCM_MAM_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_ITCM_MAM_STATUS_MASK)
49205 
49206 #define FLEXRAM_INT_STATUS_DTCM_MAM_STATUS_MASK  (0x2U)
49207 #define FLEXRAM_INT_STATUS_DTCM_MAM_STATUS_SHIFT (1U)
49208 /*! DTCM_MAM_STATUS - DTCM Magic Address Match Status
49209  *  0b0..DTCM did not access magic address.
49210  *  0b1..DTCM accessed magic address.
49211  */
49212 #define FLEXRAM_INT_STATUS_DTCM_MAM_STATUS(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_DTCM_MAM_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_DTCM_MAM_STATUS_MASK)
49213 
49214 #define FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_MASK (0x4U)
49215 #define FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_SHIFT (2U)
49216 /*! OCRAM_MAM_STATUS - OCRAM Magic Address Match Status
49217  *  0b0..OCRAM did not access magic address.
49218  *  0b1..OCRAM accessed magic address.
49219  */
49220 #define FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS(x)   (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_OCRAM_MAM_STATUS_MASK)
49221 
49222 #define FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_MASK  (0x8U)
49223 #define FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_SHIFT (3U)
49224 /*! ITCM_ERR_STATUS - ITCM Access Error Status
49225  *  0b0..ITCM access error does not happen
49226  *  0b1..ITCM access error happens.
49227  */
49228 #define FLEXRAM_INT_STATUS_ITCM_ERR_STATUS(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_ITCM_ERR_STATUS_MASK)
49229 
49230 #define FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_MASK  (0x10U)
49231 #define FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_SHIFT (4U)
49232 /*! DTCM_ERR_STATUS - DTCM Access Error Status
49233  *  0b0..DTCM access error does not happen
49234  *  0b1..DTCM access error happens.
49235  */
49236 #define FLEXRAM_INT_STATUS_DTCM_ERR_STATUS(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_DTCM_ERR_STATUS_MASK)
49237 
49238 #define FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_MASK (0x20U)
49239 #define FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_SHIFT (5U)
49240 /*! OCRAM_ERR_STATUS - OCRAM Access Error Status
49241  *  0b0..OCRAM access error does not happen
49242  *  0b1..OCRAM access error happens.
49243  */
49244 #define FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS(x)   (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_SHIFT)) & FLEXRAM_INT_STATUS_OCRAM_ERR_STATUS_MASK)
49245 
49246 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRM_INT_MASK (0x40U)
49247 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRM_INT_SHIFT (6U)
49248 /*! OCRAM_ECC_ERRM_INT - OCRAM access multi-bit ECC Error Interrupt Status
49249  *  0b0..OCRAM multi-bit ECC error does not happen
49250  *  0b1..OCRAM multi-bit ECC error happens.
49251  */
49252 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRM_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_OCRAM_ECC_ERRM_INT_SHIFT)) & FLEXRAM_INT_STATUS_OCRAM_ECC_ERRM_INT_MASK)
49253 
49254 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRS_INT_MASK (0x80U)
49255 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRS_INT_SHIFT (7U)
49256 /*! OCRAM_ECC_ERRS_INT - OCRAM access single-bit ECC Error Interrupt Status
49257  *  0b0..OCRAM single-bit ECC error does not happen
49258  *  0b1..OCRAM single-bit ECC error happens.
49259  */
49260 #define FLEXRAM_INT_STATUS_OCRAM_ECC_ERRS_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_OCRAM_ECC_ERRS_INT_SHIFT)) & FLEXRAM_INT_STATUS_OCRAM_ECC_ERRS_INT_MASK)
49261 
49262 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRM_INT_MASK (0x100U)
49263 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRM_INT_SHIFT (8U)
49264 /*! ITCM_ECC_ERRM_INT - ITCM Access multi-bit ECC Error Interrupt Status
49265  *  0b0..ITCM multi-bit ECC error does not happen
49266  *  0b1..ITCM multi-bit ECC error happens.
49267  */
49268 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRM_INT(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_ITCM_ECC_ERRM_INT_SHIFT)) & FLEXRAM_INT_STATUS_ITCM_ECC_ERRM_INT_MASK)
49269 
49270 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRS_INT_MASK (0x200U)
49271 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRS_INT_SHIFT (9U)
49272 /*! ITCM_ECC_ERRS_INT - ITCM access single-bit ECC Error Interrupt Status
49273  *  0b0..ITCM single-bit ECC error does not happen
49274  *  0b1..ITCM single-bit ECC error happens.
49275  */
49276 #define FLEXRAM_INT_STATUS_ITCM_ECC_ERRS_INT(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_ITCM_ECC_ERRS_INT_SHIFT)) & FLEXRAM_INT_STATUS_ITCM_ECC_ERRS_INT_MASK)
49277 
49278 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRM_INT_MASK (0x400U)
49279 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRM_INT_SHIFT (10U)
49280 /*! D0TCM_ECC_ERRM_INT - D0TCM access multi-bit ECC Error Interrupt Status
49281  *  0b0..D0TCM multi-bit ECC error does not happen
49282  *  0b1..D0TCM multi-bit ECC error happens.
49283  */
49284 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRM_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D0TCM_ECC_ERRM_INT_SHIFT)) & FLEXRAM_INT_STATUS_D0TCM_ECC_ERRM_INT_MASK)
49285 
49286 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRS_INT_MASK (0x800U)
49287 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRS_INT_SHIFT (11U)
49288 /*! D0TCM_ECC_ERRS_INT - D0TCM access single-bit ECC Error Interrupt Status
49289  *  0b0..D0TCM single-bit ECC error does not happen
49290  *  0b1..D0TCM single-bit ECC error happens.
49291  */
49292 #define FLEXRAM_INT_STATUS_D0TCM_ECC_ERRS_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D0TCM_ECC_ERRS_INT_SHIFT)) & FLEXRAM_INT_STATUS_D0TCM_ECC_ERRS_INT_MASK)
49293 
49294 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRM_INT_MASK (0x1000U)
49295 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRM_INT_SHIFT (12U)
49296 /*! D1TCM_ECC_ERRM_INT - D1TCM access multi-bit ECC Error Interrupt Status
49297  *  0b0..D1TCM multi-bit ECC error does not happen
49298  *  0b1..D1TCM multi-bit ECC error happens.
49299  */
49300 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRM_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D1TCM_ECC_ERRM_INT_SHIFT)) & FLEXRAM_INT_STATUS_D1TCM_ECC_ERRM_INT_MASK)
49301 
49302 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRS_INT_MASK (0x2000U)
49303 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRS_INT_SHIFT (13U)
49304 /*! D1TCM_ECC_ERRS_INT - D1TCM access single-bit ECC Error Interrupt Status
49305  *  0b0..D1TCM single-bit ECC error does not happen
49306  *  0b1..D1TCM single-bit ECC error happens.
49307  */
49308 #define FLEXRAM_INT_STATUS_D1TCM_ECC_ERRS_INT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D1TCM_ECC_ERRS_INT_SHIFT)) & FLEXRAM_INT_STATUS_D1TCM_ECC_ERRS_INT_MASK)
49309 
49310 #define FLEXRAM_INT_STATUS_ITCM_PARTIAL_WR_INT_S_MASK (0x4000U)
49311 #define FLEXRAM_INT_STATUS_ITCM_PARTIAL_WR_INT_S_SHIFT (14U)
49312 /*! ITCM_PARTIAL_WR_INT_S - ITCM Partial Write Interrupt Status
49313  *  0b0..ITCM Partial Write does not happen
49314  *  0b1..ITCM Partial Write happens.
49315  */
49316 #define FLEXRAM_INT_STATUS_ITCM_PARTIAL_WR_INT_S(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_ITCM_PARTIAL_WR_INT_S_SHIFT)) & FLEXRAM_INT_STATUS_ITCM_PARTIAL_WR_INT_S_MASK)
49317 
49318 #define FLEXRAM_INT_STATUS_D0TCM_PARTIAL_WR_INT_S_MASK (0x8000U)
49319 #define FLEXRAM_INT_STATUS_D0TCM_PARTIAL_WR_INT_S_SHIFT (15U)
49320 /*! D0TCM_PARTIAL_WR_INT_S - D0TCM Partial Write Interrupt Status
49321  *  0b0..D0TCM Partial Write does not happen
49322  *  0b1..D0TCM Partial Write happens.
49323  */
49324 #define FLEXRAM_INT_STATUS_D0TCM_PARTIAL_WR_INT_S(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D0TCM_PARTIAL_WR_INT_S_SHIFT)) & FLEXRAM_INT_STATUS_D0TCM_PARTIAL_WR_INT_S_MASK)
49325 
49326 #define FLEXRAM_INT_STATUS_D1TCM_PARTIAL_WR_INT_S_MASK (0x10000U)
49327 #define FLEXRAM_INT_STATUS_D1TCM_PARTIAL_WR_INT_S_SHIFT (16U)
49328 /*! D1TCM_PARTIAL_WR_INT_S - D1TCM Partial Write Interrupt Status
49329  *  0b0..D1TCM Partial Write does not happen
49330  *  0b1..D1TCM Partial Write happens.
49331  */
49332 #define FLEXRAM_INT_STATUS_D1TCM_PARTIAL_WR_INT_S(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_D1TCM_PARTIAL_WR_INT_S_SHIFT)) & FLEXRAM_INT_STATUS_D1TCM_PARTIAL_WR_INT_S_MASK)
49333 
49334 #define FLEXRAM_INT_STATUS_OCRAM_PARTIAL_WR_INT_S_MASK (0x20000U)
49335 #define FLEXRAM_INT_STATUS_OCRAM_PARTIAL_WR_INT_S_SHIFT (17U)
49336 /*! OCRAM_PARTIAL_WR_INT_S - OCRAM Partial Write Interrupt Status
49337  *  0b0..OCRAM Partial Write does not happen
49338  *  0b1..OCRAM Partial Write happens.
49339  */
49340 #define FLEXRAM_INT_STATUS_OCRAM_PARTIAL_WR_INT_S(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_OCRAM_PARTIAL_WR_INT_S_SHIFT)) & FLEXRAM_INT_STATUS_OCRAM_PARTIAL_WR_INT_S_MASK)
49341 
49342 #define FLEXRAM_INT_STATUS_Reserved_MASK         (0xFFFC0000U)
49343 #define FLEXRAM_INT_STATUS_Reserved_SHIFT        (18U)
49344 /*! Reserved - Reserved
49345  */
49346 #define FLEXRAM_INT_STATUS_Reserved(x)           (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STATUS_Reserved_SHIFT)) & FLEXRAM_INT_STATUS_Reserved_MASK)
49347 /*! @} */
49348 
49349 /*! @name INT_STAT_EN - Interrupt Status Enable Register */
49350 /*! @{ */
49351 
49352 #define FLEXRAM_INT_STAT_EN_ITCM_MAM_STAT_EN_MASK (0x1U)
49353 #define FLEXRAM_INT_STAT_EN_ITCM_MAM_STAT_EN_SHIFT (0U)
49354 /*! ITCM_MAM_STAT_EN - ITCM Magic Address Match Status Enable
49355  *  0b0..Masked
49356  *  0b1..Enabled
49357  */
49358 #define FLEXRAM_INT_STAT_EN_ITCM_MAM_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_ITCM_MAM_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_ITCM_MAM_STAT_EN_MASK)
49359 
49360 #define FLEXRAM_INT_STAT_EN_DTCM_MAM_STAT_EN_MASK (0x2U)
49361 #define FLEXRAM_INT_STAT_EN_DTCM_MAM_STAT_EN_SHIFT (1U)
49362 /*! DTCM_MAM_STAT_EN - DTCM Magic Address Match Status Enable
49363  *  0b0..Masked
49364  *  0b1..Enabled
49365  */
49366 #define FLEXRAM_INT_STAT_EN_DTCM_MAM_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_DTCM_MAM_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_DTCM_MAM_STAT_EN_MASK)
49367 
49368 #define FLEXRAM_INT_STAT_EN_OCRAM_MAM_STAT_EN_MASK (0x4U)
49369 #define FLEXRAM_INT_STAT_EN_OCRAM_MAM_STAT_EN_SHIFT (2U)
49370 /*! OCRAM_MAM_STAT_EN - OCRAM Magic Address Match Status Enable
49371  *  0b0..Masked
49372  *  0b1..Enabled
49373  */
49374 #define FLEXRAM_INT_STAT_EN_OCRAM_MAM_STAT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_OCRAM_MAM_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_OCRAM_MAM_STAT_EN_MASK)
49375 
49376 #define FLEXRAM_INT_STAT_EN_ITCM_ERR_STAT_EN_MASK (0x8U)
49377 #define FLEXRAM_INT_STAT_EN_ITCM_ERR_STAT_EN_SHIFT (3U)
49378 /*! ITCM_ERR_STAT_EN - ITCM Access Error Status Enable
49379  *  0b0..Masked
49380  *  0b1..Enabled
49381  */
49382 #define FLEXRAM_INT_STAT_EN_ITCM_ERR_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_ITCM_ERR_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_ITCM_ERR_STAT_EN_MASK)
49383 
49384 #define FLEXRAM_INT_STAT_EN_DTCM_ERR_STAT_EN_MASK (0x10U)
49385 #define FLEXRAM_INT_STAT_EN_DTCM_ERR_STAT_EN_SHIFT (4U)
49386 /*! DTCM_ERR_STAT_EN - DTCM Access Error Status Enable
49387  *  0b0..Masked
49388  *  0b1..Enabled
49389  */
49390 #define FLEXRAM_INT_STAT_EN_DTCM_ERR_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_DTCM_ERR_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_DTCM_ERR_STAT_EN_MASK)
49391 
49392 #define FLEXRAM_INT_STAT_EN_OCRAM_ERR_STAT_EN_MASK (0x20U)
49393 #define FLEXRAM_INT_STAT_EN_OCRAM_ERR_STAT_EN_SHIFT (5U)
49394 /*! OCRAM_ERR_STAT_EN - OCRAM Access Error Status Enable
49395  *  0b0..Masked
49396  *  0b1..Enabled
49397  */
49398 #define FLEXRAM_INT_STAT_EN_OCRAM_ERR_STAT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_OCRAM_ERR_STAT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_OCRAM_ERR_STAT_EN_MASK)
49399 
49400 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRM_INT_EN_MASK (0x40U)
49401 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRM_INT_EN_SHIFT (6U)
49402 /*! OCRAM_ERRM_INT_EN - OCRAM Access multi-bit ECC Error Interrupt Status Enable
49403  *  0b0..Masked
49404  *  0b1..Enabled
49405  */
49406 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRM_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_OCRAM_ERRM_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_OCRAM_ERRM_INT_EN_MASK)
49407 
49408 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRS_INT_EN_MASK (0x80U)
49409 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRS_INT_EN_SHIFT (7U)
49410 /*! OCRAM_ERRS_INT_EN - OCRAM Access single-bit ECC Error Interrupt Status Enable
49411  *  0b0..Masked
49412  *  0b1..Enabled
49413  */
49414 #define FLEXRAM_INT_STAT_EN_OCRAM_ERRS_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_OCRAM_ERRS_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_OCRAM_ERRS_INT_EN_MASK)
49415 
49416 #define FLEXRAM_INT_STAT_EN_ITCM_ERRM_INT_EN_MASK (0x100U)
49417 #define FLEXRAM_INT_STAT_EN_ITCM_ERRM_INT_EN_SHIFT (8U)
49418 /*! ITCM_ERRM_INT_EN - ITCM Access multi-bit ECC Error Interrupt Status Enable
49419  *  0b0..Masked
49420  *  0b1..Enabled
49421  */
49422 #define FLEXRAM_INT_STAT_EN_ITCM_ERRM_INT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_ITCM_ERRM_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_ITCM_ERRM_INT_EN_MASK)
49423 
49424 #define FLEXRAM_INT_STAT_EN_ITCM_ERRS_INT_EN_MASK (0x200U)
49425 #define FLEXRAM_INT_STAT_EN_ITCM_ERRS_INT_EN_SHIFT (9U)
49426 /*! ITCM_ERRS_INT_EN - ITCM Access single-bit ECC Error Interrupt Status Enable
49427  *  0b0..Masked
49428  *  0b1..Enabled
49429  */
49430 #define FLEXRAM_INT_STAT_EN_ITCM_ERRS_INT_EN(x)  (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_ITCM_ERRS_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_ITCM_ERRS_INT_EN_MASK)
49431 
49432 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRM_INT_EN_MASK (0x400U)
49433 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRM_INT_EN_SHIFT (10U)
49434 /*! D0TCM_ERRM_INT_EN - D0TCM Access multi-bit ECC Error Interrupt Status Enable
49435  *  0b0..Masked
49436  *  0b1..Enabled
49437  */
49438 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRM_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D0TCM_ERRM_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D0TCM_ERRM_INT_EN_MASK)
49439 
49440 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRS_INT_EN_MASK (0x800U)
49441 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRS_INT_EN_SHIFT (11U)
49442 /*! D0TCM_ERRS_INT_EN - D0TCM Access single-bit ECC Error Interrupt Status Enable
49443  *  0b0..Masked
49444  *  0b1..Enabled
49445  */
49446 #define FLEXRAM_INT_STAT_EN_D0TCM_ERRS_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D0TCM_ERRS_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D0TCM_ERRS_INT_EN_MASK)
49447 
49448 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRM_INT_EN_MASK (0x1000U)
49449 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRM_INT_EN_SHIFT (12U)
49450 /*! D1TCM_ERRM_INT_EN - D1TCM Access multi-bit ECC Error Interrupt Status Enable
49451  *  0b0..Masked
49452  *  0b1..Enabled
49453  */
49454 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRM_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D1TCM_ERRM_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D1TCM_ERRM_INT_EN_MASK)
49455 
49456 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRS_INT_EN_MASK (0x2000U)
49457 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRS_INT_EN_SHIFT (13U)
49458 /*! D1TCM_ERRS_INT_EN - D1TCM Access single-bit ECC Error Interrupt Status Enable
49459  *  0b0..Masked
49460  *  0b1..Enabled
49461  */
49462 #define FLEXRAM_INT_STAT_EN_D1TCM_ERRS_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D1TCM_ERRS_INT_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D1TCM_ERRS_INT_EN_MASK)
49463 
49464 #define FLEXRAM_INT_STAT_EN_ITCM_PARTIAL_WR_INT_S_EN_MASK (0x4000U)
49465 #define FLEXRAM_INT_STAT_EN_ITCM_PARTIAL_WR_INT_S_EN_SHIFT (14U)
49466 /*! ITCM_PARTIAL_WR_INT_S_EN - ITCM Partial Write Interrupt Status Enable
49467  *  0b0..Masked
49468  *  0b1..Enabled
49469  */
49470 #define FLEXRAM_INT_STAT_EN_ITCM_PARTIAL_WR_INT_S_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_ITCM_PARTIAL_WR_INT_S_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_ITCM_PARTIAL_WR_INT_S_EN_MASK)
49471 
49472 #define FLEXRAM_INT_STAT_EN_D0TCM_PARTIAL_WR_INT_S_EN_MASK (0x8000U)
49473 #define FLEXRAM_INT_STAT_EN_D0TCM_PARTIAL_WR_INT_S_EN_SHIFT (15U)
49474 /*! D0TCM_PARTIAL_WR_INT_S_EN - D0TCM Partial Write Interrupt Status Enable
49475  *  0b0..Masked
49476  *  0b1..Enabled
49477  */
49478 #define FLEXRAM_INT_STAT_EN_D0TCM_PARTIAL_WR_INT_S_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D0TCM_PARTIAL_WR_INT_S_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D0TCM_PARTIAL_WR_INT_S_EN_MASK)
49479 
49480 #define FLEXRAM_INT_STAT_EN_D1TCM_PARTIAL_WR_INT_S_EN_MASK (0x10000U)
49481 #define FLEXRAM_INT_STAT_EN_D1TCM_PARTIAL_WR_INT_S_EN_SHIFT (16U)
49482 /*! D1TCM_PARTIAL_WR_INT_S_EN - D1TCM Partial Write Interrupt Status EN
49483  *  0b0..Masked
49484  *  0b1..Enbaled
49485  */
49486 #define FLEXRAM_INT_STAT_EN_D1TCM_PARTIAL_WR_INT_S_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_D1TCM_PARTIAL_WR_INT_S_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_D1TCM_PARTIAL_WR_INT_S_EN_MASK)
49487 
49488 #define FLEXRAM_INT_STAT_EN_OCRAM_PARTIAL_WR_INT_S_EN_MASK (0x20000U)
49489 #define FLEXRAM_INT_STAT_EN_OCRAM_PARTIAL_WR_INT_S_EN_SHIFT (17U)
49490 /*! OCRAM_PARTIAL_WR_INT_S_EN - OCRAM Partial Write Interrupt Status
49491  *  0b0..Masked
49492  *  0b1..Enabled
49493  */
49494 #define FLEXRAM_INT_STAT_EN_OCRAM_PARTIAL_WR_INT_S_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_OCRAM_PARTIAL_WR_INT_S_EN_SHIFT)) & FLEXRAM_INT_STAT_EN_OCRAM_PARTIAL_WR_INT_S_EN_MASK)
49495 
49496 #define FLEXRAM_INT_STAT_EN_Reserved_MASK        (0xFFFC0000U)
49497 #define FLEXRAM_INT_STAT_EN_Reserved_SHIFT       (18U)
49498 /*! Reserved - Reserved
49499  */
49500 #define FLEXRAM_INT_STAT_EN_Reserved(x)          (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_STAT_EN_Reserved_SHIFT)) & FLEXRAM_INT_STAT_EN_Reserved_MASK)
49501 /*! @} */
49502 
49503 /*! @name INT_SIG_EN - Interrupt Enable Register */
49504 /*! @{ */
49505 
49506 #define FLEXRAM_INT_SIG_EN_ITCM_MAM_SIG_EN_MASK  (0x1U)
49507 #define FLEXRAM_INT_SIG_EN_ITCM_MAM_SIG_EN_SHIFT (0U)
49508 /*! ITCM_MAM_SIG_EN - ITCM Magic Address Match Interrupt Enable
49509  *  0b0..Masked
49510  *  0b1..Enabled
49511  */
49512 #define FLEXRAM_INT_SIG_EN_ITCM_MAM_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_ITCM_MAM_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_ITCM_MAM_SIG_EN_MASK)
49513 
49514 #define FLEXRAM_INT_SIG_EN_DTCM_MAM_SIG_EN_MASK  (0x2U)
49515 #define FLEXRAM_INT_SIG_EN_DTCM_MAM_SIG_EN_SHIFT (1U)
49516 /*! DTCM_MAM_SIG_EN - DTCM Magic Address Match Interrupt Enable
49517  *  0b0..Masked
49518  *  0b1..Enabled
49519  */
49520 #define FLEXRAM_INT_SIG_EN_DTCM_MAM_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_DTCM_MAM_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_DTCM_MAM_SIG_EN_MASK)
49521 
49522 #define FLEXRAM_INT_SIG_EN_OCRAM_MAM_SIG_EN_MASK (0x4U)
49523 #define FLEXRAM_INT_SIG_EN_OCRAM_MAM_SIG_EN_SHIFT (2U)
49524 /*! OCRAM_MAM_SIG_EN - OCRAM Magic Address Match Interrupt Enable
49525  *  0b0..Masked
49526  *  0b1..Enabled
49527  */
49528 #define FLEXRAM_INT_SIG_EN_OCRAM_MAM_SIG_EN(x)   (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_OCRAM_MAM_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_OCRAM_MAM_SIG_EN_MASK)
49529 
49530 #define FLEXRAM_INT_SIG_EN_ITCM_ERR_SIG_EN_MASK  (0x8U)
49531 #define FLEXRAM_INT_SIG_EN_ITCM_ERR_SIG_EN_SHIFT (3U)
49532 /*! ITCM_ERR_SIG_EN - ITCM Access Error Interrupt Enable
49533  *  0b0..Masked
49534  *  0b1..Enabled
49535  */
49536 #define FLEXRAM_INT_SIG_EN_ITCM_ERR_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_ITCM_ERR_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_ITCM_ERR_SIG_EN_MASK)
49537 
49538 #define FLEXRAM_INT_SIG_EN_DTCM_ERR_SIG_EN_MASK  (0x10U)
49539 #define FLEXRAM_INT_SIG_EN_DTCM_ERR_SIG_EN_SHIFT (4U)
49540 /*! DTCM_ERR_SIG_EN - DTCM Access Error Interrupt Enable
49541  *  0b0..Masked
49542  *  0b1..Enabled
49543  */
49544 #define FLEXRAM_INT_SIG_EN_DTCM_ERR_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_DTCM_ERR_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_DTCM_ERR_SIG_EN_MASK)
49545 
49546 #define FLEXRAM_INT_SIG_EN_OCRAM_ERR_SIG_EN_MASK (0x20U)
49547 #define FLEXRAM_INT_SIG_EN_OCRAM_ERR_SIG_EN_SHIFT (5U)
49548 /*! OCRAM_ERR_SIG_EN - OCRAM Access Error Interrupt Enable
49549  *  0b0..Masked
49550  *  0b1..Enabled
49551  */
49552 #define FLEXRAM_INT_SIG_EN_OCRAM_ERR_SIG_EN(x)   (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_OCRAM_ERR_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_OCRAM_ERR_SIG_EN_MASK)
49553 
49554 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRM_INT_SIG_EN_MASK (0x40U)
49555 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRM_INT_SIG_EN_SHIFT (6U)
49556 /*! OCRAM_ERRM_INT_SIG_EN - OCRAM Access multi-bit ECC Error Interrupt Signal Enable
49557  *  0b0..Masked
49558  *  0b1..Enabled
49559  */
49560 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRM_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_OCRAM_ERRM_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_OCRAM_ERRM_INT_SIG_EN_MASK)
49561 
49562 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRS_INT_SIG_EN_MASK (0x80U)
49563 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRS_INT_SIG_EN_SHIFT (7U)
49564 /*! OCRAM_ERRS_INT_SIG_EN - OCRAM Access single-bit ECC Error Interrupt Signal Enable
49565  *  0b0..Masked
49566  *  0b1..Enabled
49567  */
49568 #define FLEXRAM_INT_SIG_EN_OCRAM_ERRS_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_OCRAM_ERRS_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_OCRAM_ERRS_INT_SIG_EN_MASK)
49569 
49570 #define FLEXRAM_INT_SIG_EN_ITCM_ERRM_INT_SIG_EN_MASK (0x100U)
49571 #define FLEXRAM_INT_SIG_EN_ITCM_ERRM_INT_SIG_EN_SHIFT (8U)
49572 /*! ITCM_ERRM_INT_SIG_EN - ITCM Access multi-bit ECC Error Interrupt Signal Enable
49573  *  0b0..Masked
49574  *  0b1..Enabled
49575  */
49576 #define FLEXRAM_INT_SIG_EN_ITCM_ERRM_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_ITCM_ERRM_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_ITCM_ERRM_INT_SIG_EN_MASK)
49577 
49578 #define FLEXRAM_INT_SIG_EN_ITCM_ERRS_INT_SIG_EN_MASK (0x200U)
49579 #define FLEXRAM_INT_SIG_EN_ITCM_ERRS_INT_SIG_EN_SHIFT (9U)
49580 /*! ITCM_ERRS_INT_SIG_EN - ITCM Access single-bit ECC Error Interrupt Signal Enable
49581  *  0b0..Masked
49582  *  0b1..Enabled
49583  */
49584 #define FLEXRAM_INT_SIG_EN_ITCM_ERRS_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_ITCM_ERRS_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_ITCM_ERRS_INT_SIG_EN_MASK)
49585 
49586 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRM_INT_SIG_EN_MASK (0x400U)
49587 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRM_INT_SIG_EN_SHIFT (10U)
49588 /*! D0TCM_ERRM_INT_SIG_EN - D0TCM Access multi-bit ECC Error Interrupt Signal Enable
49589  *  0b0..Masked
49590  *  0b1..Enabled
49591  */
49592 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRM_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D0TCM_ERRM_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D0TCM_ERRM_INT_SIG_EN_MASK)
49593 
49594 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRS_INT_SIG_EN_MASK (0x800U)
49595 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRS_INT_SIG_EN_SHIFT (11U)
49596 /*! D0TCM_ERRS_INT_SIG_EN - D0TCM Access single-bit ECC Error Interrupt Signal Enable
49597  *  0b0..Masked
49598  *  0b1..Enabled
49599  */
49600 #define FLEXRAM_INT_SIG_EN_D0TCM_ERRS_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D0TCM_ERRS_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D0TCM_ERRS_INT_SIG_EN_MASK)
49601 
49602 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRM_INT_SIG_EN_MASK (0x1000U)
49603 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRM_INT_SIG_EN_SHIFT (12U)
49604 /*! D1TCM_ERRM_INT_SIG_EN - D1TCM Access multi-bit ECC Error Interrupt Signal Enable
49605  *  0b0..Masked
49606  *  0b1..Enabled
49607  */
49608 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRM_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D1TCM_ERRM_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D1TCM_ERRM_INT_SIG_EN_MASK)
49609 
49610 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRS_INT_SIG_EN_MASK (0x2000U)
49611 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRS_INT_SIG_EN_SHIFT (13U)
49612 /*! D1TCM_ERRS_INT_SIG_EN - D1TCM Access single-bit ECC Error Interrupt Signal Enable
49613  *  0b0..Masked
49614  *  0b1..Enabled
49615  */
49616 #define FLEXRAM_INT_SIG_EN_D1TCM_ERRS_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D1TCM_ERRS_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D1TCM_ERRS_INT_SIG_EN_MASK)
49617 
49618 #define FLEXRAM_INT_SIG_EN_ITCM_PARTIAL_WR_INT_SIG_EN_MASK (0x4000U)
49619 #define FLEXRAM_INT_SIG_EN_ITCM_PARTIAL_WR_INT_SIG_EN_SHIFT (14U)
49620 /*! ITCM_PARTIAL_WR_INT_SIG_EN - ITCM Partial Write Interrupt Signal Enable Enable
49621  *  0b0..Masked
49622  *  0b1..Enabled
49623  */
49624 #define FLEXRAM_INT_SIG_EN_ITCM_PARTIAL_WR_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_ITCM_PARTIAL_WR_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_ITCM_PARTIAL_WR_INT_SIG_EN_MASK)
49625 
49626 #define FLEXRAM_INT_SIG_EN_D0TCM_PARTIAL_WR_INT_SIG_EN_MASK (0x8000U)
49627 #define FLEXRAM_INT_SIG_EN_D0TCM_PARTIAL_WR_INT_SIG_EN_SHIFT (15U)
49628 /*! D0TCM_PARTIAL_WR_INT_SIG_EN - D0TCM Partial Write Interrupt Signal Enable Enable
49629  *  0b0..Masked
49630  *  0b1..Enabled
49631  */
49632 #define FLEXRAM_INT_SIG_EN_D0TCM_PARTIAL_WR_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D0TCM_PARTIAL_WR_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D0TCM_PARTIAL_WR_INT_SIG_EN_MASK)
49633 
49634 #define FLEXRAM_INT_SIG_EN_D1TCM_PARTIAL_WR_INT_SIG_EN_MASK (0x10000U)
49635 #define FLEXRAM_INT_SIG_EN_D1TCM_PARTIAL_WR_INT_SIG_EN_SHIFT (16U)
49636 /*! D1TCM_PARTIAL_WR_INT_SIG_EN - D1TCM Partial Write Interrupt Signal Enable EN
49637  *  0b0..Masked
49638  *  0b1..Enbaled
49639  */
49640 #define FLEXRAM_INT_SIG_EN_D1TCM_PARTIAL_WR_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_D1TCM_PARTIAL_WR_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_D1TCM_PARTIAL_WR_INT_SIG_EN_MASK)
49641 
49642 #define FLEXRAM_INT_SIG_EN_OCRAM_PARTIAL_WR_INT_SIG_EN_MASK (0x20000U)
49643 #define FLEXRAM_INT_SIG_EN_OCRAM_PARTIAL_WR_INT_SIG_EN_SHIFT (17U)
49644 /*! OCRAM_PARTIAL_WR_INT_SIG_EN - OCRAM Partial Write Interrupt Signal Enable
49645  *  0b0..Masked
49646  *  0b1..Enabled
49647  */
49648 #define FLEXRAM_INT_SIG_EN_OCRAM_PARTIAL_WR_INT_SIG_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_OCRAM_PARTIAL_WR_INT_SIG_EN_SHIFT)) & FLEXRAM_INT_SIG_EN_OCRAM_PARTIAL_WR_INT_SIG_EN_MASK)
49649 
49650 #define FLEXRAM_INT_SIG_EN_Reserved_MASK         (0xFFFC0000U)
49651 #define FLEXRAM_INT_SIG_EN_Reserved_SHIFT        (18U)
49652 /*! Reserved - Reserved
49653  */
49654 #define FLEXRAM_INT_SIG_EN_Reserved(x)           (((uint32_t)(((uint32_t)(x)) << FLEXRAM_INT_SIG_EN_Reserved_SHIFT)) & FLEXRAM_INT_SIG_EN_Reserved_MASK)
49655 /*! @} */
49656 
49657 /*! @name OCRAM_ECC_SINGLE_ERROR_INFO - OCRAM single-bit ECC Error Information Register */
49658 /*! @{ */
49659 
49660 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_ECC_MASK (0xFFU)
49661 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_ECC_SHIFT (0U)
49662 /*! OCRAM_ECCS_ERRED_ECC - corresponding ECC cipher of OCRAM single-bit ECC error
49663  */
49664 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_ECC(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_ECC_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_ECC_MASK)
49665 
49666 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_SYN_MASK (0xFF00U)
49667 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_SYN_SHIFT (8U)
49668 /*! OCRAM_ECCS_ERRED_SYN - corresponding ECC syndrome of OCRAM single-bit ECC error
49669  */
49670 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_SYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_SYN_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_OCRAM_ECCS_ERRED_SYN_MASK)
49671 
49672 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_Reserved_MASK (0xFFFF0000U)
49673 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT (16U)
49674 /*! Reserved - Reserved
49675  */
49676 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_INFO_Reserved_MASK)
49677 /*! @} */
49678 
49679 /*! @name OCRAM_ECC_SINGLE_ERROR_ADDR - OCRAM single-bit ECC Error Address Register */
49680 /*! @{ */
49681 
49682 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_ADDR_OCRAM_ECCS_ERRED_ADDR_MASK (0xFFFFFFFFU)
49683 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_ADDR_OCRAM_ECCS_ERRED_ADDR_SHIFT (0U)
49684 /*! OCRAM_ECCS_ERRED_ADDR - OCRAM single-bit ECC error address
49685  */
49686 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_ADDR_OCRAM_ECCS_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_ADDR_OCRAM_ECCS_ERRED_ADDR_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_ADDR_OCRAM_ECCS_ERRED_ADDR_MASK)
49687 /*! @} */
49688 
49689 /*! @name OCRAM_ECC_SINGLE_ERROR_DATA_LSB - OCRAM single-bit ECC Error Data Register */
49690 /*! @{ */
49691 
49692 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_LSB_OCRAM_ECCS_ERRED_DATA_LSB_MASK (0xFFFFFFFFU)
49693 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_LSB_OCRAM_ECCS_ERRED_DATA_LSB_SHIFT (0U)
49694 /*! OCRAM_ECCS_ERRED_DATA_LSB - OCRAM single-bit ECC error data [31:0]
49695  */
49696 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_LSB_OCRAM_ECCS_ERRED_DATA_LSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_LSB_OCRAM_ECCS_ERRED_DATA_LSB_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_LSB_OCRAM_ECCS_ERRED_DATA_LSB_MASK)
49697 /*! @} */
49698 
49699 /*! @name OCRAM_ECC_SINGLE_ERROR_DATA_MSB - OCRAM single-bit ECC Error Data Register */
49700 /*! @{ */
49701 
49702 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_MSB_OCRAM_ECCS_ERRED_DATA_MSB_MASK (0xFFFFFFFFU)
49703 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_MSB_OCRAM_ECCS_ERRED_DATA_MSB_SHIFT (0U)
49704 /*! OCRAM_ECCS_ERRED_DATA_MSB - OCRAM single-bit ECC error data [63:32]
49705  */
49706 #define FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_MSB_OCRAM_ECCS_ERRED_DATA_MSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_MSB_OCRAM_ECCS_ERRED_DATA_MSB_SHIFT)) & FLEXRAM_OCRAM_ECC_SINGLE_ERROR_DATA_MSB_OCRAM_ECCS_ERRED_DATA_MSB_MASK)
49707 /*! @} */
49708 
49709 /*! @name OCRAM_ECC_MULTI_ERROR_INFO - OCRAM multi-bit ECC Error Information Register */
49710 /*! @{ */
49711 
49712 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_OCRAM_ECCM_ERRED_ECC_MASK (0xFFU)
49713 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_OCRAM_ECCM_ERRED_ECC_SHIFT (0U)
49714 /*! OCRAM_ECCM_ERRED_ECC - OCRAM multi-bit ECC error corresponding ECC value
49715  */
49716 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_OCRAM_ECCM_ERRED_ECC(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_OCRAM_ECCM_ERRED_ECC_SHIFT)) & FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_OCRAM_ECCM_ERRED_ECC_MASK)
49717 
49718 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_Reserved_MASK (0xFFFFFF00U)
49719 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT (8U)
49720 /*! Reserved - Reserved
49721  */
49722 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_OCRAM_ECC_MULTI_ERROR_INFO_Reserved_MASK)
49723 /*! @} */
49724 
49725 /*! @name OCRAM_ECC_MULTI_ERROR_ADDR - OCRAM multi-bit ECC Error Address Register */
49726 /*! @{ */
49727 
49728 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_ADDR_OCRAM_ECCM_ERRED_ADDR_MASK (0xFFFFFFFFU)
49729 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_ADDR_OCRAM_ECCM_ERRED_ADDR_SHIFT (0U)
49730 /*! OCRAM_ECCM_ERRED_ADDR - OCRAM multi-bit ECC error address
49731  */
49732 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_ADDR_OCRAM_ECCM_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_MULTI_ERROR_ADDR_OCRAM_ECCM_ERRED_ADDR_SHIFT)) & FLEXRAM_OCRAM_ECC_MULTI_ERROR_ADDR_OCRAM_ECCM_ERRED_ADDR_MASK)
49733 /*! @} */
49734 
49735 /*! @name OCRAM_ECC_MULTI_ERROR_DATA_LSB - OCRAM multi-bit ECC Error Data Register */
49736 /*! @{ */
49737 
49738 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_LSB_OCRAM_ECCM_ERRED_DATA_LSB_MASK (0xFFFFFFFFU)
49739 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_LSB_OCRAM_ECCM_ERRED_DATA_LSB_SHIFT (0U)
49740 /*! OCRAM_ECCM_ERRED_DATA_LSB - OCRAM multi-bit ECC error data [31:0]
49741  */
49742 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_LSB_OCRAM_ECCM_ERRED_DATA_LSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_LSB_OCRAM_ECCM_ERRED_DATA_LSB_SHIFT)) & FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_LSB_OCRAM_ECCM_ERRED_DATA_LSB_MASK)
49743 /*! @} */
49744 
49745 /*! @name OCRAM_ECC_MULTI_ERROR_DATA_MSB - OCRAM multi-bit ECC Error Data Register */
49746 /*! @{ */
49747 
49748 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_MSB_OCRAM_ECCM_ERRED_DATA_MSB_MASK (0xFFFFFFFFU)
49749 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_MSB_OCRAM_ECCM_ERRED_DATA_MSB_SHIFT (0U)
49750 /*! OCRAM_ECCM_ERRED_DATA_MSB - OCRAM multi-bit ECC error data [63:32]
49751  */
49752 #define FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_MSB_OCRAM_ECCM_ERRED_DATA_MSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_MSB_OCRAM_ECCM_ERRED_DATA_MSB_SHIFT)) & FLEXRAM_OCRAM_ECC_MULTI_ERROR_DATA_MSB_OCRAM_ECCM_ERRED_DATA_MSB_MASK)
49753 /*! @} */
49754 
49755 /*! @name ITCM_ECC_SINGLE_ERROR_INFO - ITCM single-bit ECC Error Information Register */
49756 /*! @{ */
49757 
49758 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFW_MASK (0x1U)
49759 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFW_SHIFT (0U)
49760 /*! ITCM_ECCS_EFW - ITCM single-bit ECC error corresponding TCM_WR value.
49761  */
49762 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFW_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFW_MASK)
49763 
49764 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSIZ_MASK (0xEU)
49765 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSIZ_SHIFT (1U)
49766 /*! ITCM_ECCS_EFSIZ - ITCM single-bit ECC error corresponding TCM size
49767  */
49768 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSIZ_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSIZ_MASK)
49769 
49770 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFMST_MASK (0xF0U)
49771 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFMST_SHIFT (4U)
49772 /*! ITCM_ECCS_EFMST - ITCM single-bit ECC error corresponding TCM_MASTER.
49773  */
49774 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFMST_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFMST_MASK)
49775 
49776 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFPRT_MASK (0xF00U)
49777 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFPRT_SHIFT (8U)
49778 /*! ITCM_ECCS_EFPRT - ITCM single-bit ECC error corresponding TCM_PRIV.
49779  */
49780 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFPRT_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFPRT_MASK)
49781 
49782 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSYN_MASK (0xFF000U)
49783 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSYN_SHIFT (12U)
49784 /*! ITCM_ECCS_EFSYN - ITCM single-bit ECC error corresponding syndrome
49785  */
49786 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSYN_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_ITCM_ECCS_EFSYN_MASK)
49787 
49788 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK (0xFFF00000U)
49789 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT (20U)
49790 /*! Reserved - Reserved
49791  */
49792 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK)
49793 /*! @} */
49794 
49795 /*! @name ITCM_ECC_SINGLE_ERROR_ADDR - ITCM single-bit ECC Error Address Register */
49796 /*! @{ */
49797 
49798 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_ADDR_ITCM_ECCS_ERRED_ADDR_MASK (0xFFFFFFFFU)
49799 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_ADDR_ITCM_ECCS_ERRED_ADDR_SHIFT (0U)
49800 /*! ITCM_ECCS_ERRED_ADDR - ITCM single-bit ECC error address
49801  */
49802 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_ADDR_ITCM_ECCS_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_ADDR_ITCM_ECCS_ERRED_ADDR_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_ADDR_ITCM_ECCS_ERRED_ADDR_MASK)
49803 /*! @} */
49804 
49805 /*! @name ITCM_ECC_SINGLE_ERROR_DATA_LSB - ITCM single-bit ECC Error Data Register */
49806 /*! @{ */
49807 
49808 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_LSB_ITCM_ECCS_ERRED_DATA_LSB_MASK (0xFFFFFFFFU)
49809 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_LSB_ITCM_ECCS_ERRED_DATA_LSB_SHIFT (0U)
49810 /*! ITCM_ECCS_ERRED_DATA_LSB - ITCM single-bit ECC error data [31:0]
49811  */
49812 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_LSB_ITCM_ECCS_ERRED_DATA_LSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_LSB_ITCM_ECCS_ERRED_DATA_LSB_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_LSB_ITCM_ECCS_ERRED_DATA_LSB_MASK)
49813 /*! @} */
49814 
49815 /*! @name ITCM_ECC_SINGLE_ERROR_DATA_MSB - ITCM single-bit ECC Error Data Register */
49816 /*! @{ */
49817 
49818 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_MSB_ITCM_ECCS_ERRED_DATA_MSB_MASK (0xFFFFFFFFU)
49819 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_MSB_ITCM_ECCS_ERRED_DATA_MSB_SHIFT (0U)
49820 /*! ITCM_ECCS_ERRED_DATA_MSB - ITCM single-bit ECC error data [63:32]
49821  */
49822 #define FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_MSB_ITCM_ECCS_ERRED_DATA_MSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_MSB_ITCM_ECCS_ERRED_DATA_MSB_SHIFT)) & FLEXRAM_ITCM_ECC_SINGLE_ERROR_DATA_MSB_ITCM_ECCS_ERRED_DATA_MSB_MASK)
49823 /*! @} */
49824 
49825 /*! @name ITCM_ECC_MULTI_ERROR_INFO - ITCM multi-bit ECC Error Information Register */
49826 /*! @{ */
49827 
49828 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFW_MASK (0x1U)
49829 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFW_SHIFT (0U)
49830 /*! ITCM_ECCM_EFW - ITCM multi-bit ECC error corresponding TCM_WR value
49831  */
49832 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFW_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFW_MASK)
49833 
49834 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSIZ_MASK (0xEU)
49835 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSIZ_SHIFT (1U)
49836 /*! ITCM_ECCM_EFSIZ - ITCM multi-bit ECC error corresponding tcm access size
49837  */
49838 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSIZ_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSIZ_MASK)
49839 
49840 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFMST_MASK (0xF0U)
49841 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFMST_SHIFT (4U)
49842 /*! ITCM_ECCM_EFMST - ITCM multi-bit ECC error corresponding TCM_MASTER
49843  */
49844 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFMST_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFMST_MASK)
49845 
49846 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFPRT_MASK (0xF00U)
49847 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFPRT_SHIFT (8U)
49848 /*! ITCM_ECCM_EFPRT - ITCM multi-bit ECC error corresponding TCM_PRIV
49849  */
49850 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFPRT_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFPRT_MASK)
49851 
49852 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSYN_MASK (0xFF000U)
49853 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSYN_SHIFT (12U)
49854 /*! ITCM_ECCM_EFSYN - ITCM multi-bit ECC error corresponding syndrome
49855  */
49856 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSYN_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_ITCM_ECCM_EFSYN_MASK)
49857 
49858 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_Reserved_MASK (0xFFF00000U)
49859 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT (20U)
49860 /*! Reserved - Reserved
49861  */
49862 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_INFO_Reserved_MASK)
49863 /*! @} */
49864 
49865 /*! @name ITCM_ECC_MULTI_ERROR_ADDR - ITCM multi-bit ECC Error Address Register */
49866 /*! @{ */
49867 
49868 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_ADDR_ITCM_ECCM_ERRED_ADDR_MASK (0xFFFFFFFFU)
49869 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_ADDR_ITCM_ECCM_ERRED_ADDR_SHIFT (0U)
49870 /*! ITCM_ECCM_ERRED_ADDR - ITCM multi-bit ECC error address
49871  */
49872 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_ADDR_ITCM_ECCM_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_ADDR_ITCM_ECCM_ERRED_ADDR_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_ADDR_ITCM_ECCM_ERRED_ADDR_MASK)
49873 /*! @} */
49874 
49875 /*! @name ITCM_ECC_MULTI_ERROR_DATA_LSB - ITCM multi-bit ECC Error Data Register */
49876 /*! @{ */
49877 
49878 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_LSB_ITCM_ECCM_ERRED_DATA_LSB_MASK (0xFFFFFFFFU)
49879 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_LSB_ITCM_ECCM_ERRED_DATA_LSB_SHIFT (0U)
49880 /*! ITCM_ECCM_ERRED_DATA_LSB - ITCM multi-bit ECC error data [31:0]
49881  */
49882 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_LSB_ITCM_ECCM_ERRED_DATA_LSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_LSB_ITCM_ECCM_ERRED_DATA_LSB_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_LSB_ITCM_ECCM_ERRED_DATA_LSB_MASK)
49883 /*! @} */
49884 
49885 /*! @name ITCM_ECC_MULTI_ERROR_DATA_MSB - ITCM multi-bit ECC Error Data Register */
49886 /*! @{ */
49887 
49888 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_MSB_ITCM_ECCM_ERRED_DATA_MSB_MASK (0xFFFFFFFFU)
49889 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_MSB_ITCM_ECCM_ERRED_DATA_MSB_SHIFT (0U)
49890 /*! ITCM_ECCM_ERRED_DATA_MSB - ITCM multi-bit ECC error data [63:32]
49891  */
49892 #define FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_MSB_ITCM_ECCM_ERRED_DATA_MSB(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_MSB_ITCM_ECCM_ERRED_DATA_MSB_SHIFT)) & FLEXRAM_ITCM_ECC_MULTI_ERROR_DATA_MSB_ITCM_ECCM_ERRED_DATA_MSB_MASK)
49893 /*! @} */
49894 
49895 /*! @name D0TCM_ECC_SINGLE_ERROR_INFO - D0TCM single-bit ECC Error Information Register */
49896 /*! @{ */
49897 
49898 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFW_MASK (0x1U)
49899 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFW_SHIFT (0U)
49900 /*! D0TCM_ECCS_EFW - D0TCM single-bit ECC error corresponding TCM_WR value
49901  */
49902 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFW_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFW_MASK)
49903 
49904 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSIZ_MASK (0xEU)
49905 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSIZ_SHIFT (1U)
49906 /*! D0TCM_ECCS_EFSIZ - D0TCM single-bit ECC error corresponding tcm access size
49907  */
49908 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSIZ_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSIZ_MASK)
49909 
49910 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFMST_MASK (0xF0U)
49911 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFMST_SHIFT (4U)
49912 /*! D0TCM_ECCS_EFMST - D0TCM single-bit ECC error corresponding TCM_MASTER
49913  */
49914 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFMST_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFMST_MASK)
49915 
49916 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFPRT_MASK (0xF00U)
49917 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFPRT_SHIFT (8U)
49918 /*! D0TCM_ECCS_EFPRT - D0TCM single-bit ECC error corresponding TCM_PRIV
49919  */
49920 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFPRT_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFPRT_MASK)
49921 
49922 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSYN_MASK (0x7F000U)
49923 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSYN_SHIFT (12U)
49924 /*! D0TCM_ECCS_EFSYN - D0TCM single-bit ECC error corresponding syndrome
49925  */
49926 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSYN_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_D0TCM_ECCS_EFSYN_MASK)
49927 
49928 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK (0xFFF80000U)
49929 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT (19U)
49930 /*! Reserved - Reserved
49931  */
49932 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK)
49933 /*! @} */
49934 
49935 /*! @name D0TCM_ECC_SINGLE_ERROR_ADDR - D0TCM single-bit ECC Error Address Register */
49936 /*! @{ */
49937 
49938 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_ADDR_D0TCM_ECCS_ERRED_ADDR_MASK (0xFFFFFFFFU)
49939 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_ADDR_D0TCM_ECCS_ERRED_ADDR_SHIFT (0U)
49940 /*! D0TCM_ECCS_ERRED_ADDR - D0TCM single-bit ECC error address
49941  */
49942 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_ADDR_D0TCM_ECCS_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_ADDR_D0TCM_ECCS_ERRED_ADDR_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_ADDR_D0TCM_ECCS_ERRED_ADDR_MASK)
49943 /*! @} */
49944 
49945 /*! @name D0TCM_ECC_SINGLE_ERROR_DATA - D0TCM single-bit ECC Error Data Register */
49946 /*! @{ */
49947 
49948 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_DATA_D0TCM_ECCS_ERRED_DATA_MASK (0xFFFFFFFFU)
49949 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_DATA_D0TCM_ECCS_ERRED_DATA_SHIFT (0U)
49950 /*! D0TCM_ECCS_ERRED_DATA - D0TCM single-bit ECC error data
49951  */
49952 #define FLEXRAM_D0TCM_ECC_SINGLE_ERROR_DATA_D0TCM_ECCS_ERRED_DATA(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_SINGLE_ERROR_DATA_D0TCM_ECCS_ERRED_DATA_SHIFT)) & FLEXRAM_D0TCM_ECC_SINGLE_ERROR_DATA_D0TCM_ECCS_ERRED_DATA_MASK)
49953 /*! @} */
49954 
49955 /*! @name D0TCM_ECC_MULTI_ERROR_INFO - D0TCM multi-bit ECC Error Information Register */
49956 /*! @{ */
49957 
49958 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFW_MASK (0x1U)
49959 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFW_SHIFT (0U)
49960 /*! D0TCM_ECCM_EFW - D0TCM multi-bit ECC error corresponding TCM_WR value
49961  */
49962 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFW_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFW_MASK)
49963 
49964 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSIZ_MASK (0xEU)
49965 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSIZ_SHIFT (1U)
49966 /*! D0TCM_ECCM_EFSIZ - D0TCM multi-bit ECC error corresponding tcm access size
49967  */
49968 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSIZ_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSIZ_MASK)
49969 
49970 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFMST_MASK (0xF0U)
49971 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFMST_SHIFT (4U)
49972 /*! D0TCM_ECCM_EFMST - D0TCM multi-bit ECC error corresponding TCM_MASTER
49973  */
49974 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFMST_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFMST_MASK)
49975 
49976 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFPRT_MASK (0xF00U)
49977 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFPRT_SHIFT (8U)
49978 /*! D0TCM_ECCM_EFPRT - D0TCM multi-bit ECC error corresponding TCM_PRIV
49979  */
49980 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFPRT_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFPRT_MASK)
49981 
49982 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSYN_MASK (0x7F000U)
49983 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSYN_SHIFT (12U)
49984 /*! D0TCM_ECCM_EFSYN - D0TCM multi-bit ECC error corresponding syndrome
49985  */
49986 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSYN_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_D0TCM_ECCM_EFSYN_MASK)
49987 
49988 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_Reserved_MASK (0xFFF80000U)
49989 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT (19U)
49990 /*! Reserved - Reserved
49991  */
49992 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_INFO_Reserved_MASK)
49993 /*! @} */
49994 
49995 /*! @name D0TCM_ECC_MULTI_ERROR_ADDR - D0TCM multi-bit ECC Error Address Register */
49996 /*! @{ */
49997 
49998 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_ADDR_D0TCM_ECCM_ERRED_ADDR_MASK (0xFFFFFFFFU)
49999 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_ADDR_D0TCM_ECCM_ERRED_ADDR_SHIFT (0U)
50000 /*! D0TCM_ECCM_ERRED_ADDR - D0TCM multi-bit ECC error address
50001  */
50002 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_ADDR_D0TCM_ECCM_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_ADDR_D0TCM_ECCM_ERRED_ADDR_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_ADDR_D0TCM_ECCM_ERRED_ADDR_MASK)
50003 /*! @} */
50004 
50005 /*! @name D0TCM_ECC_MULTI_ERROR_DATA - D0TCM multi-bit ECC Error Data Register */
50006 /*! @{ */
50007 
50008 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_DATA_D0TCM_ECCM_ERRED_DATA_MASK (0xFFFFFFFFU)
50009 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_DATA_D0TCM_ECCM_ERRED_DATA_SHIFT (0U)
50010 /*! D0TCM_ECCM_ERRED_DATA - D0TCM multi-bit ECC error data
50011  */
50012 #define FLEXRAM_D0TCM_ECC_MULTI_ERROR_DATA_D0TCM_ECCM_ERRED_DATA(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D0TCM_ECC_MULTI_ERROR_DATA_D0TCM_ECCM_ERRED_DATA_SHIFT)) & FLEXRAM_D0TCM_ECC_MULTI_ERROR_DATA_D0TCM_ECCM_ERRED_DATA_MASK)
50013 /*! @} */
50014 
50015 /*! @name D1TCM_ECC_SINGLE_ERROR_INFO - D1TCM single-bit ECC Error Information Register */
50016 /*! @{ */
50017 
50018 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFW_MASK (0x1U)
50019 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFW_SHIFT (0U)
50020 /*! D1TCM_ECCS_EFW - D1TCM single-bit ECC error corresponding TCM_WR value
50021  */
50022 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFW_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFW_MASK)
50023 
50024 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSIZ_MASK (0xEU)
50025 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSIZ_SHIFT (1U)
50026 /*! D1TCM_ECCS_EFSIZ - D1TCM single-bit ECC error corresponding tcm access size
50027  */
50028 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSIZ_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSIZ_MASK)
50029 
50030 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFMST_MASK (0xF0U)
50031 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFMST_SHIFT (4U)
50032 /*! D1TCM_ECCS_EFMST - D1TCM single-bit ECC error corresponding TCM_MASTER
50033  */
50034 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFMST_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFMST_MASK)
50035 
50036 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFPRT_MASK (0xF00U)
50037 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFPRT_SHIFT (8U)
50038 /*! D1TCM_ECCS_EFPRT - D1TCM single-bit ECC error corresponding TCM_PRIV
50039  */
50040 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFPRT_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFPRT_MASK)
50041 
50042 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSYN_MASK (0x7F000U)
50043 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSYN_SHIFT (12U)
50044 /*! D1TCM_ECCS_EFSYN - D1TCM single-bit ECC error corresponding syndrome
50045  */
50046 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSYN_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_D1TCM_ECCS_EFSYN_MASK)
50047 
50048 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK (0xFFF80000U)
50049 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT (19U)
50050 /*! Reserved - Reserved
50051  */
50052 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_INFO_Reserved_MASK)
50053 /*! @} */
50054 
50055 /*! @name D1TCM_ECC_SINGLE_ERROR_ADDR - D1TCM single-bit ECC Error Address Register */
50056 /*! @{ */
50057 
50058 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_ADDR_D1TCM_ECCS_ERRED_ADDR_MASK (0xFFFFFFFFU)
50059 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_ADDR_D1TCM_ECCS_ERRED_ADDR_SHIFT (0U)
50060 /*! D1TCM_ECCS_ERRED_ADDR - D1TCM single-bit ECC error address
50061  */
50062 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_ADDR_D1TCM_ECCS_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_ADDR_D1TCM_ECCS_ERRED_ADDR_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_ADDR_D1TCM_ECCS_ERRED_ADDR_MASK)
50063 /*! @} */
50064 
50065 /*! @name D1TCM_ECC_SINGLE_ERROR_DATA - D1TCM single-bit ECC Error Data Register */
50066 /*! @{ */
50067 
50068 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_DATA_D1TCM_ECCS_ERRED_DATA_MASK (0xFFFFFFFFU)
50069 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_DATA_D1TCM_ECCS_ERRED_DATA_SHIFT (0U)
50070 /*! D1TCM_ECCS_ERRED_DATA - D1TCM single-bit ECC error data
50071  */
50072 #define FLEXRAM_D1TCM_ECC_SINGLE_ERROR_DATA_D1TCM_ECCS_ERRED_DATA(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_SINGLE_ERROR_DATA_D1TCM_ECCS_ERRED_DATA_SHIFT)) & FLEXRAM_D1TCM_ECC_SINGLE_ERROR_DATA_D1TCM_ECCS_ERRED_DATA_MASK)
50073 /*! @} */
50074 
50075 /*! @name D1TCM_ECC_MULTI_ERROR_INFO - D1TCM multi-bit ECC Error Information Register */
50076 /*! @{ */
50077 
50078 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFW_MASK (0x1U)
50079 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFW_SHIFT (0U)
50080 /*! D1TCM_ECCM_EFW - D1TCM multi-bit ECC error corresponding TCM_WR value
50081  */
50082 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFW(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFW_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFW_MASK)
50083 
50084 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSIZ_MASK (0xEU)
50085 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSIZ_SHIFT (1U)
50086 /*! D1TCM_ECCM_EFSIZ - D1TCM multi-bit ECC error corresponding tcm access size
50087  */
50088 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSIZ(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSIZ_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSIZ_MASK)
50089 
50090 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFMST_MASK (0xF0U)
50091 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFMST_SHIFT (4U)
50092 /*! D1TCM_ECCM_EFMST - D1TCM multi-bit ECC error corresponding TCM_MASTER
50093  */
50094 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFMST(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFMST_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFMST_MASK)
50095 
50096 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFPRT_MASK (0xF00U)
50097 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFPRT_SHIFT (8U)
50098 /*! D1TCM_ECCM_EFPRT - D1TCM multi-bit ECC error corresponding TCM_PRIV
50099  */
50100 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFPRT(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFPRT_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFPRT_MASK)
50101 
50102 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSYN_MASK (0x7F000U)
50103 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSYN_SHIFT (12U)
50104 /*! D1TCM_ECCM_EFSYN - D1TCM multi-bit ECC error corresponding syndrome
50105  */
50106 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSYN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSYN_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_D1TCM_ECCM_EFSYN_MASK)
50107 
50108 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_Reserved_MASK (0xFFF80000U)
50109 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT (19U)
50110 /*! Reserved - Reserved
50111  */
50112 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_Reserved_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_INFO_Reserved_MASK)
50113 /*! @} */
50114 
50115 /*! @name D1TCM_ECC_MULTI_ERROR_ADDR - D1TCM multi-bit ECC Error Address Register */
50116 /*! @{ */
50117 
50118 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_ADDR_D1TCM_ECCM_ERRED_ADDR_MASK (0xFFFFFFFFU)
50119 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_ADDR_D1TCM_ECCM_ERRED_ADDR_SHIFT (0U)
50120 /*! D1TCM_ECCM_ERRED_ADDR - D1TCM multi-bit ECC error address
50121  */
50122 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_ADDR_D1TCM_ECCM_ERRED_ADDR(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_ADDR_D1TCM_ECCM_ERRED_ADDR_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_ADDR_D1TCM_ECCM_ERRED_ADDR_MASK)
50123 /*! @} */
50124 
50125 /*! @name D1TCM_ECC_MULTI_ERROR_DATA - D1TCM multi-bit ECC Error Data Register */
50126 /*! @{ */
50127 
50128 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_DATA_D1TCM_ECCM_ERRED_DATA_MASK (0xFFFFFFFFU)
50129 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_DATA_D1TCM_ECCM_ERRED_DATA_SHIFT (0U)
50130 /*! D1TCM_ECCM_ERRED_DATA - D1TCM multi-bit ECC error data
50131  */
50132 #define FLEXRAM_D1TCM_ECC_MULTI_ERROR_DATA_D1TCM_ECCM_ERRED_DATA(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_D1TCM_ECC_MULTI_ERROR_DATA_D1TCM_ECCM_ERRED_DATA_SHIFT)) & FLEXRAM_D1TCM_ECC_MULTI_ERROR_DATA_D1TCM_ECCM_ERRED_DATA_MASK)
50133 /*! @} */
50134 
50135 /*! @name FLEXRAM_CTRL - FlexRAM feature Control register */
50136 /*! @{ */
50137 
50138 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RDATA_WAIT_EN_MASK (0x1U)
50139 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RDATA_WAIT_EN_SHIFT (0U)
50140 /*! OCRAM_RDATA_WAIT_EN - Read Data Wait Enable
50141  */
50142 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RDATA_WAIT_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_OCRAM_RDATA_WAIT_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_OCRAM_RDATA_WAIT_EN_MASK)
50143 
50144 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RADDR_PIPELINE_EN_MASK (0x2U)
50145 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RADDR_PIPELINE_EN_SHIFT (1U)
50146 /*! OCRAM_RADDR_PIPELINE_EN - Read Address Pipeline Enable
50147  */
50148 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_RADDR_PIPELINE_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_OCRAM_RADDR_PIPELINE_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_OCRAM_RADDR_PIPELINE_EN_MASK)
50149 
50150 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRDATA_PIPELINE_EN_MASK (0x4U)
50151 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRDATA_PIPELINE_EN_SHIFT (2U)
50152 /*! OCRAM_WRDATA_PIPELINE_EN - Write Data Pipeline Enable
50153  */
50154 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRDATA_PIPELINE_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_OCRAM_WRDATA_PIPELINE_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_OCRAM_WRDATA_PIPELINE_EN_MASK)
50155 
50156 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRADDR_PIPELINE_EN_MASK (0x8U)
50157 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRADDR_PIPELINE_EN_SHIFT (3U)
50158 /*! OCRAM_WRADDR_PIPELINE_EN - Write Address Pipeline Enable
50159  */
50160 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_WRADDR_PIPELINE_EN(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_OCRAM_WRADDR_PIPELINE_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_OCRAM_WRADDR_PIPELINE_EN_MASK)
50161 
50162 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_ECC_EN_MASK   (0x10U)
50163 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_ECC_EN_SHIFT  (4U)
50164 /*! OCRAM_ECC_EN - OCRAM ECC enable
50165  */
50166 #define FLEXRAM_FLEXRAM_CTRL_OCRAM_ECC_EN(x)     (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_OCRAM_ECC_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_OCRAM_ECC_EN_MASK)
50167 
50168 #define FLEXRAM_FLEXRAM_CTRL_TCM_ECC_EN_MASK     (0x20U)
50169 #define FLEXRAM_FLEXRAM_CTRL_TCM_ECC_EN_SHIFT    (5U)
50170 /*! TCM_ECC_EN - TCM ECC enable
50171  */
50172 #define FLEXRAM_FLEXRAM_CTRL_TCM_ECC_EN(x)       (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_TCM_ECC_EN_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_TCM_ECC_EN_MASK)
50173 
50174 #define FLEXRAM_FLEXRAM_CTRL_Reserved_MASK       (0xFFFFFFC0U)
50175 #define FLEXRAM_FLEXRAM_CTRL_Reserved_SHIFT      (6U)
50176 /*! Reserved - Reserved
50177  */
50178 #define FLEXRAM_FLEXRAM_CTRL_Reserved(x)         (((uint32_t)(((uint32_t)(x)) << FLEXRAM_FLEXRAM_CTRL_Reserved_SHIFT)) & FLEXRAM_FLEXRAM_CTRL_Reserved_MASK)
50179 /*! @} */
50180 
50181 /*! @name OCRAM_PIPELINE_STATUS - OCRAM Pipeline Status register */
50182 /*! @{ */
50183 
50184 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RDATA_WAIT_EN_UPDATA_PENDING_MASK (0x1U)
50185 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RDATA_WAIT_EN_UPDATA_PENDING_SHIFT (0U)
50186 /*! OCRAM_RDATA_WAIT_EN_UPDATA_PENDING - Read Data Wait Enable Pending
50187  */
50188 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RDATA_WAIT_EN_UPDATA_PENDING(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RDATA_WAIT_EN_UPDATA_PENDING_SHIFT)) & FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RDATA_WAIT_EN_UPDATA_PENDING_MASK)
50189 
50190 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING_MASK (0x2U)
50191 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING_SHIFT (1U)
50192 /*! OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING - Read Address Pipeline Enable Pending
50193  */
50194 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING_SHIFT)) & FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_RADDR_PIPELINE_EN_UPDATA_PENDING_MASK)
50195 
50196 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING_MASK (0x4U)
50197 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING_SHIFT (2U)
50198 /*! OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING - Write Data Pipeline Enable Pending
50199  */
50200 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING_SHIFT)) & FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRDATA_PIPELINE_EN_UPDATA_PENDING_MASK)
50201 
50202 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING_MASK (0x8U)
50203 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING_SHIFT (3U)
50204 /*! OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING - Write Address Pipeline Enable Pending
50205  */
50206 #define FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING_SHIFT)) & FLEXRAM_OCRAM_PIPELINE_STATUS_OCRAM_WRADDR_PIPELINE_EN_UPDATA_PENDING_MASK)
50207 
50208 #define FLEXRAM_OCRAM_PIPELINE_STATUS_Reserved_MASK (0xFFFFFFF0U)
50209 #define FLEXRAM_OCRAM_PIPELINE_STATUS_Reserved_SHIFT (4U)
50210 /*! Reserved - Reserved
50211  */
50212 #define FLEXRAM_OCRAM_PIPELINE_STATUS_Reserved(x) (((uint32_t)(((uint32_t)(x)) << FLEXRAM_OCRAM_PIPELINE_STATUS_Reserved_SHIFT)) & FLEXRAM_OCRAM_PIPELINE_STATUS_Reserved_MASK)
50213 /*! @} */
50214 
50215 
50216 /*!
50217  * @}
50218  */ /* end of group FLEXRAM_Register_Masks */
50219 
50220 
50221 /* FLEXRAM - Peripheral instance base addresses */
50222 /** Peripheral FLEXRAM base address */
50223 #define FLEXRAM_BASE                             (0x40028000u)
50224 /** Peripheral FLEXRAM base pointer */
50225 #define FLEXRAM                                  ((FLEXRAM_Type *)FLEXRAM_BASE)
50226 /** Array initializer of FLEXRAM peripheral base addresses */
50227 #define FLEXRAM_BASE_ADDRS                       { FLEXRAM_BASE }
50228 /** Array initializer of FLEXRAM peripheral base pointers */
50229 #define FLEXRAM_BASE_PTRS                        { FLEXRAM }
50230 /** Interrupt vectors for the FLEXRAM peripheral type */
50231 #define FLEXRAM_IRQS                             { FLEXRAM_IRQn }
50232 #define FLEXRAM_ECC_IRQS                         { FLEXRAM_ECC_IRQn }
50233 
50234 /*!
50235  * @}
50236  */ /* end of group FLEXRAM_Peripheral_Access_Layer */
50237 
50238 
50239 /* ----------------------------------------------------------------------------
50240    -- FLEXSPI Peripheral Access Layer
50241    ---------------------------------------------------------------------------- */
50242 
50243 /*!
50244  * @addtogroup FLEXSPI_Peripheral_Access_Layer FLEXSPI Peripheral Access Layer
50245  * @{
50246  */
50247 
50248 /** FLEXSPI - Register Layout Typedef */
50249 typedef struct {
50250   __IO uint32_t MCR0;                              /**< Module Control Register 0, offset: 0x0 */
50251   __IO uint32_t MCR1;                              /**< Module Control Register 1, offset: 0x4 */
50252   __IO uint32_t MCR2;                              /**< Module Control Register 2, offset: 0x8 */
50253   __IO uint32_t AHBCR;                             /**< AHB Bus Control Register, offset: 0xC */
50254   __IO uint32_t INTEN;                             /**< Interrupt Enable Register, offset: 0x10 */
50255   __IO uint32_t INTR;                              /**< Interrupt Register, offset: 0x14 */
50256   __IO uint32_t LUTKEY;                            /**< LUT Key Register, offset: 0x18 */
50257   __IO uint32_t LUTCR;                             /**< LUT Control Register, offset: 0x1C */
50258   __IO uint32_t AHBRXBUFCR0[8];                    /**< AHB RX Buffer 0 Control Register 0..AHB RX Buffer 7 Control Register 0, array offset: 0x20, array step: 0x4 */
50259        uint8_t RESERVED_0[32];
50260   __IO uint32_t FLSHCR0[4];                        /**< Flash Control Register 0, array offset: 0x60, array step: 0x4 */
50261   __IO uint32_t FLSHCR1[4];                        /**< Flash Control Register 1, array offset: 0x70, array step: 0x4 */
50262   __IO uint32_t FLSHCR2[4];                        /**< Flash Control Register 2, array offset: 0x80, array step: 0x4 */
50263        uint8_t RESERVED_1[4];
50264   __IO uint32_t FLSHCR4;                           /**< Flash Control Register 4, offset: 0x94 */
50265        uint8_t RESERVED_2[8];
50266   __IO uint32_t IPCR0;                             /**< IP Control Register 0, offset: 0xA0 */
50267   __IO uint32_t IPCR1;                             /**< IP Control Register 1, offset: 0xA4 */
50268        uint8_t RESERVED_3[8];
50269   __IO uint32_t IPCMD;                             /**< IP Command Register, offset: 0xB0 */
50270        uint8_t RESERVED_4[4];
50271   __IO uint32_t IPRXFCR;                           /**< IP RX FIFO Control Register, offset: 0xB8 */
50272   __IO uint32_t IPTXFCR;                           /**< IP TX FIFO Control Register, offset: 0xBC */
50273   __IO uint32_t DLLCR[2];                          /**< DLL Control Register 0, array offset: 0xC0, array step: 0x4 */
50274        uint8_t RESERVED_5[8];
50275   __I  uint32_t MISCCR4;                           /**< Misc Control Register 4, offset: 0xD0 */
50276   __I  uint32_t MISCCR5;                           /**< Misc Control Register 5, offset: 0xD4 */
50277   __I  uint32_t MISCCR6;                           /**< Misc Control Register 6, offset: 0xD8 */
50278   __I  uint32_t MISCCR7;                           /**< Misc Control Register 7, offset: 0xDC */
50279   __I  uint32_t STS0;                              /**< Status Register 0, offset: 0xE0 */
50280   __I  uint32_t STS1;                              /**< Status Register 1, offset: 0xE4 */
50281   __I  uint32_t STS2;                              /**< Status Register 2, offset: 0xE8 */
50282   __I  uint32_t AHBSPNDSTS;                        /**< AHB Suspend Status Register, offset: 0xEC */
50283   __I  uint32_t IPRXFSTS;                          /**< IP RX FIFO Status Register, offset: 0xF0 */
50284   __I  uint32_t IPTXFSTS;                          /**< IP TX FIFO Status Register, offset: 0xF4 */
50285        uint8_t RESERVED_6[8];
50286   __I  uint32_t RFDR[32];                          /**< IP RX FIFO Data Register 0..IP RX FIFO Data Register 31, array offset: 0x100, array step: 0x4 */
50287   __O  uint32_t TFDR[32];                          /**< IP TX FIFO Data Register 0..IP TX FIFO Data Register 31, array offset: 0x180, array step: 0x4 */
50288   __IO uint32_t LUT[64];                           /**< LUT 0..LUT 63, array offset: 0x200, array step: 0x4 */
50289        uint8_t RESERVED_7[256];
50290   __IO uint32_t HMSTRCR[8];                        /**< AHB Master ID 0 Control Register..AHB Master ID 7 Control Register, array offset: 0x400, array step: 0x4 */
50291   __IO uint32_t HADDRSTART;                        /**< HADDR REMAP START ADDR, offset: 0x420 */
50292   __IO uint32_t HADDREND;                          /**< HADDR REMAP END ADDR, offset: 0x424 */
50293   __IO uint32_t HADDROFFSET;                       /**< HADDR REMAP OFFSET, offset: 0x428 */
50294        uint8_t RESERVED_8[4];
50295   __IO uint32_t IPSNSZSTART0;                      /**< IPS nonsecure region Start address of region 0, offset: 0x430 */
50296   __IO uint32_t IPSNSZEND0;                        /**< IPS nonsecure region End address of region 0, offset: 0x434 */
50297   __IO uint32_t IPSNSZSTART1;                      /**< IPS nonsecure region Start address of region 1, offset: 0x438 */
50298   __IO uint32_t IPSNSZEND1;                        /**< IPS nonsecure region End address of region 1, offset: 0x43C */
50299   __IO uint32_t AHBBUFREGIONSTART0;                /**< RX BUF Start address of region 0, offset: 0x440 */
50300   __IO uint32_t AHBBUFREGIONEND0;                  /**< RX BUF region End address of region 0, offset: 0x444 */
50301   __IO uint32_t AHBBUFREGIONSTART1;                /**< RX BUF Start address of region 1, offset: 0x448 */
50302   __IO uint32_t AHBBUFREGIONEND1;                  /**< RX BUF region End address of region 1, offset: 0x44C */
50303   __IO uint32_t AHBBUFREGIONSTART2;                /**< RX BUF Start address of region 2, offset: 0x450 */
50304   __IO uint32_t AHBBUFREGIONEND2;                  /**< RX BUF region End address of region 2, offset: 0x454 */
50305   __IO uint32_t AHBBUFREGIONSTART3;                /**< RX BUF Start address of region 3, offset: 0x458 */
50306   __IO uint32_t AHBBUFREGIONEND3;                  /**< RX BUF region End address of region 3, offset: 0x45C */
50307 } FLEXSPI_Type;
50308 
50309 /* ----------------------------------------------------------------------------
50310    -- FLEXSPI Register Masks
50311    ---------------------------------------------------------------------------- */
50312 
50313 /*!
50314  * @addtogroup FLEXSPI_Register_Masks FLEXSPI Register Masks
50315  * @{
50316  */
50317 
50318 /*! @name MCR0 - Module Control Register 0 */
50319 /*! @{ */
50320 
50321 #define FLEXSPI_MCR0_SWRESET_MASK                (0x1U)
50322 #define FLEXSPI_MCR0_SWRESET_SHIFT               (0U)
50323 /*! SWRESET - Software Reset
50324  */
50325 #define FLEXSPI_MCR0_SWRESET(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_SWRESET_SHIFT)) & FLEXSPI_MCR0_SWRESET_MASK)
50326 
50327 #define FLEXSPI_MCR0_MDIS_MASK                   (0x2U)
50328 #define FLEXSPI_MCR0_MDIS_SHIFT                  (1U)
50329 /*! MDIS - Module Disable
50330  */
50331 #define FLEXSPI_MCR0_MDIS(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_MDIS_SHIFT)) & FLEXSPI_MCR0_MDIS_MASK)
50332 
50333 #define FLEXSPI_MCR0_RXCLKSRC_MASK               (0x30U)
50334 #define FLEXSPI_MCR0_RXCLKSRC_SHIFT              (4U)
50335 /*! RXCLKSRC - Sample Clock source selection for Flash Reading
50336  *  0b00..Dummy Read strobe generated by FlexSPI Controller and loopback internally.
50337  *  0b01..Dummy Read strobe generated by FlexSPI Controller and loopback from DQS pad.
50338  *  0b10..Reserved
50339  *  0b11..Flash provided Read strobe and input from DQS pad
50340  */
50341 #define FLEXSPI_MCR0_RXCLKSRC(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_RXCLKSRC_SHIFT)) & FLEXSPI_MCR0_RXCLKSRC_MASK)
50342 
50343 #define FLEXSPI_MCR0_ARDFEN_MASK                 (0x40U)
50344 #define FLEXSPI_MCR0_ARDFEN_SHIFT                (6U)
50345 /*! ARDFEN - Enable AHB bus Read Access to IP RX FIFO.
50346  *  0b0..IP RX FIFO should be read by IP Bus. AHB Bus read access to IP RX FIFO memory space will get bus error response.
50347  *  0b1..IP RX FIFO should be read by AHB Bus. IP Bus read access to IP RX FIFO memory space will always return data zero but no bus error response.
50348  */
50349 #define FLEXSPI_MCR0_ARDFEN(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_ARDFEN_SHIFT)) & FLEXSPI_MCR0_ARDFEN_MASK)
50350 
50351 #define FLEXSPI_MCR0_ATDFEN_MASK                 (0x80U)
50352 #define FLEXSPI_MCR0_ATDFEN_SHIFT                (7U)
50353 /*! ATDFEN - Enable AHB bus Write Access to IP TX FIFO.
50354  *  0b0..IP TX FIFO should be written by IP Bus. AHB Bus write access to IP TX FIFO memory space will get bus error response.
50355  *  0b1..IP TX FIFO should be written by AHB Bus. IP Bus write access to IP TX FIFO memory space will be ignored but no bus error response.
50356  */
50357 #define FLEXSPI_MCR0_ATDFEN(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_ATDFEN_SHIFT)) & FLEXSPI_MCR0_ATDFEN_MASK)
50358 
50359 #define FLEXSPI_MCR0_SERCLKDIV_MASK              (0x700U)
50360 #define FLEXSPI_MCR0_SERCLKDIV_SHIFT             (8U)
50361 /*! SERCLKDIV - The serial root clock could be divided inside FlexSPI . Refer Clocks chapter for more details on clocking.
50362  *  0b000..Divided by 1
50363  *  0b001..Divided by 2
50364  *  0b010..Divided by 3
50365  *  0b011..Divided by 4
50366  *  0b100..Divided by 5
50367  *  0b101..Divided by 6
50368  *  0b110..Divided by 7
50369  *  0b111..Divided by 8
50370  */
50371 #define FLEXSPI_MCR0_SERCLKDIV(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_SERCLKDIV_SHIFT)) & FLEXSPI_MCR0_SERCLKDIV_MASK)
50372 
50373 #define FLEXSPI_MCR0_HSEN_MASK                   (0x800U)
50374 #define FLEXSPI_MCR0_HSEN_SHIFT                  (11U)
50375 /*! HSEN - Half Speed Serial Flash access Enable.
50376  *  0b0..Disable divide by 2 of serial flash clock for half speed commands.
50377  *  0b1..Enable divide by 2 of serial flash clock for half speed commands.
50378  */
50379 #define FLEXSPI_MCR0_HSEN(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_HSEN_SHIFT)) & FLEXSPI_MCR0_HSEN_MASK)
50380 
50381 #define FLEXSPI_MCR0_DOZEEN_MASK                 (0x1000U)
50382 #define FLEXSPI_MCR0_DOZEEN_SHIFT                (12U)
50383 /*! DOZEEN - Doze mode enable bit
50384  *  0b0..Doze mode support disabled. AHB clock and serial clock will not be gated off when there is doze mode request from system.
50385  *  0b1..Doze mode support enabled. AHB clock and serial clock will be gated off when there is doze mode request from system.
50386  */
50387 #define FLEXSPI_MCR0_DOZEEN(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_DOZEEN_SHIFT)) & FLEXSPI_MCR0_DOZEEN_MASK)
50388 
50389 #define FLEXSPI_MCR0_COMBINATIONEN_MASK          (0x2000U)
50390 #define FLEXSPI_MCR0_COMBINATIONEN_SHIFT         (13U)
50391 /*! COMBINATIONEN - This bit is to support Flash Octal mode access by combining Port A and B Data
50392  *    pins (A_DATA[3:0] and B_DATA[3:0]), when Port A and Port B are of 4 bit data width.
50393  *  0b0..Disable.
50394  *  0b1..Enable.
50395  */
50396 #define FLEXSPI_MCR0_COMBINATIONEN(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_COMBINATIONEN_SHIFT)) & FLEXSPI_MCR0_COMBINATIONEN_MASK)
50397 
50398 #define FLEXSPI_MCR0_SCKFREERUNEN_MASK           (0x4000U)
50399 #define FLEXSPI_MCR0_SCKFREERUNEN_SHIFT          (14U)
50400 /*! SCKFREERUNEN - This bit is used to force SCLK output free-running. For FPGA applications,
50401  *    external device may use SCLK as reference clock to its internal PLL. If SCLK free-running is
50402  *    enabled, data sampling with loopback clock from SCLK pad is not supported (MCR0[RXCLKSRC]=2).
50403  *  0b0..Disable.
50404  *  0b1..Enable.
50405  */
50406 #define FLEXSPI_MCR0_SCKFREERUNEN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_SCKFREERUNEN_SHIFT)) & FLEXSPI_MCR0_SCKFREERUNEN_MASK)
50407 
50408 #define FLEXSPI_MCR0_IPGRANTWAIT_MASK            (0xFF0000U)
50409 #define FLEXSPI_MCR0_IPGRANTWAIT_SHIFT           (16U)
50410 /*! IPGRANTWAIT - Time out wait cycle for IP command grant.
50411  */
50412 #define FLEXSPI_MCR0_IPGRANTWAIT(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_IPGRANTWAIT_SHIFT)) & FLEXSPI_MCR0_IPGRANTWAIT_MASK)
50413 
50414 #define FLEXSPI_MCR0_AHBGRANTWAIT_MASK           (0xFF000000U)
50415 #define FLEXSPI_MCR0_AHBGRANTWAIT_SHIFT          (24U)
50416 /*! AHBGRANTWAIT - Timeout wait cycle for AHB command grant.
50417  */
50418 #define FLEXSPI_MCR0_AHBGRANTWAIT(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR0_AHBGRANTWAIT_SHIFT)) & FLEXSPI_MCR0_AHBGRANTWAIT_MASK)
50419 /*! @} */
50420 
50421 /*! @name MCR1 - Module Control Register 1 */
50422 /*! @{ */
50423 
50424 #define FLEXSPI_MCR1_AHBBUSWAIT_MASK             (0xFFFFU)
50425 #define FLEXSPI_MCR1_AHBBUSWAIT_SHIFT            (0U)
50426 #define FLEXSPI_MCR1_AHBBUSWAIT(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR1_AHBBUSWAIT_SHIFT)) & FLEXSPI_MCR1_AHBBUSWAIT_MASK)
50427 
50428 #define FLEXSPI_MCR1_SEQWAIT_MASK                (0xFFFF0000U)
50429 #define FLEXSPI_MCR1_SEQWAIT_SHIFT               (16U)
50430 #define FLEXSPI_MCR1_SEQWAIT(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR1_SEQWAIT_SHIFT)) & FLEXSPI_MCR1_SEQWAIT_MASK)
50431 /*! @} */
50432 
50433 /*! @name MCR2 - Module Control Register 2 */
50434 /*! @{ */
50435 
50436 #define FLEXSPI_MCR2_CLRAHBBUFOPT_MASK           (0x800U)
50437 #define FLEXSPI_MCR2_CLRAHBBUFOPT_SHIFT          (11U)
50438 /*! CLRAHBBUFOPT - This bit determines whether AHB RX Buffer and AHB TX Buffer will be cleaned
50439  *    automatically when FlexSPI returns STOP mode ACK. Software should set this bit if AHB RX Buffer or
50440  *    AHB TX Buffer will be powered off in STOP mode. Otherwise AHB read access after exiting STOP
50441  *    mode may hit AHB RX Buffer or AHB TX Buffer but their data entries are invalid.
50442  *  0b0..AHB RX/TX Buffer will not be cleaned automatically when FlexSPI return Stop mode ACK.
50443  *  0b1..AHB RX/TX Buffer will be cleaned automatically when FlexSPI return Stop mode ACK.
50444  */
50445 #define FLEXSPI_MCR2_CLRAHBBUFOPT(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR2_CLRAHBBUFOPT_SHIFT)) & FLEXSPI_MCR2_CLRAHBBUFOPT_MASK)
50446 
50447 #define FLEXSPI_MCR2_SAMEDEVICEEN_MASK           (0x8000U)
50448 #define FLEXSPI_MCR2_SAMEDEVICEEN_SHIFT          (15U)
50449 /*! SAMEDEVICEEN - All external devices are same devices (both in types and size) for A1/A2/B1/B2.
50450  *  0b0..In Individual mode, FLSHA1CRx/FLSHA2CRx/FLSHB1CRx/FLSHB2CRx register setting will be applied to Flash
50451  *       A1/A2/B1/B2 separately. In Parallel mode, FLSHA1CRx register setting will be applied to Flash A1 and B1,
50452  *       FLSHA2CRx register setting will be applied to Flash A2 and B2. FLSHB1CRx/FLSHB2CRx register settings will be
50453  *       ignored.
50454  *  0b1..FLSHA1CR0/FLSHA1CR1/FLSHA1CR2 register settings will be applied to Flash A1/A2/B1/B2. FLSHA2CRx/FLSHB1CRx/FLSHB2CRx will be ignored.
50455  */
50456 #define FLEXSPI_MCR2_SAMEDEVICEEN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR2_SAMEDEVICEEN_SHIFT)) & FLEXSPI_MCR2_SAMEDEVICEEN_MASK)
50457 
50458 #define FLEXSPI_MCR2_SCKBDIFFOPT_MASK            (0x80000U)
50459 #define FLEXSPI_MCR2_SCKBDIFFOPT_SHIFT           (19U)
50460 /*! SCKBDIFFOPT - B_SCLK pad can be used as A_SCLK differential clock output (inverted clock to
50461  *    A_SCLK). In this case, port B flash access is not available. After changing the value of this
50462  *    field, MCR0[SWRESET] should be set.
50463  *  0b1..B_SCLK pad is used as port A SCLK inverted clock output (Differential clock to A_SCLK). Port B flash access is not available.
50464  *  0b0..B_SCLK pad is used as port B SCLK clock output. Port B flash access is available.
50465  */
50466 #define FLEXSPI_MCR2_SCKBDIFFOPT(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR2_SCKBDIFFOPT_SHIFT)) & FLEXSPI_MCR2_SCKBDIFFOPT_MASK)
50467 
50468 #define FLEXSPI_MCR2_RESUMEWAIT_MASK             (0xFF000000U)
50469 #define FLEXSPI_MCR2_RESUMEWAIT_SHIFT            (24U)
50470 /*! RESUMEWAIT - Wait cycle (in AHB clock cycle) for idle state before suspended command sequence resumed.
50471  */
50472 #define FLEXSPI_MCR2_RESUMEWAIT(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MCR2_RESUMEWAIT_SHIFT)) & FLEXSPI_MCR2_RESUMEWAIT_MASK)
50473 /*! @} */
50474 
50475 /*! @name AHBCR - AHB Bus Control Register */
50476 /*! @{ */
50477 
50478 #define FLEXSPI_AHBCR_APAREN_MASK                (0x1U)
50479 #define FLEXSPI_AHBCR_APAREN_SHIFT               (0U)
50480 /*! APAREN - Parallel mode enabled for AHB triggered Command (both read and write) .
50481  *  0b0..Flash will be accessed in Individual mode.
50482  *  0b1..Flash will be accessed in Parallel mode.
50483  */
50484 #define FLEXSPI_AHBCR_APAREN(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_APAREN_SHIFT)) & FLEXSPI_AHBCR_APAREN_MASK)
50485 
50486 #define FLEXSPI_AHBCR_CLRAHBRXBUF_MASK           (0x2U)
50487 #define FLEXSPI_AHBCR_CLRAHBRXBUF_SHIFT          (1U)
50488 /*! CLRAHBRXBUF - Clear the status/pointers of AHB RX Buffer. Auto-cleared.
50489  */
50490 #define FLEXSPI_AHBCR_CLRAHBRXBUF(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_CLRAHBRXBUF_SHIFT)) & FLEXSPI_AHBCR_CLRAHBRXBUF_MASK)
50491 
50492 #define FLEXSPI_AHBCR_CACHABLEEN_MASK            (0x8U)
50493 #define FLEXSPI_AHBCR_CACHABLEEN_SHIFT           (3U)
50494 /*! CACHABLEEN - Enable AHB bus cachable read access support.
50495  *  0b0..Disabled. When there is AHB bus cachable read access, FlexSPI will not check whether it hit AHB TX Buffer.
50496  *  0b1..Enabled. When there is AHB bus cachable read access, FlexSPI will check whether it hit AHB TX Buffer first.
50497  */
50498 #define FLEXSPI_AHBCR_CACHABLEEN(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_CACHABLEEN_SHIFT)) & FLEXSPI_AHBCR_CACHABLEEN_MASK)
50499 
50500 #define FLEXSPI_AHBCR_BUFFERABLEEN_MASK          (0x10U)
50501 #define FLEXSPI_AHBCR_BUFFERABLEEN_SHIFT         (4U)
50502 /*! BUFFERABLEEN - Enable AHB bus bufferable write access support. This field affects the last beat
50503  *    of AHB write access, refer for more details about AHB bufferable write.
50504  *  0b0..Disabled. For all AHB write access (no matter bufferable or non-bufferable ), FlexSPI will return AHB Bus
50505  *       ready after all data is transmitted to External device and AHB command finished.
50506  *  0b1..Enabled. For AHB bufferable write access, FlexSPI will return AHB Bus ready when the AHB command is
50507  *       granted by arbitrator and will not wait for AHB command finished.
50508  */
50509 #define FLEXSPI_AHBCR_BUFFERABLEEN(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_BUFFERABLEEN_SHIFT)) & FLEXSPI_AHBCR_BUFFERABLEEN_MASK)
50510 
50511 #define FLEXSPI_AHBCR_PREFETCHEN_MASK            (0x20U)
50512 #define FLEXSPI_AHBCR_PREFETCHEN_SHIFT           (5U)
50513 /*! PREFETCHEN - AHB Read Prefetch Enable.
50514  */
50515 #define FLEXSPI_AHBCR_PREFETCHEN(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_PREFETCHEN_SHIFT)) & FLEXSPI_AHBCR_PREFETCHEN_MASK)
50516 
50517 #define FLEXSPI_AHBCR_READADDROPT_MASK           (0x40U)
50518 #define FLEXSPI_AHBCR_READADDROPT_SHIFT          (6U)
50519 /*! READADDROPT - AHB Read Address option bit. This option bit is intend to remove AHB burst start address alignment limitation.
50520  *  0b0..There is AHB read burst start address alignment limitation when flash is accessed in parallel mode or flash is word-addressable.
50521  *  0b1..There is no AHB read burst start address alignment limitation. FlexSPI will fetch more data than AHB
50522  *       burst required to meet the alignment requirement.
50523  */
50524 #define FLEXSPI_AHBCR_READADDROPT(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_READADDROPT_SHIFT)) & FLEXSPI_AHBCR_READADDROPT_MASK)
50525 
50526 #define FLEXSPI_AHBCR_READSZALIGN_MASK           (0x400U)
50527 #define FLEXSPI_AHBCR_READSZALIGN_SHIFT          (10U)
50528 /*! READSZALIGN - AHB Read Size Alignment
50529  *  0b0..AHB read size will be decided by other register setting like PREFETCH_EN,OTFAD_EN...
50530  *  0b1..AHB read size to up size to 8 bytes aligned, no prefetching
50531  */
50532 #define FLEXSPI_AHBCR_READSZALIGN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_READSZALIGN_SHIFT)) & FLEXSPI_AHBCR_READSZALIGN_MASK)
50533 
50534 #define FLEXSPI_AHBCR_ECCEN_MASK                 (0x800U)
50535 #define FLEXSPI_AHBCR_ECCEN_SHIFT                (11U)
50536 /*! ECCEN - AHB Read ECC Enable
50537  *  0b0..AHB read ECC check disabled
50538  *  0b1..AHB read ECC check enabled
50539  */
50540 #define FLEXSPI_AHBCR_ECCEN(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_ECCEN_SHIFT)) & FLEXSPI_AHBCR_ECCEN_MASK)
50541 
50542 #define FLEXSPI_AHBCR_SPLITEN_MASK               (0x1000U)
50543 #define FLEXSPI_AHBCR_SPLITEN_SHIFT              (12U)
50544 /*! SPLITEN - AHB transaction SPLIT
50545  *  0b0..AHB Split disabled
50546  *  0b1..AHB Split enabled
50547  */
50548 #define FLEXSPI_AHBCR_SPLITEN(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_SPLITEN_SHIFT)) & FLEXSPI_AHBCR_SPLITEN_MASK)
50549 
50550 #define FLEXSPI_AHBCR_SPLIT_LIMIT_MASK           (0x6000U)
50551 #define FLEXSPI_AHBCR_SPLIT_LIMIT_SHIFT          (13U)
50552 /*! SPLIT_LIMIT - AHB SPLIT SIZE
50553  *  0b00..AHB Split Size=8bytes
50554  *  0b01..AHB Split Size=16bytes
50555  *  0b10..AHB Split Size=32bytes
50556  *  0b11..AHB Split Size=64bytes
50557  */
50558 #define FLEXSPI_AHBCR_SPLIT_LIMIT(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_SPLIT_LIMIT_SHIFT)) & FLEXSPI_AHBCR_SPLIT_LIMIT_MASK)
50559 
50560 #define FLEXSPI_AHBCR_KEYECCEN_MASK              (0x8000U)
50561 #define FLEXSPI_AHBCR_KEYECCEN_SHIFT             (15U)
50562 /*! KEYECCEN - OTFAD KEY BLOC ECC Enable
50563  *  0b0..AHB KEY ECC check disabled
50564  *  0b1..AHB KEY ECC check enabled
50565  */
50566 #define FLEXSPI_AHBCR_KEYECCEN(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_KEYECCEN_SHIFT)) & FLEXSPI_AHBCR_KEYECCEN_MASK)
50567 
50568 #define FLEXSPI_AHBCR_ECCSINGLEERRCLR_MASK       (0x10000U)
50569 #define FLEXSPI_AHBCR_ECCSINGLEERRCLR_SHIFT      (16U)
50570 /*! ECCSINGLEERRCLR - AHB ECC Single bit ERR CLR
50571  */
50572 #define FLEXSPI_AHBCR_ECCSINGLEERRCLR(x)         (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_ECCSINGLEERRCLR_SHIFT)) & FLEXSPI_AHBCR_ECCSINGLEERRCLR_MASK)
50573 
50574 #define FLEXSPI_AHBCR_ECCMULTIERRCLR_MASK        (0x20000U)
50575 #define FLEXSPI_AHBCR_ECCMULTIERRCLR_SHIFT       (17U)
50576 /*! ECCMULTIERRCLR - AHB ECC Multi bits ERR CLR
50577  */
50578 #define FLEXSPI_AHBCR_ECCMULTIERRCLR(x)          (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_ECCMULTIERRCLR_SHIFT)) & FLEXSPI_AHBCR_ECCMULTIERRCLR_MASK)
50579 
50580 #define FLEXSPI_AHBCR_HMSTRIDREMAP_MASK          (0x40000U)
50581 #define FLEXSPI_AHBCR_HMSTRIDREMAP_SHIFT         (18U)
50582 /*! HMSTRIDREMAP - AHB Master ID Remapping enable
50583  */
50584 #define FLEXSPI_AHBCR_HMSTRIDREMAP(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_HMSTRIDREMAP_SHIFT)) & FLEXSPI_AHBCR_HMSTRIDREMAP_MASK)
50585 
50586 #define FLEXSPI_AHBCR_ECCSWAPEN_MASK             (0x80000U)
50587 #define FLEXSPI_AHBCR_ECCSWAPEN_SHIFT            (19U)
50588 /*! ECCSWAPEN - ECC Read data swap function
50589  *  0b0..rdata send to ecc check without swap.
50590  *  0b1..rdata send to ecc ehck with swap.
50591  */
50592 #define FLEXSPI_AHBCR_ECCSWAPEN(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_ECCSWAPEN_SHIFT)) & FLEXSPI_AHBCR_ECCSWAPEN_MASK)
50593 
50594 #define FLEXSPI_AHBCR_ALIGNMENT_MASK             (0x300000U)
50595 #define FLEXSPI_AHBCR_ALIGNMENT_SHIFT            (20U)
50596 /*! ALIGNMENT - Decides all AHB read/write boundary. All access cross the boundary will be divided into smaller sub accesses.
50597  *  0b00..No limit
50598  *  0b01..1 KBytes
50599  *  0b10..512 Bytes
50600  *  0b11..256 Bytes
50601  */
50602 #define FLEXSPI_AHBCR_ALIGNMENT(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBCR_ALIGNMENT_SHIFT)) & FLEXSPI_AHBCR_ALIGNMENT_MASK)
50603 /*! @} */
50604 
50605 /*! @name INTEN - Interrupt Enable Register */
50606 /*! @{ */
50607 
50608 #define FLEXSPI_INTEN_IPCMDDONEEN_MASK           (0x1U)
50609 #define FLEXSPI_INTEN_IPCMDDONEEN_SHIFT          (0U)
50610 /*! IPCMDDONEEN - IP triggered Command Sequences Execution finished interrupt enable.
50611  */
50612 #define FLEXSPI_INTEN_IPCMDDONEEN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPCMDDONEEN_SHIFT)) & FLEXSPI_INTEN_IPCMDDONEEN_MASK)
50613 
50614 #define FLEXSPI_INTEN_IPCMDGEEN_MASK             (0x2U)
50615 #define FLEXSPI_INTEN_IPCMDGEEN_SHIFT            (1U)
50616 /*! IPCMDGEEN - IP triggered Command Sequences Grant Timeout interrupt enable.
50617  */
50618 #define FLEXSPI_INTEN_IPCMDGEEN(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPCMDGEEN_SHIFT)) & FLEXSPI_INTEN_IPCMDGEEN_MASK)
50619 
50620 #define FLEXSPI_INTEN_AHBCMDGEEN_MASK            (0x4U)
50621 #define FLEXSPI_INTEN_AHBCMDGEEN_SHIFT           (2U)
50622 /*! AHBCMDGEEN - AHB triggered Command Sequences Grant Timeout interrupt enable.
50623  */
50624 #define FLEXSPI_INTEN_AHBCMDGEEN(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_AHBCMDGEEN_SHIFT)) & FLEXSPI_INTEN_AHBCMDGEEN_MASK)
50625 
50626 #define FLEXSPI_INTEN_IPCMDERREN_MASK            (0x8U)
50627 #define FLEXSPI_INTEN_IPCMDERREN_SHIFT           (3U)
50628 /*! IPCMDERREN - IP triggered Command Sequences Error Detected interrupt enable.
50629  */
50630 #define FLEXSPI_INTEN_IPCMDERREN(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPCMDERREN_SHIFT)) & FLEXSPI_INTEN_IPCMDERREN_MASK)
50631 
50632 #define FLEXSPI_INTEN_AHBCMDERREN_MASK           (0x10U)
50633 #define FLEXSPI_INTEN_AHBCMDERREN_SHIFT          (4U)
50634 /*! AHBCMDERREN - AHB triggered Command Sequences Error Detected interrupt enable.
50635  */
50636 #define FLEXSPI_INTEN_AHBCMDERREN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_AHBCMDERREN_SHIFT)) & FLEXSPI_INTEN_AHBCMDERREN_MASK)
50637 
50638 #define FLEXSPI_INTEN_IPRXWAEN_MASK              (0x20U)
50639 #define FLEXSPI_INTEN_IPRXWAEN_SHIFT             (5U)
50640 /*! IPRXWAEN - IP RX FIFO WaterMark available interrupt enable.
50641  */
50642 #define FLEXSPI_INTEN_IPRXWAEN(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPRXWAEN_SHIFT)) & FLEXSPI_INTEN_IPRXWAEN_MASK)
50643 
50644 #define FLEXSPI_INTEN_IPTXWEEN_MASK              (0x40U)
50645 #define FLEXSPI_INTEN_IPTXWEEN_SHIFT             (6U)
50646 /*! IPTXWEEN - IP TX FIFO WaterMark empty interrupt enable.
50647  */
50648 #define FLEXSPI_INTEN_IPTXWEEN(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPTXWEEN_SHIFT)) & FLEXSPI_INTEN_IPTXWEEN_MASK)
50649 
50650 #define FLEXSPI_INTEN_SCKSTOPBYRDEN_MASK         (0x100U)
50651 #define FLEXSPI_INTEN_SCKSTOPBYRDEN_SHIFT        (8U)
50652 /*! SCKSTOPBYRDEN - SCLK is stopped during command sequence because Async RX FIFO full interrupt enable.
50653  */
50654 #define FLEXSPI_INTEN_SCKSTOPBYRDEN(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_SCKSTOPBYRDEN_SHIFT)) & FLEXSPI_INTEN_SCKSTOPBYRDEN_MASK)
50655 
50656 #define FLEXSPI_INTEN_SCKSTOPBYWREN_MASK         (0x200U)
50657 #define FLEXSPI_INTEN_SCKSTOPBYWREN_SHIFT        (9U)
50658 /*! SCKSTOPBYWREN - SCLK is stopped during command sequence because Async TX FIFO empty interrupt enable.
50659  */
50660 #define FLEXSPI_INTEN_SCKSTOPBYWREN(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_SCKSTOPBYWREN_SHIFT)) & FLEXSPI_INTEN_SCKSTOPBYWREN_MASK)
50661 
50662 #define FLEXSPI_INTEN_AHBBUSERROREN_MASK         (0x400U)
50663 #define FLEXSPI_INTEN_AHBBUSERROREN_SHIFT        (10U)
50664 /*! AHBBUSERROREN - AHB Bus error interrupt enable.Refer Interrupts chapter for more details.
50665  */
50666 #define FLEXSPI_INTEN_AHBBUSERROREN(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_AHBBUSERROREN_SHIFT)) & FLEXSPI_INTEN_AHBBUSERROREN_MASK)
50667 
50668 #define FLEXSPI_INTEN_SEQTIMEOUTEN_MASK          (0x800U)
50669 #define FLEXSPI_INTEN_SEQTIMEOUTEN_SHIFT         (11U)
50670 /*! SEQTIMEOUTEN - Sequence execution timeout interrupt enable.Refer Interrupts chapter for more details.
50671  */
50672 #define FLEXSPI_INTEN_SEQTIMEOUTEN(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_SEQTIMEOUTEN_SHIFT)) & FLEXSPI_INTEN_SEQTIMEOUTEN_MASK)
50673 
50674 #define FLEXSPI_INTEN_KEYDONEEN_MASK             (0x1000U)
50675 #define FLEXSPI_INTEN_KEYDONEEN_SHIFT            (12U)
50676 /*! KEYDONEEN - OTFAD key blob processing done interrupt enable.Refer Interrupts chapter for more details.
50677  */
50678 #define FLEXSPI_INTEN_KEYDONEEN(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_KEYDONEEN_SHIFT)) & FLEXSPI_INTEN_KEYDONEEN_MASK)
50679 
50680 #define FLEXSPI_INTEN_KEYERROREN_MASK            (0x2000U)
50681 #define FLEXSPI_INTEN_KEYERROREN_SHIFT           (13U)
50682 /*! KEYERROREN - OTFAD key blob processing error interrupt enable.Refer Interrupts chapter for more details.
50683  */
50684 #define FLEXSPI_INTEN_KEYERROREN(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_KEYERROREN_SHIFT)) & FLEXSPI_INTEN_KEYERROREN_MASK)
50685 
50686 #define FLEXSPI_INTEN_ECCMULTIERREN_MASK         (0x4000U)
50687 #define FLEXSPI_INTEN_ECCMULTIERREN_SHIFT        (14U)
50688 /*! ECCMULTIERREN - ECC multi bits error interrupt enable.Refer Interrupts chapter for more details.
50689  */
50690 #define FLEXSPI_INTEN_ECCMULTIERREN(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_ECCMULTIERREN_SHIFT)) & FLEXSPI_INTEN_ECCMULTIERREN_MASK)
50691 
50692 #define FLEXSPI_INTEN_ECCSINGLEERREN_MASK        (0x8000U)
50693 #define FLEXSPI_INTEN_ECCSINGLEERREN_SHIFT       (15U)
50694 /*! ECCSINGLEERREN - ECC single bit error interrupt enable.Refer Interrupts chapter for more details.
50695  */
50696 #define FLEXSPI_INTEN_ECCSINGLEERREN(x)          (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_ECCSINGLEERREN_SHIFT)) & FLEXSPI_INTEN_ECCSINGLEERREN_MASK)
50697 
50698 #define FLEXSPI_INTEN_IPCMDSECUREVIOEN_MASK      (0x10000U)
50699 #define FLEXSPI_INTEN_IPCMDSECUREVIOEN_SHIFT     (16U)
50700 /*! IPCMDSECUREVIOEN - IP command security violation interrupt enable.
50701  */
50702 #define FLEXSPI_INTEN_IPCMDSECUREVIOEN(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTEN_IPCMDSECUREVIOEN_SHIFT)) & FLEXSPI_INTEN_IPCMDSECUREVIOEN_MASK)
50703 /*! @} */
50704 
50705 /*! @name INTR - Interrupt Register */
50706 /*! @{ */
50707 
50708 #define FLEXSPI_INTR_IPCMDDONE_MASK              (0x1U)
50709 #define FLEXSPI_INTR_IPCMDDONE_SHIFT             (0U)
50710 /*! IPCMDDONE - IP triggered Command Sequences Execution finished interrupt. This interrupt is also
50711  *    generated when there is IPCMDGE or IPCMDERR interrupt generated.
50712  */
50713 #define FLEXSPI_INTR_IPCMDDONE(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPCMDDONE_SHIFT)) & FLEXSPI_INTR_IPCMDDONE_MASK)
50714 
50715 #define FLEXSPI_INTR_IPCMDGE_MASK                (0x2U)
50716 #define FLEXSPI_INTR_IPCMDGE_SHIFT               (1U)
50717 /*! IPCMDGE - IP triggered Command Sequences Grant Timeout interrupt.
50718  */
50719 #define FLEXSPI_INTR_IPCMDGE(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPCMDGE_SHIFT)) & FLEXSPI_INTR_IPCMDGE_MASK)
50720 
50721 #define FLEXSPI_INTR_AHBCMDGE_MASK               (0x4U)
50722 #define FLEXSPI_INTR_AHBCMDGE_SHIFT              (2U)
50723 /*! AHBCMDGE - AHB triggered Command Sequences Grant Timeout interrupt.
50724  */
50725 #define FLEXSPI_INTR_AHBCMDGE(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_AHBCMDGE_SHIFT)) & FLEXSPI_INTR_AHBCMDGE_MASK)
50726 
50727 #define FLEXSPI_INTR_IPCMDERR_MASK               (0x8U)
50728 #define FLEXSPI_INTR_IPCMDERR_SHIFT              (3U)
50729 /*! IPCMDERR - IP triggered Command Sequences Error Detected interrupt. When an error detected for
50730  *    IP command, this command will be ignored and not executed at all.
50731  */
50732 #define FLEXSPI_INTR_IPCMDERR(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPCMDERR_SHIFT)) & FLEXSPI_INTR_IPCMDERR_MASK)
50733 
50734 #define FLEXSPI_INTR_AHBCMDERR_MASK              (0x10U)
50735 #define FLEXSPI_INTR_AHBCMDERR_SHIFT             (4U)
50736 /*! AHBCMDERR - AHB triggered Command Sequences Error Detected interrupt. When an error detected for
50737  *    AHB command, this command will be ignored and not executed at all.
50738  */
50739 #define FLEXSPI_INTR_AHBCMDERR(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_AHBCMDERR_SHIFT)) & FLEXSPI_INTR_AHBCMDERR_MASK)
50740 
50741 #define FLEXSPI_INTR_IPRXWA_MASK                 (0x20U)
50742 #define FLEXSPI_INTR_IPRXWA_SHIFT                (5U)
50743 /*! IPRXWA - IP RX FIFO watermark available interrupt.
50744  */
50745 #define FLEXSPI_INTR_IPRXWA(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPRXWA_SHIFT)) & FLEXSPI_INTR_IPRXWA_MASK)
50746 
50747 #define FLEXSPI_INTR_IPTXWE_MASK                 (0x40U)
50748 #define FLEXSPI_INTR_IPTXWE_SHIFT                (6U)
50749 /*! IPTXWE - IP TX FIFO watermark empty interrupt.
50750  */
50751 #define FLEXSPI_INTR_IPTXWE(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPTXWE_SHIFT)) & FLEXSPI_INTR_IPTXWE_MASK)
50752 
50753 #define FLEXSPI_INTR_SCKSTOPBYRD_MASK            (0x100U)
50754 #define FLEXSPI_INTR_SCKSTOPBYRD_SHIFT           (8U)
50755 /*! SCKSTOPBYRD - SCLK is stopped during command sequence because Async RX FIFO full interrupt.
50756  */
50757 #define FLEXSPI_INTR_SCKSTOPBYRD(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_SCKSTOPBYRD_SHIFT)) & FLEXSPI_INTR_SCKSTOPBYRD_MASK)
50758 
50759 #define FLEXSPI_INTR_SCKSTOPBYWR_MASK            (0x200U)
50760 #define FLEXSPI_INTR_SCKSTOPBYWR_SHIFT           (9U)
50761 /*! SCKSTOPBYWR - SCLK is stopped during command sequence because Async TX FIFO empty interrupt.
50762  */
50763 #define FLEXSPI_INTR_SCKSTOPBYWR(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_SCKSTOPBYWR_SHIFT)) & FLEXSPI_INTR_SCKSTOPBYWR_MASK)
50764 
50765 #define FLEXSPI_INTR_AHBBUSERROR_MASK            (0x400U)
50766 #define FLEXSPI_INTR_AHBBUSERROR_SHIFT           (10U)
50767 /*! AHBBUSERROR - AHB Bus timeout or AHB bus illegal access Flash during OTFAD key blob processing interrupt.
50768  */
50769 #define FLEXSPI_INTR_AHBBUSERROR(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_AHBBUSERROR_SHIFT)) & FLEXSPI_INTR_AHBBUSERROR_MASK)
50770 
50771 #define FLEXSPI_INTR_SEQTIMEOUT_MASK             (0x800U)
50772 #define FLEXSPI_INTR_SEQTIMEOUT_SHIFT            (11U)
50773 /*! SEQTIMEOUT - Sequence execution timeout interrupt.
50774  */
50775 #define FLEXSPI_INTR_SEQTIMEOUT(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_SEQTIMEOUT_SHIFT)) & FLEXSPI_INTR_SEQTIMEOUT_MASK)
50776 
50777 #define FLEXSPI_INTR_KEYDONE_MASK                (0x1000U)
50778 #define FLEXSPI_INTR_KEYDONE_SHIFT               (12U)
50779 /*! KEYDONE - OTFAD key blob processing done interrupt.
50780  */
50781 #define FLEXSPI_INTR_KEYDONE(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_KEYDONE_SHIFT)) & FLEXSPI_INTR_KEYDONE_MASK)
50782 
50783 #define FLEXSPI_INTR_KEYERROR_MASK               (0x2000U)
50784 #define FLEXSPI_INTR_KEYERROR_SHIFT              (13U)
50785 /*! KEYERROR - OTFAD key blob processing error interrupt.
50786  */
50787 #define FLEXSPI_INTR_KEYERROR(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_KEYERROR_SHIFT)) & FLEXSPI_INTR_KEYERROR_MASK)
50788 
50789 #define FLEXSPI_INTR_ECCMULTIERR_MASK            (0x4000U)
50790 #define FLEXSPI_INTR_ECCMULTIERR_SHIFT           (14U)
50791 /*! ECCMULTIERR - ECC multi bits error interrupt.
50792  */
50793 #define FLEXSPI_INTR_ECCMULTIERR(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_ECCMULTIERR_SHIFT)) & FLEXSPI_INTR_ECCMULTIERR_MASK)
50794 
50795 #define FLEXSPI_INTR_ECCSINGLEERR_MASK           (0x8000U)
50796 #define FLEXSPI_INTR_ECCSINGLEERR_SHIFT          (15U)
50797 /*! ECCSINGLEERR - ECC single bit error interrupt.
50798  */
50799 #define FLEXSPI_INTR_ECCSINGLEERR(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_ECCSINGLEERR_SHIFT)) & FLEXSPI_INTR_ECCSINGLEERR_MASK)
50800 
50801 #define FLEXSPI_INTR_IPCMDSECUREVIO_MASK         (0x10000U)
50802 #define FLEXSPI_INTR_IPCMDSECUREVIO_SHIFT        (16U)
50803 /*! IPCMDSECUREVIO - IP command security violation interrupt.
50804  */
50805 #define FLEXSPI_INTR_IPCMDSECUREVIO(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_INTR_IPCMDSECUREVIO_SHIFT)) & FLEXSPI_INTR_IPCMDSECUREVIO_MASK)
50806 /*! @} */
50807 
50808 /*! @name LUTKEY - LUT Key Register */
50809 /*! @{ */
50810 
50811 #define FLEXSPI_LUTKEY_KEY_MASK                  (0xFFFFFFFFU)
50812 #define FLEXSPI_LUTKEY_KEY_SHIFT                 (0U)
50813 /*! KEY - The Key to lock or unlock LUT.
50814  */
50815 #define FLEXSPI_LUTKEY_KEY(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUTKEY_KEY_SHIFT)) & FLEXSPI_LUTKEY_KEY_MASK)
50816 /*! @} */
50817 
50818 /*! @name LUTCR - LUT Control Register */
50819 /*! @{ */
50820 
50821 #define FLEXSPI_LUTCR_LOCK_MASK                  (0x1U)
50822 #define FLEXSPI_LUTCR_LOCK_SHIFT                 (0U)
50823 /*! LOCK - Lock LUT
50824  */
50825 #define FLEXSPI_LUTCR_LOCK(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUTCR_LOCK_SHIFT)) & FLEXSPI_LUTCR_LOCK_MASK)
50826 
50827 #define FLEXSPI_LUTCR_UNLOCK_MASK                (0x2U)
50828 #define FLEXSPI_LUTCR_UNLOCK_SHIFT               (1U)
50829 /*! UNLOCK - Unlock LUT
50830  */
50831 #define FLEXSPI_LUTCR_UNLOCK(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUTCR_UNLOCK_SHIFT)) & FLEXSPI_LUTCR_UNLOCK_MASK)
50832 
50833 #define FLEXSPI_LUTCR_PROTECT_MASK               (0x4U)
50834 #define FLEXSPI_LUTCR_PROTECT_SHIFT              (2U)
50835 /*! PROTECT - LUT protection
50836  */
50837 #define FLEXSPI_LUTCR_PROTECT(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUTCR_PROTECT_SHIFT)) & FLEXSPI_LUTCR_PROTECT_MASK)
50838 /*! @} */
50839 
50840 /*! @name AHBRXBUFCR0 - AHB RX Buffer 0 Control Register 0..AHB RX Buffer 7 Control Register 0 */
50841 /*! @{ */
50842 
50843 #define FLEXSPI_AHBRXBUFCR0_BUFSZ_MASK           (0x3FFU)
50844 #define FLEXSPI_AHBRXBUFCR0_BUFSZ_SHIFT          (0U)
50845 /*! BUFSZ - AHB RX Buffer Size in 64 bits.
50846  */
50847 #define FLEXSPI_AHBRXBUFCR0_BUFSZ(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBRXBUFCR0_BUFSZ_SHIFT)) & FLEXSPI_AHBRXBUFCR0_BUFSZ_MASK)
50848 
50849 #define FLEXSPI_AHBRXBUFCR0_MSTRID_MASK          (0xF0000U)
50850 #define FLEXSPI_AHBRXBUFCR0_MSTRID_SHIFT         (16U)
50851 /*! MSTRID - This AHB RX Buffer is assigned according to AHB Master with ID (MSTR_ID).
50852  */
50853 #define FLEXSPI_AHBRXBUFCR0_MSTRID(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBRXBUFCR0_MSTRID_SHIFT)) & FLEXSPI_AHBRXBUFCR0_MSTRID_MASK)
50854 
50855 #define FLEXSPI_AHBRXBUFCR0_PRIORITY_MASK        (0x7000000U)
50856 #define FLEXSPI_AHBRXBUFCR0_PRIORITY_SHIFT       (24U)
50857 /*! PRIORITY - This priority for AHB Master Read which this AHB RX Buffer is assigned. 7 is the highest priority, 0 the lowest.
50858  */
50859 #define FLEXSPI_AHBRXBUFCR0_PRIORITY(x)          (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBRXBUFCR0_PRIORITY_SHIFT)) & FLEXSPI_AHBRXBUFCR0_PRIORITY_MASK)
50860 
50861 #define FLEXSPI_AHBRXBUFCR0_REGIONEN_MASK        (0x40000000U)
50862 #define FLEXSPI_AHBRXBUFCR0_REGIONEN_SHIFT       (30U)
50863 /*! REGIONEN - AHB RX Buffer address region funciton enable
50864  */
50865 #define FLEXSPI_AHBRXBUFCR0_REGIONEN(x)          (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBRXBUFCR0_REGIONEN_SHIFT)) & FLEXSPI_AHBRXBUFCR0_REGIONEN_MASK)
50866 
50867 #define FLEXSPI_AHBRXBUFCR0_PREFETCHEN_MASK      (0x80000000U)
50868 #define FLEXSPI_AHBRXBUFCR0_PREFETCHEN_SHIFT     (31U)
50869 /*! PREFETCHEN - AHB Read Prefetch Enable for current AHB RX Buffer corresponding Master.
50870  */
50871 #define FLEXSPI_AHBRXBUFCR0_PREFETCHEN(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBRXBUFCR0_PREFETCHEN_SHIFT)) & FLEXSPI_AHBRXBUFCR0_PREFETCHEN_MASK)
50872 /*! @} */
50873 
50874 /* The count of FLEXSPI_AHBRXBUFCR0 */
50875 #define FLEXSPI_AHBRXBUFCR0_COUNT                (8U)
50876 
50877 /*! @name FLSHCR0 - Flash Control Register 0 */
50878 /*! @{ */
50879 
50880 #define FLEXSPI_FLSHCR0_FLSHSZ_MASK              (0x7FFFFFU)
50881 #define FLEXSPI_FLSHCR0_FLSHSZ_SHIFT             (0U)
50882 /*! FLSHSZ - Flash Size in KByte.
50883  */
50884 #define FLEXSPI_FLSHCR0_FLSHSZ(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR0_FLSHSZ_SHIFT)) & FLEXSPI_FLSHCR0_FLSHSZ_MASK)
50885 
50886 #define FLEXSPI_FLSHCR0_SPLITWREN_MASK           (0x40000000U)
50887 #define FLEXSPI_FLSHCR0_SPLITWREN_SHIFT          (30U)
50888 /*! SPLITWREN - AHB write access split function control.
50889  */
50890 #define FLEXSPI_FLSHCR0_SPLITWREN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR0_SPLITWREN_SHIFT)) & FLEXSPI_FLSHCR0_SPLITWREN_MASK)
50891 
50892 #define FLEXSPI_FLSHCR0_SPLITRDEN_MASK           (0x80000000U)
50893 #define FLEXSPI_FLSHCR0_SPLITRDEN_SHIFT          (31U)
50894 /*! SPLITRDEN - AHB read access split function control.
50895  */
50896 #define FLEXSPI_FLSHCR0_SPLITRDEN(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR0_SPLITRDEN_SHIFT)) & FLEXSPI_FLSHCR0_SPLITRDEN_MASK)
50897 /*! @} */
50898 
50899 /* The count of FLEXSPI_FLSHCR0 */
50900 #define FLEXSPI_FLSHCR0_COUNT                    (4U)
50901 
50902 /*! @name FLSHCR1 - Flash Control Register 1 */
50903 /*! @{ */
50904 
50905 #define FLEXSPI_FLSHCR1_TCSS_MASK                (0x1FU)
50906 #define FLEXSPI_FLSHCR1_TCSS_SHIFT               (0U)
50907 /*! TCSS - Serial Flash CS setup time.
50908  */
50909 #define FLEXSPI_FLSHCR1_TCSS(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_TCSS_SHIFT)) & FLEXSPI_FLSHCR1_TCSS_MASK)
50910 
50911 #define FLEXSPI_FLSHCR1_TCSH_MASK                (0x3E0U)
50912 #define FLEXSPI_FLSHCR1_TCSH_SHIFT               (5U)
50913 /*! TCSH - Serial Flash CS Hold time.
50914  */
50915 #define FLEXSPI_FLSHCR1_TCSH(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_TCSH_SHIFT)) & FLEXSPI_FLSHCR1_TCSH_MASK)
50916 
50917 #define FLEXSPI_FLSHCR1_WA_MASK                  (0x400U)
50918 #define FLEXSPI_FLSHCR1_WA_SHIFT                 (10U)
50919 /*! WA - Word Addressable.
50920  */
50921 #define FLEXSPI_FLSHCR1_WA(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_WA_SHIFT)) & FLEXSPI_FLSHCR1_WA_MASK)
50922 
50923 #define FLEXSPI_FLSHCR1_CAS_MASK                 (0x7800U)
50924 #define FLEXSPI_FLSHCR1_CAS_SHIFT                (11U)
50925 /*! CAS - Column Address Size.
50926  */
50927 #define FLEXSPI_FLSHCR1_CAS(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_CAS_SHIFT)) & FLEXSPI_FLSHCR1_CAS_MASK)
50928 
50929 #define FLEXSPI_FLSHCR1_CSINTERVALUNIT_MASK      (0x8000U)
50930 #define FLEXSPI_FLSHCR1_CSINTERVALUNIT_SHIFT     (15U)
50931 /*! CSINTERVALUNIT - CS interval unit
50932  *  0b0..The CS interval unit is 1 serial clock cycle
50933  *  0b1..The CS interval unit is 256 serial clock cycle
50934  */
50935 #define FLEXSPI_FLSHCR1_CSINTERVALUNIT(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_CSINTERVALUNIT_SHIFT)) & FLEXSPI_FLSHCR1_CSINTERVALUNIT_MASK)
50936 
50937 #define FLEXSPI_FLSHCR1_CSINTERVAL_MASK          (0xFFFF0000U)
50938 #define FLEXSPI_FLSHCR1_CSINTERVAL_SHIFT         (16U)
50939 /*! CSINTERVAL - This field is used to set the minimum interval between flash device Chip selection
50940  *    deassertion and flash device Chip selection assertion. If external flash has a limitation on
50941  *    the interval between command sequences, this field should be set accordingly. If there is no
50942  *    limitation, set this field with value 0x0.
50943  */
50944 #define FLEXSPI_FLSHCR1_CSINTERVAL(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR1_CSINTERVAL_SHIFT)) & FLEXSPI_FLSHCR1_CSINTERVAL_MASK)
50945 /*! @} */
50946 
50947 /* The count of FLEXSPI_FLSHCR1 */
50948 #define FLEXSPI_FLSHCR1_COUNT                    (4U)
50949 
50950 /*! @name FLSHCR2 - Flash Control Register 2 */
50951 /*! @{ */
50952 
50953 #define FLEXSPI_FLSHCR2_ARDSEQID_MASK            (0xFU)
50954 #define FLEXSPI_FLSHCR2_ARDSEQID_SHIFT           (0U)
50955 /*! ARDSEQID - Sequence Index for AHB Read triggered Command in LUT.
50956  */
50957 #define FLEXSPI_FLSHCR2_ARDSEQID(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_ARDSEQID_SHIFT)) & FLEXSPI_FLSHCR2_ARDSEQID_MASK)
50958 
50959 #define FLEXSPI_FLSHCR2_ARDSEQNUM_MASK           (0xE0U)
50960 #define FLEXSPI_FLSHCR2_ARDSEQNUM_SHIFT          (5U)
50961 /*! ARDSEQNUM - Sequence Number for AHB Read triggered Command in LUT.
50962  */
50963 #define FLEXSPI_FLSHCR2_ARDSEQNUM(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_ARDSEQNUM_SHIFT)) & FLEXSPI_FLSHCR2_ARDSEQNUM_MASK)
50964 
50965 #define FLEXSPI_FLSHCR2_AWRSEQID_MASK            (0xF00U)
50966 #define FLEXSPI_FLSHCR2_AWRSEQID_SHIFT           (8U)
50967 /*! AWRSEQID - Sequence Index for AHB Write triggered Command.
50968  */
50969 #define FLEXSPI_FLSHCR2_AWRSEQID(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_AWRSEQID_SHIFT)) & FLEXSPI_FLSHCR2_AWRSEQID_MASK)
50970 
50971 #define FLEXSPI_FLSHCR2_AWRSEQNUM_MASK           (0xE000U)
50972 #define FLEXSPI_FLSHCR2_AWRSEQNUM_SHIFT          (13U)
50973 /*! AWRSEQNUM - Sequence Number for AHB Write triggered Command.
50974  */
50975 #define FLEXSPI_FLSHCR2_AWRSEQNUM(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_AWRSEQNUM_SHIFT)) & FLEXSPI_FLSHCR2_AWRSEQNUM_MASK)
50976 
50977 #define FLEXSPI_FLSHCR2_AWRWAIT_MASK             (0xFFF0000U)
50978 #define FLEXSPI_FLSHCR2_AWRWAIT_SHIFT            (16U)
50979 #define FLEXSPI_FLSHCR2_AWRWAIT(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_AWRWAIT_SHIFT)) & FLEXSPI_FLSHCR2_AWRWAIT_MASK)
50980 
50981 #define FLEXSPI_FLSHCR2_AWRWAITUNIT_MASK         (0x70000000U)
50982 #define FLEXSPI_FLSHCR2_AWRWAITUNIT_SHIFT        (28U)
50983 /*! AWRWAITUNIT - AWRWAIT unit
50984  *  0b000..The AWRWAIT unit is 2 ahb clock cycle
50985  *  0b001..The AWRWAIT unit is 8 ahb clock cycle
50986  *  0b010..The AWRWAIT unit is 32 ahb clock cycle
50987  *  0b011..The AWRWAIT unit is 128 ahb clock cycle
50988  *  0b100..The AWRWAIT unit is 512 ahb clock cycle
50989  *  0b101..The AWRWAIT unit is 2048 ahb clock cycle
50990  *  0b110..The AWRWAIT unit is 8192 ahb clock cycle
50991  *  0b111..The AWRWAIT unit is 32768 ahb clock cycle
50992  */
50993 #define FLEXSPI_FLSHCR2_AWRWAITUNIT(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_AWRWAITUNIT_SHIFT)) & FLEXSPI_FLSHCR2_AWRWAITUNIT_MASK)
50994 
50995 #define FLEXSPI_FLSHCR2_CLRINSTRPTR_MASK         (0x80000000U)
50996 #define FLEXSPI_FLSHCR2_CLRINSTRPTR_SHIFT        (31U)
50997 /*! CLRINSTRPTR - Clear the instruction pointer which is internally saved pointer by JMP_ON_CS.
50998  *    Refer Programmable Sequence Engine for details.
50999  */
51000 #define FLEXSPI_FLSHCR2_CLRINSTRPTR(x)           (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR2_CLRINSTRPTR_SHIFT)) & FLEXSPI_FLSHCR2_CLRINSTRPTR_MASK)
51001 /*! @} */
51002 
51003 /* The count of FLEXSPI_FLSHCR2 */
51004 #define FLEXSPI_FLSHCR2_COUNT                    (4U)
51005 
51006 /*! @name FLSHCR4 - Flash Control Register 4 */
51007 /*! @{ */
51008 
51009 #define FLEXSPI_FLSHCR4_WMOPT1_MASK              (0x1U)
51010 #define FLEXSPI_FLSHCR4_WMOPT1_SHIFT             (0U)
51011 /*! WMOPT1 - Write mask option bit 1. This option bit could be used to remove AHB write burst start address alignment limitation.
51012  *  0b0..DQS pin will be used as Write Mask when writing to external device. There is no limitation on AHB write
51013  *       burst start address alignment when flash is accessed in individual mode.
51014  *  0b1..DQS pin will not be used as Write Mask when writing to external device. There is limitation on AHB write
51015  *       burst start address alignment when flash is accessed in individual mode.
51016  */
51017 #define FLEXSPI_FLSHCR4_WMOPT1(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_WMOPT1_SHIFT)) & FLEXSPI_FLSHCR4_WMOPT1_MASK)
51018 
51019 #define FLEXSPI_FLSHCR4_WMOPT2_MASK              (0x2U)
51020 #define FLEXSPI_FLSHCR4_WMOPT2_SHIFT             (1U)
51021 /*! WMOPT2 - Write mask option bit 2. When using AP memory, This option bit could be used to remove
51022  *    AHB write burst minimal length limitation. When using this bit, WMOPT1 should also be set.
51023  *  0b0..DQS pin will be used as Write Mask when writing to external device. There is no limitation on AHB write
51024  *       burst length when flash is accessed in individual mode.
51025  *  0b1..DQS pin will not be used as Write Mask when writing to external device. There is limitation on AHB write
51026  *       burst length when flash is accessed in individual mode, the minimal write burst length should be 4.
51027  */
51028 #define FLEXSPI_FLSHCR4_WMOPT2(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_WMOPT2_SHIFT)) & FLEXSPI_FLSHCR4_WMOPT2_MASK)
51029 
51030 #define FLEXSPI_FLSHCR4_WMENA_MASK               (0x4U)
51031 #define FLEXSPI_FLSHCR4_WMENA_SHIFT              (2U)
51032 /*! WMENA - Write mask enable bit for flash device on port A. When write mask function is needed for
51033  *    memory device on port A, this bit must be set.
51034  *  0b0..Write mask is disabled, DQS(RWDS) pin will be un-driven when writing to external device.
51035  *  0b1..Write mask is enabled, DQS(RWDS) pin will be driven by FlexSPI as write mask output when writing to external device.
51036  */
51037 #define FLEXSPI_FLSHCR4_WMENA(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_WMENA_SHIFT)) & FLEXSPI_FLSHCR4_WMENA_MASK)
51038 
51039 #define FLEXSPI_FLSHCR4_WMENB_MASK               (0x8U)
51040 #define FLEXSPI_FLSHCR4_WMENB_SHIFT              (3U)
51041 /*! WMENB - Write mask enable bit for flash device on port B. When write mask function is needed for
51042  *    memory device on port B, this bit must be set.
51043  *  0b0..Write mask is disabled, DQS(RWDS) pin will be un-driven when writing to external device.
51044  *  0b1..Write mask is enabled, DQS(RWDS) pin will be driven by FlexSPI as write mask output when writing to external device.
51045  */
51046 #define FLEXSPI_FLSHCR4_WMENB(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_WMENB_SHIFT)) & FLEXSPI_FLSHCR4_WMENB_MASK)
51047 
51048 #define FLEXSPI_FLSHCR4_PAR_WM_MASK              (0x600U)
51049 #define FLEXSPI_FLSHCR4_PAR_WM_SHIFT             (9U)
51050 /*! PAR_WM - Enable APMEM 16 bit write mask function, bit 9 for A1-B1 pair, bit 10 for A2-B2 pair.
51051  */
51052 #define FLEXSPI_FLSHCR4_PAR_WM(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_PAR_WM_SHIFT)) & FLEXSPI_FLSHCR4_PAR_WM_MASK)
51053 
51054 #define FLEXSPI_FLSHCR4_PAR_ADDR_ADJ_DIS_MASK    (0x800U)
51055 #define FLEXSPI_FLSHCR4_PAR_ADDR_ADJ_DIS_SHIFT   (11U)
51056 /*! PAR_ADDR_ADJ_DIS - Disable the address shift logic for lower density of 16 bit PSRAM.
51057  */
51058 #define FLEXSPI_FLSHCR4_PAR_ADDR_ADJ_DIS(x)      (((uint32_t)(((uint32_t)(x)) << FLEXSPI_FLSHCR4_PAR_ADDR_ADJ_DIS_SHIFT)) & FLEXSPI_FLSHCR4_PAR_ADDR_ADJ_DIS_MASK)
51059 /*! @} */
51060 
51061 /*! @name IPCR0 - IP Control Register 0 */
51062 /*! @{ */
51063 
51064 #define FLEXSPI_IPCR0_SFAR_MASK                  (0xFFFFFFFFU)
51065 #define FLEXSPI_IPCR0_SFAR_SHIFT                 (0U)
51066 /*! SFAR - Serial Flash Address for IP command.
51067  */
51068 #define FLEXSPI_IPCR0_SFAR(x)                    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCR0_SFAR_SHIFT)) & FLEXSPI_IPCR0_SFAR_MASK)
51069 /*! @} */
51070 
51071 /*! @name IPCR1 - IP Control Register 1 */
51072 /*! @{ */
51073 
51074 #define FLEXSPI_IPCR1_IDATSZ_MASK                (0xFFFFU)
51075 #define FLEXSPI_IPCR1_IDATSZ_SHIFT               (0U)
51076 /*! IDATSZ - Flash Read/Program Data Size (in Bytes) for IP command.
51077  */
51078 #define FLEXSPI_IPCR1_IDATSZ(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCR1_IDATSZ_SHIFT)) & FLEXSPI_IPCR1_IDATSZ_MASK)
51079 
51080 #define FLEXSPI_IPCR1_ISEQID_MASK                (0xF0000U)
51081 #define FLEXSPI_IPCR1_ISEQID_SHIFT               (16U)
51082 /*! ISEQID - Sequence Index in LUT for IP command.
51083  */
51084 #define FLEXSPI_IPCR1_ISEQID(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCR1_ISEQID_SHIFT)) & FLEXSPI_IPCR1_ISEQID_MASK)
51085 
51086 #define FLEXSPI_IPCR1_ISEQNUM_MASK               (0x7000000U)
51087 #define FLEXSPI_IPCR1_ISEQNUM_SHIFT              (24U)
51088 /*! ISEQNUM - Sequence Number for IP command: ISEQNUM+1.
51089  */
51090 #define FLEXSPI_IPCR1_ISEQNUM(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCR1_ISEQNUM_SHIFT)) & FLEXSPI_IPCR1_ISEQNUM_MASK)
51091 
51092 #define FLEXSPI_IPCR1_IPAREN_MASK                (0x80000000U)
51093 #define FLEXSPI_IPCR1_IPAREN_SHIFT               (31U)
51094 /*! IPAREN - Parallel mode Enabled for IP command.
51095  *  0b0..Flash will be accessed in Individual mode.
51096  *  0b1..Flash will be accessed in Parallel mode.
51097  */
51098 #define FLEXSPI_IPCR1_IPAREN(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCR1_IPAREN_SHIFT)) & FLEXSPI_IPCR1_IPAREN_MASK)
51099 /*! @} */
51100 
51101 /*! @name IPCMD - IP Command Register */
51102 /*! @{ */
51103 
51104 #define FLEXSPI_IPCMD_TRG_MASK                   (0x1U)
51105 #define FLEXSPI_IPCMD_TRG_SHIFT                  (0U)
51106 /*! TRG - Setting this bit will trigger an IP Command.
51107  */
51108 #define FLEXSPI_IPCMD_TRG(x)                     (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPCMD_TRG_SHIFT)) & FLEXSPI_IPCMD_TRG_MASK)
51109 /*! @} */
51110 
51111 /*! @name IPRXFCR - IP RX FIFO Control Register */
51112 /*! @{ */
51113 
51114 #define FLEXSPI_IPRXFCR_CLRIPRXF_MASK            (0x1U)
51115 #define FLEXSPI_IPRXFCR_CLRIPRXF_SHIFT           (0U)
51116 /*! CLRIPRXF - Clear all valid data entries in IP RX FIFO.
51117  */
51118 #define FLEXSPI_IPRXFCR_CLRIPRXF(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPRXFCR_CLRIPRXF_SHIFT)) & FLEXSPI_IPRXFCR_CLRIPRXF_MASK)
51119 
51120 #define FLEXSPI_IPRXFCR_RXDMAEN_MASK             (0x2U)
51121 #define FLEXSPI_IPRXFCR_RXDMAEN_SHIFT            (1U)
51122 /*! RXDMAEN - IP RX FIFO reading by DMA enabled.
51123  *  0b0..IP RX FIFO would be read by processor.
51124  *  0b1..IP RX FIFO would be read by DMA.
51125  */
51126 #define FLEXSPI_IPRXFCR_RXDMAEN(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPRXFCR_RXDMAEN_SHIFT)) & FLEXSPI_IPRXFCR_RXDMAEN_MASK)
51127 
51128 #define FLEXSPI_IPRXFCR_RXWMRK_MASK              (0x7CU)
51129 #define FLEXSPI_IPRXFCR_RXWMRK_SHIFT             (2U)
51130 /*! RXWMRK - Watermark level is (RXWMRK+1)*64 Bits.
51131  */
51132 #define FLEXSPI_IPRXFCR_RXWMRK(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPRXFCR_RXWMRK_SHIFT)) & FLEXSPI_IPRXFCR_RXWMRK_MASK)
51133 /*! @} */
51134 
51135 /*! @name IPTXFCR - IP TX FIFO Control Register */
51136 /*! @{ */
51137 
51138 #define FLEXSPI_IPTXFCR_CLRIPTXF_MASK            (0x1U)
51139 #define FLEXSPI_IPTXFCR_CLRIPTXF_SHIFT           (0U)
51140 /*! CLRIPTXF - Clear all valid data entries in IP TX FIFO.
51141  */
51142 #define FLEXSPI_IPTXFCR_CLRIPTXF(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPTXFCR_CLRIPTXF_SHIFT)) & FLEXSPI_IPTXFCR_CLRIPTXF_MASK)
51143 
51144 #define FLEXSPI_IPTXFCR_TXDMAEN_MASK             (0x2U)
51145 #define FLEXSPI_IPTXFCR_TXDMAEN_SHIFT            (1U)
51146 /*! TXDMAEN - IP TX FIFO filling by DMA enabled.
51147  *  0b0..IP TX FIFO would be filled by processor.
51148  *  0b1..IP TX FIFO would be filled by DMA.
51149  */
51150 #define FLEXSPI_IPTXFCR_TXDMAEN(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPTXFCR_TXDMAEN_SHIFT)) & FLEXSPI_IPTXFCR_TXDMAEN_MASK)
51151 
51152 #define FLEXSPI_IPTXFCR_TXWMRK_MASK              (0x7CU)
51153 #define FLEXSPI_IPTXFCR_TXWMRK_SHIFT             (2U)
51154 /*! TXWMRK - Watermark level is (TXWMRK+1)*64 Bits.
51155  */
51156 #define FLEXSPI_IPTXFCR_TXWMRK(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPTXFCR_TXWMRK_SHIFT)) & FLEXSPI_IPTXFCR_TXWMRK_MASK)
51157 /*! @} */
51158 
51159 /*! @name DLLCR - DLL Control Register 0 */
51160 /*! @{ */
51161 
51162 #define FLEXSPI_DLLCR_DLLEN_MASK                 (0x1U)
51163 #define FLEXSPI_DLLCR_DLLEN_SHIFT                (0U)
51164 /*! DLLEN - DLL calibration enable.
51165  */
51166 #define FLEXSPI_DLLCR_DLLEN(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_DLLCR_DLLEN_SHIFT)) & FLEXSPI_DLLCR_DLLEN_MASK)
51167 
51168 #define FLEXSPI_DLLCR_DLLRESET_MASK              (0x2U)
51169 #define FLEXSPI_DLLCR_DLLRESET_SHIFT             (1U)
51170 /*! DLLRESET - Software could force a reset on DLL by setting this field to 0x1. This will cause the
51171  *    DLL to lose lock and re-calibrate to detect an ref_clock half period phase shift. The reset
51172  *    action is edge triggered, so software need to clear this bit after set this bit (no delay
51173  *    limitation).
51174  */
51175 #define FLEXSPI_DLLCR_DLLRESET(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_DLLCR_DLLRESET_SHIFT)) & FLEXSPI_DLLCR_DLLRESET_MASK)
51176 
51177 #define FLEXSPI_DLLCR_SLVDLYTARGET_MASK          (0x78U)
51178 #define FLEXSPI_DLLCR_SLVDLYTARGET_SHIFT         (3U)
51179 /*! SLVDLYTARGET - The delay target for slave delay line is: ((SLVDLYTARGET+1) * 1/32 * clock cycle
51180  *    of reference clock (serial root clock). If serial root clock is >= 100 MHz, DLLEN set to 0x1,
51181  *    OVRDEN set to =0x0, then SLVDLYTARGET setting of 0xF is recommended.
51182  */
51183 #define FLEXSPI_DLLCR_SLVDLYTARGET(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_DLLCR_SLVDLYTARGET_SHIFT)) & FLEXSPI_DLLCR_SLVDLYTARGET_MASK)
51184 
51185 #define FLEXSPI_DLLCR_OVRDEN_MASK                (0x100U)
51186 #define FLEXSPI_DLLCR_OVRDEN_SHIFT               (8U)
51187 /*! OVRDEN - Slave clock delay line delay cell number selection override enable.
51188  */
51189 #define FLEXSPI_DLLCR_OVRDEN(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_DLLCR_OVRDEN_SHIFT)) & FLEXSPI_DLLCR_OVRDEN_MASK)
51190 
51191 #define FLEXSPI_DLLCR_OVRDVAL_MASK               (0x7E00U)
51192 #define FLEXSPI_DLLCR_OVRDVAL_SHIFT              (9U)
51193 /*! OVRDVAL - Slave clock delay line delay cell number selection override value.
51194  */
51195 #define FLEXSPI_DLLCR_OVRDVAL(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_DLLCR_OVRDVAL_SHIFT)) & FLEXSPI_DLLCR_OVRDVAL_MASK)
51196 /*! @} */
51197 
51198 /* The count of FLEXSPI_DLLCR */
51199 #define FLEXSPI_DLLCR_COUNT                      (2U)
51200 
51201 /*! @name MISCCR4 - Misc Control Register 4 */
51202 /*! @{ */
51203 
51204 #define FLEXSPI_MISCCR4_AHBADDRESS_MASK          (0xFFFFFFFFU)
51205 #define FLEXSPI_MISCCR4_AHBADDRESS_SHIFT         (0U)
51206 /*! AHBADDRESS - AHB bus address that trigger the current ECC multi bits error interrupt.
51207  */
51208 #define FLEXSPI_MISCCR4_AHBADDRESS(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR4_AHBADDRESS_SHIFT)) & FLEXSPI_MISCCR4_AHBADDRESS_MASK)
51209 /*! @} */
51210 
51211 /*! @name MISCCR5 - Misc Control Register 5 */
51212 /*! @{ */
51213 
51214 #define FLEXSPI_MISCCR5_ECCSINGLEERRORCORR_MASK  (0xFFFFFFFFU)
51215 #define FLEXSPI_MISCCR5_ECCSINGLEERRORCORR_SHIFT (0U)
51216 /*! ECCSINGLEERRORCORR - ECC single bit error correction indication.
51217  */
51218 #define FLEXSPI_MISCCR5_ECCSINGLEERRORCORR(x)    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR5_ECCSINGLEERRORCORR_SHIFT)) & FLEXSPI_MISCCR5_ECCSINGLEERRORCORR_MASK)
51219 /*! @} */
51220 
51221 /*! @name MISCCR6 - Misc Control Register 6 */
51222 /*! @{ */
51223 
51224 #define FLEXSPI_MISCCR6_VALID_MASK               (0x1U)
51225 #define FLEXSPI_MISCCR6_VALID_SHIFT              (0U)
51226 /*! VALID - ECC single error information Valid
51227  */
51228 #define FLEXSPI_MISCCR6_VALID(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR6_VALID_SHIFT)) & FLEXSPI_MISCCR6_VALID_MASK)
51229 
51230 #define FLEXSPI_MISCCR6_HIT_MASK                 (0x2U)
51231 #define FLEXSPI_MISCCR6_HIT_SHIFT                (1U)
51232 /*! HIT - ECC single error information Hit
51233  */
51234 #define FLEXSPI_MISCCR6_HIT(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR6_HIT_SHIFT)) & FLEXSPI_MISCCR6_HIT_MASK)
51235 
51236 #define FLEXSPI_MISCCR6_ADDRESS_MASK             (0xFFFFFFFCU)
51237 #define FLEXSPI_MISCCR6_ADDRESS_SHIFT            (2U)
51238 /*! ADDRESS - ECC single error address
51239  */
51240 #define FLEXSPI_MISCCR6_ADDRESS(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR6_ADDRESS_SHIFT)) & FLEXSPI_MISCCR6_ADDRESS_MASK)
51241 /*! @} */
51242 
51243 /*! @name MISCCR7 - Misc Control Register 7 */
51244 /*! @{ */
51245 
51246 #define FLEXSPI_MISCCR7_VALID_MASK               (0x1U)
51247 #define FLEXSPI_MISCCR7_VALID_SHIFT              (0U)
51248 /*! VALID - ECC multi error information Valid
51249  */
51250 #define FLEXSPI_MISCCR7_VALID(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR7_VALID_SHIFT)) & FLEXSPI_MISCCR7_VALID_MASK)
51251 
51252 #define FLEXSPI_MISCCR7_HIT_MASK                 (0x2U)
51253 #define FLEXSPI_MISCCR7_HIT_SHIFT                (1U)
51254 /*! HIT - ECC multi error information Hit
51255  */
51256 #define FLEXSPI_MISCCR7_HIT(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR7_HIT_SHIFT)) & FLEXSPI_MISCCR7_HIT_MASK)
51257 
51258 #define FLEXSPI_MISCCR7_ADDRESS_MASK             (0xFFFFFFFCU)
51259 #define FLEXSPI_MISCCR7_ADDRESS_SHIFT            (2U)
51260 /*! ADDRESS - ECC multi error address
51261  */
51262 #define FLEXSPI_MISCCR7_ADDRESS(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_MISCCR7_ADDRESS_SHIFT)) & FLEXSPI_MISCCR7_ADDRESS_MASK)
51263 /*! @} */
51264 
51265 /*! @name STS0 - Status Register 0 */
51266 /*! @{ */
51267 
51268 #define FLEXSPI_STS0_SEQIDLE_MASK                (0x1U)
51269 #define FLEXSPI_STS0_SEQIDLE_SHIFT               (0U)
51270 /*! SEQIDLE - This status bit indicates the state machine in SEQ_CTL is idle and there is command
51271  *    sequence executing on FlexSPI interface.
51272  */
51273 #define FLEXSPI_STS0_SEQIDLE(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS0_SEQIDLE_SHIFT)) & FLEXSPI_STS0_SEQIDLE_MASK)
51274 
51275 #define FLEXSPI_STS0_ARBIDLE_MASK                (0x2U)
51276 #define FLEXSPI_STS0_ARBIDLE_SHIFT               (1U)
51277 /*! ARBIDLE - This status bit indicates the state machine in ARB_CTL is busy and there is command
51278  *    sequence granted by arbitrator and not finished yet on FlexSPI interface. When ARB_CTL state
51279  *    (ARBIDLE=0x1) is idle, there will be no transaction on FlexSPI interface also (SEQIDLE=0x1). So
51280  *    this bit should be polled to wait for FlexSPI controller become idle instead of SEQIDLE.
51281  */
51282 #define FLEXSPI_STS0_ARBIDLE(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS0_ARBIDLE_SHIFT)) & FLEXSPI_STS0_ARBIDLE_MASK)
51283 
51284 #define FLEXSPI_STS0_ARBCMDSRC_MASK              (0xCU)
51285 #define FLEXSPI_STS0_ARBCMDSRC_SHIFT             (2U)
51286 /*! ARBCMDSRC - This status field indicates the trigger source of current command sequence granted
51287  *    by arbitrator. This field value is meaningless when ARB_CTL is not busy (STS0[ARBIDLE]=0x1).
51288  *  0b00..Triggered by AHB read command (triggered by AHB read).
51289  *  0b01..Triggered by AHB write command (triggered by AHB Write).
51290  *  0b10..Triggered by IP command (triggered by setting register bit IPCMD.TRG).
51291  *  0b11..Triggered by suspended command (resumed).
51292  */
51293 #define FLEXSPI_STS0_ARBCMDSRC(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS0_ARBCMDSRC_SHIFT)) & FLEXSPI_STS0_ARBCMDSRC_MASK)
51294 /*! @} */
51295 
51296 /*! @name STS1 - Status Register 1 */
51297 /*! @{ */
51298 
51299 #define FLEXSPI_STS1_AHBCMDERRID_MASK            (0xFU)
51300 #define FLEXSPI_STS1_AHBCMDERRID_SHIFT           (0U)
51301 /*! AHBCMDERRID - Indicates the sequence index when an AHB command error is detected. This field
51302  *    will be cleared when INTR[AHBCMDERR] is write-1-clear(w1c).
51303  */
51304 #define FLEXSPI_STS1_AHBCMDERRID(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS1_AHBCMDERRID_SHIFT)) & FLEXSPI_STS1_AHBCMDERRID_MASK)
51305 
51306 #define FLEXSPI_STS1_AHBCMDERRCODE_MASK          (0xF00U)
51307 #define FLEXSPI_STS1_AHBCMDERRCODE_SHIFT         (8U)
51308 /*! AHBCMDERRCODE - Indicates the Error Code when AHB command Error detected. This field will be
51309  *    cleared when INTR[AHBCMDERR] is write-1-clear(w1c).
51310  *  0b0000..No error.
51311  *  0b0010..AHB Write command with JMP_ON_CS instruction used in the sequence.
51312  *  0b0011..There is unknown instruction opcode in the sequence.
51313  *  0b0100..Instruction DUMMY_SDR/DUMMY_RWDS_SDR used in DDR sequence.
51314  *  0b0101..Instruction DUMMY_DDR/DUMMY_RWDS_DDR used in SDR sequence.
51315  *  0b1110..Sequence execution timeout.
51316  */
51317 #define FLEXSPI_STS1_AHBCMDERRCODE(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS1_AHBCMDERRCODE_SHIFT)) & FLEXSPI_STS1_AHBCMDERRCODE_MASK)
51318 
51319 #define FLEXSPI_STS1_IPCMDERRID_MASK             (0xF0000U)
51320 #define FLEXSPI_STS1_IPCMDERRID_SHIFT            (16U)
51321 /*! IPCMDERRID - Indicates the sequence Index when IP command error detected. This field will be
51322  *    cleared when INTR[IPCMDERR] is write-1-clear(w1c).
51323  */
51324 #define FLEXSPI_STS1_IPCMDERRID(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS1_IPCMDERRID_SHIFT)) & FLEXSPI_STS1_IPCMDERRID_MASK)
51325 
51326 #define FLEXSPI_STS1_IPCMDERRCODE_MASK           (0xF000000U)
51327 #define FLEXSPI_STS1_IPCMDERRCODE_SHIFT          (24U)
51328 /*! IPCMDERRCODE - Indicates the Error Code when IP command Error detected. This field will be
51329  *    cleared when INTR[IPCMDERR] is write-1-clear(w1c).
51330  *  0b0000..No error.
51331  *  0b0010..IP command with JMP_ON_CS instruction used in the sequence.
51332  *  0b0011..There is unknown instruction opcode in the sequence.
51333  *  0b0100..Instruction DUMMY_SDR/DUMMY_RWDS_SDR used in DDR sequence.
51334  *  0b0101..Instruction DUMMY_DDR/DUMMY_RWDS_DDR used in SDR sequence.
51335  *  0b0110..Flash access start address exceed the whole flash address range (A1/A2/B1/B2).
51336  *  0b1110..Sequence execution timeout.
51337  *  0b1111..Flash boundary crossed.
51338  */
51339 #define FLEXSPI_STS1_IPCMDERRCODE(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS1_IPCMDERRCODE_SHIFT)) & FLEXSPI_STS1_IPCMDERRCODE_MASK)
51340 /*! @} */
51341 
51342 /*! @name STS2 - Status Register 2 */
51343 /*! @{ */
51344 
51345 #define FLEXSPI_STS2_ASLVLOCK_MASK               (0x1U)
51346 #define FLEXSPI_STS2_ASLVLOCK_SHIFT              (0U)
51347 /*! ASLVLOCK - Flash A sample clock slave delay line locked.
51348  */
51349 #define FLEXSPI_STS2_ASLVLOCK(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_ASLVLOCK_SHIFT)) & FLEXSPI_STS2_ASLVLOCK_MASK)
51350 
51351 #define FLEXSPI_STS2_AREFLOCK_MASK               (0x2U)
51352 #define FLEXSPI_STS2_AREFLOCK_SHIFT              (1U)
51353 /*! AREFLOCK - Flash A sample clock reference delay line locked.
51354  */
51355 #define FLEXSPI_STS2_AREFLOCK(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_AREFLOCK_SHIFT)) & FLEXSPI_STS2_AREFLOCK_MASK)
51356 
51357 #define FLEXSPI_STS2_ASLVSEL_MASK                (0xFCU)
51358 #define FLEXSPI_STS2_ASLVSEL_SHIFT               (2U)
51359 /*! ASLVSEL - Flash A sample clock slave delay line delay cell number selection .
51360  */
51361 #define FLEXSPI_STS2_ASLVSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_ASLVSEL_SHIFT)) & FLEXSPI_STS2_ASLVSEL_MASK)
51362 
51363 #define FLEXSPI_STS2_AREFSEL_MASK                (0x3F00U)
51364 #define FLEXSPI_STS2_AREFSEL_SHIFT               (8U)
51365 /*! AREFSEL - Flash A sample clock reference delay line delay cell number selection.
51366  */
51367 #define FLEXSPI_STS2_AREFSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_AREFSEL_SHIFT)) & FLEXSPI_STS2_AREFSEL_MASK)
51368 
51369 #define FLEXSPI_STS2_BSLVLOCK_MASK               (0x10000U)
51370 #define FLEXSPI_STS2_BSLVLOCK_SHIFT              (16U)
51371 /*! BSLVLOCK - Flash B sample clock slave delay line locked.
51372  */
51373 #define FLEXSPI_STS2_BSLVLOCK(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_BSLVLOCK_SHIFT)) & FLEXSPI_STS2_BSLVLOCK_MASK)
51374 
51375 #define FLEXSPI_STS2_BREFLOCK_MASK               (0x20000U)
51376 #define FLEXSPI_STS2_BREFLOCK_SHIFT              (17U)
51377 /*! BREFLOCK - Flash B sample clock reference delay line locked.
51378  */
51379 #define FLEXSPI_STS2_BREFLOCK(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_BREFLOCK_SHIFT)) & FLEXSPI_STS2_BREFLOCK_MASK)
51380 
51381 #define FLEXSPI_STS2_BSLVSEL_MASK                (0xFC0000U)
51382 #define FLEXSPI_STS2_BSLVSEL_SHIFT               (18U)
51383 /*! BSLVSEL - Flash B sample clock slave delay line delay cell number selection.
51384  */
51385 #define FLEXSPI_STS2_BSLVSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_BSLVSEL_SHIFT)) & FLEXSPI_STS2_BSLVSEL_MASK)
51386 
51387 #define FLEXSPI_STS2_BREFSEL_MASK                (0x3F000000U)
51388 #define FLEXSPI_STS2_BREFSEL_SHIFT               (24U)
51389 /*! BREFSEL - Flash B sample clock reference delay line delay cell number selection.
51390  */
51391 #define FLEXSPI_STS2_BREFSEL(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_STS2_BREFSEL_SHIFT)) & FLEXSPI_STS2_BREFSEL_MASK)
51392 /*! @} */
51393 
51394 /*! @name AHBSPNDSTS - AHB Suspend Status Register */
51395 /*! @{ */
51396 
51397 #define FLEXSPI_AHBSPNDSTS_ACTIVE_MASK           (0x1U)
51398 #define FLEXSPI_AHBSPNDSTS_ACTIVE_SHIFT          (0U)
51399 /*! ACTIVE - Indicates if an AHB read prefetch command sequence has been suspended.
51400  */
51401 #define FLEXSPI_AHBSPNDSTS_ACTIVE(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBSPNDSTS_ACTIVE_SHIFT)) & FLEXSPI_AHBSPNDSTS_ACTIVE_MASK)
51402 
51403 #define FLEXSPI_AHBSPNDSTS_BUFID_MASK            (0xEU)
51404 #define FLEXSPI_AHBSPNDSTS_BUFID_SHIFT           (1U)
51405 /*! BUFID - AHB RX BUF ID for suspended command sequence.
51406  */
51407 #define FLEXSPI_AHBSPNDSTS_BUFID(x)              (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBSPNDSTS_BUFID_SHIFT)) & FLEXSPI_AHBSPNDSTS_BUFID_MASK)
51408 
51409 #define FLEXSPI_AHBSPNDSTS_DATLFT_MASK           (0xFFFF0000U)
51410 #define FLEXSPI_AHBSPNDSTS_DATLFT_SHIFT          (16U)
51411 /*! DATLFT - Left Data size for suspended command sequence (in byte).
51412  */
51413 #define FLEXSPI_AHBSPNDSTS_DATLFT(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBSPNDSTS_DATLFT_SHIFT)) & FLEXSPI_AHBSPNDSTS_DATLFT_MASK)
51414 /*! @} */
51415 
51416 /*! @name IPRXFSTS - IP RX FIFO Status Register */
51417 /*! @{ */
51418 
51419 #define FLEXSPI_IPRXFSTS_FILL_MASK               (0xFFU)
51420 #define FLEXSPI_IPRXFSTS_FILL_SHIFT              (0U)
51421 /*! FILL - Fill level of IP RX FIFO.
51422  */
51423 #define FLEXSPI_IPRXFSTS_FILL(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPRXFSTS_FILL_SHIFT)) & FLEXSPI_IPRXFSTS_FILL_MASK)
51424 
51425 #define FLEXSPI_IPRXFSTS_RDCNTR_MASK             (0xFFFF0000U)
51426 #define FLEXSPI_IPRXFSTS_RDCNTR_SHIFT            (16U)
51427 /*! RDCNTR - Total Read Data Counter: RDCNTR * 64 Bits.
51428  */
51429 #define FLEXSPI_IPRXFSTS_RDCNTR(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPRXFSTS_RDCNTR_SHIFT)) & FLEXSPI_IPRXFSTS_RDCNTR_MASK)
51430 /*! @} */
51431 
51432 /*! @name IPTXFSTS - IP TX FIFO Status Register */
51433 /*! @{ */
51434 
51435 #define FLEXSPI_IPTXFSTS_FILL_MASK               (0xFFU)
51436 #define FLEXSPI_IPTXFSTS_FILL_SHIFT              (0U)
51437 /*! FILL - Fill level of IP TX FIFO.
51438  */
51439 #define FLEXSPI_IPTXFSTS_FILL(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPTXFSTS_FILL_SHIFT)) & FLEXSPI_IPTXFSTS_FILL_MASK)
51440 
51441 #define FLEXSPI_IPTXFSTS_WRCNTR_MASK             (0xFFFF0000U)
51442 #define FLEXSPI_IPTXFSTS_WRCNTR_SHIFT            (16U)
51443 /*! WRCNTR - Total Write Data Counter: WRCNTR * 64 Bits.
51444  */
51445 #define FLEXSPI_IPTXFSTS_WRCNTR(x)               (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPTXFSTS_WRCNTR_SHIFT)) & FLEXSPI_IPTXFSTS_WRCNTR_MASK)
51446 /*! @} */
51447 
51448 /*! @name RFDR - IP RX FIFO Data Register 0..IP RX FIFO Data Register 31 */
51449 /*! @{ */
51450 
51451 #define FLEXSPI_RFDR_RXDATA_MASK                 (0xFFFFFFFFU)
51452 #define FLEXSPI_RFDR_RXDATA_SHIFT                (0U)
51453 /*! RXDATA - RX Data
51454  */
51455 #define FLEXSPI_RFDR_RXDATA(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_RFDR_RXDATA_SHIFT)) & FLEXSPI_RFDR_RXDATA_MASK)
51456 /*! @} */
51457 
51458 /* The count of FLEXSPI_RFDR */
51459 #define FLEXSPI_RFDR_COUNT                       (32U)
51460 
51461 /*! @name TFDR - IP TX FIFO Data Register 0..IP TX FIFO Data Register 31 */
51462 /*! @{ */
51463 
51464 #define FLEXSPI_TFDR_TXDATA_MASK                 (0xFFFFFFFFU)
51465 #define FLEXSPI_TFDR_TXDATA_SHIFT                (0U)
51466 /*! TXDATA - TX Data
51467  */
51468 #define FLEXSPI_TFDR_TXDATA(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_TFDR_TXDATA_SHIFT)) & FLEXSPI_TFDR_TXDATA_MASK)
51469 /*! @} */
51470 
51471 /* The count of FLEXSPI_TFDR */
51472 #define FLEXSPI_TFDR_COUNT                       (32U)
51473 
51474 /*! @name LUT - LUT 0..LUT 63 */
51475 /*! @{ */
51476 
51477 #define FLEXSPI_LUT_OPERAND0_MASK                (0xFFU)
51478 #define FLEXSPI_LUT_OPERAND0_SHIFT               (0U)
51479 /*! OPERAND0 - OPERAND0
51480  */
51481 #define FLEXSPI_LUT_OPERAND0(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_OPERAND0_SHIFT)) & FLEXSPI_LUT_OPERAND0_MASK)
51482 
51483 #define FLEXSPI_LUT_NUM_PADS0_MASK               (0x300U)
51484 #define FLEXSPI_LUT_NUM_PADS0_SHIFT              (8U)
51485 /*! NUM_PADS0 - NUM_PADS0
51486  */
51487 #define FLEXSPI_LUT_NUM_PADS0(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_NUM_PADS0_SHIFT)) & FLEXSPI_LUT_NUM_PADS0_MASK)
51488 
51489 #define FLEXSPI_LUT_OPCODE0_MASK                 (0xFC00U)
51490 #define FLEXSPI_LUT_OPCODE0_SHIFT                (10U)
51491 /*! OPCODE0 - OPCODE
51492  */
51493 #define FLEXSPI_LUT_OPCODE0(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_OPCODE0_SHIFT)) & FLEXSPI_LUT_OPCODE0_MASK)
51494 
51495 #define FLEXSPI_LUT_OPERAND1_MASK                (0xFF0000U)
51496 #define FLEXSPI_LUT_OPERAND1_SHIFT               (16U)
51497 /*! OPERAND1 - OPERAND1
51498  */
51499 #define FLEXSPI_LUT_OPERAND1(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_OPERAND1_SHIFT)) & FLEXSPI_LUT_OPERAND1_MASK)
51500 
51501 #define FLEXSPI_LUT_NUM_PADS1_MASK               (0x3000000U)
51502 #define FLEXSPI_LUT_NUM_PADS1_SHIFT              (24U)
51503 /*! NUM_PADS1 - NUM_PADS1
51504  */
51505 #define FLEXSPI_LUT_NUM_PADS1(x)                 (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_NUM_PADS1_SHIFT)) & FLEXSPI_LUT_NUM_PADS1_MASK)
51506 
51507 #define FLEXSPI_LUT_OPCODE1_MASK                 (0xFC000000U)
51508 #define FLEXSPI_LUT_OPCODE1_SHIFT                (26U)
51509 /*! OPCODE1 - OPCODE1
51510  */
51511 #define FLEXSPI_LUT_OPCODE1(x)                   (((uint32_t)(((uint32_t)(x)) << FLEXSPI_LUT_OPCODE1_SHIFT)) & FLEXSPI_LUT_OPCODE1_MASK)
51512 /*! @} */
51513 
51514 /* The count of FLEXSPI_LUT */
51515 #define FLEXSPI_LUT_COUNT                        (64U)
51516 
51517 /*! @name HMSTRCR - AHB Master ID 0 Control Register..AHB Master ID 7 Control Register */
51518 /*! @{ */
51519 
51520 #define FLEXSPI_HMSTRCR_MASK_MASK                (0xFFFFU)
51521 #define FLEXSPI_HMSTRCR_MASK_SHIFT               (0U)
51522 /*! MASK - Mask bits for AHB master ID.
51523  *  0b0000000000000000..Mask
51524  *  0b0000000000000001..Unmask
51525  */
51526 #define FLEXSPI_HMSTRCR_MASK(x)                  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HMSTRCR_MASK_SHIFT)) & FLEXSPI_HMSTRCR_MASK_MASK)
51527 
51528 #define FLEXSPI_HMSTRCR_MSTRID_MASK              (0xFFFF0000U)
51529 #define FLEXSPI_HMSTRCR_MSTRID_SHIFT             (16U)
51530 /*! MSTRID - This is expected Master ID.
51531  */
51532 #define FLEXSPI_HMSTRCR_MSTRID(x)                (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HMSTRCR_MSTRID_SHIFT)) & FLEXSPI_HMSTRCR_MSTRID_MASK)
51533 /*! @} */
51534 
51535 /* The count of FLEXSPI_HMSTRCR */
51536 #define FLEXSPI_HMSTRCR_COUNT                    (8U)
51537 
51538 /*! @name HADDRSTART - HADDR REMAP START ADDR */
51539 /*! @{ */
51540 
51541 #define FLEXSPI_HADDRSTART_REMAPEN_MASK          (0x1U)
51542 #define FLEXSPI_HADDRSTART_REMAPEN_SHIFT         (0U)
51543 /*! REMAPEN
51544  *  0b0..HADDR REMAP Disabled
51545  *  0b1..HADDR REMAP Enabled
51546  */
51547 #define FLEXSPI_HADDRSTART_REMAPEN(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HADDRSTART_REMAPEN_SHIFT)) & FLEXSPI_HADDRSTART_REMAPEN_MASK)
51548 
51549 #define FLEXSPI_HADDRSTART_KBINECC_MASK          (0x2U)
51550 #define FLEXSPI_HADDRSTART_KBINECC_SHIFT         (1U)
51551 /*! KBINECC
51552  *  0b0..If key blob is in remap region, FlexSPI will fetch keyblob at base address + offset
51553  *  0b1..If key blob is in remap region, FlexSPI will fetch keyblob at base address + offset*2
51554  */
51555 #define FLEXSPI_HADDRSTART_KBINECC(x)            (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HADDRSTART_KBINECC_SHIFT)) & FLEXSPI_HADDRSTART_KBINECC_MASK)
51556 
51557 #define FLEXSPI_HADDRSTART_ADDRSTART_MASK        (0xFFFFF000U)
51558 #define FLEXSPI_HADDRSTART_ADDRSTART_SHIFT       (12U)
51559 #define FLEXSPI_HADDRSTART_ADDRSTART(x)          (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HADDRSTART_ADDRSTART_SHIFT)) & FLEXSPI_HADDRSTART_ADDRSTART_MASK)
51560 /*! @} */
51561 
51562 /*! @name HADDREND - HADDR REMAP END ADDR */
51563 /*! @{ */
51564 
51565 #define FLEXSPI_HADDREND_ENDSTART_MASK           (0xFFFFF000U)
51566 #define FLEXSPI_HADDREND_ENDSTART_SHIFT          (12U)
51567 #define FLEXSPI_HADDREND_ENDSTART(x)             (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HADDREND_ENDSTART_SHIFT)) & FLEXSPI_HADDREND_ENDSTART_MASK)
51568 /*! @} */
51569 
51570 /*! @name HADDROFFSET - HADDR REMAP OFFSET */
51571 /*! @{ */
51572 
51573 #define FLEXSPI_HADDROFFSET_ADDROFFSET_MASK      (0xFFFFF000U)
51574 #define FLEXSPI_HADDROFFSET_ADDROFFSET_SHIFT     (12U)
51575 #define FLEXSPI_HADDROFFSET_ADDROFFSET(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_HADDROFFSET_ADDROFFSET_SHIFT)) & FLEXSPI_HADDROFFSET_ADDROFFSET_MASK)
51576 /*! @} */
51577 
51578 /*! @name IPSNSZSTART0 - IPS nonsecure region Start address of region 0 */
51579 /*! @{ */
51580 
51581 #define FLEXSPI_IPSNSZSTART0_start_address_MASK  (0xFFFFF000U)
51582 #define FLEXSPI_IPSNSZSTART0_start_address_SHIFT (12U)
51583 /*! start_address - Start address of region 0. Minimal 4K Bytes aligned. It is flash address.
51584  */
51585 #define FLEXSPI_IPSNSZSTART0_start_address(x)    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPSNSZSTART0_start_address_SHIFT)) & FLEXSPI_IPSNSZSTART0_start_address_MASK)
51586 /*! @} */
51587 
51588 /*! @name IPSNSZEND0 - IPS nonsecure region End address of region 0 */
51589 /*! @{ */
51590 
51591 #define FLEXSPI_IPSNSZEND0_end_address_MASK      (0xFFFFF000U)
51592 #define FLEXSPI_IPSNSZEND0_end_address_SHIFT     (12U)
51593 /*! end_address - End address of region 0. Minimal 4K Bytes aligned. It is flash address.
51594  */
51595 #define FLEXSPI_IPSNSZEND0_end_address(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPSNSZEND0_end_address_SHIFT)) & FLEXSPI_IPSNSZEND0_end_address_MASK)
51596 /*! @} */
51597 
51598 /*! @name IPSNSZSTART1 - IPS nonsecure region Start address of region 1 */
51599 /*! @{ */
51600 
51601 #define FLEXSPI_IPSNSZSTART1_start_address_MASK  (0xFFFFF000U)
51602 #define FLEXSPI_IPSNSZSTART1_start_address_SHIFT (12U)
51603 /*! start_address - Start address of region 1. Minimal 4K Bytes aligned. It is flash address.
51604  */
51605 #define FLEXSPI_IPSNSZSTART1_start_address(x)    (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPSNSZSTART1_start_address_SHIFT)) & FLEXSPI_IPSNSZSTART1_start_address_MASK)
51606 /*! @} */
51607 
51608 /*! @name IPSNSZEND1 - IPS nonsecure region End address of region 1 */
51609 /*! @{ */
51610 
51611 #define FLEXSPI_IPSNSZEND1_end_address_MASK      (0xFFFFF000U)
51612 #define FLEXSPI_IPSNSZEND1_end_address_SHIFT     (12U)
51613 /*! end_address - End address of region 1. Minimal 4K Bytes aligned. It is flash address.
51614  */
51615 #define FLEXSPI_IPSNSZEND1_end_address(x)        (((uint32_t)(((uint32_t)(x)) << FLEXSPI_IPSNSZEND1_end_address_SHIFT)) & FLEXSPI_IPSNSZEND1_end_address_MASK)
51616 /*! @} */
51617 
51618 /*! @name AHBBUFREGIONSTART0 - RX BUF Start address of region 0 */
51619 /*! @{ */
51620 
51621 #define FLEXSPI_AHBBUFREGIONSTART0_start_address_MASK (0xFFFFF000U)
51622 #define FLEXSPI_AHBBUFREGIONSTART0_start_address_SHIFT (12U)
51623 /*! start_address - Start address of region 0. Minimal 4K Bytes aligned. It is system address.
51624  */
51625 #define FLEXSPI_AHBBUFREGIONSTART0_start_address(x) (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONSTART0_start_address_SHIFT)) & FLEXSPI_AHBBUFREGIONSTART0_start_address_MASK)
51626 /*! @} */
51627 
51628 /*! @name AHBBUFREGIONEND0 - RX BUF region End address of region 0 */
51629 /*! @{ */
51630 
51631 #define FLEXSPI_AHBBUFREGIONEND0_end_address_MASK (0xFFFFF000U)
51632 #define FLEXSPI_AHBBUFREGIONEND0_end_address_SHIFT (12U)
51633 /*! end_address - End address of region 0. Minimal 4K Bytes aligned. It is system address.
51634  */
51635 #define FLEXSPI_AHBBUFREGIONEND0_end_address(x)  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONEND0_end_address_SHIFT)) & FLEXSPI_AHBBUFREGIONEND0_end_address_MASK)
51636 /*! @} */
51637 
51638 /*! @name AHBBUFREGIONSTART1 - RX BUF Start address of region 1 */
51639 /*! @{ */
51640 
51641 #define FLEXSPI_AHBBUFREGIONSTART1_start_address_MASK (0xFFFFF000U)
51642 #define FLEXSPI_AHBBUFREGIONSTART1_start_address_SHIFT (12U)
51643 /*! start_address - Start address of region 1. Minimal 4K Bytes aligned. It is system address.
51644  */
51645 #define FLEXSPI_AHBBUFREGIONSTART1_start_address(x) (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONSTART1_start_address_SHIFT)) & FLEXSPI_AHBBUFREGIONSTART1_start_address_MASK)
51646 /*! @} */
51647 
51648 /*! @name AHBBUFREGIONEND1 - RX BUF region End address of region 1 */
51649 /*! @{ */
51650 
51651 #define FLEXSPI_AHBBUFREGIONEND1_end_address_MASK (0xFFFFF000U)
51652 #define FLEXSPI_AHBBUFREGIONEND1_end_address_SHIFT (12U)
51653 /*! end_address - End address of region 1. Minimal 4K Bytes aligned. It is system address.
51654  */
51655 #define FLEXSPI_AHBBUFREGIONEND1_end_address(x)  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONEND1_end_address_SHIFT)) & FLEXSPI_AHBBUFREGIONEND1_end_address_MASK)
51656 /*! @} */
51657 
51658 /*! @name AHBBUFREGIONSTART2 - RX BUF Start address of region 2 */
51659 /*! @{ */
51660 
51661 #define FLEXSPI_AHBBUFREGIONSTART2_start_address_MASK (0xFFFFF000U)
51662 #define FLEXSPI_AHBBUFREGIONSTART2_start_address_SHIFT (12U)
51663 /*! start_address - Start address of region 2. Minimal 4K Bytes aligned. It is system address.
51664  */
51665 #define FLEXSPI_AHBBUFREGIONSTART2_start_address(x) (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONSTART2_start_address_SHIFT)) & FLEXSPI_AHBBUFREGIONSTART2_start_address_MASK)
51666 /*! @} */
51667 
51668 /*! @name AHBBUFREGIONEND2 - RX BUF region End address of region 2 */
51669 /*! @{ */
51670 
51671 #define FLEXSPI_AHBBUFREGIONEND2_end_address_MASK (0xFFFFF000U)
51672 #define FLEXSPI_AHBBUFREGIONEND2_end_address_SHIFT (12U)
51673 /*! end_address - End address of region 2. Minimal 4K Bytes aligned. It is system address.
51674  */
51675 #define FLEXSPI_AHBBUFREGIONEND2_end_address(x)  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONEND2_end_address_SHIFT)) & FLEXSPI_AHBBUFREGIONEND2_end_address_MASK)
51676 /*! @} */
51677 
51678 /*! @name AHBBUFREGIONSTART3 - RX BUF Start address of region 3 */
51679 /*! @{ */
51680 
51681 #define FLEXSPI_AHBBUFREGIONSTART3_start_address_MASK (0xFFFFF000U)
51682 #define FLEXSPI_AHBBUFREGIONSTART3_start_address_SHIFT (12U)
51683 /*! start_address - Start address of region 3. Minimal 4K Bytes aligned. It is system address.
51684  */
51685 #define FLEXSPI_AHBBUFREGIONSTART3_start_address(x) (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONSTART3_start_address_SHIFT)) & FLEXSPI_AHBBUFREGIONSTART3_start_address_MASK)
51686 /*! @} */
51687 
51688 /*! @name AHBBUFREGIONEND3 - RX BUF region End address of region 3 */
51689 /*! @{ */
51690 
51691 #define FLEXSPI_AHBBUFREGIONEND3_end_address_MASK (0xFFFFF000U)
51692 #define FLEXSPI_AHBBUFREGIONEND3_end_address_SHIFT (12U)
51693 /*! end_address - End address of region 3. Minimal 4K Bytes aligned. It is system address.
51694  */
51695 #define FLEXSPI_AHBBUFREGIONEND3_end_address(x)  (((uint32_t)(((uint32_t)(x)) << FLEXSPI_AHBBUFREGIONEND3_end_address_SHIFT)) & FLEXSPI_AHBBUFREGIONEND3_end_address_MASK)
51696 /*! @} */
51697 
51698 
51699 /*!
51700  * @}
51701  */ /* end of group FLEXSPI_Register_Masks */
51702 
51703 
51704 /* FLEXSPI - Peripheral instance base addresses */
51705 /** Peripheral FLEXSPI1 base address */
51706 #define FLEXSPI1_BASE                            (0x400CC000u)
51707 /** Peripheral FLEXSPI1 base pointer */
51708 #define FLEXSPI1                                 ((FLEXSPI_Type *)FLEXSPI1_BASE)
51709 /** Peripheral FLEXSPI2 base address */
51710 #define FLEXSPI2_BASE                            (0x400D0000u)
51711 /** Peripheral FLEXSPI2 base pointer */
51712 #define FLEXSPI2                                 ((FLEXSPI_Type *)FLEXSPI2_BASE)
51713 /** Array initializer of FLEXSPI peripheral base addresses */
51714 #define FLEXSPI_BASE_ADDRS                       { 0u, FLEXSPI1_BASE, FLEXSPI2_BASE }
51715 /** Array initializer of FLEXSPI peripheral base pointers */
51716 #define FLEXSPI_BASE_PTRS                        { (FLEXSPI_Type *)0u, FLEXSPI1, FLEXSPI2 }
51717 /** Interrupt vectors for the FLEXSPI peripheral type */
51718 #define FLEXSPI_IRQS                             { NotAvail_IRQn, FLEXSPI1_IRQn, FLEXSPI2_IRQn }
51719 /* FlexSPI1 AMBA address. */
51720 #define FlexSPI1_AMBA_BASE                       (0x30000000U)
51721 /* FlexSPI1 ASFM address. */
51722 #define FlexSPI1_ASFM_BASE                        (0x30000000U)
51723 /* Base Address of AHB address space mapped to IP RX FIFO. */
51724 #define FlexSPI1_ARDF_BASE                        (0x2FC00000U)
51725 /* Base Address of AHB address space mapped to IP TX FIFO. */
51726 #define FlexSPI1_ATDF_BASE                        (0x2F800000U)
51727 /* FlexSPI1 alias base address. */
51728 #define FlexSPI1_ALIAS_BASE                       (0x8000000U)
51729 /* FlexSPI2 AMBA address. */
51730 #define FlexSPI2_AMBA_BASE                        (0x60000000U)
51731 /* FlexSPI ASFM address. */
51732 #define FlexSPI2_ASFM_BASE                        (0x60000000U)
51733 /* Base Address of AHB address space mapped to IP RX FIFO. */
51734 #define FlexSPI2_ARDF_BASE                        (0x7FC00000U)
51735 /* Base Address of AHB address space mapped to IP TX FIFO. */
51736 #define FlexSPI2_ATDF_BASE                        (0x7F800000U)
51737 
51738 
51739 /*!
51740  * @}
51741  */ /* end of group FLEXSPI_Peripheral_Access_Layer */
51742 
51743 
51744 /* ----------------------------------------------------------------------------
51745    -- GPC_CPU_MODE_CTRL Peripheral Access Layer
51746    ---------------------------------------------------------------------------- */
51747 
51748 /*!
51749  * @addtogroup GPC_CPU_MODE_CTRL_Peripheral_Access_Layer GPC_CPU_MODE_CTRL Peripheral Access Layer
51750  * @{
51751  */
51752 
51753 /** GPC_CPU_MODE_CTRL - Register Layout Typedef */
51754 typedef struct {
51755        uint8_t RESERVED_0[4];
51756   __IO uint32_t CM_AUTHEN_CTRL;                    /**< CM Authentication Control, offset: 0x4 */
51757   __IO uint32_t CM_INT_CTRL;                       /**< CM Interrupt Control, offset: 0x8 */
51758   __IO uint32_t CM_MISC;                           /**< Miscellaneous, offset: 0xC */
51759   __IO uint32_t CM_MODE_CTRL;                      /**< CPU mode control, offset: 0x10 */
51760   __I  uint32_t CM_MODE_STAT;                      /**< CM CPU mode Status, offset: 0x14 */
51761        uint8_t RESERVED_1[232];
51762   __IO uint32_t CM_IRQ_WAKEUP_MASK[8];             /**< CM IRQ0~31 wakeup mask..CM IRQ224~255 wakeup mask, array offset: 0x100, array step: 0x4 */
51763        uint8_t RESERVED_2[32];
51764   __IO uint32_t CM_NON_IRQ_WAKEUP_MASK;            /**< CM non-irq wakeup mask, offset: 0x140 */
51765        uint8_t RESERVED_3[12];
51766   __I  uint32_t CM_IRQ_WAKEUP_STAT[8];             /**< CM IRQ0~31 wakeup status..CM IRQ224~255 wakeup status, array offset: 0x150, array step: 0x4 */
51767        uint8_t RESERVED_4[32];
51768   __I  uint32_t CM_NON_IRQ_WAKEUP_STAT;            /**< CM non-irq wakeup status, offset: 0x190 */
51769        uint8_t RESERVED_5[108];
51770   __IO uint32_t CM_SLEEP_SSAR_CTRL;                /**< CM sleep SSAR control, offset: 0x200 */
51771        uint8_t RESERVED_6[4];
51772   __IO uint32_t CM_SLEEP_LPCG_CTRL;                /**< CM sleep LPCG control, offset: 0x208 */
51773        uint8_t RESERVED_7[4];
51774   __IO uint32_t CM_SLEEP_PLL_CTRL;                 /**< CM sleep PLL control, offset: 0x210 */
51775        uint8_t RESERVED_8[4];
51776   __IO uint32_t CM_SLEEP_ISO_CTRL;                 /**< CM sleep isolation control, offset: 0x218 */
51777        uint8_t RESERVED_9[4];
51778   __IO uint32_t CM_SLEEP_RESET_CTRL;               /**< CM sleep reset control, offset: 0x220 */
51779        uint8_t RESERVED_10[4];
51780   __IO uint32_t CM_SLEEP_POWER_CTRL;               /**< CM sleep power control, offset: 0x228 */
51781        uint8_t RESERVED_11[100];
51782   __IO uint32_t CM_WAKEUP_POWER_CTRL;              /**< CM wakeup power control, offset: 0x290 */
51783        uint8_t RESERVED_12[4];
51784   __IO uint32_t CM_WAKEUP_RESET_CTRL;              /**< CM wakeup reset control, offset: 0x298 */
51785        uint8_t RESERVED_13[4];
51786   __IO uint32_t CM_WAKEUP_ISO_CTRL;                /**< CM wakeup isolation control, offset: 0x2A0 */
51787        uint8_t RESERVED_14[4];
51788   __IO uint32_t CM_WAKEUP_PLL_CTRL;                /**< CM wakeup PLL control, offset: 0x2A8 */
51789        uint8_t RESERVED_15[4];
51790   __IO uint32_t CM_WAKEUP_LPCG_CTRL;               /**< CM wakeup LPCG control, offset: 0x2B0 */
51791        uint8_t RESERVED_16[4];
51792   __IO uint32_t CM_WAKEUP_SSAR_CTRL;               /**< CM wakeup SSAR control, offset: 0x2B8 */
51793        uint8_t RESERVED_17[68];
51794   __IO uint32_t CM_SP_CTRL;                        /**< CM Setpoint Control, offset: 0x300 */
51795   __I  uint32_t CM_SP_STAT;                        /**< CM Setpoint Status, offset: 0x304 */
51796        uint8_t RESERVED_18[8];
51797   __IO uint32_t CM_RUN_MODE_MAPPING;               /**< CM Run Mode Setpoint Allowed, offset: 0x310 */
51798   __IO uint32_t CM_WAIT_MODE_MAPPING;              /**< CM Wait Mode Setpoint Allowed, offset: 0x314 */
51799   __IO uint32_t CM_STOP_MODE_MAPPING;              /**< CM Stop Mode Setpoint Allowed, offset: 0x318 */
51800   __IO uint32_t CM_SUSPEND_MODE_MAPPING;           /**< CM Suspend Mode Setpoint Allowed, offset: 0x31C */
51801   __IO uint32_t CM_SP_MAPPING[16];                 /**< CM Setpoint 0 Mapping..CM Setpoint 15 Mapping, array offset: 0x320, array step: 0x4 */
51802        uint8_t RESERVED_19[32];
51803   __IO uint32_t CM_STBY_CTRL;                      /**< CM standby control, offset: 0x380 */
51804 } GPC_CPU_MODE_CTRL_Type;
51805 
51806 /* ----------------------------------------------------------------------------
51807    -- GPC_CPU_MODE_CTRL Register Masks
51808    ---------------------------------------------------------------------------- */
51809 
51810 /*!
51811  * @addtogroup GPC_CPU_MODE_CTRL_Register_Masks GPC_CPU_MODE_CTRL Register Masks
51812  * @{
51813  */
51814 
51815 /*! @name CM_AUTHEN_CTRL - CM Authentication Control */
51816 /*! @{ */
51817 
51818 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_USER_MASK (0x1U)
51819 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_USER_SHIFT (0U)
51820 /*! USER - Allow user mode access
51821  *  0b0..Allow only privilege mode to access CPU mode control registers
51822  *  0b1..Allow both privilege and user mode to access CPU mode control registers
51823  */
51824 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_USER(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_USER_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_USER_MASK)
51825 
51826 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_NONSECURE_MASK (0x2U)
51827 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_NONSECURE_SHIFT (1U)
51828 /*! NONSECURE - Allow non-secure mode access
51829  *  0b0..Allow only secure mode to access CPU mode control registers
51830  *  0b1..Allow both secure and non-secure mode to access CPU mode control registers
51831  */
51832 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_NONSECURE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_NONSECURE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_NONSECURE_MASK)
51833 
51834 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_SETTING_MASK (0x10U)
51835 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_SETTING_SHIFT (4U)
51836 /*! LOCK_SETTING - Lock NONSECURE and USER
51837  */
51838 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_SETTING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_SETTING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_SETTING_MASK)
51839 
51840 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_WHITE_LIST_MASK (0xF00U)
51841 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_WHITE_LIST_SHIFT (8U)
51842 /*! WHITE_LIST - Domain ID white list
51843  */
51844 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_WHITE_LIST_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_WHITE_LIST_MASK)
51845 
51846 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_LIST_MASK (0x1000U)
51847 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_LIST_SHIFT (12U)
51848 /*! LOCK_LIST - White list lock
51849  */
51850 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_LIST_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_LIST_MASK)
51851 
51852 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_CFG_MASK (0x100000U)
51853 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_CFG_SHIFT (20U)
51854 /*! LOCK_CFG - Configuration lock
51855  */
51856 #define GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_CFG(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & GPC_CPU_MODE_CTRL_CM_AUTHEN_CTRL_LOCK_CFG_MASK)
51857 /*! @} */
51858 
51859 /*! @name CM_INT_CTRL - CM Interrupt Control */
51860 /*! @{ */
51861 
51862 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_EN_MASK (0x1U)
51863 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_EN_SHIFT (0U)
51864 /*! SP_REQ_NOT_ALLOWED_SLEEP_INT_EN - sp_req_not_allowed_for_sleep interrupt enable
51865  *  0b0..Interrupt disable
51866  *  0b1..Interrupt enable
51867  */
51868 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_EN_MASK)
51869 
51870 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN_MASK (0x2U)
51871 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN_SHIFT (1U)
51872 /*! SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN - sp_req_not_allowed_for_wakeup interrupt enable
51873  *  0b0..Interrupt disable
51874  *  0b1..Interrupt enable
51875  */
51876 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_EN_MASK)
51877 
51878 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_EN_MASK (0x4U)
51879 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_EN_SHIFT (2U)
51880 /*! SP_REQ_NOT_ALLOWED_SOFT_INT_EN - sp_req_not_allowed_for_soft interrupt enable
51881  *  0b0..Interrupt disable
51882  *  0b1..Interrupt enable
51883  */
51884 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_EN_MASK)
51885 
51886 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_MASK (0x10000U)
51887 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_SHIFT (16U)
51888 /*! SP_REQ_NOT_ALLOWED_SLEEP_INT - sp_req_not_allowed_for_sleep interrupt status and clear register
51889  */
51890 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SLEEP_INT_MASK)
51891 
51892 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_MASK (0x20000U)
51893 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_SHIFT (17U)
51894 /*! SP_REQ_NOT_ALLOWED_WAKEUP_INT - sp_req_not_allowed_for_wakeup interrupt status and clear register
51895  */
51896 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_WAKEUP_INT_MASK)
51897 
51898 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_MASK (0x40000U)
51899 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_SHIFT (18U)
51900 /*! SP_REQ_NOT_ALLOWED_SOFT_INT - sp_req_not_allowed_for_soft interrupt status and clear register
51901  */
51902 #define GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_INT_CTRL_SP_REQ_NOT_ALLOWED_SOFT_INT_MASK)
51903 /*! @} */
51904 
51905 /*! @name CM_MISC - Miscellaneous */
51906 /*! @{ */
51907 
51908 #define GPC_CPU_MODE_CTRL_CM_MISC_NMI_STAT_MASK  (0x1U)
51909 #define GPC_CPU_MODE_CTRL_CM_MISC_NMI_STAT_SHIFT (0U)
51910 /*! NMI_STAT - Non-masked interrupt status
51911  *  0b0..NMI is not asserting
51912  *  0b1..NMI is asserting
51913  */
51914 #define GPC_CPU_MODE_CTRL_CM_MISC_NMI_STAT(x)    (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MISC_NMI_STAT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MISC_NMI_STAT_MASK)
51915 
51916 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_EN_MASK (0x2U)
51917 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_EN_SHIFT (1U)
51918 /*! SLEEP_HOLD_EN - Allow cpu_sleep_hold_req assert during CPU low power status
51919  *  0b0..Disable cpu_sleep_hold_req
51920  *  0b1..Allow cpu_sleep_hold_req assert during CPU low power status
51921  */
51922 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_EN_MASK)
51923 
51924 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_STAT_MASK (0x4U)
51925 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_STAT_SHIFT (2U)
51926 /*! SLEEP_HOLD_STAT - Status of cpu_sleep_hold_ack_b
51927  */
51928 #define GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_STAT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_STAT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MISC_SLEEP_HOLD_STAT_MASK)
51929 
51930 #define GPC_CPU_MODE_CTRL_CM_MISC_MASTER_CPU_MASK (0x10U)
51931 #define GPC_CPU_MODE_CTRL_CM_MISC_MASTER_CPU_SHIFT (4U)
51932 /*! MASTER_CPU - Master CPU
51933  */
51934 #define GPC_CPU_MODE_CTRL_CM_MISC_MASTER_CPU(x)  (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MISC_MASTER_CPU_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MISC_MASTER_CPU_MASK)
51935 /*! @} */
51936 
51937 /*! @name CM_MODE_CTRL - CPU mode control */
51938 /*! @{ */
51939 
51940 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_CPU_MODE_TARGET_MASK (0x3U)
51941 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_CPU_MODE_TARGET_SHIFT (0U)
51942 /*! CPU_MODE_TARGET - The CPU mode the CPU platform should transit to on next sleep event
51943  *  0b00..Stay in RUN mode
51944  *  0b01..Transit to WAIT mode
51945  *  0b10..Transit to STOP mode
51946  *  0b11..Transit to SUSPEND mode
51947  */
51948 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_CPU_MODE_TARGET(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MODE_CTRL_CPU_MODE_TARGET_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MODE_CTRL_CPU_MODE_TARGET_MASK)
51949 
51950 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_WFE_EN_MASK (0x10U)
51951 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_WFE_EN_SHIFT (4U)
51952 /*! WFE_EN - WFE assertion can be sleep event
51953  *  0b0..WFE assertion can not trigger low power
51954  *  0b1..WFE assertion can trigger low power
51955  */
51956 #define GPC_CPU_MODE_CTRL_CM_MODE_CTRL_WFE_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MODE_CTRL_WFE_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MODE_CTRL_WFE_EN_MASK)
51957 /*! @} */
51958 
51959 /*! @name CM_MODE_STAT - CM CPU mode Status */
51960 /*! @{ */
51961 
51962 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_CURRENT_MASK (0x3U)
51963 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_CURRENT_SHIFT (0U)
51964 /*! CPU_MODE_CURRENT - Current CPU mode
51965  *  0b00..CPU is currently in RUN mode
51966  *  0b01..CPU is currently in WAIT mode
51967  *  0b10..CPU is currently in STOP mode
51968  *  0b11..CPU is currently in SUSPEND mode
51969  */
51970 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_CURRENT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_CURRENT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_CURRENT_MASK)
51971 
51972 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_PREVIOUS_MASK (0xCU)
51973 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_PREVIOUS_SHIFT (2U)
51974 /*! CPU_MODE_PREVIOUS - Previous CPU mode
51975  *  0b00..CPU was previously in RUN mode
51976  *  0b01..CPU was previously in WAIT mode
51977  *  0b10..CPU was previously in STOP mode
51978  *  0b11..CPU was previously in SUSPEND mode
51979  */
51980 #define GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_PREVIOUS(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_PREVIOUS_SHIFT)) & GPC_CPU_MODE_CTRL_CM_MODE_STAT_CPU_MODE_PREVIOUS_MASK)
51981 /*! @} */
51982 
51983 /*! @name CM_IRQ_WAKEUP_MASK - CM IRQ0~31 wakeup mask..CM IRQ224~255 wakeup mask */
51984 /*! @{ */
51985 
51986 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_0_31_MASK (0xFFFFFFFFU)
51987 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_0_31_SHIFT (0U)
51988 /*! IRQ_WAKEUP_MASK_0_31 - "1" means the IRQ cannot wakeup CPU platform
51989  */
51990 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_0_31(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_0_31_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_0_31_MASK)
51991 
51992 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_32_63_MASK (0xFFFFFFFFU)
51993 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_32_63_SHIFT (0U)
51994 /*! IRQ_WAKEUP_MASK_32_63 - "1" means the IRQ cannot wakeup CPU platform
51995  */
51996 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_32_63(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_32_63_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_32_63_MASK)
51997 
51998 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_64_95_MASK (0xFFFFFFFFU)
51999 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_64_95_SHIFT (0U)
52000 /*! IRQ_WAKEUP_MASK_64_95 - "1" means the IRQ cannot wakeup CPU platform
52001  */
52002 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_64_95(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_64_95_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_64_95_MASK)
52003 
52004 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_96_127_MASK (0xFFFFFFFFU)
52005 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_96_127_SHIFT (0U)
52006 /*! IRQ_WAKEUP_MASK_96_127 - "1" means the IRQ cannot wakeup CPU platform
52007  */
52008 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_96_127(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_96_127_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_96_127_MASK)
52009 
52010 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_128_159_MASK (0xFFFFFFFFU)
52011 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_128_159_SHIFT (0U)
52012 /*! IRQ_WAKEUP_MASK_128_159 - "1" means the IRQ cannot wakeup CPU platform
52013  */
52014 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_128_159(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_128_159_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_128_159_MASK)
52015 
52016 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_160_191_MASK (0xFFFFFFFFU)
52017 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_160_191_SHIFT (0U)
52018 /*! IRQ_WAKEUP_MASK_160_191 - "1" means the IRQ cannot wakeup CPU platform
52019  */
52020 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_160_191(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_160_191_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_160_191_MASK)
52021 
52022 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_192_223_MASK (0xFFFFFFFFU)
52023 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_192_223_SHIFT (0U)
52024 /*! IRQ_WAKEUP_MASK_192_223 - "1" means the IRQ cannot wakeup CPU platform
52025  */
52026 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_192_223(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_192_223_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_192_223_MASK)
52027 
52028 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_224_255_MASK (0xFFFFFFFFU)
52029 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_224_255_SHIFT (0U)
52030 /*! IRQ_WAKEUP_MASK_224_255 - "1" means the IRQ cannot wakeup CPU platform
52031  */
52032 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_224_255(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_224_255_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_IRQ_WAKEUP_MASK_224_255_MASK)
52033 /*! @} */
52034 
52035 /* The count of GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK */
52036 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_MASK_COUNT (8U)
52037 
52038 /*! @name CM_NON_IRQ_WAKEUP_MASK - CM non-irq wakeup mask */
52039 /*! @{ */
52040 
52041 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_EVENT_WAKEUP_MASK_MASK (0x1U)
52042 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_EVENT_WAKEUP_MASK_SHIFT (0U)
52043 /*! EVENT_WAKEUP_MASK - There are 256 interrupts and 1 event as a wakeup source for GPC. This field masks the 1 event wakeup source.
52044  *  0b1..The event cannot wakeup CPU platform
52045  */
52046 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_EVENT_WAKEUP_MASK(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_EVENT_WAKEUP_MASK_SHIFT)) & GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_EVENT_WAKEUP_MASK_MASK)
52047 
52048 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_DEBUG_WAKEUP_MASK_MASK (0x2U)
52049 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_DEBUG_WAKEUP_MASK_SHIFT (1U)
52050 /*! DEBUG_WAKEUP_MASK - "1" means the debug_wakeup_request cannot wakeup CPU platform
52051  */
52052 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_DEBUG_WAKEUP_MASK(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_DEBUG_WAKEUP_MASK_SHIFT)) & GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_MASK_DEBUG_WAKEUP_MASK_MASK)
52053 /*! @} */
52054 
52055 /*! @name CM_IRQ_WAKEUP_STAT - CM IRQ0~31 wakeup status..CM IRQ224~255 wakeup status */
52056 /*! @{ */
52057 
52058 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_MASK_224_255_MASK (0xFFFFFFFFU)
52059 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_MASK_224_255_SHIFT (0U)
52060 /*! IRQ_WAKEUP_MASK_224_255 - IRQ status
52061  *  0b00000000000000000000000000000000..None
52062  *  0b00000000000000000000000000000001..Valid
52063  */
52064 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_MASK_224_255(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_MASK_224_255_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_MASK_224_255_MASK)
52065 
52066 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_0_31_MASK (0xFFFFFFFFU)
52067 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_0_31_SHIFT (0U)
52068 /*! IRQ_WAKEUP_STAT_0_31 - IRQ status
52069  *  0b00000000000000000000000000000000..None
52070  *  0b00000000000000000000000000000001..Valid
52071  */
52072 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_0_31(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_0_31_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_0_31_MASK)
52073 
52074 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_32_63_MASK (0xFFFFFFFFU)
52075 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_32_63_SHIFT (0U)
52076 /*! IRQ_WAKEUP_STAT_32_63 - IRQ status
52077  *  0b00000000000000000000000000000000..None
52078  *  0b00000000000000000000000000000001..Valid
52079  */
52080 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_32_63(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_32_63_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_32_63_MASK)
52081 
52082 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_64_95_MASK (0xFFFFFFFFU)
52083 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_64_95_SHIFT (0U)
52084 /*! IRQ_WAKEUP_STAT_64_95 - IRQ status
52085  *  0b00000000000000000000000000000000..None
52086  *  0b00000000000000000000000000000001..Valid
52087  */
52088 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_64_95(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_64_95_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_64_95_MASK)
52089 
52090 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_96_127_MASK (0xFFFFFFFFU)
52091 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_96_127_SHIFT (0U)
52092 /*! IRQ_WAKEUP_STAT_96_127 - IRQ status
52093  *  0b00000000000000000000000000000000..None
52094  *  0b00000000000000000000000000000001..Valid
52095  */
52096 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_96_127(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_96_127_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_96_127_MASK)
52097 
52098 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_128_159_MASK (0xFFFFFFFFU)
52099 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_128_159_SHIFT (0U)
52100 /*! IRQ_WAKEUP_STAT_128_159 - IRQ status
52101  *  0b00000000000000000000000000000000..None
52102  *  0b00000000000000000000000000000001..Valid
52103  */
52104 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_128_159(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_128_159_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_128_159_MASK)
52105 
52106 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_160_191_MASK (0xFFFFFFFFU)
52107 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_160_191_SHIFT (0U)
52108 /*! IRQ_WAKEUP_STAT_160_191 - IRQ status
52109  *  0b00000000000000000000000000000000..None
52110  *  0b00000000000000000000000000000001..Valid
52111  */
52112 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_160_191(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_160_191_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_160_191_MASK)
52113 
52114 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_192_223_MASK (0xFFFFFFFFU)
52115 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_192_223_SHIFT (0U)
52116 /*! IRQ_WAKEUP_STAT_192_223 - IRQ status
52117  *  0b00000000000000000000000000000000..None
52118  *  0b00000000000000000000000000000001..Valid
52119  */
52120 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_192_223(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_192_223_SHIFT)) & GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_IRQ_WAKEUP_STAT_192_223_MASK)
52121 /*! @} */
52122 
52123 /* The count of GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT */
52124 #define GPC_CPU_MODE_CTRL_CM_IRQ_WAKEUP_STAT_COUNT (8U)
52125 
52126 /*! @name CM_NON_IRQ_WAKEUP_STAT - CM non-irq wakeup status */
52127 /*! @{ */
52128 
52129 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_EVENT_WAKEUP_STAT_MASK (0x1U)
52130 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_EVENT_WAKEUP_STAT_SHIFT (0U)
52131 /*! EVENT_WAKEUP_STAT - Event wakeup status
52132  *  0b1..Interrupt is asserting (pending)
52133  */
52134 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_EVENT_WAKEUP_STAT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_EVENT_WAKEUP_STAT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_EVENT_WAKEUP_STAT_MASK)
52135 
52136 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_DEBUG_WAKEUP_STAT_MASK (0x2U)
52137 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_DEBUG_WAKEUP_STAT_SHIFT (1U)
52138 /*! DEBUG_WAKEUP_STAT - Debug wakeup status
52139  */
52140 #define GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_DEBUG_WAKEUP_STAT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_DEBUG_WAKEUP_STAT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_NON_IRQ_WAKEUP_STAT_DEBUG_WAKEUP_STAT_MASK)
52141 /*! @} */
52142 
52143 /*! @name CM_SLEEP_SSAR_CTRL - CM sleep SSAR control */
52144 /*! @{ */
52145 
52146 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_STEP_CNT_MASK (0xFFFFU)
52147 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_STEP_CNT_SHIFT (0U)
52148 /*! STEP_CNT - Step count, useage is depending on CNT_MODE.
52149  */
52150 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_STEP_CNT_MASK)
52151 
52152 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_CNT_MODE_MASK (0x30000000U)
52153 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_CNT_MODE_SHIFT (28U)
52154 /*! CNT_MODE - Count mode
52155  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52156  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52157  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52158  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52159  */
52160 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_CNT_MODE_MASK)
52161 
52162 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_DISABLE_MASK (0x80000000U)
52163 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_DISABLE_SHIFT (31U)
52164 /*! DISABLE - Disable this step
52165  */
52166 #define GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_SSAR_CTRL_DISABLE_MASK)
52167 /*! @} */
52168 
52169 /*! @name CM_SLEEP_LPCG_CTRL - CM sleep LPCG control */
52170 /*! @{ */
52171 
52172 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_STEP_CNT_MASK (0xFFFFU)
52173 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_STEP_CNT_SHIFT (0U)
52174 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52175  */
52176 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_STEP_CNT_MASK)
52177 
52178 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_CNT_MODE_MASK (0x30000000U)
52179 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_CNT_MODE_SHIFT (28U)
52180 /*! CNT_MODE - Count mode
52181  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52182  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52183  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52184  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52185  */
52186 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_CNT_MODE_MASK)
52187 
52188 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_DISABLE_MASK (0x80000000U)
52189 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_DISABLE_SHIFT (31U)
52190 /*! DISABLE - Disable this step
52191  */
52192 #define GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_LPCG_CTRL_DISABLE_MASK)
52193 /*! @} */
52194 
52195 /*! @name CM_SLEEP_PLL_CTRL - CM sleep PLL control */
52196 /*! @{ */
52197 
52198 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_STEP_CNT_MASK (0xFFFFU)
52199 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_STEP_CNT_SHIFT (0U)
52200 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52201  */
52202 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_STEP_CNT_MASK)
52203 
52204 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_CNT_MODE_MASK (0x30000000U)
52205 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_CNT_MODE_SHIFT (28U)
52206 /*! CNT_MODE - Count mode
52207  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52208  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52209  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52210  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52211  */
52212 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_CNT_MODE_MASK)
52213 
52214 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_DISABLE_MASK (0x80000000U)
52215 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_DISABLE_SHIFT (31U)
52216 /*! DISABLE - Disable this step
52217  */
52218 #define GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_PLL_CTRL_DISABLE_MASK)
52219 /*! @} */
52220 
52221 /*! @name CM_SLEEP_ISO_CTRL - CM sleep isolation control */
52222 /*! @{ */
52223 
52224 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_STEP_CNT_MASK (0xFFFFU)
52225 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_STEP_CNT_SHIFT (0U)
52226 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52227  */
52228 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_STEP_CNT_MASK)
52229 
52230 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_CNT_MODE_MASK (0x30000000U)
52231 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_CNT_MODE_SHIFT (28U)
52232 /*! CNT_MODE - Count mode
52233  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52234  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52235  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52236  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52237  */
52238 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_CNT_MODE_MASK)
52239 
52240 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_DISABLE_MASK (0x80000000U)
52241 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_DISABLE_SHIFT (31U)
52242 /*! DISABLE - Disable this step
52243  */
52244 #define GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_ISO_CTRL_DISABLE_MASK)
52245 /*! @} */
52246 
52247 /*! @name CM_SLEEP_RESET_CTRL - CM sleep reset control */
52248 /*! @{ */
52249 
52250 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_STEP_CNT_MASK (0xFFFFU)
52251 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_STEP_CNT_SHIFT (0U)
52252 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52253  */
52254 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_STEP_CNT_MASK)
52255 
52256 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_CNT_MODE_MASK (0x30000000U)
52257 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_CNT_MODE_SHIFT (28U)
52258 /*! CNT_MODE - Count mode
52259  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52260  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52261  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52262  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52263  */
52264 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_CNT_MODE_MASK)
52265 
52266 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_DISABLE_MASK (0x80000000U)
52267 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_DISABLE_SHIFT (31U)
52268 /*! DISABLE - Disable this step
52269  */
52270 #define GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_RESET_CTRL_DISABLE_MASK)
52271 /*! @} */
52272 
52273 /*! @name CM_SLEEP_POWER_CTRL - CM sleep power control */
52274 /*! @{ */
52275 
52276 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_STEP_CNT_MASK (0xFFFFU)
52277 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_STEP_CNT_SHIFT (0U)
52278 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52279  */
52280 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_STEP_CNT_MASK)
52281 
52282 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_CNT_MODE_MASK (0x30000000U)
52283 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_CNT_MODE_SHIFT (28U)
52284 /*! CNT_MODE - Count mode
52285  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52286  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52287  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52288  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52289  */
52290 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_CNT_MODE_MASK)
52291 
52292 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_DISABLE_MASK (0x80000000U)
52293 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_DISABLE_SHIFT (31U)
52294 /*! DISABLE - Disable this step
52295  */
52296 #define GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SLEEP_POWER_CTRL_DISABLE_MASK)
52297 /*! @} */
52298 
52299 /*! @name CM_WAKEUP_POWER_CTRL - CM wakeup power control */
52300 /*! @{ */
52301 
52302 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_STEP_CNT_MASK (0xFFFFU)
52303 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_STEP_CNT_SHIFT (0U)
52304 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52305  */
52306 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_STEP_CNT_MASK)
52307 
52308 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_CNT_MODE_MASK (0x30000000U)
52309 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_CNT_MODE_SHIFT (28U)
52310 /*! CNT_MODE - Count mode
52311  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52312  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52313  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52314  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52315  */
52316 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_CNT_MODE_MASK)
52317 
52318 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_DISABLE_MASK (0x80000000U)
52319 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_DISABLE_SHIFT (31U)
52320 /*! DISABLE - Disable this step
52321  */
52322 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_POWER_CTRL_DISABLE_MASK)
52323 /*! @} */
52324 
52325 /*! @name CM_WAKEUP_RESET_CTRL - CM wakeup reset control */
52326 /*! @{ */
52327 
52328 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_STEP_CNT_MASK (0xFFFFU)
52329 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_STEP_CNT_SHIFT (0U)
52330 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52331  */
52332 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_STEP_CNT_MASK)
52333 
52334 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_CNT_MODE_MASK (0x30000000U)
52335 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_CNT_MODE_SHIFT (28U)
52336 /*! CNT_MODE - Count mode
52337  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52338  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52339  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52340  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52341  */
52342 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_CNT_MODE_MASK)
52343 
52344 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_DISABLE_MASK (0x80000000U)
52345 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_DISABLE_SHIFT (31U)
52346 /*! DISABLE - Disable this step
52347  */
52348 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_RESET_CTRL_DISABLE_MASK)
52349 /*! @} */
52350 
52351 /*! @name CM_WAKEUP_ISO_CTRL - CM wakeup isolation control */
52352 /*! @{ */
52353 
52354 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_STEP_CNT_MASK (0xFFFFU)
52355 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_STEP_CNT_SHIFT (0U)
52356 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52357  */
52358 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_STEP_CNT_MASK)
52359 
52360 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_CNT_MODE_MASK (0x30000000U)
52361 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_CNT_MODE_SHIFT (28U)
52362 /*! CNT_MODE - Count mode
52363  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52364  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52365  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52366  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52367  */
52368 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_CNT_MODE_MASK)
52369 
52370 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_DISABLE_MASK (0x80000000U)
52371 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_DISABLE_SHIFT (31U)
52372 /*! DISABLE - Disable this step
52373  */
52374 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_ISO_CTRL_DISABLE_MASK)
52375 /*! @} */
52376 
52377 /*! @name CM_WAKEUP_PLL_CTRL - CM wakeup PLL control */
52378 /*! @{ */
52379 
52380 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_STEP_CNT_MASK (0xFFFFU)
52381 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_STEP_CNT_SHIFT (0U)
52382 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52383  */
52384 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_STEP_CNT_MASK)
52385 
52386 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_CNT_MODE_MASK (0x30000000U)
52387 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_CNT_MODE_SHIFT (28U)
52388 /*! CNT_MODE - Count mode
52389  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52390  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52391  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52392  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52393  */
52394 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_CNT_MODE_MASK)
52395 
52396 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_DISABLE_MASK (0x80000000U)
52397 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_DISABLE_SHIFT (31U)
52398 /*! DISABLE - Disable this step
52399  */
52400 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_PLL_CTRL_DISABLE_MASK)
52401 /*! @} */
52402 
52403 /*! @name CM_WAKEUP_LPCG_CTRL - CM wakeup LPCG control */
52404 /*! @{ */
52405 
52406 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_STEP_CNT_MASK (0xFFFFU)
52407 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_STEP_CNT_SHIFT (0U)
52408 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52409  */
52410 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_STEP_CNT_MASK)
52411 
52412 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_CNT_MODE_MASK (0x30000000U)
52413 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_CNT_MODE_SHIFT (28U)
52414 /*! CNT_MODE - Count mode
52415  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52416  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52417  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52418  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52419  */
52420 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_CNT_MODE_MASK)
52421 
52422 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_DISABLE_MASK (0x80000000U)
52423 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_DISABLE_SHIFT (31U)
52424 /*! DISABLE - Disable this step
52425  */
52426 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_LPCG_CTRL_DISABLE_MASK)
52427 /*! @} */
52428 
52429 /*! @name CM_WAKEUP_SSAR_CTRL - CM wakeup SSAR control */
52430 /*! @{ */
52431 
52432 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_STEP_CNT_MASK (0xFFFFU)
52433 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_STEP_CNT_SHIFT (0U)
52434 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
52435  */
52436 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_STEP_CNT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_STEP_CNT_MASK)
52437 
52438 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_CNT_MODE_MASK (0x30000000U)
52439 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_CNT_MODE_SHIFT (28U)
52440 /*! CNT_MODE - Count mode
52441  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
52442  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
52443  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
52444  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
52445  */
52446 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_CNT_MODE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_CNT_MODE_MASK)
52447 
52448 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_DISABLE_MASK (0x80000000U)
52449 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_DISABLE_SHIFT (31U)
52450 /*! DISABLE - Disable this step
52451  */
52452 #define GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_DISABLE_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAKEUP_SSAR_CTRL_DISABLE_MASK)
52453 /*! @} */
52454 
52455 /*! @name CM_SP_CTRL - CM Setpoint Control */
52456 /*! @{ */
52457 
52458 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_EN_MASK (0x1U)
52459 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_EN_SHIFT (0U)
52460 /*! CPU_SP_RUN_EN - Request a Setpoint transition when this bit is set
52461  */
52462 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_EN_MASK)
52463 
52464 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_MASK (0x1EU)
52465 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_SHIFT (1U)
52466 /*! CPU_SP_RUN - The Setpoint that CPU want the system to transit to when CPU_SP_RUN_EN is set
52467  */
52468 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_RUN_MASK)
52469 
52470 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_EN_MASK (0x20U)
52471 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_EN_SHIFT (5U)
52472 /*! CPU_SP_SLEEP_EN - 1 means enable Setpoint transition on next CPU platform sleep sequence
52473  */
52474 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_EN_MASK)
52475 
52476 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_MASK (0x3C0U)
52477 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_SHIFT (6U)
52478 /*! CPU_SP_SLEEP - The Setpoint that CPU want the system to transit to on next CPU platform sleep sequence
52479  */
52480 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_SLEEP_MASK)
52481 
52482 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_EN_MASK (0x400U)
52483 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_EN_SHIFT (10U)
52484 /*! CPU_SP_WAKEUP_EN - 1 means enable Setpoint transition on next CPU platform wakeup sequence
52485  */
52486 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_EN_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_EN_MASK)
52487 
52488 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_MASK (0x7800U)
52489 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SHIFT (11U)
52490 /*! CPU_SP_WAKEUP - The Setpoint that CPU want the system to transit to on next CPU platform wakeup sequence
52491  */
52492 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_MASK)
52493 
52494 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SEL_MASK (0x8000U)
52495 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SEL_SHIFT (15U)
52496 /*! CPU_SP_WAKEUP_SEL - Select the Setpoint transiton on the next CPU platform wakeup sequence
52497  *  0b0..Request SP transition to CPU_SP_WAKEUP
52498  *  0b1..Request SP transition to the Setpoint when the sleep event happens, which is captured in CPU_SP_PREVIOUS
52499  */
52500 #define GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SEL(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SEL_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_CTRL_CPU_SP_WAKEUP_SEL_MASK)
52501 /*! @} */
52502 
52503 /*! @name CM_SP_STAT - CM Setpoint Status */
52504 /*! @{ */
52505 
52506 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_CURRENT_MASK (0xFU)
52507 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_CURRENT_SHIFT (0U)
52508 /*! CPU_SP_CURRENT - The current Setpoint of the system
52509  */
52510 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_CURRENT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_CURRENT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_CURRENT_MASK)
52511 
52512 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_PREVIOUS_MASK (0xF0U)
52513 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_PREVIOUS_SHIFT (4U)
52514 /*! CPU_SP_PREVIOUS - The previous Setpoint of the system
52515  */
52516 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_PREVIOUS(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_PREVIOUS_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_PREVIOUS_MASK)
52517 
52518 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_TARGET_MASK (0xF00U)
52519 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_TARGET_SHIFT (8U)
52520 /*! CPU_SP_TARGET - The requested Setpoint from the CPU platform
52521  */
52522 #define GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_TARGET(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_TARGET_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_STAT_CPU_SP_TARGET_MASK)
52523 /*! @} */
52524 
52525 /*! @name CM_RUN_MODE_MAPPING - CM Run Mode Setpoint Allowed */
52526 /*! @{ */
52527 
52528 #define GPC_CPU_MODE_CTRL_CM_RUN_MODE_MAPPING_CPU_RUN_MODE_MAPPING_MASK (0xFFFFU)
52529 #define GPC_CPU_MODE_CTRL_CM_RUN_MODE_MAPPING_CPU_RUN_MODE_MAPPING_SHIFT (0U)
52530 /*! CPU_RUN_MODE_MAPPING - Defines which Setpoint is allowed when CPU enters RUN mode. Each bit stands for 1 Setpoint, locked by LOCK_CFG field
52531  */
52532 #define GPC_CPU_MODE_CTRL_CM_RUN_MODE_MAPPING_CPU_RUN_MODE_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_RUN_MODE_MAPPING_CPU_RUN_MODE_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_RUN_MODE_MAPPING_CPU_RUN_MODE_MAPPING_MASK)
52533 /*! @} */
52534 
52535 /*! @name CM_WAIT_MODE_MAPPING - CM Wait Mode Setpoint Allowed */
52536 /*! @{ */
52537 
52538 #define GPC_CPU_MODE_CTRL_CM_WAIT_MODE_MAPPING_CPU_WAIT_MODE_MAPPING_MASK (0xFFFFU)
52539 #define GPC_CPU_MODE_CTRL_CM_WAIT_MODE_MAPPING_CPU_WAIT_MODE_MAPPING_SHIFT (0U)
52540 /*! CPU_WAIT_MODE_MAPPING - Defines which Setpoint is allowed when CPU enters WAIT mode. Each bit stands for 1 Setpoint, locked by LOCK_CFG
52541  */
52542 #define GPC_CPU_MODE_CTRL_CM_WAIT_MODE_MAPPING_CPU_WAIT_MODE_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_WAIT_MODE_MAPPING_CPU_WAIT_MODE_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_WAIT_MODE_MAPPING_CPU_WAIT_MODE_MAPPING_MASK)
52543 /*! @} */
52544 
52545 /*! @name CM_STOP_MODE_MAPPING - CM Stop Mode Setpoint Allowed */
52546 /*! @{ */
52547 
52548 #define GPC_CPU_MODE_CTRL_CM_STOP_MODE_MAPPING_CPU_STOP_MODE_MAPPING_MASK (0xFFFFU)
52549 #define GPC_CPU_MODE_CTRL_CM_STOP_MODE_MAPPING_CPU_STOP_MODE_MAPPING_SHIFT (0U)
52550 /*! CPU_STOP_MODE_MAPPING - Defines which Setpoint is allowed when CPU enters STOP mode. Each bit stands for 1 Setpoint, locked by LOCK_CFG
52551  */
52552 #define GPC_CPU_MODE_CTRL_CM_STOP_MODE_MAPPING_CPU_STOP_MODE_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STOP_MODE_MAPPING_CPU_STOP_MODE_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STOP_MODE_MAPPING_CPU_STOP_MODE_MAPPING_MASK)
52553 /*! @} */
52554 
52555 /*! @name CM_SUSPEND_MODE_MAPPING - CM Suspend Mode Setpoint Allowed */
52556 /*! @{ */
52557 
52558 #define GPC_CPU_MODE_CTRL_CM_SUSPEND_MODE_MAPPING_CPU_SUSPEND_MODE_MAPPING_MASK (0xFFFFU)
52559 #define GPC_CPU_MODE_CTRL_CM_SUSPEND_MODE_MAPPING_CPU_SUSPEND_MODE_MAPPING_SHIFT (0U)
52560 /*! CPU_SUSPEND_MODE_MAPPING - Defines which Setpoint is allowed when CPU enters SUSPEND mode. Each bit stands for 1 Setpoint, locked by LOCK_CFG
52561  */
52562 #define GPC_CPU_MODE_CTRL_CM_SUSPEND_MODE_MAPPING_CPU_SUSPEND_MODE_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SUSPEND_MODE_MAPPING_CPU_SUSPEND_MODE_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SUSPEND_MODE_MAPPING_CPU_SUSPEND_MODE_MAPPING_MASK)
52563 /*! @} */
52564 
52565 /*! @name CM_SP_MAPPING - CM Setpoint 0 Mapping..CM Setpoint 15 Mapping */
52566 /*! @{ */
52567 
52568 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP0_MAPPING_MASK (0xFFFFU)
52569 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP0_MAPPING_SHIFT (0U)
52570 /*! CPU_SP0_MAPPING - Defines when SP0 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52571  */
52572 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP0_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP0_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP0_MAPPING_MASK)
52573 
52574 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP1_MAPPING_MASK (0xFFFFU)
52575 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP1_MAPPING_SHIFT (0U)
52576 /*! CPU_SP1_MAPPING - Defines when SP1 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52577  */
52578 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP1_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP1_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP1_MAPPING_MASK)
52579 
52580 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP2_MAPPING_MASK (0xFFFFU)
52581 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP2_MAPPING_SHIFT (0U)
52582 /*! CPU_SP2_MAPPING - Defines when SP2 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52583  */
52584 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP2_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP2_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP2_MAPPING_MASK)
52585 
52586 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP3_MAPPING_MASK (0xFFFFU)
52587 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP3_MAPPING_SHIFT (0U)
52588 /*! CPU_SP3_MAPPING - Defines when SP3 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52589  */
52590 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP3_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP3_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP3_MAPPING_MASK)
52591 
52592 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP4_MAPPING_MASK (0xFFFFU)
52593 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP4_MAPPING_SHIFT (0U)
52594 /*! CPU_SP4_MAPPING - Defines when SP4 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52595  */
52596 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP4_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP4_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP4_MAPPING_MASK)
52597 
52598 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP5_MAPPING_MASK (0xFFFFU)
52599 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP5_MAPPING_SHIFT (0U)
52600 /*! CPU_SP5_MAPPING - Defines when SP5 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52601  */
52602 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP5_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP5_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP5_MAPPING_MASK)
52603 
52604 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP6_MAPPING_MASK (0xFFFFU)
52605 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP6_MAPPING_SHIFT (0U)
52606 /*! CPU_SP6_MAPPING - Defines when SP6 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52607  */
52608 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP6_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP6_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP6_MAPPING_MASK)
52609 
52610 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP7_MAPPING_MASK (0xFFFFU)
52611 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP7_MAPPING_SHIFT (0U)
52612 /*! CPU_SP7_MAPPING - Defines when SP7 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52613  */
52614 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP7_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP7_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP7_MAPPING_MASK)
52615 
52616 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP8_MAPPING_MASK (0xFFFFU)
52617 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP8_MAPPING_SHIFT (0U)
52618 /*! CPU_SP8_MAPPING - Defines when SP8 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52619  */
52620 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP8_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP8_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP8_MAPPING_MASK)
52621 
52622 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP9_MAPPING_MASK (0xFFFFU)
52623 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP9_MAPPING_SHIFT (0U)
52624 /*! CPU_SP9_MAPPING - Defines when SP9 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52625  */
52626 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP9_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP9_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP9_MAPPING_MASK)
52627 
52628 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP10_MAPPING_MASK (0xFFFFU)
52629 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP10_MAPPING_SHIFT (0U)
52630 /*! CPU_SP10_MAPPING - Defines when SP10 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52631  */
52632 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP10_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP10_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP10_MAPPING_MASK)
52633 
52634 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP11_MAPPING_MASK (0xFFFFU)
52635 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP11_MAPPING_SHIFT (0U)
52636 /*! CPU_SP11_MAPPING - Defines when SP11 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52637  */
52638 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP11_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP11_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP11_MAPPING_MASK)
52639 
52640 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP12_MAPPING_MASK (0xFFFFU)
52641 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP12_MAPPING_SHIFT (0U)
52642 /*! CPU_SP12_MAPPING - Defines when SP12 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52643  */
52644 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP12_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP12_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP12_MAPPING_MASK)
52645 
52646 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP13_MAPPING_MASK (0xFFFFU)
52647 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP13_MAPPING_SHIFT (0U)
52648 /*! CPU_SP13_MAPPING - Defines when SP13 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52649  */
52650 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP13_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP13_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP13_MAPPING_MASK)
52651 
52652 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP14_MAPPING_MASK (0xFFFFU)
52653 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP14_MAPPING_SHIFT (0U)
52654 /*! CPU_SP14_MAPPING - Defines when SP14 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52655  */
52656 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP14_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP14_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP14_MAPPING_MASK)
52657 
52658 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP15_MAPPING_MASK (0xFFFFU)
52659 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP15_MAPPING_SHIFT (0U)
52660 /*! CPU_SP15_MAPPING - Defines when SP15 is set as the CPU_SP_TARGET, which SP is allowed, locked by LOCK_CFG field
52661  */
52662 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP15_MAPPING(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP15_MAPPING_SHIFT)) & GPC_CPU_MODE_CTRL_CM_SP_MAPPING_CPU_SP15_MAPPING_MASK)
52663 /*! @} */
52664 
52665 /* The count of GPC_CPU_MODE_CTRL_CM_SP_MAPPING */
52666 #define GPC_CPU_MODE_CTRL_CM_SP_MAPPING_COUNT    (16U)
52667 
52668 /*! @name CM_STBY_CTRL - CM standby control */
52669 /*! @{ */
52670 
52671 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAIT_MASK (0x1U)
52672 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAIT_SHIFT (0U)
52673 /*! STBY_WAIT - 0x1: Request the chip into standby mode when CPU entering WAIT mode, locked by LOCK_CFG field.
52674  */
52675 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAIT(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAIT_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAIT_MASK)
52676 
52677 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_STOP_MASK (0x2U)
52678 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_STOP_SHIFT (1U)
52679 /*! STBY_STOP - 0x1: Request the chip into standby mode when CPU entering STOP mode, locked by LOCK_CFG field.
52680  */
52681 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_STOP(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_STOP_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_STOP_MASK)
52682 
52683 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SUSPEND_MASK (0x4U)
52684 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SUSPEND_SHIFT (2U)
52685 /*! STBY_SUSPEND - 0x1: Request the chip into standby mode when CPU entering SUSPEND mode, locked by LOCK_CFG field.
52686  */
52687 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SUSPEND_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SUSPEND_MASK)
52688 
52689 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SLEEP_BUSY_MASK (0x10000U)
52690 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SLEEP_BUSY_SHIFT (16U)
52691 /*! STBY_SLEEP_BUSY - Indicate the CPU is busy entering standby mode.
52692  */
52693 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SLEEP_BUSY(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SLEEP_BUSY_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_SLEEP_BUSY_MASK)
52694 
52695 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAKEUP_BUSY_MASK (0x20000U)
52696 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAKEUP_BUSY_SHIFT (17U)
52697 /*! STBY_WAKEUP_BUSY - Indicate the CPU is busy exiting standby mode.
52698  */
52699 #define GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAKEUP_BUSY(x) (((uint32_t)(((uint32_t)(x)) << GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAKEUP_BUSY_SHIFT)) & GPC_CPU_MODE_CTRL_CM_STBY_CTRL_STBY_WAKEUP_BUSY_MASK)
52700 /*! @} */
52701 
52702 
52703 /*!
52704  * @}
52705  */ /* end of group GPC_CPU_MODE_CTRL_Register_Masks */
52706 
52707 
52708 /* GPC_CPU_MODE_CTRL - Peripheral instance base addresses */
52709 /** Peripheral GPC_CPU_MODE_CTRL_0 base address */
52710 #define GPC_CPU_MODE_CTRL_0_BASE                 (0x40C00000u)
52711 /** Peripheral GPC_CPU_MODE_CTRL_0 base pointer */
52712 #define GPC_CPU_MODE_CTRL_0                      ((GPC_CPU_MODE_CTRL_Type *)GPC_CPU_MODE_CTRL_0_BASE)
52713 /** Peripheral GPC_CPU_MODE_CTRL_1 base address */
52714 #define GPC_CPU_MODE_CTRL_1_BASE                 (0x40C00800u)
52715 /** Peripheral GPC_CPU_MODE_CTRL_1 base pointer */
52716 #define GPC_CPU_MODE_CTRL_1                      ((GPC_CPU_MODE_CTRL_Type *)GPC_CPU_MODE_CTRL_1_BASE)
52717 /** Array initializer of GPC_CPU_MODE_CTRL peripheral base addresses */
52718 #define GPC_CPU_MODE_CTRL_BASE_ADDRS             { GPC_CPU_MODE_CTRL_0_BASE, GPC_CPU_MODE_CTRL_1_BASE }
52719 /** Array initializer of GPC_CPU_MODE_CTRL peripheral base pointers */
52720 #define GPC_CPU_MODE_CTRL_BASE_PTRS              { GPC_CPU_MODE_CTRL_0, GPC_CPU_MODE_CTRL_1 }
52721 
52722 /*!
52723  * @}
52724  */ /* end of group GPC_CPU_MODE_CTRL_Peripheral_Access_Layer */
52725 
52726 
52727 /* ----------------------------------------------------------------------------
52728    -- GPC_SET_POINT_CTRL Peripheral Access Layer
52729    ---------------------------------------------------------------------------- */
52730 
52731 /*!
52732  * @addtogroup GPC_SET_POINT_CTRL_Peripheral_Access_Layer GPC_SET_POINT_CTRL Peripheral Access Layer
52733  * @{
52734  */
52735 
52736 /** GPC_SET_POINT_CTRL - Register Layout Typedef */
52737 typedef struct {
52738        uint8_t RESERVED_0[4];
52739   __IO uint32_t SP_AUTHEN_CTRL;                    /**< SP Authentication Control, offset: 0x4 */
52740   __IO uint32_t SP_INT_CTRL;                       /**< SP Interrupt Control, offset: 0x8 */
52741        uint8_t RESERVED_1[4];
52742   __I  uint32_t SP_CPU_REQ;                        /**< CPU SP Request, offset: 0x10 */
52743   __I  uint32_t SP_SYS_STAT;                       /**< SP System Status, offset: 0x14 */
52744        uint8_t RESERVED_2[4];
52745   __IO uint32_t SP_ROSC_CTRL;                      /**< SP ROSC Control, offset: 0x1C */
52746        uint8_t RESERVED_3[32];
52747   __IO uint32_t SP_PRIORITY_0_7;                   /**< SP0~7 Priority, offset: 0x40 */
52748   __IO uint32_t SP_PRIORITY_8_15;                  /**< SP8~15 Priority, offset: 0x44 */
52749        uint8_t RESERVED_4[184];
52750   __IO uint32_t SP_SSAR_SAVE_CTRL;                 /**< SP SSAR save control, offset: 0x100 */
52751        uint8_t RESERVED_5[12];
52752   __IO uint32_t SP_LPCG_OFF_CTRL;                  /**< SP LPCG off control, offset: 0x110 */
52753        uint8_t RESERVED_6[12];
52754   __IO uint32_t SP_GROUP_DOWN_CTRL;                /**< SP group down control, offset: 0x120 */
52755        uint8_t RESERVED_7[12];
52756   __IO uint32_t SP_ROOT_DOWN_CTRL;                 /**< SP root down control, offset: 0x130 */
52757        uint8_t RESERVED_8[12];
52758   __IO uint32_t SP_PLL_OFF_CTRL;                   /**< SP PLL off control, offset: 0x140 */
52759        uint8_t RESERVED_9[12];
52760   __IO uint32_t SP_ISO_ON_CTRL;                    /**< SP ISO on control, offset: 0x150 */
52761        uint8_t RESERVED_10[12];
52762   __IO uint32_t SP_RESET_EARLY_CTRL;               /**< SP reset early control, offset: 0x160 */
52763        uint8_t RESERVED_11[12];
52764   __IO uint32_t SP_POWER_OFF_CTRL;                 /**< SP power off control, offset: 0x170 */
52765        uint8_t RESERVED_12[12];
52766   __IO uint32_t SP_BIAS_OFF_CTRL;                  /**< SP bias off control, offset: 0x180 */
52767        uint8_t RESERVED_13[12];
52768   __IO uint32_t SP_BG_PLDO_OFF_CTRL;               /**< SP bandgap and PLL_LDO off control, offset: 0x190 */
52769        uint8_t RESERVED_14[12];
52770   __IO uint32_t SP_LDO_PRE_CTRL;                   /**< SP LDO pre control, offset: 0x1A0 */
52771        uint8_t RESERVED_15[12];
52772   __IO uint32_t SP_DCDC_DOWN_CTRL;                 /**< SP DCDC down control, offset: 0x1B0 */
52773        uint8_t RESERVED_16[76];
52774   __IO uint32_t SP_DCDC_UP_CTRL;                   /**< SP DCDC up control, offset: 0x200 */
52775        uint8_t RESERVED_17[12];
52776   __IO uint32_t SP_LDO_POST_CTRL;                  /**< SP LDO post control, offset: 0x210 */
52777        uint8_t RESERVED_18[12];
52778   __IO uint32_t SP_BG_PLDO_ON_CTRL;                /**< SP bandgap and PLL_LDO on control, offset: 0x220 */
52779        uint8_t RESERVED_19[12];
52780   __IO uint32_t SP_BIAS_ON_CTRL;                   /**< SP bias on control, offset: 0x230 */
52781        uint8_t RESERVED_20[12];
52782   __IO uint32_t SP_POWER_ON_CTRL;                  /**< SP power on control, offset: 0x240 */
52783        uint8_t RESERVED_21[12];
52784   __IO uint32_t SP_RESET_LATE_CTRL;                /**< SP reset late control, offset: 0x250 */
52785        uint8_t RESERVED_22[12];
52786   __IO uint32_t SP_ISO_OFF_CTRL;                   /**< SP ISO off control, offset: 0x260 */
52787        uint8_t RESERVED_23[12];
52788   __IO uint32_t SP_PLL_ON_CTRL;                    /**< SP PLL on control, offset: 0x270 */
52789        uint8_t RESERVED_24[12];
52790   __IO uint32_t SP_ROOT_UP_CTRL;                   /**< SP root up control, offset: 0x280 */
52791        uint8_t RESERVED_25[12];
52792   __IO uint32_t SP_GROUP_UP_CTRL;                  /**< SP group up control, offset: 0x290 */
52793        uint8_t RESERVED_26[12];
52794   __IO uint32_t SP_LPCG_ON_CTRL;                   /**< SP LPCG on control, offset: 0x2A0 */
52795        uint8_t RESERVED_27[12];
52796   __IO uint32_t SP_SSAR_RESTORE_CTRL;              /**< SP SSAR restore control, offset: 0x2B0 */
52797 } GPC_SET_POINT_CTRL_Type;
52798 
52799 /* ----------------------------------------------------------------------------
52800    -- GPC_SET_POINT_CTRL Register Masks
52801    ---------------------------------------------------------------------------- */
52802 
52803 /*!
52804  * @addtogroup GPC_SET_POINT_CTRL_Register_Masks GPC_SET_POINT_CTRL Register Masks
52805  * @{
52806  */
52807 
52808 /*! @name SP_AUTHEN_CTRL - SP Authentication Control */
52809 /*! @{ */
52810 
52811 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_USER_MASK (0x1U)
52812 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_USER_SHIFT (0U)
52813 /*! USER - Allow user mode access
52814  *  0b0..Allow only privilege mode to access setpoint control registers
52815  *  0b1..Allow both privilege and user mode to access setpoint control registers
52816  */
52817 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_USER(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_USER_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_USER_MASK)
52818 
52819 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_NONSECURE_MASK (0x2U)
52820 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_NONSECURE_SHIFT (1U)
52821 /*! NONSECURE - Allow non-secure mode access
52822  *  0b0..Allow only secure mode to access setpoint control registers
52823  *  0b1..Allow both secure and non-secure mode to access setpoint control registers
52824  */
52825 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_NONSECURE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_NONSECURE_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_NONSECURE_MASK)
52826 
52827 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_SETTING_MASK (0x10U)
52828 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_SETTING_SHIFT (4U)
52829 /*! LOCK_SETTING - Lock NONSECURE and USER
52830  */
52831 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_SETTING(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_SETTING_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_SETTING_MASK)
52832 
52833 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_WHITE_LIST_MASK (0xF00U)
52834 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_WHITE_LIST_SHIFT (8U)
52835 /*! WHITE_LIST - Domain ID white list
52836  */
52837 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_WHITE_LIST(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_WHITE_LIST_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_WHITE_LIST_MASK)
52838 
52839 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_LIST_MASK (0x1000U)
52840 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_LIST_SHIFT (12U)
52841 /*! LOCK_LIST - White list lock
52842  */
52843 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_LIST(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_LIST_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_LIST_MASK)
52844 
52845 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_CFG_MASK (0x100000U)
52846 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_CFG_SHIFT (20U)
52847 /*! LOCK_CFG - Configuration lock
52848  */
52849 #define GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_CFG(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & GPC_SET_POINT_CTRL_SP_AUTHEN_CTRL_LOCK_CFG_MASK)
52850 /*! @} */
52851 
52852 /*! @name SP_INT_CTRL - SP Interrupt Control */
52853 /*! @{ */
52854 
52855 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_EN_MASK (0x1U)
52856 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_EN_SHIFT (0U)
52857 /*! NO_ALLOWED_SP_INT_EN - no_allowed_set_point interrupt enable
52858  */
52859 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_EN(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_EN_SHIFT)) & GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_EN_MASK)
52860 
52861 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_MASK (0x2U)
52862 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_SHIFT (1U)
52863 /*! NO_ALLOWED_SP_INT - no_allowed_set_point interrupt
52864  */
52865 #define GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_SHIFT)) & GPC_SET_POINT_CTRL_SP_INT_CTRL_NO_ALLOWED_SP_INT_MASK)
52866 /*! @} */
52867 
52868 /*! @name SP_CPU_REQ - CPU SP Request */
52869 /*! @{ */
52870 
52871 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU0_MASK (0xFU)
52872 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU0_SHIFT (0U)
52873 /*! SP_REQ_CPU0 - Setpoint requested by CPU0
52874  */
52875 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU0(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU0_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU0_MASK)
52876 
52877 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU1_MASK (0xF0U)
52878 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU1_SHIFT (4U)
52879 /*! SP_REQ_CPU1 - Setpoint requested by CPU1
52880  */
52881 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU1(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU1_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU1_MASK)
52882 
52883 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU2_MASK (0xF00U)
52884 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU2_SHIFT (8U)
52885 /*! SP_REQ_CPU2 - Setpoint requested by CPU2
52886  */
52887 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU2(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU2_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU2_MASK)
52888 
52889 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU3_MASK (0xF000U)
52890 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU3_SHIFT (12U)
52891 /*! SP_REQ_CPU3 - Setpoint requested by CPU3
52892  */
52893 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU3(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU3_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_REQ_CPU3_MASK)
52894 
52895 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU0_MASK (0xF0000U)
52896 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU0_SHIFT (16U)
52897 /*! SP_ACCEPTED_CPU0 - CPU0 Setpoint accepted by SP controller
52898  */
52899 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU0(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU0_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU0_MASK)
52900 
52901 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU1_MASK (0xF00000U)
52902 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU1_SHIFT (20U)
52903 /*! SP_ACCEPTED_CPU1 - CPU1 Setpoint accepted by SP controller
52904  */
52905 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU1(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU1_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU1_MASK)
52906 
52907 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU2_MASK (0xF000000U)
52908 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU2_SHIFT (24U)
52909 /*! SP_ACCEPTED_CPU2 - CPU2 Setpoint accepted by SP controller
52910  */
52911 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU2(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU2_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU2_MASK)
52912 
52913 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU3_MASK (0xF0000000U)
52914 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU3_SHIFT (28U)
52915 /*! SP_ACCEPTED_CPU3 - CPU3 Setpoint accepted by SP controller
52916  */
52917 #define GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU3(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU3_SHIFT)) & GPC_SET_POINT_CTRL_SP_CPU_REQ_SP_ACCEPTED_CPU3_MASK)
52918 /*! @} */
52919 
52920 /*! @name SP_SYS_STAT - SP System Status */
52921 /*! @{ */
52922 
52923 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_ALLOWED_MASK (0xFFFFU)
52924 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_ALLOWED_SHIFT (0U)
52925 /*! SYS_SP_ALLOWED - Allowed Setpoints by all current CPU Setpoint requests
52926  */
52927 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_ALLOWED(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_ALLOWED_SHIFT)) & GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_ALLOWED_MASK)
52928 
52929 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_TARGET_MASK (0xF0000U)
52930 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_TARGET_SHIFT (16U)
52931 /*! SYS_SP_TARGET - The Setpoint chosen as the target setpoint
52932  */
52933 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_TARGET(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_TARGET_SHIFT)) & GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_TARGET_MASK)
52934 
52935 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_CURRENT_MASK (0xF00000U)
52936 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_CURRENT_SHIFT (20U)
52937 /*! SYS_SP_CURRENT - Current Setpoint, only valid when not SP trans busy
52938  */
52939 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_CURRENT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_CURRENT_SHIFT)) & GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_CURRENT_MASK)
52940 
52941 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_PREVIOUS_MASK (0xF000000U)
52942 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_PREVIOUS_SHIFT (24U)
52943 /*! SYS_SP_PREVIOUS - Previous Setpoint, only valid when not SP trans busy
52944  */
52945 #define GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_PREVIOUS(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_PREVIOUS_SHIFT)) & GPC_SET_POINT_CTRL_SP_SYS_STAT_SYS_SP_PREVIOUS_MASK)
52946 /*! @} */
52947 
52948 /*! @name SP_ROSC_CTRL - SP ROSC Control */
52949 /*! @{ */
52950 
52951 #define GPC_SET_POINT_CTRL_SP_ROSC_CTRL_SP_ALLOW_ROSC_OFF_MASK (0xFFFFU)
52952 #define GPC_SET_POINT_CTRL_SP_ROSC_CTRL_SP_ALLOW_ROSC_OFF_SHIFT (0U)
52953 /*! SP_ALLOW_ROSC_OFF - Allow shutting off the ROSC
52954  */
52955 #define GPC_SET_POINT_CTRL_SP_ROSC_CTRL_SP_ALLOW_ROSC_OFF(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROSC_CTRL_SP_ALLOW_ROSC_OFF_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROSC_CTRL_SP_ALLOW_ROSC_OFF_MASK)
52956 /*! @} */
52957 
52958 /*! @name SP_PRIORITY_0_7 - SP0~7 Priority */
52959 /*! @{ */
52960 
52961 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP0_PRIORITY_MASK (0xFU)
52962 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP0_PRIORITY_SHIFT (0U)
52963 /*! SYS_SP0_PRIORITY - priority of Setpoint 0
52964  */
52965 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP0_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP0_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP0_PRIORITY_MASK)
52966 
52967 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP1_PRIORITY_MASK (0xF0U)
52968 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP1_PRIORITY_SHIFT (4U)
52969 /*! SYS_SP1_PRIORITY - priority of Setpoint 1
52970  */
52971 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP1_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP1_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP1_PRIORITY_MASK)
52972 
52973 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP2_PRIORITY_MASK (0xF00U)
52974 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP2_PRIORITY_SHIFT (8U)
52975 /*! SYS_SP2_PRIORITY - priority of Setpoint 2
52976  */
52977 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP2_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP2_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP2_PRIORITY_MASK)
52978 
52979 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP3_PRIORITY_MASK (0xF000U)
52980 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP3_PRIORITY_SHIFT (12U)
52981 /*! SYS_SP3_PRIORITY - priority of Setpoint 3
52982  */
52983 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP3_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP3_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP3_PRIORITY_MASK)
52984 
52985 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP4_PRIORITY_MASK (0xF0000U)
52986 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP4_PRIORITY_SHIFT (16U)
52987 /*! SYS_SP4_PRIORITY - priority of Setpoint 4
52988  */
52989 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP4_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP4_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP4_PRIORITY_MASK)
52990 
52991 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP5_PRIORITY_MASK (0xF00000U)
52992 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP5_PRIORITY_SHIFT (20U)
52993 /*! SYS_SP5_PRIORITY - priority of Setpoint 5
52994  */
52995 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP5_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP5_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP5_PRIORITY_MASK)
52996 
52997 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP6_PRIORITY_MASK (0xF000000U)
52998 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP6_PRIORITY_SHIFT (24U)
52999 /*! SYS_SP6_PRIORITY - priority of Setpoint 6
53000  */
53001 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP6_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP6_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP6_PRIORITY_MASK)
53002 
53003 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP7_PRIORITY_MASK (0xF0000000U)
53004 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP7_PRIORITY_SHIFT (28U)
53005 /*! SYS_SP7_PRIORITY - priority of Setpoint 7
53006  */
53007 #define GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP7_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP7_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_0_7_SYS_SP7_PRIORITY_MASK)
53008 /*! @} */
53009 
53010 /*! @name SP_PRIORITY_8_15 - SP8~15 Priority */
53011 /*! @{ */
53012 
53013 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP8_PRIORITY_MASK (0xFU)
53014 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP8_PRIORITY_SHIFT (0U)
53015 /*! SYS_SP8_PRIORITY - priority of Setpoint 8
53016  */
53017 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP8_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP8_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP8_PRIORITY_MASK)
53018 
53019 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP9_PRIORITY_MASK (0xF0U)
53020 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP9_PRIORITY_SHIFT (4U)
53021 /*! SYS_SP9_PRIORITY - priority of Setpoint 9
53022  */
53023 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP9_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP9_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP9_PRIORITY_MASK)
53024 
53025 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP10_PRIORITY_MASK (0xF00U)
53026 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP10_PRIORITY_SHIFT (8U)
53027 /*! SYS_SP10_PRIORITY - priority of Setpoint 10
53028  */
53029 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP10_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP10_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP10_PRIORITY_MASK)
53030 
53031 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP11_PRIORITY_MASK (0xF000U)
53032 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP11_PRIORITY_SHIFT (12U)
53033 /*! SYS_SP11_PRIORITY - priority of Setpoint 11
53034  */
53035 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP11_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP11_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP11_PRIORITY_MASK)
53036 
53037 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP12_PRIORITY_MASK (0xF0000U)
53038 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP12_PRIORITY_SHIFT (16U)
53039 /*! SYS_SP12_PRIORITY - priority of Setpoint 12
53040  */
53041 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP12_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP12_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP12_PRIORITY_MASK)
53042 
53043 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP13_PRIORITY_MASK (0xF00000U)
53044 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP13_PRIORITY_SHIFT (20U)
53045 /*! SYS_SP13_PRIORITY - priority of Setpoint 13
53046  */
53047 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP13_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP13_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP13_PRIORITY_MASK)
53048 
53049 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP14_PRIORITY_MASK (0xF000000U)
53050 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP14_PRIORITY_SHIFT (24U)
53051 /*! SYS_SP14_PRIORITY - priority of Setpoint 14
53052  */
53053 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP14_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP14_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP14_PRIORITY_MASK)
53054 
53055 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP15_PRIORITY_MASK (0xF0000000U)
53056 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP15_PRIORITY_SHIFT (28U)
53057 /*! SYS_SP15_PRIORITY - priority of Setpoint 15
53058  */
53059 #define GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP15_PRIORITY(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP15_PRIORITY_SHIFT)) & GPC_SET_POINT_CTRL_SP_PRIORITY_8_15_SYS_SP15_PRIORITY_MASK)
53060 /*! @} */
53061 
53062 /*! @name SP_SSAR_SAVE_CTRL - SP SSAR save control */
53063 /*! @{ */
53064 
53065 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_STEP_CNT_MASK (0xFFFFU)
53066 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_STEP_CNT_SHIFT (0U)
53067 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53068  */
53069 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_STEP_CNT_MASK)
53070 
53071 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_CNT_MODE_MASK (0x30000000U)
53072 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_CNT_MODE_SHIFT (28U)
53073 /*! CNT_MODE - Count mode
53074  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53075  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53076  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53077  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53078  */
53079 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_CNT_MODE_MASK)
53080 
53081 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_DISABLE_MASK (0x80000000U)
53082 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_DISABLE_SHIFT (31U)
53083 /*! DISABLE - Disable this step
53084  */
53085 #define GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_SAVE_CTRL_DISABLE_MASK)
53086 /*! @} */
53087 
53088 /*! @name SP_LPCG_OFF_CTRL - SP LPCG off control */
53089 /*! @{ */
53090 
53091 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53092 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_STEP_CNT_SHIFT (0U)
53093 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53094  */
53095 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_STEP_CNT_MASK)
53096 
53097 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53098 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_CNT_MODE_SHIFT (28U)
53099 /*! CNT_MODE - Count mode
53100  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53101  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53102  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53103  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53104  */
53105 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_CNT_MODE_MASK)
53106 
53107 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_DISABLE_MASK (0x80000000U)
53108 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_DISABLE_SHIFT (31U)
53109 /*! DISABLE - Disable this step
53110  */
53111 #define GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_OFF_CTRL_DISABLE_MASK)
53112 /*! @} */
53113 
53114 /*! @name SP_GROUP_DOWN_CTRL - SP group down control */
53115 /*! @{ */
53116 
53117 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_STEP_CNT_MASK (0xFFFFU)
53118 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_STEP_CNT_SHIFT (0U)
53119 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53120  */
53121 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_STEP_CNT_MASK)
53122 
53123 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_CNT_MODE_MASK (0x30000000U)
53124 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_CNT_MODE_SHIFT (28U)
53125 /*! CNT_MODE - Count mode
53126  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53127  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53128  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53129  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53130  */
53131 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_CNT_MODE_MASK)
53132 
53133 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_DISABLE_MASK (0x80000000U)
53134 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_DISABLE_SHIFT (31U)
53135 /*! DISABLE - Disable this step
53136  */
53137 #define GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_DOWN_CTRL_DISABLE_MASK)
53138 /*! @} */
53139 
53140 /*! @name SP_ROOT_DOWN_CTRL - SP root down control */
53141 /*! @{ */
53142 
53143 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_STEP_CNT_MASK (0xFFFFU)
53144 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_STEP_CNT_SHIFT (0U)
53145 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53146  */
53147 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_STEP_CNT_MASK)
53148 
53149 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_CNT_MODE_MASK (0x30000000U)
53150 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_CNT_MODE_SHIFT (28U)
53151 /*! CNT_MODE - Count mode
53152  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53153  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53154  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53155  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53156  */
53157 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_CNT_MODE_MASK)
53158 
53159 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_DISABLE_MASK (0x80000000U)
53160 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_DISABLE_SHIFT (31U)
53161 /*! DISABLE - Disable this step
53162  */
53163 #define GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_DOWN_CTRL_DISABLE_MASK)
53164 /*! @} */
53165 
53166 /*! @name SP_PLL_OFF_CTRL - SP PLL off control */
53167 /*! @{ */
53168 
53169 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53170 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_STEP_CNT_SHIFT (0U)
53171 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53172  */
53173 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_STEP_CNT_MASK)
53174 
53175 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53176 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_CNT_MODE_SHIFT (28U)
53177 /*! CNT_MODE - Count mode
53178  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53179  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53180  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53181  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53182  */
53183 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_CNT_MODE_MASK)
53184 
53185 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_DISABLE_MASK (0x80000000U)
53186 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_DISABLE_SHIFT (31U)
53187 /*! DISABLE - Disable this step
53188  */
53189 #define GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_OFF_CTRL_DISABLE_MASK)
53190 /*! @} */
53191 
53192 /*! @name SP_ISO_ON_CTRL - SP ISO on control */
53193 /*! @{ */
53194 
53195 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53196 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_STEP_CNT_SHIFT (0U)
53197 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53198  */
53199 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_STEP_CNT_MASK)
53200 
53201 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53202 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_CNT_MODE_SHIFT (28U)
53203 /*! CNT_MODE - Count mode
53204  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53205  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53206  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53207  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53208  */
53209 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_CNT_MODE_MASK)
53210 
53211 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_DISABLE_MASK (0x80000000U)
53212 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_DISABLE_SHIFT (31U)
53213 /*! DISABLE - Disable this step
53214  */
53215 #define GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_ON_CTRL_DISABLE_MASK)
53216 /*! @} */
53217 
53218 /*! @name SP_RESET_EARLY_CTRL - SP reset early control */
53219 /*! @{ */
53220 
53221 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_STEP_CNT_MASK (0xFFFFU)
53222 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_STEP_CNT_SHIFT (0U)
53223 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53224  */
53225 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_STEP_CNT_MASK)
53226 
53227 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_CNT_MODE_MASK (0x30000000U)
53228 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_CNT_MODE_SHIFT (28U)
53229 /*! CNT_MODE - Count mode
53230  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53231  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53232  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53233  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53234  */
53235 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_CNT_MODE_MASK)
53236 
53237 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_DISABLE_MASK (0x80000000U)
53238 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_DISABLE_SHIFT (31U)
53239 /*! DISABLE - Disable this step
53240  */
53241 #define GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_EARLY_CTRL_DISABLE_MASK)
53242 /*! @} */
53243 
53244 /*! @name SP_POWER_OFF_CTRL - SP power off control */
53245 /*! @{ */
53246 
53247 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53248 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_STEP_CNT_SHIFT (0U)
53249 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53250  */
53251 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_STEP_CNT_MASK)
53252 
53253 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53254 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_CNT_MODE_SHIFT (28U)
53255 /*! CNT_MODE - Count mode
53256  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53257  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53258  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53259  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53260  */
53261 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_CNT_MODE_MASK)
53262 
53263 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_DISABLE_MASK (0x80000000U)
53264 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_DISABLE_SHIFT (31U)
53265 /*! DISABLE - Disable this step
53266  */
53267 #define GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_OFF_CTRL_DISABLE_MASK)
53268 /*! @} */
53269 
53270 /*! @name SP_BIAS_OFF_CTRL - SP bias off control */
53271 /*! @{ */
53272 
53273 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53274 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_STEP_CNT_SHIFT (0U)
53275 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53276  */
53277 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_STEP_CNT_MASK)
53278 
53279 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53280 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_CNT_MODE_SHIFT (28U)
53281 /*! CNT_MODE - Count mode
53282  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53283  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53284  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53285  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53286  */
53287 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_CNT_MODE_MASK)
53288 
53289 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_DISABLE_MASK (0x80000000U)
53290 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_DISABLE_SHIFT (31U)
53291 /*! DISABLE - Disable this step
53292  */
53293 #define GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_OFF_CTRL_DISABLE_MASK)
53294 /*! @} */
53295 
53296 /*! @name SP_BG_PLDO_OFF_CTRL - SP bandgap and PLL_LDO off control */
53297 /*! @{ */
53298 
53299 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53300 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_STEP_CNT_SHIFT (0U)
53301 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53302  */
53303 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_STEP_CNT_MASK)
53304 
53305 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53306 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_CNT_MODE_SHIFT (28U)
53307 /*! CNT_MODE - Count mode
53308  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53309  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53310  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53311  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53312  */
53313 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_CNT_MODE_MASK)
53314 
53315 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_DISABLE_MASK (0x80000000U)
53316 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_DISABLE_SHIFT (31U)
53317 /*! DISABLE - Disable this step
53318  */
53319 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_OFF_CTRL_DISABLE_MASK)
53320 /*! @} */
53321 
53322 /*! @name SP_LDO_PRE_CTRL - SP LDO pre control */
53323 /*! @{ */
53324 
53325 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_STEP_CNT_MASK (0xFFFFU)
53326 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_STEP_CNT_SHIFT (0U)
53327 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53328  */
53329 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_STEP_CNT_MASK)
53330 
53331 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_CNT_MODE_MASK (0x30000000U)
53332 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_CNT_MODE_SHIFT (28U)
53333 /*! CNT_MODE - Count mode
53334  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53335  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53336  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53337  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53338  */
53339 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_CNT_MODE_MASK)
53340 
53341 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_DISABLE_MASK (0x80000000U)
53342 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_DISABLE_SHIFT (31U)
53343 /*! DISABLE - Disable this step
53344  */
53345 #define GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_PRE_CTRL_DISABLE_MASK)
53346 /*! @} */
53347 
53348 /*! @name SP_DCDC_DOWN_CTRL - SP DCDC down control */
53349 /*! @{ */
53350 
53351 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_STEP_CNT_MASK (0xFFFFU)
53352 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_STEP_CNT_SHIFT (0U)
53353 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53354  */
53355 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_STEP_CNT_MASK)
53356 
53357 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_CNT_MODE_MASK (0x30000000U)
53358 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_CNT_MODE_SHIFT (28U)
53359 /*! CNT_MODE - Count mode
53360  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53361  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53362  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53363  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53364  */
53365 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_CNT_MODE_MASK)
53366 
53367 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_DISABLE_MASK (0x80000000U)
53368 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_DISABLE_SHIFT (31U)
53369 /*! DISABLE - Disable this step
53370  */
53371 #define GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_DOWN_CTRL_DISABLE_MASK)
53372 /*! @} */
53373 
53374 /*! @name SP_DCDC_UP_CTRL - SP DCDC up control */
53375 /*! @{ */
53376 
53377 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_STEP_CNT_MASK (0xFFFFU)
53378 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_STEP_CNT_SHIFT (0U)
53379 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53380  */
53381 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_STEP_CNT_MASK)
53382 
53383 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_CNT_MODE_MASK (0x30000000U)
53384 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_CNT_MODE_SHIFT (28U)
53385 /*! CNT_MODE - Count mode
53386  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53387  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53388  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53389  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53390  */
53391 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_CNT_MODE_MASK)
53392 
53393 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_DISABLE_MASK (0x80000000U)
53394 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_DISABLE_SHIFT (31U)
53395 /*! DISABLE - Disable this step
53396  */
53397 #define GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_DCDC_UP_CTRL_DISABLE_MASK)
53398 /*! @} */
53399 
53400 /*! @name SP_LDO_POST_CTRL - SP LDO post control */
53401 /*! @{ */
53402 
53403 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_STEP_CNT_MASK (0xFFFFU)
53404 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_STEP_CNT_SHIFT (0U)
53405 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53406  */
53407 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_STEP_CNT_MASK)
53408 
53409 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_CNT_MODE_MASK (0x30000000U)
53410 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_CNT_MODE_SHIFT (28U)
53411 /*! CNT_MODE - Count mode
53412  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53413  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53414  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53415  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53416  */
53417 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_CNT_MODE_MASK)
53418 
53419 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_DISABLE_MASK (0x80000000U)
53420 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_DISABLE_SHIFT (31U)
53421 /*! DISABLE - Disable this step
53422  */
53423 #define GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LDO_POST_CTRL_DISABLE_MASK)
53424 /*! @} */
53425 
53426 /*! @name SP_BG_PLDO_ON_CTRL - SP bandgap and PLL_LDO on control */
53427 /*! @{ */
53428 
53429 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53430 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_STEP_CNT_SHIFT (0U)
53431 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53432  */
53433 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_STEP_CNT_MASK)
53434 
53435 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53436 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_CNT_MODE_SHIFT (28U)
53437 /*! CNT_MODE - Count mode
53438  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53439  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53440  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53441  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53442  */
53443 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_CNT_MODE_MASK)
53444 
53445 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_DISABLE_MASK (0x80000000U)
53446 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_DISABLE_SHIFT (31U)
53447 /*! DISABLE - Disable this step
53448  */
53449 #define GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BG_PLDO_ON_CTRL_DISABLE_MASK)
53450 /*! @} */
53451 
53452 /*! @name SP_BIAS_ON_CTRL - SP bias on control */
53453 /*! @{ */
53454 
53455 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53456 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_STEP_CNT_SHIFT (0U)
53457 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53458  */
53459 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_STEP_CNT_MASK)
53460 
53461 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53462 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_CNT_MODE_SHIFT (28U)
53463 /*! CNT_MODE - Count mode
53464  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53465  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53466  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53467  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53468  */
53469 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_CNT_MODE_MASK)
53470 
53471 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_DISABLE_MASK (0x80000000U)
53472 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_DISABLE_SHIFT (31U)
53473 /*! DISABLE - Disable this step
53474  */
53475 #define GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_BIAS_ON_CTRL_DISABLE_MASK)
53476 /*! @} */
53477 
53478 /*! @name SP_POWER_ON_CTRL - SP power on control */
53479 /*! @{ */
53480 
53481 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53482 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_STEP_CNT_SHIFT (0U)
53483 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53484  */
53485 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_STEP_CNT_MASK)
53486 
53487 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53488 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_CNT_MODE_SHIFT (28U)
53489 /*! CNT_MODE - Count mode
53490  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53491  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53492  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53493  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53494  */
53495 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_CNT_MODE_MASK)
53496 
53497 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_DISABLE_MASK (0x80000000U)
53498 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_DISABLE_SHIFT (31U)
53499 /*! DISABLE - Disable this step
53500  */
53501 #define GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_POWER_ON_CTRL_DISABLE_MASK)
53502 /*! @} */
53503 
53504 /*! @name SP_RESET_LATE_CTRL - SP reset late control */
53505 /*! @{ */
53506 
53507 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_STEP_CNT_MASK (0xFFFFU)
53508 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_STEP_CNT_SHIFT (0U)
53509 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53510  */
53511 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_STEP_CNT_MASK)
53512 
53513 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_CNT_MODE_MASK (0x30000000U)
53514 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_CNT_MODE_SHIFT (28U)
53515 /*! CNT_MODE - Count mode
53516  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53517  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53518  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53519  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53520  */
53521 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_CNT_MODE_MASK)
53522 
53523 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_DISABLE_MASK (0x80000000U)
53524 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_DISABLE_SHIFT (31U)
53525 /*! DISABLE - Disable this step
53526  */
53527 #define GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_RESET_LATE_CTRL_DISABLE_MASK)
53528 /*! @} */
53529 
53530 /*! @name SP_ISO_OFF_CTRL - SP ISO off control */
53531 /*! @{ */
53532 
53533 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_STEP_CNT_MASK (0xFFFFU)
53534 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_STEP_CNT_SHIFT (0U)
53535 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53536  */
53537 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_STEP_CNT_MASK)
53538 
53539 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_CNT_MODE_MASK (0x30000000U)
53540 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_CNT_MODE_SHIFT (28U)
53541 /*! CNT_MODE - Count mode
53542  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53543  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53544  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53545  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53546  */
53547 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_CNT_MODE_MASK)
53548 
53549 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_DISABLE_MASK (0x80000000U)
53550 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_DISABLE_SHIFT (31U)
53551 /*! DISABLE - Disable this step
53552  */
53553 #define GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ISO_OFF_CTRL_DISABLE_MASK)
53554 /*! @} */
53555 
53556 /*! @name SP_PLL_ON_CTRL - SP PLL on control */
53557 /*! @{ */
53558 
53559 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53560 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_STEP_CNT_SHIFT (0U)
53561 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53562  */
53563 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_STEP_CNT_MASK)
53564 
53565 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53566 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_CNT_MODE_SHIFT (28U)
53567 /*! CNT_MODE - Count mode
53568  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53569  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53570  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53571  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53572  */
53573 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_CNT_MODE_MASK)
53574 
53575 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_DISABLE_MASK (0x80000000U)
53576 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_DISABLE_SHIFT (31U)
53577 /*! DISABLE - Disable this step
53578  */
53579 #define GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_PLL_ON_CTRL_DISABLE_MASK)
53580 /*! @} */
53581 
53582 /*! @name SP_ROOT_UP_CTRL - SP root up control */
53583 /*! @{ */
53584 
53585 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_STEP_CNT_MASK (0xFFFFU)
53586 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_STEP_CNT_SHIFT (0U)
53587 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53588  */
53589 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_STEP_CNT_MASK)
53590 
53591 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_CNT_MODE_MASK (0x30000000U)
53592 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_CNT_MODE_SHIFT (28U)
53593 /*! CNT_MODE - Count mode
53594  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53595  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53596  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53597  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53598  */
53599 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_CNT_MODE_MASK)
53600 
53601 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_DISABLE_MASK (0x80000000U)
53602 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_DISABLE_SHIFT (31U)
53603 /*! DISABLE - Disable this step
53604  */
53605 #define GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_ROOT_UP_CTRL_DISABLE_MASK)
53606 /*! @} */
53607 
53608 /*! @name SP_GROUP_UP_CTRL - SP group up control */
53609 /*! @{ */
53610 
53611 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_STEP_CNT_MASK (0xFFFFU)
53612 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_STEP_CNT_SHIFT (0U)
53613 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53614  */
53615 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_STEP_CNT_MASK)
53616 
53617 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_CNT_MODE_MASK (0x30000000U)
53618 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_CNT_MODE_SHIFT (28U)
53619 /*! CNT_MODE - Count mode
53620  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53621  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53622  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53623  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53624  */
53625 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_CNT_MODE_MASK)
53626 
53627 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_DISABLE_MASK (0x80000000U)
53628 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_DISABLE_SHIFT (31U)
53629 /*! DISABLE - Disable this step
53630  */
53631 #define GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_GROUP_UP_CTRL_DISABLE_MASK)
53632 /*! @} */
53633 
53634 /*! @name SP_LPCG_ON_CTRL - SP LPCG on control */
53635 /*! @{ */
53636 
53637 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_STEP_CNT_MASK (0xFFFFU)
53638 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_STEP_CNT_SHIFT (0U)
53639 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53640  */
53641 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_STEP_CNT_MASK)
53642 
53643 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_CNT_MODE_MASK (0x30000000U)
53644 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_CNT_MODE_SHIFT (28U)
53645 /*! CNT_MODE - Count mode
53646  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53647  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53648  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53649  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53650  */
53651 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_CNT_MODE_MASK)
53652 
53653 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_DISABLE_MASK (0x80000000U)
53654 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_DISABLE_SHIFT (31U)
53655 /*! DISABLE - Disable this step
53656  */
53657 #define GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_LPCG_ON_CTRL_DISABLE_MASK)
53658 /*! @} */
53659 
53660 /*! @name SP_SSAR_RESTORE_CTRL - SP SSAR restore control */
53661 /*! @{ */
53662 
53663 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_STEP_CNT_MASK (0xFFFFU)
53664 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_STEP_CNT_SHIFT (0U)
53665 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53666  */
53667 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_STEP_CNT_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_STEP_CNT_MASK)
53668 
53669 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_CNT_MODE_MASK (0x30000000U)
53670 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_CNT_MODE_SHIFT (28U)
53671 /*! CNT_MODE - Count mode
53672  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53673  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53674  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53675  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53676  */
53677 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_CNT_MODE_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_CNT_MODE_MASK)
53678 
53679 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_DISABLE_MASK (0x80000000U)
53680 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_DISABLE_SHIFT (31U)
53681 /*! DISABLE - Disable this step
53682  */
53683 #define GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_DISABLE_SHIFT)) & GPC_SET_POINT_CTRL_SP_SSAR_RESTORE_CTRL_DISABLE_MASK)
53684 /*! @} */
53685 
53686 
53687 /*!
53688  * @}
53689  */ /* end of group GPC_SET_POINT_CTRL_Register_Masks */
53690 
53691 
53692 /* GPC_SET_POINT_CTRL - Peripheral instance base addresses */
53693 /** Peripheral GPC_SET_POINT_CTRL base address */
53694 #define GPC_SET_POINT_CTRL_BASE                  (0x40C02000u)
53695 /** Peripheral GPC_SET_POINT_CTRL base pointer */
53696 #define GPC_SET_POINT_CTRL                       ((GPC_SET_POINT_CTRL_Type *)GPC_SET_POINT_CTRL_BASE)
53697 /** Array initializer of GPC_SET_POINT_CTRL peripheral base addresses */
53698 #define GPC_SET_POINT_CTRL_BASE_ADDRS            { GPC_SET_POINT_CTRL_BASE }
53699 /** Array initializer of GPC_SET_POINT_CTRL peripheral base pointers */
53700 #define GPC_SET_POINT_CTRL_BASE_PTRS             { GPC_SET_POINT_CTRL }
53701 
53702 /*!
53703  * @}
53704  */ /* end of group GPC_SET_POINT_CTRL_Peripheral_Access_Layer */
53705 
53706 
53707 /* ----------------------------------------------------------------------------
53708    -- GPC_STBY_CTRL Peripheral Access Layer
53709    ---------------------------------------------------------------------------- */
53710 
53711 /*!
53712  * @addtogroup GPC_STBY_CTRL_Peripheral_Access_Layer GPC_STBY_CTRL Peripheral Access Layer
53713  * @{
53714  */
53715 
53716 /** GPC_STBY_CTRL - Register Layout Typedef */
53717 typedef struct {
53718        uint8_t RESERVED_0[4];
53719   __IO uint32_t STBY_AUTHEN_CTRL;                  /**< Standby Authentication Control, offset: 0x4 */
53720        uint8_t RESERVED_1[4];
53721   __IO uint32_t STBY_MISC;                         /**< STBY Misc, offset: 0xC */
53722        uint8_t RESERVED_2[224];
53723   __IO uint32_t STBY_LPCG_IN_CTRL;                 /**< STBY lpcg_in control, offset: 0xF0 */
53724        uint8_t RESERVED_3[12];
53725   __IO uint32_t STBY_PLL_IN_CTRL;                  /**< STBY pll_in control, offset: 0x100 */
53726        uint8_t RESERVED_4[12];
53727   __IO uint32_t STBY_BIAS_IN_CTRL;                 /**< STBY bias_in control, offset: 0x110 */
53728        uint8_t RESERVED_5[12];
53729   __IO uint32_t STBY_PLDO_IN_CTRL;                 /**< STBY pldo_in control, offset: 0x120 */
53730        uint8_t RESERVED_6[4];
53731   __IO uint32_t STBY_BANDGAP_IN_CTRL;              /**< STBY bandgap_in control, offset: 0x128 */
53732        uint8_t RESERVED_7[4];
53733   __IO uint32_t STBY_LDO_IN_CTRL;                  /**< STBY ldo_in control, offset: 0x130 */
53734        uint8_t RESERVED_8[12];
53735   __IO uint32_t STBY_DCDC_IN_CTRL;                 /**< STBY dcdc_in control, offset: 0x140 */
53736        uint8_t RESERVED_9[12];
53737   __IO uint32_t STBY_PMIC_IN_CTRL;                 /**< STBY PMIC in control, offset: 0x150 */
53738        uint8_t RESERVED_10[172];
53739   __IO uint32_t STBY_PMIC_OUT_CTRL;                /**< STBY PMIC out control, offset: 0x200 */
53740        uint8_t RESERVED_11[12];
53741   __IO uint32_t STBY_DCDC_OUT_CTRL;                /**< STBY DCDC out control, offset: 0x210 */
53742        uint8_t RESERVED_12[12];
53743   __IO uint32_t STBY_LDO_OUT_CTRL;                 /**< STBY LDO out control, offset: 0x220 */
53744        uint8_t RESERVED_13[12];
53745   __IO uint32_t STBY_BANDGAP_OUT_CTRL;             /**< STBY bandgap out control, offset: 0x230 */
53746        uint8_t RESERVED_14[4];
53747   __IO uint32_t STBY_PLDO_OUT_CTRL;                /**< STBY pldo out control, offset: 0x238 */
53748        uint8_t RESERVED_15[4];
53749   __IO uint32_t STBY_BIAS_OUT_CTRL;                /**< STBY bias out control, offset: 0x240 */
53750        uint8_t RESERVED_16[12];
53751   __IO uint32_t STBY_PLL_OUT_CTRL;                 /**< STBY PLL out control, offset: 0x250 */
53752        uint8_t RESERVED_17[12];
53753   __IO uint32_t STBY_LPCG_OUT_CTRL;                /**< STBY LPCG out control, offset: 0x260 */
53754 } GPC_STBY_CTRL_Type;
53755 
53756 /* ----------------------------------------------------------------------------
53757    -- GPC_STBY_CTRL Register Masks
53758    ---------------------------------------------------------------------------- */
53759 
53760 /*!
53761  * @addtogroup GPC_STBY_CTRL_Register_Masks GPC_STBY_CTRL Register Masks
53762  * @{
53763  */
53764 
53765 /*! @name STBY_AUTHEN_CTRL - Standby Authentication Control */
53766 /*! @{ */
53767 
53768 #define GPC_STBY_CTRL_STBY_AUTHEN_CTRL_LOCK_CFG_MASK (0x100000U)
53769 #define GPC_STBY_CTRL_STBY_AUTHEN_CTRL_LOCK_CFG_SHIFT (20U)
53770 /*! LOCK_CFG - Configuration lock
53771  */
53772 #define GPC_STBY_CTRL_STBY_AUTHEN_CTRL_LOCK_CFG(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & GPC_STBY_CTRL_STBY_AUTHEN_CTRL_LOCK_CFG_MASK)
53773 /*! @} */
53774 
53775 /*! @name STBY_MISC - STBY Misc */
53776 /*! @{ */
53777 
53778 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU0_STBY_MASK (0x1U)
53779 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU0_STBY_SHIFT (0U)
53780 /*! FORCE_CPU0_STBY - Force CPU0 requesting standby mode
53781  */
53782 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU0_STBY(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_MISC_FORCE_CPU0_STBY_SHIFT)) & GPC_STBY_CTRL_STBY_MISC_FORCE_CPU0_STBY_MASK)
53783 
53784 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU1_STBY_MASK (0x2U)
53785 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU1_STBY_SHIFT (1U)
53786 /*! FORCE_CPU1_STBY - Force CPU0 requesting standby mode
53787  */
53788 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU1_STBY(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_MISC_FORCE_CPU1_STBY_SHIFT)) & GPC_STBY_CTRL_STBY_MISC_FORCE_CPU1_STBY_MASK)
53789 
53790 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU2_STBY_MASK (0x4U)
53791 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU2_STBY_SHIFT (2U)
53792 /*! FORCE_CPU2_STBY - Force CPU2 requesting standby mode
53793  */
53794 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU2_STBY(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_MISC_FORCE_CPU2_STBY_SHIFT)) & GPC_STBY_CTRL_STBY_MISC_FORCE_CPU2_STBY_MASK)
53795 
53796 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU3_STBY_MASK (0x8U)
53797 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU3_STBY_SHIFT (3U)
53798 /*! FORCE_CPU3_STBY - Force CPU3 requesting standby mode
53799  */
53800 #define GPC_STBY_CTRL_STBY_MISC_FORCE_CPU3_STBY(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_MISC_FORCE_CPU3_STBY_SHIFT)) & GPC_STBY_CTRL_STBY_MISC_FORCE_CPU3_STBY_MASK)
53801 /*! @} */
53802 
53803 /*! @name STBY_LPCG_IN_CTRL - STBY lpcg_in control */
53804 /*! @{ */
53805 
53806 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53807 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_STEP_CNT_SHIFT (0U)
53808 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53809  */
53810 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_STEP_CNT_MASK)
53811 
53812 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53813 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_CNT_MODE_SHIFT (28U)
53814 /*! CNT_MODE - Count mode
53815  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53816  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53817  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53818  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53819  */
53820 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_CNT_MODE_MASK)
53821 
53822 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_DISABLE_MASK (0x80000000U)
53823 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_DISABLE_SHIFT (31U)
53824 /*! DISABLE - Disable this step
53825  */
53826 #define GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_IN_CTRL_DISABLE_MASK)
53827 /*! @} */
53828 
53829 /*! @name STBY_PLL_IN_CTRL - STBY pll_in control */
53830 /*! @{ */
53831 
53832 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53833 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_STEP_CNT_SHIFT (0U)
53834 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53835  */
53836 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_IN_CTRL_STEP_CNT_MASK)
53837 
53838 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53839 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_CNT_MODE_SHIFT (28U)
53840 /*! CNT_MODE - Count mode
53841  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53842  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53843  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53844  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53845  */
53846 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_IN_CTRL_CNT_MODE_MASK)
53847 
53848 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_DISABLE_MASK (0x80000000U)
53849 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_DISABLE_SHIFT (31U)
53850 /*! DISABLE - Disable this step
53851  */
53852 #define GPC_STBY_CTRL_STBY_PLL_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_IN_CTRL_DISABLE_MASK)
53853 /*! @} */
53854 
53855 /*! @name STBY_BIAS_IN_CTRL - STBY bias_in control */
53856 /*! @{ */
53857 
53858 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53859 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_STEP_CNT_SHIFT (0U)
53860 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53861  */
53862 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_STEP_CNT_MASK)
53863 
53864 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53865 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_CNT_MODE_SHIFT (28U)
53866 /*! CNT_MODE - Count mode
53867  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53868  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53869  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53870  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53871  */
53872 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_CNT_MODE_MASK)
53873 
53874 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_DISABLE_MASK (0x80000000U)
53875 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_DISABLE_SHIFT (31U)
53876 /*! DISABLE - Disable this step
53877  */
53878 #define GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_IN_CTRL_DISABLE_MASK)
53879 /*! @} */
53880 
53881 /*! @name STBY_PLDO_IN_CTRL - STBY pldo_in control */
53882 /*! @{ */
53883 
53884 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53885 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_STEP_CNT_SHIFT (0U)
53886 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53887  */
53888 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_STEP_CNT_MASK)
53889 
53890 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53891 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_CNT_MODE_SHIFT (28U)
53892 /*! CNT_MODE - Count mode
53893  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53894  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53895  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53896  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53897  */
53898 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_CNT_MODE_MASK)
53899 
53900 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_DISABLE_MASK (0x80000000U)
53901 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_DISABLE_SHIFT (31U)
53902 /*! DISABLE - Disable this step
53903  */
53904 #define GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_IN_CTRL_DISABLE_MASK)
53905 /*! @} */
53906 
53907 /*! @name STBY_BANDGAP_IN_CTRL - STBY bandgap_in control */
53908 /*! @{ */
53909 
53910 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53911 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_STEP_CNT_SHIFT (0U)
53912 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53913  */
53914 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_STEP_CNT_MASK)
53915 
53916 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53917 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_CNT_MODE_SHIFT (28U)
53918 /*! CNT_MODE - Count mode
53919  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53920  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53921  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53922  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53923  */
53924 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_CNT_MODE_MASK)
53925 
53926 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_DISABLE_MASK (0x80000000U)
53927 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_DISABLE_SHIFT (31U)
53928 /*! DISABLE - Disable this step
53929  */
53930 #define GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_IN_CTRL_DISABLE_MASK)
53931 /*! @} */
53932 
53933 /*! @name STBY_LDO_IN_CTRL - STBY ldo_in control */
53934 /*! @{ */
53935 
53936 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53937 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_STEP_CNT_SHIFT (0U)
53938 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53939  */
53940 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_IN_CTRL_STEP_CNT_MASK)
53941 
53942 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53943 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_CNT_MODE_SHIFT (28U)
53944 /*! CNT_MODE - Count mode
53945  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53946  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53947  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53948  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53949  */
53950 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_IN_CTRL_CNT_MODE_MASK)
53951 
53952 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_DISABLE_MASK (0x80000000U)
53953 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_DISABLE_SHIFT (31U)
53954 /*! DISABLE - Disable this step
53955  */
53956 #define GPC_STBY_CTRL_STBY_LDO_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_IN_CTRL_DISABLE_MASK)
53957 /*! @} */
53958 
53959 /*! @name STBY_DCDC_IN_CTRL - STBY dcdc_in control */
53960 /*! @{ */
53961 
53962 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53963 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_STEP_CNT_SHIFT (0U)
53964 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53965  */
53966 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_STEP_CNT_MASK)
53967 
53968 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53969 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_CNT_MODE_SHIFT (28U)
53970 /*! CNT_MODE - Count mode
53971  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53972  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53973  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
53974  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
53975  */
53976 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_CNT_MODE_MASK)
53977 
53978 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_DISABLE_MASK (0x80000000U)
53979 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_DISABLE_SHIFT (31U)
53980 /*! DISABLE - Disable this step
53981  */
53982 #define GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_IN_CTRL_DISABLE_MASK)
53983 /*! @} */
53984 
53985 /*! @name STBY_PMIC_IN_CTRL - STBY PMIC in control */
53986 /*! @{ */
53987 
53988 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_STEP_CNT_MASK (0xFFFFU)
53989 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_STEP_CNT_SHIFT (0U)
53990 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
53991  */
53992 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_STEP_CNT_MASK)
53993 
53994 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_CNT_MODE_MASK (0x30000000U)
53995 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_CNT_MODE_SHIFT (28U)
53996 /*! CNT_MODE - Count mode
53997  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
53998  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
53999  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54000  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54001  */
54002 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_CNT_MODE_MASK)
54003 
54004 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_DISABLE_MASK (0x80000000U)
54005 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_DISABLE_SHIFT (31U)
54006 /*! DISABLE - Disable this step
54007  */
54008 #define GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_IN_CTRL_DISABLE_MASK)
54009 /*! @} */
54010 
54011 /*! @name STBY_PMIC_OUT_CTRL - STBY PMIC out control */
54012 /*! @{ */
54013 
54014 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54015 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_STEP_CNT_SHIFT (0U)
54016 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54017  */
54018 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_STEP_CNT_MASK)
54019 
54020 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54021 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_CNT_MODE_SHIFT (28U)
54022 /*! CNT_MODE - Count mode
54023  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54024  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54025  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54026  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54027  */
54028 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_CNT_MODE_MASK)
54029 
54030 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_DISABLE_MASK (0x80000000U)
54031 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_DISABLE_SHIFT (31U)
54032 /*! DISABLE - Disable this step
54033  */
54034 #define GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PMIC_OUT_CTRL_DISABLE_MASK)
54035 /*! @} */
54036 
54037 /*! @name STBY_DCDC_OUT_CTRL - STBY DCDC out control */
54038 /*! @{ */
54039 
54040 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54041 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_STEP_CNT_SHIFT (0U)
54042 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54043  */
54044 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_STEP_CNT_MASK)
54045 
54046 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54047 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_CNT_MODE_SHIFT (28U)
54048 /*! CNT_MODE - Count mode
54049  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54050  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54051  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54052  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54053  */
54054 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_CNT_MODE_MASK)
54055 
54056 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_DISABLE_MASK (0x80000000U)
54057 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_DISABLE_SHIFT (31U)
54058 /*! DISABLE - Disable this step
54059  */
54060 #define GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_DCDC_OUT_CTRL_DISABLE_MASK)
54061 /*! @} */
54062 
54063 /*! @name STBY_LDO_OUT_CTRL - STBY LDO out control */
54064 /*! @{ */
54065 
54066 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54067 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_STEP_CNT_SHIFT (0U)
54068 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54069  */
54070 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_STEP_CNT_MASK)
54071 
54072 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54073 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_CNT_MODE_SHIFT (28U)
54074 /*! CNT_MODE - Count mode
54075  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54076  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54077  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54078  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54079  */
54080 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_CNT_MODE_MASK)
54081 
54082 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_DISABLE_MASK (0x80000000U)
54083 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_DISABLE_SHIFT (31U)
54084 /*! DISABLE - Disable this step
54085  */
54086 #define GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_LDO_OUT_CTRL_DISABLE_MASK)
54087 /*! @} */
54088 
54089 /*! @name STBY_BANDGAP_OUT_CTRL - STBY bandgap out control */
54090 /*! @{ */
54091 
54092 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54093 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_STEP_CNT_SHIFT (0U)
54094 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54095  */
54096 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_STEP_CNT_MASK)
54097 
54098 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54099 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_CNT_MODE_SHIFT (28U)
54100 /*! CNT_MODE - Count mode
54101  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54102  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54103  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54104  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54105  */
54106 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_CNT_MODE_MASK)
54107 
54108 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_DISABLE_MASK (0x80000000U)
54109 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_DISABLE_SHIFT (31U)
54110 /*! DISABLE - Disable this step
54111  */
54112 #define GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_BANDGAP_OUT_CTRL_DISABLE_MASK)
54113 /*! @} */
54114 
54115 /*! @name STBY_PLDO_OUT_CTRL - STBY pldo out control */
54116 /*! @{ */
54117 
54118 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54119 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_STEP_CNT_SHIFT (0U)
54120 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54121  */
54122 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_STEP_CNT_MASK)
54123 
54124 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54125 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_CNT_MODE_SHIFT (28U)
54126 /*! CNT_MODE - Count mode
54127  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54128  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54129  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54130  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54131  */
54132 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_CNT_MODE_MASK)
54133 
54134 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_DISABLE_MASK (0x80000000U)
54135 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_DISABLE_SHIFT (31U)
54136 /*! DISABLE - Disable this step
54137  */
54138 #define GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PLDO_OUT_CTRL_DISABLE_MASK)
54139 /*! @} */
54140 
54141 /*! @name STBY_BIAS_OUT_CTRL - STBY bias out control */
54142 /*! @{ */
54143 
54144 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54145 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_STEP_CNT_SHIFT (0U)
54146 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54147  */
54148 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_STEP_CNT_MASK)
54149 
54150 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54151 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_CNT_MODE_SHIFT (28U)
54152 /*! CNT_MODE - Count mode
54153  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54154  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54155  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54156  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54157  */
54158 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_CNT_MODE_MASK)
54159 
54160 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_DISABLE_MASK (0x80000000U)
54161 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_DISABLE_SHIFT (31U)
54162 /*! DISABLE - Disable this step
54163  */
54164 #define GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_BIAS_OUT_CTRL_DISABLE_MASK)
54165 /*! @} */
54166 
54167 /*! @name STBY_PLL_OUT_CTRL - STBY PLL out control */
54168 /*! @{ */
54169 
54170 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54171 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_STEP_CNT_SHIFT (0U)
54172 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54173  */
54174 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_STEP_CNT_MASK)
54175 
54176 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54177 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_CNT_MODE_SHIFT (28U)
54178 /*! CNT_MODE - Count mode
54179  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54180  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54181  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54182  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54183  */
54184 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_CNT_MODE_MASK)
54185 
54186 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_DISABLE_MASK (0x80000000U)
54187 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_DISABLE_SHIFT (31U)
54188 /*! DISABLE - Disable this step
54189  */
54190 #define GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_PLL_OUT_CTRL_DISABLE_MASK)
54191 /*! @} */
54192 
54193 /*! @name STBY_LPCG_OUT_CTRL - STBY LPCG out control */
54194 /*! @{ */
54195 
54196 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_STEP_CNT_MASK (0xFFFFU)
54197 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_STEP_CNT_SHIFT (0U)
54198 /*! STEP_CNT - Step count, useage is depending on CNT_MODE
54199  */
54200 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_STEP_CNT(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_STEP_CNT_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_STEP_CNT_MASK)
54201 
54202 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_CNT_MODE_MASK (0x30000000U)
54203 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_CNT_MODE_SHIFT (28U)
54204 /*! CNT_MODE - Count mode
54205  *  0b00..Counter disable mode: not use step counter, step completes once receiving step_done
54206  *  0b01..Counter delay mode: delay after receiving step_done, delay cycle number is STEP_CNT
54207  *  0b10..Ignore step_done response, the counter starts to count once step begins, when counter reaches STEP_CNT value, the step completes
54208  *  0b11..Time out mode, the counter starts to count once step begins, the step completes when either step_done received or counting to STEP_CNT value
54209  */
54210 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_CNT_MODE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_CNT_MODE_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_CNT_MODE_MASK)
54211 
54212 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_DISABLE_MASK (0x80000000U)
54213 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_DISABLE_SHIFT (31U)
54214 /*! DISABLE - Disable this step
54215  */
54216 #define GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_DISABLE_SHIFT)) & GPC_STBY_CTRL_STBY_LPCG_OUT_CTRL_DISABLE_MASK)
54217 /*! @} */
54218 
54219 
54220 /*!
54221  * @}
54222  */ /* end of group GPC_STBY_CTRL_Register_Masks */
54223 
54224 
54225 /* GPC_STBY_CTRL - Peripheral instance base addresses */
54226 /** Peripheral GPC_STBY_CTRL base address */
54227 #define GPC_STBY_CTRL_BASE                       (0x40C02800u)
54228 /** Peripheral GPC_STBY_CTRL base pointer */
54229 #define GPC_STBY_CTRL                            ((GPC_STBY_CTRL_Type *)GPC_STBY_CTRL_BASE)
54230 /** Array initializer of GPC_STBY_CTRL peripheral base addresses */
54231 #define GPC_STBY_CTRL_BASE_ADDRS                 { GPC_STBY_CTRL_BASE }
54232 /** Array initializer of GPC_STBY_CTRL peripheral base pointers */
54233 #define GPC_STBY_CTRL_BASE_PTRS                  { GPC_STBY_CTRL }
54234 
54235 /*!
54236  * @}
54237  */ /* end of group GPC_STBY_CTRL_Peripheral_Access_Layer */
54238 
54239 
54240 /* ----------------------------------------------------------------------------
54241    -- GPIO Peripheral Access Layer
54242    ---------------------------------------------------------------------------- */
54243 
54244 /*!
54245  * @addtogroup GPIO_Peripheral_Access_Layer GPIO Peripheral Access Layer
54246  * @{
54247  */
54248 
54249 /** GPIO - Register Layout Typedef */
54250 typedef struct {
54251   __IO uint32_t DR;                                /**< GPIO data register, offset: 0x0 */
54252   __IO uint32_t GDIR;                              /**< GPIO direction register, offset: 0x4 */
54253   __I  uint32_t PSR;                               /**< GPIO pad status register, offset: 0x8 */
54254   __IO uint32_t ICR1;                              /**< GPIO interrupt configuration register1, offset: 0xC */
54255   __IO uint32_t ICR2;                              /**< GPIO interrupt configuration register2, offset: 0x10 */
54256   __IO uint32_t IMR;                               /**< GPIO interrupt mask register, offset: 0x14 */
54257   __IO uint32_t ISR;                               /**< GPIO interrupt status register, offset: 0x18 */
54258   __IO uint32_t EDGE_SEL;                          /**< GPIO edge select register, offset: 0x1C */
54259        uint8_t RESERVED_0[100];
54260   __O  uint32_t DR_SET;                            /**< GPIO data register SET, offset: 0x84 */
54261   __O  uint32_t DR_CLEAR;                          /**< GPIO data register CLEAR, offset: 0x88 */
54262   __O  uint32_t DR_TOGGLE;                         /**< GPIO data register TOGGLE, offset: 0x8C */
54263 } GPIO_Type;
54264 
54265 /* ----------------------------------------------------------------------------
54266    -- GPIO Register Masks
54267    ---------------------------------------------------------------------------- */
54268 
54269 /*!
54270  * @addtogroup GPIO_Register_Masks GPIO Register Masks
54271  * @{
54272  */
54273 
54274 /*! @name DR - GPIO data register */
54275 /*! @{ */
54276 
54277 #define GPIO_DR_DR_MASK                          (0xFFFFFFFFU)
54278 #define GPIO_DR_DR_SHIFT                         (0U)
54279 /*! DR - DR data bits
54280  */
54281 #define GPIO_DR_DR(x)                            (((uint32_t)(((uint32_t)(x)) << GPIO_DR_DR_SHIFT)) & GPIO_DR_DR_MASK)
54282 /*! @} */
54283 
54284 /*! @name GDIR - GPIO direction register */
54285 /*! @{ */
54286 
54287 #define GPIO_GDIR_GDIR_MASK                      (0xFFFFFFFFU)
54288 #define GPIO_GDIR_GDIR_SHIFT                     (0U)
54289 /*! GDIR - GPIO direction bits
54290  */
54291 #define GPIO_GDIR_GDIR(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_GDIR_GDIR_SHIFT)) & GPIO_GDIR_GDIR_MASK)
54292 /*! @} */
54293 
54294 /*! @name PSR - GPIO pad status register */
54295 /*! @{ */
54296 
54297 #define GPIO_PSR_PSR_MASK                        (0xFFFFFFFFU)
54298 #define GPIO_PSR_PSR_SHIFT                       (0U)
54299 /*! PSR - GPIO pad status bits
54300  */
54301 #define GPIO_PSR_PSR(x)                          (((uint32_t)(((uint32_t)(x)) << GPIO_PSR_PSR_SHIFT)) & GPIO_PSR_PSR_MASK)
54302 /*! @} */
54303 
54304 /*! @name ICR1 - GPIO interrupt configuration register1 */
54305 /*! @{ */
54306 
54307 #define GPIO_ICR1_ICR0_MASK                      (0x3U)
54308 #define GPIO_ICR1_ICR0_SHIFT                     (0U)
54309 /*! ICR0 - Interrupt configuration field for GPIO interrupt 0
54310  *  0b00..Interrupt 0 is low-level sensitive.
54311  *  0b01..Interrupt 0 is high-level sensitive.
54312  *  0b10..Interrupt 0 is rising-edge sensitive.
54313  *  0b11..Interrupt 0 is falling-edge sensitive.
54314  */
54315 #define GPIO_ICR1_ICR0(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR0_SHIFT)) & GPIO_ICR1_ICR0_MASK)
54316 
54317 #define GPIO_ICR1_ICR1_MASK                      (0xCU)
54318 #define GPIO_ICR1_ICR1_SHIFT                     (2U)
54319 /*! ICR1 - Interrupt configuration field for GPIO interrupt 1
54320  *  0b00..Interrupt 1 is low-level sensitive.
54321  *  0b01..Interrupt 1 is high-level sensitive.
54322  *  0b10..Interrupt 1 is rising-edge sensitive.
54323  *  0b11..Interrupt 1 is falling-edge sensitive.
54324  */
54325 #define GPIO_ICR1_ICR1(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR1_SHIFT)) & GPIO_ICR1_ICR1_MASK)
54326 
54327 #define GPIO_ICR1_ICR2_MASK                      (0x30U)
54328 #define GPIO_ICR1_ICR2_SHIFT                     (4U)
54329 /*! ICR2 - Interrupt configuration field for GPIO interrupt 2
54330  *  0b00..Interrupt 2 is low-level sensitive.
54331  *  0b01..Interrupt 2 is high-level sensitive.
54332  *  0b10..Interrupt 2 is rising-edge sensitive.
54333  *  0b11..Interrupt 2 is falling-edge sensitive.
54334  */
54335 #define GPIO_ICR1_ICR2(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR2_SHIFT)) & GPIO_ICR1_ICR2_MASK)
54336 
54337 #define GPIO_ICR1_ICR3_MASK                      (0xC0U)
54338 #define GPIO_ICR1_ICR3_SHIFT                     (6U)
54339 /*! ICR3 - Interrupt configuration field for GPIO interrupt 3
54340  *  0b00..Interrupt 3 is low-level sensitive.
54341  *  0b01..Interrupt 3 is high-level sensitive.
54342  *  0b10..Interrupt 3 is rising-edge sensitive.
54343  *  0b11..Interrupt 3 is falling-edge sensitive.
54344  */
54345 #define GPIO_ICR1_ICR3(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR3_SHIFT)) & GPIO_ICR1_ICR3_MASK)
54346 
54347 #define GPIO_ICR1_ICR4_MASK                      (0x300U)
54348 #define GPIO_ICR1_ICR4_SHIFT                     (8U)
54349 /*! ICR4 - Interrupt configuration field for GPIO interrupt 4
54350  *  0b00..Interrupt 4 is low-level sensitive.
54351  *  0b01..Interrupt 4 is high-level sensitive.
54352  *  0b10..Interrupt 4 is rising-edge sensitive.
54353  *  0b11..Interrupt 4 is falling-edge sensitive.
54354  */
54355 #define GPIO_ICR1_ICR4(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR4_SHIFT)) & GPIO_ICR1_ICR4_MASK)
54356 
54357 #define GPIO_ICR1_ICR5_MASK                      (0xC00U)
54358 #define GPIO_ICR1_ICR5_SHIFT                     (10U)
54359 /*! ICR5 - Interrupt configuration field for GPIO interrupt 5
54360  *  0b00..Interrupt 5 is low-level sensitive.
54361  *  0b01..Interrupt 5 is high-level sensitive.
54362  *  0b10..Interrupt 5 is rising-edge sensitive.
54363  *  0b11..Interrupt 5 is falling-edge sensitive.
54364  */
54365 #define GPIO_ICR1_ICR5(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR5_SHIFT)) & GPIO_ICR1_ICR5_MASK)
54366 
54367 #define GPIO_ICR1_ICR6_MASK                      (0x3000U)
54368 #define GPIO_ICR1_ICR6_SHIFT                     (12U)
54369 /*! ICR6 - Interrupt configuration field for GPIO interrupt 6
54370  *  0b00..Interrupt 6 is low-level sensitive.
54371  *  0b01..Interrupt 6 is high-level sensitive.
54372  *  0b10..Interrupt 6 is rising-edge sensitive.
54373  *  0b11..Interrupt 6 is falling-edge sensitive.
54374  */
54375 #define GPIO_ICR1_ICR6(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR6_SHIFT)) & GPIO_ICR1_ICR6_MASK)
54376 
54377 #define GPIO_ICR1_ICR7_MASK                      (0xC000U)
54378 #define GPIO_ICR1_ICR7_SHIFT                     (14U)
54379 /*! ICR7 - Interrupt configuration field for GPIO interrupt 7
54380  *  0b00..Interrupt 7 is low-level sensitive.
54381  *  0b01..Interrupt 7 is high-level sensitive.
54382  *  0b10..Interrupt 7 is rising-edge sensitive.
54383  *  0b11..Interrupt 7 is falling-edge sensitive.
54384  */
54385 #define GPIO_ICR1_ICR7(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR7_SHIFT)) & GPIO_ICR1_ICR7_MASK)
54386 
54387 #define GPIO_ICR1_ICR8_MASK                      (0x30000U)
54388 #define GPIO_ICR1_ICR8_SHIFT                     (16U)
54389 /*! ICR8 - Interrupt configuration field for GPIO interrupt 8
54390  *  0b00..Interrupt 8 is low-level sensitive.
54391  *  0b01..Interrupt 8 is high-level sensitive.
54392  *  0b10..Interrupt 8 is rising-edge sensitive.
54393  *  0b11..Interrupt 8 is falling-edge sensitive.
54394  */
54395 #define GPIO_ICR1_ICR8(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR8_SHIFT)) & GPIO_ICR1_ICR8_MASK)
54396 
54397 #define GPIO_ICR1_ICR9_MASK                      (0xC0000U)
54398 #define GPIO_ICR1_ICR9_SHIFT                     (18U)
54399 /*! ICR9 - Interrupt configuration field for GPIO interrupt 9
54400  *  0b00..Interrupt 9 is low-level sensitive.
54401  *  0b01..Interrupt 9 is high-level sensitive.
54402  *  0b10..Interrupt 9 is rising-edge sensitive.
54403  *  0b11..Interrupt 9 is falling-edge sensitive.
54404  */
54405 #define GPIO_ICR1_ICR9(x)                        (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR9_SHIFT)) & GPIO_ICR1_ICR9_MASK)
54406 
54407 #define GPIO_ICR1_ICR10_MASK                     (0x300000U)
54408 #define GPIO_ICR1_ICR10_SHIFT                    (20U)
54409 /*! ICR10 - Interrupt configuration field for GPIO interrupt 10
54410  *  0b00..Interrupt 10 is low-level sensitive.
54411  *  0b01..Interrupt 10 is high-level sensitive.
54412  *  0b10..Interrupt 10 is rising-edge sensitive.
54413  *  0b11..Interrupt 10 is falling-edge sensitive.
54414  */
54415 #define GPIO_ICR1_ICR10(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR10_SHIFT)) & GPIO_ICR1_ICR10_MASK)
54416 
54417 #define GPIO_ICR1_ICR11_MASK                     (0xC00000U)
54418 #define GPIO_ICR1_ICR11_SHIFT                    (22U)
54419 /*! ICR11 - Interrupt configuration field for GPIO interrupt 11
54420  *  0b00..Interrupt 11 is low-level sensitive.
54421  *  0b01..Interrupt 11 is high-level sensitive.
54422  *  0b10..Interrupt 11 is rising-edge sensitive.
54423  *  0b11..Interrupt 11 is falling-edge sensitive.
54424  */
54425 #define GPIO_ICR1_ICR11(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR11_SHIFT)) & GPIO_ICR1_ICR11_MASK)
54426 
54427 #define GPIO_ICR1_ICR12_MASK                     (0x3000000U)
54428 #define GPIO_ICR1_ICR12_SHIFT                    (24U)
54429 /*! ICR12 - Interrupt configuration field for GPIO interrupt 12
54430  *  0b00..Interrupt 12 is low-level sensitive.
54431  *  0b01..Interrupt 12 is high-level sensitive.
54432  *  0b10..Interrupt 12 is rising-edge sensitive.
54433  *  0b11..Interrupt 12 is falling-edge sensitive.
54434  */
54435 #define GPIO_ICR1_ICR12(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR12_SHIFT)) & GPIO_ICR1_ICR12_MASK)
54436 
54437 #define GPIO_ICR1_ICR13_MASK                     (0xC000000U)
54438 #define GPIO_ICR1_ICR13_SHIFT                    (26U)
54439 /*! ICR13 - Interrupt configuration field for GPIO interrupt 13
54440  *  0b00..Interrupt 13 is low-level sensitive.
54441  *  0b01..Interrupt 13 is high-level sensitive.
54442  *  0b10..Interrupt 13 is rising-edge sensitive.
54443  *  0b11..Interrupt 13 is falling-edge sensitive.
54444  */
54445 #define GPIO_ICR1_ICR13(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR13_SHIFT)) & GPIO_ICR1_ICR13_MASK)
54446 
54447 #define GPIO_ICR1_ICR14_MASK                     (0x30000000U)
54448 #define GPIO_ICR1_ICR14_SHIFT                    (28U)
54449 /*! ICR14 - Interrupt configuration field for GPIO interrupt 14
54450  *  0b00..Interrupt 14 is low-level sensitive.
54451  *  0b01..Interrupt 14 is high-level sensitive.
54452  *  0b10..Interrupt 14 is rising-edge sensitive.
54453  *  0b11..Interrupt 14 is falling-edge sensitive.
54454  */
54455 #define GPIO_ICR1_ICR14(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR14_SHIFT)) & GPIO_ICR1_ICR14_MASK)
54456 
54457 #define GPIO_ICR1_ICR15_MASK                     (0xC0000000U)
54458 #define GPIO_ICR1_ICR15_SHIFT                    (30U)
54459 /*! ICR15 - Interrupt configuration field for GPIO interrupt 15
54460  *  0b00..Interrupt 15 is low-level sensitive.
54461  *  0b01..Interrupt 15 is high-level sensitive.
54462  *  0b10..Interrupt 15 is rising-edge sensitive.
54463  *  0b11..Interrupt 15 is falling-edge sensitive.
54464  */
54465 #define GPIO_ICR1_ICR15(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR1_ICR15_SHIFT)) & GPIO_ICR1_ICR15_MASK)
54466 /*! @} */
54467 
54468 /*! @name ICR2 - GPIO interrupt configuration register2 */
54469 /*! @{ */
54470 
54471 #define GPIO_ICR2_ICR16_MASK                     (0x3U)
54472 #define GPIO_ICR2_ICR16_SHIFT                    (0U)
54473 /*! ICR16 - Interrupt configuration field for GPIO interrupt 16
54474  *  0b00..Interrupt 16 is low-level sensitive.
54475  *  0b01..Interrupt 16 is high-level sensitive.
54476  *  0b10..Interrupt 16 is rising-edge sensitive.
54477  *  0b11..Interrupt 16 is falling-edge sensitive.
54478  */
54479 #define GPIO_ICR2_ICR16(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR16_SHIFT)) & GPIO_ICR2_ICR16_MASK)
54480 
54481 #define GPIO_ICR2_ICR17_MASK                     (0xCU)
54482 #define GPIO_ICR2_ICR17_SHIFT                    (2U)
54483 /*! ICR17 - Interrupt configuration field for GPIO interrupt 17
54484  *  0b00..Interrupt 17 is low-level sensitive.
54485  *  0b01..Interrupt 17 is high-level sensitive.
54486  *  0b10..Interrupt 17 is rising-edge sensitive.
54487  *  0b11..Interrupt 17 is falling-edge sensitive.
54488  */
54489 #define GPIO_ICR2_ICR17(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR17_SHIFT)) & GPIO_ICR2_ICR17_MASK)
54490 
54491 #define GPIO_ICR2_ICR18_MASK                     (0x30U)
54492 #define GPIO_ICR2_ICR18_SHIFT                    (4U)
54493 /*! ICR18 - Interrupt configuration field for GPIO interrupt 18
54494  *  0b00..Interrupt 18 is low-level sensitive.
54495  *  0b01..Interrupt 18 is high-level sensitive.
54496  *  0b10..Interrupt 18 is rising-edge sensitive.
54497  *  0b11..Interrupt 18 is falling-edge sensitive.
54498  */
54499 #define GPIO_ICR2_ICR18(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR18_SHIFT)) & GPIO_ICR2_ICR18_MASK)
54500 
54501 #define GPIO_ICR2_ICR19_MASK                     (0xC0U)
54502 #define GPIO_ICR2_ICR19_SHIFT                    (6U)
54503 /*! ICR19 - Interrupt configuration field for GPIO interrupt 19
54504  *  0b00..Interrupt 19 is low-level sensitive.
54505  *  0b01..Interrupt 19 is high-level sensitive.
54506  *  0b10..Interrupt 19 is rising-edge sensitive.
54507  *  0b11..Interrupt 19 is falling-edge sensitive.
54508  */
54509 #define GPIO_ICR2_ICR19(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR19_SHIFT)) & GPIO_ICR2_ICR19_MASK)
54510 
54511 #define GPIO_ICR2_ICR20_MASK                     (0x300U)
54512 #define GPIO_ICR2_ICR20_SHIFT                    (8U)
54513 /*! ICR20 - Interrupt configuration field for GPIO interrupt 20
54514  *  0b00..Interrupt 20 is low-level sensitive.
54515  *  0b01..Interrupt 20 is high-level sensitive.
54516  *  0b10..Interrupt 20 is rising-edge sensitive.
54517  *  0b11..Interrupt 20 is falling-edge sensitive.
54518  */
54519 #define GPIO_ICR2_ICR20(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR20_SHIFT)) & GPIO_ICR2_ICR20_MASK)
54520 
54521 #define GPIO_ICR2_ICR21_MASK                     (0xC00U)
54522 #define GPIO_ICR2_ICR21_SHIFT                    (10U)
54523 /*! ICR21 - Interrupt configuration field for GPIO interrupt 21
54524  *  0b00..Interrupt 21 is low-level sensitive.
54525  *  0b01..Interrupt 21 is high-level sensitive.
54526  *  0b10..Interrupt 21 is rising-edge sensitive.
54527  *  0b11..Interrupt 21 is falling-edge sensitive.
54528  */
54529 #define GPIO_ICR2_ICR21(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR21_SHIFT)) & GPIO_ICR2_ICR21_MASK)
54530 
54531 #define GPIO_ICR2_ICR22_MASK                     (0x3000U)
54532 #define GPIO_ICR2_ICR22_SHIFT                    (12U)
54533 /*! ICR22 - Interrupt configuration field for GPIO interrupt 22
54534  *  0b00..Interrupt 22 is low-level sensitive.
54535  *  0b01..Interrupt 22 is high-level sensitive.
54536  *  0b10..Interrupt 22 is rising-edge sensitive.
54537  *  0b11..Interrupt 22 is falling-edge sensitive.
54538  */
54539 #define GPIO_ICR2_ICR22(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR22_SHIFT)) & GPIO_ICR2_ICR22_MASK)
54540 
54541 #define GPIO_ICR2_ICR23_MASK                     (0xC000U)
54542 #define GPIO_ICR2_ICR23_SHIFT                    (14U)
54543 /*! ICR23 - Interrupt configuration field for GPIO interrupt 23
54544  *  0b00..Interrupt 23 is low-level sensitive.
54545  *  0b01..Interrupt 23 is high-level sensitive.
54546  *  0b10..Interrupt 23 is rising-edge sensitive.
54547  *  0b11..Interrupt 23 is falling-edge sensitive.
54548  */
54549 #define GPIO_ICR2_ICR23(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR23_SHIFT)) & GPIO_ICR2_ICR23_MASK)
54550 
54551 #define GPIO_ICR2_ICR24_MASK                     (0x30000U)
54552 #define GPIO_ICR2_ICR24_SHIFT                    (16U)
54553 /*! ICR24 - Interrupt configuration field for GPIO interrupt 24
54554  *  0b00..Interrupt 24 is low-level sensitive.
54555  *  0b01..Interrupt 24 is high-level sensitive.
54556  *  0b10..Interrupt 24 is rising-edge sensitive.
54557  *  0b11..Interrupt 24 is falling-edge sensitive.
54558  */
54559 #define GPIO_ICR2_ICR24(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR24_SHIFT)) & GPIO_ICR2_ICR24_MASK)
54560 
54561 #define GPIO_ICR2_ICR25_MASK                     (0xC0000U)
54562 #define GPIO_ICR2_ICR25_SHIFT                    (18U)
54563 /*! ICR25 - Interrupt configuration field for GPIO interrupt 25
54564  *  0b00..Interrupt 25 is low-level sensitive.
54565  *  0b01..Interrupt 25 is high-level sensitive.
54566  *  0b10..Interrupt 25 is rising-edge sensitive.
54567  *  0b11..Interrupt 25 is falling-edge sensitive.
54568  */
54569 #define GPIO_ICR2_ICR25(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR25_SHIFT)) & GPIO_ICR2_ICR25_MASK)
54570 
54571 #define GPIO_ICR2_ICR26_MASK                     (0x300000U)
54572 #define GPIO_ICR2_ICR26_SHIFT                    (20U)
54573 /*! ICR26 - Interrupt configuration field for GPIO interrupt 26
54574  *  0b00..Interrupt 26 is low-level sensitive.
54575  *  0b01..Interrupt 26 is high-level sensitive.
54576  *  0b10..Interrupt 26 is rising-edge sensitive.
54577  *  0b11..Interrupt 26 is falling-edge sensitive.
54578  */
54579 #define GPIO_ICR2_ICR26(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR26_SHIFT)) & GPIO_ICR2_ICR26_MASK)
54580 
54581 #define GPIO_ICR2_ICR27_MASK                     (0xC00000U)
54582 #define GPIO_ICR2_ICR27_SHIFT                    (22U)
54583 /*! ICR27 - Interrupt configuration field for GPIO interrupt 27
54584  *  0b00..Interrupt 27 is low-level sensitive.
54585  *  0b01..Interrupt 27 is high-level sensitive.
54586  *  0b10..Interrupt 27 is rising-edge sensitive.
54587  *  0b11..Interrupt 27 is falling-edge sensitive.
54588  */
54589 #define GPIO_ICR2_ICR27(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR27_SHIFT)) & GPIO_ICR2_ICR27_MASK)
54590 
54591 #define GPIO_ICR2_ICR28_MASK                     (0x3000000U)
54592 #define GPIO_ICR2_ICR28_SHIFT                    (24U)
54593 /*! ICR28 - Interrupt configuration field for GPIO interrupt 28
54594  *  0b00..Interrupt 28 is low-level sensitive.
54595  *  0b01..Interrupt 28 is high-level sensitive.
54596  *  0b10..Interrupt 28 is rising-edge sensitive.
54597  *  0b11..Interrupt 28 is falling-edge sensitive.
54598  */
54599 #define GPIO_ICR2_ICR28(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR28_SHIFT)) & GPIO_ICR2_ICR28_MASK)
54600 
54601 #define GPIO_ICR2_ICR29_MASK                     (0xC000000U)
54602 #define GPIO_ICR2_ICR29_SHIFT                    (26U)
54603 /*! ICR29 - Interrupt configuration field for GPIO interrupt 29
54604  *  0b00..Interrupt 29 is low-level sensitive.
54605  *  0b01..Interrupt 29 is high-level sensitive.
54606  *  0b10..Interrupt 29 is rising-edge sensitive.
54607  *  0b11..Interrupt 29 is falling-edge sensitive.
54608  */
54609 #define GPIO_ICR2_ICR29(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR29_SHIFT)) & GPIO_ICR2_ICR29_MASK)
54610 
54611 #define GPIO_ICR2_ICR30_MASK                     (0x30000000U)
54612 #define GPIO_ICR2_ICR30_SHIFT                    (28U)
54613 /*! ICR30 - Interrupt configuration field for GPIO interrupt 30
54614  *  0b00..Interrupt 30 is low-level sensitive.
54615  *  0b01..Interrupt 30 is high-level sensitive.
54616  *  0b10..Interrupt 30 is rising-edge sensitive.
54617  *  0b11..Interrupt 30 is falling-edge sensitive.
54618  */
54619 #define GPIO_ICR2_ICR30(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR30_SHIFT)) & GPIO_ICR2_ICR30_MASK)
54620 
54621 #define GPIO_ICR2_ICR31_MASK                     (0xC0000000U)
54622 #define GPIO_ICR2_ICR31_SHIFT                    (30U)
54623 /*! ICR31 - Interrupt configuration field for GPIO interrupt 31
54624  *  0b00..Interrupt 31 is low-level sensitive.
54625  *  0b01..Interrupt 31 is high-level sensitive.
54626  *  0b10..Interrupt 31 is rising-edge sensitive.
54627  *  0b11..Interrupt 31 is falling-edge sensitive.
54628  */
54629 #define GPIO_ICR2_ICR31(x)                       (((uint32_t)(((uint32_t)(x)) << GPIO_ICR2_ICR31_SHIFT)) & GPIO_ICR2_ICR31_MASK)
54630 /*! @} */
54631 
54632 /*! @name IMR - GPIO interrupt mask register */
54633 /*! @{ */
54634 
54635 #define GPIO_IMR_IMR_MASK                        (0xFFFFFFFFU)
54636 #define GPIO_IMR_IMR_SHIFT                       (0U)
54637 /*! IMR - Interrupt Mask bits
54638  */
54639 #define GPIO_IMR_IMR(x)                          (((uint32_t)(((uint32_t)(x)) << GPIO_IMR_IMR_SHIFT)) & GPIO_IMR_IMR_MASK)
54640 /*! @} */
54641 
54642 /*! @name ISR - GPIO interrupt status register */
54643 /*! @{ */
54644 
54645 #define GPIO_ISR_ISR_MASK                        (0xFFFFFFFFU)
54646 #define GPIO_ISR_ISR_SHIFT                       (0U)
54647 /*! ISR - Interrupt status bits
54648  */
54649 #define GPIO_ISR_ISR(x)                          (((uint32_t)(((uint32_t)(x)) << GPIO_ISR_ISR_SHIFT)) & GPIO_ISR_ISR_MASK)
54650 /*! @} */
54651 
54652 /*! @name EDGE_SEL - GPIO edge select register */
54653 /*! @{ */
54654 
54655 #define GPIO_EDGE_SEL_GPIO_EDGE_SEL_MASK         (0xFFFFFFFFU)
54656 #define GPIO_EDGE_SEL_GPIO_EDGE_SEL_SHIFT        (0U)
54657 /*! GPIO_EDGE_SEL - Edge select
54658  */
54659 #define GPIO_EDGE_SEL_GPIO_EDGE_SEL(x)           (((uint32_t)(((uint32_t)(x)) << GPIO_EDGE_SEL_GPIO_EDGE_SEL_SHIFT)) & GPIO_EDGE_SEL_GPIO_EDGE_SEL_MASK)
54660 /*! @} */
54661 
54662 /*! @name DR_SET - GPIO data register SET */
54663 /*! @{ */
54664 
54665 #define GPIO_DR_SET_DR_SET_MASK                  (0xFFFFFFFFU)
54666 #define GPIO_DR_SET_DR_SET_SHIFT                 (0U)
54667 /*! DR_SET - Set
54668  */
54669 #define GPIO_DR_SET_DR_SET(x)                    (((uint32_t)(((uint32_t)(x)) << GPIO_DR_SET_DR_SET_SHIFT)) & GPIO_DR_SET_DR_SET_MASK)
54670 /*! @} */
54671 
54672 /*! @name DR_CLEAR - GPIO data register CLEAR */
54673 /*! @{ */
54674 
54675 #define GPIO_DR_CLEAR_DR_CLEAR_MASK              (0xFFFFFFFFU)
54676 #define GPIO_DR_CLEAR_DR_CLEAR_SHIFT             (0U)
54677 /*! DR_CLEAR - Clear
54678  */
54679 #define GPIO_DR_CLEAR_DR_CLEAR(x)                (((uint32_t)(((uint32_t)(x)) << GPIO_DR_CLEAR_DR_CLEAR_SHIFT)) & GPIO_DR_CLEAR_DR_CLEAR_MASK)
54680 /*! @} */
54681 
54682 /*! @name DR_TOGGLE - GPIO data register TOGGLE */
54683 /*! @{ */
54684 
54685 #define GPIO_DR_TOGGLE_DR_TOGGLE_MASK            (0xFFFFFFFFU)
54686 #define GPIO_DR_TOGGLE_DR_TOGGLE_SHIFT           (0U)
54687 /*! DR_TOGGLE - Toggle
54688  */
54689 #define GPIO_DR_TOGGLE_DR_TOGGLE(x)              (((uint32_t)(((uint32_t)(x)) << GPIO_DR_TOGGLE_DR_TOGGLE_SHIFT)) & GPIO_DR_TOGGLE_DR_TOGGLE_MASK)
54690 /*! @} */
54691 
54692 
54693 /*!
54694  * @}
54695  */ /* end of group GPIO_Register_Masks */
54696 
54697 
54698 /* GPIO - Peripheral instance base addresses */
54699 /** Peripheral GPIO1 base address */
54700 #define GPIO1_BASE                               (0x4012C000u)
54701 /** Peripheral GPIO1 base pointer */
54702 #define GPIO1                                    ((GPIO_Type *)GPIO1_BASE)
54703 /** Peripheral GPIO2 base address */
54704 #define GPIO2_BASE                               (0x40130000u)
54705 /** Peripheral GPIO2 base pointer */
54706 #define GPIO2                                    ((GPIO_Type *)GPIO2_BASE)
54707 /** Peripheral GPIO3 base address */
54708 #define GPIO3_BASE                               (0x40134000u)
54709 /** Peripheral GPIO3 base pointer */
54710 #define GPIO3                                    ((GPIO_Type *)GPIO3_BASE)
54711 /** Peripheral GPIO4 base address */
54712 #define GPIO4_BASE                               (0x40138000u)
54713 /** Peripheral GPIO4 base pointer */
54714 #define GPIO4                                    ((GPIO_Type *)GPIO4_BASE)
54715 /** Peripheral GPIO5 base address */
54716 #define GPIO5_BASE                               (0x4013C000u)
54717 /** Peripheral GPIO5 base pointer */
54718 #define GPIO5                                    ((GPIO_Type *)GPIO5_BASE)
54719 /** Peripheral GPIO6 base address */
54720 #define GPIO6_BASE                               (0x40140000u)
54721 /** Peripheral GPIO6 base pointer */
54722 #define GPIO6                                    ((GPIO_Type *)GPIO6_BASE)
54723 /** Peripheral GPIO7 base address */
54724 #define GPIO7_BASE                               (0x40C5C000u)
54725 /** Peripheral GPIO7 base pointer */
54726 #define GPIO7                                    ((GPIO_Type *)GPIO7_BASE)
54727 /** Peripheral GPIO8 base address */
54728 #define GPIO8_BASE                               (0x40C60000u)
54729 /** Peripheral GPIO8 base pointer */
54730 #define GPIO8                                    ((GPIO_Type *)GPIO8_BASE)
54731 /** Peripheral GPIO9 base address */
54732 #define GPIO9_BASE                               (0x40C64000u)
54733 /** Peripheral GPIO9 base pointer */
54734 #define GPIO9                                    ((GPIO_Type *)GPIO9_BASE)
54735 /** Peripheral GPIO10 base address */
54736 #define GPIO10_BASE                              (0x40C68000u)
54737 /** Peripheral GPIO10 base pointer */
54738 #define GPIO10                                   ((GPIO_Type *)GPIO10_BASE)
54739 /** Peripheral GPIO11 base address */
54740 #define GPIO11_BASE                              (0x40C6C000u)
54741 /** Peripheral GPIO11 base pointer */
54742 #define GPIO11                                   ((GPIO_Type *)GPIO11_BASE)
54743 /** Peripheral GPIO12 base address */
54744 #define GPIO12_BASE                              (0x40C70000u)
54745 /** Peripheral GPIO12 base pointer */
54746 #define GPIO12                                   ((GPIO_Type *)GPIO12_BASE)
54747 /** Peripheral GPIO13 base address */
54748 #define GPIO13_BASE                              (0x40CA0000u)
54749 /** Peripheral GPIO13 base pointer */
54750 #define GPIO13                                   ((GPIO_Type *)GPIO13_BASE)
54751 /** Peripheral CM7_GPIO2 base address */
54752 #define CM7_GPIO2_BASE                           (0x42008000u)
54753 /** Peripheral CM7_GPIO2 base pointer */
54754 #define CM7_GPIO2                                ((GPIO_Type *)CM7_GPIO2_BASE)
54755 /** Peripheral CM7_GPIO3 base address */
54756 #define CM7_GPIO3_BASE                           (0x4200C000u)
54757 /** Peripheral CM7_GPIO3 base pointer */
54758 #define CM7_GPIO3                                ((GPIO_Type *)CM7_GPIO3_BASE)
54759 /** Array initializer of GPIO peripheral base addresses */
54760 #define GPIO_BASE_ADDRS                          { 0u, GPIO1_BASE, GPIO2_BASE, GPIO3_BASE, GPIO4_BASE, GPIO5_BASE, GPIO6_BASE, GPIO7_BASE, GPIO8_BASE, GPIO9_BASE, GPIO10_BASE, GPIO11_BASE, GPIO12_BASE, GPIO13_BASE, CM7_GPIO2_BASE, CM7_GPIO3_BASE }
54761 /** Array initializer of GPIO peripheral base pointers */
54762 #define GPIO_BASE_PTRS                           { (GPIO_Type *)0u, GPIO1, GPIO2, GPIO3, GPIO4, GPIO5, GPIO6, GPIO7, GPIO8, GPIO9, GPIO10, GPIO11, GPIO12, GPIO13, CM7_GPIO2, CM7_GPIO3 }
54763 /** Interrupt vectors for the GPIO peripheral type */
54764 #define GPIO_COMBINED_LOW_IRQS                   { NotAvail_IRQn, GPIO1_Combined_0_15_IRQn, GPIO2_Combined_0_15_IRQn, GPIO3_Combined_0_15_IRQn, GPIO4_Combined_0_15_IRQn, GPIO5_Combined_0_15_IRQn, GPIO6_Combined_0_15_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, GPIO13_Combined_0_31_IRQn, CM7_GPIO2_3_IRQn, CM7_GPIO2_3_IRQn }
54765 #define GPIO_COMBINED_HIGH_IRQS                  { NotAvail_IRQn, GPIO1_Combined_16_31_IRQn, GPIO2_Combined_16_31_IRQn, GPIO3_Combined_16_31_IRQn, GPIO4_Combined_16_31_IRQn, GPIO5_Combined_16_31_IRQn, GPIO6_Combined_16_31_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, GPIO13_Combined_0_31_IRQn, CM7_GPIO2_3_IRQn, CM7_GPIO2_3_IRQn }
54766 
54767 /*!
54768  * @}
54769  */ /* end of group GPIO_Peripheral_Access_Layer */
54770 
54771 
54772 /* ----------------------------------------------------------------------------
54773    -- GPT Peripheral Access Layer
54774    ---------------------------------------------------------------------------- */
54775 
54776 /*!
54777  * @addtogroup GPT_Peripheral_Access_Layer GPT Peripheral Access Layer
54778  * @{
54779  */
54780 
54781 /** GPT - Register Layout Typedef */
54782 typedef struct {
54783   __IO uint32_t CR;                                /**< GPT Control Register, offset: 0x0 */
54784   __IO uint32_t PR;                                /**< GPT Prescaler Register, offset: 0x4 */
54785   __IO uint32_t SR;                                /**< GPT Status Register, offset: 0x8 */
54786   __IO uint32_t IR;                                /**< GPT Interrupt Register, offset: 0xC */
54787   __IO uint32_t OCR[3];                            /**< GPT Output Compare Register, array offset: 0x10, array step: 0x4 */
54788   __I  uint32_t ICR[2];                            /**< GPT Input Capture Register, array offset: 0x1C, array step: 0x4 */
54789   __I  uint32_t CNT;                               /**< GPT Counter Register, offset: 0x24 */
54790 } GPT_Type;
54791 
54792 /* ----------------------------------------------------------------------------
54793    -- GPT Register Masks
54794    ---------------------------------------------------------------------------- */
54795 
54796 /*!
54797  * @addtogroup GPT_Register_Masks GPT Register Masks
54798  * @{
54799  */
54800 
54801 /*! @name CR - GPT Control Register */
54802 /*! @{ */
54803 
54804 #define GPT_CR_EN_MASK                           (0x1U)
54805 #define GPT_CR_EN_SHIFT                          (0U)
54806 /*! EN - GPT Enable
54807  *  0b0..Disable
54808  *  0b1..Enable
54809  */
54810 #define GPT_CR_EN(x)                             (((uint32_t)(((uint32_t)(x)) << GPT_CR_EN_SHIFT)) & GPT_CR_EN_MASK)
54811 
54812 #define GPT_CR_ENMOD_MASK                        (0x2U)
54813 #define GPT_CR_ENMOD_SHIFT                       (1U)
54814 /*! ENMOD - GPT Enable Mode
54815  *  0b0..Restart counting from their frozen values after GPT is enabled (EN=1).
54816  *  0b1..Reset counting from 0 after GPT is enabled (EN=1).
54817  */
54818 #define GPT_CR_ENMOD(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_CR_ENMOD_SHIFT)) & GPT_CR_ENMOD_MASK)
54819 
54820 #define GPT_CR_DBGEN_MASK                        (0x4U)
54821 #define GPT_CR_DBGEN_SHIFT                       (2U)
54822 /*! DBGEN - GPT Debug Mode Enable
54823  *  0b0..Disable in Debug mode
54824  *  0b1..Enable in Debug mode
54825  */
54826 #define GPT_CR_DBGEN(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_CR_DBGEN_SHIFT)) & GPT_CR_DBGEN_MASK)
54827 
54828 #define GPT_CR_WAITEN_MASK                       (0x8U)
54829 #define GPT_CR_WAITEN_SHIFT                      (3U)
54830 /*! WAITEN - GPT Wait Mode Enable
54831  *  0b0..Disable in Wait mode
54832  *  0b1..Enable in Wait mode
54833  */
54834 #define GPT_CR_WAITEN(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CR_WAITEN_SHIFT)) & GPT_CR_WAITEN_MASK)
54835 
54836 #define GPT_CR_DOZEEN_MASK                       (0x10U)
54837 #define GPT_CR_DOZEEN_SHIFT                      (4U)
54838 /*! DOZEEN - GPT Doze Mode Enable
54839  *  0b0..Disable in Doze mode
54840  *  0b1..Enable in Doze mode
54841  */
54842 #define GPT_CR_DOZEEN(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CR_DOZEEN_SHIFT)) & GPT_CR_DOZEEN_MASK)
54843 
54844 #define GPT_CR_STOPEN_MASK                       (0x20U)
54845 #define GPT_CR_STOPEN_SHIFT                      (5U)
54846 /*! STOPEN - GPT Stop Mode Enable
54847  *  0b0..Disable in Stop mode
54848  *  0b1..Enable in Stop mode
54849  */
54850 #define GPT_CR_STOPEN(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CR_STOPEN_SHIFT)) & GPT_CR_STOPEN_MASK)
54851 
54852 #define GPT_CR_CLKSRC_MASK                       (0x1C0U)
54853 #define GPT_CR_CLKSRC_SHIFT                      (6U)
54854 /*! CLKSRC - Clock Source Select
54855  *  0b000..No clock
54856  *  0b001..Peripheral Clock (ipg_clk)
54857  *  0b010..High Frequency Reference Clock (ipg_clk_highfreq)
54858  *  0b011..External Clock
54859  *  0b100..Low Frequency Reference Clock (ipg_clk_32k)
54860  *  0b101..Oscillator as Reference Clock (ipg_clk_16M)
54861  */
54862 #define GPT_CR_CLKSRC(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CR_CLKSRC_SHIFT)) & GPT_CR_CLKSRC_MASK)
54863 
54864 #define GPT_CR_FRR_MASK                          (0x200U)
54865 #define GPT_CR_FRR_SHIFT                         (9U)
54866 /*! FRR - Free-Run or Restart Mode
54867  *  0b0..Restart mode. After a compare event, the counter resets to 0x0000_0000 and resumes counting.
54868  *  0b1..Free-Run mode. After a compare event, the counter continues counting until 0xFFFF_FFFF and then rolls over to 0.
54869  */
54870 #define GPT_CR_FRR(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_FRR_SHIFT)) & GPT_CR_FRR_MASK)
54871 
54872 #define GPT_CR_EN_24M_MASK                       (0x400U)
54873 #define GPT_CR_EN_24M_SHIFT                      (10U)
54874 /*! EN_24M - Enable Oscillator Clock Input
54875  *  0b0..Disable
54876  *  0b1..Enable
54877  */
54878 #define GPT_CR_EN_24M(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CR_EN_24M_SHIFT)) & GPT_CR_EN_24M_MASK)
54879 
54880 #define GPT_CR_SWR_MASK                          (0x8000U)
54881 #define GPT_CR_SWR_SHIFT                         (15U)
54882 /*! SWR - Software Reset
54883  *  0b0..GPT is not in software reset state
54884  *  0b1..GPT is in software reset state
54885  */
54886 #define GPT_CR_SWR(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_SWR_SHIFT)) & GPT_CR_SWR_MASK)
54887 
54888 #define GPT_CR_IM1_MASK                          (0x30000U)
54889 #define GPT_CR_IM1_SHIFT                         (16U)
54890 /*! IM1 - Input Capture Operating Mode for Channel 1
54891  *  0b00..Capture disabled
54892  *  0b01..Capture on rising edge only
54893  *  0b10..Capture on falling edge only
54894  *  0b11..Capture on both edges
54895  */
54896 #define GPT_CR_IM1(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_IM1_SHIFT)) & GPT_CR_IM1_MASK)
54897 
54898 #define GPT_CR_IM2_MASK                          (0xC0000U)
54899 #define GPT_CR_IM2_SHIFT                         (18U)
54900 /*! IM2 - Input Capture Operating Mode for Channel 2
54901  *  0b00..Capture disabled
54902  *  0b01..Capture on rising edge only
54903  *  0b10..Capture on falling edge only
54904  *  0b11..Capture on both edges
54905  */
54906 #define GPT_CR_IM2(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_IM2_SHIFT)) & GPT_CR_IM2_MASK)
54907 
54908 #define GPT_CR_OM1_MASK                          (0x700000U)
54909 #define GPT_CR_OM1_SHIFT                         (20U)
54910 /*! OM1 - Output Compare Operating Mode for Channel 1
54911  *  0b000..Output disabled. No response on pin.
54912  *  0b001..Toggle output pin
54913  *  0b010..Clear output pin
54914  *  0b011..Set output pin
54915  *  0b1xx..Generate a low pulse that is one input clock cycle wide on the output pin. When OMn is first programmed
54916  *         as 1xx, the output pin is set to one immediately on the next input clock (if it was not one already).
54917  *         "Input clock" here refers to the clock selected by the CLKSRC field of this register.
54918  */
54919 #define GPT_CR_OM1(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_OM1_SHIFT)) & GPT_CR_OM1_MASK)
54920 
54921 #define GPT_CR_OM2_MASK                          (0x3800000U)
54922 #define GPT_CR_OM2_SHIFT                         (23U)
54923 /*! OM2 - Output Compare Operating Mode for Channel 2
54924  *  0b000..Output disabled. No response on pin.
54925  *  0b001..Toggle output pin
54926  *  0b010..Clear output pin
54927  *  0b011..Set output pin
54928  *  0b1xx..Generate a low pulse that is one input clock cycle wide on the output pin. When OMn is first programmed
54929  *         as 1xx, the output pin is set to one immediately on the next input clock (if it was not one already).
54930  *         "Input clock" here refers to the clock selected by the CLKSRC field of this register.
54931  */
54932 #define GPT_CR_OM2(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_OM2_SHIFT)) & GPT_CR_OM2_MASK)
54933 
54934 #define GPT_CR_OM3_MASK                          (0x1C000000U)
54935 #define GPT_CR_OM3_SHIFT                         (26U)
54936 /*! OM3 - Output Compare Operating Mode for Channel 3
54937  *  0b000..Output disabled. No response on pin.
54938  *  0b001..Toggle output pin
54939  *  0b010..Clear output pin
54940  *  0b011..Set output pin
54941  *  0b1xx..Generate a low pulse that is one input clock cycle wide on the output pin. When OMn is first programmed
54942  *         as 1xx, the output pin is set to one immediately on the next input clock (if it was not one already).
54943  *         "Input clock" here refers to the clock selected by the CLKSRC field of this register.
54944  */
54945 #define GPT_CR_OM3(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_OM3_SHIFT)) & GPT_CR_OM3_MASK)
54946 
54947 #define GPT_CR_FO1_MASK                          (0x20000000U)
54948 #define GPT_CR_FO1_SHIFT                         (29U)
54949 /*! FO1 - Force Output Compare for Channel 1
54950  *  0b0..No effect
54951  *  0b1..Trigger the programmed response on the pin
54952  */
54953 #define GPT_CR_FO1(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_FO1_SHIFT)) & GPT_CR_FO1_MASK)
54954 
54955 #define GPT_CR_FO2_MASK                          (0x40000000U)
54956 #define GPT_CR_FO2_SHIFT                         (30U)
54957 /*! FO2 - Force Output Compare for Channel 2
54958  *  0b0..No effect
54959  *  0b1..Trigger the programmed response on the pin
54960  */
54961 #define GPT_CR_FO2(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_FO2_SHIFT)) & GPT_CR_FO2_MASK)
54962 
54963 #define GPT_CR_FO3_MASK                          (0x80000000U)
54964 #define GPT_CR_FO3_SHIFT                         (31U)
54965 /*! FO3 - Force Output Compare for Channel 3
54966  *  0b0..No effect
54967  *  0b1..Trigger the programmed response on the pin
54968  */
54969 #define GPT_CR_FO3(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_CR_FO3_SHIFT)) & GPT_CR_FO3_MASK)
54970 /*! @} */
54971 
54972 /*! @name PR - GPT Prescaler Register */
54973 /*! @{ */
54974 
54975 #define GPT_PR_PRESCALER_MASK                    (0xFFFU)
54976 #define GPT_PR_PRESCALER_SHIFT                   (0U)
54977 /*! PRESCALER - Prescaler divide value
54978  *  0b000000000000..Divide by 1
54979  *  0b000000000001..Divide by 2
54980  *  0b111111111111..Divide by 4096
54981  */
54982 #define GPT_PR_PRESCALER(x)                      (((uint32_t)(((uint32_t)(x)) << GPT_PR_PRESCALER_SHIFT)) & GPT_PR_PRESCALER_MASK)
54983 
54984 #define GPT_PR_PRESCALER24M_MASK                 (0xF000U)
54985 #define GPT_PR_PRESCALER24M_SHIFT                (12U)
54986 /*! PRESCALER24M - Prescaler divide value for the oscillator clock
54987  *  0b0000..Divide by 1
54988  *  0b0001..Divide by 2
54989  *  0b1111..Divide by 16
54990  */
54991 #define GPT_PR_PRESCALER24M(x)                   (((uint32_t)(((uint32_t)(x)) << GPT_PR_PRESCALER24M_SHIFT)) & GPT_PR_PRESCALER24M_MASK)
54992 /*! @} */
54993 
54994 /*! @name SR - GPT Status Register */
54995 /*! @{ */
54996 
54997 #define GPT_SR_OF1_MASK                          (0x1U)
54998 #define GPT_SR_OF1_SHIFT                         (0U)
54999 /*! OF1 - Output Compare Flag for Channel 1
55000  *  0b0..Compare event has not occurred.
55001  *  0b1..Compare event has occurred.
55002  */
55003 #define GPT_SR_OF1(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_OF1_SHIFT)) & GPT_SR_OF1_MASK)
55004 
55005 #define GPT_SR_OF2_MASK                          (0x2U)
55006 #define GPT_SR_OF2_SHIFT                         (1U)
55007 /*! OF2 - Output Compare Flag for Channel 2
55008  *  0b0..Compare event has not occurred.
55009  *  0b1..Compare event has occurred.
55010  */
55011 #define GPT_SR_OF2(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_OF2_SHIFT)) & GPT_SR_OF2_MASK)
55012 
55013 #define GPT_SR_OF3_MASK                          (0x4U)
55014 #define GPT_SR_OF3_SHIFT                         (2U)
55015 /*! OF3 - Output Compare Flag for Channel 3
55016  *  0b0..Compare event has not occurred.
55017  *  0b1..Compare event has occurred.
55018  */
55019 #define GPT_SR_OF3(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_OF3_SHIFT)) & GPT_SR_OF3_MASK)
55020 
55021 #define GPT_SR_IF1_MASK                          (0x8U)
55022 #define GPT_SR_IF1_SHIFT                         (3U)
55023 /*! IF1 - Input Capture Flag for Channel 1
55024  *  0b0..Capture event has not occurred.
55025  *  0b1..Capture event has occurred.
55026  */
55027 #define GPT_SR_IF1(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_IF1_SHIFT)) & GPT_SR_IF1_MASK)
55028 
55029 #define GPT_SR_IF2_MASK                          (0x10U)
55030 #define GPT_SR_IF2_SHIFT                         (4U)
55031 /*! IF2 - Input Capture Flag for Channel 2
55032  *  0b0..Capture event has not occurred.
55033  *  0b1..Capture event has occurred.
55034  */
55035 #define GPT_SR_IF2(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_IF2_SHIFT)) & GPT_SR_IF2_MASK)
55036 
55037 #define GPT_SR_ROV_MASK                          (0x20U)
55038 #define GPT_SR_ROV_SHIFT                         (5U)
55039 /*! ROV - Rollover Flag
55040  *  0b0..Rollover has not occurred.
55041  *  0b1..Rollover has occurred.
55042  */
55043 #define GPT_SR_ROV(x)                            (((uint32_t)(((uint32_t)(x)) << GPT_SR_ROV_SHIFT)) & GPT_SR_ROV_MASK)
55044 /*! @} */
55045 
55046 /*! @name IR - GPT Interrupt Register */
55047 /*! @{ */
55048 
55049 #define GPT_IR_OF1IE_MASK                        (0x1U)
55050 #define GPT_IR_OF1IE_SHIFT                       (0U)
55051 /*! OF1IE - Output Compare Flag for Channel 1 Interrupt Enable
55052  *  0b0..Disable
55053  *  0b1..Enable
55054  */
55055 #define GPT_IR_OF1IE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_OF1IE_SHIFT)) & GPT_IR_OF1IE_MASK)
55056 
55057 #define GPT_IR_OF2IE_MASK                        (0x2U)
55058 #define GPT_IR_OF2IE_SHIFT                       (1U)
55059 /*! OF2IE - Output Compare Flag for Channel 2 Interrupt Enable
55060  *  0b0..Disable
55061  *  0b1..Enable
55062  */
55063 #define GPT_IR_OF2IE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_OF2IE_SHIFT)) & GPT_IR_OF2IE_MASK)
55064 
55065 #define GPT_IR_OF3IE_MASK                        (0x4U)
55066 #define GPT_IR_OF3IE_SHIFT                       (2U)
55067 /*! OF3IE - Output Compare Flag for Channel 3 Interrupt Enable
55068  *  0b0..Disable
55069  *  0b1..Enable
55070  */
55071 #define GPT_IR_OF3IE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_OF3IE_SHIFT)) & GPT_IR_OF3IE_MASK)
55072 
55073 #define GPT_IR_IF1IE_MASK                        (0x8U)
55074 #define GPT_IR_IF1IE_SHIFT                       (3U)
55075 /*! IF1IE - Input Capture Flag for Channel 1 Interrupt Enable
55076  *  0b0..Disable
55077  *  0b1..Enable
55078  */
55079 #define GPT_IR_IF1IE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_IF1IE_SHIFT)) & GPT_IR_IF1IE_MASK)
55080 
55081 #define GPT_IR_IF2IE_MASK                        (0x10U)
55082 #define GPT_IR_IF2IE_SHIFT                       (4U)
55083 /*! IF2IE - Input Capture Flag for Channel 2 Interrupt Enable
55084  *  0b0..Disable
55085  *  0b1..Enable
55086  */
55087 #define GPT_IR_IF2IE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_IF2IE_SHIFT)) & GPT_IR_IF2IE_MASK)
55088 
55089 #define GPT_IR_ROVIE_MASK                        (0x20U)
55090 #define GPT_IR_ROVIE_SHIFT                       (5U)
55091 /*! ROVIE - Rollover Interrupt Enable
55092  *  0b0..Disable
55093  *  0b1..Enable
55094  */
55095 #define GPT_IR_ROVIE(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_IR_ROVIE_SHIFT)) & GPT_IR_ROVIE_MASK)
55096 /*! @} */
55097 
55098 /*! @name OCR - GPT Output Compare Register */
55099 /*! @{ */
55100 
55101 #define GPT_OCR_COMP_MASK                        (0xFFFFFFFFU)
55102 #define GPT_OCR_COMP_SHIFT                       (0U)
55103 /*! COMP - Compare Value
55104  */
55105 #define GPT_OCR_COMP(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_OCR_COMP_SHIFT)) & GPT_OCR_COMP_MASK)
55106 /*! @} */
55107 
55108 /* The count of GPT_OCR */
55109 #define GPT_OCR_COUNT                            (3U)
55110 
55111 /*! @name ICR - GPT Input Capture Register */
55112 /*! @{ */
55113 
55114 #define GPT_ICR_CAPT_MASK                        (0xFFFFFFFFU)
55115 #define GPT_ICR_CAPT_SHIFT                       (0U)
55116 /*! CAPT - Capture Value
55117  */
55118 #define GPT_ICR_CAPT(x)                          (((uint32_t)(((uint32_t)(x)) << GPT_ICR_CAPT_SHIFT)) & GPT_ICR_CAPT_MASK)
55119 /*! @} */
55120 
55121 /* The count of GPT_ICR */
55122 #define GPT_ICR_COUNT                            (2U)
55123 
55124 /*! @name CNT - GPT Counter Register */
55125 /*! @{ */
55126 
55127 #define GPT_CNT_COUNT_MASK                       (0xFFFFFFFFU)
55128 #define GPT_CNT_COUNT_SHIFT                      (0U)
55129 /*! COUNT - Counter Value
55130  */
55131 #define GPT_CNT_COUNT(x)                         (((uint32_t)(((uint32_t)(x)) << GPT_CNT_COUNT_SHIFT)) & GPT_CNT_COUNT_MASK)
55132 /*! @} */
55133 
55134 
55135 /*!
55136  * @}
55137  */ /* end of group GPT_Register_Masks */
55138 
55139 
55140 /* GPT - Peripheral instance base addresses */
55141 /** Peripheral GPT1 base address */
55142 #define GPT1_BASE                                (0x400EC000u)
55143 /** Peripheral GPT1 base pointer */
55144 #define GPT1                                     ((GPT_Type *)GPT1_BASE)
55145 /** Peripheral GPT2 base address */
55146 #define GPT2_BASE                                (0x400F0000u)
55147 /** Peripheral GPT2 base pointer */
55148 #define GPT2                                     ((GPT_Type *)GPT2_BASE)
55149 /** Peripheral GPT3 base address */
55150 #define GPT3_BASE                                (0x400F4000u)
55151 /** Peripheral GPT3 base pointer */
55152 #define GPT3                                     ((GPT_Type *)GPT3_BASE)
55153 /** Peripheral GPT4 base address */
55154 #define GPT4_BASE                                (0x400F8000u)
55155 /** Peripheral GPT4 base pointer */
55156 #define GPT4                                     ((GPT_Type *)GPT4_BASE)
55157 /** Peripheral GPT5 base address */
55158 #define GPT5_BASE                                (0x400FC000u)
55159 /** Peripheral GPT5 base pointer */
55160 #define GPT5                                     ((GPT_Type *)GPT5_BASE)
55161 /** Peripheral GPT6 base address */
55162 #define GPT6_BASE                                (0x40100000u)
55163 /** Peripheral GPT6 base pointer */
55164 #define GPT6                                     ((GPT_Type *)GPT6_BASE)
55165 /** Array initializer of GPT peripheral base addresses */
55166 #define GPT_BASE_ADDRS                           { 0u, GPT1_BASE, GPT2_BASE, GPT3_BASE, GPT4_BASE, GPT5_BASE, GPT6_BASE }
55167 /** Array initializer of GPT peripheral base pointers */
55168 #define GPT_BASE_PTRS                            { (GPT_Type *)0u, GPT1, GPT2, GPT3, GPT4, GPT5, GPT6 }
55169 /** Interrupt vectors for the GPT peripheral type */
55170 #define GPT_IRQS                                 { NotAvail_IRQn, GPT1_IRQn, GPT2_IRQn, GPT3_IRQn, GPT4_IRQn, GPT5_IRQn, GPT6_IRQn }
55171 
55172 /*!
55173  * @}
55174  */ /* end of group GPT_Peripheral_Access_Layer */
55175 
55176 
55177 /* ----------------------------------------------------------------------------
55178    -- I2S Peripheral Access Layer
55179    ---------------------------------------------------------------------------- */
55180 
55181 /*!
55182  * @addtogroup I2S_Peripheral_Access_Layer I2S Peripheral Access Layer
55183  * @{
55184  */
55185 
55186 /** I2S - Register Layout Typedef */
55187 typedef struct {
55188   __I  uint32_t VERID;                             /**< Version ID, offset: 0x0 */
55189   __I  uint32_t PARAM;                             /**< Parameter, offset: 0x4 */
55190   __IO uint32_t TCSR;                              /**< Transmit Control, offset: 0x8 */
55191   __IO uint32_t TCR1;                              /**< Transmit Configuration 1, offset: 0xC */
55192   __IO uint32_t TCR2;                              /**< Transmit Configuration 2, offset: 0x10 */
55193   __IO uint32_t TCR3;                              /**< Transmit Configuration 3, offset: 0x14 */
55194   __IO uint32_t TCR4;                              /**< Transmit Configuration 4, offset: 0x18 */
55195   __IO uint32_t TCR5;                              /**< Transmit Configuration 5, offset: 0x1C */
55196   __O  uint32_t TDR[4];                            /**< Transmit Data, array offset: 0x20, array step: 0x4 */
55197        uint8_t RESERVED_0[16];
55198   __I  uint32_t TFR[4];                            /**< Transmit FIFO, array offset: 0x40, array step: 0x4 */
55199        uint8_t RESERVED_1[16];
55200   __IO uint32_t TMR;                               /**< Transmit Mask, offset: 0x60 */
55201        uint8_t RESERVED_2[36];
55202   __IO uint32_t RCSR;                              /**< Receive Control, offset: 0x88 */
55203   __IO uint32_t RCR1;                              /**< Receive Configuration 1, offset: 0x8C */
55204   __IO uint32_t RCR2;                              /**< Receive Configuration 2, offset: 0x90 */
55205   __IO uint32_t RCR3;                              /**< Receive Configuration 3, offset: 0x94 */
55206   __IO uint32_t RCR4;                              /**< Receive Configuration 4, offset: 0x98 */
55207   __IO uint32_t RCR5;                              /**< Receive Configuration 5, offset: 0x9C */
55208   __I  uint32_t RDR[4];                            /**< Receive Data, array offset: 0xA0, array step: 0x4 */
55209        uint8_t RESERVED_3[16];
55210   __I  uint32_t RFR[4];                            /**< Receive FIFO, array offset: 0xC0, array step: 0x4 */
55211        uint8_t RESERVED_4[16];
55212   __IO uint32_t RMR;                               /**< Receive Mask, offset: 0xE0 */
55213 } I2S_Type;
55214 
55215 /* ----------------------------------------------------------------------------
55216    -- I2S Register Masks
55217    ---------------------------------------------------------------------------- */
55218 
55219 /*!
55220  * @addtogroup I2S_Register_Masks I2S Register Masks
55221  * @{
55222  */
55223 
55224 /*! @name VERID - Version ID */
55225 /*! @{ */
55226 
55227 #define I2S_VERID_FEATURE_MASK                   (0xFFFFU)
55228 #define I2S_VERID_FEATURE_SHIFT                  (0U)
55229 /*! FEATURE - Feature Specification Number
55230  *  0b0000000000000000..Standard feature set.
55231  */
55232 #define I2S_VERID_FEATURE(x)                     (((uint32_t)(((uint32_t)(x)) << I2S_VERID_FEATURE_SHIFT)) & I2S_VERID_FEATURE_MASK)
55233 
55234 #define I2S_VERID_MINOR_MASK                     (0xFF0000U)
55235 #define I2S_VERID_MINOR_SHIFT                    (16U)
55236 /*! MINOR - Minor Version Number
55237  */
55238 #define I2S_VERID_MINOR(x)                       (((uint32_t)(((uint32_t)(x)) << I2S_VERID_MINOR_SHIFT)) & I2S_VERID_MINOR_MASK)
55239 
55240 #define I2S_VERID_MAJOR_MASK                     (0xFF000000U)
55241 #define I2S_VERID_MAJOR_SHIFT                    (24U)
55242 /*! MAJOR - Major Version Number
55243  */
55244 #define I2S_VERID_MAJOR(x)                       (((uint32_t)(((uint32_t)(x)) << I2S_VERID_MAJOR_SHIFT)) & I2S_VERID_MAJOR_MASK)
55245 /*! @} */
55246 
55247 /*! @name PARAM - Parameter */
55248 /*! @{ */
55249 
55250 #define I2S_PARAM_DATALINE_MASK                  (0xFU)
55251 #define I2S_PARAM_DATALINE_SHIFT                 (0U)
55252 /*! DATALINE - Number of Datalines
55253  */
55254 #define I2S_PARAM_DATALINE(x)                    (((uint32_t)(((uint32_t)(x)) << I2S_PARAM_DATALINE_SHIFT)) & I2S_PARAM_DATALINE_MASK)
55255 
55256 #define I2S_PARAM_FIFO_MASK                      (0xF00U)
55257 #define I2S_PARAM_FIFO_SHIFT                     (8U)
55258 /*! FIFO - FIFO Size
55259  */
55260 #define I2S_PARAM_FIFO(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_PARAM_FIFO_SHIFT)) & I2S_PARAM_FIFO_MASK)
55261 
55262 #define I2S_PARAM_FRAME_MASK                     (0xF0000U)
55263 #define I2S_PARAM_FRAME_SHIFT                    (16U)
55264 /*! FRAME - Frame Size
55265  */
55266 #define I2S_PARAM_FRAME(x)                       (((uint32_t)(((uint32_t)(x)) << I2S_PARAM_FRAME_SHIFT)) & I2S_PARAM_FRAME_MASK)
55267 /*! @} */
55268 
55269 /*! @name TCSR - Transmit Control */
55270 /*! @{ */
55271 
55272 #define I2S_TCSR_FRDE_MASK                       (0x1U)
55273 #define I2S_TCSR_FRDE_SHIFT                      (0U)
55274 /*! FRDE - FIFO Request DMA Enable
55275  *  0b0..Disables the DMA request.
55276  *  0b1..Enables the DMA request.
55277  */
55278 #define I2S_TCSR_FRDE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FRDE_SHIFT)) & I2S_TCSR_FRDE_MASK)
55279 
55280 #define I2S_TCSR_FWDE_MASK                       (0x2U)
55281 #define I2S_TCSR_FWDE_SHIFT                      (1U)
55282 /*! FWDE - FIFO Warning DMA Enable
55283  *  0b0..Disables the DMA request.
55284  *  0b1..Enables the DMA request.
55285  */
55286 #define I2S_TCSR_FWDE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FWDE_SHIFT)) & I2S_TCSR_FWDE_MASK)
55287 
55288 #define I2S_TCSR_FRIE_MASK                       (0x100U)
55289 #define I2S_TCSR_FRIE_SHIFT                      (8U)
55290 /*! FRIE - FIFO Request Interrupt Enable
55291  *  0b0..Disables the interrupt.
55292  *  0b1..Enables the interrupt.
55293  */
55294 #define I2S_TCSR_FRIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FRIE_SHIFT)) & I2S_TCSR_FRIE_MASK)
55295 
55296 #define I2S_TCSR_FWIE_MASK                       (0x200U)
55297 #define I2S_TCSR_FWIE_SHIFT                      (9U)
55298 /*! FWIE - FIFO Warning Interrupt Enable
55299  *  0b0..Disables the interrupt.
55300  *  0b1..Enables the interrupt.
55301  */
55302 #define I2S_TCSR_FWIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FWIE_SHIFT)) & I2S_TCSR_FWIE_MASK)
55303 
55304 #define I2S_TCSR_FEIE_MASK                       (0x400U)
55305 #define I2S_TCSR_FEIE_SHIFT                      (10U)
55306 /*! FEIE - FIFO Error Interrupt Enable
55307  *  0b0..Disables the interrupt.
55308  *  0b1..Enables the interrupt.
55309  */
55310 #define I2S_TCSR_FEIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FEIE_SHIFT)) & I2S_TCSR_FEIE_MASK)
55311 
55312 #define I2S_TCSR_SEIE_MASK                       (0x800U)
55313 #define I2S_TCSR_SEIE_SHIFT                      (11U)
55314 /*! SEIE - Sync Error Interrupt Enable
55315  *  0b0..Disables interrupt.
55316  *  0b1..Enables interrupt.
55317  */
55318 #define I2S_TCSR_SEIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_SEIE_SHIFT)) & I2S_TCSR_SEIE_MASK)
55319 
55320 #define I2S_TCSR_WSIE_MASK                       (0x1000U)
55321 #define I2S_TCSR_WSIE_SHIFT                      (12U)
55322 /*! WSIE - Word Start Interrupt Enable
55323  *  0b0..Disables interrupt.
55324  *  0b1..Enables interrupt.
55325  */
55326 #define I2S_TCSR_WSIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_WSIE_SHIFT)) & I2S_TCSR_WSIE_MASK)
55327 
55328 #define I2S_TCSR_FRF_MASK                        (0x10000U)
55329 #define I2S_TCSR_FRF_SHIFT                       (16U)
55330 /*! FRF - FIFO Request Flag
55331  *  0b0..Transmit FIFO watermark has not been reached.
55332  *  0b1..Transmit FIFO watermark has been reached.
55333  */
55334 #define I2S_TCSR_FRF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FRF_SHIFT)) & I2S_TCSR_FRF_MASK)
55335 
55336 #define I2S_TCSR_FWF_MASK                        (0x20000U)
55337 #define I2S_TCSR_FWF_SHIFT                       (17U)
55338 /*! FWF - FIFO Warning Flag
55339  *  0b0..No enabled transmit FIFO is empty.
55340  *  0b1..Enabled transmit FIFO is empty.
55341  */
55342 #define I2S_TCSR_FWF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FWF_SHIFT)) & I2S_TCSR_FWF_MASK)
55343 
55344 #define I2S_TCSR_FEF_MASK                        (0x40000U)
55345 #define I2S_TCSR_FEF_SHIFT                       (18U)
55346 /*! FEF - FIFO Error Flag
55347  *  0b0..Transmit underrun not detected.
55348  *  0b1..Transmit underrun detected.
55349  */
55350 #define I2S_TCSR_FEF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FEF_SHIFT)) & I2S_TCSR_FEF_MASK)
55351 
55352 #define I2S_TCSR_SEF_MASK                        (0x80000U)
55353 #define I2S_TCSR_SEF_SHIFT                       (19U)
55354 /*! SEF - Sync Error Flag
55355  *  0b0..Sync error not detected.
55356  *  0b1..Frame sync error detected.
55357  */
55358 #define I2S_TCSR_SEF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_SEF_SHIFT)) & I2S_TCSR_SEF_MASK)
55359 
55360 #define I2S_TCSR_WSF_MASK                        (0x100000U)
55361 #define I2S_TCSR_WSF_SHIFT                       (20U)
55362 /*! WSF - Word Start Flag
55363  *  0b0..Start of word not detected.
55364  *  0b1..Start of word detected.
55365  */
55366 #define I2S_TCSR_WSF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_WSF_SHIFT)) & I2S_TCSR_WSF_MASK)
55367 
55368 #define I2S_TCSR_SR_MASK                         (0x1000000U)
55369 #define I2S_TCSR_SR_SHIFT                        (24U)
55370 /*! SR - Software Reset
55371  *  0b0..No effect.
55372  *  0b1..Software reset.
55373  */
55374 #define I2S_TCSR_SR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_SR_SHIFT)) & I2S_TCSR_SR_MASK)
55375 
55376 #define I2S_TCSR_FR_MASK                         (0x2000000U)
55377 #define I2S_TCSR_FR_SHIFT                        (25U)
55378 /*! FR - FIFO Reset
55379  *  0b0..No effect.
55380  *  0b1..FIFO reset.
55381  */
55382 #define I2S_TCSR_FR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_FR_SHIFT)) & I2S_TCSR_FR_MASK)
55383 
55384 #define I2S_TCSR_BCE_MASK                        (0x10000000U)
55385 #define I2S_TCSR_BCE_SHIFT                       (28U)
55386 /*! BCE - Bit Clock Enable
55387  *  0b0..Transmit bit clock is disabled.
55388  *  0b1..Transmit bit clock is enabled.
55389  */
55390 #define I2S_TCSR_BCE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_BCE_SHIFT)) & I2S_TCSR_BCE_MASK)
55391 
55392 #define I2S_TCSR_DBGE_MASK                       (0x20000000U)
55393 #define I2S_TCSR_DBGE_SHIFT                      (29U)
55394 /*! DBGE - Debug Enable
55395  *  0b0..Transmitter is disabled in Debug mode, after completing the current frame.
55396  *  0b1..Transmitter is enabled in Debug mode.
55397  */
55398 #define I2S_TCSR_DBGE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_DBGE_SHIFT)) & I2S_TCSR_DBGE_MASK)
55399 
55400 #define I2S_TCSR_STOPE_MASK                      (0x40000000U)
55401 #define I2S_TCSR_STOPE_SHIFT                     (30U)
55402 /*! STOPE - Stop Enable
55403  *  0b0..Transmitter disabled in Stop mode.
55404  *  0b1..Transmitter enabled in Stop mode.
55405  */
55406 #define I2S_TCSR_STOPE(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_STOPE_SHIFT)) & I2S_TCSR_STOPE_MASK)
55407 
55408 #define I2S_TCSR_TE_MASK                         (0x80000000U)
55409 #define I2S_TCSR_TE_SHIFT                        (31U)
55410 /*! TE - Transmitter Enable
55411  *  0b0..Transmitter is disabled.
55412  *  0b1..Transmitter is enabled, or transmitter has been disabled and has not yet reached end of frame.
55413  */
55414 #define I2S_TCSR_TE(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TCSR_TE_SHIFT)) & I2S_TCSR_TE_MASK)
55415 /*! @} */
55416 
55417 /*! @name TCR1 - Transmit Configuration 1 */
55418 /*! @{ */
55419 
55420 #define I2S_TCR1_TFW_MASK                        (0x1FU)
55421 #define I2S_TCR1_TFW_SHIFT                       (0U)
55422 /*! TFW - Transmit FIFO Watermark
55423  */
55424 #define I2S_TCR1_TFW(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR1_TFW_SHIFT)) & I2S_TCR1_TFW_MASK)
55425 /*! @} */
55426 
55427 /*! @name TCR2 - Transmit Configuration 2 */
55428 /*! @{ */
55429 
55430 #define I2S_TCR2_DIV_MASK                        (0xFFU)
55431 #define I2S_TCR2_DIV_SHIFT                       (0U)
55432 /*! DIV - Bit Clock Divide
55433  */
55434 #define I2S_TCR2_DIV(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_DIV_SHIFT)) & I2S_TCR2_DIV_MASK)
55435 
55436 #define I2S_TCR2_BYP_MASK                        (0x800000U)
55437 #define I2S_TCR2_BYP_SHIFT                       (23U)
55438 /*! BYP - Bit Clock Bypass
55439  *  0b0..Internal bit clock is generated from bit clock divider.
55440  *  0b1..Internal bit clock is divide by one of the audio master clock.
55441  */
55442 #define I2S_TCR2_BYP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_BYP_SHIFT)) & I2S_TCR2_BYP_MASK)
55443 
55444 #define I2S_TCR2_BCD_MASK                        (0x1000000U)
55445 #define I2S_TCR2_BCD_SHIFT                       (24U)
55446 /*! BCD - Bit Clock Direction
55447  *  0b0..Bit clock is generated externally in Slave mode.
55448  *  0b1..Bit clock is generated internally in Master mode.
55449  */
55450 #define I2S_TCR2_BCD(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_BCD_SHIFT)) & I2S_TCR2_BCD_MASK)
55451 
55452 #define I2S_TCR2_BCP_MASK                        (0x2000000U)
55453 #define I2S_TCR2_BCP_SHIFT                       (25U)
55454 /*! BCP - Bit Clock Polarity
55455  *  0b0..Bit clock is active high with drive outputs on rising edge and sample inputs on falling edge.
55456  *  0b1..Bit clock is active low with drive outputs on falling edge and sample inputs on rising edge.
55457  */
55458 #define I2S_TCR2_BCP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_BCP_SHIFT)) & I2S_TCR2_BCP_MASK)
55459 
55460 #define I2S_TCR2_MSEL_MASK                       (0xC000000U)
55461 #define I2S_TCR2_MSEL_SHIFT                      (26U)
55462 /*! MSEL - MCLK Select
55463  *  0b00..Bus Clock selected.
55464  *  0b01..Master Clock (MCLK) 1 option selected.
55465  *  0b10..Master Clock (MCLK) 2 option selected.
55466  *  0b11..Master Clock (MCLK) 3 option selected.
55467  */
55468 #define I2S_TCR2_MSEL(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_MSEL_SHIFT)) & I2S_TCR2_MSEL_MASK)
55469 
55470 #define I2S_TCR2_BCI_MASK                        (0x10000000U)
55471 #define I2S_TCR2_BCI_SHIFT                       (28U)
55472 /*! BCI - Bit Clock Input
55473  *  0b0..No effect.
55474  *  0b1..Internal logic is clocked as if bit clock was externally generated.
55475  */
55476 #define I2S_TCR2_BCI(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_BCI_SHIFT)) & I2S_TCR2_BCI_MASK)
55477 
55478 #define I2S_TCR2_BCS_MASK                        (0x20000000U)
55479 #define I2S_TCR2_BCS_SHIFT                       (29U)
55480 /*! BCS - Bit Clock Swap
55481  *  0b0..Use the normal bit clock source.
55482  *  0b1..Swap the bit clock source.
55483  */
55484 #define I2S_TCR2_BCS(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_BCS_SHIFT)) & I2S_TCR2_BCS_MASK)
55485 
55486 #define I2S_TCR2_SYNC_MASK                       (0x40000000U)
55487 #define I2S_TCR2_SYNC_SHIFT                      (30U)
55488 /*! SYNC - Synchronous Mode
55489  *  0b0..Asynchronous mode.
55490  *  0b1..Synchronous with receiver.
55491  */
55492 #define I2S_TCR2_SYNC(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCR2_SYNC_SHIFT)) & I2S_TCR2_SYNC_MASK)
55493 /*! @} */
55494 
55495 /*! @name TCR3 - Transmit Configuration 3 */
55496 /*! @{ */
55497 
55498 #define I2S_TCR3_WDFL_MASK                       (0x1FU)
55499 #define I2S_TCR3_WDFL_SHIFT                      (0U)
55500 /*! WDFL - Word Flag Configuration
55501  */
55502 #define I2S_TCR3_WDFL(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCR3_WDFL_SHIFT)) & I2S_TCR3_WDFL_MASK)
55503 
55504 #define I2S_TCR3_TCE_MASK                        (0xF0000U)  /* Merged from fields with different position or width, of widths (1, 4), largest definition used */
55505 #define I2S_TCR3_TCE_SHIFT                       (16U)
55506 /*! TCE - Transmit Channel Enable
55507  */
55508 #define I2S_TCR3_TCE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR3_TCE_SHIFT)) & I2S_TCR3_TCE_MASK)  /* Merged from fields with different position or width, of widths (1, 4), largest definition used */
55509 
55510 #define I2S_TCR3_CFR_MASK                        (0xF000000U)
55511 #define I2S_TCR3_CFR_SHIFT                       (24U)
55512 /*! CFR - Channel FIFO Reset
55513  */
55514 #define I2S_TCR3_CFR(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR3_CFR_SHIFT)) & I2S_TCR3_CFR_MASK)
55515 /*! @} */
55516 
55517 /*! @name TCR4 - Transmit Configuration 4 */
55518 /*! @{ */
55519 
55520 #define I2S_TCR4_FSD_MASK                        (0x1U)
55521 #define I2S_TCR4_FSD_SHIFT                       (0U)
55522 /*! FSD - Frame Sync Direction
55523  *  0b0..Frame sync is generated externally in Slave mode.
55524  *  0b1..Frame sync is generated internally in Master mode.
55525  */
55526 #define I2S_TCR4_FSD(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FSD_SHIFT)) & I2S_TCR4_FSD_MASK)
55527 
55528 #define I2S_TCR4_FSP_MASK                        (0x2U)
55529 #define I2S_TCR4_FSP_SHIFT                       (1U)
55530 /*! FSP - Frame Sync Polarity
55531  *  0b0..Frame sync is active high.
55532  *  0b1..Frame sync is active low.
55533  */
55534 #define I2S_TCR4_FSP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FSP_SHIFT)) & I2S_TCR4_FSP_MASK)
55535 
55536 #define I2S_TCR4_ONDEM_MASK                      (0x4U)
55537 #define I2S_TCR4_ONDEM_SHIFT                     (2U)
55538 /*! ONDEM - On Demand Mode
55539  *  0b0..Internal frame sync is generated continuously.
55540  *  0b1..Internal frame sync is generated when the FIFO warning flag is clear.
55541  */
55542 #define I2S_TCR4_ONDEM(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_ONDEM_SHIFT)) & I2S_TCR4_ONDEM_MASK)
55543 
55544 #define I2S_TCR4_FSE_MASK                        (0x8U)
55545 #define I2S_TCR4_FSE_SHIFT                       (3U)
55546 /*! FSE - Frame Sync Early
55547  *  0b0..Frame sync asserts with the first bit of the frame.
55548  *  0b1..Frame sync asserts one bit before the first bit of the frame.
55549  */
55550 #define I2S_TCR4_FSE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FSE_SHIFT)) & I2S_TCR4_FSE_MASK)
55551 
55552 #define I2S_TCR4_MF_MASK                         (0x10U)
55553 #define I2S_TCR4_MF_SHIFT                        (4U)
55554 /*! MF - MSB First
55555  *  0b0..LSB is transmitted first.
55556  *  0b1..MSB is transmitted first.
55557  */
55558 #define I2S_TCR4_MF(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_MF_SHIFT)) & I2S_TCR4_MF_MASK)
55559 
55560 #define I2S_TCR4_CHMOD_MASK                      (0x20U)
55561 #define I2S_TCR4_CHMOD_SHIFT                     (5U)
55562 /*! CHMOD - Channel Mode
55563  *  0b0..TDM mode, transmit data pins are tri-stated when slots are masked or channels are disabled.
55564  *  0b1..Output mode, transmit data pins are never tri-stated and will output zero when slots are masked or channels are disabled.
55565  */
55566 #define I2S_TCR4_CHMOD(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_CHMOD_SHIFT)) & I2S_TCR4_CHMOD_MASK)
55567 
55568 #define I2S_TCR4_SYWD_MASK                       (0x1F00U)
55569 #define I2S_TCR4_SYWD_SHIFT                      (8U)
55570 /*! SYWD - Sync Width
55571  */
55572 #define I2S_TCR4_SYWD(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_SYWD_SHIFT)) & I2S_TCR4_SYWD_MASK)
55573 
55574 #define I2S_TCR4_FRSZ_MASK                       (0x1F0000U)
55575 #define I2S_TCR4_FRSZ_SHIFT                      (16U)
55576 /*! FRSZ - Frame size
55577  */
55578 #define I2S_TCR4_FRSZ(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FRSZ_SHIFT)) & I2S_TCR4_FRSZ_MASK)
55579 
55580 #define I2S_TCR4_FPACK_MASK                      (0x3000000U)
55581 #define I2S_TCR4_FPACK_SHIFT                     (24U)
55582 /*! FPACK - FIFO Packing Mode
55583  *  0b00..FIFO packing is disabled.
55584  *  0b01..Reserved
55585  *  0b10..8-bit FIFO packing is enabled.
55586  *  0b11..16-bit FIFO packing is enabled.
55587  */
55588 #define I2S_TCR4_FPACK(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FPACK_SHIFT)) & I2S_TCR4_FPACK_MASK)
55589 
55590 #define I2S_TCR4_FCOMB_MASK                      (0xC000000U)
55591 #define I2S_TCR4_FCOMB_SHIFT                     (26U)
55592 /*! FCOMB - FIFO Combine Mode
55593  *  0b00..FIFO combine mode disabled.
55594  *  0b01..FIFO combine mode enabled on FIFO reads (from transmit shift registers).
55595  *  0b10..FIFO combine mode enabled on FIFO writes (by software).
55596  *  0b11..FIFO combine mode enabled on FIFO reads (from transmit shift registers) and writes (by software).
55597  */
55598 #define I2S_TCR4_FCOMB(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FCOMB_SHIFT)) & I2S_TCR4_FCOMB_MASK)
55599 
55600 #define I2S_TCR4_FCONT_MASK                      (0x10000000U)
55601 #define I2S_TCR4_FCONT_SHIFT                     (28U)
55602 /*! FCONT - FIFO Continue on Error
55603  *  0b0..On FIFO error, the SAI will continue from the start of the next frame after the FIFO error flag has been cleared.
55604  *  0b1..On FIFO error, the SAI will continue from the same word that caused the FIFO error to set after the FIFO warning flag has been cleared.
55605  */
55606 #define I2S_TCR4_FCONT(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_TCR4_FCONT_SHIFT)) & I2S_TCR4_FCONT_MASK)
55607 /*! @} */
55608 
55609 /*! @name TCR5 - Transmit Configuration 5 */
55610 /*! @{ */
55611 
55612 #define I2S_TCR5_FBT_MASK                        (0x1F00U)
55613 #define I2S_TCR5_FBT_SHIFT                       (8U)
55614 /*! FBT - First Bit Shifted
55615  */
55616 #define I2S_TCR5_FBT(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR5_FBT_SHIFT)) & I2S_TCR5_FBT_MASK)
55617 
55618 #define I2S_TCR5_W0W_MASK                        (0x1F0000U)
55619 #define I2S_TCR5_W0W_SHIFT                       (16U)
55620 /*! W0W - Word 0 Width
55621  */
55622 #define I2S_TCR5_W0W(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR5_W0W_SHIFT)) & I2S_TCR5_W0W_MASK)
55623 
55624 #define I2S_TCR5_WNW_MASK                        (0x1F000000U)
55625 #define I2S_TCR5_WNW_SHIFT                       (24U)
55626 /*! WNW - Word N Width
55627  */
55628 #define I2S_TCR5_WNW(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_TCR5_WNW_SHIFT)) & I2S_TCR5_WNW_MASK)
55629 /*! @} */
55630 
55631 /*! @name TDR - Transmit Data */
55632 /*! @{ */
55633 
55634 #define I2S_TDR_TDR_MASK                         (0xFFFFFFFFU)
55635 #define I2S_TDR_TDR_SHIFT                        (0U)
55636 /*! TDR - Transmit Data Register
55637  */
55638 #define I2S_TDR_TDR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TDR_TDR_SHIFT)) & I2S_TDR_TDR_MASK)
55639 /*! @} */
55640 
55641 /* The count of I2S_TDR */
55642 #define I2S_TDR_COUNT                            (4U)
55643 
55644 /*! @name TFR - Transmit FIFO */
55645 /*! @{ */
55646 
55647 #define I2S_TFR_RFP_MASK                         (0x3FU)
55648 #define I2S_TFR_RFP_SHIFT                        (0U)
55649 /*! RFP - Read FIFO Pointer
55650  */
55651 #define I2S_TFR_RFP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TFR_RFP_SHIFT)) & I2S_TFR_RFP_MASK)
55652 
55653 #define I2S_TFR_WFP_MASK                         (0x3F0000U)
55654 #define I2S_TFR_WFP_SHIFT                        (16U)
55655 /*! WFP - Write FIFO Pointer
55656  */
55657 #define I2S_TFR_WFP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TFR_WFP_SHIFT)) & I2S_TFR_WFP_MASK)
55658 
55659 #define I2S_TFR_WCP_MASK                         (0x80000000U)
55660 #define I2S_TFR_WCP_SHIFT                        (31U)
55661 /*! WCP - Write Channel Pointer
55662  *  0b0..No effect.
55663  *  0b1..FIFO combine is enabled for FIFO writes and this FIFO will be written on the next FIFO write.
55664  */
55665 #define I2S_TFR_WCP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TFR_WCP_SHIFT)) & I2S_TFR_WCP_MASK)
55666 /*! @} */
55667 
55668 /* The count of I2S_TFR */
55669 #define I2S_TFR_COUNT                            (4U)
55670 
55671 /*! @name TMR - Transmit Mask */
55672 /*! @{ */
55673 
55674 #define I2S_TMR_TWM_MASK                         (0xFFFFFFFFU)
55675 #define I2S_TMR_TWM_SHIFT                        (0U)
55676 /*! TWM - Transmit Word Mask
55677  *  0b00000000000000000000000000000000..Word N is enabled.
55678  *  0b00000000000000000000000000000001..Word N is masked. The transmit data pins are tri-stated or drive zero when masked.
55679  */
55680 #define I2S_TMR_TWM(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_TMR_TWM_SHIFT)) & I2S_TMR_TWM_MASK)
55681 /*! @} */
55682 
55683 /*! @name RCSR - Receive Control */
55684 /*! @{ */
55685 
55686 #define I2S_RCSR_FRDE_MASK                       (0x1U)
55687 #define I2S_RCSR_FRDE_SHIFT                      (0U)
55688 /*! FRDE - FIFO Request DMA Enable
55689  *  0b0..Disables the DMA request.
55690  *  0b1..Enables the DMA request.
55691  */
55692 #define I2S_RCSR_FRDE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FRDE_SHIFT)) & I2S_RCSR_FRDE_MASK)
55693 
55694 #define I2S_RCSR_FWDE_MASK                       (0x2U)
55695 #define I2S_RCSR_FWDE_SHIFT                      (1U)
55696 /*! FWDE - FIFO Warning DMA Enable
55697  *  0b0..Disables the DMA request.
55698  *  0b1..Enables the DMA request.
55699  */
55700 #define I2S_RCSR_FWDE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FWDE_SHIFT)) & I2S_RCSR_FWDE_MASK)
55701 
55702 #define I2S_RCSR_FRIE_MASK                       (0x100U)
55703 #define I2S_RCSR_FRIE_SHIFT                      (8U)
55704 /*! FRIE - FIFO Request Interrupt Enable
55705  *  0b0..Disables the interrupt.
55706  *  0b1..Enables the interrupt.
55707  */
55708 #define I2S_RCSR_FRIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FRIE_SHIFT)) & I2S_RCSR_FRIE_MASK)
55709 
55710 #define I2S_RCSR_FWIE_MASK                       (0x200U)
55711 #define I2S_RCSR_FWIE_SHIFT                      (9U)
55712 /*! FWIE - FIFO Warning Interrupt Enable
55713  *  0b0..Disables the interrupt.
55714  *  0b1..Enables the interrupt.
55715  */
55716 #define I2S_RCSR_FWIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FWIE_SHIFT)) & I2S_RCSR_FWIE_MASK)
55717 
55718 #define I2S_RCSR_FEIE_MASK                       (0x400U)
55719 #define I2S_RCSR_FEIE_SHIFT                      (10U)
55720 /*! FEIE - FIFO Error Interrupt Enable
55721  *  0b0..Disables the interrupt.
55722  *  0b1..Enables the interrupt.
55723  */
55724 #define I2S_RCSR_FEIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FEIE_SHIFT)) & I2S_RCSR_FEIE_MASK)
55725 
55726 #define I2S_RCSR_SEIE_MASK                       (0x800U)
55727 #define I2S_RCSR_SEIE_SHIFT                      (11U)
55728 /*! SEIE - Sync Error Interrupt Enable
55729  *  0b0..Disables interrupt.
55730  *  0b1..Enables interrupt.
55731  */
55732 #define I2S_RCSR_SEIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_SEIE_SHIFT)) & I2S_RCSR_SEIE_MASK)
55733 
55734 #define I2S_RCSR_WSIE_MASK                       (0x1000U)
55735 #define I2S_RCSR_WSIE_SHIFT                      (12U)
55736 /*! WSIE - Word Start Interrupt Enable
55737  *  0b0..Disables interrupt.
55738  *  0b1..Enables interrupt.
55739  */
55740 #define I2S_RCSR_WSIE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_WSIE_SHIFT)) & I2S_RCSR_WSIE_MASK)
55741 
55742 #define I2S_RCSR_FRF_MASK                        (0x10000U)
55743 #define I2S_RCSR_FRF_SHIFT                       (16U)
55744 /*! FRF - FIFO Request Flag
55745  *  0b0..Receive FIFO watermark not reached.
55746  *  0b1..Receive FIFO watermark has been reached.
55747  */
55748 #define I2S_RCSR_FRF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FRF_SHIFT)) & I2S_RCSR_FRF_MASK)
55749 
55750 #define I2S_RCSR_FWF_MASK                        (0x20000U)
55751 #define I2S_RCSR_FWF_SHIFT                       (17U)
55752 /*! FWF - FIFO Warning Flag
55753  *  0b0..No enabled receive FIFO is full.
55754  *  0b1..Enabled receive FIFO is full.
55755  */
55756 #define I2S_RCSR_FWF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FWF_SHIFT)) & I2S_RCSR_FWF_MASK)
55757 
55758 #define I2S_RCSR_FEF_MASK                        (0x40000U)
55759 #define I2S_RCSR_FEF_SHIFT                       (18U)
55760 /*! FEF - FIFO Error Flag
55761  *  0b0..Receive overflow not detected.
55762  *  0b1..Receive overflow detected.
55763  */
55764 #define I2S_RCSR_FEF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FEF_SHIFT)) & I2S_RCSR_FEF_MASK)
55765 
55766 #define I2S_RCSR_SEF_MASK                        (0x80000U)
55767 #define I2S_RCSR_SEF_SHIFT                       (19U)
55768 /*! SEF - Sync Error Flag
55769  *  0b0..Sync error not detected.
55770  *  0b1..Frame sync error detected.
55771  */
55772 #define I2S_RCSR_SEF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_SEF_SHIFT)) & I2S_RCSR_SEF_MASK)
55773 
55774 #define I2S_RCSR_WSF_MASK                        (0x100000U)
55775 #define I2S_RCSR_WSF_SHIFT                       (20U)
55776 /*! WSF - Word Start Flag
55777  *  0b0..Start of word not detected.
55778  *  0b1..Start of word detected.
55779  */
55780 #define I2S_RCSR_WSF(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_WSF_SHIFT)) & I2S_RCSR_WSF_MASK)
55781 
55782 #define I2S_RCSR_SR_MASK                         (0x1000000U)
55783 #define I2S_RCSR_SR_SHIFT                        (24U)
55784 /*! SR - Software Reset
55785  *  0b0..No effect.
55786  *  0b1..Software reset.
55787  */
55788 #define I2S_RCSR_SR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_SR_SHIFT)) & I2S_RCSR_SR_MASK)
55789 
55790 #define I2S_RCSR_FR_MASK                         (0x2000000U)
55791 #define I2S_RCSR_FR_SHIFT                        (25U)
55792 /*! FR - FIFO Reset
55793  *  0b0..No effect.
55794  *  0b1..FIFO reset.
55795  */
55796 #define I2S_RCSR_FR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_FR_SHIFT)) & I2S_RCSR_FR_MASK)
55797 
55798 #define I2S_RCSR_BCE_MASK                        (0x10000000U)
55799 #define I2S_RCSR_BCE_SHIFT                       (28U)
55800 /*! BCE - Bit Clock Enable
55801  *  0b0..Receive bit clock is disabled.
55802  *  0b1..Receive bit clock is enabled.
55803  */
55804 #define I2S_RCSR_BCE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_BCE_SHIFT)) & I2S_RCSR_BCE_MASK)
55805 
55806 #define I2S_RCSR_DBGE_MASK                       (0x20000000U)
55807 #define I2S_RCSR_DBGE_SHIFT                      (29U)
55808 /*! DBGE - Debug Enable
55809  *  0b0..Receiver is disabled in Debug mode, after completing the current frame.
55810  *  0b1..Receiver is enabled in Debug mode.
55811  */
55812 #define I2S_RCSR_DBGE(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_DBGE_SHIFT)) & I2S_RCSR_DBGE_MASK)
55813 
55814 #define I2S_RCSR_STOPE_MASK                      (0x40000000U)
55815 #define I2S_RCSR_STOPE_SHIFT                     (30U)
55816 /*! STOPE - Stop Enable
55817  *  0b0..Receiver disabled in Stop mode.
55818  *  0b1..Receiver enabled in Stop mode.
55819  */
55820 #define I2S_RCSR_STOPE(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_STOPE_SHIFT)) & I2S_RCSR_STOPE_MASK)
55821 
55822 #define I2S_RCSR_RE_MASK                         (0x80000000U)
55823 #define I2S_RCSR_RE_SHIFT                        (31U)
55824 /*! RE - Receiver Enable
55825  *  0b0..Receiver is disabled.
55826  *  0b1..Receiver is enabled, or receiver has been disabled and has not yet reached end of frame.
55827  */
55828 #define I2S_RCSR_RE(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RCSR_RE_SHIFT)) & I2S_RCSR_RE_MASK)
55829 /*! @} */
55830 
55831 /*! @name RCR1 - Receive Configuration 1 */
55832 /*! @{ */
55833 
55834 #define I2S_RCR1_RFW_MASK                        (0x1FU)
55835 #define I2S_RCR1_RFW_SHIFT                       (0U)
55836 /*! RFW - Receive FIFO Watermark
55837  */
55838 #define I2S_RCR1_RFW(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR1_RFW_SHIFT)) & I2S_RCR1_RFW_MASK)
55839 /*! @} */
55840 
55841 /*! @name RCR2 - Receive Configuration 2 */
55842 /*! @{ */
55843 
55844 #define I2S_RCR2_DIV_MASK                        (0xFFU)
55845 #define I2S_RCR2_DIV_SHIFT                       (0U)
55846 /*! DIV - Bit Clock Divide
55847  */
55848 #define I2S_RCR2_DIV(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_DIV_SHIFT)) & I2S_RCR2_DIV_MASK)
55849 
55850 #define I2S_RCR2_BYP_MASK                        (0x800000U)
55851 #define I2S_RCR2_BYP_SHIFT                       (23U)
55852 /*! BYP - Bit Clock Bypass
55853  *  0b0..Internal bit clock is generated from bit clock divider.
55854  *  0b1..Internal bit clock is divide by one of the audio master clock.
55855  */
55856 #define I2S_RCR2_BYP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_BYP_SHIFT)) & I2S_RCR2_BYP_MASK)
55857 
55858 #define I2S_RCR2_BCD_MASK                        (0x1000000U)
55859 #define I2S_RCR2_BCD_SHIFT                       (24U)
55860 /*! BCD - Bit Clock Direction
55861  *  0b0..Bit clock is generated externally in Slave mode.
55862  *  0b1..Bit clock is generated internally in Master mode.
55863  */
55864 #define I2S_RCR2_BCD(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_BCD_SHIFT)) & I2S_RCR2_BCD_MASK)
55865 
55866 #define I2S_RCR2_BCP_MASK                        (0x2000000U)
55867 #define I2S_RCR2_BCP_SHIFT                       (25U)
55868 /*! BCP - Bit Clock Polarity
55869  *  0b0..Bit Clock is active high with drive outputs on rising edge and sample inputs on falling edge.
55870  *  0b1..Bit Clock is active low with drive outputs on falling edge and sample inputs on rising edge.
55871  */
55872 #define I2S_RCR2_BCP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_BCP_SHIFT)) & I2S_RCR2_BCP_MASK)
55873 
55874 #define I2S_RCR2_MSEL_MASK                       (0xC000000U)
55875 #define I2S_RCR2_MSEL_SHIFT                      (26U)
55876 /*! MSEL - MCLK Select
55877  *  0b00..Bus Clock selected.
55878  *  0b01..Master Clock (MCLK) 1 option selected.
55879  *  0b10..Master Clock (MCLK) 2 option selected.
55880  *  0b11..Master Clock (MCLK) 3 option selected.
55881  */
55882 #define I2S_RCR2_MSEL(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_MSEL_SHIFT)) & I2S_RCR2_MSEL_MASK)
55883 
55884 #define I2S_RCR2_BCI_MASK                        (0x10000000U)
55885 #define I2S_RCR2_BCI_SHIFT                       (28U)
55886 /*! BCI - Bit Clock Input
55887  *  0b0..No effect.
55888  *  0b1..Internal logic is clocked as if bit clock was externally generated.
55889  */
55890 #define I2S_RCR2_BCI(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_BCI_SHIFT)) & I2S_RCR2_BCI_MASK)
55891 
55892 #define I2S_RCR2_BCS_MASK                        (0x20000000U)
55893 #define I2S_RCR2_BCS_SHIFT                       (29U)
55894 /*! BCS - Bit Clock Swap
55895  *  0b0..Use the normal bit clock source.
55896  *  0b1..Swap the bit clock source.
55897  */
55898 #define I2S_RCR2_BCS(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_BCS_SHIFT)) & I2S_RCR2_BCS_MASK)
55899 
55900 #define I2S_RCR2_SYNC_MASK                       (0x40000000U)
55901 #define I2S_RCR2_SYNC_SHIFT                      (30U)
55902 /*! SYNC - Synchronous Mode
55903  *  0b0..Asynchronous mode.
55904  *  0b1..Synchronous with transmitter.
55905  */
55906 #define I2S_RCR2_SYNC(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCR2_SYNC_SHIFT)) & I2S_RCR2_SYNC_MASK)
55907 /*! @} */
55908 
55909 /*! @name RCR3 - Receive Configuration 3 */
55910 /*! @{ */
55911 
55912 #define I2S_RCR3_WDFL_MASK                       (0x1FU)
55913 #define I2S_RCR3_WDFL_SHIFT                      (0U)
55914 /*! WDFL - Word Flag Configuration
55915  */
55916 #define I2S_RCR3_WDFL(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCR3_WDFL_SHIFT)) & I2S_RCR3_WDFL_MASK)
55917 
55918 #define I2S_RCR3_RCE_MASK                        (0xF0000U)  /* Merged from fields with different position or width, of widths (1, 4), largest definition used */
55919 #define I2S_RCR3_RCE_SHIFT                       (16U)
55920 /*! RCE - Receive Channel Enable
55921  */
55922 #define I2S_RCR3_RCE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR3_RCE_SHIFT)) & I2S_RCR3_RCE_MASK)  /* Merged from fields with different position or width, of widths (1, 4), largest definition used */
55923 
55924 #define I2S_RCR3_CFR_MASK                        (0xF000000U)
55925 #define I2S_RCR3_CFR_SHIFT                       (24U)
55926 /*! CFR - Channel FIFO Reset
55927  */
55928 #define I2S_RCR3_CFR(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR3_CFR_SHIFT)) & I2S_RCR3_CFR_MASK)
55929 /*! @} */
55930 
55931 /*! @name RCR4 - Receive Configuration 4 */
55932 /*! @{ */
55933 
55934 #define I2S_RCR4_FSD_MASK                        (0x1U)
55935 #define I2S_RCR4_FSD_SHIFT                       (0U)
55936 /*! FSD - Frame Sync Direction
55937  *  0b0..Frame Sync is generated externally in Slave mode.
55938  *  0b1..Frame Sync is generated internally in Master mode.
55939  */
55940 #define I2S_RCR4_FSD(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FSD_SHIFT)) & I2S_RCR4_FSD_MASK)
55941 
55942 #define I2S_RCR4_FSP_MASK                        (0x2U)
55943 #define I2S_RCR4_FSP_SHIFT                       (1U)
55944 /*! FSP - Frame Sync Polarity
55945  *  0b0..Frame sync is active high.
55946  *  0b1..Frame sync is active low.
55947  */
55948 #define I2S_RCR4_FSP(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FSP_SHIFT)) & I2S_RCR4_FSP_MASK)
55949 
55950 #define I2S_RCR4_ONDEM_MASK                      (0x4U)
55951 #define I2S_RCR4_ONDEM_SHIFT                     (2U)
55952 /*! ONDEM - On Demand Mode
55953  *  0b0..Internal frame sync is generated continuously.
55954  *  0b1..Internal frame sync is generated when the FIFO warning flag is clear.
55955  */
55956 #define I2S_RCR4_ONDEM(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_ONDEM_SHIFT)) & I2S_RCR4_ONDEM_MASK)
55957 
55958 #define I2S_RCR4_FSE_MASK                        (0x8U)
55959 #define I2S_RCR4_FSE_SHIFT                       (3U)
55960 /*! FSE - Frame Sync Early
55961  *  0b0..Frame sync asserts with the first bit of the frame.
55962  *  0b1..Frame sync asserts one bit before the first bit of the frame.
55963  */
55964 #define I2S_RCR4_FSE(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FSE_SHIFT)) & I2S_RCR4_FSE_MASK)
55965 
55966 #define I2S_RCR4_MF_MASK                         (0x10U)
55967 #define I2S_RCR4_MF_SHIFT                        (4U)
55968 /*! MF - MSB First
55969  *  0b0..LSB is received first.
55970  *  0b1..MSB is received first.
55971  */
55972 #define I2S_RCR4_MF(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_MF_SHIFT)) & I2S_RCR4_MF_MASK)
55973 
55974 #define I2S_RCR4_SYWD_MASK                       (0x1F00U)
55975 #define I2S_RCR4_SYWD_SHIFT                      (8U)
55976 /*! SYWD - Sync Width
55977  */
55978 #define I2S_RCR4_SYWD(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_SYWD_SHIFT)) & I2S_RCR4_SYWD_MASK)
55979 
55980 #define I2S_RCR4_FRSZ_MASK                       (0x1F0000U)
55981 #define I2S_RCR4_FRSZ_SHIFT                      (16U)
55982 /*! FRSZ - Frame Size
55983  */
55984 #define I2S_RCR4_FRSZ(x)                         (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FRSZ_SHIFT)) & I2S_RCR4_FRSZ_MASK)
55985 
55986 #define I2S_RCR4_FPACK_MASK                      (0x3000000U)
55987 #define I2S_RCR4_FPACK_SHIFT                     (24U)
55988 /*! FPACK - FIFO Packing Mode
55989  *  0b00..FIFO packing is disabled
55990  *  0b01..Reserved.
55991  *  0b10..8-bit FIFO packing is enabled
55992  *  0b11..16-bit FIFO packing is enabled
55993  */
55994 #define I2S_RCR4_FPACK(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FPACK_SHIFT)) & I2S_RCR4_FPACK_MASK)
55995 
55996 #define I2S_RCR4_FCOMB_MASK                      (0xC000000U)
55997 #define I2S_RCR4_FCOMB_SHIFT                     (26U)
55998 /*! FCOMB - FIFO Combine Mode
55999  *  0b00..FIFO combine mode disabled.
56000  *  0b01..FIFO combine mode enabled on FIFO writes (from receive shift registers).
56001  *  0b10..FIFO combine mode enabled on FIFO reads (by software).
56002  *  0b11..FIFO combine mode enabled on FIFO writes (from receive shift registers) and reads (by software).
56003  */
56004 #define I2S_RCR4_FCOMB(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FCOMB_SHIFT)) & I2S_RCR4_FCOMB_MASK)
56005 
56006 #define I2S_RCR4_FCONT_MASK                      (0x10000000U)
56007 #define I2S_RCR4_FCONT_SHIFT                     (28U)
56008 /*! FCONT - FIFO Continue on Error
56009  *  0b0..On FIFO error, the SAI will continue from the start of the next frame after the FIFO error flag has been cleared.
56010  *  0b1..On FIFO error, the SAI will continue from the same word that caused the FIFO error to set after the FIFO warning flag has been cleared.
56011  */
56012 #define I2S_RCR4_FCONT(x)                        (((uint32_t)(((uint32_t)(x)) << I2S_RCR4_FCONT_SHIFT)) & I2S_RCR4_FCONT_MASK)
56013 /*! @} */
56014 
56015 /*! @name RCR5 - Receive Configuration 5 */
56016 /*! @{ */
56017 
56018 #define I2S_RCR5_FBT_MASK                        (0x1F00U)
56019 #define I2S_RCR5_FBT_SHIFT                       (8U)
56020 /*! FBT - First Bit Shifted
56021  */
56022 #define I2S_RCR5_FBT(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR5_FBT_SHIFT)) & I2S_RCR5_FBT_MASK)
56023 
56024 #define I2S_RCR5_W0W_MASK                        (0x1F0000U)
56025 #define I2S_RCR5_W0W_SHIFT                       (16U)
56026 /*! W0W - Word 0 Width
56027  */
56028 #define I2S_RCR5_W0W(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR5_W0W_SHIFT)) & I2S_RCR5_W0W_MASK)
56029 
56030 #define I2S_RCR5_WNW_MASK                        (0x1F000000U)
56031 #define I2S_RCR5_WNW_SHIFT                       (24U)
56032 /*! WNW - Word N Width
56033  */
56034 #define I2S_RCR5_WNW(x)                          (((uint32_t)(((uint32_t)(x)) << I2S_RCR5_WNW_SHIFT)) & I2S_RCR5_WNW_MASK)
56035 /*! @} */
56036 
56037 /*! @name RDR - Receive Data */
56038 /*! @{ */
56039 
56040 #define I2S_RDR_RDR_MASK                         (0xFFFFFFFFU)
56041 #define I2S_RDR_RDR_SHIFT                        (0U)
56042 /*! RDR - Receive Data Register
56043  */
56044 #define I2S_RDR_RDR(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RDR_RDR_SHIFT)) & I2S_RDR_RDR_MASK)
56045 /*! @} */
56046 
56047 /* The count of I2S_RDR */
56048 #define I2S_RDR_COUNT                            (4U)
56049 
56050 /*! @name RFR - Receive FIFO */
56051 /*! @{ */
56052 
56053 #define I2S_RFR_RFP_MASK                         (0x3FU)
56054 #define I2S_RFR_RFP_SHIFT                        (0U)
56055 /*! RFP - Read FIFO Pointer
56056  */
56057 #define I2S_RFR_RFP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RFR_RFP_SHIFT)) & I2S_RFR_RFP_MASK)
56058 
56059 #define I2S_RFR_RCP_MASK                         (0x8000U)
56060 #define I2S_RFR_RCP_SHIFT                        (15U)
56061 /*! RCP - Receive Channel Pointer
56062  *  0b0..No effect.
56063  *  0b1..FIFO combine is enabled for FIFO reads and this FIFO will be read on the next FIFO read.
56064  */
56065 #define I2S_RFR_RCP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RFR_RCP_SHIFT)) & I2S_RFR_RCP_MASK)
56066 
56067 #define I2S_RFR_WFP_MASK                         (0x3F0000U)
56068 #define I2S_RFR_WFP_SHIFT                        (16U)
56069 /*! WFP - Write FIFO Pointer
56070  */
56071 #define I2S_RFR_WFP(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RFR_WFP_SHIFT)) & I2S_RFR_WFP_MASK)
56072 /*! @} */
56073 
56074 /* The count of I2S_RFR */
56075 #define I2S_RFR_COUNT                            (4U)
56076 
56077 /*! @name RMR - Receive Mask */
56078 /*! @{ */
56079 
56080 #define I2S_RMR_RWM_MASK                         (0xFFFFFFFFU)
56081 #define I2S_RMR_RWM_SHIFT                        (0U)
56082 /*! RWM - Receive Word Mask
56083  *  0b00000000000000000000000000000000..Word N is enabled.
56084  *  0b00000000000000000000000000000001..Word N is masked.
56085  */
56086 #define I2S_RMR_RWM(x)                           (((uint32_t)(((uint32_t)(x)) << I2S_RMR_RWM_SHIFT)) & I2S_RMR_RWM_MASK)
56087 /*! @} */
56088 
56089 
56090 /*!
56091  * @}
56092  */ /* end of group I2S_Register_Masks */
56093 
56094 
56095 /* I2S - Peripheral instance base addresses */
56096 /** Peripheral SAI1 base address */
56097 #define SAI1_BASE                                (0x40404000u)
56098 /** Peripheral SAI1 base pointer */
56099 #define SAI1                                     ((I2S_Type *)SAI1_BASE)
56100 /** Peripheral SAI2 base address */
56101 #define SAI2_BASE                                (0x40408000u)
56102 /** Peripheral SAI2 base pointer */
56103 #define SAI2                                     ((I2S_Type *)SAI2_BASE)
56104 /** Peripheral SAI3 base address */
56105 #define SAI3_BASE                                (0x4040C000u)
56106 /** Peripheral SAI3 base pointer */
56107 #define SAI3                                     ((I2S_Type *)SAI3_BASE)
56108 /** Peripheral SAI4 base address */
56109 #define SAI4_BASE                                (0x40C40000u)
56110 /** Peripheral SAI4 base pointer */
56111 #define SAI4                                     ((I2S_Type *)SAI4_BASE)
56112 /** Array initializer of I2S peripheral base addresses */
56113 #define I2S_BASE_ADDRS                           { 0u, SAI1_BASE, SAI2_BASE, SAI3_BASE, SAI4_BASE }
56114 /** Array initializer of I2S peripheral base pointers */
56115 #define I2S_BASE_PTRS                            { (I2S_Type *)0u, SAI1, SAI2, SAI3, SAI4 }
56116 /** Interrupt vectors for the I2S peripheral type */
56117 #define I2S_RX_IRQS                              { NotAvail_IRQn, SAI1_IRQn, SAI2_IRQn, SAI3_RX_IRQn, SAI4_RX_IRQn }
56118 #define I2S_TX_IRQS                              { NotAvail_IRQn, SAI1_IRQn, SAI2_IRQn, SAI3_TX_IRQn, SAI4_TX_IRQn }
56119 
56120 /*!
56121  * @}
56122  */ /* end of group I2S_Peripheral_Access_Layer */
56123 
56124 
56125 /* ----------------------------------------------------------------------------
56126    -- IEE Peripheral Access Layer
56127    ---------------------------------------------------------------------------- */
56128 
56129 /*!
56130  * @addtogroup IEE_Peripheral_Access_Layer IEE Peripheral Access Layer
56131  * @{
56132  */
56133 
56134 /** IEE - Register Layout Typedef */
56135 typedef struct {
56136   __IO uint32_t GCFG;                              /**< IEE Global Configuration, offset: 0x0 */
56137   __I  uint32_t STA;                               /**< IEE Status, offset: 0x4 */
56138   __IO uint32_t TSTMD;                             /**< IEE Test Mode Register, offset: 0x8 */
56139   __O  uint32_t DPAMS;                             /**< AES Mask Generation Seed, offset: 0xC */
56140        uint8_t RESERVED_0[16];
56141   __IO uint32_t PC_S_LT;                           /**< Performance Counter, AES Slave Latency Threshold Value, offset: 0x20 */
56142   __IO uint32_t PC_M_LT;                           /**< Performance Counter, AES Master Latency Threshold, offset: 0x24 */
56143        uint8_t RESERVED_1[24];
56144   __IO uint32_t PC_BLK_ENC;                        /**< Performance Counter, Number of AES Block Encryptions, offset: 0x40 */
56145   __IO uint32_t PC_BLK_DEC;                        /**< Performance Counter, Number of AES Block Decryptions, offset: 0x44 */
56146        uint8_t RESERVED_2[8];
56147   __IO uint32_t PC_SR_TRANS;                       /**< Performance Counter, Number of AXI Slave Read Transactions, offset: 0x50 */
56148   __IO uint32_t PC_SW_TRANS;                       /**< Performance Counter, Number of AXI Slave Write Transactions, offset: 0x54 */
56149   __IO uint32_t PC_MR_TRANS;                       /**< Performance Counter, Number of AXI Master Read Transactions, offset: 0x58 */
56150   __IO uint32_t PC_MW_TRANS;                       /**< Performance Counter, Number of AXI Master Write Transactions, offset: 0x5C */
56151        uint8_t RESERVED_3[4];
56152   __IO uint32_t PC_M_MBR;                          /**< Performance Counter, Number of AXI Master Merge Buffer Read Transactions, offset: 0x64 */
56153        uint8_t RESERVED_4[8];
56154   __IO uint32_t PC_SR_TBC_U;                       /**< Performance Counter, Upper Slave Read Transactions Byte Count, offset: 0x70 */
56155   __IO uint32_t PC_SR_TBC_L;                       /**< Performance Counter, Lower Slave Read Transactions Byte Count, offset: 0x74 */
56156   __IO uint32_t PC_SW_TBC_U;                       /**< Performance Counter, Upper Slave Write Transactions Byte Count, offset: 0x78 */
56157   __IO uint32_t PC_SW_TBC_L;                       /**< Performance Counter, Lower Slave Write Transactions Byte Count, offset: 0x7C */
56158   __IO uint32_t PC_MR_TBC_U;                       /**< Performance Counter, Upper Master Read Transactions Byte Count, offset: 0x80 */
56159   __IO uint32_t PC_MR_TBC_L;                       /**< Performance Counter, Lower Master Read Transactions Byte Count, offset: 0x84 */
56160   __IO uint32_t PC_MW_TBC_U;                       /**< Performance Counter, Upper Master Write Transactions Byte Count, offset: 0x88 */
56161   __IO uint32_t PC_MW_TBC_L;                       /**< Performance Counter, Lower Master Write Transactions Byte Count, offset: 0x8C */
56162   __IO uint32_t PC_SR_TLGTT;                       /**< Performance Counter, Number of AXI Slave Read Transactions with Latency Greater than the Threshold, offset: 0x90 */
56163   __IO uint32_t PC_SW_TLGTT;                       /**< Performance Counter, Number of AXI Slave Write Transactions with Latency Greater than the Threshold, offset: 0x94 */
56164   __IO uint32_t PC_MR_TLGTT;                       /**< Performance Counter, Number of AXI Master Read Transactions with Latency Greater than the Threshold, offset: 0x98 */
56165   __IO uint32_t PC_MW_TLGTT;                       /**< Performance Counter, Number of AXI Master Write Transactions with Latency Greater than the Threshold, offset: 0x9C */
56166   __IO uint32_t PC_SR_TLAT_U;                      /**< Performance Counter, Upper Slave Read Latency Count, offset: 0xA0 */
56167   __IO uint32_t PC_SR_TLAT_L;                      /**< Performance Counter, Lower Slave Read Latency Count, offset: 0xA4 */
56168   __IO uint32_t PC_SW_TLAT_U;                      /**< Performance Counter, Upper Slave Write Latency Count, offset: 0xA8 */
56169   __IO uint32_t PC_SW_TLAT_L;                      /**< Performance Counter, Lower Slave Write Latency Count, offset: 0xAC */
56170   __IO uint32_t PC_MR_TLAT_U;                      /**< Performance Counter, Upper Master Read Latency Count, offset: 0xB0 */
56171   __IO uint32_t PC_MR_TLAT_L;                      /**< Performance Counter, Lower Master Read Latency Count, offset: 0xB4 */
56172   __IO uint32_t PC_MW_TLAT_U;                      /**< Performance Counter, Upper Master Write Latency Count, offset: 0xB8 */
56173   __IO uint32_t PC_MW_TLAT_L;                      /**< Performance Counter, Lower Master Write Latency Count, offset: 0xBC */
56174   __IO uint32_t PC_SR_TNRT_U;                      /**< Performance Counter, Upper Slave Read Total Non-Responding Time, offset: 0xC0 */
56175   __IO uint32_t PC_SR_TNRT_L;                      /**< Performance Counter, Lower Slave Read Total Non-Responding Time, offset: 0xC4 */
56176   __IO uint32_t PC_SW_TNRT_U;                      /**< Performance Counter, Upper Slave Write Total Non-Responding Time, offset: 0xC8 */
56177   __IO uint32_t PC_SW_TNRT_L;                      /**< Performance Counter, Lower Slave Write Total Non-Responding Time, offset: 0xCC */
56178        uint8_t RESERVED_5[32];
56179   __I  uint32_t VIDR1;                             /**< IEE Version ID Register 1, offset: 0xF0 */
56180        uint8_t RESERVED_6[4];
56181   __I  uint32_t AESVID;                            /**< IEE AES Version ID Register, offset: 0xF8 */
56182        uint8_t RESERVED_7[4];
56183   struct {                                         /* offset: 0x100, array step: 0x100 */
56184     __IO uint32_t REGATTR;                           /**< IEE Region 0 Attribute Register...IEE Region 7 Attribute Register., array offset: 0x100, array step: 0x100 */
56185          uint8_t RESERVED_0[4];
56186     __IO uint32_t REGPO;                             /**< IEE Region 0 Page Offset Register..IEE Region 7 Page Offset Register, array offset: 0x108, array step: 0x100 */
56187          uint8_t RESERVED_1[52];
56188     __O  uint32_t REGKEY1[8];                        /**< IEE Region 0 Key 1 Register..IEE Region 7 Key 1 Register, array offset: 0x140, array step: index*0x100, index2*0x4 */
56189          uint8_t RESERVED_2[32];
56190     __O  uint32_t REGKEY2[8];                        /**< IEE Region 0 Key 2 Register..IEE Region 7 Key 2 Register, array offset: 0x180, array step: index*0x100, index2*0x4 */
56191          uint8_t RESERVED_3[96];
56192   } REGX[8];
56193        uint8_t RESERVED_8[1536];
56194   __IO uint32_t AES_TST_DB[32];                    /**< IEE AES Test Mode Data Buffer, array offset: 0xF00, array step: 0x4 */
56195 } IEE_Type;
56196 
56197 /* ----------------------------------------------------------------------------
56198    -- IEE Register Masks
56199    ---------------------------------------------------------------------------- */
56200 
56201 /*!
56202  * @addtogroup IEE_Register_Masks IEE Register Masks
56203  * @{
56204  */
56205 
56206 /*! @name GCFG - IEE Global Configuration */
56207 /*! @{ */
56208 
56209 #define IEE_GCFG_RL0_MASK                        (0x1U)
56210 #define IEE_GCFG_RL0_SHIFT                       (0U)
56211 /*! RL0
56212  *  0b0..Unlocked.
56213  *  0b1..Key, Offset and Attribute registers are locked.
56214  */
56215 #define IEE_GCFG_RL0(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL0_SHIFT)) & IEE_GCFG_RL0_MASK)
56216 
56217 #define IEE_GCFG_RL1_MASK                        (0x2U)
56218 #define IEE_GCFG_RL1_SHIFT                       (1U)
56219 /*! RL1
56220  *  0b0..Unlocked.
56221  *  0b1..Key, Offset and Attribute registers are locked.
56222  */
56223 #define IEE_GCFG_RL1(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL1_SHIFT)) & IEE_GCFG_RL1_MASK)
56224 
56225 #define IEE_GCFG_RL2_MASK                        (0x4U)
56226 #define IEE_GCFG_RL2_SHIFT                       (2U)
56227 /*! RL2
56228  *  0b0..Unlocked.
56229  *  0b1..Key, Offset and Attribute registers are locked.
56230  */
56231 #define IEE_GCFG_RL2(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL2_SHIFT)) & IEE_GCFG_RL2_MASK)
56232 
56233 #define IEE_GCFG_RL3_MASK                        (0x8U)
56234 #define IEE_GCFG_RL3_SHIFT                       (3U)
56235 /*! RL3
56236  *  0b0..Unlocked.
56237  *  0b1..Key, Offset and Attribute registers are locked.
56238  */
56239 #define IEE_GCFG_RL3(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL3_SHIFT)) & IEE_GCFG_RL3_MASK)
56240 
56241 #define IEE_GCFG_RL4_MASK                        (0x10U)
56242 #define IEE_GCFG_RL4_SHIFT                       (4U)
56243 /*! RL4
56244  *  0b0..Unlocked.
56245  *  0b1..Key, Offset and Attribute registers are locked.
56246  */
56247 #define IEE_GCFG_RL4(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL4_SHIFT)) & IEE_GCFG_RL4_MASK)
56248 
56249 #define IEE_GCFG_RL5_MASK                        (0x20U)
56250 #define IEE_GCFG_RL5_SHIFT                       (5U)
56251 /*! RL5
56252  *  0b0..Unlocked.
56253  *  0b1..Key, Offset and Attribute registers are locked.
56254  */
56255 #define IEE_GCFG_RL5(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL5_SHIFT)) & IEE_GCFG_RL5_MASK)
56256 
56257 #define IEE_GCFG_RL6_MASK                        (0x40U)
56258 #define IEE_GCFG_RL6_SHIFT                       (6U)
56259 /*! RL6
56260  *  0b0..Unlocked.
56261  *  0b1..Key, Offset and Attribute registers are locked.
56262  */
56263 #define IEE_GCFG_RL6(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL6_SHIFT)) & IEE_GCFG_RL6_MASK)
56264 
56265 #define IEE_GCFG_RL7_MASK                        (0x80U)
56266 #define IEE_GCFG_RL7_SHIFT                       (7U)
56267 /*! RL7
56268  *  0b0..Unlocked.
56269  *  0b1..Key, Offset and Attribute registers are locked.
56270  */
56271 #define IEE_GCFG_RL7(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RL7_SHIFT)) & IEE_GCFG_RL7_MASK)
56272 
56273 #define IEE_GCFG_TME_MASK                        (0x10000U)
56274 #define IEE_GCFG_TME_SHIFT                       (16U)
56275 /*! TME
56276  *  0b0..Disabled.
56277  *  0b1..Enabled.
56278  */
56279 #define IEE_GCFG_TME(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_TME_SHIFT)) & IEE_GCFG_TME_MASK)
56280 
56281 #define IEE_GCFG_TMD_MASK                        (0x20000U)
56282 #define IEE_GCFG_TMD_SHIFT                       (17U)
56283 /*! TMD
56284  *  0b0..Test mode is usable.
56285  *  0b1..Test mode is disabled.
56286  */
56287 #define IEE_GCFG_TMD(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_TMD_SHIFT)) & IEE_GCFG_TMD_MASK)
56288 
56289 #define IEE_GCFG_KEY_RD_DIS_MASK                 (0x2000000U)
56290 #define IEE_GCFG_KEY_RD_DIS_SHIFT                (25U)
56291 /*! KEY_RD_DIS
56292  *  0b0..Key read enabled. Reading the key registers is allowed.
56293  *  0b1..Key read disabled. Reading the key registers is disabled.
56294  */
56295 #define IEE_GCFG_KEY_RD_DIS(x)                   (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_KEY_RD_DIS_SHIFT)) & IEE_GCFG_KEY_RD_DIS_MASK)
56296 
56297 #define IEE_GCFG_MON_EN_MASK                     (0x10000000U)
56298 #define IEE_GCFG_MON_EN_SHIFT                    (28U)
56299 /*! MON_EN
56300  *  0b0..Performance monitoring disabled. Writing of the performance counter registers is enabled.
56301  *  0b1..Performance monitoring enabled. Writing of the performance counter registers is disabled.
56302  */
56303 #define IEE_GCFG_MON_EN(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_MON_EN_SHIFT)) & IEE_GCFG_MON_EN_MASK)
56304 
56305 #define IEE_GCFG_CLR_MON_MASK                    (0x20000000U)
56306 #define IEE_GCFG_CLR_MON_SHIFT                   (29U)
56307 /*! CLR_MON
56308  *  0b0..Do not reset.
56309  *  0b1..Reset performance counters.
56310  */
56311 #define IEE_GCFG_CLR_MON(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_CLR_MON_SHIFT)) & IEE_GCFG_CLR_MON_MASK)
56312 
56313 #define IEE_GCFG_RST_MASK                        (0x80000000U)
56314 #define IEE_GCFG_RST_SHIFT                       (31U)
56315 /*! RST
56316  *  0b0..Do Not Reset.
56317  *  0b1..Reset IEE.
56318  */
56319 #define IEE_GCFG_RST(x)                          (((uint32_t)(((uint32_t)(x)) << IEE_GCFG_RST_SHIFT)) & IEE_GCFG_RST_MASK)
56320 /*! @} */
56321 
56322 /*! @name STA - IEE Status */
56323 /*! @{ */
56324 
56325 #define IEE_STA_DSR_MASK                         (0x1U)
56326 #define IEE_STA_DSR_SHIFT                        (0U)
56327 /*! DSR
56328  *  0b0..No seed request present
56329  *  0b1..Seed request present
56330  */
56331 #define IEE_STA_DSR(x)                           (((uint32_t)(((uint32_t)(x)) << IEE_STA_DSR_SHIFT)) & IEE_STA_DSR_MASK)
56332 
56333 #define IEE_STA_AFD_MASK                         (0x10U)
56334 #define IEE_STA_AFD_SHIFT                        (4U)
56335 /*! AFD
56336  *  0b0..No fault detected
56337  *  0b1..Fault detected
56338  */
56339 #define IEE_STA_AFD(x)                           (((uint32_t)(((uint32_t)(x)) << IEE_STA_AFD_SHIFT)) & IEE_STA_AFD_MASK)
56340 /*! @} */
56341 
56342 /*! @name TSTMD - IEE Test Mode Register */
56343 /*! @{ */
56344 
56345 #define IEE_TSTMD_TMRDY_MASK                     (0x1U)
56346 #define IEE_TSTMD_TMRDY_SHIFT                    (0U)
56347 /*! TMRDY
56348  *  0b0..Not Ready.
56349  *  0b1..Ready.
56350  */
56351 #define IEE_TSTMD_TMRDY(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMRDY_SHIFT)) & IEE_TSTMD_TMRDY_MASK)
56352 
56353 #define IEE_TSTMD_TMR_MASK                       (0x2U)
56354 #define IEE_TSTMD_TMR_SHIFT                      (1U)
56355 /*! TMR
56356  *  0b0..Not running. May be written if IEE_GCFG[TME] = 1
56357  *  0b1..Run AES Test until TMDONE is indicated.
56358  */
56359 #define IEE_TSTMD_TMR(x)                         (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMR_SHIFT)) & IEE_TSTMD_TMR_MASK)
56360 
56361 #define IEE_TSTMD_TMENCR_MASK                    (0x4U)
56362 #define IEE_TSTMD_TMENCR_SHIFT                   (2U)
56363 /*! TMENCR
56364  *  0b0..AES Test mode will do decryption.
56365  *  0b1..AES Test mode will do encryption.
56366  */
56367 #define IEE_TSTMD_TMENCR(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMENCR_SHIFT)) & IEE_TSTMD_TMENCR_MASK)
56368 
56369 #define IEE_TSTMD_TMCONT_MASK                    (0x8U)
56370 #define IEE_TSTMD_TMCONT_SHIFT                   (3U)
56371 /*! TMCONT
56372  *  0b0..Do not continue. This is the last block of data for AES.
56373  *  0b1..Continue. Do not initialize AES after this block.
56374  */
56375 #define IEE_TSTMD_TMCONT(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMCONT_SHIFT)) & IEE_TSTMD_TMCONT_MASK)
56376 
56377 #define IEE_TSTMD_TMDONE_MASK                    (0x10U)
56378 #define IEE_TSTMD_TMDONE_SHIFT                   (4U)
56379 /*! TMDONE
56380  *  0b0..Not Done.
56381  *  0b1..Test Done.
56382  */
56383 #define IEE_TSTMD_TMDONE(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMDONE_SHIFT)) & IEE_TSTMD_TMDONE_MASK)
56384 
56385 #define IEE_TSTMD_TMLEN_MASK                     (0xF00U)
56386 #define IEE_TSTMD_TMLEN_SHIFT                    (8U)
56387 #define IEE_TSTMD_TMLEN(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_TSTMD_TMLEN_SHIFT)) & IEE_TSTMD_TMLEN_MASK)
56388 /*! @} */
56389 
56390 /*! @name DPAMS - AES Mask Generation Seed */
56391 /*! @{ */
56392 
56393 #define IEE_DPAMS_DPAMS_MASK                     (0xFFFFFFFFU)
56394 #define IEE_DPAMS_DPAMS_SHIFT                    (0U)
56395 #define IEE_DPAMS_DPAMS(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_DPAMS_DPAMS_SHIFT)) & IEE_DPAMS_DPAMS_MASK)
56396 /*! @} */
56397 
56398 /*! @name PC_S_LT - Performance Counter, AES Slave Latency Threshold Value */
56399 /*! @{ */
56400 
56401 #define IEE_PC_S_LT_SW_LT_MASK                   (0xFFFFU)
56402 #define IEE_PC_S_LT_SW_LT_SHIFT                  (0U)
56403 #define IEE_PC_S_LT_SW_LT(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_PC_S_LT_SW_LT_SHIFT)) & IEE_PC_S_LT_SW_LT_MASK)
56404 
56405 #define IEE_PC_S_LT_SR_LT_MASK                   (0xFFFF0000U)
56406 #define IEE_PC_S_LT_SR_LT_SHIFT                  (16U)
56407 #define IEE_PC_S_LT_SR_LT(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_PC_S_LT_SR_LT_SHIFT)) & IEE_PC_S_LT_SR_LT_MASK)
56408 /*! @} */
56409 
56410 /*! @name PC_M_LT - Performance Counter, AES Master Latency Threshold */
56411 /*! @{ */
56412 
56413 #define IEE_PC_M_LT_MW_LT_MASK                   (0xFFFU)
56414 #define IEE_PC_M_LT_MW_LT_SHIFT                  (0U)
56415 #define IEE_PC_M_LT_MW_LT(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_PC_M_LT_MW_LT_SHIFT)) & IEE_PC_M_LT_MW_LT_MASK)
56416 
56417 #define IEE_PC_M_LT_MR_LT_MASK                   (0xFFF0000U)
56418 #define IEE_PC_M_LT_MR_LT_SHIFT                  (16U)
56419 #define IEE_PC_M_LT_MR_LT(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_PC_M_LT_MR_LT_SHIFT)) & IEE_PC_M_LT_MR_LT_MASK)
56420 /*! @} */
56421 
56422 /*! @name PC_BLK_ENC - Performance Counter, Number of AES Block Encryptions */
56423 /*! @{ */
56424 
56425 #define IEE_PC_BLK_ENC_BLK_ENC_MASK              (0xFFFFFFFFU)
56426 #define IEE_PC_BLK_ENC_BLK_ENC_SHIFT             (0U)
56427 #define IEE_PC_BLK_ENC_BLK_ENC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_BLK_ENC_BLK_ENC_SHIFT)) & IEE_PC_BLK_ENC_BLK_ENC_MASK)
56428 /*! @} */
56429 
56430 /*! @name PC_BLK_DEC - Performance Counter, Number of AES Block Decryptions */
56431 /*! @{ */
56432 
56433 #define IEE_PC_BLK_DEC_BLK_DEC_MASK              (0xFFFFFFFFU)
56434 #define IEE_PC_BLK_DEC_BLK_DEC_SHIFT             (0U)
56435 #define IEE_PC_BLK_DEC_BLK_DEC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_BLK_DEC_BLK_DEC_SHIFT)) & IEE_PC_BLK_DEC_BLK_DEC_MASK)
56436 /*! @} */
56437 
56438 /*! @name PC_SR_TRANS - Performance Counter, Number of AXI Slave Read Transactions */
56439 /*! @{ */
56440 
56441 #define IEE_PC_SR_TRANS_SR_TRANS_MASK            (0xFFFFFFFFU)
56442 #define IEE_PC_SR_TRANS_SR_TRANS_SHIFT           (0U)
56443 #define IEE_PC_SR_TRANS_SR_TRANS(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TRANS_SR_TRANS_SHIFT)) & IEE_PC_SR_TRANS_SR_TRANS_MASK)
56444 /*! @} */
56445 
56446 /*! @name PC_SW_TRANS - Performance Counter, Number of AXI Slave Write Transactions */
56447 /*! @{ */
56448 
56449 #define IEE_PC_SW_TRANS_SW_TRANS_MASK            (0xFFFFFFFFU)
56450 #define IEE_PC_SW_TRANS_SW_TRANS_SHIFT           (0U)
56451 #define IEE_PC_SW_TRANS_SW_TRANS(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TRANS_SW_TRANS_SHIFT)) & IEE_PC_SW_TRANS_SW_TRANS_MASK)
56452 /*! @} */
56453 
56454 /*! @name PC_MR_TRANS - Performance Counter, Number of AXI Master Read Transactions */
56455 /*! @{ */
56456 
56457 #define IEE_PC_MR_TRANS_MR_TRANS_MASK            (0xFFFFFFFFU)
56458 #define IEE_PC_MR_TRANS_MR_TRANS_SHIFT           (0U)
56459 #define IEE_PC_MR_TRANS_MR_TRANS(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TRANS_MR_TRANS_SHIFT)) & IEE_PC_MR_TRANS_MR_TRANS_MASK)
56460 /*! @} */
56461 
56462 /*! @name PC_MW_TRANS - Performance Counter, Number of AXI Master Write Transactions */
56463 /*! @{ */
56464 
56465 #define IEE_PC_MW_TRANS_MW_TRANS_MASK            (0xFFFFFFFFU)
56466 #define IEE_PC_MW_TRANS_MW_TRANS_SHIFT           (0U)
56467 #define IEE_PC_MW_TRANS_MW_TRANS(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TRANS_MW_TRANS_SHIFT)) & IEE_PC_MW_TRANS_MW_TRANS_MASK)
56468 /*! @} */
56469 
56470 /*! @name PC_M_MBR - Performance Counter, Number of AXI Master Merge Buffer Read Transactions */
56471 /*! @{ */
56472 
56473 #define IEE_PC_M_MBR_M_MBR_MASK                  (0xFFFFFFFFU)
56474 #define IEE_PC_M_MBR_M_MBR_SHIFT                 (0U)
56475 #define IEE_PC_M_MBR_M_MBR(x)                    (((uint32_t)(((uint32_t)(x)) << IEE_PC_M_MBR_M_MBR_SHIFT)) & IEE_PC_M_MBR_M_MBR_MASK)
56476 /*! @} */
56477 
56478 /*! @name PC_SR_TBC_U - Performance Counter, Upper Slave Read Transactions Byte Count */
56479 /*! @{ */
56480 
56481 #define IEE_PC_SR_TBC_U_SR_TBC_MASK              (0xFFFFU)
56482 #define IEE_PC_SR_TBC_U_SR_TBC_SHIFT             (0U)
56483 #define IEE_PC_SR_TBC_U_SR_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TBC_U_SR_TBC_SHIFT)) & IEE_PC_SR_TBC_U_SR_TBC_MASK)
56484 /*! @} */
56485 
56486 /*! @name PC_SR_TBC_L - Performance Counter, Lower Slave Read Transactions Byte Count */
56487 /*! @{ */
56488 
56489 #define IEE_PC_SR_TBC_L_SR_TBC_MASK              (0xFFFFFFFFU)
56490 #define IEE_PC_SR_TBC_L_SR_TBC_SHIFT             (0U)
56491 #define IEE_PC_SR_TBC_L_SR_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TBC_L_SR_TBC_SHIFT)) & IEE_PC_SR_TBC_L_SR_TBC_MASK)
56492 /*! @} */
56493 
56494 /*! @name PC_SW_TBC_U - Performance Counter, Upper Slave Write Transactions Byte Count */
56495 /*! @{ */
56496 
56497 #define IEE_PC_SW_TBC_U_SW_TBC_MASK              (0xFFFFU)
56498 #define IEE_PC_SW_TBC_U_SW_TBC_SHIFT             (0U)
56499 #define IEE_PC_SW_TBC_U_SW_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TBC_U_SW_TBC_SHIFT)) & IEE_PC_SW_TBC_U_SW_TBC_MASK)
56500 /*! @} */
56501 
56502 /*! @name PC_SW_TBC_L - Performance Counter, Lower Slave Write Transactions Byte Count */
56503 /*! @{ */
56504 
56505 #define IEE_PC_SW_TBC_L_SW_TBC_MASK              (0xFFFFFFFFU)
56506 #define IEE_PC_SW_TBC_L_SW_TBC_SHIFT             (0U)
56507 #define IEE_PC_SW_TBC_L_SW_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TBC_L_SW_TBC_SHIFT)) & IEE_PC_SW_TBC_L_SW_TBC_MASK)
56508 /*! @} */
56509 
56510 /*! @name PC_MR_TBC_U - Performance Counter, Upper Master Read Transactions Byte Count */
56511 /*! @{ */
56512 
56513 #define IEE_PC_MR_TBC_U_MR_TBC_MASK              (0xFFFFU)
56514 #define IEE_PC_MR_TBC_U_MR_TBC_SHIFT             (0U)
56515 #define IEE_PC_MR_TBC_U_MR_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TBC_U_MR_TBC_SHIFT)) & IEE_PC_MR_TBC_U_MR_TBC_MASK)
56516 /*! @} */
56517 
56518 /*! @name PC_MR_TBC_L - Performance Counter, Lower Master Read Transactions Byte Count */
56519 /*! @{ */
56520 
56521 #define IEE_PC_MR_TBC_L_MR_TBC_LSB_MASK          (0xFU)
56522 #define IEE_PC_MR_TBC_L_MR_TBC_LSB_SHIFT         (0U)
56523 #define IEE_PC_MR_TBC_L_MR_TBC_LSB(x)            (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TBC_L_MR_TBC_LSB_SHIFT)) & IEE_PC_MR_TBC_L_MR_TBC_LSB_MASK)
56524 
56525 #define IEE_PC_MR_TBC_L_MR_TBC_MASK              (0xFFFFFFF0U)
56526 #define IEE_PC_MR_TBC_L_MR_TBC_SHIFT             (4U)
56527 #define IEE_PC_MR_TBC_L_MR_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TBC_L_MR_TBC_SHIFT)) & IEE_PC_MR_TBC_L_MR_TBC_MASK)
56528 /*! @} */
56529 
56530 /*! @name PC_MW_TBC_U - Performance Counter, Upper Master Write Transactions Byte Count */
56531 /*! @{ */
56532 
56533 #define IEE_PC_MW_TBC_U_MW_TBC_MASK              (0xFFFFU)
56534 #define IEE_PC_MW_TBC_U_MW_TBC_SHIFT             (0U)
56535 #define IEE_PC_MW_TBC_U_MW_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TBC_U_MW_TBC_SHIFT)) & IEE_PC_MW_TBC_U_MW_TBC_MASK)
56536 /*! @} */
56537 
56538 /*! @name PC_MW_TBC_L - Performance Counter, Lower Master Write Transactions Byte Count */
56539 /*! @{ */
56540 
56541 #define IEE_PC_MW_TBC_L_MW_TBC_LSB_MASK          (0xFU)
56542 #define IEE_PC_MW_TBC_L_MW_TBC_LSB_SHIFT         (0U)
56543 #define IEE_PC_MW_TBC_L_MW_TBC_LSB(x)            (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TBC_L_MW_TBC_LSB_SHIFT)) & IEE_PC_MW_TBC_L_MW_TBC_LSB_MASK)
56544 
56545 #define IEE_PC_MW_TBC_L_MW_TBC_MASK              (0xFFFFFFF0U)
56546 #define IEE_PC_MW_TBC_L_MW_TBC_SHIFT             (4U)
56547 #define IEE_PC_MW_TBC_L_MW_TBC(x)                (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TBC_L_MW_TBC_SHIFT)) & IEE_PC_MW_TBC_L_MW_TBC_MASK)
56548 /*! @} */
56549 
56550 /*! @name PC_SR_TLGTT - Performance Counter, Number of AXI Slave Read Transactions with Latency Greater than the Threshold */
56551 /*! @{ */
56552 
56553 #define IEE_PC_SR_TLGTT_SR_TLGTT_MASK            (0xFFFFFFFFU)
56554 #define IEE_PC_SR_TLGTT_SR_TLGTT_SHIFT           (0U)
56555 #define IEE_PC_SR_TLGTT_SR_TLGTT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TLGTT_SR_TLGTT_SHIFT)) & IEE_PC_SR_TLGTT_SR_TLGTT_MASK)
56556 /*! @} */
56557 
56558 /*! @name PC_SW_TLGTT - Performance Counter, Number of AXI Slave Write Transactions with Latency Greater than the Threshold */
56559 /*! @{ */
56560 
56561 #define IEE_PC_SW_TLGTT_SW_TLGTT_MASK            (0xFFFFFFFFU)
56562 #define IEE_PC_SW_TLGTT_SW_TLGTT_SHIFT           (0U)
56563 #define IEE_PC_SW_TLGTT_SW_TLGTT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TLGTT_SW_TLGTT_SHIFT)) & IEE_PC_SW_TLGTT_SW_TLGTT_MASK)
56564 /*! @} */
56565 
56566 /*! @name PC_MR_TLGTT - Performance Counter, Number of AXI Master Read Transactions with Latency Greater than the Threshold */
56567 /*! @{ */
56568 
56569 #define IEE_PC_MR_TLGTT_MR_TLGTT_MASK            (0xFFFFFFFFU)
56570 #define IEE_PC_MR_TLGTT_MR_TLGTT_SHIFT           (0U)
56571 #define IEE_PC_MR_TLGTT_MR_TLGTT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TLGTT_MR_TLGTT_SHIFT)) & IEE_PC_MR_TLGTT_MR_TLGTT_MASK)
56572 /*! @} */
56573 
56574 /*! @name PC_MW_TLGTT - Performance Counter, Number of AXI Master Write Transactions with Latency Greater than the Threshold */
56575 /*! @{ */
56576 
56577 #define IEE_PC_MW_TLGTT_MW_TGTT_MASK             (0xFFFFFFFFU)
56578 #define IEE_PC_MW_TLGTT_MW_TGTT_SHIFT            (0U)
56579 #define IEE_PC_MW_TLGTT_MW_TGTT(x)               (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TLGTT_MW_TGTT_SHIFT)) & IEE_PC_MW_TLGTT_MW_TGTT_MASK)
56580 /*! @} */
56581 
56582 /*! @name PC_SR_TLAT_U - Performance Counter, Upper Slave Read Latency Count */
56583 /*! @{ */
56584 
56585 #define IEE_PC_SR_TLAT_U_SR_TLAT_MASK            (0xFFFFU)
56586 #define IEE_PC_SR_TLAT_U_SR_TLAT_SHIFT           (0U)
56587 #define IEE_PC_SR_TLAT_U_SR_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TLAT_U_SR_TLAT_SHIFT)) & IEE_PC_SR_TLAT_U_SR_TLAT_MASK)
56588 /*! @} */
56589 
56590 /*! @name PC_SR_TLAT_L - Performance Counter, Lower Slave Read Latency Count */
56591 /*! @{ */
56592 
56593 #define IEE_PC_SR_TLAT_L_SR_TLAT_MASK            (0xFFFFFFFFU)
56594 #define IEE_PC_SR_TLAT_L_SR_TLAT_SHIFT           (0U)
56595 #define IEE_PC_SR_TLAT_L_SR_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TLAT_L_SR_TLAT_SHIFT)) & IEE_PC_SR_TLAT_L_SR_TLAT_MASK)
56596 /*! @} */
56597 
56598 /*! @name PC_SW_TLAT_U - Performance Counter, Upper Slave Write Latency Count */
56599 /*! @{ */
56600 
56601 #define IEE_PC_SW_TLAT_U_SW_TLAT_MASK            (0xFFFFU)
56602 #define IEE_PC_SW_TLAT_U_SW_TLAT_SHIFT           (0U)
56603 #define IEE_PC_SW_TLAT_U_SW_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TLAT_U_SW_TLAT_SHIFT)) & IEE_PC_SW_TLAT_U_SW_TLAT_MASK)
56604 /*! @} */
56605 
56606 /*! @name PC_SW_TLAT_L - Performance Counter, Lower Slave Write Latency Count */
56607 /*! @{ */
56608 
56609 #define IEE_PC_SW_TLAT_L_SW_TLAT_MASK            (0xFFFFFFFFU)
56610 #define IEE_PC_SW_TLAT_L_SW_TLAT_SHIFT           (0U)
56611 #define IEE_PC_SW_TLAT_L_SW_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TLAT_L_SW_TLAT_SHIFT)) & IEE_PC_SW_TLAT_L_SW_TLAT_MASK)
56612 /*! @} */
56613 
56614 /*! @name PC_MR_TLAT_U - Performance Counter, Upper Master Read Latency Count */
56615 /*! @{ */
56616 
56617 #define IEE_PC_MR_TLAT_U_MR_TLAT_MASK            (0xFFFFU)
56618 #define IEE_PC_MR_TLAT_U_MR_TLAT_SHIFT           (0U)
56619 #define IEE_PC_MR_TLAT_U_MR_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TLAT_U_MR_TLAT_SHIFT)) & IEE_PC_MR_TLAT_U_MR_TLAT_MASK)
56620 /*! @} */
56621 
56622 /*! @name PC_MR_TLAT_L - Performance Counter, Lower Master Read Latency Count */
56623 /*! @{ */
56624 
56625 #define IEE_PC_MR_TLAT_L_MR_TLAT_MASK            (0xFFFFFFFFU)
56626 #define IEE_PC_MR_TLAT_L_MR_TLAT_SHIFT           (0U)
56627 #define IEE_PC_MR_TLAT_L_MR_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MR_TLAT_L_MR_TLAT_SHIFT)) & IEE_PC_MR_TLAT_L_MR_TLAT_MASK)
56628 /*! @} */
56629 
56630 /*! @name PC_MW_TLAT_U - Performance Counter, Upper Master Write Latency Count */
56631 /*! @{ */
56632 
56633 #define IEE_PC_MW_TLAT_U_MW_TLAT_MASK            (0xFFFFU)
56634 #define IEE_PC_MW_TLAT_U_MW_TLAT_SHIFT           (0U)
56635 #define IEE_PC_MW_TLAT_U_MW_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TLAT_U_MW_TLAT_SHIFT)) & IEE_PC_MW_TLAT_U_MW_TLAT_MASK)
56636 /*! @} */
56637 
56638 /*! @name PC_MW_TLAT_L - Performance Counter, Lower Master Write Latency Count */
56639 /*! @{ */
56640 
56641 #define IEE_PC_MW_TLAT_L_MW_TLAT_MASK            (0xFFFFFFFFU)
56642 #define IEE_PC_MW_TLAT_L_MW_TLAT_SHIFT           (0U)
56643 #define IEE_PC_MW_TLAT_L_MW_TLAT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_MW_TLAT_L_MW_TLAT_SHIFT)) & IEE_PC_MW_TLAT_L_MW_TLAT_MASK)
56644 /*! @} */
56645 
56646 /*! @name PC_SR_TNRT_U - Performance Counter, Upper Slave Read Total Non-Responding Time */
56647 /*! @{ */
56648 
56649 #define IEE_PC_SR_TNRT_U_SR_TNRT_MASK            (0xFFFFU)
56650 #define IEE_PC_SR_TNRT_U_SR_TNRT_SHIFT           (0U)
56651 #define IEE_PC_SR_TNRT_U_SR_TNRT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TNRT_U_SR_TNRT_SHIFT)) & IEE_PC_SR_TNRT_U_SR_TNRT_MASK)
56652 /*! @} */
56653 
56654 /*! @name PC_SR_TNRT_L - Performance Counter, Lower Slave Read Total Non-Responding Time */
56655 /*! @{ */
56656 
56657 #define IEE_PC_SR_TNRT_L_SR_TNRT_MASK            (0xFFFFFFFFU)
56658 #define IEE_PC_SR_TNRT_L_SR_TNRT_SHIFT           (0U)
56659 #define IEE_PC_SR_TNRT_L_SR_TNRT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SR_TNRT_L_SR_TNRT_SHIFT)) & IEE_PC_SR_TNRT_L_SR_TNRT_MASK)
56660 /*! @} */
56661 
56662 /*! @name PC_SW_TNRT_U - Performance Counter, Upper Slave Write Total Non-Responding Time */
56663 /*! @{ */
56664 
56665 #define IEE_PC_SW_TNRT_U_SW_TNRT_MASK            (0xFFFFU)
56666 #define IEE_PC_SW_TNRT_U_SW_TNRT_SHIFT           (0U)
56667 #define IEE_PC_SW_TNRT_U_SW_TNRT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TNRT_U_SW_TNRT_SHIFT)) & IEE_PC_SW_TNRT_U_SW_TNRT_MASK)
56668 /*! @} */
56669 
56670 /*! @name PC_SW_TNRT_L - Performance Counter, Lower Slave Write Total Non-Responding Time */
56671 /*! @{ */
56672 
56673 #define IEE_PC_SW_TNRT_L_SW_TNRT_MASK            (0xFFFFFFFFU)
56674 #define IEE_PC_SW_TNRT_L_SW_TNRT_SHIFT           (0U)
56675 #define IEE_PC_SW_TNRT_L_SW_TNRT(x)              (((uint32_t)(((uint32_t)(x)) << IEE_PC_SW_TNRT_L_SW_TNRT_SHIFT)) & IEE_PC_SW_TNRT_L_SW_TNRT_MASK)
56676 /*! @} */
56677 
56678 /*! @name VIDR1 - IEE Version ID Register 1 */
56679 /*! @{ */
56680 
56681 #define IEE_VIDR1_MIN_REV_MASK                   (0xFFU)
56682 #define IEE_VIDR1_MIN_REV_SHIFT                  (0U)
56683 #define IEE_VIDR1_MIN_REV(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_VIDR1_MIN_REV_SHIFT)) & IEE_VIDR1_MIN_REV_MASK)
56684 
56685 #define IEE_VIDR1_MAJ_REV_MASK                   (0xFF00U)
56686 #define IEE_VIDR1_MAJ_REV_SHIFT                  (8U)
56687 #define IEE_VIDR1_MAJ_REV(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_VIDR1_MAJ_REV_SHIFT)) & IEE_VIDR1_MAJ_REV_MASK)
56688 
56689 #define IEE_VIDR1_IP_ID_MASK                     (0xFFFF0000U)
56690 #define IEE_VIDR1_IP_ID_SHIFT                    (16U)
56691 #define IEE_VIDR1_IP_ID(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_VIDR1_IP_ID_SHIFT)) & IEE_VIDR1_IP_ID_MASK)
56692 /*! @} */
56693 
56694 /*! @name AESVID - IEE AES Version ID Register */
56695 /*! @{ */
56696 
56697 #define IEE_AESVID_AESRN_MASK                    (0xFU)
56698 #define IEE_AESVID_AESRN_SHIFT                   (0U)
56699 #define IEE_AESVID_AESRN(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_AESVID_AESRN_SHIFT)) & IEE_AESVID_AESRN_MASK)
56700 
56701 #define IEE_AESVID_AESVID_MASK                   (0xF0U)
56702 #define IEE_AESVID_AESVID_SHIFT                  (4U)
56703 #define IEE_AESVID_AESVID(x)                     (((uint32_t)(((uint32_t)(x)) << IEE_AESVID_AESVID_SHIFT)) & IEE_AESVID_AESVID_MASK)
56704 /*! @} */
56705 
56706 /*! @name REGATTR - IEE Region 0 Attribute Register...IEE Region 7 Attribute Register. */
56707 /*! @{ */
56708 
56709 #define IEE_REGATTR_KS_MASK                      (0x1U)
56710 #define IEE_REGATTR_KS_SHIFT                     (0U)
56711 /*! KS
56712  *  0b0..128 bits (CTR), 256 bits (XTS).
56713  *  0b1..256 bits (CTR), 512 bits (XTS).
56714  */
56715 #define IEE_REGATTR_KS(x)                        (((uint32_t)(((uint32_t)(x)) << IEE_REGATTR_KS_SHIFT)) & IEE_REGATTR_KS_MASK)
56716 
56717 #define IEE_REGATTR_MD_MASK                      (0x70U)
56718 #define IEE_REGATTR_MD_SHIFT                     (4U)
56719 /*! MD
56720  *  0b000..None (AXI error if accessed)
56721  *  0b001..XTS
56722  *  0b010..CTR w/ address binding
56723  *  0b011..CTR w/o address binding
56724  *  0b100..CTR keystream only
56725  *  0b101..Undefined, AXI error if used
56726  *  0b110..Undefined, AXI error if used
56727  *  0b111..Undefined, AXI error if used
56728  */
56729 #define IEE_REGATTR_MD(x)                        (((uint32_t)(((uint32_t)(x)) << IEE_REGATTR_MD_SHIFT)) & IEE_REGATTR_MD_MASK)
56730 
56731 #define IEE_REGATTR_BYP_MASK                     (0x80U)
56732 #define IEE_REGATTR_BYP_SHIFT                    (7U)
56733 /*! BYP
56734  *  0b0..use MD field
56735  *  0b1..Bypass AES, no encrypt/decrypt
56736  */
56737 #define IEE_REGATTR_BYP(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_REGATTR_BYP_SHIFT)) & IEE_REGATTR_BYP_MASK)
56738 /*! @} */
56739 
56740 /* The count of IEE_REGATTR */
56741 #define IEE_REGATTR_COUNT                        (8U)
56742 
56743 /*! @name REGPO - IEE Region 0 Page Offset Register..IEE Region 7 Page Offset Register */
56744 /*! @{ */
56745 
56746 #define IEE_REGPO_PGOFF_MASK                     (0xFFFFFFU)
56747 #define IEE_REGPO_PGOFF_SHIFT                    (0U)
56748 #define IEE_REGPO_PGOFF(x)                       (((uint32_t)(((uint32_t)(x)) << IEE_REGPO_PGOFF_SHIFT)) & IEE_REGPO_PGOFF_MASK)
56749 /*! @} */
56750 
56751 /* The count of IEE_REGPO */
56752 #define IEE_REGPO_COUNT                          (8U)
56753 
56754 /*! @name REGKEY1 - IEE Region 0 Key 1 Register..IEE Region 7 Key 1 Register */
56755 /*! @{ */
56756 
56757 #define IEE_REGKEY1_KEY1_MASK                    (0xFFFFFFFFU)
56758 #define IEE_REGKEY1_KEY1_SHIFT                   (0U)
56759 #define IEE_REGKEY1_KEY1(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_REGKEY1_KEY1_SHIFT)) & IEE_REGKEY1_KEY1_MASK)
56760 /*! @} */
56761 
56762 /* The count of IEE_REGKEY1 */
56763 #define IEE_REGKEY1_COUNT                        (8U)
56764 
56765 /* The count of IEE_REGKEY1 */
56766 #define IEE_REGKEY1_COUNT2                       (8U)
56767 
56768 /*! @name REGKEY2 - IEE Region 0 Key 2 Register..IEE Region 7 Key 2 Register */
56769 /*! @{ */
56770 
56771 #define IEE_REGKEY2_KEY2_MASK                    (0xFFFFFFFFU)
56772 #define IEE_REGKEY2_KEY2_SHIFT                   (0U)
56773 #define IEE_REGKEY2_KEY2(x)                      (((uint32_t)(((uint32_t)(x)) << IEE_REGKEY2_KEY2_SHIFT)) & IEE_REGKEY2_KEY2_MASK)
56774 /*! @} */
56775 
56776 /* The count of IEE_REGKEY2 */
56777 #define IEE_REGKEY2_COUNT                        (8U)
56778 
56779 /* The count of IEE_REGKEY2 */
56780 #define IEE_REGKEY2_COUNT2                       (8U)
56781 
56782 /*! @name AES_TST_DB - IEE AES Test Mode Data Buffer */
56783 /*! @{ */
56784 
56785 #define IEE_AES_TST_DB_AES_TST_DB0_MASK          (0xFFFFFFFFU)
56786 #define IEE_AES_TST_DB_AES_TST_DB0_SHIFT         (0U)
56787 #define IEE_AES_TST_DB_AES_TST_DB0(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB0_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB0_MASK)
56788 
56789 #define IEE_AES_TST_DB_AES_TST_DB1_MASK          (0xFFFFFFFFU)
56790 #define IEE_AES_TST_DB_AES_TST_DB1_SHIFT         (0U)
56791 #define IEE_AES_TST_DB_AES_TST_DB1(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB1_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB1_MASK)
56792 
56793 #define IEE_AES_TST_DB_AES_TST_DB2_MASK          (0xFFFFFFFFU)
56794 #define IEE_AES_TST_DB_AES_TST_DB2_SHIFT         (0U)
56795 #define IEE_AES_TST_DB_AES_TST_DB2(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB2_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB2_MASK)
56796 
56797 #define IEE_AES_TST_DB_AES_TST_DB3_MASK          (0xFFFFFFFFU)
56798 #define IEE_AES_TST_DB_AES_TST_DB3_SHIFT         (0U)
56799 #define IEE_AES_TST_DB_AES_TST_DB3(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB3_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB3_MASK)
56800 
56801 #define IEE_AES_TST_DB_AES_TST_DB4_MASK          (0xFFFFFFFFU)
56802 #define IEE_AES_TST_DB_AES_TST_DB4_SHIFT         (0U)
56803 #define IEE_AES_TST_DB_AES_TST_DB4(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB4_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB4_MASK)
56804 
56805 #define IEE_AES_TST_DB_AES_TST_DB5_MASK          (0xFFFFFFFFU)
56806 #define IEE_AES_TST_DB_AES_TST_DB5_SHIFT         (0U)
56807 #define IEE_AES_TST_DB_AES_TST_DB5(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB5_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB5_MASK)
56808 
56809 #define IEE_AES_TST_DB_AES_TST_DB6_MASK          (0xFFFFFFFFU)
56810 #define IEE_AES_TST_DB_AES_TST_DB6_SHIFT         (0U)
56811 #define IEE_AES_TST_DB_AES_TST_DB6(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB6_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB6_MASK)
56812 
56813 #define IEE_AES_TST_DB_AES_TST_DB7_MASK          (0xFFFFFFFFU)
56814 #define IEE_AES_TST_DB_AES_TST_DB7_SHIFT         (0U)
56815 #define IEE_AES_TST_DB_AES_TST_DB7(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB7_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB7_MASK)
56816 
56817 #define IEE_AES_TST_DB_AES_TST_DB8_MASK          (0xFFFFFFFFU)
56818 #define IEE_AES_TST_DB_AES_TST_DB8_SHIFT         (0U)
56819 #define IEE_AES_TST_DB_AES_TST_DB8(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB8_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB8_MASK)
56820 
56821 #define IEE_AES_TST_DB_AES_TST_DB9_MASK          (0xFFFFFFFFU)
56822 #define IEE_AES_TST_DB_AES_TST_DB9_SHIFT         (0U)
56823 #define IEE_AES_TST_DB_AES_TST_DB9(x)            (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB9_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB9_MASK)
56824 
56825 #define IEE_AES_TST_DB_AES_TST_DB10_MASK         (0xFFFFFFFFU)
56826 #define IEE_AES_TST_DB_AES_TST_DB10_SHIFT        (0U)
56827 #define IEE_AES_TST_DB_AES_TST_DB10(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB10_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB10_MASK)
56828 
56829 #define IEE_AES_TST_DB_AES_TST_DB11_MASK         (0xFFFFFFFFU)
56830 #define IEE_AES_TST_DB_AES_TST_DB11_SHIFT        (0U)
56831 #define IEE_AES_TST_DB_AES_TST_DB11(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB11_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB11_MASK)
56832 
56833 #define IEE_AES_TST_DB_AES_TST_DB12_MASK         (0xFFFFFFFFU)
56834 #define IEE_AES_TST_DB_AES_TST_DB12_SHIFT        (0U)
56835 #define IEE_AES_TST_DB_AES_TST_DB12(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB12_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB12_MASK)
56836 
56837 #define IEE_AES_TST_DB_AES_TST_DB13_MASK         (0xFFFFFFFFU)
56838 #define IEE_AES_TST_DB_AES_TST_DB13_SHIFT        (0U)
56839 #define IEE_AES_TST_DB_AES_TST_DB13(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB13_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB13_MASK)
56840 
56841 #define IEE_AES_TST_DB_AES_TST_DB14_MASK         (0xFFFFFFFFU)
56842 #define IEE_AES_TST_DB_AES_TST_DB14_SHIFT        (0U)
56843 #define IEE_AES_TST_DB_AES_TST_DB14(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB14_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB14_MASK)
56844 
56845 #define IEE_AES_TST_DB_AES_TST_DB15_MASK         (0xFFFFFFFFU)
56846 #define IEE_AES_TST_DB_AES_TST_DB15_SHIFT        (0U)
56847 #define IEE_AES_TST_DB_AES_TST_DB15(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB15_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB15_MASK)
56848 
56849 #define IEE_AES_TST_DB_AES_TST_DB16_MASK         (0xFFFFFFFFU)
56850 #define IEE_AES_TST_DB_AES_TST_DB16_SHIFT        (0U)
56851 #define IEE_AES_TST_DB_AES_TST_DB16(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB16_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB16_MASK)
56852 
56853 #define IEE_AES_TST_DB_AES_TST_DB17_MASK         (0xFFFFFFFFU)
56854 #define IEE_AES_TST_DB_AES_TST_DB17_SHIFT        (0U)
56855 #define IEE_AES_TST_DB_AES_TST_DB17(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB17_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB17_MASK)
56856 
56857 #define IEE_AES_TST_DB_AES_TST_DB18_MASK         (0xFFFFFFFFU)
56858 #define IEE_AES_TST_DB_AES_TST_DB18_SHIFT        (0U)
56859 #define IEE_AES_TST_DB_AES_TST_DB18(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB18_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB18_MASK)
56860 
56861 #define IEE_AES_TST_DB_AES_TST_DB19_MASK         (0xFFFFFFFFU)
56862 #define IEE_AES_TST_DB_AES_TST_DB19_SHIFT        (0U)
56863 #define IEE_AES_TST_DB_AES_TST_DB19(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB19_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB19_MASK)
56864 
56865 #define IEE_AES_TST_DB_AES_TST_DB20_MASK         (0xFFFFFFFFU)
56866 #define IEE_AES_TST_DB_AES_TST_DB20_SHIFT        (0U)
56867 #define IEE_AES_TST_DB_AES_TST_DB20(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB20_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB20_MASK)
56868 
56869 #define IEE_AES_TST_DB_AES_TST_DB21_MASK         (0xFFFFFFFFU)
56870 #define IEE_AES_TST_DB_AES_TST_DB21_SHIFT        (0U)
56871 #define IEE_AES_TST_DB_AES_TST_DB21(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB21_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB21_MASK)
56872 
56873 #define IEE_AES_TST_DB_AES_TST_DB22_MASK         (0xFFFFFFFFU)
56874 #define IEE_AES_TST_DB_AES_TST_DB22_SHIFT        (0U)
56875 #define IEE_AES_TST_DB_AES_TST_DB22(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB22_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB22_MASK)
56876 
56877 #define IEE_AES_TST_DB_AES_TST_DB23_MASK         (0xFFFFFFFFU)
56878 #define IEE_AES_TST_DB_AES_TST_DB23_SHIFT        (0U)
56879 #define IEE_AES_TST_DB_AES_TST_DB23(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB23_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB23_MASK)
56880 
56881 #define IEE_AES_TST_DB_AES_TST_DB24_MASK         (0xFFFFFFFFU)
56882 #define IEE_AES_TST_DB_AES_TST_DB24_SHIFT        (0U)
56883 #define IEE_AES_TST_DB_AES_TST_DB24(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB24_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB24_MASK)
56884 
56885 #define IEE_AES_TST_DB_AES_TST_DB25_MASK         (0xFFFFFFFFU)
56886 #define IEE_AES_TST_DB_AES_TST_DB25_SHIFT        (0U)
56887 #define IEE_AES_TST_DB_AES_TST_DB25(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB25_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB25_MASK)
56888 
56889 #define IEE_AES_TST_DB_AES_TST_DB26_MASK         (0xFFFFFFFFU)
56890 #define IEE_AES_TST_DB_AES_TST_DB26_SHIFT        (0U)
56891 #define IEE_AES_TST_DB_AES_TST_DB26(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB26_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB26_MASK)
56892 
56893 #define IEE_AES_TST_DB_AES_TST_DB27_MASK         (0xFFFFFFFFU)
56894 #define IEE_AES_TST_DB_AES_TST_DB27_SHIFT        (0U)
56895 #define IEE_AES_TST_DB_AES_TST_DB27(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB27_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB27_MASK)
56896 
56897 #define IEE_AES_TST_DB_AES_TST_DB28_MASK         (0xFFFFFFFFU)
56898 #define IEE_AES_TST_DB_AES_TST_DB28_SHIFT        (0U)
56899 #define IEE_AES_TST_DB_AES_TST_DB28(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB28_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB28_MASK)
56900 
56901 #define IEE_AES_TST_DB_AES_TST_DB29_MASK         (0xFFFFFFFFU)
56902 #define IEE_AES_TST_DB_AES_TST_DB29_SHIFT        (0U)
56903 #define IEE_AES_TST_DB_AES_TST_DB29(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB29_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB29_MASK)
56904 
56905 #define IEE_AES_TST_DB_AES_TST_DB30_MASK         (0xFFFFFFFFU)
56906 #define IEE_AES_TST_DB_AES_TST_DB30_SHIFT        (0U)
56907 #define IEE_AES_TST_DB_AES_TST_DB30(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB30_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB30_MASK)
56908 
56909 #define IEE_AES_TST_DB_AES_TST_DB31_MASK         (0xFFFFFFFFU)
56910 #define IEE_AES_TST_DB_AES_TST_DB31_SHIFT        (0U)
56911 #define IEE_AES_TST_DB_AES_TST_DB31(x)           (((uint32_t)(((uint32_t)(x)) << IEE_AES_TST_DB_AES_TST_DB31_SHIFT)) & IEE_AES_TST_DB_AES_TST_DB31_MASK)
56912 /*! @} */
56913 
56914 /* The count of IEE_AES_TST_DB */
56915 #define IEE_AES_TST_DB_COUNT                     (32U)
56916 
56917 
56918 /*!
56919  * @}
56920  */ /* end of group IEE_Register_Masks */
56921 
56922 
56923 /* IEE - Peripheral instance base addresses */
56924 /** Peripheral IEE__IEE_RT1170 base address */
56925 #define IEE__IEE_RT1170_BASE                     (0x4006C000u)
56926 /** Peripheral IEE__IEE_RT1170 base pointer */
56927 #define IEE__IEE_RT1170                          ((IEE_Type *)IEE__IEE_RT1170_BASE)
56928 /** Array initializer of IEE peripheral base addresses */
56929 #define IEE_BASE_ADDRS                           { IEE__IEE_RT1170_BASE }
56930 /** Array initializer of IEE peripheral base pointers */
56931 #define IEE_BASE_PTRS                            { IEE__IEE_RT1170 }
56932 
56933 /*!
56934  * @}
56935  */ /* end of group IEE_Peripheral_Access_Layer */
56936 
56937 
56938 /* ----------------------------------------------------------------------------
56939    -- IEE_APC Peripheral Access Layer
56940    ---------------------------------------------------------------------------- */
56941 
56942 /*!
56943  * @addtogroup IEE_APC_Peripheral_Access_Layer IEE_APC Peripheral Access Layer
56944  * @{
56945  */
56946 
56947 /** IEE_APC - Register Layout Typedef */
56948 typedef struct {
56949   __IO uint32_t REGION0_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x0 */
56950   __IO uint32_t REGION0_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x4 */
56951   __IO uint32_t REGION0_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x8 */
56952   __IO uint32_t REGION0_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0xC */
56953   __IO uint32_t REGION1_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x10 */
56954   __IO uint32_t REGION1_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x14 */
56955   __IO uint32_t REGION1_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x18 */
56956   __IO uint32_t REGION1_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x1C */
56957   __IO uint32_t REGION2_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x20 */
56958   __IO uint32_t REGION2_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x24 */
56959   __IO uint32_t REGION2_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x28 */
56960   __IO uint32_t REGION2_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x2C */
56961   __IO uint32_t REGION3_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x30 */
56962   __IO uint32_t REGION3_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x34 */
56963   __IO uint32_t REGION3_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x38 */
56964   __IO uint32_t REGION3_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x3C */
56965   __IO uint32_t REGION4_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x40 */
56966   __IO uint32_t REGION4_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x44 */
56967   __IO uint32_t REGION4_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x48 */
56968   __IO uint32_t REGION4_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x4C */
56969   __IO uint32_t REGION5_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x50 */
56970   __IO uint32_t REGION5_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x54 */
56971   __IO uint32_t REGION5_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x58 */
56972   __IO uint32_t REGION5_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x5C */
56973   __IO uint32_t REGION6_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x60 */
56974   __IO uint32_t REGION6_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x64 */
56975   __IO uint32_t REGION6_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x68 */
56976   __IO uint32_t REGION6_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x6C */
56977   __IO uint32_t REGION7_TOP_ADDR;                  /**< End address of IEE region (n), offset: 0x70 */
56978   __IO uint32_t REGION7_BOT_ADDR;                  /**< Start address of IEE region (n), offset: 0x74 */
56979   __IO uint32_t REGION7_RDC_D0;                    /**< Region control of core domain 0 for region (n), offset: 0x78 */
56980   __IO uint32_t REGION7_RDC_D1;                    /**< Region control of core domain 1 for region (n), offset: 0x7C */
56981 } IEE_APC_Type;
56982 
56983 /* ----------------------------------------------------------------------------
56984    -- IEE_APC Register Masks
56985    ---------------------------------------------------------------------------- */
56986 
56987 /*!
56988  * @addtogroup IEE_APC_Register_Masks IEE_APC Register Masks
56989  * @{
56990  */
56991 
56992 /*! @name REGION0_TOP_ADDR - End address of IEE region (n) */
56993 /*! @{ */
56994 
56995 #define IEE_APC_REGION0_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
56996 #define IEE_APC_REGION0_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
56997 /*! TOP_ADDR - End address of IEE region
56998  */
56999 #define IEE_APC_REGION0_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION0_TOP_ADDR_TOP_ADDR_MASK)
57000 /*! @} */
57001 
57002 /*! @name REGION0_BOT_ADDR - Start address of IEE region (n) */
57003 /*! @{ */
57004 
57005 #define IEE_APC_REGION0_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57006 #define IEE_APC_REGION0_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57007 /*! BOT_ADDR - Start address of IEE region
57008  */
57009 #define IEE_APC_REGION0_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION0_BOT_ADDR_BOT_ADDR_MASK)
57010 /*! @} */
57011 
57012 /*! @name REGION0_RDC_D0 - Region control of core domain 0 for region (n) */
57013 /*! @{ */
57014 
57015 #define IEE_APC_REGION0_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57016 #define IEE_APC_REGION0_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57017 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57018  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57019  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57020  */
57021 #define IEE_APC_REGION0_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION0_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57022 
57023 #define IEE_APC_REGION0_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57024 #define IEE_APC_REGION0_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57025 /*! RDC_D0_LOCK - Lock bit for bit 0
57026  *  0b0..Bit 0 is unlocked
57027  *  0b1..Bit 0 is locked
57028  */
57029 #define IEE_APC_REGION0_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION0_RDC_D0_RDC_D0_LOCK_MASK)
57030 /*! @} */
57031 
57032 /*! @name REGION0_RDC_D1 - Region control of core domain 1 for region (n) */
57033 /*! @{ */
57034 
57035 #define IEE_APC_REGION0_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57036 #define IEE_APC_REGION0_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57037 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57038  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57039  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57040  */
57041 #define IEE_APC_REGION0_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION0_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57042 
57043 #define IEE_APC_REGION0_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57044 #define IEE_APC_REGION0_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57045 /*! RDC_D1_LOCK - Lock bit for bit 0
57046  *  0b0..Bit 0 is unlocked
57047  *  0b1..Bit 0 is locked
57048  */
57049 #define IEE_APC_REGION0_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION0_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION0_RDC_D1_RDC_D1_LOCK_MASK)
57050 /*! @} */
57051 
57052 /*! @name REGION1_TOP_ADDR - End address of IEE region (n) */
57053 /*! @{ */
57054 
57055 #define IEE_APC_REGION1_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57056 #define IEE_APC_REGION1_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57057 /*! TOP_ADDR - End address of IEE region
57058  */
57059 #define IEE_APC_REGION1_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION1_TOP_ADDR_TOP_ADDR_MASK)
57060 /*! @} */
57061 
57062 /*! @name REGION1_BOT_ADDR - Start address of IEE region (n) */
57063 /*! @{ */
57064 
57065 #define IEE_APC_REGION1_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57066 #define IEE_APC_REGION1_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57067 /*! BOT_ADDR - Start address of IEE region
57068  */
57069 #define IEE_APC_REGION1_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION1_BOT_ADDR_BOT_ADDR_MASK)
57070 /*! @} */
57071 
57072 /*! @name REGION1_RDC_D0 - Region control of core domain 0 for region (n) */
57073 /*! @{ */
57074 
57075 #define IEE_APC_REGION1_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57076 #define IEE_APC_REGION1_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57077 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57078  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57079  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57080  */
57081 #define IEE_APC_REGION1_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION1_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57082 
57083 #define IEE_APC_REGION1_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57084 #define IEE_APC_REGION1_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57085 /*! RDC_D0_LOCK - Lock bit for bit 0
57086  *  0b0..Bit 0 is unlocked
57087  *  0b1..Bit 0 is locked
57088  */
57089 #define IEE_APC_REGION1_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION1_RDC_D0_RDC_D0_LOCK_MASK)
57090 /*! @} */
57091 
57092 /*! @name REGION1_RDC_D1 - Region control of core domain 1 for region (n) */
57093 /*! @{ */
57094 
57095 #define IEE_APC_REGION1_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57096 #define IEE_APC_REGION1_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57097 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57098  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57099  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57100  */
57101 #define IEE_APC_REGION1_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION1_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57102 
57103 #define IEE_APC_REGION1_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57104 #define IEE_APC_REGION1_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57105 /*! RDC_D1_LOCK - Lock bit for bit 0
57106  *  0b0..Bit 0 is unlocked
57107  *  0b1..Bit 0 is locked
57108  */
57109 #define IEE_APC_REGION1_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION1_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION1_RDC_D1_RDC_D1_LOCK_MASK)
57110 /*! @} */
57111 
57112 /*! @name REGION2_TOP_ADDR - End address of IEE region (n) */
57113 /*! @{ */
57114 
57115 #define IEE_APC_REGION2_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57116 #define IEE_APC_REGION2_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57117 /*! TOP_ADDR - End address of IEE region
57118  */
57119 #define IEE_APC_REGION2_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION2_TOP_ADDR_TOP_ADDR_MASK)
57120 /*! @} */
57121 
57122 /*! @name REGION2_BOT_ADDR - Start address of IEE region (n) */
57123 /*! @{ */
57124 
57125 #define IEE_APC_REGION2_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57126 #define IEE_APC_REGION2_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57127 /*! BOT_ADDR - Start address of IEE region
57128  */
57129 #define IEE_APC_REGION2_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION2_BOT_ADDR_BOT_ADDR_MASK)
57130 /*! @} */
57131 
57132 /*! @name REGION2_RDC_D0 - Region control of core domain 0 for region (n) */
57133 /*! @{ */
57134 
57135 #define IEE_APC_REGION2_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57136 #define IEE_APC_REGION2_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57137 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57138  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57139  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57140  */
57141 #define IEE_APC_REGION2_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION2_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57142 
57143 #define IEE_APC_REGION2_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57144 #define IEE_APC_REGION2_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57145 /*! RDC_D0_LOCK - Lock bit for bit 0
57146  *  0b0..Bit 0 is unlocked
57147  *  0b1..Bit 0 is locked
57148  */
57149 #define IEE_APC_REGION2_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION2_RDC_D0_RDC_D0_LOCK_MASK)
57150 /*! @} */
57151 
57152 /*! @name REGION2_RDC_D1 - Region control of core domain 1 for region (n) */
57153 /*! @{ */
57154 
57155 #define IEE_APC_REGION2_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57156 #define IEE_APC_REGION2_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57157 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57158  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57159  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57160  */
57161 #define IEE_APC_REGION2_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION2_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57162 
57163 #define IEE_APC_REGION2_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57164 #define IEE_APC_REGION2_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57165 /*! RDC_D1_LOCK - Lock bit for bit 0
57166  *  0b0..Bit 0 is unlocked
57167  *  0b1..Bit 0 is locked
57168  */
57169 #define IEE_APC_REGION2_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION2_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION2_RDC_D1_RDC_D1_LOCK_MASK)
57170 /*! @} */
57171 
57172 /*! @name REGION3_TOP_ADDR - End address of IEE region (n) */
57173 /*! @{ */
57174 
57175 #define IEE_APC_REGION3_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57176 #define IEE_APC_REGION3_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57177 /*! TOP_ADDR - End address of IEE region
57178  */
57179 #define IEE_APC_REGION3_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION3_TOP_ADDR_TOP_ADDR_MASK)
57180 /*! @} */
57181 
57182 /*! @name REGION3_BOT_ADDR - Start address of IEE region (n) */
57183 /*! @{ */
57184 
57185 #define IEE_APC_REGION3_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57186 #define IEE_APC_REGION3_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57187 /*! BOT_ADDR - Start address of IEE region
57188  */
57189 #define IEE_APC_REGION3_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION3_BOT_ADDR_BOT_ADDR_MASK)
57190 /*! @} */
57191 
57192 /*! @name REGION3_RDC_D0 - Region control of core domain 0 for region (n) */
57193 /*! @{ */
57194 
57195 #define IEE_APC_REGION3_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57196 #define IEE_APC_REGION3_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57197 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57198  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57199  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57200  */
57201 #define IEE_APC_REGION3_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION3_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57202 
57203 #define IEE_APC_REGION3_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57204 #define IEE_APC_REGION3_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57205 /*! RDC_D0_LOCK - Lock bit for bit 0
57206  *  0b0..Bit 0 is unlocked
57207  *  0b1..Bit 0 is locked
57208  */
57209 #define IEE_APC_REGION3_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION3_RDC_D0_RDC_D0_LOCK_MASK)
57210 /*! @} */
57211 
57212 /*! @name REGION3_RDC_D1 - Region control of core domain 1 for region (n) */
57213 /*! @{ */
57214 
57215 #define IEE_APC_REGION3_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57216 #define IEE_APC_REGION3_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57217 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57218  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57219  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57220  */
57221 #define IEE_APC_REGION3_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION3_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57222 
57223 #define IEE_APC_REGION3_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57224 #define IEE_APC_REGION3_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57225 /*! RDC_D1_LOCK - Lock bit for bit 0
57226  *  0b0..Bit 0 is unlocked
57227  *  0b1..Bit 0 is locked
57228  */
57229 #define IEE_APC_REGION3_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION3_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION3_RDC_D1_RDC_D1_LOCK_MASK)
57230 /*! @} */
57231 
57232 /*! @name REGION4_TOP_ADDR - End address of IEE region (n) */
57233 /*! @{ */
57234 
57235 #define IEE_APC_REGION4_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57236 #define IEE_APC_REGION4_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57237 /*! TOP_ADDR - End address of IEE region
57238  */
57239 #define IEE_APC_REGION4_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION4_TOP_ADDR_TOP_ADDR_MASK)
57240 /*! @} */
57241 
57242 /*! @name REGION4_BOT_ADDR - Start address of IEE region (n) */
57243 /*! @{ */
57244 
57245 #define IEE_APC_REGION4_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57246 #define IEE_APC_REGION4_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57247 /*! BOT_ADDR - Start address of IEE region
57248  */
57249 #define IEE_APC_REGION4_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION4_BOT_ADDR_BOT_ADDR_MASK)
57250 /*! @} */
57251 
57252 /*! @name REGION4_RDC_D0 - Region control of core domain 0 for region (n) */
57253 /*! @{ */
57254 
57255 #define IEE_APC_REGION4_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57256 #define IEE_APC_REGION4_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57257 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57258  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57259  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57260  */
57261 #define IEE_APC_REGION4_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION4_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57262 
57263 #define IEE_APC_REGION4_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57264 #define IEE_APC_REGION4_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57265 /*! RDC_D0_LOCK - Lock bit for bit 0
57266  *  0b0..Bit 0 is unlocked
57267  *  0b1..Bit 0 is locked
57268  */
57269 #define IEE_APC_REGION4_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION4_RDC_D0_RDC_D0_LOCK_MASK)
57270 /*! @} */
57271 
57272 /*! @name REGION4_RDC_D1 - Region control of core domain 1 for region (n) */
57273 /*! @{ */
57274 
57275 #define IEE_APC_REGION4_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57276 #define IEE_APC_REGION4_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57277 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57278  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57279  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57280  */
57281 #define IEE_APC_REGION4_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION4_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57282 
57283 #define IEE_APC_REGION4_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57284 #define IEE_APC_REGION4_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57285 /*! RDC_D1_LOCK - Lock bit for bit 0
57286  *  0b0..Bit 0 is unlocked
57287  *  0b1..Bit 0 is locked
57288  */
57289 #define IEE_APC_REGION4_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION4_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION4_RDC_D1_RDC_D1_LOCK_MASK)
57290 /*! @} */
57291 
57292 /*! @name REGION5_TOP_ADDR - End address of IEE region (n) */
57293 /*! @{ */
57294 
57295 #define IEE_APC_REGION5_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57296 #define IEE_APC_REGION5_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57297 /*! TOP_ADDR - End address of IEE region
57298  */
57299 #define IEE_APC_REGION5_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION5_TOP_ADDR_TOP_ADDR_MASK)
57300 /*! @} */
57301 
57302 /*! @name REGION5_BOT_ADDR - Start address of IEE region (n) */
57303 /*! @{ */
57304 
57305 #define IEE_APC_REGION5_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57306 #define IEE_APC_REGION5_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57307 /*! BOT_ADDR - Start address of IEE region
57308  */
57309 #define IEE_APC_REGION5_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION5_BOT_ADDR_BOT_ADDR_MASK)
57310 /*! @} */
57311 
57312 /*! @name REGION5_RDC_D0 - Region control of core domain 0 for region (n) */
57313 /*! @{ */
57314 
57315 #define IEE_APC_REGION5_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57316 #define IEE_APC_REGION5_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57317 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57318  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57319  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57320  */
57321 #define IEE_APC_REGION5_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION5_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57322 
57323 #define IEE_APC_REGION5_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57324 #define IEE_APC_REGION5_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57325 /*! RDC_D0_LOCK - Lock bit for bit 0
57326  *  0b0..Bit 0 is unlocked
57327  *  0b1..Bit 0 is locked
57328  */
57329 #define IEE_APC_REGION5_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION5_RDC_D0_RDC_D0_LOCK_MASK)
57330 /*! @} */
57331 
57332 /*! @name REGION5_RDC_D1 - Region control of core domain 1 for region (n) */
57333 /*! @{ */
57334 
57335 #define IEE_APC_REGION5_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57336 #define IEE_APC_REGION5_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57337 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57338  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57339  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57340  */
57341 #define IEE_APC_REGION5_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION5_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57342 
57343 #define IEE_APC_REGION5_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57344 #define IEE_APC_REGION5_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57345 /*! RDC_D1_LOCK - Lock bit for bit 0
57346  *  0b0..Bit 0 is unlocked
57347  *  0b1..Bit 0 is locked
57348  */
57349 #define IEE_APC_REGION5_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION5_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION5_RDC_D1_RDC_D1_LOCK_MASK)
57350 /*! @} */
57351 
57352 /*! @name REGION6_TOP_ADDR - End address of IEE region (n) */
57353 /*! @{ */
57354 
57355 #define IEE_APC_REGION6_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57356 #define IEE_APC_REGION6_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57357 /*! TOP_ADDR - End address of IEE region
57358  */
57359 #define IEE_APC_REGION6_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION6_TOP_ADDR_TOP_ADDR_MASK)
57360 /*! @} */
57361 
57362 /*! @name REGION6_BOT_ADDR - Start address of IEE region (n) */
57363 /*! @{ */
57364 
57365 #define IEE_APC_REGION6_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57366 #define IEE_APC_REGION6_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57367 /*! BOT_ADDR - Start address of IEE region
57368  */
57369 #define IEE_APC_REGION6_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION6_BOT_ADDR_BOT_ADDR_MASK)
57370 /*! @} */
57371 
57372 /*! @name REGION6_RDC_D0 - Region control of core domain 0 for region (n) */
57373 /*! @{ */
57374 
57375 #define IEE_APC_REGION6_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57376 #define IEE_APC_REGION6_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57377 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57378  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57379  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57380  */
57381 #define IEE_APC_REGION6_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION6_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57382 
57383 #define IEE_APC_REGION6_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57384 #define IEE_APC_REGION6_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57385 /*! RDC_D0_LOCK - Lock bit for bit 0
57386  *  0b0..Bit 0 is unlocked
57387  *  0b1..Bit 0 is locked
57388  */
57389 #define IEE_APC_REGION6_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION6_RDC_D0_RDC_D0_LOCK_MASK)
57390 /*! @} */
57391 
57392 /*! @name REGION6_RDC_D1 - Region control of core domain 1 for region (n) */
57393 /*! @{ */
57394 
57395 #define IEE_APC_REGION6_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57396 #define IEE_APC_REGION6_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57397 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57398  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57399  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57400  */
57401 #define IEE_APC_REGION6_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION6_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57402 
57403 #define IEE_APC_REGION6_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57404 #define IEE_APC_REGION6_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57405 /*! RDC_D1_LOCK - Lock bit for bit 0
57406  *  0b0..Bit 0 is unlocked
57407  *  0b1..Bit 0 is locked
57408  */
57409 #define IEE_APC_REGION6_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION6_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION6_RDC_D1_RDC_D1_LOCK_MASK)
57410 /*! @} */
57411 
57412 /*! @name REGION7_TOP_ADDR - End address of IEE region (n) */
57413 /*! @{ */
57414 
57415 #define IEE_APC_REGION7_TOP_ADDR_TOP_ADDR_MASK   (0x1FFFFFFFU)
57416 #define IEE_APC_REGION7_TOP_ADDR_TOP_ADDR_SHIFT  (0U)
57417 /*! TOP_ADDR - End address of IEE region
57418  */
57419 #define IEE_APC_REGION7_TOP_ADDR_TOP_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_TOP_ADDR_TOP_ADDR_SHIFT)) & IEE_APC_REGION7_TOP_ADDR_TOP_ADDR_MASK)
57420 /*! @} */
57421 
57422 /*! @name REGION7_BOT_ADDR - Start address of IEE region (n) */
57423 /*! @{ */
57424 
57425 #define IEE_APC_REGION7_BOT_ADDR_BOT_ADDR_MASK   (0x1FFFFFFFU)
57426 #define IEE_APC_REGION7_BOT_ADDR_BOT_ADDR_SHIFT  (0U)
57427 /*! BOT_ADDR - Start address of IEE region
57428  */
57429 #define IEE_APC_REGION7_BOT_ADDR_BOT_ADDR(x)     (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_BOT_ADDR_BOT_ADDR_SHIFT)) & IEE_APC_REGION7_BOT_ADDR_BOT_ADDR_MASK)
57430 /*! @} */
57431 
57432 /*! @name REGION7_RDC_D0 - Region control of core domain 0 for region (n) */
57433 /*! @{ */
57434 
57435 #define IEE_APC_REGION7_RDC_D0_RDC_D0_WRITE_DIS_MASK (0x1U)
57436 #define IEE_APC_REGION7_RDC_D0_RDC_D0_WRITE_DIS_SHIFT (0U)
57437 /*! RDC_D0_WRITE_DIS - Write disable of core domain 1
57438  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57439  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57440  */
57441 #define IEE_APC_REGION7_RDC_D0_RDC_D0_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_RDC_D0_RDC_D0_WRITE_DIS_SHIFT)) & IEE_APC_REGION7_RDC_D0_RDC_D0_WRITE_DIS_MASK)
57442 
57443 #define IEE_APC_REGION7_RDC_D0_RDC_D0_LOCK_MASK  (0x2U)
57444 #define IEE_APC_REGION7_RDC_D0_RDC_D0_LOCK_SHIFT (1U)
57445 /*! RDC_D0_LOCK - Lock bit for bit 0
57446  *  0b0..Bit 0 is unlocked
57447  *  0b1..Bit 0 is locked
57448  */
57449 #define IEE_APC_REGION7_RDC_D0_RDC_D0_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_RDC_D0_RDC_D0_LOCK_SHIFT)) & IEE_APC_REGION7_RDC_D0_RDC_D0_LOCK_MASK)
57450 /*! @} */
57451 
57452 /*! @name REGION7_RDC_D1 - Region control of core domain 1 for region (n) */
57453 /*! @{ */
57454 
57455 #define IEE_APC_REGION7_RDC_D1_RDC_D1_WRITE_DIS_MASK (0x1U)
57456 #define IEE_APC_REGION7_RDC_D1_RDC_D1_WRITE_DIS_SHIFT (0U)
57457 /*! RDC_D1_WRITE_DIS - Write disable of core domain 1
57458  *  0b0..Write to TOP_ADDR and BOT_ADDR of this region enabled
57459  *  0b1..Write to TOP_ADDR and BOT_ADDR of this region disabled
57460  */
57461 #define IEE_APC_REGION7_RDC_D1_RDC_D1_WRITE_DIS(x) (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_RDC_D1_RDC_D1_WRITE_DIS_SHIFT)) & IEE_APC_REGION7_RDC_D1_RDC_D1_WRITE_DIS_MASK)
57462 
57463 #define IEE_APC_REGION7_RDC_D1_RDC_D1_LOCK_MASK  (0x2U)
57464 #define IEE_APC_REGION7_RDC_D1_RDC_D1_LOCK_SHIFT (1U)
57465 /*! RDC_D1_LOCK - Lock bit for bit 0
57466  *  0b0..Bit 0 is unlocked
57467  *  0b1..Bit 0 is locked
57468  */
57469 #define IEE_APC_REGION7_RDC_D1_RDC_D1_LOCK(x)    (((uint32_t)(((uint32_t)(x)) << IEE_APC_REGION7_RDC_D1_RDC_D1_LOCK_SHIFT)) & IEE_APC_REGION7_RDC_D1_RDC_D1_LOCK_MASK)
57470 /*! @} */
57471 
57472 
57473 /*!
57474  * @}
57475  */ /* end of group IEE_APC_Register_Masks */
57476 
57477 
57478 /* IEE_APC - Peripheral instance base addresses */
57479 /** Peripheral IEE_APC base address */
57480 #define IEE_APC_BASE                             (0x40068000u)
57481 /** Peripheral IEE_APC base pointer */
57482 #define IEE_APC                                  ((IEE_APC_Type *)IEE_APC_BASE)
57483 /** Array initializer of IEE_APC peripheral base addresses */
57484 #define IEE_APC_BASE_ADDRS                       { IEE_APC_BASE }
57485 /** Array initializer of IEE_APC peripheral base pointers */
57486 #define IEE_APC_BASE_PTRS                        { IEE_APC }
57487 
57488 /*!
57489  * @}
57490  */ /* end of group IEE_APC_Peripheral_Access_Layer */
57491 
57492 
57493 /* ----------------------------------------------------------------------------
57494    -- IOMUXC Peripheral Access Layer
57495    ---------------------------------------------------------------------------- */
57496 
57497 /*!
57498  * @addtogroup IOMUXC_Peripheral_Access_Layer IOMUXC Peripheral Access Layer
57499  * @{
57500  */
57501 
57502 /** IOMUXC - Register Layout Typedef */
57503 typedef struct {
57504        uint8_t RESERVED_0[16];
57505   __IO uint32_t SW_MUX_CTL_PAD[145];               /**< SW_MUX_CTL_PAD_GPIO_EMC_B1_00 SW MUX Control Register..SW_MUX_CTL_PAD_GPIO_DISP_B2_15 SW MUX Control Register, array offset: 0x10, array step: 0x4 */
57506   __IO uint32_t SW_PAD_CTL_PAD[145];               /**< SW_PAD_CTL_PAD_GPIO_EMC_B1_00 SW PAD Control Register..SW_PAD_CTL_PAD_GPIO_DISP_B2_15 SW PAD Control Register, array offset: 0x254, array step: 0x4 */
57507   __IO uint32_t SELECT_INPUT[160];                 /**< FLEXCAN1_RX_SELECT_INPUT DAISY Register..XBAR1_IN_SELECT_INPUT_35 DAISY Register, array offset: 0x498, array step: 0x4 */
57508 } IOMUXC_Type;
57509 
57510 /* ----------------------------------------------------------------------------
57511    -- IOMUXC Register Masks
57512    ---------------------------------------------------------------------------- */
57513 
57514 /*!
57515  * @addtogroup IOMUXC_Register_Masks IOMUXC Register Masks
57516  * @{
57517  */
57518 
57519 /*! @name SW_MUX_CTL_PAD - SW_MUX_CTL_PAD_GPIO_EMC_B1_00 SW MUX Control Register..SW_MUX_CTL_PAD_GPIO_DISP_B2_15 SW MUX Control Register */
57520 /*! @{ */
57521 
57522 #define IOMUXC_SW_MUX_CTL_PAD_MUX_MODE_MASK      (0xFU)
57523 #define IOMUXC_SW_MUX_CTL_PAD_MUX_MODE_SHIFT     (0U)
57524 /*! MUX_MODE - MUX Mode Select Field.
57525  *  0b0000..Select mux mode: ALT0 mux port: SEMC_DATA00 of instance: SEMC
57526  *  0b0001..Select mux mode: ALT1 mux port: FLEXPWM4_PWM0_A of instance: FLEXPWM4
57527  *  0b0101..Select mux mode: ALT5 mux port: GPIO_MUX1_IO00 of instance: GPIO_MUX1
57528  *  0b1000..Select mux mode: ALT8 mux port: FLEXIO1_D00 of instance: FLEXIO1
57529  *  0b1010..Select mux mode: ALT10 mux port: GPIO7_IO00 of instance: GPIO7
57530  */
57531 #define IOMUXC_SW_MUX_CTL_PAD_MUX_MODE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_MUX_CTL_PAD_MUX_MODE_SHIFT)) & IOMUXC_SW_MUX_CTL_PAD_MUX_MODE_MASK)
57532 
57533 #define IOMUXC_SW_MUX_CTL_PAD_SION_MASK          (0x10U)
57534 #define IOMUXC_SW_MUX_CTL_PAD_SION_SHIFT         (4U)
57535 /*! SION - Software Input On Field.
57536  *  0b1..Force input path of pad GPIO_EMC_B1_00
57537  *  0b0..Input Path is determined by functionality
57538  */
57539 #define IOMUXC_SW_MUX_CTL_PAD_SION(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_MUX_CTL_PAD_SION_SHIFT)) & IOMUXC_SW_MUX_CTL_PAD_SION_MASK)
57540 /*! @} */
57541 
57542 /* The count of IOMUXC_SW_MUX_CTL_PAD */
57543 #define IOMUXC_SW_MUX_CTL_PAD_COUNT              (145U)
57544 
57545 /*! @name SW_PAD_CTL_PAD - SW_PAD_CTL_PAD_GPIO_EMC_B1_00 SW PAD Control Register..SW_PAD_CTL_PAD_GPIO_DISP_B2_15 SW PAD Control Register */
57546 /*! @{ */
57547 
57548 #define IOMUXC_SW_PAD_CTL_PAD_SRE_MASK           (0x1U)
57549 #define IOMUXC_SW_PAD_CTL_PAD_SRE_SHIFT          (0U)
57550 /*! SRE - Slew Rate Field
57551  *  0b0..Slow Slew Rate
57552  *  0b1..Fast Slew Rate
57553  */
57554 #define IOMUXC_SW_PAD_CTL_PAD_SRE(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_SRE_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_SRE_MASK)
57555 
57556 #define IOMUXC_SW_PAD_CTL_PAD_DSE_MASK           (0x2U)
57557 #define IOMUXC_SW_PAD_CTL_PAD_DSE_SHIFT          (1U)
57558 /*! DSE - Drive Strength Field
57559  *  0b0..normal drive strength
57560  *  0b1..high drive strength
57561  */
57562 #define IOMUXC_SW_PAD_CTL_PAD_DSE(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_DSE_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_DSE_MASK)
57563 
57564 #define IOMUXC_SW_PAD_CTL_PAD_PDRV_MASK          (0x2U)
57565 #define IOMUXC_SW_PAD_CTL_PAD_PDRV_SHIFT         (1U)
57566 /*! PDRV - PDRV Field
57567  *  0b0..high drive strength
57568  *  0b1..normal drive strength
57569  */
57570 #define IOMUXC_SW_PAD_CTL_PAD_PDRV(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_PDRV_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_PDRV_MASK)
57571 
57572 #define IOMUXC_SW_PAD_CTL_PAD_PUE_MASK           (0x4U)
57573 #define IOMUXC_SW_PAD_CTL_PAD_PUE_SHIFT          (2U)
57574 /*! PUE - Pull / Keep Select Field
57575  *  0b0..Pull Disable, Highz
57576  *  0b1..Pull Enable
57577  */
57578 #define IOMUXC_SW_PAD_CTL_PAD_PUE(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_PUE_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_PUE_MASK)
57579 
57580 #define IOMUXC_SW_PAD_CTL_PAD_PULL_MASK          (0xCU)
57581 #define IOMUXC_SW_PAD_CTL_PAD_PULL_SHIFT         (2U)
57582 /*! PULL - Pull Down Pull Up Field
57583  *  0b00..Forbidden
57584  *  0b01..Internal pullup resistor enabled
57585  *  0b10..Internal pulldown resistor enabled
57586  *  0b11..No Pull
57587  */
57588 #define IOMUXC_SW_PAD_CTL_PAD_PULL(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_PULL_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_PULL_MASK)
57589 
57590 #define IOMUXC_SW_PAD_CTL_PAD_PUS_MASK           (0x8U)
57591 #define IOMUXC_SW_PAD_CTL_PAD_PUS_SHIFT          (3U)
57592 /*! PUS - Pull Up / Down Config. Field
57593  *  0b0..Weak pull down
57594  *  0b1..Weak pull up
57595  */
57596 #define IOMUXC_SW_PAD_CTL_PAD_PUS(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_PUS_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_PUS_MASK)
57597 
57598 #define IOMUXC_SW_PAD_CTL_PAD_ODE_MASK           (0x10U)
57599 #define IOMUXC_SW_PAD_CTL_PAD_ODE_SHIFT          (4U)
57600 /*! ODE - Open Drain Field
57601  *  0b0..Disabled
57602  *  0b1..Enabled
57603  */
57604 #define IOMUXC_SW_PAD_CTL_PAD_ODE(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_ODE_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_ODE_MASK)
57605 
57606 #define IOMUXC_SW_PAD_CTL_PAD_DWP_MASK           (0x30000000U)
57607 #define IOMUXC_SW_PAD_CTL_PAD_DWP_SHIFT          (28U)
57608 /*! DWP - Domain write protection
57609  *  0b00..Both cores are allowed
57610  *  0b01..CM7 is forbidden
57611  *  0b10..CM4 is forbidden
57612  *  0b11..Both cores are forbidden
57613  */
57614 #define IOMUXC_SW_PAD_CTL_PAD_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_DWP_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_DWP_MASK)
57615 
57616 #define IOMUXC_SW_PAD_CTL_PAD_DWP_LOCK_MASK      (0xC0000000U)
57617 #define IOMUXC_SW_PAD_CTL_PAD_DWP_LOCK_SHIFT     (30U)
57618 /*! DWP_LOCK - Domain write protection lock
57619  *  0b00..Neither of DWP bits is locked
57620  *  0b01..The lower DWP bit is locked
57621  *  0b10..The higher DWP bit is locked
57622  *  0b11..Both DWP bits are locked
57623  */
57624 #define IOMUXC_SW_PAD_CTL_PAD_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_SW_PAD_CTL_PAD_DWP_LOCK_SHIFT)) & IOMUXC_SW_PAD_CTL_PAD_DWP_LOCK_MASK)
57625 /*! @} */
57626 
57627 /* The count of IOMUXC_SW_PAD_CTL_PAD */
57628 #define IOMUXC_SW_PAD_CTL_PAD_COUNT              (145U)
57629 
57630 /*! @name SELECT_INPUT - FLEXCAN1_RX_SELECT_INPUT DAISY Register..XBAR1_IN_SELECT_INPUT_35 DAISY Register */
57631 /*! @{ */
57632 
57633 #define IOMUXC_SELECT_INPUT_DAISY_MASK           (0x3U)  /* Merged from fields with different position or width, of widths (1, 2), largest definition used */
57634 #define IOMUXC_SELECT_INPUT_DAISY_SHIFT          (0U)
57635 /*! DAISY - Selecting Pads Involved in Daisy Chain.
57636  *  0b00..Selecting Pad: GPIO_AD_07 for Mode: ALT1
57637  *  0b01..Selecting Pad: GPIO_DISP_B2_13 for Mode: ALT2
57638  *  0b10..Selecting Pad: GPIO_DISP_B2_15 for Mode: ALT6
57639  */
57640 #define IOMUXC_SELECT_INPUT_DAISY(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SELECT_INPUT_DAISY_SHIFT)) & IOMUXC_SELECT_INPUT_DAISY_MASK)  /* Merged from fields with different position or width, of widths (1, 2), largest definition used */
57641 /*! @} */
57642 
57643 /* The count of IOMUXC_SELECT_INPUT */
57644 #define IOMUXC_SELECT_INPUT_COUNT                (160U)
57645 
57646 
57647 /*!
57648  * @}
57649  */ /* end of group IOMUXC_Register_Masks */
57650 
57651 
57652 /* IOMUXC - Peripheral instance base addresses */
57653 /** Peripheral IOMUXC base address */
57654 #define IOMUXC_BASE                              (0x400E8000u)
57655 /** Peripheral IOMUXC base pointer */
57656 #define IOMUXC                                   ((IOMUXC_Type *)IOMUXC_BASE)
57657 /** Array initializer of IOMUXC peripheral base addresses */
57658 #define IOMUXC_BASE_ADDRS                        { IOMUXC_BASE }
57659 /** Array initializer of IOMUXC peripheral base pointers */
57660 #define IOMUXC_BASE_PTRS                         { IOMUXC }
57661 
57662 /*!
57663  * @}
57664  */ /* end of group IOMUXC_Peripheral_Access_Layer */
57665 
57666 
57667 /* ----------------------------------------------------------------------------
57668    -- IOMUXC_GPR Peripheral Access Layer
57669    ---------------------------------------------------------------------------- */
57670 
57671 /*!
57672  * @addtogroup IOMUXC_GPR_Peripheral_Access_Layer IOMUXC_GPR Peripheral Access Layer
57673  * @{
57674  */
57675 
57676 /** IOMUXC_GPR - Register Layout Typedef */
57677 typedef struct {
57678   __IO uint32_t GPR0;                              /**< GPR0 General Purpose Register, offset: 0x0 */
57679   __IO uint32_t GPR1;                              /**< GPR1 General Purpose Register, offset: 0x4 */
57680   __IO uint32_t GPR2;                              /**< GPR2 General Purpose Register, offset: 0x8 */
57681   __IO uint32_t GPR3;                              /**< GPR3 General Purpose Register, offset: 0xC */
57682   __IO uint32_t GPR4;                              /**< GPR4 General Purpose Register, offset: 0x10 */
57683   __IO uint32_t GPR5;                              /**< GPR5 General Purpose Register, offset: 0x14 */
57684   __IO uint32_t GPR6;                              /**< GPR6 General Purpose Register, offset: 0x18 */
57685   __IO uint32_t GPR7;                              /**< GPR7 General Purpose Register, offset: 0x1C */
57686   __IO uint32_t GPR8;                              /**< GPR8 General Purpose Register, offset: 0x20 */
57687   __IO uint32_t GPR9;                              /**< GPR9 General Purpose Register, offset: 0x24 */
57688   __IO uint32_t GPR10;                             /**< GPR10 General Purpose Register, offset: 0x28 */
57689   __IO uint32_t GPR11;                             /**< GPR11 General Purpose Register, offset: 0x2C */
57690   __IO uint32_t GPR12;                             /**< GPR12 General Purpose Register, offset: 0x30 */
57691   __IO uint32_t GPR13;                             /**< GPR13 General Purpose Register, offset: 0x34 */
57692   __IO uint32_t GPR14;                             /**< GPR14 General Purpose Register, offset: 0x38 */
57693   __IO uint32_t GPR15;                             /**< GPR15 General Purpose Register, offset: 0x3C */
57694   __IO uint32_t GPR16;                             /**< GPR16 General Purpose Register, offset: 0x40 */
57695   __IO uint32_t GPR17;                             /**< GPR17 General Purpose Register, offset: 0x44 */
57696   __IO uint32_t GPR18;                             /**< GPR18 General Purpose Register, offset: 0x48 */
57697        uint8_t RESERVED_0[4];
57698   __IO uint32_t GPR20;                             /**< GPR20 General Purpose Register, offset: 0x50 */
57699   __IO uint32_t GPR21;                             /**< GPR21 General Purpose Register, offset: 0x54 */
57700   __IO uint32_t GPR22;                             /**< GPR22 General Purpose Register, offset: 0x58 */
57701   __IO uint32_t GPR23;                             /**< GPR23 General Purpose Register, offset: 0x5C */
57702   __IO uint32_t GPR24;                             /**< GPR24 General Purpose Register, offset: 0x60 */
57703   __IO uint32_t GPR25;                             /**< GPR25 General Purpose Register, offset: 0x64 */
57704   __IO uint32_t GPR26;                             /**< GPR26 General Purpose Register, offset: 0x68 */
57705   __IO uint32_t GPR27;                             /**< GPR27 General Purpose Register, offset: 0x6C */
57706   __IO uint32_t GPR28;                             /**< GPR28 General Purpose Register, offset: 0x70 */
57707   __IO uint32_t GPR29;                             /**< GPR29 General Purpose Register, offset: 0x74 */
57708   __IO uint32_t GPR30;                             /**< GPR30 General Purpose Register, offset: 0x78 */
57709   __IO uint32_t GPR31;                             /**< GPR31 General Purpose Register, offset: 0x7C */
57710   __IO uint32_t GPR32;                             /**< GPR32 General Purpose Register, offset: 0x80 */
57711   __IO uint32_t GPR33;                             /**< GPR33 General Purpose Register, offset: 0x84 */
57712   __IO uint32_t GPR34;                             /**< GPR34 General Purpose Register, offset: 0x88 */
57713   __IO uint32_t GPR35;                             /**< GPR35 General Purpose Register, offset: 0x8C */
57714   __IO uint32_t GPR36;                             /**< GPR36 General Purpose Register, offset: 0x90 */
57715   __IO uint32_t GPR37;                             /**< GPR37 General Purpose Register, offset: 0x94 */
57716   __IO uint32_t GPR38;                             /**< GPR38 General Purpose Register, offset: 0x98 */
57717   __IO uint32_t GPR39;                             /**< GPR39 General Purpose Register, offset: 0x9C */
57718   __IO uint32_t GPR40;                             /**< GPR40 General Purpose Register, offset: 0xA0 */
57719   __IO uint32_t GPR41;                             /**< GPR41 General Purpose Register, offset: 0xA4 */
57720   __IO uint32_t GPR42;                             /**< GPR42 General Purpose Register, offset: 0xA8 */
57721   __IO uint32_t GPR43;                             /**< GPR43 General Purpose Register, offset: 0xAC */
57722   __IO uint32_t GPR44;                             /**< GPR44 General Purpose Register, offset: 0xB0 */
57723   __IO uint32_t GPR45;                             /**< GPR45 General Purpose Register, offset: 0xB4 */
57724   __IO uint32_t GPR46;                             /**< GPR46 General Purpose Register, offset: 0xB8 */
57725   __IO uint32_t GPR47;                             /**< GPR47 General Purpose Register, offset: 0xBC */
57726   __IO uint32_t GPR48;                             /**< GPR48 General Purpose Register, offset: 0xC0 */
57727   __IO uint32_t GPR49;                             /**< GPR49 General Purpose Register, offset: 0xC4 */
57728   __IO uint32_t GPR50;                             /**< GPR50 General Purpose Register, offset: 0xC8 */
57729   __IO uint32_t GPR51;                             /**< GPR51 General Purpose Register, offset: 0xCC */
57730   __IO uint32_t GPR52;                             /**< GPR52 General Purpose Register, offset: 0xD0 */
57731   __IO uint32_t GPR53;                             /**< GPR53 General Purpose Register, offset: 0xD4 */
57732   __IO uint32_t GPR54;                             /**< GPR54 General Purpose Register, offset: 0xD8 */
57733   __IO uint32_t GPR55;                             /**< GPR55 General Purpose Register, offset: 0xDC */
57734        uint8_t RESERVED_1[12];
57735   __IO uint32_t GPR59;                             /**< GPR59 General Purpose Register, offset: 0xEC */
57736        uint8_t RESERVED_2[8];
57737   __IO uint32_t GPR62;                             /**< GPR62 General Purpose Register, offset: 0xF8 */
57738   __I  uint32_t GPR63;                             /**< GPR63 General Purpose Register, offset: 0xFC */
57739   __IO uint32_t GPR64;                             /**< GPR64 General Purpose Register, offset: 0x100 */
57740   __IO uint32_t GPR65;                             /**< GPR65 General Purpose Register, offset: 0x104 */
57741   __IO uint32_t GPR66;                             /**< GPR66 General Purpose Register, offset: 0x108 */
57742   __IO uint32_t GPR67;                             /**< GPR67 General Purpose Register, offset: 0x10C */
57743   __IO uint32_t GPR68;                             /**< GPR68 General Purpose Register, offset: 0x110 */
57744   __IO uint32_t GPR69;                             /**< GPR69 General Purpose Register, offset: 0x114 */
57745   __IO uint32_t GPR70;                             /**< GPR70 General Purpose Register, offset: 0x118 */
57746   __IO uint32_t GPR71;                             /**< GPR71 General Purpose Register, offset: 0x11C */
57747   __IO uint32_t GPR72;                             /**< GPR72 General Purpose Register, offset: 0x120 */
57748   __IO uint32_t GPR73;                             /**< GPR73 General Purpose Register, offset: 0x124 */
57749   __IO uint32_t GPR74;                             /**< GPR74 General Purpose Register, offset: 0x128 */
57750   __I  uint32_t GPR75;                             /**< GPR75 General Purpose Register, offset: 0x12C */
57751   __I  uint32_t GPR76;                             /**< GPR76 General Purpose Register, offset: 0x130 */
57752 } IOMUXC_GPR_Type;
57753 
57754 /* ----------------------------------------------------------------------------
57755    -- IOMUXC_GPR Register Masks
57756    ---------------------------------------------------------------------------- */
57757 
57758 /*!
57759  * @addtogroup IOMUXC_GPR_Register_Masks IOMUXC_GPR Register Masks
57760  * @{
57761  */
57762 
57763 /*! @name GPR0 - GPR0 General Purpose Register */
57764 /*! @{ */
57765 
57766 #define IOMUXC_GPR_GPR0_SAI1_MCLK1_SEL_MASK      (0x7U)
57767 #define IOMUXC_GPR_GPR0_SAI1_MCLK1_SEL_SHIFT     (0U)
57768 /*! SAI1_MCLK1_SEL - SAI1 MCLK1 source select
57769  */
57770 #define IOMUXC_GPR_GPR0_SAI1_MCLK1_SEL(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_SAI1_MCLK1_SEL_SHIFT)) & IOMUXC_GPR_GPR0_SAI1_MCLK1_SEL_MASK)
57771 
57772 #define IOMUXC_GPR_GPR0_SAI1_MCLK2_SEL_MASK      (0x38U)
57773 #define IOMUXC_GPR_GPR0_SAI1_MCLK2_SEL_SHIFT     (3U)
57774 /*! SAI1_MCLK2_SEL - SAI1 MCLK2 source select
57775  */
57776 #define IOMUXC_GPR_GPR0_SAI1_MCLK2_SEL(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_SAI1_MCLK2_SEL_SHIFT)) & IOMUXC_GPR_GPR0_SAI1_MCLK2_SEL_MASK)
57777 
57778 #define IOMUXC_GPR_GPR0_SAI1_MCLK3_SEL_MASK      (0xC0U)
57779 #define IOMUXC_GPR_GPR0_SAI1_MCLK3_SEL_SHIFT     (6U)
57780 /*! SAI1_MCLK3_SEL - SAI1 MCLK3 source select
57781  */
57782 #define IOMUXC_GPR_GPR0_SAI1_MCLK3_SEL(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_SAI1_MCLK3_SEL_SHIFT)) & IOMUXC_GPR_GPR0_SAI1_MCLK3_SEL_MASK)
57783 
57784 #define IOMUXC_GPR_GPR0_SAI1_MCLK_DIR_MASK       (0x100U)
57785 #define IOMUXC_GPR_GPR0_SAI1_MCLK_DIR_SHIFT      (8U)
57786 /*! SAI1_MCLK_DIR - SAI1_MCLK signal direction control
57787  */
57788 #define IOMUXC_GPR_GPR0_SAI1_MCLK_DIR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_SAI1_MCLK_DIR_SHIFT)) & IOMUXC_GPR_GPR0_SAI1_MCLK_DIR_MASK)
57789 
57790 #define IOMUXC_GPR_GPR0_DWP_MASK                 (0x30000000U)
57791 #define IOMUXC_GPR_GPR0_DWP_SHIFT                (28U)
57792 /*! DWP - Domain write protection
57793  *  0b00..Both cores are allowed
57794  *  0b01..CM7 is forbidden
57795  *  0b10..CM4 is forbidden
57796  *  0b11..Both cores are forbidden
57797  */
57798 #define IOMUXC_GPR_GPR0_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_DWP_SHIFT)) & IOMUXC_GPR_GPR0_DWP_MASK)
57799 
57800 #define IOMUXC_GPR_GPR0_DWP_LOCK_MASK            (0xC0000000U)
57801 #define IOMUXC_GPR_GPR0_DWP_LOCK_SHIFT           (30U)
57802 /*! DWP_LOCK - Domain write protection lock
57803  *  0b00..Neither of DWP bits is locked
57804  *  0b01..The lower DWP bit is locked
57805  *  0b10..The higher DWP bit is locked
57806  *  0b11..Both DWP bits are locked
57807  */
57808 #define IOMUXC_GPR_GPR0_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR0_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR0_DWP_LOCK_MASK)
57809 /*! @} */
57810 
57811 /*! @name GPR1 - GPR1 General Purpose Register */
57812 /*! @{ */
57813 
57814 #define IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL_MASK      (0x3U)
57815 #define IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL_SHIFT     (0U)
57816 /*! SAI2_MCLK3_SEL - SAI2 MCLK3 source select
57817  */
57818 #define IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL_SHIFT)) & IOMUXC_GPR_GPR1_SAI2_MCLK3_SEL_MASK)
57819 
57820 #define IOMUXC_GPR_GPR1_SAI2_MCLK_DIR_MASK       (0x100U)
57821 #define IOMUXC_GPR_GPR1_SAI2_MCLK_DIR_SHIFT      (8U)
57822 /*! SAI2_MCLK_DIR - SAI2_MCLK signal direction control
57823  */
57824 #define IOMUXC_GPR_GPR1_SAI2_MCLK_DIR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR1_SAI2_MCLK_DIR_SHIFT)) & IOMUXC_GPR_GPR1_SAI2_MCLK_DIR_MASK)
57825 
57826 #define IOMUXC_GPR_GPR1_DWP_MASK                 (0x30000000U)
57827 #define IOMUXC_GPR_GPR1_DWP_SHIFT                (28U)
57828 /*! DWP - Domain write protection
57829  *  0b00..Both cores are allowed
57830  *  0b01..CM7 is forbidden
57831  *  0b10..CM4 is forbidden
57832  *  0b11..Both cores are forbidden
57833  */
57834 #define IOMUXC_GPR_GPR1_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR1_DWP_SHIFT)) & IOMUXC_GPR_GPR1_DWP_MASK)
57835 
57836 #define IOMUXC_GPR_GPR1_DWP_LOCK_MASK            (0xC0000000U)
57837 #define IOMUXC_GPR_GPR1_DWP_LOCK_SHIFT           (30U)
57838 /*! DWP_LOCK - Domain write protection lock
57839  *  0b00..Neither of DWP bits is locked
57840  *  0b01..The lower DWP bit is locked
57841  *  0b10..The higher DWP bit is locked
57842  *  0b11..Both DWP bits are locked
57843  */
57844 #define IOMUXC_GPR_GPR1_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR1_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR1_DWP_LOCK_MASK)
57845 /*! @} */
57846 
57847 /*! @name GPR2 - GPR2 General Purpose Register */
57848 /*! @{ */
57849 
57850 #define IOMUXC_GPR_GPR2_SAI3_MCLK3_SEL_MASK      (0x3U)
57851 #define IOMUXC_GPR_GPR2_SAI3_MCLK3_SEL_SHIFT     (0U)
57852 /*! SAI3_MCLK3_SEL - SAI3 MCLK3 source select
57853  */
57854 #define IOMUXC_GPR_GPR2_SAI3_MCLK3_SEL(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR2_SAI3_MCLK3_SEL_SHIFT)) & IOMUXC_GPR_GPR2_SAI3_MCLK3_SEL_MASK)
57855 
57856 #define IOMUXC_GPR_GPR2_SAI3_MCLK_DIR_MASK       (0x100U)
57857 #define IOMUXC_GPR_GPR2_SAI3_MCLK_DIR_SHIFT      (8U)
57858 /*! SAI3_MCLK_DIR - SAI3_MCLK signal direction control
57859  */
57860 #define IOMUXC_GPR_GPR2_SAI3_MCLK_DIR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR2_SAI3_MCLK_DIR_SHIFT)) & IOMUXC_GPR_GPR2_SAI3_MCLK_DIR_MASK)
57861 
57862 #define IOMUXC_GPR_GPR2_SAI4_MCLK_DIR_MASK       (0x200U)
57863 #define IOMUXC_GPR_GPR2_SAI4_MCLK_DIR_SHIFT      (9U)
57864 /*! SAI4_MCLK_DIR - SAI4_MCLK signal direction control
57865  */
57866 #define IOMUXC_GPR_GPR2_SAI4_MCLK_DIR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR2_SAI4_MCLK_DIR_SHIFT)) & IOMUXC_GPR_GPR2_SAI4_MCLK_DIR_MASK)
57867 
57868 #define IOMUXC_GPR_GPR2_DWP_MASK                 (0x30000000U)
57869 #define IOMUXC_GPR_GPR2_DWP_SHIFT                (28U)
57870 /*! DWP - Domain write protection
57871  *  0b00..Both cores are allowed
57872  *  0b01..CM7 is forbidden
57873  *  0b10..CM4 is forbidden
57874  *  0b11..Both cores are forbidden
57875  */
57876 #define IOMUXC_GPR_GPR2_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR2_DWP_SHIFT)) & IOMUXC_GPR_GPR2_DWP_MASK)
57877 
57878 #define IOMUXC_GPR_GPR2_DWP_LOCK_MASK            (0xC0000000U)
57879 #define IOMUXC_GPR_GPR2_DWP_LOCK_SHIFT           (30U)
57880 /*! DWP_LOCK - Domain write protection lock
57881  *  0b00..Neither of DWP bits is locked
57882  *  0b01..The lower DWP bit is locked
57883  *  0b10..The higher DWP bit is locked
57884  *  0b11..Both DWP bits are locked
57885  */
57886 #define IOMUXC_GPR_GPR2_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR2_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR2_DWP_LOCK_MASK)
57887 /*! @} */
57888 
57889 /*! @name GPR3 - GPR3 General Purpose Register */
57890 /*! @{ */
57891 
57892 #define IOMUXC_GPR_GPR3_MQS_CLK_DIV_MASK         (0xFFU)
57893 #define IOMUXC_GPR_GPR3_MQS_CLK_DIV_SHIFT        (0U)
57894 /*! MQS_CLK_DIV - Divider ratio control for mclk from hmclk.
57895  */
57896 #define IOMUXC_GPR_GPR3_MQS_CLK_DIV(x)           (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_MQS_CLK_DIV_SHIFT)) & IOMUXC_GPR_GPR3_MQS_CLK_DIV_MASK)
57897 
57898 #define IOMUXC_GPR_GPR3_MQS_SW_RST_MASK          (0x100U)
57899 #define IOMUXC_GPR_GPR3_MQS_SW_RST_SHIFT         (8U)
57900 /*! MQS_SW_RST - MQS software reset
57901  */
57902 #define IOMUXC_GPR_GPR3_MQS_SW_RST(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_MQS_SW_RST_SHIFT)) & IOMUXC_GPR_GPR3_MQS_SW_RST_MASK)
57903 
57904 #define IOMUXC_GPR_GPR3_MQS_EN_MASK              (0x200U)
57905 #define IOMUXC_GPR_GPR3_MQS_EN_SHIFT             (9U)
57906 /*! MQS_EN - MQS enable
57907  */
57908 #define IOMUXC_GPR_GPR3_MQS_EN(x)                (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_MQS_EN_SHIFT)) & IOMUXC_GPR_GPR3_MQS_EN_MASK)
57909 
57910 #define IOMUXC_GPR_GPR3_MQS_OVERSAMPLE_MASK      (0x400U)
57911 #define IOMUXC_GPR_GPR3_MQS_OVERSAMPLE_SHIFT     (10U)
57912 /*! MQS_OVERSAMPLE - Medium Quality Sound (MQS) Oversample
57913  */
57914 #define IOMUXC_GPR_GPR3_MQS_OVERSAMPLE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_MQS_OVERSAMPLE_SHIFT)) & IOMUXC_GPR_GPR3_MQS_OVERSAMPLE_MASK)
57915 
57916 #define IOMUXC_GPR_GPR3_DWP_MASK                 (0x30000000U)
57917 #define IOMUXC_GPR_GPR3_DWP_SHIFT                (28U)
57918 /*! DWP - Domain write protection
57919  *  0b00..Both cores are allowed
57920  *  0b01..CM7 is forbidden
57921  *  0b10..CM4 is forbidden
57922  *  0b11..Both cores are forbidden
57923  */
57924 #define IOMUXC_GPR_GPR3_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_DWP_SHIFT)) & IOMUXC_GPR_GPR3_DWP_MASK)
57925 
57926 #define IOMUXC_GPR_GPR3_DWP_LOCK_MASK            (0xC0000000U)
57927 #define IOMUXC_GPR_GPR3_DWP_LOCK_SHIFT           (30U)
57928 /*! DWP_LOCK - Domain write protection lock
57929  *  0b00..Neither of DWP bits is locked
57930  *  0b01..The lower DWP bit is locked
57931  *  0b10..The higher DWP bit is locked
57932  *  0b11..Both DWP bits are locked
57933  */
57934 #define IOMUXC_GPR_GPR3_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR3_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR3_DWP_LOCK_MASK)
57935 /*! @} */
57936 
57937 /*! @name GPR4 - GPR4 General Purpose Register */
57938 /*! @{ */
57939 
57940 #define IOMUXC_GPR_GPR4_ENET_TX_CLK_SEL_MASK     (0x1U)
57941 #define IOMUXC_GPR_GPR4_ENET_TX_CLK_SEL_SHIFT    (0U)
57942 /*! ENET_TX_CLK_SEL - ENET TX_CLK select
57943  */
57944 #define IOMUXC_GPR_GPR4_ENET_TX_CLK_SEL(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_ENET_TX_CLK_SEL_SHIFT)) & IOMUXC_GPR_GPR4_ENET_TX_CLK_SEL_MASK)
57945 
57946 #define IOMUXC_GPR_GPR4_ENET_REF_CLK_DIR_MASK    (0x2U)
57947 #define IOMUXC_GPR_GPR4_ENET_REF_CLK_DIR_SHIFT   (1U)
57948 /*! ENET_REF_CLK_DIR - ENET_REF_CLK direction control
57949  */
57950 #define IOMUXC_GPR_GPR4_ENET_REF_CLK_DIR(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_ENET_REF_CLK_DIR_SHIFT)) & IOMUXC_GPR_GPR4_ENET_REF_CLK_DIR_MASK)
57951 
57952 #define IOMUXC_GPR_GPR4_ENET_TIME_SEL_MASK       (0x4U)
57953 #define IOMUXC_GPR_GPR4_ENET_TIME_SEL_SHIFT      (2U)
57954 /*! ENET_TIME_SEL - ENET master timer source select
57955  */
57956 #define IOMUXC_GPR_GPR4_ENET_TIME_SEL(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_ENET_TIME_SEL_SHIFT)) & IOMUXC_GPR_GPR4_ENET_TIME_SEL_MASK)
57957 
57958 #define IOMUXC_GPR_GPR4_ENET_EVENT0IN_SEL_MASK   (0x8U)
57959 #define IOMUXC_GPR_GPR4_ENET_EVENT0IN_SEL_SHIFT  (3U)
57960 /*! ENET_EVENT0IN_SEL - ENET ENET_1588_EVENT0_IN source select
57961  */
57962 #define IOMUXC_GPR_GPR4_ENET_EVENT0IN_SEL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_ENET_EVENT0IN_SEL_SHIFT)) & IOMUXC_GPR_GPR4_ENET_EVENT0IN_SEL_MASK)
57963 
57964 #define IOMUXC_GPR_GPR4_DWP_MASK                 (0x30000000U)
57965 #define IOMUXC_GPR_GPR4_DWP_SHIFT                (28U)
57966 /*! DWP - Domain write protection
57967  *  0b00..Both cores are allowed
57968  *  0b01..CM7 is forbidden
57969  *  0b10..CM4 is forbidden
57970  *  0b11..Both cores are forbidden
57971  */
57972 #define IOMUXC_GPR_GPR4_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_DWP_SHIFT)) & IOMUXC_GPR_GPR4_DWP_MASK)
57973 
57974 #define IOMUXC_GPR_GPR4_DWP_LOCK_MASK            (0xC0000000U)
57975 #define IOMUXC_GPR_GPR4_DWP_LOCK_SHIFT           (30U)
57976 /*! DWP_LOCK - Domain write protection lock
57977  *  0b00..Neither of DWP bits is locked
57978  *  0b01..The lower DWP bit is locked
57979  *  0b10..The higher DWP bit is locked
57980  *  0b11..Both DWP bits are locked
57981  */
57982 #define IOMUXC_GPR_GPR4_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR4_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR4_DWP_LOCK_MASK)
57983 /*! @} */
57984 
57985 /*! @name GPR5 - GPR5 General Purpose Register */
57986 /*! @{ */
57987 
57988 #define IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL_MASK   (0x1U)
57989 #define IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL_SHIFT  (0U)
57990 /*! ENET1G_TX_CLK_SEL - ENET1G TX_CLK select
57991  */
57992 #define IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL_SHIFT)) & IOMUXC_GPR_GPR5_ENET1G_TX_CLK_SEL_MASK)
57993 
57994 #define IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR_MASK  (0x2U)
57995 #define IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR_SHIFT (1U)
57996 /*! ENET1G_REF_CLK_DIR - ENET1G_REF_CLK direction control
57997  */
57998 #define IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR_SHIFT)) & IOMUXC_GPR_GPR5_ENET1G_REF_CLK_DIR_MASK)
57999 
58000 #define IOMUXC_GPR_GPR5_ENET1G_RGMII_EN_MASK     (0x4U)
58001 #define IOMUXC_GPR_GPR5_ENET1G_RGMII_EN_SHIFT    (2U)
58002 /*! ENET1G_RGMII_EN - ENET1G RGMII TX clock output enable
58003  */
58004 #define IOMUXC_GPR_GPR5_ENET1G_RGMII_EN(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_ENET1G_RGMII_EN_SHIFT)) & IOMUXC_GPR_GPR5_ENET1G_RGMII_EN_MASK)
58005 
58006 #define IOMUXC_GPR_GPR5_ENET1G_TIME_SEL_MASK     (0x8U)
58007 #define IOMUXC_GPR_GPR5_ENET1G_TIME_SEL_SHIFT    (3U)
58008 /*! ENET1G_TIME_SEL - ENET1G master timer source select
58009  */
58010 #define IOMUXC_GPR_GPR5_ENET1G_TIME_SEL(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_ENET1G_TIME_SEL_SHIFT)) & IOMUXC_GPR_GPR5_ENET1G_TIME_SEL_MASK)
58011 
58012 #define IOMUXC_GPR_GPR5_ENET1G_EVENT0IN_SEL_MASK (0x10U)
58013 #define IOMUXC_GPR_GPR5_ENET1G_EVENT0IN_SEL_SHIFT (4U)
58014 /*! ENET1G_EVENT0IN_SEL - ENET1G ENET_1588_EVENT0_IN source select
58015  */
58016 #define IOMUXC_GPR_GPR5_ENET1G_EVENT0IN_SEL(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_ENET1G_EVENT0IN_SEL_SHIFT)) & IOMUXC_GPR_GPR5_ENET1G_EVENT0IN_SEL_MASK)
58017 
58018 #define IOMUXC_GPR_GPR5_DWP_MASK                 (0x30000000U)
58019 #define IOMUXC_GPR_GPR5_DWP_SHIFT                (28U)
58020 /*! DWP - Domain write protection
58021  *  0b00..Both cores are allowed
58022  *  0b01..CM7 is forbidden
58023  *  0b10..CM4 is forbidden
58024  *  0b11..Both cores are forbidden
58025  */
58026 #define IOMUXC_GPR_GPR5_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_DWP_SHIFT)) & IOMUXC_GPR_GPR5_DWP_MASK)
58027 
58028 #define IOMUXC_GPR_GPR5_DWP_LOCK_MASK            (0xC0000000U)
58029 #define IOMUXC_GPR_GPR5_DWP_LOCK_SHIFT           (30U)
58030 /*! DWP_LOCK - Domain write protection lock
58031  *  0b00..Neither of DWP bits is locked
58032  *  0b01..The lower DWP bit is locked
58033  *  0b10..The higher DWP bit is locked
58034  *  0b11..Both DWP bits are locked
58035  */
58036 #define IOMUXC_GPR_GPR5_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR5_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR5_DWP_LOCK_MASK)
58037 /*! @} */
58038 
58039 /*! @name GPR6 - GPR6 General Purpose Register */
58040 /*! @{ */
58041 
58042 #define IOMUXC_GPR_GPR6_ENET_QOS_REF_CLK_DIR_MASK (0x1U)
58043 #define IOMUXC_GPR_GPR6_ENET_QOS_REF_CLK_DIR_SHIFT (0U)
58044 /*! ENET_QOS_REF_CLK_DIR - ENET_QOS_REF_CLK direction control
58045  */
58046 #define IOMUXC_GPR_GPR6_ENET_QOS_REF_CLK_DIR(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_REF_CLK_DIR_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_REF_CLK_DIR_MASK)
58047 
58048 #define IOMUXC_GPR_GPR6_ENET_QOS_RGMII_EN_MASK   (0x2U)
58049 #define IOMUXC_GPR_GPR6_ENET_QOS_RGMII_EN_SHIFT  (1U)
58050 /*! ENET_QOS_RGMII_EN - ENET_QOS RGMII TX clock output enable
58051  */
58052 #define IOMUXC_GPR_GPR6_ENET_QOS_RGMII_EN(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_RGMII_EN_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_RGMII_EN_MASK)
58053 
58054 #define IOMUXC_GPR_GPR6_ENET_QOS_TIME_SEL_MASK   (0x4U)
58055 #define IOMUXC_GPR_GPR6_ENET_QOS_TIME_SEL_SHIFT  (2U)
58056 /*! ENET_QOS_TIME_SEL - ENET_QOS master timer source select
58057  */
58058 #define IOMUXC_GPR_GPR6_ENET_QOS_TIME_SEL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_TIME_SEL_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_TIME_SEL_MASK)
58059 
58060 #define IOMUXC_GPR_GPR6_ENET_QOS_INTF_SEL_MASK   (0x38U)
58061 #define IOMUXC_GPR_GPR6_ENET_QOS_INTF_SEL_SHIFT  (3U)
58062 /*! ENET_QOS_INTF_SEL - ENET_QOS PHY Interface Select
58063  */
58064 #define IOMUXC_GPR_GPR6_ENET_QOS_INTF_SEL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_INTF_SEL_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_INTF_SEL_MASK)
58065 
58066 #define IOMUXC_GPR_GPR6_ENET_QOS_CLKGEN_EN_MASK  (0x40U)
58067 #define IOMUXC_GPR_GPR6_ENET_QOS_CLKGEN_EN_SHIFT (6U)
58068 /*! ENET_QOS_CLKGEN_EN - ENET_QOS clock generator enable
58069  */
58070 #define IOMUXC_GPR_GPR6_ENET_QOS_CLKGEN_EN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_CLKGEN_EN_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_CLKGEN_EN_MASK)
58071 
58072 #define IOMUXC_GPR_GPR6_ENET_QOS_EVENT0IN_SEL_MASK (0x80U)
58073 #define IOMUXC_GPR_GPR6_ENET_QOS_EVENT0IN_SEL_SHIFT (7U)
58074 /*! ENET_QOS_EVENT0IN_SEL - ENET_QOS ENET_1588_EVENT0_IN source select
58075  */
58076 #define IOMUXC_GPR_GPR6_ENET_QOS_EVENT0IN_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_ENET_QOS_EVENT0IN_SEL_SHIFT)) & IOMUXC_GPR_GPR6_ENET_QOS_EVENT0IN_SEL_MASK)
58077 
58078 #define IOMUXC_GPR_GPR6_DWP_MASK                 (0x30000000U)
58079 #define IOMUXC_GPR_GPR6_DWP_SHIFT                (28U)
58080 /*! DWP - Domain write protection
58081  *  0b00..Both cores are allowed
58082  *  0b01..CM7 is forbidden
58083  *  0b10..CM4 is forbidden
58084  *  0b11..Both cores are forbidden
58085  */
58086 #define IOMUXC_GPR_GPR6_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_DWP_SHIFT)) & IOMUXC_GPR_GPR6_DWP_MASK)
58087 
58088 #define IOMUXC_GPR_GPR6_DWP_LOCK_MASK            (0xC0000000U)
58089 #define IOMUXC_GPR_GPR6_DWP_LOCK_SHIFT           (30U)
58090 /*! DWP_LOCK - Domain write protection lock
58091  *  0b00..Neither of DWP bits is locked
58092  *  0b01..The lower DWP bit is locked
58093  *  0b10..The higher DWP bit is locked
58094  *  0b11..Both DWP bits are locked
58095  */
58096 #define IOMUXC_GPR_GPR6_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR6_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR6_DWP_LOCK_MASK)
58097 /*! @} */
58098 
58099 /*! @name GPR7 - GPR7 General Purpose Register */
58100 /*! @{ */
58101 
58102 #define IOMUXC_GPR_GPR7_GINT_MASK                (0x1U)
58103 #define IOMUXC_GPR_GPR7_GINT_SHIFT               (0U)
58104 /*! GINT - Global interrupt
58105  */
58106 #define IOMUXC_GPR_GPR7_GINT(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR7_GINT_SHIFT)) & IOMUXC_GPR_GPR7_GINT_MASK)
58107 
58108 #define IOMUXC_GPR_GPR7_DWP_MASK                 (0x30000000U)
58109 #define IOMUXC_GPR_GPR7_DWP_SHIFT                (28U)
58110 /*! DWP - Domain write protection
58111  *  0b00..Both cores are allowed
58112  *  0b01..CM7 is forbidden
58113  *  0b10..CM4 is forbidden
58114  *  0b11..Both cores are forbidden
58115  */
58116 #define IOMUXC_GPR_GPR7_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR7_DWP_SHIFT)) & IOMUXC_GPR_GPR7_DWP_MASK)
58117 
58118 #define IOMUXC_GPR_GPR7_DWP_LOCK_MASK            (0xC0000000U)
58119 #define IOMUXC_GPR_GPR7_DWP_LOCK_SHIFT           (30U)
58120 /*! DWP_LOCK - Domain write protection lock
58121  *  0b00..Neither of DWP bits is locked
58122  *  0b01..The lower DWP bit is locked
58123  *  0b10..The higher DWP bit is locked
58124  *  0b11..Both DWP bits are locked
58125  */
58126 #define IOMUXC_GPR_GPR7_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR7_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR7_DWP_LOCK_MASK)
58127 /*! @} */
58128 
58129 /*! @name GPR8 - GPR8 General Purpose Register */
58130 /*! @{ */
58131 
58132 #define IOMUXC_GPR_GPR8_WDOG1_MASK_MASK          (0x1U)
58133 #define IOMUXC_GPR_GPR8_WDOG1_MASK_SHIFT         (0U)
58134 /*! WDOG1_MASK - WDOG1 timeout mask for WDOG_ANY
58135  */
58136 #define IOMUXC_GPR_GPR8_WDOG1_MASK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR8_WDOG1_MASK_SHIFT)) & IOMUXC_GPR_GPR8_WDOG1_MASK_MASK)
58137 
58138 #define IOMUXC_GPR_GPR8_DWP_MASK                 (0x30000000U)
58139 #define IOMUXC_GPR_GPR8_DWP_SHIFT                (28U)
58140 /*! DWP - Domain write protection
58141  *  0b00..Both cores are allowed
58142  *  0b01..CM7 is forbidden
58143  *  0b10..CM4 is forbidden
58144  *  0b11..Both cores are forbidden
58145  */
58146 #define IOMUXC_GPR_GPR8_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR8_DWP_SHIFT)) & IOMUXC_GPR_GPR8_DWP_MASK)
58147 
58148 #define IOMUXC_GPR_GPR8_DWP_LOCK_MASK            (0xC0000000U)
58149 #define IOMUXC_GPR_GPR8_DWP_LOCK_SHIFT           (30U)
58150 /*! DWP_LOCK - Domain write protection lock
58151  *  0b00..Neither of DWP bits is locked
58152  *  0b01..The lower DWP bit is locked
58153  *  0b10..The higher DWP bit is locked
58154  *  0b11..Both DWP bits are locked
58155  */
58156 #define IOMUXC_GPR_GPR8_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR8_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR8_DWP_LOCK_MASK)
58157 /*! @} */
58158 
58159 /*! @name GPR9 - GPR9 General Purpose Register */
58160 /*! @{ */
58161 
58162 #define IOMUXC_GPR_GPR9_WDOG2_MASK_MASK          (0x1U)
58163 #define IOMUXC_GPR_GPR9_WDOG2_MASK_SHIFT         (0U)
58164 /*! WDOG2_MASK - WDOG2 timeout mask for WDOG_ANY
58165  */
58166 #define IOMUXC_GPR_GPR9_WDOG2_MASK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR9_WDOG2_MASK_SHIFT)) & IOMUXC_GPR_GPR9_WDOG2_MASK_MASK)
58167 
58168 #define IOMUXC_GPR_GPR9_DWP_MASK                 (0x30000000U)
58169 #define IOMUXC_GPR_GPR9_DWP_SHIFT                (28U)
58170 /*! DWP - Domain write protection
58171  *  0b00..Both cores are allowed
58172  *  0b01..CM7 is forbidden
58173  *  0b10..CM4 is forbidden
58174  *  0b11..Both cores are forbidden
58175  */
58176 #define IOMUXC_GPR_GPR9_DWP(x)                   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR9_DWP_SHIFT)) & IOMUXC_GPR_GPR9_DWP_MASK)
58177 
58178 #define IOMUXC_GPR_GPR9_DWP_LOCK_MASK            (0xC0000000U)
58179 #define IOMUXC_GPR_GPR9_DWP_LOCK_SHIFT           (30U)
58180 /*! DWP_LOCK - Domain write protection lock
58181  *  0b00..Neither of DWP bits is locked
58182  *  0b01..The lower DWP bit is locked
58183  *  0b10..The higher DWP bit is locked
58184  *  0b11..Both DWP bits are locked
58185  */
58186 #define IOMUXC_GPR_GPR9_DWP_LOCK(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR9_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR9_DWP_LOCK_MASK)
58187 /*! @} */
58188 
58189 /*! @name GPR10 - GPR10 General Purpose Register */
58190 /*! @{ */
58191 
58192 #define IOMUXC_GPR_GPR10_DWP_MASK                (0x30000000U)
58193 #define IOMUXC_GPR_GPR10_DWP_SHIFT               (28U)
58194 /*! DWP - Domain write protection
58195  *  0b00..Both cores are allowed
58196  *  0b01..CM7 is forbidden
58197  *  0b10..CM4 is forbidden
58198  *  0b11..Both cores are forbidden
58199  */
58200 #define IOMUXC_GPR_GPR10_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR10_DWP_SHIFT)) & IOMUXC_GPR_GPR10_DWP_MASK)
58201 
58202 #define IOMUXC_GPR_GPR10_DWP_LOCK_MASK           (0xC0000000U)
58203 #define IOMUXC_GPR_GPR10_DWP_LOCK_SHIFT          (30U)
58204 /*! DWP_LOCK - Domain write protection lock
58205  *  0b00..Neither of DWP bits is locked
58206  *  0b01..The lower DWP bit is locked
58207  *  0b10..The higher DWP bit is locked
58208  *  0b11..Both DWP bits are locked
58209  */
58210 #define IOMUXC_GPR_GPR10_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR10_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR10_DWP_LOCK_MASK)
58211 /*! @} */
58212 
58213 /*! @name GPR11 - GPR11 General Purpose Register */
58214 /*! @{ */
58215 
58216 #define IOMUXC_GPR_GPR11_DWP_MASK                (0x30000000U)
58217 #define IOMUXC_GPR_GPR11_DWP_SHIFT               (28U)
58218 /*! DWP - Domain write protection
58219  *  0b00..Both cores are allowed
58220  *  0b01..CM7 is forbidden
58221  *  0b10..CM4 is forbidden
58222  *  0b11..Both cores are forbidden
58223  */
58224 #define IOMUXC_GPR_GPR11_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR11_DWP_SHIFT)) & IOMUXC_GPR_GPR11_DWP_MASK)
58225 
58226 #define IOMUXC_GPR_GPR11_DWP_LOCK_MASK           (0xC0000000U)
58227 #define IOMUXC_GPR_GPR11_DWP_LOCK_SHIFT          (30U)
58228 /*! DWP_LOCK - Domain write protection lock
58229  *  0b00..Neither of DWP bits is locked
58230  *  0b01..The lower DWP bit is locked
58231  *  0b10..The higher DWP bit is locked
58232  *  0b11..Both DWP bits are locked
58233  */
58234 #define IOMUXC_GPR_GPR11_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR11_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR11_DWP_LOCK_MASK)
58235 /*! @} */
58236 
58237 /*! @name GPR12 - GPR12 General Purpose Register */
58238 /*! @{ */
58239 
58240 #define IOMUXC_GPR_GPR12_QTIMER1_TMR_CNTS_FREEZE_MASK (0x1U)
58241 #define IOMUXC_GPR_GPR12_QTIMER1_TMR_CNTS_FREEZE_SHIFT (0U)
58242 /*! QTIMER1_TMR_CNTS_FREEZE - QTIMER1 timer counter freeze
58243  */
58244 #define IOMUXC_GPR_GPR12_QTIMER1_TMR_CNTS_FREEZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_QTIMER1_TMR_CNTS_FREEZE_SHIFT)) & IOMUXC_GPR_GPR12_QTIMER1_TMR_CNTS_FREEZE_MASK)
58245 
58246 #define IOMUXC_GPR_GPR12_QTIMER1_TRM0_INPUT_SEL_MASK (0x100U)
58247 #define IOMUXC_GPR_GPR12_QTIMER1_TRM0_INPUT_SEL_SHIFT (8U)
58248 /*! QTIMER1_TRM0_INPUT_SEL - QTIMER1 TMR0 input select
58249  */
58250 #define IOMUXC_GPR_GPR12_QTIMER1_TRM0_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_QTIMER1_TRM0_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR12_QTIMER1_TRM0_INPUT_SEL_MASK)
58251 
58252 #define IOMUXC_GPR_GPR12_QTIMER1_TRM1_INPUT_SEL_MASK (0x200U)
58253 #define IOMUXC_GPR_GPR12_QTIMER1_TRM1_INPUT_SEL_SHIFT (9U)
58254 /*! QTIMER1_TRM1_INPUT_SEL - QTIMER1 TMR1 input select
58255  */
58256 #define IOMUXC_GPR_GPR12_QTIMER1_TRM1_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_QTIMER1_TRM1_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR12_QTIMER1_TRM1_INPUT_SEL_MASK)
58257 
58258 #define IOMUXC_GPR_GPR12_QTIMER1_TRM2_INPUT_SEL_MASK (0x400U)
58259 #define IOMUXC_GPR_GPR12_QTIMER1_TRM2_INPUT_SEL_SHIFT (10U)
58260 /*! QTIMER1_TRM2_INPUT_SEL - QTIMER1 TMR2 input select
58261  */
58262 #define IOMUXC_GPR_GPR12_QTIMER1_TRM2_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_QTIMER1_TRM2_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR12_QTIMER1_TRM2_INPUT_SEL_MASK)
58263 
58264 #define IOMUXC_GPR_GPR12_QTIMER1_TRM3_INPUT_SEL_MASK (0x800U)
58265 #define IOMUXC_GPR_GPR12_QTIMER1_TRM3_INPUT_SEL_SHIFT (11U)
58266 /*! QTIMER1_TRM3_INPUT_SEL - QTIMER1 TMR3 input select
58267  */
58268 #define IOMUXC_GPR_GPR12_QTIMER1_TRM3_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_QTIMER1_TRM3_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR12_QTIMER1_TRM3_INPUT_SEL_MASK)
58269 
58270 #define IOMUXC_GPR_GPR12_DWP_MASK                (0x30000000U)
58271 #define IOMUXC_GPR_GPR12_DWP_SHIFT               (28U)
58272 /*! DWP - Domain write protection
58273  *  0b00..Both cores are allowed
58274  *  0b01..CM7 is forbidden
58275  *  0b10..CM4 is forbidden
58276  *  0b11..Both cores are forbidden
58277  */
58278 #define IOMUXC_GPR_GPR12_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_DWP_SHIFT)) & IOMUXC_GPR_GPR12_DWP_MASK)
58279 
58280 #define IOMUXC_GPR_GPR12_DWP_LOCK_MASK           (0xC0000000U)
58281 #define IOMUXC_GPR_GPR12_DWP_LOCK_SHIFT          (30U)
58282 /*! DWP_LOCK - Domain write protection lock
58283  *  0b00..Neither of DWP bits is locked
58284  *  0b01..The lower DWP bit is locked
58285  *  0b10..The higher DWP bit is locked
58286  *  0b11..Both DWP bits are locked
58287  */
58288 #define IOMUXC_GPR_GPR12_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR12_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR12_DWP_LOCK_MASK)
58289 /*! @} */
58290 
58291 /*! @name GPR13 - GPR13 General Purpose Register */
58292 /*! @{ */
58293 
58294 #define IOMUXC_GPR_GPR13_QTIMER2_TMR_CNTS_FREEZE_MASK (0x1U)
58295 #define IOMUXC_GPR_GPR13_QTIMER2_TMR_CNTS_FREEZE_SHIFT (0U)
58296 /*! QTIMER2_TMR_CNTS_FREEZE - QTIMER2 timer counter freeze
58297  */
58298 #define IOMUXC_GPR_GPR13_QTIMER2_TMR_CNTS_FREEZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_QTIMER2_TMR_CNTS_FREEZE_SHIFT)) & IOMUXC_GPR_GPR13_QTIMER2_TMR_CNTS_FREEZE_MASK)
58299 
58300 #define IOMUXC_GPR_GPR13_QTIMER2_TRM0_INPUT_SEL_MASK (0x100U)
58301 #define IOMUXC_GPR_GPR13_QTIMER2_TRM0_INPUT_SEL_SHIFT (8U)
58302 /*! QTIMER2_TRM0_INPUT_SEL - QTIMER2 TMR0 input select
58303  */
58304 #define IOMUXC_GPR_GPR13_QTIMER2_TRM0_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_QTIMER2_TRM0_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR13_QTIMER2_TRM0_INPUT_SEL_MASK)
58305 
58306 #define IOMUXC_GPR_GPR13_QTIMER2_TRM1_INPUT_SEL_MASK (0x200U)
58307 #define IOMUXC_GPR_GPR13_QTIMER2_TRM1_INPUT_SEL_SHIFT (9U)
58308 /*! QTIMER2_TRM1_INPUT_SEL - QTIMER2 TMR1 input select
58309  */
58310 #define IOMUXC_GPR_GPR13_QTIMER2_TRM1_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_QTIMER2_TRM1_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR13_QTIMER2_TRM1_INPUT_SEL_MASK)
58311 
58312 #define IOMUXC_GPR_GPR13_QTIMER2_TRM2_INPUT_SEL_MASK (0x400U)
58313 #define IOMUXC_GPR_GPR13_QTIMER2_TRM2_INPUT_SEL_SHIFT (10U)
58314 /*! QTIMER2_TRM2_INPUT_SEL - QTIMER2 TMR2 input select
58315  */
58316 #define IOMUXC_GPR_GPR13_QTIMER2_TRM2_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_QTIMER2_TRM2_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR13_QTIMER2_TRM2_INPUT_SEL_MASK)
58317 
58318 #define IOMUXC_GPR_GPR13_QTIMER2_TRM3_INPUT_SEL_MASK (0x800U)
58319 #define IOMUXC_GPR_GPR13_QTIMER2_TRM3_INPUT_SEL_SHIFT (11U)
58320 /*! QTIMER2_TRM3_INPUT_SEL - QTIMER2 TMR3 input select
58321  */
58322 #define IOMUXC_GPR_GPR13_QTIMER2_TRM3_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_QTIMER2_TRM3_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR13_QTIMER2_TRM3_INPUT_SEL_MASK)
58323 
58324 #define IOMUXC_GPR_GPR13_DWP_MASK                (0x30000000U)
58325 #define IOMUXC_GPR_GPR13_DWP_SHIFT               (28U)
58326 /*! DWP - Domain write protection
58327  *  0b00..Both cores are allowed
58328  *  0b01..CM7 is forbidden
58329  *  0b10..CM4 is forbidden
58330  *  0b11..Both cores are forbidden
58331  */
58332 #define IOMUXC_GPR_GPR13_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_DWP_SHIFT)) & IOMUXC_GPR_GPR13_DWP_MASK)
58333 
58334 #define IOMUXC_GPR_GPR13_DWP_LOCK_MASK           (0xC0000000U)
58335 #define IOMUXC_GPR_GPR13_DWP_LOCK_SHIFT          (30U)
58336 /*! DWP_LOCK - Domain write protection lock
58337  *  0b00..Neither of DWP bits is locked
58338  *  0b01..The lower DWP bit is locked
58339  *  0b10..The higher DWP bit is locked
58340  *  0b11..Both DWP bits are locked
58341  */
58342 #define IOMUXC_GPR_GPR13_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR13_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR13_DWP_LOCK_MASK)
58343 /*! @} */
58344 
58345 /*! @name GPR14 - GPR14 General Purpose Register */
58346 /*! @{ */
58347 
58348 #define IOMUXC_GPR_GPR14_QTIMER3_TMR_CNTS_FREEZE_MASK (0x1U)
58349 #define IOMUXC_GPR_GPR14_QTIMER3_TMR_CNTS_FREEZE_SHIFT (0U)
58350 /*! QTIMER3_TMR_CNTS_FREEZE - QTIMER3 timer counter freeze
58351  */
58352 #define IOMUXC_GPR_GPR14_QTIMER3_TMR_CNTS_FREEZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_QTIMER3_TMR_CNTS_FREEZE_SHIFT)) & IOMUXC_GPR_GPR14_QTIMER3_TMR_CNTS_FREEZE_MASK)
58353 
58354 #define IOMUXC_GPR_GPR14_QTIMER3_TRM0_INPUT_SEL_MASK (0x100U)
58355 #define IOMUXC_GPR_GPR14_QTIMER3_TRM0_INPUT_SEL_SHIFT (8U)
58356 /*! QTIMER3_TRM0_INPUT_SEL - QTIMER3 TMR0 input select
58357  */
58358 #define IOMUXC_GPR_GPR14_QTIMER3_TRM0_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_QTIMER3_TRM0_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR14_QTIMER3_TRM0_INPUT_SEL_MASK)
58359 
58360 #define IOMUXC_GPR_GPR14_QTIMER3_TRM1_INPUT_SEL_MASK (0x200U)
58361 #define IOMUXC_GPR_GPR14_QTIMER3_TRM1_INPUT_SEL_SHIFT (9U)
58362 /*! QTIMER3_TRM1_INPUT_SEL - QTIMER3 TMR1 input select
58363  */
58364 #define IOMUXC_GPR_GPR14_QTIMER3_TRM1_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_QTIMER3_TRM1_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR14_QTIMER3_TRM1_INPUT_SEL_MASK)
58365 
58366 #define IOMUXC_GPR_GPR14_QTIMER3_TRM2_INPUT_SEL_MASK (0x400U)
58367 #define IOMUXC_GPR_GPR14_QTIMER3_TRM2_INPUT_SEL_SHIFT (10U)
58368 /*! QTIMER3_TRM2_INPUT_SEL - QTIMER3 TMR2 input select
58369  */
58370 #define IOMUXC_GPR_GPR14_QTIMER3_TRM2_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_QTIMER3_TRM2_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR14_QTIMER3_TRM2_INPUT_SEL_MASK)
58371 
58372 #define IOMUXC_GPR_GPR14_QTIMER3_TRM3_INPUT_SEL_MASK (0x800U)
58373 #define IOMUXC_GPR_GPR14_QTIMER3_TRM3_INPUT_SEL_SHIFT (11U)
58374 /*! QTIMER3_TRM3_INPUT_SEL - QTIMER3 TMR3 input select
58375  */
58376 #define IOMUXC_GPR_GPR14_QTIMER3_TRM3_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_QTIMER3_TRM3_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR14_QTIMER3_TRM3_INPUT_SEL_MASK)
58377 
58378 #define IOMUXC_GPR_GPR14_DWP_MASK                (0x30000000U)
58379 #define IOMUXC_GPR_GPR14_DWP_SHIFT               (28U)
58380 /*! DWP - Domain write protection
58381  *  0b00..Both cores are allowed
58382  *  0b01..CM7 is forbidden
58383  *  0b10..CM4 is forbidden
58384  *  0b11..Both cores are forbidden
58385  */
58386 #define IOMUXC_GPR_GPR14_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_DWP_SHIFT)) & IOMUXC_GPR_GPR14_DWP_MASK)
58387 
58388 #define IOMUXC_GPR_GPR14_DWP_LOCK_MASK           (0xC0000000U)
58389 #define IOMUXC_GPR_GPR14_DWP_LOCK_SHIFT          (30U)
58390 /*! DWP_LOCK - Domain write protection lock
58391  *  0b00..Neither of DWP bits is locked
58392  *  0b01..The lower DWP bit is locked
58393  *  0b10..The higher DWP bit is locked
58394  *  0b11..Both DWP bits are locked
58395  */
58396 #define IOMUXC_GPR_GPR14_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR14_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR14_DWP_LOCK_MASK)
58397 /*! @} */
58398 
58399 /*! @name GPR15 - GPR15 General Purpose Register */
58400 /*! @{ */
58401 
58402 #define IOMUXC_GPR_GPR15_QTIMER4_TMR_CNTS_FREEZE_MASK (0x1U)
58403 #define IOMUXC_GPR_GPR15_QTIMER4_TMR_CNTS_FREEZE_SHIFT (0U)
58404 /*! QTIMER4_TMR_CNTS_FREEZE - QTIMER4 timer counter freeze
58405  */
58406 #define IOMUXC_GPR_GPR15_QTIMER4_TMR_CNTS_FREEZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_QTIMER4_TMR_CNTS_FREEZE_SHIFT)) & IOMUXC_GPR_GPR15_QTIMER4_TMR_CNTS_FREEZE_MASK)
58407 
58408 #define IOMUXC_GPR_GPR15_QTIMER4_TRM0_INPUT_SEL_MASK (0x100U)
58409 #define IOMUXC_GPR_GPR15_QTIMER4_TRM0_INPUT_SEL_SHIFT (8U)
58410 /*! QTIMER4_TRM0_INPUT_SEL - QTIMER4 TMR0 input select
58411  */
58412 #define IOMUXC_GPR_GPR15_QTIMER4_TRM0_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_QTIMER4_TRM0_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR15_QTIMER4_TRM0_INPUT_SEL_MASK)
58413 
58414 #define IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL_MASK (0x200U)
58415 #define IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL_SHIFT (9U)
58416 /*! QTIMER4_TRM1_INPUT_SEL - QTIMER4 TMR1 input select
58417  */
58418 #define IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL_MASK)
58419 
58420 #define IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL_MASK (0x400U)
58421 #define IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL_SHIFT (10U)
58422 /*! QTIMER4_TRM2_INPUT_SEL - QTIMER4 TMR2 input select
58423  */
58424 #define IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL_MASK)
58425 
58426 #define IOMUXC_GPR_GPR15_QTIMER4_TRM3_INPUT_SEL_MASK (0x800U)
58427 #define IOMUXC_GPR_GPR15_QTIMER4_TRM3_INPUT_SEL_SHIFT (11U)
58428 /*! QTIMER4_TRM3_INPUT_SEL - QTIMER4 TMR3 input select
58429  */
58430 #define IOMUXC_GPR_GPR15_QTIMER4_TRM3_INPUT_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_QTIMER4_TRM3_INPUT_SEL_SHIFT)) & IOMUXC_GPR_GPR15_QTIMER4_TRM3_INPUT_SEL_MASK)
58431 
58432 #define IOMUXC_GPR_GPR15_DWP_MASK                (0x30000000U)
58433 #define IOMUXC_GPR_GPR15_DWP_SHIFT               (28U)
58434 /*! DWP - Domain write protection
58435  *  0b00..Both cores are allowed
58436  *  0b01..CM7 is forbidden
58437  *  0b10..CM4 is forbidden
58438  *  0b11..Both cores are forbidden
58439  */
58440 #define IOMUXC_GPR_GPR15_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_DWP_SHIFT)) & IOMUXC_GPR_GPR15_DWP_MASK)
58441 
58442 #define IOMUXC_GPR_GPR15_DWP_LOCK_MASK           (0xC0000000U)
58443 #define IOMUXC_GPR_GPR15_DWP_LOCK_SHIFT          (30U)
58444 /*! DWP_LOCK - Domain write protection lock
58445  *  0b00..Neither of DWP bits is locked
58446  *  0b01..The lower DWP bit is locked
58447  *  0b10..The higher DWP bit is locked
58448  *  0b11..Both DWP bits are locked
58449  */
58450 #define IOMUXC_GPR_GPR15_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR15_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR15_DWP_LOCK_MASK)
58451 /*! @} */
58452 
58453 /*! @name GPR16 - GPR16 General Purpose Register */
58454 /*! @{ */
58455 
58456 #define IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL_MASK (0x4U)
58457 #define IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL_SHIFT (2U)
58458 /*! FLEXRAM_BANK_CFG_SEL - FlexRAM bank config source select
58459  */
58460 #define IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL_SHIFT)) & IOMUXC_GPR_GPR16_FLEXRAM_BANK_CFG_SEL_MASK)
58461 
58462 #define IOMUXC_GPR_GPR16_CM7_FORCE_HCLK_EN_MASK  (0x8U)
58463 #define IOMUXC_GPR_GPR16_CM7_FORCE_HCLK_EN_SHIFT (3U)
58464 /*! CM7_FORCE_HCLK_EN - CM7 platform AHB clock enable
58465  */
58466 #define IOMUXC_GPR_GPR16_CM7_FORCE_HCLK_EN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR16_CM7_FORCE_HCLK_EN_SHIFT)) & IOMUXC_GPR_GPR16_CM7_FORCE_HCLK_EN_MASK)
58467 
58468 #define IOMUXC_GPR_GPR16_M7_GPC_SLEEP_SEL_MASK   (0x20U)
58469 #define IOMUXC_GPR_GPR16_M7_GPC_SLEEP_SEL_SHIFT  (5U)
58470 /*! M7_GPC_SLEEP_SEL - CM7 sleep request selection
58471  */
58472 #define IOMUXC_GPR_GPR16_M7_GPC_SLEEP_SEL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR16_M7_GPC_SLEEP_SEL_SHIFT)) & IOMUXC_GPR_GPR16_M7_GPC_SLEEP_SEL_MASK)
58473 
58474 #define IOMUXC_GPR_GPR16_DWP_MASK                (0x30000000U)
58475 #define IOMUXC_GPR_GPR16_DWP_SHIFT               (28U)
58476 /*! DWP - Domain write protection
58477  *  0b00..Both cores are allowed
58478  *  0b01..CM7 is forbidden
58479  *  0b10..CM4 is forbidden
58480  *  0b11..Both cores are forbidden
58481  */
58482 #define IOMUXC_GPR_GPR16_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR16_DWP_SHIFT)) & IOMUXC_GPR_GPR16_DWP_MASK)
58483 
58484 #define IOMUXC_GPR_GPR16_DWP_LOCK_MASK           (0xC0000000U)
58485 #define IOMUXC_GPR_GPR16_DWP_LOCK_SHIFT          (30U)
58486 /*! DWP_LOCK - Domain write protection lock
58487  *  0b00..Neither of DWP bits is locked
58488  *  0b01..The lower DWP bit is locked
58489  *  0b10..The higher DWP bit is locked
58490  *  0b11..Both DWP bits are locked
58491  */
58492 #define IOMUXC_GPR_GPR16_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR16_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR16_DWP_LOCK_MASK)
58493 /*! @} */
58494 
58495 /*! @name GPR17 - GPR17 General Purpose Register */
58496 /*! @{ */
58497 
58498 #define IOMUXC_GPR_GPR17_FLEXRAM_BANK_CFG_LOW_MASK (0xFFFFU)
58499 #define IOMUXC_GPR_GPR17_FLEXRAM_BANK_CFG_LOW_SHIFT (0U)
58500 /*! FLEXRAM_BANK_CFG_LOW - FlexRAM bank config value
58501  */
58502 #define IOMUXC_GPR_GPR17_FLEXRAM_BANK_CFG_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR17_FLEXRAM_BANK_CFG_LOW_SHIFT)) & IOMUXC_GPR_GPR17_FLEXRAM_BANK_CFG_LOW_MASK)
58503 
58504 #define IOMUXC_GPR_GPR17_DWP_MASK                (0x30000000U)
58505 #define IOMUXC_GPR_GPR17_DWP_SHIFT               (28U)
58506 /*! DWP - Domain write protection
58507  *  0b00..Both cores are allowed
58508  *  0b01..CM7 is forbidden
58509  *  0b10..CM4 is forbidden
58510  *  0b11..Both cores are forbidden
58511  */
58512 #define IOMUXC_GPR_GPR17_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR17_DWP_SHIFT)) & IOMUXC_GPR_GPR17_DWP_MASK)
58513 
58514 #define IOMUXC_GPR_GPR17_DWP_LOCK_MASK           (0xC0000000U)
58515 #define IOMUXC_GPR_GPR17_DWP_LOCK_SHIFT          (30U)
58516 /*! DWP_LOCK - Domain write protection lock
58517  *  0b00..Neither of DWP bits is locked
58518  *  0b01..The lower DWP bit is locked
58519  *  0b10..The higher DWP bit is locked
58520  *  0b11..Both DWP bits are locked
58521  */
58522 #define IOMUXC_GPR_GPR17_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR17_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR17_DWP_LOCK_MASK)
58523 /*! @} */
58524 
58525 /*! @name GPR18 - GPR18 General Purpose Register */
58526 /*! @{ */
58527 
58528 #define IOMUXC_GPR_GPR18_FLEXRAM_BANK_CFG_HIGH_MASK (0xFFFFU)
58529 #define IOMUXC_GPR_GPR18_FLEXRAM_BANK_CFG_HIGH_SHIFT (0U)
58530 /*! FLEXRAM_BANK_CFG_HIGH - FlexRAM bank config value
58531  */
58532 #define IOMUXC_GPR_GPR18_FLEXRAM_BANK_CFG_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR18_FLEXRAM_BANK_CFG_HIGH_SHIFT)) & IOMUXC_GPR_GPR18_FLEXRAM_BANK_CFG_HIGH_MASK)
58533 
58534 #define IOMUXC_GPR_GPR18_DWP_MASK                (0x30000000U)
58535 #define IOMUXC_GPR_GPR18_DWP_SHIFT               (28U)
58536 /*! DWP - Domain write protection
58537  *  0b00..Both cores are allowed
58538  *  0b01..CM7 is forbidden
58539  *  0b10..CM4 is forbidden
58540  *  0b11..Both cores are forbidden
58541  */
58542 #define IOMUXC_GPR_GPR18_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR18_DWP_SHIFT)) & IOMUXC_GPR_GPR18_DWP_MASK)
58543 
58544 #define IOMUXC_GPR_GPR18_DWP_LOCK_MASK           (0xC0000000U)
58545 #define IOMUXC_GPR_GPR18_DWP_LOCK_SHIFT          (30U)
58546 /*! DWP_LOCK - Domain write protection lock
58547  *  0b00..Neither of DWP bits is locked
58548  *  0b01..The lower DWP bit is locked
58549  *  0b10..The higher DWP bit is locked
58550  *  0b11..Both DWP bits are locked
58551  */
58552 #define IOMUXC_GPR_GPR18_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR18_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR18_DWP_LOCK_MASK)
58553 /*! @} */
58554 
58555 /*! @name GPR20 - GPR20 General Purpose Register */
58556 /*! @{ */
58557 
58558 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_4_MASK (0x1U)
58559 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_4_SHIFT (0U)
58560 /*! IOMUXC_XBAR_DIR_SEL_4 - IOMUXC XBAR_INOUT4 function direction select
58561  */
58562 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_4(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_4_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_4_MASK)
58563 
58564 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_5_MASK (0x2U)
58565 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_5_SHIFT (1U)
58566 /*! IOMUXC_XBAR_DIR_SEL_5 - IOMUXC XBAR_INOUT5 function direction select
58567  */
58568 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_5(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_5_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_5_MASK)
58569 
58570 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_6_MASK (0x4U)
58571 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_6_SHIFT (2U)
58572 /*! IOMUXC_XBAR_DIR_SEL_6 - IOMUXC XBAR_INOUT6 function direction select
58573  */
58574 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_6(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_6_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_6_MASK)
58575 
58576 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_7_MASK (0x8U)
58577 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_7_SHIFT (3U)
58578 /*! IOMUXC_XBAR_DIR_SEL_7 - IOMUXC XBAR_INOUT7 function direction select
58579  */
58580 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_7(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_7_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_7_MASK)
58581 
58582 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_8_MASK (0x10U)
58583 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_8_SHIFT (4U)
58584 /*! IOMUXC_XBAR_DIR_SEL_8 - IOMUXC XBAR_INOUT8 function direction select
58585  */
58586 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_8(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_8_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_8_MASK)
58587 
58588 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_9_MASK (0x20U)
58589 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_9_SHIFT (5U)
58590 /*! IOMUXC_XBAR_DIR_SEL_9 - IOMUXC XBAR_INOUT9 function direction select
58591  */
58592 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_9(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_9_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_9_MASK)
58593 
58594 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_10_MASK (0x40U)
58595 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_10_SHIFT (6U)
58596 /*! IOMUXC_XBAR_DIR_SEL_10 - IOMUXC XBAR_INOUT10 function direction select
58597  */
58598 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_10(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_10_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_10_MASK)
58599 
58600 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_11_MASK (0x80U)
58601 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_11_SHIFT (7U)
58602 /*! IOMUXC_XBAR_DIR_SEL_11 - IOMUXC XBAR_INOUT11 function direction select
58603  */
58604 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_11(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_11_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_11_MASK)
58605 
58606 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_12_MASK (0x100U)
58607 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_12_SHIFT (8U)
58608 /*! IOMUXC_XBAR_DIR_SEL_12 - IOMUXC XBAR_INOUT12 function direction select
58609  */
58610 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_12(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_12_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_12_MASK)
58611 
58612 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_13_MASK (0x200U)
58613 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_13_SHIFT (9U)
58614 /*! IOMUXC_XBAR_DIR_SEL_13 - IOMUXC XBAR_INOUT13 function direction select
58615  */
58616 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_13(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_13_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_13_MASK)
58617 
58618 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_14_MASK (0x400U)
58619 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_14_SHIFT (10U)
58620 /*! IOMUXC_XBAR_DIR_SEL_14 - IOMUXC XBAR_INOUT14 function direction select
58621  */
58622 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_14(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_14_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_14_MASK)
58623 
58624 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_15_MASK (0x800U)
58625 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_15_SHIFT (11U)
58626 /*! IOMUXC_XBAR_DIR_SEL_15 - IOMUXC XBAR_INOUT15 function direction select
58627  */
58628 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_15(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_15_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_15_MASK)
58629 
58630 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_16_MASK (0x1000U)
58631 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_16_SHIFT (12U)
58632 /*! IOMUXC_XBAR_DIR_SEL_16 - IOMUXC XBAR_INOUT16 function direction select
58633  */
58634 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_16(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_16_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_16_MASK)
58635 
58636 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_17_MASK (0x2000U)
58637 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_17_SHIFT (13U)
58638 /*! IOMUXC_XBAR_DIR_SEL_17 - IOMUXC XBAR_INOUT17 function direction select
58639  */
58640 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_17(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_17_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_17_MASK)
58641 
58642 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_18_MASK (0x4000U)
58643 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_18_SHIFT (14U)
58644 /*! IOMUXC_XBAR_DIR_SEL_18 - IOMUXC XBAR_INOUT18 function direction select
58645  */
58646 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_18(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_18_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_18_MASK)
58647 
58648 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_19_MASK (0x8000U)
58649 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_19_SHIFT (15U)
58650 /*! IOMUXC_XBAR_DIR_SEL_19 - IOMUXC XBAR_INOUT19 function direction select
58651  */
58652 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_19(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_19_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_19_MASK)
58653 
58654 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_20_MASK (0x10000U)
58655 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_20_SHIFT (16U)
58656 /*! IOMUXC_XBAR_DIR_SEL_20 - IOMUXC XBAR_INOUT20 function direction select
58657  */
58658 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_20(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_20_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_20_MASK)
58659 
58660 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_21_MASK (0x20000U)
58661 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_21_SHIFT (17U)
58662 /*! IOMUXC_XBAR_DIR_SEL_21 - IOMUXC XBAR_INOUT21 function direction select
58663  */
58664 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_21(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_21_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_21_MASK)
58665 
58666 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_22_MASK (0x40000U)
58667 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_22_SHIFT (18U)
58668 /*! IOMUXC_XBAR_DIR_SEL_22 - IOMUXC XBAR_INOUT22 function direction select
58669  */
58670 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_22(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_22_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_22_MASK)
58671 
58672 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_23_MASK (0x80000U)
58673 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_23_SHIFT (19U)
58674 /*! IOMUXC_XBAR_DIR_SEL_23 - IOMUXC XBAR_INOUT23 function direction select
58675  */
58676 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_23(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_23_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_23_MASK)
58677 
58678 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_24_MASK (0x100000U)
58679 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_24_SHIFT (20U)
58680 /*! IOMUXC_XBAR_DIR_SEL_24 - IOMUXC XBAR_INOUT24 function direction select
58681  */
58682 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_24(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_24_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_24_MASK)
58683 
58684 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_25_MASK (0x200000U)
58685 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_25_SHIFT (21U)
58686 /*! IOMUXC_XBAR_DIR_SEL_25 - IOMUXC XBAR_INOUT25 function direction select
58687  */
58688 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_25(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_25_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_25_MASK)
58689 
58690 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_26_MASK (0x400000U)
58691 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_26_SHIFT (22U)
58692 /*! IOMUXC_XBAR_DIR_SEL_26 - IOMUXC XBAR_INOUT26 function direction select
58693  */
58694 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_26(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_26_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_26_MASK)
58695 
58696 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_27_MASK (0x800000U)
58697 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_27_SHIFT (23U)
58698 /*! IOMUXC_XBAR_DIR_SEL_27 - IOMUXC XBAR_INOUT27 function direction select
58699  */
58700 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_27(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_27_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_27_MASK)
58701 
58702 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_28_MASK (0x1000000U)
58703 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_28_SHIFT (24U)
58704 /*! IOMUXC_XBAR_DIR_SEL_28 - IOMUXC XBAR_INOUT28 function direction select
58705  */
58706 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_28(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_28_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_28_MASK)
58707 
58708 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_29_MASK (0x2000000U)
58709 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_29_SHIFT (25U)
58710 /*! IOMUXC_XBAR_DIR_SEL_29 - IOMUXC XBAR_INOUT29 function direction select
58711  */
58712 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_29(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_29_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_29_MASK)
58713 
58714 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_30_MASK (0x4000000U)
58715 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_30_SHIFT (26U)
58716 /*! IOMUXC_XBAR_DIR_SEL_30 - IOMUXC XBAR_INOUT30 function direction select
58717  */
58718 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_30(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_30_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_30_MASK)
58719 
58720 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_31_MASK (0x8000000U)
58721 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_31_SHIFT (27U)
58722 /*! IOMUXC_XBAR_DIR_SEL_31 - IOMUXC XBAR_INOUT31 function direction select
58723  */
58724 #define IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_31(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_31_SHIFT)) & IOMUXC_GPR_GPR20_IOMUXC_XBAR_DIR_SEL_31_MASK)
58725 
58726 #define IOMUXC_GPR_GPR20_DWP_MASK                (0x30000000U)
58727 #define IOMUXC_GPR_GPR20_DWP_SHIFT               (28U)
58728 /*! DWP - Domain write protection
58729  *  0b00..Both cores are allowed
58730  *  0b01..CM7 is forbidden
58731  *  0b10..CM4 is forbidden
58732  *  0b11..Both cores are forbidden
58733  */
58734 #define IOMUXC_GPR_GPR20_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_DWP_SHIFT)) & IOMUXC_GPR_GPR20_DWP_MASK)
58735 
58736 #define IOMUXC_GPR_GPR20_DWP_LOCK_MASK           (0xC0000000U)
58737 #define IOMUXC_GPR_GPR20_DWP_LOCK_SHIFT          (30U)
58738 /*! DWP_LOCK - Domain write protection lock
58739  *  0b00..Neither of DWP bits is locked
58740  *  0b01..The lower DWP bit is locked
58741  *  0b10..The higher DWP bit is locked
58742  *  0b11..Both DWP bits are locked
58743  */
58744 #define IOMUXC_GPR_GPR20_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR20_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR20_DWP_LOCK_MASK)
58745 /*! @} */
58746 
58747 /*! @name GPR21 - GPR21 General Purpose Register */
58748 /*! @{ */
58749 
58750 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_32_MASK (0x1U)
58751 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_32_SHIFT (0U)
58752 /*! IOMUXC_XBAR_DIR_SEL_32 - IOMUXC XBAR_INOUT32 function direction select
58753  */
58754 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_32(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_32_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_32_MASK)
58755 
58756 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_33_MASK (0x2U)
58757 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_33_SHIFT (1U)
58758 /*! IOMUXC_XBAR_DIR_SEL_33 - IOMUXC XBAR_INOUT33 function direction select
58759  */
58760 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_33(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_33_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_33_MASK)
58761 
58762 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_34_MASK (0x4U)
58763 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_34_SHIFT (2U)
58764 /*! IOMUXC_XBAR_DIR_SEL_34 - IOMUXC XBAR_INOUT34 function direction select
58765  */
58766 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_34(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_34_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_34_MASK)
58767 
58768 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_35_MASK (0x8U)
58769 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_35_SHIFT (3U)
58770 /*! IOMUXC_XBAR_DIR_SEL_35 - IOMUXC XBAR_INOUT35 function direction select
58771  */
58772 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_35(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_35_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_35_MASK)
58773 
58774 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_36_MASK (0x10U)
58775 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_36_SHIFT (4U)
58776 /*! IOMUXC_XBAR_DIR_SEL_36 - IOMUXC XBAR_INOUT36 function direction select
58777  */
58778 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_36(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_36_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_36_MASK)
58779 
58780 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_37_MASK (0x20U)
58781 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_37_SHIFT (5U)
58782 /*! IOMUXC_XBAR_DIR_SEL_37 - IOMUXC XBAR_INOUT37 function direction select
58783  */
58784 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_37(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_37_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_37_MASK)
58785 
58786 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_38_MASK (0x40U)
58787 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_38_SHIFT (6U)
58788 /*! IOMUXC_XBAR_DIR_SEL_38 - IOMUXC XBAR_INOUT38 function direction select
58789  */
58790 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_38(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_38_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_38_MASK)
58791 
58792 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_39_MASK (0x80U)
58793 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_39_SHIFT (7U)
58794 /*! IOMUXC_XBAR_DIR_SEL_39 - IOMUXC XBAR_INOUT39 function direction select
58795  */
58796 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_39(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_39_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_39_MASK)
58797 
58798 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_40_MASK (0x100U)
58799 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_40_SHIFT (8U)
58800 /*! IOMUXC_XBAR_DIR_SEL_40 - IOMUXC XBAR_INOUT40 function direction select
58801  */
58802 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_40(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_40_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_40_MASK)
58803 
58804 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_41_MASK (0x200U)
58805 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_41_SHIFT (9U)
58806 /*! IOMUXC_XBAR_DIR_SEL_41 - IOMUXC XBAR_INOUT41 function direction select
58807  */
58808 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_41(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_41_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_41_MASK)
58809 
58810 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_42_MASK (0x400U)
58811 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_42_SHIFT (10U)
58812 /*! IOMUXC_XBAR_DIR_SEL_42 - IOMUXC XBAR_INOUT42 function direction select
58813  */
58814 #define IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_42(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_42_SHIFT)) & IOMUXC_GPR_GPR21_IOMUXC_XBAR_DIR_SEL_42_MASK)
58815 
58816 #define IOMUXC_GPR_GPR21_DWP_MASK                (0x30000000U)
58817 #define IOMUXC_GPR_GPR21_DWP_SHIFT               (28U)
58818 /*! DWP - Domain write protection
58819  *  0b00..Both cores are allowed
58820  *  0b01..CM7 is forbidden
58821  *  0b10..CM4 is forbidden
58822  *  0b11..Both cores are forbidden
58823  */
58824 #define IOMUXC_GPR_GPR21_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_DWP_SHIFT)) & IOMUXC_GPR_GPR21_DWP_MASK)
58825 
58826 #define IOMUXC_GPR_GPR21_DWP_LOCK_MASK           (0xC0000000U)
58827 #define IOMUXC_GPR_GPR21_DWP_LOCK_SHIFT          (30U)
58828 /*! DWP_LOCK - Domain write protection lock
58829  *  0b00..Neither of DWP bits is locked
58830  *  0b01..The lower DWP bit is locked
58831  *  0b10..The higher DWP bit is locked
58832  *  0b11..Both DWP bits are locked
58833  */
58834 #define IOMUXC_GPR_GPR21_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR21_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR21_DWP_LOCK_MASK)
58835 /*! @} */
58836 
58837 /*! @name GPR22 - GPR22 General Purpose Register */
58838 /*! @{ */
58839 
58840 #define IOMUXC_GPR_GPR22_REF_1M_CLK_GPT1_MASK    (0x1U)
58841 #define IOMUXC_GPR_GPR22_REF_1M_CLK_GPT1_SHIFT   (0U)
58842 /*! REF_1M_CLK_GPT1 - GPT1 1 MHz clock source select
58843  */
58844 #define IOMUXC_GPR_GPR22_REF_1M_CLK_GPT1(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR22_REF_1M_CLK_GPT1_SHIFT)) & IOMUXC_GPR_GPR22_REF_1M_CLK_GPT1_MASK)
58845 
58846 #define IOMUXC_GPR_GPR22_DWP_MASK                (0x30000000U)
58847 #define IOMUXC_GPR_GPR22_DWP_SHIFT               (28U)
58848 /*! DWP - Domain write protection
58849  *  0b00..Both cores are allowed
58850  *  0b01..CM7 is forbidden
58851  *  0b10..CM4 is forbidden
58852  *  0b11..Both cores are forbidden
58853  */
58854 #define IOMUXC_GPR_GPR22_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR22_DWP_SHIFT)) & IOMUXC_GPR_GPR22_DWP_MASK)
58855 
58856 #define IOMUXC_GPR_GPR22_DWP_LOCK_MASK           (0xC0000000U)
58857 #define IOMUXC_GPR_GPR22_DWP_LOCK_SHIFT          (30U)
58858 /*! DWP_LOCK - Domain write protection lock
58859  *  0b00..Neither of DWP bits is locked
58860  *  0b01..The lower DWP bit is locked
58861  *  0b10..The higher DWP bit is locked
58862  *  0b11..Both DWP bits are locked
58863  */
58864 #define IOMUXC_GPR_GPR22_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR22_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR22_DWP_LOCK_MASK)
58865 /*! @} */
58866 
58867 /*! @name GPR23 - GPR23 General Purpose Register */
58868 /*! @{ */
58869 
58870 #define IOMUXC_GPR_GPR23_REF_1M_CLK_GPT2_MASK    (0x1U)
58871 #define IOMUXC_GPR_GPR23_REF_1M_CLK_GPT2_SHIFT   (0U)
58872 /*! REF_1M_CLK_GPT2 - GPT2 1 MHz clock source select
58873  */
58874 #define IOMUXC_GPR_GPR23_REF_1M_CLK_GPT2(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR23_REF_1M_CLK_GPT2_SHIFT)) & IOMUXC_GPR_GPR23_REF_1M_CLK_GPT2_MASK)
58875 
58876 #define IOMUXC_GPR_GPR23_GPT2_CAPIN1_SEL_MASK    (0x2U)
58877 #define IOMUXC_GPR_GPR23_GPT2_CAPIN1_SEL_SHIFT   (1U)
58878 /*! GPT2_CAPIN1_SEL - GPT2 input capture channel 1 source select
58879  */
58880 #define IOMUXC_GPR_GPR23_GPT2_CAPIN1_SEL(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR23_GPT2_CAPIN1_SEL_SHIFT)) & IOMUXC_GPR_GPR23_GPT2_CAPIN1_SEL_MASK)
58881 
58882 #define IOMUXC_GPR_GPR23_GPT2_CAPIN2_SEL_MASK    (0x4U)
58883 #define IOMUXC_GPR_GPR23_GPT2_CAPIN2_SEL_SHIFT   (2U)
58884 /*! GPT2_CAPIN2_SEL - GPT2 input capture channel 2 source select
58885  */
58886 #define IOMUXC_GPR_GPR23_GPT2_CAPIN2_SEL(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR23_GPT2_CAPIN2_SEL_SHIFT)) & IOMUXC_GPR_GPR23_GPT2_CAPIN2_SEL_MASK)
58887 
58888 #define IOMUXC_GPR_GPR23_DWP_MASK                (0x30000000U)
58889 #define IOMUXC_GPR_GPR23_DWP_SHIFT               (28U)
58890 /*! DWP - Domain write protection
58891  *  0b00..Both cores are allowed
58892  *  0b01..CM7 is forbidden
58893  *  0b10..CM4 is forbidden
58894  *  0b11..Both cores are forbidden
58895  */
58896 #define IOMUXC_GPR_GPR23_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR23_DWP_SHIFT)) & IOMUXC_GPR_GPR23_DWP_MASK)
58897 
58898 #define IOMUXC_GPR_GPR23_DWP_LOCK_MASK           (0xC0000000U)
58899 #define IOMUXC_GPR_GPR23_DWP_LOCK_SHIFT          (30U)
58900 /*! DWP_LOCK - Domain write protection lock
58901  *  0b00..Neither of DWP bits is locked
58902  *  0b01..The lower DWP bit is locked
58903  *  0b10..The higher DWP bit is locked
58904  *  0b11..Both DWP bits are locked
58905  */
58906 #define IOMUXC_GPR_GPR23_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR23_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR23_DWP_LOCK_MASK)
58907 /*! @} */
58908 
58909 /*! @name GPR24 - GPR24 General Purpose Register */
58910 /*! @{ */
58911 
58912 #define IOMUXC_GPR_GPR24_REF_1M_CLK_GPT3_MASK    (0x1U)
58913 #define IOMUXC_GPR_GPR24_REF_1M_CLK_GPT3_SHIFT   (0U)
58914 /*! REF_1M_CLK_GPT3 - GPT3 1 MHz clock source select
58915  */
58916 #define IOMUXC_GPR_GPR24_REF_1M_CLK_GPT3(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR24_REF_1M_CLK_GPT3_SHIFT)) & IOMUXC_GPR_GPR24_REF_1M_CLK_GPT3_MASK)
58917 
58918 #define IOMUXC_GPR_GPR24_GPT3_CAPIN1_SEL_MASK    (0x2U)
58919 #define IOMUXC_GPR_GPR24_GPT3_CAPIN1_SEL_SHIFT   (1U)
58920 /*! GPT3_CAPIN1_SEL - GPT3 input capture channel 1 source select
58921  */
58922 #define IOMUXC_GPR_GPR24_GPT3_CAPIN1_SEL(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR24_GPT3_CAPIN1_SEL_SHIFT)) & IOMUXC_GPR_GPR24_GPT3_CAPIN1_SEL_MASK)
58923 
58924 #define IOMUXC_GPR_GPR24_DWP_MASK                (0x30000000U)
58925 #define IOMUXC_GPR_GPR24_DWP_SHIFT               (28U)
58926 /*! DWP - Domain write protection
58927  *  0b00..Both cores are allowed
58928  *  0b01..CM7 is forbidden
58929  *  0b10..CM4 is forbidden
58930  *  0b11..Both cores are forbidden
58931  */
58932 #define IOMUXC_GPR_GPR24_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR24_DWP_SHIFT)) & IOMUXC_GPR_GPR24_DWP_MASK)
58933 
58934 #define IOMUXC_GPR_GPR24_DWP_LOCK_MASK           (0xC0000000U)
58935 #define IOMUXC_GPR_GPR24_DWP_LOCK_SHIFT          (30U)
58936 /*! DWP_LOCK - Domain write protection lock
58937  *  0b00..Neither of DWP bits is locked
58938  *  0b01..The lower DWP bit is locked
58939  *  0b10..The higher DWP bit is locked
58940  *  0b11..Both DWP bits are locked
58941  */
58942 #define IOMUXC_GPR_GPR24_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR24_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR24_DWP_LOCK_MASK)
58943 /*! @} */
58944 
58945 /*! @name GPR25 - GPR25 General Purpose Register */
58946 /*! @{ */
58947 
58948 #define IOMUXC_GPR_GPR25_REF_1M_CLK_GPT4_MASK    (0x1U)
58949 #define IOMUXC_GPR_GPR25_REF_1M_CLK_GPT4_SHIFT   (0U)
58950 /*! REF_1M_CLK_GPT4 - GPT4 1 MHz clock source select
58951  */
58952 #define IOMUXC_GPR_GPR25_REF_1M_CLK_GPT4(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR25_REF_1M_CLK_GPT4_SHIFT)) & IOMUXC_GPR_GPR25_REF_1M_CLK_GPT4_MASK)
58953 
58954 #define IOMUXC_GPR_GPR25_DWP_MASK                (0x30000000U)
58955 #define IOMUXC_GPR_GPR25_DWP_SHIFT               (28U)
58956 /*! DWP - Domain write protection
58957  *  0b00..Both cores are allowed
58958  *  0b01..CM7 is forbidden
58959  *  0b10..CM4 is forbidden
58960  *  0b11..Both cores are forbidden
58961  */
58962 #define IOMUXC_GPR_GPR25_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR25_DWP_SHIFT)) & IOMUXC_GPR_GPR25_DWP_MASK)
58963 
58964 #define IOMUXC_GPR_GPR25_DWP_LOCK_MASK           (0xC0000000U)
58965 #define IOMUXC_GPR_GPR25_DWP_LOCK_SHIFT          (30U)
58966 /*! DWP_LOCK - Domain write protection lock
58967  *  0b00..Neither of DWP bits is locked
58968  *  0b01..The lower DWP bit is locked
58969  *  0b10..The higher DWP bit is locked
58970  *  0b11..Both DWP bits are locked
58971  */
58972 #define IOMUXC_GPR_GPR25_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR25_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR25_DWP_LOCK_MASK)
58973 /*! @} */
58974 
58975 /*! @name GPR26 - GPR26 General Purpose Register */
58976 /*! @{ */
58977 
58978 #define IOMUXC_GPR_GPR26_REF_1M_CLK_GPT5_MASK    (0x1U)
58979 #define IOMUXC_GPR_GPR26_REF_1M_CLK_GPT5_SHIFT   (0U)
58980 /*! REF_1M_CLK_GPT5 - GPT5 1 MHz clock source select
58981  */
58982 #define IOMUXC_GPR_GPR26_REF_1M_CLK_GPT5(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR26_REF_1M_CLK_GPT5_SHIFT)) & IOMUXC_GPR_GPR26_REF_1M_CLK_GPT5_MASK)
58983 
58984 #define IOMUXC_GPR_GPR26_DWP_MASK                (0x30000000U)
58985 #define IOMUXC_GPR_GPR26_DWP_SHIFT               (28U)
58986 /*! DWP - Domain write protection
58987  *  0b00..Both cores are allowed
58988  *  0b01..CM7 is forbidden
58989  *  0b10..CM4 is forbidden
58990  *  0b11..Both cores are forbidden
58991  */
58992 #define IOMUXC_GPR_GPR26_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR26_DWP_SHIFT)) & IOMUXC_GPR_GPR26_DWP_MASK)
58993 
58994 #define IOMUXC_GPR_GPR26_DWP_LOCK_MASK           (0xC0000000U)
58995 #define IOMUXC_GPR_GPR26_DWP_LOCK_SHIFT          (30U)
58996 /*! DWP_LOCK - Domain write protection lock
58997  *  0b00..Neither of DWP bits is locked
58998  *  0b01..The lower DWP bit is locked
58999  *  0b10..The higher DWP bit is locked
59000  *  0b11..Both DWP bits are locked
59001  */
59002 #define IOMUXC_GPR_GPR26_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR26_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR26_DWP_LOCK_MASK)
59003 /*! @} */
59004 
59005 /*! @name GPR27 - GPR27 General Purpose Register */
59006 /*! @{ */
59007 
59008 #define IOMUXC_GPR_GPR27_REF_1M_CLK_GPT6_MASK    (0x1U)
59009 #define IOMUXC_GPR_GPR27_REF_1M_CLK_GPT6_SHIFT   (0U)
59010 /*! REF_1M_CLK_GPT6 - GPT6 1 MHz clock source select
59011  */
59012 #define IOMUXC_GPR_GPR27_REF_1M_CLK_GPT6(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR27_REF_1M_CLK_GPT6_SHIFT)) & IOMUXC_GPR_GPR27_REF_1M_CLK_GPT6_MASK)
59013 
59014 #define IOMUXC_GPR_GPR27_DWP_MASK                (0x30000000U)
59015 #define IOMUXC_GPR_GPR27_DWP_SHIFT               (28U)
59016 /*! DWP - Domain write protection
59017  *  0b00..Both cores are allowed
59018  *  0b01..CM7 is forbidden
59019  *  0b10..CM4 is forbidden
59020  *  0b11..Both cores are forbidden
59021  */
59022 #define IOMUXC_GPR_GPR27_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR27_DWP_SHIFT)) & IOMUXC_GPR_GPR27_DWP_MASK)
59023 
59024 #define IOMUXC_GPR_GPR27_DWP_LOCK_MASK           (0xC0000000U)
59025 #define IOMUXC_GPR_GPR27_DWP_LOCK_SHIFT          (30U)
59026 /*! DWP_LOCK - Domain write protection lock
59027  *  0b00..Neither of DWP bits is locked
59028  *  0b01..The lower DWP bit is locked
59029  *  0b10..The higher DWP bit is locked
59030  *  0b11..Both DWP bits are locked
59031  */
59032 #define IOMUXC_GPR_GPR27_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR27_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR27_DWP_LOCK_MASK)
59033 /*! @} */
59034 
59035 /*! @name GPR28 - GPR28 General Purpose Register */
59036 /*! @{ */
59037 
59038 #define IOMUXC_GPR_GPR28_ARCACHE_USDHC_MASK      (0x1U)
59039 #define IOMUXC_GPR_GPR28_ARCACHE_USDHC_SHIFT     (0U)
59040 /*! ARCACHE_USDHC - uSDHC block cacheable attribute value of AXI read transactions
59041  */
59042 #define IOMUXC_GPR_GPR28_ARCACHE_USDHC(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_ARCACHE_USDHC_SHIFT)) & IOMUXC_GPR_GPR28_ARCACHE_USDHC_MASK)
59043 
59044 #define IOMUXC_GPR_GPR28_AWCACHE_USDHC_MASK      (0x2U)
59045 #define IOMUXC_GPR_GPR28_AWCACHE_USDHC_SHIFT     (1U)
59046 /*! AWCACHE_USDHC - uSDHC block cacheable attribute value of AXI write transactions
59047  */
59048 #define IOMUXC_GPR_GPR28_AWCACHE_USDHC(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_AWCACHE_USDHC_SHIFT)) & IOMUXC_GPR_GPR28_AWCACHE_USDHC_MASK)
59049 
59050 #define IOMUXC_GPR_GPR28_CACHE_ENET1G_MASK       (0x20U)
59051 #define IOMUXC_GPR_GPR28_CACHE_ENET1G_SHIFT      (5U)
59052 #define IOMUXC_GPR_GPR28_CACHE_ENET1G(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_CACHE_ENET1G_SHIFT)) & IOMUXC_GPR_GPR28_CACHE_ENET1G_MASK)
59053 
59054 #define IOMUXC_GPR_GPR28_CACHE_ENET_MASK         (0x80U)
59055 #define IOMUXC_GPR_GPR28_CACHE_ENET_SHIFT        (7U)
59056 /*! CACHE_ENET - ENET block cacheable attribute value of AXI transactions
59057  */
59058 #define IOMUXC_GPR_GPR28_CACHE_ENET(x)           (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_CACHE_ENET_SHIFT)) & IOMUXC_GPR_GPR28_CACHE_ENET_MASK)
59059 
59060 #define IOMUXC_GPR_GPR28_CACHE_USB_MASK          (0x2000U)
59061 #define IOMUXC_GPR_GPR28_CACHE_USB_SHIFT         (13U)
59062 /*! CACHE_USB - USB block cacheable attribute value of AXI transactions
59063  */
59064 #define IOMUXC_GPR_GPR28_CACHE_USB(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_CACHE_USB_SHIFT)) & IOMUXC_GPR_GPR28_CACHE_USB_MASK)
59065 
59066 #define IOMUXC_GPR_GPR28_DWP_MASK                (0x30000000U)
59067 #define IOMUXC_GPR_GPR28_DWP_SHIFT               (28U)
59068 /*! DWP - Domain write protection
59069  *  0b00..Both cores are allowed
59070  *  0b01..CM7 is forbidden
59071  *  0b10..CM4 is forbidden
59072  *  0b11..Both cores are forbidden
59073  */
59074 #define IOMUXC_GPR_GPR28_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_DWP_SHIFT)) & IOMUXC_GPR_GPR28_DWP_MASK)
59075 
59076 #define IOMUXC_GPR_GPR28_DWP_LOCK_MASK           (0xC0000000U)
59077 #define IOMUXC_GPR_GPR28_DWP_LOCK_SHIFT          (30U)
59078 /*! DWP_LOCK - Domain write protection lock
59079  *  0b00..Neither of DWP bits is locked
59080  *  0b01..The lower DWP bit is locked
59081  *  0b10..The higher DWP bit is locked
59082  *  0b11..Both DWP bits are locked
59083  */
59084 #define IOMUXC_GPR_GPR28_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR28_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR28_DWP_LOCK_MASK)
59085 /*! @} */
59086 
59087 /*! @name GPR29 - GPR29 General Purpose Register */
59088 /*! @{ */
59089 
59090 #define IOMUXC_GPR_GPR29_USBPHY1_IPG_CLK_ACTIVE_MASK (0x1U)
59091 #define IOMUXC_GPR_GPR29_USBPHY1_IPG_CLK_ACTIVE_SHIFT (0U)
59092 /*! USBPHY1_IPG_CLK_ACTIVE - USBPHY1 register access clock enable
59093  */
59094 #define IOMUXC_GPR_GPR29_USBPHY1_IPG_CLK_ACTIVE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR29_USBPHY1_IPG_CLK_ACTIVE_SHIFT)) & IOMUXC_GPR_GPR29_USBPHY1_IPG_CLK_ACTIVE_MASK)
59095 
59096 #define IOMUXC_GPR_GPR29_DWP_MASK                (0x30000000U)
59097 #define IOMUXC_GPR_GPR29_DWP_SHIFT               (28U)
59098 /*! DWP - Domain write protection
59099  *  0b00..Both cores are allowed
59100  *  0b01..CM7 is forbidden
59101  *  0b10..CM4 is forbidden
59102  *  0b11..Both cores are forbidden
59103  */
59104 #define IOMUXC_GPR_GPR29_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR29_DWP_SHIFT)) & IOMUXC_GPR_GPR29_DWP_MASK)
59105 
59106 #define IOMUXC_GPR_GPR29_DWP_LOCK_MASK           (0xC0000000U)
59107 #define IOMUXC_GPR_GPR29_DWP_LOCK_SHIFT          (30U)
59108 /*! DWP_LOCK - Domain write protection lock
59109  *  0b00..Neither of DWP bits is locked
59110  *  0b01..The lower DWP bit is locked
59111  *  0b10..The higher DWP bit is locked
59112  *  0b11..Both DWP bits are locked
59113  */
59114 #define IOMUXC_GPR_GPR29_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR29_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR29_DWP_LOCK_MASK)
59115 /*! @} */
59116 
59117 /*! @name GPR30 - GPR30 General Purpose Register */
59118 /*! @{ */
59119 
59120 #define IOMUXC_GPR_GPR30_USBPHY2_IPG_CLK_ACTIVE_MASK (0x1U)
59121 #define IOMUXC_GPR_GPR30_USBPHY2_IPG_CLK_ACTIVE_SHIFT (0U)
59122 /*! USBPHY2_IPG_CLK_ACTIVE - USBPHY2 register access clock enable
59123  */
59124 #define IOMUXC_GPR_GPR30_USBPHY2_IPG_CLK_ACTIVE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR30_USBPHY2_IPG_CLK_ACTIVE_SHIFT)) & IOMUXC_GPR_GPR30_USBPHY2_IPG_CLK_ACTIVE_MASK)
59125 
59126 #define IOMUXC_GPR_GPR30_DWP_MASK                (0x30000000U)
59127 #define IOMUXC_GPR_GPR30_DWP_SHIFT               (28U)
59128 /*! DWP - Domain write protection
59129  *  0b00..Both cores are allowed
59130  *  0b01..CM7 is forbidden
59131  *  0b10..CM4 is forbidden
59132  *  0b11..Both cores are forbidden
59133  */
59134 #define IOMUXC_GPR_GPR30_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR30_DWP_SHIFT)) & IOMUXC_GPR_GPR30_DWP_MASK)
59135 
59136 #define IOMUXC_GPR_GPR30_DWP_LOCK_MASK           (0xC0000000U)
59137 #define IOMUXC_GPR_GPR30_DWP_LOCK_SHIFT          (30U)
59138 /*! DWP_LOCK - Domain write protection lock
59139  *  0b00..Neither of DWP bits is locked
59140  *  0b01..The lower DWP bit is locked
59141  *  0b10..The higher DWP bit is locked
59142  *  0b11..Both DWP bits are locked
59143  */
59144 #define IOMUXC_GPR_GPR30_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR30_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR30_DWP_LOCK_MASK)
59145 /*! @} */
59146 
59147 /*! @name GPR31 - GPR31 General Purpose Register */
59148 /*! @{ */
59149 
59150 #define IOMUXC_GPR_GPR31_RMW2_WAIT_BVALID_CPL_MASK (0x1U)
59151 #define IOMUXC_GPR_GPR31_RMW2_WAIT_BVALID_CPL_SHIFT (0U)
59152 /*! RMW2_WAIT_BVALID_CPL - OCRAM M7 RMW wait enable
59153  */
59154 #define IOMUXC_GPR_GPR31_RMW2_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR31_RMW2_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR31_RMW2_WAIT_BVALID_CPL_MASK)
59155 
59156 #define IOMUXC_GPR_GPR31_OCRAM_M7_CLK_GATING_MASK (0x4U)
59157 #define IOMUXC_GPR_GPR31_OCRAM_M7_CLK_GATING_SHIFT (2U)
59158 /*! OCRAM_M7_CLK_GATING - OCRAM M7 clock gating enable
59159  */
59160 #define IOMUXC_GPR_GPR31_OCRAM_M7_CLK_GATING(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR31_OCRAM_M7_CLK_GATING_SHIFT)) & IOMUXC_GPR_GPR31_OCRAM_M7_CLK_GATING_MASK)
59161 
59162 #define IOMUXC_GPR_GPR31_DWP_MASK                (0x30000000U)
59163 #define IOMUXC_GPR_GPR31_DWP_SHIFT               (28U)
59164 /*! DWP - Domain write protection
59165  *  0b00..Both cores are allowed
59166  *  0b01..CM7 is forbidden
59167  *  0b10..CM4 is forbidden
59168  *  0b11..Both cores are forbidden
59169  */
59170 #define IOMUXC_GPR_GPR31_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR31_DWP_SHIFT)) & IOMUXC_GPR_GPR31_DWP_MASK)
59171 
59172 #define IOMUXC_GPR_GPR31_DWP_LOCK_MASK           (0xC0000000U)
59173 #define IOMUXC_GPR_GPR31_DWP_LOCK_SHIFT          (30U)
59174 /*! DWP_LOCK - Domain write protection lock
59175  *  0b00..Neither of DWP bits is locked
59176  *  0b01..The lower DWP bit is locked
59177  *  0b10..The higher DWP bit is locked
59178  *  0b11..Both DWP bits are locked
59179  */
59180 #define IOMUXC_GPR_GPR31_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR31_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR31_DWP_LOCK_MASK)
59181 /*! @} */
59182 
59183 /*! @name GPR32 - GPR32 General Purpose Register */
59184 /*! @{ */
59185 
59186 #define IOMUXC_GPR_GPR32_RMW1_WAIT_BVALID_CPL_MASK (0x1U)
59187 #define IOMUXC_GPR_GPR32_RMW1_WAIT_BVALID_CPL_SHIFT (0U)
59188 /*! RMW1_WAIT_BVALID_CPL - OCRAM1 RMW wait enable
59189  */
59190 #define IOMUXC_GPR_GPR32_RMW1_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR32_RMW1_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR32_RMW1_WAIT_BVALID_CPL_MASK)
59191 
59192 #define IOMUXC_GPR_GPR32_DWP_MASK                (0x30000000U)
59193 #define IOMUXC_GPR_GPR32_DWP_SHIFT               (28U)
59194 /*! DWP - Domain write protection
59195  *  0b00..Both cores are allowed
59196  *  0b01..CM7 is forbidden
59197  *  0b10..CM4 is forbidden
59198  *  0b11..Both cores are forbidden
59199  */
59200 #define IOMUXC_GPR_GPR32_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR32_DWP_SHIFT)) & IOMUXC_GPR_GPR32_DWP_MASK)
59201 
59202 #define IOMUXC_GPR_GPR32_DWP_LOCK_MASK           (0xC0000000U)
59203 #define IOMUXC_GPR_GPR32_DWP_LOCK_SHIFT          (30U)
59204 /*! DWP_LOCK - Domain write protection lock
59205  *  0b00..Neither of DWP bits is locked
59206  *  0b01..The lower DWP bit is locked
59207  *  0b10..The higher DWP bit is locked
59208  *  0b11..Both DWP bits are locked
59209  */
59210 #define IOMUXC_GPR_GPR32_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR32_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR32_DWP_LOCK_MASK)
59211 /*! @} */
59212 
59213 /*! @name GPR33 - GPR33 General Purpose Register */
59214 /*! @{ */
59215 
59216 #define IOMUXC_GPR_GPR33_RMW2_WAIT_BVALID_CPL_MASK (0x1U)
59217 #define IOMUXC_GPR_GPR33_RMW2_WAIT_BVALID_CPL_SHIFT (0U)
59218 /*! RMW2_WAIT_BVALID_CPL - OCRAM2 RMW wait enable
59219  */
59220 #define IOMUXC_GPR_GPR33_RMW2_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR33_RMW2_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR33_RMW2_WAIT_BVALID_CPL_MASK)
59221 
59222 #define IOMUXC_GPR_GPR33_DWP_MASK                (0x30000000U)
59223 #define IOMUXC_GPR_GPR33_DWP_SHIFT               (28U)
59224 /*! DWP - Domain write protection
59225  *  0b00..Both cores are allowed
59226  *  0b01..CM7 is forbidden
59227  *  0b10..CM4 is forbidden
59228  *  0b11..Both cores are forbidden
59229  */
59230 #define IOMUXC_GPR_GPR33_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR33_DWP_SHIFT)) & IOMUXC_GPR_GPR33_DWP_MASK)
59231 
59232 #define IOMUXC_GPR_GPR33_DWP_LOCK_MASK           (0xC0000000U)
59233 #define IOMUXC_GPR_GPR33_DWP_LOCK_SHIFT          (30U)
59234 /*! DWP_LOCK - Domain write protection lock
59235  *  0b00..Neither of DWP bits is locked
59236  *  0b01..The lower DWP bit is locked
59237  *  0b10..The higher DWP bit is locked
59238  *  0b11..Both DWP bits are locked
59239  */
59240 #define IOMUXC_GPR_GPR33_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR33_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR33_DWP_LOCK_MASK)
59241 /*! @} */
59242 
59243 /*! @name GPR34 - GPR34 General Purpose Register */
59244 /*! @{ */
59245 
59246 #define IOMUXC_GPR_GPR34_XECC_FLEXSPI1_WAIT_BVALID_CPL_MASK (0x1U)
59247 #define IOMUXC_GPR_GPR34_XECC_FLEXSPI1_WAIT_BVALID_CPL_SHIFT (0U)
59248 /*! XECC_FLEXSPI1_WAIT_BVALID_CPL - XECC_FLEXSPI1 RMW wait enable
59249  */
59250 #define IOMUXC_GPR_GPR34_XECC_FLEXSPI1_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR34_XECC_FLEXSPI1_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR34_XECC_FLEXSPI1_WAIT_BVALID_CPL_MASK)
59251 
59252 #define IOMUXC_GPR_GPR34_FLEXSPI1_OTFAD_EN_MASK  (0x2U)
59253 #define IOMUXC_GPR_GPR34_FLEXSPI1_OTFAD_EN_SHIFT (1U)
59254 /*! FLEXSPI1_OTFAD_EN - FlexSPI1 OTFAD enable
59255  */
59256 #define IOMUXC_GPR_GPR34_FLEXSPI1_OTFAD_EN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR34_FLEXSPI1_OTFAD_EN_SHIFT)) & IOMUXC_GPR_GPR34_FLEXSPI1_OTFAD_EN_MASK)
59257 
59258 #define IOMUXC_GPR_GPR34_DWP_MASK                (0x30000000U)
59259 #define IOMUXC_GPR_GPR34_DWP_SHIFT               (28U)
59260 /*! DWP - Domain write protection
59261  *  0b00..Both cores are allowed
59262  *  0b01..CM7 is forbidden
59263  *  0b10..CM4 is forbidden
59264  *  0b11..Both cores are forbidden
59265  */
59266 #define IOMUXC_GPR_GPR34_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR34_DWP_SHIFT)) & IOMUXC_GPR_GPR34_DWP_MASK)
59267 
59268 #define IOMUXC_GPR_GPR34_DWP_LOCK_MASK           (0xC0000000U)
59269 #define IOMUXC_GPR_GPR34_DWP_LOCK_SHIFT          (30U)
59270 /*! DWP_LOCK - Domain write protection lock
59271  *  0b00..Neither of DWP bits is locked
59272  *  0b01..The lower DWP bit is locked
59273  *  0b10..The higher DWP bit is locked
59274  *  0b11..Both DWP bits are locked
59275  */
59276 #define IOMUXC_GPR_GPR34_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR34_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR34_DWP_LOCK_MASK)
59277 /*! @} */
59278 
59279 /*! @name GPR35 - GPR35 General Purpose Register */
59280 /*! @{ */
59281 
59282 #define IOMUXC_GPR_GPR35_XECC_FLEXSPI2_WAIT_BVALID_CPL_MASK (0x1U)
59283 #define IOMUXC_GPR_GPR35_XECC_FLEXSPI2_WAIT_BVALID_CPL_SHIFT (0U)
59284 /*! XECC_FLEXSPI2_WAIT_BVALID_CPL - XECC_FLEXSPI2 RMW wait enable
59285  */
59286 #define IOMUXC_GPR_GPR35_XECC_FLEXSPI2_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR35_XECC_FLEXSPI2_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR35_XECC_FLEXSPI2_WAIT_BVALID_CPL_MASK)
59287 
59288 #define IOMUXC_GPR_GPR35_FLEXSPI2_OTFAD_EN_MASK  (0x2U)
59289 #define IOMUXC_GPR_GPR35_FLEXSPI2_OTFAD_EN_SHIFT (1U)
59290 /*! FLEXSPI2_OTFAD_EN - FlexSPI2 OTFAD enable
59291  */
59292 #define IOMUXC_GPR_GPR35_FLEXSPI2_OTFAD_EN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR35_FLEXSPI2_OTFAD_EN_SHIFT)) & IOMUXC_GPR_GPR35_FLEXSPI2_OTFAD_EN_MASK)
59293 
59294 #define IOMUXC_GPR_GPR35_DWP_MASK                (0x30000000U)
59295 #define IOMUXC_GPR_GPR35_DWP_SHIFT               (28U)
59296 /*! DWP - Domain write protection
59297  *  0b00..Both cores are allowed
59298  *  0b01..CM7 is forbidden
59299  *  0b10..CM4 is forbidden
59300  *  0b11..Both cores are forbidden
59301  */
59302 #define IOMUXC_GPR_GPR35_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR35_DWP_SHIFT)) & IOMUXC_GPR_GPR35_DWP_MASK)
59303 
59304 #define IOMUXC_GPR_GPR35_DWP_LOCK_MASK           (0xC0000000U)
59305 #define IOMUXC_GPR_GPR35_DWP_LOCK_SHIFT          (30U)
59306 /*! DWP_LOCK - Domain write protection lock
59307  *  0b00..Neither of DWP bits is locked
59308  *  0b01..The lower DWP bit is locked
59309  *  0b10..The higher DWP bit is locked
59310  *  0b11..Both DWP bits are locked
59311  */
59312 #define IOMUXC_GPR_GPR35_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR35_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR35_DWP_LOCK_MASK)
59313 /*! @} */
59314 
59315 /*! @name GPR36 - GPR36 General Purpose Register */
59316 /*! @{ */
59317 
59318 #define IOMUXC_GPR_GPR36_XECC_SEMC_WAIT_BVALID_CPL_MASK (0x1U)
59319 #define IOMUXC_GPR_GPR36_XECC_SEMC_WAIT_BVALID_CPL_SHIFT (0U)
59320 /*! XECC_SEMC_WAIT_BVALID_CPL - XECC_SEMC RMW wait enable
59321  */
59322 #define IOMUXC_GPR_GPR36_XECC_SEMC_WAIT_BVALID_CPL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR36_XECC_SEMC_WAIT_BVALID_CPL_SHIFT)) & IOMUXC_GPR_GPR36_XECC_SEMC_WAIT_BVALID_CPL_MASK)
59323 
59324 #define IOMUXC_GPR_GPR36_DWP_MASK                (0x30000000U)
59325 #define IOMUXC_GPR_GPR36_DWP_SHIFT               (28U)
59326 /*! DWP - Domain write protection
59327  *  0b00..Both cores are allowed
59328  *  0b01..CM7 is forbidden
59329  *  0b10..CM4 is forbidden
59330  *  0b11..Both cores are forbidden
59331  */
59332 #define IOMUXC_GPR_GPR36_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR36_DWP_SHIFT)) & IOMUXC_GPR_GPR36_DWP_MASK)
59333 
59334 #define IOMUXC_GPR_GPR36_DWP_LOCK_MASK           (0xC0000000U)
59335 #define IOMUXC_GPR_GPR36_DWP_LOCK_SHIFT          (30U)
59336 /*! DWP_LOCK - Domain write protection lock
59337  *  0b00..Neither of DWP bits is locked
59338  *  0b01..The lower DWP bit is locked
59339  *  0b10..The higher DWP bit is locked
59340  *  0b11..Both DWP bits are locked
59341  */
59342 #define IOMUXC_GPR_GPR36_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR36_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR36_DWP_LOCK_MASK)
59343 /*! @} */
59344 
59345 /*! @name GPR37 - GPR37 General Purpose Register */
59346 /*! @{ */
59347 
59348 #define IOMUXC_GPR_GPR37_NIDEN_MASK              (0x1U)
59349 #define IOMUXC_GPR_GPR37_NIDEN_SHIFT             (0U)
59350 /*! NIDEN - ARM non-secure (non-invasive) debug enable
59351  */
59352 #define IOMUXC_GPR_GPR37_NIDEN(x)                (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_NIDEN_SHIFT)) & IOMUXC_GPR_GPR37_NIDEN_MASK)
59353 
59354 #define IOMUXC_GPR_GPR37_DBG_EN_MASK             (0x2U)
59355 #define IOMUXC_GPR_GPR37_DBG_EN_SHIFT            (1U)
59356 /*! DBG_EN - ARM invasive debug enable
59357  */
59358 #define IOMUXC_GPR_GPR37_DBG_EN(x)               (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_DBG_EN_SHIFT)) & IOMUXC_GPR_GPR37_DBG_EN_MASK)
59359 
59360 #define IOMUXC_GPR_GPR37_EXC_MON_MASK            (0x8U)
59361 #define IOMUXC_GPR_GPR37_EXC_MON_SHIFT           (3U)
59362 /*! EXC_MON - Exclusive monitor response select of illegal command
59363  */
59364 #define IOMUXC_GPR_GPR37_EXC_MON(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_EXC_MON_SHIFT)) & IOMUXC_GPR_GPR37_EXC_MON_MASK)
59365 
59366 #define IOMUXC_GPR_GPR37_M7_DBG_ACK_MASK_MASK    (0x20U)
59367 #define IOMUXC_GPR_GPR37_M7_DBG_ACK_MASK_SHIFT   (5U)
59368 /*! M7_DBG_ACK_MASK - CM7 debug halt mask
59369  */
59370 #define IOMUXC_GPR_GPR37_M7_DBG_ACK_MASK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_M7_DBG_ACK_MASK_SHIFT)) & IOMUXC_GPR_GPR37_M7_DBG_ACK_MASK_MASK)
59371 
59372 #define IOMUXC_GPR_GPR37_M4_DBG_ACK_MASK_MASK    (0x40U)
59373 #define IOMUXC_GPR_GPR37_M4_DBG_ACK_MASK_SHIFT   (6U)
59374 /*! M4_DBG_ACK_MASK - CM4 debug halt mask
59375  */
59376 #define IOMUXC_GPR_GPR37_M4_DBG_ACK_MASK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_M4_DBG_ACK_MASK_SHIFT)) & IOMUXC_GPR_GPR37_M4_DBG_ACK_MASK_MASK)
59377 
59378 #define IOMUXC_GPR_GPR37_DWP_MASK                (0x30000000U)
59379 #define IOMUXC_GPR_GPR37_DWP_SHIFT               (28U)
59380 /*! DWP - Domain write protection
59381  *  0b00..Both cores are allowed
59382  *  0b01..CM7 is forbidden
59383  *  0b10..CM4 is forbidden
59384  *  0b11..Both cores are forbidden
59385  */
59386 #define IOMUXC_GPR_GPR37_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_DWP_SHIFT)) & IOMUXC_GPR_GPR37_DWP_MASK)
59387 
59388 #define IOMUXC_GPR_GPR37_DWP_LOCK_MASK           (0xC0000000U)
59389 #define IOMUXC_GPR_GPR37_DWP_LOCK_SHIFT          (30U)
59390 /*! DWP_LOCK - Domain write protection lock
59391  *  0b00..Neither of DWP bits is locked
59392  *  0b01..The lower DWP bit is locked
59393  *  0b10..The higher DWP bit is locked
59394  *  0b11..Both DWP bits are locked
59395  */
59396 #define IOMUXC_GPR_GPR37_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR37_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR37_DWP_LOCK_MASK)
59397 /*! @} */
59398 
59399 /*! @name GPR38 - GPR38 General Purpose Register */
59400 /*! @{ */
59401 
59402 #define IOMUXC_GPR_GPR38_DWP_MASK                (0x30000000U)
59403 #define IOMUXC_GPR_GPR38_DWP_SHIFT               (28U)
59404 /*! DWP - Domain write protection
59405  *  0b00..Both cores are allowed
59406  *  0b01..CM7 is forbidden
59407  *  0b10..CM4 is forbidden
59408  *  0b11..Both cores are forbidden
59409  */
59410 #define IOMUXC_GPR_GPR38_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR38_DWP_SHIFT)) & IOMUXC_GPR_GPR38_DWP_MASK)
59411 
59412 #define IOMUXC_GPR_GPR38_DWP_LOCK_MASK           (0xC0000000U)
59413 #define IOMUXC_GPR_GPR38_DWP_LOCK_SHIFT          (30U)
59414 /*! DWP_LOCK - Domain write protection lock
59415  *  0b00..Neither of DWP bits is locked
59416  *  0b01..The lower DWP bit is locked
59417  *  0b10..The higher DWP bit is locked
59418  *  0b11..Both DWP bits are locked
59419  */
59420 #define IOMUXC_GPR_GPR38_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR38_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR38_DWP_LOCK_MASK)
59421 /*! @} */
59422 
59423 /*! @name GPR39 - GPR39 General Purpose Register */
59424 /*! @{ */
59425 
59426 #define IOMUXC_GPR_GPR39_DWP_MASK                (0x30000000U)
59427 #define IOMUXC_GPR_GPR39_DWP_SHIFT               (28U)
59428 /*! DWP - Domain write protection
59429  *  0b00..Both cores are allowed
59430  *  0b01..CM7 is forbidden
59431  *  0b10..CM4 is forbidden
59432  *  0b11..Both cores are forbidden
59433  */
59434 #define IOMUXC_GPR_GPR39_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR39_DWP_SHIFT)) & IOMUXC_GPR_GPR39_DWP_MASK)
59435 
59436 #define IOMUXC_GPR_GPR39_DWP_LOCK_MASK           (0xC0000000U)
59437 #define IOMUXC_GPR_GPR39_DWP_LOCK_SHIFT          (30U)
59438 /*! DWP_LOCK - Domain write protection lock
59439  *  0b00..Neither of DWP bits is locked
59440  *  0b01..The lower DWP bit is locked
59441  *  0b10..The higher DWP bit is locked
59442  *  0b11..Both DWP bits are locked
59443  */
59444 #define IOMUXC_GPR_GPR39_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR39_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR39_DWP_LOCK_MASK)
59445 /*! @} */
59446 
59447 /*! @name GPR40 - GPR40 General Purpose Register */
59448 /*! @{ */
59449 
59450 #define IOMUXC_GPR_GPR40_GPIO_MUX2_GPIO_SEL_LOW_MASK (0xFFFFU)
59451 #define IOMUXC_GPR_GPR40_GPIO_MUX2_GPIO_SEL_LOW_SHIFT (0U)
59452 /*! GPIO_MUX2_GPIO_SEL_LOW - GPIO2 and CM7_GPIO2 share same IO MUX function, GPIO_MUX2 selects one GPIO function.
59453  */
59454 #define IOMUXC_GPR_GPR40_GPIO_MUX2_GPIO_SEL_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR40_GPIO_MUX2_GPIO_SEL_LOW_SHIFT)) & IOMUXC_GPR_GPR40_GPIO_MUX2_GPIO_SEL_LOW_MASK)
59455 
59456 #define IOMUXC_GPR_GPR40_DWP_MASK                (0x30000000U)
59457 #define IOMUXC_GPR_GPR40_DWP_SHIFT               (28U)
59458 /*! DWP - Domain write protection
59459  *  0b00..Both cores are allowed
59460  *  0b01..CM7 is forbidden
59461  *  0b10..CM4 is forbidden
59462  *  0b11..Both cores are forbidden
59463  */
59464 #define IOMUXC_GPR_GPR40_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR40_DWP_SHIFT)) & IOMUXC_GPR_GPR40_DWP_MASK)
59465 
59466 #define IOMUXC_GPR_GPR40_DWP_LOCK_MASK           (0xC0000000U)
59467 #define IOMUXC_GPR_GPR40_DWP_LOCK_SHIFT          (30U)
59468 /*! DWP_LOCK - Domain write protection lock
59469  *  0b00..Neither of DWP bits is locked
59470  *  0b01..The lower DWP bit is locked
59471  *  0b10..The higher DWP bit is locked
59472  *  0b11..Both DWP bits are locked
59473  */
59474 #define IOMUXC_GPR_GPR40_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR40_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR40_DWP_LOCK_MASK)
59475 /*! @} */
59476 
59477 /*! @name GPR41 - GPR41 General Purpose Register */
59478 /*! @{ */
59479 
59480 #define IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH_MASK (0xFFFFU)
59481 #define IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH_SHIFT (0U)
59482 /*! GPIO_MUX2_GPIO_SEL_HIGH - GPIO2 and CM7_GPIO2 share same IO MUX function, GPIO_MUX2 selects one GPIO function.
59483  */
59484 #define IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH_SHIFT)) & IOMUXC_GPR_GPR41_GPIO_MUX2_GPIO_SEL_HIGH_MASK)
59485 
59486 #define IOMUXC_GPR_GPR41_DWP_MASK                (0x30000000U)
59487 #define IOMUXC_GPR_GPR41_DWP_SHIFT               (28U)
59488 /*! DWP - Domain write protection
59489  *  0b00..Both cores are allowed
59490  *  0b01..CM7 is forbidden
59491  *  0b10..CM4 is forbidden
59492  *  0b11..Both cores are forbidden
59493  */
59494 #define IOMUXC_GPR_GPR41_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR41_DWP_SHIFT)) & IOMUXC_GPR_GPR41_DWP_MASK)
59495 
59496 #define IOMUXC_GPR_GPR41_DWP_LOCK_MASK           (0xC0000000U)
59497 #define IOMUXC_GPR_GPR41_DWP_LOCK_SHIFT          (30U)
59498 /*! DWP_LOCK - Domain write protection lock
59499  *  0b00..Neither of DWP bits is locked
59500  *  0b01..The lower DWP bit is locked
59501  *  0b10..The higher DWP bit is locked
59502  *  0b11..Both DWP bits are locked
59503  */
59504 #define IOMUXC_GPR_GPR41_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR41_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR41_DWP_LOCK_MASK)
59505 /*! @} */
59506 
59507 /*! @name GPR42 - GPR42 General Purpose Register */
59508 /*! @{ */
59509 
59510 #define IOMUXC_GPR_GPR42_GPIO_MUX3_GPIO_SEL_LOW_MASK (0xFFFFU)
59511 #define IOMUXC_GPR_GPR42_GPIO_MUX3_GPIO_SEL_LOW_SHIFT (0U)
59512 /*! GPIO_MUX3_GPIO_SEL_LOW - GPIO3 and CM7_GPIO3 share same IO MUX function, GPIO_MUX3 selects one GPIO function.
59513  */
59514 #define IOMUXC_GPR_GPR42_GPIO_MUX3_GPIO_SEL_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR42_GPIO_MUX3_GPIO_SEL_LOW_SHIFT)) & IOMUXC_GPR_GPR42_GPIO_MUX3_GPIO_SEL_LOW_MASK)
59515 
59516 #define IOMUXC_GPR_GPR42_DWP_MASK                (0x30000000U)
59517 #define IOMUXC_GPR_GPR42_DWP_SHIFT               (28U)
59518 /*! DWP - Domain write protection
59519  *  0b00..Both cores are allowed
59520  *  0b01..CM7 is forbidden
59521  *  0b10..CM4 is forbidden
59522  *  0b11..Both cores are forbidden
59523  */
59524 #define IOMUXC_GPR_GPR42_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR42_DWP_SHIFT)) & IOMUXC_GPR_GPR42_DWP_MASK)
59525 
59526 #define IOMUXC_GPR_GPR42_DWP_LOCK_MASK           (0xC0000000U)
59527 #define IOMUXC_GPR_GPR42_DWP_LOCK_SHIFT          (30U)
59528 /*! DWP_LOCK - Domain write protection lock
59529  *  0b00..Neither of DWP bits is locked
59530  *  0b01..The lower DWP bit is locked
59531  *  0b10..The higher DWP bit is locked
59532  *  0b11..Both DWP bits are locked
59533  */
59534 #define IOMUXC_GPR_GPR42_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR42_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR42_DWP_LOCK_MASK)
59535 /*! @} */
59536 
59537 /*! @name GPR43 - GPR43 General Purpose Register */
59538 /*! @{ */
59539 
59540 #define IOMUXC_GPR_GPR43_GPIO_MUX3_GPIO_SEL_HIGH_MASK (0xFFFFU)
59541 #define IOMUXC_GPR_GPR43_GPIO_MUX3_GPIO_SEL_HIGH_SHIFT (0U)
59542 /*! GPIO_MUX3_GPIO_SEL_HIGH - GPIO3 and CM7_GPIO3 share same IO MUX function, GPIO_MUX3 selects one GPIO function.
59543  */
59544 #define IOMUXC_GPR_GPR43_GPIO_MUX3_GPIO_SEL_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR43_GPIO_MUX3_GPIO_SEL_HIGH_SHIFT)) & IOMUXC_GPR_GPR43_GPIO_MUX3_GPIO_SEL_HIGH_MASK)
59545 
59546 #define IOMUXC_GPR_GPR43_DWP_MASK                (0x30000000U)
59547 #define IOMUXC_GPR_GPR43_DWP_SHIFT               (28U)
59548 /*! DWP - Domain write protection
59549  *  0b00..Both cores are allowed
59550  *  0b01..CM7 is forbidden
59551  *  0b10..CM4 is forbidden
59552  *  0b11..Both cores are forbidden
59553  */
59554 #define IOMUXC_GPR_GPR43_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR43_DWP_SHIFT)) & IOMUXC_GPR_GPR43_DWP_MASK)
59555 
59556 #define IOMUXC_GPR_GPR43_DWP_LOCK_MASK           (0xC0000000U)
59557 #define IOMUXC_GPR_GPR43_DWP_LOCK_SHIFT          (30U)
59558 /*! DWP_LOCK - Domain write protection lock
59559  *  0b00..Neither of DWP bits is locked
59560  *  0b01..The lower DWP bit is locked
59561  *  0b10..The higher DWP bit is locked
59562  *  0b11..Both DWP bits are locked
59563  */
59564 #define IOMUXC_GPR_GPR43_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR43_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR43_DWP_LOCK_MASK)
59565 /*! @} */
59566 
59567 /*! @name GPR44 - GPR44 General Purpose Register */
59568 /*! @{ */
59569 
59570 #define IOMUXC_GPR_GPR44_DWP_MASK                (0x30000000U)
59571 #define IOMUXC_GPR_GPR44_DWP_SHIFT               (28U)
59572 /*! DWP - Domain write protection
59573  *  0b00..Both cores are allowed
59574  *  0b01..CM7 is forbidden
59575  *  0b10..CM4 is forbidden
59576  *  0b11..Both cores are forbidden
59577  */
59578 #define IOMUXC_GPR_GPR44_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR44_DWP_SHIFT)) & IOMUXC_GPR_GPR44_DWP_MASK)
59579 
59580 #define IOMUXC_GPR_GPR44_DWP_LOCK_MASK           (0xC0000000U)
59581 #define IOMUXC_GPR_GPR44_DWP_LOCK_SHIFT          (30U)
59582 /*! DWP_LOCK - Domain write protection lock
59583  *  0b00..Neither of DWP bits is locked
59584  *  0b01..The lower DWP bit is locked
59585  *  0b10..The higher DWP bit is locked
59586  *  0b11..Both DWP bits are locked
59587  */
59588 #define IOMUXC_GPR_GPR44_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR44_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR44_DWP_LOCK_MASK)
59589 /*! @} */
59590 
59591 /*! @name GPR45 - GPR45 General Purpose Register */
59592 /*! @{ */
59593 
59594 #define IOMUXC_GPR_GPR45_DWP_MASK                (0x30000000U)
59595 #define IOMUXC_GPR_GPR45_DWP_SHIFT               (28U)
59596 /*! DWP - Domain write protection
59597  *  0b00..Both cores are allowed
59598  *  0b01..CM7 is forbidden
59599  *  0b10..CM4 is forbidden
59600  *  0b11..Both cores are forbidden
59601  */
59602 #define IOMUXC_GPR_GPR45_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR45_DWP_SHIFT)) & IOMUXC_GPR_GPR45_DWP_MASK)
59603 
59604 #define IOMUXC_GPR_GPR45_DWP_LOCK_MASK           (0xC0000000U)
59605 #define IOMUXC_GPR_GPR45_DWP_LOCK_SHIFT          (30U)
59606 /*! DWP_LOCK - Domain write protection lock
59607  *  0b00..Neither of DWP bits is locked
59608  *  0b01..The lower DWP bit is locked
59609  *  0b10..The higher DWP bit is locked
59610  *  0b11..Both DWP bits are locked
59611  */
59612 #define IOMUXC_GPR_GPR45_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR45_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR45_DWP_LOCK_MASK)
59613 /*! @} */
59614 
59615 /*! @name GPR46 - GPR46 General Purpose Register */
59616 /*! @{ */
59617 
59618 #define IOMUXC_GPR_GPR46_DWP_MASK                (0x30000000U)
59619 #define IOMUXC_GPR_GPR46_DWP_SHIFT               (28U)
59620 /*! DWP - Domain write protection
59621  *  0b00..Both cores are allowed
59622  *  0b01..CM7 is forbidden
59623  *  0b10..CM4 is forbidden
59624  *  0b11..Both cores are forbidden
59625  */
59626 #define IOMUXC_GPR_GPR46_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR46_DWP_SHIFT)) & IOMUXC_GPR_GPR46_DWP_MASK)
59627 
59628 #define IOMUXC_GPR_GPR46_DWP_LOCK_MASK           (0xC0000000U)
59629 #define IOMUXC_GPR_GPR46_DWP_LOCK_SHIFT          (30U)
59630 /*! DWP_LOCK - Domain write protection lock
59631  *  0b00..Neither of DWP bits is locked
59632  *  0b01..The lower DWP bit is locked
59633  *  0b10..The higher DWP bit is locked
59634  *  0b11..Both DWP bits are locked
59635  */
59636 #define IOMUXC_GPR_GPR46_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR46_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR46_DWP_LOCK_MASK)
59637 /*! @} */
59638 
59639 /*! @name GPR47 - GPR47 General Purpose Register */
59640 /*! @{ */
59641 
59642 #define IOMUXC_GPR_GPR47_DWP_MASK                (0x30000000U)
59643 #define IOMUXC_GPR_GPR47_DWP_SHIFT               (28U)
59644 /*! DWP - Domain write protection
59645  *  0b00..Both cores are allowed
59646  *  0b01..CM7 is forbidden
59647  *  0b10..CM4 is forbidden
59648  *  0b11..Both cores are forbidden
59649  */
59650 #define IOMUXC_GPR_GPR47_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR47_DWP_SHIFT)) & IOMUXC_GPR_GPR47_DWP_MASK)
59651 
59652 #define IOMUXC_GPR_GPR47_DWP_LOCK_MASK           (0xC0000000U)
59653 #define IOMUXC_GPR_GPR47_DWP_LOCK_SHIFT          (30U)
59654 /*! DWP_LOCK - Domain write protection lock
59655  *  0b00..Neither of DWP bits is locked
59656  *  0b01..The lower DWP bit is locked
59657  *  0b10..The higher DWP bit is locked
59658  *  0b11..Both DWP bits are locked
59659  */
59660 #define IOMUXC_GPR_GPR47_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR47_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR47_DWP_LOCK_MASK)
59661 /*! @} */
59662 
59663 /*! @name GPR48 - GPR48 General Purpose Register */
59664 /*! @{ */
59665 
59666 #define IOMUXC_GPR_GPR48_DWP_MASK                (0x30000000U)
59667 #define IOMUXC_GPR_GPR48_DWP_SHIFT               (28U)
59668 /*! DWP - Domain write protection
59669  *  0b00..Both cores are allowed
59670  *  0b01..CM7 is forbidden
59671  *  0b10..CM4 is forbidden
59672  *  0b11..Both cores are forbidden
59673  */
59674 #define IOMUXC_GPR_GPR48_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR48_DWP_SHIFT)) & IOMUXC_GPR_GPR48_DWP_MASK)
59675 
59676 #define IOMUXC_GPR_GPR48_DWP_LOCK_MASK           (0xC0000000U)
59677 #define IOMUXC_GPR_GPR48_DWP_LOCK_SHIFT          (30U)
59678 /*! DWP_LOCK - Domain write protection lock
59679  *  0b00..Neither of DWP bits is locked
59680  *  0b01..The lower DWP bit is locked
59681  *  0b10..The higher DWP bit is locked
59682  *  0b11..Both DWP bits are locked
59683  */
59684 #define IOMUXC_GPR_GPR48_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR48_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR48_DWP_LOCK_MASK)
59685 /*! @} */
59686 
59687 /*! @name GPR49 - GPR49 General Purpose Register */
59688 /*! @{ */
59689 
59690 #define IOMUXC_GPR_GPR49_DWP_MASK                (0x30000000U)
59691 #define IOMUXC_GPR_GPR49_DWP_SHIFT               (28U)
59692 /*! DWP - Domain write protection
59693  *  0b00..Both cores are allowed
59694  *  0b01..CM7 is forbidden
59695  *  0b10..CM4 is forbidden
59696  *  0b11..Both cores are forbidden
59697  */
59698 #define IOMUXC_GPR_GPR49_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR49_DWP_SHIFT)) & IOMUXC_GPR_GPR49_DWP_MASK)
59699 
59700 #define IOMUXC_GPR_GPR49_DWP_LOCK_MASK           (0xC0000000U)
59701 #define IOMUXC_GPR_GPR49_DWP_LOCK_SHIFT          (30U)
59702 /*! DWP_LOCK - Domain write protection lock
59703  *  0b00..Neither of DWP bits is locked
59704  *  0b01..The lower DWP bit is locked
59705  *  0b10..The higher DWP bit is locked
59706  *  0b11..Both DWP bits are locked
59707  */
59708 #define IOMUXC_GPR_GPR49_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR49_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR49_DWP_LOCK_MASK)
59709 /*! @} */
59710 
59711 /*! @name GPR50 - GPR50 General Purpose Register */
59712 /*! @{ */
59713 
59714 #define IOMUXC_GPR_GPR50_CAAM_IPS_MGR_MASK       (0x1FU)
59715 #define IOMUXC_GPR_GPR50_CAAM_IPS_MGR_SHIFT      (0U)
59716 /*! CAAM_IPS_MGR - CAAM manager processor identifier
59717  */
59718 #define IOMUXC_GPR_GPR50_CAAM_IPS_MGR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR50_CAAM_IPS_MGR_SHIFT)) & IOMUXC_GPR_GPR50_CAAM_IPS_MGR_MASK)
59719 
59720 #define IOMUXC_GPR_GPR50_DWP_MASK                (0x30000000U)
59721 #define IOMUXC_GPR_GPR50_DWP_SHIFT               (28U)
59722 /*! DWP - Domain write protection
59723  *  0b00..Both cores are allowed
59724  *  0b01..CM7 is forbidden
59725  *  0b10..CM4 is forbidden
59726  *  0b11..Both cores are forbidden
59727  */
59728 #define IOMUXC_GPR_GPR50_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR50_DWP_SHIFT)) & IOMUXC_GPR_GPR50_DWP_MASK)
59729 
59730 #define IOMUXC_GPR_GPR50_DWP_LOCK_MASK           (0xC0000000U)
59731 #define IOMUXC_GPR_GPR50_DWP_LOCK_SHIFT          (30U)
59732 /*! DWP_LOCK - Domain write protection lock
59733  *  0b00..Neither of DWP bits is locked
59734  *  0b01..The lower DWP bit is locked
59735  *  0b10..The higher DWP bit is locked
59736  *  0b11..Both DWP bits are locked
59737  */
59738 #define IOMUXC_GPR_GPR50_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR50_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR50_DWP_LOCK_MASK)
59739 /*! @} */
59740 
59741 /*! @name GPR51 - GPR51 General Purpose Register */
59742 /*! @{ */
59743 
59744 #define IOMUXC_GPR_GPR51_M7_NMI_CLEAR_MASK       (0x1U)
59745 #define IOMUXC_GPR_GPR51_M7_NMI_CLEAR_SHIFT      (0U)
59746 /*! M7_NMI_CLEAR - Clear CM7 NMI holding register
59747  */
59748 #define IOMUXC_GPR_GPR51_M7_NMI_CLEAR(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR51_M7_NMI_CLEAR_SHIFT)) & IOMUXC_GPR_GPR51_M7_NMI_CLEAR_MASK)
59749 
59750 #define IOMUXC_GPR_GPR51_DWP_MASK                (0x30000000U)
59751 #define IOMUXC_GPR_GPR51_DWP_SHIFT               (28U)
59752 /*! DWP - Domain write protection
59753  *  0b00..Both cores are allowed
59754  *  0b01..CM7 is forbidden
59755  *  0b10..CM4 is forbidden
59756  *  0b11..Both cores are forbidden
59757  */
59758 #define IOMUXC_GPR_GPR51_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR51_DWP_SHIFT)) & IOMUXC_GPR_GPR51_DWP_MASK)
59759 
59760 #define IOMUXC_GPR_GPR51_DWP_LOCK_MASK           (0xC0000000U)
59761 #define IOMUXC_GPR_GPR51_DWP_LOCK_SHIFT          (30U)
59762 /*! DWP_LOCK - Domain write protection lock
59763  *  0b00..Neither of DWP bits is locked
59764  *  0b01..The lower DWP bit is locked
59765  *  0b10..The higher DWP bit is locked
59766  *  0b11..Both DWP bits are locked
59767  */
59768 #define IOMUXC_GPR_GPR51_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR51_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR51_DWP_LOCK_MASK)
59769 /*! @} */
59770 
59771 /*! @name GPR52 - GPR52 General Purpose Register */
59772 /*! @{ */
59773 
59774 #define IOMUXC_GPR_GPR52_DWP_MASK                (0x30000000U)
59775 #define IOMUXC_GPR_GPR52_DWP_SHIFT               (28U)
59776 /*! DWP - Domain write protection
59777  *  0b00..Both cores are allowed
59778  *  0b01..CM7 is forbidden
59779  *  0b10..CM4 is forbidden
59780  *  0b11..Both cores are forbidden
59781  */
59782 #define IOMUXC_GPR_GPR52_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR52_DWP_SHIFT)) & IOMUXC_GPR_GPR52_DWP_MASK)
59783 
59784 #define IOMUXC_GPR_GPR52_DWP_LOCK_MASK           (0xC0000000U)
59785 #define IOMUXC_GPR_GPR52_DWP_LOCK_SHIFT          (30U)
59786 /*! DWP_LOCK - Domain write protection lock
59787  *  0b00..Neither of DWP bits is locked
59788  *  0b01..The lower DWP bit is locked
59789  *  0b10..The higher DWP bit is locked
59790  *  0b11..Both DWP bits are locked
59791  */
59792 #define IOMUXC_GPR_GPR52_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR52_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR52_DWP_LOCK_MASK)
59793 /*! @} */
59794 
59795 /*! @name GPR53 - GPR53 General Purpose Register */
59796 /*! @{ */
59797 
59798 #define IOMUXC_GPR_GPR53_DWP_MASK                (0x30000000U)
59799 #define IOMUXC_GPR_GPR53_DWP_SHIFT               (28U)
59800 /*! DWP - Domain write protection
59801  *  0b00..Both cores are allowed
59802  *  0b01..CM7 is forbidden
59803  *  0b10..CM4 is forbidden
59804  *  0b11..Both cores are forbidden
59805  */
59806 #define IOMUXC_GPR_GPR53_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR53_DWP_SHIFT)) & IOMUXC_GPR_GPR53_DWP_MASK)
59807 
59808 #define IOMUXC_GPR_GPR53_DWP_LOCK_MASK           (0xC0000000U)
59809 #define IOMUXC_GPR_GPR53_DWP_LOCK_SHIFT          (30U)
59810 /*! DWP_LOCK - Domain write protection lock
59811  *  0b00..Neither of DWP bits is locked
59812  *  0b01..The lower DWP bit is locked
59813  *  0b10..The higher DWP bit is locked
59814  *  0b11..Both DWP bits are locked
59815  */
59816 #define IOMUXC_GPR_GPR53_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR53_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR53_DWP_LOCK_MASK)
59817 /*! @} */
59818 
59819 /*! @name GPR54 - GPR54 General Purpose Register */
59820 /*! @{ */
59821 
59822 #define IOMUXC_GPR_GPR54_DWP_MASK                (0x30000000U)
59823 #define IOMUXC_GPR_GPR54_DWP_SHIFT               (28U)
59824 /*! DWP - Domain write protection
59825  *  0b00..Both cores are allowed
59826  *  0b01..CM7 is forbidden
59827  *  0b10..CM4 is forbidden
59828  *  0b11..Both cores are forbidden
59829  */
59830 #define IOMUXC_GPR_GPR54_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR54_DWP_SHIFT)) & IOMUXC_GPR_GPR54_DWP_MASK)
59831 
59832 #define IOMUXC_GPR_GPR54_DWP_LOCK_MASK           (0xC0000000U)
59833 #define IOMUXC_GPR_GPR54_DWP_LOCK_SHIFT          (30U)
59834 /*! DWP_LOCK - Domain write protection lock
59835  *  0b00..Neither of DWP bits is locked
59836  *  0b01..The lower DWP bit is locked
59837  *  0b10..The higher DWP bit is locked
59838  *  0b11..Both DWP bits are locked
59839  */
59840 #define IOMUXC_GPR_GPR54_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR54_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR54_DWP_LOCK_MASK)
59841 /*! @} */
59842 
59843 /*! @name GPR55 - GPR55 General Purpose Register */
59844 /*! @{ */
59845 
59846 #define IOMUXC_GPR_GPR55_DWP_MASK                (0x30000000U)
59847 #define IOMUXC_GPR_GPR55_DWP_SHIFT               (28U)
59848 /*! DWP - Domain write protection
59849  *  0b00..Both cores are allowed
59850  *  0b01..CM7 is forbidden
59851  *  0b10..CM4 is forbidden
59852  *  0b11..Both cores are forbidden
59853  */
59854 #define IOMUXC_GPR_GPR55_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR55_DWP_SHIFT)) & IOMUXC_GPR_GPR55_DWP_MASK)
59855 
59856 #define IOMUXC_GPR_GPR55_DWP_LOCK_MASK           (0xC0000000U)
59857 #define IOMUXC_GPR_GPR55_DWP_LOCK_SHIFT          (30U)
59858 /*! DWP_LOCK - Domain write protection lock
59859  *  0b00..Neither of DWP bits is locked
59860  *  0b01..The lower DWP bit is locked
59861  *  0b10..The higher DWP bit is locked
59862  *  0b11..Both DWP bits are locked
59863  */
59864 #define IOMUXC_GPR_GPR55_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR55_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR55_DWP_LOCK_MASK)
59865 /*! @} */
59866 
59867 /*! @name GPR59 - GPR59 General Purpose Register */
59868 /*! @{ */
59869 
59870 #define IOMUXC_GPR_GPR59_MIPI_CSI_AUTO_PD_EN_MASK (0x1U)
59871 #define IOMUXC_GPR_GPR59_MIPI_CSI_AUTO_PD_EN_SHIFT (0U)
59872 /*! MIPI_CSI_AUTO_PD_EN - Powers down inactive lanes reported by CSI2X_CFG_NUM_LANES.
59873  */
59874 #define IOMUXC_GPR_GPR59_MIPI_CSI_AUTO_PD_EN(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_AUTO_PD_EN_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_AUTO_PD_EN_MASK)
59875 
59876 #define IOMUXC_GPR_GPR59_MIPI_CSI_SOFT_RST_N_MASK (0x2U)
59877 #define IOMUXC_GPR_GPR59_MIPI_CSI_SOFT_RST_N_SHIFT (1U)
59878 /*! MIPI_CSI_SOFT_RST_N - MIPI CSI APB clock domain and User interface clock domain software reset bit
59879  *  0b0..Assert reset
59880  *  0b1..De-assert reset
59881  */
59882 #define IOMUXC_GPR_GPR59_MIPI_CSI_SOFT_RST_N(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_SOFT_RST_N_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_SOFT_RST_N_MASK)
59883 
59884 #define IOMUXC_GPR_GPR59_MIPI_CSI_CONT_CLK_MODE_MASK (0x4U)
59885 #define IOMUXC_GPR_GPR59_MIPI_CSI_CONT_CLK_MODE_SHIFT (2U)
59886 /*! MIPI_CSI_CONT_CLK_MODE - Enables the slave clock lane feature to maintain HS reception state
59887  *    during continuous clock mode operation, despite line glitches.
59888  */
59889 #define IOMUXC_GPR_GPR59_MIPI_CSI_CONT_CLK_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_CONT_CLK_MODE_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_CONT_CLK_MODE_MASK)
59890 
59891 #define IOMUXC_GPR_GPR59_MIPI_CSI_DDRCLK_EN_MASK (0x8U)
59892 #define IOMUXC_GPR_GPR59_MIPI_CSI_DDRCLK_EN_SHIFT (3U)
59893 /*! MIPI_CSI_DDRCLK_EN - When high, enables received DDR clock on CLK_DRXHS
59894  */
59895 #define IOMUXC_GPR_GPR59_MIPI_CSI_DDRCLK_EN(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_DDRCLK_EN_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_DDRCLK_EN_MASK)
59896 
59897 #define IOMUXC_GPR_GPR59_MIPI_CSI_PD_RX_MASK     (0x10U)
59898 #define IOMUXC_GPR_GPR59_MIPI_CSI_PD_RX_SHIFT    (4U)
59899 /*! MIPI_CSI_PD_RX - Power Down input for MIPI CSI PHY.
59900  */
59901 #define IOMUXC_GPR_GPR59_MIPI_CSI_PD_RX(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_PD_RX_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_PD_RX_MASK)
59902 
59903 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_ENABLE_MASK (0x20U)
59904 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_ENABLE_SHIFT (5U)
59905 /*! MIPI_CSI_RX_ENABLE - Assert to enable MIPI CSI Receive Enable
59906  */
59907 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_ENABLE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_RX_ENABLE_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_RX_ENABLE_MASK)
59908 
59909 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_RCAL_MASK   (0xC0U)
59910 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_RCAL_SHIFT  (6U)
59911 /*! MIPI_CSI_RX_RCAL - MIPI CSI PHY on-chip termination control bits
59912  */
59913 #define IOMUXC_GPR_GPR59_MIPI_CSI_RX_RCAL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_RX_RCAL_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_RX_RCAL_MASK)
59914 
59915 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXCDRP_MASK    (0x300U)
59916 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXCDRP_SHIFT   (8U)
59917 /*! MIPI_CSI_RXCDRP - Programming bits that adjust the threshold voltage of LP-CD, default setting 2'b01
59918  *  0b00..344mV
59919  *  0b01..325mV (Default)
59920  *  0b10..307mV
59921  *  0b11..Invalid
59922  */
59923 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXCDRP(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_RXCDRP_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_RXCDRP_MASK)
59924 
59925 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXLPRP_MASK    (0xC00U)
59926 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXLPRP_SHIFT   (10U)
59927 /*! MIPI_CSI_RXLPRP - Programming bits that adjust the threshold voltage of LP-RX, default setting 2'b01
59928  */
59929 #define IOMUXC_GPR_GPR59_MIPI_CSI_RXLPRP(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_RXLPRP_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_RXLPRP_MASK)
59930 
59931 #define IOMUXC_GPR_GPR59_MIPI_CSI_S_PRG_RXHS_SETTLE_MASK (0x3F000U)
59932 #define IOMUXC_GPR_GPR59_MIPI_CSI_S_PRG_RXHS_SETTLE_SHIFT (12U)
59933 /*! MIPI_CSI_S_PRG_RXHS_SETTLE - Bits used to program T_HS_SETTLE.
59934  */
59935 #define IOMUXC_GPR_GPR59_MIPI_CSI_S_PRG_RXHS_SETTLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_MIPI_CSI_S_PRG_RXHS_SETTLE_SHIFT)) & IOMUXC_GPR_GPR59_MIPI_CSI_S_PRG_RXHS_SETTLE_MASK)
59936 
59937 #define IOMUXC_GPR_GPR59_DWP_MASK                (0x30000000U)
59938 #define IOMUXC_GPR_GPR59_DWP_SHIFT               (28U)
59939 /*! DWP - Domain write protection
59940  *  0b00..Both cores are allowed
59941  *  0b01..CM7 is forbidden
59942  *  0b10..CM4 is forbidden
59943  *  0b11..Both cores are forbidden
59944  */
59945 #define IOMUXC_GPR_GPR59_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_DWP_SHIFT)) & IOMUXC_GPR_GPR59_DWP_MASK)
59946 
59947 #define IOMUXC_GPR_GPR59_DWP_LOCK_MASK           (0xC0000000U)
59948 #define IOMUXC_GPR_GPR59_DWP_LOCK_SHIFT          (30U)
59949 /*! DWP_LOCK - Domain write protection lock
59950  *  0b00..Neither of DWP bits is locked
59951  *  0b01..The lower DWP bit is locked
59952  *  0b10..The higher DWP bit is locked
59953  *  0b11..Both DWP bits are locked
59954  */
59955 #define IOMUXC_GPR_GPR59_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR59_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR59_DWP_LOCK_MASK)
59956 /*! @} */
59957 
59958 /*! @name GPR62 - GPR62 General Purpose Register */
59959 /*! @{ */
59960 
59961 #define IOMUXC_GPR_GPR62_MIPI_DSI_CLK_TM_MASK    (0x7U)
59962 #define IOMUXC_GPR_GPR62_MIPI_DSI_CLK_TM_SHIFT   (0U)
59963 /*! MIPI_DSI_CLK_TM - MIPI DSI Clock Lane triming bits
59964  */
59965 #define IOMUXC_GPR_GPR62_MIPI_DSI_CLK_TM(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_CLK_TM_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_CLK_TM_MASK)
59966 
59967 #define IOMUXC_GPR_GPR62_MIPI_DSI_D0_TM_MASK     (0x38U)
59968 #define IOMUXC_GPR_GPR62_MIPI_DSI_D0_TM_SHIFT    (3U)
59969 /*! MIPI_DSI_D0_TM - MIPI DSI Data Lane 0 triming bits
59970  */
59971 #define IOMUXC_GPR_GPR62_MIPI_DSI_D0_TM(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_D0_TM_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_D0_TM_MASK)
59972 
59973 #define IOMUXC_GPR_GPR62_MIPI_DSI_D1_TM_MASK     (0x1C0U)
59974 #define IOMUXC_GPR_GPR62_MIPI_DSI_D1_TM_SHIFT    (6U)
59975 /*! MIPI_DSI_D1_TM - MIPI DSI Data Lane 1 triming bits
59976  */
59977 #define IOMUXC_GPR_GPR62_MIPI_DSI_D1_TM(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_D1_TM_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_D1_TM_MASK)
59978 
59979 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_RCAL_MASK   (0x600U)
59980 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_RCAL_SHIFT  (9U)
59981 /*! MIPI_DSI_TX_RCAL - MIPI DSI PHY on-chip termination control bits
59982  */
59983 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_RCAL(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_TX_RCAL_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_TX_RCAL_MASK)
59984 
59985 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_ULPS_ENABLE_MASK (0x3800U)
59986 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_ULPS_ENABLE_SHIFT (11U)
59987 /*! MIPI_DSI_TX_ULPS_ENABLE - DSI transmit ULPS mode enable
59988  */
59989 #define IOMUXC_GPR_GPR62_MIPI_DSI_TX_ULPS_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_TX_ULPS_ENABLE_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_TX_ULPS_ENABLE_MASK)
59990 
59991 #define IOMUXC_GPR_GPR62_MIPI_DSI_PCLK_SOFT_RESET_N_MASK (0x10000U)
59992 #define IOMUXC_GPR_GPR62_MIPI_DSI_PCLK_SOFT_RESET_N_SHIFT (16U)
59993 /*! MIPI_DSI_PCLK_SOFT_RESET_N - MIPI DSI APB clock domain software reset bit
59994  *  0b0..Assert reset
59995  *  0b1..De-assert reset
59996  */
59997 #define IOMUXC_GPR_GPR62_MIPI_DSI_PCLK_SOFT_RESET_N(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_PCLK_SOFT_RESET_N_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_PCLK_SOFT_RESET_N_MASK)
59998 
59999 #define IOMUXC_GPR_GPR62_MIPI_DSI_BYTE_SOFT_RESET_N_MASK (0x20000U)
60000 #define IOMUXC_GPR_GPR62_MIPI_DSI_BYTE_SOFT_RESET_N_SHIFT (17U)
60001 /*! MIPI_DSI_BYTE_SOFT_RESET_N - MIPI DSI Byte clock domain software reset bit
60002  *  0b0..Assert reset
60003  *  0b1..De-assert reset
60004  */
60005 #define IOMUXC_GPR_GPR62_MIPI_DSI_BYTE_SOFT_RESET_N(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_BYTE_SOFT_RESET_N_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_BYTE_SOFT_RESET_N_MASK)
60006 
60007 #define IOMUXC_GPR_GPR62_MIPI_DSI_DPI_SOFT_RESET_N_MASK (0x40000U)
60008 #define IOMUXC_GPR_GPR62_MIPI_DSI_DPI_SOFT_RESET_N_SHIFT (18U)
60009 /*! MIPI_DSI_DPI_SOFT_RESET_N - MIPI DSI Pixel clock domain software reset bit
60010  *  0b0..Assert reset
60011  *  0b1..De-assert reset
60012  */
60013 #define IOMUXC_GPR_GPR62_MIPI_DSI_DPI_SOFT_RESET_N(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_DPI_SOFT_RESET_N_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_DPI_SOFT_RESET_N_MASK)
60014 
60015 #define IOMUXC_GPR_GPR62_MIPI_DSI_ESC_SOFT_RESET_N_MASK (0x80000U)
60016 #define IOMUXC_GPR_GPR62_MIPI_DSI_ESC_SOFT_RESET_N_SHIFT (19U)
60017 /*! MIPI_DSI_ESC_SOFT_RESET_N - MIPI DSI Escape clock domain software reset bit
60018  *  0b0..Assert reset
60019  *  0b1..De-assert reset
60020  */
60021 #define IOMUXC_GPR_GPR62_MIPI_DSI_ESC_SOFT_RESET_N(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_MIPI_DSI_ESC_SOFT_RESET_N_SHIFT)) & IOMUXC_GPR_GPR62_MIPI_DSI_ESC_SOFT_RESET_N_MASK)
60022 
60023 #define IOMUXC_GPR_GPR62_DWP_MASK                (0x30000000U)
60024 #define IOMUXC_GPR_GPR62_DWP_SHIFT               (28U)
60025 /*! DWP - Domain write protection
60026  *  0b00..Both cores are allowed
60027  *  0b01..CM7 is forbidden
60028  *  0b10..CM4 is forbidden
60029  *  0b11..Both cores are forbidden
60030  */
60031 #define IOMUXC_GPR_GPR62_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_DWP_SHIFT)) & IOMUXC_GPR_GPR62_DWP_MASK)
60032 
60033 #define IOMUXC_GPR_GPR62_DWP_LOCK_MASK           (0xC0000000U)
60034 #define IOMUXC_GPR_GPR62_DWP_LOCK_SHIFT          (30U)
60035 /*! DWP_LOCK - Domain write protection lock
60036  *  0b00..Neither of DWP bits is locked
60037  *  0b01..The lower DWP bit is locked
60038  *  0b10..The higher DWP bit is locked
60039  *  0b11..Both DWP bits are locked
60040  */
60041 #define IOMUXC_GPR_GPR62_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR62_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR62_DWP_LOCK_MASK)
60042 /*! @} */
60043 
60044 /*! @name GPR63 - GPR63 General Purpose Register */
60045 /*! @{ */
60046 
60047 #define IOMUXC_GPR_GPR63_MIPI_DSI_TX_ULPS_ACTIVE_MASK (0x7U)
60048 #define IOMUXC_GPR_GPR63_MIPI_DSI_TX_ULPS_ACTIVE_SHIFT (0U)
60049 /*! MIPI_DSI_TX_ULPS_ACTIVE - DSI transmit ULPS mode active flag
60050  */
60051 #define IOMUXC_GPR_GPR63_MIPI_DSI_TX_ULPS_ACTIVE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR63_MIPI_DSI_TX_ULPS_ACTIVE_SHIFT)) & IOMUXC_GPR_GPR63_MIPI_DSI_TX_ULPS_ACTIVE_MASK)
60052 /*! @} */
60053 
60054 /*! @name GPR64 - GPR64 General Purpose Register */
60055 /*! @{ */
60056 
60057 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FREEZE_MASK  (0x1U)
60058 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FREEZE_SHIFT (0U)
60059 /*! GPIO_DISP1_FREEZE - Compensation code freeze
60060  */
60061 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FREEZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_FREEZE_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_FREEZE_MASK)
60062 
60063 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPTQ_MASK  (0x2U)
60064 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPTQ_SHIFT (1U)
60065 /*! GPIO_DISP1_COMPTQ - COMPEN and COMPTQ control the operating modes of the compensation cell
60066  */
60067 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPTQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_COMPTQ_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_COMPTQ_MASK)
60068 
60069 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPEN_MASK  (0x4U)
60070 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPEN_SHIFT (2U)
60071 /*! GPIO_DISP1_COMPEN - COMPEN and COMPTQ control the operating modes of the compensation cell
60072  */
60073 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPEN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_COMPEN_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_COMPEN_MASK)
60074 
60075 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FASTFRZ_EN_MASK (0x8U)
60076 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FASTFRZ_EN_SHIFT (3U)
60077 /*! GPIO_DISP1_FASTFRZ_EN - Compensation code fast freeze
60078  */
60079 #define IOMUXC_GPR_GPR64_GPIO_DISP1_FASTFRZ_EN(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_FASTFRZ_EN_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_FASTFRZ_EN_MASK)
60080 
60081 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCP_MASK  (0xF0U)
60082 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCP_SHIFT (4U)
60083 /*! GPIO_DISP1_RASRCP - GPIO_DISP_B1 IO bank's 4-bit PMOS compensation codes from core
60084  */
60085 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCP_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCP_MASK)
60086 
60087 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCN_MASK  (0xF00U)
60088 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCN_SHIFT (8U)
60089 /*! GPIO_DISP1_RASRCN - GPIO_DISP_B1 IO bank's 4-bit NMOS compensation codes from core
60090  */
60091 #define IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCN(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCN_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_RASRCN_MASK)
60092 
60093 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SELECT_NASRC_MASK (0x1000U)
60094 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SELECT_NASRC_SHIFT (12U)
60095 /*! GPIO_DISP1_SELECT_NASRC - GPIO_DISP1_NASRC selection
60096  */
60097 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SELECT_NASRC(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_SELECT_NASRC_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_SELECT_NASRC_MASK)
60098 
60099 #define IOMUXC_GPR_GPR64_GPIO_DISP1_REFGEN_SLEEP_MASK (0x2000U)
60100 #define IOMUXC_GPR_GPR64_GPIO_DISP1_REFGEN_SLEEP_SHIFT (13U)
60101 /*! GPIO_DISP1_REFGEN_SLEEP - GPIO_DISP_B1 IO bank reference voltage generator cell sleep enable
60102  */
60103 #define IOMUXC_GPR_GPR64_GPIO_DISP1_REFGEN_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_REFGEN_SLEEP_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_REFGEN_SLEEP_MASK)
60104 
60105 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SUPLYDET_LATCH_MASK (0x4000U)
60106 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SUPLYDET_LATCH_SHIFT (14U)
60107 /*! GPIO_DISP1_SUPLYDET_LATCH - GPIO_DISP_B1 IO bank power supply mode latch enable
60108  */
60109 #define IOMUXC_GPR_GPR64_GPIO_DISP1_SUPLYDET_LATCH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_SUPLYDET_LATCH_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_SUPLYDET_LATCH_MASK)
60110 
60111 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPOK_MASK  (0x100000U)
60112 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPOK_SHIFT (20U)
60113 /*! GPIO_DISP1_COMPOK - GPIO_DISP_B1 IO bank compensation OK flag
60114  */
60115 #define IOMUXC_GPR_GPR64_GPIO_DISP1_COMPOK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_COMPOK_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_COMPOK_MASK)
60116 
60117 #define IOMUXC_GPR_GPR64_GPIO_DISP1_NASRC_MASK   (0x1E00000U)
60118 #define IOMUXC_GPR_GPR64_GPIO_DISP1_NASRC_SHIFT  (21U)
60119 /*! GPIO_DISP1_NASRC - GPIO_DISP_B1 IO bank compensation codes
60120  */
60121 #define IOMUXC_GPR_GPR64_GPIO_DISP1_NASRC(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_GPIO_DISP1_NASRC_SHIFT)) & IOMUXC_GPR_GPR64_GPIO_DISP1_NASRC_MASK)
60122 
60123 #define IOMUXC_GPR_GPR64_DWP_MASK                (0x30000000U)
60124 #define IOMUXC_GPR_GPR64_DWP_SHIFT               (28U)
60125 /*! DWP - Domain write protection
60126  *  0b00..Both cores are allowed
60127  *  0b01..CM7 is forbidden
60128  *  0b10..CM4 is forbidden
60129  *  0b11..Both cores are forbidden
60130  */
60131 #define IOMUXC_GPR_GPR64_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_DWP_SHIFT)) & IOMUXC_GPR_GPR64_DWP_MASK)
60132 
60133 #define IOMUXC_GPR_GPR64_DWP_LOCK_MASK           (0xC0000000U)
60134 #define IOMUXC_GPR_GPR64_DWP_LOCK_SHIFT          (30U)
60135 /*! DWP_LOCK - Domain write protection lock
60136  *  0b00..Neither of DWP bits is locked
60137  *  0b01..The lower DWP bit is locked
60138  *  0b10..The higher DWP bit is locked
60139  *  0b11..Both DWP bits are locked
60140  */
60141 #define IOMUXC_GPR_GPR64_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR64_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR64_DWP_LOCK_MASK)
60142 /*! @} */
60143 
60144 /*! @name GPR65 - GPR65 General Purpose Register */
60145 /*! @{ */
60146 
60147 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FREEZE_MASK   (0x1U)
60148 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FREEZE_SHIFT  (0U)
60149 /*! GPIO_EMC1_FREEZE - Compensation code freeze
60150  */
60151 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FREEZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_FREEZE_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_FREEZE_MASK)
60152 
60153 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPTQ_MASK   (0x2U)
60154 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPTQ_SHIFT  (1U)
60155 /*! GPIO_EMC1_COMPTQ - COMPEN and COMPTQ control the operating modes of the compensation cell
60156  */
60157 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPTQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_COMPTQ_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_COMPTQ_MASK)
60158 
60159 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPEN_MASK   (0x4U)
60160 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPEN_SHIFT  (2U)
60161 /*! GPIO_EMC1_COMPEN - COMPEN and COMPTQ control the operating modes of the compensation cell
60162  */
60163 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPEN(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_COMPEN_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_COMPEN_MASK)
60164 
60165 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FASTFRZ_EN_MASK (0x8U)
60166 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FASTFRZ_EN_SHIFT (3U)
60167 /*! GPIO_EMC1_FASTFRZ_EN - Compensation code fast freeze
60168  */
60169 #define IOMUXC_GPR_GPR65_GPIO_EMC1_FASTFRZ_EN(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_FASTFRZ_EN_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_FASTFRZ_EN_MASK)
60170 
60171 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCP_MASK   (0xF0U)
60172 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCP_SHIFT  (4U)
60173 /*! GPIO_EMC1_RASRCP - GPIO_EMC_B1 IO bank's 4-bit PMOS compensation codes from core
60174  */
60175 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCP(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCP_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCP_MASK)
60176 
60177 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCN_MASK   (0xF00U)
60178 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCN_SHIFT  (8U)
60179 /*! GPIO_EMC1_RASRCN - GPIO_EMC_B1 IO bank's 4-bit NMOS compensation codes from core
60180  */
60181 #define IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCN(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCN_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_RASRCN_MASK)
60182 
60183 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SELECT_NASRC_MASK (0x1000U)
60184 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SELECT_NASRC_SHIFT (12U)
60185 /*! GPIO_EMC1_SELECT_NASRC - GPIO_EMC1_NASRC selection
60186  */
60187 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SELECT_NASRC(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_SELECT_NASRC_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_SELECT_NASRC_MASK)
60188 
60189 #define IOMUXC_GPR_GPR65_GPIO_EMC1_REFGEN_SLEEP_MASK (0x2000U)
60190 #define IOMUXC_GPR_GPR65_GPIO_EMC1_REFGEN_SLEEP_SHIFT (13U)
60191 /*! GPIO_EMC1_REFGEN_SLEEP - GPIO_EMC_B1 IO bank reference voltage generator cell sleep enable
60192  */
60193 #define IOMUXC_GPR_GPR65_GPIO_EMC1_REFGEN_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_REFGEN_SLEEP_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_REFGEN_SLEEP_MASK)
60194 
60195 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SUPLYDET_LATCH_MASK (0x4000U)
60196 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SUPLYDET_LATCH_SHIFT (14U)
60197 /*! GPIO_EMC1_SUPLYDET_LATCH - GPIO_EMC_B1 IO bank power supply mode latch enable
60198  */
60199 #define IOMUXC_GPR_GPR65_GPIO_EMC1_SUPLYDET_LATCH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_SUPLYDET_LATCH_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_SUPLYDET_LATCH_MASK)
60200 
60201 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPOK_MASK   (0x100000U)
60202 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPOK_SHIFT  (20U)
60203 /*! GPIO_EMC1_COMPOK - GPIO_EMC_B1 IO bank compensation OK flag
60204  */
60205 #define IOMUXC_GPR_GPR65_GPIO_EMC1_COMPOK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_COMPOK_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_COMPOK_MASK)
60206 
60207 #define IOMUXC_GPR_GPR65_GPIO_EMC1_NASRC_MASK    (0x1E00000U)
60208 #define IOMUXC_GPR_GPR65_GPIO_EMC1_NASRC_SHIFT   (21U)
60209 /*! GPIO_EMC1_NASRC - GPIO_EMC_B1 IO bank compensation codes
60210  */
60211 #define IOMUXC_GPR_GPR65_GPIO_EMC1_NASRC(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_GPIO_EMC1_NASRC_SHIFT)) & IOMUXC_GPR_GPR65_GPIO_EMC1_NASRC_MASK)
60212 
60213 #define IOMUXC_GPR_GPR65_DWP_MASK                (0x30000000U)
60214 #define IOMUXC_GPR_GPR65_DWP_SHIFT               (28U)
60215 /*! DWP - Domain write protection
60216  *  0b00..Both cores are allowed
60217  *  0b01..CM7 is forbidden
60218  *  0b10..CM4 is forbidden
60219  *  0b11..Both cores are forbidden
60220  */
60221 #define IOMUXC_GPR_GPR65_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_DWP_SHIFT)) & IOMUXC_GPR_GPR65_DWP_MASK)
60222 
60223 #define IOMUXC_GPR_GPR65_DWP_LOCK_MASK           (0xC0000000U)
60224 #define IOMUXC_GPR_GPR65_DWP_LOCK_SHIFT          (30U)
60225 /*! DWP_LOCK - Domain write protection lock
60226  *  0b00..Neither of DWP bits is locked
60227  *  0b01..The lower DWP bit is locked
60228  *  0b10..The higher DWP bit is locked
60229  *  0b11..Both DWP bits are locked
60230  */
60231 #define IOMUXC_GPR_GPR65_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR65_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR65_DWP_LOCK_MASK)
60232 /*! @} */
60233 
60234 /*! @name GPR66 - GPR66 General Purpose Register */
60235 /*! @{ */
60236 
60237 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FREEZE_MASK   (0x1U)
60238 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FREEZE_SHIFT  (0U)
60239 /*! GPIO_EMC2_FREEZE - Compensation code freeze
60240  */
60241 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FREEZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_FREEZE_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_FREEZE_MASK)
60242 
60243 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPTQ_MASK   (0x2U)
60244 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPTQ_SHIFT  (1U)
60245 /*! GPIO_EMC2_COMPTQ - COMPEN and COMPTQ control the operating modes of the compensation cell
60246  */
60247 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPTQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_COMPTQ_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_COMPTQ_MASK)
60248 
60249 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPEN_MASK   (0x4U)
60250 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPEN_SHIFT  (2U)
60251 /*! GPIO_EMC2_COMPEN - COMPEN and COMPTQ control the operating modes of the compensation cell
60252  */
60253 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPEN(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_COMPEN_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_COMPEN_MASK)
60254 
60255 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FASTFRZ_EN_MASK (0x8U)
60256 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FASTFRZ_EN_SHIFT (3U)
60257 /*! GPIO_EMC2_FASTFRZ_EN - Compensation code fast freeze
60258  */
60259 #define IOMUXC_GPR_GPR66_GPIO_EMC2_FASTFRZ_EN(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_FASTFRZ_EN_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_FASTFRZ_EN_MASK)
60260 
60261 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCP_MASK   (0xF0U)
60262 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCP_SHIFT  (4U)
60263 /*! GPIO_EMC2_RASRCP - GPIO_EMC_B2 IO bank's 4-bit PMOS compensation codes from core
60264  */
60265 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCP(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCP_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCP_MASK)
60266 
60267 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCN_MASK   (0xF00U)
60268 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCN_SHIFT  (8U)
60269 /*! GPIO_EMC2_RASRCN - GPIO_EMC_B2 IO bank's 4-bit NMOS compensation codes from core
60270  */
60271 #define IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCN(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCN_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_RASRCN_MASK)
60272 
60273 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SELECT_NASRC_MASK (0x1000U)
60274 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SELECT_NASRC_SHIFT (12U)
60275 /*! GPIO_EMC2_SELECT_NASRC - GPIO_EMC2_NASRC selection
60276  */
60277 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SELECT_NASRC(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_SELECT_NASRC_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_SELECT_NASRC_MASK)
60278 
60279 #define IOMUXC_GPR_GPR66_GPIO_EMC2_REFGEN_SLEEP_MASK (0x2000U)
60280 #define IOMUXC_GPR_GPR66_GPIO_EMC2_REFGEN_SLEEP_SHIFT (13U)
60281 /*! GPIO_EMC2_REFGEN_SLEEP - GPIO_EMC_B2 IO bank reference voltage generator cell sleep enable
60282  */
60283 #define IOMUXC_GPR_GPR66_GPIO_EMC2_REFGEN_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_REFGEN_SLEEP_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_REFGEN_SLEEP_MASK)
60284 
60285 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SUPLYDET_LATCH_MASK (0x4000U)
60286 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SUPLYDET_LATCH_SHIFT (14U)
60287 /*! GPIO_EMC2_SUPLYDET_LATCH - GPIO_EMC_B2 IO bank power supply mode latch enable
60288  */
60289 #define IOMUXC_GPR_GPR66_GPIO_EMC2_SUPLYDET_LATCH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_SUPLYDET_LATCH_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_SUPLYDET_LATCH_MASK)
60290 
60291 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPOK_MASK   (0x100000U)
60292 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPOK_SHIFT  (20U)
60293 /*! GPIO_EMC2_COMPOK - GPIO_EMC_B2 IO bank compensation OK flag
60294  */
60295 #define IOMUXC_GPR_GPR66_GPIO_EMC2_COMPOK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_COMPOK_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_COMPOK_MASK)
60296 
60297 #define IOMUXC_GPR_GPR66_GPIO_EMC2_NASRC_MASK    (0x1E00000U)
60298 #define IOMUXC_GPR_GPR66_GPIO_EMC2_NASRC_SHIFT   (21U)
60299 /*! GPIO_EMC2_NASRC - GPIO_EMC_B2 IO bank compensation codes
60300  */
60301 #define IOMUXC_GPR_GPR66_GPIO_EMC2_NASRC(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_GPIO_EMC2_NASRC_SHIFT)) & IOMUXC_GPR_GPR66_GPIO_EMC2_NASRC_MASK)
60302 
60303 #define IOMUXC_GPR_GPR66_DWP_MASK                (0x30000000U)
60304 #define IOMUXC_GPR_GPR66_DWP_SHIFT               (28U)
60305 /*! DWP - Domain write protection
60306  *  0b00..Both cores are allowed
60307  *  0b01..CM7 is forbidden
60308  *  0b10..CM4 is forbidden
60309  *  0b11..Both cores are forbidden
60310  */
60311 #define IOMUXC_GPR_GPR66_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_DWP_SHIFT)) & IOMUXC_GPR_GPR66_DWP_MASK)
60312 
60313 #define IOMUXC_GPR_GPR66_DWP_LOCK_MASK           (0xC0000000U)
60314 #define IOMUXC_GPR_GPR66_DWP_LOCK_SHIFT          (30U)
60315 /*! DWP_LOCK - Domain write protection lock
60316  *  0b00..Neither of DWP bits is locked
60317  *  0b01..The lower DWP bit is locked
60318  *  0b10..The higher DWP bit is locked
60319  *  0b11..Both DWP bits are locked
60320  */
60321 #define IOMUXC_GPR_GPR66_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR66_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR66_DWP_LOCK_MASK)
60322 /*! @} */
60323 
60324 /*! @name GPR67 - GPR67 General Purpose Register */
60325 /*! @{ */
60326 
60327 #define IOMUXC_GPR_GPR67_GPIO_SD1_FREEZE_MASK    (0x1U)
60328 #define IOMUXC_GPR_GPR67_GPIO_SD1_FREEZE_SHIFT   (0U)
60329 /*! GPIO_SD1_FREEZE - Compensation code freeze
60330  */
60331 #define IOMUXC_GPR_GPR67_GPIO_SD1_FREEZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_FREEZE_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_FREEZE_MASK)
60332 
60333 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPTQ_MASK    (0x2U)
60334 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPTQ_SHIFT   (1U)
60335 /*! GPIO_SD1_COMPTQ - COMPEN and COMPTQ control the operating modes of the compensation cell
60336  */
60337 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPTQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_COMPTQ_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_COMPTQ_MASK)
60338 
60339 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPEN_MASK    (0x4U)
60340 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPEN_SHIFT   (2U)
60341 /*! GPIO_SD1_COMPEN - COMPEN and COMPTQ control the operating modes of the compensation cell
60342  */
60343 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPEN(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_COMPEN_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_COMPEN_MASK)
60344 
60345 #define IOMUXC_GPR_GPR67_GPIO_SD1_FASTFRZ_EN_MASK (0x8U)
60346 #define IOMUXC_GPR_GPR67_GPIO_SD1_FASTFRZ_EN_SHIFT (3U)
60347 /*! GPIO_SD1_FASTFRZ_EN - Compensation code fast freeze
60348  */
60349 #define IOMUXC_GPR_GPR67_GPIO_SD1_FASTFRZ_EN(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_FASTFRZ_EN_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_FASTFRZ_EN_MASK)
60350 
60351 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCP_MASK    (0xF0U)
60352 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCP_SHIFT   (4U)
60353 /*! GPIO_SD1_RASRCP - GPIO_SD_B1 IO bank's 4-bit PMOS compensation codes from core
60354  */
60355 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCP(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_RASRCP_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_RASRCP_MASK)
60356 
60357 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCN_MASK    (0xF00U)
60358 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCN_SHIFT   (8U)
60359 /*! GPIO_SD1_RASRCN - GPIO_SD_B1 IO bank's 4-bit NMOS compensation codes from core
60360  */
60361 #define IOMUXC_GPR_GPR67_GPIO_SD1_RASRCN(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_RASRCN_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_RASRCN_MASK)
60362 
60363 #define IOMUXC_GPR_GPR67_GPIO_SD1_SELECT_NASRC_MASK (0x1000U)
60364 #define IOMUXC_GPR_GPR67_GPIO_SD1_SELECT_NASRC_SHIFT (12U)
60365 /*! GPIO_SD1_SELECT_NASRC - GPIO_SD1_NASRC selection
60366  */
60367 #define IOMUXC_GPR_GPR67_GPIO_SD1_SELECT_NASRC(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_SELECT_NASRC_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_SELECT_NASRC_MASK)
60368 
60369 #define IOMUXC_GPR_GPR67_GPIO_SD1_REFGEN_SLEEP_MASK (0x2000U)
60370 #define IOMUXC_GPR_GPR67_GPIO_SD1_REFGEN_SLEEP_SHIFT (13U)
60371 /*! GPIO_SD1_REFGEN_SLEEP - GPIO_SD_B1 IO bank reference voltage generator cell sleep enable
60372  */
60373 #define IOMUXC_GPR_GPR67_GPIO_SD1_REFGEN_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_REFGEN_SLEEP_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_REFGEN_SLEEP_MASK)
60374 
60375 #define IOMUXC_GPR_GPR67_GPIO_SD1_SUPLYDET_LATCH_MASK (0x4000U)
60376 #define IOMUXC_GPR_GPR67_GPIO_SD1_SUPLYDET_LATCH_SHIFT (14U)
60377 /*! GPIO_SD1_SUPLYDET_LATCH - GPIO_SD_B1 IO bank power supply mode latch enable
60378  */
60379 #define IOMUXC_GPR_GPR67_GPIO_SD1_SUPLYDET_LATCH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_SUPLYDET_LATCH_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_SUPLYDET_LATCH_MASK)
60380 
60381 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPOK_MASK    (0x100000U)
60382 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPOK_SHIFT   (20U)
60383 /*! GPIO_SD1_COMPOK - GPIO_SD_B1 IO bank compensation OK flag
60384  */
60385 #define IOMUXC_GPR_GPR67_GPIO_SD1_COMPOK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_COMPOK_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_COMPOK_MASK)
60386 
60387 #define IOMUXC_GPR_GPR67_GPIO_SD1_NASRC_MASK     (0x1E00000U)
60388 #define IOMUXC_GPR_GPR67_GPIO_SD1_NASRC_SHIFT    (21U)
60389 /*! GPIO_SD1_NASRC - GPIO_SD_B1 IO bank compensation codes
60390  */
60391 #define IOMUXC_GPR_GPR67_GPIO_SD1_NASRC(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_GPIO_SD1_NASRC_SHIFT)) & IOMUXC_GPR_GPR67_GPIO_SD1_NASRC_MASK)
60392 
60393 #define IOMUXC_GPR_GPR67_DWP_MASK                (0x30000000U)
60394 #define IOMUXC_GPR_GPR67_DWP_SHIFT               (28U)
60395 /*! DWP - Domain write protection
60396  *  0b00..Both cores are allowed
60397  *  0b01..CM7 is forbidden
60398  *  0b10..CM4 is forbidden
60399  *  0b11..Both cores are forbidden
60400  */
60401 #define IOMUXC_GPR_GPR67_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_DWP_SHIFT)) & IOMUXC_GPR_GPR67_DWP_MASK)
60402 
60403 #define IOMUXC_GPR_GPR67_DWP_LOCK_MASK           (0xC0000000U)
60404 #define IOMUXC_GPR_GPR67_DWP_LOCK_SHIFT          (30U)
60405 /*! DWP_LOCK - Domain write protection lock
60406  *  0b00..Neither of DWP bits is locked
60407  *  0b01..The lower DWP bit is locked
60408  *  0b10..The higher DWP bit is locked
60409  *  0b11..Both DWP bits are locked
60410  */
60411 #define IOMUXC_GPR_GPR67_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR67_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR67_DWP_LOCK_MASK)
60412 /*! @} */
60413 
60414 /*! @name GPR68 - GPR68 General Purpose Register */
60415 /*! @{ */
60416 
60417 #define IOMUXC_GPR_GPR68_GPIO_SD2_FREEZE_MASK    (0x1U)
60418 #define IOMUXC_GPR_GPR68_GPIO_SD2_FREEZE_SHIFT   (0U)
60419 /*! GPIO_SD2_FREEZE - Compensation code freeze
60420  */
60421 #define IOMUXC_GPR_GPR68_GPIO_SD2_FREEZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_FREEZE_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_FREEZE_MASK)
60422 
60423 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPTQ_MASK    (0x2U)
60424 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPTQ_SHIFT   (1U)
60425 /*! GPIO_SD2_COMPTQ - COMPEN and COMPTQ control the operating modes of the compensation cell
60426  */
60427 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPTQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_COMPTQ_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_COMPTQ_MASK)
60428 
60429 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPEN_MASK    (0x4U)
60430 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPEN_SHIFT   (2U)
60431 /*! GPIO_SD2_COMPEN - COMPEN and COMPTQ control the operating modes of the compensation cell
60432  */
60433 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPEN(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_COMPEN_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_COMPEN_MASK)
60434 
60435 #define IOMUXC_GPR_GPR68_GPIO_SD2_FASTFRZ_EN_MASK (0x8U)
60436 #define IOMUXC_GPR_GPR68_GPIO_SD2_FASTFRZ_EN_SHIFT (3U)
60437 /*! GPIO_SD2_FASTFRZ_EN - Compensation code fast freeze
60438  */
60439 #define IOMUXC_GPR_GPR68_GPIO_SD2_FASTFRZ_EN(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_FASTFRZ_EN_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_FASTFRZ_EN_MASK)
60440 
60441 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCP_MASK    (0xF0U)
60442 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCP_SHIFT   (4U)
60443 /*! GPIO_SD2_RASRCP - GPIO_SD_B2 IO bank's 4-bit PMOS compensation codes from core
60444  */
60445 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCP(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_RASRCP_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_RASRCP_MASK)
60446 
60447 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCN_MASK    (0xF00U)
60448 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCN_SHIFT   (8U)
60449 /*! GPIO_SD2_RASRCN - GPIO_SD_B2 IO bank's 4-bit NMOS compensation codes from core
60450  */
60451 #define IOMUXC_GPR_GPR68_GPIO_SD2_RASRCN(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_RASRCN_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_RASRCN_MASK)
60452 
60453 #define IOMUXC_GPR_GPR68_GPIO_SD2_SELECT_NASRC_MASK (0x1000U)
60454 #define IOMUXC_GPR_GPR68_GPIO_SD2_SELECT_NASRC_SHIFT (12U)
60455 /*! GPIO_SD2_SELECT_NASRC - GPIO_SD2_NASRC selection
60456  */
60457 #define IOMUXC_GPR_GPR68_GPIO_SD2_SELECT_NASRC(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_SELECT_NASRC_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_SELECT_NASRC_MASK)
60458 
60459 #define IOMUXC_GPR_GPR68_GPIO_SD2_REFGEN_SLEEP_MASK (0x2000U)
60460 #define IOMUXC_GPR_GPR68_GPIO_SD2_REFGEN_SLEEP_SHIFT (13U)
60461 /*! GPIO_SD2_REFGEN_SLEEP - GPIO_SD_B2 IO bank reference voltage generator cell sleep enable
60462  */
60463 #define IOMUXC_GPR_GPR68_GPIO_SD2_REFGEN_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_REFGEN_SLEEP_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_REFGEN_SLEEP_MASK)
60464 
60465 #define IOMUXC_GPR_GPR68_GPIO_SD2_SUPLYDET_LATCH_MASK (0x4000U)
60466 #define IOMUXC_GPR_GPR68_GPIO_SD2_SUPLYDET_LATCH_SHIFT (14U)
60467 /*! GPIO_SD2_SUPLYDET_LATCH - GPIO_SD_B2 IO bank power supply mode latch enable
60468  */
60469 #define IOMUXC_GPR_GPR68_GPIO_SD2_SUPLYDET_LATCH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_SUPLYDET_LATCH_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_SUPLYDET_LATCH_MASK)
60470 
60471 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPOK_MASK    (0x100000U)
60472 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPOK_SHIFT   (20U)
60473 /*! GPIO_SD2_COMPOK - GPIO_SD_B2 IO bank compensation OK flag
60474  */
60475 #define IOMUXC_GPR_GPR68_GPIO_SD2_COMPOK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_COMPOK_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_COMPOK_MASK)
60476 
60477 #define IOMUXC_GPR_GPR68_GPIO_SD2_NASRC_MASK     (0x1E00000U)
60478 #define IOMUXC_GPR_GPR68_GPIO_SD2_NASRC_SHIFT    (21U)
60479 /*! GPIO_SD2_NASRC - GPIO_SD_B2 IO bank compensation codes
60480  */
60481 #define IOMUXC_GPR_GPR68_GPIO_SD2_NASRC(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_GPIO_SD2_NASRC_SHIFT)) & IOMUXC_GPR_GPR68_GPIO_SD2_NASRC_MASK)
60482 
60483 #define IOMUXC_GPR_GPR68_DWP_MASK                (0x30000000U)
60484 #define IOMUXC_GPR_GPR68_DWP_SHIFT               (28U)
60485 /*! DWP - Domain write protection
60486  *  0b00..Both cores are allowed
60487  *  0b01..CM7 is forbidden
60488  *  0b10..CM4 is forbidden
60489  *  0b11..Both cores are forbidden
60490  */
60491 #define IOMUXC_GPR_GPR68_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_DWP_SHIFT)) & IOMUXC_GPR_GPR68_DWP_MASK)
60492 
60493 #define IOMUXC_GPR_GPR68_DWP_LOCK_MASK           (0xC0000000U)
60494 #define IOMUXC_GPR_GPR68_DWP_LOCK_SHIFT          (30U)
60495 /*! DWP_LOCK - Domain write protection lock
60496  *  0b00..Neither of DWP bits is locked
60497  *  0b01..The lower DWP bit is locked
60498  *  0b10..The higher DWP bit is locked
60499  *  0b11..Both DWP bits are locked
60500  */
60501 #define IOMUXC_GPR_GPR68_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR68_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR68_DWP_LOCK_MASK)
60502 /*! @} */
60503 
60504 /*! @name GPR69 - GPR69 General Purpose Register */
60505 /*! @{ */
60506 
60507 #define IOMUXC_GPR_GPR69_GPIO_DISP2_HIGH_RANGE_MASK (0x2U)
60508 #define IOMUXC_GPR_GPR69_GPIO_DISP2_HIGH_RANGE_SHIFT (1U)
60509 /*! GPIO_DISP2_HIGH_RANGE - GPIO_DISP_B2 IO bank supply voltage range selection
60510  */
60511 #define IOMUXC_GPR_GPR69_GPIO_DISP2_HIGH_RANGE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_DISP2_HIGH_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_DISP2_HIGH_RANGE_MASK)
60512 
60513 #define IOMUXC_GPR_GPR69_GPIO_DISP2_LOW_RANGE_MASK (0x4U)
60514 #define IOMUXC_GPR_GPR69_GPIO_DISP2_LOW_RANGE_SHIFT (2U)
60515 /*! GPIO_DISP2_LOW_RANGE - GPIO_DISP_B2 IO bank supply voltage range selection
60516  */
60517 #define IOMUXC_GPR_GPR69_GPIO_DISP2_LOW_RANGE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_DISP2_LOW_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_DISP2_LOW_RANGE_MASK)
60518 
60519 #define IOMUXC_GPR_GPR69_GPIO_AD0_HIGH_RANGE_MASK (0x10U)
60520 #define IOMUXC_GPR_GPR69_GPIO_AD0_HIGH_RANGE_SHIFT (4U)
60521 /*! GPIO_AD0_HIGH_RANGE - GPIO_AD IO bank supply voltage range selection for GPIO_AD_00 to GPIO_AD_17
60522  */
60523 #define IOMUXC_GPR_GPR69_GPIO_AD0_HIGH_RANGE(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_AD0_HIGH_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_AD0_HIGH_RANGE_MASK)
60524 
60525 #define IOMUXC_GPR_GPR69_GPIO_AD0_LOW_RANGE_MASK (0x20U)
60526 #define IOMUXC_GPR_GPR69_GPIO_AD0_LOW_RANGE_SHIFT (5U)
60527 /*! GPIO_AD0_LOW_RANGE - GPIO_AD IO bank supply voltage range selection for GPIO_AD_00 to GPIO_AD_17
60528  */
60529 #define IOMUXC_GPR_GPR69_GPIO_AD0_LOW_RANGE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_AD0_LOW_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_AD0_LOW_RANGE_MASK)
60530 
60531 #define IOMUXC_GPR_GPR69_GPIO_AD1_HIGH_RANGE_MASK (0x80U)
60532 #define IOMUXC_GPR_GPR69_GPIO_AD1_HIGH_RANGE_SHIFT (7U)
60533 /*! GPIO_AD1_HIGH_RANGE - GPIO_LPSR IO bank supply voltage range selection for GPIO_AD_18 to GPIO_AD_35
60534  */
60535 #define IOMUXC_GPR_GPR69_GPIO_AD1_HIGH_RANGE(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_AD1_HIGH_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_AD1_HIGH_RANGE_MASK)
60536 
60537 #define IOMUXC_GPR_GPR69_GPIO_AD1_LOW_RANGE_MASK (0x100U)
60538 #define IOMUXC_GPR_GPR69_GPIO_AD1_LOW_RANGE_SHIFT (8U)
60539 /*! GPIO_AD1_LOW_RANGE - GPIO_LPSR IO bank supply voltage range selection for GPIO_AD_18 to GPIO_AD_35
60540  */
60541 #define IOMUXC_GPR_GPR69_GPIO_AD1_LOW_RANGE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_GPIO_AD1_LOW_RANGE_SHIFT)) & IOMUXC_GPR_GPR69_GPIO_AD1_LOW_RANGE_MASK)
60542 
60543 #define IOMUXC_GPR_GPR69_SUPLYDET_DISP1_SLEEP_MASK (0x200U)
60544 #define IOMUXC_GPR_GPR69_SUPLYDET_DISP1_SLEEP_SHIFT (9U)
60545 /*! SUPLYDET_DISP1_SLEEP - GPIO_DISP_B1 IO bank supply voltage detector sleep mode enable
60546  */
60547 #define IOMUXC_GPR_GPR69_SUPLYDET_DISP1_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_SUPLYDET_DISP1_SLEEP_SHIFT)) & IOMUXC_GPR_GPR69_SUPLYDET_DISP1_SLEEP_MASK)
60548 
60549 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC1_SLEEP_MASK (0x400U)
60550 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC1_SLEEP_SHIFT (10U)
60551 /*! SUPLYDET_EMC1_SLEEP - GPIO_EMC_B1 IO bank supply voltage detector sleep mode enable
60552  */
60553 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC1_SLEEP(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_SUPLYDET_EMC1_SLEEP_SHIFT)) & IOMUXC_GPR_GPR69_SUPLYDET_EMC1_SLEEP_MASK)
60554 
60555 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC2_SLEEP_MASK (0x800U)
60556 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC2_SLEEP_SHIFT (11U)
60557 /*! SUPLYDET_EMC2_SLEEP - GPIO_EMC_B2 IO bank supply voltage detector sleep mode enable
60558  */
60559 #define IOMUXC_GPR_GPR69_SUPLYDET_EMC2_SLEEP(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_SUPLYDET_EMC2_SLEEP_SHIFT)) & IOMUXC_GPR_GPR69_SUPLYDET_EMC2_SLEEP_MASK)
60560 
60561 #define IOMUXC_GPR_GPR69_SUPLYDET_SD1_SLEEP_MASK (0x1000U)
60562 #define IOMUXC_GPR_GPR69_SUPLYDET_SD1_SLEEP_SHIFT (12U)
60563 /*! SUPLYDET_SD1_SLEEP - GPIO_SD_B1 IO bank supply voltage detector sleep mode enable
60564  */
60565 #define IOMUXC_GPR_GPR69_SUPLYDET_SD1_SLEEP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_SUPLYDET_SD1_SLEEP_SHIFT)) & IOMUXC_GPR_GPR69_SUPLYDET_SD1_SLEEP_MASK)
60566 
60567 #define IOMUXC_GPR_GPR69_SUPLYDET_SD2_SLEEP_MASK (0x2000U)
60568 #define IOMUXC_GPR_GPR69_SUPLYDET_SD2_SLEEP_SHIFT (13U)
60569 /*! SUPLYDET_SD2_SLEEP - GPIO_SD_B2 IO bank supply voltage detector sleep mode enable
60570  */
60571 #define IOMUXC_GPR_GPR69_SUPLYDET_SD2_SLEEP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_SUPLYDET_SD2_SLEEP_SHIFT)) & IOMUXC_GPR_GPR69_SUPLYDET_SD2_SLEEP_MASK)
60572 
60573 #define IOMUXC_GPR_GPR69_DWP_MASK                (0x30000000U)
60574 #define IOMUXC_GPR_GPR69_DWP_SHIFT               (28U)
60575 /*! DWP - Domain write protection
60576  *  0b00..Both cores are allowed
60577  *  0b01..CM7 is forbidden
60578  *  0b10..CM4 is forbidden
60579  *  0b11..Both cores are forbidden
60580  */
60581 #define IOMUXC_GPR_GPR69_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_DWP_SHIFT)) & IOMUXC_GPR_GPR69_DWP_MASK)
60582 
60583 #define IOMUXC_GPR_GPR69_DWP_LOCK_MASK           (0xC0000000U)
60584 #define IOMUXC_GPR_GPR69_DWP_LOCK_SHIFT          (30U)
60585 /*! DWP_LOCK - Domain write protection lock
60586  *  0b00..Neither of DWP bits is locked
60587  *  0b01..The lower DWP bit is locked
60588  *  0b10..The higher DWP bit is locked
60589  *  0b11..Both DWP bits are locked
60590  */
60591 #define IOMUXC_GPR_GPR69_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR69_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR69_DWP_LOCK_MASK)
60592 /*! @} */
60593 
60594 /*! @name GPR70 - GPR70 General Purpose Register */
60595 /*! @{ */
60596 
60597 #define IOMUXC_GPR_GPR70_ADC1_IPG_DOZE_MASK      (0x1U)
60598 #define IOMUXC_GPR_GPR70_ADC1_IPG_DOZE_SHIFT     (0U)
60599 /*! ADC1_IPG_DOZE - ADC1 doze mode
60600  */
60601 #define IOMUXC_GPR_GPR70_ADC1_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_ADC1_IPG_DOZE_MASK)
60602 
60603 #define IOMUXC_GPR_GPR70_ADC1_STOP_REQ_MASK      (0x2U)
60604 #define IOMUXC_GPR_GPR70_ADC1_STOP_REQ_SHIFT     (1U)
60605 /*! ADC1_STOP_REQ - ADC1 stop request
60606  */
60607 #define IOMUXC_GPR_GPR70_ADC1_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_ADC1_STOP_REQ_MASK)
60608 
60609 #define IOMUXC_GPR_GPR70_ADC1_IPG_STOP_MODE_MASK (0x4U)
60610 #define IOMUXC_GPR_GPR70_ADC1_IPG_STOP_MODE_SHIFT (2U)
60611 /*! ADC1_IPG_STOP_MODE - ADC1 stop mode selection, cannot change when ADC1_STOP_REQ is asserted.
60612  *  0b0..This module is functional in Stop Mode
60613  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60614  */
60615 #define IOMUXC_GPR_GPR70_ADC1_IPG_STOP_MODE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC1_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR70_ADC1_IPG_STOP_MODE_MASK)
60616 
60617 #define IOMUXC_GPR_GPR70_ADC2_IPG_DOZE_MASK      (0x8U)
60618 #define IOMUXC_GPR_GPR70_ADC2_IPG_DOZE_SHIFT     (3U)
60619 /*! ADC2_IPG_DOZE - ADC2 doze mode
60620  */
60621 #define IOMUXC_GPR_GPR70_ADC2_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_ADC2_IPG_DOZE_MASK)
60622 
60623 #define IOMUXC_GPR_GPR70_ADC2_STOP_REQ_MASK      (0x10U)
60624 #define IOMUXC_GPR_GPR70_ADC2_STOP_REQ_SHIFT     (4U)
60625 /*! ADC2_STOP_REQ - ADC2 stop request
60626  */
60627 #define IOMUXC_GPR_GPR70_ADC2_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_ADC2_STOP_REQ_MASK)
60628 
60629 #define IOMUXC_GPR_GPR70_ADC2_IPG_STOP_MODE_MASK (0x20U)
60630 #define IOMUXC_GPR_GPR70_ADC2_IPG_STOP_MODE_SHIFT (5U)
60631 /*! ADC2_IPG_STOP_MODE - ADC2 stop mode selection, cannot change when ADC2_STOP_REQ is asserted.
60632  *  0b0..This module is functional in Stop Mode
60633  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60634  */
60635 #define IOMUXC_GPR_GPR70_ADC2_IPG_STOP_MODE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ADC2_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR70_ADC2_IPG_STOP_MODE_MASK)
60636 
60637 #define IOMUXC_GPR_GPR70_CAAM_IPG_DOZE_MASK      (0x40U)
60638 #define IOMUXC_GPR_GPR70_CAAM_IPG_DOZE_SHIFT     (6U)
60639 /*! CAAM_IPG_DOZE - CAN3 doze mode
60640  */
60641 #define IOMUXC_GPR_GPR70_CAAM_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAAM_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_CAAM_IPG_DOZE_MASK)
60642 
60643 #define IOMUXC_GPR_GPR70_CAAM_STOP_REQ_MASK      (0x80U)
60644 #define IOMUXC_GPR_GPR70_CAAM_STOP_REQ_SHIFT     (7U)
60645 /*! CAAM_STOP_REQ - CAAM stop request
60646  */
60647 #define IOMUXC_GPR_GPR70_CAAM_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAAM_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_CAAM_STOP_REQ_MASK)
60648 
60649 #define IOMUXC_GPR_GPR70_CAN1_IPG_DOZE_MASK      (0x100U)
60650 #define IOMUXC_GPR_GPR70_CAN1_IPG_DOZE_SHIFT     (8U)
60651 /*! CAN1_IPG_DOZE - CAN1 doze mode
60652  */
60653 #define IOMUXC_GPR_GPR70_CAN1_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_CAN1_IPG_DOZE_MASK)
60654 
60655 #define IOMUXC_GPR_GPR70_CAN1_STOP_REQ_MASK      (0x200U)
60656 #define IOMUXC_GPR_GPR70_CAN1_STOP_REQ_SHIFT     (9U)
60657 /*! CAN1_STOP_REQ - CAN1 stop request
60658  */
60659 #define IOMUXC_GPR_GPR70_CAN1_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_CAN1_STOP_REQ_MASK)
60660 
60661 #define IOMUXC_GPR_GPR70_CAN2_IPG_DOZE_MASK      (0x400U)
60662 #define IOMUXC_GPR_GPR70_CAN2_IPG_DOZE_SHIFT     (10U)
60663 /*! CAN2_IPG_DOZE - CAN2 doze mode
60664  */
60665 #define IOMUXC_GPR_GPR70_CAN2_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_CAN2_IPG_DOZE_MASK)
60666 
60667 #define IOMUXC_GPR_GPR70_CAN2_STOP_REQ_MASK      (0x800U)
60668 #define IOMUXC_GPR_GPR70_CAN2_STOP_REQ_SHIFT     (11U)
60669 /*! CAN2_STOP_REQ - CAN2 stop request
60670  */
60671 #define IOMUXC_GPR_GPR70_CAN2_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_CAN2_STOP_REQ_MASK)
60672 
60673 #define IOMUXC_GPR_GPR70_CAN3_IPG_DOZE_MASK      (0x1000U)
60674 #define IOMUXC_GPR_GPR70_CAN3_IPG_DOZE_SHIFT     (12U)
60675 /*! CAN3_IPG_DOZE - CAN3 doze mode
60676  */
60677 #define IOMUXC_GPR_GPR70_CAN3_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN3_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_CAN3_IPG_DOZE_MASK)
60678 
60679 #define IOMUXC_GPR_GPR70_CAN3_STOP_REQ_MASK      (0x2000U)
60680 #define IOMUXC_GPR_GPR70_CAN3_STOP_REQ_SHIFT     (13U)
60681 /*! CAN3_STOP_REQ - CAN3 stop request
60682  */
60683 #define IOMUXC_GPR_GPR70_CAN3_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_CAN3_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_CAN3_STOP_REQ_MASK)
60684 
60685 #define IOMUXC_GPR_GPR70_EDMA_STOP_REQ_MASK      (0x8000U)
60686 #define IOMUXC_GPR_GPR70_EDMA_STOP_REQ_SHIFT     (15U)
60687 /*! EDMA_STOP_REQ - EDMA stop request
60688  */
60689 #define IOMUXC_GPR_GPR70_EDMA_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_EDMA_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_EDMA_STOP_REQ_MASK)
60690 
60691 #define IOMUXC_GPR_GPR70_EDMA_LPSR_STOP_REQ_MASK (0x10000U)
60692 #define IOMUXC_GPR_GPR70_EDMA_LPSR_STOP_REQ_SHIFT (16U)
60693 /*! EDMA_LPSR_STOP_REQ - EDMA_LPSR stop request
60694  */
60695 #define IOMUXC_GPR_GPR70_EDMA_LPSR_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_EDMA_LPSR_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_EDMA_LPSR_STOP_REQ_MASK)
60696 
60697 #define IOMUXC_GPR_GPR70_ENET_IPG_DOZE_MASK      (0x20000U)
60698 #define IOMUXC_GPR_GPR70_ENET_IPG_DOZE_SHIFT     (17U)
60699 /*! ENET_IPG_DOZE - ENET doze mode
60700  */
60701 #define IOMUXC_GPR_GPR70_ENET_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ENET_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_ENET_IPG_DOZE_MASK)
60702 
60703 #define IOMUXC_GPR_GPR70_ENET_STOP_REQ_MASK      (0x40000U)
60704 #define IOMUXC_GPR_GPR70_ENET_STOP_REQ_SHIFT     (18U)
60705 /*! ENET_STOP_REQ - ENET stop request
60706  */
60707 #define IOMUXC_GPR_GPR70_ENET_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ENET_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_ENET_STOP_REQ_MASK)
60708 
60709 #define IOMUXC_GPR_GPR70_ENET1G_IPG_DOZE_MASK    (0x80000U)
60710 #define IOMUXC_GPR_GPR70_ENET1G_IPG_DOZE_SHIFT   (19U)
60711 /*! ENET1G_IPG_DOZE - ENET1G doze mode
60712  */
60713 #define IOMUXC_GPR_GPR70_ENET1G_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ENET1G_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_ENET1G_IPG_DOZE_MASK)
60714 
60715 #define IOMUXC_GPR_GPR70_ENET1G_STOP_REQ_MASK    (0x100000U)
60716 #define IOMUXC_GPR_GPR70_ENET1G_STOP_REQ_SHIFT   (20U)
60717 /*! ENET1G_STOP_REQ - ENET1G stop request
60718  */
60719 #define IOMUXC_GPR_GPR70_ENET1G_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_ENET1G_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_ENET1G_STOP_REQ_MASK)
60720 
60721 #define IOMUXC_GPR_GPR70_FLEXIO1_IPG_DOZE_MASK   (0x200000U)
60722 #define IOMUXC_GPR_GPR70_FLEXIO1_IPG_DOZE_SHIFT  (21U)
60723 /*! FLEXIO1_IPG_DOZE - FLEXIO2 doze mode
60724  */
60725 #define IOMUXC_GPR_GPR70_FLEXIO1_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXIO1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_FLEXIO1_IPG_DOZE_MASK)
60726 
60727 #define IOMUXC_GPR_GPR70_FLEXIO2_IPG_DOZE_MASK   (0x400000U)
60728 #define IOMUXC_GPR_GPR70_FLEXIO2_IPG_DOZE_SHIFT  (22U)
60729 /*! FLEXIO2_IPG_DOZE - FLEXIO2 doze mode
60730  */
60731 #define IOMUXC_GPR_GPR70_FLEXIO2_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXIO2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_FLEXIO2_IPG_DOZE_MASK)
60732 
60733 #define IOMUXC_GPR_GPR70_FLEXSPI1_IPG_DOZE_MASK  (0x800000U)
60734 #define IOMUXC_GPR_GPR70_FLEXSPI1_IPG_DOZE_SHIFT (23U)
60735 /*! FLEXSPI1_IPG_DOZE - FLEXSPI1 doze mode
60736  */
60737 #define IOMUXC_GPR_GPR70_FLEXSPI1_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXSPI1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_FLEXSPI1_IPG_DOZE_MASK)
60738 
60739 #define IOMUXC_GPR_GPR70_FLEXSPI1_STOP_REQ_MASK  (0x1000000U)
60740 #define IOMUXC_GPR_GPR70_FLEXSPI1_STOP_REQ_SHIFT (24U)
60741 /*! FLEXSPI1_STOP_REQ - FLEXSPI1 stop request
60742  */
60743 #define IOMUXC_GPR_GPR70_FLEXSPI1_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXSPI1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_FLEXSPI1_STOP_REQ_MASK)
60744 
60745 #define IOMUXC_GPR_GPR70_FLEXSPI2_IPG_DOZE_MASK  (0x2000000U)
60746 #define IOMUXC_GPR_GPR70_FLEXSPI2_IPG_DOZE_SHIFT (25U)
60747 /*! FLEXSPI2_IPG_DOZE - FLEXSPI2 doze mode
60748  */
60749 #define IOMUXC_GPR_GPR70_FLEXSPI2_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXSPI2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR70_FLEXSPI2_IPG_DOZE_MASK)
60750 
60751 #define IOMUXC_GPR_GPR70_FLEXSPI2_STOP_REQ_MASK  (0x4000000U)
60752 #define IOMUXC_GPR_GPR70_FLEXSPI2_STOP_REQ_SHIFT (26U)
60753 /*! FLEXSPI2_STOP_REQ - FLEXSPI2 stop request
60754  */
60755 #define IOMUXC_GPR_GPR70_FLEXSPI2_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_FLEXSPI2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR70_FLEXSPI2_STOP_REQ_MASK)
60756 
60757 #define IOMUXC_GPR_GPR70_DWP_MASK                (0x30000000U)
60758 #define IOMUXC_GPR_GPR70_DWP_SHIFT               (28U)
60759 /*! DWP - Domain write protection
60760  *  0b00..Both cores are allowed
60761  *  0b01..CM7 is forbidden
60762  *  0b10..CM4 is forbidden
60763  *  0b11..Both cores are forbidden
60764  */
60765 #define IOMUXC_GPR_GPR70_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_DWP_SHIFT)) & IOMUXC_GPR_GPR70_DWP_MASK)
60766 
60767 #define IOMUXC_GPR_GPR70_DWP_LOCK_MASK           (0xC0000000U)
60768 #define IOMUXC_GPR_GPR70_DWP_LOCK_SHIFT          (30U)
60769 /*! DWP_LOCK - Domain write protection lock
60770  *  0b00..Neither of DWP bits is locked
60771  *  0b01..The lower DWP bit is locked
60772  *  0b10..The higher DWP bit is locked
60773  *  0b11..Both DWP bits are locked
60774  */
60775 #define IOMUXC_GPR_GPR70_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR70_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR70_DWP_LOCK_MASK)
60776 /*! @} */
60777 
60778 /*! @name GPR71 - GPR71 General Purpose Register */
60779 /*! @{ */
60780 
60781 #define IOMUXC_GPR_GPR71_GPT1_IPG_DOZE_MASK      (0x1U)
60782 #define IOMUXC_GPR_GPR71_GPT1_IPG_DOZE_SHIFT     (0U)
60783 /*! GPT1_IPG_DOZE - GPT1 doze mode
60784  */
60785 #define IOMUXC_GPR_GPR71_GPT1_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT1_IPG_DOZE_MASK)
60786 
60787 #define IOMUXC_GPR_GPR71_GPT2_IPG_DOZE_MASK      (0x2U)
60788 #define IOMUXC_GPR_GPR71_GPT2_IPG_DOZE_SHIFT     (1U)
60789 /*! GPT2_IPG_DOZE - GPT2 doze mode
60790  */
60791 #define IOMUXC_GPR_GPR71_GPT2_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT2_IPG_DOZE_MASK)
60792 
60793 #define IOMUXC_GPR_GPR71_GPT3_IPG_DOZE_MASK      (0x4U)
60794 #define IOMUXC_GPR_GPR71_GPT3_IPG_DOZE_SHIFT     (2U)
60795 /*! GPT3_IPG_DOZE - GPT3 doze mode
60796  */
60797 #define IOMUXC_GPR_GPR71_GPT3_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT3_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT3_IPG_DOZE_MASK)
60798 
60799 #define IOMUXC_GPR_GPR71_GPT4_IPG_DOZE_MASK      (0x8U)
60800 #define IOMUXC_GPR_GPR71_GPT4_IPG_DOZE_SHIFT     (3U)
60801 /*! GPT4_IPG_DOZE - GPT4 doze mode
60802  */
60803 #define IOMUXC_GPR_GPR71_GPT4_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT4_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT4_IPG_DOZE_MASK)
60804 
60805 #define IOMUXC_GPR_GPR71_GPT5_IPG_DOZE_MASK      (0x10U)
60806 #define IOMUXC_GPR_GPR71_GPT5_IPG_DOZE_SHIFT     (4U)
60807 /*! GPT5_IPG_DOZE - GPT5 doze mode
60808  */
60809 #define IOMUXC_GPR_GPR71_GPT5_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT5_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT5_IPG_DOZE_MASK)
60810 
60811 #define IOMUXC_GPR_GPR71_GPT6_IPG_DOZE_MASK      (0x20U)
60812 #define IOMUXC_GPR_GPR71_GPT6_IPG_DOZE_SHIFT     (5U)
60813 /*! GPT6_IPG_DOZE - GPT6 doze mode
60814  */
60815 #define IOMUXC_GPR_GPR71_GPT6_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_GPT6_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_GPT6_IPG_DOZE_MASK)
60816 
60817 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_DOZE_MASK    (0x40U)
60818 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_DOZE_SHIFT   (6U)
60819 /*! LPI2C1_IPG_DOZE - LPI2C1 doze mode
60820  */
60821 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C1_IPG_DOZE_MASK)
60822 
60823 #define IOMUXC_GPR_GPR71_LPI2C1_STOP_REQ_MASK    (0x80U)
60824 #define IOMUXC_GPR_GPR71_LPI2C1_STOP_REQ_SHIFT   (7U)
60825 /*! LPI2C1_STOP_REQ - LPI2C1 stop request
60826  */
60827 #define IOMUXC_GPR_GPR71_LPI2C1_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C1_STOP_REQ_MASK)
60828 
60829 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_STOP_MODE_MASK (0x100U)
60830 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_STOP_MODE_SHIFT (8U)
60831 /*! LPI2C1_IPG_STOP_MODE - LPI2C1 stop mode selection, cannot change when LPI2C1_STOP_REQ is asserted.
60832  *  0b0..This module is functional in Stop Mode
60833  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60834  */
60835 #define IOMUXC_GPR_GPR71_LPI2C1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C1_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C1_IPG_STOP_MODE_MASK)
60836 
60837 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_DOZE_MASK    (0x200U)
60838 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_DOZE_SHIFT   (9U)
60839 /*! LPI2C2_IPG_DOZE - LPI2C2 doze mode
60840  */
60841 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C2_IPG_DOZE_MASK)
60842 
60843 #define IOMUXC_GPR_GPR71_LPI2C2_STOP_REQ_MASK    (0x400U)
60844 #define IOMUXC_GPR_GPR71_LPI2C2_STOP_REQ_SHIFT   (10U)
60845 /*! LPI2C2_STOP_REQ - LPI2C2 stop request
60846  */
60847 #define IOMUXC_GPR_GPR71_LPI2C2_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C2_STOP_REQ_MASK)
60848 
60849 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_STOP_MODE_MASK (0x800U)
60850 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_STOP_MODE_SHIFT (11U)
60851 /*! LPI2C2_IPG_STOP_MODE - LPI2C2 stop mode selection, cannot change when LPI2C2_STOP_REQ is asserted.
60852  *  0b0..This module is functional in Stop Mode
60853  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60854  */
60855 #define IOMUXC_GPR_GPR71_LPI2C2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C2_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C2_IPG_STOP_MODE_MASK)
60856 
60857 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_DOZE_MASK    (0x1000U)
60858 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_DOZE_SHIFT   (12U)
60859 /*! LPI2C3_IPG_DOZE - LPI2C3 doze mode
60860  */
60861 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C3_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C3_IPG_DOZE_MASK)
60862 
60863 #define IOMUXC_GPR_GPR71_LPI2C3_STOP_REQ_MASK    (0x2000U)
60864 #define IOMUXC_GPR_GPR71_LPI2C3_STOP_REQ_SHIFT   (13U)
60865 /*! LPI2C3_STOP_REQ - LPI2C3 stop request
60866  */
60867 #define IOMUXC_GPR_GPR71_LPI2C3_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C3_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C3_STOP_REQ_MASK)
60868 
60869 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_STOP_MODE_MASK (0x4000U)
60870 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_STOP_MODE_SHIFT (14U)
60871 /*! LPI2C3_IPG_STOP_MODE - LPI2C3 stop mode selection, cannot change when LPI2C3_STOP_REQ is asserted.
60872  *  0b0..This module is functional in Stop Mode
60873  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60874  */
60875 #define IOMUXC_GPR_GPR71_LPI2C3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C3_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C3_IPG_STOP_MODE_MASK)
60876 
60877 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_DOZE_MASK    (0x8000U)
60878 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_DOZE_SHIFT   (15U)
60879 /*! LPI2C4_IPG_DOZE - LPI2C4 doze mode
60880  */
60881 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C4_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C4_IPG_DOZE_MASK)
60882 
60883 #define IOMUXC_GPR_GPR71_LPI2C4_STOP_REQ_MASK    (0x10000U)
60884 #define IOMUXC_GPR_GPR71_LPI2C4_STOP_REQ_SHIFT   (16U)
60885 /*! LPI2C4_STOP_REQ - LPI2C4 stop request
60886  */
60887 #define IOMUXC_GPR_GPR71_LPI2C4_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C4_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C4_STOP_REQ_MASK)
60888 
60889 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_STOP_MODE_MASK (0x20000U)
60890 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_STOP_MODE_SHIFT (17U)
60891 /*! LPI2C4_IPG_STOP_MODE - LPI2C4 stop mode selection, cannot change when LPI2C4_STOP_REQ is asserted.
60892  *  0b0..This module is functional in Stop Mode
60893  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60894  */
60895 #define IOMUXC_GPR_GPR71_LPI2C4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C4_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C4_IPG_STOP_MODE_MASK)
60896 
60897 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_DOZE_MASK    (0x40000U)
60898 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_DOZE_SHIFT   (18U)
60899 /*! LPI2C5_IPG_DOZE - LPI2C5 doze mode
60900  */
60901 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C5_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C5_IPG_DOZE_MASK)
60902 
60903 #define IOMUXC_GPR_GPR71_LPI2C5_STOP_REQ_MASK    (0x80000U)
60904 #define IOMUXC_GPR_GPR71_LPI2C5_STOP_REQ_SHIFT   (19U)
60905 /*! LPI2C5_STOP_REQ - LPI2C5 stop request
60906  */
60907 #define IOMUXC_GPR_GPR71_LPI2C5_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C5_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C5_STOP_REQ_MASK)
60908 
60909 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_STOP_MODE_MASK (0x100000U)
60910 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_STOP_MODE_SHIFT (20U)
60911 /*! LPI2C5_IPG_STOP_MODE - LPI2C5 stop mode selection, cannot change when LPI2C5_STOP_REQ is asserted.
60912  *  0b0..This module is functional in Stop Mode
60913  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60914  */
60915 #define IOMUXC_GPR_GPR71_LPI2C5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C5_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C5_IPG_STOP_MODE_MASK)
60916 
60917 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_DOZE_MASK    (0x200000U)
60918 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_DOZE_SHIFT   (21U)
60919 /*! LPI2C6_IPG_DOZE - LPI2C6 doze mode
60920  */
60921 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C6_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C6_IPG_DOZE_MASK)
60922 
60923 #define IOMUXC_GPR_GPR71_LPI2C6_STOP_REQ_MASK    (0x400000U)
60924 #define IOMUXC_GPR_GPR71_LPI2C6_STOP_REQ_SHIFT   (22U)
60925 /*! LPI2C6_STOP_REQ - LPI2C6 stop request
60926  */
60927 #define IOMUXC_GPR_GPR71_LPI2C6_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C6_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C6_STOP_REQ_MASK)
60928 
60929 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_STOP_MODE_MASK (0x800000U)
60930 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_STOP_MODE_SHIFT (23U)
60931 /*! LPI2C6_IPG_STOP_MODE - LPI2C6 stop mode selection, cannot change when LPI2C6_STOP_REQ is asserted.
60932  *  0b0..This module is functional in Stop Mode
60933  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60934  */
60935 #define IOMUXC_GPR_GPR71_LPI2C6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPI2C6_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPI2C6_IPG_STOP_MODE_MASK)
60936 
60937 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_DOZE_MASK    (0x1000000U)
60938 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_DOZE_SHIFT   (24U)
60939 /*! LPSPI1_IPG_DOZE - LPSPI1 doze mode
60940  */
60941 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPSPI1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR71_LPSPI1_IPG_DOZE_MASK)
60942 
60943 #define IOMUXC_GPR_GPR71_LPSPI1_STOP_REQ_MASK    (0x2000000U)
60944 #define IOMUXC_GPR_GPR71_LPSPI1_STOP_REQ_SHIFT   (25U)
60945 /*! LPSPI1_STOP_REQ - LPSPI1 stop request
60946  */
60947 #define IOMUXC_GPR_GPR71_LPSPI1_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPSPI1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR71_LPSPI1_STOP_REQ_MASK)
60948 
60949 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_STOP_MODE_MASK (0x4000000U)
60950 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_STOP_MODE_SHIFT (26U)
60951 /*! LPSPI1_IPG_STOP_MODE - LPSPI1 stop mode selection, cannot change when LPSPI1_STOP_REQ is asserted.
60952  *  0b0..This module is functional in Stop Mode
60953  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60954  */
60955 #define IOMUXC_GPR_GPR71_LPSPI1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_LPSPI1_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR71_LPSPI1_IPG_STOP_MODE_MASK)
60956 
60957 #define IOMUXC_GPR_GPR71_DWP_MASK                (0x30000000U)
60958 #define IOMUXC_GPR_GPR71_DWP_SHIFT               (28U)
60959 /*! DWP - Domain write protection
60960  *  0b00..Both cores are allowed
60961  *  0b01..CM7 is forbidden
60962  *  0b10..CM4 is forbidden
60963  *  0b11..Both cores are forbidden
60964  */
60965 #define IOMUXC_GPR_GPR71_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_DWP_SHIFT)) & IOMUXC_GPR_GPR71_DWP_MASK)
60966 
60967 #define IOMUXC_GPR_GPR71_DWP_LOCK_MASK           (0xC0000000U)
60968 #define IOMUXC_GPR_GPR71_DWP_LOCK_SHIFT          (30U)
60969 /*! DWP_LOCK - Domain write protection lock
60970  *  0b00..Neither of DWP bits is locked
60971  *  0b01..The lower DWP bit is locked
60972  *  0b10..The higher DWP bit is locked
60973  *  0b11..Both DWP bits are locked
60974  */
60975 #define IOMUXC_GPR_GPR71_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR71_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR71_DWP_LOCK_MASK)
60976 /*! @} */
60977 
60978 /*! @name GPR72 - GPR72 General Purpose Register */
60979 /*! @{ */
60980 
60981 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_DOZE_MASK    (0x1U)
60982 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_DOZE_SHIFT   (0U)
60983 /*! LPSPI2_IPG_DOZE - LPSPI2 doze mode
60984  */
60985 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI2_IPG_DOZE_MASK)
60986 
60987 #define IOMUXC_GPR_GPR72_LPSPI2_STOP_REQ_MASK    (0x2U)
60988 #define IOMUXC_GPR_GPR72_LPSPI2_STOP_REQ_SHIFT   (1U)
60989 /*! LPSPI2_STOP_REQ - LPSPI2 stop request
60990  */
60991 #define IOMUXC_GPR_GPR72_LPSPI2_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI2_STOP_REQ_MASK)
60992 
60993 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_STOP_MODE_MASK (0x4U)
60994 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_STOP_MODE_SHIFT (2U)
60995 /*! LPSPI2_IPG_STOP_MODE - LPSPI2 stop mode selection, cannot change when LPSPI2_STOP_REQ is asserted.
60996  *  0b0..This module is functional in Stop Mode
60997  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
60998  */
60999 #define IOMUXC_GPR_GPR72_LPSPI2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI2_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI2_IPG_STOP_MODE_MASK)
61000 
61001 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_DOZE_MASK    (0x8U)
61002 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_DOZE_SHIFT   (3U)
61003 /*! LPSPI3_IPG_DOZE - LPSPI3 doze mode
61004  */
61005 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI3_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI3_IPG_DOZE_MASK)
61006 
61007 #define IOMUXC_GPR_GPR72_LPSPI3_STOP_REQ_MASK    (0x10U)
61008 #define IOMUXC_GPR_GPR72_LPSPI3_STOP_REQ_SHIFT   (4U)
61009 /*! LPSPI3_STOP_REQ - LPSPI3 stop request
61010  */
61011 #define IOMUXC_GPR_GPR72_LPSPI3_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI3_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI3_STOP_REQ_MASK)
61012 
61013 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_STOP_MODE_MASK (0x20U)
61014 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_STOP_MODE_SHIFT (5U)
61015 /*! LPSPI3_IPG_STOP_MODE - LPSPI3 stop mode selection, cannot change when LPSPI3_STOP_REQ is asserted.
61016  *  0b0..This module is functional in Stop Mode
61017  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61018  */
61019 #define IOMUXC_GPR_GPR72_LPSPI3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI3_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI3_IPG_STOP_MODE_MASK)
61020 
61021 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_DOZE_MASK    (0x40U)
61022 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_DOZE_SHIFT   (6U)
61023 /*! LPSPI4_IPG_DOZE - LPSPI4 doze mode
61024  */
61025 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI4_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI4_IPG_DOZE_MASK)
61026 
61027 #define IOMUXC_GPR_GPR72_LPSPI4_STOP_REQ_MASK    (0x80U)
61028 #define IOMUXC_GPR_GPR72_LPSPI4_STOP_REQ_SHIFT   (7U)
61029 /*! LPSPI4_STOP_REQ - LPSPI4 stop request
61030  */
61031 #define IOMUXC_GPR_GPR72_LPSPI4_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI4_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI4_STOP_REQ_MASK)
61032 
61033 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_STOP_MODE_MASK (0x100U)
61034 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_STOP_MODE_SHIFT (8U)
61035 /*! LPSPI4_IPG_STOP_MODE - LPSPI4 stop mode selection, cannot change when LPSPI4_STOP_REQ is asserted.
61036  *  0b0..This module is functional in Stop Mode
61037  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61038  */
61039 #define IOMUXC_GPR_GPR72_LPSPI4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI4_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI4_IPG_STOP_MODE_MASK)
61040 
61041 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_DOZE_MASK    (0x200U)
61042 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_DOZE_SHIFT   (9U)
61043 /*! LPSPI5_IPG_DOZE - LPSPI5 doze mode
61044  */
61045 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI5_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI5_IPG_DOZE_MASK)
61046 
61047 #define IOMUXC_GPR_GPR72_LPSPI5_STOP_REQ_MASK    (0x400U)
61048 #define IOMUXC_GPR_GPR72_LPSPI5_STOP_REQ_SHIFT   (10U)
61049 /*! LPSPI5_STOP_REQ - LPSPI5 stop request
61050  */
61051 #define IOMUXC_GPR_GPR72_LPSPI5_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI5_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI5_STOP_REQ_MASK)
61052 
61053 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_STOP_MODE_MASK (0x800U)
61054 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_STOP_MODE_SHIFT (11U)
61055 /*! LPSPI5_IPG_STOP_MODE - LPSPI5 stop mode selection, cannot change when LPSPI5_STOP_REQ is asserted.
61056  *  0b0..This module is functional in Stop Mode
61057  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61058  */
61059 #define IOMUXC_GPR_GPR72_LPSPI5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI5_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI5_IPG_STOP_MODE_MASK)
61060 
61061 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_DOZE_MASK    (0x1000U)
61062 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_DOZE_SHIFT   (12U)
61063 /*! LPSPI6_IPG_DOZE - LPSPI6 doze mode
61064  */
61065 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_DOZE(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI6_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI6_IPG_DOZE_MASK)
61066 
61067 #define IOMUXC_GPR_GPR72_LPSPI6_STOP_REQ_MASK    (0x2000U)
61068 #define IOMUXC_GPR_GPR72_LPSPI6_STOP_REQ_SHIFT   (13U)
61069 /*! LPSPI6_STOP_REQ - LPSPI6 stop request
61070  */
61071 #define IOMUXC_GPR_GPR72_LPSPI6_STOP_REQ(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI6_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI6_STOP_REQ_MASK)
61072 
61073 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_STOP_MODE_MASK (0x4000U)
61074 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_STOP_MODE_SHIFT (14U)
61075 /*! LPSPI6_IPG_STOP_MODE - LPSPI6 stop mode selection, cannot change when LPSPI6_STOP_REQ is asserted.
61076  *  0b0..This module is functional in Stop Mode
61077  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61078  */
61079 #define IOMUXC_GPR_GPR72_LPSPI6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPSPI6_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPSPI6_IPG_STOP_MODE_MASK)
61080 
61081 #define IOMUXC_GPR_GPR72_LPUART1_IPG_DOZE_MASK   (0x8000U)
61082 #define IOMUXC_GPR_GPR72_LPUART1_IPG_DOZE_SHIFT  (15U)
61083 /*! LPUART1_IPG_DOZE - LPUART1 doze mode
61084  */
61085 #define IOMUXC_GPR_GPR72_LPUART1_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART1_IPG_DOZE_MASK)
61086 
61087 #define IOMUXC_GPR_GPR72_LPUART1_STOP_REQ_MASK   (0x10000U)
61088 #define IOMUXC_GPR_GPR72_LPUART1_STOP_REQ_SHIFT  (16U)
61089 /*! LPUART1_STOP_REQ - LPUART1 stop request
61090  */
61091 #define IOMUXC_GPR_GPR72_LPUART1_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPUART1_STOP_REQ_MASK)
61092 
61093 #define IOMUXC_GPR_GPR72_LPUART1_IPG_STOP_MODE_MASK (0x20000U)
61094 #define IOMUXC_GPR_GPR72_LPUART1_IPG_STOP_MODE_SHIFT (17U)
61095 /*! LPUART1_IPG_STOP_MODE - LPUART1 stop mode selection, cannot change when LPUART1_STOP_REQ is asserted.
61096  *  0b0..This module is functional in Stop Mode
61097  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61098  */
61099 #define IOMUXC_GPR_GPR72_LPUART1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART1_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART1_IPG_STOP_MODE_MASK)
61100 
61101 #define IOMUXC_GPR_GPR72_LPUART2_IPG_DOZE_MASK   (0x40000U)
61102 #define IOMUXC_GPR_GPR72_LPUART2_IPG_DOZE_SHIFT  (18U)
61103 /*! LPUART2_IPG_DOZE - LPUART2 doze mode
61104  */
61105 #define IOMUXC_GPR_GPR72_LPUART2_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART2_IPG_DOZE_MASK)
61106 
61107 #define IOMUXC_GPR_GPR72_LPUART2_STOP_REQ_MASK   (0x80000U)
61108 #define IOMUXC_GPR_GPR72_LPUART2_STOP_REQ_SHIFT  (19U)
61109 /*! LPUART2_STOP_REQ - LPUART2 stop request
61110  */
61111 #define IOMUXC_GPR_GPR72_LPUART2_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPUART2_STOP_REQ_MASK)
61112 
61113 #define IOMUXC_GPR_GPR72_LPUART2_IPG_STOP_MODE_MASK (0x100000U)
61114 #define IOMUXC_GPR_GPR72_LPUART2_IPG_STOP_MODE_SHIFT (20U)
61115 /*! LPUART2_IPG_STOP_MODE - LPUART2 stop mode selection, cannot change when LPUART2_STOP_REQ is asserted.
61116  *  0b0..This module is functional in Stop Mode
61117  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61118  */
61119 #define IOMUXC_GPR_GPR72_LPUART2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART2_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART2_IPG_STOP_MODE_MASK)
61120 
61121 #define IOMUXC_GPR_GPR72_LPUART3_IPG_DOZE_MASK   (0x200000U)
61122 #define IOMUXC_GPR_GPR72_LPUART3_IPG_DOZE_SHIFT  (21U)
61123 /*! LPUART3_IPG_DOZE - LPUART3 doze mode
61124  */
61125 #define IOMUXC_GPR_GPR72_LPUART3_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART3_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART3_IPG_DOZE_MASK)
61126 
61127 #define IOMUXC_GPR_GPR72_LPUART3_STOP_REQ_MASK   (0x400000U)
61128 #define IOMUXC_GPR_GPR72_LPUART3_STOP_REQ_SHIFT  (22U)
61129 /*! LPUART3_STOP_REQ - LPUART3 stop request
61130  */
61131 #define IOMUXC_GPR_GPR72_LPUART3_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART3_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPUART3_STOP_REQ_MASK)
61132 
61133 #define IOMUXC_GPR_GPR72_LPUART3_IPG_STOP_MODE_MASK (0x800000U)
61134 #define IOMUXC_GPR_GPR72_LPUART3_IPG_STOP_MODE_SHIFT (23U)
61135 /*! LPUART3_IPG_STOP_MODE - LPUART3 stop mode selection, cannot change when LPUART3_STOP_REQ is asserted.
61136  *  0b0..This module is functional in Stop Mode
61137  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61138  */
61139 #define IOMUXC_GPR_GPR72_LPUART3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART3_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART3_IPG_STOP_MODE_MASK)
61140 
61141 #define IOMUXC_GPR_GPR72_LPUART4_IPG_DOZE_MASK   (0x1000000U)
61142 #define IOMUXC_GPR_GPR72_LPUART4_IPG_DOZE_SHIFT  (24U)
61143 /*! LPUART4_IPG_DOZE - LPUART4 doze mode
61144  */
61145 #define IOMUXC_GPR_GPR72_LPUART4_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART4_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART4_IPG_DOZE_MASK)
61146 
61147 #define IOMUXC_GPR_GPR72_LPUART4_STOP_REQ_MASK   (0x2000000U)
61148 #define IOMUXC_GPR_GPR72_LPUART4_STOP_REQ_SHIFT  (25U)
61149 /*! LPUART4_STOP_REQ - LPUART4 stop request
61150  */
61151 #define IOMUXC_GPR_GPR72_LPUART4_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART4_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR72_LPUART4_STOP_REQ_MASK)
61152 
61153 #define IOMUXC_GPR_GPR72_LPUART4_IPG_STOP_MODE_MASK (0x4000000U)
61154 #define IOMUXC_GPR_GPR72_LPUART4_IPG_STOP_MODE_SHIFT (26U)
61155 /*! LPUART4_IPG_STOP_MODE - LPUART4 stop mode selection, cannot change when LPUART4_STOP_REQ is asserted.
61156  *  0b0..This module is functional in Stop Mode
61157  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61158  */
61159 #define IOMUXC_GPR_GPR72_LPUART4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_LPUART4_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR72_LPUART4_IPG_STOP_MODE_MASK)
61160 
61161 #define IOMUXC_GPR_GPR72_DWP_MASK                (0x30000000U)
61162 #define IOMUXC_GPR_GPR72_DWP_SHIFT               (28U)
61163 /*! DWP - Domain write protection
61164  *  0b00..Both cores are allowed
61165  *  0b01..CM7 is forbidden
61166  *  0b10..CM4 is forbidden
61167  *  0b11..Both cores are forbidden
61168  */
61169 #define IOMUXC_GPR_GPR72_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_DWP_SHIFT)) & IOMUXC_GPR_GPR72_DWP_MASK)
61170 
61171 #define IOMUXC_GPR_GPR72_DWP_LOCK_MASK           (0xC0000000U)
61172 #define IOMUXC_GPR_GPR72_DWP_LOCK_SHIFT          (30U)
61173 /*! DWP_LOCK - Domain write protection lock
61174  *  0b00..Neither of DWP bits is locked
61175  *  0b01..The lower DWP bit is locked
61176  *  0b10..The higher DWP bit is locked
61177  *  0b11..Both DWP bits are locked
61178  */
61179 #define IOMUXC_GPR_GPR72_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR72_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR72_DWP_LOCK_MASK)
61180 /*! @} */
61181 
61182 /*! @name GPR73 - GPR73 General Purpose Register */
61183 /*! @{ */
61184 
61185 #define IOMUXC_GPR_GPR73_LPUART5_IPG_DOZE_MASK   (0x1U)
61186 #define IOMUXC_GPR_GPR73_LPUART5_IPG_DOZE_SHIFT  (0U)
61187 /*! LPUART5_IPG_DOZE - LPUART5 doze mode
61188  */
61189 #define IOMUXC_GPR_GPR73_LPUART5_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART5_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART5_IPG_DOZE_MASK)
61190 
61191 #define IOMUXC_GPR_GPR73_LPUART5_STOP_REQ_MASK   (0x2U)
61192 #define IOMUXC_GPR_GPR73_LPUART5_STOP_REQ_SHIFT  (1U)
61193 /*! LPUART5_STOP_REQ - LPUART5 stop request
61194  */
61195 #define IOMUXC_GPR_GPR73_LPUART5_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART5_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART5_STOP_REQ_MASK)
61196 
61197 #define IOMUXC_GPR_GPR73_LPUART5_IPG_STOP_MODE_MASK (0x4U)
61198 #define IOMUXC_GPR_GPR73_LPUART5_IPG_STOP_MODE_SHIFT (2U)
61199 /*! LPUART5_IPG_STOP_MODE - LPUART5 stop mode selection, cannot change when LPUART5_STOP_REQ is asserted.
61200  *  0b0..This module is functional in Stop Mode
61201  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61202  */
61203 #define IOMUXC_GPR_GPR73_LPUART5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART5_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART5_IPG_STOP_MODE_MASK)
61204 
61205 #define IOMUXC_GPR_GPR73_LPUART6_IPG_DOZE_MASK   (0x8U)
61206 #define IOMUXC_GPR_GPR73_LPUART6_IPG_DOZE_SHIFT  (3U)
61207 /*! LPUART6_IPG_DOZE - LPUART6 doze mode
61208  */
61209 #define IOMUXC_GPR_GPR73_LPUART6_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART6_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART6_IPG_DOZE_MASK)
61210 
61211 #define IOMUXC_GPR_GPR73_LPUART6_STOP_REQ_MASK   (0x10U)
61212 #define IOMUXC_GPR_GPR73_LPUART6_STOP_REQ_SHIFT  (4U)
61213 /*! LPUART6_STOP_REQ - LPUART6 stop request
61214  */
61215 #define IOMUXC_GPR_GPR73_LPUART6_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART6_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART6_STOP_REQ_MASK)
61216 
61217 #define IOMUXC_GPR_GPR73_LPUART6_IPG_STOP_MODE_MASK (0x20U)
61218 #define IOMUXC_GPR_GPR73_LPUART6_IPG_STOP_MODE_SHIFT (5U)
61219 /*! LPUART6_IPG_STOP_MODE - LPUART6 stop mode selection, cannot change when LPUART6_STOP_REQ is asserted.
61220  *  0b0..This module is functional in Stop Mode
61221  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61222  */
61223 #define IOMUXC_GPR_GPR73_LPUART6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART6_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART6_IPG_STOP_MODE_MASK)
61224 
61225 #define IOMUXC_GPR_GPR73_LPUART7_IPG_DOZE_MASK   (0x40U)
61226 #define IOMUXC_GPR_GPR73_LPUART7_IPG_DOZE_SHIFT  (6U)
61227 /*! LPUART7_IPG_DOZE - LPUART7 doze mode
61228  */
61229 #define IOMUXC_GPR_GPR73_LPUART7_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART7_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART7_IPG_DOZE_MASK)
61230 
61231 #define IOMUXC_GPR_GPR73_LPUART7_STOP_REQ_MASK   (0x80U)
61232 #define IOMUXC_GPR_GPR73_LPUART7_STOP_REQ_SHIFT  (7U)
61233 /*! LPUART7_STOP_REQ - LPUART7 stop request
61234  */
61235 #define IOMUXC_GPR_GPR73_LPUART7_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART7_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART7_STOP_REQ_MASK)
61236 
61237 #define IOMUXC_GPR_GPR73_LPUART7_IPG_STOP_MODE_MASK (0x100U)
61238 #define IOMUXC_GPR_GPR73_LPUART7_IPG_STOP_MODE_SHIFT (8U)
61239 /*! LPUART7_IPG_STOP_MODE - LPUART7 stop mode selection, cannot change when LPUART7_STOP_REQ is asserted.
61240  *  0b0..This module is functional in Stop Mode
61241  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61242  */
61243 #define IOMUXC_GPR_GPR73_LPUART7_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART7_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART7_IPG_STOP_MODE_MASK)
61244 
61245 #define IOMUXC_GPR_GPR73_LPUART8_IPG_DOZE_MASK   (0x200U)
61246 #define IOMUXC_GPR_GPR73_LPUART8_IPG_DOZE_SHIFT  (9U)
61247 /*! LPUART8_IPG_DOZE - LPUART8 doze mode
61248  */
61249 #define IOMUXC_GPR_GPR73_LPUART8_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART8_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART8_IPG_DOZE_MASK)
61250 
61251 #define IOMUXC_GPR_GPR73_LPUART8_STOP_REQ_MASK   (0x400U)
61252 #define IOMUXC_GPR_GPR73_LPUART8_STOP_REQ_SHIFT  (10U)
61253 /*! LPUART8_STOP_REQ - LPUART8 stop request
61254  */
61255 #define IOMUXC_GPR_GPR73_LPUART8_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART8_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART8_STOP_REQ_MASK)
61256 
61257 #define IOMUXC_GPR_GPR73_LPUART8_IPG_STOP_MODE_MASK (0x800U)
61258 #define IOMUXC_GPR_GPR73_LPUART8_IPG_STOP_MODE_SHIFT (11U)
61259 /*! LPUART8_IPG_STOP_MODE - LPUART8 stop mode selection, cannot change when LPUART8_STOP_REQ is asserted.
61260  *  0b0..This module is functional in Stop Mode
61261  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61262  */
61263 #define IOMUXC_GPR_GPR73_LPUART8_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART8_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART8_IPG_STOP_MODE_MASK)
61264 
61265 #define IOMUXC_GPR_GPR73_LPUART9_IPG_DOZE_MASK   (0x1000U)
61266 #define IOMUXC_GPR_GPR73_LPUART9_IPG_DOZE_SHIFT  (12U)
61267 /*! LPUART9_IPG_DOZE - LPUART9 doze mode
61268  */
61269 #define IOMUXC_GPR_GPR73_LPUART9_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART9_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART9_IPG_DOZE_MASK)
61270 
61271 #define IOMUXC_GPR_GPR73_LPUART9_STOP_REQ_MASK   (0x2000U)
61272 #define IOMUXC_GPR_GPR73_LPUART9_STOP_REQ_SHIFT  (13U)
61273 /*! LPUART9_STOP_REQ - LPUART9 stop request
61274  */
61275 #define IOMUXC_GPR_GPR73_LPUART9_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART9_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART9_STOP_REQ_MASK)
61276 
61277 #define IOMUXC_GPR_GPR73_LPUART9_IPG_STOP_MODE_MASK (0x4000U)
61278 #define IOMUXC_GPR_GPR73_LPUART9_IPG_STOP_MODE_SHIFT (14U)
61279 /*! LPUART9_IPG_STOP_MODE - LPUART9 stop mode selection, cannot change when LPUART9_STOP_REQ is asserted.
61280  *  0b0..This module is functional in Stop Mode
61281  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61282  */
61283 #define IOMUXC_GPR_GPR73_LPUART9_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART9_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART9_IPG_STOP_MODE_MASK)
61284 
61285 #define IOMUXC_GPR_GPR73_LPUART10_IPG_DOZE_MASK  (0x8000U)
61286 #define IOMUXC_GPR_GPR73_LPUART10_IPG_DOZE_SHIFT (15U)
61287 /*! LPUART10_IPG_DOZE - LPUART10 doze mode
61288  */
61289 #define IOMUXC_GPR_GPR73_LPUART10_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART10_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART10_IPG_DOZE_MASK)
61290 
61291 #define IOMUXC_GPR_GPR73_LPUART10_STOP_REQ_MASK  (0x10000U)
61292 #define IOMUXC_GPR_GPR73_LPUART10_STOP_REQ_SHIFT (16U)
61293 /*! LPUART10_STOP_REQ - LPUART10 stop request
61294  */
61295 #define IOMUXC_GPR_GPR73_LPUART10_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART10_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART10_STOP_REQ_MASK)
61296 
61297 #define IOMUXC_GPR_GPR73_LPUART10_IPG_STOP_MODE_MASK (0x20000U)
61298 #define IOMUXC_GPR_GPR73_LPUART10_IPG_STOP_MODE_SHIFT (17U)
61299 /*! LPUART10_IPG_STOP_MODE - LPUART10 stop mode selection, cannot change when LPUART10_STOP_REQ is asserted.
61300  *  0b0..This module is functional in Stop Mode
61301  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61302  */
61303 #define IOMUXC_GPR_GPR73_LPUART10_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART10_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART10_IPG_STOP_MODE_MASK)
61304 
61305 #define IOMUXC_GPR_GPR73_LPUART11_IPG_DOZE_MASK  (0x40000U)
61306 #define IOMUXC_GPR_GPR73_LPUART11_IPG_DOZE_SHIFT (18U)
61307 /*! LPUART11_IPG_DOZE - LPUART11 doze mode
61308  */
61309 #define IOMUXC_GPR_GPR73_LPUART11_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART11_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART11_IPG_DOZE_MASK)
61310 
61311 #define IOMUXC_GPR_GPR73_LPUART11_STOP_REQ_MASK  (0x80000U)
61312 #define IOMUXC_GPR_GPR73_LPUART11_STOP_REQ_SHIFT (19U)
61313 /*! LPUART11_STOP_REQ - LPUART11 stop request
61314  */
61315 #define IOMUXC_GPR_GPR73_LPUART11_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART11_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART11_STOP_REQ_MASK)
61316 
61317 #define IOMUXC_GPR_GPR73_LPUART11_IPG_STOP_MODE_MASK (0x100000U)
61318 #define IOMUXC_GPR_GPR73_LPUART11_IPG_STOP_MODE_SHIFT (20U)
61319 /*! LPUART11_IPG_STOP_MODE - LPUART11 stop mode selection, cannot change when LPUART11_STOP_REQ is asserted.
61320  *  0b0..This module is functional in Stop Mode
61321  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61322  */
61323 #define IOMUXC_GPR_GPR73_LPUART11_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART11_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART11_IPG_STOP_MODE_MASK)
61324 
61325 #define IOMUXC_GPR_GPR73_LPUART12_IPG_DOZE_MASK  (0x200000U)
61326 #define IOMUXC_GPR_GPR73_LPUART12_IPG_DOZE_SHIFT (21U)
61327 /*! LPUART12_IPG_DOZE - LPUART12 doze mode
61328  */
61329 #define IOMUXC_GPR_GPR73_LPUART12_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART12_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART12_IPG_DOZE_MASK)
61330 
61331 #define IOMUXC_GPR_GPR73_LPUART12_STOP_REQ_MASK  (0x400000U)
61332 #define IOMUXC_GPR_GPR73_LPUART12_STOP_REQ_SHIFT (22U)
61333 /*! LPUART12_STOP_REQ - LPUART12 stop request
61334  */
61335 #define IOMUXC_GPR_GPR73_LPUART12_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART12_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_LPUART12_STOP_REQ_MASK)
61336 
61337 #define IOMUXC_GPR_GPR73_LPUART12_IPG_STOP_MODE_MASK (0x800000U)
61338 #define IOMUXC_GPR_GPR73_LPUART12_IPG_STOP_MODE_SHIFT (23U)
61339 /*! LPUART12_IPG_STOP_MODE - LPUART12 stop mode selection, cannot change when LPUART12_STOP_REQ is asserted.
61340  *  0b0..This module is functional in Stop Mode
61341  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61342  */
61343 #define IOMUXC_GPR_GPR73_LPUART12_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_LPUART12_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_LPUART12_IPG_STOP_MODE_MASK)
61344 
61345 #define IOMUXC_GPR_GPR73_MIC_IPG_DOZE_MASK       (0x1000000U)
61346 #define IOMUXC_GPR_GPR73_MIC_IPG_DOZE_SHIFT      (24U)
61347 /*! MIC_IPG_DOZE - MIC doze mode
61348  */
61349 #define IOMUXC_GPR_GPR73_MIC_IPG_DOZE(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_MIC_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR73_MIC_IPG_DOZE_MASK)
61350 
61351 #define IOMUXC_GPR_GPR73_MIC_STOP_REQ_MASK       (0x2000000U)
61352 #define IOMUXC_GPR_GPR73_MIC_STOP_REQ_SHIFT      (25U)
61353 /*! MIC_STOP_REQ - MIC stop request
61354  */
61355 #define IOMUXC_GPR_GPR73_MIC_STOP_REQ(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_MIC_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR73_MIC_STOP_REQ_MASK)
61356 
61357 #define IOMUXC_GPR_GPR73_MIC_IPG_STOP_MODE_MASK  (0x4000000U)
61358 #define IOMUXC_GPR_GPR73_MIC_IPG_STOP_MODE_SHIFT (26U)
61359 /*! MIC_IPG_STOP_MODE - MIC stop mode selection, cannot change when MIC_STOP_REQ is asserted.
61360  *  0b0..This module is functional in Stop Mode
61361  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
61362  */
61363 #define IOMUXC_GPR_GPR73_MIC_IPG_STOP_MODE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_MIC_IPG_STOP_MODE_SHIFT)) & IOMUXC_GPR_GPR73_MIC_IPG_STOP_MODE_MASK)
61364 
61365 #define IOMUXC_GPR_GPR73_DWP_MASK                (0x30000000U)
61366 #define IOMUXC_GPR_GPR73_DWP_SHIFT               (28U)
61367 /*! DWP - Domain write protection
61368  *  0b00..Both cores are allowed
61369  *  0b01..CM7 is forbidden
61370  *  0b10..CM4 is forbidden
61371  *  0b11..Both cores are forbidden
61372  */
61373 #define IOMUXC_GPR_GPR73_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_DWP_SHIFT)) & IOMUXC_GPR_GPR73_DWP_MASK)
61374 
61375 #define IOMUXC_GPR_GPR73_DWP_LOCK_MASK           (0xC0000000U)
61376 #define IOMUXC_GPR_GPR73_DWP_LOCK_SHIFT          (30U)
61377 /*! DWP_LOCK - Domain write protection lock
61378  *  0b00..Neither of DWP bits is locked
61379  *  0b01..The lower DWP bit is locked
61380  *  0b10..The higher DWP bit is locked
61381  *  0b11..Both DWP bits are locked
61382  */
61383 #define IOMUXC_GPR_GPR73_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR73_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR73_DWP_LOCK_MASK)
61384 /*! @} */
61385 
61386 /*! @name GPR74 - GPR74 General Purpose Register */
61387 /*! @{ */
61388 
61389 #define IOMUXC_GPR_GPR74_PIT1_STOP_REQ_MASK      (0x2U)
61390 #define IOMUXC_GPR_GPR74_PIT1_STOP_REQ_SHIFT     (1U)
61391 /*! PIT1_STOP_REQ - PIT1 stop request
61392  */
61393 #define IOMUXC_GPR_GPR74_PIT1_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_PIT1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_PIT1_STOP_REQ_MASK)
61394 
61395 #define IOMUXC_GPR_GPR74_PIT2_STOP_REQ_MASK      (0x4U)
61396 #define IOMUXC_GPR_GPR74_PIT2_STOP_REQ_SHIFT     (2U)
61397 /*! PIT2_STOP_REQ - PIT2 stop request
61398  */
61399 #define IOMUXC_GPR_GPR74_PIT2_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_PIT2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_PIT2_STOP_REQ_MASK)
61400 
61401 #define IOMUXC_GPR_GPR74_SEMC_STOP_REQ_MASK      (0x8U)
61402 #define IOMUXC_GPR_GPR74_SEMC_STOP_REQ_SHIFT     (3U)
61403 /*! SEMC_STOP_REQ - SEMC stop request
61404  */
61405 #define IOMUXC_GPR_GPR74_SEMC_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SEMC_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SEMC_STOP_REQ_MASK)
61406 
61407 #define IOMUXC_GPR_GPR74_SIM1_IPG_DOZE_MASK      (0x10U)
61408 #define IOMUXC_GPR_GPR74_SIM1_IPG_DOZE_SHIFT     (4U)
61409 /*! SIM1_IPG_DOZE - SIM1 doze mode
61410  */
61411 #define IOMUXC_GPR_GPR74_SIM1_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SIM1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR74_SIM1_IPG_DOZE_MASK)
61412 
61413 #define IOMUXC_GPR_GPR74_SIM2_IPG_DOZE_MASK      (0x20U)
61414 #define IOMUXC_GPR_GPR74_SIM2_IPG_DOZE_SHIFT     (5U)
61415 /*! SIM2_IPG_DOZE - SIM2 doze mode
61416  */
61417 #define IOMUXC_GPR_GPR74_SIM2_IPG_DOZE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SIM2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR74_SIM2_IPG_DOZE_MASK)
61418 
61419 #define IOMUXC_GPR_GPR74_SNVS_HP_IPG_DOZE_MASK   (0x40U)
61420 #define IOMUXC_GPR_GPR74_SNVS_HP_IPG_DOZE_SHIFT  (6U)
61421 /*! SNVS_HP_IPG_DOZE - SNVS_HP doze mode
61422  */
61423 #define IOMUXC_GPR_GPR74_SNVS_HP_IPG_DOZE(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SNVS_HP_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR74_SNVS_HP_IPG_DOZE_MASK)
61424 
61425 #define IOMUXC_GPR_GPR74_SNVS_HP_STOP_REQ_MASK   (0x80U)
61426 #define IOMUXC_GPR_GPR74_SNVS_HP_STOP_REQ_SHIFT  (7U)
61427 /*! SNVS_HP_STOP_REQ - SNVS_HP stop request
61428  */
61429 #define IOMUXC_GPR_GPR74_SNVS_HP_STOP_REQ(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SNVS_HP_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SNVS_HP_STOP_REQ_MASK)
61430 
61431 #define IOMUXC_GPR_GPR74_WDOG1_IPG_DOZE_MASK     (0x100U)
61432 #define IOMUXC_GPR_GPR74_WDOG1_IPG_DOZE_SHIFT    (8U)
61433 /*! WDOG1_IPG_DOZE - WDOG1 doze mode
61434  */
61435 #define IOMUXC_GPR_GPR74_WDOG1_IPG_DOZE(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_WDOG1_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR74_WDOG1_IPG_DOZE_MASK)
61436 
61437 #define IOMUXC_GPR_GPR74_WDOG2_IPG_DOZE_MASK     (0x200U)
61438 #define IOMUXC_GPR_GPR74_WDOG2_IPG_DOZE_SHIFT    (9U)
61439 /*! WDOG2_IPG_DOZE - WDOG2 doze mode
61440  */
61441 #define IOMUXC_GPR_GPR74_WDOG2_IPG_DOZE(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_WDOG2_IPG_DOZE_SHIFT)) & IOMUXC_GPR_GPR74_WDOG2_IPG_DOZE_MASK)
61442 
61443 #define IOMUXC_GPR_GPR74_SAI1_STOP_REQ_MASK      (0x400U)
61444 #define IOMUXC_GPR_GPR74_SAI1_STOP_REQ_SHIFT     (10U)
61445 /*! SAI1_STOP_REQ - SAI1 stop request
61446  */
61447 #define IOMUXC_GPR_GPR74_SAI1_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SAI1_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SAI1_STOP_REQ_MASK)
61448 
61449 #define IOMUXC_GPR_GPR74_SAI2_STOP_REQ_MASK      (0x800U)
61450 #define IOMUXC_GPR_GPR74_SAI2_STOP_REQ_SHIFT     (11U)
61451 /*! SAI2_STOP_REQ - SAI2 stop request
61452  */
61453 #define IOMUXC_GPR_GPR74_SAI2_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SAI2_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SAI2_STOP_REQ_MASK)
61454 
61455 #define IOMUXC_GPR_GPR74_SAI3_STOP_REQ_MASK      (0x1000U)
61456 #define IOMUXC_GPR_GPR74_SAI3_STOP_REQ_SHIFT     (12U)
61457 /*! SAI3_STOP_REQ - SAI3 stop request
61458  */
61459 #define IOMUXC_GPR_GPR74_SAI3_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SAI3_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SAI3_STOP_REQ_MASK)
61460 
61461 #define IOMUXC_GPR_GPR74_SAI4_STOP_REQ_MASK      (0x2000U)
61462 #define IOMUXC_GPR_GPR74_SAI4_STOP_REQ_SHIFT     (13U)
61463 /*! SAI4_STOP_REQ - SAI4 stop request
61464  */
61465 #define IOMUXC_GPR_GPR74_SAI4_STOP_REQ(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_SAI4_STOP_REQ_SHIFT)) & IOMUXC_GPR_GPR74_SAI4_STOP_REQ_MASK)
61466 
61467 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_BUS_MASK (0x4000U)
61468 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_BUS_SHIFT (14U)
61469 /*! FLEXIO1_STOP_REQ_BUS - FLEXIO1 bus clock domain stop request
61470  */
61471 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_BUS_SHIFT)) & IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_BUS_MASK)
61472 
61473 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_PER_MASK (0x8000U)
61474 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_PER_SHIFT (15U)
61475 /*! FLEXIO1_STOP_REQ_PER - FLEXIO1 peripheral clock domain stop request
61476  */
61477 #define IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_PER_SHIFT)) & IOMUXC_GPR_GPR74_FLEXIO1_STOP_REQ_PER_MASK)
61478 
61479 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_BUS_MASK (0x10000U)
61480 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_BUS_SHIFT (16U)
61481 /*! FLEXIO2_STOP_REQ_BUS - FLEXIO2 bus clock domain stop request
61482  */
61483 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_BUS_SHIFT)) & IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_BUS_MASK)
61484 
61485 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_PER_MASK (0x20000U)
61486 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_PER_SHIFT (17U)
61487 /*! FLEXIO2_STOP_REQ_PER - FLEXIO2 peripheral clock domain stop request
61488  */
61489 #define IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_PER_SHIFT)) & IOMUXC_GPR_GPR74_FLEXIO2_STOP_REQ_PER_MASK)
61490 
61491 #define IOMUXC_GPR_GPR74_DWP_MASK                (0x30000000U)
61492 #define IOMUXC_GPR_GPR74_DWP_SHIFT               (28U)
61493 /*! DWP - Domain write protection
61494  *  0b00..Both cores are allowed
61495  *  0b01..CM7 is forbidden
61496  *  0b10..CM4 is forbidden
61497  *  0b11..Both cores are forbidden
61498  */
61499 #define IOMUXC_GPR_GPR74_DWP(x)                  (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_DWP_SHIFT)) & IOMUXC_GPR_GPR74_DWP_MASK)
61500 
61501 #define IOMUXC_GPR_GPR74_DWP_LOCK_MASK           (0xC0000000U)
61502 #define IOMUXC_GPR_GPR74_DWP_LOCK_SHIFT          (30U)
61503 /*! DWP_LOCK - Domain write protection lock
61504  *  0b00..Neither of DWP bits is locked
61505  *  0b01..The lower DWP bit is locked
61506  *  0b10..The higher DWP bit is locked
61507  *  0b11..Both DWP bits are locked
61508  */
61509 #define IOMUXC_GPR_GPR74_DWP_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR74_DWP_LOCK_SHIFT)) & IOMUXC_GPR_GPR74_DWP_LOCK_MASK)
61510 /*! @} */
61511 
61512 /*! @name GPR75 - GPR75 General Purpose Register */
61513 /*! @{ */
61514 
61515 #define IOMUXC_GPR_GPR75_ADC1_STOP_ACK_MASK      (0x1U)
61516 #define IOMUXC_GPR_GPR75_ADC1_STOP_ACK_SHIFT     (0U)
61517 /*! ADC1_STOP_ACK - ADC1 stop acknowledge
61518  */
61519 #define IOMUXC_GPR_GPR75_ADC1_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_ADC1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_ADC1_STOP_ACK_MASK)
61520 
61521 #define IOMUXC_GPR_GPR75_ADC2_STOP_ACK_MASK      (0x2U)
61522 #define IOMUXC_GPR_GPR75_ADC2_STOP_ACK_SHIFT     (1U)
61523 /*! ADC2_STOP_ACK - ADC2 stop acknowledge
61524  */
61525 #define IOMUXC_GPR_GPR75_ADC2_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_ADC2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_ADC2_STOP_ACK_MASK)
61526 
61527 #define IOMUXC_GPR_GPR75_CAAM_STOP_ACK_MASK      (0x4U)
61528 #define IOMUXC_GPR_GPR75_CAAM_STOP_ACK_SHIFT     (2U)
61529 /*! CAAM_STOP_ACK - CAAM stop acknowledge
61530  */
61531 #define IOMUXC_GPR_GPR75_CAAM_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_CAAM_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_CAAM_STOP_ACK_MASK)
61532 
61533 #define IOMUXC_GPR_GPR75_CAN1_STOP_ACK_MASK      (0x8U)
61534 #define IOMUXC_GPR_GPR75_CAN1_STOP_ACK_SHIFT     (3U)
61535 /*! CAN1_STOP_ACK - CAN1 stop acknowledge
61536  */
61537 #define IOMUXC_GPR_GPR75_CAN1_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_CAN1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_CAN1_STOP_ACK_MASK)
61538 
61539 #define IOMUXC_GPR_GPR75_CAN2_STOP_ACK_MASK      (0x10U)
61540 #define IOMUXC_GPR_GPR75_CAN2_STOP_ACK_SHIFT     (4U)
61541 /*! CAN2_STOP_ACK - CAN2 stop acknowledge
61542  */
61543 #define IOMUXC_GPR_GPR75_CAN2_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_CAN2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_CAN2_STOP_ACK_MASK)
61544 
61545 #define IOMUXC_GPR_GPR75_CAN3_STOP_ACK_MASK      (0x20U)
61546 #define IOMUXC_GPR_GPR75_CAN3_STOP_ACK_SHIFT     (5U)
61547 /*! CAN3_STOP_ACK - CAN3 stop acknowledge
61548  */
61549 #define IOMUXC_GPR_GPR75_CAN3_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_CAN3_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_CAN3_STOP_ACK_MASK)
61550 
61551 #define IOMUXC_GPR_GPR75_EDMA_STOP_ACK_MASK      (0x40U)
61552 #define IOMUXC_GPR_GPR75_EDMA_STOP_ACK_SHIFT     (6U)
61553 /*! EDMA_STOP_ACK - EDMA stop acknowledge
61554  */
61555 #define IOMUXC_GPR_GPR75_EDMA_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_EDMA_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_EDMA_STOP_ACK_MASK)
61556 
61557 #define IOMUXC_GPR_GPR75_EDMA_LPSR_STOP_ACK_MASK (0x80U)
61558 #define IOMUXC_GPR_GPR75_EDMA_LPSR_STOP_ACK_SHIFT (7U)
61559 /*! EDMA_LPSR_STOP_ACK - EDMA_LPSR stop acknowledge
61560  */
61561 #define IOMUXC_GPR_GPR75_EDMA_LPSR_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_EDMA_LPSR_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_EDMA_LPSR_STOP_ACK_MASK)
61562 
61563 #define IOMUXC_GPR_GPR75_ENET_STOP_ACK_MASK      (0x100U)
61564 #define IOMUXC_GPR_GPR75_ENET_STOP_ACK_SHIFT     (8U)
61565 /*! ENET_STOP_ACK - ENET stop acknowledge
61566  */
61567 #define IOMUXC_GPR_GPR75_ENET_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_ENET_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_ENET_STOP_ACK_MASK)
61568 
61569 #define IOMUXC_GPR_GPR75_ENET1G_STOP_ACK_MASK    (0x200U)
61570 #define IOMUXC_GPR_GPR75_ENET1G_STOP_ACK_SHIFT   (9U)
61571 /*! ENET1G_STOP_ACK - ENET1G stop acknowledge
61572  */
61573 #define IOMUXC_GPR_GPR75_ENET1G_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_ENET1G_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_ENET1G_STOP_ACK_MASK)
61574 
61575 #define IOMUXC_GPR_GPR75_FLEXSPI1_STOP_ACK_MASK  (0x400U)
61576 #define IOMUXC_GPR_GPR75_FLEXSPI1_STOP_ACK_SHIFT (10U)
61577 /*! FLEXSPI1_STOP_ACK - FLEXSPI1 stop acknowledge
61578  */
61579 #define IOMUXC_GPR_GPR75_FLEXSPI1_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_FLEXSPI1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_FLEXSPI1_STOP_ACK_MASK)
61580 
61581 #define IOMUXC_GPR_GPR75_FLEXSPI2_STOP_ACK_MASK  (0x800U)
61582 #define IOMUXC_GPR_GPR75_FLEXSPI2_STOP_ACK_SHIFT (11U)
61583 /*! FLEXSPI2_STOP_ACK - FLEXSPI2 stop acknowledge
61584  */
61585 #define IOMUXC_GPR_GPR75_FLEXSPI2_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_FLEXSPI2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_FLEXSPI2_STOP_ACK_MASK)
61586 
61587 #define IOMUXC_GPR_GPR75_LPI2C1_STOP_ACK_MASK    (0x1000U)
61588 #define IOMUXC_GPR_GPR75_LPI2C1_STOP_ACK_SHIFT   (12U)
61589 /*! LPI2C1_STOP_ACK - LPI2C1 stop acknowledge
61590  */
61591 #define IOMUXC_GPR_GPR75_LPI2C1_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C1_STOP_ACK_MASK)
61592 
61593 #define IOMUXC_GPR_GPR75_LPI2C2_STOP_ACK_MASK    (0x2000U)
61594 #define IOMUXC_GPR_GPR75_LPI2C2_STOP_ACK_SHIFT   (13U)
61595 /*! LPI2C2_STOP_ACK - LPI2C2 stop acknowledge
61596  */
61597 #define IOMUXC_GPR_GPR75_LPI2C2_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C2_STOP_ACK_MASK)
61598 
61599 #define IOMUXC_GPR_GPR75_LPI2C3_STOP_ACK_MASK    (0x4000U)
61600 #define IOMUXC_GPR_GPR75_LPI2C3_STOP_ACK_SHIFT   (14U)
61601 /*! LPI2C3_STOP_ACK - LPI2C3 stop acknowledge
61602  */
61603 #define IOMUXC_GPR_GPR75_LPI2C3_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C3_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C3_STOP_ACK_MASK)
61604 
61605 #define IOMUXC_GPR_GPR75_LPI2C4_STOP_ACK_MASK    (0x8000U)
61606 #define IOMUXC_GPR_GPR75_LPI2C4_STOP_ACK_SHIFT   (15U)
61607 /*! LPI2C4_STOP_ACK - LPI2C4 stop acknowledge
61608  */
61609 #define IOMUXC_GPR_GPR75_LPI2C4_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C4_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C4_STOP_ACK_MASK)
61610 
61611 #define IOMUXC_GPR_GPR75_LPI2C5_STOP_ACK_MASK    (0x10000U)
61612 #define IOMUXC_GPR_GPR75_LPI2C5_STOP_ACK_SHIFT   (16U)
61613 /*! LPI2C5_STOP_ACK - LPI2C5 stop acknowledge
61614  */
61615 #define IOMUXC_GPR_GPR75_LPI2C5_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C5_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C5_STOP_ACK_MASK)
61616 
61617 #define IOMUXC_GPR_GPR75_LPI2C6_STOP_ACK_MASK    (0x20000U)
61618 #define IOMUXC_GPR_GPR75_LPI2C6_STOP_ACK_SHIFT   (17U)
61619 /*! LPI2C6_STOP_ACK - LPI2C6 stop acknowledge
61620  */
61621 #define IOMUXC_GPR_GPR75_LPI2C6_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPI2C6_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPI2C6_STOP_ACK_MASK)
61622 
61623 #define IOMUXC_GPR_GPR75_LPSPI1_STOP_ACK_MASK    (0x40000U)
61624 #define IOMUXC_GPR_GPR75_LPSPI1_STOP_ACK_SHIFT   (18U)
61625 /*! LPSPI1_STOP_ACK - LPSPI1 stop acknowledge
61626  */
61627 #define IOMUXC_GPR_GPR75_LPSPI1_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI1_STOP_ACK_MASK)
61628 
61629 #define IOMUXC_GPR_GPR75_LPSPI2_STOP_ACK_MASK    (0x80000U)
61630 #define IOMUXC_GPR_GPR75_LPSPI2_STOP_ACK_SHIFT   (19U)
61631 /*! LPSPI2_STOP_ACK - LPSPI2 stop acknowledge
61632  */
61633 #define IOMUXC_GPR_GPR75_LPSPI2_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI2_STOP_ACK_MASK)
61634 
61635 #define IOMUXC_GPR_GPR75_LPSPI3_STOP_ACK_MASK    (0x100000U)
61636 #define IOMUXC_GPR_GPR75_LPSPI3_STOP_ACK_SHIFT   (20U)
61637 /*! LPSPI3_STOP_ACK - LPSPI3 stop acknowledge
61638  */
61639 #define IOMUXC_GPR_GPR75_LPSPI3_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI3_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI3_STOP_ACK_MASK)
61640 
61641 #define IOMUXC_GPR_GPR75_LPSPI4_STOP_ACK_MASK    (0x200000U)
61642 #define IOMUXC_GPR_GPR75_LPSPI4_STOP_ACK_SHIFT   (21U)
61643 /*! LPSPI4_STOP_ACK - LPSPI4 stop acknowledge
61644  */
61645 #define IOMUXC_GPR_GPR75_LPSPI4_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI4_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI4_STOP_ACK_MASK)
61646 
61647 #define IOMUXC_GPR_GPR75_LPSPI5_STOP_ACK_MASK    (0x400000U)
61648 #define IOMUXC_GPR_GPR75_LPSPI5_STOP_ACK_SHIFT   (22U)
61649 /*! LPSPI5_STOP_ACK - LPSPI5 stop acknowledge
61650  */
61651 #define IOMUXC_GPR_GPR75_LPSPI5_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI5_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI5_STOP_ACK_MASK)
61652 
61653 #define IOMUXC_GPR_GPR75_LPSPI6_STOP_ACK_MASK    (0x800000U)
61654 #define IOMUXC_GPR_GPR75_LPSPI6_STOP_ACK_SHIFT   (23U)
61655 /*! LPSPI6_STOP_ACK - LPSPI6 stop acknowledge
61656  */
61657 #define IOMUXC_GPR_GPR75_LPSPI6_STOP_ACK(x)      (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPSPI6_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPSPI6_STOP_ACK_MASK)
61658 
61659 #define IOMUXC_GPR_GPR75_LPUART1_STOP_ACK_MASK   (0x1000000U)
61660 #define IOMUXC_GPR_GPR75_LPUART1_STOP_ACK_SHIFT  (24U)
61661 /*! LPUART1_STOP_ACK - LPUART1 stop acknowledge
61662  */
61663 #define IOMUXC_GPR_GPR75_LPUART1_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART1_STOP_ACK_MASK)
61664 
61665 #define IOMUXC_GPR_GPR75_LPUART2_STOP_ACK_MASK   (0x2000000U)
61666 #define IOMUXC_GPR_GPR75_LPUART2_STOP_ACK_SHIFT  (25U)
61667 /*! LPUART2_STOP_ACK - LPUART2 stop acknowledge
61668  */
61669 #define IOMUXC_GPR_GPR75_LPUART2_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART2_STOP_ACK_MASK)
61670 
61671 #define IOMUXC_GPR_GPR75_LPUART3_STOP_ACK_MASK   (0x4000000U)
61672 #define IOMUXC_GPR_GPR75_LPUART3_STOP_ACK_SHIFT  (26U)
61673 /*! LPUART3_STOP_ACK - LPUART3 stop acknowledge
61674  */
61675 #define IOMUXC_GPR_GPR75_LPUART3_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART3_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART3_STOP_ACK_MASK)
61676 
61677 #define IOMUXC_GPR_GPR75_LPUART4_STOP_ACK_MASK   (0x8000000U)
61678 #define IOMUXC_GPR_GPR75_LPUART4_STOP_ACK_SHIFT  (27U)
61679 /*! LPUART4_STOP_ACK - LPUART4 stop acknowledge
61680  */
61681 #define IOMUXC_GPR_GPR75_LPUART4_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART4_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART4_STOP_ACK_MASK)
61682 
61683 #define IOMUXC_GPR_GPR75_LPUART5_STOP_ACK_MASK   (0x10000000U)
61684 #define IOMUXC_GPR_GPR75_LPUART5_STOP_ACK_SHIFT  (28U)
61685 /*! LPUART5_STOP_ACK - LPUART5 stop acknowledge
61686  */
61687 #define IOMUXC_GPR_GPR75_LPUART5_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART5_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART5_STOP_ACK_MASK)
61688 
61689 #define IOMUXC_GPR_GPR75_LPUART6_STOP_ACK_MASK   (0x20000000U)
61690 #define IOMUXC_GPR_GPR75_LPUART6_STOP_ACK_SHIFT  (29U)
61691 /*! LPUART6_STOP_ACK - LPUART6 stop acknowledge
61692  */
61693 #define IOMUXC_GPR_GPR75_LPUART6_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART6_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART6_STOP_ACK_MASK)
61694 
61695 #define IOMUXC_GPR_GPR75_LPUART7_STOP_ACK_MASK   (0x40000000U)
61696 #define IOMUXC_GPR_GPR75_LPUART7_STOP_ACK_SHIFT  (30U)
61697 /*! LPUART7_STOP_ACK - LPUART7 stop acknowledge
61698  */
61699 #define IOMUXC_GPR_GPR75_LPUART7_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART7_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART7_STOP_ACK_MASK)
61700 
61701 #define IOMUXC_GPR_GPR75_LPUART8_STOP_ACK_MASK   (0x80000000U)
61702 #define IOMUXC_GPR_GPR75_LPUART8_STOP_ACK_SHIFT  (31U)
61703 /*! LPUART8_STOP_ACK - LPUART8 stop acknowledge
61704  */
61705 #define IOMUXC_GPR_GPR75_LPUART8_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR75_LPUART8_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR75_LPUART8_STOP_ACK_MASK)
61706 /*! @} */
61707 
61708 /*! @name GPR76 - GPR76 General Purpose Register */
61709 /*! @{ */
61710 
61711 #define IOMUXC_GPR_GPR76_LPUART9_STOP_ACK_MASK   (0x1U)
61712 #define IOMUXC_GPR_GPR76_LPUART9_STOP_ACK_SHIFT  (0U)
61713 /*! LPUART9_STOP_ACK - LPUART9 stop acknowledge
61714  */
61715 #define IOMUXC_GPR_GPR76_LPUART9_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_LPUART9_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_LPUART9_STOP_ACK_MASK)
61716 
61717 #define IOMUXC_GPR_GPR76_LPUART10_STOP_ACK_MASK  (0x2U)
61718 #define IOMUXC_GPR_GPR76_LPUART10_STOP_ACK_SHIFT (1U)
61719 /*! LPUART10_STOP_ACK - LPUART10 stop acknowledge
61720  */
61721 #define IOMUXC_GPR_GPR76_LPUART10_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_LPUART10_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_LPUART10_STOP_ACK_MASK)
61722 
61723 #define IOMUXC_GPR_GPR76_LPUART11_STOP_ACK_MASK  (0x4U)
61724 #define IOMUXC_GPR_GPR76_LPUART11_STOP_ACK_SHIFT (2U)
61725 /*! LPUART11_STOP_ACK - LPUART11 stop acknowledge
61726  */
61727 #define IOMUXC_GPR_GPR76_LPUART11_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_LPUART11_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_LPUART11_STOP_ACK_MASK)
61728 
61729 #define IOMUXC_GPR_GPR76_LPUART12_STOP_ACK_MASK  (0x8U)
61730 #define IOMUXC_GPR_GPR76_LPUART12_STOP_ACK_SHIFT (3U)
61731 /*! LPUART12_STOP_ACK - LPUART12 stop acknowledge
61732  */
61733 #define IOMUXC_GPR_GPR76_LPUART12_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_LPUART12_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_LPUART12_STOP_ACK_MASK)
61734 
61735 #define IOMUXC_GPR_GPR76_MIC_STOP_ACK_MASK       (0x10U)
61736 #define IOMUXC_GPR_GPR76_MIC_STOP_ACK_SHIFT      (4U)
61737 /*! MIC_STOP_ACK - MIC stop acknowledge
61738  */
61739 #define IOMUXC_GPR_GPR76_MIC_STOP_ACK(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_MIC_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_MIC_STOP_ACK_MASK)
61740 
61741 #define IOMUXC_GPR_GPR76_PIT1_STOP_ACK_MASK      (0x20U)
61742 #define IOMUXC_GPR_GPR76_PIT1_STOP_ACK_SHIFT     (5U)
61743 /*! PIT1_STOP_ACK - PIT1 stop acknowledge
61744  */
61745 #define IOMUXC_GPR_GPR76_PIT1_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_PIT1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_PIT1_STOP_ACK_MASK)
61746 
61747 #define IOMUXC_GPR_GPR76_PIT2_STOP_ACK_MASK      (0x40U)
61748 #define IOMUXC_GPR_GPR76_PIT2_STOP_ACK_SHIFT     (6U)
61749 /*! PIT2_STOP_ACK - PIT2 stop acknowledge
61750  */
61751 #define IOMUXC_GPR_GPR76_PIT2_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_PIT2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_PIT2_STOP_ACK_MASK)
61752 
61753 #define IOMUXC_GPR_GPR76_SEMC_STOP_ACK_MASK      (0x80U)
61754 #define IOMUXC_GPR_GPR76_SEMC_STOP_ACK_SHIFT     (7U)
61755 /*! SEMC_STOP_ACK - SEMC stop acknowledge
61756  */
61757 #define IOMUXC_GPR_GPR76_SEMC_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SEMC_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SEMC_STOP_ACK_MASK)
61758 
61759 #define IOMUXC_GPR_GPR76_SNVS_HP_STOP_ACK_MASK   (0x100U)
61760 #define IOMUXC_GPR_GPR76_SNVS_HP_STOP_ACK_SHIFT  (8U)
61761 /*! SNVS_HP_STOP_ACK - SNVS_HP stop acknowledge
61762  */
61763 #define IOMUXC_GPR_GPR76_SNVS_HP_STOP_ACK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SNVS_HP_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SNVS_HP_STOP_ACK_MASK)
61764 
61765 #define IOMUXC_GPR_GPR76_SAI1_STOP_ACK_MASK      (0x200U)
61766 #define IOMUXC_GPR_GPR76_SAI1_STOP_ACK_SHIFT     (9U)
61767 /*! SAI1_STOP_ACK - SAI1 stop acknowledge
61768  */
61769 #define IOMUXC_GPR_GPR76_SAI1_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SAI1_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SAI1_STOP_ACK_MASK)
61770 
61771 #define IOMUXC_GPR_GPR76_SAI2_STOP_ACK_MASK      (0x400U)
61772 #define IOMUXC_GPR_GPR76_SAI2_STOP_ACK_SHIFT     (10U)
61773 /*! SAI2_STOP_ACK - SAI2 stop acknowledge
61774  */
61775 #define IOMUXC_GPR_GPR76_SAI2_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SAI2_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SAI2_STOP_ACK_MASK)
61776 
61777 #define IOMUXC_GPR_GPR76_SAI3_STOP_ACK_MASK      (0x800U)
61778 #define IOMUXC_GPR_GPR76_SAI3_STOP_ACK_SHIFT     (11U)
61779 /*! SAI3_STOP_ACK - SAI3 stop acknowledge
61780  */
61781 #define IOMUXC_GPR_GPR76_SAI3_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SAI3_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SAI3_STOP_ACK_MASK)
61782 
61783 #define IOMUXC_GPR_GPR76_SAI4_STOP_ACK_MASK      (0x1000U)
61784 #define IOMUXC_GPR_GPR76_SAI4_STOP_ACK_SHIFT     (12U)
61785 /*! SAI4_STOP_ACK - SAI4 stop acknowledge
61786  */
61787 #define IOMUXC_GPR_GPR76_SAI4_STOP_ACK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_SAI4_STOP_ACK_SHIFT)) & IOMUXC_GPR_GPR76_SAI4_STOP_ACK_MASK)
61788 
61789 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_BUS_MASK (0x2000U)
61790 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_BUS_SHIFT (13U)
61791 /*! FLEXIO1_STOP_ACK_BUS - FLEXIO1 stop acknowledge of bus clock domain
61792  */
61793 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_BUS_SHIFT)) & IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_BUS_MASK)
61794 
61795 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_PER_MASK (0x4000U)
61796 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_PER_SHIFT (14U)
61797 /*! FLEXIO1_STOP_ACK_PER - FLEXIO1 stop acknowledge of peripheral clock domain
61798  */
61799 #define IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_PER_SHIFT)) & IOMUXC_GPR_GPR76_FLEXIO1_STOP_ACK_PER_MASK)
61800 
61801 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_BUS_MASK (0x8000U)
61802 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_BUS_SHIFT (15U)
61803 /*! FLEXIO2_STOP_ACK_BUS - FLEXIO2 stop acknowledge of bus clock domain
61804  */
61805 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_BUS_SHIFT)) & IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_BUS_MASK)
61806 
61807 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_PER_MASK (0x10000U)
61808 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_PER_SHIFT (16U)
61809 /*! FLEXIO2_STOP_ACK_PER - FLEXIO2 stop acknowledge of peripheral clock domain
61810  */
61811 #define IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_PER_SHIFT)) & IOMUXC_GPR_GPR76_FLEXIO2_STOP_ACK_PER_MASK)
61812 /*! @} */
61813 
61814 
61815 /*!
61816  * @}
61817  */ /* end of group IOMUXC_GPR_Register_Masks */
61818 
61819 
61820 /* IOMUXC_GPR - Peripheral instance base addresses */
61821 /** Peripheral IOMUXC_GPR base address */
61822 #define IOMUXC_GPR_BASE                          (0x400E4000u)
61823 /** Peripheral IOMUXC_GPR base pointer */
61824 #define IOMUXC_GPR                               ((IOMUXC_GPR_Type *)IOMUXC_GPR_BASE)
61825 /** Array initializer of IOMUXC_GPR peripheral base addresses */
61826 #define IOMUXC_GPR_BASE_ADDRS                    { IOMUXC_GPR_BASE }
61827 /** Array initializer of IOMUXC_GPR peripheral base pointers */
61828 #define IOMUXC_GPR_BASE_PTRS                     { IOMUXC_GPR }
61829 
61830 /*!
61831  * @}
61832  */ /* end of group IOMUXC_GPR_Peripheral_Access_Layer */
61833 
61834 
61835 /* ----------------------------------------------------------------------------
61836    -- IOMUXC_LPSR Peripheral Access Layer
61837    ---------------------------------------------------------------------------- */
61838 
61839 /*!
61840  * @addtogroup IOMUXC_LPSR_Peripheral_Access_Layer IOMUXC_LPSR Peripheral Access Layer
61841  * @{
61842  */
61843 
61844 /** IOMUXC_LPSR - Register Layout Typedef */
61845 typedef struct {
61846   __IO uint32_t SW_MUX_CTL_PAD[16];                /**< SW_MUX_CTL_PAD_GPIO_LPSR_00 SW MUX Control Register..SW_MUX_CTL_PAD_GPIO_LPSR_15 SW MUX Control Register, array offset: 0x0, array step: 0x4 */
61847   __IO uint32_t SW_PAD_CTL_PAD[16];                /**< SW_PAD_CTL_PAD_GPIO_LPSR_00 SW PAD Control Register..SW_PAD_CTL_PAD_GPIO_LPSR_15 SW PAD Control Register, array offset: 0x40, array step: 0x4 */
61848   __IO uint32_t SELECT_INPUT[24];                  /**< CAN3_IPP_IND_CANRX_SELECT_INPUT DAISY Register..SAI4_IPP_IND_SAI_TXSYNC_SELECT_INPUT DAISY Register, array offset: 0x80, array step: 0x4 */
61849 } IOMUXC_LPSR_Type;
61850 
61851 /* ----------------------------------------------------------------------------
61852    -- IOMUXC_LPSR Register Masks
61853    ---------------------------------------------------------------------------- */
61854 
61855 /*!
61856  * @addtogroup IOMUXC_LPSR_Register_Masks IOMUXC_LPSR Register Masks
61857  * @{
61858  */
61859 
61860 /*! @name SW_MUX_CTL_PAD - SW_MUX_CTL_PAD_GPIO_LPSR_00 SW MUX Control Register..SW_MUX_CTL_PAD_GPIO_LPSR_15 SW MUX Control Register */
61861 /*! @{ */
61862 
61863 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_MUX_MODE_MASK (0xFU)
61864 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_MUX_MODE_SHIFT (0U)
61865 /*! MUX_MODE - MUX Mode Select Field.
61866  *  0b0000..Select mux mode: ALT0 mux port: FLEXCAN3_TX of instance: FLEXCAN3
61867  *  0b0001..Select mux mode: ALT1 mux port: MIC_CLK of instance: MIC
61868  *  0b0010..Select mux mode: ALT2 mux port: MQS_RIGHT of instance: MQS
61869  *  0b0011..Select mux mode: ALT3 mux port: ARM_CM4_EVENTO of instance: CM4
61870  *  0b0101..Select mux mode: ALT5 mux port: GPIO_MUX6_IO00 of instance: GPIO_MUX6
61871  *  0b0110..Select mux mode: ALT6 mux port: LPUART12_TXD of instance: LPUART12
61872  *  0b0111..Select mux mode: ALT7 mux port: SAI4_MCLK of instance: SAI4
61873  *  0b1010..Select mux mode: ALT10 mux port: GPIO12_IO00 of instance: GPIO12
61874  */
61875 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_MUX_MODE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_MUX_CTL_PAD_MUX_MODE_SHIFT)) & IOMUXC_LPSR_SW_MUX_CTL_PAD_MUX_MODE_MASK)
61876 
61877 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_SION_MASK     (0x10U)
61878 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_SION_SHIFT    (4U)
61879 /*! SION - Software Input On Field.
61880  *  0b1..Force input path of pad GPIO_LPSR_00
61881  *  0b0..Input Path is determined by functionality
61882  */
61883 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_SION(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_MUX_CTL_PAD_SION_SHIFT)) & IOMUXC_LPSR_SW_MUX_CTL_PAD_SION_MASK)
61884 /*! @} */
61885 
61886 /* The count of IOMUXC_LPSR_SW_MUX_CTL_PAD */
61887 #define IOMUXC_LPSR_SW_MUX_CTL_PAD_COUNT         (16U)
61888 
61889 /*! @name SW_PAD_CTL_PAD - SW_PAD_CTL_PAD_GPIO_LPSR_00 SW PAD Control Register..SW_PAD_CTL_PAD_GPIO_LPSR_15 SW PAD Control Register */
61890 /*! @{ */
61891 
61892 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_SRE_MASK      (0x1U)
61893 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_SRE_SHIFT     (0U)
61894 /*! SRE - Slew Rate Field
61895  *  0b0..Slow Slew Rate
61896  *  0b1..Fast Slew Rate
61897  */
61898 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_SRE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_SRE_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_SRE_MASK)
61899 
61900 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DSE_MASK      (0x2U)
61901 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DSE_SHIFT     (1U)
61902 /*! DSE - Drive Strength Field
61903  *  0b0..normal driver
61904  *  0b1..high driver
61905  */
61906 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DSE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_DSE_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_DSE_MASK)
61907 
61908 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUE_MASK      (0x4U)
61909 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUE_SHIFT     (2U)
61910 /*! PUE - Pull / Keep Select Field
61911  *  0b0..Pull Disable
61912  *  0b1..Pull Enable
61913  */
61914 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUE(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_PUE_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_PUE_MASK)
61915 
61916 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUS_MASK      (0x8U)
61917 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUS_SHIFT     (3U)
61918 /*! PUS - Pull Up / Down Config. Field
61919  *  0b0..Weak pull down
61920  *  0b1..Weak pull up
61921  */
61922 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_PUS(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_PUS_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_PUS_MASK)
61923 
61924 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_ODE_LPSR_MASK (0x20U)
61925 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_ODE_LPSR_SHIFT (5U)
61926 /*! ODE_LPSR - Open Drain LPSR Field
61927  *  0b0..Disabled
61928  *  0b1..Enabled
61929  */
61930 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_ODE_LPSR(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_ODE_LPSR_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_ODE_LPSR_MASK)
61931 
61932 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_MASK      (0x30000000U)
61933 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_SHIFT     (28U)
61934 /*! DWP - Domain write protection
61935  *  0b00..Both cores are allowed
61936  *  0b01..CM7 is forbidden
61937  *  0b10..CM4 is forbidden
61938  *  0b11..Both cores are forbidden
61939  */
61940 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_MASK)
61941 
61942 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_LOCK_MASK (0xC0000000U)
61943 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_LOCK_SHIFT (30U)
61944 /*! DWP_LOCK - Domain write protection lock
61945  *  0b00..Neither of DWP bits is locked
61946  *  0b01..The lower DWP bit is locked
61947  *  0b10..The higher DWP bit is locked
61948  *  0b11..Both DWP bits are locked
61949  */
61950 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_LOCK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_SW_PAD_CTL_PAD_DWP_LOCK_MASK)
61951 /*! @} */
61952 
61953 /* The count of IOMUXC_LPSR_SW_PAD_CTL_PAD */
61954 #define IOMUXC_LPSR_SW_PAD_CTL_PAD_COUNT         (16U)
61955 
61956 /*! @name SELECT_INPUT - CAN3_IPP_IND_CANRX_SELECT_INPUT DAISY Register..SAI4_IPP_IND_SAI_TXSYNC_SELECT_INPUT DAISY Register */
61957 /*! @{ */
61958 
61959 #define IOMUXC_LPSR_SELECT_INPUT_DAISY_MASK      (0x3U)  /* Merged from fields with different position or width, of widths (1, 2), largest definition used */
61960 #define IOMUXC_LPSR_SELECT_INPUT_DAISY_SHIFT     (0U)
61961 /*! DAISY - Selecting Pads Involved in Daisy Chain.
61962  *  0b00..Selecting Pad: GPIO_LPSR_01 for Mode: ALT0
61963  *  0b01..Selecting Pad: GPIO_LPSR_07 for Mode: ALT6
61964  *  0b10..Selecting Pad: GPIO_LPSR_09 for Mode: ALT1
61965  */
61966 #define IOMUXC_LPSR_SELECT_INPUT_DAISY(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_SELECT_INPUT_DAISY_SHIFT)) & IOMUXC_LPSR_SELECT_INPUT_DAISY_MASK)  /* Merged from fields with different position or width, of widths (1, 2), largest definition used */
61967 /*! @} */
61968 
61969 /* The count of IOMUXC_LPSR_SELECT_INPUT */
61970 #define IOMUXC_LPSR_SELECT_INPUT_COUNT           (24U)
61971 
61972 
61973 /*!
61974  * @}
61975  */ /* end of group IOMUXC_LPSR_Register_Masks */
61976 
61977 
61978 /* IOMUXC_LPSR - Peripheral instance base addresses */
61979 /** Peripheral IOMUXC_LPSR base address */
61980 #define IOMUXC_LPSR_BASE                         (0x40C08000u)
61981 /** Peripheral IOMUXC_LPSR base pointer */
61982 #define IOMUXC_LPSR                              ((IOMUXC_LPSR_Type *)IOMUXC_LPSR_BASE)
61983 /** Array initializer of IOMUXC_LPSR peripheral base addresses */
61984 #define IOMUXC_LPSR_BASE_ADDRS                   { IOMUXC_LPSR_BASE }
61985 /** Array initializer of IOMUXC_LPSR peripheral base pointers */
61986 #define IOMUXC_LPSR_BASE_PTRS                    { IOMUXC_LPSR }
61987 
61988 /*!
61989  * @}
61990  */ /* end of group IOMUXC_LPSR_Peripheral_Access_Layer */
61991 
61992 
61993 /* ----------------------------------------------------------------------------
61994    -- IOMUXC_LPSR_GPR Peripheral Access Layer
61995    ---------------------------------------------------------------------------- */
61996 
61997 /*!
61998  * @addtogroup IOMUXC_LPSR_GPR_Peripheral_Access_Layer IOMUXC_LPSR_GPR Peripheral Access Layer
61999  * @{
62000  */
62001 
62002 /** IOMUXC_LPSR_GPR - Register Layout Typedef */
62003 typedef struct {
62004   __IO uint32_t GPR0;                              /**< GPR0 General Purpose Register, offset: 0x0 */
62005   __IO uint32_t GPR1;                              /**< GPR1 General Purpose Register, offset: 0x4 */
62006   __IO uint32_t GPR2;                              /**< GPR2 General Purpose Register, offset: 0x8 */
62007   __IO uint32_t GPR3;                              /**< GPR3 General Purpose Register, offset: 0xC */
62008   __IO uint32_t GPR4;                              /**< GPR4 General Purpose Register, offset: 0x10 */
62009   __IO uint32_t GPR5;                              /**< GPR5 General Purpose Register, offset: 0x14 */
62010   __IO uint32_t GPR6;                              /**< GPR6 General Purpose Register, offset: 0x18 */
62011   __IO uint32_t GPR7;                              /**< GPR7 General Purpose Register, offset: 0x1C */
62012   __IO uint32_t GPR8;                              /**< GPR8 General Purpose Register, offset: 0x20 */
62013   __IO uint32_t GPR9;                              /**< GPR9 General Purpose Register, offset: 0x24 */
62014   __IO uint32_t GPR10;                             /**< GPR10 General Purpose Register, offset: 0x28 */
62015   __IO uint32_t GPR11;                             /**< GPR11 General Purpose Register, offset: 0x2C */
62016   __IO uint32_t GPR12;                             /**< GPR12 General Purpose Register, offset: 0x30 */
62017   __IO uint32_t GPR13;                             /**< GPR13 General Purpose Register, offset: 0x34 */
62018   __IO uint32_t GPR14;                             /**< GPR14 General Purpose Register, offset: 0x38 */
62019   __IO uint32_t GPR15;                             /**< GPR15 General Purpose Register, offset: 0x3C */
62020   __IO uint32_t GPR16;                             /**< GPR16 General Purpose Register, offset: 0x40 */
62021   __IO uint32_t GPR17;                             /**< GPR17 General Purpose Register, offset: 0x44 */
62022   __IO uint32_t GPR18;                             /**< GPR18 General Purpose Register, offset: 0x48 */
62023   __IO uint32_t GPR19;                             /**< GPR19 General Purpose Register, offset: 0x4C */
62024   __IO uint32_t GPR20;                             /**< GPR20 General Purpose Register, offset: 0x50 */
62025   __IO uint32_t GPR21;                             /**< GPR21 General Purpose Register, offset: 0x54 */
62026   __IO uint32_t GPR22;                             /**< GPR22 General Purpose Register, offset: 0x58 */
62027   __IO uint32_t GPR23;                             /**< GPR23 General Purpose Register, offset: 0x5C */
62028   __IO uint32_t GPR24;                             /**< GPR24 General Purpose Register, offset: 0x60 */
62029   __IO uint32_t GPR25;                             /**< GPR25 General Purpose Register, offset: 0x64 */
62030   __IO uint32_t GPR26;                             /**< GPR26 General Purpose Register, offset: 0x68 */
62031        uint8_t RESERVED_0[24];
62032   __IO uint32_t GPR33;                             /**< GPR33 General Purpose Register, offset: 0x84 */
62033   __IO uint32_t GPR34;                             /**< GPR34 General Purpose Register, offset: 0x88 */
62034   __IO uint32_t GPR35;                             /**< GPR35 General Purpose Register, offset: 0x8C */
62035   __IO uint32_t GPR36;                             /**< GPR36 General Purpose Register, offset: 0x90 */
62036   __IO uint32_t GPR37;                             /**< GPR37 General Purpose Register, offset: 0x94 */
62037   __IO uint32_t GPR38;                             /**< GPR38 General Purpose Register, offset: 0x98 */
62038   __IO uint32_t GPR39;                             /**< GPR39 General Purpose Register, offset: 0x9C */
62039   __I  uint32_t GPR40;                             /**< GPR40 General Purpose Register, offset: 0xA0 */
62040   __I  uint32_t GPR41;                             /**< GPR41 General Purpose Register, offset: 0xA4 */
62041 } IOMUXC_LPSR_GPR_Type;
62042 
62043 /* ----------------------------------------------------------------------------
62044    -- IOMUXC_LPSR_GPR Register Masks
62045    ---------------------------------------------------------------------------- */
62046 
62047 /*!
62048  * @addtogroup IOMUXC_LPSR_GPR_Register_Masks IOMUXC_LPSR_GPR Register Masks
62049  * @{
62050  */
62051 
62052 /*! @name GPR0 - GPR0 General Purpose Register */
62053 /*! @{ */
62054 
62055 #define IOMUXC_LPSR_GPR_GPR0_CM4_INIT_VTOR_LOW_MASK (0xFFF8U)
62056 #define IOMUXC_LPSR_GPR_GPR0_CM4_INIT_VTOR_LOW_SHIFT (3U)
62057 /*! CM4_INIT_VTOR_LOW - CM4 Vector table offset value lower bits out of reset
62058  */
62059 #define IOMUXC_LPSR_GPR_GPR0_CM4_INIT_VTOR_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR0_CM4_INIT_VTOR_LOW_SHIFT)) & IOMUXC_LPSR_GPR_GPR0_CM4_INIT_VTOR_LOW_MASK)
62060 
62061 #define IOMUXC_LPSR_GPR_GPR0_DWP_MASK            (0x30000000U)
62062 #define IOMUXC_LPSR_GPR_GPR0_DWP_SHIFT           (28U)
62063 /*! DWP - Domain write protection
62064  *  0b00..Both cores are allowed
62065  *  0b01..CM7 is forbidden
62066  *  0b10..CM4 is forbidden
62067  *  0b11..Both cores are forbidden
62068  */
62069 #define IOMUXC_LPSR_GPR_GPR0_DWP(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR0_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR0_DWP_MASK)
62070 
62071 #define IOMUXC_LPSR_GPR_GPR0_DWP_LOCK_MASK       (0xC0000000U)
62072 #define IOMUXC_LPSR_GPR_GPR0_DWP_LOCK_SHIFT      (30U)
62073 /*! DWP_LOCK - Domain write protection lock
62074  *  0b00..Neither of DWP bits is locked
62075  *  0b01..The lower DWP bit is locked
62076  *  0b10..The higher DWP bit is locked
62077  *  0b11..Both DWP bits are locked
62078  */
62079 #define IOMUXC_LPSR_GPR_GPR0_DWP_LOCK(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR0_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR0_DWP_LOCK_MASK)
62080 /*! @} */
62081 
62082 /*! @name GPR1 - GPR1 General Purpose Register */
62083 /*! @{ */
62084 
62085 #define IOMUXC_LPSR_GPR_GPR1_CM4_INIT_VTOR_HIGH_MASK (0xFFFFU)
62086 #define IOMUXC_LPSR_GPR_GPR1_CM4_INIT_VTOR_HIGH_SHIFT (0U)
62087 /*! CM4_INIT_VTOR_HIGH - CM4 Vector table offset value higher bits out of reset
62088  */
62089 #define IOMUXC_LPSR_GPR_GPR1_CM4_INIT_VTOR_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR1_CM4_INIT_VTOR_HIGH_SHIFT)) & IOMUXC_LPSR_GPR_GPR1_CM4_INIT_VTOR_HIGH_MASK)
62090 
62091 #define IOMUXC_LPSR_GPR_GPR1_DWP_MASK            (0x30000000U)
62092 #define IOMUXC_LPSR_GPR_GPR1_DWP_SHIFT           (28U)
62093 /*! DWP - Domain write protection
62094  *  0b00..Both cores are allowed
62095  *  0b01..CM7 is forbidden
62096  *  0b10..CM4 is forbidden
62097  *  0b11..Both cores are forbidden
62098  */
62099 #define IOMUXC_LPSR_GPR_GPR1_DWP(x)              (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR1_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR1_DWP_MASK)
62100 
62101 #define IOMUXC_LPSR_GPR_GPR1_DWP_LOCK_MASK       (0xC0000000U)
62102 #define IOMUXC_LPSR_GPR_GPR1_DWP_LOCK_SHIFT      (30U)
62103 /*! DWP_LOCK - Domain write protection lock
62104  *  0b00..Neither of DWP bits is locked
62105  *  0b01..The lower DWP bit is locked
62106  *  0b10..The higher DWP bit is locked
62107  *  0b11..Both DWP bits are locked
62108  */
62109 #define IOMUXC_LPSR_GPR_GPR1_DWP_LOCK(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR1_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR1_DWP_LOCK_MASK)
62110 /*! @} */
62111 
62112 /*! @name GPR2 - GPR2 General Purpose Register */
62113 /*! @{ */
62114 
62115 #define IOMUXC_LPSR_GPR_GPR2_LOCK_MASK           (0x1U)
62116 #define IOMUXC_LPSR_GPR_GPR2_LOCK_SHIFT          (0U)
62117 /*! LOCK - Lock the write to bit 31:1
62118  *  0b1..Write access to bit 31:1 is blocked
62119  *  0b0..Write access to bit 31:1 is not blocked
62120  */
62121 #define IOMUXC_LPSR_GPR_GPR2_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR2_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR2_LOCK_MASK)
62122 
62123 #define IOMUXC_LPSR_GPR_GPR2_APC_AC_R0_BOT_MASK  (0xFFFFFFF8U)
62124 #define IOMUXC_LPSR_GPR_GPR2_APC_AC_R0_BOT_SHIFT (3U)
62125 /*! APC_AC_R0_BOT - APC start address of memory region-0
62126  */
62127 #define IOMUXC_LPSR_GPR_GPR2_APC_AC_R0_BOT(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR2_APC_AC_R0_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR2_APC_AC_R0_BOT_MASK)
62128 /*! @} */
62129 
62130 /*! @name GPR3 - GPR3 General Purpose Register */
62131 /*! @{ */
62132 
62133 #define IOMUXC_LPSR_GPR_GPR3_LOCK_MASK           (0x1U)
62134 #define IOMUXC_LPSR_GPR_GPR3_LOCK_SHIFT          (0U)
62135 /*! LOCK - Lock the write to bit 31:1
62136  *  0b1..Write access to bit 31:1 is blocked
62137  *  0b0..Write access to bit 31:1 is not blocked
62138  */
62139 #define IOMUXC_LPSR_GPR_GPR3_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR3_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR3_LOCK_MASK)
62140 
62141 #define IOMUXC_LPSR_GPR_GPR3_APC_AC_R0_TOP_MASK  (0xFFFFFFF8U)
62142 #define IOMUXC_LPSR_GPR_GPR3_APC_AC_R0_TOP_SHIFT (3U)
62143 /*! APC_AC_R0_TOP - APC end address of memory region-0
62144  */
62145 #define IOMUXC_LPSR_GPR_GPR3_APC_AC_R0_TOP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR3_APC_AC_R0_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR3_APC_AC_R0_TOP_MASK)
62146 /*! @} */
62147 
62148 /*! @name GPR4 - GPR4 General Purpose Register */
62149 /*! @{ */
62150 
62151 #define IOMUXC_LPSR_GPR_GPR4_LOCK_MASK           (0x1U)
62152 #define IOMUXC_LPSR_GPR_GPR4_LOCK_SHIFT          (0U)
62153 /*! LOCK - Lock the write to bit 31:1
62154  *  0b1..Write access to bit 31:1 is blocked
62155  *  0b0..Write access to bit 31:1 is not blocked
62156  */
62157 #define IOMUXC_LPSR_GPR_GPR4_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR4_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR4_LOCK_MASK)
62158 
62159 #define IOMUXC_LPSR_GPR_GPR4_APC_AC_R1_BOT_MASK  (0xFFFFFFF8U)
62160 #define IOMUXC_LPSR_GPR_GPR4_APC_AC_R1_BOT_SHIFT (3U)
62161 /*! APC_AC_R1_BOT - APC start address of memory region-1
62162  */
62163 #define IOMUXC_LPSR_GPR_GPR4_APC_AC_R1_BOT(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR4_APC_AC_R1_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR4_APC_AC_R1_BOT_MASK)
62164 /*! @} */
62165 
62166 /*! @name GPR5 - GPR5 General Purpose Register */
62167 /*! @{ */
62168 
62169 #define IOMUXC_LPSR_GPR_GPR5_LOCK_MASK           (0x1U)
62170 #define IOMUXC_LPSR_GPR_GPR5_LOCK_SHIFT          (0U)
62171 /*! LOCK - Lock the write to bit 31:1
62172  *  0b1..Write access to bit 31:1 is blocked
62173  *  0b0..Write access to bit 31:1 is not blocked
62174  */
62175 #define IOMUXC_LPSR_GPR_GPR5_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR5_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR5_LOCK_MASK)
62176 
62177 #define IOMUXC_LPSR_GPR_GPR5_APC_AC_R1_TOP_MASK  (0xFFFFFFF8U)
62178 #define IOMUXC_LPSR_GPR_GPR5_APC_AC_R1_TOP_SHIFT (3U)
62179 /*! APC_AC_R1_TOP - APC end address of memory region-1
62180  */
62181 #define IOMUXC_LPSR_GPR_GPR5_APC_AC_R1_TOP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR5_APC_AC_R1_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR5_APC_AC_R1_TOP_MASK)
62182 /*! @} */
62183 
62184 /*! @name GPR6 - GPR6 General Purpose Register */
62185 /*! @{ */
62186 
62187 #define IOMUXC_LPSR_GPR_GPR6_LOCK_MASK           (0x1U)
62188 #define IOMUXC_LPSR_GPR_GPR6_LOCK_SHIFT          (0U)
62189 /*! LOCK - Lock the write to bit 31:1
62190  *  0b1..Write access to bit 31:1 is blocked
62191  *  0b0..Write access to bit 31:1 is not blocked
62192  */
62193 #define IOMUXC_LPSR_GPR_GPR6_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR6_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR6_LOCK_MASK)
62194 
62195 #define IOMUXC_LPSR_GPR_GPR6_APC_AC_R2_BOT_MASK  (0xFFFFFFF8U)
62196 #define IOMUXC_LPSR_GPR_GPR6_APC_AC_R2_BOT_SHIFT (3U)
62197 /*! APC_AC_R2_BOT - APC start address of memory region-2
62198  */
62199 #define IOMUXC_LPSR_GPR_GPR6_APC_AC_R2_BOT(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR6_APC_AC_R2_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR6_APC_AC_R2_BOT_MASK)
62200 /*! @} */
62201 
62202 /*! @name GPR7 - GPR7 General Purpose Register */
62203 /*! @{ */
62204 
62205 #define IOMUXC_LPSR_GPR_GPR7_LOCK_MASK           (0x1U)
62206 #define IOMUXC_LPSR_GPR_GPR7_LOCK_SHIFT          (0U)
62207 /*! LOCK - Lock the write to bit 31:1
62208  *  0b1..Write access to bit 31:1 is blocked
62209  *  0b0..Write access to bit 31:1 is not blocked
62210  */
62211 #define IOMUXC_LPSR_GPR_GPR7_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR7_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR7_LOCK_MASK)
62212 
62213 #define IOMUXC_LPSR_GPR_GPR7_APC_AC_R2_TOP_MASK  (0xFFFFFFF8U)
62214 #define IOMUXC_LPSR_GPR_GPR7_APC_AC_R2_TOP_SHIFT (3U)
62215 /*! APC_AC_R2_TOP - APC end address of memory region-2
62216  */
62217 #define IOMUXC_LPSR_GPR_GPR7_APC_AC_R2_TOP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR7_APC_AC_R2_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR7_APC_AC_R2_TOP_MASK)
62218 /*! @} */
62219 
62220 /*! @name GPR8 - GPR8 General Purpose Register */
62221 /*! @{ */
62222 
62223 #define IOMUXC_LPSR_GPR_GPR8_LOCK_MASK           (0x1U)
62224 #define IOMUXC_LPSR_GPR_GPR8_LOCK_SHIFT          (0U)
62225 /*! LOCK - Lock the write to bit 31:1
62226  *  0b1..Write access to bit 31:1 is blocked
62227  *  0b0..Write access to bit 31:1 is not blocked
62228  */
62229 #define IOMUXC_LPSR_GPR_GPR8_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR8_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR8_LOCK_MASK)
62230 
62231 #define IOMUXC_LPSR_GPR_GPR8_APC_AC_R3_BOT_MASK  (0xFFFFFFF8U)
62232 #define IOMUXC_LPSR_GPR_GPR8_APC_AC_R3_BOT_SHIFT (3U)
62233 /*! APC_AC_R3_BOT - APC start address of memory region-3
62234  */
62235 #define IOMUXC_LPSR_GPR_GPR8_APC_AC_R3_BOT(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR8_APC_AC_R3_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR8_APC_AC_R3_BOT_MASK)
62236 /*! @} */
62237 
62238 /*! @name GPR9 - GPR9 General Purpose Register */
62239 /*! @{ */
62240 
62241 #define IOMUXC_LPSR_GPR_GPR9_LOCK_MASK           (0x1U)
62242 #define IOMUXC_LPSR_GPR_GPR9_LOCK_SHIFT          (0U)
62243 /*! LOCK - Lock the write to bit 31:1
62244  *  0b1..Write access to bit 31:1 is blocked
62245  *  0b0..Write access to bit 31:1 is not blocked
62246  */
62247 #define IOMUXC_LPSR_GPR_GPR9_LOCK(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR9_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR9_LOCK_MASK)
62248 
62249 #define IOMUXC_LPSR_GPR_GPR9_APC_AC_R3_TOP_MASK  (0xFFFFFFF8U)
62250 #define IOMUXC_LPSR_GPR_GPR9_APC_AC_R3_TOP_SHIFT (3U)
62251 /*! APC_AC_R3_TOP - APC end address of memory region-3
62252  */
62253 #define IOMUXC_LPSR_GPR_GPR9_APC_AC_R3_TOP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR9_APC_AC_R3_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR9_APC_AC_R3_TOP_MASK)
62254 /*! @} */
62255 
62256 /*! @name GPR10 - GPR10 General Purpose Register */
62257 /*! @{ */
62258 
62259 #define IOMUXC_LPSR_GPR_GPR10_LOCK_MASK          (0x1U)
62260 #define IOMUXC_LPSR_GPR_GPR10_LOCK_SHIFT         (0U)
62261 /*! LOCK - Lock the write to bit 31:1
62262  *  0b1..Write access to bit 31:1 is blocked
62263  *  0b0..Write access to bit 31:1 is not blocked
62264  */
62265 #define IOMUXC_LPSR_GPR_GPR10_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR10_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR10_LOCK_MASK)
62266 
62267 #define IOMUXC_LPSR_GPR_GPR10_APC_AC_R4_BOT_MASK (0xFFFFFFF8U)
62268 #define IOMUXC_LPSR_GPR_GPR10_APC_AC_R4_BOT_SHIFT (3U)
62269 /*! APC_AC_R4_BOT - APC start address of memory region-4
62270  */
62271 #define IOMUXC_LPSR_GPR_GPR10_APC_AC_R4_BOT(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR10_APC_AC_R4_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR10_APC_AC_R4_BOT_MASK)
62272 /*! @} */
62273 
62274 /*! @name GPR11 - GPR11 General Purpose Register */
62275 /*! @{ */
62276 
62277 #define IOMUXC_LPSR_GPR_GPR11_LOCK_MASK          (0x1U)
62278 #define IOMUXC_LPSR_GPR_GPR11_LOCK_SHIFT         (0U)
62279 /*! LOCK - Lock the write to bit 31:1
62280  *  0b1..Write access to bit 31:1 is blocked
62281  *  0b0..Write access to bit 31:1 is not blocked
62282  */
62283 #define IOMUXC_LPSR_GPR_GPR11_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR11_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR11_LOCK_MASK)
62284 
62285 #define IOMUXC_LPSR_GPR_GPR11_APC_AC_R4_TOP_MASK (0xFFFFFFF8U)
62286 #define IOMUXC_LPSR_GPR_GPR11_APC_AC_R4_TOP_SHIFT (3U)
62287 /*! APC_AC_R4_TOP - APC end address of memory region-4
62288  */
62289 #define IOMUXC_LPSR_GPR_GPR11_APC_AC_R4_TOP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR11_APC_AC_R4_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR11_APC_AC_R4_TOP_MASK)
62290 /*! @} */
62291 
62292 /*! @name GPR12 - GPR12 General Purpose Register */
62293 /*! @{ */
62294 
62295 #define IOMUXC_LPSR_GPR_GPR12_LOCK_MASK          (0x1U)
62296 #define IOMUXC_LPSR_GPR_GPR12_LOCK_SHIFT         (0U)
62297 /*! LOCK - Lock the write to bit 31:1
62298  *  0b1..Write access to bit 31:1 is blocked
62299  *  0b0..Write access to bit 31:1 is not blocked
62300  */
62301 #define IOMUXC_LPSR_GPR_GPR12_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR12_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR12_LOCK_MASK)
62302 
62303 #define IOMUXC_LPSR_GPR_GPR12_APC_AC_R5_BOT_MASK (0xFFFFFFF8U)
62304 #define IOMUXC_LPSR_GPR_GPR12_APC_AC_R5_BOT_SHIFT (3U)
62305 /*! APC_AC_R5_BOT - APC start address of memory region-5
62306  */
62307 #define IOMUXC_LPSR_GPR_GPR12_APC_AC_R5_BOT(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR12_APC_AC_R5_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR12_APC_AC_R5_BOT_MASK)
62308 /*! @} */
62309 
62310 /*! @name GPR13 - GPR13 General Purpose Register */
62311 /*! @{ */
62312 
62313 #define IOMUXC_LPSR_GPR_GPR13_LOCK_MASK          (0x1U)
62314 #define IOMUXC_LPSR_GPR_GPR13_LOCK_SHIFT         (0U)
62315 /*! LOCK - Lock the write to bit 31:1
62316  *  0b1..Write access to bit 31:1 is blocked
62317  *  0b0..Write access to bit 31:1 is not blocked
62318  */
62319 #define IOMUXC_LPSR_GPR_GPR13_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR13_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR13_LOCK_MASK)
62320 
62321 #define IOMUXC_LPSR_GPR_GPR13_APC_AC_R5_TOP_MASK (0xFFFFFFF8U)
62322 #define IOMUXC_LPSR_GPR_GPR13_APC_AC_R5_TOP_SHIFT (3U)
62323 /*! APC_AC_R5_TOP - APC end address of memory region-5
62324  */
62325 #define IOMUXC_LPSR_GPR_GPR13_APC_AC_R5_TOP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR13_APC_AC_R5_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR13_APC_AC_R5_TOP_MASK)
62326 /*! @} */
62327 
62328 /*! @name GPR14 - GPR14 General Purpose Register */
62329 /*! @{ */
62330 
62331 #define IOMUXC_LPSR_GPR_GPR14_LOCK_MASK          (0x1U)
62332 #define IOMUXC_LPSR_GPR_GPR14_LOCK_SHIFT         (0U)
62333 /*! LOCK - Lock the write to bit 31:1
62334  *  0b1..Write access to bit 31:1 is blocked
62335  *  0b0..Write access to bit 31:1 is not blocked
62336  */
62337 #define IOMUXC_LPSR_GPR_GPR14_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR14_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR14_LOCK_MASK)
62338 
62339 #define IOMUXC_LPSR_GPR_GPR14_APC_AC_R6_BOT_MASK (0xFFFFFFF8U)
62340 #define IOMUXC_LPSR_GPR_GPR14_APC_AC_R6_BOT_SHIFT (3U)
62341 /*! APC_AC_R6_BOT - APC start address of memory region-6
62342  */
62343 #define IOMUXC_LPSR_GPR_GPR14_APC_AC_R6_BOT(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR14_APC_AC_R6_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR14_APC_AC_R6_BOT_MASK)
62344 /*! @} */
62345 
62346 /*! @name GPR15 - GPR15 General Purpose Register */
62347 /*! @{ */
62348 
62349 #define IOMUXC_LPSR_GPR_GPR15_LOCK_MASK          (0x1U)
62350 #define IOMUXC_LPSR_GPR_GPR15_LOCK_SHIFT         (0U)
62351 /*! LOCK - Lock the write to bit 31:1
62352  *  0b1..Write access to bit 31:1 is blocked
62353  *  0b0..Write access to bit 31:1 is not blocked
62354  */
62355 #define IOMUXC_LPSR_GPR_GPR15_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR15_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR15_LOCK_MASK)
62356 
62357 #define IOMUXC_LPSR_GPR_GPR15_APC_AC_R6_TOP_MASK (0xFFFFFFF8U)
62358 #define IOMUXC_LPSR_GPR_GPR15_APC_AC_R6_TOP_SHIFT (3U)
62359 /*! APC_AC_R6_TOP - APC end address of memory region-6
62360  */
62361 #define IOMUXC_LPSR_GPR_GPR15_APC_AC_R6_TOP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR15_APC_AC_R6_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR15_APC_AC_R6_TOP_MASK)
62362 /*! @} */
62363 
62364 /*! @name GPR16 - GPR16 General Purpose Register */
62365 /*! @{ */
62366 
62367 #define IOMUXC_LPSR_GPR_GPR16_LOCK_MASK          (0x1U)
62368 #define IOMUXC_LPSR_GPR_GPR16_LOCK_SHIFT         (0U)
62369 /*! LOCK - Lock the write to bit 31:1
62370  *  0b1..Write access to bit 31:1 is blocked
62371  *  0b0..Write access to bit 31:1 is not blocked
62372  */
62373 #define IOMUXC_LPSR_GPR_GPR16_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR16_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR16_LOCK_MASK)
62374 
62375 #define IOMUXC_LPSR_GPR_GPR16_APC_AC_R7_BOT_MASK (0xFFFFFFF8U)
62376 #define IOMUXC_LPSR_GPR_GPR16_APC_AC_R7_BOT_SHIFT (3U)
62377 /*! APC_AC_R7_BOT - APC start address of memory region-7
62378  */
62379 #define IOMUXC_LPSR_GPR_GPR16_APC_AC_R7_BOT(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR16_APC_AC_R7_BOT_SHIFT)) & IOMUXC_LPSR_GPR_GPR16_APC_AC_R7_BOT_MASK)
62380 /*! @} */
62381 
62382 /*! @name GPR17 - GPR17 General Purpose Register */
62383 /*! @{ */
62384 
62385 #define IOMUXC_LPSR_GPR_GPR17_LOCK_MASK          (0x1U)
62386 #define IOMUXC_LPSR_GPR_GPR17_LOCK_SHIFT         (0U)
62387 /*! LOCK - Lock the write to bit 31:1
62388  *  0b1..Write access to bit 31:1 is blocked
62389  *  0b0..Write access to bit 31:1 is not blocked
62390  */
62391 #define IOMUXC_LPSR_GPR_GPR17_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR17_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR17_LOCK_MASK)
62392 
62393 #define IOMUXC_LPSR_GPR_GPR17_APC_AC_R7_TOP_MASK (0xFFFFFFF8U)
62394 #define IOMUXC_LPSR_GPR_GPR17_APC_AC_R7_TOP_SHIFT (3U)
62395 /*! APC_AC_R7_TOP - APC end address of memory region-7
62396  */
62397 #define IOMUXC_LPSR_GPR_GPR17_APC_AC_R7_TOP(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR17_APC_AC_R7_TOP_SHIFT)) & IOMUXC_LPSR_GPR_GPR17_APC_AC_R7_TOP_MASK)
62398 /*! @} */
62399 
62400 /*! @name GPR18 - GPR18 General Purpose Register */
62401 /*! @{ */
62402 
62403 #define IOMUXC_LPSR_GPR_GPR18_APC_R0_ENCRYPT_ENABLE_MASK (0x10U)
62404 #define IOMUXC_LPSR_GPR_GPR18_APC_R0_ENCRYPT_ENABLE_SHIFT (4U)
62405 /*! APC_R0_ENCRYPT_ENABLE - APC memory region-0 encryption enable
62406  *  0b1..Encryption enabled
62407  *  0b0..No effect
62408  */
62409 #define IOMUXC_LPSR_GPR_GPR18_APC_R0_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR18_APC_R0_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR18_APC_R0_ENCRYPT_ENABLE_MASK)
62410 
62411 #define IOMUXC_LPSR_GPR_GPR18_LOCK_MASK          (0xFFFF0000U)
62412 #define IOMUXC_LPSR_GPR_GPR18_LOCK_SHIFT         (16U)
62413 /*! LOCK - Lock the write to bit 15:0
62414  */
62415 #define IOMUXC_LPSR_GPR_GPR18_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR18_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR18_LOCK_MASK)
62416 /*! @} */
62417 
62418 /*! @name GPR19 - GPR19 General Purpose Register */
62419 /*! @{ */
62420 
62421 #define IOMUXC_LPSR_GPR_GPR19_APC_R1_ENCRYPT_ENABLE_MASK (0x10U)
62422 #define IOMUXC_LPSR_GPR_GPR19_APC_R1_ENCRYPT_ENABLE_SHIFT (4U)
62423 /*! APC_R1_ENCRYPT_ENABLE - APC memory region-1 encryption enable
62424  *  0b1..Encryption enabled
62425  *  0b0..No effect
62426  */
62427 #define IOMUXC_LPSR_GPR_GPR19_APC_R1_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR19_APC_R1_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR19_APC_R1_ENCRYPT_ENABLE_MASK)
62428 
62429 #define IOMUXC_LPSR_GPR_GPR19_LOCK_MASK          (0xFFFF0000U)
62430 #define IOMUXC_LPSR_GPR_GPR19_LOCK_SHIFT         (16U)
62431 /*! LOCK - Lock the write to bit 15:0
62432  */
62433 #define IOMUXC_LPSR_GPR_GPR19_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR19_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR19_LOCK_MASK)
62434 /*! @} */
62435 
62436 /*! @name GPR20 - GPR20 General Purpose Register */
62437 /*! @{ */
62438 
62439 #define IOMUXC_LPSR_GPR_GPR20_APC_R2_ENCRYPT_ENABLE_MASK (0x10U)
62440 #define IOMUXC_LPSR_GPR_GPR20_APC_R2_ENCRYPT_ENABLE_SHIFT (4U)
62441 /*! APC_R2_ENCRYPT_ENABLE - APC memory region-2 encryption enable
62442  *  0b1..Encryption enabled
62443  *  0b0..No effect
62444  */
62445 #define IOMUXC_LPSR_GPR_GPR20_APC_R2_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR20_APC_R2_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR20_APC_R2_ENCRYPT_ENABLE_MASK)
62446 
62447 #define IOMUXC_LPSR_GPR_GPR20_LOCK_MASK          (0xFFFF0000U)
62448 #define IOMUXC_LPSR_GPR_GPR20_LOCK_SHIFT         (16U)
62449 /*! LOCK - Lock the write to bit 15:0
62450  */
62451 #define IOMUXC_LPSR_GPR_GPR20_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR20_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR20_LOCK_MASK)
62452 /*! @} */
62453 
62454 /*! @name GPR21 - GPR21 General Purpose Register */
62455 /*! @{ */
62456 
62457 #define IOMUXC_LPSR_GPR_GPR21_APC_R3_ENCRYPT_ENABLE_MASK (0x10U)
62458 #define IOMUXC_LPSR_GPR_GPR21_APC_R3_ENCRYPT_ENABLE_SHIFT (4U)
62459 /*! APC_R3_ENCRYPT_ENABLE - APC memory region-3 encryption enable
62460  *  0b1..Encryption enabled
62461  *  0b0..No effect
62462  */
62463 #define IOMUXC_LPSR_GPR_GPR21_APC_R3_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR21_APC_R3_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR21_APC_R3_ENCRYPT_ENABLE_MASK)
62464 
62465 #define IOMUXC_LPSR_GPR_GPR21_LOCK_MASK          (0xFFFF0000U)
62466 #define IOMUXC_LPSR_GPR_GPR21_LOCK_SHIFT         (16U)
62467 /*! LOCK - Lock the write to bit 15:0
62468  */
62469 #define IOMUXC_LPSR_GPR_GPR21_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR21_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR21_LOCK_MASK)
62470 /*! @} */
62471 
62472 /*! @name GPR22 - GPR22 General Purpose Register */
62473 /*! @{ */
62474 
62475 #define IOMUXC_LPSR_GPR_GPR22_APC_R4_ENCRYPT_ENABLE_MASK (0x10U)
62476 #define IOMUXC_LPSR_GPR_GPR22_APC_R4_ENCRYPT_ENABLE_SHIFT (4U)
62477 /*! APC_R4_ENCRYPT_ENABLE - APC memory region-4 encryption enable
62478  *  0b1..Encryption enabled
62479  *  0b0..No effect
62480  */
62481 #define IOMUXC_LPSR_GPR_GPR22_APC_R4_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR22_APC_R4_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR22_APC_R4_ENCRYPT_ENABLE_MASK)
62482 
62483 #define IOMUXC_LPSR_GPR_GPR22_LOCK_MASK          (0xFFFF0000U)
62484 #define IOMUXC_LPSR_GPR_GPR22_LOCK_SHIFT         (16U)
62485 /*! LOCK - Lock the write to bit 15:0
62486  */
62487 #define IOMUXC_LPSR_GPR_GPR22_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR22_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR22_LOCK_MASK)
62488 /*! @} */
62489 
62490 /*! @name GPR23 - GPR23 General Purpose Register */
62491 /*! @{ */
62492 
62493 #define IOMUXC_LPSR_GPR_GPR23_APC_R5_ENCRYPT_ENABLE_MASK (0x10U)
62494 #define IOMUXC_LPSR_GPR_GPR23_APC_R5_ENCRYPT_ENABLE_SHIFT (4U)
62495 /*! APC_R5_ENCRYPT_ENABLE - APC memory region-5 encryption enable
62496  *  0b1..Encryption enabled
62497  *  0b0..No effect
62498  */
62499 #define IOMUXC_LPSR_GPR_GPR23_APC_R5_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR23_APC_R5_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR23_APC_R5_ENCRYPT_ENABLE_MASK)
62500 
62501 #define IOMUXC_LPSR_GPR_GPR23_LOCK_MASK          (0xFFFF0000U)
62502 #define IOMUXC_LPSR_GPR_GPR23_LOCK_SHIFT         (16U)
62503 /*! LOCK - Lock the write to bit 15:0
62504  */
62505 #define IOMUXC_LPSR_GPR_GPR23_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR23_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR23_LOCK_MASK)
62506 /*! @} */
62507 
62508 /*! @name GPR24 - GPR24 General Purpose Register */
62509 /*! @{ */
62510 
62511 #define IOMUXC_LPSR_GPR_GPR24_APC_R6_ENCRYPT_ENABLE_MASK (0x10U)
62512 #define IOMUXC_LPSR_GPR_GPR24_APC_R6_ENCRYPT_ENABLE_SHIFT (4U)
62513 /*! APC_R6_ENCRYPT_ENABLE - APC memory region-6 encryption enable
62514  *  0b1..Encryption enabled
62515  *  0b0..No effect
62516  */
62517 #define IOMUXC_LPSR_GPR_GPR24_APC_R6_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR24_APC_R6_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR24_APC_R6_ENCRYPT_ENABLE_MASK)
62518 
62519 #define IOMUXC_LPSR_GPR_GPR24_LOCK_MASK          (0xFFFF0000U)
62520 #define IOMUXC_LPSR_GPR_GPR24_LOCK_SHIFT         (16U)
62521 /*! LOCK - Lock the write to bit 15:0
62522  */
62523 #define IOMUXC_LPSR_GPR_GPR24_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR24_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR24_LOCK_MASK)
62524 /*! @} */
62525 
62526 /*! @name GPR25 - GPR25 General Purpose Register */
62527 /*! @{ */
62528 
62529 #define IOMUXC_LPSR_GPR_GPR25_APC_R7_ENCRYPT_ENABLE_MASK (0x10U)
62530 #define IOMUXC_LPSR_GPR_GPR25_APC_R7_ENCRYPT_ENABLE_SHIFT (4U)
62531 /*! APC_R7_ENCRYPT_ENABLE - APC memory region-7 encryption enable
62532  *  0b1..Encryption enabled
62533  *  0b0..No effect
62534  */
62535 #define IOMUXC_LPSR_GPR_GPR25_APC_R7_ENCRYPT_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR25_APC_R7_ENCRYPT_ENABLE_SHIFT)) & IOMUXC_LPSR_GPR_GPR25_APC_R7_ENCRYPT_ENABLE_MASK)
62536 
62537 #define IOMUXC_LPSR_GPR_GPR25_APC_VALID_MASK     (0x20U)
62538 #define IOMUXC_LPSR_GPR_GPR25_APC_VALID_SHIFT    (5U)
62539 /*! APC_VALID - APC global enable bit
62540  *  0b1..Enable encryption for GPRx[APC_x_ENCRYPT_ENABLE] (valid for GPR2-GPR25)
62541  *  0b0..No effect
62542  */
62543 #define IOMUXC_LPSR_GPR_GPR25_APC_VALID(x)       (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR25_APC_VALID_SHIFT)) & IOMUXC_LPSR_GPR_GPR25_APC_VALID_MASK)
62544 
62545 #define IOMUXC_LPSR_GPR_GPR25_LOCK_MASK          (0xFFFF0000U)
62546 #define IOMUXC_LPSR_GPR_GPR25_LOCK_SHIFT         (16U)
62547 /*! LOCK - Lock the write to bit 15:0
62548  */
62549 #define IOMUXC_LPSR_GPR_GPR25_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR25_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR25_LOCK_MASK)
62550 /*! @} */
62551 
62552 /*! @name GPR26 - GPR26 General Purpose Register */
62553 /*! @{ */
62554 
62555 #define IOMUXC_LPSR_GPR_GPR26_CM7_INIT_VTOR_MASK (0x1FFFFFFU)
62556 #define IOMUXC_LPSR_GPR_GPR26_CM7_INIT_VTOR_SHIFT (0U)
62557 /*! CM7_INIT_VTOR - Vector table offset register out of reset. See the ARM v7-M Architecture
62558  *    Reference Manual for more information about the vector table offset register (VTOR).
62559  */
62560 #define IOMUXC_LPSR_GPR_GPR26_CM7_INIT_VTOR(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR26_CM7_INIT_VTOR_SHIFT)) & IOMUXC_LPSR_GPR_GPR26_CM7_INIT_VTOR_MASK)
62561 
62562 #define IOMUXC_LPSR_GPR_GPR26_FIELD_0_MASK       (0xE000000U)
62563 #define IOMUXC_LPSR_GPR_GPR26_FIELD_0_SHIFT      (25U)
62564 /*! FIELD_0 - General purpose bits
62565  */
62566 #define IOMUXC_LPSR_GPR_GPR26_FIELD_0(x)         (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR26_FIELD_0_SHIFT)) & IOMUXC_LPSR_GPR_GPR26_FIELD_0_MASK)
62567 
62568 #define IOMUXC_LPSR_GPR_GPR26_DWP_MASK           (0x30000000U)
62569 #define IOMUXC_LPSR_GPR_GPR26_DWP_SHIFT          (28U)
62570 /*! DWP - Domain write protection
62571  *  0b00..Both cores are allowed
62572  *  0b01..CM7 is forbidden
62573  *  0b10..CM4 is forbidden
62574  *  0b11..Both cores are forbidden
62575  */
62576 #define IOMUXC_LPSR_GPR_GPR26_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR26_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR26_DWP_MASK)
62577 
62578 #define IOMUXC_LPSR_GPR_GPR26_DWP_LOCK_MASK      (0xC0000000U)
62579 #define IOMUXC_LPSR_GPR_GPR26_DWP_LOCK_SHIFT     (30U)
62580 /*! DWP_LOCK - Domain write protection lock
62581  *  0b00..Neither of DWP bits is locked
62582  *  0b01..The lower DWP bit is locked
62583  *  0b10..The higher DWP bit is locked
62584  *  0b11..Both DWP bits are locked
62585  */
62586 #define IOMUXC_LPSR_GPR_GPR26_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR26_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR26_DWP_LOCK_MASK)
62587 /*! @} */
62588 
62589 /*! @name GPR33 - GPR33 General Purpose Register */
62590 /*! @{ */
62591 
62592 #define IOMUXC_LPSR_GPR_GPR33_M4_NMI_CLEAR_MASK  (0x1U)
62593 #define IOMUXC_LPSR_GPR_GPR33_M4_NMI_CLEAR_SHIFT (0U)
62594 /*! M4_NMI_CLEAR - Clear CM4 NMI holding register
62595  */
62596 #define IOMUXC_LPSR_GPR_GPR33_M4_NMI_CLEAR(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR33_M4_NMI_CLEAR_SHIFT)) & IOMUXC_LPSR_GPR_GPR33_M4_NMI_CLEAR_MASK)
62597 
62598 #define IOMUXC_LPSR_GPR_GPR33_USBPHY1_WAKEUP_IRQ_CLEAR_MASK (0x100U)
62599 #define IOMUXC_LPSR_GPR_GPR33_USBPHY1_WAKEUP_IRQ_CLEAR_SHIFT (8U)
62600 /*! USBPHY1_WAKEUP_IRQ_CLEAR - Clear USBPHY1 wakeup interrupt holding register
62601  */
62602 #define IOMUXC_LPSR_GPR_GPR33_USBPHY1_WAKEUP_IRQ_CLEAR(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR33_USBPHY1_WAKEUP_IRQ_CLEAR_SHIFT)) & IOMUXC_LPSR_GPR_GPR33_USBPHY1_WAKEUP_IRQ_CLEAR_MASK)
62603 
62604 #define IOMUXC_LPSR_GPR_GPR33_USBPHY2_WAKEUP_IRQ_CLEAR_MASK (0x200U)
62605 #define IOMUXC_LPSR_GPR_GPR33_USBPHY2_WAKEUP_IRQ_CLEAR_SHIFT (9U)
62606 /*! USBPHY2_WAKEUP_IRQ_CLEAR - Clear USBPHY1 wakeup interrupt holding register
62607  */
62608 #define IOMUXC_LPSR_GPR_GPR33_USBPHY2_WAKEUP_IRQ_CLEAR(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR33_USBPHY2_WAKEUP_IRQ_CLEAR_SHIFT)) & IOMUXC_LPSR_GPR_GPR33_USBPHY2_WAKEUP_IRQ_CLEAR_MASK)
62609 
62610 #define IOMUXC_LPSR_GPR_GPR33_DWP_MASK           (0x30000000U)
62611 #define IOMUXC_LPSR_GPR_GPR33_DWP_SHIFT          (28U)
62612 /*! DWP - Domain write protection
62613  *  0b00..Both cores are allowed
62614  *  0b01..CM7 is forbidden
62615  *  0b10..CM4 is forbidden
62616  *  0b11..Both cores are forbidden
62617  */
62618 #define IOMUXC_LPSR_GPR_GPR33_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR33_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR33_DWP_MASK)
62619 
62620 #define IOMUXC_LPSR_GPR_GPR33_DWP_LOCK_MASK      (0xC0000000U)
62621 #define IOMUXC_LPSR_GPR_GPR33_DWP_LOCK_SHIFT     (30U)
62622 /*! DWP_LOCK - Domain write protection lock
62623  *  0b00..Neither of DWP bits is locked
62624  *  0b01..The lower DWP bit is locked
62625  *  0b10..The higher DWP bit is locked
62626  *  0b11..Both DWP bits are locked
62627  */
62628 #define IOMUXC_LPSR_GPR_GPR33_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR33_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR33_DWP_LOCK_MASK)
62629 /*! @} */
62630 
62631 /*! @name GPR34 - GPR34 General Purpose Register */
62632 /*! @{ */
62633 
62634 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_HIGH_RANGE_MASK (0x2U)
62635 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_HIGH_RANGE_SHIFT (1U)
62636 /*! GPIO_LPSR_HIGH_RANGE - GPIO_LPSR IO bank supply voltage range selection
62637  */
62638 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_HIGH_RANGE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_HIGH_RANGE_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_HIGH_RANGE_MASK)
62639 
62640 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_LOW_RANGE_MASK (0x4U)
62641 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_LOW_RANGE_SHIFT (2U)
62642 /*! GPIO_LPSR_LOW_RANGE - GPIO_LPSR IO bank supply voltage range selection
62643  */
62644 #define IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_LOW_RANGE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_LOW_RANGE_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_GPIO_LPSR_LOW_RANGE_MASK)
62645 
62646 #define IOMUXC_LPSR_GPR_GPR34_M7_NMI_MASK_MASK   (0x8U)
62647 #define IOMUXC_LPSR_GPR_GPR34_M7_NMI_MASK_SHIFT  (3U)
62648 /*! M7_NMI_MASK - Mask CM7 NMI pin input
62649  *  0b0..NMI input from IO to CM7 is not blocked
62650  *  0b1..NMI input from IO to CM7 is blocked
62651  */
62652 #define IOMUXC_LPSR_GPR_GPR34_M7_NMI_MASK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_M7_NMI_MASK_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_M7_NMI_MASK_MASK)
62653 
62654 #define IOMUXC_LPSR_GPR_GPR34_M4_NMI_MASK_MASK   (0x10U)
62655 #define IOMUXC_LPSR_GPR_GPR34_M4_NMI_MASK_SHIFT  (4U)
62656 /*! M4_NMI_MASK - Mask CM4 NMI pin input
62657  *  0b0..NMI input from IO to CM4 is not blocked
62658  *  0b1..NMI input from IO to CM4 is blocked
62659  */
62660 #define IOMUXC_LPSR_GPR_GPR34_M4_NMI_MASK(x)     (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_M4_NMI_MASK_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_M4_NMI_MASK_MASK)
62661 
62662 #define IOMUXC_LPSR_GPR_GPR34_M4_GPC_SLEEP_SEL_MASK (0x20U)
62663 #define IOMUXC_LPSR_GPR_GPR34_M4_GPC_SLEEP_SEL_SHIFT (5U)
62664 /*! M4_GPC_SLEEP_SEL - CM4 sleep request selection
62665  *  0b0..CM4 SLEEPDEEP is sent to GPC
62666  *  0b1..CM4 SLEEPING is sent to GPC
62667  */
62668 #define IOMUXC_LPSR_GPR_GPR34_M4_GPC_SLEEP_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_M4_GPC_SLEEP_SEL_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_M4_GPC_SLEEP_SEL_MASK)
62669 
62670 #define IOMUXC_LPSR_GPR_GPR34_SEC_ERR_RESP_MASK  (0x800U)
62671 #define IOMUXC_LPSR_GPR_GPR34_SEC_ERR_RESP_SHIFT (11U)
62672 /*! SEC_ERR_RESP - Security error response enable
62673  *  0b0..OKEY response
62674  *  0b1..SLVError (default)
62675  */
62676 #define IOMUXC_LPSR_GPR_GPR34_SEC_ERR_RESP(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_SEC_ERR_RESP_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_SEC_ERR_RESP_MASK)
62677 
62678 #define IOMUXC_LPSR_GPR_GPR34_DWP_MASK           (0x30000000U)
62679 #define IOMUXC_LPSR_GPR_GPR34_DWP_SHIFT          (28U)
62680 /*! DWP - Domain write protection
62681  *  0b00..Both cores are allowed
62682  *  0b01..CM7 is forbidden
62683  *  0b10..CM4 is forbidden
62684  *  0b11..Both cores are forbidden
62685  */
62686 #define IOMUXC_LPSR_GPR_GPR34_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_DWP_MASK)
62687 
62688 #define IOMUXC_LPSR_GPR_GPR34_DWP_LOCK_MASK      (0xC0000000U)
62689 #define IOMUXC_LPSR_GPR_GPR34_DWP_LOCK_SHIFT     (30U)
62690 /*! DWP_LOCK - Domain write protection lock
62691  *  0b00..Neither of DWP bits is locked
62692  *  0b01..The lower DWP bit is locked
62693  *  0b10..The higher DWP bit is locked
62694  *  0b11..Both DWP bits are locked
62695  */
62696 #define IOMUXC_LPSR_GPR_GPR34_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR34_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR34_DWP_LOCK_MASK)
62697 /*! @} */
62698 
62699 /*! @name GPR35 - GPR35 General Purpose Register */
62700 /*! @{ */
62701 
62702 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_DOZE_MASK (0x1U)
62703 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_DOZE_SHIFT (0U)
62704 /*! ADC1_IPG_DOZE - ADC1 doze mode
62705  *  0b0..Not in doze mode
62706  *  0b1..In doze mode
62707  */
62708 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_DOZE_MASK)
62709 
62710 #define IOMUXC_LPSR_GPR_GPR35_ADC1_STOP_REQ_MASK (0x2U)
62711 #define IOMUXC_LPSR_GPR_GPR35_ADC1_STOP_REQ_SHIFT (1U)
62712 /*! ADC1_STOP_REQ - ADC1 stop request
62713  *  0b0..Stop request off
62714  *  0b1..Stop request on
62715  */
62716 #define IOMUXC_LPSR_GPR_GPR35_ADC1_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC1_STOP_REQ_MASK)
62717 
62718 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_STOP_MODE_MASK (0x4U)
62719 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_STOP_MODE_SHIFT (2U)
62720 /*! ADC1_IPG_STOP_MODE - ADC1 stop mode selection. This bitfield cannot change when ADC1_STOP_REQ is asserted.
62721  *  0b0..This module is functional in Stop Mode
62722  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
62723  */
62724 #define IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC1_IPG_STOP_MODE_MASK)
62725 
62726 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_DOZE_MASK (0x8U)
62727 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_DOZE_SHIFT (3U)
62728 /*! ADC2_IPG_DOZE - ADC2 doze mode
62729  *  0b0..Not in doze mode
62730  *  0b1..In doze mode
62731  */
62732 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_DOZE_MASK)
62733 
62734 #define IOMUXC_LPSR_GPR_GPR35_ADC2_STOP_REQ_MASK (0x10U)
62735 #define IOMUXC_LPSR_GPR_GPR35_ADC2_STOP_REQ_SHIFT (4U)
62736 /*! ADC2_STOP_REQ - ADC2 stop request
62737  *  0b0..Stop request off
62738  *  0b1..Stop request on
62739  */
62740 #define IOMUXC_LPSR_GPR_GPR35_ADC2_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC2_STOP_REQ_MASK)
62741 
62742 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_STOP_MODE_MASK (0x20U)
62743 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_STOP_MODE_SHIFT (5U)
62744 /*! ADC2_IPG_STOP_MODE - ADC2 stop mode selection. This bitfield cannot change when ADC2_STOP_REQ is asserted.
62745  *  0b0..This module is functional in Stop Mode
62746  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
62747  */
62748 #define IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ADC2_IPG_STOP_MODE_MASK)
62749 
62750 #define IOMUXC_LPSR_GPR_GPR35_CAAM_IPG_DOZE_MASK (0x40U)
62751 #define IOMUXC_LPSR_GPR_GPR35_CAAM_IPG_DOZE_SHIFT (6U)
62752 /*! CAAM_IPG_DOZE - CAN3 doze mode
62753  *  0b0..Not in doze mode
62754  *  0b1..In doze mode
62755  */
62756 #define IOMUXC_LPSR_GPR_GPR35_CAAM_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAAM_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAAM_IPG_DOZE_MASK)
62757 
62758 #define IOMUXC_LPSR_GPR_GPR35_CAAM_STOP_REQ_MASK (0x80U)
62759 #define IOMUXC_LPSR_GPR_GPR35_CAAM_STOP_REQ_SHIFT (7U)
62760 /*! CAAM_STOP_REQ - CAAM stop request
62761  *  0b0..Stop request off
62762  *  0b1..Stop request on
62763  */
62764 #define IOMUXC_LPSR_GPR_GPR35_CAAM_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAAM_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAAM_STOP_REQ_MASK)
62765 
62766 #define IOMUXC_LPSR_GPR_GPR35_CAN1_IPG_DOZE_MASK (0x100U)
62767 #define IOMUXC_LPSR_GPR_GPR35_CAN1_IPG_DOZE_SHIFT (8U)
62768 /*! CAN1_IPG_DOZE - CAN1 doze mode
62769  *  0b0..Not in doze mode
62770  *  0b1..In doze mode
62771  */
62772 #define IOMUXC_LPSR_GPR_GPR35_CAN1_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN1_IPG_DOZE_MASK)
62773 
62774 #define IOMUXC_LPSR_GPR_GPR35_CAN1_STOP_REQ_MASK (0x200U)
62775 #define IOMUXC_LPSR_GPR_GPR35_CAN1_STOP_REQ_SHIFT (9U)
62776 /*! CAN1_STOP_REQ - CAN1 stop request
62777  *  0b0..Stop request off
62778  *  0b1..Stop request on
62779  */
62780 #define IOMUXC_LPSR_GPR_GPR35_CAN1_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN1_STOP_REQ_MASK)
62781 
62782 #define IOMUXC_LPSR_GPR_GPR35_CAN2_IPG_DOZE_MASK (0x400U)
62783 #define IOMUXC_LPSR_GPR_GPR35_CAN2_IPG_DOZE_SHIFT (10U)
62784 /*! CAN2_IPG_DOZE - CAN2 doze mode
62785  *  0b0..Not in doze mode
62786  *  0b1..In doze mode
62787  */
62788 #define IOMUXC_LPSR_GPR_GPR35_CAN2_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN2_IPG_DOZE_MASK)
62789 
62790 #define IOMUXC_LPSR_GPR_GPR35_CAN2_STOP_REQ_MASK (0x800U)
62791 #define IOMUXC_LPSR_GPR_GPR35_CAN2_STOP_REQ_SHIFT (11U)
62792 /*! CAN2_STOP_REQ - CAN2 stop request
62793  *  0b0..Stop request off
62794  *  0b1..Stop request on
62795  */
62796 #define IOMUXC_LPSR_GPR_GPR35_CAN2_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN2_STOP_REQ_MASK)
62797 
62798 #define IOMUXC_LPSR_GPR_GPR35_CAN3_IPG_DOZE_MASK (0x1000U)
62799 #define IOMUXC_LPSR_GPR_GPR35_CAN3_IPG_DOZE_SHIFT (12U)
62800 /*! CAN3_IPG_DOZE - CAN3 doze mode
62801  *  0b0..Not in doze mode
62802  *  0b1..In doze mode
62803  */
62804 #define IOMUXC_LPSR_GPR_GPR35_CAN3_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN3_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN3_IPG_DOZE_MASK)
62805 
62806 #define IOMUXC_LPSR_GPR_GPR35_CAN3_STOP_REQ_MASK (0x2000U)
62807 #define IOMUXC_LPSR_GPR_GPR35_CAN3_STOP_REQ_SHIFT (13U)
62808 /*! CAN3_STOP_REQ - CAN3 stop request
62809  *  0b0..Stop request off
62810  *  0b1..Stop request on
62811  */
62812 #define IOMUXC_LPSR_GPR_GPR35_CAN3_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_CAN3_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_CAN3_STOP_REQ_MASK)
62813 
62814 #define IOMUXC_LPSR_GPR_GPR35_EDMA_STOP_REQ_MASK (0x8000U)
62815 #define IOMUXC_LPSR_GPR_GPR35_EDMA_STOP_REQ_SHIFT (15U)
62816 /*! EDMA_STOP_REQ - EDMA stop request
62817  *  0b0..Stop request off
62818  *  0b1..Stop request on
62819  */
62820 #define IOMUXC_LPSR_GPR_GPR35_EDMA_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_EDMA_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_EDMA_STOP_REQ_MASK)
62821 
62822 #define IOMUXC_LPSR_GPR_GPR35_EDMA_LPSR_STOP_REQ_MASK (0x10000U)
62823 #define IOMUXC_LPSR_GPR_GPR35_EDMA_LPSR_STOP_REQ_SHIFT (16U)
62824 /*! EDMA_LPSR_STOP_REQ - EDMA_LPSR stop request
62825  *  0b0..Stop request off
62826  *  0b1..Stop request on
62827  */
62828 #define IOMUXC_LPSR_GPR_GPR35_EDMA_LPSR_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_EDMA_LPSR_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_EDMA_LPSR_STOP_REQ_MASK)
62829 
62830 #define IOMUXC_LPSR_GPR_GPR35_ENET_IPG_DOZE_MASK (0x20000U)
62831 #define IOMUXC_LPSR_GPR_GPR35_ENET_IPG_DOZE_SHIFT (17U)
62832 /*! ENET_IPG_DOZE - ENET doze mode
62833  *  0b0..Not in doze mode
62834  *  0b1..In doze mode
62835  */
62836 #define IOMUXC_LPSR_GPR_GPR35_ENET_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ENET_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ENET_IPG_DOZE_MASK)
62837 
62838 #define IOMUXC_LPSR_GPR_GPR35_ENET_STOP_REQ_MASK (0x40000U)
62839 #define IOMUXC_LPSR_GPR_GPR35_ENET_STOP_REQ_SHIFT (18U)
62840 /*! ENET_STOP_REQ - ENET stop request
62841  *  0b0..Stop request off
62842  *  0b1..Stop request on
62843  */
62844 #define IOMUXC_LPSR_GPR_GPR35_ENET_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ENET_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ENET_STOP_REQ_MASK)
62845 
62846 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_IPG_DOZE_MASK (0x80000U)
62847 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_IPG_DOZE_SHIFT (19U)
62848 /*! ENET1G_IPG_DOZE - ENET1G doze mode
62849  *  0b0..Not in doze mode
62850  *  0b1..In doze mode
62851  */
62852 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ENET1G_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ENET1G_IPG_DOZE_MASK)
62853 
62854 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_STOP_REQ_MASK (0x100000U)
62855 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_STOP_REQ_SHIFT (20U)
62856 /*! ENET1G_STOP_REQ - ENET1G stop request
62857  *  0b0..Stop request off
62858  *  0b1..Stop request on
62859  */
62860 #define IOMUXC_LPSR_GPR_GPR35_ENET1G_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_ENET1G_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_ENET1G_STOP_REQ_MASK)
62861 
62862 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO1_IPG_DOZE_MASK (0x200000U)
62863 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO1_IPG_DOZE_SHIFT (21U)
62864 /*! FLEXIO1_IPG_DOZE - FLEXIO2 doze mode
62865  *  0b0..Not in doze mode
62866  *  0b1..In doze mode
62867  */
62868 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO1_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXIO1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXIO1_IPG_DOZE_MASK)
62869 
62870 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO2_IPG_DOZE_MASK (0x400000U)
62871 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO2_IPG_DOZE_SHIFT (22U)
62872 /*! FLEXIO2_IPG_DOZE - FLEXIO2 doze mode
62873  *  0b0..Not in doze mode
62874  *  0b1..In doze mode
62875  */
62876 #define IOMUXC_LPSR_GPR_GPR35_FLEXIO2_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXIO2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXIO2_IPG_DOZE_MASK)
62877 
62878 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_IPG_DOZE_MASK (0x800000U)
62879 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_IPG_DOZE_SHIFT (23U)
62880 /*! FLEXSPI1_IPG_DOZE - FLEXSPI1 doze mode
62881  *  0b0..Not in doze mode
62882  *  0b1..In doze mode
62883  */
62884 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_IPG_DOZE_MASK)
62885 
62886 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_STOP_REQ_MASK (0x1000000U)
62887 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_STOP_REQ_SHIFT (24U)
62888 /*! FLEXSPI1_STOP_REQ - FLEXSPI1 stop request
62889  *  0b0..Stop request off
62890  *  0b1..Stop request on
62891  */
62892 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXSPI1_STOP_REQ_MASK)
62893 
62894 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_IPG_DOZE_MASK (0x2000000U)
62895 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_IPG_DOZE_SHIFT (25U)
62896 /*! FLEXSPI2_IPG_DOZE - FLEXSPI2 doze mode
62897  *  0b0..Not in doze mode
62898  *  0b1..In doze mode
62899  */
62900 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_IPG_DOZE_MASK)
62901 
62902 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_STOP_REQ_MASK (0x4000000U)
62903 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_STOP_REQ_SHIFT (26U)
62904 /*! FLEXSPI2_STOP_REQ - FLEXSPI2 stop request
62905  *  0b0..Stop request off
62906  *  0b1..Stop request on
62907  */
62908 #define IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_FLEXSPI2_STOP_REQ_MASK)
62909 
62910 #define IOMUXC_LPSR_GPR_GPR35_DWP_MASK           (0x30000000U)
62911 #define IOMUXC_LPSR_GPR_GPR35_DWP_SHIFT          (28U)
62912 /*! DWP - Domain write protection
62913  *  0b00..Both cores are allowed
62914  *  0b01..CM7 is forbidden
62915  *  0b10..CM4 is forbidden
62916  *  0b11..Both cores are forbidden
62917  */
62918 #define IOMUXC_LPSR_GPR_GPR35_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_DWP_MASK)
62919 
62920 #define IOMUXC_LPSR_GPR_GPR35_DWP_LOCK_MASK      (0xC0000000U)
62921 #define IOMUXC_LPSR_GPR_GPR35_DWP_LOCK_SHIFT     (30U)
62922 /*! DWP_LOCK - Domain write protection lock
62923  *  0b00..Neither of DWP bits is locked
62924  *  0b01..The lower DWP bit is locked
62925  *  0b10..The higher DWP bit is locked
62926  *  0b11..Both DWP bits are locked
62927  */
62928 #define IOMUXC_LPSR_GPR_GPR35_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR35_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR35_DWP_LOCK_MASK)
62929 /*! @} */
62930 
62931 /*! @name GPR36 - GPR36 General Purpose Register */
62932 /*! @{ */
62933 
62934 #define IOMUXC_LPSR_GPR_GPR36_GPT1_IPG_DOZE_MASK (0x1U)
62935 #define IOMUXC_LPSR_GPR_GPR36_GPT1_IPG_DOZE_SHIFT (0U)
62936 /*! GPT1_IPG_DOZE - GPT1 doze mode
62937  *  0b0..Not in doze mode
62938  *  0b1..In doze mode
62939  */
62940 #define IOMUXC_LPSR_GPR_GPR36_GPT1_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT1_IPG_DOZE_MASK)
62941 
62942 #define IOMUXC_LPSR_GPR_GPR36_GPT2_IPG_DOZE_MASK (0x2U)
62943 #define IOMUXC_LPSR_GPR_GPR36_GPT2_IPG_DOZE_SHIFT (1U)
62944 /*! GPT2_IPG_DOZE - GPT2 doze mode
62945  *  0b0..Not in doze mode
62946  *  0b1..In doze mode
62947  */
62948 #define IOMUXC_LPSR_GPR_GPR36_GPT2_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT2_IPG_DOZE_MASK)
62949 
62950 #define IOMUXC_LPSR_GPR_GPR36_GPT3_IPG_DOZE_MASK (0x4U)
62951 #define IOMUXC_LPSR_GPR_GPR36_GPT3_IPG_DOZE_SHIFT (2U)
62952 /*! GPT3_IPG_DOZE - GPT3 doze mode
62953  *  0b0..Not in doze mode
62954  *  0b1..In doze mode
62955  */
62956 #define IOMUXC_LPSR_GPR_GPR36_GPT3_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT3_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT3_IPG_DOZE_MASK)
62957 
62958 #define IOMUXC_LPSR_GPR_GPR36_GPT4_IPG_DOZE_MASK (0x8U)
62959 #define IOMUXC_LPSR_GPR_GPR36_GPT4_IPG_DOZE_SHIFT (3U)
62960 /*! GPT4_IPG_DOZE - GPT4 doze mode
62961  *  0b0..Not in doze mode
62962  *  0b1..In doze mode
62963  */
62964 #define IOMUXC_LPSR_GPR_GPR36_GPT4_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT4_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT4_IPG_DOZE_MASK)
62965 
62966 #define IOMUXC_LPSR_GPR_GPR36_GPT5_IPG_DOZE_MASK (0x10U)
62967 #define IOMUXC_LPSR_GPR_GPR36_GPT5_IPG_DOZE_SHIFT (4U)
62968 /*! GPT5_IPG_DOZE - GPT5 doze mode
62969  *  0b0..Not in doze mode
62970  *  0b1..In doze mode
62971  */
62972 #define IOMUXC_LPSR_GPR_GPR36_GPT5_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT5_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT5_IPG_DOZE_MASK)
62973 
62974 #define IOMUXC_LPSR_GPR_GPR36_GPT6_IPG_DOZE_MASK (0x20U)
62975 #define IOMUXC_LPSR_GPR_GPR36_GPT6_IPG_DOZE_SHIFT (5U)
62976 /*! GPT6_IPG_DOZE - GPT6 doze mode
62977  *  0b0..Not in doze mode
62978  *  0b1..In doze mode
62979  */
62980 #define IOMUXC_LPSR_GPR_GPR36_GPT6_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_GPT6_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_GPT6_IPG_DOZE_MASK)
62981 
62982 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_DOZE_MASK (0x40U)
62983 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_DOZE_SHIFT (6U)
62984 /*! LPI2C1_IPG_DOZE - LPI2C1 doze mode
62985  *  0b0..Not in doze mode
62986  *  0b1..In doze mode
62987  */
62988 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_DOZE_MASK)
62989 
62990 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_STOP_REQ_MASK (0x80U)
62991 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_STOP_REQ_SHIFT (7U)
62992 /*! LPI2C1_STOP_REQ - LPI2C1 stop request
62993  *  0b0..Stop request off
62994  *  0b1..Stop request on
62995  */
62996 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C1_STOP_REQ_MASK)
62997 
62998 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_STOP_MODE_MASK (0x100U)
62999 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_STOP_MODE_SHIFT (8U)
63000 /*! LPI2C1_IPG_STOP_MODE - LPI2C1 stop mode selection. This bitfield cannot change when LPI2C1_STOP_REQ is asserted.
63001  *  0b0..This module is functional in Stop Mode
63002  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63003  */
63004 #define IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C1_IPG_STOP_MODE_MASK)
63005 
63006 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_DOZE_MASK (0x200U)
63007 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_DOZE_SHIFT (9U)
63008 /*! LPI2C2_IPG_DOZE - LPI2C2 doze mode
63009  *  0b0..Not in doze mode
63010  *  0b1..In doze mode
63011  */
63012 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_DOZE_MASK)
63013 
63014 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_STOP_REQ_MASK (0x400U)
63015 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_STOP_REQ_SHIFT (10U)
63016 /*! LPI2C2_STOP_REQ - LPI2C2 stop request
63017  *  0b0..Stop request off
63018  *  0b1..Stop request on
63019  */
63020 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C2_STOP_REQ_MASK)
63021 
63022 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_STOP_MODE_MASK (0x800U)
63023 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_STOP_MODE_SHIFT (11U)
63024 /*! LPI2C2_IPG_STOP_MODE - LPI2C2 stop mode selection. This bitfield cannot change when LPI2C2_STOP_REQ is asserted.
63025  *  0b0..This module is functional in Stop Mode
63026  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63027  */
63028 #define IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C2_IPG_STOP_MODE_MASK)
63029 
63030 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_DOZE_MASK (0x1000U)
63031 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_DOZE_SHIFT (12U)
63032 /*! LPI2C3_IPG_DOZE - LPI2C3 doze mode
63033  *  0b0..Not in doze mode
63034  *  0b1..In doze mode
63035  */
63036 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_DOZE_MASK)
63037 
63038 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_STOP_REQ_MASK (0x2000U)
63039 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_STOP_REQ_SHIFT (13U)
63040 /*! LPI2C3_STOP_REQ - LPI2C3 stop request
63041  *  0b0..Stop request off
63042  *  0b1..Stop request on
63043  */
63044 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C3_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C3_STOP_REQ_MASK)
63045 
63046 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_STOP_MODE_MASK (0x4000U)
63047 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_STOP_MODE_SHIFT (14U)
63048 /*! LPI2C3_IPG_STOP_MODE - LPI2C3 stop mode selection. This bitfield cannot change when LPI2C3_STOP_REQ is asserted.
63049  *  0b0..This module is functional in Stop Mode
63050  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63051  */
63052 #define IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C3_IPG_STOP_MODE_MASK)
63053 
63054 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_DOZE_MASK (0x8000U)
63055 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_DOZE_SHIFT (15U)
63056 /*! LPI2C4_IPG_DOZE - LPI2C4 doze mode
63057  *  0b0..Not in doze mode
63058  *  0b1..In doze mode
63059  */
63060 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_DOZE_MASK)
63061 
63062 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_STOP_REQ_MASK (0x10000U)
63063 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_STOP_REQ_SHIFT (16U)
63064 /*! LPI2C4_STOP_REQ - LPI2C4 stop request
63065  *  0b0..Stop request off
63066  *  0b1..Stop request on
63067  */
63068 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C4_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C4_STOP_REQ_MASK)
63069 
63070 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_STOP_MODE_MASK (0x20000U)
63071 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_STOP_MODE_SHIFT (17U)
63072 /*! LPI2C4_IPG_STOP_MODE - LPI2C4 stop mode selection. This bitfield cannot change when LPI2C4_STOP_REQ is asserted.
63073  *  0b0..This module is functional in Stop Mode
63074  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63075  */
63076 #define IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C4_IPG_STOP_MODE_MASK)
63077 
63078 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_DOZE_MASK (0x40000U)
63079 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_DOZE_SHIFT (18U)
63080 /*! LPI2C5_IPG_DOZE - LPI2C5 doze mode
63081  *  0b0..Not in doze mode
63082  *  0b1..In doze mode
63083  */
63084 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_DOZE_MASK)
63085 
63086 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_STOP_REQ_MASK (0x80000U)
63087 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_STOP_REQ_SHIFT (19U)
63088 /*! LPI2C5_STOP_REQ - LPI2C5 stop request
63089  *  0b0..Stop request off
63090  *  0b1..Stop request on
63091  */
63092 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C5_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C5_STOP_REQ_MASK)
63093 
63094 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_STOP_MODE_MASK (0x100000U)
63095 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_STOP_MODE_SHIFT (20U)
63096 /*! LPI2C5_IPG_STOP_MODE - LPI2C5 stop mode selection. This bitfield cannot change when LPI2C5_STOP_REQ is asserted.
63097  *  0b0..This module is functional in Stop Mode
63098  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63099  */
63100 #define IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C5_IPG_STOP_MODE_MASK)
63101 
63102 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_DOZE_MASK (0x200000U)
63103 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_DOZE_SHIFT (21U)
63104 /*! LPI2C6_IPG_DOZE - LPI2C6 doze mode
63105  *  0b0..Not in doze mode
63106  *  0b1..In doze mode
63107  */
63108 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_DOZE_MASK)
63109 
63110 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_STOP_REQ_MASK (0x400000U)
63111 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_STOP_REQ_SHIFT (22U)
63112 /*! LPI2C6_STOP_REQ - LPI2C6 stop request
63113  *  0b0..Stop request off
63114  *  0b1..Stop request on
63115  */
63116 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C6_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C6_STOP_REQ_MASK)
63117 
63118 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_STOP_MODE_MASK (0x800000U)
63119 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_STOP_MODE_SHIFT (23U)
63120 /*! LPI2C6_IPG_STOP_MODE - LPI2C6 stop mode selection. This bitfield cannot change when LPI2C6_STOP_REQ is asserted.
63121  *  0b0..This module is functional in Stop Mode
63122  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63123  */
63124 #define IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPI2C6_IPG_STOP_MODE_MASK)
63125 
63126 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_DOZE_MASK (0x1000000U)
63127 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_DOZE_SHIFT (24U)
63128 /*! LPSPI1_IPG_DOZE - LPSPI1 doze mode
63129  *  0b0..Not in doze mode
63130  *  0b1..In doze mode
63131  */
63132 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_DOZE_MASK)
63133 
63134 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_STOP_REQ_MASK (0x2000000U)
63135 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_STOP_REQ_SHIFT (25U)
63136 /*! LPSPI1_STOP_REQ - LPSPI1 stop request
63137  *  0b0..Stop request off
63138  *  0b1..Stop request on
63139  */
63140 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPSPI1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPSPI1_STOP_REQ_MASK)
63141 
63142 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_STOP_MODE_MASK (0x4000000U)
63143 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_STOP_MODE_SHIFT (26U)
63144 /*! LPSPI1_IPG_STOP_MODE - LPSPI1 stop mode selection. This bitfield cannot change when LPSPI1_STOP_REQ is asserted.
63145  *  0b0..This module is functional in Stop Mode
63146  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63147  */
63148 #define IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_LPSPI1_IPG_STOP_MODE_MASK)
63149 
63150 #define IOMUXC_LPSR_GPR_GPR36_DWP_MASK           (0x30000000U)
63151 #define IOMUXC_LPSR_GPR_GPR36_DWP_SHIFT          (28U)
63152 /*! DWP - Domain write protection
63153  *  0b00..Both cores are allowed
63154  *  0b01..CM7 is forbidden
63155  *  0b10..CM4 is forbidden
63156  *  0b11..Both cores are forbidden
63157  */
63158 #define IOMUXC_LPSR_GPR_GPR36_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_DWP_MASK)
63159 
63160 #define IOMUXC_LPSR_GPR_GPR36_DWP_LOCK_MASK      (0xC0000000U)
63161 #define IOMUXC_LPSR_GPR_GPR36_DWP_LOCK_SHIFT     (30U)
63162 /*! DWP_LOCK - Domain write protection lock
63163  *  0b00..Neither of DWP bits is locked
63164  *  0b01..The lower DWP bit is locked
63165  *  0b10..The higher DWP bit is locked
63166  *  0b11..Both DWP bits are locked
63167  */
63168 #define IOMUXC_LPSR_GPR_GPR36_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR36_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR36_DWP_LOCK_MASK)
63169 /*! @} */
63170 
63171 /*! @name GPR37 - GPR37 General Purpose Register */
63172 /*! @{ */
63173 
63174 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_DOZE_MASK (0x1U)
63175 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_DOZE_SHIFT (0U)
63176 /*! LPSPI2_IPG_DOZE - LPSPI2 doze mode
63177  *  0b0..Not in doze mode
63178  *  0b1..In doze mode
63179  */
63180 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_DOZE_MASK)
63181 
63182 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_STOP_REQ_MASK (0x2U)
63183 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_STOP_REQ_SHIFT (1U)
63184 /*! LPSPI2_STOP_REQ - LPSPI2 stop request
63185  *  0b0..Stop request off
63186  *  0b1..Stop request on
63187  */
63188 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI2_STOP_REQ_MASK)
63189 
63190 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_STOP_MODE_MASK (0x4U)
63191 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_STOP_MODE_SHIFT (2U)
63192 /*! LPSPI2_IPG_STOP_MODE - LPSPI2 stop mode selection. This bitfield cannot change when LPSPI2_STOP_REQ is asserted.
63193  *  0b0..This module is functional in Stop Mode
63194  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63195  */
63196 #define IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI2_IPG_STOP_MODE_MASK)
63197 
63198 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_DOZE_MASK (0x8U)
63199 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_DOZE_SHIFT (3U)
63200 /*! LPSPI3_IPG_DOZE - LPSPI3 doze mode
63201  *  0b0..Not in doze mode
63202  *  0b1..In doze mode
63203  */
63204 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_DOZE_MASK)
63205 
63206 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_STOP_REQ_MASK (0x10U)
63207 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_STOP_REQ_SHIFT (4U)
63208 /*! LPSPI3_STOP_REQ - LPSPI3 stop request
63209  *  0b0..Stop request off
63210  *  0b1..Stop request on
63211  */
63212 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI3_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI3_STOP_REQ_MASK)
63213 
63214 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_STOP_MODE_MASK (0x20U)
63215 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_STOP_MODE_SHIFT (5U)
63216 /*! LPSPI3_IPG_STOP_MODE - LPSPI3 stop mode selection. This bitfield cannot change when LPSPI3_STOP_REQ is asserted.
63217  *  0b0..This module is functional in Stop Mode
63218  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63219  */
63220 #define IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI3_IPG_STOP_MODE_MASK)
63221 
63222 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_DOZE_MASK (0x40U)
63223 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_DOZE_SHIFT (6U)
63224 /*! LPSPI4_IPG_DOZE - LPSPI4 doze mode
63225  *  0b0..Not in doze mode
63226  *  0b1..In doze mode
63227  */
63228 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_DOZE_MASK)
63229 
63230 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_STOP_REQ_MASK (0x80U)
63231 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_STOP_REQ_SHIFT (7U)
63232 /*! LPSPI4_STOP_REQ - LPSPI4 stop request
63233  *  0b0..Stop request off
63234  *  0b1..Stop request on
63235  */
63236 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI4_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI4_STOP_REQ_MASK)
63237 
63238 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_STOP_MODE_MASK (0x100U)
63239 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_STOP_MODE_SHIFT (8U)
63240 /*! LPSPI4_IPG_STOP_MODE - LPSPI4 stop mode selection. This bitfield cannot change when LPSPI4_STOP_REQ is asserted.
63241  *  0b0..This module is functional in Stop Mode
63242  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63243  */
63244 #define IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI4_IPG_STOP_MODE_MASK)
63245 
63246 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_DOZE_MASK (0x200U)
63247 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_DOZE_SHIFT (9U)
63248 /*! LPSPI5_IPG_DOZE - LPSPI5 doze mode
63249  *  0b0..Not in doze mode
63250  *  0b1..In doze mode
63251  */
63252 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_DOZE_MASK)
63253 
63254 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_STOP_REQ_MASK (0x400U)
63255 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_STOP_REQ_SHIFT (10U)
63256 /*! LPSPI5_STOP_REQ - LPSPI5 stop request
63257  *  0b0..Stop request off
63258  *  0b1..Stop request on
63259  */
63260 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI5_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI5_STOP_REQ_MASK)
63261 
63262 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_STOP_MODE_MASK (0x800U)
63263 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_STOP_MODE_SHIFT (11U)
63264 /*! LPSPI5_IPG_STOP_MODE - LPSPI5 stop mode selection. This bitfield cannot change when LPSPI5_STOP_REQ is asserted.
63265  *  0b0..This module is functional in Stop Mode
63266  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63267  */
63268 #define IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI5_IPG_STOP_MODE_MASK)
63269 
63270 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_DOZE_MASK (0x1000U)
63271 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_DOZE_SHIFT (12U)
63272 /*! LPSPI6_IPG_DOZE - LPSPI6 doze mode
63273  *  0b0..Not in doze mode
63274  *  0b1..In doze mode
63275  */
63276 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_DOZE_MASK)
63277 
63278 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_STOP_REQ_MASK (0x2000U)
63279 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_STOP_REQ_SHIFT (13U)
63280 /*! LPSPI6_STOP_REQ - LPSPI6 stop request
63281  *  0b0..Stop request off
63282  *  0b1..Stop request on
63283  */
63284 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI6_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI6_STOP_REQ_MASK)
63285 
63286 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_STOP_MODE_MASK (0x4000U)
63287 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_STOP_MODE_SHIFT (14U)
63288 /*! LPSPI6_IPG_STOP_MODE - LPSPI6 stop mode selection. This bitfield cannot change when LPSPI6_STOP_REQ is asserted.
63289  *  0b0..This module is functional in Stop Mode
63290  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63291  */
63292 #define IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPSPI6_IPG_STOP_MODE_MASK)
63293 
63294 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_DOZE_MASK (0x8000U)
63295 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_DOZE_SHIFT (15U)
63296 /*! LPUART1_IPG_DOZE - LPUART1 doze mode
63297  *  0b0..Not in doze mode
63298  *  0b1..In doze mode
63299  */
63300 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_DOZE_MASK)
63301 
63302 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_STOP_REQ_MASK (0x10000U)
63303 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_STOP_REQ_SHIFT (16U)
63304 /*! LPUART1_STOP_REQ - LPUART1 stop request
63305  *  0b0..Stop request off
63306  *  0b1..Stop request on
63307  */
63308 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART1_STOP_REQ_MASK)
63309 
63310 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_STOP_MODE_MASK (0x20000U)
63311 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_STOP_MODE_SHIFT (17U)
63312 /*! LPUART1_IPG_STOP_MODE - LPUART1 stop mode selection. This bitfield cannot change when LPUART1_STOP_REQ is asserted.
63313  *  0b0..This module is functional in Stop Mode
63314  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63315  */
63316 #define IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART1_IPG_STOP_MODE_MASK)
63317 
63318 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_DOZE_MASK (0x40000U)
63319 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_DOZE_SHIFT (18U)
63320 /*! LPUART2_IPG_DOZE - LPUART2 doze mode
63321  *  0b0..Not in doze mode
63322  *  0b1..In doze mode
63323  */
63324 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_DOZE_MASK)
63325 
63326 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_STOP_REQ_MASK (0x80000U)
63327 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_STOP_REQ_SHIFT (19U)
63328 /*! LPUART2_STOP_REQ - LPUART2 stop request
63329  *  0b0..Stop request off
63330  *  0b1..Stop request on
63331  */
63332 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART2_STOP_REQ_MASK)
63333 
63334 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_STOP_MODE_MASK (0x100000U)
63335 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_STOP_MODE_SHIFT (20U)
63336 /*! LPUART2_IPG_STOP_MODE - LPUART2 stop mode selection. This bitfield cannot change when LPUART2_STOP_REQ is asserted.
63337  *  0b0..This module is functional in Stop Mode
63338  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63339  */
63340 #define IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART2_IPG_STOP_MODE_MASK)
63341 
63342 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_DOZE_MASK (0x200000U)
63343 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_DOZE_SHIFT (21U)
63344 /*! LPUART3_IPG_DOZE - LPUART3 doze mode
63345  *  0b0..Not in doze mode
63346  *  0b1..In doze mode
63347  */
63348 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_DOZE_MASK)
63349 
63350 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_STOP_REQ_MASK (0x400000U)
63351 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_STOP_REQ_SHIFT (22U)
63352 /*! LPUART3_STOP_REQ - LPUART3 stop request
63353  *  0b0..Stop request off
63354  *  0b1..Stop request on
63355  */
63356 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART3_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART3_STOP_REQ_MASK)
63357 
63358 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_STOP_MODE_MASK (0x800000U)
63359 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_STOP_MODE_SHIFT (23U)
63360 /*! LPUART3_IPG_STOP_MODE - LPUART3 stop mode selection. This bitfield cannot change when LPUART3_STOP_REQ is asserted.
63361  *  0b0..This module is functional in Stop Mode
63362  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63363  */
63364 #define IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART3_IPG_STOP_MODE_MASK)
63365 
63366 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_DOZE_MASK (0x1000000U)
63367 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_DOZE_SHIFT (24U)
63368 /*! LPUART4_IPG_DOZE - LPUART4 doze mode
63369  *  0b0..Not in doze mode
63370  *  0b1..In doze mode
63371  */
63372 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_DOZE_MASK)
63373 
63374 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_STOP_REQ_MASK (0x2000000U)
63375 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_STOP_REQ_SHIFT (25U)
63376 /*! LPUART4_STOP_REQ - LPUART4 stop request
63377  *  0b0..Stop request off
63378  *  0b1..Stop request on
63379  */
63380 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART4_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART4_STOP_REQ_MASK)
63381 
63382 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_STOP_MODE_MASK (0x4000000U)
63383 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_STOP_MODE_SHIFT (26U)
63384 /*! LPUART4_IPG_STOP_MODE - LPUART4 stop mode selection. This bitfield cannot change when LPUART4_STOP_REQ is asserted.
63385  *  0b0..This module is functional in Stop Mode
63386  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63387  */
63388 #define IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_LPUART4_IPG_STOP_MODE_MASK)
63389 
63390 #define IOMUXC_LPSR_GPR_GPR37_DWP_MASK           (0x30000000U)
63391 #define IOMUXC_LPSR_GPR_GPR37_DWP_SHIFT          (28U)
63392 /*! DWP - Domain write protection
63393  *  0b00..Both cores are allowed
63394  *  0b01..CM7 is forbidden
63395  *  0b10..CM4 is forbidden
63396  *  0b11..Both cores are forbidden
63397  */
63398 #define IOMUXC_LPSR_GPR_GPR37_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_DWP_MASK)
63399 
63400 #define IOMUXC_LPSR_GPR_GPR37_DWP_LOCK_MASK      (0xC0000000U)
63401 #define IOMUXC_LPSR_GPR_GPR37_DWP_LOCK_SHIFT     (30U)
63402 /*! DWP_LOCK - Domain write protection lock
63403  *  0b00..Neither of DWP bits is locked
63404  *  0b01..The lower DWP bit is locked
63405  *  0b10..The higher DWP bit is locked
63406  *  0b11..Both DWP bits are locked
63407  */
63408 #define IOMUXC_LPSR_GPR_GPR37_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR37_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR37_DWP_LOCK_MASK)
63409 /*! @} */
63410 
63411 /*! @name GPR38 - GPR38 General Purpose Register */
63412 /*! @{ */
63413 
63414 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_DOZE_MASK (0x1U)
63415 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_DOZE_SHIFT (0U)
63416 /*! LPUART5_IPG_DOZE - LPUART5 doze mode
63417  *  0b0..Not in doze mode
63418  *  0b1..In doze mode
63419  */
63420 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_DOZE_MASK)
63421 
63422 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_STOP_REQ_MASK (0x2U)
63423 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_STOP_REQ_SHIFT (1U)
63424 /*! LPUART5_STOP_REQ - LPUART5 stop request
63425  *  0b0..Stop request off
63426  *  0b1..Stop request on
63427  */
63428 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART5_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART5_STOP_REQ_MASK)
63429 
63430 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_STOP_MODE_MASK (0x4U)
63431 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_STOP_MODE_SHIFT (2U)
63432 /*! LPUART5_IPG_STOP_MODE - LPUART5 stop mode selection. This bitfield cannot change when LPUART5_STOP_REQ is asserted.
63433  *  0b0..This module is functional in Stop Mode
63434  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63435  */
63436 #define IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART5_IPG_STOP_MODE_MASK)
63437 
63438 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_DOZE_MASK (0x8U)
63439 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_DOZE_SHIFT (3U)
63440 /*! LPUART6_IPG_DOZE - LPUART6 doze mode
63441  *  0b0..Not in doze mode
63442  *  0b1..In doze mode
63443  */
63444 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_DOZE_MASK)
63445 
63446 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_STOP_REQ_MASK (0x10U)
63447 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_STOP_REQ_SHIFT (4U)
63448 /*! LPUART6_STOP_REQ - LPUART6 stop request
63449  *  0b0..Stop request off
63450  *  0b1..Stop request on
63451  */
63452 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART6_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART6_STOP_REQ_MASK)
63453 
63454 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_STOP_MODE_MASK (0x20U)
63455 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_STOP_MODE_SHIFT (5U)
63456 /*! LPUART6_IPG_STOP_MODE - LPUART6 stop mode selection. This bitfield cannot change when LPUART6_STOP_REQ is asserted.
63457  *  0b0..This module is functional in Stop Mode
63458  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63459  */
63460 #define IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART6_IPG_STOP_MODE_MASK)
63461 
63462 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_DOZE_MASK (0x40U)
63463 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_DOZE_SHIFT (6U)
63464 /*! LPUART7_IPG_DOZE - LPUART7 doze mode
63465  *  0b0..Not in doze mode
63466  *  0b1..In doze mode
63467  */
63468 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_DOZE_MASK)
63469 
63470 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_STOP_REQ_MASK (0x80U)
63471 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_STOP_REQ_SHIFT (7U)
63472 /*! LPUART7_STOP_REQ - LPUART7 stop request
63473  *  0b0..Stop request off
63474  *  0b1..Stop request on
63475  */
63476 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART7_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART7_STOP_REQ_MASK)
63477 
63478 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_STOP_MODE_MASK (0x100U)
63479 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_STOP_MODE_SHIFT (8U)
63480 /*! LPUART7_IPG_STOP_MODE - LPUART7 stop mode selection. This bitfield cannot change when LPUART7_STOP_REQ is asserted.
63481  *  0b0..This module is functional in Stop Mode
63482  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63483  */
63484 #define IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART7_IPG_STOP_MODE_MASK)
63485 
63486 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_DOZE_MASK (0x200U)
63487 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_DOZE_SHIFT (9U)
63488 /*! LPUART8_IPG_DOZE - LPUART8 doze mode
63489  *  0b0..Not in doze mode
63490  *  0b1..In doze mode
63491  */
63492 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_DOZE_MASK)
63493 
63494 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_STOP_REQ_MASK (0x400U)
63495 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_STOP_REQ_SHIFT (10U)
63496 /*! LPUART8_STOP_REQ - LPUART8 stop request
63497  *  0b0..Stop request off
63498  *  0b1..Stop request on
63499  */
63500 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART8_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART8_STOP_REQ_MASK)
63501 
63502 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_STOP_MODE_MASK (0x800U)
63503 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_STOP_MODE_SHIFT (11U)
63504 /*! LPUART8_IPG_STOP_MODE - LPUART8 stop mode selection. This bitfield cannot change when LPUART8_STOP_REQ is asserted.
63505  *  0b0..This module is functional in Stop Mode
63506  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63507  */
63508 #define IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART8_IPG_STOP_MODE_MASK)
63509 
63510 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_DOZE_MASK (0x1000U)
63511 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_DOZE_SHIFT (12U)
63512 /*! LPUART9_IPG_DOZE - LPUART9 doze mode
63513  *  0b0..Not in doze mode
63514  *  0b1..In doze mode
63515  */
63516 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_DOZE_MASK)
63517 
63518 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_STOP_REQ_MASK (0x2000U)
63519 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_STOP_REQ_SHIFT (13U)
63520 /*! LPUART9_STOP_REQ - LPUART9 stop request
63521  *  0b0..Stop request off
63522  *  0b1..Stop request on
63523  */
63524 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART9_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART9_STOP_REQ_MASK)
63525 
63526 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_STOP_MODE_MASK (0x4000U)
63527 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_STOP_MODE_SHIFT (14U)
63528 /*! LPUART9_IPG_STOP_MODE - LPUART9 stop mode selection. This bitfield cannot change when LPUART9_STOP_REQ is asserted.
63529  *  0b0..This module is functional in Stop Mode
63530  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63531  */
63532 #define IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART9_IPG_STOP_MODE_MASK)
63533 
63534 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_DOZE_MASK (0x8000U)
63535 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_DOZE_SHIFT (15U)
63536 /*! LPUART10_IPG_DOZE - LPUART10 doze mode
63537  *  0b0..Not in doze mode
63538  *  0b1..In doze mode
63539  */
63540 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_DOZE_MASK)
63541 
63542 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_STOP_REQ_MASK (0x10000U)
63543 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_STOP_REQ_SHIFT (16U)
63544 /*! LPUART10_STOP_REQ - LPUART10 stop request
63545  *  0b0..Stop request off
63546  *  0b1..Stop request on
63547  */
63548 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART10_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART10_STOP_REQ_MASK)
63549 
63550 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_STOP_MODE_MASK (0x20000U)
63551 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_STOP_MODE_SHIFT (17U)
63552 /*! LPUART10_IPG_STOP_MODE - LPUART10 stop mode selection. This bitfield cannot change when LPUART10_STOP_REQ is asserted.
63553  *  0b0..This module is functional in Stop Mode
63554  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63555  */
63556 #define IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART10_IPG_STOP_MODE_MASK)
63557 
63558 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_DOZE_MASK (0x40000U)
63559 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_DOZE_SHIFT (18U)
63560 /*! LPUART11_IPG_DOZE - LPUART11 doze mode
63561  *  0b0..Not in doze mode
63562  *  0b1..In doze mode
63563  */
63564 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_DOZE_MASK)
63565 
63566 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_STOP_REQ_MASK (0x80000U)
63567 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_STOP_REQ_SHIFT (19U)
63568 /*! LPUART11_STOP_REQ - LPUART11 stop request
63569  *  0b0..Stop request off
63570  *  0b1..Stop request on
63571  */
63572 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART11_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART11_STOP_REQ_MASK)
63573 
63574 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_STOP_MODE_MASK (0x100000U)
63575 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_STOP_MODE_SHIFT (20U)
63576 /*! LPUART11_IPG_STOP_MODE - LPUART11 stop mode selection. This bitfield cannot change when LPUART11_STOP_REQ is asserted.
63577  *  0b0..This module is functional in Stop Mode
63578  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63579  */
63580 #define IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART11_IPG_STOP_MODE_MASK)
63581 
63582 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_DOZE_MASK (0x200000U)
63583 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_DOZE_SHIFT (21U)
63584 /*! LPUART12_IPG_DOZE - LPUART12 doze mode
63585  *  0b0..Not in doze mode
63586  *  0b1..In doze mode
63587  */
63588 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_DOZE_MASK)
63589 
63590 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_STOP_REQ_MASK (0x400000U)
63591 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_STOP_REQ_SHIFT (22U)
63592 /*! LPUART12_STOP_REQ - LPUART12 stop request
63593  *  0b0..Stop request off
63594  *  0b1..Stop request on
63595  */
63596 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART12_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART12_STOP_REQ_MASK)
63597 
63598 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_STOP_MODE_MASK (0x800000U)
63599 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_STOP_MODE_SHIFT (23U)
63600 /*! LPUART12_IPG_STOP_MODE - LPUART12 stop mode selection. This bitfield cannot change when LPUART12_STOP_REQ is asserted.
63601  *  0b0..This module is functional in Stop Mode
63602  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63603  */
63604 #define IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_LPUART12_IPG_STOP_MODE_MASK)
63605 
63606 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_DOZE_MASK  (0x1000000U)
63607 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_DOZE_SHIFT (24U)
63608 /*! MIC_IPG_DOZE - MIC doze mode
63609  *  0b0..Not in doze mode
63610  *  0b1..In doze mode
63611  */
63612 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_DOZE(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_MIC_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_MIC_IPG_DOZE_MASK)
63613 
63614 #define IOMUXC_LPSR_GPR_GPR38_MIC_STOP_REQ_MASK  (0x2000000U)
63615 #define IOMUXC_LPSR_GPR_GPR38_MIC_STOP_REQ_SHIFT (25U)
63616 /*! MIC_STOP_REQ - MIC stop request
63617  *  0b0..Stop request off
63618  *  0b1..Stop request on
63619  */
63620 #define IOMUXC_LPSR_GPR_GPR38_MIC_STOP_REQ(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_MIC_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_MIC_STOP_REQ_MASK)
63621 
63622 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_STOP_MODE_MASK (0x4000000U)
63623 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_STOP_MODE_SHIFT (26U)
63624 /*! MIC_IPG_STOP_MODE - MIC stop mode selection. This bitfield cannot change when MIC_STOP_REQ is asserted.
63625  *  0b0..This module is functional in Stop Mode
63626  *  0b1..This module is not functional in Stop Mode and the corresponding x_STOP_REQ field is set to '1'.
63627  */
63628 #define IOMUXC_LPSR_GPR_GPR38_MIC_IPG_STOP_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_MIC_IPG_STOP_MODE_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_MIC_IPG_STOP_MODE_MASK)
63629 
63630 #define IOMUXC_LPSR_GPR_GPR38_DWP_MASK           (0x30000000U)
63631 #define IOMUXC_LPSR_GPR_GPR38_DWP_SHIFT          (28U)
63632 /*! DWP - Domain write protection
63633  *  0b00..Both cores are allowed
63634  *  0b01..CM7 is forbidden
63635  *  0b10..CM4 is forbidden
63636  *  0b11..Both cores are forbidden
63637  */
63638 #define IOMUXC_LPSR_GPR_GPR38_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_DWP_MASK)
63639 
63640 #define IOMUXC_LPSR_GPR_GPR38_DWP_LOCK_MASK      (0xC0000000U)
63641 #define IOMUXC_LPSR_GPR_GPR38_DWP_LOCK_SHIFT     (30U)
63642 /*! DWP_LOCK - Domain write protection lock
63643  *  0b00..Neither of DWP bits is locked
63644  *  0b01..The lower DWP bit is locked
63645  *  0b10..The higher DWP bit is locked
63646  *  0b11..Both DWP bits are locked
63647  */
63648 #define IOMUXC_LPSR_GPR_GPR38_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR38_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR38_DWP_LOCK_MASK)
63649 /*! @} */
63650 
63651 /*! @name GPR39 - GPR39 General Purpose Register */
63652 /*! @{ */
63653 
63654 #define IOMUXC_LPSR_GPR_GPR39_PIT1_STOP_REQ_MASK (0x2U)
63655 #define IOMUXC_LPSR_GPR_GPR39_PIT1_STOP_REQ_SHIFT (1U)
63656 /*! PIT1_STOP_REQ - PIT1 stop request
63657  *  0b0..Stop request off
63658  *  0b1..Stop request on
63659  */
63660 #define IOMUXC_LPSR_GPR_GPR39_PIT1_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_PIT1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_PIT1_STOP_REQ_MASK)
63661 
63662 #define IOMUXC_LPSR_GPR_GPR39_PIT2_STOP_REQ_MASK (0x4U)
63663 #define IOMUXC_LPSR_GPR_GPR39_PIT2_STOP_REQ_SHIFT (2U)
63664 /*! PIT2_STOP_REQ - PIT2 stop request
63665  *  0b0..Stop request off
63666  *  0b1..Stop request on
63667  */
63668 #define IOMUXC_LPSR_GPR_GPR39_PIT2_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_PIT2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_PIT2_STOP_REQ_MASK)
63669 
63670 #define IOMUXC_LPSR_GPR_GPR39_SEMC_STOP_REQ_MASK (0x8U)
63671 #define IOMUXC_LPSR_GPR_GPR39_SEMC_STOP_REQ_SHIFT (3U)
63672 /*! SEMC_STOP_REQ - SEMC stop request
63673  *  0b0..Stop request off
63674  *  0b1..Stop request on
63675  */
63676 #define IOMUXC_LPSR_GPR_GPR39_SEMC_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SEMC_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SEMC_STOP_REQ_MASK)
63677 
63678 #define IOMUXC_LPSR_GPR_GPR39_SIM1_IPG_DOZE_MASK (0x10U)
63679 #define IOMUXC_LPSR_GPR_GPR39_SIM1_IPG_DOZE_SHIFT (4U)
63680 /*! SIM1_IPG_DOZE - SIM1 doze mode
63681  *  0b0..Not in doze mode
63682  *  0b1..In doze mode
63683  */
63684 #define IOMUXC_LPSR_GPR_GPR39_SIM1_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SIM1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SIM1_IPG_DOZE_MASK)
63685 
63686 #define IOMUXC_LPSR_GPR_GPR39_SIM2_IPG_DOZE_MASK (0x20U)
63687 #define IOMUXC_LPSR_GPR_GPR39_SIM2_IPG_DOZE_SHIFT (5U)
63688 /*! SIM2_IPG_DOZE - SIM2 doze mode
63689  *  0b0..Not in doze mode
63690  *  0b1..In doze mode
63691  */
63692 #define IOMUXC_LPSR_GPR_GPR39_SIM2_IPG_DOZE(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SIM2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SIM2_IPG_DOZE_MASK)
63693 
63694 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_IPG_DOZE_MASK (0x40U)
63695 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_IPG_DOZE_SHIFT (6U)
63696 /*! SNVS_HP_IPG_DOZE - SNVS_HP doze mode
63697  *  0b0..Not in doze mode
63698  *  0b1..In doze mode
63699  */
63700 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_IPG_DOZE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SNVS_HP_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SNVS_HP_IPG_DOZE_MASK)
63701 
63702 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_STOP_REQ_MASK (0x80U)
63703 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_STOP_REQ_SHIFT (7U)
63704 /*! SNVS_HP_STOP_REQ - SNVS_HP stop request
63705  *  0b0..Stop request off
63706  *  0b1..Stop request on
63707  */
63708 #define IOMUXC_LPSR_GPR_GPR39_SNVS_HP_STOP_REQ(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SNVS_HP_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SNVS_HP_STOP_REQ_MASK)
63709 
63710 #define IOMUXC_LPSR_GPR_GPR39_WDOG1_IPG_DOZE_MASK (0x100U)
63711 #define IOMUXC_LPSR_GPR_GPR39_WDOG1_IPG_DOZE_SHIFT (8U)
63712 /*! WDOG1_IPG_DOZE - WDOG1 doze mode
63713  *  0b0..Not in doze mode
63714  *  0b1..In doze mode
63715  */
63716 #define IOMUXC_LPSR_GPR_GPR39_WDOG1_IPG_DOZE(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_WDOG1_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_WDOG1_IPG_DOZE_MASK)
63717 
63718 #define IOMUXC_LPSR_GPR_GPR39_WDOG2_IPG_DOZE_MASK (0x200U)
63719 #define IOMUXC_LPSR_GPR_GPR39_WDOG2_IPG_DOZE_SHIFT (9U)
63720 /*! WDOG2_IPG_DOZE - WDOG2 doze mode
63721  *  0b0..Not in doze mode
63722  *  0b1..In doze mode
63723  */
63724 #define IOMUXC_LPSR_GPR_GPR39_WDOG2_IPG_DOZE(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_WDOG2_IPG_DOZE_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_WDOG2_IPG_DOZE_MASK)
63725 
63726 #define IOMUXC_LPSR_GPR_GPR39_SAI1_STOP_REQ_MASK (0x400U)
63727 #define IOMUXC_LPSR_GPR_GPR39_SAI1_STOP_REQ_SHIFT (10U)
63728 /*! SAI1_STOP_REQ - SAI1 stop request
63729  *  0b0..Stop request off
63730  *  0b1..Stop request on
63731  */
63732 #define IOMUXC_LPSR_GPR_GPR39_SAI1_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SAI1_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SAI1_STOP_REQ_MASK)
63733 
63734 #define IOMUXC_LPSR_GPR_GPR39_SAI2_STOP_REQ_MASK (0x800U)
63735 #define IOMUXC_LPSR_GPR_GPR39_SAI2_STOP_REQ_SHIFT (11U)
63736 /*! SAI2_STOP_REQ - SAI2 stop request
63737  *  0b0..Stop request off
63738  *  0b1..Stop request on
63739  */
63740 #define IOMUXC_LPSR_GPR_GPR39_SAI2_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SAI2_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SAI2_STOP_REQ_MASK)
63741 
63742 #define IOMUXC_LPSR_GPR_GPR39_SAI3_STOP_REQ_MASK (0x1000U)
63743 #define IOMUXC_LPSR_GPR_GPR39_SAI3_STOP_REQ_SHIFT (12U)
63744 /*! SAI3_STOP_REQ - SAI3 stop request
63745  *  0b0..Stop request off
63746  *  0b1..Stop request on
63747  */
63748 #define IOMUXC_LPSR_GPR_GPR39_SAI3_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SAI3_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SAI3_STOP_REQ_MASK)
63749 
63750 #define IOMUXC_LPSR_GPR_GPR39_SAI4_STOP_REQ_MASK (0x2000U)
63751 #define IOMUXC_LPSR_GPR_GPR39_SAI4_STOP_REQ_SHIFT (13U)
63752 /*! SAI4_STOP_REQ - SAI4 stop request
63753  *  0b0..Stop request off
63754  *  0b1..Stop request on
63755  */
63756 #define IOMUXC_LPSR_GPR_GPR39_SAI4_STOP_REQ(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_SAI4_STOP_REQ_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_SAI4_STOP_REQ_MASK)
63757 
63758 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_BUS_MASK (0x4000U)
63759 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_BUS_SHIFT (14U)
63760 /*! FLEXIO1_STOP_REQ_BUS - FLEXIO1 bus clock domain stop request
63761  *  0b0..Stop request off
63762  *  0b1..Stop request on
63763  */
63764 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_BUS_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_BUS_MASK)
63765 
63766 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_PER_MASK (0x8000U)
63767 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_PER_SHIFT (15U)
63768 /*! FLEXIO1_STOP_REQ_PER - FLEXIO1 peripheral clock domain stop request
63769  *  0b0..Stop request off
63770  *  0b1..Stop request on
63771  */
63772 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_PER_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_FLEXIO1_STOP_REQ_PER_MASK)
63773 
63774 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_BUS_MASK (0x10000U)
63775 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_BUS_SHIFT (16U)
63776 /*! FLEXIO2_STOP_REQ_BUS - FLEXIO2 bus clock domain stop request
63777  *  0b0..Stop request off
63778  *  0b1..Stop request on
63779  */
63780 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_BUS_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_BUS_MASK)
63781 
63782 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_PER_MASK (0x20000U)
63783 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_PER_SHIFT (17U)
63784 /*! FLEXIO2_STOP_REQ_PER - FLEXIO2 peripheral clock domain stop request
63785  *  0b0..Stop request off
63786  *  0b1..Stop request on
63787  */
63788 #define IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_PER_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_FLEXIO2_STOP_REQ_PER_MASK)
63789 
63790 #define IOMUXC_LPSR_GPR_GPR39_DWP_MASK           (0x30000000U)
63791 #define IOMUXC_LPSR_GPR_GPR39_DWP_SHIFT          (28U)
63792 /*! DWP - Domain write protection
63793  *  0b00..Both cores are allowed
63794  *  0b01..CM7 is forbidden
63795  *  0b10..CM4 is forbidden
63796  *  0b11..Both cores are forbidden
63797  */
63798 #define IOMUXC_LPSR_GPR_GPR39_DWP(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_DWP_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_DWP_MASK)
63799 
63800 #define IOMUXC_LPSR_GPR_GPR39_DWP_LOCK_MASK      (0xC0000000U)
63801 #define IOMUXC_LPSR_GPR_GPR39_DWP_LOCK_SHIFT     (30U)
63802 /*! DWP_LOCK - Domain write protection lock
63803  *  0b00..Neither of DWP bits is locked
63804  *  0b01..The lower DWP bit is locked
63805  *  0b10..The higher DWP bit is locked
63806  *  0b11..Both DWP bits are locked
63807  */
63808 #define IOMUXC_LPSR_GPR_GPR39_DWP_LOCK(x)        (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR39_DWP_LOCK_SHIFT)) & IOMUXC_LPSR_GPR_GPR39_DWP_LOCK_MASK)
63809 /*! @} */
63810 
63811 /*! @name GPR40 - GPR40 General Purpose Register */
63812 /*! @{ */
63813 
63814 #define IOMUXC_LPSR_GPR_GPR40_ADC1_STOP_ACK_MASK (0x1U)
63815 #define IOMUXC_LPSR_GPR_GPR40_ADC1_STOP_ACK_SHIFT (0U)
63816 /*! ADC1_STOP_ACK - ADC1 stop acknowledge
63817  */
63818 #define IOMUXC_LPSR_GPR_GPR40_ADC1_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_ADC1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_ADC1_STOP_ACK_MASK)
63819 
63820 #define IOMUXC_LPSR_GPR_GPR40_ADC2_STOP_ACK_MASK (0x2U)
63821 #define IOMUXC_LPSR_GPR_GPR40_ADC2_STOP_ACK_SHIFT (1U)
63822 /*! ADC2_STOP_ACK - ADC2 stop acknowledge
63823  */
63824 #define IOMUXC_LPSR_GPR_GPR40_ADC2_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_ADC2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_ADC2_STOP_ACK_MASK)
63825 
63826 #define IOMUXC_LPSR_GPR_GPR40_CAAM_STOP_ACK_MASK (0x4U)
63827 #define IOMUXC_LPSR_GPR_GPR40_CAAM_STOP_ACK_SHIFT (2U)
63828 /*! CAAM_STOP_ACK - CAAM stop acknowledge
63829  */
63830 #define IOMUXC_LPSR_GPR_GPR40_CAAM_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_CAAM_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_CAAM_STOP_ACK_MASK)
63831 
63832 #define IOMUXC_LPSR_GPR_GPR40_CAN1_STOP_ACK_MASK (0x8U)
63833 #define IOMUXC_LPSR_GPR_GPR40_CAN1_STOP_ACK_SHIFT (3U)
63834 /*! CAN1_STOP_ACK - CAN1 stop acknowledge
63835  */
63836 #define IOMUXC_LPSR_GPR_GPR40_CAN1_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_CAN1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_CAN1_STOP_ACK_MASK)
63837 
63838 #define IOMUXC_LPSR_GPR_GPR40_CAN2_STOP_ACK_MASK (0x10U)
63839 #define IOMUXC_LPSR_GPR_GPR40_CAN2_STOP_ACK_SHIFT (4U)
63840 /*! CAN2_STOP_ACK - CAN2 stop acknowledge
63841  */
63842 #define IOMUXC_LPSR_GPR_GPR40_CAN2_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_CAN2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_CAN2_STOP_ACK_MASK)
63843 
63844 #define IOMUXC_LPSR_GPR_GPR40_CAN3_STOP_ACK_MASK (0x20U)
63845 #define IOMUXC_LPSR_GPR_GPR40_CAN3_STOP_ACK_SHIFT (5U)
63846 /*! CAN3_STOP_ACK - CAN3 stop acknowledge
63847  */
63848 #define IOMUXC_LPSR_GPR_GPR40_CAN3_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_CAN3_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_CAN3_STOP_ACK_MASK)
63849 
63850 #define IOMUXC_LPSR_GPR_GPR40_EDMA_STOP_ACK_MASK (0x40U)
63851 #define IOMUXC_LPSR_GPR_GPR40_EDMA_STOP_ACK_SHIFT (6U)
63852 /*! EDMA_STOP_ACK - EDMA stop acknowledge
63853  */
63854 #define IOMUXC_LPSR_GPR_GPR40_EDMA_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_EDMA_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_EDMA_STOP_ACK_MASK)
63855 
63856 #define IOMUXC_LPSR_GPR_GPR40_EDMA_LPSR_STOP_ACK_MASK (0x80U)
63857 #define IOMUXC_LPSR_GPR_GPR40_EDMA_LPSR_STOP_ACK_SHIFT (7U)
63858 /*! EDMA_LPSR_STOP_ACK - EDMA_LPSR stop acknowledge
63859  */
63860 #define IOMUXC_LPSR_GPR_GPR40_EDMA_LPSR_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_EDMA_LPSR_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_EDMA_LPSR_STOP_ACK_MASK)
63861 
63862 #define IOMUXC_LPSR_GPR_GPR40_ENET_STOP_ACK_MASK (0x100U)
63863 #define IOMUXC_LPSR_GPR_GPR40_ENET_STOP_ACK_SHIFT (8U)
63864 /*! ENET_STOP_ACK - ENET stop acknowledge
63865  */
63866 #define IOMUXC_LPSR_GPR_GPR40_ENET_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_ENET_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_ENET_STOP_ACK_MASK)
63867 
63868 #define IOMUXC_LPSR_GPR_GPR40_ENET1G_STOP_ACK_MASK (0x200U)
63869 #define IOMUXC_LPSR_GPR_GPR40_ENET1G_STOP_ACK_SHIFT (9U)
63870 /*! ENET1G_STOP_ACK - ENET1G stop acknowledge
63871  */
63872 #define IOMUXC_LPSR_GPR_GPR40_ENET1G_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_ENET1G_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_ENET1G_STOP_ACK_MASK)
63873 
63874 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI1_STOP_ACK_MASK (0x400U)
63875 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI1_STOP_ACK_SHIFT (10U)
63876 /*! FLEXSPI1_STOP_ACK - FLEXSPI1 stop acknowledge
63877  */
63878 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI1_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_FLEXSPI1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_FLEXSPI1_STOP_ACK_MASK)
63879 
63880 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI2_STOP_ACK_MASK (0x800U)
63881 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI2_STOP_ACK_SHIFT (11U)
63882 /*! FLEXSPI2_STOP_ACK - FLEXSPI2 stop acknowledge
63883  */
63884 #define IOMUXC_LPSR_GPR_GPR40_FLEXSPI2_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_FLEXSPI2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_FLEXSPI2_STOP_ACK_MASK)
63885 
63886 #define IOMUXC_LPSR_GPR_GPR40_LPI2C1_STOP_ACK_MASK (0x1000U)
63887 #define IOMUXC_LPSR_GPR_GPR40_LPI2C1_STOP_ACK_SHIFT (12U)
63888 /*! LPI2C1_STOP_ACK - LPI2C1 stop acknowledge
63889  */
63890 #define IOMUXC_LPSR_GPR_GPR40_LPI2C1_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C1_STOP_ACK_MASK)
63891 
63892 #define IOMUXC_LPSR_GPR_GPR40_LPI2C2_STOP_ACK_MASK (0x2000U)
63893 #define IOMUXC_LPSR_GPR_GPR40_LPI2C2_STOP_ACK_SHIFT (13U)
63894 /*! LPI2C2_STOP_ACK - LPI2C2 stop acknowledge
63895  */
63896 #define IOMUXC_LPSR_GPR_GPR40_LPI2C2_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C2_STOP_ACK_MASK)
63897 
63898 #define IOMUXC_LPSR_GPR_GPR40_LPI2C3_STOP_ACK_MASK (0x4000U)
63899 #define IOMUXC_LPSR_GPR_GPR40_LPI2C3_STOP_ACK_SHIFT (14U)
63900 /*! LPI2C3_STOP_ACK - LPI2C3 stop acknowledge
63901  */
63902 #define IOMUXC_LPSR_GPR_GPR40_LPI2C3_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C3_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C3_STOP_ACK_MASK)
63903 
63904 #define IOMUXC_LPSR_GPR_GPR40_LPI2C4_STOP_ACK_MASK (0x8000U)
63905 #define IOMUXC_LPSR_GPR_GPR40_LPI2C4_STOP_ACK_SHIFT (15U)
63906 /*! LPI2C4_STOP_ACK - LPI2C4 stop acknowledge
63907  */
63908 #define IOMUXC_LPSR_GPR_GPR40_LPI2C4_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C4_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C4_STOP_ACK_MASK)
63909 
63910 #define IOMUXC_LPSR_GPR_GPR40_LPI2C5_STOP_ACK_MASK (0x10000U)
63911 #define IOMUXC_LPSR_GPR_GPR40_LPI2C5_STOP_ACK_SHIFT (16U)
63912 /*! LPI2C5_STOP_ACK - LPI2C5 stop acknowledge
63913  */
63914 #define IOMUXC_LPSR_GPR_GPR40_LPI2C5_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C5_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C5_STOP_ACK_MASK)
63915 
63916 #define IOMUXC_LPSR_GPR_GPR40_LPI2C6_STOP_ACK_MASK (0x20000U)
63917 #define IOMUXC_LPSR_GPR_GPR40_LPI2C6_STOP_ACK_SHIFT (17U)
63918 /*! LPI2C6_STOP_ACK - LPI2C6 stop acknowledge
63919  */
63920 #define IOMUXC_LPSR_GPR_GPR40_LPI2C6_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPI2C6_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPI2C6_STOP_ACK_MASK)
63921 
63922 #define IOMUXC_LPSR_GPR_GPR40_LPSPI1_STOP_ACK_MASK (0x40000U)
63923 #define IOMUXC_LPSR_GPR_GPR40_LPSPI1_STOP_ACK_SHIFT (18U)
63924 /*! LPSPI1_STOP_ACK - LPSPI1 stop acknowledge
63925  */
63926 #define IOMUXC_LPSR_GPR_GPR40_LPSPI1_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI1_STOP_ACK_MASK)
63927 
63928 #define IOMUXC_LPSR_GPR_GPR40_LPSPI2_STOP_ACK_MASK (0x80000U)
63929 #define IOMUXC_LPSR_GPR_GPR40_LPSPI2_STOP_ACK_SHIFT (19U)
63930 /*! LPSPI2_STOP_ACK - LPSPI2 stop acknowledge
63931  */
63932 #define IOMUXC_LPSR_GPR_GPR40_LPSPI2_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI2_STOP_ACK_MASK)
63933 
63934 #define IOMUXC_LPSR_GPR_GPR40_LPSPI3_STOP_ACK_MASK (0x100000U)
63935 #define IOMUXC_LPSR_GPR_GPR40_LPSPI3_STOP_ACK_SHIFT (20U)
63936 /*! LPSPI3_STOP_ACK - LPSPI3 stop acknowledge
63937  */
63938 #define IOMUXC_LPSR_GPR_GPR40_LPSPI3_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI3_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI3_STOP_ACK_MASK)
63939 
63940 #define IOMUXC_LPSR_GPR_GPR40_LPSPI4_STOP_ACK_MASK (0x200000U)
63941 #define IOMUXC_LPSR_GPR_GPR40_LPSPI4_STOP_ACK_SHIFT (21U)
63942 /*! LPSPI4_STOP_ACK - LPSPI4 stop acknowledge
63943  */
63944 #define IOMUXC_LPSR_GPR_GPR40_LPSPI4_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI4_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI4_STOP_ACK_MASK)
63945 
63946 #define IOMUXC_LPSR_GPR_GPR40_LPSPI5_STOP_ACK_MASK (0x400000U)
63947 #define IOMUXC_LPSR_GPR_GPR40_LPSPI5_STOP_ACK_SHIFT (22U)
63948 /*! LPSPI5_STOP_ACK - LPSPI5 stop acknowledge
63949  */
63950 #define IOMUXC_LPSR_GPR_GPR40_LPSPI5_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI5_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI5_STOP_ACK_MASK)
63951 
63952 #define IOMUXC_LPSR_GPR_GPR40_LPSPI6_STOP_ACK_MASK (0x800000U)
63953 #define IOMUXC_LPSR_GPR_GPR40_LPSPI6_STOP_ACK_SHIFT (23U)
63954 /*! LPSPI6_STOP_ACK - LPSPI6 stop acknowledge
63955  */
63956 #define IOMUXC_LPSR_GPR_GPR40_LPSPI6_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPSPI6_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPSPI6_STOP_ACK_MASK)
63957 
63958 #define IOMUXC_LPSR_GPR_GPR40_LPUART1_STOP_ACK_MASK (0x1000000U)
63959 #define IOMUXC_LPSR_GPR_GPR40_LPUART1_STOP_ACK_SHIFT (24U)
63960 /*! LPUART1_STOP_ACK - LPUART1 stop acknowledge
63961  */
63962 #define IOMUXC_LPSR_GPR_GPR40_LPUART1_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART1_STOP_ACK_MASK)
63963 
63964 #define IOMUXC_LPSR_GPR_GPR40_LPUART2_STOP_ACK_MASK (0x2000000U)
63965 #define IOMUXC_LPSR_GPR_GPR40_LPUART2_STOP_ACK_SHIFT (25U)
63966 /*! LPUART2_STOP_ACK - LPUART2 stop acknowledge
63967  */
63968 #define IOMUXC_LPSR_GPR_GPR40_LPUART2_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART2_STOP_ACK_MASK)
63969 
63970 #define IOMUXC_LPSR_GPR_GPR40_LPUART3_STOP_ACK_MASK (0x4000000U)
63971 #define IOMUXC_LPSR_GPR_GPR40_LPUART3_STOP_ACK_SHIFT (26U)
63972 /*! LPUART3_STOP_ACK - LPUART3 stop acknowledge
63973  */
63974 #define IOMUXC_LPSR_GPR_GPR40_LPUART3_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART3_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART3_STOP_ACK_MASK)
63975 
63976 #define IOMUXC_LPSR_GPR_GPR40_LPUART4_STOP_ACK_MASK (0x8000000U)
63977 #define IOMUXC_LPSR_GPR_GPR40_LPUART4_STOP_ACK_SHIFT (27U)
63978 /*! LPUART4_STOP_ACK - LPUART4 stop acknowledge
63979  */
63980 #define IOMUXC_LPSR_GPR_GPR40_LPUART4_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART4_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART4_STOP_ACK_MASK)
63981 
63982 #define IOMUXC_LPSR_GPR_GPR40_LPUART5_STOP_ACK_MASK (0x10000000U)
63983 #define IOMUXC_LPSR_GPR_GPR40_LPUART5_STOP_ACK_SHIFT (28U)
63984 /*! LPUART5_STOP_ACK - LPUART5 stop acknowledge
63985  */
63986 #define IOMUXC_LPSR_GPR_GPR40_LPUART5_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART5_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART5_STOP_ACK_MASK)
63987 
63988 #define IOMUXC_LPSR_GPR_GPR40_LPUART6_STOP_ACK_MASK (0x20000000U)
63989 #define IOMUXC_LPSR_GPR_GPR40_LPUART6_STOP_ACK_SHIFT (29U)
63990 /*! LPUART6_STOP_ACK - LPUART6 stop acknowledge
63991  */
63992 #define IOMUXC_LPSR_GPR_GPR40_LPUART6_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART6_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART6_STOP_ACK_MASK)
63993 
63994 #define IOMUXC_LPSR_GPR_GPR40_LPUART7_STOP_ACK_MASK (0x40000000U)
63995 #define IOMUXC_LPSR_GPR_GPR40_LPUART7_STOP_ACK_SHIFT (30U)
63996 /*! LPUART7_STOP_ACK - LPUART7 stop acknowledge
63997  */
63998 #define IOMUXC_LPSR_GPR_GPR40_LPUART7_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART7_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART7_STOP_ACK_MASK)
63999 
64000 #define IOMUXC_LPSR_GPR_GPR40_LPUART8_STOP_ACK_MASK (0x80000000U)
64001 #define IOMUXC_LPSR_GPR_GPR40_LPUART8_STOP_ACK_SHIFT (31U)
64002 /*! LPUART8_STOP_ACK - LPUART8 stop acknowledge
64003  */
64004 #define IOMUXC_LPSR_GPR_GPR40_LPUART8_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR40_LPUART8_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR40_LPUART8_STOP_ACK_MASK)
64005 /*! @} */
64006 
64007 /*! @name GPR41 - GPR41 General Purpose Register */
64008 /*! @{ */
64009 
64010 #define IOMUXC_LPSR_GPR_GPR41_LPUART9_STOP_ACK_MASK (0x1U)
64011 #define IOMUXC_LPSR_GPR_GPR41_LPUART9_STOP_ACK_SHIFT (0U)
64012 /*! LPUART9_STOP_ACK - LPUART9 stop acknowledge
64013  */
64014 #define IOMUXC_LPSR_GPR_GPR41_LPUART9_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_LPUART9_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_LPUART9_STOP_ACK_MASK)
64015 
64016 #define IOMUXC_LPSR_GPR_GPR41_LPUART10_STOP_ACK_MASK (0x2U)
64017 #define IOMUXC_LPSR_GPR_GPR41_LPUART10_STOP_ACK_SHIFT (1U)
64018 /*! LPUART10_STOP_ACK - LPUART10 stop acknowledge
64019  */
64020 #define IOMUXC_LPSR_GPR_GPR41_LPUART10_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_LPUART10_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_LPUART10_STOP_ACK_MASK)
64021 
64022 #define IOMUXC_LPSR_GPR_GPR41_LPUART11_STOP_ACK_MASK (0x4U)
64023 #define IOMUXC_LPSR_GPR_GPR41_LPUART11_STOP_ACK_SHIFT (2U)
64024 /*! LPUART11_STOP_ACK - LPUART11 stop acknowledge
64025  */
64026 #define IOMUXC_LPSR_GPR_GPR41_LPUART11_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_LPUART11_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_LPUART11_STOP_ACK_MASK)
64027 
64028 #define IOMUXC_LPSR_GPR_GPR41_LPUART12_STOP_ACK_MASK (0x8U)
64029 #define IOMUXC_LPSR_GPR_GPR41_LPUART12_STOP_ACK_SHIFT (3U)
64030 /*! LPUART12_STOP_ACK - LPUART12 stop acknowledge
64031  */
64032 #define IOMUXC_LPSR_GPR_GPR41_LPUART12_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_LPUART12_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_LPUART12_STOP_ACK_MASK)
64033 
64034 #define IOMUXC_LPSR_GPR_GPR41_MIC_STOP_ACK_MASK  (0x10U)
64035 #define IOMUXC_LPSR_GPR_GPR41_MIC_STOP_ACK_SHIFT (4U)
64036 /*! MIC_STOP_ACK - MIC stop acknowledge
64037  */
64038 #define IOMUXC_LPSR_GPR_GPR41_MIC_STOP_ACK(x)    (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_MIC_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_MIC_STOP_ACK_MASK)
64039 
64040 #define IOMUXC_LPSR_GPR_GPR41_PIT1_STOP_ACK_MASK (0x20U)
64041 #define IOMUXC_LPSR_GPR_GPR41_PIT1_STOP_ACK_SHIFT (5U)
64042 /*! PIT1_STOP_ACK - PIT1 stop acknowledge
64043  */
64044 #define IOMUXC_LPSR_GPR_GPR41_PIT1_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_PIT1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_PIT1_STOP_ACK_MASK)
64045 
64046 #define IOMUXC_LPSR_GPR_GPR41_PIT2_STOP_ACK_MASK (0x40U)
64047 #define IOMUXC_LPSR_GPR_GPR41_PIT2_STOP_ACK_SHIFT (6U)
64048 /*! PIT2_STOP_ACK - PIT2 stop acknowledge
64049  */
64050 #define IOMUXC_LPSR_GPR_GPR41_PIT2_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_PIT2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_PIT2_STOP_ACK_MASK)
64051 
64052 #define IOMUXC_LPSR_GPR_GPR41_SEMC_STOP_ACK_MASK (0x80U)
64053 #define IOMUXC_LPSR_GPR_GPR41_SEMC_STOP_ACK_SHIFT (7U)
64054 /*! SEMC_STOP_ACK - SEMC stop acknowledge
64055  */
64056 #define IOMUXC_LPSR_GPR_GPR41_SEMC_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SEMC_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SEMC_STOP_ACK_MASK)
64057 
64058 #define IOMUXC_LPSR_GPR_GPR41_SNVS_HP_STOP_ACK_MASK (0x100U)
64059 #define IOMUXC_LPSR_GPR_GPR41_SNVS_HP_STOP_ACK_SHIFT (8U)
64060 /*! SNVS_HP_STOP_ACK - SNVS_HP stop acknowledge
64061  */
64062 #define IOMUXC_LPSR_GPR_GPR41_SNVS_HP_STOP_ACK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SNVS_HP_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SNVS_HP_STOP_ACK_MASK)
64063 
64064 #define IOMUXC_LPSR_GPR_GPR41_SAI1_STOP_ACK_MASK (0x200U)
64065 #define IOMUXC_LPSR_GPR_GPR41_SAI1_STOP_ACK_SHIFT (9U)
64066 /*! SAI1_STOP_ACK - SAI1 stop acknowledge
64067  */
64068 #define IOMUXC_LPSR_GPR_GPR41_SAI1_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SAI1_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SAI1_STOP_ACK_MASK)
64069 
64070 #define IOMUXC_LPSR_GPR_GPR41_SAI2_STOP_ACK_MASK (0x400U)
64071 #define IOMUXC_LPSR_GPR_GPR41_SAI2_STOP_ACK_SHIFT (10U)
64072 /*! SAI2_STOP_ACK - SAI2 stop acknowledge
64073  */
64074 #define IOMUXC_LPSR_GPR_GPR41_SAI2_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SAI2_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SAI2_STOP_ACK_MASK)
64075 
64076 #define IOMUXC_LPSR_GPR_GPR41_SAI3_STOP_ACK_MASK (0x800U)
64077 #define IOMUXC_LPSR_GPR_GPR41_SAI3_STOP_ACK_SHIFT (11U)
64078 /*! SAI3_STOP_ACK - SAI3 stop acknowledge
64079  */
64080 #define IOMUXC_LPSR_GPR_GPR41_SAI3_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SAI3_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SAI3_STOP_ACK_MASK)
64081 
64082 #define IOMUXC_LPSR_GPR_GPR41_SAI4_STOP_ACK_MASK (0x1000U)
64083 #define IOMUXC_LPSR_GPR_GPR41_SAI4_STOP_ACK_SHIFT (12U)
64084 /*! SAI4_STOP_ACK - SAI4 stop acknowledge
64085  */
64086 #define IOMUXC_LPSR_GPR_GPR41_SAI4_STOP_ACK(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_SAI4_STOP_ACK_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_SAI4_STOP_ACK_MASK)
64087 
64088 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_BUS_MASK (0x2000U)
64089 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_BUS_SHIFT (13U)
64090 /*! FLEXIO1_STOP_ACK_BUS - FLEXIO1 stop acknowledge of bus clock domain
64091  */
64092 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_BUS_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_BUS_MASK)
64093 
64094 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_PER_MASK (0x4000U)
64095 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_PER_SHIFT (14U)
64096 /*! FLEXIO1_STOP_ACK_PER - FLEXIO1 stop acknowledge of peripheral clock domain
64097  */
64098 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_PER_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_FLEXIO1_STOP_ACK_PER_MASK)
64099 
64100 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_BUS_MASK (0x8000U)
64101 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_BUS_SHIFT (15U)
64102 /*! FLEXIO2_STOP_ACK_BUS - FLEXIO2 stop acknowledge of bus clock domain
64103  */
64104 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_BUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_BUS_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_BUS_MASK)
64105 
64106 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_PER_MASK (0x10000U)
64107 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_PER_SHIFT (16U)
64108 /*! FLEXIO2_STOP_ACK_PER - FLEXIO2 stop acknowledge of peripheral clock domain
64109  */
64110 #define IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_PER(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_PER_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_FLEXIO2_STOP_ACK_PER_MASK)
64111 
64112 #define IOMUXC_LPSR_GPR_GPR41_ROM_READ_LOCKED_MASK (0x1000000U)
64113 #define IOMUXC_LPSR_GPR_GPR41_ROM_READ_LOCKED_SHIFT (24U)
64114 /*! ROM_READ_LOCKED - ROM read lock status bit
64115  */
64116 #define IOMUXC_LPSR_GPR_GPR41_ROM_READ_LOCKED(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_LPSR_GPR_GPR41_ROM_READ_LOCKED_SHIFT)) & IOMUXC_LPSR_GPR_GPR41_ROM_READ_LOCKED_MASK)
64117 /*! @} */
64118 
64119 
64120 /*!
64121  * @}
64122  */ /* end of group IOMUXC_LPSR_GPR_Register_Masks */
64123 
64124 
64125 /* IOMUXC_LPSR_GPR - Peripheral instance base addresses */
64126 /** Peripheral IOMUXC_LPSR_GPR base address */
64127 #define IOMUXC_LPSR_GPR_BASE                     (0x40C0C000u)
64128 /** Peripheral IOMUXC_LPSR_GPR base pointer */
64129 #define IOMUXC_LPSR_GPR                          ((IOMUXC_LPSR_GPR_Type *)IOMUXC_LPSR_GPR_BASE)
64130 /** Array initializer of IOMUXC_LPSR_GPR peripheral base addresses */
64131 #define IOMUXC_LPSR_GPR_BASE_ADDRS               { IOMUXC_LPSR_GPR_BASE }
64132 /** Array initializer of IOMUXC_LPSR_GPR peripheral base pointers */
64133 #define IOMUXC_LPSR_GPR_BASE_PTRS                { IOMUXC_LPSR_GPR }
64134 
64135 /*!
64136  * @}
64137  */ /* end of group IOMUXC_LPSR_GPR_Peripheral_Access_Layer */
64138 
64139 
64140 /* ----------------------------------------------------------------------------
64141    -- IOMUXC_SNVS Peripheral Access Layer
64142    ---------------------------------------------------------------------------- */
64143 
64144 /*!
64145  * @addtogroup IOMUXC_SNVS_Peripheral_Access_Layer IOMUXC_SNVS Peripheral Access Layer
64146  * @{
64147  */
64148 
64149 /** IOMUXC_SNVS - Register Layout Typedef */
64150 typedef struct {
64151   __IO uint32_t SW_MUX_CTL_PAD_WAKEUP_DIG;         /**< SW_MUX_CTL_PAD_WAKEUP_DIG SW MUX Control Register, offset: 0x0 */
64152   __IO uint32_t SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG;    /**< SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG SW MUX Control Register, offset: 0x4 */
64153   __IO uint32_t SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG;  /**< SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG SW MUX Control Register, offset: 0x8 */
64154   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG SW MUX Control Register, offset: 0xC */
64155   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG SW MUX Control Register, offset: 0x10 */
64156   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG SW MUX Control Register, offset: 0x14 */
64157   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG SW MUX Control Register, offset: 0x18 */
64158   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG SW MUX Control Register, offset: 0x1C */
64159   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG SW MUX Control Register, offset: 0x20 */
64160   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG SW MUX Control Register, offset: 0x24 */
64161   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG SW MUX Control Register, offset: 0x28 */
64162   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG SW MUX Control Register, offset: 0x2C */
64163   __IO uint32_t SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG;   /**< SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG SW MUX Control Register, offset: 0x30 */
64164   __IO uint32_t SW_PAD_CTL_PAD_TEST_MODE_DIG;      /**< SW_PAD_CTL_PAD_TEST_MODE_DIG SW PAD Control Register, offset: 0x34 */
64165   __IO uint32_t SW_PAD_CTL_PAD_POR_B_DIG;          /**< SW_PAD_CTL_PAD_POR_B_DIG SW PAD Control Register, offset: 0x38 */
64166   __IO uint32_t SW_PAD_CTL_PAD_ONOFF_DIG;          /**< SW_PAD_CTL_PAD_ONOFF_DIG SW PAD Control Register, offset: 0x3C */
64167   __IO uint32_t SW_PAD_CTL_PAD_WAKEUP_DIG;         /**< SW_PAD_CTL_PAD_WAKEUP_DIG SW PAD Control Register, offset: 0x40 */
64168   __IO uint32_t SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG;    /**< SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG SW PAD Control Register, offset: 0x44 */
64169   __IO uint32_t SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG;  /**< SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG SW PAD Control Register, offset: 0x48 */
64170   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG SW PAD Control Register, offset: 0x4C */
64171   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG SW PAD Control Register, offset: 0x50 */
64172   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG SW PAD Control Register, offset: 0x54 */
64173   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG SW PAD Control Register, offset: 0x58 */
64174   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG SW PAD Control Register, offset: 0x5C */
64175   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG SW PAD Control Register, offset: 0x60 */
64176   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG SW PAD Control Register, offset: 0x64 */
64177   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG SW PAD Control Register, offset: 0x68 */
64178   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG SW PAD Control Register, offset: 0x6C */
64179   __IO uint32_t SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG;   /**< SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG SW PAD Control Register, offset: 0x70 */
64180 } IOMUXC_SNVS_Type;
64181 
64182 /* ----------------------------------------------------------------------------
64183    -- IOMUXC_SNVS Register Masks
64184    ---------------------------------------------------------------------------- */
64185 
64186 /*!
64187  * @addtogroup IOMUXC_SNVS_Register_Masks IOMUXC_SNVS Register Masks
64188  * @{
64189  */
64190 
64191 /*! @name SW_MUX_CTL_PAD_WAKEUP_DIG - SW_MUX_CTL_PAD_WAKEUP_DIG SW MUX Control Register */
64192 /*! @{ */
64193 
64194 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_MUX_MODE_MASK (0x7U)
64195 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_MUX_MODE_SHIFT (0U)
64196 /*! MUX_MODE - MUX Mode Select Field.
64197  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO00 of instance: GPIO13
64198  *  0b111..Select mux mode: ALT7 mux port: NMI_GLUE_NMI of instance: NMI_GLUE
64199  */
64200 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_MUX_MODE_MASK)
64201 
64202 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_SION_MASK (0x10U)
64203 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_SION_SHIFT (4U)
64204 /*! SION - Software Input On Field.
64205  *  0b1..Force input path of pad WAKEUP_DIG
64206  *  0b0..Input Path is determined by functionality
64207  */
64208 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_WAKEUP_DIG_SION_MASK)
64209 /*! @} */
64210 
64211 /*! @name SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG - SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG SW MUX Control Register */
64212 /*! @{ */
64213 
64214 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_MUX_MODE_MASK (0x7U)
64215 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_MUX_MODE_SHIFT (0U)
64216 /*! MUX_MODE - MUX Mode Select Field.
64217  *  0b000..Select mux mode: ALT0 mux port: SNVS_LP_PMIC_ON_REQ of instance: SNVS_LP
64218  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO01 of instance: GPIO13
64219  */
64220 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_MUX_MODE_MASK)
64221 
64222 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_SION_MASK (0x10U)
64223 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_SION_SHIFT (4U)
64224 /*! SION - Software Input On Field.
64225  *  0b1..Force input path of pad PMIC_ON_REQ_DIG
64226  *  0b0..Input Path is determined by functionality
64227  */
64228 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_ON_REQ_DIG_SION_MASK)
64229 /*! @} */
64230 
64231 /*! @name SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG - SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG SW MUX Control Register */
64232 /*! @{ */
64233 
64234 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_MUX_MODE_MASK (0x7U)
64235 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_MUX_MODE_SHIFT (0U)
64236 /*! MUX_MODE - MUX Mode Select Field.
64237  *  0b000..Select mux mode: ALT0 mux port: CCM_PMIC_VSTBY_REQ of instance: CCM
64238  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO02 of instance: GPIO13
64239  */
64240 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_MUX_MODE_MASK)
64241 
64242 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_SION_MASK (0x10U)
64243 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_SION_SHIFT (4U)
64244 /*! SION - Software Input On Field.
64245  *  0b1..Force input path of pad PMIC_STBY_REQ_DIG
64246  *  0b0..Input Path is determined by functionality
64247  */
64248 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_PMIC_STBY_REQ_DIG_SION_MASK)
64249 /*! @} */
64250 
64251 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG SW MUX Control Register */
64252 /*! @{ */
64253 
64254 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_MUX_MODE_MASK (0x7U)
64255 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_MUX_MODE_SHIFT (0U)
64256 /*! MUX_MODE - MUX Mode Select Field.
64257  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER0 of instance: SNVS_LP
64258  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO03 of instance: GPIO13
64259  */
64260 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_MUX_MODE_MASK)
64261 
64262 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_SION_MASK (0x10U)
64263 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_SION_SHIFT (4U)
64264 /*! SION - Software Input On Field.
64265  *  0b1..Force input path of pad GPIO_SNVS_00_DIG
64266  *  0b0..Input Path is determined by functionality
64267  */
64268 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_00_DIG_SION_MASK)
64269 /*! @} */
64270 
64271 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG SW MUX Control Register */
64272 /*! @{ */
64273 
64274 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_MUX_MODE_MASK (0x7U)
64275 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_MUX_MODE_SHIFT (0U)
64276 /*! MUX_MODE - MUX Mode Select Field.
64277  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER1 of instance: SNVS_LP
64278  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO04 of instance: GPIO13
64279  */
64280 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_MUX_MODE_MASK)
64281 
64282 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_SION_MASK (0x10U)
64283 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_SION_SHIFT (4U)
64284 /*! SION - Software Input On Field.
64285  *  0b1..Force input path of pad GPIO_SNVS_01_DIG
64286  *  0b0..Input Path is determined by functionality
64287  */
64288 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_01_DIG_SION_MASK)
64289 /*! @} */
64290 
64291 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG SW MUX Control Register */
64292 /*! @{ */
64293 
64294 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_MUX_MODE_MASK (0x7U)
64295 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_MUX_MODE_SHIFT (0U)
64296 /*! MUX_MODE - MUX Mode Select Field.
64297  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER2 of instance: SNVS_LP
64298  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO05 of instance: GPIO13
64299  */
64300 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_MUX_MODE_MASK)
64301 
64302 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_SION_MASK (0x10U)
64303 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_SION_SHIFT (4U)
64304 /*! SION - Software Input On Field.
64305  *  0b1..Force input path of pad GPIO_SNVS_02_DIG
64306  *  0b0..Input Path is determined by functionality
64307  */
64308 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_02_DIG_SION_MASK)
64309 /*! @} */
64310 
64311 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG SW MUX Control Register */
64312 /*! @{ */
64313 
64314 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_MUX_MODE_MASK (0x7U)
64315 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_MUX_MODE_SHIFT (0U)
64316 /*! MUX_MODE - MUX Mode Select Field.
64317  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER3 of instance: SNVS_LP
64318  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO06 of instance: GPIO13
64319  */
64320 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_MUX_MODE_MASK)
64321 
64322 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_SION_MASK (0x10U)
64323 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_SION_SHIFT (4U)
64324 /*! SION - Software Input On Field.
64325  *  0b1..Force input path of pad GPIO_SNVS_03_DIG
64326  *  0b0..Input Path is determined by functionality
64327  */
64328 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_03_DIG_SION_MASK)
64329 /*! @} */
64330 
64331 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG SW MUX Control Register */
64332 /*! @{ */
64333 
64334 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_MUX_MODE_MASK (0x7U)
64335 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_MUX_MODE_SHIFT (0U)
64336 /*! MUX_MODE - MUX Mode Select Field.
64337  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER4 of instance: SNVS_LP
64338  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO07 of instance: GPIO13
64339  */
64340 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_MUX_MODE_MASK)
64341 
64342 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_SION_MASK (0x10U)
64343 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_SION_SHIFT (4U)
64344 /*! SION - Software Input On Field.
64345  *  0b1..Force input path of pad GPIO_SNVS_04_DIG
64346  *  0b0..Input Path is determined by functionality
64347  */
64348 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_04_DIG_SION_MASK)
64349 /*! @} */
64350 
64351 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG SW MUX Control Register */
64352 /*! @{ */
64353 
64354 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_MUX_MODE_MASK (0x7U)
64355 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_MUX_MODE_SHIFT (0U)
64356 /*! MUX_MODE - MUX Mode Select Field.
64357  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER5 of instance: SNVS_LP
64358  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO08 of instance: GPIO13
64359  */
64360 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_MUX_MODE_MASK)
64361 
64362 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_SION_MASK (0x10U)
64363 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_SION_SHIFT (4U)
64364 /*! SION - Software Input On Field.
64365  *  0b1..Force input path of pad GPIO_SNVS_05_DIG
64366  *  0b0..Input Path is determined by functionality
64367  */
64368 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_05_DIG_SION_MASK)
64369 /*! @} */
64370 
64371 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG SW MUX Control Register */
64372 /*! @{ */
64373 
64374 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_MUX_MODE_MASK (0x7U)
64375 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_MUX_MODE_SHIFT (0U)
64376 /*! MUX_MODE - MUX Mode Select Field.
64377  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER6 of instance: SNVS_LP
64378  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO09 of instance: GPIO13
64379  */
64380 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_MUX_MODE_MASK)
64381 
64382 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_SION_MASK (0x10U)
64383 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_SION_SHIFT (4U)
64384 /*! SION - Software Input On Field.
64385  *  0b1..Force input path of pad GPIO_SNVS_06_DIG
64386  *  0b0..Input Path is determined by functionality
64387  */
64388 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_06_DIG_SION_MASK)
64389 /*! @} */
64390 
64391 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG SW MUX Control Register */
64392 /*! @{ */
64393 
64394 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_MUX_MODE_MASK (0x7U)
64395 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_MUX_MODE_SHIFT (0U)
64396 /*! MUX_MODE - MUX Mode Select Field.
64397  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER7 of instance: SNVS_LP
64398  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO10 of instance: GPIO13
64399  */
64400 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_MUX_MODE_MASK)
64401 
64402 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_SION_MASK (0x10U)
64403 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_SION_SHIFT (4U)
64404 /*! SION - Software Input On Field.
64405  *  0b1..Force input path of pad GPIO_SNVS_07_DIG
64406  *  0b0..Input Path is determined by functionality
64407  */
64408 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_07_DIG_SION_MASK)
64409 /*! @} */
64410 
64411 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG SW MUX Control Register */
64412 /*! @{ */
64413 
64414 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_MUX_MODE_MASK (0x7U)
64415 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_MUX_MODE_SHIFT (0U)
64416 /*! MUX_MODE - MUX Mode Select Field.
64417  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER8 of instance: SNVS_LP
64418  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO11 of instance: GPIO13
64419  */
64420 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_MUX_MODE_MASK)
64421 
64422 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_SION_MASK (0x10U)
64423 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_SION_SHIFT (4U)
64424 /*! SION - Software Input On Field.
64425  *  0b1..Force input path of pad GPIO_SNVS_08_DIG
64426  *  0b0..Input Path is determined by functionality
64427  */
64428 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_08_DIG_SION_MASK)
64429 /*! @} */
64430 
64431 /*! @name SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG - SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG SW MUX Control Register */
64432 /*! @{ */
64433 
64434 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_MUX_MODE_MASK (0x7U)
64435 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_MUX_MODE_SHIFT (0U)
64436 /*! MUX_MODE - MUX Mode Select Field.
64437  *  0b000..Select mux mode: ALT0 mux port: SNVS_TAMPER9 of instance: SNVS_LP
64438  *  0b101..Select mux mode: ALT5 mux port: GPIO13_IO12 of instance: GPIO13
64439  */
64440 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_MUX_MODE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_MUX_MODE_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_MUX_MODE_MASK)
64441 
64442 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_SION_MASK (0x10U)
64443 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_SION_SHIFT (4U)
64444 /*! SION - Software Input On Field.
64445  *  0b1..Force input path of pad GPIO_SNVS_09_DIG
64446  *  0b0..Input Path is determined by functionality
64447  */
64448 #define IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_SION(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_SION_SHIFT)) & IOMUXC_SNVS_SW_MUX_CTL_PAD_GPIO_SNVS_09_DIG_SION_MASK)
64449 /*! @} */
64450 
64451 /*! @name SW_PAD_CTL_PAD_TEST_MODE_DIG - SW_PAD_CTL_PAD_TEST_MODE_DIG SW PAD Control Register */
64452 /*! @{ */
64453 
64454 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_SRE_MASK (0x1U)
64455 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_SRE_SHIFT (0U)
64456 /*! SRE - Slew Rate Field
64457  *  0b0..Slow Slew Rate
64458  *  0b1..Fast Slew Rate
64459  */
64460 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_SRE_MASK)
64461 
64462 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DSE_MASK (0x2U)
64463 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DSE_SHIFT (1U)
64464 /*! DSE - Drive Strength Field
64465  *  0b0..normal driver
64466  *  0b1..high driver
64467  */
64468 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DSE_MASK)
64469 
64470 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUE_MASK (0x4U)
64471 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUE_SHIFT (2U)
64472 /*! PUE - Pull / Keep Select Field
64473  *  0b0..Pull Disable
64474  *  0b1..Pull Enable
64475  */
64476 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUE_MASK)
64477 
64478 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUS_MASK (0x8U)
64479 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUS_SHIFT (3U)
64480 /*! PUS - Pull Up / Down Config. Field
64481  *  0b0..Weak pull down
64482  *  0b1..Weak pull up
64483  */
64484 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_PUS_MASK)
64485 
64486 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_MASK (0x30000000U)
64487 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_SHIFT (28U)
64488 /*! DWP - Domain write protection
64489  *  0b00..Both cores are allowed
64490  *  0b01..CM7 is forbidden
64491  *  0b10..CM4 is forbidden
64492  *  0b11..Both cores are forbidden
64493  */
64494 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_MASK)
64495 
64496 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_LOCK_MASK (0xC0000000U)
64497 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_LOCK_SHIFT (30U)
64498 /*! DWP_LOCK - Domain write protection lock
64499  *  0b00..Neither of DWP bits is locked
64500  *  0b01..The lower DWP bit is locked
64501  *  0b10..The higher DWP bit is locked
64502  *  0b11..Both DWP bits are locked
64503  */
64504 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_TEST_MODE_DIG_DWP_LOCK_MASK)
64505 /*! @} */
64506 
64507 /*! @name SW_PAD_CTL_PAD_POR_B_DIG - SW_PAD_CTL_PAD_POR_B_DIG SW PAD Control Register */
64508 /*! @{ */
64509 
64510 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_SRE_MASK (0x1U)
64511 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_SRE_SHIFT (0U)
64512 /*! SRE - Slew Rate Field
64513  *  0b0..Slow Slew Rate
64514  *  0b1..Fast Slew Rate
64515  */
64516 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_SRE_MASK)
64517 
64518 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DSE_MASK (0x2U)
64519 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DSE_SHIFT (1U)
64520 /*! DSE - Drive Strength Field
64521  *  0b0..normal driver
64522  *  0b1..high driver
64523  */
64524 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DSE_MASK)
64525 
64526 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUE_MASK (0x4U)
64527 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUE_SHIFT (2U)
64528 /*! PUE - Pull / Keep Select Field
64529  *  0b0..Pull Disable
64530  *  0b1..Pull Enable
64531  */
64532 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUE_MASK)
64533 
64534 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUS_MASK (0x8U)
64535 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUS_SHIFT (3U)
64536 /*! PUS - Pull Up / Down Config. Field
64537  *  0b0..Weak pull down
64538  *  0b1..Weak pull up
64539  */
64540 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_PUS_MASK)
64541 
64542 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_MASK (0x30000000U)
64543 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_SHIFT (28U)
64544 /*! DWP - Domain write protection
64545  *  0b00..Both cores are allowed
64546  *  0b01..CM7 is forbidden
64547  *  0b10..CM4 is forbidden
64548  *  0b11..Both cores are forbidden
64549  */
64550 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_MASK)
64551 
64552 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_LOCK_MASK (0xC0000000U)
64553 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_LOCK_SHIFT (30U)
64554 /*! DWP_LOCK - Domain write protection lock
64555  *  0b00..Neither of DWP bits is locked
64556  *  0b01..The lower DWP bit is locked
64557  *  0b10..The higher DWP bit is locked
64558  *  0b11..Both DWP bits are locked
64559  */
64560 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_POR_B_DIG_DWP_LOCK_MASK)
64561 /*! @} */
64562 
64563 /*! @name SW_PAD_CTL_PAD_ONOFF_DIG - SW_PAD_CTL_PAD_ONOFF_DIG SW PAD Control Register */
64564 /*! @{ */
64565 
64566 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_SRE_MASK (0x1U)
64567 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_SRE_SHIFT (0U)
64568 /*! SRE - Slew Rate Field
64569  *  0b0..Slow Slew Rate
64570  *  0b1..Fast Slew Rate
64571  */
64572 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_SRE_MASK)
64573 
64574 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DSE_MASK (0x2U)
64575 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DSE_SHIFT (1U)
64576 /*! DSE - Drive Strength Field
64577  *  0b0..normal driver
64578  *  0b1..high driver
64579  */
64580 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DSE_MASK)
64581 
64582 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUE_MASK (0x4U)
64583 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUE_SHIFT (2U)
64584 /*! PUE - Pull / Keep Select Field
64585  *  0b0..Pull Disable
64586  *  0b1..Pull Enable
64587  */
64588 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUE_MASK)
64589 
64590 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUS_MASK (0x8U)
64591 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUS_SHIFT (3U)
64592 /*! PUS - Pull Up / Down Config. Field
64593  *  0b0..Weak pull down
64594  *  0b1..Weak pull up
64595  */
64596 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_PUS_MASK)
64597 
64598 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_MASK (0x30000000U)
64599 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_SHIFT (28U)
64600 /*! DWP - Domain write protection
64601  *  0b00..Both cores are allowed
64602  *  0b01..CM7 is forbidden
64603  *  0b10..CM4 is forbidden
64604  *  0b11..Both cores are forbidden
64605  */
64606 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_MASK)
64607 
64608 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_LOCK_MASK (0xC0000000U)
64609 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_LOCK_SHIFT (30U)
64610 /*! DWP_LOCK - Domain write protection lock
64611  *  0b00..Neither of DWP bits is locked
64612  *  0b01..The lower DWP bit is locked
64613  *  0b10..The higher DWP bit is locked
64614  *  0b11..Both DWP bits are locked
64615  */
64616 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_ONOFF_DIG_DWP_LOCK_MASK)
64617 /*! @} */
64618 
64619 /*! @name SW_PAD_CTL_PAD_WAKEUP_DIG - SW_PAD_CTL_PAD_WAKEUP_DIG SW PAD Control Register */
64620 /*! @{ */
64621 
64622 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_SRE_MASK (0x1U)
64623 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_SRE_SHIFT (0U)
64624 /*! SRE - Slew Rate Field
64625  *  0b0..Slow Slew Rate
64626  *  0b1..Fast Slew Rate
64627  */
64628 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_SRE_MASK)
64629 
64630 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DSE_MASK (0x2U)
64631 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DSE_SHIFT (1U)
64632 /*! DSE - Drive Strength Field
64633  *  0b0..normal driver
64634  *  0b1..high driver
64635  */
64636 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DSE_MASK)
64637 
64638 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUE_MASK (0x4U)
64639 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUE_SHIFT (2U)
64640 /*! PUE - Pull / Keep Select Field
64641  *  0b0..Pull Disable
64642  *  0b1..Pull Enable
64643  */
64644 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUE_MASK)
64645 
64646 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUS_MASK (0x8U)
64647 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUS_SHIFT (3U)
64648 /*! PUS - Pull Up / Down Config. Field
64649  *  0b0..Weak pull down
64650  *  0b1..Weak pull up
64651  */
64652 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_PUS_MASK)
64653 
64654 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_ODE_SNVS_MASK (0x40U)
64655 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_ODE_SNVS_SHIFT (6U)
64656 /*! ODE_SNVS - Open Drain SNVS Field
64657  *  0b0..Disabled
64658  *  0b1..Enabled
64659  */
64660 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_ODE_SNVS_MASK)
64661 
64662 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_MASK (0x30000000U)
64663 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_SHIFT (28U)
64664 /*! DWP - Domain write protection
64665  *  0b00..Both cores are allowed
64666  *  0b01..CM7 is forbidden
64667  *  0b10..CM4 is forbidden
64668  *  0b11..Both cores are forbidden
64669  */
64670 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_MASK)
64671 
64672 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_LOCK_MASK (0xC0000000U)
64673 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_LOCK_SHIFT (30U)
64674 /*! DWP_LOCK - Domain write protection lock
64675  *  0b00..Neither of DWP bits is locked
64676  *  0b01..The lower DWP bit is locked
64677  *  0b10..The higher DWP bit is locked
64678  *  0b11..Both DWP bits are locked
64679  */
64680 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_WAKEUP_DIG_DWP_LOCK_MASK)
64681 /*! @} */
64682 
64683 /*! @name SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG - SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG SW PAD Control Register */
64684 /*! @{ */
64685 
64686 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_SRE_MASK (0x1U)
64687 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_SRE_SHIFT (0U)
64688 /*! SRE - Slew Rate Field
64689  *  0b0..Slow Slew Rate
64690  *  0b1..Fast Slew Rate
64691  */
64692 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_SRE_MASK)
64693 
64694 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DSE_MASK (0x2U)
64695 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DSE_SHIFT (1U)
64696 /*! DSE - Drive Strength Field
64697  *  0b0..normal driver
64698  *  0b1..high driver
64699  */
64700 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DSE_MASK)
64701 
64702 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUE_MASK (0x4U)
64703 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUE_SHIFT (2U)
64704 /*! PUE - Pull / Keep Select Field
64705  *  0b0..Pull Disable
64706  *  0b1..Pull Enable
64707  */
64708 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUE_MASK)
64709 
64710 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUS_MASK (0x8U)
64711 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUS_SHIFT (3U)
64712 /*! PUS - Pull Up / Down Config. Field
64713  *  0b0..Weak pull down
64714  *  0b1..Weak pull up
64715  */
64716 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_PUS_MASK)
64717 
64718 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_ODE_SNVS_MASK (0x40U)
64719 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_ODE_SNVS_SHIFT (6U)
64720 /*! ODE_SNVS - Open Drain SNVS Field
64721  *  0b0..Disabled
64722  *  0b1..Enabled
64723  */
64724 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_ODE_SNVS_MASK)
64725 
64726 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_MASK (0x30000000U)
64727 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_SHIFT (28U)
64728 /*! DWP - Domain write protection
64729  *  0b00..Both cores are allowed
64730  *  0b01..CM7 is forbidden
64731  *  0b10..CM4 is forbidden
64732  *  0b11..Both cores are forbidden
64733  */
64734 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_MASK)
64735 
64736 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_LOCK_MASK (0xC0000000U)
64737 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_LOCK_SHIFT (30U)
64738 /*! DWP_LOCK - Domain write protection lock
64739  *  0b00..Neither of DWP bits is locked
64740  *  0b01..The lower DWP bit is locked
64741  *  0b10..The higher DWP bit is locked
64742  *  0b11..Both DWP bits are locked
64743  */
64744 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_ON_REQ_DIG_DWP_LOCK_MASK)
64745 /*! @} */
64746 
64747 /*! @name SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG - SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG SW PAD Control Register */
64748 /*! @{ */
64749 
64750 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_SRE_MASK (0x1U)
64751 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_SRE_SHIFT (0U)
64752 /*! SRE - Slew Rate Field
64753  *  0b0..Slow Slew Rate
64754  *  0b1..Fast Slew Rate
64755  */
64756 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_SRE_MASK)
64757 
64758 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DSE_MASK (0x2U)
64759 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DSE_SHIFT (1U)
64760 /*! DSE - Drive Strength Field
64761  *  0b0..normal driver
64762  *  0b1..high driver
64763  */
64764 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DSE_MASK)
64765 
64766 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUE_MASK (0x4U)
64767 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUE_SHIFT (2U)
64768 /*! PUE - Pull / Keep Select Field
64769  *  0b0..Pull Disable
64770  *  0b1..Pull Enable
64771  */
64772 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUE_MASK)
64773 
64774 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUS_MASK (0x8U)
64775 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUS_SHIFT (3U)
64776 /*! PUS - Pull Up / Down Config. Field
64777  *  0b0..Weak pull down
64778  *  0b1..Weak pull up
64779  */
64780 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_PUS_MASK)
64781 
64782 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_ODE_SNVS_MASK (0x40U)
64783 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_ODE_SNVS_SHIFT (6U)
64784 /*! ODE_SNVS - Open Drain SNVS Field
64785  *  0b0..Disabled
64786  *  0b1..Enabled
64787  */
64788 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_ODE_SNVS_MASK)
64789 
64790 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_MASK (0x30000000U)
64791 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_SHIFT (28U)
64792 /*! DWP - Domain write protection
64793  *  0b00..Both cores are allowed
64794  *  0b01..CM7 is forbidden
64795  *  0b10..CM4 is forbidden
64796  *  0b11..Both cores are forbidden
64797  */
64798 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_MASK)
64799 
64800 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_LOCK_MASK (0xC0000000U)
64801 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_LOCK_SHIFT (30U)
64802 /*! DWP_LOCK - Domain write protection lock
64803  *  0b00..Neither of DWP bits is locked
64804  *  0b01..The lower DWP bit is locked
64805  *  0b10..The higher DWP bit is locked
64806  *  0b11..Both DWP bits are locked
64807  */
64808 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_PMIC_STBY_REQ_DIG_DWP_LOCK_MASK)
64809 /*! @} */
64810 
64811 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG SW PAD Control Register */
64812 /*! @{ */
64813 
64814 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_SRE_MASK (0x1U)
64815 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_SRE_SHIFT (0U)
64816 /*! SRE - Slew Rate Field
64817  *  0b0..Slow Slew Rate
64818  *  0b1..Fast Slew Rate
64819  */
64820 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_SRE_MASK)
64821 
64822 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DSE_MASK (0x2U)
64823 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DSE_SHIFT (1U)
64824 /*! DSE - Drive Strength Field
64825  *  0b0..normal driver
64826  *  0b1..high driver
64827  */
64828 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DSE_MASK)
64829 
64830 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUE_MASK (0x4U)
64831 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUE_SHIFT (2U)
64832 /*! PUE - Pull / Keep Select Field
64833  *  0b0..Pull Disable
64834  *  0b1..Pull Enable
64835  */
64836 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUE_MASK)
64837 
64838 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUS_MASK (0x8U)
64839 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUS_SHIFT (3U)
64840 /*! PUS - Pull Up / Down Config. Field
64841  *  0b0..Weak pull down
64842  *  0b1..Weak pull up
64843  */
64844 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_PUS_MASK)
64845 
64846 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_ODE_SNVS_MASK (0x40U)
64847 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_ODE_SNVS_SHIFT (6U)
64848 /*! ODE_SNVS - Open Drain SNVS Field
64849  *  0b0..Disabled
64850  *  0b1..Enabled
64851  */
64852 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_ODE_SNVS_MASK)
64853 
64854 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_MASK (0x30000000U)
64855 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_SHIFT (28U)
64856 /*! DWP - Domain write protection
64857  *  0b00..Both cores are allowed
64858  *  0b01..CM7 is forbidden
64859  *  0b10..CM4 is forbidden
64860  *  0b11..Both cores are forbidden
64861  */
64862 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_MASK)
64863 
64864 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_LOCK_MASK (0xC0000000U)
64865 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_LOCK_SHIFT (30U)
64866 /*! DWP_LOCK - Domain write protection lock
64867  *  0b00..Neither of DWP bits is locked
64868  *  0b01..The lower DWP bit is locked
64869  *  0b10..The higher DWP bit is locked
64870  *  0b11..Both DWP bits are locked
64871  */
64872 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_00_DIG_DWP_LOCK_MASK)
64873 /*! @} */
64874 
64875 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG SW PAD Control Register */
64876 /*! @{ */
64877 
64878 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_SRE_MASK (0x1U)
64879 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_SRE_SHIFT (0U)
64880 /*! SRE - Slew Rate Field
64881  *  0b0..Slow Slew Rate
64882  *  0b1..Fast Slew Rate
64883  */
64884 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_SRE_MASK)
64885 
64886 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DSE_MASK (0x2U)
64887 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DSE_SHIFT (1U)
64888 /*! DSE - Drive Strength Field
64889  *  0b0..normal driver
64890  *  0b1..high driver
64891  */
64892 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DSE_MASK)
64893 
64894 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUE_MASK (0x4U)
64895 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUE_SHIFT (2U)
64896 /*! PUE - Pull / Keep Select Field
64897  *  0b0..Pull Disable
64898  *  0b1..Pull Enable
64899  */
64900 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUE_MASK)
64901 
64902 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUS_MASK (0x8U)
64903 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUS_SHIFT (3U)
64904 /*! PUS - Pull Up / Down Config. Field
64905  *  0b0..Weak pull down
64906  *  0b1..Weak pull up
64907  */
64908 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_PUS_MASK)
64909 
64910 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_ODE_SNVS_MASK (0x40U)
64911 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_ODE_SNVS_SHIFT (6U)
64912 /*! ODE_SNVS - Open Drain SNVS Field
64913  *  0b0..Disabled
64914  *  0b1..Enabled
64915  */
64916 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_ODE_SNVS_MASK)
64917 
64918 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_MASK (0x30000000U)
64919 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_SHIFT (28U)
64920 /*! DWP - Domain write protection
64921  *  0b00..Both cores are allowed
64922  *  0b01..CM7 is forbidden
64923  *  0b10..CM4 is forbidden
64924  *  0b11..Both cores are forbidden
64925  */
64926 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_MASK)
64927 
64928 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_LOCK_MASK (0xC0000000U)
64929 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_LOCK_SHIFT (30U)
64930 /*! DWP_LOCK - Domain write protection lock
64931  *  0b00..Neither of DWP bits is locked
64932  *  0b01..The lower DWP bit is locked
64933  *  0b10..The higher DWP bit is locked
64934  *  0b11..Both DWP bits are locked
64935  */
64936 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_01_DIG_DWP_LOCK_MASK)
64937 /*! @} */
64938 
64939 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG SW PAD Control Register */
64940 /*! @{ */
64941 
64942 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_SRE_MASK (0x1U)
64943 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_SRE_SHIFT (0U)
64944 /*! SRE - Slew Rate Field
64945  *  0b0..Slow Slew Rate
64946  *  0b1..Fast Slew Rate
64947  */
64948 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_SRE_MASK)
64949 
64950 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DSE_MASK (0x2U)
64951 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DSE_SHIFT (1U)
64952 /*! DSE - Drive Strength Field
64953  *  0b0..normal driver
64954  *  0b1..high driver
64955  */
64956 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DSE_MASK)
64957 
64958 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUE_MASK (0x4U)
64959 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUE_SHIFT (2U)
64960 /*! PUE - Pull / Keep Select Field
64961  *  0b0..Pull Disable
64962  *  0b1..Pull Enable
64963  */
64964 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUE_MASK)
64965 
64966 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUS_MASK (0x8U)
64967 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUS_SHIFT (3U)
64968 /*! PUS - Pull Up / Down Config. Field
64969  *  0b0..Weak pull down
64970  *  0b1..Weak pull up
64971  */
64972 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_PUS_MASK)
64973 
64974 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_ODE_SNVS_MASK (0x40U)
64975 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_ODE_SNVS_SHIFT (6U)
64976 /*! ODE_SNVS - Open Drain SNVS Field
64977  *  0b0..Disabled
64978  *  0b1..Enabled
64979  */
64980 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_ODE_SNVS_MASK)
64981 
64982 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_MASK (0x30000000U)
64983 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_SHIFT (28U)
64984 /*! DWP - Domain write protection
64985  *  0b00..Both cores are allowed
64986  *  0b01..CM7 is forbidden
64987  *  0b10..CM4 is forbidden
64988  *  0b11..Both cores are forbidden
64989  */
64990 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_MASK)
64991 
64992 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_LOCK_MASK (0xC0000000U)
64993 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_LOCK_SHIFT (30U)
64994 /*! DWP_LOCK - Domain write protection lock
64995  *  0b00..Neither of DWP bits is locked
64996  *  0b01..The lower DWP bit is locked
64997  *  0b10..The higher DWP bit is locked
64998  *  0b11..Both DWP bits are locked
64999  */
65000 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_02_DIG_DWP_LOCK_MASK)
65001 /*! @} */
65002 
65003 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG SW PAD Control Register */
65004 /*! @{ */
65005 
65006 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_SRE_MASK (0x1U)
65007 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_SRE_SHIFT (0U)
65008 /*! SRE - Slew Rate Field
65009  *  0b0..Slow Slew Rate
65010  *  0b1..Fast Slew Rate
65011  */
65012 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_SRE_MASK)
65013 
65014 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DSE_MASK (0x2U)
65015 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DSE_SHIFT (1U)
65016 /*! DSE - Drive Strength Field
65017  *  0b0..normal driver
65018  *  0b1..high driver
65019  */
65020 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DSE_MASK)
65021 
65022 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUE_MASK (0x4U)
65023 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUE_SHIFT (2U)
65024 /*! PUE - Pull / Keep Select Field
65025  *  0b0..Pull Disable
65026  *  0b1..Pull Enable
65027  */
65028 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUE_MASK)
65029 
65030 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUS_MASK (0x8U)
65031 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUS_SHIFT (3U)
65032 /*! PUS - Pull Up / Down Config. Field
65033  *  0b0..Weak pull down
65034  *  0b1..Weak pull up
65035  */
65036 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_PUS_MASK)
65037 
65038 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_ODE_SNVS_MASK (0x40U)
65039 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_ODE_SNVS_SHIFT (6U)
65040 /*! ODE_SNVS - Open Drain SNVS Field
65041  *  0b0..Disabled
65042  *  0b1..Enabled
65043  */
65044 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_ODE_SNVS_MASK)
65045 
65046 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_MASK (0x30000000U)
65047 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_SHIFT (28U)
65048 /*! DWP - Domain write protection
65049  *  0b00..Both cores are allowed
65050  *  0b01..CM7 is forbidden
65051  *  0b10..CM4 is forbidden
65052  *  0b11..Both cores are forbidden
65053  */
65054 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_MASK)
65055 
65056 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_LOCK_MASK (0xC0000000U)
65057 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_LOCK_SHIFT (30U)
65058 /*! DWP_LOCK - Domain write protection lock
65059  *  0b00..Neither of DWP bits is locked
65060  *  0b01..The lower DWP bit is locked
65061  *  0b10..The higher DWP bit is locked
65062  *  0b11..Both DWP bits are locked
65063  */
65064 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_03_DIG_DWP_LOCK_MASK)
65065 /*! @} */
65066 
65067 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG SW PAD Control Register */
65068 /*! @{ */
65069 
65070 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_SRE_MASK (0x1U)
65071 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_SRE_SHIFT (0U)
65072 /*! SRE - Slew Rate Field
65073  *  0b0..Slow Slew Rate
65074  *  0b1..Fast Slew Rate
65075  */
65076 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_SRE_MASK)
65077 
65078 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DSE_MASK (0x2U)
65079 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DSE_SHIFT (1U)
65080 /*! DSE - Drive Strength Field
65081  *  0b0..normal driver
65082  *  0b1..high driver
65083  */
65084 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DSE_MASK)
65085 
65086 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUE_MASK (0x4U)
65087 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUE_SHIFT (2U)
65088 /*! PUE - Pull / Keep Select Field
65089  *  0b0..Pull Disable
65090  *  0b1..Pull Enable
65091  */
65092 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUE_MASK)
65093 
65094 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUS_MASK (0x8U)
65095 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUS_SHIFT (3U)
65096 /*! PUS - Pull Up / Down Config. Field
65097  *  0b0..Weak pull down
65098  *  0b1..Weak pull up
65099  */
65100 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_PUS_MASK)
65101 
65102 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_ODE_SNVS_MASK (0x40U)
65103 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_ODE_SNVS_SHIFT (6U)
65104 /*! ODE_SNVS - Open Drain SNVS Field
65105  *  0b0..Disabled
65106  *  0b1..Enabled
65107  */
65108 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_ODE_SNVS_MASK)
65109 
65110 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_MASK (0x30000000U)
65111 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_SHIFT (28U)
65112 /*! DWP - Domain write protection
65113  *  0b00..Both cores are allowed
65114  *  0b01..CM7 is forbidden
65115  *  0b10..CM4 is forbidden
65116  *  0b11..Both cores are forbidden
65117  */
65118 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_MASK)
65119 
65120 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_LOCK_MASK (0xC0000000U)
65121 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_LOCK_SHIFT (30U)
65122 /*! DWP_LOCK - Domain write protection lock
65123  *  0b00..Neither of DWP bits is locked
65124  *  0b01..The lower DWP bit is locked
65125  *  0b10..The higher DWP bit is locked
65126  *  0b11..Both DWP bits are locked
65127  */
65128 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_04_DIG_DWP_LOCK_MASK)
65129 /*! @} */
65130 
65131 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG SW PAD Control Register */
65132 /*! @{ */
65133 
65134 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_SRE_MASK (0x1U)
65135 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_SRE_SHIFT (0U)
65136 /*! SRE - Slew Rate Field
65137  *  0b0..Slow Slew Rate
65138  *  0b1..Fast Slew Rate
65139  */
65140 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_SRE_MASK)
65141 
65142 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DSE_MASK (0x2U)
65143 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DSE_SHIFT (1U)
65144 /*! DSE - Drive Strength Field
65145  *  0b0..normal driver
65146  *  0b1..high driver
65147  */
65148 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DSE_MASK)
65149 
65150 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUE_MASK (0x4U)
65151 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUE_SHIFT (2U)
65152 /*! PUE - Pull / Keep Select Field
65153  *  0b0..Pull Disable
65154  *  0b1..Pull Enable
65155  */
65156 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUE_MASK)
65157 
65158 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUS_MASK (0x8U)
65159 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUS_SHIFT (3U)
65160 /*! PUS - Pull Up / Down Config. Field
65161  *  0b0..Weak pull down
65162  *  0b1..Weak pull up
65163  */
65164 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_PUS_MASK)
65165 
65166 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_ODE_SNVS_MASK (0x40U)
65167 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_ODE_SNVS_SHIFT (6U)
65168 /*! ODE_SNVS - Open Drain SNVS Field
65169  *  0b0..Disabled
65170  *  0b1..Enabled
65171  */
65172 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_ODE_SNVS_MASK)
65173 
65174 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_MASK (0x30000000U)
65175 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_SHIFT (28U)
65176 /*! DWP - Domain write protection
65177  *  0b00..Both cores are allowed
65178  *  0b01..CM7 is forbidden
65179  *  0b10..CM4 is forbidden
65180  *  0b11..Both cores are forbidden
65181  */
65182 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_MASK)
65183 
65184 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_LOCK_MASK (0xC0000000U)
65185 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_LOCK_SHIFT (30U)
65186 /*! DWP_LOCK - Domain write protection lock
65187  *  0b00..Neither of DWP bits is locked
65188  *  0b01..The lower DWP bit is locked
65189  *  0b10..The higher DWP bit is locked
65190  *  0b11..Both DWP bits are locked
65191  */
65192 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_05_DIG_DWP_LOCK_MASK)
65193 /*! @} */
65194 
65195 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG SW PAD Control Register */
65196 /*! @{ */
65197 
65198 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_SRE_MASK (0x1U)
65199 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_SRE_SHIFT (0U)
65200 /*! SRE - Slew Rate Field
65201  *  0b0..Slow Slew Rate
65202  *  0b1..Fast Slew Rate
65203  */
65204 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_SRE_MASK)
65205 
65206 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DSE_MASK (0x2U)
65207 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DSE_SHIFT (1U)
65208 /*! DSE - Drive Strength Field
65209  *  0b0..normal driver
65210  *  0b1..high driver
65211  */
65212 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DSE_MASK)
65213 
65214 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUE_MASK (0x4U)
65215 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUE_SHIFT (2U)
65216 /*! PUE - Pull / Keep Select Field
65217  *  0b0..Pull Disable
65218  *  0b1..Pull Enable
65219  */
65220 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUE_MASK)
65221 
65222 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUS_MASK (0x8U)
65223 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUS_SHIFT (3U)
65224 /*! PUS - Pull Up / Down Config. Field
65225  *  0b0..Weak pull down
65226  *  0b1..Weak pull up
65227  */
65228 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_PUS_MASK)
65229 
65230 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_ODE_SNVS_MASK (0x40U)
65231 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_ODE_SNVS_SHIFT (6U)
65232 /*! ODE_SNVS - Open Drain SNVS Field
65233  *  0b0..Disabled
65234  *  0b1..Enabled
65235  */
65236 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_ODE_SNVS_MASK)
65237 
65238 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_MASK (0x30000000U)
65239 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_SHIFT (28U)
65240 /*! DWP - Domain write protection
65241  *  0b00..Both cores are allowed
65242  *  0b01..CM7 is forbidden
65243  *  0b10..CM4 is forbidden
65244  *  0b11..Both cores are forbidden
65245  */
65246 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_MASK)
65247 
65248 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_LOCK_MASK (0xC0000000U)
65249 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_LOCK_SHIFT (30U)
65250 /*! DWP_LOCK - Domain write protection lock
65251  *  0b00..Neither of DWP bits is locked
65252  *  0b01..The lower DWP bit is locked
65253  *  0b10..The higher DWP bit is locked
65254  *  0b11..Both DWP bits are locked
65255  */
65256 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_06_DIG_DWP_LOCK_MASK)
65257 /*! @} */
65258 
65259 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG SW PAD Control Register */
65260 /*! @{ */
65261 
65262 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_SRE_MASK (0x1U)
65263 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_SRE_SHIFT (0U)
65264 /*! SRE - Slew Rate Field
65265  *  0b0..Slow Slew Rate
65266  *  0b1..Fast Slew Rate
65267  */
65268 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_SRE_MASK)
65269 
65270 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DSE_MASK (0x2U)
65271 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DSE_SHIFT (1U)
65272 /*! DSE - Drive Strength Field
65273  *  0b0..normal driver
65274  *  0b1..high driver
65275  */
65276 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DSE_MASK)
65277 
65278 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUE_MASK (0x4U)
65279 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUE_SHIFT (2U)
65280 /*! PUE - Pull / Keep Select Field
65281  *  0b0..Pull Disable
65282  *  0b1..Pull Enable
65283  */
65284 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUE_MASK)
65285 
65286 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUS_MASK (0x8U)
65287 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUS_SHIFT (3U)
65288 /*! PUS - Pull Up / Down Config. Field
65289  *  0b0..Weak pull down
65290  *  0b1..Weak pull up
65291  */
65292 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_PUS_MASK)
65293 
65294 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_ODE_SNVS_MASK (0x40U)
65295 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_ODE_SNVS_SHIFT (6U)
65296 /*! ODE_SNVS - Open Drain SNVS Field
65297  *  0b0..Disabled
65298  *  0b1..Enabled
65299  */
65300 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_ODE_SNVS_MASK)
65301 
65302 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_MASK (0x30000000U)
65303 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_SHIFT (28U)
65304 /*! DWP - Domain write protection
65305  *  0b00..Both cores are allowed
65306  *  0b01..CM7 is forbidden
65307  *  0b10..CM4 is forbidden
65308  *  0b11..Both cores are forbidden
65309  */
65310 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_MASK)
65311 
65312 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_LOCK_MASK (0xC0000000U)
65313 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_LOCK_SHIFT (30U)
65314 /*! DWP_LOCK - Domain write protection lock
65315  *  0b00..Neither of DWP bits is locked
65316  *  0b01..The lower DWP bit is locked
65317  *  0b10..The higher DWP bit is locked
65318  *  0b11..Both DWP bits are locked
65319  */
65320 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_07_DIG_DWP_LOCK_MASK)
65321 /*! @} */
65322 
65323 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG SW PAD Control Register */
65324 /*! @{ */
65325 
65326 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_SRE_MASK (0x1U)
65327 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_SRE_SHIFT (0U)
65328 /*! SRE - Slew Rate Field
65329  *  0b0..Slow Slew Rate
65330  *  0b1..Fast Slew Rate
65331  */
65332 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_SRE_MASK)
65333 
65334 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DSE_MASK (0x2U)
65335 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DSE_SHIFT (1U)
65336 /*! DSE - Drive Strength Field
65337  *  0b0..normal driver
65338  *  0b1..high driver
65339  */
65340 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DSE_MASK)
65341 
65342 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUE_MASK (0x4U)
65343 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUE_SHIFT (2U)
65344 /*! PUE - Pull / Keep Select Field
65345  *  0b0..Pull Disable
65346  *  0b1..Pull Enable
65347  */
65348 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUE_MASK)
65349 
65350 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUS_MASK (0x8U)
65351 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUS_SHIFT (3U)
65352 /*! PUS - Pull Up / Down Config. Field
65353  *  0b0..Weak pull down
65354  *  0b1..Weak pull up
65355  */
65356 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_PUS_MASK)
65357 
65358 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_ODE_SNVS_MASK (0x40U)
65359 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_ODE_SNVS_SHIFT (6U)
65360 /*! ODE_SNVS - Open Drain SNVS Field
65361  *  0b0..Disabled
65362  *  0b1..Enabled
65363  */
65364 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_ODE_SNVS_MASK)
65365 
65366 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_MASK (0x30000000U)
65367 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_SHIFT (28U)
65368 /*! DWP - Domain write protection
65369  *  0b00..Both cores are allowed
65370  *  0b01..CM7 is forbidden
65371  *  0b10..CM4 is forbidden
65372  *  0b11..Both cores are forbidden
65373  */
65374 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_MASK)
65375 
65376 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_LOCK_MASK (0xC0000000U)
65377 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_LOCK_SHIFT (30U)
65378 /*! DWP_LOCK - Domain write protection lock
65379  *  0b00..Neither of DWP bits is locked
65380  *  0b01..The lower DWP bit is locked
65381  *  0b10..The higher DWP bit is locked
65382  *  0b11..Both DWP bits are locked
65383  */
65384 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_08_DIG_DWP_LOCK_MASK)
65385 /*! @} */
65386 
65387 /*! @name SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG - SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG SW PAD Control Register */
65388 /*! @{ */
65389 
65390 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_SRE_MASK (0x1U)
65391 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_SRE_SHIFT (0U)
65392 /*! SRE - Slew Rate Field
65393  *  0b0..Slow Slew Rate
65394  *  0b1..Fast Slew Rate
65395  */
65396 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_SRE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_SRE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_SRE_MASK)
65397 
65398 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DSE_MASK (0x2U)
65399 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DSE_SHIFT (1U)
65400 /*! DSE - Drive Strength Field
65401  *  0b0..normal driver
65402  *  0b1..high driver
65403  */
65404 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DSE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DSE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DSE_MASK)
65405 
65406 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUE_MASK (0x4U)
65407 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUE_SHIFT (2U)
65408 /*! PUE - Pull / Keep Select Field
65409  *  0b0..Pull Disable
65410  *  0b1..Pull Enable
65411  */
65412 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUE_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUE_MASK)
65413 
65414 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUS_MASK (0x8U)
65415 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUS_SHIFT (3U)
65416 /*! PUS - Pull Up / Down Config. Field
65417  *  0b0..Weak pull down
65418  *  0b1..Weak pull up
65419  */
65420 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_PUS_MASK)
65421 
65422 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_ODE_SNVS_MASK (0x40U)
65423 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_ODE_SNVS_SHIFT (6U)
65424 /*! ODE_SNVS - Open Drain SNVS Field
65425  *  0b0..Disabled
65426  *  0b1..Enabled
65427  */
65428 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_ODE_SNVS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_ODE_SNVS_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_ODE_SNVS_MASK)
65429 
65430 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_MASK (0x30000000U)
65431 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_SHIFT (28U)
65432 /*! DWP - Domain write protection
65433  *  0b00..Both cores are allowed
65434  *  0b01..CM7 is forbidden
65435  *  0b10..CM4 is forbidden
65436  *  0b11..Both cores are forbidden
65437  */
65438 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_MASK)
65439 
65440 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_LOCK_MASK (0xC0000000U)
65441 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_LOCK_SHIFT (30U)
65442 /*! DWP_LOCK - Domain write protection lock
65443  *  0b00..Neither of DWP bits is locked
65444  *  0b01..The lower DWP bit is locked
65445  *  0b10..The higher DWP bit is locked
65446  *  0b11..Both DWP bits are locked
65447  */
65448 #define IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_LOCK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_LOCK_SHIFT)) & IOMUXC_SNVS_SW_PAD_CTL_PAD_GPIO_SNVS_09_DIG_DWP_LOCK_MASK)
65449 /*! @} */
65450 
65451 
65452 /*!
65453  * @}
65454  */ /* end of group IOMUXC_SNVS_Register_Masks */
65455 
65456 
65457 /* IOMUXC_SNVS - Peripheral instance base addresses */
65458 /** Peripheral IOMUXC_SNVS base address */
65459 #define IOMUXC_SNVS_BASE                         (0x40C94000u)
65460 /** Peripheral IOMUXC_SNVS base pointer */
65461 #define IOMUXC_SNVS                              ((IOMUXC_SNVS_Type *)IOMUXC_SNVS_BASE)
65462 /** Array initializer of IOMUXC_SNVS peripheral base addresses */
65463 #define IOMUXC_SNVS_BASE_ADDRS                   { IOMUXC_SNVS_BASE }
65464 /** Array initializer of IOMUXC_SNVS peripheral base pointers */
65465 #define IOMUXC_SNVS_BASE_PTRS                    { IOMUXC_SNVS }
65466 
65467 /*!
65468  * @}
65469  */ /* end of group IOMUXC_SNVS_Peripheral_Access_Layer */
65470 
65471 
65472 /* ----------------------------------------------------------------------------
65473    -- IOMUXC_SNVS_GPR Peripheral Access Layer
65474    ---------------------------------------------------------------------------- */
65475 
65476 /*!
65477  * @addtogroup IOMUXC_SNVS_GPR_Peripheral_Access_Layer IOMUXC_SNVS_GPR Peripheral Access Layer
65478  * @{
65479  */
65480 
65481 /** IOMUXC_SNVS_GPR - Register Layout Typedef */
65482 typedef struct {
65483   __IO uint32_t GPR[32];                           /**< GPR0 General Purpose Register, array offset: 0x0, array step: 0x4 */
65484   __IO uint32_t GPR32;                             /**< GPR32 General Purpose Register, offset: 0x80 */
65485   __IO uint32_t GPR33;                             /**< GPR33 General Purpose Register, offset: 0x84 */
65486   __IO uint32_t GPR34;                             /**< GPR34 General Purpose Register, offset: 0x88 */
65487   __IO uint32_t GPR35;                             /**< GPR35 General Purpose Register, offset: 0x8C */
65488   __IO uint32_t GPR36;                             /**< GPR36 General Purpose Register, offset: 0x90 */
65489   __IO uint32_t GPR37;                             /**< GPR37 General Purpose Register, offset: 0x94 */
65490 } IOMUXC_SNVS_GPR_Type;
65491 
65492 /* ----------------------------------------------------------------------------
65493    -- IOMUXC_SNVS_GPR Register Masks
65494    ---------------------------------------------------------------------------- */
65495 
65496 /*!
65497  * @addtogroup IOMUXC_SNVS_GPR_Register_Masks IOMUXC_SNVS_GPR Register Masks
65498  * @{
65499  */
65500 
65501 /*! @name GPR - GPR0 General Purpose Register */
65502 /*! @{ */
65503 
65504 #define IOMUXC_SNVS_GPR_GPR_GPR_MASK             (0xFFFFFFFFU)
65505 #define IOMUXC_SNVS_GPR_GPR_GPR_SHIFT            (0U)
65506 /*! GPR - General purpose bits
65507  */
65508 #define IOMUXC_SNVS_GPR_GPR_GPR(x)               (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR_GPR_SHIFT)) & IOMUXC_SNVS_GPR_GPR_GPR_MASK)
65509 /*! @} */
65510 
65511 /* The count of IOMUXC_SNVS_GPR_GPR */
65512 #define IOMUXC_SNVS_GPR_GPR_COUNT                (32U)
65513 
65514 /*! @name GPR32 - GPR32 General Purpose Register */
65515 /*! @{ */
65516 
65517 #define IOMUXC_SNVS_GPR_GPR32_GPR_MASK           (0xFFFEU)
65518 #define IOMUXC_SNVS_GPR_GPR32_GPR_SHIFT          (1U)
65519 /*! GPR - General purpose bits
65520  */
65521 #define IOMUXC_SNVS_GPR_GPR32_GPR(x)             (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR32_GPR_SHIFT)) & IOMUXC_SNVS_GPR_GPR32_GPR_MASK)
65522 
65523 #define IOMUXC_SNVS_GPR_GPR32_LOCK_MASK          (0xFFFF0000U)
65524 #define IOMUXC_SNVS_GPR_GPR32_LOCK_SHIFT         (16U)
65525 /*! LOCK - Lock the write to bit 15:0
65526  */
65527 #define IOMUXC_SNVS_GPR_GPR32_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR32_LOCK_SHIFT)) & IOMUXC_SNVS_GPR_GPR32_LOCK_MASK)
65528 /*! @} */
65529 
65530 /*! @name GPR33 - GPR33 General Purpose Register */
65531 /*! @{ */
65532 
65533 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STATUS_CAPT_CLR_MASK (0x2U)
65534 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STATUS_CAPT_CLR_SHIFT (1U)
65535 /*! DCDC_STATUS_CAPT_CLR - DCDC captured status clear
65536  *  0b0..No change
65537  *  0b1..Clear the 3 bits of DCDC captured status: DCDC_OVER_VOL, DCDC_OVER_CUR, and DCDC_IN_LOW_VOL
65538  */
65539 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STATUS_CAPT_CLR(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_DCDC_STATUS_CAPT_CLR_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_DCDC_STATUS_CAPT_CLR_MASK)
65540 
65541 #define IOMUXC_SNVS_GPR_GPR33_SNVS_BYPASS_EN_MASK (0x4U)
65542 #define IOMUXC_SNVS_GPR_GPR33_SNVS_BYPASS_EN_SHIFT (2U)
65543 /*! SNVS_BYPASS_EN - SNVS LDO_SNVS_ANA bypass enable
65544  *  0b1..Enable bypass
65545  *  0b0..Disable bypass
65546  */
65547 #define IOMUXC_SNVS_GPR_GPR33_SNVS_BYPASS_EN(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_SNVS_BYPASS_EN_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_SNVS_BYPASS_EN_MASK)
65548 
65549 #define IOMUXC_SNVS_GPR_GPR33_DCDC_IN_LOW_VOL_MASK (0x10000U)
65550 #define IOMUXC_SNVS_GPR_GPR33_DCDC_IN_LOW_VOL_SHIFT (16U)
65551 /*! DCDC_IN_LOW_VOL - DCDC_IN low voltage detect
65552  *  0b1..Voltage on DCDC_IN is lower than 2.6V
65553  *  0b0..Voltage on DCDC_IN is higher than 2.6V
65554  */
65555 #define IOMUXC_SNVS_GPR_GPR33_DCDC_IN_LOW_VOL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_DCDC_IN_LOW_VOL_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_DCDC_IN_LOW_VOL_MASK)
65556 
65557 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_CUR_MASK (0x20000U)
65558 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_CUR_SHIFT (17U)
65559 /*! DCDC_OVER_CUR - DCDC output over current alert
65560  *  0b1..Overcurrent on DCDC output
65561  *  0b0..No Overcurrent on DCDC output
65562  */
65563 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_CUR(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_CUR_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_CUR_MASK)
65564 
65565 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_VOL_MASK (0x40000U)
65566 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_VOL_SHIFT (18U)
65567 /*! DCDC_OVER_VOL - DCDC output over voltage alert
65568  *  0b1..Overvoltage on DCDC VDDLP0 or VDDLP8 output
65569  *  0b0..No Overvoltage on DCDC VDDLP0 or VDDLP8 output
65570  */
65571 #define IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_VOL(x)   (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_VOL_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_DCDC_OVER_VOL_MASK)
65572 
65573 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STS_DC_OK_MASK (0x80000U)
65574 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STS_DC_OK_SHIFT (19U)
65575 /*! DCDC_STS_DC_OK - DCDC status OK
65576  *  0b0..DCDC is settling
65577  *  0b1..DCDC already settled
65578  */
65579 #define IOMUXC_SNVS_GPR_GPR33_DCDC_STS_DC_OK(x)  (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_DCDC_STS_DC_OK_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_DCDC_STS_DC_OK_MASK)
65580 
65581 #define IOMUXC_SNVS_GPR_GPR33_SNVS_XTAL_CLK_OK_MASK (0x100000U)
65582 #define IOMUXC_SNVS_GPR_GPR33_SNVS_XTAL_CLK_OK_SHIFT (20U)
65583 /*! SNVS_XTAL_CLK_OK - 32K OSC ok flag
65584  *  0b1..32K oscillator is stable into normal operation
65585  *  0b0..32K oscillator is NOT stable into normal operation
65586  */
65587 #define IOMUXC_SNVS_GPR_GPR33_SNVS_XTAL_CLK_OK(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR33_SNVS_XTAL_CLK_OK_SHIFT)) & IOMUXC_SNVS_GPR_GPR33_SNVS_XTAL_CLK_OK_MASK)
65588 /*! @} */
65589 
65590 /*! @name GPR34 - GPR34 General Purpose Register */
65591 /*! @{ */
65592 
65593 #define IOMUXC_SNVS_GPR_GPR34_LOCK_MASK          (0x1U)
65594 #define IOMUXC_SNVS_GPR_GPR34_LOCK_SHIFT         (0U)
65595 /*! LOCK - Lock the write to bit 31:1
65596  *  0b0..Write access is not blocked
65597  *  0b1..Write access is blocked
65598  */
65599 #define IOMUXC_SNVS_GPR_GPR34_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_LOCK_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_LOCK_MASK)
65600 
65601 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SEL_MASK (0x2U)
65602 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SEL_SHIFT (1U)
65603 /*! SNVS_CORE_VOLT_DET_TRIM_SEL - SNVS core voltage detect trim select
65604  *  0b0..The trimming codes are selected from eFuse
65605  *  0b1..The trimming codes of core voltage detectors used to change the voltage falling trip point are selected from SNVS_CORE_VOLT_DET_TRIM
65606  */
65607 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SEL_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SEL_MASK)
65608 
65609 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_MASK (0xCU)
65610 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SHIFT (2U)
65611 /*! SNVS_CORE_VOLT_DET_TRIM - SNVS core voltage detect trim
65612  */
65613 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CORE_VOLT_DET_TRIM_MASK)
65614 
65615 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SEL_MASK (0x80U)
65616 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SEL_SHIFT (7U)
65617 /*! SNVS_CLK_DET_TRIM_SEL - SNVS clock detect trim select
65618  *  0b0..The trimming codes are selected from eFuse
65619  *  0b1..The trimming codes of clock detector used to change the boundary frequencies are selected from SNVS_CLK_DET_TRIM
65620  */
65621 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SEL_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SEL_MASK)
65622 
65623 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_MASK (0xFF00U)
65624 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SHIFT (8U)
65625 /*! SNVS_CLK_DET_TRIM - SNVS clock detect trim bits
65626  */
65627 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_TRIM_MASK)
65628 
65629 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_HIGH_MASK (0x30000U)
65630 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_HIGH_SHIFT (16U)
65631 /*! SNVS_CLK_DET_OFFSET_HIGH - SNVS clock detect offset of high boundary frequency
65632  *  0b00..No change (Default)
65633  *  0b01..Add +5 to the Trim
65634  *  0b10..Add +10 to the trim
65635  *  0b11..Add -5 to the Trim
65636  */
65637 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_HIGH_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_HIGH_MASK)
65638 
65639 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_LOW_MASK (0xC0000U)
65640 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_LOW_SHIFT (18U)
65641 /*! SNVS_CLK_DET_OFFSET_LOW - SNVS clock detect offset of low boundary frequency
65642  *  0b00..No change (Default)
65643  *  0b01..Add +5 to the Trim
65644  *  0b10..Add +10 to the trim
65645  *  0b11..Add -5 to the Trim
65646  */
65647 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_LOW_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CLK_DET_OFFSET_LOW_MASK)
65648 
65649 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CAP_TRIM_SEL_MASK (0x800000U)
65650 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CAP_TRIM_SEL_SHIFT (23U)
65651 /*! SNVS_CAP_TRIM_SEL - SNVS OSC load capacitor trim select
65652  *  0b0..The trimming codes are selected from eFuse
65653  *  0b1..The trimming codes are used from SNVS_OSC_CAP_TRIM (osc32k's load capacitor)
65654  */
65655 #define IOMUXC_SNVS_GPR_GPR34_SNVS_CAP_TRIM_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_CAP_TRIM_SEL_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_CAP_TRIM_SEL_MASK)
65656 
65657 #define IOMUXC_SNVS_GPR_GPR34_SNVS_OSC_CAP_TRIM_MASK (0xF000000U)
65658 #define IOMUXC_SNVS_GPR_GPR34_SNVS_OSC_CAP_TRIM_SHIFT (24U)
65659 /*! SNVS_OSC_CAP_TRIM - SNVS OSC load capacitor trim
65660  */
65661 #define IOMUXC_SNVS_GPR_GPR34_SNVS_OSC_CAP_TRIM(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR34_SNVS_OSC_CAP_TRIM_SHIFT)) & IOMUXC_SNVS_GPR_GPR34_SNVS_OSC_CAP_TRIM_MASK)
65662 /*! @} */
65663 
65664 /*! @name GPR35 - GPR35 General Purpose Register */
65665 /*! @{ */
65666 
65667 #define IOMUXC_SNVS_GPR_GPR35_LOCK_MASK          (0x1U)
65668 #define IOMUXC_SNVS_GPR_GPR35_LOCK_SHIFT         (0U)
65669 /*! LOCK - Lock the write to bit 31:1
65670  *  0b0..Write access is not blocked
65671  *  0b1..Write access is blocked
65672  */
65673 #define IOMUXC_SNVS_GPR_GPR35_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_LOCK_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_LOCK_MASK)
65674 
65675 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SEL_MASK (0x8U)
65676 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SEL_SHIFT (3U)
65677 /*! SNVS_VOLT_DET_TRIM_SEL - SNVS voltage detect trim select
65678  *  0b0..The trimming codes are selected from eFuse
65679  *  0b1..The trimming codes of voltage detectors to change the voltage boundaries in battery voltage detecting are selected from SNVS_VOLT_DET_TRIM
65680  */
65681 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SEL_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SEL_MASK)
65682 
65683 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_MASK (0xFF0U)
65684 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SHIFT (4U)
65685 /*! SNVS_VOLT_DET_TRIM - SNVS voltage detect trim
65686  */
65687 #define IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_VOLT_DET_TRIM_MASK)
65688 
65689 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SEL_MASK (0x8000U)
65690 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SEL_SHIFT (15U)
65691 /*! SNVS_TEMP_DET_TRIM_SEL - SNVS temperature detect trim select
65692  *  0b0..The trimming codes are selected from eFuse
65693  *  0b1..The trimming codes to define the temperature boundaries of temperature detector are selected from SNVS_TEMP_DET_TRIM
65694  */
65695 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SEL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SEL_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SEL_MASK)
65696 
65697 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_MASK (0xFFF0000U)
65698 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SHIFT (16U)
65699 /*! SNVS_TEMP_DET_TRIM - SNVS temperature detect trim
65700  */
65701 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_TRIM_MASK)
65702 
65703 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_HIGH_MASK (0x30000000U)
65704 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_HIGH_SHIFT (28U)
65705 /*! SNVS_TEMP_DET_OFFSET_HIGH - SNVS temperature detect offset of high temperature boundary
65706  *  0b00..No change (Default)
65707  *  0b01..Add +5 to the Trim
65708  *  0b10..Add +10 to the trim
65709  *  0b11..Add -5 to the Trim
65710  */
65711 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_HIGH(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_HIGH_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_HIGH_MASK)
65712 
65713 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_LOW_MASK (0xC0000000U)
65714 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_LOW_SHIFT (30U)
65715 /*! SNVS_TEMP_DET_OFFSET_LOW - SNVS temperature detect offset of low temperature boundary
65716  *  0b00..No change (Default)
65717  *  0b01..Add +5 to the Trim
65718  *  0b10..Add +10 to the trim
65719  *  0b11..Add -5 to the Trim
65720  */
65721 #define IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_LOW(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_LOW_SHIFT)) & IOMUXC_SNVS_GPR_GPR35_SNVS_TEMP_DET_OFFSET_LOW_MASK)
65722 /*! @} */
65723 
65724 /*! @name GPR36 - GPR36 General Purpose Register */
65725 /*! @{ */
65726 
65727 #define IOMUXC_SNVS_GPR_GPR36_SNVSDIG_SNVS1P8_ISO_EN_MASK (0x800000U)
65728 #define IOMUXC_SNVS_GPR_GPR36_SNVSDIG_SNVS1P8_ISO_EN_SHIFT (23U)
65729 /*! SNVSDIG_SNVS1P8_ISO_EN - SNVS RAM isolation enable bit
65730  *  0b1..Enable the isolation to avoid extra leakage power before SNVS SRAM peripheral power or LDO_SNVS_DIG is switched off
65731  *  0b0..Enable SRAM access (It should be cleared after LDO_SNVS_DIG and SNVS SRAM peripheral power is back)
65732  */
65733 #define IOMUXC_SNVS_GPR_GPR36_SNVSDIG_SNVS1P8_ISO_EN(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVSDIG_SNVS1P8_ISO_EN_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVSDIG_SNVS1P8_ISO_EN_MASK)
65734 
65735 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_SLEEP_MASK (0x4000000U)
65736 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_SLEEP_SHIFT (26U)
65737 /*! SNVS_SRAM_SLEEP - SNVS SRAM power-down enable bit
65738  *  0b0..Enable SRAM access (It should be cleared after LDO_SNVS_DIG is enabled)
65739  *  0b1..SNVS SRAM can go in Shutdown/ Periphery Off Array On/ Periphery On Array Off mode. In addition, this bit
65740  *       ensures power-up without stuck-at /high DC current states and hence must be held to 1 during wake-up, so
65741  *       this bit is default high.
65742  */
65743 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_SLEEP_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_SLEEP_MASK)
65744 
65745 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_STDBY_MASK (0x8000000U)
65746 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_STDBY_SHIFT (27U)
65747 /*! SNVS_SRAM_STDBY - SNVS SRAM standby enable bit
65748  *  0b1..SNVS SRAM enters low leakage state and large drivers are switched OFF
65749  *  0b0..SNVS SRAM does not enter low leakage state
65750  */
65751 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_STDBY(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_STDBY_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_STDBY_MASK)
65752 
65753 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGEMP_FORCE_MASK (0x10000000U)
65754 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGEMP_FORCE_SHIFT (28U)
65755 /*! SNVS_SRAM_PSWLARGEMP_FORCE - SNVS SRAM large switch control bit for peripheral
65756  *  0b1..Switch off SNVS SRAM power for peripheral (SRAM array power is not impacted, and data can be retained)
65757  *  0b0..Switch on SNVS SRAM power for peripheral
65758  */
65759 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGEMP_FORCE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGEMP_FORCE_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGEMP_FORCE_MASK)
65760 
65761 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGE_MASK (0x20000000U)
65762 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGE_SHIFT (29U)
65763 /*! SNVS_SRAM_PSWLARGE - SNVS SRAM large switch control bit
65764  *  0b1..Switch off SNVS SRAM power for peripheral and array
65765  *  0b0..Switch on SNVS SRAM power for peripheral and array
65766  */
65767 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGE_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWLARGE_MASK)
65768 
65769 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALLMP_FORCE_MASK (0x40000000U)
65770 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALLMP_FORCE_SHIFT (30U)
65771 /*! SNVS_SRAM_PSWSMALLMP_FORCE - SNVS SRAM small switch control bit for peripheral
65772  *  0b1..Switch off SNVS SRAM power for peripheral (SRAM array power is not impacted, and data can be retained)
65773  *  0b0..Switch on SNVS SRAM power for peripheral
65774  */
65775 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALLMP_FORCE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALLMP_FORCE_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALLMP_FORCE_MASK)
65776 
65777 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALL_MASK (0x80000000U)
65778 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALL_SHIFT (31U)
65779 /*! SNVS_SRAM_PSWSMALL - SNVS SRAM small switch control bit
65780  *  0b1..Switch off SNVS SRAM power for peripheral and array
65781  *  0b0..Switch on SNVS SRAM power for peripheral and array
65782  */
65783 #define IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALL(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALL_SHIFT)) & IOMUXC_SNVS_GPR_GPR36_SNVS_SRAM_PSWSMALL_MASK)
65784 /*! @} */
65785 
65786 /*! @name GPR37 - GPR37 General Purpose Register */
65787 /*! @{ */
65788 
65789 #define IOMUXC_SNVS_GPR_GPR37_LOCK_MASK          (0x1U)
65790 #define IOMUXC_SNVS_GPR_GPR37_LOCK_SHIFT         (0U)
65791 /*! LOCK - Lock the write to bit 31:1
65792  *  0b0..Write access is not blocked
65793  *  0b1..Write access is blocked
65794  */
65795 #define IOMUXC_SNVS_GPR_GPR37_LOCK(x)            (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR37_LOCK_SHIFT)) & IOMUXC_SNVS_GPR_GPR37_LOCK_MASK)
65796 
65797 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUE_MASK (0x7FEU)
65798 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUE_SHIFT (1U)
65799 /*! SNVS_TAMPER_PUE - SNVS tamper detect pin pull enable bit
65800  */
65801 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUE(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUE_SHIFT)) & IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUE_MASK)
65802 
65803 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUS_MASK (0x1FF800U)
65804 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUS_SHIFT (11U)
65805 /*! SNVS_TAMPER_PUS - SNVS tamper detect pin pull selection bit
65806  */
65807 #define IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUS(x) (((uint32_t)(((uint32_t)(x)) << IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUS_SHIFT)) & IOMUXC_SNVS_GPR_GPR37_SNVS_TAMPER_PUS_MASK)
65808 /*! @} */
65809 
65810 
65811 /*!
65812  * @}
65813  */ /* end of group IOMUXC_SNVS_GPR_Register_Masks */
65814 
65815 
65816 /* IOMUXC_SNVS_GPR - Peripheral instance base addresses */
65817 /** Peripheral IOMUXC_SNVS_GPR base address */
65818 #define IOMUXC_SNVS_GPR_BASE                     (0x40C98000u)
65819 /** Peripheral IOMUXC_SNVS_GPR base pointer */
65820 #define IOMUXC_SNVS_GPR                          ((IOMUXC_SNVS_GPR_Type *)IOMUXC_SNVS_GPR_BASE)
65821 /** Array initializer of IOMUXC_SNVS_GPR peripheral base addresses */
65822 #define IOMUXC_SNVS_GPR_BASE_ADDRS               { IOMUXC_SNVS_GPR_BASE }
65823 /** Array initializer of IOMUXC_SNVS_GPR peripheral base pointers */
65824 #define IOMUXC_SNVS_GPR_BASE_PTRS                { IOMUXC_SNVS_GPR }
65825 
65826 /*!
65827  * @}
65828  */ /* end of group IOMUXC_SNVS_GPR_Peripheral_Access_Layer */
65829 
65830 
65831 /* ----------------------------------------------------------------------------
65832    -- IPS_DOMAIN Peripheral Access Layer
65833    ---------------------------------------------------------------------------- */
65834 
65835 /*!
65836  * @addtogroup IPS_DOMAIN_Peripheral_Access_Layer IPS_DOMAIN Peripheral Access Layer
65837  * @{
65838  */
65839 
65840 /** IPS_DOMAIN - Register Layout Typedef */
65841 typedef struct {
65842   struct {                                         /* offset: 0x0, array step: 0x10 */
65843     __IO uint32_t SLOT_CTRL;                         /**< Slot Control Register, array offset: 0x0, array step: 0x10 */
65844          uint8_t RESERVED_0[12];
65845   } SLOT_CTRL[38];
65846 } IPS_DOMAIN_Type;
65847 
65848 /* ----------------------------------------------------------------------------
65849    -- IPS_DOMAIN Register Masks
65850    ---------------------------------------------------------------------------- */
65851 
65852 /*!
65853  * @addtogroup IPS_DOMAIN_Register_Masks IPS_DOMAIN Register Masks
65854  * @{
65855  */
65856 
65857 /*! @name SLOT_CTRL - Slot Control Register */
65858 /*! @{ */
65859 
65860 #define IPS_DOMAIN_SLOT_CTRL_LOCKED_DOMAIN_ID_MASK (0xFU)
65861 #define IPS_DOMAIN_SLOT_CTRL_LOCKED_DOMAIN_ID_SHIFT (0U)
65862 /*! LOCKED_DOMAIN_ID - Domain ID of the slot to be locked
65863  */
65864 #define IPS_DOMAIN_SLOT_CTRL_LOCKED_DOMAIN_ID(x) (((uint32_t)(((uint32_t)(x)) << IPS_DOMAIN_SLOT_CTRL_LOCKED_DOMAIN_ID_SHIFT)) & IPS_DOMAIN_SLOT_CTRL_LOCKED_DOMAIN_ID_MASK)
65865 
65866 #define IPS_DOMAIN_SLOT_CTRL_DOMAIN_LOCK_MASK    (0x8000U)
65867 #define IPS_DOMAIN_SLOT_CTRL_DOMAIN_LOCK_SHIFT   (15U)
65868 /*! DOMAIN_LOCK - Lock domain ID of this slot
65869  *  0b0..Do not lock the domain ID
65870  *  0b1..Lock the domain ID
65871  */
65872 #define IPS_DOMAIN_SLOT_CTRL_DOMAIN_LOCK(x)      (((uint32_t)(((uint32_t)(x)) << IPS_DOMAIN_SLOT_CTRL_DOMAIN_LOCK_SHIFT)) & IPS_DOMAIN_SLOT_CTRL_DOMAIN_LOCK_MASK)
65873 
65874 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_NONSECURE_MASK (0x10000U)
65875 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_NONSECURE_SHIFT (16U)
65876 /*! ALLOW_NONSECURE - Allow non-secure write access to this domain control register or domain register
65877  *  0b0..Do not allow non-secure write access
65878  *  0b1..Allow non-secure write access
65879  */
65880 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_NONSECURE(x)  (((uint32_t)(((uint32_t)(x)) << IPS_DOMAIN_SLOT_CTRL_ALLOW_NONSECURE_SHIFT)) & IPS_DOMAIN_SLOT_CTRL_ALLOW_NONSECURE_MASK)
65881 
65882 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_USER_MASK     (0x20000U)
65883 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_USER_SHIFT    (17U)
65884 /*! ALLOW_USER - Allow user write access to this domain control register or domain register
65885  *  0b0..Do not allow user write access
65886  *  0b1..Allow user write access
65887  */
65888 #define IPS_DOMAIN_SLOT_CTRL_ALLOW_USER(x)       (((uint32_t)(((uint32_t)(x)) << IPS_DOMAIN_SLOT_CTRL_ALLOW_USER_SHIFT)) & IPS_DOMAIN_SLOT_CTRL_ALLOW_USER_MASK)
65889 
65890 #define IPS_DOMAIN_SLOT_CTRL_LOCK_CONTROL_MASK   (0x80000000U)
65891 #define IPS_DOMAIN_SLOT_CTRL_LOCK_CONTROL_SHIFT  (31U)
65892 /*! LOCK_CONTROL - Lock control of this slot
65893  *  0b0..Do not lock the control register of this slot
65894  *  0b1..Lock the control register of this slot
65895  */
65896 #define IPS_DOMAIN_SLOT_CTRL_LOCK_CONTROL(x)     (((uint32_t)(((uint32_t)(x)) << IPS_DOMAIN_SLOT_CTRL_LOCK_CONTROL_SHIFT)) & IPS_DOMAIN_SLOT_CTRL_LOCK_CONTROL_MASK)
65897 /*! @} */
65898 
65899 /* The count of IPS_DOMAIN_SLOT_CTRL */
65900 #define IPS_DOMAIN_SLOT_CTRL_COUNT               (38U)
65901 
65902 
65903 /*!
65904  * @}
65905  */ /* end of group IPS_DOMAIN_Register_Masks */
65906 
65907 
65908 /* IPS_DOMAIN - Peripheral instance base addresses */
65909 /** Peripheral IPS_DOMAIN base address */
65910 #define IPS_DOMAIN_BASE                          (0x40C87C00u)
65911 /** Peripheral IPS_DOMAIN base pointer */
65912 #define IPS_DOMAIN                               ((IPS_DOMAIN_Type *)IPS_DOMAIN_BASE)
65913 /** Array initializer of IPS_DOMAIN peripheral base addresses */
65914 #define IPS_DOMAIN_BASE_ADDRS                    { IPS_DOMAIN_BASE }
65915 /** Array initializer of IPS_DOMAIN peripheral base pointers */
65916 #define IPS_DOMAIN_BASE_PTRS                     { IPS_DOMAIN }
65917 
65918 /*!
65919  * @}
65920  */ /* end of group IPS_DOMAIN_Peripheral_Access_Layer */
65921 
65922 
65923 /* ----------------------------------------------------------------------------
65924    -- KEY_MANAGER Peripheral Access Layer
65925    ---------------------------------------------------------------------------- */
65926 
65927 /*!
65928  * @addtogroup KEY_MANAGER_Peripheral_Access_Layer KEY_MANAGER Peripheral Access Layer
65929  * @{
65930  */
65931 
65932 /** KEY_MANAGER - Register Layout Typedef */
65933 typedef struct {
65934   __IO uint32_t MASTER_KEY_CTRL;                   /**< CSR Master Key Control Register, offset: 0x0 */
65935        uint8_t RESERVED_0[12];
65936   __IO uint32_t OTFAD1_KEY_CTRL;                   /**< CSR OTFAD-1 Key Control, offset: 0x10 */
65937        uint8_t RESERVED_1[4];
65938   __IO uint32_t OTFAD2_KEY_CTRL;                   /**< CSR OTFAD-2 Key Control, offset: 0x18 */
65939        uint8_t RESERVED_2[4];
65940   __IO uint32_t IEE_KEY_CTRL;                      /**< CSR IEE Key Control, offset: 0x20 */
65941        uint8_t RESERVED_3[12];
65942   __IO uint32_t PUF_KEY_CTRL;                      /**< CSR PUF Key Control, offset: 0x30 */
65943        uint8_t RESERVED_4[972];
65944   __IO uint32_t SLOT0_CTRL;                        /**< Slot 0 Control, offset: 0x400 */
65945   __IO uint32_t SLOT1_CTRL;                        /**< Slot1 Control, offset: 0x404 */
65946   __IO uint32_t SLOT2_CTRL;                        /**< Slot2 Control, offset: 0x408 */
65947   __IO uint32_t SLOT3_CTRL;                        /**< Slot3 Control, offset: 0x40C */
65948   __IO uint32_t SLOT4_CTRL;                        /**< Slot 4 Control, offset: 0x410 */
65949 } KEY_MANAGER_Type;
65950 
65951 /* ----------------------------------------------------------------------------
65952    -- KEY_MANAGER Register Masks
65953    ---------------------------------------------------------------------------- */
65954 
65955 /*!
65956  * @addtogroup KEY_MANAGER_Register_Masks KEY_MANAGER Register Masks
65957  * @{
65958  */
65959 
65960 /*! @name MASTER_KEY_CTRL - CSR Master Key Control Register */
65961 /*! @{ */
65962 
65963 #define KEY_MANAGER_MASTER_KEY_CTRL_SELECT_MASK  (0x1U)
65964 #define KEY_MANAGER_MASTER_KEY_CTRL_SELECT_SHIFT (0U)
65965 /*! SELECT - Key select for SNVS OTPMK. Default value comes from FUSE_MASTER_KEY_SEL.
65966  *  0b0..select key from UDF
65967  *  0b1..If LOCK = 1, select key from PUF, otherwise select key from fuse (bypass the fuse OTPMK to SNVS)
65968  */
65969 #define KEY_MANAGER_MASTER_KEY_CTRL_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_MASTER_KEY_CTRL_SELECT_SHIFT)) & KEY_MANAGER_MASTER_KEY_CTRL_SELECT_MASK)
65970 
65971 #define KEY_MANAGER_MASTER_KEY_CTRL_LOCK_MASK    (0x10000U)
65972 #define KEY_MANAGER_MASTER_KEY_CTRL_LOCK_SHIFT   (16U)
65973 /*! LOCK - lock this register, prevent from writing. Default value comes from FUSE_MASTER_KEY_SEL_LOCK.
65974  *  0b0..not locked
65975  *  0b1..locked
65976  */
65977 #define KEY_MANAGER_MASTER_KEY_CTRL_LOCK(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_MASTER_KEY_CTRL_LOCK_SHIFT)) & KEY_MANAGER_MASTER_KEY_CTRL_LOCK_MASK)
65978 /*! @} */
65979 
65980 /*! @name OTFAD1_KEY_CTRL - CSR OTFAD-1 Key Control */
65981 /*! @{ */
65982 
65983 #define KEY_MANAGER_OTFAD1_KEY_CTRL_SELECT_MASK  (0x1U)
65984 #define KEY_MANAGER_OTFAD1_KEY_CTRL_SELECT_SHIFT (0U)
65985 /*! SELECT - key select for OTFAD-1. Default value comes from FUSE_OTFAD1_KEY_SEL.
65986  *  0b0..Select key from OCOTP USER_KEY5
65987  *  0b1..If PUF_KEY_CTRL[LOCK] is 1, select key from PUF, otherwise select key from OCOTP USER_KEY5
65988  */
65989 #define KEY_MANAGER_OTFAD1_KEY_CTRL_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_OTFAD1_KEY_CTRL_SELECT_SHIFT)) & KEY_MANAGER_OTFAD1_KEY_CTRL_SELECT_MASK)
65990 
65991 #define KEY_MANAGER_OTFAD1_KEY_CTRL_LOCK_MASK    (0x10000U)
65992 #define KEY_MANAGER_OTFAD1_KEY_CTRL_LOCK_SHIFT   (16U)
65993 /*! LOCK - lock this register, prevent from writing. Default value comes from FUSE_OTFAD1_KEY_SEL_LOCK.
65994  *  0b0..not locked
65995  *  0b1..locked
65996  */
65997 #define KEY_MANAGER_OTFAD1_KEY_CTRL_LOCK(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_OTFAD1_KEY_CTRL_LOCK_SHIFT)) & KEY_MANAGER_OTFAD1_KEY_CTRL_LOCK_MASK)
65998 /*! @} */
65999 
66000 /*! @name OTFAD2_KEY_CTRL - CSR OTFAD-2 Key Control */
66001 /*! @{ */
66002 
66003 #define KEY_MANAGER_OTFAD2_KEY_CTRL_SELECT_MASK  (0x1U)
66004 #define KEY_MANAGER_OTFAD2_KEY_CTRL_SELECT_SHIFT (0U)
66005 /*! SELECT - key select for OTFAD-2. Default value comes from FUSE_OTFAD1_KEY_SEL.
66006  *  0b0..select key from OCOTP USER_KEY5
66007  *  0b1..If PUF_KEY_CTRL[LOCK] is 1, select key from PUF, otherwise select key from OCOTP USER_KEY5
66008  */
66009 #define KEY_MANAGER_OTFAD2_KEY_CTRL_SELECT(x)    (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_OTFAD2_KEY_CTRL_SELECT_SHIFT)) & KEY_MANAGER_OTFAD2_KEY_CTRL_SELECT_MASK)
66010 
66011 #define KEY_MANAGER_OTFAD2_KEY_CTRL_LOCK_MASK    (0x10000U)
66012 #define KEY_MANAGER_OTFAD2_KEY_CTRL_LOCK_SHIFT   (16U)
66013 /*! LOCK - lock this register, prevent from writing. Default value comes from FUSE_OTFAD2_KEY_SEL_LOCK.
66014  *  0b0..not locked
66015  *  0b1..locked
66016  */
66017 #define KEY_MANAGER_OTFAD2_KEY_CTRL_LOCK(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_OTFAD2_KEY_CTRL_LOCK_SHIFT)) & KEY_MANAGER_OTFAD2_KEY_CTRL_LOCK_MASK)
66018 /*! @} */
66019 
66020 /*! @name IEE_KEY_CTRL - CSR IEE Key Control */
66021 /*! @{ */
66022 
66023 #define KEY_MANAGER_IEE_KEY_CTRL_RELOAD_MASK     (0x1U)
66024 #define KEY_MANAGER_IEE_KEY_CTRL_RELOAD_SHIFT    (0U)
66025 /*! RELOAD - Restart load key signal for IEE
66026  *  0b0..Do nothing
66027  *  0b1..Restart IEE key load flow
66028  */
66029 #define KEY_MANAGER_IEE_KEY_CTRL_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_IEE_KEY_CTRL_RELOAD_SHIFT)) & KEY_MANAGER_IEE_KEY_CTRL_RELOAD_MASK)
66030 /*! @} */
66031 
66032 /*! @name PUF_KEY_CTRL - CSR PUF Key Control */
66033 /*! @{ */
66034 
66035 #define KEY_MANAGER_PUF_KEY_CTRL_LOCK_MASK       (0x1U)
66036 #define KEY_MANAGER_PUF_KEY_CTRL_LOCK_SHIFT      (0U)
66037 /*! LOCK - Lock signal for key select
66038  *  0b0..Do not lock the key select
66039  *  0b1..Lock the key select to select key from PUF, otherwise bypass key from OCOPT and do not lock. Once it has
66040  *       been set to 1, it cannot be reset manually. It will be set to 0 when the IEE key reload operation is done.
66041  */
66042 #define KEY_MANAGER_PUF_KEY_CTRL_LOCK(x)         (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_PUF_KEY_CTRL_LOCK_SHIFT)) & KEY_MANAGER_PUF_KEY_CTRL_LOCK_MASK)
66043 /*! @} */
66044 
66045 /*! @name SLOT0_CTRL - Slot 0 Control */
66046 /*! @{ */
66047 
66048 #define KEY_MANAGER_SLOT0_CTRL_WHITE_LIST_MASK   (0xFU)
66049 #define KEY_MANAGER_SLOT0_CTRL_WHITE_LIST_SHIFT  (0U)
66050 /*! WHITE_LIST - Whitelist
66051  */
66052 #define KEY_MANAGER_SLOT0_CTRL_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT0_CTRL_WHITE_LIST_SHIFT)) & KEY_MANAGER_SLOT0_CTRL_WHITE_LIST_MASK)
66053 
66054 #define KEY_MANAGER_SLOT0_CTRL_LOCK_LIST_MASK    (0x8000U)
66055 #define KEY_MANAGER_SLOT0_CTRL_LOCK_LIST_SHIFT   (15U)
66056 /*! LOCK_LIST - Lock whitelist
66057  *  0b0..Whitelist is not locked
66058  *  0b1..Whitelist is locked
66059  */
66060 #define KEY_MANAGER_SLOT0_CTRL_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT0_CTRL_LOCK_LIST_SHIFT)) & KEY_MANAGER_SLOT0_CTRL_LOCK_LIST_MASK)
66061 
66062 #define KEY_MANAGER_SLOT0_CTRL_TZ_NS_MASK        (0x10000U)
66063 #define KEY_MANAGER_SLOT0_CTRL_TZ_NS_SHIFT       (16U)
66064 /*! TZ_NS - Allow non-secure write access to this register and the slot it controls
66065  *  0b0..Do not allow non-secure write access
66066  *  0b1..Allow non-secure write access
66067  */
66068 #define KEY_MANAGER_SLOT0_CTRL_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT0_CTRL_TZ_NS_SHIFT)) & KEY_MANAGER_SLOT0_CTRL_TZ_NS_MASK)
66069 
66070 #define KEY_MANAGER_SLOT0_CTRL_TZ_USER_MASK      (0x20000U)
66071 #define KEY_MANAGER_SLOT0_CTRL_TZ_USER_SHIFT     (17U)
66072 /*! TZ_USER - Allow user write access to this register and the slot it controls
66073  *  0b0..Do not allow user write access
66074  *  0b1..Allow user write access
66075  */
66076 #define KEY_MANAGER_SLOT0_CTRL_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT0_CTRL_TZ_USER_SHIFT)) & KEY_MANAGER_SLOT0_CTRL_TZ_USER_MASK)
66077 
66078 #define KEY_MANAGER_SLOT0_CTRL_LOCK_CONTROL_MASK (0x80000000U)
66079 #define KEY_MANAGER_SLOT0_CTRL_LOCK_CONTROL_SHIFT (31U)
66080 /*! LOCK_CONTROL - Lock control of this slot
66081  *  0b0..Do not lock the control register of this slot
66082  *  0b1..Lock the control register of this slot
66083  */
66084 #define KEY_MANAGER_SLOT0_CTRL_LOCK_CONTROL(x)   (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT0_CTRL_LOCK_CONTROL_SHIFT)) & KEY_MANAGER_SLOT0_CTRL_LOCK_CONTROL_MASK)
66085 /*! @} */
66086 
66087 /*! @name SLOT1_CTRL - Slot1 Control */
66088 /*! @{ */
66089 
66090 #define KEY_MANAGER_SLOT1_CTRL_WHITE_LIST_MASK   (0xFU)
66091 #define KEY_MANAGER_SLOT1_CTRL_WHITE_LIST_SHIFT  (0U)
66092 /*! WHITE_LIST - Whitelist
66093  */
66094 #define KEY_MANAGER_SLOT1_CTRL_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT1_CTRL_WHITE_LIST_SHIFT)) & KEY_MANAGER_SLOT1_CTRL_WHITE_LIST_MASK)
66095 
66096 #define KEY_MANAGER_SLOT1_CTRL_LOCK_LIST_MASK    (0x8000U)
66097 #define KEY_MANAGER_SLOT1_CTRL_LOCK_LIST_SHIFT   (15U)
66098 /*! LOCK_LIST - Lock whitelist
66099  *  0b0..Whitelist is not locked
66100  *  0b1..Whitelist is locked
66101  */
66102 #define KEY_MANAGER_SLOT1_CTRL_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT1_CTRL_LOCK_LIST_SHIFT)) & KEY_MANAGER_SLOT1_CTRL_LOCK_LIST_MASK)
66103 
66104 #define KEY_MANAGER_SLOT1_CTRL_TZ_NS_MASK        (0x10000U)
66105 #define KEY_MANAGER_SLOT1_CTRL_TZ_NS_SHIFT       (16U)
66106 /*! TZ_NS - Allow non-secure write access to this register and the slot it controls
66107  *  0b0..Do not allow non-secure write access
66108  *  0b1..Allow non-secure write access
66109  */
66110 #define KEY_MANAGER_SLOT1_CTRL_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT1_CTRL_TZ_NS_SHIFT)) & KEY_MANAGER_SLOT1_CTRL_TZ_NS_MASK)
66111 
66112 #define KEY_MANAGER_SLOT1_CTRL_TZ_USER_MASK      (0x20000U)
66113 #define KEY_MANAGER_SLOT1_CTRL_TZ_USER_SHIFT     (17U)
66114 /*! TZ_USER - Allow user write access to this register and the slot it controls
66115  *  0b0..Do not allow user write access
66116  *  0b1..Allow user write access
66117  */
66118 #define KEY_MANAGER_SLOT1_CTRL_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT1_CTRL_TZ_USER_SHIFT)) & KEY_MANAGER_SLOT1_CTRL_TZ_USER_MASK)
66119 
66120 #define KEY_MANAGER_SLOT1_CTRL_LOCK_CONTROL_MASK (0x80000000U)
66121 #define KEY_MANAGER_SLOT1_CTRL_LOCK_CONTROL_SHIFT (31U)
66122 /*! LOCK_CONTROL - Lock control of this slot
66123  *  0b0..Do not lock the control register of this slot
66124  *  0b1..Lock the control register of this slot
66125  */
66126 #define KEY_MANAGER_SLOT1_CTRL_LOCK_CONTROL(x)   (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT1_CTRL_LOCK_CONTROL_SHIFT)) & KEY_MANAGER_SLOT1_CTRL_LOCK_CONTROL_MASK)
66127 /*! @} */
66128 
66129 /*! @name SLOT2_CTRL - Slot2 Control */
66130 /*! @{ */
66131 
66132 #define KEY_MANAGER_SLOT2_CTRL_WHITE_LIST_MASK   (0xFU)
66133 #define KEY_MANAGER_SLOT2_CTRL_WHITE_LIST_SHIFT  (0U)
66134 /*! WHITE_LIST - Whitelist
66135  */
66136 #define KEY_MANAGER_SLOT2_CTRL_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT2_CTRL_WHITE_LIST_SHIFT)) & KEY_MANAGER_SLOT2_CTRL_WHITE_LIST_MASK)
66137 
66138 #define KEY_MANAGER_SLOT2_CTRL_LOCK_LIST_MASK    (0x8000U)
66139 #define KEY_MANAGER_SLOT2_CTRL_LOCK_LIST_SHIFT   (15U)
66140 /*! LOCK_LIST - Lock whitelist
66141  *  0b0..Whitelist is not locked
66142  *  0b1..Whitelist is locked
66143  */
66144 #define KEY_MANAGER_SLOT2_CTRL_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT2_CTRL_LOCK_LIST_SHIFT)) & KEY_MANAGER_SLOT2_CTRL_LOCK_LIST_MASK)
66145 
66146 #define KEY_MANAGER_SLOT2_CTRL_TZ_NS_MASK        (0x10000U)
66147 #define KEY_MANAGER_SLOT2_CTRL_TZ_NS_SHIFT       (16U)
66148 /*! TZ_NS - Allow non-secure write access to this register and the slot it controls
66149  *  0b0..Do not allow non-secure write access
66150  *  0b1..Allow non-secure write access
66151  */
66152 #define KEY_MANAGER_SLOT2_CTRL_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT2_CTRL_TZ_NS_SHIFT)) & KEY_MANAGER_SLOT2_CTRL_TZ_NS_MASK)
66153 
66154 #define KEY_MANAGER_SLOT2_CTRL_TZ_USER_MASK      (0x20000U)
66155 #define KEY_MANAGER_SLOT2_CTRL_TZ_USER_SHIFT     (17U)
66156 /*! TZ_USER - Allow user write access to this register and the slot it controls
66157  *  0b0..Do not allow user write access
66158  *  0b1..Allow user write access
66159  */
66160 #define KEY_MANAGER_SLOT2_CTRL_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT2_CTRL_TZ_USER_SHIFT)) & KEY_MANAGER_SLOT2_CTRL_TZ_USER_MASK)
66161 
66162 #define KEY_MANAGER_SLOT2_CTRL_LOCK_CONTROL_MASK (0x80000000U)
66163 #define KEY_MANAGER_SLOT2_CTRL_LOCK_CONTROL_SHIFT (31U)
66164 /*! LOCK_CONTROL - Lock control of this slot
66165  *  0b0..Do not lock the control register of this slot
66166  *  0b1..Lock the control register of this slot
66167  */
66168 #define KEY_MANAGER_SLOT2_CTRL_LOCK_CONTROL(x)   (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT2_CTRL_LOCK_CONTROL_SHIFT)) & KEY_MANAGER_SLOT2_CTRL_LOCK_CONTROL_MASK)
66169 /*! @} */
66170 
66171 /*! @name SLOT3_CTRL - Slot3 Control */
66172 /*! @{ */
66173 
66174 #define KEY_MANAGER_SLOT3_CTRL_WHITE_LIST_MASK   (0xFU)
66175 #define KEY_MANAGER_SLOT3_CTRL_WHITE_LIST_SHIFT  (0U)
66176 /*! WHITE_LIST - Whitelist
66177  */
66178 #define KEY_MANAGER_SLOT3_CTRL_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT3_CTRL_WHITE_LIST_SHIFT)) & KEY_MANAGER_SLOT3_CTRL_WHITE_LIST_MASK)
66179 
66180 #define KEY_MANAGER_SLOT3_CTRL_LOCK_LIST_MASK    (0x8000U)
66181 #define KEY_MANAGER_SLOT3_CTRL_LOCK_LIST_SHIFT   (15U)
66182 /*! LOCK_LIST - Lock whitelist
66183  *  0b0..Whitelist is not locked
66184  *  0b1..Whitelist is locked
66185  */
66186 #define KEY_MANAGER_SLOT3_CTRL_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT3_CTRL_LOCK_LIST_SHIFT)) & KEY_MANAGER_SLOT3_CTRL_LOCK_LIST_MASK)
66187 
66188 #define KEY_MANAGER_SLOT3_CTRL_TZ_NS_MASK        (0x10000U)
66189 #define KEY_MANAGER_SLOT3_CTRL_TZ_NS_SHIFT       (16U)
66190 /*! TZ_NS - Allow non-secure write access to this register and the slot it controls
66191  *  0b0..Do not allow non-secure write access
66192  *  0b1..Allow non-secure write access
66193  */
66194 #define KEY_MANAGER_SLOT3_CTRL_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT3_CTRL_TZ_NS_SHIFT)) & KEY_MANAGER_SLOT3_CTRL_TZ_NS_MASK)
66195 
66196 #define KEY_MANAGER_SLOT3_CTRL_TZ_USER_MASK      (0x20000U)
66197 #define KEY_MANAGER_SLOT3_CTRL_TZ_USER_SHIFT     (17U)
66198 /*! TZ_USER - Allow user write access to this register and the slot it controls
66199  *  0b0..Do not allow user write access
66200  *  0b1..Allow user write access
66201  */
66202 #define KEY_MANAGER_SLOT3_CTRL_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT3_CTRL_TZ_USER_SHIFT)) & KEY_MANAGER_SLOT3_CTRL_TZ_USER_MASK)
66203 
66204 #define KEY_MANAGER_SLOT3_CTRL_LOCK_CONTROL_MASK (0x80000000U)
66205 #define KEY_MANAGER_SLOT3_CTRL_LOCK_CONTROL_SHIFT (31U)
66206 /*! LOCK_CONTROL - Lock control of this slot
66207  *  0b0..Do not lock the control register of this slot
66208  *  0b1..Lock the control register of this slot
66209  */
66210 #define KEY_MANAGER_SLOT3_CTRL_LOCK_CONTROL(x)   (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT3_CTRL_LOCK_CONTROL_SHIFT)) & KEY_MANAGER_SLOT3_CTRL_LOCK_CONTROL_MASK)
66211 /*! @} */
66212 
66213 /*! @name SLOT4_CTRL - Slot 4 Control */
66214 /*! @{ */
66215 
66216 #define KEY_MANAGER_SLOT4_CTRL_WHITE_LIST_MASK   (0xFU)
66217 #define KEY_MANAGER_SLOT4_CTRL_WHITE_LIST_SHIFT  (0U)
66218 /*! WHITE_LIST - Whitelist
66219  */
66220 #define KEY_MANAGER_SLOT4_CTRL_WHITE_LIST(x)     (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT4_CTRL_WHITE_LIST_SHIFT)) & KEY_MANAGER_SLOT4_CTRL_WHITE_LIST_MASK)
66221 
66222 #define KEY_MANAGER_SLOT4_CTRL_LOCK_LIST_MASK    (0x8000U)
66223 #define KEY_MANAGER_SLOT4_CTRL_LOCK_LIST_SHIFT   (15U)
66224 /*! LOCK_LIST - Lock whitelist
66225  *  0b0..Whitelist is not locked
66226  *  0b1..Whitelist is locked
66227  */
66228 #define KEY_MANAGER_SLOT4_CTRL_LOCK_LIST(x)      (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT4_CTRL_LOCK_LIST_SHIFT)) & KEY_MANAGER_SLOT4_CTRL_LOCK_LIST_MASK)
66229 
66230 #define KEY_MANAGER_SLOT4_CTRL_TZ_NS_MASK        (0x10000U)
66231 #define KEY_MANAGER_SLOT4_CTRL_TZ_NS_SHIFT       (16U)
66232 /*! TZ_NS - Allow non-secure write access to this register and the slot it controls
66233  *  0b0..Do not allow non-secure write access
66234  *  0b1..Allow non-secure write access
66235  */
66236 #define KEY_MANAGER_SLOT4_CTRL_TZ_NS(x)          (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT4_CTRL_TZ_NS_SHIFT)) & KEY_MANAGER_SLOT4_CTRL_TZ_NS_MASK)
66237 
66238 #define KEY_MANAGER_SLOT4_CTRL_TZ_USER_MASK      (0x20000U)
66239 #define KEY_MANAGER_SLOT4_CTRL_TZ_USER_SHIFT     (17U)
66240 /*! TZ_USER - Allow user write access to this register and the slot it controls
66241  *  0b0..Do not allow user write access
66242  *  0b1..Allow user write access
66243  */
66244 #define KEY_MANAGER_SLOT4_CTRL_TZ_USER(x)        (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT4_CTRL_TZ_USER_SHIFT)) & KEY_MANAGER_SLOT4_CTRL_TZ_USER_MASK)
66245 
66246 #define KEY_MANAGER_SLOT4_CTRL_LOCK_CONTROL_MASK (0x80000000U)
66247 #define KEY_MANAGER_SLOT4_CTRL_LOCK_CONTROL_SHIFT (31U)
66248 /*! LOCK_CONTROL - Lock control of this slot
66249  *  0b0..Do not lock the control register of this slot
66250  *  0b1..Lock the control register of this slot
66251  */
66252 #define KEY_MANAGER_SLOT4_CTRL_LOCK_CONTROL(x)   (((uint32_t)(((uint32_t)(x)) << KEY_MANAGER_SLOT4_CTRL_LOCK_CONTROL_SHIFT)) & KEY_MANAGER_SLOT4_CTRL_LOCK_CONTROL_MASK)
66253 /*! @} */
66254 
66255 
66256 /*!
66257  * @}
66258  */ /* end of group KEY_MANAGER_Register_Masks */
66259 
66260 
66261 /* KEY_MANAGER - Peripheral instance base addresses */
66262 /** Peripheral KEY_MANAGER base address */
66263 #define KEY_MANAGER_BASE                         (0x40C80000u)
66264 /** Peripheral KEY_MANAGER base pointer */
66265 #define KEY_MANAGER                              ((KEY_MANAGER_Type *)KEY_MANAGER_BASE)
66266 /** Array initializer of KEY_MANAGER peripheral base addresses */
66267 #define KEY_MANAGER_BASE_ADDRS                   { KEY_MANAGER_BASE }
66268 /** Array initializer of KEY_MANAGER peripheral base pointers */
66269 #define KEY_MANAGER_BASE_PTRS                    { KEY_MANAGER }
66270 
66271 /*!
66272  * @}
66273  */ /* end of group KEY_MANAGER_Peripheral_Access_Layer */
66274 
66275 
66276 /* ----------------------------------------------------------------------------
66277    -- KPP Peripheral Access Layer
66278    ---------------------------------------------------------------------------- */
66279 
66280 /*!
66281  * @addtogroup KPP_Peripheral_Access_Layer KPP Peripheral Access Layer
66282  * @{
66283  */
66284 
66285 /** KPP - Register Layout Typedef */
66286 typedef struct {
66287   __IO uint16_t KPCR;                              /**< Keypad Control Register, offset: 0x0 */
66288   __IO uint16_t KPSR;                              /**< Keypad Status Register, offset: 0x2 */
66289   __IO uint16_t KDDR;                              /**< Keypad Data Direction Register, offset: 0x4 */
66290   __IO uint16_t KPDR;                              /**< Keypad Data Register, offset: 0x6 */
66291 } KPP_Type;
66292 
66293 /* ----------------------------------------------------------------------------
66294    -- KPP Register Masks
66295    ---------------------------------------------------------------------------- */
66296 
66297 /*!
66298  * @addtogroup KPP_Register_Masks KPP Register Masks
66299  * @{
66300  */
66301 
66302 /*! @name KPCR - Keypad Control Register */
66303 /*! @{ */
66304 
66305 #define KPP_KPCR_KRE_MASK                        (0xFFU)
66306 #define KPP_KPCR_KRE_SHIFT                       (0U)
66307 /*! KRE - KRE
66308  *  0b00000000..Row is not included in the keypad key press detect.
66309  *  0b00000001..Row is included in the keypad key press detect.
66310  */
66311 #define KPP_KPCR_KRE(x)                          (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KRE_SHIFT)) & KPP_KPCR_KRE_MASK)
66312 
66313 #define KPP_KPCR_KCO_MASK                        (0xFF00U)
66314 #define KPP_KPCR_KCO_SHIFT                       (8U)
66315 /*! KCO - KCO
66316  *  0b00000000..Column strobe output is totem pole drive.
66317  *  0b00000001..Column strobe output is open drain.
66318  */
66319 #define KPP_KPCR_KCO(x)                          (((uint16_t)(((uint16_t)(x)) << KPP_KPCR_KCO_SHIFT)) & KPP_KPCR_KCO_MASK)
66320 /*! @} */
66321 
66322 /*! @name KPSR - Keypad Status Register */
66323 /*! @{ */
66324 
66325 #define KPP_KPSR_KPKD_MASK                       (0x1U)
66326 #define KPP_KPSR_KPKD_SHIFT                      (0U)
66327 /*! KPKD - KPKD
66328  *  0b0..No key presses detected
66329  *  0b1..A key has been depressed
66330  */
66331 #define KPP_KPSR_KPKD(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKD_SHIFT)) & KPP_KPSR_KPKD_MASK)
66332 
66333 #define KPP_KPSR_KPKR_MASK                       (0x2U)
66334 #define KPP_KPSR_KPKR_SHIFT                      (1U)
66335 /*! KPKR - KPKR
66336  *  0b0..No key release detected
66337  *  0b1..All keys have been released
66338  */
66339 #define KPP_KPSR_KPKR(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KPKR_SHIFT)) & KPP_KPSR_KPKR_MASK)
66340 
66341 #define KPP_KPSR_KDSC_MASK                       (0x4U)
66342 #define KPP_KPSR_KDSC_SHIFT                      (2U)
66343 /*! KDSC - KDSC
66344  *  0b0..No effect
66345  *  0b1..Set bits that clear the keypad depress synchronizer chain
66346  */
66347 #define KPP_KPSR_KDSC(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDSC_SHIFT)) & KPP_KPSR_KDSC_MASK)
66348 
66349 #define KPP_KPSR_KRSS_MASK                       (0x8U)
66350 #define KPP_KPSR_KRSS_SHIFT                      (3U)
66351 /*! KRSS - KRSS
66352  *  0b0..No effect
66353  *  0b1..Set bits which sets keypad release synchronizer chain
66354  */
66355 #define KPP_KPSR_KRSS(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRSS_SHIFT)) & KPP_KPSR_KRSS_MASK)
66356 
66357 #define KPP_KPSR_KDIE_MASK                       (0x100U)
66358 #define KPP_KPSR_KDIE_SHIFT                      (8U)
66359 /*! KDIE - KDIE
66360  *  0b0..No interrupt request is generated when KPKD is set.
66361  *  0b1..An interrupt request is generated when KPKD is set.
66362  */
66363 #define KPP_KPSR_KDIE(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KDIE_SHIFT)) & KPP_KPSR_KDIE_MASK)
66364 
66365 #define KPP_KPSR_KRIE_MASK                       (0x200U)
66366 #define KPP_KPSR_KRIE_SHIFT                      (9U)
66367 /*! KRIE - KRIE
66368  *  0b0..No interrupt request is generated when KPKR is set.
66369  *  0b1..An interrupt request is generated when KPKR is set.
66370  */
66371 #define KPP_KPSR_KRIE(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KPSR_KRIE_SHIFT)) & KPP_KPSR_KRIE_MASK)
66372 /*! @} */
66373 
66374 /*! @name KDDR - Keypad Data Direction Register */
66375 /*! @{ */
66376 
66377 #define KPP_KDDR_KRDD_MASK                       (0xFFU)
66378 #define KPP_KDDR_KRDD_SHIFT                      (0U)
66379 /*! KRDD - KRDD
66380  *  0b00000000..ROWn pin configured as an input.
66381  *  0b00000001..ROWn pin configured as an output.
66382  */
66383 #define KPP_KDDR_KRDD(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KRDD_SHIFT)) & KPP_KDDR_KRDD_MASK)
66384 
66385 #define KPP_KDDR_KCDD_MASK                       (0xFF00U)
66386 #define KPP_KDDR_KCDD_SHIFT                      (8U)
66387 /*! KCDD - KCDD
66388  *  0b00000000..COLn pin is configured as an input.
66389  *  0b00000001..COLn pin is configured as an output.
66390  */
66391 #define KPP_KDDR_KCDD(x)                         (((uint16_t)(((uint16_t)(x)) << KPP_KDDR_KCDD_SHIFT)) & KPP_KDDR_KCDD_MASK)
66392 /*! @} */
66393 
66394 /*! @name KPDR - Keypad Data Register */
66395 /*! @{ */
66396 
66397 #define KPP_KPDR_KRD_MASK                        (0xFFU)
66398 #define KPP_KPDR_KRD_SHIFT                       (0U)
66399 /*! KRD - KRD
66400  */
66401 #define KPP_KPDR_KRD(x)                          (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KRD_SHIFT)) & KPP_KPDR_KRD_MASK)
66402 
66403 #define KPP_KPDR_KCD_MASK                        (0xFF00U)
66404 #define KPP_KPDR_KCD_SHIFT                       (8U)
66405 /*! KCD - KCD
66406  */
66407 #define KPP_KPDR_KCD(x)                          (((uint16_t)(((uint16_t)(x)) << KPP_KPDR_KCD_SHIFT)) & KPP_KPDR_KCD_MASK)
66408 /*! @} */
66409 
66410 
66411 /*!
66412  * @}
66413  */ /* end of group KPP_Register_Masks */
66414 
66415 
66416 /* KPP - Peripheral instance base addresses */
66417 /** Peripheral KPP base address */
66418 #define KPP_BASE                                 (0x400E0000u)
66419 /** Peripheral KPP base pointer */
66420 #define KPP                                      ((KPP_Type *)KPP_BASE)
66421 /** Array initializer of KPP peripheral base addresses */
66422 #define KPP_BASE_ADDRS                           { KPP_BASE }
66423 /** Array initializer of KPP peripheral base pointers */
66424 #define KPP_BASE_PTRS                            { KPP }
66425 /** Interrupt vectors for the KPP peripheral type */
66426 #define KPP_IRQS                                 { KPP_IRQn }
66427 
66428 /*!
66429  * @}
66430  */ /* end of group KPP_Peripheral_Access_Layer */
66431 
66432 
66433 /* ----------------------------------------------------------------------------
66434    -- LCDIF Peripheral Access Layer
66435    ---------------------------------------------------------------------------- */
66436 
66437 /*!
66438  * @addtogroup LCDIF_Peripheral_Access_Layer LCDIF Peripheral Access Layer
66439  * @{
66440  */
66441 
66442 /** LCDIF - Register Layout Typedef */
66443 typedef struct {
66444   __IO uint32_t CTRL;                              /**< LCDIF General Control Register, offset: 0x0 */
66445   __IO uint32_t CTRL_SET;                          /**< LCDIF General Control Register, offset: 0x4 */
66446   __IO uint32_t CTRL_CLR;                          /**< LCDIF General Control Register, offset: 0x8 */
66447   __IO uint32_t CTRL_TOG;                          /**< LCDIF General Control Register, offset: 0xC */
66448   __IO uint32_t CTRL1;                             /**< LCDIF General Control1 Register, offset: 0x10 */
66449   __IO uint32_t CTRL1_SET;                         /**< LCDIF General Control1 Register, offset: 0x14 */
66450   __IO uint32_t CTRL1_CLR;                         /**< LCDIF General Control1 Register, offset: 0x18 */
66451   __IO uint32_t CTRL1_TOG;                         /**< LCDIF General Control1 Register, offset: 0x1C */
66452   __IO uint32_t CTRL2;                             /**< LCDIF General Control2 Register, offset: 0x20 */
66453   __IO uint32_t CTRL2_SET;                         /**< LCDIF General Control2 Register, offset: 0x24 */
66454   __IO uint32_t CTRL2_CLR;                         /**< LCDIF General Control2 Register, offset: 0x28 */
66455   __IO uint32_t CTRL2_TOG;                         /**< LCDIF General Control2 Register, offset: 0x2C */
66456   __IO uint32_t TRANSFER_COUNT;                    /**< LCDIF Horizontal and Vertical Valid Data Count Register, offset: 0x30 */
66457        uint8_t RESERVED_0[12];
66458   __IO uint32_t CUR_BUF;                           /**< LCD Interface Current Buffer Address Register, offset: 0x40 */
66459        uint8_t RESERVED_1[12];
66460   __IO uint32_t NEXT_BUF;                          /**< LCD Interface Next Buffer Address Register, offset: 0x50 */
66461        uint8_t RESERVED_2[28];
66462   __IO uint32_t VDCTRL0;                           /**< LCDIF VSYNC Mode and Dotclk Mode Control Register0, offset: 0x70 */
66463   __IO uint32_t VDCTRL0_SET;                       /**< LCDIF VSYNC Mode and Dotclk Mode Control Register0, offset: 0x74 */
66464   __IO uint32_t VDCTRL0_CLR;                       /**< LCDIF VSYNC Mode and Dotclk Mode Control Register0, offset: 0x78 */
66465   __IO uint32_t VDCTRL0_TOG;                       /**< LCDIF VSYNC Mode and Dotclk Mode Control Register0, offset: 0x7C */
66466   __IO uint32_t VDCTRL1;                           /**< LCDIF VSYNC Mode and Dotclk Mode Control Register1, offset: 0x80 */
66467        uint8_t RESERVED_3[12];
66468   __IO uint32_t VDCTRL2;                           /**< LCDIF VSYNC Mode and Dotclk Mode Control Register2, offset: 0x90 */
66469        uint8_t RESERVED_4[12];
66470   __IO uint32_t VDCTRL3;                           /**< LCDIF VSYNC Mode and Dotclk Mode Control Register3, offset: 0xA0 */
66471        uint8_t RESERVED_5[12];
66472   __IO uint32_t VDCTRL4;                           /**< LCDIF VSYNC Mode and Dotclk Mode Control Register4, offset: 0xB0 */
66473        uint8_t RESERVED_6[220];
66474   __IO uint32_t BM_ERROR_STAT;                     /**< Bus Master Error Status Register, offset: 0x190 */
66475        uint8_t RESERVED_7[12];
66476   __IO uint32_t CRC_STAT;                          /**< CRC Status Register, offset: 0x1A0 */
66477        uint8_t RESERVED_8[12];
66478   __I  uint32_t STAT;                              /**< LCD Interface Status Register, offset: 0x1B0 */
66479        uint8_t RESERVED_9[76];
66480   __IO uint32_t THRES;                             /**< LCDIF Threshold Register, offset: 0x200 */
66481        uint8_t RESERVED_10[380];
66482   __IO uint32_t PIGEONCTRL0;                       /**< LCDIF Pigeon Mode Control0 Register, offset: 0x380 */
66483   __IO uint32_t PIGEONCTRL0_SET;                   /**< LCDIF Pigeon Mode Control0 Register, offset: 0x384 */
66484   __IO uint32_t PIGEONCTRL0_CLR;                   /**< LCDIF Pigeon Mode Control0 Register, offset: 0x388 */
66485   __IO uint32_t PIGEONCTRL0_TOG;                   /**< LCDIF Pigeon Mode Control0 Register, offset: 0x38C */
66486   __IO uint32_t PIGEONCTRL1;                       /**< LCDIF Pigeon Mode Control1 Register, offset: 0x390 */
66487   __IO uint32_t PIGEONCTRL1_SET;                   /**< LCDIF Pigeon Mode Control1 Register, offset: 0x394 */
66488   __IO uint32_t PIGEONCTRL1_CLR;                   /**< LCDIF Pigeon Mode Control1 Register, offset: 0x398 */
66489   __IO uint32_t PIGEONCTRL1_TOG;                   /**< LCDIF Pigeon Mode Control1 Register, offset: 0x39C */
66490   __IO uint32_t PIGEONCTRL2;                       /**< LCDIF Pigeon Mode Control2 Register, offset: 0x3A0 */
66491   __IO uint32_t PIGEONCTRL2_SET;                   /**< LCDIF Pigeon Mode Control2 Register, offset: 0x3A4 */
66492   __IO uint32_t PIGEONCTRL2_CLR;                   /**< LCDIF Pigeon Mode Control2 Register, offset: 0x3A8 */
66493   __IO uint32_t PIGEONCTRL2_TOG;                   /**< LCDIF Pigeon Mode Control2 Register, offset: 0x3AC */
66494        uint8_t RESERVED_11[1104];
66495   struct {                                         /* offset: 0x800, array step: 0x40 */
66496     __IO uint32_t PIGEON_0;                          /**< Panel Interface Signal Generator Register, array offset: 0x800, array step: 0x40 */
66497          uint8_t RESERVED_0[12];
66498     __IO uint32_t PIGEON_1;                          /**< Panel Interface Signal Generator Register, array offset: 0x810, array step: 0x40 */
66499          uint8_t RESERVED_1[12];
66500     __IO uint32_t PIGEON_2;                          /**< Panel Interface Signal Generator Register, array offset: 0x820, array step: 0x40 */
66501          uint8_t RESERVED_2[28];
66502   } PIGEON[12];
66503   __IO uint32_t LUT_CTRL;                          /**< Look Up Table Control Register, offset: 0xB00 */
66504        uint8_t RESERVED_12[12];
66505   __IO uint32_t LUT0_ADDR;                         /**< Lookup Table 0 Index Register, offset: 0xB10 */
66506        uint8_t RESERVED_13[12];
66507   __IO uint32_t LUT0_DATA;                         /**< Lookup Table 0 Data Register, offset: 0xB20 */
66508        uint8_t RESERVED_14[12];
66509   __IO uint32_t LUT1_ADDR;                         /**< Lookup Table 1 Index Register, offset: 0xB30 */
66510        uint8_t RESERVED_15[12];
66511   __IO uint32_t LUT1_DATA;                         /**< Lookup Table 1 Data Register, offset: 0xB40 */
66512 } LCDIF_Type;
66513 
66514 /* ----------------------------------------------------------------------------
66515    -- LCDIF Register Masks
66516    ---------------------------------------------------------------------------- */
66517 
66518 /*!
66519  * @addtogroup LCDIF_Register_Masks LCDIF Register Masks
66520  * @{
66521  */
66522 
66523 /*! @name CTRL - LCDIF General Control Register */
66524 /*! @{ */
66525 
66526 #define LCDIF_CTRL_RUN_MASK                      (0x1U)
66527 #define LCDIF_CTRL_RUN_SHIFT                     (0U)
66528 #define LCDIF_CTRL_RUN(x)                        (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_RUN_SHIFT)) & LCDIF_CTRL_RUN_MASK)
66529 
66530 #define LCDIF_CTRL_DATA_FORMAT_24_BIT_MASK       (0x2U)
66531 #define LCDIF_CTRL_DATA_FORMAT_24_BIT_SHIFT      (1U)
66532 /*! DATA_FORMAT_24_BIT
66533  *  0b0..Data input to the block is in 24 bpp format, such that all RGB 888 data is contained in 24 bits.
66534  *  0b1..Data input to the block is actually RGB 18 bpp, but there is 1 color per byte, hence the upper 2 bits in
66535  *       each byte do not contain any useful data, and should be dropped.
66536  */
66537 #define LCDIF_CTRL_DATA_FORMAT_24_BIT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_DATA_FORMAT_24_BIT_SHIFT)) & LCDIF_CTRL_DATA_FORMAT_24_BIT_MASK)
66538 
66539 #define LCDIF_CTRL_DATA_FORMAT_18_BIT_MASK       (0x4U)
66540 #define LCDIF_CTRL_DATA_FORMAT_18_BIT_SHIFT      (2U)
66541 /*! DATA_FORMAT_18_BIT
66542  *  0b0..Data input to the block is in 18 bpp format, such that lower 18 bits contain RGB 666 and upper 14 bits do not contain any useful data.
66543  *  0b1..Data input to the block is in 18 bpp format, such that upper 18 bits contain RGB 666 and lower 14 bits do not contain any useful data.
66544  */
66545 #define LCDIF_CTRL_DATA_FORMAT_18_BIT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_DATA_FORMAT_18_BIT_SHIFT)) & LCDIF_CTRL_DATA_FORMAT_18_BIT_MASK)
66546 
66547 #define LCDIF_CTRL_DATA_FORMAT_16_BIT_MASK       (0x8U)
66548 #define LCDIF_CTRL_DATA_FORMAT_16_BIT_SHIFT      (3U)
66549 #define LCDIF_CTRL_DATA_FORMAT_16_BIT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_DATA_FORMAT_16_BIT_SHIFT)) & LCDIF_CTRL_DATA_FORMAT_16_BIT_MASK)
66550 
66551 #define LCDIF_CTRL_RSRVD0_MASK                   (0x10U)
66552 #define LCDIF_CTRL_RSRVD0_SHIFT                  (4U)
66553 #define LCDIF_CTRL_RSRVD0(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_RSRVD0_SHIFT)) & LCDIF_CTRL_RSRVD0_MASK)
66554 
66555 #define LCDIF_CTRL_MASTER_MASK                   (0x20U)
66556 #define LCDIF_CTRL_MASTER_SHIFT                  (5U)
66557 #define LCDIF_CTRL_MASTER(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_MASTER_SHIFT)) & LCDIF_CTRL_MASTER_MASK)
66558 
66559 #define LCDIF_CTRL_ENABLE_PXP_HANDSHAKE_MASK     (0x40U)
66560 #define LCDIF_CTRL_ENABLE_PXP_HANDSHAKE_SHIFT    (6U)
66561 #define LCDIF_CTRL_ENABLE_PXP_HANDSHAKE(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_ENABLE_PXP_HANDSHAKE_SHIFT)) & LCDIF_CTRL_ENABLE_PXP_HANDSHAKE_MASK)
66562 
66563 #define LCDIF_CTRL_WORD_LENGTH_MASK              (0x300U)
66564 #define LCDIF_CTRL_WORD_LENGTH_SHIFT             (8U)
66565 /*! WORD_LENGTH
66566  *  0b00..Input data is 16 bits per pixel.
66567  *  0b01..Input data is 8 bits wide.
66568  *  0b10..Input data is 18 bits per pixel.
66569  *  0b11..Input data is 24 bits per pixel.
66570  */
66571 #define LCDIF_CTRL_WORD_LENGTH(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_WORD_LENGTH_SHIFT)) & LCDIF_CTRL_WORD_LENGTH_MASK)
66572 
66573 #define LCDIF_CTRL_LCD_DATABUS_WIDTH_MASK        (0xC00U)
66574 #define LCDIF_CTRL_LCD_DATABUS_WIDTH_SHIFT       (10U)
66575 /*! LCD_DATABUS_WIDTH
66576  *  0b00..16-bit data bus mode.
66577  *  0b01..8-bit data bus mode.
66578  *  0b10..18-bit data bus mode.
66579  *  0b11..24-bit data bus mode.
66580  */
66581 #define LCDIF_CTRL_LCD_DATABUS_WIDTH(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_LCD_DATABUS_WIDTH_SHIFT)) & LCDIF_CTRL_LCD_DATABUS_WIDTH_MASK)
66582 
66583 #define LCDIF_CTRL_CSC_DATA_SWIZZLE_MASK         (0x3000U)
66584 #define LCDIF_CTRL_CSC_DATA_SWIZZLE_SHIFT        (12U)
66585 /*! CSC_DATA_SWIZZLE
66586  *  0b00..No byte swapping.(Little endian)
66587  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66588  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66589  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66590  *  0b10..Swap half-words.
66591  *  0b11..Swap bytes within each half-word.
66592  */
66593 #define LCDIF_CTRL_CSC_DATA_SWIZZLE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CSC_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_CSC_DATA_SWIZZLE_MASK)
66594 
66595 #define LCDIF_CTRL_INPUT_DATA_SWIZZLE_MASK       (0xC000U)
66596 #define LCDIF_CTRL_INPUT_DATA_SWIZZLE_SHIFT      (14U)
66597 /*! INPUT_DATA_SWIZZLE
66598  *  0b00..No byte swapping.(Little endian)
66599  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66600  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66601  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66602  *  0b10..Swap half-words.
66603  *  0b11..Swap bytes within each half-word.
66604  */
66605 #define LCDIF_CTRL_INPUT_DATA_SWIZZLE(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_INPUT_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_INPUT_DATA_SWIZZLE_MASK)
66606 
66607 #define LCDIF_CTRL_DOTCLK_MODE_MASK              (0x20000U)
66608 #define LCDIF_CTRL_DOTCLK_MODE_SHIFT             (17U)
66609 #define LCDIF_CTRL_DOTCLK_MODE(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_DOTCLK_MODE_SHIFT)) & LCDIF_CTRL_DOTCLK_MODE_MASK)
66610 
66611 #define LCDIF_CTRL_BYPASS_COUNT_MASK             (0x80000U)
66612 #define LCDIF_CTRL_BYPASS_COUNT_SHIFT            (19U)
66613 #define LCDIF_CTRL_BYPASS_COUNT(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_BYPASS_COUNT_SHIFT)) & LCDIF_CTRL_BYPASS_COUNT_MASK)
66614 
66615 #define LCDIF_CTRL_SHIFT_NUM_BITS_MASK           (0x3E00000U)
66616 #define LCDIF_CTRL_SHIFT_NUM_BITS_SHIFT          (21U)
66617 #define LCDIF_CTRL_SHIFT_NUM_BITS(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SHIFT_NUM_BITS_SHIFT)) & LCDIF_CTRL_SHIFT_NUM_BITS_MASK)
66618 
66619 #define LCDIF_CTRL_DATA_SHIFT_DIR_MASK           (0x4000000U)
66620 #define LCDIF_CTRL_DATA_SHIFT_DIR_SHIFT          (26U)
66621 /*! DATA_SHIFT_DIR
66622  *  0b0..Data to be transmitted is shifted LEFT by SHIFT_NUM_BITS bits.
66623  *  0b1..Data to be transmitted is shifted RIGHT by SHIFT_NUM_BITS bits.
66624  */
66625 #define LCDIF_CTRL_DATA_SHIFT_DIR(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_DATA_SHIFT_DIR_SHIFT)) & LCDIF_CTRL_DATA_SHIFT_DIR_MASK)
66626 
66627 #define LCDIF_CTRL_CLKGATE_MASK                  (0x40000000U)
66628 #define LCDIF_CTRL_CLKGATE_SHIFT                 (30U)
66629 #define LCDIF_CTRL_CLKGATE(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLKGATE_SHIFT)) & LCDIF_CTRL_CLKGATE_MASK)
66630 
66631 #define LCDIF_CTRL_SFTRST_MASK                   (0x80000000U)
66632 #define LCDIF_CTRL_SFTRST_SHIFT                  (31U)
66633 #define LCDIF_CTRL_SFTRST(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SFTRST_SHIFT)) & LCDIF_CTRL_SFTRST_MASK)
66634 /*! @} */
66635 
66636 /*! @name CTRL_SET - LCDIF General Control Register */
66637 /*! @{ */
66638 
66639 #define LCDIF_CTRL_SET_RUN_MASK                  (0x1U)
66640 #define LCDIF_CTRL_SET_RUN_SHIFT                 (0U)
66641 #define LCDIF_CTRL_SET_RUN(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_RUN_SHIFT)) & LCDIF_CTRL_SET_RUN_MASK)
66642 
66643 #define LCDIF_CTRL_SET_DATA_FORMAT_24_BIT_MASK   (0x2U)
66644 #define LCDIF_CTRL_SET_DATA_FORMAT_24_BIT_SHIFT  (1U)
66645 /*! DATA_FORMAT_24_BIT
66646  *  0b0..Data input to the block is in 24 bpp format, such that all RGB 888 data is contained in 24 bits.
66647  *  0b1..Data input to the block is actually RGB 18 bpp, but there is 1 color per byte, hence the upper 2 bits in
66648  *       each byte do not contain any useful data, and should be dropped.
66649  */
66650 #define LCDIF_CTRL_SET_DATA_FORMAT_24_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_DATA_FORMAT_24_BIT_SHIFT)) & LCDIF_CTRL_SET_DATA_FORMAT_24_BIT_MASK)
66651 
66652 #define LCDIF_CTRL_SET_DATA_FORMAT_18_BIT_MASK   (0x4U)
66653 #define LCDIF_CTRL_SET_DATA_FORMAT_18_BIT_SHIFT  (2U)
66654 /*! DATA_FORMAT_18_BIT
66655  *  0b0..Data input to the block is in 18 bpp format, such that lower 18 bits contain RGB 666 and upper 14 bits do not contain any useful data.
66656  *  0b1..Data input to the block is in 18 bpp format, such that upper 18 bits contain RGB 666 and lower 14 bits do not contain any useful data.
66657  */
66658 #define LCDIF_CTRL_SET_DATA_FORMAT_18_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_DATA_FORMAT_18_BIT_SHIFT)) & LCDIF_CTRL_SET_DATA_FORMAT_18_BIT_MASK)
66659 
66660 #define LCDIF_CTRL_SET_DATA_FORMAT_16_BIT_MASK   (0x8U)
66661 #define LCDIF_CTRL_SET_DATA_FORMAT_16_BIT_SHIFT  (3U)
66662 #define LCDIF_CTRL_SET_DATA_FORMAT_16_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_DATA_FORMAT_16_BIT_SHIFT)) & LCDIF_CTRL_SET_DATA_FORMAT_16_BIT_MASK)
66663 
66664 #define LCDIF_CTRL_SET_RSRVD0_MASK               (0x10U)
66665 #define LCDIF_CTRL_SET_RSRVD0_SHIFT              (4U)
66666 #define LCDIF_CTRL_SET_RSRVD0(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_RSRVD0_SHIFT)) & LCDIF_CTRL_SET_RSRVD0_MASK)
66667 
66668 #define LCDIF_CTRL_SET_MASTER_MASK               (0x20U)
66669 #define LCDIF_CTRL_SET_MASTER_SHIFT              (5U)
66670 #define LCDIF_CTRL_SET_MASTER(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_MASTER_SHIFT)) & LCDIF_CTRL_SET_MASTER_MASK)
66671 
66672 #define LCDIF_CTRL_SET_ENABLE_PXP_HANDSHAKE_MASK (0x40U)
66673 #define LCDIF_CTRL_SET_ENABLE_PXP_HANDSHAKE_SHIFT (6U)
66674 #define LCDIF_CTRL_SET_ENABLE_PXP_HANDSHAKE(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_ENABLE_PXP_HANDSHAKE_SHIFT)) & LCDIF_CTRL_SET_ENABLE_PXP_HANDSHAKE_MASK)
66675 
66676 #define LCDIF_CTRL_SET_WORD_LENGTH_MASK          (0x300U)
66677 #define LCDIF_CTRL_SET_WORD_LENGTH_SHIFT         (8U)
66678 /*! WORD_LENGTH
66679  *  0b00..Input data is 16 bits per pixel.
66680  *  0b01..Input data is 8 bits wide.
66681  *  0b10..Input data is 18 bits per pixel.
66682  *  0b11..Input data is 24 bits per pixel.
66683  */
66684 #define LCDIF_CTRL_SET_WORD_LENGTH(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_WORD_LENGTH_SHIFT)) & LCDIF_CTRL_SET_WORD_LENGTH_MASK)
66685 
66686 #define LCDIF_CTRL_SET_LCD_DATABUS_WIDTH_MASK    (0xC00U)
66687 #define LCDIF_CTRL_SET_LCD_DATABUS_WIDTH_SHIFT   (10U)
66688 /*! LCD_DATABUS_WIDTH
66689  *  0b00..16-bit data bus mode.
66690  *  0b01..8-bit data bus mode.
66691  *  0b10..18-bit data bus mode.
66692  *  0b11..24-bit data bus mode.
66693  */
66694 #define LCDIF_CTRL_SET_LCD_DATABUS_WIDTH(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_LCD_DATABUS_WIDTH_SHIFT)) & LCDIF_CTRL_SET_LCD_DATABUS_WIDTH_MASK)
66695 
66696 #define LCDIF_CTRL_SET_CSC_DATA_SWIZZLE_MASK     (0x3000U)
66697 #define LCDIF_CTRL_SET_CSC_DATA_SWIZZLE_SHIFT    (12U)
66698 /*! CSC_DATA_SWIZZLE
66699  *  0b00..No byte swapping.(Little endian)
66700  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66701  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66702  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66703  *  0b10..Swap half-words.
66704  *  0b11..Swap bytes within each half-word.
66705  */
66706 #define LCDIF_CTRL_SET_CSC_DATA_SWIZZLE(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_CSC_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_SET_CSC_DATA_SWIZZLE_MASK)
66707 
66708 #define LCDIF_CTRL_SET_INPUT_DATA_SWIZZLE_MASK   (0xC000U)
66709 #define LCDIF_CTRL_SET_INPUT_DATA_SWIZZLE_SHIFT  (14U)
66710 /*! INPUT_DATA_SWIZZLE
66711  *  0b00..No byte swapping.(Little endian)
66712  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66713  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66714  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66715  *  0b10..Swap half-words.
66716  *  0b11..Swap bytes within each half-word.
66717  */
66718 #define LCDIF_CTRL_SET_INPUT_DATA_SWIZZLE(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_INPUT_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_SET_INPUT_DATA_SWIZZLE_MASK)
66719 
66720 #define LCDIF_CTRL_SET_DOTCLK_MODE_MASK          (0x20000U)
66721 #define LCDIF_CTRL_SET_DOTCLK_MODE_SHIFT         (17U)
66722 #define LCDIF_CTRL_SET_DOTCLK_MODE(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_DOTCLK_MODE_SHIFT)) & LCDIF_CTRL_SET_DOTCLK_MODE_MASK)
66723 
66724 #define LCDIF_CTRL_SET_BYPASS_COUNT_MASK         (0x80000U)
66725 #define LCDIF_CTRL_SET_BYPASS_COUNT_SHIFT        (19U)
66726 #define LCDIF_CTRL_SET_BYPASS_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_BYPASS_COUNT_SHIFT)) & LCDIF_CTRL_SET_BYPASS_COUNT_MASK)
66727 
66728 #define LCDIF_CTRL_SET_SHIFT_NUM_BITS_MASK       (0x3E00000U)
66729 #define LCDIF_CTRL_SET_SHIFT_NUM_BITS_SHIFT      (21U)
66730 #define LCDIF_CTRL_SET_SHIFT_NUM_BITS(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_SHIFT_NUM_BITS_SHIFT)) & LCDIF_CTRL_SET_SHIFT_NUM_BITS_MASK)
66731 
66732 #define LCDIF_CTRL_SET_DATA_SHIFT_DIR_MASK       (0x4000000U)
66733 #define LCDIF_CTRL_SET_DATA_SHIFT_DIR_SHIFT      (26U)
66734 /*! DATA_SHIFT_DIR
66735  *  0b0..Data to be transmitted is shifted LEFT by SHIFT_NUM_BITS bits.
66736  *  0b1..Data to be transmitted is shifted RIGHT by SHIFT_NUM_BITS bits.
66737  */
66738 #define LCDIF_CTRL_SET_DATA_SHIFT_DIR(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_DATA_SHIFT_DIR_SHIFT)) & LCDIF_CTRL_SET_DATA_SHIFT_DIR_MASK)
66739 
66740 #define LCDIF_CTRL_SET_CLKGATE_MASK              (0x40000000U)
66741 #define LCDIF_CTRL_SET_CLKGATE_SHIFT             (30U)
66742 #define LCDIF_CTRL_SET_CLKGATE(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_CLKGATE_SHIFT)) & LCDIF_CTRL_SET_CLKGATE_MASK)
66743 
66744 #define LCDIF_CTRL_SET_SFTRST_MASK               (0x80000000U)
66745 #define LCDIF_CTRL_SET_SFTRST_SHIFT              (31U)
66746 #define LCDIF_CTRL_SET_SFTRST(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_SET_SFTRST_SHIFT)) & LCDIF_CTRL_SET_SFTRST_MASK)
66747 /*! @} */
66748 
66749 /*! @name CTRL_CLR - LCDIF General Control Register */
66750 /*! @{ */
66751 
66752 #define LCDIF_CTRL_CLR_RUN_MASK                  (0x1U)
66753 #define LCDIF_CTRL_CLR_RUN_SHIFT                 (0U)
66754 #define LCDIF_CTRL_CLR_RUN(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_RUN_SHIFT)) & LCDIF_CTRL_CLR_RUN_MASK)
66755 
66756 #define LCDIF_CTRL_CLR_DATA_FORMAT_24_BIT_MASK   (0x2U)
66757 #define LCDIF_CTRL_CLR_DATA_FORMAT_24_BIT_SHIFT  (1U)
66758 /*! DATA_FORMAT_24_BIT
66759  *  0b0..Data input to the block is in 24 bpp format, such that all RGB 888 data is contained in 24 bits.
66760  *  0b1..Data input to the block is actually RGB 18 bpp, but there is 1 color per byte, hence the upper 2 bits in
66761  *       each byte do not contain any useful data, and should be dropped.
66762  */
66763 #define LCDIF_CTRL_CLR_DATA_FORMAT_24_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_DATA_FORMAT_24_BIT_SHIFT)) & LCDIF_CTRL_CLR_DATA_FORMAT_24_BIT_MASK)
66764 
66765 #define LCDIF_CTRL_CLR_DATA_FORMAT_18_BIT_MASK   (0x4U)
66766 #define LCDIF_CTRL_CLR_DATA_FORMAT_18_BIT_SHIFT  (2U)
66767 /*! DATA_FORMAT_18_BIT
66768  *  0b0..Data input to the block is in 18 bpp format, such that lower 18 bits contain RGB 666 and upper 14 bits do not contain any useful data.
66769  *  0b1..Data input to the block is in 18 bpp format, such that upper 18 bits contain RGB 666 and lower 14 bits do not contain any useful data.
66770  */
66771 #define LCDIF_CTRL_CLR_DATA_FORMAT_18_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_DATA_FORMAT_18_BIT_SHIFT)) & LCDIF_CTRL_CLR_DATA_FORMAT_18_BIT_MASK)
66772 
66773 #define LCDIF_CTRL_CLR_DATA_FORMAT_16_BIT_MASK   (0x8U)
66774 #define LCDIF_CTRL_CLR_DATA_FORMAT_16_BIT_SHIFT  (3U)
66775 #define LCDIF_CTRL_CLR_DATA_FORMAT_16_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_DATA_FORMAT_16_BIT_SHIFT)) & LCDIF_CTRL_CLR_DATA_FORMAT_16_BIT_MASK)
66776 
66777 #define LCDIF_CTRL_CLR_RSRVD0_MASK               (0x10U)
66778 #define LCDIF_CTRL_CLR_RSRVD0_SHIFT              (4U)
66779 #define LCDIF_CTRL_CLR_RSRVD0(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_RSRVD0_SHIFT)) & LCDIF_CTRL_CLR_RSRVD0_MASK)
66780 
66781 #define LCDIF_CTRL_CLR_MASTER_MASK               (0x20U)
66782 #define LCDIF_CTRL_CLR_MASTER_SHIFT              (5U)
66783 #define LCDIF_CTRL_CLR_MASTER(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_MASTER_SHIFT)) & LCDIF_CTRL_CLR_MASTER_MASK)
66784 
66785 #define LCDIF_CTRL_CLR_ENABLE_PXP_HANDSHAKE_MASK (0x40U)
66786 #define LCDIF_CTRL_CLR_ENABLE_PXP_HANDSHAKE_SHIFT (6U)
66787 #define LCDIF_CTRL_CLR_ENABLE_PXP_HANDSHAKE(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_ENABLE_PXP_HANDSHAKE_SHIFT)) & LCDIF_CTRL_CLR_ENABLE_PXP_HANDSHAKE_MASK)
66788 
66789 #define LCDIF_CTRL_CLR_WORD_LENGTH_MASK          (0x300U)
66790 #define LCDIF_CTRL_CLR_WORD_LENGTH_SHIFT         (8U)
66791 /*! WORD_LENGTH
66792  *  0b00..Input data is 16 bits per pixel.
66793  *  0b01..Input data is 8 bits wide.
66794  *  0b10..Input data is 18 bits per pixel.
66795  *  0b11..Input data is 24 bits per pixel.
66796  */
66797 #define LCDIF_CTRL_CLR_WORD_LENGTH(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_WORD_LENGTH_SHIFT)) & LCDIF_CTRL_CLR_WORD_LENGTH_MASK)
66798 
66799 #define LCDIF_CTRL_CLR_LCD_DATABUS_WIDTH_MASK    (0xC00U)
66800 #define LCDIF_CTRL_CLR_LCD_DATABUS_WIDTH_SHIFT   (10U)
66801 /*! LCD_DATABUS_WIDTH
66802  *  0b00..16-bit data bus mode.
66803  *  0b01..8-bit data bus mode.
66804  *  0b10..18-bit data bus mode.
66805  *  0b11..24-bit data bus mode.
66806  */
66807 #define LCDIF_CTRL_CLR_LCD_DATABUS_WIDTH(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_LCD_DATABUS_WIDTH_SHIFT)) & LCDIF_CTRL_CLR_LCD_DATABUS_WIDTH_MASK)
66808 
66809 #define LCDIF_CTRL_CLR_CSC_DATA_SWIZZLE_MASK     (0x3000U)
66810 #define LCDIF_CTRL_CLR_CSC_DATA_SWIZZLE_SHIFT    (12U)
66811 /*! CSC_DATA_SWIZZLE
66812  *  0b00..No byte swapping.(Little endian)
66813  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66814  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66815  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66816  *  0b10..Swap half-words.
66817  *  0b11..Swap bytes within each half-word.
66818  */
66819 #define LCDIF_CTRL_CLR_CSC_DATA_SWIZZLE(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_CSC_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_CLR_CSC_DATA_SWIZZLE_MASK)
66820 
66821 #define LCDIF_CTRL_CLR_INPUT_DATA_SWIZZLE_MASK   (0xC000U)
66822 #define LCDIF_CTRL_CLR_INPUT_DATA_SWIZZLE_SHIFT  (14U)
66823 /*! INPUT_DATA_SWIZZLE
66824  *  0b00..No byte swapping.(Little endian)
66825  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66826  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66827  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66828  *  0b10..Swap half-words.
66829  *  0b11..Swap bytes within each half-word.
66830  */
66831 #define LCDIF_CTRL_CLR_INPUT_DATA_SWIZZLE(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_INPUT_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_CLR_INPUT_DATA_SWIZZLE_MASK)
66832 
66833 #define LCDIF_CTRL_CLR_DOTCLK_MODE_MASK          (0x20000U)
66834 #define LCDIF_CTRL_CLR_DOTCLK_MODE_SHIFT         (17U)
66835 #define LCDIF_CTRL_CLR_DOTCLK_MODE(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_DOTCLK_MODE_SHIFT)) & LCDIF_CTRL_CLR_DOTCLK_MODE_MASK)
66836 
66837 #define LCDIF_CTRL_CLR_BYPASS_COUNT_MASK         (0x80000U)
66838 #define LCDIF_CTRL_CLR_BYPASS_COUNT_SHIFT        (19U)
66839 #define LCDIF_CTRL_CLR_BYPASS_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_BYPASS_COUNT_SHIFT)) & LCDIF_CTRL_CLR_BYPASS_COUNT_MASK)
66840 
66841 #define LCDIF_CTRL_CLR_SHIFT_NUM_BITS_MASK       (0x3E00000U)
66842 #define LCDIF_CTRL_CLR_SHIFT_NUM_BITS_SHIFT      (21U)
66843 #define LCDIF_CTRL_CLR_SHIFT_NUM_BITS(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_SHIFT_NUM_BITS_SHIFT)) & LCDIF_CTRL_CLR_SHIFT_NUM_BITS_MASK)
66844 
66845 #define LCDIF_CTRL_CLR_DATA_SHIFT_DIR_MASK       (0x4000000U)
66846 #define LCDIF_CTRL_CLR_DATA_SHIFT_DIR_SHIFT      (26U)
66847 /*! DATA_SHIFT_DIR
66848  *  0b0..Data to be transmitted is shifted LEFT by SHIFT_NUM_BITS bits.
66849  *  0b1..Data to be transmitted is shifted RIGHT by SHIFT_NUM_BITS bits.
66850  */
66851 #define LCDIF_CTRL_CLR_DATA_SHIFT_DIR(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_DATA_SHIFT_DIR_SHIFT)) & LCDIF_CTRL_CLR_DATA_SHIFT_DIR_MASK)
66852 
66853 #define LCDIF_CTRL_CLR_CLKGATE_MASK              (0x40000000U)
66854 #define LCDIF_CTRL_CLR_CLKGATE_SHIFT             (30U)
66855 #define LCDIF_CTRL_CLR_CLKGATE(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_CLKGATE_SHIFT)) & LCDIF_CTRL_CLR_CLKGATE_MASK)
66856 
66857 #define LCDIF_CTRL_CLR_SFTRST_MASK               (0x80000000U)
66858 #define LCDIF_CTRL_CLR_SFTRST_SHIFT              (31U)
66859 #define LCDIF_CTRL_CLR_SFTRST(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_CLR_SFTRST_SHIFT)) & LCDIF_CTRL_CLR_SFTRST_MASK)
66860 /*! @} */
66861 
66862 /*! @name CTRL_TOG - LCDIF General Control Register */
66863 /*! @{ */
66864 
66865 #define LCDIF_CTRL_TOG_RUN_MASK                  (0x1U)
66866 #define LCDIF_CTRL_TOG_RUN_SHIFT                 (0U)
66867 #define LCDIF_CTRL_TOG_RUN(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_RUN_SHIFT)) & LCDIF_CTRL_TOG_RUN_MASK)
66868 
66869 #define LCDIF_CTRL_TOG_DATA_FORMAT_24_BIT_MASK   (0x2U)
66870 #define LCDIF_CTRL_TOG_DATA_FORMAT_24_BIT_SHIFT  (1U)
66871 /*! DATA_FORMAT_24_BIT
66872  *  0b0..Data input to the block is in 24 bpp format, such that all RGB 888 data is contained in 24 bits.
66873  *  0b1..Data input to the block is actually RGB 18 bpp, but there is 1 color per byte, hence the upper 2 bits in
66874  *       each byte do not contain any useful data, and should be dropped.
66875  */
66876 #define LCDIF_CTRL_TOG_DATA_FORMAT_24_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_DATA_FORMAT_24_BIT_SHIFT)) & LCDIF_CTRL_TOG_DATA_FORMAT_24_BIT_MASK)
66877 
66878 #define LCDIF_CTRL_TOG_DATA_FORMAT_18_BIT_MASK   (0x4U)
66879 #define LCDIF_CTRL_TOG_DATA_FORMAT_18_BIT_SHIFT  (2U)
66880 /*! DATA_FORMAT_18_BIT
66881  *  0b0..Data input to the block is in 18 bpp format, such that lower 18 bits contain RGB 666 and upper 14 bits do not contain any useful data.
66882  *  0b1..Data input to the block is in 18 bpp format, such that upper 18 bits contain RGB 666 and lower 14 bits do not contain any useful data.
66883  */
66884 #define LCDIF_CTRL_TOG_DATA_FORMAT_18_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_DATA_FORMAT_18_BIT_SHIFT)) & LCDIF_CTRL_TOG_DATA_FORMAT_18_BIT_MASK)
66885 
66886 #define LCDIF_CTRL_TOG_DATA_FORMAT_16_BIT_MASK   (0x8U)
66887 #define LCDIF_CTRL_TOG_DATA_FORMAT_16_BIT_SHIFT  (3U)
66888 #define LCDIF_CTRL_TOG_DATA_FORMAT_16_BIT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_DATA_FORMAT_16_BIT_SHIFT)) & LCDIF_CTRL_TOG_DATA_FORMAT_16_BIT_MASK)
66889 
66890 #define LCDIF_CTRL_TOG_RSRVD0_MASK               (0x10U)
66891 #define LCDIF_CTRL_TOG_RSRVD0_SHIFT              (4U)
66892 #define LCDIF_CTRL_TOG_RSRVD0(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_RSRVD0_SHIFT)) & LCDIF_CTRL_TOG_RSRVD0_MASK)
66893 
66894 #define LCDIF_CTRL_TOG_MASTER_MASK               (0x20U)
66895 #define LCDIF_CTRL_TOG_MASTER_SHIFT              (5U)
66896 #define LCDIF_CTRL_TOG_MASTER(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_MASTER_SHIFT)) & LCDIF_CTRL_TOG_MASTER_MASK)
66897 
66898 #define LCDIF_CTRL_TOG_ENABLE_PXP_HANDSHAKE_MASK (0x40U)
66899 #define LCDIF_CTRL_TOG_ENABLE_PXP_HANDSHAKE_SHIFT (6U)
66900 #define LCDIF_CTRL_TOG_ENABLE_PXP_HANDSHAKE(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_ENABLE_PXP_HANDSHAKE_SHIFT)) & LCDIF_CTRL_TOG_ENABLE_PXP_HANDSHAKE_MASK)
66901 
66902 #define LCDIF_CTRL_TOG_WORD_LENGTH_MASK          (0x300U)
66903 #define LCDIF_CTRL_TOG_WORD_LENGTH_SHIFT         (8U)
66904 /*! WORD_LENGTH
66905  *  0b00..Input data is 16 bits per pixel.
66906  *  0b01..Input data is 8 bits wide.
66907  *  0b10..Input data is 18 bits per pixel.
66908  *  0b11..Input data is 24 bits per pixel.
66909  */
66910 #define LCDIF_CTRL_TOG_WORD_LENGTH(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_WORD_LENGTH_SHIFT)) & LCDIF_CTRL_TOG_WORD_LENGTH_MASK)
66911 
66912 #define LCDIF_CTRL_TOG_LCD_DATABUS_WIDTH_MASK    (0xC00U)
66913 #define LCDIF_CTRL_TOG_LCD_DATABUS_WIDTH_SHIFT   (10U)
66914 /*! LCD_DATABUS_WIDTH
66915  *  0b00..16-bit data bus mode.
66916  *  0b01..8-bit data bus mode.
66917  *  0b10..18-bit data bus mode.
66918  *  0b11..24-bit data bus mode.
66919  */
66920 #define LCDIF_CTRL_TOG_LCD_DATABUS_WIDTH(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_LCD_DATABUS_WIDTH_SHIFT)) & LCDIF_CTRL_TOG_LCD_DATABUS_WIDTH_MASK)
66921 
66922 #define LCDIF_CTRL_TOG_CSC_DATA_SWIZZLE_MASK     (0x3000U)
66923 #define LCDIF_CTRL_TOG_CSC_DATA_SWIZZLE_SHIFT    (12U)
66924 /*! CSC_DATA_SWIZZLE
66925  *  0b00..No byte swapping.(Little endian)
66926  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66927  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66928  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66929  *  0b10..Swap half-words.
66930  *  0b11..Swap bytes within each half-word.
66931  */
66932 #define LCDIF_CTRL_TOG_CSC_DATA_SWIZZLE(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_CSC_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_TOG_CSC_DATA_SWIZZLE_MASK)
66933 
66934 #define LCDIF_CTRL_TOG_INPUT_DATA_SWIZZLE_MASK   (0xC000U)
66935 #define LCDIF_CTRL_TOG_INPUT_DATA_SWIZZLE_SHIFT  (14U)
66936 /*! INPUT_DATA_SWIZZLE
66937  *  0b00..No byte swapping.(Little endian)
66938  *  0b00..Little Endian byte ordering (same as NO_SWAP).
66939  *  0b01..Big Endian swap (swap bytes 0,3 and 1,2).
66940  *  0b01..Swizzle all bytes, swap bytes 0,3 and 1,2 (aka Big Endian).
66941  *  0b10..Swap half-words.
66942  *  0b11..Swap bytes within each half-word.
66943  */
66944 #define LCDIF_CTRL_TOG_INPUT_DATA_SWIZZLE(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_INPUT_DATA_SWIZZLE_SHIFT)) & LCDIF_CTRL_TOG_INPUT_DATA_SWIZZLE_MASK)
66945 
66946 #define LCDIF_CTRL_TOG_DOTCLK_MODE_MASK          (0x20000U)
66947 #define LCDIF_CTRL_TOG_DOTCLK_MODE_SHIFT         (17U)
66948 #define LCDIF_CTRL_TOG_DOTCLK_MODE(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_DOTCLK_MODE_SHIFT)) & LCDIF_CTRL_TOG_DOTCLK_MODE_MASK)
66949 
66950 #define LCDIF_CTRL_TOG_BYPASS_COUNT_MASK         (0x80000U)
66951 #define LCDIF_CTRL_TOG_BYPASS_COUNT_SHIFT        (19U)
66952 #define LCDIF_CTRL_TOG_BYPASS_COUNT(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_BYPASS_COUNT_SHIFT)) & LCDIF_CTRL_TOG_BYPASS_COUNT_MASK)
66953 
66954 #define LCDIF_CTRL_TOG_SHIFT_NUM_BITS_MASK       (0x3E00000U)
66955 #define LCDIF_CTRL_TOG_SHIFT_NUM_BITS_SHIFT      (21U)
66956 #define LCDIF_CTRL_TOG_SHIFT_NUM_BITS(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_SHIFT_NUM_BITS_SHIFT)) & LCDIF_CTRL_TOG_SHIFT_NUM_BITS_MASK)
66957 
66958 #define LCDIF_CTRL_TOG_DATA_SHIFT_DIR_MASK       (0x4000000U)
66959 #define LCDIF_CTRL_TOG_DATA_SHIFT_DIR_SHIFT      (26U)
66960 /*! DATA_SHIFT_DIR
66961  *  0b0..Data to be transmitted is shifted LEFT by SHIFT_NUM_BITS bits.
66962  *  0b1..Data to be transmitted is shifted RIGHT by SHIFT_NUM_BITS bits.
66963  */
66964 #define LCDIF_CTRL_TOG_DATA_SHIFT_DIR(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_DATA_SHIFT_DIR_SHIFT)) & LCDIF_CTRL_TOG_DATA_SHIFT_DIR_MASK)
66965 
66966 #define LCDIF_CTRL_TOG_CLKGATE_MASK              (0x40000000U)
66967 #define LCDIF_CTRL_TOG_CLKGATE_SHIFT             (30U)
66968 #define LCDIF_CTRL_TOG_CLKGATE(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_CLKGATE_SHIFT)) & LCDIF_CTRL_TOG_CLKGATE_MASK)
66969 
66970 #define LCDIF_CTRL_TOG_SFTRST_MASK               (0x80000000U)
66971 #define LCDIF_CTRL_TOG_SFTRST_SHIFT              (31U)
66972 #define LCDIF_CTRL_TOG_SFTRST(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL_TOG_SFTRST_SHIFT)) & LCDIF_CTRL_TOG_SFTRST_MASK)
66973 /*! @} */
66974 
66975 /*! @name CTRL1 - LCDIF General Control1 Register */
66976 /*! @{ */
66977 
66978 #define LCDIF_CTRL1_RSRVD0_MASK                  (0xF8U)
66979 #define LCDIF_CTRL1_RSRVD0_SHIFT                 (3U)
66980 #define LCDIF_CTRL1_RSRVD0(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_RSRVD0_SHIFT)) & LCDIF_CTRL1_RSRVD0_MASK)
66981 
66982 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ_MASK          (0x100U)
66983 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ_SHIFT         (8U)
66984 /*! VSYNC_EDGE_IRQ
66985  *  0b0..No Interrupt Request Pending.
66986  *  0b1..Interrupt Request Pending.
66987  */
66988 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_VSYNC_EDGE_IRQ_SHIFT)) & LCDIF_CTRL1_VSYNC_EDGE_IRQ_MASK)
66989 
66990 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_MASK      (0x200U)
66991 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_SHIFT     (9U)
66992 /*! CUR_FRAME_DONE_IRQ
66993  *  0b0..No Interrupt Request Pending.
66994  *  0b1..Interrupt Request Pending.
66995  */
66996 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_SHIFT)) & LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_MASK)
66997 
66998 #define LCDIF_CTRL1_UNDERFLOW_IRQ_MASK           (0x400U)
66999 #define LCDIF_CTRL1_UNDERFLOW_IRQ_SHIFT          (10U)
67000 /*! UNDERFLOW_IRQ
67001  *  0b0..No Interrupt Request Pending.
67002  *  0b1..Interrupt Request Pending.
67003  */
67004 #define LCDIF_CTRL1_UNDERFLOW_IRQ(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_UNDERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_UNDERFLOW_IRQ_MASK)
67005 
67006 #define LCDIF_CTRL1_OVERFLOW_IRQ_MASK            (0x800U)
67007 #define LCDIF_CTRL1_OVERFLOW_IRQ_SHIFT           (11U)
67008 /*! OVERFLOW_IRQ
67009  *  0b0..No Interrupt Request Pending.
67010  *  0b1..Interrupt Request Pending.
67011  */
67012 #define LCDIF_CTRL1_OVERFLOW_IRQ(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_OVERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_OVERFLOW_IRQ_MASK)
67013 
67014 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ_EN_MASK       (0x1000U)
67015 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ_EN_SHIFT      (12U)
67016 #define LCDIF_CTRL1_VSYNC_EDGE_IRQ_EN(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_VSYNC_EDGE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_VSYNC_EDGE_IRQ_EN_MASK)
67017 
67018 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_EN_MASK   (0x2000U)
67019 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_EN_SHIFT  (13U)
67020 #define LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_EN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CUR_FRAME_DONE_IRQ_EN_MASK)
67021 
67022 #define LCDIF_CTRL1_UNDERFLOW_IRQ_EN_MASK        (0x4000U)
67023 #define LCDIF_CTRL1_UNDERFLOW_IRQ_EN_SHIFT       (14U)
67024 #define LCDIF_CTRL1_UNDERFLOW_IRQ_EN(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_UNDERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_UNDERFLOW_IRQ_EN_MASK)
67025 
67026 #define LCDIF_CTRL1_OVERFLOW_IRQ_EN_MASK         (0x8000U)
67027 #define LCDIF_CTRL1_OVERFLOW_IRQ_EN_SHIFT        (15U)
67028 #define LCDIF_CTRL1_OVERFLOW_IRQ_EN(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_OVERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_OVERFLOW_IRQ_EN_MASK)
67029 
67030 #define LCDIF_CTRL1_BYTE_PACKING_FORMAT_MASK     (0xF0000U)
67031 #define LCDIF_CTRL1_BYTE_PACKING_FORMAT_SHIFT    (16U)
67032 #define LCDIF_CTRL1_BYTE_PACKING_FORMAT(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_BYTE_PACKING_FORMAT_SHIFT)) & LCDIF_CTRL1_BYTE_PACKING_FORMAT_MASK)
67033 
67034 #define LCDIF_CTRL1_IRQ_ON_ALTERNATE_FIELDS_MASK (0x100000U)
67035 #define LCDIF_CTRL1_IRQ_ON_ALTERNATE_FIELDS_SHIFT (20U)
67036 #define LCDIF_CTRL1_IRQ_ON_ALTERNATE_FIELDS(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_IRQ_ON_ALTERNATE_FIELDS_SHIFT)) & LCDIF_CTRL1_IRQ_ON_ALTERNATE_FIELDS_MASK)
67037 
67038 #define LCDIF_CTRL1_FIFO_CLEAR_MASK              (0x200000U)
67039 #define LCDIF_CTRL1_FIFO_CLEAR_SHIFT             (21U)
67040 #define LCDIF_CTRL1_FIFO_CLEAR(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_FIFO_CLEAR_SHIFT)) & LCDIF_CTRL1_FIFO_CLEAR_MASK)
67041 
67042 #define LCDIF_CTRL1_START_INTERLACE_FROM_SECOND_FIELD_MASK (0x400000U)
67043 #define LCDIF_CTRL1_START_INTERLACE_FROM_SECOND_FIELD_SHIFT (22U)
67044 #define LCDIF_CTRL1_START_INTERLACE_FROM_SECOND_FIELD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_START_INTERLACE_FROM_SECOND_FIELD_SHIFT)) & LCDIF_CTRL1_START_INTERLACE_FROM_SECOND_FIELD_MASK)
67045 
67046 #define LCDIF_CTRL1_INTERLACE_FIELDS_MASK        (0x800000U)
67047 #define LCDIF_CTRL1_INTERLACE_FIELDS_SHIFT       (23U)
67048 #define LCDIF_CTRL1_INTERLACE_FIELDS(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_INTERLACE_FIELDS_SHIFT)) & LCDIF_CTRL1_INTERLACE_FIELDS_MASK)
67049 
67050 #define LCDIF_CTRL1_RECOVER_ON_UNDERFLOW_MASK    (0x1000000U)
67051 #define LCDIF_CTRL1_RECOVER_ON_UNDERFLOW_SHIFT   (24U)
67052 #define LCDIF_CTRL1_RECOVER_ON_UNDERFLOW(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_RECOVER_ON_UNDERFLOW_SHIFT)) & LCDIF_CTRL1_RECOVER_ON_UNDERFLOW_MASK)
67053 
67054 #define LCDIF_CTRL1_BM_ERROR_IRQ_MASK            (0x2000000U)
67055 #define LCDIF_CTRL1_BM_ERROR_IRQ_SHIFT           (25U)
67056 /*! BM_ERROR_IRQ
67057  *  0b0..No Interrupt Request Pending.
67058  *  0b1..Interrupt Request Pending.
67059  */
67060 #define LCDIF_CTRL1_BM_ERROR_IRQ(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_BM_ERROR_IRQ_SHIFT)) & LCDIF_CTRL1_BM_ERROR_IRQ_MASK)
67061 
67062 #define LCDIF_CTRL1_BM_ERROR_IRQ_EN_MASK         (0x4000000U)
67063 #define LCDIF_CTRL1_BM_ERROR_IRQ_EN_SHIFT        (26U)
67064 #define LCDIF_CTRL1_BM_ERROR_IRQ_EN(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_BM_ERROR_IRQ_EN_SHIFT)) & LCDIF_CTRL1_BM_ERROR_IRQ_EN_MASK)
67065 
67066 #define LCDIF_CTRL1_CS_OUT_SELECT_MASK           (0x40000000U)
67067 #define LCDIF_CTRL1_CS_OUT_SELECT_SHIFT          (30U)
67068 #define LCDIF_CTRL1_CS_OUT_SELECT(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CS_OUT_SELECT_SHIFT)) & LCDIF_CTRL1_CS_OUT_SELECT_MASK)
67069 
67070 #define LCDIF_CTRL1_IMAGE_DATA_SELECT_MASK       (0x80000000U)
67071 #define LCDIF_CTRL1_IMAGE_DATA_SELECT_SHIFT      (31U)
67072 #define LCDIF_CTRL1_IMAGE_DATA_SELECT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_IMAGE_DATA_SELECT_SHIFT)) & LCDIF_CTRL1_IMAGE_DATA_SELECT_MASK)
67073 /*! @} */
67074 
67075 /*! @name CTRL1_SET - LCDIF General Control1 Register */
67076 /*! @{ */
67077 
67078 #define LCDIF_CTRL1_SET_RSRVD0_MASK              (0xF8U)
67079 #define LCDIF_CTRL1_SET_RSRVD0_SHIFT             (3U)
67080 #define LCDIF_CTRL1_SET_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_RSRVD0_SHIFT)) & LCDIF_CTRL1_SET_RSRVD0_MASK)
67081 
67082 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_MASK      (0x100U)
67083 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_SHIFT     (8U)
67084 /*! VSYNC_EDGE_IRQ
67085  *  0b0..No Interrupt Request Pending.
67086  *  0b1..Interrupt Request Pending.
67087  */
67088 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_SHIFT)) & LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_MASK)
67089 
67090 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_MASK  (0x200U)
67091 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_SHIFT (9U)
67092 /*! CUR_FRAME_DONE_IRQ
67093  *  0b0..No Interrupt Request Pending.
67094  *  0b1..Interrupt Request Pending.
67095  */
67096 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_SHIFT)) & LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_MASK)
67097 
67098 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ_MASK       (0x400U)
67099 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ_SHIFT      (10U)
67100 /*! UNDERFLOW_IRQ
67101  *  0b0..No Interrupt Request Pending.
67102  *  0b1..Interrupt Request Pending.
67103  */
67104 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_UNDERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_SET_UNDERFLOW_IRQ_MASK)
67105 
67106 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ_MASK        (0x800U)
67107 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ_SHIFT       (11U)
67108 /*! OVERFLOW_IRQ
67109  *  0b0..No Interrupt Request Pending.
67110  *  0b1..Interrupt Request Pending.
67111  */
67112 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_OVERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_SET_OVERFLOW_IRQ_MASK)
67113 
67114 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_EN_MASK   (0x1000U)
67115 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_EN_SHIFT  (12U)
67116 #define LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_EN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_SET_VSYNC_EDGE_IRQ_EN_MASK)
67117 
67118 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_EN_MASK (0x2000U)
67119 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_EN_SHIFT (13U)
67120 #define LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_EN(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_SET_CUR_FRAME_DONE_IRQ_EN_MASK)
67121 
67122 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ_EN_MASK    (0x4000U)
67123 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ_EN_SHIFT   (14U)
67124 #define LCDIF_CTRL1_SET_UNDERFLOW_IRQ_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_UNDERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_SET_UNDERFLOW_IRQ_EN_MASK)
67125 
67126 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ_EN_MASK     (0x8000U)
67127 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ_EN_SHIFT    (15U)
67128 #define LCDIF_CTRL1_SET_OVERFLOW_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_OVERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_SET_OVERFLOW_IRQ_EN_MASK)
67129 
67130 #define LCDIF_CTRL1_SET_BYTE_PACKING_FORMAT_MASK (0xF0000U)
67131 #define LCDIF_CTRL1_SET_BYTE_PACKING_FORMAT_SHIFT (16U)
67132 #define LCDIF_CTRL1_SET_BYTE_PACKING_FORMAT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_BYTE_PACKING_FORMAT_SHIFT)) & LCDIF_CTRL1_SET_BYTE_PACKING_FORMAT_MASK)
67133 
67134 #define LCDIF_CTRL1_SET_IRQ_ON_ALTERNATE_FIELDS_MASK (0x100000U)
67135 #define LCDIF_CTRL1_SET_IRQ_ON_ALTERNATE_FIELDS_SHIFT (20U)
67136 #define LCDIF_CTRL1_SET_IRQ_ON_ALTERNATE_FIELDS(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_IRQ_ON_ALTERNATE_FIELDS_SHIFT)) & LCDIF_CTRL1_SET_IRQ_ON_ALTERNATE_FIELDS_MASK)
67137 
67138 #define LCDIF_CTRL1_SET_FIFO_CLEAR_MASK          (0x200000U)
67139 #define LCDIF_CTRL1_SET_FIFO_CLEAR_SHIFT         (21U)
67140 #define LCDIF_CTRL1_SET_FIFO_CLEAR(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_FIFO_CLEAR_SHIFT)) & LCDIF_CTRL1_SET_FIFO_CLEAR_MASK)
67141 
67142 #define LCDIF_CTRL1_SET_START_INTERLACE_FROM_SECOND_FIELD_MASK (0x400000U)
67143 #define LCDIF_CTRL1_SET_START_INTERLACE_FROM_SECOND_FIELD_SHIFT (22U)
67144 #define LCDIF_CTRL1_SET_START_INTERLACE_FROM_SECOND_FIELD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_START_INTERLACE_FROM_SECOND_FIELD_SHIFT)) & LCDIF_CTRL1_SET_START_INTERLACE_FROM_SECOND_FIELD_MASK)
67145 
67146 #define LCDIF_CTRL1_SET_INTERLACE_FIELDS_MASK    (0x800000U)
67147 #define LCDIF_CTRL1_SET_INTERLACE_FIELDS_SHIFT   (23U)
67148 #define LCDIF_CTRL1_SET_INTERLACE_FIELDS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_INTERLACE_FIELDS_SHIFT)) & LCDIF_CTRL1_SET_INTERLACE_FIELDS_MASK)
67149 
67150 #define LCDIF_CTRL1_SET_RECOVER_ON_UNDERFLOW_MASK (0x1000000U)
67151 #define LCDIF_CTRL1_SET_RECOVER_ON_UNDERFLOW_SHIFT (24U)
67152 #define LCDIF_CTRL1_SET_RECOVER_ON_UNDERFLOW(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_RECOVER_ON_UNDERFLOW_SHIFT)) & LCDIF_CTRL1_SET_RECOVER_ON_UNDERFLOW_MASK)
67153 
67154 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ_MASK        (0x2000000U)
67155 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ_SHIFT       (25U)
67156 /*! BM_ERROR_IRQ
67157  *  0b0..No Interrupt Request Pending.
67158  *  0b1..Interrupt Request Pending.
67159  */
67160 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_BM_ERROR_IRQ_SHIFT)) & LCDIF_CTRL1_SET_BM_ERROR_IRQ_MASK)
67161 
67162 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ_EN_MASK     (0x4000000U)
67163 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ_EN_SHIFT    (26U)
67164 #define LCDIF_CTRL1_SET_BM_ERROR_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_BM_ERROR_IRQ_EN_SHIFT)) & LCDIF_CTRL1_SET_BM_ERROR_IRQ_EN_MASK)
67165 
67166 #define LCDIF_CTRL1_SET_CS_OUT_SELECT_MASK       (0x40000000U)
67167 #define LCDIF_CTRL1_SET_CS_OUT_SELECT_SHIFT      (30U)
67168 #define LCDIF_CTRL1_SET_CS_OUT_SELECT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_CS_OUT_SELECT_SHIFT)) & LCDIF_CTRL1_SET_CS_OUT_SELECT_MASK)
67169 
67170 #define LCDIF_CTRL1_SET_IMAGE_DATA_SELECT_MASK   (0x80000000U)
67171 #define LCDIF_CTRL1_SET_IMAGE_DATA_SELECT_SHIFT  (31U)
67172 #define LCDIF_CTRL1_SET_IMAGE_DATA_SELECT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_SET_IMAGE_DATA_SELECT_SHIFT)) & LCDIF_CTRL1_SET_IMAGE_DATA_SELECT_MASK)
67173 /*! @} */
67174 
67175 /*! @name CTRL1_CLR - LCDIF General Control1 Register */
67176 /*! @{ */
67177 
67178 #define LCDIF_CTRL1_CLR_RSRVD0_MASK              (0xF8U)
67179 #define LCDIF_CTRL1_CLR_RSRVD0_SHIFT             (3U)
67180 #define LCDIF_CTRL1_CLR_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_RSRVD0_SHIFT)) & LCDIF_CTRL1_CLR_RSRVD0_MASK)
67181 
67182 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_MASK      (0x100U)
67183 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_SHIFT     (8U)
67184 /*! VSYNC_EDGE_IRQ
67185  *  0b0..No Interrupt Request Pending.
67186  *  0b1..Interrupt Request Pending.
67187  */
67188 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_SHIFT)) & LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_MASK)
67189 
67190 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_MASK  (0x200U)
67191 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_SHIFT (9U)
67192 /*! CUR_FRAME_DONE_IRQ
67193  *  0b0..No Interrupt Request Pending.
67194  *  0b1..Interrupt Request Pending.
67195  */
67196 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_SHIFT)) & LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_MASK)
67197 
67198 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_MASK       (0x400U)
67199 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_SHIFT      (10U)
67200 /*! UNDERFLOW_IRQ
67201  *  0b0..No Interrupt Request Pending.
67202  *  0b1..Interrupt Request Pending.
67203  */
67204 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_MASK)
67205 
67206 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ_MASK        (0x800U)
67207 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ_SHIFT       (11U)
67208 /*! OVERFLOW_IRQ
67209  *  0b0..No Interrupt Request Pending.
67210  *  0b1..Interrupt Request Pending.
67211  */
67212 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_OVERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_CLR_OVERFLOW_IRQ_MASK)
67213 
67214 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_EN_MASK   (0x1000U)
67215 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_EN_SHIFT  (12U)
67216 #define LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_EN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CLR_VSYNC_EDGE_IRQ_EN_MASK)
67217 
67218 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_EN_MASK (0x2000U)
67219 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_EN_SHIFT (13U)
67220 #define LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_EN(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CLR_CUR_FRAME_DONE_IRQ_EN_MASK)
67221 
67222 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_EN_MASK    (0x4000U)
67223 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_EN_SHIFT   (14U)
67224 #define LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CLR_UNDERFLOW_IRQ_EN_MASK)
67225 
67226 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ_EN_MASK     (0x8000U)
67227 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ_EN_SHIFT    (15U)
67228 #define LCDIF_CTRL1_CLR_OVERFLOW_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_OVERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CLR_OVERFLOW_IRQ_EN_MASK)
67229 
67230 #define LCDIF_CTRL1_CLR_BYTE_PACKING_FORMAT_MASK (0xF0000U)
67231 #define LCDIF_CTRL1_CLR_BYTE_PACKING_FORMAT_SHIFT (16U)
67232 #define LCDIF_CTRL1_CLR_BYTE_PACKING_FORMAT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_BYTE_PACKING_FORMAT_SHIFT)) & LCDIF_CTRL1_CLR_BYTE_PACKING_FORMAT_MASK)
67233 
67234 #define LCDIF_CTRL1_CLR_IRQ_ON_ALTERNATE_FIELDS_MASK (0x100000U)
67235 #define LCDIF_CTRL1_CLR_IRQ_ON_ALTERNATE_FIELDS_SHIFT (20U)
67236 #define LCDIF_CTRL1_CLR_IRQ_ON_ALTERNATE_FIELDS(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_IRQ_ON_ALTERNATE_FIELDS_SHIFT)) & LCDIF_CTRL1_CLR_IRQ_ON_ALTERNATE_FIELDS_MASK)
67237 
67238 #define LCDIF_CTRL1_CLR_FIFO_CLEAR_MASK          (0x200000U)
67239 #define LCDIF_CTRL1_CLR_FIFO_CLEAR_SHIFT         (21U)
67240 #define LCDIF_CTRL1_CLR_FIFO_CLEAR(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_FIFO_CLEAR_SHIFT)) & LCDIF_CTRL1_CLR_FIFO_CLEAR_MASK)
67241 
67242 #define LCDIF_CTRL1_CLR_START_INTERLACE_FROM_SECOND_FIELD_MASK (0x400000U)
67243 #define LCDIF_CTRL1_CLR_START_INTERLACE_FROM_SECOND_FIELD_SHIFT (22U)
67244 #define LCDIF_CTRL1_CLR_START_INTERLACE_FROM_SECOND_FIELD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_START_INTERLACE_FROM_SECOND_FIELD_SHIFT)) & LCDIF_CTRL1_CLR_START_INTERLACE_FROM_SECOND_FIELD_MASK)
67245 
67246 #define LCDIF_CTRL1_CLR_INTERLACE_FIELDS_MASK    (0x800000U)
67247 #define LCDIF_CTRL1_CLR_INTERLACE_FIELDS_SHIFT   (23U)
67248 #define LCDIF_CTRL1_CLR_INTERLACE_FIELDS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_INTERLACE_FIELDS_SHIFT)) & LCDIF_CTRL1_CLR_INTERLACE_FIELDS_MASK)
67249 
67250 #define LCDIF_CTRL1_CLR_RECOVER_ON_UNDERFLOW_MASK (0x1000000U)
67251 #define LCDIF_CTRL1_CLR_RECOVER_ON_UNDERFLOW_SHIFT (24U)
67252 #define LCDIF_CTRL1_CLR_RECOVER_ON_UNDERFLOW(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_RECOVER_ON_UNDERFLOW_SHIFT)) & LCDIF_CTRL1_CLR_RECOVER_ON_UNDERFLOW_MASK)
67253 
67254 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ_MASK        (0x2000000U)
67255 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ_SHIFT       (25U)
67256 /*! BM_ERROR_IRQ
67257  *  0b0..No Interrupt Request Pending.
67258  *  0b1..Interrupt Request Pending.
67259  */
67260 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_BM_ERROR_IRQ_SHIFT)) & LCDIF_CTRL1_CLR_BM_ERROR_IRQ_MASK)
67261 
67262 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ_EN_MASK     (0x4000000U)
67263 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ_EN_SHIFT    (26U)
67264 #define LCDIF_CTRL1_CLR_BM_ERROR_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_BM_ERROR_IRQ_EN_SHIFT)) & LCDIF_CTRL1_CLR_BM_ERROR_IRQ_EN_MASK)
67265 
67266 #define LCDIF_CTRL1_CLR_CS_OUT_SELECT_MASK       (0x40000000U)
67267 #define LCDIF_CTRL1_CLR_CS_OUT_SELECT_SHIFT      (30U)
67268 #define LCDIF_CTRL1_CLR_CS_OUT_SELECT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_CS_OUT_SELECT_SHIFT)) & LCDIF_CTRL1_CLR_CS_OUT_SELECT_MASK)
67269 
67270 #define LCDIF_CTRL1_CLR_IMAGE_DATA_SELECT_MASK   (0x80000000U)
67271 #define LCDIF_CTRL1_CLR_IMAGE_DATA_SELECT_SHIFT  (31U)
67272 #define LCDIF_CTRL1_CLR_IMAGE_DATA_SELECT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_CLR_IMAGE_DATA_SELECT_SHIFT)) & LCDIF_CTRL1_CLR_IMAGE_DATA_SELECT_MASK)
67273 /*! @} */
67274 
67275 /*! @name CTRL1_TOG - LCDIF General Control1 Register */
67276 /*! @{ */
67277 
67278 #define LCDIF_CTRL1_TOG_RSRVD0_MASK              (0xF8U)
67279 #define LCDIF_CTRL1_TOG_RSRVD0_SHIFT             (3U)
67280 #define LCDIF_CTRL1_TOG_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_RSRVD0_SHIFT)) & LCDIF_CTRL1_TOG_RSRVD0_MASK)
67281 
67282 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_MASK      (0x100U)
67283 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_SHIFT     (8U)
67284 /*! VSYNC_EDGE_IRQ
67285  *  0b0..No Interrupt Request Pending.
67286  *  0b1..Interrupt Request Pending.
67287  */
67288 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_SHIFT)) & LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_MASK)
67289 
67290 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_MASK  (0x200U)
67291 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_SHIFT (9U)
67292 /*! CUR_FRAME_DONE_IRQ
67293  *  0b0..No Interrupt Request Pending.
67294  *  0b1..Interrupt Request Pending.
67295  */
67296 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_SHIFT)) & LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_MASK)
67297 
67298 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_MASK       (0x400U)
67299 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_SHIFT      (10U)
67300 /*! UNDERFLOW_IRQ
67301  *  0b0..No Interrupt Request Pending.
67302  *  0b1..Interrupt Request Pending.
67303  */
67304 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_MASK)
67305 
67306 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ_MASK        (0x800U)
67307 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ_SHIFT       (11U)
67308 /*! OVERFLOW_IRQ
67309  *  0b0..No Interrupt Request Pending.
67310  *  0b1..Interrupt Request Pending.
67311  */
67312 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_OVERFLOW_IRQ_SHIFT)) & LCDIF_CTRL1_TOG_OVERFLOW_IRQ_MASK)
67313 
67314 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_EN_MASK   (0x1000U)
67315 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_EN_SHIFT  (12U)
67316 #define LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_EN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_TOG_VSYNC_EDGE_IRQ_EN_MASK)
67317 
67318 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_EN_MASK (0x2000U)
67319 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_EN_SHIFT (13U)
67320 #define LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_EN(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_EN_SHIFT)) & LCDIF_CTRL1_TOG_CUR_FRAME_DONE_IRQ_EN_MASK)
67321 
67322 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_EN_MASK    (0x4000U)
67323 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_EN_SHIFT   (14U)
67324 #define LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_TOG_UNDERFLOW_IRQ_EN_MASK)
67325 
67326 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ_EN_MASK     (0x8000U)
67327 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ_EN_SHIFT    (15U)
67328 #define LCDIF_CTRL1_TOG_OVERFLOW_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_OVERFLOW_IRQ_EN_SHIFT)) & LCDIF_CTRL1_TOG_OVERFLOW_IRQ_EN_MASK)
67329 
67330 #define LCDIF_CTRL1_TOG_BYTE_PACKING_FORMAT_MASK (0xF0000U)
67331 #define LCDIF_CTRL1_TOG_BYTE_PACKING_FORMAT_SHIFT (16U)
67332 #define LCDIF_CTRL1_TOG_BYTE_PACKING_FORMAT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_BYTE_PACKING_FORMAT_SHIFT)) & LCDIF_CTRL1_TOG_BYTE_PACKING_FORMAT_MASK)
67333 
67334 #define LCDIF_CTRL1_TOG_IRQ_ON_ALTERNATE_FIELDS_MASK (0x100000U)
67335 #define LCDIF_CTRL1_TOG_IRQ_ON_ALTERNATE_FIELDS_SHIFT (20U)
67336 #define LCDIF_CTRL1_TOG_IRQ_ON_ALTERNATE_FIELDS(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_IRQ_ON_ALTERNATE_FIELDS_SHIFT)) & LCDIF_CTRL1_TOG_IRQ_ON_ALTERNATE_FIELDS_MASK)
67337 
67338 #define LCDIF_CTRL1_TOG_FIFO_CLEAR_MASK          (0x200000U)
67339 #define LCDIF_CTRL1_TOG_FIFO_CLEAR_SHIFT         (21U)
67340 #define LCDIF_CTRL1_TOG_FIFO_CLEAR(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_FIFO_CLEAR_SHIFT)) & LCDIF_CTRL1_TOG_FIFO_CLEAR_MASK)
67341 
67342 #define LCDIF_CTRL1_TOG_START_INTERLACE_FROM_SECOND_FIELD_MASK (0x400000U)
67343 #define LCDIF_CTRL1_TOG_START_INTERLACE_FROM_SECOND_FIELD_SHIFT (22U)
67344 #define LCDIF_CTRL1_TOG_START_INTERLACE_FROM_SECOND_FIELD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_START_INTERLACE_FROM_SECOND_FIELD_SHIFT)) & LCDIF_CTRL1_TOG_START_INTERLACE_FROM_SECOND_FIELD_MASK)
67345 
67346 #define LCDIF_CTRL1_TOG_INTERLACE_FIELDS_MASK    (0x800000U)
67347 #define LCDIF_CTRL1_TOG_INTERLACE_FIELDS_SHIFT   (23U)
67348 #define LCDIF_CTRL1_TOG_INTERLACE_FIELDS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_INTERLACE_FIELDS_SHIFT)) & LCDIF_CTRL1_TOG_INTERLACE_FIELDS_MASK)
67349 
67350 #define LCDIF_CTRL1_TOG_RECOVER_ON_UNDERFLOW_MASK (0x1000000U)
67351 #define LCDIF_CTRL1_TOG_RECOVER_ON_UNDERFLOW_SHIFT (24U)
67352 #define LCDIF_CTRL1_TOG_RECOVER_ON_UNDERFLOW(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_RECOVER_ON_UNDERFLOW_SHIFT)) & LCDIF_CTRL1_TOG_RECOVER_ON_UNDERFLOW_MASK)
67353 
67354 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ_MASK        (0x2000000U)
67355 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ_SHIFT       (25U)
67356 /*! BM_ERROR_IRQ
67357  *  0b0..No Interrupt Request Pending.
67358  *  0b1..Interrupt Request Pending.
67359  */
67360 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_BM_ERROR_IRQ_SHIFT)) & LCDIF_CTRL1_TOG_BM_ERROR_IRQ_MASK)
67361 
67362 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ_EN_MASK     (0x4000000U)
67363 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ_EN_SHIFT    (26U)
67364 #define LCDIF_CTRL1_TOG_BM_ERROR_IRQ_EN(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_BM_ERROR_IRQ_EN_SHIFT)) & LCDIF_CTRL1_TOG_BM_ERROR_IRQ_EN_MASK)
67365 
67366 #define LCDIF_CTRL1_TOG_CS_OUT_SELECT_MASK       (0x40000000U)
67367 #define LCDIF_CTRL1_TOG_CS_OUT_SELECT_SHIFT      (30U)
67368 #define LCDIF_CTRL1_TOG_CS_OUT_SELECT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_CS_OUT_SELECT_SHIFT)) & LCDIF_CTRL1_TOG_CS_OUT_SELECT_MASK)
67369 
67370 #define LCDIF_CTRL1_TOG_IMAGE_DATA_SELECT_MASK   (0x80000000U)
67371 #define LCDIF_CTRL1_TOG_IMAGE_DATA_SELECT_SHIFT  (31U)
67372 #define LCDIF_CTRL1_TOG_IMAGE_DATA_SELECT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL1_TOG_IMAGE_DATA_SELECT_SHIFT)) & LCDIF_CTRL1_TOG_IMAGE_DATA_SELECT_MASK)
67373 /*! @} */
67374 
67375 /*! @name CTRL2 - LCDIF General Control2 Register */
67376 /*! @{ */
67377 
67378 #define LCDIF_CTRL2_RSRVD0_MASK                  (0xFFFU)
67379 #define LCDIF_CTRL2_RSRVD0_SHIFT                 (0U)
67380 #define LCDIF_CTRL2_RSRVD0(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_RSRVD0_SHIFT)) & LCDIF_CTRL2_RSRVD0_MASK)
67381 
67382 #define LCDIF_CTRL2_EVEN_LINE_PATTERN_MASK       (0x7000U)
67383 #define LCDIF_CTRL2_EVEN_LINE_PATTERN_SHIFT      (12U)
67384 /*! EVEN_LINE_PATTERN
67385  *  0b000..RGB
67386  *  0b001..RBG
67387  *  0b010..GBR
67388  *  0b011..GRB
67389  *  0b100..BRG
67390  *  0b101..BGR
67391  */
67392 #define LCDIF_CTRL2_EVEN_LINE_PATTERN(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_EVEN_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_EVEN_LINE_PATTERN_MASK)
67393 
67394 #define LCDIF_CTRL2_RSRVD3_MASK                  (0x8000U)
67395 #define LCDIF_CTRL2_RSRVD3_SHIFT                 (15U)
67396 #define LCDIF_CTRL2_RSRVD3(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_RSRVD3_SHIFT)) & LCDIF_CTRL2_RSRVD3_MASK)
67397 
67398 #define LCDIF_CTRL2_ODD_LINE_PATTERN_MASK        (0x70000U)
67399 #define LCDIF_CTRL2_ODD_LINE_PATTERN_SHIFT       (16U)
67400 /*! ODD_LINE_PATTERN
67401  *  0b000..RGB
67402  *  0b001..RBG
67403  *  0b010..GBR
67404  *  0b011..GRB
67405  *  0b100..BRG
67406  *  0b101..BGR
67407  */
67408 #define LCDIF_CTRL2_ODD_LINE_PATTERN(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_ODD_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_ODD_LINE_PATTERN_MASK)
67409 
67410 #define LCDIF_CTRL2_RSRVD4_MASK                  (0x80000U)
67411 #define LCDIF_CTRL2_RSRVD4_SHIFT                 (19U)
67412 #define LCDIF_CTRL2_RSRVD4(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_RSRVD4_SHIFT)) & LCDIF_CTRL2_RSRVD4_MASK)
67413 
67414 #define LCDIF_CTRL2_BURST_LEN_8_MASK             (0x100000U)
67415 #define LCDIF_CTRL2_BURST_LEN_8_SHIFT            (20U)
67416 #define LCDIF_CTRL2_BURST_LEN_8(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_BURST_LEN_8_SHIFT)) & LCDIF_CTRL2_BURST_LEN_8_MASK)
67417 
67418 #define LCDIF_CTRL2_OUTSTANDING_REQS_MASK        (0xE00000U)
67419 #define LCDIF_CTRL2_OUTSTANDING_REQS_SHIFT       (21U)
67420 /*! OUTSTANDING_REQS
67421  *  0b000..REQ_1
67422  *  0b001..REQ_2
67423  *  0b010..REQ_4
67424  *  0b011..REQ_8
67425  *  0b100..REQ_16
67426  */
67427 #define LCDIF_CTRL2_OUTSTANDING_REQS(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_OUTSTANDING_REQS_SHIFT)) & LCDIF_CTRL2_OUTSTANDING_REQS_MASK)
67428 
67429 #define LCDIF_CTRL2_RSRVD5_MASK                  (0xFF000000U)
67430 #define LCDIF_CTRL2_RSRVD5_SHIFT                 (24U)
67431 #define LCDIF_CTRL2_RSRVD5(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_RSRVD5_SHIFT)) & LCDIF_CTRL2_RSRVD5_MASK)
67432 /*! @} */
67433 
67434 /*! @name CTRL2_SET - LCDIF General Control2 Register */
67435 /*! @{ */
67436 
67437 #define LCDIF_CTRL2_SET_RSRVD0_MASK              (0xFFFU)
67438 #define LCDIF_CTRL2_SET_RSRVD0_SHIFT             (0U)
67439 #define LCDIF_CTRL2_SET_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_RSRVD0_SHIFT)) & LCDIF_CTRL2_SET_RSRVD0_MASK)
67440 
67441 #define LCDIF_CTRL2_SET_EVEN_LINE_PATTERN_MASK   (0x7000U)
67442 #define LCDIF_CTRL2_SET_EVEN_LINE_PATTERN_SHIFT  (12U)
67443 /*! EVEN_LINE_PATTERN
67444  *  0b000..RGB
67445  *  0b001..RBG
67446  *  0b010..GBR
67447  *  0b011..GRB
67448  *  0b100..BRG
67449  *  0b101..BGR
67450  */
67451 #define LCDIF_CTRL2_SET_EVEN_LINE_PATTERN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_EVEN_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_SET_EVEN_LINE_PATTERN_MASK)
67452 
67453 #define LCDIF_CTRL2_SET_RSRVD3_MASK              (0x8000U)
67454 #define LCDIF_CTRL2_SET_RSRVD3_SHIFT             (15U)
67455 #define LCDIF_CTRL2_SET_RSRVD3(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_RSRVD3_SHIFT)) & LCDIF_CTRL2_SET_RSRVD3_MASK)
67456 
67457 #define LCDIF_CTRL2_SET_ODD_LINE_PATTERN_MASK    (0x70000U)
67458 #define LCDIF_CTRL2_SET_ODD_LINE_PATTERN_SHIFT   (16U)
67459 /*! ODD_LINE_PATTERN
67460  *  0b000..RGB
67461  *  0b001..RBG
67462  *  0b010..GBR
67463  *  0b011..GRB
67464  *  0b100..BRG
67465  *  0b101..BGR
67466  */
67467 #define LCDIF_CTRL2_SET_ODD_LINE_PATTERN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_ODD_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_SET_ODD_LINE_PATTERN_MASK)
67468 
67469 #define LCDIF_CTRL2_SET_RSRVD4_MASK              (0x80000U)
67470 #define LCDIF_CTRL2_SET_RSRVD4_SHIFT             (19U)
67471 #define LCDIF_CTRL2_SET_RSRVD4(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_RSRVD4_SHIFT)) & LCDIF_CTRL2_SET_RSRVD4_MASK)
67472 
67473 #define LCDIF_CTRL2_SET_BURST_LEN_8_MASK         (0x100000U)
67474 #define LCDIF_CTRL2_SET_BURST_LEN_8_SHIFT        (20U)
67475 #define LCDIF_CTRL2_SET_BURST_LEN_8(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_BURST_LEN_8_SHIFT)) & LCDIF_CTRL2_SET_BURST_LEN_8_MASK)
67476 
67477 #define LCDIF_CTRL2_SET_OUTSTANDING_REQS_MASK    (0xE00000U)
67478 #define LCDIF_CTRL2_SET_OUTSTANDING_REQS_SHIFT   (21U)
67479 /*! OUTSTANDING_REQS
67480  *  0b000..REQ_1
67481  *  0b001..REQ_2
67482  *  0b010..REQ_4
67483  *  0b011..REQ_8
67484  *  0b100..REQ_16
67485  */
67486 #define LCDIF_CTRL2_SET_OUTSTANDING_REQS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_OUTSTANDING_REQS_SHIFT)) & LCDIF_CTRL2_SET_OUTSTANDING_REQS_MASK)
67487 
67488 #define LCDIF_CTRL2_SET_RSRVD5_MASK              (0xFF000000U)
67489 #define LCDIF_CTRL2_SET_RSRVD5_SHIFT             (24U)
67490 #define LCDIF_CTRL2_SET_RSRVD5(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_SET_RSRVD5_SHIFT)) & LCDIF_CTRL2_SET_RSRVD5_MASK)
67491 /*! @} */
67492 
67493 /*! @name CTRL2_CLR - LCDIF General Control2 Register */
67494 /*! @{ */
67495 
67496 #define LCDIF_CTRL2_CLR_RSRVD0_MASK              (0xFFFU)
67497 #define LCDIF_CTRL2_CLR_RSRVD0_SHIFT             (0U)
67498 #define LCDIF_CTRL2_CLR_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_RSRVD0_SHIFT)) & LCDIF_CTRL2_CLR_RSRVD0_MASK)
67499 
67500 #define LCDIF_CTRL2_CLR_EVEN_LINE_PATTERN_MASK   (0x7000U)
67501 #define LCDIF_CTRL2_CLR_EVEN_LINE_PATTERN_SHIFT  (12U)
67502 /*! EVEN_LINE_PATTERN
67503  *  0b000..RGB
67504  *  0b001..RBG
67505  *  0b010..GBR
67506  *  0b011..GRB
67507  *  0b100..BRG
67508  *  0b101..BGR
67509  */
67510 #define LCDIF_CTRL2_CLR_EVEN_LINE_PATTERN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_EVEN_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_CLR_EVEN_LINE_PATTERN_MASK)
67511 
67512 #define LCDIF_CTRL2_CLR_RSRVD3_MASK              (0x8000U)
67513 #define LCDIF_CTRL2_CLR_RSRVD3_SHIFT             (15U)
67514 #define LCDIF_CTRL2_CLR_RSRVD3(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_RSRVD3_SHIFT)) & LCDIF_CTRL2_CLR_RSRVD3_MASK)
67515 
67516 #define LCDIF_CTRL2_CLR_ODD_LINE_PATTERN_MASK    (0x70000U)
67517 #define LCDIF_CTRL2_CLR_ODD_LINE_PATTERN_SHIFT   (16U)
67518 /*! ODD_LINE_PATTERN
67519  *  0b000..RGB
67520  *  0b001..RBG
67521  *  0b010..GBR
67522  *  0b011..GRB
67523  *  0b100..BRG
67524  *  0b101..BGR
67525  */
67526 #define LCDIF_CTRL2_CLR_ODD_LINE_PATTERN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_ODD_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_CLR_ODD_LINE_PATTERN_MASK)
67527 
67528 #define LCDIF_CTRL2_CLR_RSRVD4_MASK              (0x80000U)
67529 #define LCDIF_CTRL2_CLR_RSRVD4_SHIFT             (19U)
67530 #define LCDIF_CTRL2_CLR_RSRVD4(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_RSRVD4_SHIFT)) & LCDIF_CTRL2_CLR_RSRVD4_MASK)
67531 
67532 #define LCDIF_CTRL2_CLR_BURST_LEN_8_MASK         (0x100000U)
67533 #define LCDIF_CTRL2_CLR_BURST_LEN_8_SHIFT        (20U)
67534 #define LCDIF_CTRL2_CLR_BURST_LEN_8(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_BURST_LEN_8_SHIFT)) & LCDIF_CTRL2_CLR_BURST_LEN_8_MASK)
67535 
67536 #define LCDIF_CTRL2_CLR_OUTSTANDING_REQS_MASK    (0xE00000U)
67537 #define LCDIF_CTRL2_CLR_OUTSTANDING_REQS_SHIFT   (21U)
67538 /*! OUTSTANDING_REQS
67539  *  0b000..REQ_1
67540  *  0b001..REQ_2
67541  *  0b010..REQ_4
67542  *  0b011..REQ_8
67543  *  0b100..REQ_16
67544  */
67545 #define LCDIF_CTRL2_CLR_OUTSTANDING_REQS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_OUTSTANDING_REQS_SHIFT)) & LCDIF_CTRL2_CLR_OUTSTANDING_REQS_MASK)
67546 
67547 #define LCDIF_CTRL2_CLR_RSRVD5_MASK              (0xFF000000U)
67548 #define LCDIF_CTRL2_CLR_RSRVD5_SHIFT             (24U)
67549 #define LCDIF_CTRL2_CLR_RSRVD5(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_CLR_RSRVD5_SHIFT)) & LCDIF_CTRL2_CLR_RSRVD5_MASK)
67550 /*! @} */
67551 
67552 /*! @name CTRL2_TOG - LCDIF General Control2 Register */
67553 /*! @{ */
67554 
67555 #define LCDIF_CTRL2_TOG_RSRVD0_MASK              (0xFFFU)
67556 #define LCDIF_CTRL2_TOG_RSRVD0_SHIFT             (0U)
67557 #define LCDIF_CTRL2_TOG_RSRVD0(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_RSRVD0_SHIFT)) & LCDIF_CTRL2_TOG_RSRVD0_MASK)
67558 
67559 #define LCDIF_CTRL2_TOG_EVEN_LINE_PATTERN_MASK   (0x7000U)
67560 #define LCDIF_CTRL2_TOG_EVEN_LINE_PATTERN_SHIFT  (12U)
67561 /*! EVEN_LINE_PATTERN
67562  *  0b000..RGB
67563  *  0b001..RBG
67564  *  0b010..GBR
67565  *  0b011..GRB
67566  *  0b100..BRG
67567  *  0b101..BGR
67568  */
67569 #define LCDIF_CTRL2_TOG_EVEN_LINE_PATTERN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_EVEN_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_TOG_EVEN_LINE_PATTERN_MASK)
67570 
67571 #define LCDIF_CTRL2_TOG_RSRVD3_MASK              (0x8000U)
67572 #define LCDIF_CTRL2_TOG_RSRVD3_SHIFT             (15U)
67573 #define LCDIF_CTRL2_TOG_RSRVD3(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_RSRVD3_SHIFT)) & LCDIF_CTRL2_TOG_RSRVD3_MASK)
67574 
67575 #define LCDIF_CTRL2_TOG_ODD_LINE_PATTERN_MASK    (0x70000U)
67576 #define LCDIF_CTRL2_TOG_ODD_LINE_PATTERN_SHIFT   (16U)
67577 /*! ODD_LINE_PATTERN
67578  *  0b000..RGB
67579  *  0b001..RBG
67580  *  0b010..GBR
67581  *  0b011..GRB
67582  *  0b100..BRG
67583  *  0b101..BGR
67584  */
67585 #define LCDIF_CTRL2_TOG_ODD_LINE_PATTERN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_ODD_LINE_PATTERN_SHIFT)) & LCDIF_CTRL2_TOG_ODD_LINE_PATTERN_MASK)
67586 
67587 #define LCDIF_CTRL2_TOG_RSRVD4_MASK              (0x80000U)
67588 #define LCDIF_CTRL2_TOG_RSRVD4_SHIFT             (19U)
67589 #define LCDIF_CTRL2_TOG_RSRVD4(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_RSRVD4_SHIFT)) & LCDIF_CTRL2_TOG_RSRVD4_MASK)
67590 
67591 #define LCDIF_CTRL2_TOG_BURST_LEN_8_MASK         (0x100000U)
67592 #define LCDIF_CTRL2_TOG_BURST_LEN_8_SHIFT        (20U)
67593 #define LCDIF_CTRL2_TOG_BURST_LEN_8(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_BURST_LEN_8_SHIFT)) & LCDIF_CTRL2_TOG_BURST_LEN_8_MASK)
67594 
67595 #define LCDIF_CTRL2_TOG_OUTSTANDING_REQS_MASK    (0xE00000U)
67596 #define LCDIF_CTRL2_TOG_OUTSTANDING_REQS_SHIFT   (21U)
67597 /*! OUTSTANDING_REQS
67598  *  0b000..REQ_1
67599  *  0b001..REQ_2
67600  *  0b010..REQ_4
67601  *  0b011..REQ_8
67602  *  0b100..REQ_16
67603  */
67604 #define LCDIF_CTRL2_TOG_OUTSTANDING_REQS(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_OUTSTANDING_REQS_SHIFT)) & LCDIF_CTRL2_TOG_OUTSTANDING_REQS_MASK)
67605 
67606 #define LCDIF_CTRL2_TOG_RSRVD5_MASK              (0xFF000000U)
67607 #define LCDIF_CTRL2_TOG_RSRVD5_SHIFT             (24U)
67608 #define LCDIF_CTRL2_TOG_RSRVD5(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_CTRL2_TOG_RSRVD5_SHIFT)) & LCDIF_CTRL2_TOG_RSRVD5_MASK)
67609 /*! @} */
67610 
67611 /*! @name TRANSFER_COUNT - LCDIF Horizontal and Vertical Valid Data Count Register */
67612 /*! @{ */
67613 
67614 #define LCDIF_TRANSFER_COUNT_H_COUNT_MASK        (0xFFFFU)
67615 #define LCDIF_TRANSFER_COUNT_H_COUNT_SHIFT       (0U)
67616 #define LCDIF_TRANSFER_COUNT_H_COUNT(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_TRANSFER_COUNT_H_COUNT_SHIFT)) & LCDIF_TRANSFER_COUNT_H_COUNT_MASK)
67617 
67618 #define LCDIF_TRANSFER_COUNT_V_COUNT_MASK        (0xFFFF0000U)
67619 #define LCDIF_TRANSFER_COUNT_V_COUNT_SHIFT       (16U)
67620 #define LCDIF_TRANSFER_COUNT_V_COUNT(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_TRANSFER_COUNT_V_COUNT_SHIFT)) & LCDIF_TRANSFER_COUNT_V_COUNT_MASK)
67621 /*! @} */
67622 
67623 /*! @name CUR_BUF - LCD Interface Current Buffer Address Register */
67624 /*! @{ */
67625 
67626 #define LCDIF_CUR_BUF_ADDR_MASK                  (0xFFFFFFFFU)
67627 #define LCDIF_CUR_BUF_ADDR_SHIFT                 (0U)
67628 #define LCDIF_CUR_BUF_ADDR(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_CUR_BUF_ADDR_SHIFT)) & LCDIF_CUR_BUF_ADDR_MASK)
67629 /*! @} */
67630 
67631 /*! @name NEXT_BUF - LCD Interface Next Buffer Address Register */
67632 /*! @{ */
67633 
67634 #define LCDIF_NEXT_BUF_ADDR_MASK                 (0xFFFFFFFFU)
67635 #define LCDIF_NEXT_BUF_ADDR_SHIFT                (0U)
67636 #define LCDIF_NEXT_BUF_ADDR(x)                   (((uint32_t)(((uint32_t)(x)) << LCDIF_NEXT_BUF_ADDR_SHIFT)) & LCDIF_NEXT_BUF_ADDR_MASK)
67637 /*! @} */
67638 
67639 /*! @name VDCTRL0 - LCDIF VSYNC Mode and Dotclk Mode Control Register0 */
67640 /*! @{ */
67641 
67642 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_MASK     (0x3FFFFU)
67643 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_SHIFT    (0U)
67644 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_SHIFT)) & LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_MASK)
67645 
67646 #define LCDIF_VDCTRL0_HALF_LINE_MODE_MASK        (0x40000U)
67647 #define LCDIF_VDCTRL0_HALF_LINE_MODE_SHIFT       (18U)
67648 #define LCDIF_VDCTRL0_HALF_LINE_MODE(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_HALF_LINE_MODE_SHIFT)) & LCDIF_VDCTRL0_HALF_LINE_MODE_MASK)
67649 
67650 #define LCDIF_VDCTRL0_HALF_LINE_MASK             (0x80000U)
67651 #define LCDIF_VDCTRL0_HALF_LINE_SHIFT            (19U)
67652 #define LCDIF_VDCTRL0_HALF_LINE(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_HALF_LINE_SHIFT)) & LCDIF_VDCTRL0_HALF_LINE_MASK)
67653 
67654 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT_MASK (0x100000U)
67655 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT_SHIFT (20U)
67656 #define LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT_SHIFT)) & LCDIF_VDCTRL0_VSYNC_PULSE_WIDTH_UNIT_MASK)
67657 
67658 #define LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT_MASK     (0x200000U)
67659 #define LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT_SHIFT    (21U)
67660 #define LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT_SHIFT)) & LCDIF_VDCTRL0_VSYNC_PERIOD_UNIT_MASK)
67661 
67662 #define LCDIF_VDCTRL0_RSRVD1_MASK                (0xC00000U)
67663 #define LCDIF_VDCTRL0_RSRVD1_SHIFT               (22U)
67664 #define LCDIF_VDCTRL0_RSRVD1(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_RSRVD1_SHIFT)) & LCDIF_VDCTRL0_RSRVD1_MASK)
67665 
67666 #define LCDIF_VDCTRL0_ENABLE_POL_MASK            (0x1000000U)
67667 #define LCDIF_VDCTRL0_ENABLE_POL_SHIFT           (24U)
67668 #define LCDIF_VDCTRL0_ENABLE_POL(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_ENABLE_POL_SHIFT)) & LCDIF_VDCTRL0_ENABLE_POL_MASK)
67669 
67670 #define LCDIF_VDCTRL0_DOTCLK_POL_MASK            (0x2000000U)
67671 #define LCDIF_VDCTRL0_DOTCLK_POL_SHIFT           (25U)
67672 #define LCDIF_VDCTRL0_DOTCLK_POL(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_DOTCLK_POL_SHIFT)) & LCDIF_VDCTRL0_DOTCLK_POL_MASK)
67673 
67674 #define LCDIF_VDCTRL0_HSYNC_POL_MASK             (0x4000000U)
67675 #define LCDIF_VDCTRL0_HSYNC_POL_SHIFT            (26U)
67676 #define LCDIF_VDCTRL0_HSYNC_POL(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_HSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_HSYNC_POL_MASK)
67677 
67678 #define LCDIF_VDCTRL0_VSYNC_POL_MASK             (0x8000000U)
67679 #define LCDIF_VDCTRL0_VSYNC_POL_SHIFT            (27U)
67680 #define LCDIF_VDCTRL0_VSYNC_POL(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_VSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_VSYNC_POL_MASK)
67681 
67682 #define LCDIF_VDCTRL0_ENABLE_PRESENT_MASK        (0x10000000U)
67683 #define LCDIF_VDCTRL0_ENABLE_PRESENT_SHIFT       (28U)
67684 #define LCDIF_VDCTRL0_ENABLE_PRESENT(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_ENABLE_PRESENT_SHIFT)) & LCDIF_VDCTRL0_ENABLE_PRESENT_MASK)
67685 
67686 #define LCDIF_VDCTRL0_VSYNC_OEB_MASK             (0x20000000U)
67687 #define LCDIF_VDCTRL0_VSYNC_OEB_SHIFT            (29U)
67688 /*! VSYNC_OEB
67689  *  0b0..The VSYNC pin is in the output mode and the VSYNC signal has to be generated by the LCDIF block.
67690  *  0b1..The VSYNC pin is in the input mode and the LCD controller sends the VSYNC signal to the block.
67691  */
67692 #define LCDIF_VDCTRL0_VSYNC_OEB(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_VSYNC_OEB_SHIFT)) & LCDIF_VDCTRL0_VSYNC_OEB_MASK)
67693 
67694 #define LCDIF_VDCTRL0_RSRVD2_MASK                (0xC0000000U)
67695 #define LCDIF_VDCTRL0_RSRVD2_SHIFT               (30U)
67696 #define LCDIF_VDCTRL0_RSRVD2(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_RSRVD2_SHIFT)) & LCDIF_VDCTRL0_RSRVD2_MASK)
67697 /*! @} */
67698 
67699 /*! @name VDCTRL0_SET - LCDIF VSYNC Mode and Dotclk Mode Control Register0 */
67700 /*! @{ */
67701 
67702 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_MASK (0x3FFFFU)
67703 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_SHIFT (0U)
67704 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_SHIFT)) & LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_MASK)
67705 
67706 #define LCDIF_VDCTRL0_SET_HALF_LINE_MODE_MASK    (0x40000U)
67707 #define LCDIF_VDCTRL0_SET_HALF_LINE_MODE_SHIFT   (18U)
67708 #define LCDIF_VDCTRL0_SET_HALF_LINE_MODE(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_HALF_LINE_MODE_SHIFT)) & LCDIF_VDCTRL0_SET_HALF_LINE_MODE_MASK)
67709 
67710 #define LCDIF_VDCTRL0_SET_HALF_LINE_MASK         (0x80000U)
67711 #define LCDIF_VDCTRL0_SET_HALF_LINE_SHIFT        (19U)
67712 #define LCDIF_VDCTRL0_SET_HALF_LINE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_HALF_LINE_SHIFT)) & LCDIF_VDCTRL0_SET_HALF_LINE_MASK)
67713 
67714 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_UNIT_MASK (0x100000U)
67715 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_UNIT_SHIFT (20U)
67716 #define LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_UNIT(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_UNIT_SHIFT)) & LCDIF_VDCTRL0_SET_VSYNC_PULSE_WIDTH_UNIT_MASK)
67717 
67718 #define LCDIF_VDCTRL0_SET_VSYNC_PERIOD_UNIT_MASK (0x200000U)
67719 #define LCDIF_VDCTRL0_SET_VSYNC_PERIOD_UNIT_SHIFT (21U)
67720 #define LCDIF_VDCTRL0_SET_VSYNC_PERIOD_UNIT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_VSYNC_PERIOD_UNIT_SHIFT)) & LCDIF_VDCTRL0_SET_VSYNC_PERIOD_UNIT_MASK)
67721 
67722 #define LCDIF_VDCTRL0_SET_RSRVD1_MASK            (0xC00000U)
67723 #define LCDIF_VDCTRL0_SET_RSRVD1_SHIFT           (22U)
67724 #define LCDIF_VDCTRL0_SET_RSRVD1(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_RSRVD1_SHIFT)) & LCDIF_VDCTRL0_SET_RSRVD1_MASK)
67725 
67726 #define LCDIF_VDCTRL0_SET_ENABLE_POL_MASK        (0x1000000U)
67727 #define LCDIF_VDCTRL0_SET_ENABLE_POL_SHIFT       (24U)
67728 #define LCDIF_VDCTRL0_SET_ENABLE_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_ENABLE_POL_SHIFT)) & LCDIF_VDCTRL0_SET_ENABLE_POL_MASK)
67729 
67730 #define LCDIF_VDCTRL0_SET_DOTCLK_POL_MASK        (0x2000000U)
67731 #define LCDIF_VDCTRL0_SET_DOTCLK_POL_SHIFT       (25U)
67732 #define LCDIF_VDCTRL0_SET_DOTCLK_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_DOTCLK_POL_SHIFT)) & LCDIF_VDCTRL0_SET_DOTCLK_POL_MASK)
67733 
67734 #define LCDIF_VDCTRL0_SET_HSYNC_POL_MASK         (0x4000000U)
67735 #define LCDIF_VDCTRL0_SET_HSYNC_POL_SHIFT        (26U)
67736 #define LCDIF_VDCTRL0_SET_HSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_HSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_SET_HSYNC_POL_MASK)
67737 
67738 #define LCDIF_VDCTRL0_SET_VSYNC_POL_MASK         (0x8000000U)
67739 #define LCDIF_VDCTRL0_SET_VSYNC_POL_SHIFT        (27U)
67740 #define LCDIF_VDCTRL0_SET_VSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_VSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_SET_VSYNC_POL_MASK)
67741 
67742 #define LCDIF_VDCTRL0_SET_ENABLE_PRESENT_MASK    (0x10000000U)
67743 #define LCDIF_VDCTRL0_SET_ENABLE_PRESENT_SHIFT   (28U)
67744 #define LCDIF_VDCTRL0_SET_ENABLE_PRESENT(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_ENABLE_PRESENT_SHIFT)) & LCDIF_VDCTRL0_SET_ENABLE_PRESENT_MASK)
67745 
67746 #define LCDIF_VDCTRL0_SET_VSYNC_OEB_MASK         (0x20000000U)
67747 #define LCDIF_VDCTRL0_SET_VSYNC_OEB_SHIFT        (29U)
67748 /*! VSYNC_OEB
67749  *  0b0..The VSYNC pin is in the output mode and the VSYNC signal has to be generated by the LCDIF block.
67750  *  0b1..The VSYNC pin is in the input mode and the LCD controller sends the VSYNC signal to the block.
67751  */
67752 #define LCDIF_VDCTRL0_SET_VSYNC_OEB(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_VSYNC_OEB_SHIFT)) & LCDIF_VDCTRL0_SET_VSYNC_OEB_MASK)
67753 
67754 #define LCDIF_VDCTRL0_SET_RSRVD2_MASK            (0xC0000000U)
67755 #define LCDIF_VDCTRL0_SET_RSRVD2_SHIFT           (30U)
67756 #define LCDIF_VDCTRL0_SET_RSRVD2(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_SET_RSRVD2_SHIFT)) & LCDIF_VDCTRL0_SET_RSRVD2_MASK)
67757 /*! @} */
67758 
67759 /*! @name VDCTRL0_CLR - LCDIF VSYNC Mode and Dotclk Mode Control Register0 */
67760 /*! @{ */
67761 
67762 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_MASK (0x3FFFFU)
67763 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_SHIFT (0U)
67764 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_SHIFT)) & LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_MASK)
67765 
67766 #define LCDIF_VDCTRL0_CLR_HALF_LINE_MODE_MASK    (0x40000U)
67767 #define LCDIF_VDCTRL0_CLR_HALF_LINE_MODE_SHIFT   (18U)
67768 #define LCDIF_VDCTRL0_CLR_HALF_LINE_MODE(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_HALF_LINE_MODE_SHIFT)) & LCDIF_VDCTRL0_CLR_HALF_LINE_MODE_MASK)
67769 
67770 #define LCDIF_VDCTRL0_CLR_HALF_LINE_MASK         (0x80000U)
67771 #define LCDIF_VDCTRL0_CLR_HALF_LINE_SHIFT        (19U)
67772 #define LCDIF_VDCTRL0_CLR_HALF_LINE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_HALF_LINE_SHIFT)) & LCDIF_VDCTRL0_CLR_HALF_LINE_MASK)
67773 
67774 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_UNIT_MASK (0x100000U)
67775 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_UNIT_SHIFT (20U)
67776 #define LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_UNIT(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_UNIT_SHIFT)) & LCDIF_VDCTRL0_CLR_VSYNC_PULSE_WIDTH_UNIT_MASK)
67777 
67778 #define LCDIF_VDCTRL0_CLR_VSYNC_PERIOD_UNIT_MASK (0x200000U)
67779 #define LCDIF_VDCTRL0_CLR_VSYNC_PERIOD_UNIT_SHIFT (21U)
67780 #define LCDIF_VDCTRL0_CLR_VSYNC_PERIOD_UNIT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_VSYNC_PERIOD_UNIT_SHIFT)) & LCDIF_VDCTRL0_CLR_VSYNC_PERIOD_UNIT_MASK)
67781 
67782 #define LCDIF_VDCTRL0_CLR_RSRVD1_MASK            (0xC00000U)
67783 #define LCDIF_VDCTRL0_CLR_RSRVD1_SHIFT           (22U)
67784 #define LCDIF_VDCTRL0_CLR_RSRVD1(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_RSRVD1_SHIFT)) & LCDIF_VDCTRL0_CLR_RSRVD1_MASK)
67785 
67786 #define LCDIF_VDCTRL0_CLR_ENABLE_POL_MASK        (0x1000000U)
67787 #define LCDIF_VDCTRL0_CLR_ENABLE_POL_SHIFT       (24U)
67788 #define LCDIF_VDCTRL0_CLR_ENABLE_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_ENABLE_POL_SHIFT)) & LCDIF_VDCTRL0_CLR_ENABLE_POL_MASK)
67789 
67790 #define LCDIF_VDCTRL0_CLR_DOTCLK_POL_MASK        (0x2000000U)
67791 #define LCDIF_VDCTRL0_CLR_DOTCLK_POL_SHIFT       (25U)
67792 #define LCDIF_VDCTRL0_CLR_DOTCLK_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_DOTCLK_POL_SHIFT)) & LCDIF_VDCTRL0_CLR_DOTCLK_POL_MASK)
67793 
67794 #define LCDIF_VDCTRL0_CLR_HSYNC_POL_MASK         (0x4000000U)
67795 #define LCDIF_VDCTRL0_CLR_HSYNC_POL_SHIFT        (26U)
67796 #define LCDIF_VDCTRL0_CLR_HSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_HSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_CLR_HSYNC_POL_MASK)
67797 
67798 #define LCDIF_VDCTRL0_CLR_VSYNC_POL_MASK         (0x8000000U)
67799 #define LCDIF_VDCTRL0_CLR_VSYNC_POL_SHIFT        (27U)
67800 #define LCDIF_VDCTRL0_CLR_VSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_VSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_CLR_VSYNC_POL_MASK)
67801 
67802 #define LCDIF_VDCTRL0_CLR_ENABLE_PRESENT_MASK    (0x10000000U)
67803 #define LCDIF_VDCTRL0_CLR_ENABLE_PRESENT_SHIFT   (28U)
67804 #define LCDIF_VDCTRL0_CLR_ENABLE_PRESENT(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_ENABLE_PRESENT_SHIFT)) & LCDIF_VDCTRL0_CLR_ENABLE_PRESENT_MASK)
67805 
67806 #define LCDIF_VDCTRL0_CLR_VSYNC_OEB_MASK         (0x20000000U)
67807 #define LCDIF_VDCTRL0_CLR_VSYNC_OEB_SHIFT        (29U)
67808 /*! VSYNC_OEB
67809  *  0b0..The VSYNC pin is in the output mode and the VSYNC signal has to be generated by the LCDIF block.
67810  *  0b1..The VSYNC pin is in the input mode and the LCD controller sends the VSYNC signal to the block.
67811  */
67812 #define LCDIF_VDCTRL0_CLR_VSYNC_OEB(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_VSYNC_OEB_SHIFT)) & LCDIF_VDCTRL0_CLR_VSYNC_OEB_MASK)
67813 
67814 #define LCDIF_VDCTRL0_CLR_RSRVD2_MASK            (0xC0000000U)
67815 #define LCDIF_VDCTRL0_CLR_RSRVD2_SHIFT           (30U)
67816 #define LCDIF_VDCTRL0_CLR_RSRVD2(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_CLR_RSRVD2_SHIFT)) & LCDIF_VDCTRL0_CLR_RSRVD2_MASK)
67817 /*! @} */
67818 
67819 /*! @name VDCTRL0_TOG - LCDIF VSYNC Mode and Dotclk Mode Control Register0 */
67820 /*! @{ */
67821 
67822 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_MASK (0x3FFFFU)
67823 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_SHIFT (0U)
67824 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_SHIFT)) & LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_MASK)
67825 
67826 #define LCDIF_VDCTRL0_TOG_HALF_LINE_MODE_MASK    (0x40000U)
67827 #define LCDIF_VDCTRL0_TOG_HALF_LINE_MODE_SHIFT   (18U)
67828 #define LCDIF_VDCTRL0_TOG_HALF_LINE_MODE(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_HALF_LINE_MODE_SHIFT)) & LCDIF_VDCTRL0_TOG_HALF_LINE_MODE_MASK)
67829 
67830 #define LCDIF_VDCTRL0_TOG_HALF_LINE_MASK         (0x80000U)
67831 #define LCDIF_VDCTRL0_TOG_HALF_LINE_SHIFT        (19U)
67832 #define LCDIF_VDCTRL0_TOG_HALF_LINE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_HALF_LINE_SHIFT)) & LCDIF_VDCTRL0_TOG_HALF_LINE_MASK)
67833 
67834 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_UNIT_MASK (0x100000U)
67835 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_UNIT_SHIFT (20U)
67836 #define LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_UNIT(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_UNIT_SHIFT)) & LCDIF_VDCTRL0_TOG_VSYNC_PULSE_WIDTH_UNIT_MASK)
67837 
67838 #define LCDIF_VDCTRL0_TOG_VSYNC_PERIOD_UNIT_MASK (0x200000U)
67839 #define LCDIF_VDCTRL0_TOG_VSYNC_PERIOD_UNIT_SHIFT (21U)
67840 #define LCDIF_VDCTRL0_TOG_VSYNC_PERIOD_UNIT(x)   (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_VSYNC_PERIOD_UNIT_SHIFT)) & LCDIF_VDCTRL0_TOG_VSYNC_PERIOD_UNIT_MASK)
67841 
67842 #define LCDIF_VDCTRL0_TOG_RSRVD1_MASK            (0xC00000U)
67843 #define LCDIF_VDCTRL0_TOG_RSRVD1_SHIFT           (22U)
67844 #define LCDIF_VDCTRL0_TOG_RSRVD1(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_RSRVD1_SHIFT)) & LCDIF_VDCTRL0_TOG_RSRVD1_MASK)
67845 
67846 #define LCDIF_VDCTRL0_TOG_ENABLE_POL_MASK        (0x1000000U)
67847 #define LCDIF_VDCTRL0_TOG_ENABLE_POL_SHIFT       (24U)
67848 #define LCDIF_VDCTRL0_TOG_ENABLE_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_ENABLE_POL_SHIFT)) & LCDIF_VDCTRL0_TOG_ENABLE_POL_MASK)
67849 
67850 #define LCDIF_VDCTRL0_TOG_DOTCLK_POL_MASK        (0x2000000U)
67851 #define LCDIF_VDCTRL0_TOG_DOTCLK_POL_SHIFT       (25U)
67852 #define LCDIF_VDCTRL0_TOG_DOTCLK_POL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_DOTCLK_POL_SHIFT)) & LCDIF_VDCTRL0_TOG_DOTCLK_POL_MASK)
67853 
67854 #define LCDIF_VDCTRL0_TOG_HSYNC_POL_MASK         (0x4000000U)
67855 #define LCDIF_VDCTRL0_TOG_HSYNC_POL_SHIFT        (26U)
67856 #define LCDIF_VDCTRL0_TOG_HSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_HSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_TOG_HSYNC_POL_MASK)
67857 
67858 #define LCDIF_VDCTRL0_TOG_VSYNC_POL_MASK         (0x8000000U)
67859 #define LCDIF_VDCTRL0_TOG_VSYNC_POL_SHIFT        (27U)
67860 #define LCDIF_VDCTRL0_TOG_VSYNC_POL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_VSYNC_POL_SHIFT)) & LCDIF_VDCTRL0_TOG_VSYNC_POL_MASK)
67861 
67862 #define LCDIF_VDCTRL0_TOG_ENABLE_PRESENT_MASK    (0x10000000U)
67863 #define LCDIF_VDCTRL0_TOG_ENABLE_PRESENT_SHIFT   (28U)
67864 #define LCDIF_VDCTRL0_TOG_ENABLE_PRESENT(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_ENABLE_PRESENT_SHIFT)) & LCDIF_VDCTRL0_TOG_ENABLE_PRESENT_MASK)
67865 
67866 #define LCDIF_VDCTRL0_TOG_VSYNC_OEB_MASK         (0x20000000U)
67867 #define LCDIF_VDCTRL0_TOG_VSYNC_OEB_SHIFT        (29U)
67868 /*! VSYNC_OEB
67869  *  0b0..The VSYNC pin is in the output mode and the VSYNC signal has to be generated by the LCDIF block.
67870  *  0b1..The VSYNC pin is in the input mode and the LCD controller sends the VSYNC signal to the block.
67871  */
67872 #define LCDIF_VDCTRL0_TOG_VSYNC_OEB(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_VSYNC_OEB_SHIFT)) & LCDIF_VDCTRL0_TOG_VSYNC_OEB_MASK)
67873 
67874 #define LCDIF_VDCTRL0_TOG_RSRVD2_MASK            (0xC0000000U)
67875 #define LCDIF_VDCTRL0_TOG_RSRVD2_SHIFT           (30U)
67876 #define LCDIF_VDCTRL0_TOG_RSRVD2(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL0_TOG_RSRVD2_SHIFT)) & LCDIF_VDCTRL0_TOG_RSRVD2_MASK)
67877 /*! @} */
67878 
67879 /*! @name VDCTRL1 - LCDIF VSYNC Mode and Dotclk Mode Control Register1 */
67880 /*! @{ */
67881 
67882 #define LCDIF_VDCTRL1_VSYNC_PERIOD_MASK          (0xFFFFFFFFU)
67883 #define LCDIF_VDCTRL1_VSYNC_PERIOD_SHIFT         (0U)
67884 #define LCDIF_VDCTRL1_VSYNC_PERIOD(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL1_VSYNC_PERIOD_SHIFT)) & LCDIF_VDCTRL1_VSYNC_PERIOD_MASK)
67885 /*! @} */
67886 
67887 /*! @name VDCTRL2 - LCDIF VSYNC Mode and Dotclk Mode Control Register2 */
67888 /*! @{ */
67889 
67890 #define LCDIF_VDCTRL2_HSYNC_PERIOD_MASK          (0x3FFFFU)
67891 #define LCDIF_VDCTRL2_HSYNC_PERIOD_SHIFT         (0U)
67892 #define LCDIF_VDCTRL2_HSYNC_PERIOD(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL2_HSYNC_PERIOD_SHIFT)) & LCDIF_VDCTRL2_HSYNC_PERIOD_MASK)
67893 
67894 #define LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_MASK     (0xFFFC0000U)
67895 #define LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_SHIFT    (18U)
67896 #define LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_SHIFT)) & LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_MASK)
67897 /*! @} */
67898 
67899 /*! @name VDCTRL3 - LCDIF VSYNC Mode and Dotclk Mode Control Register3 */
67900 /*! @{ */
67901 
67902 #define LCDIF_VDCTRL3_VERTICAL_WAIT_CNT_MASK     (0xFFFFU)
67903 #define LCDIF_VDCTRL3_VERTICAL_WAIT_CNT_SHIFT    (0U)
67904 #define LCDIF_VDCTRL3_VERTICAL_WAIT_CNT(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL3_VERTICAL_WAIT_CNT_SHIFT)) & LCDIF_VDCTRL3_VERTICAL_WAIT_CNT_MASK)
67905 
67906 #define LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT_MASK   (0xFFF0000U)
67907 #define LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT_SHIFT  (16U)
67908 #define LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT_SHIFT)) & LCDIF_VDCTRL3_HORIZONTAL_WAIT_CNT_MASK)
67909 
67910 #define LCDIF_VDCTRL3_VSYNC_ONLY_MASK            (0x10000000U)
67911 #define LCDIF_VDCTRL3_VSYNC_ONLY_SHIFT           (28U)
67912 #define LCDIF_VDCTRL3_VSYNC_ONLY(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL3_VSYNC_ONLY_SHIFT)) & LCDIF_VDCTRL3_VSYNC_ONLY_MASK)
67913 
67914 #define LCDIF_VDCTRL3_MUX_SYNC_SIGNALS_MASK      (0x20000000U)
67915 #define LCDIF_VDCTRL3_MUX_SYNC_SIGNALS_SHIFT     (29U)
67916 #define LCDIF_VDCTRL3_MUX_SYNC_SIGNALS(x)        (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL3_MUX_SYNC_SIGNALS_SHIFT)) & LCDIF_VDCTRL3_MUX_SYNC_SIGNALS_MASK)
67917 
67918 #define LCDIF_VDCTRL3_RSRVD0_MASK                (0xC0000000U)
67919 #define LCDIF_VDCTRL3_RSRVD0_SHIFT               (30U)
67920 #define LCDIF_VDCTRL3_RSRVD0(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL3_RSRVD0_SHIFT)) & LCDIF_VDCTRL3_RSRVD0_MASK)
67921 /*! @} */
67922 
67923 /*! @name VDCTRL4 - LCDIF VSYNC Mode and Dotclk Mode Control Register4 */
67924 /*! @{ */
67925 
67926 #define LCDIF_VDCTRL4_DOTCLK_H_VALID_DATA_CNT_MASK (0x3FFFFU)
67927 #define LCDIF_VDCTRL4_DOTCLK_H_VALID_DATA_CNT_SHIFT (0U)
67928 #define LCDIF_VDCTRL4_DOTCLK_H_VALID_DATA_CNT(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL4_DOTCLK_H_VALID_DATA_CNT_SHIFT)) & LCDIF_VDCTRL4_DOTCLK_H_VALID_DATA_CNT_MASK)
67929 
67930 #define LCDIF_VDCTRL4_SYNC_SIGNALS_ON_MASK       (0x40000U)
67931 #define LCDIF_VDCTRL4_SYNC_SIGNALS_ON_SHIFT      (18U)
67932 #define LCDIF_VDCTRL4_SYNC_SIGNALS_ON(x)         (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL4_SYNC_SIGNALS_ON_SHIFT)) & LCDIF_VDCTRL4_SYNC_SIGNALS_ON_MASK)
67933 
67934 #define LCDIF_VDCTRL4_RSRVD0_MASK                (0x1FF80000U)
67935 #define LCDIF_VDCTRL4_RSRVD0_SHIFT               (19U)
67936 #define LCDIF_VDCTRL4_RSRVD0(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL4_RSRVD0_SHIFT)) & LCDIF_VDCTRL4_RSRVD0_MASK)
67937 
67938 #define LCDIF_VDCTRL4_DOTCLK_DLY_SEL_MASK        (0xE0000000U)
67939 #define LCDIF_VDCTRL4_DOTCLK_DLY_SEL_SHIFT       (29U)
67940 #define LCDIF_VDCTRL4_DOTCLK_DLY_SEL(x)          (((uint32_t)(((uint32_t)(x)) << LCDIF_VDCTRL4_DOTCLK_DLY_SEL_SHIFT)) & LCDIF_VDCTRL4_DOTCLK_DLY_SEL_MASK)
67941 /*! @} */
67942 
67943 /*! @name BM_ERROR_STAT - Bus Master Error Status Register */
67944 /*! @{ */
67945 
67946 #define LCDIF_BM_ERROR_STAT_ADDR_MASK            (0xFFFFFFFFU)
67947 #define LCDIF_BM_ERROR_STAT_ADDR_SHIFT           (0U)
67948 #define LCDIF_BM_ERROR_STAT_ADDR(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_BM_ERROR_STAT_ADDR_SHIFT)) & LCDIF_BM_ERROR_STAT_ADDR_MASK)
67949 /*! @} */
67950 
67951 /*! @name CRC_STAT - CRC Status Register */
67952 /*! @{ */
67953 
67954 #define LCDIF_CRC_STAT_CRC_VALUE_MASK            (0xFFFFFFFFU)
67955 #define LCDIF_CRC_STAT_CRC_VALUE_SHIFT           (0U)
67956 #define LCDIF_CRC_STAT_CRC_VALUE(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_CRC_STAT_CRC_VALUE_SHIFT)) & LCDIF_CRC_STAT_CRC_VALUE_MASK)
67957 /*! @} */
67958 
67959 /*! @name STAT - LCD Interface Status Register */
67960 /*! @{ */
67961 
67962 #define LCDIF_STAT_LFIFO_COUNT_MASK              (0x1FFU)
67963 #define LCDIF_STAT_LFIFO_COUNT_SHIFT             (0U)
67964 #define LCDIF_STAT_LFIFO_COUNT(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_LFIFO_COUNT_SHIFT)) & LCDIF_STAT_LFIFO_COUNT_MASK)
67965 
67966 #define LCDIF_STAT_RSRVD0_MASK                   (0x1FFFE00U)
67967 #define LCDIF_STAT_RSRVD0_SHIFT                  (9U)
67968 #define LCDIF_STAT_RSRVD0(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_RSRVD0_SHIFT)) & LCDIF_STAT_RSRVD0_MASK)
67969 
67970 #define LCDIF_STAT_TXFIFO_EMPTY_MASK             (0x4000000U)
67971 #define LCDIF_STAT_TXFIFO_EMPTY_SHIFT            (26U)
67972 #define LCDIF_STAT_TXFIFO_EMPTY(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_TXFIFO_EMPTY_SHIFT)) & LCDIF_STAT_TXFIFO_EMPTY_MASK)
67973 
67974 #define LCDIF_STAT_TXFIFO_FULL_MASK              (0x8000000U)
67975 #define LCDIF_STAT_TXFIFO_FULL_SHIFT             (27U)
67976 #define LCDIF_STAT_TXFIFO_FULL(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_TXFIFO_FULL_SHIFT)) & LCDIF_STAT_TXFIFO_FULL_MASK)
67977 
67978 #define LCDIF_STAT_LFIFO_EMPTY_MASK              (0x10000000U)
67979 #define LCDIF_STAT_LFIFO_EMPTY_SHIFT             (28U)
67980 #define LCDIF_STAT_LFIFO_EMPTY(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_LFIFO_EMPTY_SHIFT)) & LCDIF_STAT_LFIFO_EMPTY_MASK)
67981 
67982 #define LCDIF_STAT_LFIFO_FULL_MASK               (0x20000000U)
67983 #define LCDIF_STAT_LFIFO_FULL_SHIFT              (29U)
67984 #define LCDIF_STAT_LFIFO_FULL(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_LFIFO_FULL_SHIFT)) & LCDIF_STAT_LFIFO_FULL_MASK)
67985 
67986 #define LCDIF_STAT_DMA_REQ_MASK                  (0x40000000U)
67987 #define LCDIF_STAT_DMA_REQ_SHIFT                 (30U)
67988 #define LCDIF_STAT_DMA_REQ(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_DMA_REQ_SHIFT)) & LCDIF_STAT_DMA_REQ_MASK)
67989 
67990 #define LCDIF_STAT_PRESENT_MASK                  (0x80000000U)
67991 #define LCDIF_STAT_PRESENT_SHIFT                 (31U)
67992 #define LCDIF_STAT_PRESENT(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_STAT_PRESENT_SHIFT)) & LCDIF_STAT_PRESENT_MASK)
67993 /*! @} */
67994 
67995 /*! @name THRES - LCDIF Threshold Register */
67996 /*! @{ */
67997 
67998 #define LCDIF_THRES_RSRVD_MASK                   (0x1FFU)
67999 #define LCDIF_THRES_RSRVD_SHIFT                  (0U)
68000 #define LCDIF_THRES_RSRVD(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_THRES_RSRVD_SHIFT)) & LCDIF_THRES_RSRVD_MASK)
68001 
68002 #define LCDIF_THRES_RSRVD1_MASK                  (0xFE00U)
68003 #define LCDIF_THRES_RSRVD1_SHIFT                 (9U)
68004 #define LCDIF_THRES_RSRVD1(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_THRES_RSRVD1_SHIFT)) & LCDIF_THRES_RSRVD1_MASK)
68005 
68006 #define LCDIF_THRES_FASTCLOCK_MASK               (0x1FF0000U)
68007 #define LCDIF_THRES_FASTCLOCK_SHIFT              (16U)
68008 #define LCDIF_THRES_FASTCLOCK(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_THRES_FASTCLOCK_SHIFT)) & LCDIF_THRES_FASTCLOCK_MASK)
68009 
68010 #define LCDIF_THRES_RSRVD2_MASK                  (0xFE000000U)
68011 #define LCDIF_THRES_RSRVD2_SHIFT                 (25U)
68012 #define LCDIF_THRES_RSRVD2(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_THRES_RSRVD2_SHIFT)) & LCDIF_THRES_RSRVD2_MASK)
68013 /*! @} */
68014 
68015 /*! @name PIGEONCTRL0 - LCDIF Pigeon Mode Control0 Register */
68016 /*! @{ */
68017 
68018 #define LCDIF_PIGEONCTRL0_FD_PERIOD_MASK         (0xFFFU)
68019 #define LCDIF_PIGEONCTRL0_FD_PERIOD_SHIFT        (0U)
68020 #define LCDIF_PIGEONCTRL0_FD_PERIOD(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_FD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_FD_PERIOD_MASK)
68021 
68022 #define LCDIF_PIGEONCTRL0_LD_PERIOD_MASK         (0xFFF0000U)
68023 #define LCDIF_PIGEONCTRL0_LD_PERIOD_SHIFT        (16U)
68024 #define LCDIF_PIGEONCTRL0_LD_PERIOD(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_LD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_LD_PERIOD_MASK)
68025 /*! @} */
68026 
68027 /*! @name PIGEONCTRL0_SET - LCDIF Pigeon Mode Control0 Register */
68028 /*! @{ */
68029 
68030 #define LCDIF_PIGEONCTRL0_SET_FD_PERIOD_MASK     (0xFFFU)
68031 #define LCDIF_PIGEONCTRL0_SET_FD_PERIOD_SHIFT    (0U)
68032 #define LCDIF_PIGEONCTRL0_SET_FD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_SET_FD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_SET_FD_PERIOD_MASK)
68033 
68034 #define LCDIF_PIGEONCTRL0_SET_LD_PERIOD_MASK     (0xFFF0000U)
68035 #define LCDIF_PIGEONCTRL0_SET_LD_PERIOD_SHIFT    (16U)
68036 #define LCDIF_PIGEONCTRL0_SET_LD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_SET_LD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_SET_LD_PERIOD_MASK)
68037 /*! @} */
68038 
68039 /*! @name PIGEONCTRL0_CLR - LCDIF Pigeon Mode Control0 Register */
68040 /*! @{ */
68041 
68042 #define LCDIF_PIGEONCTRL0_CLR_FD_PERIOD_MASK     (0xFFFU)
68043 #define LCDIF_PIGEONCTRL0_CLR_FD_PERIOD_SHIFT    (0U)
68044 #define LCDIF_PIGEONCTRL0_CLR_FD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_CLR_FD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_CLR_FD_PERIOD_MASK)
68045 
68046 #define LCDIF_PIGEONCTRL0_CLR_LD_PERIOD_MASK     (0xFFF0000U)
68047 #define LCDIF_PIGEONCTRL0_CLR_LD_PERIOD_SHIFT    (16U)
68048 #define LCDIF_PIGEONCTRL0_CLR_LD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_CLR_LD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_CLR_LD_PERIOD_MASK)
68049 /*! @} */
68050 
68051 /*! @name PIGEONCTRL0_TOG - LCDIF Pigeon Mode Control0 Register */
68052 /*! @{ */
68053 
68054 #define LCDIF_PIGEONCTRL0_TOG_FD_PERIOD_MASK     (0xFFFU)
68055 #define LCDIF_PIGEONCTRL0_TOG_FD_PERIOD_SHIFT    (0U)
68056 #define LCDIF_PIGEONCTRL0_TOG_FD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_TOG_FD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_TOG_FD_PERIOD_MASK)
68057 
68058 #define LCDIF_PIGEONCTRL0_TOG_LD_PERIOD_MASK     (0xFFF0000U)
68059 #define LCDIF_PIGEONCTRL0_TOG_LD_PERIOD_SHIFT    (16U)
68060 #define LCDIF_PIGEONCTRL0_TOG_LD_PERIOD(x)       (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL0_TOG_LD_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL0_TOG_LD_PERIOD_MASK)
68061 /*! @} */
68062 
68063 /*! @name PIGEONCTRL1 - LCDIF Pigeon Mode Control1 Register */
68064 /*! @{ */
68065 
68066 #define LCDIF_PIGEONCTRL1_FRAME_CNT_PERIOD_MASK  (0xFFFU)
68067 #define LCDIF_PIGEONCTRL1_FRAME_CNT_PERIOD_SHIFT (0U)
68068 #define LCDIF_PIGEONCTRL1_FRAME_CNT_PERIOD(x)    (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_FRAME_CNT_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL1_FRAME_CNT_PERIOD_MASK)
68069 
68070 #define LCDIF_PIGEONCTRL1_FRAME_CNT_CYCLES_MASK  (0xFFF0000U)
68071 #define LCDIF_PIGEONCTRL1_FRAME_CNT_CYCLES_SHIFT (16U)
68072 #define LCDIF_PIGEONCTRL1_FRAME_CNT_CYCLES(x)    (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_FRAME_CNT_CYCLES_SHIFT)) & LCDIF_PIGEONCTRL1_FRAME_CNT_CYCLES_MASK)
68073 /*! @} */
68074 
68075 /*! @name PIGEONCTRL1_SET - LCDIF Pigeon Mode Control1 Register */
68076 /*! @{ */
68077 
68078 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_PERIOD_MASK (0xFFFU)
68079 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_PERIOD_SHIFT (0U)
68080 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_PERIOD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_SET_FRAME_CNT_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL1_SET_FRAME_CNT_PERIOD_MASK)
68081 
68082 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_CYCLES_MASK (0xFFF0000U)
68083 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_CYCLES_SHIFT (16U)
68084 #define LCDIF_PIGEONCTRL1_SET_FRAME_CNT_CYCLES(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_SET_FRAME_CNT_CYCLES_SHIFT)) & LCDIF_PIGEONCTRL1_SET_FRAME_CNT_CYCLES_MASK)
68085 /*! @} */
68086 
68087 /*! @name PIGEONCTRL1_CLR - LCDIF Pigeon Mode Control1 Register */
68088 /*! @{ */
68089 
68090 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_PERIOD_MASK (0xFFFU)
68091 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_PERIOD_SHIFT (0U)
68092 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_PERIOD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_PERIOD_MASK)
68093 
68094 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_CYCLES_MASK (0xFFF0000U)
68095 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_CYCLES_SHIFT (16U)
68096 #define LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_CYCLES(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_CYCLES_SHIFT)) & LCDIF_PIGEONCTRL1_CLR_FRAME_CNT_CYCLES_MASK)
68097 /*! @} */
68098 
68099 /*! @name PIGEONCTRL1_TOG - LCDIF Pigeon Mode Control1 Register */
68100 /*! @{ */
68101 
68102 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_PERIOD_MASK (0xFFFU)
68103 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_PERIOD_SHIFT (0U)
68104 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_PERIOD(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_PERIOD_SHIFT)) & LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_PERIOD_MASK)
68105 
68106 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_CYCLES_MASK (0xFFF0000U)
68107 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_CYCLES_SHIFT (16U)
68108 #define LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_CYCLES(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_CYCLES_SHIFT)) & LCDIF_PIGEONCTRL1_TOG_FRAME_CNT_CYCLES_MASK)
68109 /*! @} */
68110 
68111 /*! @name PIGEONCTRL2 - LCDIF Pigeon Mode Control2 Register */
68112 /*! @{ */
68113 
68114 #define LCDIF_PIGEONCTRL2_PIGEON_DATA_EN_MASK    (0x1U)
68115 #define LCDIF_PIGEONCTRL2_PIGEON_DATA_EN_SHIFT   (0U)
68116 #define LCDIF_PIGEONCTRL2_PIGEON_DATA_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_PIGEON_DATA_EN_SHIFT)) & LCDIF_PIGEONCTRL2_PIGEON_DATA_EN_MASK)
68117 
68118 #define LCDIF_PIGEONCTRL2_PIGEON_CLK_GATE_MASK   (0x2U)
68119 #define LCDIF_PIGEONCTRL2_PIGEON_CLK_GATE_SHIFT  (1U)
68120 #define LCDIF_PIGEONCTRL2_PIGEON_CLK_GATE(x)     (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_PIGEON_CLK_GATE_SHIFT)) & LCDIF_PIGEONCTRL2_PIGEON_CLK_GATE_MASK)
68121 /*! @} */
68122 
68123 /*! @name PIGEONCTRL2_SET - LCDIF Pigeon Mode Control2 Register */
68124 /*! @{ */
68125 
68126 #define LCDIF_PIGEONCTRL2_SET_PIGEON_DATA_EN_MASK (0x1U)
68127 #define LCDIF_PIGEONCTRL2_SET_PIGEON_DATA_EN_SHIFT (0U)
68128 #define LCDIF_PIGEONCTRL2_SET_PIGEON_DATA_EN(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_SET_PIGEON_DATA_EN_SHIFT)) & LCDIF_PIGEONCTRL2_SET_PIGEON_DATA_EN_MASK)
68129 
68130 #define LCDIF_PIGEONCTRL2_SET_PIGEON_CLK_GATE_MASK (0x2U)
68131 #define LCDIF_PIGEONCTRL2_SET_PIGEON_CLK_GATE_SHIFT (1U)
68132 #define LCDIF_PIGEONCTRL2_SET_PIGEON_CLK_GATE(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_SET_PIGEON_CLK_GATE_SHIFT)) & LCDIF_PIGEONCTRL2_SET_PIGEON_CLK_GATE_MASK)
68133 /*! @} */
68134 
68135 /*! @name PIGEONCTRL2_CLR - LCDIF Pigeon Mode Control2 Register */
68136 /*! @{ */
68137 
68138 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_DATA_EN_MASK (0x1U)
68139 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_DATA_EN_SHIFT (0U)
68140 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_DATA_EN(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_CLR_PIGEON_DATA_EN_SHIFT)) & LCDIF_PIGEONCTRL2_CLR_PIGEON_DATA_EN_MASK)
68141 
68142 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_CLK_GATE_MASK (0x2U)
68143 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_CLK_GATE_SHIFT (1U)
68144 #define LCDIF_PIGEONCTRL2_CLR_PIGEON_CLK_GATE(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_CLR_PIGEON_CLK_GATE_SHIFT)) & LCDIF_PIGEONCTRL2_CLR_PIGEON_CLK_GATE_MASK)
68145 /*! @} */
68146 
68147 /*! @name PIGEONCTRL2_TOG - LCDIF Pigeon Mode Control2 Register */
68148 /*! @{ */
68149 
68150 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_DATA_EN_MASK (0x1U)
68151 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_DATA_EN_SHIFT (0U)
68152 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_DATA_EN(x)  (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_TOG_PIGEON_DATA_EN_SHIFT)) & LCDIF_PIGEONCTRL2_TOG_PIGEON_DATA_EN_MASK)
68153 
68154 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_CLK_GATE_MASK (0x2U)
68155 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_CLK_GATE_SHIFT (1U)
68156 #define LCDIF_PIGEONCTRL2_TOG_PIGEON_CLK_GATE(x) (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEONCTRL2_TOG_PIGEON_CLK_GATE_SHIFT)) & LCDIF_PIGEONCTRL2_TOG_PIGEON_CLK_GATE_MASK)
68157 /*! @} */
68158 
68159 /*! @name PIGEON_0 - Panel Interface Signal Generator Register */
68160 /*! @{ */
68161 
68162 #define LCDIF_PIGEON_0_EN_MASK                   (0x1U)
68163 #define LCDIF_PIGEON_0_EN_SHIFT                  (0U)
68164 #define LCDIF_PIGEON_0_EN(x)                     (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_EN_SHIFT)) & LCDIF_PIGEON_0_EN_MASK)
68165 
68166 #define LCDIF_PIGEON_0_POL_MASK                  (0x2U)
68167 #define LCDIF_PIGEON_0_POL_SHIFT                 (1U)
68168 /*! POL
68169  *  0b0..Normal Signal (Active high)
68170  *  0b1..Inverted signal (Active low)
68171  */
68172 #define LCDIF_PIGEON_0_POL(x)                    (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_POL_SHIFT)) & LCDIF_PIGEON_0_POL_MASK)
68173 
68174 #define LCDIF_PIGEON_0_INC_SEL_MASK              (0xCU)
68175 #define LCDIF_PIGEON_0_INC_SEL_SHIFT             (2U)
68176 /*! INC_SEL
68177  *  0b00..pclk
68178  *  0b01..Line start pulse
68179  *  0b10..Frame start pulse
68180  *  0b11..Use another signal as tick event
68181  */
68182 #define LCDIF_PIGEON_0_INC_SEL(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_INC_SEL_SHIFT)) & LCDIF_PIGEON_0_INC_SEL_MASK)
68183 
68184 #define LCDIF_PIGEON_0_OFFSET_MASK               (0xF0U)
68185 #define LCDIF_PIGEON_0_OFFSET_SHIFT              (4U)
68186 #define LCDIF_PIGEON_0_OFFSET(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_OFFSET_SHIFT)) & LCDIF_PIGEON_0_OFFSET_MASK)
68187 
68188 #define LCDIF_PIGEON_0_MASK_CNT_SEL_MASK         (0xF00U)
68189 #define LCDIF_PIGEON_0_MASK_CNT_SEL_SHIFT        (8U)
68190 /*! MASK_CNT_SEL
68191  *  0b0000..pclk counter within one hscan state
68192  *  0b0001..pclk cycle within one hscan state
68193  *  0b0010..line counter within one vscan state
68194  *  0b0011..line cycle within one vscan state
68195  *  0b0100..frame counter
68196  *  0b0101..frame cycle
68197  *  0b0110..horizontal counter (pclk counter within one line )
68198  *  0b0111..vertical counter (line counter within one frame)
68199  */
68200 #define LCDIF_PIGEON_0_MASK_CNT_SEL(x)           (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_MASK_CNT_SEL_SHIFT)) & LCDIF_PIGEON_0_MASK_CNT_SEL_MASK)
68201 
68202 #define LCDIF_PIGEON_0_MASK_CNT_MASK             (0xFFF000U)
68203 #define LCDIF_PIGEON_0_MASK_CNT_SHIFT            (12U)
68204 #define LCDIF_PIGEON_0_MASK_CNT(x)               (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_MASK_CNT_SHIFT)) & LCDIF_PIGEON_0_MASK_CNT_MASK)
68205 
68206 #define LCDIF_PIGEON_0_STATE_MASK_MASK           (0xFF000000U)
68207 #define LCDIF_PIGEON_0_STATE_MASK_SHIFT          (24U)
68208 /*! STATE_MASK
68209  *  0b00000001..FRAME SYNC
68210  *  0b00000010..FRAME BEGIN
68211  *  0b00000100..FRAME DATA
68212  *  0b00001000..FRAME END
68213  *  0b00010000..LINE SYNC
68214  *  0b00100000..LINE BEGIN
68215  *  0b01000000..LINE DATA
68216  *  0b10000000..LINE END
68217  */
68218 #define LCDIF_PIGEON_0_STATE_MASK(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_0_STATE_MASK_SHIFT)) & LCDIF_PIGEON_0_STATE_MASK_MASK)
68219 /*! @} */
68220 
68221 /* The count of LCDIF_PIGEON_0 */
68222 #define LCDIF_PIGEON_0_COUNT                     (12U)
68223 
68224 /*! @name PIGEON_1 - Panel Interface Signal Generator Register */
68225 /*! @{ */
68226 
68227 #define LCDIF_PIGEON_1_SET_CNT_MASK              (0xFFFFU)
68228 #define LCDIF_PIGEON_1_SET_CNT_SHIFT             (0U)
68229 /*! SET_CNT
68230  *  0b0000000000000000..Start as active
68231  */
68232 #define LCDIF_PIGEON_1_SET_CNT(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_1_SET_CNT_SHIFT)) & LCDIF_PIGEON_1_SET_CNT_MASK)
68233 
68234 #define LCDIF_PIGEON_1_CLR_CNT_MASK              (0xFFFF0000U)
68235 #define LCDIF_PIGEON_1_CLR_CNT_SHIFT             (16U)
68236 /*! CLR_CNT
68237  *  0b0000000000000000..Keep active until mask off
68238  */
68239 #define LCDIF_PIGEON_1_CLR_CNT(x)                (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_1_CLR_CNT_SHIFT)) & LCDIF_PIGEON_1_CLR_CNT_MASK)
68240 /*! @} */
68241 
68242 /* The count of LCDIF_PIGEON_1 */
68243 #define LCDIF_PIGEON_1_COUNT                     (12U)
68244 
68245 /*! @name PIGEON_2 - Panel Interface Signal Generator Register */
68246 /*! @{ */
68247 
68248 #define LCDIF_PIGEON_2_SIG_LOGIC_MASK            (0xFU)
68249 #define LCDIF_PIGEON_2_SIG_LOGIC_SHIFT           (0U)
68250 /*! SIG_LOGIC
68251  *  0b0000..No logic operation
68252  *  0b0001..sigout = sig_another AND this_sig
68253  *  0b0010..sigout = sig_another OR this_sig
68254  *  0b0011..mask = sig_another AND other_masks
68255  */
68256 #define LCDIF_PIGEON_2_SIG_LOGIC(x)              (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_2_SIG_LOGIC_SHIFT)) & LCDIF_PIGEON_2_SIG_LOGIC_MASK)
68257 
68258 #define LCDIF_PIGEON_2_SIG_ANOTHER_MASK          (0x1F0U)
68259 #define LCDIF_PIGEON_2_SIG_ANOTHER_SHIFT         (4U)
68260 /*! SIG_ANOTHER
68261  *  0b00000..Keep active until mask off
68262  */
68263 #define LCDIF_PIGEON_2_SIG_ANOTHER(x)            (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_2_SIG_ANOTHER_SHIFT)) & LCDIF_PIGEON_2_SIG_ANOTHER_MASK)
68264 
68265 #define LCDIF_PIGEON_2_RSVD_MASK                 (0xFFFFFE00U)
68266 #define LCDIF_PIGEON_2_RSVD_SHIFT                (9U)
68267 #define LCDIF_PIGEON_2_RSVD(x)                   (((uint32_t)(((uint32_t)(x)) << LCDIF_PIGEON_2_RSVD_SHIFT)) & LCDIF_PIGEON_2_RSVD_MASK)
68268 /*! @} */
68269 
68270 /* The count of LCDIF_PIGEON_2 */
68271 #define LCDIF_PIGEON_2_COUNT                     (12U)
68272 
68273 /*! @name LUT_CTRL - Look Up Table Control Register */
68274 /*! @{ */
68275 
68276 #define LCDIF_LUT_CTRL_LUT_BYPASS_MASK           (0x1U)
68277 #define LCDIF_LUT_CTRL_LUT_BYPASS_SHIFT          (0U)
68278 #define LCDIF_LUT_CTRL_LUT_BYPASS(x)             (((uint32_t)(((uint32_t)(x)) << LCDIF_LUT_CTRL_LUT_BYPASS_SHIFT)) & LCDIF_LUT_CTRL_LUT_BYPASS_MASK)
68279 /*! @} */
68280 
68281 /*! @name LUT0_ADDR - Lookup Table 0 Index Register */
68282 /*! @{ */
68283 
68284 #define LCDIF_LUT0_ADDR_ADDR_MASK                (0xFFU)
68285 #define LCDIF_LUT0_ADDR_ADDR_SHIFT               (0U)
68286 #define LCDIF_LUT0_ADDR_ADDR(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_LUT0_ADDR_ADDR_SHIFT)) & LCDIF_LUT0_ADDR_ADDR_MASK)
68287 /*! @} */
68288 
68289 /*! @name LUT0_DATA - Lookup Table 0 Data Register */
68290 /*! @{ */
68291 
68292 #define LCDIF_LUT0_DATA_DATA_MASK                (0xFFFFFFFFU)
68293 #define LCDIF_LUT0_DATA_DATA_SHIFT               (0U)
68294 #define LCDIF_LUT0_DATA_DATA(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_LUT0_DATA_DATA_SHIFT)) & LCDIF_LUT0_DATA_DATA_MASK)
68295 /*! @} */
68296 
68297 /*! @name LUT1_ADDR - Lookup Table 1 Index Register */
68298 /*! @{ */
68299 
68300 #define LCDIF_LUT1_ADDR_ADDR_MASK                (0xFFU)
68301 #define LCDIF_LUT1_ADDR_ADDR_SHIFT               (0U)
68302 #define LCDIF_LUT1_ADDR_ADDR(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_LUT1_ADDR_ADDR_SHIFT)) & LCDIF_LUT1_ADDR_ADDR_MASK)
68303 /*! @} */
68304 
68305 /*! @name LUT1_DATA - Lookup Table 1 Data Register */
68306 /*! @{ */
68307 
68308 #define LCDIF_LUT1_DATA_DATA_MASK                (0xFFFFFFFFU)
68309 #define LCDIF_LUT1_DATA_DATA_SHIFT               (0U)
68310 #define LCDIF_LUT1_DATA_DATA(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIF_LUT1_DATA_DATA_SHIFT)) & LCDIF_LUT1_DATA_DATA_MASK)
68311 /*! @} */
68312 
68313 
68314 /*!
68315  * @}
68316  */ /* end of group LCDIF_Register_Masks */
68317 
68318 
68319 /* LCDIF - Peripheral instance base addresses */
68320 /** Peripheral LCDIF base address */
68321 #define LCDIF_BASE                               (0x40804000u)
68322 /** Peripheral LCDIF base pointer */
68323 #define LCDIF                                    ((LCDIF_Type *)LCDIF_BASE)
68324 /** Array initializer of LCDIF peripheral base addresses */
68325 #define LCDIF_BASE_ADDRS                         { LCDIF_BASE }
68326 /** Array initializer of LCDIF peripheral base pointers */
68327 #define LCDIF_BASE_PTRS                          { LCDIF }
68328 /** Interrupt vectors for the LCDIF peripheral type */
68329 #define LCDIF_IRQ0_IRQS                          { eLCDIF_IRQn }
68330 
68331 /*!
68332  * @}
68333  */ /* end of group LCDIF_Peripheral_Access_Layer */
68334 
68335 
68336 /* ----------------------------------------------------------------------------
68337    -- LCDIFV2 Peripheral Access Layer
68338    ---------------------------------------------------------------------------- */
68339 
68340 /*!
68341  * @addtogroup LCDIFV2_Peripheral_Access_Layer LCDIFV2 Peripheral Access Layer
68342  * @{
68343  */
68344 
68345 /** LCDIFV2 - Register Layout Typedef */
68346 typedef struct {
68347   __IO uint32_t CTRL;                              /**< LCDIFv2 display control Register, offset: 0x0 */
68348   __IO uint32_t CTRL_SET;                          /**< LCDIFv2 display control Register, offset: 0x4 */
68349   __IO uint32_t CTRL_CLR;                          /**< LCDIFv2 display control Register, offset: 0x8 */
68350   __IO uint32_t CTRL_TOG;                          /**< LCDIFv2 display control Register, offset: 0xC */
68351   __IO uint32_t DISP_PARA;                         /**< Display Parameter Register, offset: 0x10 */
68352   __IO uint32_t DISP_SIZE;                         /**< Display Size Register, offset: 0x14 */
68353   __IO uint32_t HSYN_PARA;                         /**< Horizontal Sync Parameter Register, offset: 0x18 */
68354   __IO uint32_t VSYN_PARA;                         /**< Vertical Sync Parameter Register, offset: 0x1C */
68355   struct {                                         /* offset: 0x20, array step: 0x10 */
68356     __IO uint32_t INT_STATUS;                        /**< Interrupt Status Register for domain 0..Interrupt Status Register for domain 1, array offset: 0x20, array step: 0x10 */
68357     __IO uint32_t INT_ENABLE;                        /**< Interrupt Enable Register for domain 0..Interrupt Enable Register for domain 1, array offset: 0x24, array step: 0x10 */
68358          uint8_t RESERVED_0[8];
68359   } INT[2];
68360   __IO uint32_t PDI_PARA;                          /**< Parallel Data Interface Parameter Register, offset: 0x40 */
68361        uint8_t RESERVED_0[444];
68362   struct {                                         /* offset: 0x200, array step: 0x40 */
68363     __IO uint32_t CTRLDESCL1;                        /**< Control Descriptor Layer 1 Register, array offset: 0x200, array step: 0x40 */
68364     __IO uint32_t CTRLDESCL2;                        /**< Control Descriptor Layer 2 Register, array offset: 0x204, array step: 0x40 */
68365     __IO uint32_t CTRLDESCL3;                        /**< Control Descriptor Layer 3 Register, array offset: 0x208, array step: 0x40 */
68366     __IO uint32_t CTRLDESCL4;                        /**< Control Descriptor Layer 4 Register, array offset: 0x20C, array step: 0x40 */
68367     __IO uint32_t CTRLDESCL5;                        /**< Control Descriptor Layer 5 Register, array offset: 0x210, array step: 0x40 */
68368     __IO uint32_t CTRLDESCL6;                        /**< Control Descriptor Layer 6 Register, array offset: 0x214, array step: 0x40 */
68369     __IO uint32_t CSC_COEF0;                         /**< Color Space Conversion Coefficient Register 0, array offset: 0x218, array step: 0x40, this item is not available for all array instances */
68370     __IO uint32_t CSC_COEF1;                         /**< Color Space Conversion Coefficient Register 1, array offset: 0x21C, array step: 0x40, this item is not available for all array instances */
68371     __IO uint32_t CSC_COEF2;                         /**< Color Space Conversion Coefficient Register 2, array offset: 0x220, array step: 0x40, this item is not available for all array instances */
68372          uint8_t RESERVED_0[28];
68373   } LAYER[8];
68374   __IO uint32_t CLUT_LOAD;                         /**< LCDIFv2 CLUT load Register, offset: 0x400 */
68375 } LCDIFV2_Type;
68376 
68377 /* ----------------------------------------------------------------------------
68378    -- LCDIFV2 Register Masks
68379    ---------------------------------------------------------------------------- */
68380 
68381 /*!
68382  * @addtogroup LCDIFV2_Register_Masks LCDIFV2 Register Masks
68383  * @{
68384  */
68385 
68386 /*! @name CTRL - LCDIFv2 display control Register */
68387 /*! @{ */
68388 
68389 #define LCDIFV2_CTRL_INV_HS_MASK                 (0x1U)
68390 #define LCDIFV2_CTRL_INV_HS_SHIFT                (0U)
68391 /*! INV_HS - Invert Horizontal synchronization signal
68392  *  0b0..HSYNC signal not inverted (active HIGH)
68393  *  0b1..Invert HSYNC signal (active LOW)
68394  */
68395 #define LCDIFV2_CTRL_INV_HS(x)                   (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_INV_HS_SHIFT)) & LCDIFV2_CTRL_INV_HS_MASK)
68396 
68397 #define LCDIFV2_CTRL_INV_VS_MASK                 (0x2U)
68398 #define LCDIFV2_CTRL_INV_VS_SHIFT                (1U)
68399 /*! INV_VS - Invert Vertical synchronization signal
68400  *  0b0..VSYNC signal not inverted (active HIGH)
68401  *  0b1..Invert VSYNC signal (active LOW)
68402  */
68403 #define LCDIFV2_CTRL_INV_VS(x)                   (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_INV_VS_SHIFT)) & LCDIFV2_CTRL_INV_VS_MASK)
68404 
68405 #define LCDIFV2_CTRL_INV_DE_MASK                 (0x4U)
68406 #define LCDIFV2_CTRL_INV_DE_SHIFT                (2U)
68407 /*! INV_DE - Invert Data Enable polarity
68408  *  0b0..Data enable is active high
68409  *  0b1..Data enable is active low
68410  */
68411 #define LCDIFV2_CTRL_INV_DE(x)                   (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_INV_DE_SHIFT)) & LCDIFV2_CTRL_INV_DE_MASK)
68412 
68413 #define LCDIFV2_CTRL_INV_PXCK_MASK               (0x8U)
68414 #define LCDIFV2_CTRL_INV_PXCK_SHIFT              (3U)
68415 /*! INV_PXCK - Polarity change of Pixel Clock
68416  *  0b0..Display samples data on the falling edge
68417  *  0b1..Display samples data on the rising edge
68418  */
68419 #define LCDIFV2_CTRL_INV_PXCK(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_INV_PXCK_SHIFT)) & LCDIFV2_CTRL_INV_PXCK_MASK)
68420 
68421 #define LCDIFV2_CTRL_NEG_MASK                    (0x10U)
68422 #define LCDIFV2_CTRL_NEG_SHIFT                   (4U)
68423 /*! NEG - Indicates if value at the output (pixel data output) needs to be negated
68424  *  0b0..Output is to remain same
68425  *  0b1..Output to be negated
68426  */
68427 #define LCDIFV2_CTRL_NEG(x)                      (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_NEG_SHIFT)) & LCDIFV2_CTRL_NEG_MASK)
68428 
68429 #define LCDIFV2_CTRL_SW_RESET_MASK               (0x80000000U)
68430 #define LCDIFV2_CTRL_SW_RESET_SHIFT              (31U)
68431 /*! SW_RESET - Software Reset
68432  *  0b0..No action
68433  *  0b1..All LCDIFv2 internal registers are forced into their reset state. User registers are not affected
68434  */
68435 #define LCDIFV2_CTRL_SW_RESET(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SW_RESET_SHIFT)) & LCDIFV2_CTRL_SW_RESET_MASK)
68436 /*! @} */
68437 
68438 /*! @name CTRL_SET - LCDIFv2 display control Register */
68439 /*! @{ */
68440 
68441 #define LCDIFV2_CTRL_SET_INV_HS_MASK             (0x1U)
68442 #define LCDIFV2_CTRL_SET_INV_HS_SHIFT            (0U)
68443 /*! INV_HS - Invert Horizontal synchronization signal
68444  */
68445 #define LCDIFV2_CTRL_SET_INV_HS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_INV_HS_SHIFT)) & LCDIFV2_CTRL_SET_INV_HS_MASK)
68446 
68447 #define LCDIFV2_CTRL_SET_INV_VS_MASK             (0x2U)
68448 #define LCDIFV2_CTRL_SET_INV_VS_SHIFT            (1U)
68449 /*! INV_VS - Invert Vertical synchronization signal
68450  */
68451 #define LCDIFV2_CTRL_SET_INV_VS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_INV_VS_SHIFT)) & LCDIFV2_CTRL_SET_INV_VS_MASK)
68452 
68453 #define LCDIFV2_CTRL_SET_INV_DE_MASK             (0x4U)
68454 #define LCDIFV2_CTRL_SET_INV_DE_SHIFT            (2U)
68455 /*! INV_DE - Invert Data Enable polarity
68456  */
68457 #define LCDIFV2_CTRL_SET_INV_DE(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_INV_DE_SHIFT)) & LCDIFV2_CTRL_SET_INV_DE_MASK)
68458 
68459 #define LCDIFV2_CTRL_SET_INV_PXCK_MASK           (0x8U)
68460 #define LCDIFV2_CTRL_SET_INV_PXCK_SHIFT          (3U)
68461 /*! INV_PXCK - Polarity change of Pixel Clock
68462  */
68463 #define LCDIFV2_CTRL_SET_INV_PXCK(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_INV_PXCK_SHIFT)) & LCDIFV2_CTRL_SET_INV_PXCK_MASK)
68464 
68465 #define LCDIFV2_CTRL_SET_NEG_MASK                (0x10U)
68466 #define LCDIFV2_CTRL_SET_NEG_SHIFT               (4U)
68467 /*! NEG - Indicates if value at the output (pixel data output) needs to be negated
68468  */
68469 #define LCDIFV2_CTRL_SET_NEG(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_NEG_SHIFT)) & LCDIFV2_CTRL_SET_NEG_MASK)
68470 
68471 #define LCDIFV2_CTRL_SET_SW_RESET_MASK           (0x80000000U)
68472 #define LCDIFV2_CTRL_SET_SW_RESET_SHIFT          (31U)
68473 /*! SW_RESET - Software Reset
68474  */
68475 #define LCDIFV2_CTRL_SET_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_SET_SW_RESET_SHIFT)) & LCDIFV2_CTRL_SET_SW_RESET_MASK)
68476 /*! @} */
68477 
68478 /*! @name CTRL_CLR - LCDIFv2 display control Register */
68479 /*! @{ */
68480 
68481 #define LCDIFV2_CTRL_CLR_INV_HS_MASK             (0x1U)
68482 #define LCDIFV2_CTRL_CLR_INV_HS_SHIFT            (0U)
68483 /*! INV_HS - Invert Horizontal synchronization signal
68484  */
68485 #define LCDIFV2_CTRL_CLR_INV_HS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_INV_HS_SHIFT)) & LCDIFV2_CTRL_CLR_INV_HS_MASK)
68486 
68487 #define LCDIFV2_CTRL_CLR_INV_VS_MASK             (0x2U)
68488 #define LCDIFV2_CTRL_CLR_INV_VS_SHIFT            (1U)
68489 /*! INV_VS - Invert Vertical synchronization signal
68490  */
68491 #define LCDIFV2_CTRL_CLR_INV_VS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_INV_VS_SHIFT)) & LCDIFV2_CTRL_CLR_INV_VS_MASK)
68492 
68493 #define LCDIFV2_CTRL_CLR_INV_DE_MASK             (0x4U)
68494 #define LCDIFV2_CTRL_CLR_INV_DE_SHIFT            (2U)
68495 /*! INV_DE - Invert Data Enable polarity
68496  */
68497 #define LCDIFV2_CTRL_CLR_INV_DE(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_INV_DE_SHIFT)) & LCDIFV2_CTRL_CLR_INV_DE_MASK)
68498 
68499 #define LCDIFV2_CTRL_CLR_INV_PXCK_MASK           (0x8U)
68500 #define LCDIFV2_CTRL_CLR_INV_PXCK_SHIFT          (3U)
68501 /*! INV_PXCK - Polarity change of Pixel Clock
68502  */
68503 #define LCDIFV2_CTRL_CLR_INV_PXCK(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_INV_PXCK_SHIFT)) & LCDIFV2_CTRL_CLR_INV_PXCK_MASK)
68504 
68505 #define LCDIFV2_CTRL_CLR_NEG_MASK                (0x10U)
68506 #define LCDIFV2_CTRL_CLR_NEG_SHIFT               (4U)
68507 /*! NEG - Indicates if value at the output (pixel data output) needs to be negated
68508  */
68509 #define LCDIFV2_CTRL_CLR_NEG(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_NEG_SHIFT)) & LCDIFV2_CTRL_CLR_NEG_MASK)
68510 
68511 #define LCDIFV2_CTRL_CLR_SW_RESET_MASK           (0x80000000U)
68512 #define LCDIFV2_CTRL_CLR_SW_RESET_SHIFT          (31U)
68513 /*! SW_RESET - Software Reset
68514  */
68515 #define LCDIFV2_CTRL_CLR_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_CLR_SW_RESET_SHIFT)) & LCDIFV2_CTRL_CLR_SW_RESET_MASK)
68516 /*! @} */
68517 
68518 /*! @name CTRL_TOG - LCDIFv2 display control Register */
68519 /*! @{ */
68520 
68521 #define LCDIFV2_CTRL_TOG_INV_HS_MASK             (0x1U)
68522 #define LCDIFV2_CTRL_TOG_INV_HS_SHIFT            (0U)
68523 /*! INV_HS - Invert Horizontal synchronization signal
68524  */
68525 #define LCDIFV2_CTRL_TOG_INV_HS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_INV_HS_SHIFT)) & LCDIFV2_CTRL_TOG_INV_HS_MASK)
68526 
68527 #define LCDIFV2_CTRL_TOG_INV_VS_MASK             (0x2U)
68528 #define LCDIFV2_CTRL_TOG_INV_VS_SHIFT            (1U)
68529 /*! INV_VS - Invert Vertical synchronization signal
68530  */
68531 #define LCDIFV2_CTRL_TOG_INV_VS(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_INV_VS_SHIFT)) & LCDIFV2_CTRL_TOG_INV_VS_MASK)
68532 
68533 #define LCDIFV2_CTRL_TOG_INV_DE_MASK             (0x4U)
68534 #define LCDIFV2_CTRL_TOG_INV_DE_SHIFT            (2U)
68535 /*! INV_DE - Invert Data Enable polarity
68536  */
68537 #define LCDIFV2_CTRL_TOG_INV_DE(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_INV_DE_SHIFT)) & LCDIFV2_CTRL_TOG_INV_DE_MASK)
68538 
68539 #define LCDIFV2_CTRL_TOG_INV_PXCK_MASK           (0x8U)
68540 #define LCDIFV2_CTRL_TOG_INV_PXCK_SHIFT          (3U)
68541 /*! INV_PXCK - Polarity change of Pixel Clock
68542  */
68543 #define LCDIFV2_CTRL_TOG_INV_PXCK(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_INV_PXCK_SHIFT)) & LCDIFV2_CTRL_TOG_INV_PXCK_MASK)
68544 
68545 #define LCDIFV2_CTRL_TOG_NEG_MASK                (0x10U)
68546 #define LCDIFV2_CTRL_TOG_NEG_SHIFT               (4U)
68547 /*! NEG - Indicates if value at the output (pixel data output) needs to be negated
68548  */
68549 #define LCDIFV2_CTRL_TOG_NEG(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_NEG_SHIFT)) & LCDIFV2_CTRL_TOG_NEG_MASK)
68550 
68551 #define LCDIFV2_CTRL_TOG_SW_RESET_MASK           (0x80000000U)
68552 #define LCDIFV2_CTRL_TOG_SW_RESET_SHIFT          (31U)
68553 /*! SW_RESET - Software Reset
68554  */
68555 #define LCDIFV2_CTRL_TOG_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRL_TOG_SW_RESET_SHIFT)) & LCDIFV2_CTRL_TOG_SW_RESET_MASK)
68556 /*! @} */
68557 
68558 /*! @name DISP_PARA - Display Parameter Register */
68559 /*! @{ */
68560 
68561 #define LCDIFV2_DISP_PARA_BGND_B_MASK            (0xFFU)
68562 #define LCDIFV2_DISP_PARA_BGND_B_SHIFT           (0U)
68563 /*! BGND_B - Blue component of the default color displayed in the sectors where no layer is active
68564  */
68565 #define LCDIFV2_DISP_PARA_BGND_B(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_BGND_B_SHIFT)) & LCDIFV2_DISP_PARA_BGND_B_MASK)
68566 
68567 #define LCDIFV2_DISP_PARA_BGND_G_MASK            (0xFF00U)
68568 #define LCDIFV2_DISP_PARA_BGND_G_SHIFT           (8U)
68569 /*! BGND_G - Green component of the default color displayed in the sectors where no layer is active
68570  */
68571 #define LCDIFV2_DISP_PARA_BGND_G(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_BGND_G_SHIFT)) & LCDIFV2_DISP_PARA_BGND_G_MASK)
68572 
68573 #define LCDIFV2_DISP_PARA_BGND_R_MASK            (0xFF0000U)
68574 #define LCDIFV2_DISP_PARA_BGND_R_SHIFT           (16U)
68575 /*! BGND_R - Red component of the default color displayed in the sectors where no layer is active
68576  */
68577 #define LCDIFV2_DISP_PARA_BGND_R(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_BGND_R_SHIFT)) & LCDIFV2_DISP_PARA_BGND_R_MASK)
68578 
68579 #define LCDIFV2_DISP_PARA_DISP_MODE_MASK         (0x3000000U)
68580 #define LCDIFV2_DISP_PARA_DISP_MODE_SHIFT        (24U)
68581 /*! DISP_MODE - LCDIFv2 operating mode
68582  *  0b00..Normal mode. Panel content controlled by layer configuration
68583  *  0b01..Test Mode1(BGND Color Display)
68584  *  0b10..Test Mode2(Column Color Bar)
68585  *  0b11..Test Mode3(Row Color Bar)
68586  */
68587 #define LCDIFV2_DISP_PARA_DISP_MODE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_DISP_MODE_SHIFT)) & LCDIFV2_DISP_PARA_DISP_MODE_MASK)
68588 
68589 #define LCDIFV2_DISP_PARA_LINE_PATTERN_MASK      (0x1C000000U)
68590 #define LCDIFV2_DISP_PARA_LINE_PATTERN_SHIFT     (26U)
68591 /*! LINE_PATTERN - LCDIFv2 line output order
68592  *  0b000..RGB
68593  *  0b001..RBG
68594  *  0b010..GBR
68595  *  0b011..GRB
68596  *  0b100..BRG
68597  *  0b101..BGR
68598  */
68599 #define LCDIFV2_DISP_PARA_LINE_PATTERN(x)        (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_LINE_PATTERN_SHIFT)) & LCDIFV2_DISP_PARA_LINE_PATTERN_MASK)
68600 
68601 #define LCDIFV2_DISP_PARA_DISP_ON_MASK           (0x80000000U)
68602 #define LCDIFV2_DISP_PARA_DISP_ON_SHIFT          (31U)
68603 /*! DISP_ON - Display panel On/Off mode
68604  *  0b0..Display Off
68605  *  0b1..Display On
68606  */
68607 #define LCDIFV2_DISP_PARA_DISP_ON(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_PARA_DISP_ON_SHIFT)) & LCDIFV2_DISP_PARA_DISP_ON_MASK)
68608 /*! @} */
68609 
68610 /*! @name DISP_SIZE - Display Size Register */
68611 /*! @{ */
68612 
68613 #define LCDIFV2_DISP_SIZE_DELTA_X_MASK           (0xFFFU)
68614 #define LCDIFV2_DISP_SIZE_DELTA_X_SHIFT          (0U)
68615 /*! DELTA_X - Sets the display size horizontal resolution in pixels
68616  */
68617 #define LCDIFV2_DISP_SIZE_DELTA_X(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_SIZE_DELTA_X_SHIFT)) & LCDIFV2_DISP_SIZE_DELTA_X_MASK)
68618 
68619 #define LCDIFV2_DISP_SIZE_DELTA_Y_MASK           (0xFFF0000U)
68620 #define LCDIFV2_DISP_SIZE_DELTA_Y_SHIFT          (16U)
68621 /*! DELTA_Y - Sets the display size vertical resolution in pixels
68622  */
68623 #define LCDIFV2_DISP_SIZE_DELTA_Y(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_DISP_SIZE_DELTA_Y_SHIFT)) & LCDIFV2_DISP_SIZE_DELTA_Y_MASK)
68624 /*! @} */
68625 
68626 /*! @name HSYN_PARA - Horizontal Sync Parameter Register */
68627 /*! @{ */
68628 
68629 #define LCDIFV2_HSYN_PARA_FP_H_MASK              (0x1FFU)
68630 #define LCDIFV2_HSYN_PARA_FP_H_SHIFT             (0U)
68631 /*! FP_H - HSYNC front-porch pulse width (in pixel clock cycles). Pulse width has a minimum value of 1
68632  */
68633 #define LCDIFV2_HSYN_PARA_FP_H(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_HSYN_PARA_FP_H_SHIFT)) & LCDIFV2_HSYN_PARA_FP_H_MASK)
68634 
68635 #define LCDIFV2_HSYN_PARA_PW_H_MASK              (0xFF800U)
68636 #define LCDIFV2_HSYN_PARA_PW_H_SHIFT             (11U)
68637 /*! PW_H - HSYNC active pulse width (in pixel clock cycles). Pulse width has a minimum value of 1
68638  */
68639 #define LCDIFV2_HSYN_PARA_PW_H(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_HSYN_PARA_PW_H_SHIFT)) & LCDIFV2_HSYN_PARA_PW_H_MASK)
68640 
68641 #define LCDIFV2_HSYN_PARA_BP_H_MASK              (0x7FC00000U)
68642 #define LCDIFV2_HSYN_PARA_BP_H_SHIFT             (22U)
68643 /*! BP_H - HSYNC back-porch pulse width (in pixel clock cycles). Pulse width has a minimum value of 1
68644  */
68645 #define LCDIFV2_HSYN_PARA_BP_H(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_HSYN_PARA_BP_H_SHIFT)) & LCDIFV2_HSYN_PARA_BP_H_MASK)
68646 /*! @} */
68647 
68648 /*! @name VSYN_PARA - Vertical Sync Parameter Register */
68649 /*! @{ */
68650 
68651 #define LCDIFV2_VSYN_PARA_FP_V_MASK              (0x1FFU)
68652 #define LCDIFV2_VSYN_PARA_FP_V_SHIFT             (0U)
68653 /*! FP_V - VSYNC front-porch pulse width (in horizontal line cycles). Pulse width has a minimum value of 1
68654  */
68655 #define LCDIFV2_VSYN_PARA_FP_V(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_VSYN_PARA_FP_V_SHIFT)) & LCDIFV2_VSYN_PARA_FP_V_MASK)
68656 
68657 #define LCDIFV2_VSYN_PARA_PW_V_MASK              (0xFF800U)
68658 #define LCDIFV2_VSYN_PARA_PW_V_SHIFT             (11U)
68659 /*! PW_V - VSYNC active pulse width (in horizontal line cycles). Pulse width has a minimum value of 1
68660  */
68661 #define LCDIFV2_VSYN_PARA_PW_V(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_VSYN_PARA_PW_V_SHIFT)) & LCDIFV2_VSYN_PARA_PW_V_MASK)
68662 
68663 #define LCDIFV2_VSYN_PARA_BP_V_MASK              (0x7FC00000U)
68664 #define LCDIFV2_VSYN_PARA_BP_V_SHIFT             (22U)
68665 /*! BP_V - VSYNC back-porch pulse width (in horizontal line cycles). Pulse width has a minimum value of 1
68666  */
68667 #define LCDIFV2_VSYN_PARA_BP_V(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_VSYN_PARA_BP_V_SHIFT)) & LCDIFV2_VSYN_PARA_BP_V_MASK)
68668 /*! @} */
68669 
68670 /*! @name INT_STATUS - Interrupt Status Register for domain 0..Interrupt Status Register for domain 1 */
68671 /*! @{ */
68672 
68673 #define LCDIFV2_INT_STATUS_VSYNC_MASK            (0x1U)
68674 #define LCDIFV2_INT_STATUS_VSYNC_SHIFT           (0U)
68675 /*! VSYNC - Interrupt flag to indicate that the vertical synchronization phase(The beginning of a frame)
68676  *  0b0..VSYNC has not started
68677  *  0b1..VSYNC has started
68678  */
68679 #define LCDIFV2_INT_STATUS_VSYNC(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_VSYNC_SHIFT)) & LCDIFV2_INT_STATUS_VSYNC_MASK)
68680 
68681 #define LCDIFV2_INT_STATUS_UNDERRUN_MASK         (0x2U)
68682 #define LCDIFV2_INT_STATUS_UNDERRUN_SHIFT        (1U)
68683 /*! UNDERRUN - Interrupt flag to indicate the output buffer underrun condition
68684  *  0b0..Output buffer not underrun
68685  *  0b1..Output buffer underrun
68686  */
68687 #define LCDIFV2_INT_STATUS_UNDERRUN(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_UNDERRUN_SHIFT)) & LCDIFV2_INT_STATUS_UNDERRUN_MASK)
68688 
68689 #define LCDIFV2_INT_STATUS_VS_BLANK_MASK         (0x4U)
68690 #define LCDIFV2_INT_STATUS_VS_BLANK_SHIFT        (2U)
68691 /*! VS_BLANK - Interrupt flag to indicate vertical blanking period
68692  *  0b0..Vertical blanking period has not started
68693  *  0b1..Vertical blanking period has started
68694  */
68695 #define LCDIFV2_INT_STATUS_VS_BLANK(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_VS_BLANK_SHIFT)) & LCDIFV2_INT_STATUS_VS_BLANK_MASK)
68696 
68697 #define LCDIFV2_INT_STATUS_DMA_ERR_MASK          (0xFF00U)
68698 #define LCDIFV2_INT_STATUS_DMA_ERR_SHIFT         (8U)
68699 /*! DMA_ERR - Interrupt flag to indicate that which PLANE has Read Error on the AXI interface
68700  */
68701 #define LCDIFV2_INT_STATUS_DMA_ERR(x)            (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_DMA_ERR_SHIFT)) & LCDIFV2_INT_STATUS_DMA_ERR_MASK)
68702 
68703 #define LCDIFV2_INT_STATUS_DMA_DONE_MASK         (0xFF0000U)
68704 #define LCDIFV2_INT_STATUS_DMA_DONE_SHIFT        (16U)
68705 /*! DMA_DONE - Interrupt flag to indicate that which PLANE has fetched the last pixel from memory
68706  */
68707 #define LCDIFV2_INT_STATUS_DMA_DONE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_DMA_DONE_SHIFT)) & LCDIFV2_INT_STATUS_DMA_DONE_MASK)
68708 
68709 #define LCDIFV2_INT_STATUS_FIFO_EMPTY_MASK       (0xFF000000U)
68710 #define LCDIFV2_INT_STATUS_FIFO_EMPTY_SHIFT      (24U)
68711 /*! FIFO_EMPTY - Interrupt flag to indicate that which FIFO in the pixel blending underflowed
68712  */
68713 #define LCDIFV2_INT_STATUS_FIFO_EMPTY(x)         (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_STATUS_FIFO_EMPTY_SHIFT)) & LCDIFV2_INT_STATUS_FIFO_EMPTY_MASK)
68714 /*! @} */
68715 
68716 /* The count of LCDIFV2_INT_STATUS */
68717 #define LCDIFV2_INT_STATUS_COUNT                 (2U)
68718 
68719 /*! @name INT_ENABLE - Interrupt Enable Register for domain 0..Interrupt Enable Register for domain 1 */
68720 /*! @{ */
68721 
68722 #define LCDIFV2_INT_ENABLE_VSYNC_EN_MASK         (0x1U)
68723 #define LCDIFV2_INT_ENABLE_VSYNC_EN_SHIFT        (0U)
68724 /*! VSYNC_EN - Enable Interrupt flag to indicate that the vertical synchronization phase(The beginning of a frame)
68725  *  0b0..VSYNC interrupt disable
68726  *  0b1..VSYNC interrupt enable
68727  */
68728 #define LCDIFV2_INT_ENABLE_VSYNC_EN(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_VSYNC_EN_SHIFT)) & LCDIFV2_INT_ENABLE_VSYNC_EN_MASK)
68729 
68730 #define LCDIFV2_INT_ENABLE_UNDERRUN_EN_MASK      (0x2U)
68731 #define LCDIFV2_INT_ENABLE_UNDERRUN_EN_SHIFT     (1U)
68732 /*! UNDERRUN_EN - Enable Interrupt flag to indicate the output buffer underrun condition
68733  *  0b0..Output buffer underrun disable
68734  *  0b1..Output buffer underrun enable
68735  */
68736 #define LCDIFV2_INT_ENABLE_UNDERRUN_EN(x)        (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_UNDERRUN_EN_SHIFT)) & LCDIFV2_INT_ENABLE_UNDERRUN_EN_MASK)
68737 
68738 #define LCDIFV2_INT_ENABLE_VS_BLANK_EN_MASK      (0x4U)
68739 #define LCDIFV2_INT_ENABLE_VS_BLANK_EN_SHIFT     (2U)
68740 /*! VS_BLANK_EN - Enable Interrupt flag to indicate vertical blanking period
68741  *  0b0..Vertical blanking start interrupt disable
68742  *  0b1..Vertical blanking start interrupt enable
68743  */
68744 #define LCDIFV2_INT_ENABLE_VS_BLANK_EN(x)        (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_VS_BLANK_EN_SHIFT)) & LCDIFV2_INT_ENABLE_VS_BLANK_EN_MASK)
68745 
68746 #define LCDIFV2_INT_ENABLE_DMA_ERR_EN_MASK       (0xFF00U)
68747 #define LCDIFV2_INT_ENABLE_DMA_ERR_EN_SHIFT      (8U)
68748 /*! DMA_ERR_EN - Enable Interrupt flag to indicate that which PLANE has Read Error on the AXI interface
68749  */
68750 #define LCDIFV2_INT_ENABLE_DMA_ERR_EN(x)         (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_DMA_ERR_EN_SHIFT)) & LCDIFV2_INT_ENABLE_DMA_ERR_EN_MASK)
68751 
68752 #define LCDIFV2_INT_ENABLE_DMA_DONE_EN_MASK      (0xFF0000U)
68753 #define LCDIFV2_INT_ENABLE_DMA_DONE_EN_SHIFT     (16U)
68754 /*! DMA_DONE_EN - Enable Interrupt flag to indicate that which PLANE has fetched the last pixel from memory
68755  */
68756 #define LCDIFV2_INT_ENABLE_DMA_DONE_EN(x)        (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_DMA_DONE_EN_SHIFT)) & LCDIFV2_INT_ENABLE_DMA_DONE_EN_MASK)
68757 
68758 #define LCDIFV2_INT_ENABLE_FIFO_EMPTY_EN_MASK    (0xFF000000U)
68759 #define LCDIFV2_INT_ENABLE_FIFO_EMPTY_EN_SHIFT   (24U)
68760 /*! FIFO_EMPTY_EN - Enable Interrupt flag to indicate that which FIFO in the pixel blending underflowed
68761  */
68762 #define LCDIFV2_INT_ENABLE_FIFO_EMPTY_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIFV2_INT_ENABLE_FIFO_EMPTY_EN_SHIFT)) & LCDIFV2_INT_ENABLE_FIFO_EMPTY_EN_MASK)
68763 /*! @} */
68764 
68765 /* The count of LCDIFV2_INT_ENABLE */
68766 #define LCDIFV2_INT_ENABLE_COUNT                 (2U)
68767 
68768 /*! @name PDI_PARA - Parallel Data Interface Parameter Register */
68769 /*! @{ */
68770 
68771 #define LCDIFV2_PDI_PARA_INV_PDI_HS_MASK         (0x1U)
68772 #define LCDIFV2_PDI_PARA_INV_PDI_HS_SHIFT        (0U)
68773 /*! INV_PDI_HS - Polarity of PDI input HSYNC
68774  *  0b0..HSYNC is active HIGH
68775  *  0b1..HSYNC is active LOW
68776  */
68777 #define LCDIFV2_PDI_PARA_INV_PDI_HS(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_INV_PDI_HS_SHIFT)) & LCDIFV2_PDI_PARA_INV_PDI_HS_MASK)
68778 
68779 #define LCDIFV2_PDI_PARA_INV_PDI_VS_MASK         (0x2U)
68780 #define LCDIFV2_PDI_PARA_INV_PDI_VS_SHIFT        (1U)
68781 /*! INV_PDI_VS - Polarity of PDI input VSYNC
68782  *  0b0..VSYNC is active HIGH
68783  *  0b1..VSYNC is active LOW
68784  */
68785 #define LCDIFV2_PDI_PARA_INV_PDI_VS(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_INV_PDI_VS_SHIFT)) & LCDIFV2_PDI_PARA_INV_PDI_VS_MASK)
68786 
68787 #define LCDIFV2_PDI_PARA_INV_PDI_DE_MASK         (0x4U)
68788 #define LCDIFV2_PDI_PARA_INV_PDI_DE_SHIFT        (2U)
68789 /*! INV_PDI_DE - Polarity of PDI input Data Enable
68790  *  0b0..Data enable is active HIGH
68791  *  0b1..Data enable is active LOW
68792  */
68793 #define LCDIFV2_PDI_PARA_INV_PDI_DE(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_INV_PDI_DE_SHIFT)) & LCDIFV2_PDI_PARA_INV_PDI_DE_MASK)
68794 
68795 #define LCDIFV2_PDI_PARA_INV_PDI_PXCK_MASK       (0x8U)
68796 #define LCDIFV2_PDI_PARA_INV_PDI_PXCK_SHIFT      (3U)
68797 /*! INV_PDI_PXCK - Polarity of PDI input Pixel Clock
68798  *  0b0..Samples data on the falling edge
68799  *  0b1..Samples data on the rising edge
68800  */
68801 #define LCDIFV2_PDI_PARA_INV_PDI_PXCK(x)         (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_INV_PDI_PXCK_SHIFT)) & LCDIFV2_PDI_PARA_INV_PDI_PXCK_MASK)
68802 
68803 #define LCDIFV2_PDI_PARA_MODE_MASK               (0xF0U)
68804 #define LCDIFV2_PDI_PARA_MODE_SHIFT              (4U)
68805 /*! MODE - The PDI mode for input data format
68806  *  0b0000..32 bpp (ARGB8888)
68807  *  0b0001..24 bpp (RGB888)
68808  *  0b0010..24 bpp (RGB666)
68809  *  0b0011..16 bpp (RGB565)
68810  *  0b0100..16 bpp (RGB444)
68811  *  0b0101..16 bpp (RGB555)
68812  *  0b0110..16 bpp (YCbCr422)
68813  */
68814 #define LCDIFV2_PDI_PARA_MODE(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_MODE_SHIFT)) & LCDIFV2_PDI_PARA_MODE_MASK)
68815 
68816 #define LCDIFV2_PDI_PARA_PDI_SEL_MASK            (0x40000000U)
68817 #define LCDIFV2_PDI_PARA_PDI_SEL_SHIFT           (30U)
68818 /*! PDI_SEL - PDI selected on LCDIFv2 plane number
68819  *  0b0..PDI selected on LCDIFv2 plane 0
68820  *  0b1..PDI selected on LCDIFv2 plane 1
68821  */
68822 #define LCDIFV2_PDI_PARA_PDI_SEL(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_PDI_SEL_SHIFT)) & LCDIFV2_PDI_PARA_PDI_SEL_MASK)
68823 
68824 #define LCDIFV2_PDI_PARA_PDI_EN_MASK             (0x80000000U)
68825 #define LCDIFV2_PDI_PARA_PDI_EN_SHIFT            (31U)
68826 /*! PDI_EN - Enable PDI input data to LCDIFv2 display
68827  *  0b0..Disable PDI input data
68828  *  0b1..Enable PDI input data
68829  */
68830 #define LCDIFV2_PDI_PARA_PDI_EN(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_PDI_PARA_PDI_EN_SHIFT)) & LCDIFV2_PDI_PARA_PDI_EN_MASK)
68831 /*! @} */
68832 
68833 /*! @name CTRLDESCL1 - Control Descriptor Layer 1 Register */
68834 /*! @{ */
68835 
68836 #define LCDIFV2_CTRLDESCL1_WIDTH_MASK            (0xFFFU)
68837 #define LCDIFV2_CTRLDESCL1_WIDTH_SHIFT           (0U)
68838 /*! WIDTH - Width of the layer in pixels
68839  */
68840 #define LCDIFV2_CTRLDESCL1_WIDTH(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL1_WIDTH_SHIFT)) & LCDIFV2_CTRLDESCL1_WIDTH_MASK)
68841 
68842 #define LCDIFV2_CTRLDESCL1_HEIGHT_MASK           (0xFFF0000U)
68843 #define LCDIFV2_CTRLDESCL1_HEIGHT_SHIFT          (16U)
68844 /*! HEIGHT - Height of the layer in pixels
68845  */
68846 #define LCDIFV2_CTRLDESCL1_HEIGHT(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL1_HEIGHT_SHIFT)) & LCDIFV2_CTRLDESCL1_HEIGHT_MASK)
68847 /*! @} */
68848 
68849 /* The count of LCDIFV2_CTRLDESCL1 */
68850 #define LCDIFV2_CTRLDESCL1_COUNT                 (8U)
68851 
68852 /*! @name CTRLDESCL2 - Control Descriptor Layer 2 Register */
68853 /*! @{ */
68854 
68855 #define LCDIFV2_CTRLDESCL2_POSX_MASK             (0xFFFU)
68856 #define LCDIFV2_CTRLDESCL2_POSX_SHIFT            (0U)
68857 /*! POSX - The horizontal position of left-hand column of the layer, where 0 is the left-hand column
68858  *    of the panel, only positive values are to the right the left-hand column of the panel
68859  */
68860 #define LCDIFV2_CTRLDESCL2_POSX(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL2_POSX_SHIFT)) & LCDIFV2_CTRLDESCL2_POSX_MASK)
68861 
68862 #define LCDIFV2_CTRLDESCL2_POSY_MASK             (0xFFF0000U)
68863 #define LCDIFV2_CTRLDESCL2_POSY_SHIFT            (16U)
68864 /*! POSY - The vertical position of top row of the layer, where 0 is the top row of the panel, only
68865  *    positive values are below the top row of the panel
68866  */
68867 #define LCDIFV2_CTRLDESCL2_POSY(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL2_POSY_SHIFT)) & LCDIFV2_CTRLDESCL2_POSY_MASK)
68868 /*! @} */
68869 
68870 /* The count of LCDIFV2_CTRLDESCL2 */
68871 #define LCDIFV2_CTRLDESCL2_COUNT                 (8U)
68872 
68873 /*! @name CTRLDESCL3 - Control Descriptor Layer 3 Register */
68874 /*! @{ */
68875 
68876 #define LCDIFV2_CTRLDESCL3_PITCH_MASK            (0xFFFFU)
68877 #define LCDIFV2_CTRLDESCL3_PITCH_SHIFT           (0U)
68878 /*! PITCH - Number of bytes between 2 vertically adjacent pixels in system memory. Byte granularity
68879  *    is supported, but SW should align to 64B boundry
68880  */
68881 #define LCDIFV2_CTRLDESCL3_PITCH(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL3_PITCH_SHIFT)) & LCDIFV2_CTRLDESCL3_PITCH_MASK)
68882 /*! @} */
68883 
68884 /* The count of LCDIFV2_CTRLDESCL3 */
68885 #define LCDIFV2_CTRLDESCL3_COUNT                 (8U)
68886 
68887 /*! @name CTRLDESCL4 - Control Descriptor Layer 4 Register */
68888 /*! @{ */
68889 
68890 #define LCDIFV2_CTRLDESCL4_ADDR_MASK             (0xFFFFFFFFU)
68891 #define LCDIFV2_CTRLDESCL4_ADDR_SHIFT            (0U)
68892 /*! ADDR - Address of layer data in the memory. The address programmed should be 64-bit aligned
68893  */
68894 #define LCDIFV2_CTRLDESCL4_ADDR(x)               (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL4_ADDR_SHIFT)) & LCDIFV2_CTRLDESCL4_ADDR_MASK)
68895 /*! @} */
68896 
68897 /* The count of LCDIFV2_CTRLDESCL4 */
68898 #define LCDIFV2_CTRLDESCL4_COUNT                 (8U)
68899 
68900 /*! @name CTRLDESCL5 - Control Descriptor Layer 5 Register */
68901 /*! @{ */
68902 
68903 #define LCDIFV2_CTRLDESCL5_AB_MODE_MASK          (0x3U)
68904 #define LCDIFV2_CTRLDESCL5_AB_MODE_SHIFT         (0U)
68905 /*! AB_MODE - Alpha Blending Mode
68906  *  0b00..No alpha Blending (The SAFETY_EN bit need set to 1)
68907  *  0b01..Blend with global ALPHA
68908  *  0b10..Blend with embedded ALPHA
68909  *  0b11..Blend with PoterDuff enable
68910  */
68911 #define LCDIFV2_CTRLDESCL5_AB_MODE(x)            (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_AB_MODE_SHIFT)) & LCDIFV2_CTRLDESCL5_AB_MODE_MASK)
68912 
68913 #define LCDIFV2_CTRLDESCL5_PD_FACTOR_MODE_MASK   (0x30U)
68914 #define LCDIFV2_CTRLDESCL5_PD_FACTOR_MODE_SHIFT  (4U)
68915 /*! PD_FACTOR_MODE - PoterDuff factor mode
68916  *  0b00..Using 1
68917  *  0b01..Using 0
68918  *  0b10..Using straight alpha
68919  *  0b11..Using inverse alpha
68920  */
68921 #define LCDIFV2_CTRLDESCL5_PD_FACTOR_MODE(x)     (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_PD_FACTOR_MODE_SHIFT)) & LCDIFV2_CTRLDESCL5_PD_FACTOR_MODE_MASK)
68922 
68923 #define LCDIFV2_CTRLDESCL5_PD_GLOBAL_ALPHA_MODE_MASK (0xC0U)
68924 #define LCDIFV2_CTRLDESCL5_PD_GLOBAL_ALPHA_MODE_SHIFT (6U)
68925 /*! PD_GLOBAL_ALPHA_MODE - PoterDuff global alpha mode
68926  *  0b00..Using global alpha
68927  *  0b01..Using local alpha
68928  *  0b10..Using scaled alpha
68929  *  0b11..Using scaled alpha
68930  */
68931 #define LCDIFV2_CTRLDESCL5_PD_GLOBAL_ALPHA_MODE(x) (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_PD_GLOBAL_ALPHA_MODE_SHIFT)) & LCDIFV2_CTRLDESCL5_PD_GLOBAL_ALPHA_MODE_MASK)
68932 
68933 #define LCDIFV2_CTRLDESCL5_PD_ALPHA_MODE_MASK    (0x100U)
68934 #define LCDIFV2_CTRLDESCL5_PD_ALPHA_MODE_SHIFT   (8U)
68935 /*! PD_ALPHA_MODE - PoterDuff alpha mode
68936  *  0b0..Straight mode for Porter Duff alpha
68937  *  0b1..Inversed mode for Porter Duff alpha
68938  */
68939 #define LCDIFV2_CTRLDESCL5_PD_ALPHA_MODE(x)      (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_PD_ALPHA_MODE_SHIFT)) & LCDIFV2_CTRLDESCL5_PD_ALPHA_MODE_MASK)
68940 
68941 #define LCDIFV2_CTRLDESCL5_PD_COLOR_MODE_MASK    (0x200U)
68942 #define LCDIFV2_CTRLDESCL5_PD_COLOR_MODE_SHIFT   (9U)
68943 /*! PD_COLOR_MODE - PoterDuff alpha mode
68944  *  0b0..Straight mode for Porter Duff color
68945  *  0b1..Inversed mode for Porter Duff color
68946  */
68947 #define LCDIFV2_CTRLDESCL5_PD_COLOR_MODE(x)      (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_PD_COLOR_MODE_SHIFT)) & LCDIFV2_CTRLDESCL5_PD_COLOR_MODE_MASK)
68948 
68949 #define LCDIFV2_CTRLDESCL5_YUV_FORMAT_MASK       (0xC000U)
68950 #define LCDIFV2_CTRLDESCL5_YUV_FORMAT_SHIFT      (14U)
68951 /*! YUV_FORMAT - The YUV422 input format selection
68952  *  0b00..The YVYU422 8bit sequence is U1,Y1,V1,Y2
68953  *  0b01..The YVYU422 8bit sequence is V1,Y1,U1,Y2
68954  *  0b10..The YVYU422 8bit sequence is Y1,U1,Y2,V1
68955  *  0b11..The YVYU422 8bit sequence is Y1,V1,Y2,U1
68956  */
68957 #define LCDIFV2_CTRLDESCL5_YUV_FORMAT(x)         (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_YUV_FORMAT_SHIFT)) & LCDIFV2_CTRLDESCL5_YUV_FORMAT_MASK)
68958 
68959 #define LCDIFV2_CTRLDESCL5_GLOBAL_ALPHA_MASK     (0xFF0000U)
68960 #define LCDIFV2_CTRLDESCL5_GLOBAL_ALPHA_SHIFT    (16U)
68961 /*! GLOBAL_ALPHA - Global Alpha
68962  */
68963 #define LCDIFV2_CTRLDESCL5_GLOBAL_ALPHA(x)       (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_GLOBAL_ALPHA_SHIFT)) & LCDIFV2_CTRLDESCL5_GLOBAL_ALPHA_MASK)
68964 
68965 #define LCDIFV2_CTRLDESCL5_BPP_MASK              (0xF000000U)
68966 #define LCDIFV2_CTRLDESCL5_BPP_SHIFT             (24U)
68967 /*! BPP - Layer encoding format (bit per pixel)
68968  *  0b0000..1 bpp
68969  *  0b0001..2 bpp
68970  *  0b0010..4 bpp
68971  *  0b0011..8 bpp
68972  *  0b0100..16 bpp (RGB565)
68973  *  0b0101..16 bpp (ARGB1555)
68974  *  0b0110..16 bpp (ARGB4444)
68975  *  0b0111..YCbCr422 (Only layer 0/1 can support this format)
68976  *  0b1000..24 bpp (RGB888)
68977  *  0b1001..32 bpp (ARGB8888)
68978  *  0b1010..32 bpp (ABGR8888)
68979  */
68980 #define LCDIFV2_CTRLDESCL5_BPP(x)                (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_BPP_SHIFT)) & LCDIFV2_CTRLDESCL5_BPP_MASK)
68981 
68982 #define LCDIFV2_CTRLDESCL5_SAFETY_EN_MASK        (0x10000000U)
68983 #define LCDIFV2_CTRLDESCL5_SAFETY_EN_SHIFT       (28U)
68984 /*! SAFETY_EN - Safety Mode Enable Bit
68985  *  0b0..Safety Mode is disabled
68986  *  0b1..Safety Mode is enabled for this layer
68987  */
68988 #define LCDIFV2_CTRLDESCL5_SAFETY_EN(x)          (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_SAFETY_EN_SHIFT)) & LCDIFV2_CTRLDESCL5_SAFETY_EN_MASK)
68989 
68990 #define LCDIFV2_CTRLDESCL5_SHADOW_LOAD_EN_MASK   (0x40000000U)
68991 #define LCDIFV2_CTRLDESCL5_SHADOW_LOAD_EN_SHIFT  (30U)
68992 /*! SHADOW_LOAD_EN - Shadow Load Enable
68993  */
68994 #define LCDIFV2_CTRLDESCL5_SHADOW_LOAD_EN(x)     (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_SHADOW_LOAD_EN_SHIFT)) & LCDIFV2_CTRLDESCL5_SHADOW_LOAD_EN_MASK)
68995 
68996 #define LCDIFV2_CTRLDESCL5_EN_MASK               (0x80000000U)
68997 #define LCDIFV2_CTRLDESCL5_EN_SHIFT              (31U)
68998 /*! EN - Enable the layer for DMA
68999  *  0b0..OFF
69000  *  0b1..ON
69001  */
69002 #define LCDIFV2_CTRLDESCL5_EN(x)                 (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL5_EN_SHIFT)) & LCDIFV2_CTRLDESCL5_EN_MASK)
69003 /*! @} */
69004 
69005 /* The count of LCDIFV2_CTRLDESCL5 */
69006 #define LCDIFV2_CTRLDESCL5_COUNT                 (8U)
69007 
69008 /*! @name CTRLDESCL6 - Control Descriptor Layer 6 Register */
69009 /*! @{ */
69010 
69011 #define LCDIFV2_CTRLDESCL6_BCLR_B_MASK           (0xFFU)
69012 #define LCDIFV2_CTRLDESCL6_BCLR_B_SHIFT          (0U)
69013 /*! BCLR_B - Background B component value
69014  */
69015 #define LCDIFV2_CTRLDESCL6_BCLR_B(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL6_BCLR_B_SHIFT)) & LCDIFV2_CTRLDESCL6_BCLR_B_MASK)
69016 
69017 #define LCDIFV2_CTRLDESCL6_BCLR_G_MASK           (0xFF00U)
69018 #define LCDIFV2_CTRLDESCL6_BCLR_G_SHIFT          (8U)
69019 /*! BCLR_G - Background G component value
69020  */
69021 #define LCDIFV2_CTRLDESCL6_BCLR_G(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL6_BCLR_G_SHIFT)) & LCDIFV2_CTRLDESCL6_BCLR_G_MASK)
69022 
69023 #define LCDIFV2_CTRLDESCL6_BCLR_R_MASK           (0xFF0000U)
69024 #define LCDIFV2_CTRLDESCL6_BCLR_R_SHIFT          (16U)
69025 /*! BCLR_R - Background R component value
69026  */
69027 #define LCDIFV2_CTRLDESCL6_BCLR_R(x)             (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CTRLDESCL6_BCLR_R_SHIFT)) & LCDIFV2_CTRLDESCL6_BCLR_R_MASK)
69028 /*! @} */
69029 
69030 /* The count of LCDIFV2_CTRLDESCL6 */
69031 #define LCDIFV2_CTRLDESCL6_COUNT                 (8U)
69032 
69033 /*! @name CSC_COEF0 - Color Space Conversion Coefficient Register 0 */
69034 /*! @{ */
69035 
69036 #define LCDIFV2_CSC_COEF0_Y_OFFSET_MASK          (0x1FFU)
69037 #define LCDIFV2_CSC_COEF0_Y_OFFSET_SHIFT         (0U)
69038 /*! Y_OFFSET - Two's compliment amplitude offset implicit in the Y data. For YUV, this is typically
69039  *    0 and for YCbCr, this is typically -16 (0x1F0)
69040  */
69041 #define LCDIFV2_CSC_COEF0_Y_OFFSET(x)            (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF0_Y_OFFSET_SHIFT)) & LCDIFV2_CSC_COEF0_Y_OFFSET_MASK)
69042 
69043 #define LCDIFV2_CSC_COEF0_UV_OFFSET_MASK         (0x3FE00U)
69044 #define LCDIFV2_CSC_COEF0_UV_OFFSET_SHIFT        (9U)
69045 /*! UV_OFFSET - Two's compliment phase offset implicit for CbCr data. Generally used for YCbCr to
69046  *    RGB conversion. YCbCr=0x180, YUV=0x000 (typically -128 or 0x180 to indicate normalized -0.5 to
69047  *    0.5 range)
69048  */
69049 #define LCDIFV2_CSC_COEF0_UV_OFFSET(x)           (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF0_UV_OFFSET_SHIFT)) & LCDIFV2_CSC_COEF0_UV_OFFSET_MASK)
69050 
69051 #define LCDIFV2_CSC_COEF0_C0_MASK                (0x1FFC0000U)
69052 #define LCDIFV2_CSC_COEF0_C0_SHIFT               (18U)
69053 /*! C0 - Two's compliment Y multiplier coefficient. YUV=0x100 (1.000) YCbCr=0x12A (1.164)
69054  */
69055 #define LCDIFV2_CSC_COEF0_C0(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF0_C0_SHIFT)) & LCDIFV2_CSC_COEF0_C0_MASK)
69056 
69057 #define LCDIFV2_CSC_COEF0_ENABLE_MASK            (0x40000000U)
69058 #define LCDIFV2_CSC_COEF0_ENABLE_SHIFT           (30U)
69059 /*! ENABLE - Enable the CSC unit in the LCDIFv2 plane data path
69060  *  0b0..The CSC is bypassed and the input pixels are RGB data already
69061  *  0b1..The CSC is enabled and the pixels will be converted to RGB data
69062  */
69063 #define LCDIFV2_CSC_COEF0_ENABLE(x)              (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF0_ENABLE_SHIFT)) & LCDIFV2_CSC_COEF0_ENABLE_MASK)
69064 
69065 #define LCDIFV2_CSC_COEF0_YCBCR_MODE_MASK        (0x80000000U)
69066 #define LCDIFV2_CSC_COEF0_YCBCR_MODE_SHIFT       (31U)
69067 /*! YCBCR_MODE - This bit changes the behavior when performing U/V converting
69068  *  0b0..Converting YUV to RGB data
69069  *  0b1..Converting YCbCr to RGB data
69070  */
69071 #define LCDIFV2_CSC_COEF0_YCBCR_MODE(x)          (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF0_YCBCR_MODE_SHIFT)) & LCDIFV2_CSC_COEF0_YCBCR_MODE_MASK)
69072 /*! @} */
69073 
69074 /* The count of LCDIFV2_CSC_COEF0 */
69075 #define LCDIFV2_CSC_COEF0_COUNT                  (8U)
69076 
69077 /*! @name CSC_COEF1 - Color Space Conversion Coefficient Register 1 */
69078 /*! @{ */
69079 
69080 #define LCDIFV2_CSC_COEF1_C4_MASK                (0x7FFU)
69081 #define LCDIFV2_CSC_COEF1_C4_SHIFT               (0U)
69082 /*! C4 - Two's compliment Blue U/Cb multiplier coefficient. YUV=0x208 (2.032) YCbCr=0x204 (2.017)
69083  */
69084 #define LCDIFV2_CSC_COEF1_C4(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF1_C4_SHIFT)) & LCDIFV2_CSC_COEF1_C4_MASK)
69085 
69086 #define LCDIFV2_CSC_COEF1_C1_MASK                (0x7FF0000U)
69087 #define LCDIFV2_CSC_COEF1_C1_SHIFT               (16U)
69088 /*! C1 - Two's compliment Red V/Cr multiplier coefficient. YUV=0x123 (1.140) YCbCr=0x198 (1.596)
69089  */
69090 #define LCDIFV2_CSC_COEF1_C1(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF1_C1_SHIFT)) & LCDIFV2_CSC_COEF1_C1_MASK)
69091 /*! @} */
69092 
69093 /* The count of LCDIFV2_CSC_COEF1 */
69094 #define LCDIFV2_CSC_COEF1_COUNT                  (8U)
69095 
69096 /*! @name CSC_COEF2 - Color Space Conversion Coefficient Register 2 */
69097 /*! @{ */
69098 
69099 #define LCDIFV2_CSC_COEF2_C3_MASK                (0x7FFU)
69100 #define LCDIFV2_CSC_COEF2_C3_SHIFT               (0U)
69101 /*! C3 - Two's compliment Green U/Cb multiplier coefficient. YUV=0x79C (-0.394) YCbCr=0x79C (-0.392)
69102  */
69103 #define LCDIFV2_CSC_COEF2_C3(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF2_C3_SHIFT)) & LCDIFV2_CSC_COEF2_C3_MASK)
69104 
69105 #define LCDIFV2_CSC_COEF2_C2_MASK                (0x7FF0000U)
69106 #define LCDIFV2_CSC_COEF2_C2_SHIFT               (16U)
69107 /*! C2 - Two's compliment Green V/Cr multiplier coefficient. YUV=0x76B (-0.581) YCbCr=0x730 (-0.813)
69108  */
69109 #define LCDIFV2_CSC_COEF2_C2(x)                  (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CSC_COEF2_C2_SHIFT)) & LCDIFV2_CSC_COEF2_C2_MASK)
69110 /*! @} */
69111 
69112 /* The count of LCDIFV2_CSC_COEF2 */
69113 #define LCDIFV2_CSC_COEF2_COUNT                  (8U)
69114 
69115 /*! @name CLUT_LOAD - LCDIFv2 CLUT load Register */
69116 /*! @{ */
69117 
69118 #define LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN_MASK    (0x1U)
69119 #define LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN_SHIFT   (0U)
69120 /*! CLUT_UPDATE_EN - CLUT Update Enable
69121  */
69122 #define LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN(x)      (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN_SHIFT)) & LCDIFV2_CLUT_LOAD_CLUT_UPDATE_EN_MASK)
69123 
69124 #define LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM_MASK      (0x70U)
69125 #define LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM_SHIFT     (4U)
69126 /*! SEL_CLUT_NUM - Selected CLUT Number
69127  */
69128 #define LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM(x)        (((uint32_t)(((uint32_t)(x)) << LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM_SHIFT)) & LCDIFV2_CLUT_LOAD_SEL_CLUT_NUM_MASK)
69129 /*! @} */
69130 
69131 
69132 /*!
69133  * @}
69134  */ /* end of group LCDIFV2_Register_Masks */
69135 
69136 
69137 /* LCDIFV2 - Peripheral instance base addresses */
69138 /** Peripheral LCDIFV2 base address */
69139 #define LCDIFV2_BASE                             (0x40808000u)
69140 /** Peripheral LCDIFV2 base pointer */
69141 #define LCDIFV2                                  ((LCDIFV2_Type *)LCDIFV2_BASE)
69142 /** Array initializer of LCDIFV2 peripheral base addresses */
69143 #define LCDIFV2_BASE_ADDRS                       { LCDIFV2_BASE }
69144 /** Array initializer of LCDIFV2 peripheral base pointers */
69145 #define LCDIFV2_BASE_PTRS                        { LCDIFV2 }
69146 
69147 /*!
69148  * @}
69149  */ /* end of group LCDIFV2_Peripheral_Access_Layer */
69150 
69151 
69152 /* ----------------------------------------------------------------------------
69153    -- LPI2C Peripheral Access Layer
69154    ---------------------------------------------------------------------------- */
69155 
69156 /*!
69157  * @addtogroup LPI2C_Peripheral_Access_Layer LPI2C Peripheral Access Layer
69158  * @{
69159  */
69160 
69161 /** LPI2C - Register Layout Typedef */
69162 typedef struct {
69163   __I  uint32_t VERID;                             /**< Version ID, offset: 0x0 */
69164   __I  uint32_t PARAM;                             /**< Parameter, offset: 0x4 */
69165        uint8_t RESERVED_0[8];
69166   __IO uint32_t MCR;                               /**< Master Control, offset: 0x10 */
69167   __IO uint32_t MSR;                               /**< Master Status, offset: 0x14 */
69168   __IO uint32_t MIER;                              /**< Master Interrupt Enable, offset: 0x18 */
69169   __IO uint32_t MDER;                              /**< Master DMA Enable, offset: 0x1C */
69170   __IO uint32_t MCFGR0;                            /**< Master Configuration 0, offset: 0x20 */
69171   __IO uint32_t MCFGR1;                            /**< Master Configuration 1, offset: 0x24 */
69172   __IO uint32_t MCFGR2;                            /**< Master Configuration 2, offset: 0x28 */
69173   __IO uint32_t MCFGR3;                            /**< Master Configuration 3, offset: 0x2C */
69174        uint8_t RESERVED_1[16];
69175   __IO uint32_t MDMR;                              /**< Master Data Match, offset: 0x40 */
69176        uint8_t RESERVED_2[4];
69177   __IO uint32_t MCCR0;                             /**< Master Clock Configuration 0, offset: 0x48 */
69178        uint8_t RESERVED_3[4];
69179   __IO uint32_t MCCR1;                             /**< Master Clock Configuration 1, offset: 0x50 */
69180        uint8_t RESERVED_4[4];
69181   __IO uint32_t MFCR;                              /**< Master FIFO Control, offset: 0x58 */
69182   __I  uint32_t MFSR;                              /**< Master FIFO Status, offset: 0x5C */
69183   __O  uint32_t MTDR;                              /**< Master Transmit Data, offset: 0x60 */
69184        uint8_t RESERVED_5[12];
69185   __I  uint32_t MRDR;                              /**< Master Receive Data, offset: 0x70 */
69186        uint8_t RESERVED_6[156];
69187   __IO uint32_t SCR;                               /**< Slave Control, offset: 0x110 */
69188   __IO uint32_t SSR;                               /**< Slave Status, offset: 0x114 */
69189   __IO uint32_t SIER;                              /**< Slave Interrupt Enable, offset: 0x118 */
69190   __IO uint32_t SDER;                              /**< Slave DMA Enable, offset: 0x11C */
69191        uint8_t RESERVED_7[4];
69192   __IO uint32_t SCFGR1;                            /**< Slave Configuration 1, offset: 0x124 */
69193   __IO uint32_t SCFGR2;                            /**< Slave Configuration 2, offset: 0x128 */
69194        uint8_t RESERVED_8[20];
69195   __IO uint32_t SAMR;                              /**< Slave Address Match, offset: 0x140 */
69196        uint8_t RESERVED_9[12];
69197   __I  uint32_t SASR;                              /**< Slave Address Status, offset: 0x150 */
69198   __IO uint32_t STAR;                              /**< Slave Transmit ACK, offset: 0x154 */
69199        uint8_t RESERVED_10[8];
69200   __O  uint32_t STDR;                              /**< Slave Transmit Data, offset: 0x160 */
69201        uint8_t RESERVED_11[12];
69202   __I  uint32_t SRDR;                              /**< Slave Receive Data, offset: 0x170 */
69203 } LPI2C_Type;
69204 
69205 /* ----------------------------------------------------------------------------
69206    -- LPI2C Register Masks
69207    ---------------------------------------------------------------------------- */
69208 
69209 /*!
69210  * @addtogroup LPI2C_Register_Masks LPI2C Register Masks
69211  * @{
69212  */
69213 
69214 /*! @name VERID - Version ID */
69215 /*! @{ */
69216 
69217 #define LPI2C_VERID_FEATURE_MASK                 (0xFFFFU)
69218 #define LPI2C_VERID_FEATURE_SHIFT                (0U)
69219 /*! FEATURE - Feature Specification Number
69220  *  0b0000000000000010..Master only, with standard feature set
69221  *  0b0000000000000011..Master and slave, with standard feature set
69222  */
69223 #define LPI2C_VERID_FEATURE(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_FEATURE_SHIFT)) & LPI2C_VERID_FEATURE_MASK)
69224 
69225 #define LPI2C_VERID_MINOR_MASK                   (0xFF0000U)
69226 #define LPI2C_VERID_MINOR_SHIFT                  (16U)
69227 /*! MINOR - Minor Version Number
69228  */
69229 #define LPI2C_VERID_MINOR(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_MINOR_SHIFT)) & LPI2C_VERID_MINOR_MASK)
69230 
69231 #define LPI2C_VERID_MAJOR_MASK                   (0xFF000000U)
69232 #define LPI2C_VERID_MAJOR_SHIFT                  (24U)
69233 /*! MAJOR - Major Version Number
69234  */
69235 #define LPI2C_VERID_MAJOR(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_MAJOR_SHIFT)) & LPI2C_VERID_MAJOR_MASK)
69236 /*! @} */
69237 
69238 /*! @name PARAM - Parameter */
69239 /*! @{ */
69240 
69241 #define LPI2C_PARAM_MTXFIFO_MASK                 (0xFU)
69242 #define LPI2C_PARAM_MTXFIFO_SHIFT                (0U)
69243 /*! MTXFIFO - Master Transmit FIFO Size
69244  */
69245 #define LPI2C_PARAM_MTXFIFO(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_PARAM_MTXFIFO_SHIFT)) & LPI2C_PARAM_MTXFIFO_MASK)
69246 
69247 #define LPI2C_PARAM_MRXFIFO_MASK                 (0xF00U)
69248 #define LPI2C_PARAM_MRXFIFO_SHIFT                (8U)
69249 /*! MRXFIFO - Master Receive FIFO Size
69250  */
69251 #define LPI2C_PARAM_MRXFIFO(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_PARAM_MRXFIFO_SHIFT)) & LPI2C_PARAM_MRXFIFO_MASK)
69252 /*! @} */
69253 
69254 /*! @name MCR - Master Control */
69255 /*! @{ */
69256 
69257 #define LPI2C_MCR_MEN_MASK                       (0x1U)
69258 #define LPI2C_MCR_MEN_SHIFT                      (0U)
69259 /*! MEN - Master Enable
69260  *  0b0..Master logic is disabled
69261  *  0b1..Master logic is enabled
69262  */
69263 #define LPI2C_MCR_MEN(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_MEN_SHIFT)) & LPI2C_MCR_MEN_MASK)
69264 
69265 #define LPI2C_MCR_RST_MASK                       (0x2U)
69266 #define LPI2C_MCR_RST_SHIFT                      (1U)
69267 /*! RST - Software Reset
69268  *  0b0..Master logic is not reset
69269  *  0b1..Master logic is reset
69270  */
69271 #define LPI2C_MCR_RST(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_RST_SHIFT)) & LPI2C_MCR_RST_MASK)
69272 
69273 #define LPI2C_MCR_DOZEN_MASK                     (0x4U)
69274 #define LPI2C_MCR_DOZEN_SHIFT                    (2U)
69275 /*! DOZEN - Doze mode enable
69276  *  0b0..Master is enabled in Doze mode
69277  *  0b1..Master is disabled in Doze mode
69278  */
69279 #define LPI2C_MCR_DOZEN(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_DOZEN_SHIFT)) & LPI2C_MCR_DOZEN_MASK)
69280 
69281 #define LPI2C_MCR_DBGEN_MASK                     (0x8U)
69282 #define LPI2C_MCR_DBGEN_SHIFT                    (3U)
69283 /*! DBGEN - Debug Enable
69284  *  0b0..Master is disabled in debug mode
69285  *  0b1..Master is enabled in debug mode
69286  */
69287 #define LPI2C_MCR_DBGEN(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_DBGEN_SHIFT)) & LPI2C_MCR_DBGEN_MASK)
69288 
69289 #define LPI2C_MCR_RTF_MASK                       (0x100U)
69290 #define LPI2C_MCR_RTF_SHIFT                      (8U)
69291 /*! RTF - Reset Transmit FIFO
69292  *  0b0..No effect
69293  *  0b1..Transmit FIFO is reset
69294  */
69295 #define LPI2C_MCR_RTF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_RTF_SHIFT)) & LPI2C_MCR_RTF_MASK)
69296 
69297 #define LPI2C_MCR_RRF_MASK                       (0x200U)
69298 #define LPI2C_MCR_RRF_SHIFT                      (9U)
69299 /*! RRF - Reset Receive FIFO
69300  *  0b0..No effect
69301  *  0b1..Receive FIFO is reset
69302  */
69303 #define LPI2C_MCR_RRF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_RRF_SHIFT)) & LPI2C_MCR_RRF_MASK)
69304 /*! @} */
69305 
69306 /*! @name MSR - Master Status */
69307 /*! @{ */
69308 
69309 #define LPI2C_MSR_TDF_MASK                       (0x1U)
69310 #define LPI2C_MSR_TDF_SHIFT                      (0U)
69311 /*! TDF - Transmit Data Flag
69312  *  0b0..Transmit data is not requested
69313  *  0b1..Transmit data is requested
69314  */
69315 #define LPI2C_MSR_TDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_TDF_SHIFT)) & LPI2C_MSR_TDF_MASK)
69316 
69317 #define LPI2C_MSR_RDF_MASK                       (0x2U)
69318 #define LPI2C_MSR_RDF_SHIFT                      (1U)
69319 /*! RDF - Receive Data Flag
69320  *  0b0..Receive Data is not ready
69321  *  0b1..Receive data is ready
69322  */
69323 #define LPI2C_MSR_RDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_RDF_SHIFT)) & LPI2C_MSR_RDF_MASK)
69324 
69325 #define LPI2C_MSR_EPF_MASK                       (0x100U)
69326 #define LPI2C_MSR_EPF_SHIFT                      (8U)
69327 /*! EPF - End Packet Flag
69328  *  0b0..Master has not generated a STOP or Repeated START condition
69329  *  0b1..Master has generated a STOP or Repeated START condition
69330  */
69331 #define LPI2C_MSR_EPF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_EPF_SHIFT)) & LPI2C_MSR_EPF_MASK)
69332 
69333 #define LPI2C_MSR_SDF_MASK                       (0x200U)
69334 #define LPI2C_MSR_SDF_SHIFT                      (9U)
69335 /*! SDF - STOP Detect Flag
69336  *  0b0..Master has not generated a STOP condition
69337  *  0b1..Master has generated a STOP condition
69338  */
69339 #define LPI2C_MSR_SDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_SDF_SHIFT)) & LPI2C_MSR_SDF_MASK)
69340 
69341 #define LPI2C_MSR_NDF_MASK                       (0x400U)
69342 #define LPI2C_MSR_NDF_SHIFT                      (10U)
69343 /*! NDF - NACK Detect Flag
69344  *  0b0..Unexpected NACK was not detected
69345  *  0b1..Unexpected NACK was detected
69346  */
69347 #define LPI2C_MSR_NDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_NDF_SHIFT)) & LPI2C_MSR_NDF_MASK)
69348 
69349 #define LPI2C_MSR_ALF_MASK                       (0x800U)
69350 #define LPI2C_MSR_ALF_SHIFT                      (11U)
69351 /*! ALF - Arbitration Lost Flag
69352  *  0b0..Master has not lost arbitration
69353  *  0b1..Master has lost arbitration
69354  */
69355 #define LPI2C_MSR_ALF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_ALF_SHIFT)) & LPI2C_MSR_ALF_MASK)
69356 
69357 #define LPI2C_MSR_FEF_MASK                       (0x1000U)
69358 #define LPI2C_MSR_FEF_SHIFT                      (12U)
69359 /*! FEF - FIFO Error Flag
69360  *  0b0..No error
69361  *  0b1..Master sending or receiving data without a START condition
69362  */
69363 #define LPI2C_MSR_FEF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_FEF_SHIFT)) & LPI2C_MSR_FEF_MASK)
69364 
69365 #define LPI2C_MSR_PLTF_MASK                      (0x2000U)
69366 #define LPI2C_MSR_PLTF_SHIFT                     (13U)
69367 /*! PLTF - Pin Low Timeout Flag
69368  *  0b0..Pin low timeout has not occurred or is disabled
69369  *  0b1..Pin low timeout has occurred
69370  */
69371 #define LPI2C_MSR_PLTF(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_PLTF_SHIFT)) & LPI2C_MSR_PLTF_MASK)
69372 
69373 #define LPI2C_MSR_DMF_MASK                       (0x4000U)
69374 #define LPI2C_MSR_DMF_SHIFT                      (14U)
69375 /*! DMF - Data Match Flag
69376  *  0b0..Have not received matching data
69377  *  0b1..Have received matching data
69378  */
69379 #define LPI2C_MSR_DMF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_DMF_SHIFT)) & LPI2C_MSR_DMF_MASK)
69380 
69381 #define LPI2C_MSR_MBF_MASK                       (0x1000000U)
69382 #define LPI2C_MSR_MBF_SHIFT                      (24U)
69383 /*! MBF - Master Busy Flag
69384  *  0b0..I2C Master is idle
69385  *  0b1..I2C Master is busy
69386  */
69387 #define LPI2C_MSR_MBF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_MBF_SHIFT)) & LPI2C_MSR_MBF_MASK)
69388 
69389 #define LPI2C_MSR_BBF_MASK                       (0x2000000U)
69390 #define LPI2C_MSR_BBF_SHIFT                      (25U)
69391 /*! BBF - Bus Busy Flag
69392  *  0b0..I2C Bus is idle
69393  *  0b1..I2C Bus is busy
69394  */
69395 #define LPI2C_MSR_BBF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_MSR_BBF_SHIFT)) & LPI2C_MSR_BBF_MASK)
69396 /*! @} */
69397 
69398 /*! @name MIER - Master Interrupt Enable */
69399 /*! @{ */
69400 
69401 #define LPI2C_MIER_TDIE_MASK                     (0x1U)
69402 #define LPI2C_MIER_TDIE_SHIFT                    (0U)
69403 /*! TDIE - Transmit Data Interrupt Enable
69404  *  0b0..Disabled
69405  *  0b1..Enabled
69406  */
69407 #define LPI2C_MIER_TDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_TDIE_SHIFT)) & LPI2C_MIER_TDIE_MASK)
69408 
69409 #define LPI2C_MIER_RDIE_MASK                     (0x2U)
69410 #define LPI2C_MIER_RDIE_SHIFT                    (1U)
69411 /*! RDIE - Receive Data Interrupt Enable
69412  *  0b0..Disabled
69413  *  0b1..Enabled
69414  */
69415 #define LPI2C_MIER_RDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_RDIE_SHIFT)) & LPI2C_MIER_RDIE_MASK)
69416 
69417 #define LPI2C_MIER_EPIE_MASK                     (0x100U)
69418 #define LPI2C_MIER_EPIE_SHIFT                    (8U)
69419 /*! EPIE - End Packet Interrupt Enable
69420  *  0b0..Disabled
69421  *  0b1..Enabled
69422  */
69423 #define LPI2C_MIER_EPIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_EPIE_SHIFT)) & LPI2C_MIER_EPIE_MASK)
69424 
69425 #define LPI2C_MIER_SDIE_MASK                     (0x200U)
69426 #define LPI2C_MIER_SDIE_SHIFT                    (9U)
69427 /*! SDIE - STOP Detect Interrupt Enable
69428  *  0b0..Disabled
69429  *  0b1..Enabled
69430  */
69431 #define LPI2C_MIER_SDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_SDIE_SHIFT)) & LPI2C_MIER_SDIE_MASK)
69432 
69433 #define LPI2C_MIER_NDIE_MASK                     (0x400U)
69434 #define LPI2C_MIER_NDIE_SHIFT                    (10U)
69435 /*! NDIE - NACK Detect Interrupt Enable
69436  *  0b0..Disabled
69437  *  0b1..Enabled
69438  */
69439 #define LPI2C_MIER_NDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_NDIE_SHIFT)) & LPI2C_MIER_NDIE_MASK)
69440 
69441 #define LPI2C_MIER_ALIE_MASK                     (0x800U)
69442 #define LPI2C_MIER_ALIE_SHIFT                    (11U)
69443 /*! ALIE - Arbitration Lost Interrupt Enable
69444  *  0b0..Disabled
69445  *  0b1..Enabled
69446  */
69447 #define LPI2C_MIER_ALIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_ALIE_SHIFT)) & LPI2C_MIER_ALIE_MASK)
69448 
69449 #define LPI2C_MIER_FEIE_MASK                     (0x1000U)
69450 #define LPI2C_MIER_FEIE_SHIFT                    (12U)
69451 /*! FEIE - FIFO Error Interrupt Enable
69452  *  0b0..Enabled
69453  *  0b1..Disabled
69454  */
69455 #define LPI2C_MIER_FEIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_FEIE_SHIFT)) & LPI2C_MIER_FEIE_MASK)
69456 
69457 #define LPI2C_MIER_PLTIE_MASK                    (0x2000U)
69458 #define LPI2C_MIER_PLTIE_SHIFT                   (13U)
69459 /*! PLTIE - Pin Low Timeout Interrupt Enable
69460  *  0b0..Disabled
69461  *  0b1..Enabled
69462  */
69463 #define LPI2C_MIER_PLTIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_PLTIE_SHIFT)) & LPI2C_MIER_PLTIE_MASK)
69464 
69465 #define LPI2C_MIER_DMIE_MASK                     (0x4000U)
69466 #define LPI2C_MIER_DMIE_SHIFT                    (14U)
69467 /*! DMIE - Data Match Interrupt Enable
69468  *  0b0..Disabled
69469  *  0b1..Enabled
69470  */
69471 #define LPI2C_MIER_DMIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MIER_DMIE_SHIFT)) & LPI2C_MIER_DMIE_MASK)
69472 /*! @} */
69473 
69474 /*! @name MDER - Master DMA Enable */
69475 /*! @{ */
69476 
69477 #define LPI2C_MDER_TDDE_MASK                     (0x1U)
69478 #define LPI2C_MDER_TDDE_SHIFT                    (0U)
69479 /*! TDDE - Transmit Data DMA Enable
69480  *  0b0..DMA request is disabled
69481  *  0b1..DMA request is enabled
69482  */
69483 #define LPI2C_MDER_TDDE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MDER_TDDE_SHIFT)) & LPI2C_MDER_TDDE_MASK)
69484 
69485 #define LPI2C_MDER_RDDE_MASK                     (0x2U)
69486 #define LPI2C_MDER_RDDE_SHIFT                    (1U)
69487 /*! RDDE - Receive Data DMA Enable
69488  *  0b0..DMA request is disabled
69489  *  0b1..DMA request is enabled
69490  */
69491 #define LPI2C_MDER_RDDE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MDER_RDDE_SHIFT)) & LPI2C_MDER_RDDE_MASK)
69492 /*! @} */
69493 
69494 /*! @name MCFGR0 - Master Configuration 0 */
69495 /*! @{ */
69496 
69497 #define LPI2C_MCFGR0_HREN_MASK                   (0x1U)
69498 #define LPI2C_MCFGR0_HREN_SHIFT                  (0U)
69499 /*! HREN - Host Request Enable
69500  *  0b0..Host request input is disabled
69501  *  0b1..Host request input is enabled
69502  */
69503 #define LPI2C_MCFGR0_HREN(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR0_HREN_SHIFT)) & LPI2C_MCFGR0_HREN_MASK)
69504 
69505 #define LPI2C_MCFGR0_HRPOL_MASK                  (0x2U)
69506 #define LPI2C_MCFGR0_HRPOL_SHIFT                 (1U)
69507 /*! HRPOL - Host Request Polarity
69508  *  0b0..Active low
69509  *  0b1..Active high
69510  */
69511 #define LPI2C_MCFGR0_HRPOL(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR0_HRPOL_SHIFT)) & LPI2C_MCFGR0_HRPOL_MASK)
69512 
69513 #define LPI2C_MCFGR0_HRSEL_MASK                  (0x4U)
69514 #define LPI2C_MCFGR0_HRSEL_SHIFT                 (2U)
69515 /*! HRSEL - Host Request Select
69516  *  0b0..Host request input is pin HREQ
69517  *  0b1..Host request input is input trigger
69518  */
69519 #define LPI2C_MCFGR0_HRSEL(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR0_HRSEL_SHIFT)) & LPI2C_MCFGR0_HRSEL_MASK)
69520 
69521 #define LPI2C_MCFGR0_CIRFIFO_MASK                (0x100U)
69522 #define LPI2C_MCFGR0_CIRFIFO_SHIFT               (8U)
69523 /*! CIRFIFO - Circular FIFO Enable
69524  *  0b0..Circular FIFO is disabled
69525  *  0b1..Circular FIFO is enabled
69526  */
69527 #define LPI2C_MCFGR0_CIRFIFO(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR0_CIRFIFO_SHIFT)) & LPI2C_MCFGR0_CIRFIFO_MASK)
69528 
69529 #define LPI2C_MCFGR0_RDMO_MASK                   (0x200U)
69530 #define LPI2C_MCFGR0_RDMO_SHIFT                  (9U)
69531 /*! RDMO - Receive Data Match Only
69532  *  0b0..Received data is stored in the receive FIFO
69533  *  0b1..Received data is discarded unless the the Data Match Flag (MSR[DMF]) is set
69534  */
69535 #define LPI2C_MCFGR0_RDMO(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR0_RDMO_SHIFT)) & LPI2C_MCFGR0_RDMO_MASK)
69536 /*! @} */
69537 
69538 /*! @name MCFGR1 - Master Configuration 1 */
69539 /*! @{ */
69540 
69541 #define LPI2C_MCFGR1_PRESCALE_MASK               (0x7U)
69542 #define LPI2C_MCFGR1_PRESCALE_SHIFT              (0U)
69543 /*! PRESCALE - Prescaler
69544  *  0b000..Divide by 1
69545  *  0b001..Divide by 2
69546  *  0b010..Divide by 4
69547  *  0b011..Divide by 8
69548  *  0b100..Divide by 16
69549  *  0b101..Divide by 32
69550  *  0b110..Divide by 64
69551  *  0b111..Divide by 128
69552  */
69553 #define LPI2C_MCFGR1_PRESCALE(x)                 (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_PRESCALE_SHIFT)) & LPI2C_MCFGR1_PRESCALE_MASK)
69554 
69555 #define LPI2C_MCFGR1_AUTOSTOP_MASK               (0x100U)
69556 #define LPI2C_MCFGR1_AUTOSTOP_SHIFT              (8U)
69557 /*! AUTOSTOP - Automatic STOP Generation
69558  *  0b0..No effect
69559  *  0b1..STOP condition is automatically generated whenever the transmit FIFO is empty and the LPI2C master is busy
69560  */
69561 #define LPI2C_MCFGR1_AUTOSTOP(x)                 (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_AUTOSTOP_SHIFT)) & LPI2C_MCFGR1_AUTOSTOP_MASK)
69562 
69563 #define LPI2C_MCFGR1_IGNACK_MASK                 (0x200U)
69564 #define LPI2C_MCFGR1_IGNACK_SHIFT                (9U)
69565 /*! IGNACK - IGNACK
69566  *  0b0..LPI2C Master receives ACK and NACK normally
69567  *  0b1..LPI2C Master treats a received NACK as if it (NACK) was an ACK
69568  */
69569 #define LPI2C_MCFGR1_IGNACK(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_IGNACK_SHIFT)) & LPI2C_MCFGR1_IGNACK_MASK)
69570 
69571 #define LPI2C_MCFGR1_TIMECFG_MASK                (0x400U)
69572 #define LPI2C_MCFGR1_TIMECFG_SHIFT               (10U)
69573 /*! TIMECFG - Timeout Configuration
69574  *  0b0..MSR[PLTF] sets if SCL is low for longer than the configured timeout
69575  *  0b1..MSR[PLTF] sets if either SCL or SDA is low for longer than the configured timeout
69576  */
69577 #define LPI2C_MCFGR1_TIMECFG(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_TIMECFG_SHIFT)) & LPI2C_MCFGR1_TIMECFG_MASK)
69578 
69579 #define LPI2C_MCFGR1_MATCFG_MASK                 (0x70000U)
69580 #define LPI2C_MCFGR1_MATCFG_SHIFT                (16U)
69581 /*! MATCFG - Match Configuration
69582  *  0b000..Match is disabled
69583  *  0b001..Reserved
69584  *  0b010..Match is enabled (1st data word equals MDMR[MATCH0] OR MDMR[MATCH1])
69585  *  0b011..Match is enabled (any data word equals MDMR[MATCH0] OR MDMR[MATCH1])
69586  *  0b100..Match is enabled (1st data word equals MDMR[MATCH0] AND 2nd data word equals MDMR[MATCH1)
69587  *  0b101..Match is enabled (any data word equals MDMR[MATCH0] AND next data word equals MDMR[MATCH1)
69588  *  0b110..Match is enabled (1st data word AND MDMR[MATCH1] equals MDMR[MATCH0] AND MDMR[MATCH1])
69589  *  0b111..Match is enabled (any data word AND MDMR[MATCH1] equals MDMR[MATCH0] AND MDMR[MATCH1])
69590  */
69591 #define LPI2C_MCFGR1_MATCFG(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_MATCFG_SHIFT)) & LPI2C_MCFGR1_MATCFG_MASK)
69592 
69593 #define LPI2C_MCFGR1_PINCFG_MASK                 (0x7000000U)
69594 #define LPI2C_MCFGR1_PINCFG_SHIFT                (24U)
69595 /*! PINCFG - Pin Configuration
69596  *  0b000..2-pin open drain mode
69597  *  0b001..2-pin output only mode (ultra-fast mode)
69598  *  0b010..2-pin push-pull mode
69599  *  0b011..4-pin push-pull mode
69600  *  0b100..2-pin open drain mode with separate LPI2C slave
69601  *  0b101..2-pin output only mode (ultra-fast mode) with separate LPI2C slave
69602  *  0b110..2-pin push-pull mode with separate LPI2C slave
69603  *  0b111..4-pin push-pull mode (inverted outputs)
69604  */
69605 #define LPI2C_MCFGR1_PINCFG(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR1_PINCFG_SHIFT)) & LPI2C_MCFGR1_PINCFG_MASK)
69606 /*! @} */
69607 
69608 /*! @name MCFGR2 - Master Configuration 2 */
69609 /*! @{ */
69610 
69611 #define LPI2C_MCFGR2_BUSIDLE_MASK                (0xFFFU)
69612 #define LPI2C_MCFGR2_BUSIDLE_SHIFT               (0U)
69613 /*! BUSIDLE - Bus Idle Timeout
69614  */
69615 #define LPI2C_MCFGR2_BUSIDLE(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR2_BUSIDLE_SHIFT)) & LPI2C_MCFGR2_BUSIDLE_MASK)
69616 
69617 #define LPI2C_MCFGR2_FILTSCL_MASK                (0xF0000U)
69618 #define LPI2C_MCFGR2_FILTSCL_SHIFT               (16U)
69619 /*! FILTSCL - Glitch Filter SCL
69620  */
69621 #define LPI2C_MCFGR2_FILTSCL(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR2_FILTSCL_SHIFT)) & LPI2C_MCFGR2_FILTSCL_MASK)
69622 
69623 #define LPI2C_MCFGR2_FILTSDA_MASK                (0xF000000U)
69624 #define LPI2C_MCFGR2_FILTSDA_SHIFT               (24U)
69625 /*! FILTSDA - Glitch Filter SDA
69626  */
69627 #define LPI2C_MCFGR2_FILTSDA(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR2_FILTSDA_SHIFT)) & LPI2C_MCFGR2_FILTSDA_MASK)
69628 /*! @} */
69629 
69630 /*! @name MCFGR3 - Master Configuration 3 */
69631 /*! @{ */
69632 
69633 #define LPI2C_MCFGR3_PINLOW_MASK                 (0xFFF00U)
69634 #define LPI2C_MCFGR3_PINLOW_SHIFT                (8U)
69635 /*! PINLOW - Pin Low Timeout
69636  */
69637 #define LPI2C_MCFGR3_PINLOW(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR3_PINLOW_SHIFT)) & LPI2C_MCFGR3_PINLOW_MASK)
69638 /*! @} */
69639 
69640 /*! @name MDMR - Master Data Match */
69641 /*! @{ */
69642 
69643 #define LPI2C_MDMR_MATCH0_MASK                   (0xFFU)
69644 #define LPI2C_MDMR_MATCH0_SHIFT                  (0U)
69645 /*! MATCH0 - Match 0 Value
69646  */
69647 #define LPI2C_MDMR_MATCH0(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MDMR_MATCH0_SHIFT)) & LPI2C_MDMR_MATCH0_MASK)
69648 
69649 #define LPI2C_MDMR_MATCH1_MASK                   (0xFF0000U)
69650 #define LPI2C_MDMR_MATCH1_SHIFT                  (16U)
69651 /*! MATCH1 - Match 1 Value
69652  */
69653 #define LPI2C_MDMR_MATCH1(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MDMR_MATCH1_SHIFT)) & LPI2C_MDMR_MATCH1_MASK)
69654 /*! @} */
69655 
69656 /*! @name MCCR0 - Master Clock Configuration 0 */
69657 /*! @{ */
69658 
69659 #define LPI2C_MCCR0_CLKLO_MASK                   (0x3FU)
69660 #define LPI2C_MCCR0_CLKLO_SHIFT                  (0U)
69661 /*! CLKLO - Clock Low Period
69662  */
69663 #define LPI2C_MCCR0_CLKLO(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR0_CLKLO_SHIFT)) & LPI2C_MCCR0_CLKLO_MASK)
69664 
69665 #define LPI2C_MCCR0_CLKHI_MASK                   (0x3F00U)
69666 #define LPI2C_MCCR0_CLKHI_SHIFT                  (8U)
69667 /*! CLKHI - Clock High Period
69668  */
69669 #define LPI2C_MCCR0_CLKHI(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR0_CLKHI_SHIFT)) & LPI2C_MCCR0_CLKHI_MASK)
69670 
69671 #define LPI2C_MCCR0_SETHOLD_MASK                 (0x3F0000U)
69672 #define LPI2C_MCCR0_SETHOLD_SHIFT                (16U)
69673 /*! SETHOLD - Setup Hold Delay
69674  */
69675 #define LPI2C_MCCR0_SETHOLD(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR0_SETHOLD_SHIFT)) & LPI2C_MCCR0_SETHOLD_MASK)
69676 
69677 #define LPI2C_MCCR0_DATAVD_MASK                  (0x3F000000U)
69678 #define LPI2C_MCCR0_DATAVD_SHIFT                 (24U)
69679 /*! DATAVD - Data Valid Delay
69680  */
69681 #define LPI2C_MCCR0_DATAVD(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR0_DATAVD_SHIFT)) & LPI2C_MCCR0_DATAVD_MASK)
69682 /*! @} */
69683 
69684 /*! @name MCCR1 - Master Clock Configuration 1 */
69685 /*! @{ */
69686 
69687 #define LPI2C_MCCR1_CLKLO_MASK                   (0x3FU)
69688 #define LPI2C_MCCR1_CLKLO_SHIFT                  (0U)
69689 /*! CLKLO - Clock Low Period
69690  */
69691 #define LPI2C_MCCR1_CLKLO(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR1_CLKLO_SHIFT)) & LPI2C_MCCR1_CLKLO_MASK)
69692 
69693 #define LPI2C_MCCR1_CLKHI_MASK                   (0x3F00U)
69694 #define LPI2C_MCCR1_CLKHI_SHIFT                  (8U)
69695 /*! CLKHI - Clock High Period
69696  */
69697 #define LPI2C_MCCR1_CLKHI(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR1_CLKHI_SHIFT)) & LPI2C_MCCR1_CLKHI_MASK)
69698 
69699 #define LPI2C_MCCR1_SETHOLD_MASK                 (0x3F0000U)
69700 #define LPI2C_MCCR1_SETHOLD_SHIFT                (16U)
69701 /*! SETHOLD - Setup Hold Delay
69702  */
69703 #define LPI2C_MCCR1_SETHOLD(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR1_SETHOLD_SHIFT)) & LPI2C_MCCR1_SETHOLD_MASK)
69704 
69705 #define LPI2C_MCCR1_DATAVD_MASK                  (0x3F000000U)
69706 #define LPI2C_MCCR1_DATAVD_SHIFT                 (24U)
69707 /*! DATAVD - Data Valid Delay
69708  */
69709 #define LPI2C_MCCR1_DATAVD(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MCCR1_DATAVD_SHIFT)) & LPI2C_MCCR1_DATAVD_MASK)
69710 /*! @} */
69711 
69712 /*! @name MFCR - Master FIFO Control */
69713 /*! @{ */
69714 
69715 #define LPI2C_MFCR_TXWATER_MASK                  (0x3U)
69716 #define LPI2C_MFCR_TXWATER_SHIFT                 (0U)
69717 /*! TXWATER - Transmit FIFO Watermark
69718  */
69719 #define LPI2C_MFCR_TXWATER(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MFCR_TXWATER_SHIFT)) & LPI2C_MFCR_TXWATER_MASK)
69720 
69721 #define LPI2C_MFCR_RXWATER_MASK                  (0x30000U)
69722 #define LPI2C_MFCR_RXWATER_SHIFT                 (16U)
69723 /*! RXWATER - Receive FIFO Watermark
69724  */
69725 #define LPI2C_MFCR_RXWATER(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MFCR_RXWATER_SHIFT)) & LPI2C_MFCR_RXWATER_MASK)
69726 /*! @} */
69727 
69728 /*! @name MFSR - Master FIFO Status */
69729 /*! @{ */
69730 
69731 #define LPI2C_MFSR_TXCOUNT_MASK                  (0x7U)
69732 #define LPI2C_MFSR_TXCOUNT_SHIFT                 (0U)
69733 /*! TXCOUNT - Transmit FIFO Count
69734  */
69735 #define LPI2C_MFSR_TXCOUNT(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MFSR_TXCOUNT_SHIFT)) & LPI2C_MFSR_TXCOUNT_MASK)
69736 
69737 #define LPI2C_MFSR_RXCOUNT_MASK                  (0x70000U)
69738 #define LPI2C_MFSR_RXCOUNT_SHIFT                 (16U)
69739 /*! RXCOUNT - Receive FIFO Count
69740  */
69741 #define LPI2C_MFSR_RXCOUNT(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MFSR_RXCOUNT_SHIFT)) & LPI2C_MFSR_RXCOUNT_MASK)
69742 /*! @} */
69743 
69744 /*! @name MTDR - Master Transmit Data */
69745 /*! @{ */
69746 
69747 #define LPI2C_MTDR_DATA_MASK                     (0xFFU)
69748 #define LPI2C_MTDR_DATA_SHIFT                    (0U)
69749 /*! DATA - Transmit Data
69750  */
69751 #define LPI2C_MTDR_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MTDR_DATA_SHIFT)) & LPI2C_MTDR_DATA_MASK)
69752 
69753 #define LPI2C_MTDR_CMD_MASK                      (0x700U)
69754 #define LPI2C_MTDR_CMD_SHIFT                     (8U)
69755 /*! CMD - Command Data
69756  *  0b000..Transmit DATA[7:0]
69757  *  0b001..Receive (DATA[7:0] + 1) bytes
69758  *  0b010..Generate STOP condition
69759  *  0b011..Receive and discard (DATA[7:0] + 1) bytes
69760  *  0b100..Generate (repeated) START and transmit address in DATA[7:0]
69761  *  0b101..Generate (repeated) START and transmit address in DATA[7:0]. This transfer expects a NACK to be returned.
69762  *  0b110..Generate (repeated) START and transmit address in DATA[7:0] using high speed mode
69763  *  0b111..Generate (repeated) START and transmit address in DATA[7:0] using high speed mode. This transfer expects a NACK to be returned.
69764  */
69765 #define LPI2C_MTDR_CMD(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_MTDR_CMD_SHIFT)) & LPI2C_MTDR_CMD_MASK)
69766 /*! @} */
69767 
69768 /*! @name MRDR - Master Receive Data */
69769 /*! @{ */
69770 
69771 #define LPI2C_MRDR_DATA_MASK                     (0xFFU)
69772 #define LPI2C_MRDR_DATA_SHIFT                    (0U)
69773 /*! DATA - Receive Data
69774  */
69775 #define LPI2C_MRDR_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_MRDR_DATA_SHIFT)) & LPI2C_MRDR_DATA_MASK)
69776 
69777 #define LPI2C_MRDR_RXEMPTY_MASK                  (0x4000U)
69778 #define LPI2C_MRDR_RXEMPTY_SHIFT                 (14U)
69779 /*! RXEMPTY - RX Empty
69780  *  0b0..Receive FIFO is not empty
69781  *  0b1..Receive FIFO is empty
69782  */
69783 #define LPI2C_MRDR_RXEMPTY(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_MRDR_RXEMPTY_SHIFT)) & LPI2C_MRDR_RXEMPTY_MASK)
69784 /*! @} */
69785 
69786 /*! @name SCR - Slave Control */
69787 /*! @{ */
69788 
69789 #define LPI2C_SCR_SEN_MASK                       (0x1U)
69790 #define LPI2C_SCR_SEN_SHIFT                      (0U)
69791 /*! SEN - Slave Enable
69792  *  0b0..I2C Slave mode is disabled
69793  *  0b1..I2C Slave mode is enabled
69794  */
69795 #define LPI2C_SCR_SEN(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_SEN_SHIFT)) & LPI2C_SCR_SEN_MASK)
69796 
69797 #define LPI2C_SCR_RST_MASK                       (0x2U)
69798 #define LPI2C_SCR_RST_SHIFT                      (1U)
69799 /*! RST - Software Reset
69800  *  0b0..Slave mode logic is not reset
69801  *  0b1..Slave mode logic is reset
69802  */
69803 #define LPI2C_SCR_RST(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_RST_SHIFT)) & LPI2C_SCR_RST_MASK)
69804 
69805 #define LPI2C_SCR_FILTEN_MASK                    (0x10U)
69806 #define LPI2C_SCR_FILTEN_SHIFT                   (4U)
69807 /*! FILTEN - Filter Enable
69808  *  0b0..Disable digital filter and output delay counter for slave mode
69809  *  0b1..Enable digital filter and output delay counter for slave mode
69810  */
69811 #define LPI2C_SCR_FILTEN(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_FILTEN_SHIFT)) & LPI2C_SCR_FILTEN_MASK)
69812 
69813 #define LPI2C_SCR_FILTDZ_MASK                    (0x20U)
69814 #define LPI2C_SCR_FILTDZ_SHIFT                   (5U)
69815 /*! FILTDZ - Filter Doze Enable
69816  *  0b0..Filter remains enabled in Doze mode
69817  *  0b1..Filter is disabled in Doze mode
69818  */
69819 #define LPI2C_SCR_FILTDZ(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_FILTDZ_SHIFT)) & LPI2C_SCR_FILTDZ_MASK)
69820 
69821 #define LPI2C_SCR_RTF_MASK                       (0x100U)
69822 #define LPI2C_SCR_RTF_SHIFT                      (8U)
69823 /*! RTF - Reset Transmit FIFO
69824  *  0b0..No effect
69825  *  0b1..Transmit Data Register is now empty
69826  */
69827 #define LPI2C_SCR_RTF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_RTF_SHIFT)) & LPI2C_SCR_RTF_MASK)
69828 
69829 #define LPI2C_SCR_RRF_MASK                       (0x200U)
69830 #define LPI2C_SCR_RRF_SHIFT                      (9U)
69831 /*! RRF - Reset Receive FIFO
69832  *  0b0..No effect
69833  *  0b1..Receive Data Register is now empty
69834  */
69835 #define LPI2C_SCR_RRF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SCR_RRF_SHIFT)) & LPI2C_SCR_RRF_MASK)
69836 /*! @} */
69837 
69838 /*! @name SSR - Slave Status */
69839 /*! @{ */
69840 
69841 #define LPI2C_SSR_TDF_MASK                       (0x1U)
69842 #define LPI2C_SSR_TDF_SHIFT                      (0U)
69843 /*! TDF - Transmit Data Flag
69844  *  0b0..Transmit data not requested
69845  *  0b1..Transmit data is requested
69846  */
69847 #define LPI2C_SSR_TDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_TDF_SHIFT)) & LPI2C_SSR_TDF_MASK)
69848 
69849 #define LPI2C_SSR_RDF_MASK                       (0x2U)
69850 #define LPI2C_SSR_RDF_SHIFT                      (1U)
69851 /*! RDF - Receive Data Flag
69852  *  0b0..Receive data is not ready
69853  *  0b1..Receive data is ready
69854  */
69855 #define LPI2C_SSR_RDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_RDF_SHIFT)) & LPI2C_SSR_RDF_MASK)
69856 
69857 #define LPI2C_SSR_AVF_MASK                       (0x4U)
69858 #define LPI2C_SSR_AVF_SHIFT                      (2U)
69859 /*! AVF - Address Valid Flag
69860  *  0b0..Address Status Register is not valid
69861  *  0b1..Address Status Register is valid
69862  */
69863 #define LPI2C_SSR_AVF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_AVF_SHIFT)) & LPI2C_SSR_AVF_MASK)
69864 
69865 #define LPI2C_SSR_TAF_MASK                       (0x8U)
69866 #define LPI2C_SSR_TAF_SHIFT                      (3U)
69867 /*! TAF - Transmit ACK Flag
69868  *  0b0..Transmit ACK/NACK is not required
69869  *  0b1..Transmit ACK/NACK is required
69870  */
69871 #define LPI2C_SSR_TAF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_TAF_SHIFT)) & LPI2C_SSR_TAF_MASK)
69872 
69873 #define LPI2C_SSR_RSF_MASK                       (0x100U)
69874 #define LPI2C_SSR_RSF_SHIFT                      (8U)
69875 /*! RSF - Repeated Start Flag
69876  *  0b0..Slave has not detected a Repeated START condition
69877  *  0b1..Slave has detected a Repeated START condition
69878  */
69879 #define LPI2C_SSR_RSF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_RSF_SHIFT)) & LPI2C_SSR_RSF_MASK)
69880 
69881 #define LPI2C_SSR_SDF_MASK                       (0x200U)
69882 #define LPI2C_SSR_SDF_SHIFT                      (9U)
69883 /*! SDF - STOP Detect Flag
69884  *  0b0..Slave has not detected a STOP condition
69885  *  0b1..Slave has detected a STOP condition
69886  */
69887 #define LPI2C_SSR_SDF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_SDF_SHIFT)) & LPI2C_SSR_SDF_MASK)
69888 
69889 #define LPI2C_SSR_BEF_MASK                       (0x400U)
69890 #define LPI2C_SSR_BEF_SHIFT                      (10U)
69891 /*! BEF - Bit Error Flag
69892  *  0b0..Slave has not detected a bit error
69893  *  0b1..Slave has detected a bit error
69894  */
69895 #define LPI2C_SSR_BEF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_BEF_SHIFT)) & LPI2C_SSR_BEF_MASK)
69896 
69897 #define LPI2C_SSR_FEF_MASK                       (0x800U)
69898 #define LPI2C_SSR_FEF_SHIFT                      (11U)
69899 /*! FEF - FIFO Error Flag
69900  *  0b0..FIFO underflow or overflow was not detected
69901  *  0b1..FIFO underflow or overflow was detected
69902  */
69903 #define LPI2C_SSR_FEF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_FEF_SHIFT)) & LPI2C_SSR_FEF_MASK)
69904 
69905 #define LPI2C_SSR_AM0F_MASK                      (0x1000U)
69906 #define LPI2C_SSR_AM0F_SHIFT                     (12U)
69907 /*! AM0F - Address Match 0 Flag
69908  *  0b0..Have not received an ADDR0 matching address
69909  *  0b1..Have received an ADDR0 matching address
69910  */
69911 #define LPI2C_SSR_AM0F(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_AM0F_SHIFT)) & LPI2C_SSR_AM0F_MASK)
69912 
69913 #define LPI2C_SSR_AM1F_MASK                      (0x2000U)
69914 #define LPI2C_SSR_AM1F_SHIFT                     (13U)
69915 /*! AM1F - Address Match 1 Flag
69916  *  0b0..Have not received an ADDR1 or ADDR0/ADDR1 range matching address
69917  *  0b1..Have received an ADDR1 or ADDR0/ADDR1 range matching address
69918  */
69919 #define LPI2C_SSR_AM1F(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_AM1F_SHIFT)) & LPI2C_SSR_AM1F_MASK)
69920 
69921 #define LPI2C_SSR_GCF_MASK                       (0x4000U)
69922 #define LPI2C_SSR_GCF_SHIFT                      (14U)
69923 /*! GCF - General Call Flag
69924  *  0b0..Slave has not detected the General Call Address or the General Call Address is disabled
69925  *  0b1..Slave has detected the General Call Address
69926  */
69927 #define LPI2C_SSR_GCF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_GCF_SHIFT)) & LPI2C_SSR_GCF_MASK)
69928 
69929 #define LPI2C_SSR_SARF_MASK                      (0x8000U)
69930 #define LPI2C_SSR_SARF_SHIFT                     (15U)
69931 /*! SARF - SMBus Alert Response Flag
69932  *  0b0..SMBus Alert Response is disabled or not detected
69933  *  0b1..SMBus Alert Response is enabled and detected
69934  */
69935 #define LPI2C_SSR_SARF(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_SARF_SHIFT)) & LPI2C_SSR_SARF_MASK)
69936 
69937 #define LPI2C_SSR_SBF_MASK                       (0x1000000U)
69938 #define LPI2C_SSR_SBF_SHIFT                      (24U)
69939 /*! SBF - Slave Busy Flag
69940  *  0b0..I2C Slave is idle
69941  *  0b1..I2C Slave is busy
69942  */
69943 #define LPI2C_SSR_SBF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_SBF_SHIFT)) & LPI2C_SSR_SBF_MASK)
69944 
69945 #define LPI2C_SSR_BBF_MASK                       (0x2000000U)
69946 #define LPI2C_SSR_BBF_SHIFT                      (25U)
69947 /*! BBF - Bus Busy Flag
69948  *  0b0..I2C Bus is idle
69949  *  0b1..I2C Bus is busy
69950  */
69951 #define LPI2C_SSR_BBF(x)                         (((uint32_t)(((uint32_t)(x)) << LPI2C_SSR_BBF_SHIFT)) & LPI2C_SSR_BBF_MASK)
69952 /*! @} */
69953 
69954 /*! @name SIER - Slave Interrupt Enable */
69955 /*! @{ */
69956 
69957 #define LPI2C_SIER_TDIE_MASK                     (0x1U)
69958 #define LPI2C_SIER_TDIE_SHIFT                    (0U)
69959 /*! TDIE - Transmit Data Interrupt Enable
69960  *  0b0..Disabled
69961  *  0b1..Enabled
69962  */
69963 #define LPI2C_SIER_TDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_TDIE_SHIFT)) & LPI2C_SIER_TDIE_MASK)
69964 
69965 #define LPI2C_SIER_RDIE_MASK                     (0x2U)
69966 #define LPI2C_SIER_RDIE_SHIFT                    (1U)
69967 /*! RDIE - Receive Data Interrupt Enable
69968  *  0b0..Disabled
69969  *  0b1..Enabled
69970  */
69971 #define LPI2C_SIER_RDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_RDIE_SHIFT)) & LPI2C_SIER_RDIE_MASK)
69972 
69973 #define LPI2C_SIER_AVIE_MASK                     (0x4U)
69974 #define LPI2C_SIER_AVIE_SHIFT                    (2U)
69975 /*! AVIE - Address Valid Interrupt Enable
69976  *  0b0..Disabled
69977  *  0b1..Enabled
69978  */
69979 #define LPI2C_SIER_AVIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_AVIE_SHIFT)) & LPI2C_SIER_AVIE_MASK)
69980 
69981 #define LPI2C_SIER_TAIE_MASK                     (0x8U)
69982 #define LPI2C_SIER_TAIE_SHIFT                    (3U)
69983 /*! TAIE - Transmit ACK Interrupt Enable
69984  *  0b0..Disabled
69985  *  0b1..Enabled
69986  */
69987 #define LPI2C_SIER_TAIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_TAIE_SHIFT)) & LPI2C_SIER_TAIE_MASK)
69988 
69989 #define LPI2C_SIER_RSIE_MASK                     (0x100U)
69990 #define LPI2C_SIER_RSIE_SHIFT                    (8U)
69991 /*! RSIE - Repeated Start Interrupt Enable
69992  *  0b0..Disabled
69993  *  0b1..Enabled
69994  */
69995 #define LPI2C_SIER_RSIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_RSIE_SHIFT)) & LPI2C_SIER_RSIE_MASK)
69996 
69997 #define LPI2C_SIER_SDIE_MASK                     (0x200U)
69998 #define LPI2C_SIER_SDIE_SHIFT                    (9U)
69999 /*! SDIE - STOP Detect Interrupt Enable
70000  *  0b0..Disabled
70001  *  0b1..Enabled
70002  */
70003 #define LPI2C_SIER_SDIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_SDIE_SHIFT)) & LPI2C_SIER_SDIE_MASK)
70004 
70005 #define LPI2C_SIER_BEIE_MASK                     (0x400U)
70006 #define LPI2C_SIER_BEIE_SHIFT                    (10U)
70007 /*! BEIE - Bit Error Interrupt Enable
70008  *  0b0..Disabled
70009  *  0b1..Enabled
70010  */
70011 #define LPI2C_SIER_BEIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_BEIE_SHIFT)) & LPI2C_SIER_BEIE_MASK)
70012 
70013 #define LPI2C_SIER_FEIE_MASK                     (0x800U)
70014 #define LPI2C_SIER_FEIE_SHIFT                    (11U)
70015 /*! FEIE - FIFO Error Interrupt Enable
70016  *  0b0..Disabled
70017  *  0b1..Enabled
70018  */
70019 #define LPI2C_SIER_FEIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_FEIE_SHIFT)) & LPI2C_SIER_FEIE_MASK)
70020 
70021 #define LPI2C_SIER_AM0IE_MASK                    (0x1000U)
70022 #define LPI2C_SIER_AM0IE_SHIFT                   (12U)
70023 /*! AM0IE - Address Match 0 Interrupt Enable
70024  *  0b0..Disabled
70025  *  0b1..Enabled
70026  */
70027 #define LPI2C_SIER_AM0IE(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_AM0IE_SHIFT)) & LPI2C_SIER_AM0IE_MASK)
70028 
70029 #define LPI2C_SIER_AM1IE_MASK                    (0x2000U)
70030 #define LPI2C_SIER_AM1IE_SHIFT                   (13U)
70031 /*! AM1IE - Address Match 1 Interrupt Enable
70032  *  0b0..Disabled
70033  *  0b1..Enabled
70034  */
70035 #define LPI2C_SIER_AM1IE(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_AM1IE_SHIFT)) & LPI2C_SIER_AM1IE_MASK)
70036 
70037 #define LPI2C_SIER_GCIE_MASK                     (0x4000U)
70038 #define LPI2C_SIER_GCIE_SHIFT                    (14U)
70039 /*! GCIE - General Call Interrupt Enable
70040  *  0b0..Disabled
70041  *  0b1..Enabled
70042  */
70043 #define LPI2C_SIER_GCIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_GCIE_SHIFT)) & LPI2C_SIER_GCIE_MASK)
70044 
70045 #define LPI2C_SIER_SARIE_MASK                    (0x8000U)
70046 #define LPI2C_SIER_SARIE_SHIFT                   (15U)
70047 /*! SARIE - SMBus Alert Response Interrupt Enable
70048  *  0b0..Disabled
70049  *  0b1..Enabled
70050  */
70051 #define LPI2C_SIER_SARIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SIER_SARIE_SHIFT)) & LPI2C_SIER_SARIE_MASK)
70052 /*! @} */
70053 
70054 /*! @name SDER - Slave DMA Enable */
70055 /*! @{ */
70056 
70057 #define LPI2C_SDER_TDDE_MASK                     (0x1U)
70058 #define LPI2C_SDER_TDDE_SHIFT                    (0U)
70059 /*! TDDE - Transmit Data DMA Enable
70060  *  0b0..DMA request is disabled
70061  *  0b1..DMA request is enabled
70062  */
70063 #define LPI2C_SDER_TDDE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SDER_TDDE_SHIFT)) & LPI2C_SDER_TDDE_MASK)
70064 
70065 #define LPI2C_SDER_RDDE_MASK                     (0x2U)
70066 #define LPI2C_SDER_RDDE_SHIFT                    (1U)
70067 /*! RDDE - Receive Data DMA Enable
70068  *  0b0..DMA request is disabled
70069  *  0b1..DMA request is enabled
70070  */
70071 #define LPI2C_SDER_RDDE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SDER_RDDE_SHIFT)) & LPI2C_SDER_RDDE_MASK)
70072 
70073 #define LPI2C_SDER_AVDE_MASK                     (0x4U)
70074 #define LPI2C_SDER_AVDE_SHIFT                    (2U)
70075 /*! AVDE - Address Valid DMA Enable
70076  *  0b0..DMA request is disabled
70077  *  0b1..DMA request is enabled
70078  */
70079 #define LPI2C_SDER_AVDE(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SDER_AVDE_SHIFT)) & LPI2C_SDER_AVDE_MASK)
70080 /*! @} */
70081 
70082 /*! @name SCFGR1 - Slave Configuration 1 */
70083 /*! @{ */
70084 
70085 #define LPI2C_SCFGR1_ADRSTALL_MASK               (0x1U)
70086 #define LPI2C_SCFGR1_ADRSTALL_SHIFT              (0U)
70087 /*! ADRSTALL - Address SCL Stall
70088  *  0b0..Clock stretching is disabled
70089  *  0b1..Clock stretching is enabled
70090  */
70091 #define LPI2C_SCFGR1_ADRSTALL(x)                 (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_ADRSTALL_SHIFT)) & LPI2C_SCFGR1_ADRSTALL_MASK)
70092 
70093 #define LPI2C_SCFGR1_RXSTALL_MASK                (0x2U)
70094 #define LPI2C_SCFGR1_RXSTALL_SHIFT               (1U)
70095 /*! RXSTALL - RX SCL Stall
70096  *  0b0..Clock stretching is disabled
70097  *  0b1..Clock stretching is enabled
70098  */
70099 #define LPI2C_SCFGR1_RXSTALL(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_RXSTALL_SHIFT)) & LPI2C_SCFGR1_RXSTALL_MASK)
70100 
70101 #define LPI2C_SCFGR1_TXDSTALL_MASK               (0x4U)
70102 #define LPI2C_SCFGR1_TXDSTALL_SHIFT              (2U)
70103 /*! TXDSTALL - TX Data SCL Stall
70104  *  0b0..Clock stretching is disabled
70105  *  0b1..Clock stretching is enabled
70106  */
70107 #define LPI2C_SCFGR1_TXDSTALL(x)                 (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_TXDSTALL_SHIFT)) & LPI2C_SCFGR1_TXDSTALL_MASK)
70108 
70109 #define LPI2C_SCFGR1_ACKSTALL_MASK               (0x8U)
70110 #define LPI2C_SCFGR1_ACKSTALL_SHIFT              (3U)
70111 /*! ACKSTALL - ACK SCL Stall
70112  *  0b0..Clock stretching is disabled
70113  *  0b1..Clock stretching is enabled
70114  */
70115 #define LPI2C_SCFGR1_ACKSTALL(x)                 (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_ACKSTALL_SHIFT)) & LPI2C_SCFGR1_ACKSTALL_MASK)
70116 
70117 #define LPI2C_SCFGR1_GCEN_MASK                   (0x100U)
70118 #define LPI2C_SCFGR1_GCEN_SHIFT                  (8U)
70119 /*! GCEN - General Call Enable
70120  *  0b0..General Call address is disabled
70121  *  0b1..General Call address is enabled
70122  */
70123 #define LPI2C_SCFGR1_GCEN(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_GCEN_SHIFT)) & LPI2C_SCFGR1_GCEN_MASK)
70124 
70125 #define LPI2C_SCFGR1_SAEN_MASK                   (0x200U)
70126 #define LPI2C_SCFGR1_SAEN_SHIFT                  (9U)
70127 /*! SAEN - SMBus Alert Enable
70128  *  0b0..Disables match on SMBus Alert
70129  *  0b1..Enables match on SMBus Alert
70130  */
70131 #define LPI2C_SCFGR1_SAEN(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_SAEN_SHIFT)) & LPI2C_SCFGR1_SAEN_MASK)
70132 
70133 #define LPI2C_SCFGR1_TXCFG_MASK                  (0x400U)
70134 #define LPI2C_SCFGR1_TXCFG_SHIFT                 (10U)
70135 /*! TXCFG - Transmit Flag Configuration
70136  *  0b0..Transmit Data Flag only asserts during a slave-transmit transfer when the Transmit Data register is empty
70137  *  0b1..Transmit Data Flag asserts whenever the Transmit Data register is empty
70138  */
70139 #define LPI2C_SCFGR1_TXCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_TXCFG_SHIFT)) & LPI2C_SCFGR1_TXCFG_MASK)
70140 
70141 #define LPI2C_SCFGR1_RXCFG_MASK                  (0x800U)
70142 #define LPI2C_SCFGR1_RXCFG_SHIFT                 (11U)
70143 /*! RXCFG - Receive Data Configuration
70144  *  0b0..Reading the Receive Data register returns received data and clears the Receive Data flag (MSR[RDF]).
70145  *  0b1..Reading the Receive Data register when the Address Valid flag (SSR[AVF])is set, returns the Address
70146  *       Status register and clear the Address Valid flag. Reading the Receive Data register when the Address Valid flag
70147  *       is clear, returns received data and clears the Receive Data flag (MSR[RDF]).
70148  */
70149 #define LPI2C_SCFGR1_RXCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_RXCFG_SHIFT)) & LPI2C_SCFGR1_RXCFG_MASK)
70150 
70151 #define LPI2C_SCFGR1_IGNACK_MASK                 (0x1000U)
70152 #define LPI2C_SCFGR1_IGNACK_SHIFT                (12U)
70153 /*! IGNACK - Ignore NACK
70154  *  0b0..Slave ends transfer when NACK is detected
70155  *  0b1..Slave does not end transfer when NACK detected
70156  */
70157 #define LPI2C_SCFGR1_IGNACK(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_IGNACK_SHIFT)) & LPI2C_SCFGR1_IGNACK_MASK)
70158 
70159 #define LPI2C_SCFGR1_HSMEN_MASK                  (0x2000U)
70160 #define LPI2C_SCFGR1_HSMEN_SHIFT                 (13U)
70161 /*! HSMEN - High Speed Mode Enable
70162  *  0b0..Disables detection of HS-mode master code
70163  *  0b1..Enables detection of HS-mode master code
70164  */
70165 #define LPI2C_SCFGR1_HSMEN(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_HSMEN_SHIFT)) & LPI2C_SCFGR1_HSMEN_MASK)
70166 
70167 #define LPI2C_SCFGR1_ADDRCFG_MASK                (0x70000U)
70168 #define LPI2C_SCFGR1_ADDRCFG_SHIFT               (16U)
70169 /*! ADDRCFG - Address Configuration
70170  *  0b000..Address match 0 (7-bit)
70171  *  0b001..Address match 0 (10-bit)
70172  *  0b010..Address match 0 (7-bit) or Address match 1 (7-bit)
70173  *  0b011..Address match 0 (10-bit) or Address match 1 (10-bit)
70174  *  0b100..Address match 0 (7-bit) or Address match 1 (10-bit)
70175  *  0b101..Address match 0 (10-bit) or Address match 1 (7-bit)
70176  *  0b110..From Address match 0 (7-bit) to Address match 1 (7-bit)
70177  *  0b111..From Address match 0 (10-bit) to Address match 1 (10-bit)
70178  */
70179 #define LPI2C_SCFGR1_ADDRCFG(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR1_ADDRCFG_SHIFT)) & LPI2C_SCFGR1_ADDRCFG_MASK)
70180 /*! @} */
70181 
70182 /*! @name SCFGR2 - Slave Configuration 2 */
70183 /*! @{ */
70184 
70185 #define LPI2C_SCFGR2_CLKHOLD_MASK                (0xFU)
70186 #define LPI2C_SCFGR2_CLKHOLD_SHIFT               (0U)
70187 /*! CLKHOLD - Clock Hold Time
70188  */
70189 #define LPI2C_SCFGR2_CLKHOLD(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_CLKHOLD_SHIFT)) & LPI2C_SCFGR2_CLKHOLD_MASK)
70190 
70191 #define LPI2C_SCFGR2_DATAVD_MASK                 (0x3F00U)
70192 #define LPI2C_SCFGR2_DATAVD_SHIFT                (8U)
70193 /*! DATAVD - Data Valid Delay
70194  */
70195 #define LPI2C_SCFGR2_DATAVD(x)                   (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_DATAVD_SHIFT)) & LPI2C_SCFGR2_DATAVD_MASK)
70196 
70197 #define LPI2C_SCFGR2_FILTSCL_MASK                (0xF0000U)
70198 #define LPI2C_SCFGR2_FILTSCL_SHIFT               (16U)
70199 /*! FILTSCL - Glitch Filter SCL
70200  */
70201 #define LPI2C_SCFGR2_FILTSCL(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_FILTSCL_SHIFT)) & LPI2C_SCFGR2_FILTSCL_MASK)
70202 
70203 #define LPI2C_SCFGR2_FILTSDA_MASK                (0xF000000U)
70204 #define LPI2C_SCFGR2_FILTSDA_SHIFT               (24U)
70205 /*! FILTSDA - Glitch Filter SDA
70206  */
70207 #define LPI2C_SCFGR2_FILTSDA(x)                  (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_FILTSDA_SHIFT)) & LPI2C_SCFGR2_FILTSDA_MASK)
70208 /*! @} */
70209 
70210 /*! @name SAMR - Slave Address Match */
70211 /*! @{ */
70212 
70213 #define LPI2C_SAMR_ADDR0_MASK                    (0x7FEU)
70214 #define LPI2C_SAMR_ADDR0_SHIFT                   (1U)
70215 /*! ADDR0 - Address 0 Value
70216  */
70217 #define LPI2C_SAMR_ADDR0(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SAMR_ADDR0_SHIFT)) & LPI2C_SAMR_ADDR0_MASK)
70218 
70219 #define LPI2C_SAMR_ADDR1_MASK                    (0x7FE0000U)
70220 #define LPI2C_SAMR_ADDR1_SHIFT                   (17U)
70221 /*! ADDR1 - Address 1 Value
70222  */
70223 #define LPI2C_SAMR_ADDR1(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SAMR_ADDR1_SHIFT)) & LPI2C_SAMR_ADDR1_MASK)
70224 /*! @} */
70225 
70226 /*! @name SASR - Slave Address Status */
70227 /*! @{ */
70228 
70229 #define LPI2C_SASR_RADDR_MASK                    (0x7FFU)
70230 #define LPI2C_SASR_RADDR_SHIFT                   (0U)
70231 /*! RADDR - Received Address
70232  */
70233 #define LPI2C_SASR_RADDR(x)                      (((uint32_t)(((uint32_t)(x)) << LPI2C_SASR_RADDR_SHIFT)) & LPI2C_SASR_RADDR_MASK)
70234 
70235 #define LPI2C_SASR_ANV_MASK                      (0x4000U)
70236 #define LPI2C_SASR_ANV_SHIFT                     (14U)
70237 /*! ANV - Address Not Valid
70238  *  0b0..Received Address (RADDR) is valid
70239  *  0b1..Received Address (RADDR) is not valid
70240  */
70241 #define LPI2C_SASR_ANV(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_SASR_ANV_SHIFT)) & LPI2C_SASR_ANV_MASK)
70242 /*! @} */
70243 
70244 /*! @name STAR - Slave Transmit ACK */
70245 /*! @{ */
70246 
70247 #define LPI2C_STAR_TXNACK_MASK                   (0x1U)
70248 #define LPI2C_STAR_TXNACK_SHIFT                  (0U)
70249 /*! TXNACK - Transmit NACK
70250  *  0b0..Write a Transmit ACK for each received word
70251  *  0b1..Write a Transmit NACK for each received word
70252  */
70253 #define LPI2C_STAR_TXNACK(x)                     (((uint32_t)(((uint32_t)(x)) << LPI2C_STAR_TXNACK_SHIFT)) & LPI2C_STAR_TXNACK_MASK)
70254 /*! @} */
70255 
70256 /*! @name STDR - Slave Transmit Data */
70257 /*! @{ */
70258 
70259 #define LPI2C_STDR_DATA_MASK                     (0xFFU)
70260 #define LPI2C_STDR_DATA_SHIFT                    (0U)
70261 /*! DATA - Transmit Data
70262  */
70263 #define LPI2C_STDR_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_STDR_DATA_SHIFT)) & LPI2C_STDR_DATA_MASK)
70264 /*! @} */
70265 
70266 /*! @name SRDR - Slave Receive Data */
70267 /*! @{ */
70268 
70269 #define LPI2C_SRDR_DATA_MASK                     (0xFFU)
70270 #define LPI2C_SRDR_DATA_SHIFT                    (0U)
70271 /*! DATA - Receive Data
70272  */
70273 #define LPI2C_SRDR_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << LPI2C_SRDR_DATA_SHIFT)) & LPI2C_SRDR_DATA_MASK)
70274 
70275 #define LPI2C_SRDR_RXEMPTY_MASK                  (0x4000U)
70276 #define LPI2C_SRDR_RXEMPTY_SHIFT                 (14U)
70277 /*! RXEMPTY - RX Empty
70278  *  0b0..The Receive Data Register is not empty
70279  *  0b1..The Receive Data Register is empty
70280  */
70281 #define LPI2C_SRDR_RXEMPTY(x)                    (((uint32_t)(((uint32_t)(x)) << LPI2C_SRDR_RXEMPTY_SHIFT)) & LPI2C_SRDR_RXEMPTY_MASK)
70282 
70283 #define LPI2C_SRDR_SOF_MASK                      (0x8000U)
70284 #define LPI2C_SRDR_SOF_SHIFT                     (15U)
70285 /*! SOF - Start Of Frame
70286  *  0b0..Indicates this is not the first data word since a (repeated) START or STOP condition
70287  *  0b1..Indicates this is the first data word since a (repeated) START or STOP condition
70288  */
70289 #define LPI2C_SRDR_SOF(x)                        (((uint32_t)(((uint32_t)(x)) << LPI2C_SRDR_SOF_SHIFT)) & LPI2C_SRDR_SOF_MASK)
70290 /*! @} */
70291 
70292 
70293 /*!
70294  * @}
70295  */ /* end of group LPI2C_Register_Masks */
70296 
70297 
70298 /* LPI2C - Peripheral instance base addresses */
70299 /** Peripheral LPI2C1 base address */
70300 #define LPI2C1_BASE                              (0x40104000u)
70301 /** Peripheral LPI2C1 base pointer */
70302 #define LPI2C1                                   ((LPI2C_Type *)LPI2C1_BASE)
70303 /** Peripheral LPI2C2 base address */
70304 #define LPI2C2_BASE                              (0x40108000u)
70305 /** Peripheral LPI2C2 base pointer */
70306 #define LPI2C2                                   ((LPI2C_Type *)LPI2C2_BASE)
70307 /** Peripheral LPI2C3 base address */
70308 #define LPI2C3_BASE                              (0x4010C000u)
70309 /** Peripheral LPI2C3 base pointer */
70310 #define LPI2C3                                   ((LPI2C_Type *)LPI2C3_BASE)
70311 /** Peripheral LPI2C4 base address */
70312 #define LPI2C4_BASE                              (0x40110000u)
70313 /** Peripheral LPI2C4 base pointer */
70314 #define LPI2C4                                   ((LPI2C_Type *)LPI2C4_BASE)
70315 /** Peripheral LPI2C5 base address */
70316 #define LPI2C5_BASE                              (0x40C34000u)
70317 /** Peripheral LPI2C5 base pointer */
70318 #define LPI2C5                                   ((LPI2C_Type *)LPI2C5_BASE)
70319 /** Peripheral LPI2C6 base address */
70320 #define LPI2C6_BASE                              (0x40C38000u)
70321 /** Peripheral LPI2C6 base pointer */
70322 #define LPI2C6                                   ((LPI2C_Type *)LPI2C6_BASE)
70323 /** Array initializer of LPI2C peripheral base addresses */
70324 #define LPI2C_BASE_ADDRS                         { 0u, LPI2C1_BASE, LPI2C2_BASE, LPI2C3_BASE, LPI2C4_BASE, LPI2C5_BASE, LPI2C6_BASE }
70325 /** Array initializer of LPI2C peripheral base pointers */
70326 #define LPI2C_BASE_PTRS                          { (LPI2C_Type *)0u, LPI2C1, LPI2C2, LPI2C3, LPI2C4, LPI2C5, LPI2C6 }
70327 /** Interrupt vectors for the LPI2C peripheral type */
70328 #define LPI2C_IRQS                               { NotAvail_IRQn, LPI2C1_IRQn, LPI2C2_IRQn, LPI2C3_IRQn, LPI2C4_IRQn, LPI2C5_IRQn, LPI2C6_IRQn }
70329 
70330 /*!
70331  * @}
70332  */ /* end of group LPI2C_Peripheral_Access_Layer */
70333 
70334 
70335 /* ----------------------------------------------------------------------------
70336    -- LPSPI Peripheral Access Layer
70337    ---------------------------------------------------------------------------- */
70338 
70339 /*!
70340  * @addtogroup LPSPI_Peripheral_Access_Layer LPSPI Peripheral Access Layer
70341  * @{
70342  */
70343 
70344 /** LPSPI - Register Layout Typedef */
70345 typedef struct {
70346   __I  uint32_t VERID;                             /**< Version ID, offset: 0x0 */
70347   __I  uint32_t PARAM;                             /**< Parameter, offset: 0x4 */
70348        uint8_t RESERVED_0[8];
70349   __IO uint32_t CR;                                /**< Control, offset: 0x10 */
70350   __IO uint32_t SR;                                /**< Status, offset: 0x14 */
70351   __IO uint32_t IER;                               /**< Interrupt Enable, offset: 0x18 */
70352   __IO uint32_t DER;                               /**< DMA Enable, offset: 0x1C */
70353   __IO uint32_t CFGR0;                             /**< Configuration 0, offset: 0x20 */
70354   __IO uint32_t CFGR1;                             /**< Configuration 1, offset: 0x24 */
70355        uint8_t RESERVED_1[8];
70356   __IO uint32_t DMR0;                              /**< Data Match 0, offset: 0x30 */
70357   __IO uint32_t DMR1;                              /**< Data Match 1, offset: 0x34 */
70358        uint8_t RESERVED_2[8];
70359   __IO uint32_t CCR;                               /**< Clock Configuration, offset: 0x40 */
70360        uint8_t RESERVED_3[20];
70361   __IO uint32_t FCR;                               /**< FIFO Control, offset: 0x58 */
70362   __I  uint32_t FSR;                               /**< FIFO Status, offset: 0x5C */
70363   __IO uint32_t TCR;                               /**< Transmit Command, offset: 0x60 */
70364   __O  uint32_t TDR;                               /**< Transmit Data, offset: 0x64 */
70365        uint8_t RESERVED_4[8];
70366   __I  uint32_t RSR;                               /**< Receive Status, offset: 0x70 */
70367   __I  uint32_t RDR;                               /**< Receive Data, offset: 0x74 */
70368 } LPSPI_Type;
70369 
70370 /* ----------------------------------------------------------------------------
70371    -- LPSPI Register Masks
70372    ---------------------------------------------------------------------------- */
70373 
70374 /*!
70375  * @addtogroup LPSPI_Register_Masks LPSPI Register Masks
70376  * @{
70377  */
70378 
70379 /*! @name VERID - Version ID */
70380 /*! @{ */
70381 
70382 #define LPSPI_VERID_FEATURE_MASK                 (0xFFFFU)
70383 #define LPSPI_VERID_FEATURE_SHIFT                (0U)
70384 /*! FEATURE - Module Identification Number
70385  *  0b0000000000000100..Standard feature set supporting a 32-bit shift register.
70386  */
70387 #define LPSPI_VERID_FEATURE(x)                   (((uint32_t)(((uint32_t)(x)) << LPSPI_VERID_FEATURE_SHIFT)) & LPSPI_VERID_FEATURE_MASK)
70388 
70389 #define LPSPI_VERID_MINOR_MASK                   (0xFF0000U)
70390 #define LPSPI_VERID_MINOR_SHIFT                  (16U)
70391 /*! MINOR - Minor Version Number
70392  */
70393 #define LPSPI_VERID_MINOR(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_VERID_MINOR_SHIFT)) & LPSPI_VERID_MINOR_MASK)
70394 
70395 #define LPSPI_VERID_MAJOR_MASK                   (0xFF000000U)
70396 #define LPSPI_VERID_MAJOR_SHIFT                  (24U)
70397 /*! MAJOR - Major Version Number
70398  */
70399 #define LPSPI_VERID_MAJOR(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_VERID_MAJOR_SHIFT)) & LPSPI_VERID_MAJOR_MASK)
70400 /*! @} */
70401 
70402 /*! @name PARAM - Parameter */
70403 /*! @{ */
70404 
70405 #define LPSPI_PARAM_TXFIFO_MASK                  (0xFFU)
70406 #define LPSPI_PARAM_TXFIFO_SHIFT                 (0U)
70407 /*! TXFIFO - Transmit FIFO Size
70408  */
70409 #define LPSPI_PARAM_TXFIFO(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_PARAM_TXFIFO_SHIFT)) & LPSPI_PARAM_TXFIFO_MASK)
70410 
70411 #define LPSPI_PARAM_RXFIFO_MASK                  (0xFF00U)
70412 #define LPSPI_PARAM_RXFIFO_SHIFT                 (8U)
70413 /*! RXFIFO - Receive FIFO Size
70414  */
70415 #define LPSPI_PARAM_RXFIFO(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_PARAM_RXFIFO_SHIFT)) & LPSPI_PARAM_RXFIFO_MASK)
70416 
70417 #define LPSPI_PARAM_PCSNUM_MASK                  (0xFF0000U)
70418 #define LPSPI_PARAM_PCSNUM_SHIFT                 (16U)
70419 /*! PCSNUM - PCS Number
70420  */
70421 #define LPSPI_PARAM_PCSNUM(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_PARAM_PCSNUM_SHIFT)) & LPSPI_PARAM_PCSNUM_MASK)
70422 /*! @} */
70423 
70424 /*! @name CR - Control */
70425 /*! @{ */
70426 
70427 #define LPSPI_CR_MEN_MASK                        (0x1U)
70428 #define LPSPI_CR_MEN_SHIFT                       (0U)
70429 /*! MEN - Module Enable
70430  *  0b0..Module is disabled
70431  *  0b1..Module is enabled
70432  */
70433 #define LPSPI_CR_MEN(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_MEN_SHIFT)) & LPSPI_CR_MEN_MASK)
70434 
70435 #define LPSPI_CR_RST_MASK                        (0x2U)
70436 #define LPSPI_CR_RST_SHIFT                       (1U)
70437 /*! RST - Software Reset
70438  *  0b0..Module is not reset
70439  *  0b1..Module is reset
70440  */
70441 #define LPSPI_CR_RST(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_RST_SHIFT)) & LPSPI_CR_RST_MASK)
70442 
70443 #define LPSPI_CR_DOZEN_MASK                      (0x4U)
70444 #define LPSPI_CR_DOZEN_SHIFT                     (2U)
70445 /*! DOZEN - Doze Mode Enable
70446  *  0b0..LPSPI module is enabled in Doze mode
70447  *  0b1..LPSPI module is disabled in Doze mode
70448  */
70449 #define LPSPI_CR_DOZEN(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_DOZEN_SHIFT)) & LPSPI_CR_DOZEN_MASK)
70450 
70451 #define LPSPI_CR_DBGEN_MASK                      (0x8U)
70452 #define LPSPI_CR_DBGEN_SHIFT                     (3U)
70453 /*! DBGEN - Debug Enable
70454  *  0b0..LPSPI module is disabled in debug mode
70455  *  0b1..LPSPI module is enabled in debug mode
70456  */
70457 #define LPSPI_CR_DBGEN(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_DBGEN_SHIFT)) & LPSPI_CR_DBGEN_MASK)
70458 
70459 #define LPSPI_CR_RTF_MASK                        (0x100U)
70460 #define LPSPI_CR_RTF_SHIFT                       (8U)
70461 /*! RTF - Reset Transmit FIFO
70462  *  0b0..No effect
70463  *  0b1..Reset the Transmit FIFO. The register bit always reads zero.
70464  */
70465 #define LPSPI_CR_RTF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_RTF_SHIFT)) & LPSPI_CR_RTF_MASK)
70466 
70467 #define LPSPI_CR_RRF_MASK                        (0x200U)
70468 #define LPSPI_CR_RRF_SHIFT                       (9U)
70469 /*! RRF - Reset Receive FIFO
70470  *  0b0..No effect
70471  *  0b1..Reset the Receive FIFO. The register bit always reads zero.
70472  */
70473 #define LPSPI_CR_RRF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_CR_RRF_SHIFT)) & LPSPI_CR_RRF_MASK)
70474 /*! @} */
70475 
70476 /*! @name SR - Status */
70477 /*! @{ */
70478 
70479 #define LPSPI_SR_TDF_MASK                        (0x1U)
70480 #define LPSPI_SR_TDF_SHIFT                       (0U)
70481 /*! TDF - Transmit Data Flag
70482  *  0b0..Transmit data not requested
70483  *  0b1..Transmit data is requested
70484  */
70485 #define LPSPI_SR_TDF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_TDF_SHIFT)) & LPSPI_SR_TDF_MASK)
70486 
70487 #define LPSPI_SR_RDF_MASK                        (0x2U)
70488 #define LPSPI_SR_RDF_SHIFT                       (1U)
70489 /*! RDF - Receive Data Flag
70490  *  0b0..Receive Data is not ready
70491  *  0b1..Receive data is ready
70492  */
70493 #define LPSPI_SR_RDF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_RDF_SHIFT)) & LPSPI_SR_RDF_MASK)
70494 
70495 #define LPSPI_SR_WCF_MASK                        (0x100U)
70496 #define LPSPI_SR_WCF_SHIFT                       (8U)
70497 /*! WCF - Word Complete Flag
70498  *  0b0..Transfer of a received word has not yet completed
70499  *  0b1..Transfer of a received word has completed
70500  */
70501 #define LPSPI_SR_WCF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_WCF_SHIFT)) & LPSPI_SR_WCF_MASK)
70502 
70503 #define LPSPI_SR_FCF_MASK                        (0x200U)
70504 #define LPSPI_SR_FCF_SHIFT                       (9U)
70505 /*! FCF - Frame Complete Flag
70506  *  0b0..Frame transfer has not completed
70507  *  0b1..Frame transfer has completed
70508  */
70509 #define LPSPI_SR_FCF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_FCF_SHIFT)) & LPSPI_SR_FCF_MASK)
70510 
70511 #define LPSPI_SR_TCF_MASK                        (0x400U)
70512 #define LPSPI_SR_TCF_SHIFT                       (10U)
70513 /*! TCF - Transfer Complete Flag
70514  *  0b0..All transfers have not completed
70515  *  0b1..All transfers have completed
70516  */
70517 #define LPSPI_SR_TCF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_TCF_SHIFT)) & LPSPI_SR_TCF_MASK)
70518 
70519 #define LPSPI_SR_TEF_MASK                        (0x800U)
70520 #define LPSPI_SR_TEF_SHIFT                       (11U)
70521 /*! TEF - Transmit Error Flag
70522  *  0b0..Transmit FIFO underrun has not occurred
70523  *  0b1..Transmit FIFO underrun has occurred
70524  */
70525 #define LPSPI_SR_TEF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_TEF_SHIFT)) & LPSPI_SR_TEF_MASK)
70526 
70527 #define LPSPI_SR_REF_MASK                        (0x1000U)
70528 #define LPSPI_SR_REF_SHIFT                       (12U)
70529 /*! REF - Receive Error Flag
70530  *  0b0..Receive FIFO has not overflowed
70531  *  0b1..Receive FIFO has overflowed
70532  */
70533 #define LPSPI_SR_REF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_REF_SHIFT)) & LPSPI_SR_REF_MASK)
70534 
70535 #define LPSPI_SR_DMF_MASK                        (0x2000U)
70536 #define LPSPI_SR_DMF_SHIFT                       (13U)
70537 /*! DMF - Data Match Flag
70538  *  0b0..Have not received matching data
70539  *  0b1..Have received matching data
70540  */
70541 #define LPSPI_SR_DMF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_DMF_SHIFT)) & LPSPI_SR_DMF_MASK)
70542 
70543 #define LPSPI_SR_MBF_MASK                        (0x1000000U)
70544 #define LPSPI_SR_MBF_SHIFT                       (24U)
70545 /*! MBF - Module Busy Flag
70546  *  0b0..LPSPI is idle
70547  *  0b1..LPSPI is busy
70548  */
70549 #define LPSPI_SR_MBF(x)                          (((uint32_t)(((uint32_t)(x)) << LPSPI_SR_MBF_SHIFT)) & LPSPI_SR_MBF_MASK)
70550 /*! @} */
70551 
70552 /*! @name IER - Interrupt Enable */
70553 /*! @{ */
70554 
70555 #define LPSPI_IER_TDIE_MASK                      (0x1U)
70556 #define LPSPI_IER_TDIE_SHIFT                     (0U)
70557 /*! TDIE - Transmit Data Interrupt Enable
70558  *  0b0..Disabled
70559  *  0b1..Enabled
70560  */
70561 #define LPSPI_IER_TDIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_TDIE_SHIFT)) & LPSPI_IER_TDIE_MASK)
70562 
70563 #define LPSPI_IER_RDIE_MASK                      (0x2U)
70564 #define LPSPI_IER_RDIE_SHIFT                     (1U)
70565 /*! RDIE - Receive Data Interrupt Enable
70566  *  0b0..Disabled
70567  *  0b1..Enabled
70568  */
70569 #define LPSPI_IER_RDIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_RDIE_SHIFT)) & LPSPI_IER_RDIE_MASK)
70570 
70571 #define LPSPI_IER_WCIE_MASK                      (0x100U)
70572 #define LPSPI_IER_WCIE_SHIFT                     (8U)
70573 /*! WCIE - Word Complete Interrupt Enable
70574  *  0b0..Disabled
70575  *  0b1..Enabled
70576  */
70577 #define LPSPI_IER_WCIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_WCIE_SHIFT)) & LPSPI_IER_WCIE_MASK)
70578 
70579 #define LPSPI_IER_FCIE_MASK                      (0x200U)
70580 #define LPSPI_IER_FCIE_SHIFT                     (9U)
70581 /*! FCIE - Frame Complete Interrupt Enable
70582  *  0b0..Disabled
70583  *  0b1..Enabled
70584  */
70585 #define LPSPI_IER_FCIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_FCIE_SHIFT)) & LPSPI_IER_FCIE_MASK)
70586 
70587 #define LPSPI_IER_TCIE_MASK                      (0x400U)
70588 #define LPSPI_IER_TCIE_SHIFT                     (10U)
70589 /*! TCIE - Transfer Complete Interrupt Enable
70590  *  0b0..Disabled
70591  *  0b1..Enabled
70592  */
70593 #define LPSPI_IER_TCIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_TCIE_SHIFT)) & LPSPI_IER_TCIE_MASK)
70594 
70595 #define LPSPI_IER_TEIE_MASK                      (0x800U)
70596 #define LPSPI_IER_TEIE_SHIFT                     (11U)
70597 /*! TEIE - Transmit Error Interrupt Enable
70598  *  0b0..Disabled
70599  *  0b1..Enabled
70600  */
70601 #define LPSPI_IER_TEIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_TEIE_SHIFT)) & LPSPI_IER_TEIE_MASK)
70602 
70603 #define LPSPI_IER_REIE_MASK                      (0x1000U)
70604 #define LPSPI_IER_REIE_SHIFT                     (12U)
70605 /*! REIE - Receive Error Interrupt Enable
70606  *  0b0..Disabled
70607  *  0b1..Enabled
70608  */
70609 #define LPSPI_IER_REIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_REIE_SHIFT)) & LPSPI_IER_REIE_MASK)
70610 
70611 #define LPSPI_IER_DMIE_MASK                      (0x2000U)
70612 #define LPSPI_IER_DMIE_SHIFT                     (13U)
70613 /*! DMIE - Data Match Interrupt Enable
70614  *  0b0..Disabled
70615  *  0b1..Enabled
70616  */
70617 #define LPSPI_IER_DMIE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_IER_DMIE_SHIFT)) & LPSPI_IER_DMIE_MASK)
70618 /*! @} */
70619 
70620 /*! @name DER - DMA Enable */
70621 /*! @{ */
70622 
70623 #define LPSPI_DER_TDDE_MASK                      (0x1U)
70624 #define LPSPI_DER_TDDE_SHIFT                     (0U)
70625 /*! TDDE - Transmit Data DMA Enable
70626  *  0b0..DMA request is disabled
70627  *  0b1..DMA request is enabled
70628  */
70629 #define LPSPI_DER_TDDE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_DER_TDDE_SHIFT)) & LPSPI_DER_TDDE_MASK)
70630 
70631 #define LPSPI_DER_RDDE_MASK                      (0x2U)
70632 #define LPSPI_DER_RDDE_SHIFT                     (1U)
70633 /*! RDDE - Receive Data DMA Enable
70634  *  0b0..DMA request is disabled
70635  *  0b1..DMA request is enabled
70636  */
70637 #define LPSPI_DER_RDDE(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_DER_RDDE_SHIFT)) & LPSPI_DER_RDDE_MASK)
70638 /*! @} */
70639 
70640 /*! @name CFGR0 - Configuration 0 */
70641 /*! @{ */
70642 
70643 #define LPSPI_CFGR0_CIRFIFO_MASK                 (0x100U)
70644 #define LPSPI_CFGR0_CIRFIFO_SHIFT                (8U)
70645 /*! CIRFIFO - Circular FIFO Enable
70646  *  0b0..Circular FIFO is disabled
70647  *  0b1..Circular FIFO is enabled
70648  */
70649 #define LPSPI_CFGR0_CIRFIFO(x)                   (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR0_CIRFIFO_SHIFT)) & LPSPI_CFGR0_CIRFIFO_MASK)
70650 
70651 #define LPSPI_CFGR0_RDMO_MASK                    (0x200U)
70652 #define LPSPI_CFGR0_RDMO_SHIFT                   (9U)
70653 /*! RDMO - Receive Data Match Only
70654  *  0b0..Received data is stored in the receive FIFO as in normal operations
70655  *  0b1..Received data is discarded unless the SR[DMF] = 1
70656  */
70657 #define LPSPI_CFGR0_RDMO(x)                      (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR0_RDMO_SHIFT)) & LPSPI_CFGR0_RDMO_MASK)
70658 /*! @} */
70659 
70660 /*! @name CFGR1 - Configuration 1 */
70661 /*! @{ */
70662 
70663 #define LPSPI_CFGR1_MASTER_MASK                  (0x1U)
70664 #define LPSPI_CFGR1_MASTER_SHIFT                 (0U)
70665 /*! MASTER - Master Mode
70666  *  0b0..Slave mode
70667  *  0b1..Master mode
70668  */
70669 #define LPSPI_CFGR1_MASTER(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_MASTER_SHIFT)) & LPSPI_CFGR1_MASTER_MASK)
70670 
70671 #define LPSPI_CFGR1_SAMPLE_MASK                  (0x2U)
70672 #define LPSPI_CFGR1_SAMPLE_SHIFT                 (1U)
70673 /*! SAMPLE - Sample Point
70674  *  0b0..Input data is sampled on SCK edge
70675  *  0b1..Input data is sampled on delayed SCK edge
70676  */
70677 #define LPSPI_CFGR1_SAMPLE(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_SAMPLE_SHIFT)) & LPSPI_CFGR1_SAMPLE_MASK)
70678 
70679 #define LPSPI_CFGR1_AUTOPCS_MASK                 (0x4U)
70680 #define LPSPI_CFGR1_AUTOPCS_SHIFT                (2U)
70681 /*! AUTOPCS - Automatic PCS
70682  *  0b0..Automatic PCS generation is disabled
70683  *  0b1..Automatic PCS generation is enabled
70684  */
70685 #define LPSPI_CFGR1_AUTOPCS(x)                   (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_AUTOPCS_SHIFT)) & LPSPI_CFGR1_AUTOPCS_MASK)
70686 
70687 #define LPSPI_CFGR1_NOSTALL_MASK                 (0x8U)
70688 #define LPSPI_CFGR1_NOSTALL_SHIFT                (3U)
70689 /*! NOSTALL - No Stall
70690  *  0b0..Transfers stall when the transmit FIFO is empty
70691  *  0b1..Transfers do not stall, allowing transmit FIFO underruns to occur
70692  */
70693 #define LPSPI_CFGR1_NOSTALL(x)                   (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_NOSTALL_SHIFT)) & LPSPI_CFGR1_NOSTALL_MASK)
70694 
70695 #define LPSPI_CFGR1_PCSPOL_MASK                  (0xF00U)
70696 #define LPSPI_CFGR1_PCSPOL_SHIFT                 (8U)
70697 /*! PCSPOL - Peripheral Chip Select Polarity
70698  */
70699 #define LPSPI_CFGR1_PCSPOL(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_PCSPOL_SHIFT)) & LPSPI_CFGR1_PCSPOL_MASK)
70700 
70701 #define LPSPI_CFGR1_MATCFG_MASK                  (0x70000U)
70702 #define LPSPI_CFGR1_MATCFG_SHIFT                 (16U)
70703 /*! MATCFG - Match Configuration
70704  *  0b000..Match is disabled
70705  *  0b001..Reserved
70706  *  0b010..Match is enabled is 1st data word is MATCH0 or MATCH1
70707  *  0b011..Match is enabled on any data word equal MATCH0 or MATCH1
70708  *  0b100..Match is enabled on data match sequence
70709  *  0b101..Match is enabled on data match sequence
70710  *  0b110..Match is enabled
70711  *  0b111..Match is enabled
70712  */
70713 #define LPSPI_CFGR1_MATCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_MATCFG_SHIFT)) & LPSPI_CFGR1_MATCFG_MASK)
70714 
70715 #define LPSPI_CFGR1_PINCFG_MASK                  (0x3000000U)
70716 #define LPSPI_CFGR1_PINCFG_SHIFT                 (24U)
70717 /*! PINCFG - Pin Configuration
70718  *  0b00..SIN is used for input data and SOUT is used for output data
70719  *  0b01..SIN is used for both input and output data, only half-duplex serial transfers are supported
70720  *  0b10..SOUT is used for both input and output data, only half-duplex serial transfers are supported
70721  *  0b11..SOUT is used for input data and SIN is used for output data
70722  */
70723 #define LPSPI_CFGR1_PINCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_PINCFG_SHIFT)) & LPSPI_CFGR1_PINCFG_MASK)
70724 
70725 #define LPSPI_CFGR1_OUTCFG_MASK                  (0x4000000U)
70726 #define LPSPI_CFGR1_OUTCFG_SHIFT                 (26U)
70727 /*! OUTCFG - Output Configuration
70728  *  0b0..Output data retains last value when chip select is negated
70729  *  0b1..Output data is tristated when chip select is negated
70730  */
70731 #define LPSPI_CFGR1_OUTCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_OUTCFG_SHIFT)) & LPSPI_CFGR1_OUTCFG_MASK)
70732 
70733 #define LPSPI_CFGR1_PCSCFG_MASK                  (0x8000000U)
70734 #define LPSPI_CFGR1_PCSCFG_SHIFT                 (27U)
70735 /*! PCSCFG - Peripheral Chip Select Configuration
70736  *  0b0..PCS[3:2] are configured for chip select function
70737  *  0b1..PCS[3:2] are configured for half-duplex 4-bit transfers (PCS[3:2] = DATA[3:2])
70738  */
70739 #define LPSPI_CFGR1_PCSCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_CFGR1_PCSCFG_SHIFT)) & LPSPI_CFGR1_PCSCFG_MASK)
70740 /*! @} */
70741 
70742 /*! @name DMR0 - Data Match 0 */
70743 /*! @{ */
70744 
70745 #define LPSPI_DMR0_MATCH0_MASK                   (0xFFFFFFFFU)
70746 #define LPSPI_DMR0_MATCH0_SHIFT                  (0U)
70747 /*! MATCH0 - Match 0 Value
70748  */
70749 #define LPSPI_DMR0_MATCH0(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_DMR0_MATCH0_SHIFT)) & LPSPI_DMR0_MATCH0_MASK)
70750 /*! @} */
70751 
70752 /*! @name DMR1 - Data Match 1 */
70753 /*! @{ */
70754 
70755 #define LPSPI_DMR1_MATCH1_MASK                   (0xFFFFFFFFU)
70756 #define LPSPI_DMR1_MATCH1_SHIFT                  (0U)
70757 /*! MATCH1 - Match 1 Value
70758  */
70759 #define LPSPI_DMR1_MATCH1(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_DMR1_MATCH1_SHIFT)) & LPSPI_DMR1_MATCH1_MASK)
70760 /*! @} */
70761 
70762 /*! @name CCR - Clock Configuration */
70763 /*! @{ */
70764 
70765 #define LPSPI_CCR_SCKDIV_MASK                    (0xFFU)
70766 #define LPSPI_CCR_SCKDIV_SHIFT                   (0U)
70767 /*! SCKDIV - SCK Divider
70768  */
70769 #define LPSPI_CCR_SCKDIV(x)                      (((uint32_t)(((uint32_t)(x)) << LPSPI_CCR_SCKDIV_SHIFT)) & LPSPI_CCR_SCKDIV_MASK)
70770 
70771 #define LPSPI_CCR_DBT_MASK                       (0xFF00U)
70772 #define LPSPI_CCR_DBT_SHIFT                      (8U)
70773 /*! DBT - Delay Between Transfers
70774  */
70775 #define LPSPI_CCR_DBT(x)                         (((uint32_t)(((uint32_t)(x)) << LPSPI_CCR_DBT_SHIFT)) & LPSPI_CCR_DBT_MASK)
70776 
70777 #define LPSPI_CCR_PCSSCK_MASK                    (0xFF0000U)
70778 #define LPSPI_CCR_PCSSCK_SHIFT                   (16U)
70779 /*! PCSSCK - PCS-to-SCK Delay
70780  */
70781 #define LPSPI_CCR_PCSSCK(x)                      (((uint32_t)(((uint32_t)(x)) << LPSPI_CCR_PCSSCK_SHIFT)) & LPSPI_CCR_PCSSCK_MASK)
70782 
70783 #define LPSPI_CCR_SCKPCS_MASK                    (0xFF000000U)
70784 #define LPSPI_CCR_SCKPCS_SHIFT                   (24U)
70785 /*! SCKPCS - SCK-to-PCS Delay
70786  */
70787 #define LPSPI_CCR_SCKPCS(x)                      (((uint32_t)(((uint32_t)(x)) << LPSPI_CCR_SCKPCS_SHIFT)) & LPSPI_CCR_SCKPCS_MASK)
70788 /*! @} */
70789 
70790 /*! @name FCR - FIFO Control */
70791 /*! @{ */
70792 
70793 #define LPSPI_FCR_TXWATER_MASK                   (0xFU)
70794 #define LPSPI_FCR_TXWATER_SHIFT                  (0U)
70795 /*! TXWATER - Transmit FIFO Watermark
70796  */
70797 #define LPSPI_FCR_TXWATER(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_FCR_TXWATER_SHIFT)) & LPSPI_FCR_TXWATER_MASK)
70798 
70799 #define LPSPI_FCR_RXWATER_MASK                   (0xF0000U)
70800 #define LPSPI_FCR_RXWATER_SHIFT                  (16U)
70801 /*! RXWATER - Receive FIFO Watermark
70802  */
70803 #define LPSPI_FCR_RXWATER(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_FCR_RXWATER_SHIFT)) & LPSPI_FCR_RXWATER_MASK)
70804 /*! @} */
70805 
70806 /*! @name FSR - FIFO Status */
70807 /*! @{ */
70808 
70809 #define LPSPI_FSR_TXCOUNT_MASK                   (0x1FU)
70810 #define LPSPI_FSR_TXCOUNT_SHIFT                  (0U)
70811 /*! TXCOUNT - Transmit FIFO Count
70812  */
70813 #define LPSPI_FSR_TXCOUNT(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_FSR_TXCOUNT_SHIFT)) & LPSPI_FSR_TXCOUNT_MASK)
70814 
70815 #define LPSPI_FSR_RXCOUNT_MASK                   (0x1F0000U)
70816 #define LPSPI_FSR_RXCOUNT_SHIFT                  (16U)
70817 /*! RXCOUNT - Receive FIFO Count
70818  */
70819 #define LPSPI_FSR_RXCOUNT(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_FSR_RXCOUNT_SHIFT)) & LPSPI_FSR_RXCOUNT_MASK)
70820 /*! @} */
70821 
70822 /*! @name TCR - Transmit Command */
70823 /*! @{ */
70824 
70825 #define LPSPI_TCR_FRAMESZ_MASK                   (0xFFFU)
70826 #define LPSPI_TCR_FRAMESZ_SHIFT                  (0U)
70827 /*! FRAMESZ - Frame Size
70828  */
70829 #define LPSPI_TCR_FRAMESZ(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_FRAMESZ_SHIFT)) & LPSPI_TCR_FRAMESZ_MASK)
70830 
70831 #define LPSPI_TCR_WIDTH_MASK                     (0x30000U)
70832 #define LPSPI_TCR_WIDTH_SHIFT                    (16U)
70833 /*! WIDTH - Transfer Width
70834  *  0b00..1 bit transfer
70835  *  0b01..2 bit transfer
70836  *  0b10..4 bit transfer
70837  *  0b11..Reserved
70838  */
70839 #define LPSPI_TCR_WIDTH(x)                       (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_WIDTH_SHIFT)) & LPSPI_TCR_WIDTH_MASK)
70840 
70841 #define LPSPI_TCR_TXMSK_MASK                     (0x40000U)
70842 #define LPSPI_TCR_TXMSK_SHIFT                    (18U)
70843 /*! TXMSK - Transmit Data Mask
70844  *  0b0..Normal transfer
70845  *  0b1..Mask transmit data
70846  */
70847 #define LPSPI_TCR_TXMSK(x)                       (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_TXMSK_SHIFT)) & LPSPI_TCR_TXMSK_MASK)
70848 
70849 #define LPSPI_TCR_RXMSK_MASK                     (0x80000U)
70850 #define LPSPI_TCR_RXMSK_SHIFT                    (19U)
70851 /*! RXMSK - Receive Data Mask
70852  *  0b0..Normal transfer
70853  *  0b1..Receive data is masked
70854  */
70855 #define LPSPI_TCR_RXMSK(x)                       (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_RXMSK_SHIFT)) & LPSPI_TCR_RXMSK_MASK)
70856 
70857 #define LPSPI_TCR_CONTC_MASK                     (0x100000U)
70858 #define LPSPI_TCR_CONTC_SHIFT                    (20U)
70859 /*! CONTC - Continuing Command
70860  *  0b0..Command word for start of new transfer
70861  *  0b1..Command word for continuing transfer
70862  */
70863 #define LPSPI_TCR_CONTC(x)                       (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_CONTC_SHIFT)) & LPSPI_TCR_CONTC_MASK)
70864 
70865 #define LPSPI_TCR_CONT_MASK                      (0x200000U)
70866 #define LPSPI_TCR_CONT_SHIFT                     (21U)
70867 /*! CONT - Continuous Transfer
70868  *  0b0..Continuous transfer is disabled
70869  *  0b1..Continuous transfer is enabled
70870  */
70871 #define LPSPI_TCR_CONT(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_CONT_SHIFT)) & LPSPI_TCR_CONT_MASK)
70872 
70873 #define LPSPI_TCR_BYSW_MASK                      (0x400000U)
70874 #define LPSPI_TCR_BYSW_SHIFT                     (22U)
70875 /*! BYSW - Byte Swap
70876  *  0b0..Byte swap is disabled
70877  *  0b1..Byte swap is enabled
70878  */
70879 #define LPSPI_TCR_BYSW(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_BYSW_SHIFT)) & LPSPI_TCR_BYSW_MASK)
70880 
70881 #define LPSPI_TCR_LSBF_MASK                      (0x800000U)
70882 #define LPSPI_TCR_LSBF_SHIFT                     (23U)
70883 /*! LSBF - LSB First
70884  *  0b0..Data is transferred MSB first
70885  *  0b1..Data is transferred LSB first
70886  */
70887 #define LPSPI_TCR_LSBF(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_LSBF_SHIFT)) & LPSPI_TCR_LSBF_MASK)
70888 
70889 #define LPSPI_TCR_PCS_MASK                       (0x3000000U)
70890 #define LPSPI_TCR_PCS_SHIFT                      (24U)
70891 /*! PCS - Peripheral Chip Select
70892  *  0b00..Transfer using PCS[0]
70893  *  0b01..Transfer using PCS[1]
70894  *  0b10..Transfer using PCS[2]
70895  *  0b11..Transfer using PCS[3]
70896  */
70897 #define LPSPI_TCR_PCS(x)                         (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_PCS_SHIFT)) & LPSPI_TCR_PCS_MASK)
70898 
70899 #define LPSPI_TCR_PRESCALE_MASK                  (0x38000000U)
70900 #define LPSPI_TCR_PRESCALE_SHIFT                 (27U)
70901 /*! PRESCALE - Prescaler Value
70902  *  0b000..Divide by 1
70903  *  0b001..Divide by 2
70904  *  0b010..Divide by 4
70905  *  0b011..Divide by 8
70906  *  0b100..Divide by 16
70907  *  0b101..Divide by 32
70908  *  0b110..Divide by 64
70909  *  0b111..Divide by 128
70910  */
70911 #define LPSPI_TCR_PRESCALE(x)                    (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_PRESCALE_SHIFT)) & LPSPI_TCR_PRESCALE_MASK)
70912 
70913 #define LPSPI_TCR_CPHA_MASK                      (0x40000000U)
70914 #define LPSPI_TCR_CPHA_SHIFT                     (30U)
70915 /*! CPHA - Clock Phase
70916  *  0b0..Captured
70917  *  0b1..Changed
70918  */
70919 #define LPSPI_TCR_CPHA(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_CPHA_SHIFT)) & LPSPI_TCR_CPHA_MASK)
70920 
70921 #define LPSPI_TCR_CPOL_MASK                      (0x80000000U)
70922 #define LPSPI_TCR_CPOL_SHIFT                     (31U)
70923 /*! CPOL - Clock Polarity
70924  *  0b0..The inactive state value of SCK is low
70925  *  0b1..The inactive state value of SCK is high
70926  */
70927 #define LPSPI_TCR_CPOL(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TCR_CPOL_SHIFT)) & LPSPI_TCR_CPOL_MASK)
70928 /*! @} */
70929 
70930 /*! @name TDR - Transmit Data */
70931 /*! @{ */
70932 
70933 #define LPSPI_TDR_DATA_MASK                      (0xFFFFFFFFU)
70934 #define LPSPI_TDR_DATA_SHIFT                     (0U)
70935 /*! DATA - Transmit Data
70936  */
70937 #define LPSPI_TDR_DATA(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_TDR_DATA_SHIFT)) & LPSPI_TDR_DATA_MASK)
70938 /*! @} */
70939 
70940 /*! @name RSR - Receive Status */
70941 /*! @{ */
70942 
70943 #define LPSPI_RSR_SOF_MASK                       (0x1U)
70944 #define LPSPI_RSR_SOF_SHIFT                      (0U)
70945 /*! SOF - Start Of Frame
70946  *  0b0..Subsequent data word received after PCS assertion
70947  *  0b1..First data word received after PCS assertion
70948  */
70949 #define LPSPI_RSR_SOF(x)                         (((uint32_t)(((uint32_t)(x)) << LPSPI_RSR_SOF_SHIFT)) & LPSPI_RSR_SOF_MASK)
70950 
70951 #define LPSPI_RSR_RXEMPTY_MASK                   (0x2U)
70952 #define LPSPI_RSR_RXEMPTY_SHIFT                  (1U)
70953 /*! RXEMPTY - RX FIFO Empty
70954  *  0b0..RX FIFO is not empty
70955  *  0b1..RX FIFO is empty
70956  */
70957 #define LPSPI_RSR_RXEMPTY(x)                     (((uint32_t)(((uint32_t)(x)) << LPSPI_RSR_RXEMPTY_SHIFT)) & LPSPI_RSR_RXEMPTY_MASK)
70958 /*! @} */
70959 
70960 /*! @name RDR - Receive Data */
70961 /*! @{ */
70962 
70963 #define LPSPI_RDR_DATA_MASK                      (0xFFFFFFFFU)
70964 #define LPSPI_RDR_DATA_SHIFT                     (0U)
70965 /*! DATA - Receive Data
70966  */
70967 #define LPSPI_RDR_DATA(x)                        (((uint32_t)(((uint32_t)(x)) << LPSPI_RDR_DATA_SHIFT)) & LPSPI_RDR_DATA_MASK)
70968 /*! @} */
70969 
70970 
70971 /*!
70972  * @}
70973  */ /* end of group LPSPI_Register_Masks */
70974 
70975 
70976 /* LPSPI - Peripheral instance base addresses */
70977 /** Peripheral LPSPI1 base address */
70978 #define LPSPI1_BASE                              (0x40114000u)
70979 /** Peripheral LPSPI1 base pointer */
70980 #define LPSPI1                                   ((LPSPI_Type *)LPSPI1_BASE)
70981 /** Peripheral LPSPI2 base address */
70982 #define LPSPI2_BASE                              (0x40118000u)
70983 /** Peripheral LPSPI2 base pointer */
70984 #define LPSPI2                                   ((LPSPI_Type *)LPSPI2_BASE)
70985 /** Peripheral LPSPI3 base address */
70986 #define LPSPI3_BASE                              (0x4011C000u)
70987 /** Peripheral LPSPI3 base pointer */
70988 #define LPSPI3                                   ((LPSPI_Type *)LPSPI3_BASE)
70989 /** Peripheral LPSPI4 base address */
70990 #define LPSPI4_BASE                              (0x40120000u)
70991 /** Peripheral LPSPI4 base pointer */
70992 #define LPSPI4                                   ((LPSPI_Type *)LPSPI4_BASE)
70993 /** Peripheral LPSPI5 base address */
70994 #define LPSPI5_BASE                              (0x40C2C000u)
70995 /** Peripheral LPSPI5 base pointer */
70996 #define LPSPI5                                   ((LPSPI_Type *)LPSPI5_BASE)
70997 /** Peripheral LPSPI6 base address */
70998 #define LPSPI6_BASE                              (0x40C30000u)
70999 /** Peripheral LPSPI6 base pointer */
71000 #define LPSPI6                                   ((LPSPI_Type *)LPSPI6_BASE)
71001 /** Array initializer of LPSPI peripheral base addresses */
71002 #define LPSPI_BASE_ADDRS                         { 0u, LPSPI1_BASE, LPSPI2_BASE, LPSPI3_BASE, LPSPI4_BASE, LPSPI5_BASE, LPSPI6_BASE }
71003 /** Array initializer of LPSPI peripheral base pointers */
71004 #define LPSPI_BASE_PTRS                          { (LPSPI_Type *)0u, LPSPI1, LPSPI2, LPSPI3, LPSPI4, LPSPI5, LPSPI6 }
71005 /** Interrupt vectors for the LPSPI peripheral type */
71006 #define LPSPI_IRQS                               { NotAvail_IRQn, LPSPI1_IRQn, LPSPI2_IRQn, LPSPI3_IRQn, LPSPI4_IRQn, LPSPI5_IRQn, LPSPI6_IRQn }
71007 
71008 /*!
71009  * @}
71010  */ /* end of group LPSPI_Peripheral_Access_Layer */
71011 
71012 
71013 /* ----------------------------------------------------------------------------
71014    -- LPUART Peripheral Access Layer
71015    ---------------------------------------------------------------------------- */
71016 
71017 /*!
71018  * @addtogroup LPUART_Peripheral_Access_Layer LPUART Peripheral Access Layer
71019  * @{
71020  */
71021 
71022 /** LPUART - Register Layout Typedef */
71023 typedef struct {
71024   __I  uint32_t VERID;                             /**< Version ID Register, offset: 0x0 */
71025   __I  uint32_t PARAM;                             /**< Parameter Register, offset: 0x4 */
71026   __IO uint32_t GLOBAL;                            /**< LPUART Global Register, offset: 0x8 */
71027   __IO uint32_t PINCFG;                            /**< LPUART Pin Configuration Register, offset: 0xC */
71028   __IO uint32_t BAUD;                              /**< LPUART Baud Rate Register, offset: 0x10 */
71029   __IO uint32_t STAT;                              /**< LPUART Status Register, offset: 0x14 */
71030   __IO uint32_t CTRL;                              /**< LPUART Control Register, offset: 0x18 */
71031   __IO uint32_t DATA;                              /**< LPUART Data Register, offset: 0x1C */
71032   __IO uint32_t MATCH;                             /**< LPUART Match Address Register, offset: 0x20 */
71033   __IO uint32_t MODIR;                             /**< LPUART Modem IrDA Register, offset: 0x24 */
71034   __IO uint32_t FIFO;                              /**< LPUART FIFO Register, offset: 0x28 */
71035   __IO uint32_t WATER;                             /**< LPUART Watermark Register, offset: 0x2C */
71036 } LPUART_Type;
71037 
71038 /* ----------------------------------------------------------------------------
71039    -- LPUART Register Masks
71040    ---------------------------------------------------------------------------- */
71041 
71042 /*!
71043  * @addtogroup LPUART_Register_Masks LPUART Register Masks
71044  * @{
71045  */
71046 
71047 /*! @name VERID - Version ID Register */
71048 /*! @{ */
71049 
71050 #define LPUART_VERID_FEATURE_MASK                (0xFFFFU)
71051 #define LPUART_VERID_FEATURE_SHIFT               (0U)
71052 /*! FEATURE - Feature Identification Number
71053  *  0b0000000000000001..Standard feature set.
71054  *  0b0000000000000011..Standard feature set with MODEM/IrDA support.
71055  */
71056 #define LPUART_VERID_FEATURE(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_VERID_FEATURE_SHIFT)) & LPUART_VERID_FEATURE_MASK)
71057 
71058 #define LPUART_VERID_MINOR_MASK                  (0xFF0000U)
71059 #define LPUART_VERID_MINOR_SHIFT                 (16U)
71060 /*! MINOR - Minor Version Number
71061  */
71062 #define LPUART_VERID_MINOR(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_VERID_MINOR_SHIFT)) & LPUART_VERID_MINOR_MASK)
71063 
71064 #define LPUART_VERID_MAJOR_MASK                  (0xFF000000U)
71065 #define LPUART_VERID_MAJOR_SHIFT                 (24U)
71066 /*! MAJOR - Major Version Number
71067  */
71068 #define LPUART_VERID_MAJOR(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_VERID_MAJOR_SHIFT)) & LPUART_VERID_MAJOR_MASK)
71069 /*! @} */
71070 
71071 /*! @name PARAM - Parameter Register */
71072 /*! @{ */
71073 
71074 #define LPUART_PARAM_TXFIFO_MASK                 (0xFFU)
71075 #define LPUART_PARAM_TXFIFO_SHIFT                (0U)
71076 /*! TXFIFO - Transmit FIFO Size
71077  */
71078 #define LPUART_PARAM_TXFIFO(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_PARAM_TXFIFO_SHIFT)) & LPUART_PARAM_TXFIFO_MASK)
71079 
71080 #define LPUART_PARAM_RXFIFO_MASK                 (0xFF00U)
71081 #define LPUART_PARAM_RXFIFO_SHIFT                (8U)
71082 /*! RXFIFO - Receive FIFO Size
71083  */
71084 #define LPUART_PARAM_RXFIFO(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_PARAM_RXFIFO_SHIFT)) & LPUART_PARAM_RXFIFO_MASK)
71085 /*! @} */
71086 
71087 /*! @name GLOBAL - LPUART Global Register */
71088 /*! @{ */
71089 
71090 #define LPUART_GLOBAL_RST_MASK                   (0x2U)
71091 #define LPUART_GLOBAL_RST_SHIFT                  (1U)
71092 /*! RST - Software Reset
71093  *  0b0..Module is not reset.
71094  *  0b1..Module is reset.
71095  */
71096 #define LPUART_GLOBAL_RST(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_GLOBAL_RST_SHIFT)) & LPUART_GLOBAL_RST_MASK)
71097 /*! @} */
71098 
71099 /*! @name PINCFG - LPUART Pin Configuration Register */
71100 /*! @{ */
71101 
71102 #define LPUART_PINCFG_TRGSEL_MASK                (0x3U)
71103 #define LPUART_PINCFG_TRGSEL_SHIFT               (0U)
71104 /*! TRGSEL - Trigger Select
71105  *  0b00..Input trigger is disabled.
71106  *  0b01..Input trigger is used instead of RXD pin input.
71107  *  0b10..Input trigger is used instead of CTS_B pin input.
71108  *  0b11..Input trigger is used to modulate the TXD pin output. The TXD pin output (after TXINV configuration) is
71109  *        internally ANDed with the input trigger.
71110  */
71111 #define LPUART_PINCFG_TRGSEL(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_PINCFG_TRGSEL_SHIFT)) & LPUART_PINCFG_TRGSEL_MASK)
71112 /*! @} */
71113 
71114 /*! @name BAUD - LPUART Baud Rate Register */
71115 /*! @{ */
71116 
71117 #define LPUART_BAUD_SBR_MASK                     (0x1FFFU)
71118 #define LPUART_BAUD_SBR_SHIFT                    (0U)
71119 /*! SBR - Baud Rate Modulo Divisor.
71120  */
71121 #define LPUART_BAUD_SBR(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBR_SHIFT)) & LPUART_BAUD_SBR_MASK)
71122 
71123 #define LPUART_BAUD_SBNS_MASK                    (0x2000U)
71124 #define LPUART_BAUD_SBNS_SHIFT                   (13U)
71125 /*! SBNS - Stop Bit Number Select
71126  *  0b0..One stop bit.
71127  *  0b1..Two stop bits.
71128  */
71129 #define LPUART_BAUD_SBNS(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBNS_SHIFT)) & LPUART_BAUD_SBNS_MASK)
71130 
71131 #define LPUART_BAUD_RXEDGIE_MASK                 (0x4000U)
71132 #define LPUART_BAUD_RXEDGIE_SHIFT                (14U)
71133 /*! RXEDGIE - RX Input Active Edge Interrupt Enable
71134  *  0b0..Hardware interrupts from STAT[RXEDGIF] are disabled.
71135  *  0b1..Hardware interrupt is requested when STAT[RXEDGIF] flag is 1.
71136  */
71137 #define LPUART_BAUD_RXEDGIE(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RXEDGIE_SHIFT)) & LPUART_BAUD_RXEDGIE_MASK)
71138 
71139 #define LPUART_BAUD_LBKDIE_MASK                  (0x8000U)
71140 #define LPUART_BAUD_LBKDIE_SHIFT                 (15U)
71141 /*! LBKDIE - LIN Break Detect Interrupt Enable
71142  *  0b0..Hardware interrupts from STAT[LBKDIF] flag are disabled (use polling).
71143  *  0b1..Hardware interrupt is requested when STAT[LBKDIF] flag is 1.
71144  */
71145 #define LPUART_BAUD_LBKDIE(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_LBKDIE_SHIFT)) & LPUART_BAUD_LBKDIE_MASK)
71146 
71147 #define LPUART_BAUD_RESYNCDIS_MASK               (0x10000U)
71148 #define LPUART_BAUD_RESYNCDIS_SHIFT              (16U)
71149 /*! RESYNCDIS - Resynchronization Disable
71150  *  0b0..Resynchronization during received data word is supported.
71151  *  0b1..Resynchronization during received data word is disabled.
71152  */
71153 #define LPUART_BAUD_RESYNCDIS(x)                 (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RESYNCDIS_SHIFT)) & LPUART_BAUD_RESYNCDIS_MASK)
71154 
71155 #define LPUART_BAUD_BOTHEDGE_MASK                (0x20000U)
71156 #define LPUART_BAUD_BOTHEDGE_SHIFT               (17U)
71157 /*! BOTHEDGE - Both Edge Sampling
71158  *  0b0..Receiver samples input data using the rising edge of the baud rate clock.
71159  *  0b1..Receiver samples input data using the rising and falling edge of the baud rate clock.
71160  */
71161 #define LPUART_BAUD_BOTHEDGE(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_BOTHEDGE_SHIFT)) & LPUART_BAUD_BOTHEDGE_MASK)
71162 
71163 #define LPUART_BAUD_MATCFG_MASK                  (0xC0000U)
71164 #define LPUART_BAUD_MATCFG_SHIFT                 (18U)
71165 /*! MATCFG - Match Configuration
71166  *  0b00..Address Match Wakeup
71167  *  0b01..Idle Match Wakeup
71168  *  0b10..Match On and Match Off
71169  *  0b11..Enables RWU on Data Match and Match On/Off for transmitter CTS input
71170  */
71171 #define LPUART_BAUD_MATCFG(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MATCFG_SHIFT)) & LPUART_BAUD_MATCFG_MASK)
71172 
71173 #define LPUART_BAUD_RDMAE_MASK                   (0x200000U)
71174 #define LPUART_BAUD_RDMAE_SHIFT                  (21U)
71175 /*! RDMAE - Receiver Full DMA Enable
71176  *  0b0..DMA request disabled.
71177  *  0b1..DMA request enabled.
71178  */
71179 #define LPUART_BAUD_RDMAE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RDMAE_SHIFT)) & LPUART_BAUD_RDMAE_MASK)
71180 
71181 #define LPUART_BAUD_TDMAE_MASK                   (0x800000U)
71182 #define LPUART_BAUD_TDMAE_SHIFT                  (23U)
71183 /*! TDMAE - Transmitter DMA Enable
71184  *  0b0..DMA request disabled.
71185  *  0b1..DMA request enabled.
71186  */
71187 #define LPUART_BAUD_TDMAE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_TDMAE_SHIFT)) & LPUART_BAUD_TDMAE_MASK)
71188 
71189 #define LPUART_BAUD_OSR_MASK                     (0x1F000000U)
71190 #define LPUART_BAUD_OSR_SHIFT                    (24U)
71191 /*! OSR - Oversampling Ratio
71192  *  0b00000..Writing 0 to this field results in an oversampling ratio of 16
71193  *  0b00001..Reserved
71194  *  0b00010..Reserved
71195  *  0b00011..Oversampling ratio of 4, requires BOTHEDGE to be set.
71196  *  0b00100..Oversampling ratio of 5, requires BOTHEDGE to be set.
71197  *  0b00101..Oversampling ratio of 6, requires BOTHEDGE to be set.
71198  *  0b00110..Oversampling ratio of 7, requires BOTHEDGE to be set.
71199  *  0b00111..Oversampling ratio of 8.
71200  *  0b01000..Oversampling ratio of 9.
71201  *  0b01001..Oversampling ratio of 10.
71202  *  0b01010..Oversampling ratio of 11.
71203  *  0b01011..Oversampling ratio of 12.
71204  *  0b01100..Oversampling ratio of 13.
71205  *  0b01101..Oversampling ratio of 14.
71206  *  0b01110..Oversampling ratio of 15.
71207  *  0b01111..Oversampling ratio of 16.
71208  *  0b10000..Oversampling ratio of 17.
71209  *  0b10001..Oversampling ratio of 18.
71210  *  0b10010..Oversampling ratio of 19.
71211  *  0b10011..Oversampling ratio of 20.
71212  *  0b10100..Oversampling ratio of 21.
71213  *  0b10101..Oversampling ratio of 22.
71214  *  0b10110..Oversampling ratio of 23.
71215  *  0b10111..Oversampling ratio of 24.
71216  *  0b11000..Oversampling ratio of 25.
71217  *  0b11001..Oversampling ratio of 26.
71218  *  0b11010..Oversampling ratio of 27.
71219  *  0b11011..Oversampling ratio of 28.
71220  *  0b11100..Oversampling ratio of 29.
71221  *  0b11101..Oversampling ratio of 30.
71222  *  0b11110..Oversampling ratio of 31.
71223  *  0b11111..Oversampling ratio of 32.
71224  */
71225 #define LPUART_BAUD_OSR(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_OSR_SHIFT)) & LPUART_BAUD_OSR_MASK)
71226 
71227 #define LPUART_BAUD_M10_MASK                     (0x20000000U)
71228 #define LPUART_BAUD_M10_SHIFT                    (29U)
71229 /*! M10 - 10-bit Mode select
71230  *  0b0..Receiver and transmitter use 7-bit to 9-bit data characters.
71231  *  0b1..Receiver and transmitter use 10-bit data characters.
71232  */
71233 #define LPUART_BAUD_M10(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_M10_SHIFT)) & LPUART_BAUD_M10_MASK)
71234 
71235 #define LPUART_BAUD_MAEN2_MASK                   (0x40000000U)
71236 #define LPUART_BAUD_MAEN2_SHIFT                  (30U)
71237 /*! MAEN2 - Match Address Mode Enable 2
71238  *  0b0..Normal operation.
71239  *  0b1..Enables automatic address matching or data matching mode for MATCH[MA2].
71240  */
71241 #define LPUART_BAUD_MAEN2(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN2_SHIFT)) & LPUART_BAUD_MAEN2_MASK)
71242 
71243 #define LPUART_BAUD_MAEN1_MASK                   (0x80000000U)
71244 #define LPUART_BAUD_MAEN1_SHIFT                  (31U)
71245 /*! MAEN1 - Match Address Mode Enable 1
71246  *  0b0..Normal operation.
71247  *  0b1..Enables automatic address matching or data matching mode for MATCH[MA1].
71248  */
71249 #define LPUART_BAUD_MAEN1(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN1_SHIFT)) & LPUART_BAUD_MAEN1_MASK)
71250 /*! @} */
71251 
71252 /*! @name STAT - LPUART Status Register */
71253 /*! @{ */
71254 
71255 #define LPUART_STAT_MA2F_MASK                    (0x4000U)
71256 #define LPUART_STAT_MA2F_SHIFT                   (14U)
71257 /*! MA2F - Match 2 Flag
71258  *  0b0..Received data is not equal to MA2
71259  *  0b1..Received data is equal to MA2
71260  */
71261 #define LPUART_STAT_MA2F(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA2F_SHIFT)) & LPUART_STAT_MA2F_MASK)
71262 
71263 #define LPUART_STAT_MA1F_MASK                    (0x8000U)
71264 #define LPUART_STAT_MA1F_SHIFT                   (15U)
71265 /*! MA1F - Match 1 Flag
71266  *  0b0..Received data is not equal to MA1
71267  *  0b1..Received data is equal to MA1
71268  */
71269 #define LPUART_STAT_MA1F(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA1F_SHIFT)) & LPUART_STAT_MA1F_MASK)
71270 
71271 #define LPUART_STAT_PF_MASK                      (0x10000U)
71272 #define LPUART_STAT_PF_SHIFT                     (16U)
71273 /*! PF - Parity Error Flag
71274  *  0b0..No parity error.
71275  *  0b1..Parity error.
71276  */
71277 #define LPUART_STAT_PF(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_PF_SHIFT)) & LPUART_STAT_PF_MASK)
71278 
71279 #define LPUART_STAT_FE_MASK                      (0x20000U)
71280 #define LPUART_STAT_FE_SHIFT                     (17U)
71281 /*! FE - Framing Error Flag
71282  *  0b0..No framing error detected. This does not guarantee the framing is correct.
71283  *  0b1..Framing error.
71284  */
71285 #define LPUART_STAT_FE(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_FE_SHIFT)) & LPUART_STAT_FE_MASK)
71286 
71287 #define LPUART_STAT_NF_MASK                      (0x40000U)
71288 #define LPUART_STAT_NF_SHIFT                     (18U)
71289 /*! NF - Noise Flag
71290  *  0b0..No noise detected.
71291  *  0b1..Noise detected in the received character in the DATA register.
71292  */
71293 #define LPUART_STAT_NF(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_NF_SHIFT)) & LPUART_STAT_NF_MASK)
71294 
71295 #define LPUART_STAT_OR_MASK                      (0x80000U)
71296 #define LPUART_STAT_OR_SHIFT                     (19U)
71297 /*! OR - Receiver Overrun Flag
71298  *  0b0..No overrun.
71299  *  0b1..Receive overrun (new LPUART data lost).
71300  */
71301 #define LPUART_STAT_OR(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_OR_SHIFT)) & LPUART_STAT_OR_MASK)
71302 
71303 #define LPUART_STAT_IDLE_MASK                    (0x100000U)
71304 #define LPUART_STAT_IDLE_SHIFT                   (20U)
71305 /*! IDLE - Idle Line Flag
71306  *  0b0..No idle line detected.
71307  *  0b1..Idle line is detected.
71308  */
71309 #define LPUART_STAT_IDLE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_IDLE_SHIFT)) & LPUART_STAT_IDLE_MASK)
71310 
71311 #define LPUART_STAT_RDRF_MASK                    (0x200000U)
71312 #define LPUART_STAT_RDRF_SHIFT                   (21U)
71313 /*! RDRF - Receive Data Register Full Flag
71314  *  0b0..Receive FIFO level is less than watermark.
71315  *  0b1..Receive FIFO level is equal or greater than watermark.
71316  */
71317 #define LPUART_STAT_RDRF(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RDRF_SHIFT)) & LPUART_STAT_RDRF_MASK)
71318 
71319 #define LPUART_STAT_TC_MASK                      (0x400000U)
71320 #define LPUART_STAT_TC_SHIFT                     (22U)
71321 /*! TC - Transmission Complete Flag
71322  *  0b0..Transmitter active (sending data, a preamble, or a break).
71323  *  0b1..Transmitter idle (transmission activity complete).
71324  */
71325 #define LPUART_STAT_TC(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TC_SHIFT)) & LPUART_STAT_TC_MASK)
71326 
71327 #define LPUART_STAT_TDRE_MASK                    (0x800000U)
71328 #define LPUART_STAT_TDRE_SHIFT                   (23U)
71329 /*! TDRE - Transmit Data Register Empty Flag
71330  *  0b0..Transmit FIFO level is greater than watermark.
71331  *  0b1..Transmit FIFO level is equal or less than watermark.
71332  */
71333 #define LPUART_STAT_TDRE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TDRE_SHIFT)) & LPUART_STAT_TDRE_MASK)
71334 
71335 #define LPUART_STAT_RAF_MASK                     (0x1000000U)
71336 #define LPUART_STAT_RAF_SHIFT                    (24U)
71337 /*! RAF - Receiver Active Flag
71338  *  0b0..LPUART receiver idle waiting for a start bit.
71339  *  0b1..LPUART receiver active (RXD input not idle).
71340  */
71341 #define LPUART_STAT_RAF(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RAF_SHIFT)) & LPUART_STAT_RAF_MASK)
71342 
71343 #define LPUART_STAT_LBKDE_MASK                   (0x2000000U)
71344 #define LPUART_STAT_LBKDE_SHIFT                  (25U)
71345 /*! LBKDE - LIN Break Detection Enable
71346  *  0b0..LIN break detect is disabled, normal break character can be detected.
71347  *  0b1..LIN break detect is enabled. LIN break character is detected at length of 11 bit times (if M = 0) or 12 (if M = 1) or 13 (M10 = 1).
71348  */
71349 #define LPUART_STAT_LBKDE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDE_SHIFT)) & LPUART_STAT_LBKDE_MASK)
71350 
71351 #define LPUART_STAT_BRK13_MASK                   (0x4000000U)
71352 #define LPUART_STAT_BRK13_SHIFT                  (26U)
71353 /*! BRK13 - Break Character Generation Length
71354  *  0b0..Break character is transmitted with length of 9 to 13 bit times.
71355  *  0b1..Break character is transmitted with length of 12 to 15 bit times.
71356  */
71357 #define LPUART_STAT_BRK13(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_BRK13_SHIFT)) & LPUART_STAT_BRK13_MASK)
71358 
71359 #define LPUART_STAT_RWUID_MASK                   (0x8000000U)
71360 #define LPUART_STAT_RWUID_SHIFT                  (27U)
71361 /*! RWUID - Receive Wake Up Idle Detect
71362  *  0b0..During receive standby state (RWU = 1), the IDLE bit does not get set upon detection of an idle
71363  *       character. During address match wakeup, the IDLE bit does not set when an address does not match.
71364  *  0b1..During receive standby state (RWU = 1), the IDLE bit gets set upon detection of an idle character. During
71365  *       address match wakeup, the IDLE bit does set when an address does not match.
71366  */
71367 #define LPUART_STAT_RWUID(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RWUID_SHIFT)) & LPUART_STAT_RWUID_MASK)
71368 
71369 #define LPUART_STAT_RXINV_MASK                   (0x10000000U)
71370 #define LPUART_STAT_RXINV_SHIFT                  (28U)
71371 /*! RXINV - Receive Data Inversion
71372  *  0b0..Receive data not inverted.
71373  *  0b1..Receive data inverted.
71374  */
71375 #define LPUART_STAT_RXINV(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXINV_SHIFT)) & LPUART_STAT_RXINV_MASK)
71376 
71377 #define LPUART_STAT_MSBF_MASK                    (0x20000000U)
71378 #define LPUART_STAT_MSBF_SHIFT                   (29U)
71379 /*! MSBF - MSB First
71380  *  0b0..LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received
71381  *       after the start bit is identified as bit0.
71382  *  0b1..MSB (identified as bit9, bit8, bit7 or bit6) is the first bit that is transmitted following the start bit
71383  *       depending on the setting of CTRL[M], CTRL[PE] and BAUD[M10]. .
71384  */
71385 #define LPUART_STAT_MSBF(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MSBF_SHIFT)) & LPUART_STAT_MSBF_MASK)
71386 
71387 #define LPUART_STAT_RXEDGIF_MASK                 (0x40000000U)
71388 #define LPUART_STAT_RXEDGIF_SHIFT                (30U)
71389 /*! RXEDGIF - RXD Pin Active Edge Interrupt Flag
71390  *  0b0..No active edge on the receive pin has occurred.
71391  *  0b1..An active edge on the receive pin has occurred.
71392  */
71393 #define LPUART_STAT_RXEDGIF(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXEDGIF_SHIFT)) & LPUART_STAT_RXEDGIF_MASK)
71394 
71395 #define LPUART_STAT_LBKDIF_MASK                  (0x80000000U)
71396 #define LPUART_STAT_LBKDIF_SHIFT                 (31U)
71397 /*! LBKDIF - LIN Break Detect Interrupt Flag
71398  *  0b0..No LIN break character has been detected.
71399  *  0b1..LIN break character has been detected.
71400  */
71401 #define LPUART_STAT_LBKDIF(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDIF_SHIFT)) & LPUART_STAT_LBKDIF_MASK)
71402 /*! @} */
71403 
71404 /*! @name CTRL - LPUART Control Register */
71405 /*! @{ */
71406 
71407 #define LPUART_CTRL_PT_MASK                      (0x1U)
71408 #define LPUART_CTRL_PT_SHIFT                     (0U)
71409 /*! PT - Parity Type
71410  *  0b0..Even parity.
71411  *  0b1..Odd parity.
71412  */
71413 #define LPUART_CTRL_PT(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PT_SHIFT)) & LPUART_CTRL_PT_MASK)
71414 
71415 #define LPUART_CTRL_PE_MASK                      (0x2U)
71416 #define LPUART_CTRL_PE_SHIFT                     (1U)
71417 /*! PE - Parity Enable
71418  *  0b0..No hardware parity generation or checking.
71419  *  0b1..Parity enabled.
71420  */
71421 #define LPUART_CTRL_PE(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PE_SHIFT)) & LPUART_CTRL_PE_MASK)
71422 
71423 #define LPUART_CTRL_ILT_MASK                     (0x4U)
71424 #define LPUART_CTRL_ILT_SHIFT                    (2U)
71425 /*! ILT - Idle Line Type Select
71426  *  0b0..Idle character bit count starts after start bit.
71427  *  0b1..Idle character bit count starts after stop bit.
71428  */
71429 #define LPUART_CTRL_ILT(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILT_SHIFT)) & LPUART_CTRL_ILT_MASK)
71430 
71431 #define LPUART_CTRL_WAKE_MASK                    (0x8U)
71432 #define LPUART_CTRL_WAKE_SHIFT                   (3U)
71433 /*! WAKE - Receiver Wakeup Method Select
71434  *  0b0..Configures RWU for idle-line wakeup.
71435  *  0b1..Configures RWU with address-mark wakeup.
71436  */
71437 #define LPUART_CTRL_WAKE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_WAKE_SHIFT)) & LPUART_CTRL_WAKE_MASK)
71438 
71439 #define LPUART_CTRL_M_MASK                       (0x10U)
71440 #define LPUART_CTRL_M_SHIFT                      (4U)
71441 /*! M - 9-Bit or 8-Bit Mode Select
71442  *  0b0..Receiver and transmitter use 8-bit data characters.
71443  *  0b1..Receiver and transmitter use 9-bit data characters.
71444  */
71445 #define LPUART_CTRL_M(x)                         (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M_SHIFT)) & LPUART_CTRL_M_MASK)
71446 
71447 #define LPUART_CTRL_RSRC_MASK                    (0x20U)
71448 #define LPUART_CTRL_RSRC_SHIFT                   (5U)
71449 /*! RSRC - Receiver Source Select
71450  *  0b0..Provided LOOPS is set, RSRC is cleared, selects internal loop back mode and the LPUART does not use the RXD pin.
71451  *  0b1..Single-wire LPUART mode where the TXD pin is connected to the transmitter output and receiver input.
71452  */
71453 #define LPUART_CTRL_RSRC(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RSRC_SHIFT)) & LPUART_CTRL_RSRC_MASK)
71454 
71455 #define LPUART_CTRL_DOZEEN_MASK                  (0x40U)
71456 #define LPUART_CTRL_DOZEEN_SHIFT                 (6U)
71457 /*! DOZEEN - Doze Enable
71458  *  0b0..LPUART is enabled in Doze mode.
71459  *  0b1..LPUART is disabled in Doze mode .
71460  */
71461 #define LPUART_CTRL_DOZEEN(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_DOZEEN_SHIFT)) & LPUART_CTRL_DOZEEN_MASK)
71462 
71463 #define LPUART_CTRL_LOOPS_MASK                   (0x80U)
71464 #define LPUART_CTRL_LOOPS_SHIFT                  (7U)
71465 /*! LOOPS - Loop Mode Select
71466  *  0b0..Normal operation - RXD and TXD use separate pins.
71467  *  0b1..Loop mode or single-wire mode where transmitter outputs are internally connected to receiver input (see RSRC bit).
71468  */
71469 #define LPUART_CTRL_LOOPS(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_LOOPS_SHIFT)) & LPUART_CTRL_LOOPS_MASK)
71470 
71471 #define LPUART_CTRL_IDLECFG_MASK                 (0x700U)
71472 #define LPUART_CTRL_IDLECFG_SHIFT                (8U)
71473 /*! IDLECFG - Idle Configuration
71474  *  0b000..1 idle character
71475  *  0b001..2 idle characters
71476  *  0b010..4 idle characters
71477  *  0b011..8 idle characters
71478  *  0b100..16 idle characters
71479  *  0b101..32 idle characters
71480  *  0b110..64 idle characters
71481  *  0b111..128 idle characters
71482  */
71483 #define LPUART_CTRL_IDLECFG(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_IDLECFG_SHIFT)) & LPUART_CTRL_IDLECFG_MASK)
71484 
71485 #define LPUART_CTRL_M7_MASK                      (0x800U)
71486 #define LPUART_CTRL_M7_SHIFT                     (11U)
71487 /*! M7 - 7-Bit Mode Select
71488  *  0b0..Receiver and transmitter use 8-bit to 10-bit data characters.
71489  *  0b1..Receiver and transmitter use 7-bit data characters.
71490  */
71491 #define LPUART_CTRL_M7(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M7_SHIFT)) & LPUART_CTRL_M7_MASK)
71492 
71493 #define LPUART_CTRL_MA2IE_MASK                   (0x4000U)
71494 #define LPUART_CTRL_MA2IE_SHIFT                  (14U)
71495 /*! MA2IE - Match 2 Interrupt Enable
71496  *  0b0..MA2F interrupt disabled
71497  *  0b1..MA2F interrupt enabled
71498  */
71499 #define LPUART_CTRL_MA2IE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA2IE_SHIFT)) & LPUART_CTRL_MA2IE_MASK)
71500 
71501 #define LPUART_CTRL_MA1IE_MASK                   (0x8000U)
71502 #define LPUART_CTRL_MA1IE_SHIFT                  (15U)
71503 /*! MA1IE - Match 1 Interrupt Enable
71504  *  0b0..MA1F interrupt disabled
71505  *  0b1..MA1F interrupt enabled
71506  */
71507 #define LPUART_CTRL_MA1IE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA1IE_SHIFT)) & LPUART_CTRL_MA1IE_MASK)
71508 
71509 #define LPUART_CTRL_SBK_MASK                     (0x10000U)
71510 #define LPUART_CTRL_SBK_SHIFT                    (16U)
71511 /*! SBK - Send Break
71512  *  0b0..Normal transmitter operation.
71513  *  0b1..Queue break character(s) to be sent.
71514  */
71515 #define LPUART_CTRL_SBK(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_SBK_SHIFT)) & LPUART_CTRL_SBK_MASK)
71516 
71517 #define LPUART_CTRL_RWU_MASK                     (0x20000U)
71518 #define LPUART_CTRL_RWU_SHIFT                    (17U)
71519 /*! RWU - Receiver Wakeup Control
71520  *  0b0..Normal receiver operation.
71521  *  0b1..LPUART receiver in standby waiting for wakeup condition.
71522  */
71523 #define LPUART_CTRL_RWU(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RWU_SHIFT)) & LPUART_CTRL_RWU_MASK)
71524 
71525 #define LPUART_CTRL_RE_MASK                      (0x40000U)
71526 #define LPUART_CTRL_RE_SHIFT                     (18U)
71527 /*! RE - Receiver Enable
71528  *  0b0..Receiver disabled.
71529  *  0b1..Receiver enabled.
71530  */
71531 #define LPUART_CTRL_RE(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RE_SHIFT)) & LPUART_CTRL_RE_MASK)
71532 
71533 #define LPUART_CTRL_TE_MASK                      (0x80000U)
71534 #define LPUART_CTRL_TE_SHIFT                     (19U)
71535 /*! TE - Transmitter Enable
71536  *  0b0..Transmitter disabled.
71537  *  0b1..Transmitter enabled.
71538  */
71539 #define LPUART_CTRL_TE(x)                        (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TE_SHIFT)) & LPUART_CTRL_TE_MASK)
71540 
71541 #define LPUART_CTRL_ILIE_MASK                    (0x100000U)
71542 #define LPUART_CTRL_ILIE_SHIFT                   (20U)
71543 /*! ILIE - Idle Line Interrupt Enable
71544  *  0b0..Hardware interrupts from IDLE disabled; use polling.
71545  *  0b1..Hardware interrupt is requested when IDLE flag is 1.
71546  */
71547 #define LPUART_CTRL_ILIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILIE_SHIFT)) & LPUART_CTRL_ILIE_MASK)
71548 
71549 #define LPUART_CTRL_RIE_MASK                     (0x200000U)
71550 #define LPUART_CTRL_RIE_SHIFT                    (21U)
71551 /*! RIE - Receiver Interrupt Enable
71552  *  0b0..Hardware interrupts from RDRF disabled.
71553  *  0b1..Hardware interrupt is requested when RDRF flag is 1.
71554  */
71555 #define LPUART_CTRL_RIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RIE_SHIFT)) & LPUART_CTRL_RIE_MASK)
71556 
71557 #define LPUART_CTRL_TCIE_MASK                    (0x400000U)
71558 #define LPUART_CTRL_TCIE_SHIFT                   (22U)
71559 /*! TCIE - Transmission Complete Interrupt Enable for
71560  *  0b0..Hardware interrupts from TC disabled.
71561  *  0b1..Hardware interrupt is requested when TC flag is 1.
71562  */
71563 #define LPUART_CTRL_TCIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TCIE_SHIFT)) & LPUART_CTRL_TCIE_MASK)
71564 
71565 #define LPUART_CTRL_TIE_MASK                     (0x800000U)
71566 #define LPUART_CTRL_TIE_SHIFT                    (23U)
71567 /*! TIE - Transmit Interrupt Enable
71568  *  0b0..Hardware interrupts from TDRE disabled.
71569  *  0b1..Hardware interrupt is requested when TDRE flag is 1.
71570  */
71571 #define LPUART_CTRL_TIE(x)                       (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TIE_SHIFT)) & LPUART_CTRL_TIE_MASK)
71572 
71573 #define LPUART_CTRL_PEIE_MASK                    (0x1000000U)
71574 #define LPUART_CTRL_PEIE_SHIFT                   (24U)
71575 /*! PEIE - Parity Error Interrupt Enable
71576  *  0b0..PF interrupts disabled; use polling).
71577  *  0b1..Hardware interrupt is requested when PF is set.
71578  */
71579 #define LPUART_CTRL_PEIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PEIE_SHIFT)) & LPUART_CTRL_PEIE_MASK)
71580 
71581 #define LPUART_CTRL_FEIE_MASK                    (0x2000000U)
71582 #define LPUART_CTRL_FEIE_SHIFT                   (25U)
71583 /*! FEIE - Framing Error Interrupt Enable
71584  *  0b0..FE interrupts disabled; use polling.
71585  *  0b1..Hardware interrupt is requested when FE is set.
71586  */
71587 #define LPUART_CTRL_FEIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_FEIE_SHIFT)) & LPUART_CTRL_FEIE_MASK)
71588 
71589 #define LPUART_CTRL_NEIE_MASK                    (0x4000000U)
71590 #define LPUART_CTRL_NEIE_SHIFT                   (26U)
71591 /*! NEIE - Noise Error Interrupt Enable
71592  *  0b0..NF interrupts disabled; use polling.
71593  *  0b1..Hardware interrupt is requested when NF is set.
71594  */
71595 #define LPUART_CTRL_NEIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_NEIE_SHIFT)) & LPUART_CTRL_NEIE_MASK)
71596 
71597 #define LPUART_CTRL_ORIE_MASK                    (0x8000000U)
71598 #define LPUART_CTRL_ORIE_SHIFT                   (27U)
71599 /*! ORIE - Overrun Interrupt Enable
71600  *  0b0..OR interrupts disabled; use polling.
71601  *  0b1..Hardware interrupt is requested when OR is set.
71602  */
71603 #define LPUART_CTRL_ORIE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ORIE_SHIFT)) & LPUART_CTRL_ORIE_MASK)
71604 
71605 #define LPUART_CTRL_TXINV_MASK                   (0x10000000U)
71606 #define LPUART_CTRL_TXINV_SHIFT                  (28U)
71607 /*! TXINV - Transmit Data Inversion
71608  *  0b0..Transmit data not inverted.
71609  *  0b1..Transmit data inverted.
71610  */
71611 #define LPUART_CTRL_TXINV(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXINV_SHIFT)) & LPUART_CTRL_TXINV_MASK)
71612 
71613 #define LPUART_CTRL_TXDIR_MASK                   (0x20000000U)
71614 #define LPUART_CTRL_TXDIR_SHIFT                  (29U)
71615 /*! TXDIR - TXD Pin Direction in Single-Wire Mode
71616  *  0b0..TXD pin is an input in single-wire mode.
71617  *  0b1..TXD pin is an output in single-wire mode.
71618  */
71619 #define LPUART_CTRL_TXDIR(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXDIR_SHIFT)) & LPUART_CTRL_TXDIR_MASK)
71620 
71621 #define LPUART_CTRL_R9T8_MASK                    (0x40000000U)
71622 #define LPUART_CTRL_R9T8_SHIFT                   (30U)
71623 /*! R9T8 - Receive Bit 9 / Transmit Bit 8
71624  */
71625 #define LPUART_CTRL_R9T8(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R9T8_SHIFT)) & LPUART_CTRL_R9T8_MASK)
71626 
71627 #define LPUART_CTRL_R8T9_MASK                    (0x80000000U)
71628 #define LPUART_CTRL_R8T9_SHIFT                   (31U)
71629 /*! R8T9 - Receive Bit 8 / Transmit Bit 9
71630  */
71631 #define LPUART_CTRL_R8T9(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R8T9_SHIFT)) & LPUART_CTRL_R8T9_MASK)
71632 /*! @} */
71633 
71634 /*! @name DATA - LPUART Data Register */
71635 /*! @{ */
71636 
71637 #define LPUART_DATA_R0T0_MASK                    (0x1U)
71638 #define LPUART_DATA_R0T0_SHIFT                   (0U)
71639 /*! R0T0 - R0T0
71640  */
71641 #define LPUART_DATA_R0T0(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R0T0_SHIFT)) & LPUART_DATA_R0T0_MASK)
71642 
71643 #define LPUART_DATA_R1T1_MASK                    (0x2U)
71644 #define LPUART_DATA_R1T1_SHIFT                   (1U)
71645 /*! R1T1 - R1T1
71646  */
71647 #define LPUART_DATA_R1T1(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R1T1_SHIFT)) & LPUART_DATA_R1T1_MASK)
71648 
71649 #define LPUART_DATA_R2T2_MASK                    (0x4U)
71650 #define LPUART_DATA_R2T2_SHIFT                   (2U)
71651 /*! R2T2 - R2T2
71652  */
71653 #define LPUART_DATA_R2T2(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R2T2_SHIFT)) & LPUART_DATA_R2T2_MASK)
71654 
71655 #define LPUART_DATA_R3T3_MASK                    (0x8U)
71656 #define LPUART_DATA_R3T3_SHIFT                   (3U)
71657 /*! R3T3 - R3T3
71658  */
71659 #define LPUART_DATA_R3T3(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R3T3_SHIFT)) & LPUART_DATA_R3T3_MASK)
71660 
71661 #define LPUART_DATA_R4T4_MASK                    (0x10U)
71662 #define LPUART_DATA_R4T4_SHIFT                   (4U)
71663 /*! R4T4 - R4T4
71664  */
71665 #define LPUART_DATA_R4T4(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R4T4_SHIFT)) & LPUART_DATA_R4T4_MASK)
71666 
71667 #define LPUART_DATA_R5T5_MASK                    (0x20U)
71668 #define LPUART_DATA_R5T5_SHIFT                   (5U)
71669 /*! R5T5 - R5T5
71670  */
71671 #define LPUART_DATA_R5T5(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R5T5_SHIFT)) & LPUART_DATA_R5T5_MASK)
71672 
71673 #define LPUART_DATA_R6T6_MASK                    (0x40U)
71674 #define LPUART_DATA_R6T6_SHIFT                   (6U)
71675 /*! R6T6 - R6T6
71676  */
71677 #define LPUART_DATA_R6T6(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R6T6_SHIFT)) & LPUART_DATA_R6T6_MASK)
71678 
71679 #define LPUART_DATA_R7T7_MASK                    (0x80U)
71680 #define LPUART_DATA_R7T7_SHIFT                   (7U)
71681 /*! R7T7 - R7T7
71682  */
71683 #define LPUART_DATA_R7T7(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R7T7_SHIFT)) & LPUART_DATA_R7T7_MASK)
71684 
71685 #define LPUART_DATA_R8T8_MASK                    (0x100U)
71686 #define LPUART_DATA_R8T8_SHIFT                   (8U)
71687 /*! R8T8 - R8T8
71688  */
71689 #define LPUART_DATA_R8T8(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R8T8_SHIFT)) & LPUART_DATA_R8T8_MASK)
71690 
71691 #define LPUART_DATA_R9T9_MASK                    (0x200U)
71692 #define LPUART_DATA_R9T9_SHIFT                   (9U)
71693 /*! R9T9 - R9T9
71694  */
71695 #define LPUART_DATA_R9T9(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R9T9_SHIFT)) & LPUART_DATA_R9T9_MASK)
71696 
71697 #define LPUART_DATA_IDLINE_MASK                  (0x800U)
71698 #define LPUART_DATA_IDLINE_SHIFT                 (11U)
71699 /*! IDLINE - Idle Line
71700  *  0b0..Receiver was not idle before receiving this character.
71701  *  0b1..Receiver was idle before receiving this character.
71702  */
71703 #define LPUART_DATA_IDLINE(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_IDLINE_SHIFT)) & LPUART_DATA_IDLINE_MASK)
71704 
71705 #define LPUART_DATA_RXEMPT_MASK                  (0x1000U)
71706 #define LPUART_DATA_RXEMPT_SHIFT                 (12U)
71707 /*! RXEMPT - Receive Buffer Empty
71708  *  0b0..Receive buffer contains valid data.
71709  *  0b1..Receive buffer is empty, data returned on read is not valid.
71710  */
71711 #define LPUART_DATA_RXEMPT(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_RXEMPT_SHIFT)) & LPUART_DATA_RXEMPT_MASK)
71712 
71713 #define LPUART_DATA_FRETSC_MASK                  (0x2000U)
71714 #define LPUART_DATA_FRETSC_SHIFT                 (13U)
71715 /*! FRETSC - Frame Error / Transmit Special Character
71716  *  0b0..The dataword is received without a frame error on read, or transmit a normal character on write.
71717  *  0b1..The dataword is received with a frame error, or transmit an idle or break character on transmit.
71718  */
71719 #define LPUART_DATA_FRETSC(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_FRETSC_SHIFT)) & LPUART_DATA_FRETSC_MASK)
71720 
71721 #define LPUART_DATA_PARITYE_MASK                 (0x4000U)
71722 #define LPUART_DATA_PARITYE_SHIFT                (14U)
71723 /*! PARITYE - Parity Error
71724  *  0b0..The dataword is received without a parity error.
71725  *  0b1..The dataword is received with a parity error.
71726  */
71727 #define LPUART_DATA_PARITYE(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_PARITYE_SHIFT)) & LPUART_DATA_PARITYE_MASK)
71728 
71729 #define LPUART_DATA_NOISY_MASK                   (0x8000U)
71730 #define LPUART_DATA_NOISY_SHIFT                  (15U)
71731 /*! NOISY - Noisy Data Received
71732  *  0b0..The dataword is received without noise.
71733  *  0b1..The data is received with noise.
71734  */
71735 #define LPUART_DATA_NOISY(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_NOISY_SHIFT)) & LPUART_DATA_NOISY_MASK)
71736 /*! @} */
71737 
71738 /*! @name MATCH - LPUART Match Address Register */
71739 /*! @{ */
71740 
71741 #define LPUART_MATCH_MA1_MASK                    (0x3FFU)
71742 #define LPUART_MATCH_MA1_SHIFT                   (0U)
71743 /*! MA1 - Match Address 1
71744  */
71745 #define LPUART_MATCH_MA1(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA1_SHIFT)) & LPUART_MATCH_MA1_MASK)
71746 
71747 #define LPUART_MATCH_MA2_MASK                    (0x3FF0000U)
71748 #define LPUART_MATCH_MA2_SHIFT                   (16U)
71749 /*! MA2 - Match Address 2
71750  */
71751 #define LPUART_MATCH_MA2(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA2_SHIFT)) & LPUART_MATCH_MA2_MASK)
71752 /*! @} */
71753 
71754 /*! @name MODIR - LPUART Modem IrDA Register */
71755 /*! @{ */
71756 
71757 #define LPUART_MODIR_TXCTSE_MASK                 (0x1U)
71758 #define LPUART_MODIR_TXCTSE_SHIFT                (0U)
71759 /*! TXCTSE - Transmitter clear-to-send enable
71760  *  0b0..CTS has no effect on the transmitter.
71761  *  0b1..Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a
71762  *       character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the
71763  *       mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent
71764  *       do not affect its transmission.
71765  */
71766 #define LPUART_MODIR_TXCTSE(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSE_SHIFT)) & LPUART_MODIR_TXCTSE_MASK)
71767 
71768 #define LPUART_MODIR_TXRTSE_MASK                 (0x2U)
71769 #define LPUART_MODIR_TXRTSE_SHIFT                (1U)
71770 /*! TXRTSE - Transmitter request-to-send enable
71771  *  0b0..The transmitter has no effect on RTS.
71772  *  0b1..When a character is placed into an empty transmit shift register, RTS asserts one bit time before the
71773  *       start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter FIFO and shift
71774  *       register are completely sent, including the last stop bit.
71775  */
71776 #define LPUART_MODIR_TXRTSE(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSE_SHIFT)) & LPUART_MODIR_TXRTSE_MASK)
71777 
71778 #define LPUART_MODIR_TXRTSPOL_MASK               (0x4U)
71779 #define LPUART_MODIR_TXRTSPOL_SHIFT              (2U)
71780 /*! TXRTSPOL - Transmitter request-to-send polarity
71781  *  0b0..Transmitter RTS is active low.
71782  *  0b1..Transmitter RTS is active high.
71783  */
71784 #define LPUART_MODIR_TXRTSPOL(x)                 (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSPOL_SHIFT)) & LPUART_MODIR_TXRTSPOL_MASK)
71785 
71786 #define LPUART_MODIR_RXRTSE_MASK                 (0x8U)
71787 #define LPUART_MODIR_RXRTSE_SHIFT                (3U)
71788 /*! RXRTSE - Receiver request-to-send enable
71789  *  0b0..The receiver has no effect on RTS.
71790  *  0b1..RTS is deasserted if the receiver data register is full or a start bit has been detected that would cause
71791  *       the receiver data register to become full. RTS is asserted if the receiver data register is not full and
71792  *       has not detected a start bit that would cause the receiver data register to become full.
71793  */
71794 #define LPUART_MODIR_RXRTSE(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RXRTSE_SHIFT)) & LPUART_MODIR_RXRTSE_MASK)
71795 
71796 #define LPUART_MODIR_TXCTSC_MASK                 (0x10U)
71797 #define LPUART_MODIR_TXCTSC_SHIFT                (4U)
71798 /*! TXCTSC - Transmit CTS Configuration
71799  *  0b0..CTS input is sampled at the start of each character.
71800  *  0b1..CTS input is sampled when the transmitter is idle.
71801  */
71802 #define LPUART_MODIR_TXCTSC(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSC_SHIFT)) & LPUART_MODIR_TXCTSC_MASK)
71803 
71804 #define LPUART_MODIR_TXCTSSRC_MASK               (0x20U)
71805 #define LPUART_MODIR_TXCTSSRC_SHIFT              (5U)
71806 /*! TXCTSSRC - Transmit CTS Source
71807  *  0b0..CTS input is the CTS_B pin.
71808  *  0b1..CTS input is an internal connection to the receiver address match result.
71809  */
71810 #define LPUART_MODIR_TXCTSSRC(x)                 (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSSRC_SHIFT)) & LPUART_MODIR_TXCTSSRC_MASK)
71811 
71812 #define LPUART_MODIR_RTSWATER_MASK               (0x300U)
71813 #define LPUART_MODIR_RTSWATER_SHIFT              (8U)
71814 /*! RTSWATER - Receive RTS Configuration
71815  */
71816 #define LPUART_MODIR_RTSWATER(x)                 (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RTSWATER_SHIFT)) & LPUART_MODIR_RTSWATER_MASK)
71817 
71818 #define LPUART_MODIR_TNP_MASK                    (0x30000U)
71819 #define LPUART_MODIR_TNP_SHIFT                   (16U)
71820 /*! TNP - Transmitter narrow pulse
71821  *  0b00..1/OSR.
71822  *  0b01..2/OSR.
71823  *  0b10..3/OSR.
71824  *  0b11..4/OSR.
71825  */
71826 #define LPUART_MODIR_TNP(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TNP_SHIFT)) & LPUART_MODIR_TNP_MASK)
71827 
71828 #define LPUART_MODIR_IREN_MASK                   (0x40000U)
71829 #define LPUART_MODIR_IREN_SHIFT                  (18U)
71830 /*! IREN - Infrared enable
71831  *  0b0..IR disabled.
71832  *  0b1..IR enabled.
71833  */
71834 #define LPUART_MODIR_IREN(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_IREN_SHIFT)) & LPUART_MODIR_IREN_MASK)
71835 /*! @} */
71836 
71837 /*! @name FIFO - LPUART FIFO Register */
71838 /*! @{ */
71839 
71840 #define LPUART_FIFO_RXFIFOSIZE_MASK              (0x7U)
71841 #define LPUART_FIFO_RXFIFOSIZE_SHIFT             (0U)
71842 /*! RXFIFOSIZE - Receive FIFO Buffer Depth
71843  *  0b000..Receive FIFO/Buffer depth = 1 dataword.
71844  *  0b001..Receive FIFO/Buffer depth = 4 datawords.
71845  *  0b010..Receive FIFO/Buffer depth = 8 datawords.
71846  *  0b011..Receive FIFO/Buffer depth = 16 datawords.
71847  *  0b100..Receive FIFO/Buffer depth = 32 datawords.
71848  *  0b101..Receive FIFO/Buffer depth = 64 datawords.
71849  *  0b110..Receive FIFO/Buffer depth = 128 datawords.
71850  *  0b111..Receive FIFO/Buffer depth = 256 datawords.
71851  */
71852 #define LPUART_FIFO_RXFIFOSIZE(x)                (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXFIFOSIZE_SHIFT)) & LPUART_FIFO_RXFIFOSIZE_MASK)
71853 
71854 #define LPUART_FIFO_RXFE_MASK                    (0x8U)
71855 #define LPUART_FIFO_RXFE_SHIFT                   (3U)
71856 /*! RXFE - Receive FIFO Enable
71857  *  0b0..Receive FIFO is not enabled. Buffer depth is 1.
71858  *  0b1..Receive FIFO is enabled. Buffer depth is indicted by RXFIFOSIZE.
71859  */
71860 #define LPUART_FIFO_RXFE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXFE_SHIFT)) & LPUART_FIFO_RXFE_MASK)
71861 
71862 #define LPUART_FIFO_TXFIFOSIZE_MASK              (0x70U)
71863 #define LPUART_FIFO_TXFIFOSIZE_SHIFT             (4U)
71864 /*! TXFIFOSIZE - Transmit FIFO Buffer Depth
71865  *  0b000..Transmit FIFO/Buffer depth = 1 dataword.
71866  *  0b001..Transmit FIFO/Buffer depth = 4 datawords.
71867  *  0b010..Transmit FIFO/Buffer depth = 8 datawords.
71868  *  0b011..Transmit FIFO/Buffer depth = 16 datawords.
71869  *  0b100..Transmit FIFO/Buffer depth = 32 datawords.
71870  *  0b101..Transmit FIFO/Buffer depth = 64 datawords.
71871  *  0b110..Transmit FIFO/Buffer depth = 128 datawords.
71872  *  0b111..Transmit FIFO/Buffer depth = 256 datawords
71873  */
71874 #define LPUART_FIFO_TXFIFOSIZE(x)                (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXFIFOSIZE_SHIFT)) & LPUART_FIFO_TXFIFOSIZE_MASK)
71875 
71876 #define LPUART_FIFO_TXFE_MASK                    (0x80U)
71877 #define LPUART_FIFO_TXFE_SHIFT                   (7U)
71878 /*! TXFE - Transmit FIFO Enable
71879  *  0b0..Transmit FIFO is not enabled. Buffer depth is 1.
71880  *  0b1..Transmit FIFO is enabled. Buffer depth is indicated by TXFIFOSIZE.
71881  */
71882 #define LPUART_FIFO_TXFE(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXFE_SHIFT)) & LPUART_FIFO_TXFE_MASK)
71883 
71884 #define LPUART_FIFO_RXUFE_MASK                   (0x100U)
71885 #define LPUART_FIFO_RXUFE_SHIFT                  (8U)
71886 /*! RXUFE - Receive FIFO Underflow Interrupt Enable
71887  *  0b0..RXUF flag does not generate an interrupt to the host.
71888  *  0b1..RXUF flag generates an interrupt to the host.
71889  */
71890 #define LPUART_FIFO_RXUFE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXUFE_SHIFT)) & LPUART_FIFO_RXUFE_MASK)
71891 
71892 #define LPUART_FIFO_TXOFE_MASK                   (0x200U)
71893 #define LPUART_FIFO_TXOFE_SHIFT                  (9U)
71894 /*! TXOFE - Transmit FIFO Overflow Interrupt Enable
71895  *  0b0..TXOF flag does not generate an interrupt to the host.
71896  *  0b1..TXOF flag generates an interrupt to the host.
71897  */
71898 #define LPUART_FIFO_TXOFE(x)                     (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXOFE_SHIFT)) & LPUART_FIFO_TXOFE_MASK)
71899 
71900 #define LPUART_FIFO_RXIDEN_MASK                  (0x1C00U)
71901 #define LPUART_FIFO_RXIDEN_SHIFT                 (10U)
71902 /*! RXIDEN - Receiver Idle Empty Enable
71903  *  0b000..Disable RDRF assertion due to partially filled FIFO when receiver is idle.
71904  *  0b001..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 1 character.
71905  *  0b010..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 2 characters.
71906  *  0b011..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 4 characters.
71907  *  0b100..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 8 characters.
71908  *  0b101..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 16 characters.
71909  *  0b110..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 32 characters.
71910  *  0b111..Enable RDRF assertion due to partially filled FIFO when receiver is idle for 64 characters.
71911  */
71912 #define LPUART_FIFO_RXIDEN(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXIDEN_SHIFT)) & LPUART_FIFO_RXIDEN_MASK)
71913 
71914 #define LPUART_FIFO_RXFLUSH_MASK                 (0x4000U)
71915 #define LPUART_FIFO_RXFLUSH_SHIFT                (14U)
71916 /*! RXFLUSH - Receive FIFO Flush
71917  *  0b0..No flush operation occurs.
71918  *  0b1..All data in the receive FIFO/buffer is cleared out.
71919  */
71920 #define LPUART_FIFO_RXFLUSH(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXFLUSH_SHIFT)) & LPUART_FIFO_RXFLUSH_MASK)
71921 
71922 #define LPUART_FIFO_TXFLUSH_MASK                 (0x8000U)
71923 #define LPUART_FIFO_TXFLUSH_SHIFT                (15U)
71924 /*! TXFLUSH - Transmit FIFO Flush
71925  *  0b0..No flush operation occurs.
71926  *  0b1..All data in the transmit FIFO is cleared out.
71927  */
71928 #define LPUART_FIFO_TXFLUSH(x)                   (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXFLUSH_SHIFT)) & LPUART_FIFO_TXFLUSH_MASK)
71929 
71930 #define LPUART_FIFO_RXUF_MASK                    (0x10000U)
71931 #define LPUART_FIFO_RXUF_SHIFT                   (16U)
71932 /*! RXUF - Receiver FIFO Underflow Flag
71933  *  0b0..No receive FIFO underflow has occurred since the last time the flag was cleared.
71934  *  0b1..At least one receive FIFO underflow has occurred since the last time the flag was cleared.
71935  */
71936 #define LPUART_FIFO_RXUF(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXUF_SHIFT)) & LPUART_FIFO_RXUF_MASK)
71937 
71938 #define LPUART_FIFO_TXOF_MASK                    (0x20000U)
71939 #define LPUART_FIFO_TXOF_SHIFT                   (17U)
71940 /*! TXOF - Transmitter FIFO Overflow Flag
71941  *  0b0..No transmit FIFO overflow has occurred since the last time the flag was cleared.
71942  *  0b1..At least one transmit FIFO overflow has occurred since the last time the flag was cleared.
71943  */
71944 #define LPUART_FIFO_TXOF(x)                      (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXOF_SHIFT)) & LPUART_FIFO_TXOF_MASK)
71945 
71946 #define LPUART_FIFO_RXEMPT_MASK                  (0x400000U)
71947 #define LPUART_FIFO_RXEMPT_SHIFT                 (22U)
71948 /*! RXEMPT - Receive FIFO/Buffer Empty
71949  *  0b0..Receive buffer is not empty.
71950  *  0b1..Receive buffer is empty.
71951  */
71952 #define LPUART_FIFO_RXEMPT(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_RXEMPT_SHIFT)) & LPUART_FIFO_RXEMPT_MASK)
71953 
71954 #define LPUART_FIFO_TXEMPT_MASK                  (0x800000U)
71955 #define LPUART_FIFO_TXEMPT_SHIFT                 (23U)
71956 /*! TXEMPT - Transmit FIFO/Buffer Empty
71957  *  0b0..Transmit buffer is not empty.
71958  *  0b1..Transmit buffer is empty.
71959  */
71960 #define LPUART_FIFO_TXEMPT(x)                    (((uint32_t)(((uint32_t)(x)) << LPUART_FIFO_TXEMPT_SHIFT)) & LPUART_FIFO_TXEMPT_MASK)
71961 /*! @} */
71962 
71963 /*! @name WATER - LPUART Watermark Register */
71964 /*! @{ */
71965 
71966 #define LPUART_WATER_TXWATER_MASK                (0x3U)
71967 #define LPUART_WATER_TXWATER_SHIFT               (0U)
71968 /*! TXWATER - Transmit Watermark
71969  */
71970 #define LPUART_WATER_TXWATER(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_WATER_TXWATER_SHIFT)) & LPUART_WATER_TXWATER_MASK)
71971 
71972 #define LPUART_WATER_TXCOUNT_MASK                (0x700U)
71973 #define LPUART_WATER_TXCOUNT_SHIFT               (8U)
71974 /*! TXCOUNT - Transmit Counter
71975  */
71976 #define LPUART_WATER_TXCOUNT(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_WATER_TXCOUNT_SHIFT)) & LPUART_WATER_TXCOUNT_MASK)
71977 
71978 #define LPUART_WATER_RXWATER_MASK                (0x30000U)
71979 #define LPUART_WATER_RXWATER_SHIFT               (16U)
71980 /*! RXWATER - Receive Watermark
71981  */
71982 #define LPUART_WATER_RXWATER(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_WATER_RXWATER_SHIFT)) & LPUART_WATER_RXWATER_MASK)
71983 
71984 #define LPUART_WATER_RXCOUNT_MASK                (0x7000000U)
71985 #define LPUART_WATER_RXCOUNT_SHIFT               (24U)
71986 /*! RXCOUNT - Receive Counter
71987  */
71988 #define LPUART_WATER_RXCOUNT(x)                  (((uint32_t)(((uint32_t)(x)) << LPUART_WATER_RXCOUNT_SHIFT)) & LPUART_WATER_RXCOUNT_MASK)
71989 /*! @} */
71990 
71991 
71992 /*!
71993  * @}
71994  */ /* end of group LPUART_Register_Masks */
71995 
71996 
71997 /* LPUART - Peripheral instance base addresses */
71998 /** Peripheral LPUART1 base address */
71999 #define LPUART1_BASE                             (0x4007C000u)
72000 /** Peripheral LPUART1 base pointer */
72001 #define LPUART1                                  ((LPUART_Type *)LPUART1_BASE)
72002 /** Peripheral LPUART2 base address */
72003 #define LPUART2_BASE                             (0x40080000u)
72004 /** Peripheral LPUART2 base pointer */
72005 #define LPUART2                                  ((LPUART_Type *)LPUART2_BASE)
72006 /** Peripheral LPUART3 base address */
72007 #define LPUART3_BASE                             (0x40084000u)
72008 /** Peripheral LPUART3 base pointer */
72009 #define LPUART3                                  ((LPUART_Type *)LPUART3_BASE)
72010 /** Peripheral LPUART4 base address */
72011 #define LPUART4_BASE                             (0x40088000u)
72012 /** Peripheral LPUART4 base pointer */
72013 #define LPUART4                                  ((LPUART_Type *)LPUART4_BASE)
72014 /** Peripheral LPUART5 base address */
72015 #define LPUART5_BASE                             (0x4008C000u)
72016 /** Peripheral LPUART5 base pointer */
72017 #define LPUART5                                  ((LPUART_Type *)LPUART5_BASE)
72018 /** Peripheral LPUART6 base address */
72019 #define LPUART6_BASE                             (0x40090000u)
72020 /** Peripheral LPUART6 base pointer */
72021 #define LPUART6                                  ((LPUART_Type *)LPUART6_BASE)
72022 /** Peripheral LPUART7 base address */
72023 #define LPUART7_BASE                             (0x40094000u)
72024 /** Peripheral LPUART7 base pointer */
72025 #define LPUART7                                  ((LPUART_Type *)LPUART7_BASE)
72026 /** Peripheral LPUART8 base address */
72027 #define LPUART8_BASE                             (0x40098000u)
72028 /** Peripheral LPUART8 base pointer */
72029 #define LPUART8                                  ((LPUART_Type *)LPUART8_BASE)
72030 /** Peripheral LPUART9 base address */
72031 #define LPUART9_BASE                             (0x4009C000u)
72032 /** Peripheral LPUART9 base pointer */
72033 #define LPUART9                                  ((LPUART_Type *)LPUART9_BASE)
72034 /** Peripheral LPUART10 base address */
72035 #define LPUART10_BASE                            (0x400A0000u)
72036 /** Peripheral LPUART10 base pointer */
72037 #define LPUART10                                 ((LPUART_Type *)LPUART10_BASE)
72038 /** Peripheral LPUART11 base address */
72039 #define LPUART11_BASE                            (0x40C24000u)
72040 /** Peripheral LPUART11 base pointer */
72041 #define LPUART11                                 ((LPUART_Type *)LPUART11_BASE)
72042 /** Peripheral LPUART12 base address */
72043 #define LPUART12_BASE                            (0x40C28000u)
72044 /** Peripheral LPUART12 base pointer */
72045 #define LPUART12                                 ((LPUART_Type *)LPUART12_BASE)
72046 /** Array initializer of LPUART peripheral base addresses */
72047 #define LPUART_BASE_ADDRS                        { 0u, LPUART1_BASE, LPUART2_BASE, LPUART3_BASE, LPUART4_BASE, LPUART5_BASE, LPUART6_BASE, LPUART7_BASE, LPUART8_BASE, LPUART9_BASE, LPUART10_BASE, LPUART11_BASE, LPUART12_BASE }
72048 /** Array initializer of LPUART peripheral base pointers */
72049 #define LPUART_BASE_PTRS                         { (LPUART_Type *)0u, LPUART1, LPUART2, LPUART3, LPUART4, LPUART5, LPUART6, LPUART7, LPUART8, LPUART9, LPUART10, LPUART11, LPUART12 }
72050 /** Interrupt vectors for the LPUART peripheral type */
72051 #define LPUART_RX_TX_IRQS                        { NotAvail_IRQn, LPUART1_IRQn, LPUART2_IRQn, LPUART3_IRQn, LPUART4_IRQn, LPUART5_IRQn, LPUART6_IRQn, LPUART7_IRQn, LPUART8_IRQn, LPUART9_IRQn, LPUART10_IRQn, LPUART11_IRQn, LPUART12_IRQn }
72052 
72053 /*!
72054  * @}
72055  */ /* end of group LPUART_Peripheral_Access_Layer */
72056 
72057 
72058 /* ----------------------------------------------------------------------------
72059    -- MCM Peripheral Access Layer
72060    ---------------------------------------------------------------------------- */
72061 
72062 /*!
72063  * @addtogroup MCM_Peripheral_Access_Layer MCM Peripheral Access Layer
72064  * @{
72065  */
72066 
72067 /** MCM - Register Layout Typedef */
72068 typedef struct {
72069        uint8_t RESERVED_0[16];
72070   __IO uint32_t ISCR;                              /**< Interrupt Status and Control Register, offset: 0x10 */
72071 } MCM_Type;
72072 
72073 /* ----------------------------------------------------------------------------
72074    -- MCM Register Masks
72075    ---------------------------------------------------------------------------- */
72076 
72077 /*!
72078  * @addtogroup MCM_Register_Masks MCM Register Masks
72079  * @{
72080  */
72081 
72082 /*! @name ISCR - Interrupt Status and Control Register */
72083 /*! @{ */
72084 
72085 #define MCM_ISCR_WABS_MASK                       (0x20U)
72086 #define MCM_ISCR_WABS_SHIFT                      (5U)
72087 /*! WABS - Write Abort on Slave
72088  *  0b0..No abort
72089  *  0b1..Abort
72090  */
72091 #define MCM_ISCR_WABS(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_WABS_SHIFT)) & MCM_ISCR_WABS_MASK)
72092 
72093 #define MCM_ISCR_WABSO_MASK                      (0x40U)
72094 #define MCM_ISCR_WABSO_SHIFT                     (6U)
72095 /*! WABSO - Write Abort on Slave Overrun
72096  *  0b0..No write abort overrun
72097  *  0b1..Write abort overrun occurred
72098  */
72099 #define MCM_ISCR_WABSO(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_WABSO_SHIFT)) & MCM_ISCR_WABSO_MASK)
72100 
72101 #define MCM_ISCR_FIOC_MASK                       (0x100U)
72102 #define MCM_ISCR_FIOC_SHIFT                      (8U)
72103 /*! FIOC - FPU Invalid Operation interrupt Status
72104  *  0b0..No interrupt
72105  *  0b1..Interrupt occured
72106  */
72107 #define MCM_ISCR_FIOC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIOC_SHIFT)) & MCM_ISCR_FIOC_MASK)
72108 
72109 #define MCM_ISCR_FDZC_MASK                       (0x200U)
72110 #define MCM_ISCR_FDZC_SHIFT                      (9U)
72111 /*! FDZC - FPU Divide-by-Zero Interrupt Status
72112  *  0b0..No interrupt
72113  *  0b1..Interrupt occured
72114  */
72115 #define MCM_ISCR_FDZC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FDZC_SHIFT)) & MCM_ISCR_FDZC_MASK)
72116 
72117 #define MCM_ISCR_FOFC_MASK                       (0x400U)
72118 #define MCM_ISCR_FOFC_SHIFT                      (10U)
72119 /*! FOFC - FPU Overflow interrupt status
72120  *  0b0..No interrupt
72121  *  0b1..Interrupt occured
72122  */
72123 #define MCM_ISCR_FOFC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FOFC_SHIFT)) & MCM_ISCR_FOFC_MASK)
72124 
72125 #define MCM_ISCR_FUFC_MASK                       (0x800U)
72126 #define MCM_ISCR_FUFC_SHIFT                      (11U)
72127 /*! FUFC - FPU Underflow Interrupt Status
72128  *  0b0..No interrupt
72129  *  0b1..Interrupt occured
72130  */
72131 #define MCM_ISCR_FUFC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FUFC_SHIFT)) & MCM_ISCR_FUFC_MASK)
72132 
72133 #define MCM_ISCR_FIXC_MASK                       (0x1000U)
72134 #define MCM_ISCR_FIXC_SHIFT                      (12U)
72135 /*! FIXC - FPU Inexact Interrupt Status
72136  *  0b0..No interrupt
72137  *  0b1..Interrupt occured
72138  */
72139 #define MCM_ISCR_FIXC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIXC_SHIFT)) & MCM_ISCR_FIXC_MASK)
72140 
72141 #define MCM_ISCR_FIDC_MASK                       (0x8000U)
72142 #define MCM_ISCR_FIDC_SHIFT                      (15U)
72143 /*! FIDC - FPU Input Denormal Interrupt Status
72144  *  0b0..No interrupt
72145  *  0b1..Interrupt occured
72146  */
72147 #define MCM_ISCR_FIDC(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIDC_SHIFT)) & MCM_ISCR_FIDC_MASK)
72148 
72149 #define MCM_ISCR_WABE_MASK                       (0x200000U)
72150 #define MCM_ISCR_WABE_SHIFT                      (21U)
72151 /*! WABE - TCM Write Abort Interrupt enable
72152  *  0b0..Disable interrupt
72153  *  0b1..Enable interrupt
72154  */
72155 #define MCM_ISCR_WABE(x)                         (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_WABE_SHIFT)) & MCM_ISCR_WABE_MASK)
72156 
72157 #define MCM_ISCR_FIOCE_MASK                      (0x1000000U)
72158 #define MCM_ISCR_FIOCE_SHIFT                     (24U)
72159 /*! FIOCE - FPU Invalid Operation Interrupt Enable
72160  *  0b0..Disable interrupt
72161  *  0b1..Enable interrupt
72162  */
72163 #define MCM_ISCR_FIOCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIOCE_SHIFT)) & MCM_ISCR_FIOCE_MASK)
72164 
72165 #define MCM_ISCR_FDZCE_MASK                      (0x2000000U)
72166 #define MCM_ISCR_FDZCE_SHIFT                     (25U)
72167 /*! FDZCE - FPU Divide-by-Zero Interrupt Enable
72168  *  0b0..Disable interrupt
72169  *  0b1..Enable interrupt
72170  */
72171 #define MCM_ISCR_FDZCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FDZCE_SHIFT)) & MCM_ISCR_FDZCE_MASK)
72172 
72173 #define MCM_ISCR_FOFCE_MASK                      (0x4000000U)
72174 #define MCM_ISCR_FOFCE_SHIFT                     (26U)
72175 /*! FOFCE - FPU Overflow Interrupt Enable
72176  *  0b0..Disable interrupt
72177  *  0b1..Enable interrupt
72178  */
72179 #define MCM_ISCR_FOFCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FOFCE_SHIFT)) & MCM_ISCR_FOFCE_MASK)
72180 
72181 #define MCM_ISCR_FUFCE_MASK                      (0x8000000U)
72182 #define MCM_ISCR_FUFCE_SHIFT                     (27U)
72183 /*! FUFCE - FPU Underflow Interrupt Enable
72184  *  0b0..Disable interrupt
72185  *  0b1..Enable interrupt
72186  */
72187 #define MCM_ISCR_FUFCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FUFCE_SHIFT)) & MCM_ISCR_FUFCE_MASK)
72188 
72189 #define MCM_ISCR_FIXCE_MASK                      (0x10000000U)
72190 #define MCM_ISCR_FIXCE_SHIFT                     (28U)
72191 /*! FIXCE - FPU Inexact Interrupt Enable
72192  *  0b0..Disable interrupt
72193  *  0b1..Enable interrupt
72194  */
72195 #define MCM_ISCR_FIXCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIXCE_SHIFT)) & MCM_ISCR_FIXCE_MASK)
72196 
72197 #define MCM_ISCR_FIDCE_MASK                      (0x80000000U)
72198 #define MCM_ISCR_FIDCE_SHIFT                     (31U)
72199 /*! FIDCE - FPU Input Denormal Interrupt Enable
72200  *  0b0..Disable interrupt
72201  *  0b1..Enable interrupt
72202  */
72203 #define MCM_ISCR_FIDCE(x)                        (((uint32_t)(((uint32_t)(x)) << MCM_ISCR_FIDCE_SHIFT)) & MCM_ISCR_FIDCE_MASK)
72204 /*! @} */
72205 
72206 
72207 /*!
72208  * @}
72209  */ /* end of group MCM_Register_Masks */
72210 
72211 
72212 /* MCM - Peripheral instance base addresses */
72213 /** Peripheral CM7_MCM base address */
72214 #define CM7_MCM_BASE                             (0xE0080000u)
72215 /** Peripheral CM7_MCM base pointer */
72216 #define CM7_MCM                                  ((MCM_Type *)CM7_MCM_BASE)
72217 /** Array initializer of MCM peripheral base addresses */
72218 #define MCM_BASE_ADDRS                           { CM7_MCM_BASE }
72219 /** Array initializer of MCM peripheral base pointers */
72220 #define MCM_BASE_PTRS                            { CM7_MCM }
72221 
72222 /*!
72223  * @}
72224  */ /* end of group MCM_Peripheral_Access_Layer */
72225 
72226 
72227 /* ----------------------------------------------------------------------------
72228    -- MECC Peripheral Access Layer
72229    ---------------------------------------------------------------------------- */
72230 
72231 /*!
72232  * @addtogroup MECC_Peripheral_Access_Layer MECC Peripheral Access Layer
72233  * @{
72234  */
72235 
72236 /** MECC - Register Layout Typedef */
72237 typedef struct {
72238   __IO uint32_t ERR_STATUS;                        /**< Error Interrupt Status Register, offset: 0x0 */
72239   __IO uint32_t ERR_STAT_EN;                       /**< Error Interrupt Status Enable Register, offset: 0x4 */
72240   __IO uint32_t ERR_SIG_EN;                        /**< Error Interrupt Enable Register, offset: 0x8 */
72241   __IO uint32_t ERR_DATA_INJ_LOW0;                 /**< Error Injection On LOW 32 bits Of OCRAM Bank0 Write Data, offset: 0xC */
72242   __IO uint32_t ERR_DATA_INJ_HIGH0;                /**< Error Injection On HIGH 32 bits Of OCRAM Bank0 Write Data, offset: 0x10 */
72243   __IO uint32_t ERR_ECC_INJ0;                      /**< Error Injection On 8 bits ECC code Of OCRAM Bank0 Write Data, offset: 0x14 */
72244   __IO uint32_t ERR_DATA_INJ_LOW1;                 /**< Error Injection On LOW 32 bits Of OCRAM Bank1 Write Data, offset: 0x18 */
72245   __IO uint32_t ERR_DATA_INJ_HIGH1;                /**< Error Injection On HIGH 32 bits Of OCRAM Bank1 Write Data, offset: 0x1C */
72246   __IO uint32_t ERR_ECC_INJ1;                      /**< Error Injection On 8 bits ECC code Of OCRAM Bank1 Write Data, offset: 0x20 */
72247   __IO uint32_t ERR_DATA_INJ_LOW2;                 /**< Error Injection On LOW 32 bits Of OCRAM Bank2 Write Data, offset: 0x24 */
72248   __IO uint32_t ERR_DATA_INJ_HIGH2;                /**< Error Injection On HIGH 32 bits Of OCRAM Bank2 Write Data, offset: 0x28 */
72249   __IO uint32_t ERR_ECC_INJ2;                      /**< Error Injection On 8 bits ECC code Of OCRAM Bank2 Write Data, offset: 0x2C */
72250   __IO uint32_t ERR_DATA_INJ_LOW3;                 /**< Error Injection On LOW 32 bits Of OCRAM Bank3 Write Data, offset: 0x30 */
72251   __IO uint32_t ERR_DATA_INJ_HIGH3;                /**< Error Injection On HIGH 32 bits Of OCRAM Bank3 Write Data, offset: 0x34 */
72252   __IO uint32_t ERR_ECC_INJ3;                      /**< Error Injection On 8 bits ECC code Of OCRAM Bank3 Write Data, offset: 0x38 */
72253   __I  uint32_t SINGLE_ERR_ADDR_ECC0;              /**< Single Error Address And ECC code On OCRAM Bank0, offset: 0x3C */
72254   __I  uint32_t SINGLE_ERR_DATA_LOW0;              /**< LOW 32 Bits Single Error Read Data On OCRAM Bank0, offset: 0x40 */
72255   __I  uint32_t SINGLE_ERR_DATA_HIGH0;             /**< HIGH 32 Bits Single Error Read Data On OCRAM Bank0, offset: 0x44 */
72256   __I  uint32_t SINGLE_ERR_POS_LOW0;               /**< LOW Single Error Bit Position On OCRAM Bank0, offset: 0x48 */
72257   __I  uint32_t SINGLE_ERR_POS_HIGH0;              /**< HIGH Single Error Bit Position On OCRAM Bank0, offset: 0x4C */
72258   __I  uint32_t SINGLE_ERR_ADDR_ECC1;              /**< Single Error Address And ECC code On OCRAM Bank1, offset: 0x50 */
72259   __I  uint32_t SINGLE_ERR_DATA_LOW1;              /**< LOW 32 Bits Single Error Read Data On OCRAM Bank1, offset: 0x54 */
72260   __I  uint32_t SINGLE_ERR_DATA_HIGH1;             /**< HIGH 32 Bits Single Error Read Data On OCRAM Bank1, offset: 0x58 */
72261   __I  uint32_t SINGLE_ERR_POS_LOW1;               /**< LOW Single Error Bit Position On OCRAM Bank1, offset: 0x5C */
72262   __I  uint32_t SINGLE_ERR_POS_HIGH1;              /**< HIGH Single Error Bit Position On OCRAM Bank1, offset: 0x60 */
72263   __I  uint32_t SINGLE_ERR_ADDR_ECC2;              /**< Single Error Address And ECC code On OCRAM Bank2, offset: 0x64 */
72264   __I  uint32_t SINGLE_ERR_DATA_LOW2;              /**< LOW 32 Bits Single Error Read Data On OCRAM Bank2, offset: 0x68 */
72265   __I  uint32_t SINGLE_ERR_DATA_HIGH2;             /**< HIGH 32 Bits Single Error Read Data On OCRAM Bank2, offset: 0x6C */
72266   __I  uint32_t SINGLE_ERR_POS_LOW2;               /**< LOW Single Error Bit Position On OCRAM Bank2, offset: 0x70 */
72267   __I  uint32_t SINGLE_ERR_POS_HIGH2;              /**< HIGH Single Error Bit Position On OCRAM Bank2, offset: 0x74 */
72268   __I  uint32_t SINGLE_ERR_ADDR_ECC3;              /**< Single Error Address And ECC code On OCRAM Bank3, offset: 0x78 */
72269   __I  uint32_t SINGLE_ERR_DATA_LOW3;              /**< LOW 32 Bits Single Error Read Data On OCRAM Bank3, offset: 0x7C */
72270   __I  uint32_t SINGLE_ERR_DATA_HIGH3;             /**< HIGH 32 Bits Single Error Read Data On OCRAM Bank3, offset: 0x80 */
72271   __I  uint32_t SINGLE_ERR_POS_LOW3;               /**< LOW Single Error Bit Position On OCRAM Bank3, offset: 0x84 */
72272   __I  uint32_t SINGLE_ERR_POS_HIGH3;              /**< HIGH Single Error Bit Position On OCRAM Bank3, offset: 0x88 */
72273   __I  uint32_t MULTI_ERR_ADDR_ECC0;               /**< Multiple Error Address And ECC code On OCRAM Bank0, offset: 0x8C */
72274   __I  uint32_t MULTI_ERR_DATA_LOW0;               /**< LOW 32 Bits Multiple Error Read Data On OCRAM Bank0, offset: 0x90 */
72275   __I  uint32_t MULTI_ERR_DATA_HIGH0;              /**< HIGH 32 Bits Multiple Error Read Data On OCRAM Bank0, offset: 0x94 */
72276   __I  uint32_t MULTI_ERR_ADDR_ECC1;               /**< Multiple Error Address And ECC code On OCRAM Bank1, offset: 0x98 */
72277   __I  uint32_t MULTI_ERR_DATA_LOW1;               /**< LOW 32 Bits Multiple Error Read Data On OCRAM Bank1, offset: 0x9C */
72278   __I  uint32_t MULTI_ERR_DATA_HIGH1;              /**< HIGH 32 Bits Multiple Error Read Data On OCRAM Bank1, offset: 0xA0 */
72279   __I  uint32_t MULTI_ERR_ADDR_ECC2;               /**< Multiple Error Address And ECC code On OCRAM Bank2, offset: 0xA4 */
72280   __I  uint32_t MULTI_ERR_DATA_LOW2;               /**< LOW 32 Bits Multiple Error Read Data On OCRAM Bank2, offset: 0xA8 */
72281   __I  uint32_t MULTI_ERR_DATA_HIGH2;              /**< HIGH 32 Bits Multiple Error Read Data On OCRAM Bank2, offset: 0xAC */
72282   __I  uint32_t MULTI_ERR_ADDR_ECC3;               /**< Multiple Error Address And ECC code On OCRAM Bank3, offset: 0xB0 */
72283   __I  uint32_t MULTI_ERR_DATA_LOW3;               /**< LOW 32 Bits Multiple Error Read Data On OCRAM Bank3, offset: 0xB4 */
72284   __I  uint32_t MULTI_ERR_DATA_HIGH3;              /**< HIGH 32 Bits Multiple Error Read Data On OCRAM Bank3, offset: 0xB8 */
72285        uint8_t RESERVED_0[68];
72286   __IO uint32_t PIPE_ECC_EN;                       /**< OCRAM Pipeline And ECC Enable, offset: 0x100 */
72287   __I  uint32_t PENDING_STAT;                      /**< Pending Status, offset: 0x104 */
72288 } MECC_Type;
72289 
72290 /* ----------------------------------------------------------------------------
72291    -- MECC Register Masks
72292    ---------------------------------------------------------------------------- */
72293 
72294 /*!
72295  * @addtogroup MECC_Register_Masks MECC Register Masks
72296  * @{
72297  */
72298 
72299 /*! @name ERR_STATUS - Error Interrupt Status Register */
72300 /*! @{ */
72301 
72302 #define MECC_ERR_STATUS_SINGLE_ERR0_MASK         (0x1U)
72303 #define MECC_ERR_STATUS_SINGLE_ERR0_SHIFT        (0U)
72304 /*! SINGLE_ERR0 - Single Bit Error On OCRAM Bank0
72305  *  0b0..Single bit error does not happen on OCRAM bank0.
72306  *  0b1..Single bit error happens on OCRAM bank0.
72307  */
72308 #define MECC_ERR_STATUS_SINGLE_ERR0(x)           (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_SINGLE_ERR0_SHIFT)) & MECC_ERR_STATUS_SINGLE_ERR0_MASK)
72309 
72310 #define MECC_ERR_STATUS_SINGLE_ERR1_MASK         (0x2U)
72311 #define MECC_ERR_STATUS_SINGLE_ERR1_SHIFT        (1U)
72312 /*! SINGLE_ERR1 - Single Bit Error On OCRAM Bank1
72313  *  0b0..Single bit error does not happen on OCRAM bank1.
72314  *  0b1..Single bit error happens on OCRAM bank1.
72315  */
72316 #define MECC_ERR_STATUS_SINGLE_ERR1(x)           (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_SINGLE_ERR1_SHIFT)) & MECC_ERR_STATUS_SINGLE_ERR1_MASK)
72317 
72318 #define MECC_ERR_STATUS_SINGLE_ERR2_MASK         (0x4U)
72319 #define MECC_ERR_STATUS_SINGLE_ERR2_SHIFT        (2U)
72320 /*! SINGLE_ERR2 - Single Bit Error On OCRAM Bank2
72321  *  0b0..Single bit error does not happen on OCRAM bank2.
72322  *  0b1..Single bit error happens on OCRAM bank2.
72323  */
72324 #define MECC_ERR_STATUS_SINGLE_ERR2(x)           (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_SINGLE_ERR2_SHIFT)) & MECC_ERR_STATUS_SINGLE_ERR2_MASK)
72325 
72326 #define MECC_ERR_STATUS_SINGLE_ERR3_MASK         (0x8U)
72327 #define MECC_ERR_STATUS_SINGLE_ERR3_SHIFT        (3U)
72328 /*! SINGLE_ERR3 - Single Bit Error On OCRAM Bank3
72329  *  0b0..Single bit error does not happen on OCRAM bank3.
72330  *  0b1..Single bit error happens on OCRAM bank3.
72331  */
72332 #define MECC_ERR_STATUS_SINGLE_ERR3(x)           (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_SINGLE_ERR3_SHIFT)) & MECC_ERR_STATUS_SINGLE_ERR3_MASK)
72333 
72334 #define MECC_ERR_STATUS_MULTI_ERR0_MASK          (0x10U)
72335 #define MECC_ERR_STATUS_MULTI_ERR0_SHIFT         (4U)
72336 /*! MULTI_ERR0 - Multiple Bits Error On OCRAM Bank0
72337  *  0b0..Multiple bits error does not happen on OCRAM bank0.
72338  *  0b1..Multiple bits error happens on OCRAM bank0.
72339  */
72340 #define MECC_ERR_STATUS_MULTI_ERR0(x)            (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_MULTI_ERR0_SHIFT)) & MECC_ERR_STATUS_MULTI_ERR0_MASK)
72341 
72342 #define MECC_ERR_STATUS_MULTI_ERR1_MASK          (0x20U)
72343 #define MECC_ERR_STATUS_MULTI_ERR1_SHIFT         (5U)
72344 /*! MULTI_ERR1 - Multiple Bits Error On OCRAM Bank1
72345  *  0b0..Multiple bits error does not happen on OCRAM bank1.
72346  *  0b1..Multiple bits error happens on OCRAM bank1.
72347  */
72348 #define MECC_ERR_STATUS_MULTI_ERR1(x)            (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_MULTI_ERR1_SHIFT)) & MECC_ERR_STATUS_MULTI_ERR1_MASK)
72349 
72350 #define MECC_ERR_STATUS_MULTI_ERR2_MASK          (0x40U)
72351 #define MECC_ERR_STATUS_MULTI_ERR2_SHIFT         (6U)
72352 /*! MULTI_ERR2 - Multiple Bits Error On OCRAM Bank2
72353  *  0b0..Multiple bits error does not happen on OCRAM bank2.
72354  *  0b1..Multiple bits error happens on OCRAM bank2.
72355  */
72356 #define MECC_ERR_STATUS_MULTI_ERR2(x)            (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_MULTI_ERR2_SHIFT)) & MECC_ERR_STATUS_MULTI_ERR2_MASK)
72357 
72358 #define MECC_ERR_STATUS_MULTI_ERR3_MASK          (0x80U)
72359 #define MECC_ERR_STATUS_MULTI_ERR3_SHIFT         (7U)
72360 /*! MULTI_ERR3 - Multiple Bits Error On OCRAM Bank3
72361  *  0b0..Multiple bits error does not happen on OCRAM bank3.
72362  *  0b1..Multiple bits error happens on OCRAM bank3.
72363  */
72364 #define MECC_ERR_STATUS_MULTI_ERR3(x)            (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_MULTI_ERR3_SHIFT)) & MECC_ERR_STATUS_MULTI_ERR3_MASK)
72365 
72366 #define MECC_ERR_STATUS_STRB_ERR0_MASK           (0x100U)
72367 #define MECC_ERR_STATUS_STRB_ERR0_SHIFT          (8U)
72368 /*! STRB_ERR0 - AXI Strobe Error On OCRAM Bank0
72369  *  0b0..AXI strobe error does not happen on OCRAM bank0.
72370  *  0b1..AXI strobe error happens on OCRAM bank0.
72371  */
72372 #define MECC_ERR_STATUS_STRB_ERR0(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_STRB_ERR0_SHIFT)) & MECC_ERR_STATUS_STRB_ERR0_MASK)
72373 
72374 #define MECC_ERR_STATUS_STRB_ERR1_MASK           (0x200U)
72375 #define MECC_ERR_STATUS_STRB_ERR1_SHIFT          (9U)
72376 /*! STRB_ERR1 - AXI Strobe Error On OCRAM Bank1
72377  *  0b0..AXI strobe error does not happen on OCRAM bank1.
72378  *  0b1..AXI strobe error happens on OCRAM bank1.
72379  */
72380 #define MECC_ERR_STATUS_STRB_ERR1(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_STRB_ERR1_SHIFT)) & MECC_ERR_STATUS_STRB_ERR1_MASK)
72381 
72382 #define MECC_ERR_STATUS_STRB_ERR2_MASK           (0x400U)
72383 #define MECC_ERR_STATUS_STRB_ERR2_SHIFT          (10U)
72384 /*! STRB_ERR2 - AXI Strobe Error On OCRAM Bank2
72385  *  0b0..AXI strobe error does not happen on OCRAM bank2.
72386  *  0b1..AXI strobe error happens on OCRAM bank2.
72387  */
72388 #define MECC_ERR_STATUS_STRB_ERR2(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_STRB_ERR2_SHIFT)) & MECC_ERR_STATUS_STRB_ERR2_MASK)
72389 
72390 #define MECC_ERR_STATUS_STRB_ERR3_MASK           (0x800U)
72391 #define MECC_ERR_STATUS_STRB_ERR3_SHIFT          (11U)
72392 /*! STRB_ERR3 - AXI Strobe Error On OCRAM Bank3
72393  *  0b0..AXI strobe error does not happen on OCRAM bank3.
72394  *  0b1..AXI strobe error happens on OCRAM bank3.
72395  */
72396 #define MECC_ERR_STATUS_STRB_ERR3(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_STRB_ERR3_SHIFT)) & MECC_ERR_STATUS_STRB_ERR3_MASK)
72397 
72398 #define MECC_ERR_STATUS_ADDR_ERR0_MASK           (0x1000U)
72399 #define MECC_ERR_STATUS_ADDR_ERR0_SHIFT          (12U)
72400 /*! ADDR_ERR0 - OCRAM Access Error On Bank0
72401  *  0b0..OCRAM access error does not happen on OCRAM bank0.
72402  *  0b1..OCRAM access error happens on OCRAM bank0.
72403  */
72404 #define MECC_ERR_STATUS_ADDR_ERR0(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_ADDR_ERR0_SHIFT)) & MECC_ERR_STATUS_ADDR_ERR0_MASK)
72405 
72406 #define MECC_ERR_STATUS_ADDR_ERR1_MASK           (0x2000U)
72407 #define MECC_ERR_STATUS_ADDR_ERR1_SHIFT          (13U)
72408 /*! ADDR_ERR1 - OCRAM Access Error On Bank1
72409  *  0b0..OCRAM access error does not happen on OCRAM bank1.
72410  *  0b1..OCRAM access error happens on OCRAM bank1.
72411  */
72412 #define MECC_ERR_STATUS_ADDR_ERR1(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_ADDR_ERR1_SHIFT)) & MECC_ERR_STATUS_ADDR_ERR1_MASK)
72413 
72414 #define MECC_ERR_STATUS_ADDR_ERR2_MASK           (0x4000U)
72415 #define MECC_ERR_STATUS_ADDR_ERR2_SHIFT          (14U)
72416 /*! ADDR_ERR2 - OCRAM Access Error On Bank2
72417  *  0b0..OCRAM access error does not happen on OCRAM bank2.
72418  *  0b1..OCRAM access error happens on OCRAM bank2.
72419  */
72420 #define MECC_ERR_STATUS_ADDR_ERR2(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_ADDR_ERR2_SHIFT)) & MECC_ERR_STATUS_ADDR_ERR2_MASK)
72421 
72422 #define MECC_ERR_STATUS_ADDR_ERR3_MASK           (0x8000U)
72423 #define MECC_ERR_STATUS_ADDR_ERR3_SHIFT          (15U)
72424 /*! ADDR_ERR3 - OCRAM Access Error On Bank3
72425  *  0b0..OCRAM access error does not happen on OCRAM bank3.
72426  *  0b1..OCRAM access error happens on OCRAM bank3.
72427  */
72428 #define MECC_ERR_STATUS_ADDR_ERR3(x)             (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STATUS_ADDR_ERR3_SHIFT)) & MECC_ERR_STATUS_ADDR_ERR3_MASK)
72429 /*! @} */
72430 
72431 /*! @name ERR_STAT_EN - Error Interrupt Status Enable Register */
72432 /*! @{ */
72433 
72434 #define MECC_ERR_STAT_EN_SINGLE_ERR0_STAT_EN_MASK (0x1U)
72435 #define MECC_ERR_STAT_EN_SINGLE_ERR0_STAT_EN_SHIFT (0U)
72436 /*! SINGLE_ERR0_STAT_EN - Single Bit Error Status Enable On OCRAM Bank0
72437  *  0b0..Disabled
72438  *  0b1..Enabled
72439  */
72440 #define MECC_ERR_STAT_EN_SINGLE_ERR0_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_SINGLE_ERR0_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_SINGLE_ERR0_STAT_EN_MASK)
72441 
72442 #define MECC_ERR_STAT_EN_SINGLE_ERR1_STAT_EN_MASK (0x2U)
72443 #define MECC_ERR_STAT_EN_SINGLE_ERR1_STAT_EN_SHIFT (1U)
72444 /*! SINGLE_ERR1_STAT_EN - Single Bit Error Status Enable On OCRAM Bank1
72445  *  0b0..Disabled
72446  *  0b1..Enabled
72447  */
72448 #define MECC_ERR_STAT_EN_SINGLE_ERR1_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_SINGLE_ERR1_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_SINGLE_ERR1_STAT_EN_MASK)
72449 
72450 #define MECC_ERR_STAT_EN_SINGLE_ERR2_STAT_EN_MASK (0x4U)
72451 #define MECC_ERR_STAT_EN_SINGLE_ERR2_STAT_EN_SHIFT (2U)
72452 /*! SINGLE_ERR2_STAT_EN - Single Bit Error Status Enable On OCRAM Bank2
72453  *  0b0..Disabled
72454  *  0b1..Enabled
72455  */
72456 #define MECC_ERR_STAT_EN_SINGLE_ERR2_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_SINGLE_ERR2_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_SINGLE_ERR2_STAT_EN_MASK)
72457 
72458 #define MECC_ERR_STAT_EN_SINGLE_ERR3_STAT_EN_MASK (0x8U)
72459 #define MECC_ERR_STAT_EN_SINGLE_ERR3_STAT_EN_SHIFT (3U)
72460 /*! SINGLE_ERR3_STAT_EN - Single Bit Error Status Enable On OCRAM Bank3
72461  *  0b0..Disabled
72462  *  0b1..Enabled
72463  */
72464 #define MECC_ERR_STAT_EN_SINGLE_ERR3_STAT_EN(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_SINGLE_ERR3_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_SINGLE_ERR3_STAT_EN_MASK)
72465 
72466 #define MECC_ERR_STAT_EN_MULTI_ERR0_STAT_EN_MASK (0x10U)
72467 #define MECC_ERR_STAT_EN_MULTI_ERR0_STAT_EN_SHIFT (4U)
72468 /*! MULTI_ERR0_STAT_EN - Multiple Bits Error Status Enable On OCRAM Bank0
72469  *  0b0..Disabled
72470  *  0b1..Enabled
72471  */
72472 #define MECC_ERR_STAT_EN_MULTI_ERR0_STAT_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_MULTI_ERR0_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_MULTI_ERR0_STAT_EN_MASK)
72473 
72474 #define MECC_ERR_STAT_EN_MULTI_ERR1_STAT_EN_MASK (0x20U)
72475 #define MECC_ERR_STAT_EN_MULTI_ERR1_STAT_EN_SHIFT (5U)
72476 /*! MULTI_ERR1_STAT_EN - Multiple Bits Error Status Enable On OCRAM Bank1
72477  *  0b0..Disabled
72478  *  0b1..Enabled
72479  */
72480 #define MECC_ERR_STAT_EN_MULTI_ERR1_STAT_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_MULTI_ERR1_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_MULTI_ERR1_STAT_EN_MASK)
72481 
72482 #define MECC_ERR_STAT_EN_MULTI_ERR2_STAT_EN_MASK (0x40U)
72483 #define MECC_ERR_STAT_EN_MULTI_ERR2_STAT_EN_SHIFT (6U)
72484 /*! MULTI_ERR2_STAT_EN - Multiple Bits Error Status Enable On OCRAM Bank2
72485  *  0b0..Disabled
72486  *  0b1..Enabled
72487  */
72488 #define MECC_ERR_STAT_EN_MULTI_ERR2_STAT_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_MULTI_ERR2_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_MULTI_ERR2_STAT_EN_MASK)
72489 
72490 #define MECC_ERR_STAT_EN_MULTI_ERR3_STAT_EN_MASK (0x80U)
72491 #define MECC_ERR_STAT_EN_MULTI_ERR3_STAT_EN_SHIFT (7U)
72492 /*! MULTI_ERR3_STAT_EN - Multiple Bits Error Status Enable On OCRAM Bank3
72493  *  0b0..Disabled
72494  *  0b1..Enabled
72495  */
72496 #define MECC_ERR_STAT_EN_MULTI_ERR3_STAT_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_MULTI_ERR3_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_MULTI_ERR3_STAT_EN_MASK)
72497 
72498 #define MECC_ERR_STAT_EN_STRB_ERR0_STAT_EN_MASK  (0x100U)
72499 #define MECC_ERR_STAT_EN_STRB_ERR0_STAT_EN_SHIFT (8U)
72500 /*! STRB_ERR0_STAT_EN - AXI Strobe Error Status Enable On OCRAM Bank0
72501  *  0b0..Disabled
72502  *  0b1..Enabled
72503  */
72504 #define MECC_ERR_STAT_EN_STRB_ERR0_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_STRB_ERR0_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_STRB_ERR0_STAT_EN_MASK)
72505 
72506 #define MECC_ERR_STAT_EN_STRB_ERR1_STAT_EN_MASK  (0x200U)
72507 #define MECC_ERR_STAT_EN_STRB_ERR1_STAT_EN_SHIFT (9U)
72508 /*! STRB_ERR1_STAT_EN - AXI Strobe Error Status Enable On OCRAM Bank1
72509  *  0b0..Disabled
72510  *  0b1..Enabled
72511  */
72512 #define MECC_ERR_STAT_EN_STRB_ERR1_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_STRB_ERR1_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_STRB_ERR1_STAT_EN_MASK)
72513 
72514 #define MECC_ERR_STAT_EN_STRB_ERR2_STAT_EN_MASK  (0x400U)
72515 #define MECC_ERR_STAT_EN_STRB_ERR2_STAT_EN_SHIFT (10U)
72516 /*! STRB_ERR2_STAT_EN - AXI Strobe Error Status Enable On OCRAM Bank2
72517  *  0b0..Disabled
72518  *  0b1..Enabled
72519  */
72520 #define MECC_ERR_STAT_EN_STRB_ERR2_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_STRB_ERR2_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_STRB_ERR2_STAT_EN_MASK)
72521 
72522 #define MECC_ERR_STAT_EN_STRB_ERR3_STAT_EN_MASK  (0x800U)
72523 #define MECC_ERR_STAT_EN_STRB_ERR3_STAT_EN_SHIFT (11U)
72524 /*! STRB_ERR3_STAT_EN - AXI Strobe Error Status Enable On OCRAM Bank3
72525  *  0b0..Disabled
72526  *  0b1..Enabled
72527  */
72528 #define MECC_ERR_STAT_EN_STRB_ERR3_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_STRB_ERR3_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_STRB_ERR3_STAT_EN_MASK)
72529 
72530 #define MECC_ERR_STAT_EN_ADDR_ERR0_STAT_EN_MASK  (0x1000U)
72531 #define MECC_ERR_STAT_EN_ADDR_ERR0_STAT_EN_SHIFT (12U)
72532 /*! ADDR_ERR0_STAT_EN - OCRAM Access Error Status Enable On Bank0
72533  *  0b0..Disabled
72534  *  0b1..Enabled
72535  */
72536 #define MECC_ERR_STAT_EN_ADDR_ERR0_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_ADDR_ERR0_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_ADDR_ERR0_STAT_EN_MASK)
72537 
72538 #define MECC_ERR_STAT_EN_ADDR_ERR1_STAT_EN_MASK  (0x2000U)
72539 #define MECC_ERR_STAT_EN_ADDR_ERR1_STAT_EN_SHIFT (13U)
72540 /*! ADDR_ERR1_STAT_EN - OCRAM Access Error Status Enable On Bank1
72541  *  0b0..Disabled
72542  *  0b1..Enabled
72543  */
72544 #define MECC_ERR_STAT_EN_ADDR_ERR1_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_ADDR_ERR1_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_ADDR_ERR1_STAT_EN_MASK)
72545 
72546 #define MECC_ERR_STAT_EN_ADDR_ERR2_STAT_EN_MASK  (0x4000U)
72547 #define MECC_ERR_STAT_EN_ADDR_ERR2_STAT_EN_SHIFT (14U)
72548 /*! ADDR_ERR2_STAT_EN - OCRAM Access Error Status Enable On Bank2
72549  *  0b0..Disabled
72550  *  0b1..Enabled
72551  */
72552 #define MECC_ERR_STAT_EN_ADDR_ERR2_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_ADDR_ERR2_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_ADDR_ERR2_STAT_EN_MASK)
72553 
72554 #define MECC_ERR_STAT_EN_ADDR_ERR3_STAT_EN_MASK  (0x8000U)
72555 #define MECC_ERR_STAT_EN_ADDR_ERR3_STAT_EN_SHIFT (15U)
72556 /*! ADDR_ERR3_STAT_EN - OCRAM Access Error Status Enable On Bank3
72557  *  0b0..Disabled
72558  *  0b1..Enabled
72559  */
72560 #define MECC_ERR_STAT_EN_ADDR_ERR3_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_STAT_EN_ADDR_ERR3_STAT_EN_SHIFT)) & MECC_ERR_STAT_EN_ADDR_ERR3_STAT_EN_MASK)
72561 /*! @} */
72562 
72563 /*! @name ERR_SIG_EN - Error Interrupt Enable Register */
72564 /*! @{ */
72565 
72566 #define MECC_ERR_SIG_EN_SINGLE_ERR0_SIG_EN_MASK  (0x1U)
72567 #define MECC_ERR_SIG_EN_SINGLE_ERR0_SIG_EN_SHIFT (0U)
72568 /*! SINGLE_ERR0_SIG_EN - Single Bit Error Interrupt Enable On OCRAM Bank0
72569  *  0b0..Disabled
72570  *  0b1..Enabled
72571  */
72572 #define MECC_ERR_SIG_EN_SINGLE_ERR0_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_SINGLE_ERR0_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_SINGLE_ERR0_SIG_EN_MASK)
72573 
72574 #define MECC_ERR_SIG_EN_SINGLE_ERR1_SIG_EN_MASK  (0x2U)
72575 #define MECC_ERR_SIG_EN_SINGLE_ERR1_SIG_EN_SHIFT (1U)
72576 /*! SINGLE_ERR1_SIG_EN - Single Bit Error Interrupt Enable On OCRAM Bank1
72577  *  0b0..Disabled
72578  *  0b1..Enabled
72579  */
72580 #define MECC_ERR_SIG_EN_SINGLE_ERR1_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_SINGLE_ERR1_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_SINGLE_ERR1_SIG_EN_MASK)
72581 
72582 #define MECC_ERR_SIG_EN_SINGLE_ERR2_SIG_EN_MASK  (0x4U)
72583 #define MECC_ERR_SIG_EN_SINGLE_ERR2_SIG_EN_SHIFT (2U)
72584 /*! SINGLE_ERR2_SIG_EN - Single Bit Error Interrupt Enable On OCRAM Bank2
72585  *  0b0..Disabled
72586  *  0b1..Enabled
72587  */
72588 #define MECC_ERR_SIG_EN_SINGLE_ERR2_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_SINGLE_ERR2_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_SINGLE_ERR2_SIG_EN_MASK)
72589 
72590 #define MECC_ERR_SIG_EN_SINGLE_ERR3_SIG_EN_MASK  (0x8U)
72591 #define MECC_ERR_SIG_EN_SINGLE_ERR3_SIG_EN_SHIFT (3U)
72592 /*! SINGLE_ERR3_SIG_EN - Single Bit Error Interrupt Enable On OCRAM Bank3
72593  *  0b0..Disabled
72594  *  0b1..Enabled
72595  */
72596 #define MECC_ERR_SIG_EN_SINGLE_ERR3_SIG_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_SINGLE_ERR3_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_SINGLE_ERR3_SIG_EN_MASK)
72597 
72598 #define MECC_ERR_SIG_EN_MULTI_ERR0_SIG_EN_MASK   (0x10U)
72599 #define MECC_ERR_SIG_EN_MULTI_ERR0_SIG_EN_SHIFT  (4U)
72600 /*! MULTI_ERR0_SIG_EN - Multiple Bits Error Interrupt Enable On OCRAM Bank0
72601  *  0b0..Disabled
72602  *  0b1..Enabled
72603  */
72604 #define MECC_ERR_SIG_EN_MULTI_ERR0_SIG_EN(x)     (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_MULTI_ERR0_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_MULTI_ERR0_SIG_EN_MASK)
72605 
72606 #define MECC_ERR_SIG_EN_MULTI_ERR1_SIG_EN_MASK   (0x20U)
72607 #define MECC_ERR_SIG_EN_MULTI_ERR1_SIG_EN_SHIFT  (5U)
72608 /*! MULTI_ERR1_SIG_EN - Multiple Bits Error Interrupt Enable On OCRAM Bank1
72609  *  0b0..Disabled
72610  *  0b1..Enabled
72611  */
72612 #define MECC_ERR_SIG_EN_MULTI_ERR1_SIG_EN(x)     (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_MULTI_ERR1_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_MULTI_ERR1_SIG_EN_MASK)
72613 
72614 #define MECC_ERR_SIG_EN_MULTI_ERR2_SIG_EN_MASK   (0x40U)
72615 #define MECC_ERR_SIG_EN_MULTI_ERR2_SIG_EN_SHIFT  (6U)
72616 /*! MULTI_ERR2_SIG_EN - Multiple Bits Error Interrupt Enable On OCRAM Bank2
72617  *  0b0..Disabled
72618  *  0b1..Enabled
72619  */
72620 #define MECC_ERR_SIG_EN_MULTI_ERR2_SIG_EN(x)     (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_MULTI_ERR2_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_MULTI_ERR2_SIG_EN_MASK)
72621 
72622 #define MECC_ERR_SIG_EN_MULTI_ERR3_SIG_EN_MASK   (0x80U)
72623 #define MECC_ERR_SIG_EN_MULTI_ERR3_SIG_EN_SHIFT  (7U)
72624 /*! MULTI_ERR3_SIG_EN - Multiple Bits Error Interrupt Enable On OCRAM Bank3
72625  *  0b0..Disabled
72626  *  0b1..Enabled
72627  */
72628 #define MECC_ERR_SIG_EN_MULTI_ERR3_SIG_EN(x)     (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_MULTI_ERR3_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_MULTI_ERR3_SIG_EN_MASK)
72629 
72630 #define MECC_ERR_SIG_EN_STRB_ERR0_SIG_EN_MASK    (0x100U)
72631 #define MECC_ERR_SIG_EN_STRB_ERR0_SIG_EN_SHIFT   (8U)
72632 /*! STRB_ERR0_SIG_EN - AXI Strobe Error Interrupt Enable On OCRAM Bank0
72633  *  0b0..Disabled
72634  *  0b1..Enabled
72635  */
72636 #define MECC_ERR_SIG_EN_STRB_ERR0_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_STRB_ERR0_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_STRB_ERR0_SIG_EN_MASK)
72637 
72638 #define MECC_ERR_SIG_EN_STRB_ERR1_SIG_EN_MASK    (0x200U)
72639 #define MECC_ERR_SIG_EN_STRB_ERR1_SIG_EN_SHIFT   (9U)
72640 /*! STRB_ERR1_SIG_EN - AXI Strobe Error Interrupt Enable On OCRAM Bank1
72641  *  0b0..Disabled
72642  *  0b1..Enabled
72643  */
72644 #define MECC_ERR_SIG_EN_STRB_ERR1_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_STRB_ERR1_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_STRB_ERR1_SIG_EN_MASK)
72645 
72646 #define MECC_ERR_SIG_EN_STRB_ERR2_SIG_EN_MASK    (0x400U)
72647 #define MECC_ERR_SIG_EN_STRB_ERR2_SIG_EN_SHIFT   (10U)
72648 /*! STRB_ERR2_SIG_EN - AXI Strobe Error Interrupt Enable On OCRAM Bank2
72649  *  0b0..Disabled
72650  *  0b1..Enabled
72651  */
72652 #define MECC_ERR_SIG_EN_STRB_ERR2_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_STRB_ERR2_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_STRB_ERR2_SIG_EN_MASK)
72653 
72654 #define MECC_ERR_SIG_EN_STRB_ERR3_SIG_EN_MASK    (0x800U)
72655 #define MECC_ERR_SIG_EN_STRB_ERR3_SIG_EN_SHIFT   (11U)
72656 /*! STRB_ERR3_SIG_EN - AXI Strobe Error Interrupt Enable On OCRAM Bank3
72657  *  0b0..Disabled
72658  *  0b1..Enabled
72659  */
72660 #define MECC_ERR_SIG_EN_STRB_ERR3_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_STRB_ERR3_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_STRB_ERR3_SIG_EN_MASK)
72661 
72662 #define MECC_ERR_SIG_EN_ADDR_ERR0_SIG_EN_MASK    (0x1000U)
72663 #define MECC_ERR_SIG_EN_ADDR_ERR0_SIG_EN_SHIFT   (12U)
72664 /*! ADDR_ERR0_SIG_EN - OCRAM Access Error Interrupt Enable On Bank0
72665  *  0b0..Disabled
72666  *  0b1..Enabled
72667  */
72668 #define MECC_ERR_SIG_EN_ADDR_ERR0_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_ADDR_ERR0_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_ADDR_ERR0_SIG_EN_MASK)
72669 
72670 #define MECC_ERR_SIG_EN_ADDR_ERR1_SIG_EN_MASK    (0x2000U)
72671 #define MECC_ERR_SIG_EN_ADDR_ERR1_SIG_EN_SHIFT   (13U)
72672 /*! ADDR_ERR1_SIG_EN - OCRAM Access Error Interrupt Enable On Bank1
72673  *  0b0..Disabled
72674  *  0b1..Enabled
72675  */
72676 #define MECC_ERR_SIG_EN_ADDR_ERR1_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_ADDR_ERR1_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_ADDR_ERR1_SIG_EN_MASK)
72677 
72678 #define MECC_ERR_SIG_EN_ADDR_ERR2_SIG_EN_MASK    (0x4000U)
72679 #define MECC_ERR_SIG_EN_ADDR_ERR2_SIG_EN_SHIFT   (14U)
72680 /*! ADDR_ERR2_SIG_EN - OCRAM Access Error Interrupt Enable On Bank2
72681  *  0b0..Disabled
72682  *  0b1..Enabled
72683  */
72684 #define MECC_ERR_SIG_EN_ADDR_ERR2_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_ADDR_ERR2_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_ADDR_ERR2_SIG_EN_MASK)
72685 
72686 #define MECC_ERR_SIG_EN_ADDR_ERR3_SIG_EN_MASK    (0x8000U)
72687 #define MECC_ERR_SIG_EN_ADDR_ERR3_SIG_EN_SHIFT   (15U)
72688 /*! ADDR_ERR3_SIG_EN - OCRAM Access Error Interrupt Enable On Bank3
72689  *  0b0..Disabled
72690  *  0b1..Enabled
72691  */
72692 #define MECC_ERR_SIG_EN_ADDR_ERR3_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << MECC_ERR_SIG_EN_ADDR_ERR3_SIG_EN_SHIFT)) & MECC_ERR_SIG_EN_ADDR_ERR3_SIG_EN_MASK)
72693 /*! @} */
72694 
72695 /*! @name ERR_DATA_INJ_LOW0 - Error Injection On LOW 32 bits Of OCRAM Bank0 Write Data */
72696 /*! @{ */
72697 
72698 #define MECC_ERR_DATA_INJ_LOW0_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72699 #define MECC_ERR_DATA_INJ_LOW0_ERR_DATA_INJ_SHIFT (0U)
72700 /*! ERR_DATA_INJ - Error Injection On LOW 32 bits Of OCRAM Bank0 Write Data
72701  */
72702 #define MECC_ERR_DATA_INJ_LOW0_ERR_DATA_INJ(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_LOW0_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_LOW0_ERR_DATA_INJ_MASK)
72703 /*! @} */
72704 
72705 /*! @name ERR_DATA_INJ_HIGH0 - Error Injection On HIGH 32 bits Of OCRAM Bank0 Write Data */
72706 /*! @{ */
72707 
72708 #define MECC_ERR_DATA_INJ_HIGH0_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72709 #define MECC_ERR_DATA_INJ_HIGH0_ERR_DATA_INJ_SHIFT (0U)
72710 /*! ERR_DATA_INJ - Error Injection On HIGH 32 bits Of OCRAM Bank0 Write Data
72711  */
72712 #define MECC_ERR_DATA_INJ_HIGH0_ERR_DATA_INJ(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_HIGH0_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_HIGH0_ERR_DATA_INJ_MASK)
72713 /*! @} */
72714 
72715 /*! @name ERR_ECC_INJ0 - Error Injection On 8 bits ECC code Of OCRAM Bank0 Write Data */
72716 /*! @{ */
72717 
72718 #define MECC_ERR_ECC_INJ0_ERR_ECC_INJ_MASK       (0xFFU)
72719 #define MECC_ERR_ECC_INJ0_ERR_ECC_INJ_SHIFT      (0U)
72720 /*! ERR_ECC_INJ - Error Injection On 8 bits ECC code Of OCRAM Bank0 Write Data
72721  */
72722 #define MECC_ERR_ECC_INJ0_ERR_ECC_INJ(x)         (((uint32_t)(((uint32_t)(x)) << MECC_ERR_ECC_INJ0_ERR_ECC_INJ_SHIFT)) & MECC_ERR_ECC_INJ0_ERR_ECC_INJ_MASK)
72723 /*! @} */
72724 
72725 /*! @name ERR_DATA_INJ_LOW1 - Error Injection On LOW 32 bits Of OCRAM Bank1 Write Data */
72726 /*! @{ */
72727 
72728 #define MECC_ERR_DATA_INJ_LOW1_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72729 #define MECC_ERR_DATA_INJ_LOW1_ERR_DATA_INJ_SHIFT (0U)
72730 /*! ERR_DATA_INJ - Error Injection On LOW 32 bits Of OCRAM Bank1 Write Data
72731  */
72732 #define MECC_ERR_DATA_INJ_LOW1_ERR_DATA_INJ(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_LOW1_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_LOW1_ERR_DATA_INJ_MASK)
72733 /*! @} */
72734 
72735 /*! @name ERR_DATA_INJ_HIGH1 - Error Injection On HIGH 32 bits Of OCRAM Bank1 Write Data */
72736 /*! @{ */
72737 
72738 #define MECC_ERR_DATA_INJ_HIGH1_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72739 #define MECC_ERR_DATA_INJ_HIGH1_ERR_DATA_INJ_SHIFT (0U)
72740 /*! ERR_DATA_INJ - Error Injection On HIGH 32 bits Of OCRAM Bank1 Write Data
72741  */
72742 #define MECC_ERR_DATA_INJ_HIGH1_ERR_DATA_INJ(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_HIGH1_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_HIGH1_ERR_DATA_INJ_MASK)
72743 /*! @} */
72744 
72745 /*! @name ERR_ECC_INJ1 - Error Injection On 8 bits ECC code Of OCRAM Bank1 Write Data */
72746 /*! @{ */
72747 
72748 #define MECC_ERR_ECC_INJ1_ERR_ECC_INJ_MASK       (0xFFU)
72749 #define MECC_ERR_ECC_INJ1_ERR_ECC_INJ_SHIFT      (0U)
72750 /*! ERR_ECC_INJ - Error Injection On 8 bits ECC code Of OCRAM Bank1 Write Data
72751  */
72752 #define MECC_ERR_ECC_INJ1_ERR_ECC_INJ(x)         (((uint32_t)(((uint32_t)(x)) << MECC_ERR_ECC_INJ1_ERR_ECC_INJ_SHIFT)) & MECC_ERR_ECC_INJ1_ERR_ECC_INJ_MASK)
72753 /*! @} */
72754 
72755 /*! @name ERR_DATA_INJ_LOW2 - Error Injection On LOW 32 bits Of OCRAM Bank2 Write Data */
72756 /*! @{ */
72757 
72758 #define MECC_ERR_DATA_INJ_LOW2_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72759 #define MECC_ERR_DATA_INJ_LOW2_ERR_DATA_INJ_SHIFT (0U)
72760 /*! ERR_DATA_INJ - Error Injection On LOW 32 bits Of OCRAM Bank2 Write Data
72761  */
72762 #define MECC_ERR_DATA_INJ_LOW2_ERR_DATA_INJ(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_LOW2_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_LOW2_ERR_DATA_INJ_MASK)
72763 /*! @} */
72764 
72765 /*! @name ERR_DATA_INJ_HIGH2 - Error Injection On HIGH 32 bits Of OCRAM Bank2 Write Data */
72766 /*! @{ */
72767 
72768 #define MECC_ERR_DATA_INJ_HIGH2_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72769 #define MECC_ERR_DATA_INJ_HIGH2_ERR_DATA_INJ_SHIFT (0U)
72770 /*! ERR_DATA_INJ - Error Injection On HIGH 32 bits Of OCRAM Bank2 Write Data
72771  */
72772 #define MECC_ERR_DATA_INJ_HIGH2_ERR_DATA_INJ(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_HIGH2_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_HIGH2_ERR_DATA_INJ_MASK)
72773 /*! @} */
72774 
72775 /*! @name ERR_ECC_INJ2 - Error Injection On 8 bits ECC code Of OCRAM Bank2 Write Data */
72776 /*! @{ */
72777 
72778 #define MECC_ERR_ECC_INJ2_ERR_ECC_INJ_MASK       (0xFFU)
72779 #define MECC_ERR_ECC_INJ2_ERR_ECC_INJ_SHIFT      (0U)
72780 /*! ERR_ECC_INJ - Error Injection On 8 bits ECC code Of OCRAM Bank2 Write Data
72781  */
72782 #define MECC_ERR_ECC_INJ2_ERR_ECC_INJ(x)         (((uint32_t)(((uint32_t)(x)) << MECC_ERR_ECC_INJ2_ERR_ECC_INJ_SHIFT)) & MECC_ERR_ECC_INJ2_ERR_ECC_INJ_MASK)
72783 /*! @} */
72784 
72785 /*! @name ERR_DATA_INJ_LOW3 - Error Injection On LOW 32 bits Of OCRAM Bank3 Write Data */
72786 /*! @{ */
72787 
72788 #define MECC_ERR_DATA_INJ_LOW3_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72789 #define MECC_ERR_DATA_INJ_LOW3_ERR_DATA_INJ_SHIFT (0U)
72790 /*! ERR_DATA_INJ - Error Injection On LOW 32 bits Of OCRAM Bank3 Write Data
72791  */
72792 #define MECC_ERR_DATA_INJ_LOW3_ERR_DATA_INJ(x)   (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_LOW3_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_LOW3_ERR_DATA_INJ_MASK)
72793 /*! @} */
72794 
72795 /*! @name ERR_DATA_INJ_HIGH3 - Error Injection On HIGH 32 bits Of OCRAM Bank3 Write Data */
72796 /*! @{ */
72797 
72798 #define MECC_ERR_DATA_INJ_HIGH3_ERR_DATA_INJ_MASK (0xFFFFFFFFU)
72799 #define MECC_ERR_DATA_INJ_HIGH3_ERR_DATA_INJ_SHIFT (0U)
72800 /*! ERR_DATA_INJ - Error Injection On HIGH 32 bits Of OCRAM Bank3 Write Data
72801  */
72802 #define MECC_ERR_DATA_INJ_HIGH3_ERR_DATA_INJ(x)  (((uint32_t)(((uint32_t)(x)) << MECC_ERR_DATA_INJ_HIGH3_ERR_DATA_INJ_SHIFT)) & MECC_ERR_DATA_INJ_HIGH3_ERR_DATA_INJ_MASK)
72803 /*! @} */
72804 
72805 /*! @name ERR_ECC_INJ3 - Error Injection On 8 bits ECC code Of OCRAM Bank3 Write Data */
72806 /*! @{ */
72807 
72808 #define MECC_ERR_ECC_INJ3_ERR_ECC_INJ_MASK       (0xFFU)
72809 #define MECC_ERR_ECC_INJ3_ERR_ECC_INJ_SHIFT      (0U)
72810 /*! ERR_ECC_INJ - Error Injection On 8 bits ECC code Of OCRAM Bank3 Write Data
72811  */
72812 #define MECC_ERR_ECC_INJ3_ERR_ECC_INJ(x)         (((uint32_t)(((uint32_t)(x)) << MECC_ERR_ECC_INJ3_ERR_ECC_INJ_SHIFT)) & MECC_ERR_ECC_INJ3_ERR_ECC_INJ_MASK)
72813 /*! @} */
72814 
72815 /*! @name SINGLE_ERR_ADDR_ECC0 - Single Error Address And ECC code On OCRAM Bank0 */
72816 /*! @{ */
72817 
72818 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ECC_MASK (0xFFU)
72819 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ECC_SHIFT (0U)
72820 /*! SINGLE_ERR_ECC - Single Error ECC code On OCRAM Bank0
72821  */
72822 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ECC_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ECC_MASK)
72823 
72824 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ADDR_MASK (0x7FFFF00U)
72825 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ADDR_SHIFT (8U)
72826 /*! SINGLE_ERR_ADDR - Single Error Address On OCRAM Bank0
72827  */
72828 #define MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ADDR_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC0_SINGLE_ERR_ADDR_MASK)
72829 /*! @} */
72830 
72831 /*! @name SINGLE_ERR_DATA_LOW0 - LOW 32 Bits Single Error Read Data On OCRAM Bank0 */
72832 /*! @{ */
72833 
72834 #define MECC_SINGLE_ERR_DATA_LOW0_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72835 #define MECC_SINGLE_ERR_DATA_LOW0_SINGLE_ERR_DATA_SHIFT (0U)
72836 /*! SINGLE_ERR_DATA - LOW 32 Bits Single Error Read Data On OCRAM Bank0
72837  */
72838 #define MECC_SINGLE_ERR_DATA_LOW0_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_LOW0_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_LOW0_SINGLE_ERR_DATA_MASK)
72839 /*! @} */
72840 
72841 /*! @name SINGLE_ERR_DATA_HIGH0 - HIGH 32 Bits Single Error Read Data On OCRAM Bank0 */
72842 /*! @{ */
72843 
72844 #define MECC_SINGLE_ERR_DATA_HIGH0_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72845 #define MECC_SINGLE_ERR_DATA_HIGH0_SINGLE_ERR_DATA_SHIFT (0U)
72846 /*! SINGLE_ERR_DATA - HIGH 32 Bits Single Error Read Data On OCRAM Bank0
72847  */
72848 #define MECC_SINGLE_ERR_DATA_HIGH0_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_HIGH0_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_HIGH0_SINGLE_ERR_DATA_MASK)
72849 /*! @} */
72850 
72851 /*! @name SINGLE_ERR_POS_LOW0 - LOW Single Error Bit Position On OCRAM Bank0 */
72852 /*! @{ */
72853 
72854 #define MECC_SINGLE_ERR_POS_LOW0_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72855 #define MECC_SINGLE_ERR_POS_LOW0_SINGLE_ERR_POS_SHIFT (0U)
72856 /*! SINGLE_ERR_POS - LOW Single Error Bit Position On OCRAM Bank0
72857  */
72858 #define MECC_SINGLE_ERR_POS_LOW0_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_LOW0_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_LOW0_SINGLE_ERR_POS_MASK)
72859 /*! @} */
72860 
72861 /*! @name SINGLE_ERR_POS_HIGH0 - HIGH Single Error Bit Position On OCRAM Bank0 */
72862 /*! @{ */
72863 
72864 #define MECC_SINGLE_ERR_POS_HIGH0_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72865 #define MECC_SINGLE_ERR_POS_HIGH0_SINGLE_ERR_POS_SHIFT (0U)
72866 /*! SINGLE_ERR_POS - HIGH Single Error Bit Position On OCRAM Bank0
72867  */
72868 #define MECC_SINGLE_ERR_POS_HIGH0_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_HIGH0_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_HIGH0_SINGLE_ERR_POS_MASK)
72869 /*! @} */
72870 
72871 /*! @name SINGLE_ERR_ADDR_ECC1 - Single Error Address And ECC code On OCRAM Bank1 */
72872 /*! @{ */
72873 
72874 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ECC_MASK (0xFFU)
72875 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ECC_SHIFT (0U)
72876 /*! SINGLE_ERR_ECC - Single Error ECC code On OCRAM Bank1
72877  */
72878 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ECC_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ECC_MASK)
72879 
72880 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ADDR_MASK (0x7FFFF00U)
72881 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ADDR_SHIFT (8U)
72882 /*! SINGLE_ERR_ADDR - Single Error Address On OCRAM Bank1
72883  */
72884 #define MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ADDR_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC1_SINGLE_ERR_ADDR_MASK)
72885 /*! @} */
72886 
72887 /*! @name SINGLE_ERR_DATA_LOW1 - LOW 32 Bits Single Error Read Data On OCRAM Bank1 */
72888 /*! @{ */
72889 
72890 #define MECC_SINGLE_ERR_DATA_LOW1_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72891 #define MECC_SINGLE_ERR_DATA_LOW1_SINGLE_ERR_DATA_SHIFT (0U)
72892 /*! SINGLE_ERR_DATA - LOW 32 Bits Single Error Read Data On OCRAM Bank1
72893  */
72894 #define MECC_SINGLE_ERR_DATA_LOW1_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_LOW1_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_LOW1_SINGLE_ERR_DATA_MASK)
72895 /*! @} */
72896 
72897 /*! @name SINGLE_ERR_DATA_HIGH1 - HIGH 32 Bits Single Error Read Data On OCRAM Bank1 */
72898 /*! @{ */
72899 
72900 #define MECC_SINGLE_ERR_DATA_HIGH1_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72901 #define MECC_SINGLE_ERR_DATA_HIGH1_SINGLE_ERR_DATA_SHIFT (0U)
72902 /*! SINGLE_ERR_DATA - HIGH 32 Bits Single Error Read Data On OCRAM Bank1
72903  */
72904 #define MECC_SINGLE_ERR_DATA_HIGH1_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_HIGH1_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_HIGH1_SINGLE_ERR_DATA_MASK)
72905 /*! @} */
72906 
72907 /*! @name SINGLE_ERR_POS_LOW1 - LOW Single Error Bit Position On OCRAM Bank1 */
72908 /*! @{ */
72909 
72910 #define MECC_SINGLE_ERR_POS_LOW1_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72911 #define MECC_SINGLE_ERR_POS_LOW1_SINGLE_ERR_POS_SHIFT (0U)
72912 /*! SINGLE_ERR_POS - LOW Single Error Bit Position On OCRAM Bank1
72913  */
72914 #define MECC_SINGLE_ERR_POS_LOW1_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_LOW1_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_LOW1_SINGLE_ERR_POS_MASK)
72915 /*! @} */
72916 
72917 /*! @name SINGLE_ERR_POS_HIGH1 - HIGH Single Error Bit Position On OCRAM Bank1 */
72918 /*! @{ */
72919 
72920 #define MECC_SINGLE_ERR_POS_HIGH1_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72921 #define MECC_SINGLE_ERR_POS_HIGH1_SINGLE_ERR_POS_SHIFT (0U)
72922 /*! SINGLE_ERR_POS - HIGH Single Error Bit Position On OCRAM Bank1
72923  */
72924 #define MECC_SINGLE_ERR_POS_HIGH1_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_HIGH1_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_HIGH1_SINGLE_ERR_POS_MASK)
72925 /*! @} */
72926 
72927 /*! @name SINGLE_ERR_ADDR_ECC2 - Single Error Address And ECC code On OCRAM Bank2 */
72928 /*! @{ */
72929 
72930 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ECC_MASK (0xFFU)
72931 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ECC_SHIFT (0U)
72932 /*! SINGLE_ERR_ECC - Single Error ECC code On OCRAM Bank2
72933  */
72934 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ECC_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ECC_MASK)
72935 
72936 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ADDR_MASK (0x7FFFF00U)
72937 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ADDR_SHIFT (8U)
72938 /*! SINGLE_ERR_ADDR - Single Error Address On OCRAM Bank2
72939  */
72940 #define MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ADDR_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC2_SINGLE_ERR_ADDR_MASK)
72941 /*! @} */
72942 
72943 /*! @name SINGLE_ERR_DATA_LOW2 - LOW 32 Bits Single Error Read Data On OCRAM Bank2 */
72944 /*! @{ */
72945 
72946 #define MECC_SINGLE_ERR_DATA_LOW2_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72947 #define MECC_SINGLE_ERR_DATA_LOW2_SINGLE_ERR_DATA_SHIFT (0U)
72948 /*! SINGLE_ERR_DATA - LOW 32 Bits Single Error Read Data On OCRAM Bank2
72949  */
72950 #define MECC_SINGLE_ERR_DATA_LOW2_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_LOW2_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_LOW2_SINGLE_ERR_DATA_MASK)
72951 /*! @} */
72952 
72953 /*! @name SINGLE_ERR_DATA_HIGH2 - HIGH 32 Bits Single Error Read Data On OCRAM Bank2 */
72954 /*! @{ */
72955 
72956 #define MECC_SINGLE_ERR_DATA_HIGH2_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
72957 #define MECC_SINGLE_ERR_DATA_HIGH2_SINGLE_ERR_DATA_SHIFT (0U)
72958 /*! SINGLE_ERR_DATA - HIGH 32 Bits Single Error Read Data On OCRAM Bank2
72959  */
72960 #define MECC_SINGLE_ERR_DATA_HIGH2_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_HIGH2_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_HIGH2_SINGLE_ERR_DATA_MASK)
72961 /*! @} */
72962 
72963 /*! @name SINGLE_ERR_POS_LOW2 - LOW Single Error Bit Position On OCRAM Bank2 */
72964 /*! @{ */
72965 
72966 #define MECC_SINGLE_ERR_POS_LOW2_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72967 #define MECC_SINGLE_ERR_POS_LOW2_SINGLE_ERR_POS_SHIFT (0U)
72968 /*! SINGLE_ERR_POS - LOW Single Error Bit Position On OCRAM Bank2
72969  */
72970 #define MECC_SINGLE_ERR_POS_LOW2_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_LOW2_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_LOW2_SINGLE_ERR_POS_MASK)
72971 /*! @} */
72972 
72973 /*! @name SINGLE_ERR_POS_HIGH2 - HIGH Single Error Bit Position On OCRAM Bank2 */
72974 /*! @{ */
72975 
72976 #define MECC_SINGLE_ERR_POS_HIGH2_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
72977 #define MECC_SINGLE_ERR_POS_HIGH2_SINGLE_ERR_POS_SHIFT (0U)
72978 /*! SINGLE_ERR_POS - HIGH Single Error Bit Position On OCRAM Bank2
72979  */
72980 #define MECC_SINGLE_ERR_POS_HIGH2_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_HIGH2_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_HIGH2_SINGLE_ERR_POS_MASK)
72981 /*! @} */
72982 
72983 /*! @name SINGLE_ERR_ADDR_ECC3 - Single Error Address And ECC code On OCRAM Bank3 */
72984 /*! @{ */
72985 
72986 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ECC_MASK (0xFFU)
72987 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ECC_SHIFT (0U)
72988 /*! SINGLE_ERR_ECC - Single Error ECC code On OCRAM Bank3
72989  */
72990 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ECC_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ECC_MASK)
72991 
72992 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ADDR_MASK (0x7FFFF00U)
72993 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ADDR_SHIFT (8U)
72994 /*! SINGLE_ERR_ADDR - Single Error Address On OCRAM Bank3
72995  */
72996 #define MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ADDR_SHIFT)) & MECC_SINGLE_ERR_ADDR_ECC3_SINGLE_ERR_ADDR_MASK)
72997 /*! @} */
72998 
72999 /*! @name SINGLE_ERR_DATA_LOW3 - LOW 32 Bits Single Error Read Data On OCRAM Bank3 */
73000 /*! @{ */
73001 
73002 #define MECC_SINGLE_ERR_DATA_LOW3_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
73003 #define MECC_SINGLE_ERR_DATA_LOW3_SINGLE_ERR_DATA_SHIFT (0U)
73004 /*! SINGLE_ERR_DATA - LOW 32 Bits Single Error Read Data On OCRAM Bank3
73005  */
73006 #define MECC_SINGLE_ERR_DATA_LOW3_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_LOW3_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_LOW3_SINGLE_ERR_DATA_MASK)
73007 /*! @} */
73008 
73009 /*! @name SINGLE_ERR_DATA_HIGH3 - HIGH 32 Bits Single Error Read Data On OCRAM Bank3 */
73010 /*! @{ */
73011 
73012 #define MECC_SINGLE_ERR_DATA_HIGH3_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
73013 #define MECC_SINGLE_ERR_DATA_HIGH3_SINGLE_ERR_DATA_SHIFT (0U)
73014 /*! SINGLE_ERR_DATA - HIGH 32 Bits Single Error Read Data On OCRAM Bank3
73015  */
73016 #define MECC_SINGLE_ERR_DATA_HIGH3_SINGLE_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_DATA_HIGH3_SINGLE_ERR_DATA_SHIFT)) & MECC_SINGLE_ERR_DATA_HIGH3_SINGLE_ERR_DATA_MASK)
73017 /*! @} */
73018 
73019 /*! @name SINGLE_ERR_POS_LOW3 - LOW Single Error Bit Position On OCRAM Bank3 */
73020 /*! @{ */
73021 
73022 #define MECC_SINGLE_ERR_POS_LOW3_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
73023 #define MECC_SINGLE_ERR_POS_LOW3_SINGLE_ERR_POS_SHIFT (0U)
73024 /*! SINGLE_ERR_POS - LOW Single Error Bit Position On OCRAM Bank3
73025  */
73026 #define MECC_SINGLE_ERR_POS_LOW3_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_LOW3_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_LOW3_SINGLE_ERR_POS_MASK)
73027 /*! @} */
73028 
73029 /*! @name SINGLE_ERR_POS_HIGH3 - HIGH Single Error Bit Position On OCRAM Bank3 */
73030 /*! @{ */
73031 
73032 #define MECC_SINGLE_ERR_POS_HIGH3_SINGLE_ERR_POS_MASK (0xFFFFFFFFU)
73033 #define MECC_SINGLE_ERR_POS_HIGH3_SINGLE_ERR_POS_SHIFT (0U)
73034 /*! SINGLE_ERR_POS - HIGH Single Error Bit Position On OCRAM Bank3
73035  */
73036 #define MECC_SINGLE_ERR_POS_HIGH3_SINGLE_ERR_POS(x) (((uint32_t)(((uint32_t)(x)) << MECC_SINGLE_ERR_POS_HIGH3_SINGLE_ERR_POS_SHIFT)) & MECC_SINGLE_ERR_POS_HIGH3_SINGLE_ERR_POS_MASK)
73037 /*! @} */
73038 
73039 /*! @name MULTI_ERR_ADDR_ECC0 - Multiple Error Address And ECC code On OCRAM Bank0 */
73040 /*! @{ */
73041 
73042 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ECC_MASK (0xFFU)
73043 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ECC_SHIFT (0U)
73044 /*! MULTI_ERR_ECC - Multiple Error ECC code On OCRAM Bank0
73045  */
73046 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ECC_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ECC_MASK)
73047 
73048 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ADDR_MASK (0x7FFFF00U)
73049 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ADDR_SHIFT (8U)
73050 /*! MULTI_ERR_ADDR - Multiple Error Address On OCRAM Bank0
73051  */
73052 #define MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ADDR_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC0_MULTI_ERR_ADDR_MASK)
73053 /*! @} */
73054 
73055 /*! @name MULTI_ERR_DATA_LOW0 - LOW 32 Bits Multiple Error Read Data On OCRAM Bank0 */
73056 /*! @{ */
73057 
73058 #define MECC_MULTI_ERR_DATA_LOW0_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73059 #define MECC_MULTI_ERR_DATA_LOW0_MULTI_ERR_DATA_SHIFT (0U)
73060 /*! MULTI_ERR_DATA - LOW 32 Bits Multiple Error Read Data On OCRAM Bank0
73061  */
73062 #define MECC_MULTI_ERR_DATA_LOW0_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_LOW0_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_LOW0_MULTI_ERR_DATA_MASK)
73063 /*! @} */
73064 
73065 /*! @name MULTI_ERR_DATA_HIGH0 - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank0 */
73066 /*! @{ */
73067 
73068 #define MECC_MULTI_ERR_DATA_HIGH0_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73069 #define MECC_MULTI_ERR_DATA_HIGH0_MULTI_ERR_DATA_SHIFT (0U)
73070 /*! MULTI_ERR_DATA - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank0
73071  */
73072 #define MECC_MULTI_ERR_DATA_HIGH0_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_HIGH0_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_HIGH0_MULTI_ERR_DATA_MASK)
73073 /*! @} */
73074 
73075 /*! @name MULTI_ERR_ADDR_ECC1 - Multiple Error Address And ECC code On OCRAM Bank1 */
73076 /*! @{ */
73077 
73078 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ECC_MASK (0xFFU)
73079 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ECC_SHIFT (0U)
73080 /*! MULTI_ERR_ECC - Multiple Error ECC code On OCRAM Bank1
73081  */
73082 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ECC_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ECC_MASK)
73083 
73084 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ADDR_MASK (0x7FFFF00U)
73085 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ADDR_SHIFT (8U)
73086 /*! MULTI_ERR_ADDR - Multiple Error Address On OCRAM Bank1
73087  */
73088 #define MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ADDR_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC1_MULTI_ERR_ADDR_MASK)
73089 /*! @} */
73090 
73091 /*! @name MULTI_ERR_DATA_LOW1 - LOW 32 Bits Multiple Error Read Data On OCRAM Bank1 */
73092 /*! @{ */
73093 
73094 #define MECC_MULTI_ERR_DATA_LOW1_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73095 #define MECC_MULTI_ERR_DATA_LOW1_MULTI_ERR_DATA_SHIFT (0U)
73096 /*! MULTI_ERR_DATA - LOW 32 Bits Multiple Error Read Data On OCRAM Bank1
73097  */
73098 #define MECC_MULTI_ERR_DATA_LOW1_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_LOW1_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_LOW1_MULTI_ERR_DATA_MASK)
73099 /*! @} */
73100 
73101 /*! @name MULTI_ERR_DATA_HIGH1 - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank1 */
73102 /*! @{ */
73103 
73104 #define MECC_MULTI_ERR_DATA_HIGH1_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73105 #define MECC_MULTI_ERR_DATA_HIGH1_MULTI_ERR_DATA_SHIFT (0U)
73106 /*! MULTI_ERR_DATA - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank1
73107  */
73108 #define MECC_MULTI_ERR_DATA_HIGH1_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_HIGH1_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_HIGH1_MULTI_ERR_DATA_MASK)
73109 /*! @} */
73110 
73111 /*! @name MULTI_ERR_ADDR_ECC2 - Multiple Error Address And ECC code On OCRAM Bank2 */
73112 /*! @{ */
73113 
73114 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ECC_MASK (0xFFU)
73115 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ECC_SHIFT (0U)
73116 /*! MULTI_ERR_ECC - Multiple Error ECC code On OCRAM Bank2
73117  */
73118 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ECC_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ECC_MASK)
73119 
73120 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ADDR_MASK (0x7FFFF00U)
73121 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ADDR_SHIFT (8U)
73122 /*! MULTI_ERR_ADDR - Multiple Error Address On OCRAM Bank2
73123  */
73124 #define MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ADDR_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC2_MULTI_ERR_ADDR_MASK)
73125 /*! @} */
73126 
73127 /*! @name MULTI_ERR_DATA_LOW2 - LOW 32 Bits Multiple Error Read Data On OCRAM Bank2 */
73128 /*! @{ */
73129 
73130 #define MECC_MULTI_ERR_DATA_LOW2_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73131 #define MECC_MULTI_ERR_DATA_LOW2_MULTI_ERR_DATA_SHIFT (0U)
73132 /*! MULTI_ERR_DATA - LOW 32 Bits Multiple Error Read Data On OCRAM Bank2
73133  */
73134 #define MECC_MULTI_ERR_DATA_LOW2_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_LOW2_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_LOW2_MULTI_ERR_DATA_MASK)
73135 /*! @} */
73136 
73137 /*! @name MULTI_ERR_DATA_HIGH2 - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank2 */
73138 /*! @{ */
73139 
73140 #define MECC_MULTI_ERR_DATA_HIGH2_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73141 #define MECC_MULTI_ERR_DATA_HIGH2_MULTI_ERR_DATA_SHIFT (0U)
73142 /*! MULTI_ERR_DATA - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank2
73143  */
73144 #define MECC_MULTI_ERR_DATA_HIGH2_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_HIGH2_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_HIGH2_MULTI_ERR_DATA_MASK)
73145 /*! @} */
73146 
73147 /*! @name MULTI_ERR_ADDR_ECC3 - Multiple Error Address And ECC code On OCRAM Bank3 */
73148 /*! @{ */
73149 
73150 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ECC_MASK (0xFFU)
73151 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ECC_SHIFT (0U)
73152 /*! MULTI_ERR_ECC - Multiple Error ECC code On OCRAM Bank3
73153  */
73154 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ECC(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ECC_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ECC_MASK)
73155 
73156 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ADDR_MASK (0x7FFFF00U)
73157 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ADDR_SHIFT (8U)
73158 /*! MULTI_ERR_ADDR - Multiple Error Address On OCRAM Bank3
73159  */
73160 #define MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ADDR(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ADDR_SHIFT)) & MECC_MULTI_ERR_ADDR_ECC3_MULTI_ERR_ADDR_MASK)
73161 /*! @} */
73162 
73163 /*! @name MULTI_ERR_DATA_LOW3 - LOW 32 Bits Multiple Error Read Data On OCRAM Bank3 */
73164 /*! @{ */
73165 
73166 #define MECC_MULTI_ERR_DATA_LOW3_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73167 #define MECC_MULTI_ERR_DATA_LOW3_MULTI_ERR_DATA_SHIFT (0U)
73168 /*! MULTI_ERR_DATA - LOW 32 Bits Multiple Error Read Data On OCRAM Bank3
73169  */
73170 #define MECC_MULTI_ERR_DATA_LOW3_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_LOW3_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_LOW3_MULTI_ERR_DATA_MASK)
73171 /*! @} */
73172 
73173 /*! @name MULTI_ERR_DATA_HIGH3 - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank3 */
73174 /*! @{ */
73175 
73176 #define MECC_MULTI_ERR_DATA_HIGH3_MULTI_ERR_DATA_MASK (0xFFFFFFFFU)
73177 #define MECC_MULTI_ERR_DATA_HIGH3_MULTI_ERR_DATA_SHIFT (0U)
73178 /*! MULTI_ERR_DATA - HIGH 32 Bits Multiple Error Read Data On OCRAM Bank3
73179  */
73180 #define MECC_MULTI_ERR_DATA_HIGH3_MULTI_ERR_DATA(x) (((uint32_t)(((uint32_t)(x)) << MECC_MULTI_ERR_DATA_HIGH3_MULTI_ERR_DATA_SHIFT)) & MECC_MULTI_ERR_DATA_HIGH3_MULTI_ERR_DATA_MASK)
73181 /*! @} */
73182 
73183 /*! @name PIPE_ECC_EN - OCRAM Pipeline And ECC Enable */
73184 /*! @{ */
73185 
73186 #define MECC_PIPE_ECC_EN_READ_DATA_WAIT_EN_MASK  (0x1U)
73187 #define MECC_PIPE_ECC_EN_READ_DATA_WAIT_EN_SHIFT (0U)
73188 /*! READ_DATA_WAIT_EN - Read Data Wait Enable
73189  *  0b0..Disable.
73190  *  0b1..Enable.
73191  */
73192 #define MECC_PIPE_ECC_EN_READ_DATA_WAIT_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_PIPE_ECC_EN_READ_DATA_WAIT_EN_SHIFT)) & MECC_PIPE_ECC_EN_READ_DATA_WAIT_EN_MASK)
73193 
73194 #define MECC_PIPE_ECC_EN_READ_ADDR_PIPE_EN_MASK  (0x2U)
73195 #define MECC_PIPE_ECC_EN_READ_ADDR_PIPE_EN_SHIFT (1U)
73196 /*! READ_ADDR_PIPE_EN - Read Address Pipeline Enable
73197  *  0b0..Disable.
73198  *  0b1..Enable.
73199  */
73200 #define MECC_PIPE_ECC_EN_READ_ADDR_PIPE_EN(x)    (((uint32_t)(((uint32_t)(x)) << MECC_PIPE_ECC_EN_READ_ADDR_PIPE_EN_SHIFT)) & MECC_PIPE_ECC_EN_READ_ADDR_PIPE_EN_MASK)
73201 
73202 #define MECC_PIPE_ECC_EN_WRITE_DATA_PIPE_EN_MASK (0x4U)
73203 #define MECC_PIPE_ECC_EN_WRITE_DATA_PIPE_EN_SHIFT (2U)
73204 /*! WRITE_DATA_PIPE_EN - Write Data Pipeline Enable
73205  *  0b0..Disable.
73206  *  0b1..Enable.
73207  */
73208 #define MECC_PIPE_ECC_EN_WRITE_DATA_PIPE_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_PIPE_ECC_EN_WRITE_DATA_PIPE_EN_SHIFT)) & MECC_PIPE_ECC_EN_WRITE_DATA_PIPE_EN_MASK)
73209 
73210 #define MECC_PIPE_ECC_EN_WRITE_ADDR_PIPE_EN_MASK (0x8U)
73211 #define MECC_PIPE_ECC_EN_WRITE_ADDR_PIPE_EN_SHIFT (3U)
73212 /*! WRITE_ADDR_PIPE_EN - Write Address Pipeline Enable
73213  *  0b0..Disable.
73214  *  0b1..Enable.
73215  */
73216 #define MECC_PIPE_ECC_EN_WRITE_ADDR_PIPE_EN(x)   (((uint32_t)(((uint32_t)(x)) << MECC_PIPE_ECC_EN_WRITE_ADDR_PIPE_EN_SHIFT)) & MECC_PIPE_ECC_EN_WRITE_ADDR_PIPE_EN_MASK)
73217 
73218 #define MECC_PIPE_ECC_EN_ECC_EN_MASK             (0x10U)
73219 #define MECC_PIPE_ECC_EN_ECC_EN_SHIFT            (4U)
73220 /*! ECC_EN - ECC Function Enable
73221  *  0b0..Disable.
73222  *  0b1..Enable.
73223  */
73224 #define MECC_PIPE_ECC_EN_ECC_EN(x)               (((uint32_t)(((uint32_t)(x)) << MECC_PIPE_ECC_EN_ECC_EN_SHIFT)) & MECC_PIPE_ECC_EN_ECC_EN_MASK)
73225 /*! @} */
73226 
73227 /*! @name PENDING_STAT - Pending Status */
73228 /*! @{ */
73229 
73230 #define MECC_PENDING_STAT_READ_DATA_WAIT_PENDING_MASK (0x1U)
73231 #define MECC_PENDING_STAT_READ_DATA_WAIT_PENDING_SHIFT (0U)
73232 /*! READ_DATA_WAIT_PENDING - Read Data Wait Pending
73233  *  0b0..No update pending status for READ_DATA_WAIT_EN.
73234  *  0b1..When READ_DATA_WAIT_EN register bit is changed, this register bit will be set until the new setup becomes valid in the controller.
73235  */
73236 #define MECC_PENDING_STAT_READ_DATA_WAIT_PENDING(x) (((uint32_t)(((uint32_t)(x)) << MECC_PENDING_STAT_READ_DATA_WAIT_PENDING_SHIFT)) & MECC_PENDING_STAT_READ_DATA_WAIT_PENDING_MASK)
73237 
73238 #define MECC_PENDING_STAT_READ_ADDR_PIPE_PENDING_MASK (0x2U)
73239 #define MECC_PENDING_STAT_READ_ADDR_PIPE_PENDING_SHIFT (1U)
73240 /*! READ_ADDR_PIPE_PENDING - Read Address Pipeline Pending
73241  *  0b0..No update pending status for READ_ADDR_PIPE_EN.
73242  *  0b1..When READ_ADDR_PIPE_EN register bit is changed, this register bit will be set until the new setup becomes valid in the controller.
73243  */
73244 #define MECC_PENDING_STAT_READ_ADDR_PIPE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << MECC_PENDING_STAT_READ_ADDR_PIPE_PENDING_SHIFT)) & MECC_PENDING_STAT_READ_ADDR_PIPE_PENDING_MASK)
73245 
73246 #define MECC_PENDING_STAT_WRITE_DATA_PIPE_PENDING_MASK (0x4U)
73247 #define MECC_PENDING_STAT_WRITE_DATA_PIPE_PENDING_SHIFT (2U)
73248 /*! WRITE_DATA_PIPE_PENDING - Write Data Pipeline Pending
73249  *  0b0..No update pending status for WRITE_DATA_PIPE_EN.
73250  *  0b1..When WRITE_DATA_PIPE_EN register bit is changed, this register bit will be set until the new setup becomes valid in the controller.
73251  */
73252 #define MECC_PENDING_STAT_WRITE_DATA_PIPE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << MECC_PENDING_STAT_WRITE_DATA_PIPE_PENDING_SHIFT)) & MECC_PENDING_STAT_WRITE_DATA_PIPE_PENDING_MASK)
73253 
73254 #define MECC_PENDING_STAT_WRITE_ADDR_PIPE_PENDING_MASK (0x8U)
73255 #define MECC_PENDING_STAT_WRITE_ADDR_PIPE_PENDING_SHIFT (3U)
73256 /*! WRITE_ADDR_PIPE_PENDING - Write Address Pipeline Pending
73257  *  0b0..No update pending status for WRITE_ADDR_PIPE_EN.
73258  *  0b1..When WRITE_ADDR_PIPE_EN register bit is changed, this register bit will be set until the new setup becomes valid in the controller.
73259  */
73260 #define MECC_PENDING_STAT_WRITE_ADDR_PIPE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << MECC_PENDING_STAT_WRITE_ADDR_PIPE_PENDING_SHIFT)) & MECC_PENDING_STAT_WRITE_ADDR_PIPE_PENDING_MASK)
73261 /*! @} */
73262 
73263 
73264 /*!
73265  * @}
73266  */ /* end of group MECC_Register_Masks */
73267 
73268 
73269 /* MECC - Peripheral instance base addresses */
73270 /** Peripheral MECC1 base address */
73271 #define MECC1_BASE                               (0x40014000u)
73272 /** Peripheral MECC1 base pointer */
73273 #define MECC1                                    ((MECC_Type *)MECC1_BASE)
73274 /** Peripheral MECC2 base address */
73275 #define MECC2_BASE                               (0x40018000u)
73276 /** Peripheral MECC2 base pointer */
73277 #define MECC2                                    ((MECC_Type *)MECC2_BASE)
73278 /** Array initializer of MECC peripheral base addresses */
73279 #define MECC_BASE_ADDRS                          { 0u, MECC1_BASE, MECC2_BASE }
73280 /** Array initializer of MECC peripheral base pointers */
73281 #define MECC_BASE_PTRS                           { (MECC_Type *)0u, MECC1, MECC2 }
73282 
73283 /*!
73284  * @}
73285  */ /* end of group MECC_Peripheral_Access_Layer */
73286 
73287 
73288 /* ----------------------------------------------------------------------------
73289    -- MIPI_CSI2RX Peripheral Access Layer
73290    ---------------------------------------------------------------------------- */
73291 
73292 /*!
73293  * @addtogroup MIPI_CSI2RX_Peripheral_Access_Layer MIPI_CSI2RX Peripheral Access Layer
73294  * @{
73295  */
73296 
73297 /** MIPI_CSI2RX - Register Layout Typedef */
73298 typedef struct {
73299        uint8_t RESERVED_0[256];
73300   __IO uint32_t CFG_NUM_LANES;                     /**< Lane Configuration Register, offset: 0x100 */
73301   __IO uint32_t CFG_DISABLE_DATA_LANES;            /**< Disable Data Lane Register, offset: 0x104 */
73302   __I  uint32_t BIT_ERR;                           /**< ECC and CRC Error Status Register, offset: 0x108 */
73303   __I  uint32_t IRQ_STATUS;                        /**< IRQ Status Register, offset: 0x10C */
73304   __IO uint32_t IRQ_MASK;                          /**< IRQ Mask Setting Register, offset: 0x110 */
73305   __I  uint32_t ULPS_STATUS;                       /**< Ultra Low Power State (ULPS) Status Register, offset: 0x114 */
73306   __I  uint32_t PPI_ERRSOT_HS;                     /**< ERRSot HS Status Register, offset: 0x118 */
73307   __I  uint32_t PPI_ERRSOTSYNC_HS;                 /**< ErrSotSync HS Status Register, offset: 0x11C */
73308   __I  uint32_t PPI_ERRESC;                        /**< ErrEsc Status Register, offset: 0x120 */
73309   __I  uint32_t PPI_ERRSYNCESC;                    /**< ErrSyncEsc Status Register, offset: 0x124 */
73310   __I  uint32_t PPI_ERRCONTROL;                    /**< ErrControl Status Register, offset: 0x128 */
73311   __IO uint32_t CFG_DISABLE_PAYLOAD_0;             /**< Disable Payload 0 Register, offset: 0x12C */
73312   __IO uint32_t CFG_DISABLE_PAYLOAD_1;             /**< Disable Payload 1 Register, offset: 0x130 */
73313        uint8_t RESERVED_1[76];
73314   __IO uint32_t CFG_IGNORE_VC;                     /**< Ignore Virtual Channel Register, offset: 0x180 */
73315   __IO uint32_t CFG_VID_VC;                        /**< Virtual Channel value Register, offset: 0x184 */
73316   __IO uint32_t CFG_VID_P_FIFO_SEND_LEVEL;         /**< FIFO Send Level Configuration Register, offset: 0x188 */
73317   __IO uint32_t CFG_VID_VSYNC;                     /**< VSYNC Configuration Register, offset: 0x18C */
73318   __IO uint32_t CFG_VID_HSYNC_FP;                  /**< Start of HSYNC Delay control Register, offset: 0x190 */
73319   __IO uint32_t CFG_VID_HSYNC;                     /**< HSYNC Configuration Register, offset: 0x194 */
73320   __IO uint32_t CFG_VID_HSYNC_BP;                  /**< End of HSYNC Delay Control Register, offset: 0x198 */
73321 } MIPI_CSI2RX_Type;
73322 
73323 /* ----------------------------------------------------------------------------
73324    -- MIPI_CSI2RX Register Masks
73325    ---------------------------------------------------------------------------- */
73326 
73327 /*!
73328  * @addtogroup MIPI_CSI2RX_Register_Masks MIPI_CSI2RX Register Masks
73329  * @{
73330  */
73331 
73332 /*! @name CFG_NUM_LANES - Lane Configuration Register */
73333 /*! @{ */
73334 
73335 #define MIPI_CSI2RX_CFG_NUM_LANES_CFG_NUM_LANES_MASK (0x3U)
73336 #define MIPI_CSI2RX_CFG_NUM_LANES_CFG_NUM_LANES_SHIFT (0U)
73337 /*! CFG_NUM_LANES - This field is used to set the number of active lanes for receiving data.
73338  *  0b00..1 Lane
73339  *  0b01..2 Lane
73340  *  0b10-0b11..Reserved
73341  */
73342 #define MIPI_CSI2RX_CFG_NUM_LANES_CFG_NUM_LANES(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_NUM_LANES_CFG_NUM_LANES_SHIFT)) & MIPI_CSI2RX_CFG_NUM_LANES_CFG_NUM_LANES_MASK)
73343 /*! @} */
73344 
73345 /*! @name CFG_DISABLE_DATA_LANES - Disable Data Lane Register */
73346 /*! @{ */
73347 
73348 #define MIPI_CSI2RX_CFG_DISABLE_DATA_LANES_CFG_DISABLE_DATA_LANES_MASK (0xFU)
73349 #define MIPI_CSI2RX_CFG_DISABLE_DATA_LANES_CFG_DISABLE_DATA_LANES_SHIFT (0U)
73350 /*! CFG_DISABLE_DATA_LANES - This field is used to disable data lanes.
73351  */
73352 #define MIPI_CSI2RX_CFG_DISABLE_DATA_LANES_CFG_DISABLE_DATA_LANES(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_DATA_LANES_CFG_DISABLE_DATA_LANES_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_DATA_LANES_CFG_DISABLE_DATA_LANES_MASK)
73353 /*! @} */
73354 
73355 /*! @name BIT_ERR - ECC and CRC Error Status Register */
73356 /*! @{ */
73357 
73358 #define MIPI_CSI2RX_BIT_ERR_BIT_ERR_MASK         (0x3FFU)
73359 #define MIPI_CSI2RX_BIT_ERR_BIT_ERR_SHIFT        (0U)
73360 /*! BIT_ERR - This field shows the error status of ECC and CRC
73361  */
73362 #define MIPI_CSI2RX_BIT_ERR_BIT_ERR(x)           (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_BIT_ERR_BIT_ERR_SHIFT)) & MIPI_CSI2RX_BIT_ERR_BIT_ERR_MASK)
73363 /*! @} */
73364 
73365 /*! @name IRQ_STATUS - IRQ Status Register */
73366 /*! @{ */
73367 
73368 #define MIPI_CSI2RX_IRQ_STATUS_IRQ_STATUS_MASK   (0x1FFU)
73369 #define MIPI_CSI2RX_IRQ_STATUS_IRQ_STATUS_SHIFT  (0U)
73370 /*! IRQ_STATUS - This field shows the IRQ status
73371  */
73372 #define MIPI_CSI2RX_IRQ_STATUS_IRQ_STATUS(x)     (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_IRQ_STATUS_IRQ_STATUS_SHIFT)) & MIPI_CSI2RX_IRQ_STATUS_IRQ_STATUS_MASK)
73373 /*! @} */
73374 
73375 /*! @name IRQ_MASK - IRQ Mask Setting Register */
73376 /*! @{ */
73377 
73378 #define MIPI_CSI2RX_IRQ_MASK_IRQ_MASK_MASK       (0x1FFU)
73379 #define MIPI_CSI2RX_IRQ_MASK_IRQ_MASK_SHIFT      (0U)
73380 /*! IRQ_MASK - This field shows the IRQ Mask setting
73381  */
73382 #define MIPI_CSI2RX_IRQ_MASK_IRQ_MASK(x)         (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_IRQ_MASK_IRQ_MASK_SHIFT)) & MIPI_CSI2RX_IRQ_MASK_IRQ_MASK_MASK)
73383 /*! @} */
73384 
73385 /*! @name ULPS_STATUS - Ultra Low Power State (ULPS) Status Register */
73386 /*! @{ */
73387 
73388 #define MIPI_CSI2RX_ULPS_STATUS_STATUS_MASK      (0x3FFU)
73389 #define MIPI_CSI2RX_ULPS_STATUS_STATUS_SHIFT     (0U)
73390 /*! STATUS - This field shows the status of Rx D-PHY ULPS state
73391  */
73392 #define MIPI_CSI2RX_ULPS_STATUS_STATUS(x)        (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_ULPS_STATUS_STATUS_SHIFT)) & MIPI_CSI2RX_ULPS_STATUS_STATUS_MASK)
73393 /*! @} */
73394 
73395 /*! @name PPI_ERRSOT_HS - ERRSot HS Status Register */
73396 /*! @{ */
73397 
73398 #define MIPI_CSI2RX_PPI_ERRSOT_HS_STATUS_MASK    (0xFU)
73399 #define MIPI_CSI2RX_PPI_ERRSOT_HS_STATUS_SHIFT   (0U)
73400 /*! STATUS - This field indicates PPI ErrSotHS captured status from D-PHY
73401  */
73402 #define MIPI_CSI2RX_PPI_ERRSOT_HS_STATUS(x)      (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_PPI_ERRSOT_HS_STATUS_SHIFT)) & MIPI_CSI2RX_PPI_ERRSOT_HS_STATUS_MASK)
73403 /*! @} */
73404 
73405 /*! @name PPI_ERRSOTSYNC_HS - ErrSotSync HS Status Register */
73406 /*! @{ */
73407 
73408 #define MIPI_CSI2RX_PPI_ERRSOTSYNC_HS_STATUS_MASK (0xFU)
73409 #define MIPI_CSI2RX_PPI_ERRSOTSYNC_HS_STATUS_SHIFT (0U)
73410 /*! STATUS - This field indicates PPI ErrSotSync_HS captured status from D-PHY
73411  */
73412 #define MIPI_CSI2RX_PPI_ERRSOTSYNC_HS_STATUS(x)  (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_PPI_ERRSOTSYNC_HS_STATUS_SHIFT)) & MIPI_CSI2RX_PPI_ERRSOTSYNC_HS_STATUS_MASK)
73413 /*! @} */
73414 
73415 /*! @name PPI_ERRESC - ErrEsc Status Register */
73416 /*! @{ */
73417 
73418 #define MIPI_CSI2RX_PPI_ERRESC_STATUS_MASK       (0xFU)
73419 #define MIPI_CSI2RX_PPI_ERRESC_STATUS_SHIFT      (0U)
73420 /*! STATUS - This field indicates PPI ErrEsc captured status from D-PHY
73421  */
73422 #define MIPI_CSI2RX_PPI_ERRESC_STATUS(x)         (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_PPI_ERRESC_STATUS_SHIFT)) & MIPI_CSI2RX_PPI_ERRESC_STATUS_MASK)
73423 /*! @} */
73424 
73425 /*! @name PPI_ERRSYNCESC - ErrSyncEsc Status Register */
73426 /*! @{ */
73427 
73428 #define MIPI_CSI2RX_PPI_ERRSYNCESC_STATUS_MASK   (0xFU)
73429 #define MIPI_CSI2RX_PPI_ERRSYNCESC_STATUS_SHIFT  (0U)
73430 /*! STATUS - This field indicates PPI ErrSyncEsc captured status from D-PHY
73431  */
73432 #define MIPI_CSI2RX_PPI_ERRSYNCESC_STATUS(x)     (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_PPI_ERRSYNCESC_STATUS_SHIFT)) & MIPI_CSI2RX_PPI_ERRSYNCESC_STATUS_MASK)
73433 /*! @} */
73434 
73435 /*! @name PPI_ERRCONTROL - ErrControl Status Register */
73436 /*! @{ */
73437 
73438 #define MIPI_CSI2RX_PPI_ERRCONTROL_STATUS_MASK   (0xFU)
73439 #define MIPI_CSI2RX_PPI_ERRCONTROL_STATUS_SHIFT  (0U)
73440 /*! STATUS - This field indicates PPI ErrControl captured status from D-PHY
73441  */
73442 #define MIPI_CSI2RX_PPI_ERRCONTROL_STATUS(x)     (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_PPI_ERRCONTROL_STATUS_SHIFT)) & MIPI_CSI2RX_PPI_ERRCONTROL_STATUS_MASK)
73443 /*! @} */
73444 
73445 /*! @name CFG_DISABLE_PAYLOAD_0 - Disable Payload 0 Register */
73446 /*! @{ */
73447 
73448 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_NULL_MASK (0x1U)
73449 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_NULL_SHIFT (0U)
73450 /*! DIS_PAYLOAD_NULL - Null
73451  */
73452 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_NULL(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_NULL_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_NULL_MASK)
73453 
73454 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_BLANK_MASK (0x2U)
73455 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_BLANK_SHIFT (1U)
73456 /*! DIS_PAYLOAD_BLANK - Blank
73457  */
73458 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_BLANK(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_BLANK_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_BLANK_MASK)
73459 
73460 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_EMBEDDED_MASK (0x4U)
73461 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_EMBEDDED_SHIFT (2U)
73462 /*! DIS_PAYLOAD_EMBEDDED - Embedded
73463  */
73464 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_EMBEDDED(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_EMBEDDED_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_EMBEDDED_MASK)
73465 
73466 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV420_MASK (0x400U)
73467 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV420_SHIFT (10U)
73468 /*! DIS_PAYLOAD_YUV420 - Legacy YUV 420 8 bit
73469  */
73470 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV420(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV420_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV420_MASK)
73471 
73472 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV422_8BIT_MASK (0x4000U)
73473 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV422_8BIT_SHIFT (14U)
73474 /*! DIS_PAYLOAD_YUV422_8BIT - YUV422 8 bit
73475  */
73476 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV422_8BIT(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV422_8BIT_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_YUV422_8BIT_MASK)
73477 
73478 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB444_MASK (0x10000U)
73479 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB444_SHIFT (16U)
73480 /*! DIS_PAYLOAD_RGB444 - RGB444
73481  */
73482 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB444(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB444_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB444_MASK)
73483 
73484 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB555_MASK (0x20000U)
73485 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB555_SHIFT (17U)
73486 /*! DIS_PAYLOAD_RGB555 - RGB555
73487  */
73488 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB555(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB555_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB555_MASK)
73489 
73490 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB565_MASK (0x40000U)
73491 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB565_SHIFT (18U)
73492 /*! DIS_PAYLOAD_RGB565 - RGB565
73493  */
73494 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB565(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB565_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB565_MASK)
73495 
73496 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB666_MASK (0x80000U)
73497 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB666_SHIFT (19U)
73498 /*! DIS_PAYLOAD_RGB666 - RGB666
73499  */
73500 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB666(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB666_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB666_MASK)
73501 
73502 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB888_MASK (0x100000U)
73503 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB888_SHIFT (20U)
73504 /*! DIS_PAYLOAD_RGB888 - RGB888
73505  */
73506 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB888(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB888_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_0_DIS_PAYLOAD_RGB888_MASK)
73507 /*! @} */
73508 
73509 /*! @name CFG_DISABLE_PAYLOAD_1 - Disable Payload 1 Register */
73510 /*! @{ */
73511 
73512 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_30_MASK (0x1U)
73513 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_30_SHIFT (0U)
73514 /*! DIS_PAYLOAD_UDEF_30 - User defined type 0x31
73515  */
73516 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_30(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_30_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_30_MASK)
73517 
73518 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_31_MASK (0x2U)
73519 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_31_SHIFT (1U)
73520 /*! DIS_PAYLOAD_UDEF_31 - User defined type 0x32
73521  */
73522 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_31(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_31_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_31_MASK)
73523 
73524 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_32_MASK (0x4U)
73525 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_32_SHIFT (2U)
73526 /*! DIS_PAYLOAD_UDEF_32 - User defined type 0x33
73527  */
73528 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_32(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_32_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_32_MASK)
73529 
73530 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_33_MASK (0x8U)
73531 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_33_SHIFT (3U)
73532 /*! DIS_PAYLOAD_UDEF_33 - User defined type 0x34
73533  */
73534 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_33(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_33_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_33_MASK)
73535 
73536 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_34_MASK (0x10U)
73537 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_34_SHIFT (4U)
73538 /*! DIS_PAYLOAD_UDEF_34 - User defined type 0x35
73539  */
73540 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_34(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_34_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_34_MASK)
73541 
73542 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_35_MASK (0x20U)
73543 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_35_SHIFT (5U)
73544 /*! DIS_PAYLOAD_UDEF_35 - User defined type 0x35
73545  */
73546 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_35(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_35_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_35_MASK)
73547 
73548 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_36_MASK (0x40U)
73549 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_36_SHIFT (6U)
73550 /*! DIS_PAYLOAD_UDEF_36 - User defined type 0x36
73551  */
73552 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_36(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_36_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_36_MASK)
73553 
73554 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_37_MASK (0x80U)
73555 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_37_SHIFT (7U)
73556 /*! DIS_PAYLOAD_UDEF_37 - User defined type 0x37
73557  */
73558 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_37(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_37_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UDEF_37_MASK)
73559 
73560 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UNSUPPORTED_MASK (0x10000U)
73561 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UNSUPPORTED_SHIFT (16U)
73562 /*! DIS_PAYLOAD_UNSUPPORTED - Unsupported Data Types
73563  */
73564 #define MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UNSUPPORTED(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UNSUPPORTED_SHIFT)) & MIPI_CSI2RX_CFG_DISABLE_PAYLOAD_1_DIS_PAYLOAD_UNSUPPORTED_MASK)
73565 /*! @} */
73566 
73567 /*! @name CFG_IGNORE_VC - Ignore Virtual Channel Register */
73568 /*! @{ */
73569 
73570 #define MIPI_CSI2RX_CFG_IGNORE_VC_IGNORE_VC_MASK (0x1U)
73571 #define MIPI_CSI2RX_CFG_IGNORE_VC_IGNORE_VC_SHIFT (0U)
73572 #define MIPI_CSI2RX_CFG_IGNORE_VC_IGNORE_VC(x)   (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_IGNORE_VC_IGNORE_VC_SHIFT)) & MIPI_CSI2RX_CFG_IGNORE_VC_IGNORE_VC_MASK)
73573 /*! @} */
73574 
73575 /*! @name CFG_VID_VC - Virtual Channel value Register */
73576 /*! @{ */
73577 
73578 #define MIPI_CSI2RX_CFG_VID_VC_VID_VC_MASK       (0x3U)
73579 #define MIPI_CSI2RX_CFG_VID_VC_VID_VC_SHIFT      (0U)
73580 #define MIPI_CSI2RX_CFG_VID_VC_VID_VC(x)         (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_VC_VID_VC_SHIFT)) & MIPI_CSI2RX_CFG_VID_VC_VID_VC_MASK)
73581 /*! @} */
73582 
73583 /*! @name CFG_VID_P_FIFO_SEND_LEVEL - FIFO Send Level Configuration Register */
73584 /*! @{ */
73585 
73586 #define MIPI_CSI2RX_CFG_VID_P_FIFO_SEND_LEVEL_SEND_LEVEL_MASK (0xFFFFU)
73587 #define MIPI_CSI2RX_CFG_VID_P_FIFO_SEND_LEVEL_SEND_LEVEL_SHIFT (0U)
73588 /*! SEND_LEVEL - FIFO Send Level field
73589  */
73590 #define MIPI_CSI2RX_CFG_VID_P_FIFO_SEND_LEVEL_SEND_LEVEL(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_P_FIFO_SEND_LEVEL_SEND_LEVEL_SHIFT)) & MIPI_CSI2RX_CFG_VID_P_FIFO_SEND_LEVEL_SEND_LEVEL_MASK)
73591 /*! @} */
73592 
73593 /*! @name CFG_VID_VSYNC - VSYNC Configuration Register */
73594 /*! @{ */
73595 
73596 #define MIPI_CSI2RX_CFG_VID_VSYNC_WIDTH_MASK     (0xFFU)
73597 #define MIPI_CSI2RX_CFG_VID_VSYNC_WIDTH_SHIFT    (0U)
73598 /*! WIDTH - Width of VSYNC
73599  */
73600 #define MIPI_CSI2RX_CFG_VID_VSYNC_WIDTH(x)       (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_VSYNC_WIDTH_SHIFT)) & MIPI_CSI2RX_CFG_VID_VSYNC_WIDTH_MASK)
73601 /*! @} */
73602 
73603 /*! @name CFG_VID_HSYNC_FP - Start of HSYNC Delay control Register */
73604 /*! @{ */
73605 
73606 #define MIPI_CSI2RX_CFG_VID_HSYNC_FP_DELAY_CTL_MASK (0xFFU)
73607 #define MIPI_CSI2RX_CFG_VID_HSYNC_FP_DELAY_CTL_SHIFT (0U)
73608 /*! DELAY_CTL - Delay control for beginning of HSYNC pulse
73609  */
73610 #define MIPI_CSI2RX_CFG_VID_HSYNC_FP_DELAY_CTL(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_HSYNC_FP_DELAY_CTL_SHIFT)) & MIPI_CSI2RX_CFG_VID_HSYNC_FP_DELAY_CTL_MASK)
73611 /*! @} */
73612 
73613 /*! @name CFG_VID_HSYNC - HSYNC Configuration Register */
73614 /*! @{ */
73615 
73616 #define MIPI_CSI2RX_CFG_VID_HSYNC_WIDTH_MASK     (0xFFU)
73617 #define MIPI_CSI2RX_CFG_VID_HSYNC_WIDTH_SHIFT    (0U)
73618 /*! WIDTH - Width of HSYNC
73619  */
73620 #define MIPI_CSI2RX_CFG_VID_HSYNC_WIDTH(x)       (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_HSYNC_WIDTH_SHIFT)) & MIPI_CSI2RX_CFG_VID_HSYNC_WIDTH_MASK)
73621 /*! @} */
73622 
73623 /*! @name CFG_VID_HSYNC_BP - End of HSYNC Delay Control Register */
73624 /*! @{ */
73625 
73626 #define MIPI_CSI2RX_CFG_VID_HSYNC_BP_DELAY_CTL_MASK (0xFFU)
73627 #define MIPI_CSI2RX_CFG_VID_HSYNC_BP_DELAY_CTL_SHIFT (0U)
73628 /*! DELAY_CTL - Delay Control for end of HSYNC pulse
73629  */
73630 #define MIPI_CSI2RX_CFG_VID_HSYNC_BP_DELAY_CTL(x) (((uint32_t)(((uint32_t)(x)) << MIPI_CSI2RX_CFG_VID_HSYNC_BP_DELAY_CTL_SHIFT)) & MIPI_CSI2RX_CFG_VID_HSYNC_BP_DELAY_CTL_MASK)
73631 /*! @} */
73632 
73633 
73634 /*!
73635  * @}
73636  */ /* end of group MIPI_CSI2RX_Register_Masks */
73637 
73638 
73639 /* MIPI_CSI2RX - Peripheral instance base addresses */
73640 /** Peripheral MIPI_CSI2RX base address */
73641 #define MIPI_CSI2RX_BASE                         (0x40810000u)
73642 /** Peripheral MIPI_CSI2RX base pointer */
73643 #define MIPI_CSI2RX                              ((MIPI_CSI2RX_Type *)MIPI_CSI2RX_BASE)
73644 /** Array initializer of MIPI_CSI2RX peripheral base addresses */
73645 #define MIPI_CSI2RX_BASE_ADDRS                   { MIPI_CSI2RX_BASE }
73646 /** Array initializer of MIPI_CSI2RX peripheral base pointers */
73647 #define MIPI_CSI2RX_BASE_PTRS                    { MIPI_CSI2RX }
73648 
73649 /*!
73650  * @}
73651  */ /* end of group MIPI_CSI2RX_Peripheral_Access_Layer */
73652 
73653 
73654 /* ----------------------------------------------------------------------------
73655    -- MU Peripheral Access Layer
73656    ---------------------------------------------------------------------------- */
73657 
73658 /*!
73659  * @addtogroup MU_Peripheral_Access_Layer MU Peripheral Access Layer
73660  * @{
73661  */
73662 
73663 /** MU - Register Layout Typedef */
73664 typedef struct {
73665   __IO uint32_t TR[4];                             /**< Processor A Transmit Register 0..Processor A Transmit Register 3, array offset: 0x0, array step: 0x4 */
73666   __I  uint32_t RR[4];                             /**< Processor A Receive Register 0..Processor A Receive Register 3, array offset: 0x10, array step: 0x4 */
73667   __IO uint32_t SR;                                /**< Processor A Status Register, offset: 0x20 */
73668   __IO uint32_t CR;                                /**< Processor A Control Register, offset: 0x24 */
73669 } MU_Type;
73670 
73671 /* ----------------------------------------------------------------------------
73672    -- MU Register Masks
73673    ---------------------------------------------------------------------------- */
73674 
73675 /*!
73676  * @addtogroup MU_Register_Masks MU Register Masks
73677  * @{
73678  */
73679 
73680 /*! @name TR - Processor A Transmit Register 0..Processor A Transmit Register 3 */
73681 /*! @{ */
73682 
73683 #define MU_TR_DATA_MASK                          (0xFFFFFFFFU)
73684 #define MU_TR_DATA_SHIFT                         (0U)
73685 /*! DATA - TR3
73686  */
73687 #define MU_TR_DATA(x)                            (((uint32_t)(((uint32_t)(x)) << MU_TR_DATA_SHIFT)) & MU_TR_DATA_MASK)
73688 /*! @} */
73689 
73690 /* The count of MU_TR */
73691 #define MU_TR_COUNT                              (4U)
73692 
73693 /*! @name RR - Processor A Receive Register 0..Processor A Receive Register 3 */
73694 /*! @{ */
73695 
73696 #define MU_RR_DATA_MASK                          (0xFFFFFFFFU)
73697 #define MU_RR_DATA_SHIFT                         (0U)
73698 /*! DATA - RR3
73699  */
73700 #define MU_RR_DATA(x)                            (((uint32_t)(((uint32_t)(x)) << MU_RR_DATA_SHIFT)) & MU_RR_DATA_MASK)
73701 /*! @} */
73702 
73703 /* The count of MU_RR */
73704 #define MU_RR_COUNT                              (4U)
73705 
73706 /*! @name SR - Processor A Status Register */
73707 /*! @{ */
73708 
73709 #define MU_SR_Fn_MASK                            (0x7U)
73710 #define MU_SR_Fn_SHIFT                           (0U)
73711 /*! Fn - Fn
73712  *  0b000..BAFn bit in MUB.CR register is written 0 (default).
73713  *  0b001..BAFn bit in MUB.CR register is written 1.
73714  */
73715 #define MU_SR_Fn(x)                              (((uint32_t)(((uint32_t)(x)) << MU_SR_Fn_SHIFT)) & MU_SR_Fn_MASK)
73716 
73717 #define MU_SR_EP_MASK                            (0x10U)
73718 #define MU_SR_EP_SHIFT                           (4U)
73719 /*! EP - EP
73720  *  0b0..The Processor A-side event is not pending (default).
73721  *  0b1..The Processor A-side event is pending.
73722  */
73723 #define MU_SR_EP(x)                              (((uint32_t)(((uint32_t)(x)) << MU_SR_EP_SHIFT)) & MU_SR_EP_MASK)
73724 
73725 #define MU_SR_RS_MASK                            (0x80U)
73726 #define MU_SR_RS_SHIFT                           (7U)
73727 /*! RS - RS
73728  *  0b0..The Processor B-side of the MU is not in reset.
73729  *  0b1..The Processor B-side of the MU is in reset.
73730  */
73731 #define MU_SR_RS(x)                              (((uint32_t)(((uint32_t)(x)) << MU_SR_RS_SHIFT)) & MU_SR_RS_MASK)
73732 
73733 #define MU_SR_FUP_MASK                           (0x100U)
73734 #define MU_SR_FUP_SHIFT                          (8U)
73735 /*! FUP - FUP
73736  *  0b0..No flags updated, initiated by the Processor A, in progress (default)
73737  *  0b1..Processor A initiated flags update, processing
73738  */
73739 #define MU_SR_FUP(x)                             (((uint32_t)(((uint32_t)(x)) << MU_SR_FUP_SHIFT)) & MU_SR_FUP_MASK)
73740 
73741 #define MU_SR_TEn_MASK                           (0xF00000U)
73742 #define MU_SR_TEn_SHIFT                          (20U)
73743 /*! TEn - TEn
73744  *  0b0000..MUA.TRn register is not empty.
73745  *  0b0001..MUA.TRn register is empty (default).
73746  */
73747 #define MU_SR_TEn(x)                             (((uint32_t)(((uint32_t)(x)) << MU_SR_TEn_SHIFT)) & MU_SR_TEn_MASK)
73748 
73749 #define MU_SR_RFn_MASK                           (0xF000000U)
73750 #define MU_SR_RFn_SHIFT                          (24U)
73751 /*! RFn - RFn
73752  *  0b0000..MUA.RRn register is not full (default).
73753  *  0b0001..MUA.RRn register has received data from MUB.TRn register and is ready to be read by the Processor A.
73754  */
73755 #define MU_SR_RFn(x)                             (((uint32_t)(((uint32_t)(x)) << MU_SR_RFn_SHIFT)) & MU_SR_RFn_MASK)
73756 
73757 #define MU_SR_GIPn_MASK                          (0xF0000000U)
73758 #define MU_SR_GIPn_SHIFT                         (28U)
73759 /*! GIPn - GIPn
73760  *  0b0000..Processor A general purpose interrupt n is not pending. (default)
73761  *  0b0001..Processor A general purpose interrupt n is pending.
73762  */
73763 #define MU_SR_GIPn(x)                            (((uint32_t)(((uint32_t)(x)) << MU_SR_GIPn_SHIFT)) & MU_SR_GIPn_MASK)
73764 /*! @} */
73765 
73766 /*! @name CR - Processor A Control Register */
73767 /*! @{ */
73768 
73769 #define MU_CR_Fn_MASK                            (0x7U)
73770 #define MU_CR_Fn_SHIFT                           (0U)
73771 /*! Fn - Fn
73772  *  0b000..N/A. Self clearing bit (default).
73773  *  0b001..Asserts the Processor A MU reset.
73774  */
73775 #define MU_CR_Fn(x)                              (((uint32_t)(((uint32_t)(x)) << MU_CR_Fn_SHIFT)) & MU_CR_Fn_MASK)
73776 
73777 #define MU_CR_MUR_MASK                           (0x20U)
73778 #define MU_CR_MUR_SHIFT                          (5U)
73779 /*! MUR - MUR
73780  *  0b0..N/A. Self clearing bit (default).
73781  *  0b1..Asserts the Processor A MU reset.
73782  */
73783 #define MU_CR_MUR(x)                             (((uint32_t)(((uint32_t)(x)) << MU_CR_MUR_SHIFT)) & MU_CR_MUR_MASK)
73784 
73785 #define MU_CR_GIRn_MASK                          (0xF0000U)
73786 #define MU_CR_GIRn_SHIFT                         (16U)
73787 /*! GIRn - GIRn
73788  *  0b0000..Processor A General Interrupt n is not requested to the Processor B (default).
73789  *  0b0001..Processor A General Interrupt n is requested to the Processor B.
73790  */
73791 #define MU_CR_GIRn(x)                            (((uint32_t)(((uint32_t)(x)) << MU_CR_GIRn_SHIFT)) & MU_CR_GIRn_MASK)
73792 
73793 #define MU_CR_TIEn_MASK                          (0xF00000U)
73794 #define MU_CR_TIEn_SHIFT                         (20U)
73795 /*! TIEn - TIEn
73796  *  0b0000..Disables Processor A Transmit Interrupt n. (default)
73797  *  0b0001..Enables Processor A Transmit Interrupt n.
73798  */
73799 #define MU_CR_TIEn(x)                            (((uint32_t)(((uint32_t)(x)) << MU_CR_TIEn_SHIFT)) & MU_CR_TIEn_MASK)
73800 
73801 #define MU_CR_RIEn_MASK                          (0xF000000U)
73802 #define MU_CR_RIEn_SHIFT                         (24U)
73803 /*! RIEn - RIEn
73804  *  0b0000..Disables Processor A Receive Interrupt n. (default)
73805  *  0b0001..Enables Processor A Receive Interrupt n.
73806  */
73807 #define MU_CR_RIEn(x)                            (((uint32_t)(((uint32_t)(x)) << MU_CR_RIEn_SHIFT)) & MU_CR_RIEn_MASK)
73808 
73809 #define MU_CR_GIEn_MASK                          (0xF0000000U)
73810 #define MU_CR_GIEn_SHIFT                         (28U)
73811 /*! GIEn - GIEn
73812  *  0b0000..Disables Processor A General Interrupt n. (default)
73813  *  0b0001..Enables Processor A General Interrupt n.
73814  */
73815 #define MU_CR_GIEn(x)                            (((uint32_t)(((uint32_t)(x)) << MU_CR_GIEn_SHIFT)) & MU_CR_GIEn_MASK)
73816 /*! @} */
73817 
73818 
73819 /*!
73820  * @}
73821  */ /* end of group MU_Register_Masks */
73822 
73823 
73824 /* MU - Peripheral instance base addresses */
73825 /** Peripheral MUA base address */
73826 #define MUA_BASE                                 (0x40C48000u)
73827 /** Peripheral MUA base pointer */
73828 #define MUA                                      ((MU_Type *)MUA_BASE)
73829 /** Array initializer of MU peripheral base addresses */
73830 #define MU_BASE_ADDRS                            { MUA_BASE }
73831 /** Array initializer of MU peripheral base pointers */
73832 #define MU_BASE_PTRS                             { MUA }
73833 /** Interrupt vectors for the MU peripheral type */
73834 #define MU_IRQS                                  { MUA_IRQn }
73835 
73836 /*!
73837  * @}
73838  */ /* end of group MU_Peripheral_Access_Layer */
73839 
73840 
73841 /* ----------------------------------------------------------------------------
73842    -- OCOTP Peripheral Access Layer
73843    ---------------------------------------------------------------------------- */
73844 
73845 /*!
73846  * @addtogroup OCOTP_Peripheral_Access_Layer OCOTP Peripheral Access Layer
73847  * @{
73848  */
73849 
73850 /** OCOTP - Register Layout Typedef */
73851 typedef struct {
73852   __IO uint32_t CTRL;                              /**< OTP Controller Control and Status Register, offset: 0x0 */
73853   __IO uint32_t CTRL_SET;                          /**< OTP Controller Control and Status Register, offset: 0x4 */
73854   __IO uint32_t CTRL_CLR;                          /**< OTP Controller Control and Status Register, offset: 0x8 */
73855   __IO uint32_t CTRL_TOG;                          /**< OTP Controller Control and Status Register, offset: 0xC */
73856   __IO uint32_t PDN;                               /**< OTP Controller PDN Register, offset: 0x10 */
73857        uint8_t RESERVED_0[12];
73858   __IO uint32_t DATA;                              /**< OTP Controller Write Data Register, offset: 0x20 */
73859        uint8_t RESERVED_1[12];
73860   __IO uint32_t READ_CTRL;                         /**< OTP Controller Read Control Register, offset: 0x30 */
73861        uint8_t RESERVED_2[92];
73862   __IO uint32_t OUT_STATUS;                        /**< 8K OTP Memory STATUS Register, offset: 0x90 */
73863   __IO uint32_t OUT_STATUS_SET;                    /**< 8K OTP Memory STATUS Register, offset: 0x94 */
73864   __IO uint32_t OUT_STATUS_CLR;                    /**< 8K OTP Memory STATUS Register, offset: 0x98 */
73865   __IO uint32_t OUT_STATUS_TOG;                    /**< 8K OTP Memory STATUS Register, offset: 0x9C */
73866        uint8_t RESERVED_3[16];
73867   __I  uint32_t VERSION;                           /**< OTP Controller Version Register, offset: 0xB0 */
73868        uint8_t RESERVED_4[76];
73869   struct {                                         /* offset: 0x100, array step: 0x10 */
73870     __IO uint32_t READ_FUSE_DATA;                    /**< OTP Controller Read Data 0 Register..OTP Controller Read Data 3 Register, array offset: 0x100, array step: 0x10 */
73871          uint8_t RESERVED_0[12];
73872   } READ_FUSE_DATAS[4];
73873   __IO uint32_t SW_LOCK;                           /**< SW_LOCK Register, offset: 0x140 */
73874        uint8_t RESERVED_5[12];
73875   __IO uint32_t BIT_LOCK;                          /**< BIT_LOCK Register, offset: 0x150 */
73876        uint8_t RESERVED_6[1196];
73877   __I  uint32_t LOCKED0;                           /**< OTP Controller Program Locked Status 0 Register, offset: 0x600 */
73878        uint8_t RESERVED_7[12];
73879   __I  uint32_t LOCKED1;                           /**< OTP Controller Program Locked Status 1 Register, offset: 0x610 */
73880        uint8_t RESERVED_8[12];
73881   __I  uint32_t LOCKED2;                           /**< OTP Controller Program Locked Status 2 Register, offset: 0x620 */
73882        uint8_t RESERVED_9[12];
73883   __I  uint32_t LOCKED3;                           /**< OTP Controller Program Locked Status 3 Register, offset: 0x630 */
73884        uint8_t RESERVED_10[12];
73885   __I  uint32_t LOCKED4;                           /**< OTP Controller Program Locked Status 4 Register, offset: 0x640 */
73886        uint8_t RESERVED_11[444];
73887   struct {                                         /* offset: 0x800, array step: 0x10 */
73888     __I  uint32_t FUSE;                              /**< Value of fuse word 0..Value of fuse word 143, array offset: 0x800, array step: 0x10 */
73889          uint8_t RESERVED_0[12];
73890   } FUSEN[144];
73891 } OCOTP_Type;
73892 
73893 /* ----------------------------------------------------------------------------
73894    -- OCOTP Register Masks
73895    ---------------------------------------------------------------------------- */
73896 
73897 /*!
73898  * @addtogroup OCOTP_Register_Masks OCOTP Register Masks
73899  * @{
73900  */
73901 
73902 /*! @name CTRL - OTP Controller Control and Status Register */
73903 /*! @{ */
73904 
73905 #define OCOTP_CTRL_ADDR_MASK                     (0x3FFU)
73906 #define OCOTP_CTRL_ADDR_SHIFT                    (0U)
73907 /*! ADDR - OTP write and read access address register
73908  *  0b0000000000-0b0000001111..Address of one of the 16 supplementary fuse words in OTP memory.
73909  *  0b0000010000-0b0100001111..Address of one of the 256 user fuse words in OTP memory.
73910  */
73911 #define OCOTP_CTRL_ADDR(x)                       (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_ADDR_SHIFT)) & OCOTP_CTRL_ADDR_MASK)
73912 
73913 #define OCOTP_CTRL_BUSY_MASK                     (0x400U)
73914 #define OCOTP_CTRL_BUSY_SHIFT                    (10U)
73915 /*! BUSY - OTP controller status bit
73916  *  0b0..No write or read access to OTP started.
73917  *  0b1..Write or read access to OTP started.
73918  */
73919 #define OCOTP_CTRL_BUSY(x)                       (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_BUSY_SHIFT)) & OCOTP_CTRL_BUSY_MASK)
73920 
73921 #define OCOTP_CTRL_ERROR_MASK                    (0x800U)
73922 #define OCOTP_CTRL_ERROR_SHIFT                   (11U)
73923 /*! ERROR - Locked Region Access Error
73924  *  0b0..No error.
73925  *  0b1..Error - access to a locked region requested.
73926  */
73927 #define OCOTP_CTRL_ERROR(x)                      (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_ERROR_SHIFT)) & OCOTP_CTRL_ERROR_MASK)
73928 
73929 #define OCOTP_CTRL_RELOAD_SHADOWS_MASK           (0x1000U)
73930 #define OCOTP_CTRL_RELOAD_SHADOWS_SHIFT          (12U)
73931 /*! RELOAD_SHADOWS - Reload Shadow Registers
73932  *  0b0..Do not force shadow register re-load.
73933  *  0b1..Force shadow register re-load. This bit is cleared automatically after shadow registers are re-loaded.
73934  */
73935 #define OCOTP_CTRL_RELOAD_SHADOWS(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_RELOAD_SHADOWS_SHIFT)) & OCOTP_CTRL_RELOAD_SHADOWS_MASK)
73936 
73937 #define OCOTP_CTRL_WORDLOCK_MASK                 (0x8000U)
73938 #define OCOTP_CTRL_WORDLOCK_SHIFT                (15U)
73939 /*! WORDLOCK - Lock fuse word
73940  *  0b0..No change to LOCK bit when programming a word using redundancy
73941  *  0b1..LOCK bit for fuse word will be set after successfully programming a word using redundancy
73942  */
73943 #define OCOTP_CTRL_WORDLOCK(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_WORDLOCK_SHIFT)) & OCOTP_CTRL_WORDLOCK_MASK)
73944 
73945 #define OCOTP_CTRL_WR_UNLOCK_MASK                (0xFFFF0000U)
73946 #define OCOTP_CTRL_WR_UNLOCK_SHIFT               (16U)
73947 /*! WR_UNLOCK - Write unlock
73948  *  0b0000000000000000..OTP write access is locked.
73949  *  0b0011111001110111..OTP write access is unlocked.
73950  */
73951 #define OCOTP_CTRL_WR_UNLOCK(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_WR_UNLOCK_SHIFT)) & OCOTP_CTRL_WR_UNLOCK_MASK)
73952 /*! @} */
73953 
73954 /*! @name CTRL_SET - OTP Controller Control and Status Register */
73955 /*! @{ */
73956 
73957 #define OCOTP_CTRL_SET_ADDR_MASK                 (0x3FFU)
73958 #define OCOTP_CTRL_SET_ADDR_SHIFT                (0U)
73959 /*! ADDR - OTP write and read access address register
73960  */
73961 #define OCOTP_CTRL_SET_ADDR(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_ADDR_SHIFT)) & OCOTP_CTRL_SET_ADDR_MASK)
73962 
73963 #define OCOTP_CTRL_SET_BUSY_MASK                 (0x400U)
73964 #define OCOTP_CTRL_SET_BUSY_SHIFT                (10U)
73965 /*! BUSY - OTP controller status bit
73966  */
73967 #define OCOTP_CTRL_SET_BUSY(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_BUSY_SHIFT)) & OCOTP_CTRL_SET_BUSY_MASK)
73968 
73969 #define OCOTP_CTRL_SET_ERROR_MASK                (0x800U)
73970 #define OCOTP_CTRL_SET_ERROR_SHIFT               (11U)
73971 /*! ERROR - Locked Region Access Error
73972  */
73973 #define OCOTP_CTRL_SET_ERROR(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_ERROR_SHIFT)) & OCOTP_CTRL_SET_ERROR_MASK)
73974 
73975 #define OCOTP_CTRL_SET_RELOAD_SHADOWS_MASK       (0x1000U)
73976 #define OCOTP_CTRL_SET_RELOAD_SHADOWS_SHIFT      (12U)
73977 /*! RELOAD_SHADOWS - Reload Shadow Registers
73978  */
73979 #define OCOTP_CTRL_SET_RELOAD_SHADOWS(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_RELOAD_SHADOWS_SHIFT)) & OCOTP_CTRL_SET_RELOAD_SHADOWS_MASK)
73980 
73981 #define OCOTP_CTRL_SET_WORDLOCK_MASK             (0x8000U)
73982 #define OCOTP_CTRL_SET_WORDLOCK_SHIFT            (15U)
73983 /*! WORDLOCK - Lock fuse word
73984  */
73985 #define OCOTP_CTRL_SET_WORDLOCK(x)               (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_WORDLOCK_SHIFT)) & OCOTP_CTRL_SET_WORDLOCK_MASK)
73986 
73987 #define OCOTP_CTRL_SET_WR_UNLOCK_MASK            (0xFFFF0000U)
73988 #define OCOTP_CTRL_SET_WR_UNLOCK_SHIFT           (16U)
73989 /*! WR_UNLOCK - Write unlock
73990  */
73991 #define OCOTP_CTRL_SET_WR_UNLOCK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_SET_WR_UNLOCK_SHIFT)) & OCOTP_CTRL_SET_WR_UNLOCK_MASK)
73992 /*! @} */
73993 
73994 /*! @name CTRL_CLR - OTP Controller Control and Status Register */
73995 /*! @{ */
73996 
73997 #define OCOTP_CTRL_CLR_ADDR_MASK                 (0x3FFU)
73998 #define OCOTP_CTRL_CLR_ADDR_SHIFT                (0U)
73999 /*! ADDR - OTP write and read access address register
74000  */
74001 #define OCOTP_CTRL_CLR_ADDR(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_ADDR_SHIFT)) & OCOTP_CTRL_CLR_ADDR_MASK)
74002 
74003 #define OCOTP_CTRL_CLR_BUSY_MASK                 (0x400U)
74004 #define OCOTP_CTRL_CLR_BUSY_SHIFT                (10U)
74005 /*! BUSY - OTP controller status bit
74006  */
74007 #define OCOTP_CTRL_CLR_BUSY(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_BUSY_SHIFT)) & OCOTP_CTRL_CLR_BUSY_MASK)
74008 
74009 #define OCOTP_CTRL_CLR_ERROR_MASK                (0x800U)
74010 #define OCOTP_CTRL_CLR_ERROR_SHIFT               (11U)
74011 /*! ERROR - Locked Region Access Error
74012  */
74013 #define OCOTP_CTRL_CLR_ERROR(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_ERROR_SHIFT)) & OCOTP_CTRL_CLR_ERROR_MASK)
74014 
74015 #define OCOTP_CTRL_CLR_RELOAD_SHADOWS_MASK       (0x1000U)
74016 #define OCOTP_CTRL_CLR_RELOAD_SHADOWS_SHIFT      (12U)
74017 /*! RELOAD_SHADOWS - Reload Shadow Registers
74018  */
74019 #define OCOTP_CTRL_CLR_RELOAD_SHADOWS(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_RELOAD_SHADOWS_SHIFT)) & OCOTP_CTRL_CLR_RELOAD_SHADOWS_MASK)
74020 
74021 #define OCOTP_CTRL_CLR_WORDLOCK_MASK             (0x8000U)
74022 #define OCOTP_CTRL_CLR_WORDLOCK_SHIFT            (15U)
74023 /*! WORDLOCK - Lock fuse word
74024  */
74025 #define OCOTP_CTRL_CLR_WORDLOCK(x)               (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_WORDLOCK_SHIFT)) & OCOTP_CTRL_CLR_WORDLOCK_MASK)
74026 
74027 #define OCOTP_CTRL_CLR_WR_UNLOCK_MASK            (0xFFFF0000U)
74028 #define OCOTP_CTRL_CLR_WR_UNLOCK_SHIFT           (16U)
74029 /*! WR_UNLOCK - Write unlock
74030  */
74031 #define OCOTP_CTRL_CLR_WR_UNLOCK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_CLR_WR_UNLOCK_SHIFT)) & OCOTP_CTRL_CLR_WR_UNLOCK_MASK)
74032 /*! @} */
74033 
74034 /*! @name CTRL_TOG - OTP Controller Control and Status Register */
74035 /*! @{ */
74036 
74037 #define OCOTP_CTRL_TOG_ADDR_MASK                 (0x3FFU)
74038 #define OCOTP_CTRL_TOG_ADDR_SHIFT                (0U)
74039 /*! ADDR - OTP write and read access address register
74040  */
74041 #define OCOTP_CTRL_TOG_ADDR(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_ADDR_SHIFT)) & OCOTP_CTRL_TOG_ADDR_MASK)
74042 
74043 #define OCOTP_CTRL_TOG_BUSY_MASK                 (0x400U)
74044 #define OCOTP_CTRL_TOG_BUSY_SHIFT                (10U)
74045 /*! BUSY - OTP controller status bit
74046  */
74047 #define OCOTP_CTRL_TOG_BUSY(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_BUSY_SHIFT)) & OCOTP_CTRL_TOG_BUSY_MASK)
74048 
74049 #define OCOTP_CTRL_TOG_ERROR_MASK                (0x800U)
74050 #define OCOTP_CTRL_TOG_ERROR_SHIFT               (11U)
74051 /*! ERROR - Locked Region Access Error
74052  */
74053 #define OCOTP_CTRL_TOG_ERROR(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_ERROR_SHIFT)) & OCOTP_CTRL_TOG_ERROR_MASK)
74054 
74055 #define OCOTP_CTRL_TOG_RELOAD_SHADOWS_MASK       (0x1000U)
74056 #define OCOTP_CTRL_TOG_RELOAD_SHADOWS_SHIFT      (12U)
74057 /*! RELOAD_SHADOWS - Reload Shadow Registers
74058  */
74059 #define OCOTP_CTRL_TOG_RELOAD_SHADOWS(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_RELOAD_SHADOWS_SHIFT)) & OCOTP_CTRL_TOG_RELOAD_SHADOWS_MASK)
74060 
74061 #define OCOTP_CTRL_TOG_WORDLOCK_MASK             (0x8000U)
74062 #define OCOTP_CTRL_TOG_WORDLOCK_SHIFT            (15U)
74063 /*! WORDLOCK - Lock fuse word
74064  */
74065 #define OCOTP_CTRL_TOG_WORDLOCK(x)               (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_WORDLOCK_SHIFT)) & OCOTP_CTRL_TOG_WORDLOCK_MASK)
74066 
74067 #define OCOTP_CTRL_TOG_WR_UNLOCK_MASK            (0xFFFF0000U)
74068 #define OCOTP_CTRL_TOG_WR_UNLOCK_SHIFT           (16U)
74069 /*! WR_UNLOCK - Write unlock
74070  */
74071 #define OCOTP_CTRL_TOG_WR_UNLOCK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_CTRL_TOG_WR_UNLOCK_SHIFT)) & OCOTP_CTRL_TOG_WR_UNLOCK_MASK)
74072 /*! @} */
74073 
74074 /*! @name PDN - OTP Controller PDN Register */
74075 /*! @{ */
74076 
74077 #define OCOTP_PDN_PDN_MASK                       (0x1U)
74078 #define OCOTP_PDN_PDN_SHIFT                      (0U)
74079 /*! PDN - PDN value
74080  *  0b0..OTP memory is not powered
74081  *  0b1..OTP memory is powered
74082  */
74083 #define OCOTP_PDN_PDN(x)                         (((uint32_t)(((uint32_t)(x)) << OCOTP_PDN_PDN_SHIFT)) & OCOTP_PDN_PDN_MASK)
74084 /*! @} */
74085 
74086 /*! @name DATA - OTP Controller Write Data Register */
74087 /*! @{ */
74088 
74089 #define OCOTP_DATA_DATA_MASK                     (0xFFFFFFFFU)
74090 #define OCOTP_DATA_DATA_SHIFT                    (0U)
74091 /*! DATA - Data
74092  */
74093 #define OCOTP_DATA_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << OCOTP_DATA_DATA_SHIFT)) & OCOTP_DATA_DATA_MASK)
74094 /*! @} */
74095 
74096 /*! @name READ_CTRL - OTP Controller Read Control Register */
74097 /*! @{ */
74098 
74099 #define OCOTP_READ_CTRL_READ_FUSE_MASK           (0x1U)
74100 #define OCOTP_READ_CTRL_READ_FUSE_SHIFT          (0U)
74101 /*! READ_FUSE - Read Fuse
74102  *  0b0..Do not initiate a read from OTP
74103  *  0b1..Initiate a read from OTP
74104  */
74105 #define OCOTP_READ_CTRL_READ_FUSE(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_READ_CTRL_READ_FUSE_SHIFT)) & OCOTP_READ_CTRL_READ_FUSE_MASK)
74106 
74107 #define OCOTP_READ_CTRL_READ_FUSE_CNTR_MASK      (0x6U)
74108 #define OCOTP_READ_CTRL_READ_FUSE_CNTR_SHIFT     (1U)
74109 /*! READ_FUSE_CNTR - Number of words to read.
74110  *  0b00..1 word
74111  *  0b01..2 words
74112  *  0b10..3 words
74113  *  0b11..4 words
74114  */
74115 #define OCOTP_READ_CTRL_READ_FUSE_CNTR(x)        (((uint32_t)(((uint32_t)(x)) << OCOTP_READ_CTRL_READ_FUSE_CNTR_SHIFT)) & OCOTP_READ_CTRL_READ_FUSE_CNTR_MASK)
74116 
74117 #define OCOTP_READ_CTRL_READ_FUSE_DONE_INTR_ENA_MASK (0x8U)
74118 #define OCOTP_READ_CTRL_READ_FUSE_DONE_INTR_ENA_SHIFT (3U)
74119 /*! READ_FUSE_DONE_INTR_ENA - Enable read-done interrupt
74120  *  0b0..Disable
74121  *  0b1..Enable
74122  */
74123 #define OCOTP_READ_CTRL_READ_FUSE_DONE_INTR_ENA(x) (((uint32_t)(((uint32_t)(x)) << OCOTP_READ_CTRL_READ_FUSE_DONE_INTR_ENA_SHIFT)) & OCOTP_READ_CTRL_READ_FUSE_DONE_INTR_ENA_MASK)
74124 
74125 #define OCOTP_READ_CTRL_READ_FUSE_ERROR_INTR_ENA_MASK (0x10U)
74126 #define OCOTP_READ_CTRL_READ_FUSE_ERROR_INTR_ENA_SHIFT (4U)
74127 /*! READ_FUSE_ERROR_INTR_ENA - Enable read-error interrupt
74128  *  0b0..Disable
74129  *  0b1..Enable
74130  */
74131 #define OCOTP_READ_CTRL_READ_FUSE_ERROR_INTR_ENA(x) (((uint32_t)(((uint32_t)(x)) << OCOTP_READ_CTRL_READ_FUSE_ERROR_INTR_ENA_SHIFT)) & OCOTP_READ_CTRL_READ_FUSE_ERROR_INTR_ENA_MASK)
74132 /*! @} */
74133 
74134 /*! @name OUT_STATUS - 8K OTP Memory STATUS Register */
74135 /*! @{ */
74136 
74137 #define OCOTP_OUT_STATUS_SEC_MASK                (0x200U)
74138 #define OCOTP_OUT_STATUS_SEC_SHIFT               (9U)
74139 /*! SEC - Single Error Correct
74140  */
74141 #define OCOTP_OUT_STATUS_SEC(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SEC_SHIFT)) & OCOTP_OUT_STATUS_SEC_MASK)
74142 
74143 #define OCOTP_OUT_STATUS_DED_MASK                (0x400U)
74144 #define OCOTP_OUT_STATUS_DED_SHIFT               (10U)
74145 /*! DED - Double error detect
74146  */
74147 #define OCOTP_OUT_STATUS_DED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED_SHIFT)) & OCOTP_OUT_STATUS_DED_MASK)
74148 
74149 #define OCOTP_OUT_STATUS_LOCKED_MASK             (0x800U)
74150 #define OCOTP_OUT_STATUS_LOCKED_SHIFT            (11U)
74151 /*! LOCKED - Word Locked
74152  */
74153 #define OCOTP_OUT_STATUS_LOCKED(x)               (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_LOCKED_SHIFT)) & OCOTP_OUT_STATUS_LOCKED_MASK)
74154 
74155 #define OCOTP_OUT_STATUS_PROGFAIL_MASK           (0x1000U)
74156 #define OCOTP_OUT_STATUS_PROGFAIL_SHIFT          (12U)
74157 /*! PROGFAIL - Programming failed
74158  */
74159 #define OCOTP_OUT_STATUS_PROGFAIL(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_PROGFAIL_SHIFT)) & OCOTP_OUT_STATUS_PROGFAIL_MASK)
74160 
74161 #define OCOTP_OUT_STATUS_ACK_MASK                (0x2000U)
74162 #define OCOTP_OUT_STATUS_ACK_SHIFT               (13U)
74163 /*! ACK - Acknowledge
74164  */
74165 #define OCOTP_OUT_STATUS_ACK(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_ACK_SHIFT)) & OCOTP_OUT_STATUS_ACK_MASK)
74166 
74167 #define OCOTP_OUT_STATUS_PWOK_MASK               (0x4000U)
74168 #define OCOTP_OUT_STATUS_PWOK_SHIFT              (14U)
74169 /*! PWOK - Power OK
74170  */
74171 #define OCOTP_OUT_STATUS_PWOK(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_PWOK_SHIFT)) & OCOTP_OUT_STATUS_PWOK_MASK)
74172 
74173 #define OCOTP_OUT_STATUS_FLAGSTATE_MASK          (0x78000U)
74174 #define OCOTP_OUT_STATUS_FLAGSTATE_SHIFT         (15U)
74175 /*! FLAGSTATE - Flag state
74176  */
74177 #define OCOTP_OUT_STATUS_FLAGSTATE(x)            (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_FLAGSTATE_SHIFT)) & OCOTP_OUT_STATUS_FLAGSTATE_MASK)
74178 
74179 #define OCOTP_OUT_STATUS_SEC_RELOAD_MASK         (0x80000U)
74180 #define OCOTP_OUT_STATUS_SEC_RELOAD_SHIFT        (19U)
74181 /*! SEC_RELOAD - Indicates single error correction occured on reload
74182  */
74183 #define OCOTP_OUT_STATUS_SEC_RELOAD(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SEC_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_SEC_RELOAD_MASK)
74184 
74185 #define OCOTP_OUT_STATUS_DED_RELOAD_MASK         (0x100000U)
74186 #define OCOTP_OUT_STATUS_DED_RELOAD_SHIFT        (20U)
74187 /*! DED_RELOAD - Indicates double error detection occured on reload
74188  */
74189 #define OCOTP_OUT_STATUS_DED_RELOAD(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_DED_RELOAD_MASK)
74190 
74191 #define OCOTP_OUT_STATUS_CALIBRATED_MASK         (0x200000U)
74192 #define OCOTP_OUT_STATUS_CALIBRATED_SHIFT        (21U)
74193 /*! CALIBRATED - Calibrated status
74194  */
74195 #define OCOTP_OUT_STATUS_CALIBRATED(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CALIBRATED_SHIFT)) & OCOTP_OUT_STATUS_CALIBRATED_MASK)
74196 
74197 #define OCOTP_OUT_STATUS_READ_DONE_INTR_MASK     (0x400000U)
74198 #define OCOTP_OUT_STATUS_READ_DONE_INTR_SHIFT    (22U)
74199 /*! READ_DONE_INTR - Read fuse done
74200  */
74201 #define OCOTP_OUT_STATUS_READ_DONE_INTR(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_READ_DONE_INTR_SHIFT)) & OCOTP_OUT_STATUS_READ_DONE_INTR_MASK)
74202 
74203 #define OCOTP_OUT_STATUS_READ_ERROR_INTR_MASK    (0x800000U)
74204 #define OCOTP_OUT_STATUS_READ_ERROR_INTR_SHIFT   (23U)
74205 /*! READ_ERROR_INTR - Fuse read error
74206  *  0b0..Read operation finished with out any error
74207  *  0b1..Read operation finished with an error
74208  */
74209 #define OCOTP_OUT_STATUS_READ_ERROR_INTR(x)      (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_READ_ERROR_INTR_SHIFT)) & OCOTP_OUT_STATUS_READ_ERROR_INTR_MASK)
74210 
74211 #define OCOTP_OUT_STATUS_DED0_MASK               (0x1000000U)
74212 #define OCOTP_OUT_STATUS_DED0_SHIFT              (24U)
74213 /*! DED0 - Double error detect
74214  */
74215 #define OCOTP_OUT_STATUS_DED0(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED0_SHIFT)) & OCOTP_OUT_STATUS_DED0_MASK)
74216 
74217 #define OCOTP_OUT_STATUS_DED1_MASK               (0x2000000U)
74218 #define OCOTP_OUT_STATUS_DED1_SHIFT              (25U)
74219 /*! DED1 - Double error detect
74220  */
74221 #define OCOTP_OUT_STATUS_DED1(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED1_SHIFT)) & OCOTP_OUT_STATUS_DED1_MASK)
74222 
74223 #define OCOTP_OUT_STATUS_DED2_MASK               (0x4000000U)
74224 #define OCOTP_OUT_STATUS_DED2_SHIFT              (26U)
74225 /*! DED2 - Double error detect
74226  */
74227 #define OCOTP_OUT_STATUS_DED2(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED2_SHIFT)) & OCOTP_OUT_STATUS_DED2_MASK)
74228 
74229 #define OCOTP_OUT_STATUS_DED3_MASK               (0x8000000U)
74230 #define OCOTP_OUT_STATUS_DED3_SHIFT              (27U)
74231 /*! DED3 - Double error detect
74232  */
74233 #define OCOTP_OUT_STATUS_DED3(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_DED3_SHIFT)) & OCOTP_OUT_STATUS_DED3_MASK)
74234 /*! @} */
74235 
74236 /*! @name OUT_STATUS_SET - 8K OTP Memory STATUS Register */
74237 /*! @{ */
74238 
74239 #define OCOTP_OUT_STATUS_SET_SEC_MASK            (0x200U)
74240 #define OCOTP_OUT_STATUS_SET_SEC_SHIFT           (9U)
74241 /*! SEC - Single Error Correct
74242  */
74243 #define OCOTP_OUT_STATUS_SET_SEC(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_SEC_SHIFT)) & OCOTP_OUT_STATUS_SET_SEC_MASK)
74244 
74245 #define OCOTP_OUT_STATUS_SET_DED_MASK            (0x400U)
74246 #define OCOTP_OUT_STATUS_SET_DED_SHIFT           (10U)
74247 /*! DED - Double error detect
74248  */
74249 #define OCOTP_OUT_STATUS_SET_DED(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED_SHIFT)) & OCOTP_OUT_STATUS_SET_DED_MASK)
74250 
74251 #define OCOTP_OUT_STATUS_SET_LOCKED_MASK         (0x800U)
74252 #define OCOTP_OUT_STATUS_SET_LOCKED_SHIFT        (11U)
74253 /*! LOCKED - Word Locked
74254  */
74255 #define OCOTP_OUT_STATUS_SET_LOCKED(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_LOCKED_SHIFT)) & OCOTP_OUT_STATUS_SET_LOCKED_MASK)
74256 
74257 #define OCOTP_OUT_STATUS_SET_PROGFAIL_MASK       (0x1000U)
74258 #define OCOTP_OUT_STATUS_SET_PROGFAIL_SHIFT      (12U)
74259 /*! PROGFAIL - Programming failed
74260  */
74261 #define OCOTP_OUT_STATUS_SET_PROGFAIL(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_PROGFAIL_SHIFT)) & OCOTP_OUT_STATUS_SET_PROGFAIL_MASK)
74262 
74263 #define OCOTP_OUT_STATUS_SET_ACK_MASK            (0x2000U)
74264 #define OCOTP_OUT_STATUS_SET_ACK_SHIFT           (13U)
74265 /*! ACK - Acknowledge
74266  */
74267 #define OCOTP_OUT_STATUS_SET_ACK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_ACK_SHIFT)) & OCOTP_OUT_STATUS_SET_ACK_MASK)
74268 
74269 #define OCOTP_OUT_STATUS_SET_PWOK_MASK           (0x4000U)
74270 #define OCOTP_OUT_STATUS_SET_PWOK_SHIFT          (14U)
74271 /*! PWOK - Power OK
74272  */
74273 #define OCOTP_OUT_STATUS_SET_PWOK(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_PWOK_SHIFT)) & OCOTP_OUT_STATUS_SET_PWOK_MASK)
74274 
74275 #define OCOTP_OUT_STATUS_SET_FLAGSTATE_MASK      (0x78000U)
74276 #define OCOTP_OUT_STATUS_SET_FLAGSTATE_SHIFT     (15U)
74277 /*! FLAGSTATE - Flag state
74278  */
74279 #define OCOTP_OUT_STATUS_SET_FLAGSTATE(x)        (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_FLAGSTATE_SHIFT)) & OCOTP_OUT_STATUS_SET_FLAGSTATE_MASK)
74280 
74281 #define OCOTP_OUT_STATUS_SET_SEC_RELOAD_MASK     (0x80000U)
74282 #define OCOTP_OUT_STATUS_SET_SEC_RELOAD_SHIFT    (19U)
74283 /*! SEC_RELOAD - Indicates single error correction occured on reload
74284  */
74285 #define OCOTP_OUT_STATUS_SET_SEC_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_SEC_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_SET_SEC_RELOAD_MASK)
74286 
74287 #define OCOTP_OUT_STATUS_SET_DED_RELOAD_MASK     (0x100000U)
74288 #define OCOTP_OUT_STATUS_SET_DED_RELOAD_SHIFT    (20U)
74289 /*! DED_RELOAD - Indicates double error detection occured on reload
74290  */
74291 #define OCOTP_OUT_STATUS_SET_DED_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_SET_DED_RELOAD_MASK)
74292 
74293 #define OCOTP_OUT_STATUS_SET_CALIBRATED_MASK     (0x200000U)
74294 #define OCOTP_OUT_STATUS_SET_CALIBRATED_SHIFT    (21U)
74295 /*! CALIBRATED - Calibrated status
74296  */
74297 #define OCOTP_OUT_STATUS_SET_CALIBRATED(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_CALIBRATED_SHIFT)) & OCOTP_OUT_STATUS_SET_CALIBRATED_MASK)
74298 
74299 #define OCOTP_OUT_STATUS_SET_READ_DONE_INTR_MASK (0x400000U)
74300 #define OCOTP_OUT_STATUS_SET_READ_DONE_INTR_SHIFT (22U)
74301 /*! READ_DONE_INTR - Read fuse done
74302  */
74303 #define OCOTP_OUT_STATUS_SET_READ_DONE_INTR(x)   (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_READ_DONE_INTR_SHIFT)) & OCOTP_OUT_STATUS_SET_READ_DONE_INTR_MASK)
74304 
74305 #define OCOTP_OUT_STATUS_SET_READ_ERROR_INTR_MASK (0x800000U)
74306 #define OCOTP_OUT_STATUS_SET_READ_ERROR_INTR_SHIFT (23U)
74307 /*! READ_ERROR_INTR - Fuse read error
74308  */
74309 #define OCOTP_OUT_STATUS_SET_READ_ERROR_INTR(x)  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_READ_ERROR_INTR_SHIFT)) & OCOTP_OUT_STATUS_SET_READ_ERROR_INTR_MASK)
74310 
74311 #define OCOTP_OUT_STATUS_SET_DED0_MASK           (0x1000000U)
74312 #define OCOTP_OUT_STATUS_SET_DED0_SHIFT          (24U)
74313 /*! DED0 - Double error detect
74314  */
74315 #define OCOTP_OUT_STATUS_SET_DED0(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED0_SHIFT)) & OCOTP_OUT_STATUS_SET_DED0_MASK)
74316 
74317 #define OCOTP_OUT_STATUS_SET_DED1_MASK           (0x2000000U)
74318 #define OCOTP_OUT_STATUS_SET_DED1_SHIFT          (25U)
74319 /*! DED1 - Double error detect
74320  */
74321 #define OCOTP_OUT_STATUS_SET_DED1(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED1_SHIFT)) & OCOTP_OUT_STATUS_SET_DED1_MASK)
74322 
74323 #define OCOTP_OUT_STATUS_SET_DED2_MASK           (0x4000000U)
74324 #define OCOTP_OUT_STATUS_SET_DED2_SHIFT          (26U)
74325 /*! DED2 - Double error detect
74326  */
74327 #define OCOTP_OUT_STATUS_SET_DED2(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED2_SHIFT)) & OCOTP_OUT_STATUS_SET_DED2_MASK)
74328 
74329 #define OCOTP_OUT_STATUS_SET_DED3_MASK           (0x8000000U)
74330 #define OCOTP_OUT_STATUS_SET_DED3_SHIFT          (27U)
74331 /*! DED3 - Double error detect
74332  */
74333 #define OCOTP_OUT_STATUS_SET_DED3(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_SET_DED3_SHIFT)) & OCOTP_OUT_STATUS_SET_DED3_MASK)
74334 /*! @} */
74335 
74336 /*! @name OUT_STATUS_CLR - 8K OTP Memory STATUS Register */
74337 /*! @{ */
74338 
74339 #define OCOTP_OUT_STATUS_CLR_SEC_MASK            (0x200U)
74340 #define OCOTP_OUT_STATUS_CLR_SEC_SHIFT           (9U)
74341 /*! SEC - Single Error Correct
74342  */
74343 #define OCOTP_OUT_STATUS_CLR_SEC(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_SEC_SHIFT)) & OCOTP_OUT_STATUS_CLR_SEC_MASK)
74344 
74345 #define OCOTP_OUT_STATUS_CLR_DED_MASK            (0x400U)
74346 #define OCOTP_OUT_STATUS_CLR_DED_SHIFT           (10U)
74347 /*! DED - Double error detect
74348  */
74349 #define OCOTP_OUT_STATUS_CLR_DED(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED_MASK)
74350 
74351 #define OCOTP_OUT_STATUS_CLR_LOCKED_MASK         (0x800U)
74352 #define OCOTP_OUT_STATUS_CLR_LOCKED_SHIFT        (11U)
74353 /*! LOCKED - Word Locked
74354  */
74355 #define OCOTP_OUT_STATUS_CLR_LOCKED(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_LOCKED_SHIFT)) & OCOTP_OUT_STATUS_CLR_LOCKED_MASK)
74356 
74357 #define OCOTP_OUT_STATUS_CLR_PROGFAIL_MASK       (0x1000U)
74358 #define OCOTP_OUT_STATUS_CLR_PROGFAIL_SHIFT      (12U)
74359 /*! PROGFAIL - Programming failed
74360  */
74361 #define OCOTP_OUT_STATUS_CLR_PROGFAIL(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_PROGFAIL_SHIFT)) & OCOTP_OUT_STATUS_CLR_PROGFAIL_MASK)
74362 
74363 #define OCOTP_OUT_STATUS_CLR_ACK_MASK            (0x2000U)
74364 #define OCOTP_OUT_STATUS_CLR_ACK_SHIFT           (13U)
74365 /*! ACK - Acknowledge
74366  */
74367 #define OCOTP_OUT_STATUS_CLR_ACK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_ACK_SHIFT)) & OCOTP_OUT_STATUS_CLR_ACK_MASK)
74368 
74369 #define OCOTP_OUT_STATUS_CLR_PWOK_MASK           (0x4000U)
74370 #define OCOTP_OUT_STATUS_CLR_PWOK_SHIFT          (14U)
74371 /*! PWOK - Power OK
74372  */
74373 #define OCOTP_OUT_STATUS_CLR_PWOK(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_PWOK_SHIFT)) & OCOTP_OUT_STATUS_CLR_PWOK_MASK)
74374 
74375 #define OCOTP_OUT_STATUS_CLR_FLAGSTATE_MASK      (0x78000U)
74376 #define OCOTP_OUT_STATUS_CLR_FLAGSTATE_SHIFT     (15U)
74377 /*! FLAGSTATE - Flag state
74378  */
74379 #define OCOTP_OUT_STATUS_CLR_FLAGSTATE(x)        (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_FLAGSTATE_SHIFT)) & OCOTP_OUT_STATUS_CLR_FLAGSTATE_MASK)
74380 
74381 #define OCOTP_OUT_STATUS_CLR_SEC_RELOAD_MASK     (0x80000U)
74382 #define OCOTP_OUT_STATUS_CLR_SEC_RELOAD_SHIFT    (19U)
74383 /*! SEC_RELOAD - Indicates single error correction occured on reload
74384  */
74385 #define OCOTP_OUT_STATUS_CLR_SEC_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_SEC_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_CLR_SEC_RELOAD_MASK)
74386 
74387 #define OCOTP_OUT_STATUS_CLR_DED_RELOAD_MASK     (0x100000U)
74388 #define OCOTP_OUT_STATUS_CLR_DED_RELOAD_SHIFT    (20U)
74389 /*! DED_RELOAD - Indicates double error detection occured on reload
74390  */
74391 #define OCOTP_OUT_STATUS_CLR_DED_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED_RELOAD_MASK)
74392 
74393 #define OCOTP_OUT_STATUS_CLR_CALIBRATED_MASK     (0x200000U)
74394 #define OCOTP_OUT_STATUS_CLR_CALIBRATED_SHIFT    (21U)
74395 /*! CALIBRATED - Calibrated status
74396  */
74397 #define OCOTP_OUT_STATUS_CLR_CALIBRATED(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_CALIBRATED_SHIFT)) & OCOTP_OUT_STATUS_CLR_CALIBRATED_MASK)
74398 
74399 #define OCOTP_OUT_STATUS_CLR_READ_DONE_INTR_MASK (0x400000U)
74400 #define OCOTP_OUT_STATUS_CLR_READ_DONE_INTR_SHIFT (22U)
74401 /*! READ_DONE_INTR - Read fuse done
74402  */
74403 #define OCOTP_OUT_STATUS_CLR_READ_DONE_INTR(x)   (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_READ_DONE_INTR_SHIFT)) & OCOTP_OUT_STATUS_CLR_READ_DONE_INTR_MASK)
74404 
74405 #define OCOTP_OUT_STATUS_CLR_READ_ERROR_INTR_MASK (0x800000U)
74406 #define OCOTP_OUT_STATUS_CLR_READ_ERROR_INTR_SHIFT (23U)
74407 /*! READ_ERROR_INTR - Fuse read error
74408  */
74409 #define OCOTP_OUT_STATUS_CLR_READ_ERROR_INTR(x)  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_READ_ERROR_INTR_SHIFT)) & OCOTP_OUT_STATUS_CLR_READ_ERROR_INTR_MASK)
74410 
74411 #define OCOTP_OUT_STATUS_CLR_DED0_MASK           (0x1000000U)
74412 #define OCOTP_OUT_STATUS_CLR_DED0_SHIFT          (24U)
74413 /*! DED0 - Double error detect
74414  */
74415 #define OCOTP_OUT_STATUS_CLR_DED0(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED0_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED0_MASK)
74416 
74417 #define OCOTP_OUT_STATUS_CLR_DED1_MASK           (0x2000000U)
74418 #define OCOTP_OUT_STATUS_CLR_DED1_SHIFT          (25U)
74419 /*! DED1 - Double error detect
74420  */
74421 #define OCOTP_OUT_STATUS_CLR_DED1(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED1_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED1_MASK)
74422 
74423 #define OCOTP_OUT_STATUS_CLR_DED2_MASK           (0x4000000U)
74424 #define OCOTP_OUT_STATUS_CLR_DED2_SHIFT          (26U)
74425 /*! DED2 - Double error detect
74426  */
74427 #define OCOTP_OUT_STATUS_CLR_DED2(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED2_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED2_MASK)
74428 
74429 #define OCOTP_OUT_STATUS_CLR_DED3_MASK           (0x8000000U)
74430 #define OCOTP_OUT_STATUS_CLR_DED3_SHIFT          (27U)
74431 /*! DED3 - Double error detect
74432  */
74433 #define OCOTP_OUT_STATUS_CLR_DED3(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_CLR_DED3_SHIFT)) & OCOTP_OUT_STATUS_CLR_DED3_MASK)
74434 /*! @} */
74435 
74436 /*! @name OUT_STATUS_TOG - 8K OTP Memory STATUS Register */
74437 /*! @{ */
74438 
74439 #define OCOTP_OUT_STATUS_TOG_SEC_MASK            (0x200U)
74440 #define OCOTP_OUT_STATUS_TOG_SEC_SHIFT           (9U)
74441 /*! SEC - Single Error Correct
74442  */
74443 #define OCOTP_OUT_STATUS_TOG_SEC(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_SEC_SHIFT)) & OCOTP_OUT_STATUS_TOG_SEC_MASK)
74444 
74445 #define OCOTP_OUT_STATUS_TOG_DED_MASK            (0x400U)
74446 #define OCOTP_OUT_STATUS_TOG_DED_SHIFT           (10U)
74447 /*! DED - Double error detect
74448  */
74449 #define OCOTP_OUT_STATUS_TOG_DED(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED_MASK)
74450 
74451 #define OCOTP_OUT_STATUS_TOG_LOCKED_MASK         (0x800U)
74452 #define OCOTP_OUT_STATUS_TOG_LOCKED_SHIFT        (11U)
74453 /*! LOCKED - Word Locked
74454  */
74455 #define OCOTP_OUT_STATUS_TOG_LOCKED(x)           (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_LOCKED_SHIFT)) & OCOTP_OUT_STATUS_TOG_LOCKED_MASK)
74456 
74457 #define OCOTP_OUT_STATUS_TOG_PROGFAIL_MASK       (0x1000U)
74458 #define OCOTP_OUT_STATUS_TOG_PROGFAIL_SHIFT      (12U)
74459 /*! PROGFAIL - Programming failed
74460  */
74461 #define OCOTP_OUT_STATUS_TOG_PROGFAIL(x)         (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_PROGFAIL_SHIFT)) & OCOTP_OUT_STATUS_TOG_PROGFAIL_MASK)
74462 
74463 #define OCOTP_OUT_STATUS_TOG_ACK_MASK            (0x2000U)
74464 #define OCOTP_OUT_STATUS_TOG_ACK_SHIFT           (13U)
74465 /*! ACK - Acknowledge
74466  */
74467 #define OCOTP_OUT_STATUS_TOG_ACK(x)              (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_ACK_SHIFT)) & OCOTP_OUT_STATUS_TOG_ACK_MASK)
74468 
74469 #define OCOTP_OUT_STATUS_TOG_PWOK_MASK           (0x4000U)
74470 #define OCOTP_OUT_STATUS_TOG_PWOK_SHIFT          (14U)
74471 /*! PWOK - Power OK
74472  */
74473 #define OCOTP_OUT_STATUS_TOG_PWOK(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_PWOK_SHIFT)) & OCOTP_OUT_STATUS_TOG_PWOK_MASK)
74474 
74475 #define OCOTP_OUT_STATUS_TOG_FLAGSTATE_MASK      (0x78000U)
74476 #define OCOTP_OUT_STATUS_TOG_FLAGSTATE_SHIFT     (15U)
74477 /*! FLAGSTATE - Flag state
74478  */
74479 #define OCOTP_OUT_STATUS_TOG_FLAGSTATE(x)        (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_FLAGSTATE_SHIFT)) & OCOTP_OUT_STATUS_TOG_FLAGSTATE_MASK)
74480 
74481 #define OCOTP_OUT_STATUS_TOG_SEC_RELOAD_MASK     (0x80000U)
74482 #define OCOTP_OUT_STATUS_TOG_SEC_RELOAD_SHIFT    (19U)
74483 /*! SEC_RELOAD - Indicates single error correction occured on reload
74484  */
74485 #define OCOTP_OUT_STATUS_TOG_SEC_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_SEC_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_TOG_SEC_RELOAD_MASK)
74486 
74487 #define OCOTP_OUT_STATUS_TOG_DED_RELOAD_MASK     (0x100000U)
74488 #define OCOTP_OUT_STATUS_TOG_DED_RELOAD_SHIFT    (20U)
74489 /*! DED_RELOAD - Indicates double error detection occured on reload
74490  */
74491 #define OCOTP_OUT_STATUS_TOG_DED_RELOAD(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED_RELOAD_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED_RELOAD_MASK)
74492 
74493 #define OCOTP_OUT_STATUS_TOG_CALIBRATED_MASK     (0x200000U)
74494 #define OCOTP_OUT_STATUS_TOG_CALIBRATED_SHIFT    (21U)
74495 /*! CALIBRATED - Calibrated status
74496  */
74497 #define OCOTP_OUT_STATUS_TOG_CALIBRATED(x)       (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_CALIBRATED_SHIFT)) & OCOTP_OUT_STATUS_TOG_CALIBRATED_MASK)
74498 
74499 #define OCOTP_OUT_STATUS_TOG_READ_DONE_INTR_MASK (0x400000U)
74500 #define OCOTP_OUT_STATUS_TOG_READ_DONE_INTR_SHIFT (22U)
74501 /*! READ_DONE_INTR - Read fuse done
74502  */
74503 #define OCOTP_OUT_STATUS_TOG_READ_DONE_INTR(x)   (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_READ_DONE_INTR_SHIFT)) & OCOTP_OUT_STATUS_TOG_READ_DONE_INTR_MASK)
74504 
74505 #define OCOTP_OUT_STATUS_TOG_READ_ERROR_INTR_MASK (0x800000U)
74506 #define OCOTP_OUT_STATUS_TOG_READ_ERROR_INTR_SHIFT (23U)
74507 /*! READ_ERROR_INTR - Fuse read error
74508  */
74509 #define OCOTP_OUT_STATUS_TOG_READ_ERROR_INTR(x)  (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_READ_ERROR_INTR_SHIFT)) & OCOTP_OUT_STATUS_TOG_READ_ERROR_INTR_MASK)
74510 
74511 #define OCOTP_OUT_STATUS_TOG_DED0_MASK           (0x1000000U)
74512 #define OCOTP_OUT_STATUS_TOG_DED0_SHIFT          (24U)
74513 /*! DED0 - Double error detect
74514  */
74515 #define OCOTP_OUT_STATUS_TOG_DED0(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED0_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED0_MASK)
74516 
74517 #define OCOTP_OUT_STATUS_TOG_DED1_MASK           (0x2000000U)
74518 #define OCOTP_OUT_STATUS_TOG_DED1_SHIFT          (25U)
74519 /*! DED1 - Double error detect
74520  */
74521 #define OCOTP_OUT_STATUS_TOG_DED1(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED1_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED1_MASK)
74522 
74523 #define OCOTP_OUT_STATUS_TOG_DED2_MASK           (0x4000000U)
74524 #define OCOTP_OUT_STATUS_TOG_DED2_SHIFT          (26U)
74525 /*! DED2 - Double error detect
74526  */
74527 #define OCOTP_OUT_STATUS_TOG_DED2(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED2_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED2_MASK)
74528 
74529 #define OCOTP_OUT_STATUS_TOG_DED3_MASK           (0x8000000U)
74530 #define OCOTP_OUT_STATUS_TOG_DED3_SHIFT          (27U)
74531 /*! DED3 - Double error detect
74532  */
74533 #define OCOTP_OUT_STATUS_TOG_DED3(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_OUT_STATUS_TOG_DED3_SHIFT)) & OCOTP_OUT_STATUS_TOG_DED3_MASK)
74534 /*! @} */
74535 
74536 /*! @name VERSION - OTP Controller Version Register */
74537 /*! @{ */
74538 
74539 #define OCOTP_VERSION_STEP_MASK                  (0xFFFFU)
74540 #define OCOTP_VERSION_STEP_SHIFT                 (0U)
74541 /*! STEP - RTL Version Stepping
74542  */
74543 #define OCOTP_VERSION_STEP(x)                    (((uint32_t)(((uint32_t)(x)) << OCOTP_VERSION_STEP_SHIFT)) & OCOTP_VERSION_STEP_MASK)
74544 
74545 #define OCOTP_VERSION_MINOR_MASK                 (0xFF0000U)
74546 #define OCOTP_VERSION_MINOR_SHIFT                (16U)
74547 /*! MINOR - Minor RTL Version
74548  */
74549 #define OCOTP_VERSION_MINOR(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_VERSION_MINOR_SHIFT)) & OCOTP_VERSION_MINOR_MASK)
74550 
74551 #define OCOTP_VERSION_MAJOR_MASK                 (0xFF000000U)
74552 #define OCOTP_VERSION_MAJOR_SHIFT                (24U)
74553 /*! MAJOR - Major RTL Version
74554  */
74555 #define OCOTP_VERSION_MAJOR(x)                   (((uint32_t)(((uint32_t)(x)) << OCOTP_VERSION_MAJOR_SHIFT)) & OCOTP_VERSION_MAJOR_MASK)
74556 /*! @} */
74557 
74558 /*! @name READ_FUSE_DATA - OTP Controller Read Data 0 Register..OTP Controller Read Data 3 Register */
74559 /*! @{ */
74560 
74561 #define OCOTP_READ_FUSE_DATA_DATA_MASK           (0xFFFFFFFFU)
74562 #define OCOTP_READ_FUSE_DATA_DATA_SHIFT          (0U)
74563 /*! DATA - Data
74564  */
74565 #define OCOTP_READ_FUSE_DATA_DATA(x)             (((uint32_t)(((uint32_t)(x)) << OCOTP_READ_FUSE_DATA_DATA_SHIFT)) & OCOTP_READ_FUSE_DATA_DATA_MASK)
74566 /*! @} */
74567 
74568 /* The count of OCOTP_READ_FUSE_DATA */
74569 #define OCOTP_READ_FUSE_DATA_COUNT               (4U)
74570 
74571 /*! @name SW_LOCK - SW_LOCK Register */
74572 /*! @{ */
74573 
74574 #define OCOTP_SW_LOCK_SW_LOCK_MASK               (0xFFFFFFFFU)
74575 #define OCOTP_SW_LOCK_SW_LOCK_SHIFT              (0U)
74576 #define OCOTP_SW_LOCK_SW_LOCK(x)                 (((uint32_t)(((uint32_t)(x)) << OCOTP_SW_LOCK_SW_LOCK_SHIFT)) & OCOTP_SW_LOCK_SW_LOCK_MASK)
74577 /*! @} */
74578 
74579 /*! @name BIT_LOCK - BIT_LOCK Register */
74580 /*! @{ */
74581 
74582 #define OCOTP_BIT_LOCK_BIT_LOCK_MASK             (0xFFFFFFFFU)
74583 #define OCOTP_BIT_LOCK_BIT_LOCK_SHIFT            (0U)
74584 #define OCOTP_BIT_LOCK_BIT_LOCK(x)               (((uint32_t)(((uint32_t)(x)) << OCOTP_BIT_LOCK_BIT_LOCK_SHIFT)) & OCOTP_BIT_LOCK_BIT_LOCK_MASK)
74585 /*! @} */
74586 
74587 /*! @name LOCKED0 - OTP Controller Program Locked Status 0 Register */
74588 /*! @{ */
74589 
74590 #define OCOTP_LOCKED0_LOCKED_MASK                (0xFFFFU)
74591 #define OCOTP_LOCKED0_LOCKED_SHIFT               (0U)
74592 #define OCOTP_LOCKED0_LOCKED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_LOCKED0_LOCKED_SHIFT)) & OCOTP_LOCKED0_LOCKED_MASK)
74593 /*! @} */
74594 
74595 /*! @name LOCKED1 - OTP Controller Program Locked Status 1 Register */
74596 /*! @{ */
74597 
74598 #define OCOTP_LOCKED1_LOCKED_MASK                (0xFFFFFFFFU)
74599 #define OCOTP_LOCKED1_LOCKED_SHIFT               (0U)
74600 #define OCOTP_LOCKED1_LOCKED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_LOCKED1_LOCKED_SHIFT)) & OCOTP_LOCKED1_LOCKED_MASK)
74601 /*! @} */
74602 
74603 /*! @name LOCKED2 - OTP Controller Program Locked Status 2 Register */
74604 /*! @{ */
74605 
74606 #define OCOTP_LOCKED2_LOCKED_MASK                (0xFFFFFFFFU)
74607 #define OCOTP_LOCKED2_LOCKED_SHIFT               (0U)
74608 #define OCOTP_LOCKED2_LOCKED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_LOCKED2_LOCKED_SHIFT)) & OCOTP_LOCKED2_LOCKED_MASK)
74609 /*! @} */
74610 
74611 /*! @name LOCKED3 - OTP Controller Program Locked Status 3 Register */
74612 /*! @{ */
74613 
74614 #define OCOTP_LOCKED3_LOCKED_MASK                (0xFFFFFFFFU)
74615 #define OCOTP_LOCKED3_LOCKED_SHIFT               (0U)
74616 #define OCOTP_LOCKED3_LOCKED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_LOCKED3_LOCKED_SHIFT)) & OCOTP_LOCKED3_LOCKED_MASK)
74617 /*! @} */
74618 
74619 /*! @name LOCKED4 - OTP Controller Program Locked Status 4 Register */
74620 /*! @{ */
74621 
74622 #define OCOTP_LOCKED4_LOCKED_MASK                (0xFFFFFFFFU)
74623 #define OCOTP_LOCKED4_LOCKED_SHIFT               (0U)
74624 #define OCOTP_LOCKED4_LOCKED(x)                  (((uint32_t)(((uint32_t)(x)) << OCOTP_LOCKED4_LOCKED_SHIFT)) & OCOTP_LOCKED4_LOCKED_MASK)
74625 /*! @} */
74626 
74627 /*! @name FUSE - Value of fuse word 0..Value of fuse word 143 */
74628 /*! @{ */
74629 
74630 #define OCOTP_FUSE_BITS_MASK                     (0xFFFFFFFFU)
74631 #define OCOTP_FUSE_BITS_SHIFT                    (0U)
74632 /*! BITS - Reflects value of the fuse word
74633  */
74634 #define OCOTP_FUSE_BITS(x)                       (((uint32_t)(((uint32_t)(x)) << OCOTP_FUSE_BITS_SHIFT)) & OCOTP_FUSE_BITS_MASK)
74635 /*! @} */
74636 
74637 /* The count of OCOTP_FUSE */
74638 #define OCOTP_FUSE_COUNT                         (144U)
74639 
74640 
74641 /*!
74642  * @}
74643  */ /* end of group OCOTP_Register_Masks */
74644 
74645 
74646 /* OCOTP - Peripheral instance base addresses */
74647 /** Peripheral OCOTP base address */
74648 #define OCOTP_BASE                               (0x40CAC000u)
74649 /** Peripheral OCOTP base pointer */
74650 #define OCOTP                                    ((OCOTP_Type *)OCOTP_BASE)
74651 /** Array initializer of OCOTP peripheral base addresses */
74652 #define OCOTP_BASE_ADDRS                         { OCOTP_BASE }
74653 /** Array initializer of OCOTP peripheral base pointers */
74654 #define OCOTP_BASE_PTRS                          { OCOTP }
74655 
74656 /*!
74657  * @}
74658  */ /* end of group OCOTP_Peripheral_Access_Layer */
74659 
74660 
74661 /* ----------------------------------------------------------------------------
74662    -- OSC_RC_400M Peripheral Access Layer
74663    ---------------------------------------------------------------------------- */
74664 
74665 /*!
74666  * @addtogroup OSC_RC_400M_Peripheral_Access_Layer OSC_RC_400M Peripheral Access Layer
74667  * @{
74668  */
74669 
74670 /** OSC_RC_400M - Register Layout Typedef */
74671 typedef struct {
74672   struct {                                         /* offset: 0x0 */
74673     __IO uint32_t RW;                                /**< Control Register 0, offset: 0x0 */
74674     __IO uint32_t SET;                               /**< Control Register 0, offset: 0x4 */
74675     __IO uint32_t CLR;                               /**< Control Register 0, offset: 0x8 */
74676     __IO uint32_t TOG;                               /**< Control Register 0, offset: 0xC */
74677   } CTRL0;
74678   struct {                                         /* offset: 0x10 */
74679     __IO uint32_t RW;                                /**< Control Register 1, offset: 0x10 */
74680     __IO uint32_t SET;                               /**< Control Register 1, offset: 0x14 */
74681     __IO uint32_t CLR;                               /**< Control Register 1, offset: 0x18 */
74682     __IO uint32_t TOG;                               /**< Control Register 1, offset: 0x1C */
74683   } CTRL1;
74684   struct {                                         /* offset: 0x20 */
74685     __IO uint32_t RW;                                /**< Control Register 2, offset: 0x20 */
74686     __IO uint32_t SET;                               /**< Control Register 2, offset: 0x24 */
74687     __IO uint32_t CLR;                               /**< Control Register 2, offset: 0x28 */
74688     __IO uint32_t TOG;                               /**< Control Register 2, offset: 0x2C */
74689   } CTRL2;
74690   struct {                                         /* offset: 0x30 */
74691     __IO uint32_t RW;                                /**< Control Register 3, offset: 0x30 */
74692     __IO uint32_t SET;                               /**< Control Register 3, offset: 0x34 */
74693     __IO uint32_t CLR;                               /**< Control Register 3, offset: 0x38 */
74694     __IO uint32_t TOG;                               /**< Control Register 3, offset: 0x3C */
74695   } CTRL3;
74696        uint8_t RESERVED_0[16];
74697   struct {                                         /* offset: 0x50 */
74698     __I  uint32_t RW;                                /**< Status Register 0, offset: 0x50 */
74699     __I  uint32_t SET;                               /**< Status Register 0, offset: 0x54 */
74700     __I  uint32_t CLR;                               /**< Status Register 0, offset: 0x58 */
74701     __I  uint32_t TOG;                               /**< Status Register 0, offset: 0x5C */
74702   } STAT0;
74703   struct {                                         /* offset: 0x60 */
74704     __I  uint32_t RW;                                /**< Status Register 1, offset: 0x60 */
74705     __I  uint32_t SET;                               /**< Status Register 1, offset: 0x64 */
74706     __I  uint32_t CLR;                               /**< Status Register 1, offset: 0x68 */
74707     __I  uint32_t TOG;                               /**< Status Register 1, offset: 0x6C */
74708   } STAT1;
74709   struct {                                         /* offset: 0x70 */
74710     __I  uint32_t RW;                                /**< Status Register 2, offset: 0x70 */
74711     __I  uint32_t SET;                               /**< Status Register 2, offset: 0x74 */
74712     __I  uint32_t CLR;                               /**< Status Register 2, offset: 0x78 */
74713     __I  uint32_t TOG;                               /**< Status Register 2, offset: 0x7C */
74714   } STAT2;
74715 } OSC_RC_400M_Type;
74716 
74717 /* ----------------------------------------------------------------------------
74718    -- OSC_RC_400M Register Masks
74719    ---------------------------------------------------------------------------- */
74720 
74721 /*!
74722  * @addtogroup OSC_RC_400M_Register_Masks OSC_RC_400M Register Masks
74723  * @{
74724  */
74725 
74726 /*! @name CTRL0 - Control Register 0 */
74727 /*! @{ */
74728 
74729 #define OSC_RC_400M_CTRL0_REF_CLK_DIV_MASK       (0x3F000000U)
74730 #define OSC_RC_400M_CTRL0_REF_CLK_DIV_SHIFT      (24U)
74731 /*! REF_CLK_DIV - Divide value for ref_clk to generate slow_clk (used inside this IP)
74732  */
74733 #define OSC_RC_400M_CTRL0_REF_CLK_DIV(x)         (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL0_REF_CLK_DIV_SHIFT)) & OSC_RC_400M_CTRL0_REF_CLK_DIV_MASK)
74734 /*! @} */
74735 
74736 /*! @name CTRL1 - Control Register 1 */
74737 /*! @{ */
74738 
74739 #define OSC_RC_400M_CTRL1_HYST_MINUS_MASK        (0xFU)
74740 #define OSC_RC_400M_CTRL1_HYST_MINUS_SHIFT       (0U)
74741 /*! HYST_MINUS - Negative hysteresis value for the tuned clock
74742  */
74743 #define OSC_RC_400M_CTRL1_HYST_MINUS(x)          (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL1_HYST_MINUS_SHIFT)) & OSC_RC_400M_CTRL1_HYST_MINUS_MASK)
74744 
74745 #define OSC_RC_400M_CTRL1_HYST_PLUS_MASK         (0xF00U)
74746 #define OSC_RC_400M_CTRL1_HYST_PLUS_SHIFT        (8U)
74747 /*! HYST_PLUS - Positive hysteresis value for the tuned clock
74748  */
74749 #define OSC_RC_400M_CTRL1_HYST_PLUS(x)           (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL1_HYST_PLUS_SHIFT)) & OSC_RC_400M_CTRL1_HYST_PLUS_MASK)
74750 
74751 #define OSC_RC_400M_CTRL1_TARGET_COUNT_MASK      (0xFFFF0000U)
74752 #define OSC_RC_400M_CTRL1_TARGET_COUNT_SHIFT     (16U)
74753 /*! TARGET_COUNT - Target count for the fast clock
74754  */
74755 #define OSC_RC_400M_CTRL1_TARGET_COUNT(x)        (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL1_TARGET_COUNT_SHIFT)) & OSC_RC_400M_CTRL1_TARGET_COUNT_MASK)
74756 /*! @} */
74757 
74758 /*! @name CTRL2 - Control Register 2 */
74759 /*! @{ */
74760 
74761 #define OSC_RC_400M_CTRL2_TUNE_BYP_MASK          (0x400U)
74762 #define OSC_RC_400M_CTRL2_TUNE_BYP_SHIFT         (10U)
74763 /*! TUNE_BYP - Bypass the tuning logic
74764  *  0b0..Use the output of tuning logic to run the oscillator
74765  *  0b1..Bypass the tuning logic and use the programmed OSC_TUNE_VAL to run the oscillator
74766  */
74767 #define OSC_RC_400M_CTRL2_TUNE_BYP(x)            (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL2_TUNE_BYP_SHIFT)) & OSC_RC_400M_CTRL2_TUNE_BYP_MASK)
74768 
74769 #define OSC_RC_400M_CTRL2_TUNE_EN_MASK           (0x1000U)
74770 #define OSC_RC_400M_CTRL2_TUNE_EN_SHIFT          (12U)
74771 /*! TUNE_EN - Freeze/Unfreeze the tuning value
74772  *  0b0..Freezes the tuning at the current tuned value. Oscillator runs at the frozen tuning value
74773  *  0b1..Unfreezes and continues the tuning operation
74774  */
74775 #define OSC_RC_400M_CTRL2_TUNE_EN(x)             (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL2_TUNE_EN_SHIFT)) & OSC_RC_400M_CTRL2_TUNE_EN_MASK)
74776 
74777 #define OSC_RC_400M_CTRL2_TUNE_START_MASK        (0x4000U)
74778 #define OSC_RC_400M_CTRL2_TUNE_START_SHIFT       (14U)
74779 /*! TUNE_START - Start/Stop tuning
74780  *  0b0..Stop tuning and reset the tuning logic. Oscillator runs using programmed OSC_TUNE_VAL
74781  *  0b1..Start tuning
74782  */
74783 #define OSC_RC_400M_CTRL2_TUNE_START(x)          (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL2_TUNE_START_SHIFT)) & OSC_RC_400M_CTRL2_TUNE_START_MASK)
74784 
74785 #define OSC_RC_400M_CTRL2_OSC_TUNE_VAL_MASK      (0xFF000000U)
74786 #define OSC_RC_400M_CTRL2_OSC_TUNE_VAL_SHIFT     (24U)
74787 /*! OSC_TUNE_VAL - Program the oscillator frequency
74788  */
74789 #define OSC_RC_400M_CTRL2_OSC_TUNE_VAL(x)        (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL2_OSC_TUNE_VAL_SHIFT)) & OSC_RC_400M_CTRL2_OSC_TUNE_VAL_MASK)
74790 /*! @} */
74791 
74792 /*! @name CTRL3 - Control Register 3 */
74793 /*! @{ */
74794 
74795 #define OSC_RC_400M_CTRL3_CLR_ERR_MASK           (0x1U)
74796 #define OSC_RC_400M_CTRL3_CLR_ERR_SHIFT          (0U)
74797 /*! CLR_ERR - Clear the error flag CLK1M_ERR
74798  *  0b0..No effect
74799  *  0b1..Clears the error flag CLK1M_ERR in status register STAT0
74800  */
74801 #define OSC_RC_400M_CTRL3_CLR_ERR(x)             (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL3_CLR_ERR_SHIFT)) & OSC_RC_400M_CTRL3_CLR_ERR_MASK)
74802 
74803 #define OSC_RC_400M_CTRL3_EN_1M_CLK_MASK         (0x100U)
74804 #define OSC_RC_400M_CTRL3_EN_1M_CLK_SHIFT        (8U)
74805 /*! EN_1M_CLK - Enable 1MHz output Clock
74806  *  0b0..Enable the output (clk_1m_out)
74807  *  0b1..Disable the output (clk_1m_out)
74808  */
74809 #define OSC_RC_400M_CTRL3_EN_1M_CLK(x)           (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL3_EN_1M_CLK_SHIFT)) & OSC_RC_400M_CTRL3_EN_1M_CLK_MASK)
74810 
74811 #define OSC_RC_400M_CTRL3_MUX_1M_CLK_MASK        (0x400U)
74812 #define OSC_RC_400M_CTRL3_MUX_1M_CLK_SHIFT       (10U)
74813 /*! MUX_1M_CLK - Select free/locked 1MHz output
74814  *  0b0..Select free-running 1MHz to be put out on clk_1m_out
74815  *  0b1..Select locked 1MHz to be put out on clk_1m_out
74816  */
74817 #define OSC_RC_400M_CTRL3_MUX_1M_CLK(x)          (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL3_MUX_1M_CLK_SHIFT)) & OSC_RC_400M_CTRL3_MUX_1M_CLK_MASK)
74818 
74819 #define OSC_RC_400M_CTRL3_COUNT_1M_CLK_MASK      (0xFFFF0000U)
74820 #define OSC_RC_400M_CTRL3_COUNT_1M_CLK_SHIFT     (16U)
74821 /*! COUNT_1M_CLK - Count for the locked clk_1m_out
74822  */
74823 #define OSC_RC_400M_CTRL3_COUNT_1M_CLK(x)        (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_CTRL3_COUNT_1M_CLK_SHIFT)) & OSC_RC_400M_CTRL3_COUNT_1M_CLK_MASK)
74824 /*! @} */
74825 
74826 /*! @name STAT0 - Status Register 0 */
74827 /*! @{ */
74828 
74829 #define OSC_RC_400M_STAT0_CLK1M_ERR_MASK         (0x1U)
74830 #define OSC_RC_400M_STAT0_CLK1M_ERR_SHIFT        (0U)
74831 /*! CLK1M_ERR - Error flag for clk_1m_locked
74832  *  0b0..No effect
74833  *  0b1..The count value has been reached within one divided ref_clk period
74834  */
74835 #define OSC_RC_400M_STAT0_CLK1M_ERR(x)           (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_STAT0_CLK1M_ERR_SHIFT)) & OSC_RC_400M_STAT0_CLK1M_ERR_MASK)
74836 /*! @} */
74837 
74838 /*! @name STAT1 - Status Register 1 */
74839 /*! @{ */
74840 
74841 #define OSC_RC_400M_STAT1_CURR_COUNT_VAL_MASK    (0xFFFF0000U)
74842 #define OSC_RC_400M_STAT1_CURR_COUNT_VAL_SHIFT   (16U)
74843 /*! CURR_COUNT_VAL - Current count for the fast clock
74844  */
74845 #define OSC_RC_400M_STAT1_CURR_COUNT_VAL(x)      (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_STAT1_CURR_COUNT_VAL_SHIFT)) & OSC_RC_400M_STAT1_CURR_COUNT_VAL_MASK)
74846 /*! @} */
74847 
74848 /*! @name STAT2 - Status Register 2 */
74849 /*! @{ */
74850 
74851 #define OSC_RC_400M_STAT2_CURR_OSC_TUNE_VAL_MASK (0xFF000000U)
74852 #define OSC_RC_400M_STAT2_CURR_OSC_TUNE_VAL_SHIFT (24U)
74853 /*! CURR_OSC_TUNE_VAL - Current tuning value used by oscillator
74854  */
74855 #define OSC_RC_400M_STAT2_CURR_OSC_TUNE_VAL(x)   (((uint32_t)(((uint32_t)(x)) << OSC_RC_400M_STAT2_CURR_OSC_TUNE_VAL_SHIFT)) & OSC_RC_400M_STAT2_CURR_OSC_TUNE_VAL_MASK)
74856 /*! @} */
74857 
74858 
74859 /*!
74860  * @}
74861  */ /* end of group OSC_RC_400M_Register_Masks */
74862 
74863 
74864 /* OSC_RC_400M - Peripheral instance base addresses */
74865 /** Peripheral OSC_RC_400M base address */
74866 #define OSC_RC_400M_BASE                         (0u)
74867 /** Peripheral OSC_RC_400M base pointer */
74868 #define OSC_RC_400M                              ((OSC_RC_400M_Type *)OSC_RC_400M_BASE)
74869 /** Array initializer of OSC_RC_400M peripheral base addresses */
74870 #define OSC_RC_400M_BASE_ADDRS                   { OSC_RC_400M_BASE }
74871 /** Array initializer of OSC_RC_400M peripheral base pointers */
74872 #define OSC_RC_400M_BASE_PTRS                    { OSC_RC_400M }
74873 
74874 /*!
74875  * @}
74876  */ /* end of group OSC_RC_400M_Peripheral_Access_Layer */
74877 
74878 
74879 /* ----------------------------------------------------------------------------
74880    -- OTFAD Peripheral Access Layer
74881    ---------------------------------------------------------------------------- */
74882 
74883 /*!
74884  * @addtogroup OTFAD_Peripheral_Access_Layer OTFAD Peripheral Access Layer
74885  * @{
74886  */
74887 
74888 /** OTFAD - Register Layout Typedef */
74889 typedef struct {
74890        uint8_t RESERVED_0[3072];
74891   __IO uint32_t CR;                                /**< Control Register, offset: 0xC00 */
74892   __IO uint32_t SR;                                /**< Status Register, offset: 0xC04 */
74893        uint8_t RESERVED_1[248];
74894   struct {                                         /* offset: 0xD00, array step: 0x40 */
74895     __IO uint32_t KEY[4];                            /**< AES Key Word, array offset: 0xD00, array step: index*0x40, index2*0x4 */
74896     __IO uint32_t CTR[2];                            /**< AES Counter Word, array offset: 0xD10, array step: index*0x40, index2*0x4 */
74897     __IO uint32_t RGD_W0;                            /**< AES Region Descriptor Word0, array offset: 0xD18, array step: 0x40 */
74898     __IO uint32_t RGD_W1;                            /**< AES Region Descriptor Word1, array offset: 0xD1C, array step: 0x40 */
74899          uint8_t RESERVED_0[32];
74900   } CTX[4];
74901 } OTFAD_Type;
74902 
74903 /* ----------------------------------------------------------------------------
74904    -- OTFAD Register Masks
74905    ---------------------------------------------------------------------------- */
74906 
74907 /*!
74908  * @addtogroup OTFAD_Register_Masks OTFAD Register Masks
74909  * @{
74910  */
74911 
74912 /*! @name CR - Control Register */
74913 /*! @{ */
74914 
74915 #define OTFAD_CR_FERR_MASK                       (0x2U)
74916 #define OTFAD_CR_FERR_SHIFT                      (1U)
74917 /*! FERR - Force Error
74918  *  0b0..No effect on the SR[KBERE] indicator.
74919  *  0b1..SR[KBERR] is immediately set after a write with this data bit set.
74920  */
74921 #define OTFAD_CR_FERR(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_FERR_SHIFT)) & OTFAD_CR_FERR_MASK)
74922 
74923 #define OTFAD_CR_FLDM_MASK                       (0x8U)
74924 #define OTFAD_CR_FLDM_SHIFT                      (3U)
74925 /*! FLDM - Force Logically Disabled Mode
74926  *  0b0..No effect on the operating mode.
74927  *  0b1..Force entry into LDM after a write with this data bit set. SR[MODE] signals the operating mode.
74928  */
74929 #define OTFAD_CR_FLDM(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_FLDM_SHIFT)) & OTFAD_CR_FLDM_MASK)
74930 
74931 #define OTFAD_CR_KBSE_MASK                       (0x10U)
74932 #define OTFAD_CR_KBSE_SHIFT                      (4U)
74933 /*! KBSE - Key Blob Scramble Enable
74934  *  0b0..Key blob KEK scrambling is disabled.
74935  *  0b1..Key blob KEK scrambling is enabled.
74936  */
74937 #define OTFAD_CR_KBSE(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_KBSE_SHIFT)) & OTFAD_CR_KBSE_MASK)
74938 
74939 #define OTFAD_CR_KBPE_MASK                       (0x20U)
74940 #define OTFAD_CR_KBPE_SHIFT                      (5U)
74941 /*! KBPE - Key Blob Processing Enable
74942  *  0b0..Key blob processing is disabled.
74943  *  0b1..Key blob processing is enabled.
74944  */
74945 #define OTFAD_CR_KBPE(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_KBPE_SHIFT)) & OTFAD_CR_KBPE_MASK)
74946 
74947 #define OTFAD_CR_RRAE_MASK                       (0x80U)
74948 #define OTFAD_CR_RRAE_SHIFT                      (7U)
74949 /*! RRAE - Restricted Register Access Enable
74950  *  0b0..Register access is fully enabled. The OTFAD programming model registers can be accessed "normally".
74951  *  0b1..Register access is restricted and only the CR, SR and optional MDPC registers can be accessed; others are treated as RAZ/WI.
74952  */
74953 #define OTFAD_CR_RRAE(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_RRAE_SHIFT)) & OTFAD_CR_RRAE_MASK)
74954 
74955 #define OTFAD_CR_SKBP_MASK                       (0x40000000U)
74956 #define OTFAD_CR_SKBP_SHIFT                      (30U)
74957 /*! SKBP - Start key blob processing
74958  *  0b0..Key blob processing is not initiated.
74959  *  0b1..Properly-enabled key blob processing is initiated.
74960  */
74961 #define OTFAD_CR_SKBP(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_SKBP_SHIFT)) & OTFAD_CR_SKBP_MASK)
74962 
74963 #define OTFAD_CR_GE_MASK                         (0x80000000U)
74964 #define OTFAD_CR_GE_SHIFT                        (31U)
74965 /*! GE - Global OTFAD Enable
74966  *  0b0..OTFAD has decryption disabled. All data fetched by the FlexSPI bypasses OTFAD processing.
74967  *  0b1..OTFAD has decryption enabled, and processes data fetched by the FlexSPI as defined by the hardware configuration.
74968  */
74969 #define OTFAD_CR_GE(x)                           (((uint32_t)(((uint32_t)(x)) << OTFAD_CR_GE_SHIFT)) & OTFAD_CR_GE_MASK)
74970 /*! @} */
74971 
74972 /*! @name SR - Status Register */
74973 /*! @{ */
74974 
74975 #define OTFAD_SR_KBERR_MASK                      (0x1U)
74976 #define OTFAD_SR_KBERR_SHIFT                     (0U)
74977 /*! KBERR - Key Blob Error
74978  *  0b0..No key blob error detected.
74979  *  0b1..One or more key blob errors has been detected.
74980  */
74981 #define OTFAD_SR_KBERR(x)                        (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_KBERR_SHIFT)) & OTFAD_SR_KBERR_MASK)
74982 
74983 #define OTFAD_SR_MDPCP_MASK                      (0x2U)
74984 #define OTFAD_SR_MDPCP_SHIFT                     (1U)
74985 /*! MDPCP - MDPC Present
74986  */
74987 #define OTFAD_SR_MDPCP(x)                        (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_MDPCP_SHIFT)) & OTFAD_SR_MDPCP_MASK)
74988 
74989 #define OTFAD_SR_MODE_MASK                       (0xCU)
74990 #define OTFAD_SR_MODE_SHIFT                      (2U)
74991 /*! MODE - Operating Mode
74992  *  0b00..Operating in Normal mode (NRM)
74993  *  0b01..Unused (reserved)
74994  *  0b10..Unused (reserved)
74995  *  0b11..Operating in Logically Disabled Mode (LDM)
74996  */
74997 #define OTFAD_SR_MODE(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_MODE_SHIFT)) & OTFAD_SR_MODE_MASK)
74998 
74999 #define OTFAD_SR_NCTX_MASK                       (0xF0U)
75000 #define OTFAD_SR_NCTX_SHIFT                      (4U)
75001 /*! NCTX - Number of Contexts
75002  */
75003 #define OTFAD_SR_NCTX(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_NCTX_SHIFT)) & OTFAD_SR_NCTX_MASK)
75004 
75005 #define OTFAD_SR_CTXER0_MASK                     (0x100U)
75006 #define OTFAD_SR_CTXER0_SHIFT                    (8U)
75007 /*! CTXER0 - Context Error
75008  *  0b0..No key blob error was detected for context "n".
75009  *  0b1..A key blob integrity error might have been detected in context "n".
75010  */
75011 #define OTFAD_SR_CTXER0(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXER0_SHIFT)) & OTFAD_SR_CTXER0_MASK)
75012 
75013 #define OTFAD_SR_CTXER1_MASK                     (0x200U)
75014 #define OTFAD_SR_CTXER1_SHIFT                    (9U)
75015 /*! CTXER1 - Context Error
75016  *  0b0..No key blob error was detected for context "n".
75017  *  0b1..A key blob integrity error might have been detected in context "n".
75018  */
75019 #define OTFAD_SR_CTXER1(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXER1_SHIFT)) & OTFAD_SR_CTXER1_MASK)
75020 
75021 #define OTFAD_SR_CTXER2_MASK                     (0x400U)
75022 #define OTFAD_SR_CTXER2_SHIFT                    (10U)
75023 /*! CTXER2 - Context Error
75024  *  0b0..No key blob error was detected for context "n".
75025  *  0b1..A key blob integrity error might have been detected in context "n".
75026  */
75027 #define OTFAD_SR_CTXER2(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXER2_SHIFT)) & OTFAD_SR_CTXER2_MASK)
75028 
75029 #define OTFAD_SR_CTXER3_MASK                     (0x800U)
75030 #define OTFAD_SR_CTXER3_SHIFT                    (11U)
75031 /*! CTXER3 - Context Error
75032  *  0b0..No key blob error was detected for context "n".
75033  *  0b1..A key blob integrity error might have been detected in context "n".
75034  */
75035 #define OTFAD_SR_CTXER3(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXER3_SHIFT)) & OTFAD_SR_CTXER3_MASK)
75036 
75037 #define OTFAD_SR_CTXIE0_MASK                     (0x10000U)
75038 #define OTFAD_SR_CTXIE0_SHIFT                    (16U)
75039 /*! CTXIE0 - Context Integrity Error
75040  *  0b0..No key blob integrity error was detected for context "n".
75041  *  0b1..A key blob integrity error was detected in context "n".
75042  */
75043 #define OTFAD_SR_CTXIE0(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXIE0_SHIFT)) & OTFAD_SR_CTXIE0_MASK)
75044 
75045 #define OTFAD_SR_CTXIE1_MASK                     (0x20000U)
75046 #define OTFAD_SR_CTXIE1_SHIFT                    (17U)
75047 /*! CTXIE1 - Context Integrity Error
75048  *  0b0..No key blob integrity error was detected for context "n".
75049  *  0b1..A key blob integrity error was detected in context "n".
75050  */
75051 #define OTFAD_SR_CTXIE1(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXIE1_SHIFT)) & OTFAD_SR_CTXIE1_MASK)
75052 
75053 #define OTFAD_SR_CTXIE2_MASK                     (0x40000U)
75054 #define OTFAD_SR_CTXIE2_SHIFT                    (18U)
75055 /*! CTXIE2 - Context Integrity Error
75056  *  0b0..No key blob integrity error was detected for context "n".
75057  *  0b1..A key blob integrity error was detected in context "n".
75058  */
75059 #define OTFAD_SR_CTXIE2(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXIE2_SHIFT)) & OTFAD_SR_CTXIE2_MASK)
75060 
75061 #define OTFAD_SR_CTXIE3_MASK                     (0x80000U)
75062 #define OTFAD_SR_CTXIE3_SHIFT                    (19U)
75063 /*! CTXIE3 - Context Integrity Error
75064  *  0b0..No key blob integrity error was detected for context "n".
75065  *  0b1..A key blob integrity error was detected in context "n".
75066  */
75067 #define OTFAD_SR_CTXIE3(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_CTXIE3_SHIFT)) & OTFAD_SR_CTXIE3_MASK)
75068 
75069 #define OTFAD_SR_HRL_MASK                        (0xF000000U)
75070 #define OTFAD_SR_HRL_SHIFT                       (24U)
75071 /*! HRL - Hardware Revision Level
75072  */
75073 #define OTFAD_SR_HRL(x)                          (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_HRL_SHIFT)) & OTFAD_SR_HRL_MASK)
75074 
75075 #define OTFAD_SR_RRAM_MASK                       (0x10000000U)
75076 #define OTFAD_SR_RRAM_SHIFT                      (28U)
75077 /*! RRAM - Restricted Register Access Mode
75078  *  0b0..Register access is fully enabled. The OTFAD programming model registers can be accessed "normally".
75079  *  0b1..Register access is restricted and only the CR, SR and optional MDPC registers can be accessed; others are treated as RAZ/WI.
75080  */
75081 #define OTFAD_SR_RRAM(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_RRAM_SHIFT)) & OTFAD_SR_RRAM_MASK)
75082 
75083 #define OTFAD_SR_GEM_MASK                        (0x20000000U)
75084 #define OTFAD_SR_GEM_SHIFT                       (29U)
75085 /*! GEM - Global Enable Mode
75086  *  0b0..OTFAD is disabled. All data fetched by the FlexSPI bypasses OTFAD processing.
75087  *  0b1..OTFAD is enabled, and processes data fetched by the FlexSPI as defined by the hardware configuration.
75088  */
75089 #define OTFAD_SR_GEM(x)                          (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_GEM_SHIFT)) & OTFAD_SR_GEM_MASK)
75090 
75091 #define OTFAD_SR_KBPE_MASK                       (0x40000000U)
75092 #define OTFAD_SR_KBPE_SHIFT                      (30U)
75093 /*! KBPE - Key Blob Processing Enable
75094  *  0b0..Key blob processing is not enabled.
75095  *  0b1..Key blob processing is enabled.
75096  */
75097 #define OTFAD_SR_KBPE(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_KBPE_SHIFT)) & OTFAD_SR_KBPE_MASK)
75098 
75099 #define OTFAD_SR_KBD_MASK                        (0x80000000U)
75100 #define OTFAD_SR_KBD_SHIFT                       (31U)
75101 /*! KBD - Key Blob Processing Done
75102  *  0b0..Key blob processing was not enabled, or is not complete.
75103  *  0b1..Key blob processing was enabled and is complete.
75104  */
75105 #define OTFAD_SR_KBD(x)                          (((uint32_t)(((uint32_t)(x)) << OTFAD_SR_KBD_SHIFT)) & OTFAD_SR_KBD_MASK)
75106 /*! @} */
75107 
75108 /*! @name KEY - AES Key Word */
75109 /*! @{ */
75110 
75111 #define OTFAD_KEY_KEY_MASK                       (0xFFFFFFFFU)
75112 #define OTFAD_KEY_KEY_SHIFT                      (0U)
75113 /*! KEY - AES Key
75114  */
75115 #define OTFAD_KEY_KEY(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_KEY_KEY_SHIFT)) & OTFAD_KEY_KEY_MASK)
75116 /*! @} */
75117 
75118 /* The count of OTFAD_KEY */
75119 #define OTFAD_KEY_COUNT                          (4U)
75120 
75121 /* The count of OTFAD_KEY */
75122 #define OTFAD_KEY_COUNT2                         (4U)
75123 
75124 /*! @name CTR - AES Counter Word */
75125 /*! @{ */
75126 
75127 #define OTFAD_CTR_CTR_MASK                       (0xFFFFFFFFU)
75128 #define OTFAD_CTR_CTR_SHIFT                      (0U)
75129 /*! CTR - AES Counter
75130  */
75131 #define OTFAD_CTR_CTR(x)                         (((uint32_t)(((uint32_t)(x)) << OTFAD_CTR_CTR_SHIFT)) & OTFAD_CTR_CTR_MASK)
75132 /*! @} */
75133 
75134 /* The count of OTFAD_CTR */
75135 #define OTFAD_CTR_COUNT                          (4U)
75136 
75137 /* The count of OTFAD_CTR */
75138 #define OTFAD_CTR_COUNT2                         (2U)
75139 
75140 /*! @name RGD_W0 - AES Region Descriptor Word0 */
75141 /*! @{ */
75142 
75143 #define OTFAD_RGD_W0_SRTADDR_MASK                (0xFFFFFC00U)
75144 #define OTFAD_RGD_W0_SRTADDR_SHIFT               (10U)
75145 /*! SRTADDR - Start Address
75146  */
75147 #define OTFAD_RGD_W0_SRTADDR(x)                  (((uint32_t)(((uint32_t)(x)) << OTFAD_RGD_W0_SRTADDR_SHIFT)) & OTFAD_RGD_W0_SRTADDR_MASK)
75148 /*! @} */
75149 
75150 /* The count of OTFAD_RGD_W0 */
75151 #define OTFAD_RGD_W0_COUNT                       (4U)
75152 
75153 /*! @name RGD_W1 - AES Region Descriptor Word1 */
75154 /*! @{ */
75155 
75156 #define OTFAD_RGD_W1_VLD_MASK                    (0x1U)
75157 #define OTFAD_RGD_W1_VLD_SHIFT                   (0U)
75158 /*! VLD - Valid
75159  *  0b0..Context is invalid.
75160  *  0b1..Context is valid.
75161  */
75162 #define OTFAD_RGD_W1_VLD(x)                      (((uint32_t)(((uint32_t)(x)) << OTFAD_RGD_W1_VLD_SHIFT)) & OTFAD_RGD_W1_VLD_MASK)
75163 
75164 #define OTFAD_RGD_W1_ADE_MASK                    (0x2U)
75165 #define OTFAD_RGD_W1_ADE_SHIFT                   (1U)
75166 /*! ADE - AES Decryption Enable.
75167  *  0b0..Bypass the fetched data.
75168  *  0b1..Perform the CTR-AES128 mode decryption on the fetched data.
75169  */
75170 #define OTFAD_RGD_W1_ADE(x)                      (((uint32_t)(((uint32_t)(x)) << OTFAD_RGD_W1_ADE_SHIFT)) & OTFAD_RGD_W1_ADE_MASK)
75171 
75172 #define OTFAD_RGD_W1_RO_MASK                     (0x4U)
75173 #define OTFAD_RGD_W1_RO_SHIFT                    (2U)
75174 /*! RO - Read-Only
75175  *  0b0..The context registers can be accessed normally (as defined by SR[RRAM]).
75176  *  0b1..The context registers are read-only and accesses may be further restricted based on SR[RRAM].
75177  */
75178 #define OTFAD_RGD_W1_RO(x)                       (((uint32_t)(((uint32_t)(x)) << OTFAD_RGD_W1_RO_SHIFT)) & OTFAD_RGD_W1_RO_MASK)
75179 
75180 #define OTFAD_RGD_W1_ENDADDR_MASK                (0xFFFFFC00U)
75181 #define OTFAD_RGD_W1_ENDADDR_SHIFT               (10U)
75182 /*! ENDADDR - End Address
75183  */
75184 #define OTFAD_RGD_W1_ENDADDR(x)                  (((uint32_t)(((uint32_t)(x)) << OTFAD_RGD_W1_ENDADDR_SHIFT)) & OTFAD_RGD_W1_ENDADDR_MASK)
75185 /*! @} */
75186 
75187 /* The count of OTFAD_RGD_W1 */
75188 #define OTFAD_RGD_W1_COUNT                       (4U)
75189 
75190 
75191 /*!
75192  * @}
75193  */ /* end of group OTFAD_Register_Masks */
75194 
75195 
75196 /* OTFAD - Peripheral instance base addresses */
75197 /** Peripheral OTFAD1 base address */
75198 #define OTFAD1_BASE                              (0x400CC000u)
75199 /** Peripheral OTFAD1 base pointer */
75200 #define OTFAD1                                   ((OTFAD_Type *)OTFAD1_BASE)
75201 /** Peripheral OTFAD2 base address */
75202 #define OTFAD2_BASE                              (0x400D0000u)
75203 /** Peripheral OTFAD2 base pointer */
75204 #define OTFAD2                                   ((OTFAD_Type *)OTFAD2_BASE)
75205 /** Array initializer of OTFAD peripheral base addresses */
75206 #define OTFAD_BASE_ADDRS                         { 0u, OTFAD1_BASE, OTFAD2_BASE }
75207 /** Array initializer of OTFAD peripheral base pointers */
75208 #define OTFAD_BASE_PTRS                          { (OTFAD_Type *)0u, OTFAD1, OTFAD2 }
75209 
75210 /*!
75211  * @}
75212  */ /* end of group OTFAD_Peripheral_Access_Layer */
75213 
75214 
75215 /* ----------------------------------------------------------------------------
75216    -- PDM Peripheral Access Layer
75217    ---------------------------------------------------------------------------- */
75218 
75219 /*!
75220  * @addtogroup PDM_Peripheral_Access_Layer PDM Peripheral Access Layer
75221  * @{
75222  */
75223 
75224 /** PDM - Register Layout Typedef */
75225 typedef struct {
75226   __IO uint32_t CTRL_1;                            /**< PDM Control register 1, offset: 0x0 */
75227   __IO uint32_t CTRL_2;                            /**< PDM Control register 2, offset: 0x4 */
75228   __IO uint32_t STAT;                              /**< PDM Status register, offset: 0x8 */
75229        uint8_t RESERVED_0[4];
75230   __IO uint32_t FIFO_CTRL;                         /**< PDM FIFO Control register, offset: 0x10 */
75231   __IO uint32_t FIFO_STAT;                         /**< PDM FIFO Status register, offset: 0x14 */
75232        uint8_t RESERVED_1[12];
75233   __I  uint32_t DATACH[8];                         /**< PDM Output Result Register, array offset: 0x24, array step: 0x4 */
75234        uint8_t RESERVED_2[32];
75235   __IO uint32_t DC_CTRL;                           /**< PDM DC Remover Control register, offset: 0x64 */
75236        uint8_t RESERVED_3[12];
75237   __IO uint32_t RANGE_CTRL;                        /**< PDM Range Control register, offset: 0x74 */
75238        uint8_t RESERVED_4[4];
75239   __IO uint32_t RANGE_STAT;                        /**< PDM Range Status register, offset: 0x7C */
75240        uint8_t RESERVED_5[16];
75241   __IO uint32_t VAD0_CTRL_1;                       /**< Voice Activity Detector 0 Control register, offset: 0x90 */
75242   __IO uint32_t VAD0_CTRL_2;                       /**< Voice Activity Detector 0 Control register, offset: 0x94 */
75243   __IO uint32_t VAD0_STAT;                         /**< Voice Activity Detector 0 Status register, offset: 0x98 */
75244   __IO uint32_t VAD0_SCONFIG;                      /**< Voice Activity Detector 0 Signal Configuration, offset: 0x9C */
75245   __IO uint32_t VAD0_NCONFIG;                      /**< Voice Activity Detector 0 Noise Configuration, offset: 0xA0 */
75246   __I  uint32_t VAD0_NDATA;                        /**< Voice Activity Detector 0 Noise Data, offset: 0xA4 */
75247   __IO uint32_t VAD0_ZCD;                          /**< Voice Activity Detector 0 Zero-Crossing Detector, offset: 0xA8 */
75248 } PDM_Type;
75249 
75250 /* ----------------------------------------------------------------------------
75251    -- PDM Register Masks
75252    ---------------------------------------------------------------------------- */
75253 
75254 /*!
75255  * @addtogroup PDM_Register_Masks PDM Register Masks
75256  * @{
75257  */
75258 
75259 /*! @name CTRL_1 - PDM Control register 1 */
75260 /*! @{ */
75261 
75262 #define PDM_CTRL_1_CH0EN_MASK                    (0x1U)
75263 #define PDM_CTRL_1_CH0EN_SHIFT                   (0U)
75264 /*! CH0EN - Channel 0 Enable
75265  */
75266 #define PDM_CTRL_1_CH0EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH0EN_SHIFT)) & PDM_CTRL_1_CH0EN_MASK)
75267 
75268 #define PDM_CTRL_1_CH1EN_MASK                    (0x2U)
75269 #define PDM_CTRL_1_CH1EN_SHIFT                   (1U)
75270 /*! CH1EN - Channel 1 Enable
75271  */
75272 #define PDM_CTRL_1_CH1EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH1EN_SHIFT)) & PDM_CTRL_1_CH1EN_MASK)
75273 
75274 #define PDM_CTRL_1_CH2EN_MASK                    (0x4U)
75275 #define PDM_CTRL_1_CH2EN_SHIFT                   (2U)
75276 /*! CH2EN - Channel 2 Enable
75277  */
75278 #define PDM_CTRL_1_CH2EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH2EN_SHIFT)) & PDM_CTRL_1_CH2EN_MASK)
75279 
75280 #define PDM_CTRL_1_CH3EN_MASK                    (0x8U)
75281 #define PDM_CTRL_1_CH3EN_SHIFT                   (3U)
75282 /*! CH3EN - Channel 3 Enable
75283  */
75284 #define PDM_CTRL_1_CH3EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH3EN_SHIFT)) & PDM_CTRL_1_CH3EN_MASK)
75285 
75286 #define PDM_CTRL_1_CH4EN_MASK                    (0x10U)
75287 #define PDM_CTRL_1_CH4EN_SHIFT                   (4U)
75288 /*! CH4EN - Channel 4 Enable
75289  */
75290 #define PDM_CTRL_1_CH4EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH4EN_SHIFT)) & PDM_CTRL_1_CH4EN_MASK)
75291 
75292 #define PDM_CTRL_1_CH5EN_MASK                    (0x20U)
75293 #define PDM_CTRL_1_CH5EN_SHIFT                   (5U)
75294 /*! CH5EN - Channel 5 Enable
75295  */
75296 #define PDM_CTRL_1_CH5EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH5EN_SHIFT)) & PDM_CTRL_1_CH5EN_MASK)
75297 
75298 #define PDM_CTRL_1_CH6EN_MASK                    (0x40U)
75299 #define PDM_CTRL_1_CH6EN_SHIFT                   (6U)
75300 /*! CH6EN - Channel 6 Enable
75301  */
75302 #define PDM_CTRL_1_CH6EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH6EN_SHIFT)) & PDM_CTRL_1_CH6EN_MASK)
75303 
75304 #define PDM_CTRL_1_CH7EN_MASK                    (0x80U)
75305 #define PDM_CTRL_1_CH7EN_SHIFT                   (7U)
75306 /*! CH7EN - Channel 7 Enable
75307  */
75308 #define PDM_CTRL_1_CH7EN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_CH7EN_SHIFT)) & PDM_CTRL_1_CH7EN_MASK)
75309 
75310 #define PDM_CTRL_1_ERREN_MASK                    (0x800000U)
75311 #define PDM_CTRL_1_ERREN_SHIFT                   (23U)
75312 /*! ERREN - Error Interruption Enable
75313  *  0b0..Error Interrupts disabled
75314  *  0b1..Error Interrupts enabled
75315  */
75316 #define PDM_CTRL_1_ERREN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_ERREN_SHIFT)) & PDM_CTRL_1_ERREN_MASK)
75317 
75318 #define PDM_CTRL_1_DISEL_MASK                    (0x3000000U)
75319 #define PDM_CTRL_1_DISEL_SHIFT                   (24U)
75320 /*! DISEL - DMA Interrupt Selection
75321  *  0b00..DMA and interrupt requests disabled
75322  *  0b01..DMA requests enabled
75323  *  0b10..Interrupt requests enabled
75324  *  0b11..Reserved
75325  */
75326 #define PDM_CTRL_1_DISEL(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_DISEL_SHIFT)) & PDM_CTRL_1_DISEL_MASK)
75327 
75328 #define PDM_CTRL_1_DBGE_MASK                     (0x4000000U)
75329 #define PDM_CTRL_1_DBGE_SHIFT                    (26U)
75330 /*! DBGE - Module Enable in Debug
75331  *  0b0..Disabled after completing the current frame
75332  *  0b1..Enabled
75333  */
75334 #define PDM_CTRL_1_DBGE(x)                       (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_DBGE_SHIFT)) & PDM_CTRL_1_DBGE_MASK)
75335 
75336 #define PDM_CTRL_1_SRES_MASK                     (0x8000000U)
75337 #define PDM_CTRL_1_SRES_SHIFT                    (27U)
75338 /*! SRES - Software-reset bit
75339  *  0b0..No action
75340  *  0b1..Software reset
75341  */
75342 #define PDM_CTRL_1_SRES(x)                       (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_SRES_SHIFT)) & PDM_CTRL_1_SRES_MASK)
75343 
75344 #define PDM_CTRL_1_DBG_MASK                      (0x10000000U)
75345 #define PDM_CTRL_1_DBG_SHIFT                     (28U)
75346 /*! DBG - Debug Mode
75347  *  0b0..Normal Mode
75348  *  0b1..Debug Mode
75349  */
75350 #define PDM_CTRL_1_DBG(x)                        (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_DBG_SHIFT)) & PDM_CTRL_1_DBG_MASK)
75351 
75352 #define PDM_CTRL_1_PDMIEN_MASK                   (0x20000000U)
75353 #define PDM_CTRL_1_PDMIEN_SHIFT                  (29U)
75354 /*! PDMIEN - PDM Enable
75355  *  0b0..PDM stopped
75356  *  0b1..PDM operation started
75357  */
75358 #define PDM_CTRL_1_PDMIEN(x)                     (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_PDMIEN_SHIFT)) & PDM_CTRL_1_PDMIEN_MASK)
75359 
75360 #define PDM_CTRL_1_DOZEN_MASK                    (0x40000000U)
75361 #define PDM_CTRL_1_DOZEN_SHIFT                   (30U)
75362 /*! DOZEN - DOZE enable
75363  */
75364 #define PDM_CTRL_1_DOZEN(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_DOZEN_SHIFT)) & PDM_CTRL_1_DOZEN_MASK)
75365 
75366 #define PDM_CTRL_1_MDIS_MASK                     (0x80000000U)
75367 #define PDM_CTRL_1_MDIS_SHIFT                    (31U)
75368 /*! MDIS - Module Disable
75369  *  0b0..Normal Mode
75370  *  0b1..Disable/Low Leakage Mode
75371  */
75372 #define PDM_CTRL_1_MDIS(x)                       (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_1_MDIS_SHIFT)) & PDM_CTRL_1_MDIS_MASK)
75373 /*! @} */
75374 
75375 /*! @name CTRL_2 - PDM Control register 2 */
75376 /*! @{ */
75377 
75378 #define PDM_CTRL_2_CLKDIV_MASK                   (0xFFU)
75379 #define PDM_CTRL_2_CLKDIV_SHIFT                  (0U)
75380 /*! CLKDIV - Clock Divider
75381  */
75382 #define PDM_CTRL_2_CLKDIV(x)                     (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_2_CLKDIV_SHIFT)) & PDM_CTRL_2_CLKDIV_MASK)
75383 
75384 #define PDM_CTRL_2_CICOSR_MASK                   (0xF0000U)
75385 #define PDM_CTRL_2_CICOSR_SHIFT                  (16U)
75386 /*! CICOSR - CIC Decimation Rate
75387  */
75388 #define PDM_CTRL_2_CICOSR(x)                     (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_2_CICOSR_SHIFT)) & PDM_CTRL_2_CICOSR_MASK)
75389 
75390 #define PDM_CTRL_2_QSEL_MASK                     (0xE000000U)
75391 #define PDM_CTRL_2_QSEL_SHIFT                    (25U)
75392 /*! QSEL - Quality Mode
75393  *  0b001..High quality mode
75394  *  0b000..Medium quality mode
75395  *  0b111..Low quality mode
75396  *  0b110..Very low quality 0 mode
75397  *  0b101..Very low quality 1 mode
75398  *  0b100..Very low quality 2 mode
75399  */
75400 #define PDM_CTRL_2_QSEL(x)                       (((uint32_t)(((uint32_t)(x)) << PDM_CTRL_2_QSEL_SHIFT)) & PDM_CTRL_2_QSEL_MASK)
75401 /*! @} */
75402 
75403 /*! @name STAT - PDM Status register */
75404 /*! @{ */
75405 
75406 #define PDM_STAT_CH0F_MASK                       (0x1U)
75407 #define PDM_STAT_CH0F_SHIFT                      (0U)
75408 /*! CH0F - Channel 0 Output Data Flag
75409  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75410  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75411  */
75412 #define PDM_STAT_CH0F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH0F_SHIFT)) & PDM_STAT_CH0F_MASK)
75413 
75414 #define PDM_STAT_CH1F_MASK                       (0x2U)
75415 #define PDM_STAT_CH1F_SHIFT                      (1U)
75416 /*! CH1F - Channel 1 Output Data Flag
75417  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75418  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75419  */
75420 #define PDM_STAT_CH1F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH1F_SHIFT)) & PDM_STAT_CH1F_MASK)
75421 
75422 #define PDM_STAT_CH2F_MASK                       (0x4U)
75423 #define PDM_STAT_CH2F_SHIFT                      (2U)
75424 /*! CH2F - Channel 2 Output Data Flag
75425  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75426  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75427  */
75428 #define PDM_STAT_CH2F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH2F_SHIFT)) & PDM_STAT_CH2F_MASK)
75429 
75430 #define PDM_STAT_CH3F_MASK                       (0x8U)
75431 #define PDM_STAT_CH3F_SHIFT                      (3U)
75432 /*! CH3F - Channel 3 Output Data Flag
75433  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75434  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75435  */
75436 #define PDM_STAT_CH3F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH3F_SHIFT)) & PDM_STAT_CH3F_MASK)
75437 
75438 #define PDM_STAT_CH4F_MASK                       (0x10U)
75439 #define PDM_STAT_CH4F_SHIFT                      (4U)
75440 /*! CH4F - Channel 4 Output Data Flag
75441  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75442  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75443  */
75444 #define PDM_STAT_CH4F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH4F_SHIFT)) & PDM_STAT_CH4F_MASK)
75445 
75446 #define PDM_STAT_CH5F_MASK                       (0x20U)
75447 #define PDM_STAT_CH5F_SHIFT                      (5U)
75448 /*! CH5F - Channel 5 Output Data Flag
75449  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75450  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75451  */
75452 #define PDM_STAT_CH5F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH5F_SHIFT)) & PDM_STAT_CH5F_MASK)
75453 
75454 #define PDM_STAT_CH6F_MASK                       (0x40U)
75455 #define PDM_STAT_CH6F_SHIFT                      (6U)
75456 /*! CH6F - Channel 6 Output Data Flag
75457  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75458  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75459  */
75460 #define PDM_STAT_CH6F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH6F_SHIFT)) & PDM_STAT_CH6F_MASK)
75461 
75462 #define PDM_STAT_CH7F_MASK                       (0x80U)
75463 #define PDM_STAT_CH7F_SHIFT                      (7U)
75464 /*! CH7F - Channel 7 Output Data Flag
75465  *  0b0..Channel's FIFO did not reach the number of elements configured in watermark bit-field
75466  *  0b1..Channel's FIFO reached the number of elements configured in watermark bit-field
75467  */
75468 #define PDM_STAT_CH7F(x)                         (((uint32_t)(((uint32_t)(x)) << PDM_STAT_CH7F_SHIFT)) & PDM_STAT_CH7F_MASK)
75469 
75470 #define PDM_STAT_LOWFREQF_MASK                   (0x20000000U)
75471 #define PDM_STAT_LOWFREQF_SHIFT                  (29U)
75472 /*! LOWFREQF - Low Frequency Flag
75473  *  0b0..CLKDIV value is OK
75474  *  0b1..CLKDIV value is too low
75475  */
75476 #define PDM_STAT_LOWFREQF(x)                     (((uint32_t)(((uint32_t)(x)) << PDM_STAT_LOWFREQF_SHIFT)) & PDM_STAT_LOWFREQF_MASK)
75477 
75478 #define PDM_STAT_FIR_RDY_MASK                    (0x40000000U)
75479 #define PDM_STAT_FIR_RDY_SHIFT                   (30U)
75480 /*! FIR_RDY - Filter Data Ready
75481  *  0b0..Filter data is not reliable
75482  *  0b1..Filter data is reliable
75483  */
75484 #define PDM_STAT_FIR_RDY(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_STAT_FIR_RDY_SHIFT)) & PDM_STAT_FIR_RDY_MASK)
75485 
75486 #define PDM_STAT_BSY_FIL_MASK                    (0x80000000U)
75487 #define PDM_STAT_BSY_FIL_SHIFT                   (31U)
75488 /*! BSY_FIL - Busy Flag
75489  *  0b1..PDM is running
75490  *  0b0..PDM is stopped
75491  */
75492 #define PDM_STAT_BSY_FIL(x)                      (((uint32_t)(((uint32_t)(x)) << PDM_STAT_BSY_FIL_SHIFT)) & PDM_STAT_BSY_FIL_MASK)
75493 /*! @} */
75494 
75495 /*! @name FIFO_CTRL - PDM FIFO Control register */
75496 /*! @{ */
75497 
75498 #define PDM_FIFO_CTRL_FIFOWMK_MASK               (0x7U)
75499 #define PDM_FIFO_CTRL_FIFOWMK_SHIFT              (0U)
75500 /*! FIFOWMK - FIFO Watermark Control
75501  */
75502 #define PDM_FIFO_CTRL_FIFOWMK(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_CTRL_FIFOWMK_SHIFT)) & PDM_FIFO_CTRL_FIFOWMK_MASK)
75503 /*! @} */
75504 
75505 /*! @name FIFO_STAT - PDM FIFO Status register */
75506 /*! @{ */
75507 
75508 #define PDM_FIFO_STAT_FIFOOVF0_MASK              (0x1U)
75509 #define PDM_FIFO_STAT_FIFOOVF0_SHIFT             (0U)
75510 /*! FIFOOVF0 - FIFO Overflow Exception flag for Channel 0
75511  *  0b0..No exception by FIFO overflow
75512  *  0b1..Exception by FIFO overflow
75513  */
75514 #define PDM_FIFO_STAT_FIFOOVF0(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF0_SHIFT)) & PDM_FIFO_STAT_FIFOOVF0_MASK)
75515 
75516 #define PDM_FIFO_STAT_FIFOOVF1_MASK              (0x2U)
75517 #define PDM_FIFO_STAT_FIFOOVF1_SHIFT             (1U)
75518 /*! FIFOOVF1 - FIFO Overflow Exception flag for Channel 1
75519  *  0b0..No exception by FIFO overflow
75520  *  0b1..Exception by FIFO overflow
75521  */
75522 #define PDM_FIFO_STAT_FIFOOVF1(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF1_SHIFT)) & PDM_FIFO_STAT_FIFOOVF1_MASK)
75523 
75524 #define PDM_FIFO_STAT_FIFOOVF2_MASK              (0x4U)
75525 #define PDM_FIFO_STAT_FIFOOVF2_SHIFT             (2U)
75526 /*! FIFOOVF2 - FIFO Overflow Exception flag for Channel 2
75527  *  0b0..No exception by FIFO overflow
75528  *  0b1..Exception by FIFO overflow
75529  */
75530 #define PDM_FIFO_STAT_FIFOOVF2(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF2_SHIFT)) & PDM_FIFO_STAT_FIFOOVF2_MASK)
75531 
75532 #define PDM_FIFO_STAT_FIFOOVF3_MASK              (0x8U)
75533 #define PDM_FIFO_STAT_FIFOOVF3_SHIFT             (3U)
75534 /*! FIFOOVF3 - FIFO Overflow Exception flag for Channel 3
75535  *  0b0..No exception by FIFO overflow
75536  *  0b1..Exception by FIFO overflow
75537  */
75538 #define PDM_FIFO_STAT_FIFOOVF3(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF3_SHIFT)) & PDM_FIFO_STAT_FIFOOVF3_MASK)
75539 
75540 #define PDM_FIFO_STAT_FIFOOVF4_MASK              (0x10U)
75541 #define PDM_FIFO_STAT_FIFOOVF4_SHIFT             (4U)
75542 /*! FIFOOVF4 - FIFO Overflow Exception flag for Channel 4
75543  *  0b0..No exception by FIFO overflow
75544  *  0b1..Exception by FIFO overflow
75545  */
75546 #define PDM_FIFO_STAT_FIFOOVF4(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF4_SHIFT)) & PDM_FIFO_STAT_FIFOOVF4_MASK)
75547 
75548 #define PDM_FIFO_STAT_FIFOOVF5_MASK              (0x20U)
75549 #define PDM_FIFO_STAT_FIFOOVF5_SHIFT             (5U)
75550 /*! FIFOOVF5 - FIFO Overflow Exception flag for Channel 5
75551  *  0b0..No exception by FIFO overflow
75552  *  0b1..Exception by FIFO overflow
75553  */
75554 #define PDM_FIFO_STAT_FIFOOVF5(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF5_SHIFT)) & PDM_FIFO_STAT_FIFOOVF5_MASK)
75555 
75556 #define PDM_FIFO_STAT_FIFOOVF6_MASK              (0x40U)
75557 #define PDM_FIFO_STAT_FIFOOVF6_SHIFT             (6U)
75558 /*! FIFOOVF6 - FIFO Overflow Exception flag for Channel 6
75559  *  0b0..No exception by FIFO overflow
75560  *  0b1..Exception by FIFO overflow
75561  */
75562 #define PDM_FIFO_STAT_FIFOOVF6(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF6_SHIFT)) & PDM_FIFO_STAT_FIFOOVF6_MASK)
75563 
75564 #define PDM_FIFO_STAT_FIFOOVF7_MASK              (0x80U)
75565 #define PDM_FIFO_STAT_FIFOOVF7_SHIFT             (7U)
75566 /*! FIFOOVF7 - FIFO Overflow Exception flag for Channel 7
75567  *  0b0..No exception by FIFO overflow
75568  *  0b1..Exception by FIFO overflow
75569  */
75570 #define PDM_FIFO_STAT_FIFOOVF7(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOOVF7_SHIFT)) & PDM_FIFO_STAT_FIFOOVF7_MASK)
75571 
75572 #define PDM_FIFO_STAT_FIFOUND0_MASK              (0x100U)
75573 #define PDM_FIFO_STAT_FIFOUND0_SHIFT             (8U)
75574 /*! FIFOUND0 - FIFO Underflow Exception flag for Channel 0
75575  *  0b0..No exception by FIFO Underflow
75576  *  0b1..Exception by FIFO underflow
75577  */
75578 #define PDM_FIFO_STAT_FIFOUND0(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND0_SHIFT)) & PDM_FIFO_STAT_FIFOUND0_MASK)
75579 
75580 #define PDM_FIFO_STAT_FIFOUND1_MASK              (0x200U)
75581 #define PDM_FIFO_STAT_FIFOUND1_SHIFT             (9U)
75582 /*! FIFOUND1 - FIFO Underflow Exception flag for Channel 1
75583  *  0b0..No exception by FIFO Underflow
75584  *  0b1..Exception by FIFO underflow
75585  */
75586 #define PDM_FIFO_STAT_FIFOUND1(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND1_SHIFT)) & PDM_FIFO_STAT_FIFOUND1_MASK)
75587 
75588 #define PDM_FIFO_STAT_FIFOUND2_MASK              (0x400U)
75589 #define PDM_FIFO_STAT_FIFOUND2_SHIFT             (10U)
75590 /*! FIFOUND2 - FIFO Underflow Exception flag for Channel 2
75591  *  0b0..No exception by FIFO Underflow
75592  *  0b1..Exception by FIFO underflow
75593  */
75594 #define PDM_FIFO_STAT_FIFOUND2(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND2_SHIFT)) & PDM_FIFO_STAT_FIFOUND2_MASK)
75595 
75596 #define PDM_FIFO_STAT_FIFOUND3_MASK              (0x800U)
75597 #define PDM_FIFO_STAT_FIFOUND3_SHIFT             (11U)
75598 /*! FIFOUND3 - FIFO Underflow Exception flag for Channel 3
75599  *  0b0..No exception by FIFO Underflow
75600  *  0b1..Exception by FIFO underflow
75601  */
75602 #define PDM_FIFO_STAT_FIFOUND3(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND3_SHIFT)) & PDM_FIFO_STAT_FIFOUND3_MASK)
75603 
75604 #define PDM_FIFO_STAT_FIFOUND4_MASK              (0x1000U)
75605 #define PDM_FIFO_STAT_FIFOUND4_SHIFT             (12U)
75606 /*! FIFOUND4 - FIFO Underflow Exception flag for Channel 4
75607  *  0b0..No exception by FIFO Underflow
75608  *  0b1..Exception by FIFO underflow
75609  */
75610 #define PDM_FIFO_STAT_FIFOUND4(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND4_SHIFT)) & PDM_FIFO_STAT_FIFOUND4_MASK)
75611 
75612 #define PDM_FIFO_STAT_FIFOUND5_MASK              (0x2000U)
75613 #define PDM_FIFO_STAT_FIFOUND5_SHIFT             (13U)
75614 /*! FIFOUND5 - FIFO Underflow Exception flag for Channel 5
75615  *  0b0..No exception by FIFO Underflow
75616  *  0b1..Exception by FIFO underflow
75617  */
75618 #define PDM_FIFO_STAT_FIFOUND5(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND5_SHIFT)) & PDM_FIFO_STAT_FIFOUND5_MASK)
75619 
75620 #define PDM_FIFO_STAT_FIFOUND6_MASK              (0x4000U)
75621 #define PDM_FIFO_STAT_FIFOUND6_SHIFT             (14U)
75622 /*! FIFOUND6 - FIFO Underflow Exception flag for Channel 6
75623  *  0b0..No exception by FIFO Underflow
75624  *  0b1..Exception by FIFO underflow
75625  */
75626 #define PDM_FIFO_STAT_FIFOUND6(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND6_SHIFT)) & PDM_FIFO_STAT_FIFOUND6_MASK)
75627 
75628 #define PDM_FIFO_STAT_FIFOUND7_MASK              (0x8000U)
75629 #define PDM_FIFO_STAT_FIFOUND7_SHIFT             (15U)
75630 /*! FIFOUND7 - FIFO Underflow Exception flag for Channel 7
75631  *  0b0..No exception by FIFO Underflow
75632  *  0b1..Exception by FIFO underflow
75633  */
75634 #define PDM_FIFO_STAT_FIFOUND7(x)                (((uint32_t)(((uint32_t)(x)) << PDM_FIFO_STAT_FIFOUND7_SHIFT)) & PDM_FIFO_STAT_FIFOUND7_MASK)
75635 /*! @} */
75636 
75637 /*! @name DATACH - PDM Output Result Register */
75638 /*! @{ */
75639 
75640 #define PDM_DATACH_DATA_MASK                     (0xFFFFFFFFU)
75641 #define PDM_DATACH_DATA_SHIFT                    (0U)
75642 /*! DATA - Channel n Data
75643  */
75644 #define PDM_DATACH_DATA(x)                       (((uint32_t)(((uint32_t)(x)) << PDM_DATACH_DATA_SHIFT)) & PDM_DATACH_DATA_MASK)
75645 /*! @} */
75646 
75647 /* The count of PDM_DATACH */
75648 #define PDM_DATACH_COUNT                         (8U)
75649 
75650 /*! @name DC_CTRL - PDM DC Remover Control register */
75651 /*! @{ */
75652 
75653 #define PDM_DC_CTRL_DCCONFIG0_MASK               (0x3U)
75654 #define PDM_DC_CTRL_DCCONFIG0_SHIFT              (0U)
75655 /*! DCCONFIG0 - Channel 0 DC Remover Configuration
75656  *  0b11..DC Remover is bypassed
75657  *  0b00..DC Remover cut-off at 21Hz
75658  *  0b01..DC Remover cut-off at 83Hz
75659  *  0b10..DC Remover cut-off at 152Hz
75660  */
75661 #define PDM_DC_CTRL_DCCONFIG0(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG0_SHIFT)) & PDM_DC_CTRL_DCCONFIG0_MASK)
75662 
75663 #define PDM_DC_CTRL_DCCONFIG1_MASK               (0xCU)
75664 #define PDM_DC_CTRL_DCCONFIG1_SHIFT              (2U)
75665 /*! DCCONFIG1 - Channel 1 DC Remover Configuration
75666  *  0b11..DC Remover is bypassed
75667  *  0b00..DC Remover cut-off at 21Hz
75668  *  0b01..DC Remover cut-off at 83Hz
75669  *  0b10..DC Remover cut-off at 152Hz
75670  */
75671 #define PDM_DC_CTRL_DCCONFIG1(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG1_SHIFT)) & PDM_DC_CTRL_DCCONFIG1_MASK)
75672 
75673 #define PDM_DC_CTRL_DCCONFIG2_MASK               (0x30U)
75674 #define PDM_DC_CTRL_DCCONFIG2_SHIFT              (4U)
75675 /*! DCCONFIG2 - Channel 2 DC Remover Configuration
75676  *  0b11..DC Remover is bypassed
75677  *  0b00..DC Remover cut-off at 21Hz
75678  *  0b01..DC Remover cut-off at 83Hz
75679  *  0b10..DC Remover cut-off at 152Hz
75680  */
75681 #define PDM_DC_CTRL_DCCONFIG2(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG2_SHIFT)) & PDM_DC_CTRL_DCCONFIG2_MASK)
75682 
75683 #define PDM_DC_CTRL_DCCONFIG3_MASK               (0xC0U)
75684 #define PDM_DC_CTRL_DCCONFIG3_SHIFT              (6U)
75685 /*! DCCONFIG3 - Channel 3 DC Remover Configuration
75686  *  0b11..DC Remover is bypassed
75687  *  0b00..DC Remover cut-off at 21Hz
75688  *  0b01..DC Remover cut-off at 83Hz
75689  *  0b10..DC Remover cut-off at 152Hz
75690  */
75691 #define PDM_DC_CTRL_DCCONFIG3(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG3_SHIFT)) & PDM_DC_CTRL_DCCONFIG3_MASK)
75692 
75693 #define PDM_DC_CTRL_DCCONFIG4_MASK               (0x300U)
75694 #define PDM_DC_CTRL_DCCONFIG4_SHIFT              (8U)
75695 /*! DCCONFIG4 - Channel 4 DC Remover Configuration
75696  *  0b11..DC Remover is bypassed
75697  *  0b00..DC Remover cut-off at 21Hz
75698  *  0b01..DC Remover cut-off at 83Hz
75699  *  0b10..DC Remover cut-off at 152Hz
75700  */
75701 #define PDM_DC_CTRL_DCCONFIG4(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG4_SHIFT)) & PDM_DC_CTRL_DCCONFIG4_MASK)
75702 
75703 #define PDM_DC_CTRL_DCCONFIG5_MASK               (0xC00U)
75704 #define PDM_DC_CTRL_DCCONFIG5_SHIFT              (10U)
75705 /*! DCCONFIG5 - Channel 5 DC Remover Configuration
75706  *  0b11..DC Remover is bypassed
75707  *  0b00..DC Remover cut-off at 21Hz
75708  *  0b01..DC Remover cut-off at 83Hz
75709  *  0b10..DC Remover cut-off at 152Hz
75710  */
75711 #define PDM_DC_CTRL_DCCONFIG5(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG5_SHIFT)) & PDM_DC_CTRL_DCCONFIG5_MASK)
75712 
75713 #define PDM_DC_CTRL_DCCONFIG6_MASK               (0x3000U)
75714 #define PDM_DC_CTRL_DCCONFIG6_SHIFT              (12U)
75715 /*! DCCONFIG6 - Channel 6 DC Remover Configuration
75716  *  0b11..DC Remover is bypassed
75717  *  0b00..DC Remover cut-off at 21Hz
75718  *  0b01..DC Remover cut-off at 83Hz
75719  *  0b10..DC Remover cut-off at 152Hz
75720  */
75721 #define PDM_DC_CTRL_DCCONFIG6(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG6_SHIFT)) & PDM_DC_CTRL_DCCONFIG6_MASK)
75722 
75723 #define PDM_DC_CTRL_DCCONFIG7_MASK               (0xC000U)
75724 #define PDM_DC_CTRL_DCCONFIG7_SHIFT              (14U)
75725 /*! DCCONFIG7 - Channel 7 DC Remover Configuration
75726  *  0b11..DC Remover is bypassed
75727  *  0b00..DC Remover cut-off at 21Hz
75728  *  0b01..DC Remover cut-off at 83Hz
75729  *  0b10..DC Remover cut-off at 152Hz
75730  */
75731 #define PDM_DC_CTRL_DCCONFIG7(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_DC_CTRL_DCCONFIG7_SHIFT)) & PDM_DC_CTRL_DCCONFIG7_MASK)
75732 /*! @} */
75733 
75734 /*! @name RANGE_CTRL - PDM Range Control register */
75735 /*! @{ */
75736 
75737 #define PDM_RANGE_CTRL_RANGEADJ0_MASK            (0xFU)
75738 #define PDM_RANGE_CTRL_RANGEADJ0_SHIFT           (0U)
75739 /*! RANGEADJ0 - Channel 0 Range Adjustment
75740  */
75741 #define PDM_RANGE_CTRL_RANGEADJ0(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ0_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ0_MASK)
75742 
75743 #define PDM_RANGE_CTRL_RANGEADJ1_MASK            (0xF0U)
75744 #define PDM_RANGE_CTRL_RANGEADJ1_SHIFT           (4U)
75745 /*! RANGEADJ1 - Channel 1 Range Adjustment
75746  */
75747 #define PDM_RANGE_CTRL_RANGEADJ1(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ1_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ1_MASK)
75748 
75749 #define PDM_RANGE_CTRL_RANGEADJ2_MASK            (0xF00U)
75750 #define PDM_RANGE_CTRL_RANGEADJ2_SHIFT           (8U)
75751 /*! RANGEADJ2 - Channel 2 Range Adjustment
75752  */
75753 #define PDM_RANGE_CTRL_RANGEADJ2(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ2_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ2_MASK)
75754 
75755 #define PDM_RANGE_CTRL_RANGEADJ3_MASK            (0xF000U)
75756 #define PDM_RANGE_CTRL_RANGEADJ3_SHIFT           (12U)
75757 /*! RANGEADJ3 - Channel 3 Range Adjustment
75758  */
75759 #define PDM_RANGE_CTRL_RANGEADJ3(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ3_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ3_MASK)
75760 
75761 #define PDM_RANGE_CTRL_RANGEADJ4_MASK            (0xF0000U)
75762 #define PDM_RANGE_CTRL_RANGEADJ4_SHIFT           (16U)
75763 /*! RANGEADJ4 - Channel 4 Range Adjustment
75764  */
75765 #define PDM_RANGE_CTRL_RANGEADJ4(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ4_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ4_MASK)
75766 
75767 #define PDM_RANGE_CTRL_RANGEADJ5_MASK            (0xF00000U)
75768 #define PDM_RANGE_CTRL_RANGEADJ5_SHIFT           (20U)
75769 /*! RANGEADJ5 - Channel 5 Range Adjustment
75770  */
75771 #define PDM_RANGE_CTRL_RANGEADJ5(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ5_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ5_MASK)
75772 
75773 #define PDM_RANGE_CTRL_RANGEADJ6_MASK            (0xF000000U)
75774 #define PDM_RANGE_CTRL_RANGEADJ6_SHIFT           (24U)
75775 /*! RANGEADJ6 - Channel 6 Range Adjustment
75776  */
75777 #define PDM_RANGE_CTRL_RANGEADJ6(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ6_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ6_MASK)
75778 
75779 #define PDM_RANGE_CTRL_RANGEADJ7_MASK            (0xF0000000U)
75780 #define PDM_RANGE_CTRL_RANGEADJ7_SHIFT           (28U)
75781 /*! RANGEADJ7 - Channel 7 Range Adjustment
75782  */
75783 #define PDM_RANGE_CTRL_RANGEADJ7(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_CTRL_RANGEADJ7_SHIFT)) & PDM_RANGE_CTRL_RANGEADJ7_MASK)
75784 /*! @} */
75785 
75786 /*! @name RANGE_STAT - PDM Range Status register */
75787 /*! @{ */
75788 
75789 #define PDM_RANGE_STAT_RANGEOVF0_MASK            (0x1U)
75790 #define PDM_RANGE_STAT_RANGEOVF0_SHIFT           (0U)
75791 /*! RANGEOVF0 - Channel 0 Range Overflow Error Flag
75792  *  0b0..No exception by range overflow
75793  *  0b1..Exception by range overflow
75794  */
75795 #define PDM_RANGE_STAT_RANGEOVF0(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF0_SHIFT)) & PDM_RANGE_STAT_RANGEOVF0_MASK)
75796 
75797 #define PDM_RANGE_STAT_RANGEOVF1_MASK            (0x2U)
75798 #define PDM_RANGE_STAT_RANGEOVF1_SHIFT           (1U)
75799 /*! RANGEOVF1 - Channel 1 Range Overflow Error Flag
75800  *  0b0..No exception by range overflow
75801  *  0b1..Exception by range overflow
75802  */
75803 #define PDM_RANGE_STAT_RANGEOVF1(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF1_SHIFT)) & PDM_RANGE_STAT_RANGEOVF1_MASK)
75804 
75805 #define PDM_RANGE_STAT_RANGEOVF2_MASK            (0x4U)
75806 #define PDM_RANGE_STAT_RANGEOVF2_SHIFT           (2U)
75807 /*! RANGEOVF2 - Channel 2 Range Overflow Error Flag
75808  *  0b0..No exception by range overflow
75809  *  0b1..Exception by range overflow
75810  */
75811 #define PDM_RANGE_STAT_RANGEOVF2(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF2_SHIFT)) & PDM_RANGE_STAT_RANGEOVF2_MASK)
75812 
75813 #define PDM_RANGE_STAT_RANGEOVF3_MASK            (0x8U)
75814 #define PDM_RANGE_STAT_RANGEOVF3_SHIFT           (3U)
75815 /*! RANGEOVF3 - Channel 3 Range Overflow Error Flag
75816  *  0b0..No exception by range overflow
75817  *  0b1..Exception by range overflow
75818  */
75819 #define PDM_RANGE_STAT_RANGEOVF3(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF3_SHIFT)) & PDM_RANGE_STAT_RANGEOVF3_MASK)
75820 
75821 #define PDM_RANGE_STAT_RANGEOVF4_MASK            (0x10U)
75822 #define PDM_RANGE_STAT_RANGEOVF4_SHIFT           (4U)
75823 /*! RANGEOVF4 - Channel 4 Range Overflow Error Flag
75824  *  0b0..No exception by range overflow
75825  *  0b1..Exception by range overflow
75826  */
75827 #define PDM_RANGE_STAT_RANGEOVF4(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF4_SHIFT)) & PDM_RANGE_STAT_RANGEOVF4_MASK)
75828 
75829 #define PDM_RANGE_STAT_RANGEOVF5_MASK            (0x20U)
75830 #define PDM_RANGE_STAT_RANGEOVF5_SHIFT           (5U)
75831 /*! RANGEOVF5 - Channel 5 Range Overflow Error Flag
75832  *  0b0..No exception by range overflow
75833  *  0b1..Exception by range overflow
75834  */
75835 #define PDM_RANGE_STAT_RANGEOVF5(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF5_SHIFT)) & PDM_RANGE_STAT_RANGEOVF5_MASK)
75836 
75837 #define PDM_RANGE_STAT_RANGEOVF6_MASK            (0x40U)
75838 #define PDM_RANGE_STAT_RANGEOVF6_SHIFT           (6U)
75839 /*! RANGEOVF6 - Channel 6 Range Overflow Error Flag
75840  *  0b0..No exception by range overflow
75841  *  0b1..Exception by range overflow
75842  */
75843 #define PDM_RANGE_STAT_RANGEOVF6(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF6_SHIFT)) & PDM_RANGE_STAT_RANGEOVF6_MASK)
75844 
75845 #define PDM_RANGE_STAT_RANGEOVF7_MASK            (0x80U)
75846 #define PDM_RANGE_STAT_RANGEOVF7_SHIFT           (7U)
75847 /*! RANGEOVF7 - Channel 7 Range Overflow Error Flag
75848  *  0b0..No exception by range overflow
75849  *  0b1..Exception by range overflow
75850  */
75851 #define PDM_RANGE_STAT_RANGEOVF7(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEOVF7_SHIFT)) & PDM_RANGE_STAT_RANGEOVF7_MASK)
75852 
75853 #define PDM_RANGE_STAT_RANGEUNF0_MASK            (0x10000U)
75854 #define PDM_RANGE_STAT_RANGEUNF0_SHIFT           (16U)
75855 /*! RANGEUNF0 - Channel 0 Range Underflow Error Flag
75856  *  0b0..No exception by range underflow
75857  *  0b1..Exception by range underflow
75858  */
75859 #define PDM_RANGE_STAT_RANGEUNF0(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF0_SHIFT)) & PDM_RANGE_STAT_RANGEUNF0_MASK)
75860 
75861 #define PDM_RANGE_STAT_RANGEUNF1_MASK            (0x20000U)
75862 #define PDM_RANGE_STAT_RANGEUNF1_SHIFT           (17U)
75863 /*! RANGEUNF1 - Channel 1 Range Underflow Error Flag
75864  *  0b0..No exception by range underflow
75865  *  0b1..Exception by range underflow
75866  */
75867 #define PDM_RANGE_STAT_RANGEUNF1(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF1_SHIFT)) & PDM_RANGE_STAT_RANGEUNF1_MASK)
75868 
75869 #define PDM_RANGE_STAT_RANGEUNF2_MASK            (0x40000U)
75870 #define PDM_RANGE_STAT_RANGEUNF2_SHIFT           (18U)
75871 /*! RANGEUNF2 - Channel 2 Range Underflow Error Flag
75872  *  0b0..No exception by range underflow
75873  *  0b1..Exception by range underflow
75874  */
75875 #define PDM_RANGE_STAT_RANGEUNF2(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF2_SHIFT)) & PDM_RANGE_STAT_RANGEUNF2_MASK)
75876 
75877 #define PDM_RANGE_STAT_RANGEUNF3_MASK            (0x80000U)
75878 #define PDM_RANGE_STAT_RANGEUNF3_SHIFT           (19U)
75879 /*! RANGEUNF3 - Channel 3 Range Underflow Error Flag
75880  *  0b0..No exception by range underflow
75881  *  0b1..Exception by range underflow
75882  */
75883 #define PDM_RANGE_STAT_RANGEUNF3(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF3_SHIFT)) & PDM_RANGE_STAT_RANGEUNF3_MASK)
75884 
75885 #define PDM_RANGE_STAT_RANGEUNF4_MASK            (0x100000U)
75886 #define PDM_RANGE_STAT_RANGEUNF4_SHIFT           (20U)
75887 /*! RANGEUNF4 - Channel 4 Range Underflow Error Flag
75888  *  0b0..No exception by range underflow
75889  *  0b1..Exception by range underflow
75890  */
75891 #define PDM_RANGE_STAT_RANGEUNF4(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF4_SHIFT)) & PDM_RANGE_STAT_RANGEUNF4_MASK)
75892 
75893 #define PDM_RANGE_STAT_RANGEUNF5_MASK            (0x200000U)
75894 #define PDM_RANGE_STAT_RANGEUNF5_SHIFT           (21U)
75895 /*! RANGEUNF5 - Channel 5 Range Underflow Error Flag
75896  *  0b0..No exception by range underflow
75897  *  0b1..Exception by range underflow
75898  */
75899 #define PDM_RANGE_STAT_RANGEUNF5(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF5_SHIFT)) & PDM_RANGE_STAT_RANGEUNF5_MASK)
75900 
75901 #define PDM_RANGE_STAT_RANGEUNF6_MASK            (0x400000U)
75902 #define PDM_RANGE_STAT_RANGEUNF6_SHIFT           (22U)
75903 /*! RANGEUNF6 - Channel 6 Range Underflow Error Flag
75904  *  0b0..No exception by range underflow
75905  *  0b1..Exception by range underflow
75906  */
75907 #define PDM_RANGE_STAT_RANGEUNF6(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF6_SHIFT)) & PDM_RANGE_STAT_RANGEUNF6_MASK)
75908 
75909 #define PDM_RANGE_STAT_RANGEUNF7_MASK            (0x800000U)
75910 #define PDM_RANGE_STAT_RANGEUNF7_SHIFT           (23U)
75911 /*! RANGEUNF7 - Channel 7 Range Underflow Error Flag
75912  *  0b0..No exception by range underflow
75913  *  0b1..Exception by range underflow
75914  */
75915 #define PDM_RANGE_STAT_RANGEUNF7(x)              (((uint32_t)(((uint32_t)(x)) << PDM_RANGE_STAT_RANGEUNF7_SHIFT)) & PDM_RANGE_STAT_RANGEUNF7_MASK)
75916 /*! @} */
75917 
75918 /*! @name VAD0_CTRL_1 - Voice Activity Detector 0 Control register */
75919 /*! @{ */
75920 
75921 #define PDM_VAD0_CTRL_1_VADEN_MASK               (0x1U)
75922 #define PDM_VAD0_CTRL_1_VADEN_SHIFT              (0U)
75923 /*! VADEN - Voice Activity Detector Enable
75924  *  0b0..The HWVAD is disabled
75925  *  0b1..The HWVAD is enabled
75926  */
75927 #define PDM_VAD0_CTRL_1_VADEN(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADEN_SHIFT)) & PDM_VAD0_CTRL_1_VADEN_MASK)
75928 
75929 #define PDM_VAD0_CTRL_1_VADRST_MASK              (0x2U)
75930 #define PDM_VAD0_CTRL_1_VADRST_SHIFT             (1U)
75931 /*! VADRST - Voice Activity Detector Reset
75932  */
75933 #define PDM_VAD0_CTRL_1_VADRST(x)                (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADRST_SHIFT)) & PDM_VAD0_CTRL_1_VADRST_MASK)
75934 
75935 #define PDM_VAD0_CTRL_1_VADIE_MASK               (0x4U)
75936 #define PDM_VAD0_CTRL_1_VADIE_SHIFT              (2U)
75937 /*! VADIE - Voice Activity Detector Interruption Enable
75938  *  0b0..HWVAD Interrupts disabled
75939  *  0b1..HWVAD Interrupts enabled
75940  */
75941 #define PDM_VAD0_CTRL_1_VADIE(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADIE_SHIFT)) & PDM_VAD0_CTRL_1_VADIE_MASK)
75942 
75943 #define PDM_VAD0_CTRL_1_VADERIE_MASK             (0x8U)
75944 #define PDM_VAD0_CTRL_1_VADERIE_SHIFT            (3U)
75945 /*! VADERIE - Voice Activity Detector Error Interruption Enable
75946  *  0b0..HWVAD Error Interrupts disabled
75947  *  0b1..HWVAD Error Interrupts enabled
75948  */
75949 #define PDM_VAD0_CTRL_1_VADERIE(x)               (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADERIE_SHIFT)) & PDM_VAD0_CTRL_1_VADERIE_MASK)
75950 
75951 #define PDM_VAD0_CTRL_1_VADST10_MASK             (0x10U)
75952 #define PDM_VAD0_CTRL_1_VADST10_SHIFT            (4U)
75953 /*! VADST10 - Voice Activity Detector Internal Filters Initialization
75954  *  0b0..Normal operation.
75955  *  0b1..Filters are initialized.
75956  */
75957 #define PDM_VAD0_CTRL_1_VADST10(x)               (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADST10_SHIFT)) & PDM_VAD0_CTRL_1_VADST10_MASK)
75958 
75959 #define PDM_VAD0_CTRL_1_VADINITT_MASK            (0x1F00U)
75960 #define PDM_VAD0_CTRL_1_VADINITT_SHIFT           (8U)
75961 /*! VADINITT - Voice Activity Detector Initialization Time
75962  */
75963 #define PDM_VAD0_CTRL_1_VADINITT(x)              (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADINITT_SHIFT)) & PDM_VAD0_CTRL_1_VADINITT_MASK)
75964 
75965 #define PDM_VAD0_CTRL_1_VADCICOSR_MASK           (0xF0000U)
75966 #define PDM_VAD0_CTRL_1_VADCICOSR_SHIFT          (16U)
75967 /*! VADCICOSR - Voice Activity Detector CIC Oversampling Rate
75968  */
75969 #define PDM_VAD0_CTRL_1_VADCICOSR(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADCICOSR_SHIFT)) & PDM_VAD0_CTRL_1_VADCICOSR_MASK)
75970 
75971 #define PDM_VAD0_CTRL_1_VADCHSEL_MASK            (0x7000000U)
75972 #define PDM_VAD0_CTRL_1_VADCHSEL_SHIFT           (24U)
75973 /*! VADCHSEL - Voice Activity Detector Channel Selector
75974  */
75975 #define PDM_VAD0_CTRL_1_VADCHSEL(x)              (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_1_VADCHSEL_SHIFT)) & PDM_VAD0_CTRL_1_VADCHSEL_MASK)
75976 /*! @} */
75977 
75978 /*! @name VAD0_CTRL_2 - Voice Activity Detector 0 Control register */
75979 /*! @{ */
75980 
75981 #define PDM_VAD0_CTRL_2_VADHPF_MASK              (0x3U)
75982 #define PDM_VAD0_CTRL_2_VADHPF_SHIFT             (0U)
75983 /*! VADHPF - Voice Activity Detector High-Pass Filter
75984  *  0b00..Filter bypassed.
75985  *  0b01..Cut-off frequency at 1750Hz.
75986  *  0b10..Cut-off frequency at 215Hz.
75987  *  0b11..Cut-off frequency at 102Hz.
75988  */
75989 #define PDM_VAD0_CTRL_2_VADHPF(x)                (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADHPF_SHIFT)) & PDM_VAD0_CTRL_2_VADHPF_MASK)
75990 
75991 #define PDM_VAD0_CTRL_2_VADINPGAIN_MASK          (0xF00U)
75992 #define PDM_VAD0_CTRL_2_VADINPGAIN_SHIFT         (8U)
75993 /*! VADINPGAIN - Voice Activity Detector Input Gain
75994  */
75995 #define PDM_VAD0_CTRL_2_VADINPGAIN(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADINPGAIN_SHIFT)) & PDM_VAD0_CTRL_2_VADINPGAIN_MASK)
75996 
75997 #define PDM_VAD0_CTRL_2_VADFRAMET_MASK           (0x3F0000U)
75998 #define PDM_VAD0_CTRL_2_VADFRAMET_SHIFT          (16U)
75999 /*! VADFRAMET - Voice Activity Detector Frame Time
76000  */
76001 #define PDM_VAD0_CTRL_2_VADFRAMET(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADFRAMET_SHIFT)) & PDM_VAD0_CTRL_2_VADFRAMET_MASK)
76002 
76003 #define PDM_VAD0_CTRL_2_VADFOUTDIS_MASK          (0x10000000U)
76004 #define PDM_VAD0_CTRL_2_VADFOUTDIS_SHIFT         (28U)
76005 /*! VADFOUTDIS - Voice Activity Detector Force Output Disable
76006  *  0b0..Output is enabled.
76007  *  0b1..Output is disabled.
76008  */
76009 #define PDM_VAD0_CTRL_2_VADFOUTDIS(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADFOUTDIS_SHIFT)) & PDM_VAD0_CTRL_2_VADFOUTDIS_MASK)
76010 
76011 #define PDM_VAD0_CTRL_2_VADPREFEN_MASK           (0x40000000U)
76012 #define PDM_VAD0_CTRL_2_VADPREFEN_SHIFT          (30U)
76013 /*! VADPREFEN - Voice Activity Detector Pre Filter Enable
76014  *  0b0..Pre-filter is bypassed.
76015  *  0b1..Pre-filter is enabled.
76016  */
76017 #define PDM_VAD0_CTRL_2_VADPREFEN(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADPREFEN_SHIFT)) & PDM_VAD0_CTRL_2_VADPREFEN_MASK)
76018 
76019 #define PDM_VAD0_CTRL_2_VADFRENDIS_MASK          (0x80000000U)
76020 #define PDM_VAD0_CTRL_2_VADFRENDIS_SHIFT         (31U)
76021 /*! VADFRENDIS - Voice Activity Detector Frame Energy Disable
76022  *  0b1..Frame energy calculus disabled.
76023  *  0b0..Frame energy calculus enabled.
76024  */
76025 #define PDM_VAD0_CTRL_2_VADFRENDIS(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_CTRL_2_VADFRENDIS_SHIFT)) & PDM_VAD0_CTRL_2_VADFRENDIS_MASK)
76026 /*! @} */
76027 
76028 /*! @name VAD0_STAT - Voice Activity Detector 0 Status register */
76029 /*! @{ */
76030 
76031 #define PDM_VAD0_STAT_VADIF_MASK                 (0x1U)
76032 #define PDM_VAD0_STAT_VADIF_SHIFT                (0U)
76033 /*! VADIF - Voice Activity Detector Interrupt Flag
76034  *  0b0..Voice activity not detected
76035  *  0b1..Voice activity detected
76036  */
76037 #define PDM_VAD0_STAT_VADIF(x)                   (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_STAT_VADIF_SHIFT)) & PDM_VAD0_STAT_VADIF_MASK)
76038 
76039 #define PDM_VAD0_STAT_VADEF_MASK                 (0x8000U)
76040 #define PDM_VAD0_STAT_VADEF_SHIFT                (15U)
76041 /*! VADEF - Voice Activity Detector Event Flag
76042  *  0b0..Voice activity not detected
76043  *  0b1..Voice activity detected
76044  */
76045 #define PDM_VAD0_STAT_VADEF(x)                   (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_STAT_VADEF_SHIFT)) & PDM_VAD0_STAT_VADEF_MASK)
76046 
76047 #define PDM_VAD0_STAT_VADINSATF_MASK             (0x10000U)
76048 #define PDM_VAD0_STAT_VADINSATF_SHIFT            (16U)
76049 /*! VADINSATF - Voice Activity Detector Input Saturation Flag
76050  *  0b0..No exception
76051  *  0b1..Exception
76052  */
76053 #define PDM_VAD0_STAT_VADINSATF(x)               (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_STAT_VADINSATF_SHIFT)) & PDM_VAD0_STAT_VADINSATF_MASK)
76054 
76055 #define PDM_VAD0_STAT_VADINITF_MASK              (0x80000000U)
76056 #define PDM_VAD0_STAT_VADINITF_SHIFT             (31U)
76057 /*! VADINITF - Voice Activity Detector Initialization Flag
76058  *  0b0..HWVAD is not being initialized.
76059  *  0b1..HWVAD is being initialized.
76060  */
76061 #define PDM_VAD0_STAT_VADINITF(x)                (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_STAT_VADINITF_SHIFT)) & PDM_VAD0_STAT_VADINITF_MASK)
76062 /*! @} */
76063 
76064 /*! @name VAD0_SCONFIG - Voice Activity Detector 0 Signal Configuration */
76065 /*! @{ */
76066 
76067 #define PDM_VAD0_SCONFIG_VADSGAIN_MASK           (0xFU)
76068 #define PDM_VAD0_SCONFIG_VADSGAIN_SHIFT          (0U)
76069 /*! VADSGAIN - Voice Activity Detector Signal Gain
76070  */
76071 #define PDM_VAD0_SCONFIG_VADSGAIN(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_SCONFIG_VADSGAIN_SHIFT)) & PDM_VAD0_SCONFIG_VADSGAIN_MASK)
76072 
76073 #define PDM_VAD0_SCONFIG_VADSMAXEN_MASK          (0x40000000U)
76074 #define PDM_VAD0_SCONFIG_VADSMAXEN_SHIFT         (30U)
76075 /*! VADSMAXEN - Voice Activity Detector Signal Maximum Enable
76076  *  0b0..Maximum block is bypassed.
76077  *  0b1..Maximum block is enabled.
76078  */
76079 #define PDM_VAD0_SCONFIG_VADSMAXEN(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_SCONFIG_VADSMAXEN_SHIFT)) & PDM_VAD0_SCONFIG_VADSMAXEN_MASK)
76080 
76081 #define PDM_VAD0_SCONFIG_VADSFILEN_MASK          (0x80000000U)
76082 #define PDM_VAD0_SCONFIG_VADSFILEN_SHIFT         (31U)
76083 /*! VADSFILEN - Voice Activity Detector Signal Filter Enable
76084  *  0b0..Signal filter is disabled.
76085  *  0b1..Signal filter is enabled.
76086  */
76087 #define PDM_VAD0_SCONFIG_VADSFILEN(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_SCONFIG_VADSFILEN_SHIFT)) & PDM_VAD0_SCONFIG_VADSFILEN_MASK)
76088 /*! @} */
76089 
76090 /*! @name VAD0_NCONFIG - Voice Activity Detector 0 Noise Configuration */
76091 /*! @{ */
76092 
76093 #define PDM_VAD0_NCONFIG_VADNGAIN_MASK           (0xFU)
76094 #define PDM_VAD0_NCONFIG_VADNGAIN_SHIFT          (0U)
76095 /*! VADNGAIN - Voice Activity Detector Noise Gain
76096  */
76097 #define PDM_VAD0_NCONFIG_VADNGAIN(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNGAIN_SHIFT)) & PDM_VAD0_NCONFIG_VADNGAIN_MASK)
76098 
76099 #define PDM_VAD0_NCONFIG_VADNFILADJ_MASK         (0x1F00U)
76100 #define PDM_VAD0_NCONFIG_VADNFILADJ_SHIFT        (8U)
76101 /*! VADNFILADJ - Voice Activity Detector Noise Filter Adjustment
76102  */
76103 #define PDM_VAD0_NCONFIG_VADNFILADJ(x)           (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNFILADJ_SHIFT)) & PDM_VAD0_NCONFIG_VADNFILADJ_MASK)
76104 
76105 #define PDM_VAD0_NCONFIG_VADNOREN_MASK           (0x10000000U)
76106 #define PDM_VAD0_NCONFIG_VADNOREN_SHIFT          (28U)
76107 /*! VADNOREN - Voice Activity Detector Noise OR Enable
76108  *  0b0..Noise input is not decimated.
76109  *  0b1..Noise input is decimated.
76110  */
76111 #define PDM_VAD0_NCONFIG_VADNOREN(x)             (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNOREN_SHIFT)) & PDM_VAD0_NCONFIG_VADNOREN_MASK)
76112 
76113 #define PDM_VAD0_NCONFIG_VADNDECEN_MASK          (0x20000000U)
76114 #define PDM_VAD0_NCONFIG_VADNDECEN_SHIFT         (29U)
76115 /*! VADNDECEN - Voice Activity Detector Noise Decimation Enable
76116  *  0b0..Noise input is not decimated.
76117  *  0b1..Noise input is decimated.
76118  */
76119 #define PDM_VAD0_NCONFIG_VADNDECEN(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNDECEN_SHIFT)) & PDM_VAD0_NCONFIG_VADNDECEN_MASK)
76120 
76121 #define PDM_VAD0_NCONFIG_VADNMINEN_MASK          (0x40000000U)
76122 #define PDM_VAD0_NCONFIG_VADNMINEN_SHIFT         (30U)
76123 /*! VADNMINEN - Voice Activity Detector Noise Minimum Enable
76124  *  0b0..Minimum block is bypassed.
76125  *  0b1..Minimum block is enabled.
76126  */
76127 #define PDM_VAD0_NCONFIG_VADNMINEN(x)            (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNMINEN_SHIFT)) & PDM_VAD0_NCONFIG_VADNMINEN_MASK)
76128 
76129 #define PDM_VAD0_NCONFIG_VADNFILAUTO_MASK        (0x80000000U)
76130 #define PDM_VAD0_NCONFIG_VADNFILAUTO_SHIFT       (31U)
76131 /*! VADNFILAUTO - Voice Activity Detector Noise Filter Auto
76132  *  0b0..Noise filter is always enabled.
76133  *  0b1..Noise filter is enabled/disabled based on voice activity information.
76134  */
76135 #define PDM_VAD0_NCONFIG_VADNFILAUTO(x)          (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NCONFIG_VADNFILAUTO_SHIFT)) & PDM_VAD0_NCONFIG_VADNFILAUTO_MASK)
76136 /*! @} */
76137 
76138 /*! @name VAD0_NDATA - Voice Activity Detector 0 Noise Data */
76139 /*! @{ */
76140 
76141 #define PDM_VAD0_NDATA_VADNDATA_MASK             (0xFFFFU)
76142 #define PDM_VAD0_NDATA_VADNDATA_SHIFT            (0U)
76143 /*! VADNDATA - Voice Activity Detector Noise Data
76144  */
76145 #define PDM_VAD0_NDATA_VADNDATA(x)               (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_NDATA_VADNDATA_SHIFT)) & PDM_VAD0_NDATA_VADNDATA_MASK)
76146 /*! @} */
76147 
76148 /*! @name VAD0_ZCD - Voice Activity Detector 0 Zero-Crossing Detector */
76149 /*! @{ */
76150 
76151 #define PDM_VAD0_ZCD_VADZCDEN_MASK               (0x1U)
76152 #define PDM_VAD0_ZCD_VADZCDEN_SHIFT              (0U)
76153 /*! VADZCDEN - Zero-Crossing Detector Enable
76154  *  0b0..The ZCD is disabled
76155  *  0b1..The ZCD is enabled
76156  */
76157 #define PDM_VAD0_ZCD_VADZCDEN(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_ZCD_VADZCDEN_SHIFT)) & PDM_VAD0_ZCD_VADZCDEN_MASK)
76158 
76159 #define PDM_VAD0_ZCD_VADZCDAUTO_MASK             (0x4U)
76160 #define PDM_VAD0_ZCD_VADZCDAUTO_SHIFT            (2U)
76161 /*! VADZCDAUTO - Zero-Crossing Detector Automatic Threshold
76162  *  0b0..The ZCD threshold is not estimated automatically
76163  *  0b1..The ZCD threshold is estimated automatically
76164  */
76165 #define PDM_VAD0_ZCD_VADZCDAUTO(x)               (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_ZCD_VADZCDAUTO_SHIFT)) & PDM_VAD0_ZCD_VADZCDAUTO_MASK)
76166 
76167 #define PDM_VAD0_ZCD_VADZCDAND_MASK              (0x10U)
76168 #define PDM_VAD0_ZCD_VADZCDAND_SHIFT             (4U)
76169 /*! VADZCDAND - Zero-Crossing Detector AND Behavior
76170  *  0b0..The ZCD result is OR'ed with the energy-based detection.
76171  *  0b1..The ZCD result is AND'ed with the energy-based detection.
76172  */
76173 #define PDM_VAD0_ZCD_VADZCDAND(x)                (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_ZCD_VADZCDAND_SHIFT)) & PDM_VAD0_ZCD_VADZCDAND_MASK)
76174 
76175 #define PDM_VAD0_ZCD_VADZCDADJ_MASK              (0xF00U)
76176 #define PDM_VAD0_ZCD_VADZCDADJ_SHIFT             (8U)
76177 /*! VADZCDADJ - Zero-Crossing Detector Adjustment
76178  */
76179 #define PDM_VAD0_ZCD_VADZCDADJ(x)                (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_ZCD_VADZCDADJ_SHIFT)) & PDM_VAD0_ZCD_VADZCDADJ_MASK)
76180 
76181 #define PDM_VAD0_ZCD_VADZCDTH_MASK               (0x3FF0000U)
76182 #define PDM_VAD0_ZCD_VADZCDTH_SHIFT              (16U)
76183 /*! VADZCDTH - Zero-Crossing Detector Threshold
76184  */
76185 #define PDM_VAD0_ZCD_VADZCDTH(x)                 (((uint32_t)(((uint32_t)(x)) << PDM_VAD0_ZCD_VADZCDTH_SHIFT)) & PDM_VAD0_ZCD_VADZCDTH_MASK)
76186 /*! @} */
76187 
76188 
76189 /*!
76190  * @}
76191  */ /* end of group PDM_Register_Masks */
76192 
76193 
76194 /* PDM - Peripheral instance base addresses */
76195 /** Peripheral PDM base address */
76196 #define PDM_BASE                                 (0x40C20000u)
76197 /** Peripheral PDM base pointer */
76198 #define PDM                                      ((PDM_Type *)PDM_BASE)
76199 /** Array initializer of PDM peripheral base addresses */
76200 #define PDM_BASE_ADDRS                           { PDM_BASE }
76201 /** Array initializer of PDM peripheral base pointers */
76202 #define PDM_BASE_PTRS                            { PDM }
76203 
76204 /*!
76205  * @}
76206  */ /* end of group PDM_Peripheral_Access_Layer */
76207 
76208 
76209 /* ----------------------------------------------------------------------------
76210    -- PGMC_BPC Peripheral Access Layer
76211    ---------------------------------------------------------------------------- */
76212 
76213 /*!
76214  * @addtogroup PGMC_BPC_Peripheral_Access_Layer PGMC_BPC Peripheral Access Layer
76215  * @{
76216  */
76217 
76218 /** PGMC_BPC - Register Layout Typedef */
76219 typedef struct {
76220        uint8_t RESERVED_0[4];
76221   __IO uint32_t BPC_AUTHEN_CTRL;                   /**< BPC Authentication Control, offset: 0x4 */
76222        uint8_t RESERVED_1[8];
76223   __IO uint32_t BPC_MODE;                          /**< BPC Mode, offset: 0x10 */
76224   __IO uint32_t BPC_POWER_CTRL;                    /**< BPC power control, offset: 0x14 */
76225        uint8_t RESERVED_2[20];
76226   __IO uint32_t BPC_FLAG;                          /**< BPC flag, offset: 0x2C */
76227        uint8_t RESERVED_3[16];
76228   __IO uint32_t BPC_SSAR_SAVE_CTRL;                /**< BPC SSAR save control, offset: 0x40 */
76229   __IO uint32_t BPC_SSAR_RESTORE_CTRL;             /**< BPC SSAR restore control, offset: 0x44 */
76230 } PGMC_BPC_Type;
76231 
76232 /* ----------------------------------------------------------------------------
76233    -- PGMC_BPC Register Masks
76234    ---------------------------------------------------------------------------- */
76235 
76236 /*!
76237  * @addtogroup PGMC_BPC_Register_Masks PGMC_BPC Register Masks
76238  * @{
76239  */
76240 
76241 /*! @name BPC_AUTHEN_CTRL - BPC Authentication Control */
76242 /*! @{ */
76243 
76244 #define PGMC_BPC_BPC_AUTHEN_CTRL_USER_MASK       (0x1U)
76245 #define PGMC_BPC_BPC_AUTHEN_CTRL_USER_SHIFT      (0U)
76246 /*! USER - Allow user mode access
76247  *  0b0..Allow only privilege mode to access basic power control registers
76248  *  0b1..Allow both privilege and user mode to access basic power control registers
76249  */
76250 #define PGMC_BPC_BPC_AUTHEN_CTRL_USER(x)         (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_USER_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_USER_MASK)
76251 
76252 #define PGMC_BPC_BPC_AUTHEN_CTRL_NONSECURE_MASK  (0x2U)
76253 #define PGMC_BPC_BPC_AUTHEN_CTRL_NONSECURE_SHIFT (1U)
76254 /*! NONSECURE - Allow non-secure mode access
76255  *  0b0..Allow only secure mode to access basic power control registers
76256  *  0b1..Allow both secure and non-secure mode to access basic power control registers
76257  */
76258 #define PGMC_BPC_BPC_AUTHEN_CTRL_NONSECURE(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_NONSECURE_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_NONSECURE_MASK)
76259 
76260 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_SETTING_MASK (0x10U)
76261 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT (4U)
76262 /*! LOCK_SETTING - Lock NONSECURE and USER
76263  */
76264 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_SETTING(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_SETTING_MASK)
76265 
76266 #define PGMC_BPC_BPC_AUTHEN_CTRL_WHITE_LIST_MASK (0xF00U)
76267 #define PGMC_BPC_BPC_AUTHEN_CTRL_WHITE_LIST_SHIFT (8U)
76268 /*! WHITE_LIST - Domain ID white list
76269  */
76270 #define PGMC_BPC_BPC_AUTHEN_CTRL_WHITE_LIST(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_WHITE_LIST_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_WHITE_LIST_MASK)
76271 
76272 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_LIST_MASK  (0x1000U)
76273 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_LIST_SHIFT (12U)
76274 /*! LOCK_LIST - White list lock
76275  */
76276 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_LIST(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_LIST_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_LIST_MASK)
76277 
76278 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_CFG_MASK   (0x100000U)
76279 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_CFG_SHIFT  (20U)
76280 /*! LOCK_CFG - Configuration lock
76281  */
76282 #define PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_CFG(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & PGMC_BPC_BPC_AUTHEN_CTRL_LOCK_CFG_MASK)
76283 /*! @} */
76284 
76285 /*! @name BPC_MODE - BPC Mode */
76286 /*! @{ */
76287 
76288 #define PGMC_BPC_BPC_MODE_CTRL_MODE_MASK         (0x3U)
76289 #define PGMC_BPC_BPC_MODE_CTRL_MODE_SHIFT        (0U)
76290 /*! CTRL_MODE - Control mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76291  *  0b00..Not affected by any low power mode
76292  *  0b01..Controlled by CPU power mode of the domain
76293  *  0b10..Controlled by Setpoint
76294  *  0b11..Reserved
76295  */
76296 #define PGMC_BPC_BPC_MODE_CTRL_MODE(x)           (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_MODE_CTRL_MODE_SHIFT)) & PGMC_BPC_BPC_MODE_CTRL_MODE_MASK)
76297 
76298 #define PGMC_BPC_BPC_MODE_DOMAIN_ASSIGN_MASK     (0x30U)
76299 #define PGMC_BPC_BPC_MODE_DOMAIN_ASSIGN_SHIFT    (4U)
76300 /*! DOMAIN_ASSIGN - Domain assignment of the BPC
76301  *  0b00..Domain 0
76302  *  0b01..Domain 1
76303  *  0b10..Domain 2
76304  *  0b11..Domain 3
76305  */
76306 #define PGMC_BPC_BPC_MODE_DOMAIN_ASSIGN(x)       (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_MODE_DOMAIN_ASSIGN_SHIFT)) & PGMC_BPC_BPC_MODE_DOMAIN_ASSIGN_MASK)
76307 /*! @} */
76308 
76309 /*! @name BPC_POWER_CTRL - BPC power control */
76310 /*! @{ */
76311 
76312 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_WAIT_MASK (0x2U)
76313 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_WAIT_SHIFT (1U)
76314 /*! PWR_OFF_AT_WAIT - 0x1: Power off when domain enters WAIT mode
76315  */
76316 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_WAIT_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_WAIT_MASK)
76317 
76318 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_STOP_MASK (0x4U)
76319 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_STOP_SHIFT (2U)
76320 /*! PWR_OFF_AT_STOP - 0x1: Power off when domain enters STOP mode
76321  */
76322 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_STOP_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_STOP_MASK)
76323 
76324 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SUSPEND_MASK (0x8U)
76325 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SUSPEND_SHIFT (3U)
76326 /*! PWR_OFF_AT_SUSPEND - 0x1: Power off when domain enters SUSPEND mode
76327  */
76328 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SUSPEND_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SUSPEND_MASK)
76329 
76330 #define PGMC_BPC_BPC_POWER_CTRL_ISO_ON_SOFT_MASK (0x100U)
76331 #define PGMC_BPC_BPC_POWER_CTRL_ISO_ON_SOFT_SHIFT (8U)
76332 /*! ISO_ON_SOFT - Software isolation on trigger
76333  */
76334 #define PGMC_BPC_BPC_POWER_CTRL_ISO_ON_SOFT(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_ISO_ON_SOFT_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_ISO_ON_SOFT_MASK)
76335 
76336 #define PGMC_BPC_BPC_POWER_CTRL_PSW_OFF_SOFT_MASK (0x200U)
76337 #define PGMC_BPC_BPC_POWER_CTRL_PSW_OFF_SOFT_SHIFT (9U)
76338 /*! PSW_OFF_SOFT - Software power off trigger
76339  */
76340 #define PGMC_BPC_BPC_POWER_CTRL_PSW_OFF_SOFT(x)  (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PSW_OFF_SOFT_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PSW_OFF_SOFT_MASK)
76341 
76342 #define PGMC_BPC_BPC_POWER_CTRL_PSW_ON_SOFT_MASK (0x400U)
76343 #define PGMC_BPC_BPC_POWER_CTRL_PSW_ON_SOFT_SHIFT (10U)
76344 /*! PSW_ON_SOFT - Software power on trigger
76345  */
76346 #define PGMC_BPC_BPC_POWER_CTRL_PSW_ON_SOFT(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PSW_ON_SOFT_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PSW_ON_SOFT_MASK)
76347 
76348 #define PGMC_BPC_BPC_POWER_CTRL_ISO_OFF_SOFT_MASK (0x800U)
76349 #define PGMC_BPC_BPC_POWER_CTRL_ISO_OFF_SOFT_SHIFT (11U)
76350 /*! ISO_OFF_SOFT - Software isolation off trigger
76351  */
76352 #define PGMC_BPC_BPC_POWER_CTRL_ISO_OFF_SOFT(x)  (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_ISO_OFF_SOFT_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_ISO_OFF_SOFT_MASK)
76353 
76354 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP_MASK (0xFFFF0000U)
76355 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP_SHIFT (16U)
76356 /*! PWR_OFF_AT_SP - Power off when system enters Setpoint number
76357  */
76358 #define PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP_SHIFT)) & PGMC_BPC_BPC_POWER_CTRL_PWR_OFF_AT_SP_MASK)
76359 /*! @} */
76360 
76361 /*! @name BPC_FLAG - BPC flag */
76362 /*! @{ */
76363 
76364 #define PGMC_BPC_BPC_FLAG_PDN_FLAG_MASK          (0x1U)
76365 #define PGMC_BPC_BPC_FLAG_PDN_FLAG_SHIFT         (0U)
76366 /*! PDN_FLAG - set to 1 after power switch off, cleared by writing 1
76367  */
76368 #define PGMC_BPC_BPC_FLAG_PDN_FLAG(x)            (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_FLAG_PDN_FLAG_SHIFT)) & PGMC_BPC_BPC_FLAG_PDN_FLAG_MASK)
76369 /*! @} */
76370 
76371 /*! @name BPC_SSAR_SAVE_CTRL - BPC SSAR save control */
76372 /*! @{ */
76373 
76374 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_RUN_MASK (0x1U)
76375 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_RUN_SHIFT (0U)
76376 /*! SAVE_AT_RUN - Save data at RUN mode, software writting 0x1 to trigger SSARC to execute save process
76377  */
76378 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_RUN(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_RUN_SHIFT)) & PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_RUN_MASK)
76379 
76380 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_WAIT_MASK (0x2U)
76381 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_WAIT_SHIFT (1U)
76382 /*! SAVE_AT_WAIT - Save data when domain enters WAIT mode
76383  */
76384 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_WAIT_SHIFT)) & PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_WAIT_MASK)
76385 
76386 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_STOP_MASK (0x4U)
76387 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_STOP_SHIFT (2U)
76388 /*! SAVE_AT_STOP - Save data when domain enters STOP mode
76389  */
76390 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_STOP_SHIFT)) & PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_STOP_MASK)
76391 
76392 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SUSPEND_MASK (0x8U)
76393 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SUSPEND_SHIFT (3U)
76394 /*! SAVE_AT_SUSPEND - Save data when domain enters SUSPEND mode
76395  */
76396 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SUSPEND_SHIFT)) & PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SUSPEND_MASK)
76397 
76398 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP_MASK (0xFFFF0000U)
76399 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP_SHIFT (16U)
76400 /*! SAVE_AT_SP - Save data when system enters a Setpoint.
76401  */
76402 #define PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP_SHIFT)) & PGMC_BPC_BPC_SSAR_SAVE_CTRL_SAVE_AT_SP_MASK)
76403 /*! @} */
76404 
76405 /*! @name BPC_SSAR_RESTORE_CTRL - BPC SSAR restore control */
76406 /*! @{ */
76407 
76408 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_RUN_MASK (0x1U)
76409 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_RUN_SHIFT (0U)
76410 /*! RESTORE_AT_RUN - Restore data at RUN mode
76411  */
76412 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_RUN(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_RUN_SHIFT)) & PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_RUN_MASK)
76413 
76414 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_SP_MASK (0xFFFF0000U)
76415 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_SP_SHIFT (16U)
76416 /*! RESTORE_AT_SP - Restore data when system enters a Setpoint.
76417  */
76418 #define PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_SP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_SP_SHIFT)) & PGMC_BPC_BPC_SSAR_RESTORE_CTRL_RESTORE_AT_SP_MASK)
76419 /*! @} */
76420 
76421 
76422 /*!
76423  * @}
76424  */ /* end of group PGMC_BPC_Register_Masks */
76425 
76426 
76427 /* PGMC_BPC - Peripheral instance base addresses */
76428 /** Peripheral PGMC_BPC0 base address */
76429 #define PGMC_BPC0_BASE                           (0x40C88000u)
76430 /** Peripheral PGMC_BPC0 base pointer */
76431 #define PGMC_BPC0                                ((PGMC_BPC_Type *)PGMC_BPC0_BASE)
76432 /** Peripheral PGMC_BPC1 base address */
76433 #define PGMC_BPC1_BASE                           (0x40C88200u)
76434 /** Peripheral PGMC_BPC1 base pointer */
76435 #define PGMC_BPC1                                ((PGMC_BPC_Type *)PGMC_BPC1_BASE)
76436 /** Peripheral PGMC_BPC2 base address */
76437 #define PGMC_BPC2_BASE                           (0x40C88400u)
76438 /** Peripheral PGMC_BPC2 base pointer */
76439 #define PGMC_BPC2                                ((PGMC_BPC_Type *)PGMC_BPC2_BASE)
76440 /** Peripheral PGMC_BPC3 base address */
76441 #define PGMC_BPC3_BASE                           (0x40C88600u)
76442 /** Peripheral PGMC_BPC3 base pointer */
76443 #define PGMC_BPC3                                ((PGMC_BPC_Type *)PGMC_BPC3_BASE)
76444 /** Peripheral PGMC_BPC4 base address */
76445 #define PGMC_BPC4_BASE                           (0x40C88800u)
76446 /** Peripheral PGMC_BPC4 base pointer */
76447 #define PGMC_BPC4                                ((PGMC_BPC_Type *)PGMC_BPC4_BASE)
76448 /** Peripheral PGMC_BPC5 base address */
76449 #define PGMC_BPC5_BASE                           (0x40C88A00u)
76450 /** Peripheral PGMC_BPC5 base pointer */
76451 #define PGMC_BPC5                                ((PGMC_BPC_Type *)PGMC_BPC5_BASE)
76452 /** Peripheral PGMC_BPC6 base address */
76453 #define PGMC_BPC6_BASE                           (0x40C88C00u)
76454 /** Peripheral PGMC_BPC6 base pointer */
76455 #define PGMC_BPC6                                ((PGMC_BPC_Type *)PGMC_BPC6_BASE)
76456 /** Peripheral PGMC_BPC7 base address */
76457 #define PGMC_BPC7_BASE                           (0x40C88E00u)
76458 /** Peripheral PGMC_BPC7 base pointer */
76459 #define PGMC_BPC7                                ((PGMC_BPC_Type *)PGMC_BPC7_BASE)
76460 /** Array initializer of PGMC_BPC peripheral base addresses */
76461 #define PGMC_BPC_BASE_ADDRS                      { PGMC_BPC0_BASE, PGMC_BPC1_BASE, PGMC_BPC2_BASE, PGMC_BPC3_BASE, PGMC_BPC4_BASE, PGMC_BPC5_BASE, PGMC_BPC6_BASE, PGMC_BPC7_BASE }
76462 /** Array initializer of PGMC_BPC peripheral base pointers */
76463 #define PGMC_BPC_BASE_PTRS                       { PGMC_BPC0, PGMC_BPC1, PGMC_BPC2, PGMC_BPC3, PGMC_BPC4, PGMC_BPC5, PGMC_BPC6, PGMC_BPC7 }
76464 
76465 /*!
76466  * @}
76467  */ /* end of group PGMC_BPC_Peripheral_Access_Layer */
76468 
76469 
76470 /* ----------------------------------------------------------------------------
76471    -- PGMC_CPC Peripheral Access Layer
76472    ---------------------------------------------------------------------------- */
76473 
76474 /*!
76475  * @addtogroup PGMC_CPC_Peripheral_Access_Layer PGMC_CPC Peripheral Access Layer
76476  * @{
76477  */
76478 
76479 /** PGMC_CPC - Register Layout Typedef */
76480 typedef struct {
76481        uint8_t RESERVED_0[4];
76482   __IO uint32_t CPC_AUTHEN_CTRL;                   /**< CPC Authentication Control, offset: 0x4 */
76483        uint8_t RESERVED_1[8];
76484   __IO uint32_t CPC_CORE_MODE;                     /**< CPC Core Mode, offset: 0x10 */
76485   __IO uint32_t CPC_CORE_POWER_CTRL;               /**< CPC core power control, offset: 0x14 */
76486        uint8_t RESERVED_2[20];
76487   __IO uint32_t CPC_FLAG;                          /**< CPC flag, offset: 0x2C */
76488        uint8_t RESERVED_3[16];
76489   __IO uint32_t CPC_CACHE_MODE;                    /**< CPC Cache Mode, offset: 0x40 */
76490   __IO uint32_t CPC_CACHE_CM_CTRL;                 /**< CPC cache CPU mode control, offset: 0x44 */
76491   __IO uint32_t CPC_CACHE_SP_CTRL_0;               /**< CPC cache Setpoint control 0, offset: 0x48 */
76492   __IO uint32_t CPC_CACHE_SP_CTRL_1;               /**< CPC cache Setpoint control 1, offset: 0x4C */
76493        uint8_t RESERVED_4[112];
76494   __IO uint32_t CPC_LMEM_MODE;                     /**< CPC local memory Mode, offset: 0xC0 */
76495   __IO uint32_t CPC_LMEM_CM_CTRL;                  /**< CPC local memory CPU mode control, offset: 0xC4 */
76496   __IO uint32_t CPC_LMEM_SP_CTRL_0;                /**< CPC local memory Setpoint control 0, offset: 0xC8 */
76497   __IO uint32_t CPC_LMEM_SP_CTRL_1;                /**< CPC local memory Setpoint control 1, offset: 0xCC */
76498 } PGMC_CPC_Type;
76499 
76500 /* ----------------------------------------------------------------------------
76501    -- PGMC_CPC Register Masks
76502    ---------------------------------------------------------------------------- */
76503 
76504 /*!
76505  * @addtogroup PGMC_CPC_Register_Masks PGMC_CPC Register Masks
76506  * @{
76507  */
76508 
76509 /*! @name CPC_AUTHEN_CTRL - CPC Authentication Control */
76510 /*! @{ */
76511 
76512 #define PGMC_CPC_CPC_AUTHEN_CTRL_USER_MASK       (0x1U)
76513 #define PGMC_CPC_CPC_AUTHEN_CTRL_USER_SHIFT      (0U)
76514 /*! USER - Allow user mode access
76515  */
76516 #define PGMC_CPC_CPC_AUTHEN_CTRL_USER(x)         (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_USER_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_USER_MASK)
76517 
76518 #define PGMC_CPC_CPC_AUTHEN_CTRL_NONSECURE_MASK  (0x2U)
76519 #define PGMC_CPC_CPC_AUTHEN_CTRL_NONSECURE_SHIFT (1U)
76520 /*! NONSECURE - Allow non-secure mode access
76521  */
76522 #define PGMC_CPC_CPC_AUTHEN_CTRL_NONSECURE(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_NONSECURE_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_NONSECURE_MASK)
76523 
76524 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_SETTING_MASK (0x10U)
76525 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT (4U)
76526 /*! LOCK_SETTING - Lock NONSECURE and USER
76527  */
76528 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_SETTING(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_SETTING_MASK)
76529 
76530 #define PGMC_CPC_CPC_AUTHEN_CTRL_WHITE_LIST_MASK (0xF00U)
76531 #define PGMC_CPC_CPC_AUTHEN_CTRL_WHITE_LIST_SHIFT (8U)
76532 /*! WHITE_LIST - Domain ID white list
76533  */
76534 #define PGMC_CPC_CPC_AUTHEN_CTRL_WHITE_LIST(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_WHITE_LIST_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_WHITE_LIST_MASK)
76535 
76536 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_LIST_MASK  (0x1000U)
76537 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_LIST_SHIFT (12U)
76538 /*! LOCK_LIST - White list lock
76539  */
76540 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_LIST(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_LIST_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_LIST_MASK)
76541 
76542 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_CFG_MASK   (0x100000U)
76543 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_CFG_SHIFT  (20U)
76544 /*! LOCK_CFG - Configuration lock
76545  */
76546 #define PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_CFG(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & PGMC_CPC_CPC_AUTHEN_CTRL_LOCK_CFG_MASK)
76547 /*! @} */
76548 
76549 /*! @name CPC_CORE_MODE - CPC Core Mode */
76550 /*! @{ */
76551 
76552 #define PGMC_CPC_CPC_CORE_MODE_CTRL_MODE_MASK    (0x3U)
76553 #define PGMC_CPC_CPC_CORE_MODE_CTRL_MODE_SHIFT   (0U)
76554 /*! CTRL_MODE - Control mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76555  *  0b00..Not affected by any low power mode
76556  *  0b01..Controlled by CPU power mode of the domain
76557  *  0b10..Reserved
76558  *  0b11..Reserved
76559  */
76560 #define PGMC_CPC_CPC_CORE_MODE_CTRL_MODE(x)      (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_MODE_CTRL_MODE_SHIFT)) & PGMC_CPC_CPC_CORE_MODE_CTRL_MODE_MASK)
76561 /*! @} */
76562 
76563 /*! @name CPC_CORE_POWER_CTRL - CPC core power control */
76564 /*! @{ */
76565 
76566 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_WAIT_MASK (0x2U)
76567 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_WAIT_SHIFT (1U)
76568 /*! PWR_OFF_AT_WAIT - Power off when domain enters WAIT mode
76569  */
76570 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_WAIT_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_WAIT_MASK)
76571 
76572 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_STOP_MASK (0x4U)
76573 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_STOP_SHIFT (2U)
76574 /*! PWR_OFF_AT_STOP - Power off when domain enters STOP mode
76575  */
76576 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_STOP_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_STOP_MASK)
76577 
76578 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_SUSPEND_MASK (0x8U)
76579 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_SUSPEND_SHIFT (3U)
76580 /*! PWR_OFF_AT_SUSPEND - Power off when domain enters SUSPEND mode
76581  */
76582 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_SUSPEND_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_PWR_OFF_AT_SUSPEND_MASK)
76583 
76584 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_ON_SOFT_MASK (0x100U)
76585 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_ON_SOFT_SHIFT (8U)
76586 /*! ISO_ON_SOFT - Software isolation on trigger
76587  */
76588 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_ON_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_ON_SOFT_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_ON_SOFT_MASK)
76589 
76590 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_OFF_SOFT_MASK (0x200U)
76591 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_OFF_SOFT_SHIFT (9U)
76592 /*! PSW_OFF_SOFT - Software power off trigger
76593  */
76594 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_OFF_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_OFF_SOFT_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_OFF_SOFT_MASK)
76595 
76596 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_ON_SOFT_MASK (0x400U)
76597 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_ON_SOFT_SHIFT (10U)
76598 /*! PSW_ON_SOFT - Software power on trigger
76599  */
76600 #define PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_ON_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_ON_SOFT_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_PSW_ON_SOFT_MASK)
76601 
76602 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_OFF_SOFT_MASK (0x800U)
76603 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_OFF_SOFT_SHIFT (11U)
76604 /*! ISO_OFF_SOFT - Software isolation off trigger
76605  */
76606 #define PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_OFF_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_OFF_SOFT_SHIFT)) & PGMC_CPC_CPC_CORE_POWER_CTRL_ISO_OFF_SOFT_MASK)
76607 /*! @} */
76608 
76609 /*! @name CPC_FLAG - CPC flag */
76610 /*! @{ */
76611 
76612 #define PGMC_CPC_CPC_FLAG_CORE_PDN_FLAG_MASK     (0x1U)
76613 #define PGMC_CPC_CPC_FLAG_CORE_PDN_FLAG_SHIFT    (0U)
76614 /*! CORE_PDN_FLAG - set to 1 after core power switch off, cleared by writing 1
76615  */
76616 #define PGMC_CPC_CPC_FLAG_CORE_PDN_FLAG(x)       (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_FLAG_CORE_PDN_FLAG_SHIFT)) & PGMC_CPC_CPC_FLAG_CORE_PDN_FLAG_MASK)
76617 /*! @} */
76618 
76619 /*! @name CPC_CACHE_MODE - CPC Cache Mode */
76620 /*! @{ */
76621 
76622 #define PGMC_CPC_CPC_CACHE_MODE_CTRL_MODE_MASK   (0x3U)
76623 #define PGMC_CPC_CPC_CACHE_MODE_CTRL_MODE_SHIFT  (0U)
76624 /*! CTRL_MODE - Control mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76625  *  0b00..Not affected by any low power mode
76626  *  0b01..Controlled by CPU power mode of the domain
76627  *  0b10..Controlled by Setpoint
76628  *  0b11..Reserved
76629  */
76630 #define PGMC_CPC_CPC_CACHE_MODE_CTRL_MODE(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_MODE_CTRL_MODE_SHIFT)) & PGMC_CPC_CPC_CACHE_MODE_CTRL_MODE_MASK)
76631 /*! @} */
76632 
76633 /*! @name CPC_CACHE_CM_CTRL - CPC cache CPU mode control */
76634 /*! @{ */
76635 
76636 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_RUN_MASK (0xFU)
76637 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_RUN_SHIFT (0U)
76638 /*! MLPL_AT_RUN - Memory Low Power Level (MLPL) at RUN mode
76639  */
76640 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_RUN(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_RUN_SHIFT)) & PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_RUN_MASK)
76641 
76642 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_WAIT_MASK (0xF0U)
76643 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_WAIT_SHIFT (4U)
76644 /*! MLPL_AT_WAIT - Memory Low Power Level (MLPL) at WAIT mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76645  */
76646 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_WAIT_SHIFT)) & PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_WAIT_MASK)
76647 
76648 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_STOP_MASK (0xF00U)
76649 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_STOP_SHIFT (8U)
76650 /*! MLPL_AT_STOP - Memory Low Power Level (MLPL) at STOP mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76651  */
76652 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_STOP_SHIFT)) & PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_STOP_MASK)
76653 
76654 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_SUSPEND_MASK (0xF000U)
76655 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_SUSPEND_SHIFT (12U)
76656 /*! MLPL_AT_SUSPEND - Memory Low Power Level (MLPL) at SUSPEND mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76657  */
76658 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_SUSPEND_SHIFT)) & PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_AT_SUSPEND_MASK)
76659 
76660 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_SOFT_MASK (0x10000U)
76661 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_SOFT_SHIFT (16U)
76662 /*! MLPL_SOFT - Memory Low Power Level (MLPL) software change request, keep 1 until MLPL transition complete
76663  */
76664 #define PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_SOFT(x)  (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_SOFT_SHIFT)) & PGMC_CPC_CPC_CACHE_CM_CTRL_MLPL_SOFT_MASK)
76665 /*! @} */
76666 
76667 /*! @name CPC_CACHE_SP_CTRL_0 - CPC cache Setpoint control 0 */
76668 /*! @{ */
76669 
76670 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP0_MASK (0xFU)
76671 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP0_SHIFT (0U)
76672 /*! MLPL_AT_SP0 - Memory Low Power Level (MLPL) at Setpoint 0. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76673  */
76674 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP0(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP0_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP0_MASK)
76675 
76676 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP1_MASK (0xF0U)
76677 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP1_SHIFT (4U)
76678 /*! MLPL_AT_SP1 - Memory Low Power Level (MLPL) at Setpoint 1. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76679  */
76680 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP1(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP1_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP1_MASK)
76681 
76682 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP2_MASK (0xF00U)
76683 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP2_SHIFT (8U)
76684 /*! MLPL_AT_SP2 - Memory Low Power Level (MLPL) at Setpoint 2. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76685  */
76686 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP2(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP2_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP2_MASK)
76687 
76688 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP3_MASK (0xF000U)
76689 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP3_SHIFT (12U)
76690 /*! MLPL_AT_SP3 - Memory Low Power Level (MLPL) at Setpoint 3. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76691  */
76692 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP3(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP3_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP3_MASK)
76693 
76694 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP4_MASK (0xF0000U)
76695 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP4_SHIFT (16U)
76696 /*! MLPL_AT_SP4 - Memory Low Power Level (MLPL) at Setpoint 4. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76697  */
76698 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP4(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP4_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP4_MASK)
76699 
76700 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP5_MASK (0xF00000U)
76701 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP5_SHIFT (20U)
76702 /*! MLPL_AT_SP5 - Memory Low Power Level (MLPL) at Setpoint 5. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76703  */
76704 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP5(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP5_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP5_MASK)
76705 
76706 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP6_MASK (0xF000000U)
76707 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP6_SHIFT (24U)
76708 /*! MLPL_AT_SP6 - Memory Low Power Level (MLPL) at Setpoint 6. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76709  */
76710 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP6(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP6_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP6_MASK)
76711 
76712 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP7_MASK (0xF0000000U)
76713 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP7_SHIFT (28U)
76714 /*! MLPL_AT_SP7 - Memory Low Power Level (MLPL) at Setpoint 7. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76715  */
76716 #define PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP7(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP7_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_0_MLPL_AT_SP7_MASK)
76717 /*! @} */
76718 
76719 /*! @name CPC_CACHE_SP_CTRL_1 - CPC cache Setpoint control 1 */
76720 /*! @{ */
76721 
76722 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP8_MASK (0xFU)
76723 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP8_SHIFT (0U)
76724 /*! MLPL_AT_SP8 - Memory Low Power Level (MLPL) at Setpoint 8. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76725  */
76726 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP8(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP8_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP8_MASK)
76727 
76728 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP9_MASK (0xF0U)
76729 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP9_SHIFT (4U)
76730 /*! MLPL_AT_SP9 - Memory Low Power Level (MLPL) at Setpoint 9. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76731  */
76732 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP9(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP9_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP9_MASK)
76733 
76734 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP10_MASK (0xF00U)
76735 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP10_SHIFT (8U)
76736 /*! MLPL_AT_SP10 - Memory Low Power Level (MLPL) at Setpoint 10. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76737  */
76738 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP10(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP10_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP10_MASK)
76739 
76740 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP11_MASK (0xF000U)
76741 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP11_SHIFT (12U)
76742 /*! MLPL_AT_SP11 - Memory Low Power Level (MLPL) at Setpoint 11. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76743  */
76744 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP11(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP11_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP11_MASK)
76745 
76746 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP12_MASK (0xF0000U)
76747 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP12_SHIFT (16U)
76748 /*! MLPL_AT_SP12 - Memory Low Power Level (MLPL) at Setpoint 12. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76749  */
76750 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP12(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP12_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP12_MASK)
76751 
76752 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP13_MASK (0xF00000U)
76753 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP13_SHIFT (20U)
76754 /*! MLPL_AT_SP13 - Memory Low Power Level (MLPL) at Setpoint 13. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76755  */
76756 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP13(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP13_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP13_MASK)
76757 
76758 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP14_MASK (0xF000000U)
76759 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP14_SHIFT (24U)
76760 /*! MLPL_AT_SP14 - Memory Low Power Level (MLPL) at Setpoint 14. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76761  */
76762 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP14(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP14_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP14_MASK)
76763 
76764 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP15_MASK (0xF0000000U)
76765 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP15_SHIFT (28U)
76766 /*! MLPL_AT_SP15 - Memory Low Power Level (MLPL) at Setpoint 15. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76767  */
76768 #define PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP15(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP15_SHIFT)) & PGMC_CPC_CPC_CACHE_SP_CTRL_1_MLPL_AT_SP15_MASK)
76769 /*! @} */
76770 
76771 /*! @name CPC_LMEM_MODE - CPC local memory Mode */
76772 /*! @{ */
76773 
76774 #define PGMC_CPC_CPC_LMEM_MODE_CTRL_MODE_MASK    (0x3U)
76775 #define PGMC_CPC_CPC_LMEM_MODE_CTRL_MODE_SHIFT   (0U)
76776 /*! CTRL_MODE - Control mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76777  *  0b00..Not affected by any low power mode
76778  *  0b01..Controlled by CPU power mode of the domain
76779  *  0b10..Controlled by Setpoint
76780  *  0b11..Reserved
76781  */
76782 #define PGMC_CPC_CPC_LMEM_MODE_CTRL_MODE(x)      (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_MODE_CTRL_MODE_SHIFT)) & PGMC_CPC_CPC_LMEM_MODE_CTRL_MODE_MASK)
76783 /*! @} */
76784 
76785 /*! @name CPC_LMEM_CM_CTRL - CPC local memory CPU mode control */
76786 /*! @{ */
76787 
76788 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_RUN_MASK (0xFU)
76789 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_RUN_SHIFT (0U)
76790 /*! MLPL_AT_RUN - Memory Low Power Level (MLPL) at RUN mode
76791  */
76792 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_RUN(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_RUN_SHIFT)) & PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_RUN_MASK)
76793 
76794 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_WAIT_MASK (0xF0U)
76795 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_WAIT_SHIFT (4U)
76796 /*! MLPL_AT_WAIT - Memory Low Power Level (MLPL) at WAIT mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76797  */
76798 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_WAIT_SHIFT)) & PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_WAIT_MASK)
76799 
76800 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_STOP_MASK (0xF00U)
76801 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_STOP_SHIFT (8U)
76802 /*! MLPL_AT_STOP - Memory Low Power Level (MLPL) at STOP mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76803  */
76804 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_STOP_SHIFT)) & PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_STOP_MASK)
76805 
76806 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_SUSPEND_MASK (0xF000U)
76807 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_SUSPEND_SHIFT (12U)
76808 /*! MLPL_AT_SUSPEND - Memory Low Power Level (MLPL) at SUSPEND mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76809  */
76810 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_SUSPEND_SHIFT)) & PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_AT_SUSPEND_MASK)
76811 
76812 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_SOFT_MASK (0x10000U)
76813 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_SOFT_SHIFT (16U)
76814 /*! MLPL_SOFT - Memory Low Power Level (MLPL) software change request, keep 1 until MLPL transition complete
76815  */
76816 #define PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_SOFT(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_SOFT_SHIFT)) & PGMC_CPC_CPC_LMEM_CM_CTRL_MLPL_SOFT_MASK)
76817 /*! @} */
76818 
76819 /*! @name CPC_LMEM_SP_CTRL_0 - CPC local memory Setpoint control 0 */
76820 /*! @{ */
76821 
76822 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP0_MASK (0xFU)
76823 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP0_SHIFT (0U)
76824 /*! MLPL_AT_SP0 - Memory Low Power Level (MLPL) at Setpoint 0. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76825  */
76826 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP0(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP0_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP0_MASK)
76827 
76828 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP1_MASK (0xF0U)
76829 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP1_SHIFT (4U)
76830 /*! MLPL_AT_SP1 - Memory Low Power Level (MLPL) at Setpoint 1. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76831  */
76832 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP1(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP1_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP1_MASK)
76833 
76834 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP2_MASK (0xF00U)
76835 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP2_SHIFT (8U)
76836 /*! MLPL_AT_SP2 - Memory Low Power Level (MLPL) at Setpoint 2. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76837  */
76838 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP2(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP2_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP2_MASK)
76839 
76840 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP3_MASK (0xF000U)
76841 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP3_SHIFT (12U)
76842 /*! MLPL_AT_SP3 - Memory Low Power Level (MLPL) at Setpoint 3. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76843  */
76844 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP3(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP3_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP3_MASK)
76845 
76846 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP4_MASK (0xF0000U)
76847 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP4_SHIFT (16U)
76848 /*! MLPL_AT_SP4 - Memory Low Power Level (MLPL) at Setpoint 4. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76849  */
76850 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP4(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP4_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP4_MASK)
76851 
76852 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP5_MASK (0xF00000U)
76853 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP5_SHIFT (20U)
76854 /*! MLPL_AT_SP5 - Memory Low Power Level (MLPL) at Setpoint 5. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76855  */
76856 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP5(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP5_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP5_MASK)
76857 
76858 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP6_MASK (0xF000000U)
76859 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP6_SHIFT (24U)
76860 /*! MLPL_AT_SP6 - Memory Low Power Level (MLPL) at Setpoint 6. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76861  */
76862 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP6(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP6_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP6_MASK)
76863 
76864 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP7_MASK (0xF0000000U)
76865 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP7_SHIFT (28U)
76866 /*! MLPL_AT_SP7 - Memory Low Power Level (MLPL) at Setpoint 7. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76867  */
76868 #define PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP7(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP7_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_0_MLPL_AT_SP7_MASK)
76869 /*! @} */
76870 
76871 /*! @name CPC_LMEM_SP_CTRL_1 - CPC local memory Setpoint control 1 */
76872 /*! @{ */
76873 
76874 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP8_MASK (0xFU)
76875 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP8_SHIFT (0U)
76876 /*! MLPL_AT_SP8 - Memory Low Power Level (MLPL) at Setpoint 8. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76877  */
76878 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP8(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP8_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP8_MASK)
76879 
76880 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP9_MASK (0xF0U)
76881 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP9_SHIFT (4U)
76882 /*! MLPL_AT_SP9 - Memory Low Power Level (MLPL) at Setpoint 9. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76883  */
76884 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP9(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP9_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP9_MASK)
76885 
76886 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP10_MASK (0xF00U)
76887 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP10_SHIFT (8U)
76888 /*! MLPL_AT_SP10 - Memory Low Power Level (MLPL) at Setpoint 10. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76889  */
76890 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP10(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP10_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP10_MASK)
76891 
76892 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP11_MASK (0xF000U)
76893 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP11_SHIFT (12U)
76894 /*! MLPL_AT_SP11 - Memory Low Power Level (MLPL) at Setpoint 11. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76895  */
76896 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP11(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP11_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP11_MASK)
76897 
76898 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP12_MASK (0xF0000U)
76899 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP12_SHIFT (16U)
76900 /*! MLPL_AT_SP12 - Memory Low Power Level (MLPL) at Setpoint 12. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76901  */
76902 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP12(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP12_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP12_MASK)
76903 
76904 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP13_MASK (0xF00000U)
76905 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP13_SHIFT (20U)
76906 /*! MLPL_AT_SP13 - Memory Low Power Level (MLPL) at Setpoint 13. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76907  */
76908 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP13(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP13_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP13_MASK)
76909 
76910 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP14_MASK (0xF000000U)
76911 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP14_SHIFT (24U)
76912 /*! MLPL_AT_SP14 - Memory Low Power Level (MLPL) at Setpoint 14. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76913  */
76914 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP14(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP14_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP14_MASK)
76915 
76916 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP15_MASK (0xF0000000U)
76917 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP15_SHIFT (28U)
76918 /*! MLPL_AT_SP15 - Memory Low Power Level (MLPL) at Setpoint 15. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
76919  */
76920 #define PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP15(x) (((uint32_t)(((uint32_t)(x)) << PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP15_SHIFT)) & PGMC_CPC_CPC_LMEM_SP_CTRL_1_MLPL_AT_SP15_MASK)
76921 /*! @} */
76922 
76923 
76924 /*!
76925  * @}
76926  */ /* end of group PGMC_CPC_Register_Masks */
76927 
76928 
76929 /* PGMC_CPC - Peripheral instance base addresses */
76930 /** Peripheral PGMC_CPC0 base address */
76931 #define PGMC_CPC0_BASE                           (0x40C89000u)
76932 /** Peripheral PGMC_CPC0 base pointer */
76933 #define PGMC_CPC0                                ((PGMC_CPC_Type *)PGMC_CPC0_BASE)
76934 /** Peripheral PGMC_CPC1 base address */
76935 #define PGMC_CPC1_BASE                           (0x40C89400u)
76936 /** Peripheral PGMC_CPC1 base pointer */
76937 #define PGMC_CPC1                                ((PGMC_CPC_Type *)PGMC_CPC1_BASE)
76938 /** Array initializer of PGMC_CPC peripheral base addresses */
76939 #define PGMC_CPC_BASE_ADDRS                      { PGMC_CPC0_BASE, PGMC_CPC1_BASE }
76940 /** Array initializer of PGMC_CPC peripheral base pointers */
76941 #define PGMC_CPC_BASE_PTRS                       { PGMC_CPC0, PGMC_CPC1 }
76942 
76943 /*!
76944  * @}
76945  */ /* end of group PGMC_CPC_Peripheral_Access_Layer */
76946 
76947 
76948 /* ----------------------------------------------------------------------------
76949    -- PGMC_MIF Peripheral Access Layer
76950    ---------------------------------------------------------------------------- */
76951 
76952 /*!
76953  * @addtogroup PGMC_MIF_Peripheral_Access_Layer PGMC_MIF Peripheral Access Layer
76954  * @{
76955  */
76956 
76957 /** PGMC_MIF - Register Layout Typedef */
76958 typedef struct {
76959        uint8_t RESERVED_0[4];
76960   __IO uint32_t MIF_AUTHEN_CTRL;                   /**< MIF Authentication Control, offset: 0x4 */
76961        uint8_t RESERVED_1[8];
76962   __IO uint32_t MIF_MLPL_SLEEP;                    /**< MIF MLPL control of SLEEP, offset: 0x10 */
76963        uint8_t RESERVED_2[12];
76964   __IO uint32_t MIF_MLPL_IG;                       /**< MIF MLPL control of IG, offset: 0x20 */
76965        uint8_t RESERVED_3[12];
76966   __IO uint32_t MIF_MLPL_LS;                       /**< MIF MLPL control of LS, offset: 0x30 */
76967        uint8_t RESERVED_4[12];
76968   __IO uint32_t MIF_MLPL_HS;                       /**< MIF MLPL control of HS, offset: 0x40 */
76969        uint8_t RESERVED_5[12];
76970   __IO uint32_t MIF_MLPL_STDBY;                    /**< MIF MLPL control of STDBY, offset: 0x50 */
76971        uint8_t RESERVED_6[12];
76972   __IO uint32_t MIF_MLPL_ARR_PDN;                  /**< MIF MLPL control of array power down, offset: 0x60 */
76973        uint8_t RESERVED_7[12];
76974   __IO uint32_t MIF_MLPL_PER_PDN;                  /**< MIF MLPL control of peripheral power down, offset: 0x70 */
76975        uint8_t RESERVED_8[12];
76976   __IO uint32_t MIF_MLPL_INITN;                    /**< MIF MLPL control of INITN, offset: 0x80 */
76977        uint8_t RESERVED_9[44];
76978   __IO uint32_t MIF_MLPL_ISO;                      /**< MIF MLPL control of isolation enable, offset: 0xB0 */
76979 } PGMC_MIF_Type;
76980 
76981 /* ----------------------------------------------------------------------------
76982    -- PGMC_MIF Register Masks
76983    ---------------------------------------------------------------------------- */
76984 
76985 /*!
76986  * @addtogroup PGMC_MIF_Register_Masks PGMC_MIF Register Masks
76987  * @{
76988  */
76989 
76990 /*! @name MIF_AUTHEN_CTRL - MIF Authentication Control */
76991 /*! @{ */
76992 
76993 #define PGMC_MIF_MIF_AUTHEN_CTRL_LOCK_CFG_MASK   (0x100000U)
76994 #define PGMC_MIF_MIF_AUTHEN_CTRL_LOCK_CFG_SHIFT  (20U)
76995 /*! LOCK_CFG - Configuration lock
76996  */
76997 #define PGMC_MIF_MIF_AUTHEN_CTRL_LOCK_CFG(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & PGMC_MIF_MIF_AUTHEN_CTRL_LOCK_CFG_MASK)
76998 /*! @} */
76999 
77000 /*! @name MIF_MLPL_SLEEP - MIF MLPL control of SLEEP */
77001 /*! @{ */
77002 
77003 #define PGMC_MIF_MIF_MLPL_SLEEP_MLPL_CTRL_MASK   (0xFFFFU)
77004 #define PGMC_MIF_MIF_MLPL_SLEEP_MLPL_CTRL_SHIFT  (0U)
77005 /*! MLPL_CTRL - Signal behavior at each MLPL
77006  */
77007 #define PGMC_MIF_MIF_MLPL_SLEEP_MLPL_CTRL(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_SLEEP_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_SLEEP_MLPL_CTRL_MASK)
77008 /*! @} */
77009 
77010 /*! @name MIF_MLPL_IG - MIF MLPL control of IG */
77011 /*! @{ */
77012 
77013 #define PGMC_MIF_MIF_MLPL_IG_MLPL_CTRL_MASK      (0xFFFFU)
77014 #define PGMC_MIF_MIF_MLPL_IG_MLPL_CTRL_SHIFT     (0U)
77015 /*! MLPL_CTRL - Signal behavior at each MLPL
77016  */
77017 #define PGMC_MIF_MIF_MLPL_IG_MLPL_CTRL(x)        (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_IG_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_IG_MLPL_CTRL_MASK)
77018 /*! @} */
77019 
77020 /*! @name MIF_MLPL_LS - MIF MLPL control of LS */
77021 /*! @{ */
77022 
77023 #define PGMC_MIF_MIF_MLPL_LS_MLPL_CTRL_MASK      (0xFFFFU)
77024 #define PGMC_MIF_MIF_MLPL_LS_MLPL_CTRL_SHIFT     (0U)
77025 /*! MLPL_CTRL - Signal behavior at each MLPL
77026  */
77027 #define PGMC_MIF_MIF_MLPL_LS_MLPL_CTRL(x)        (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_LS_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_LS_MLPL_CTRL_MASK)
77028 /*! @} */
77029 
77030 /*! @name MIF_MLPL_HS - MIF MLPL control of HS */
77031 /*! @{ */
77032 
77033 #define PGMC_MIF_MIF_MLPL_HS_MLPL_CTRL_MASK      (0xFFFFU)
77034 #define PGMC_MIF_MIF_MLPL_HS_MLPL_CTRL_SHIFT     (0U)
77035 /*! MLPL_CTRL - Signal behavior at each MLPL
77036  */
77037 #define PGMC_MIF_MIF_MLPL_HS_MLPL_CTRL(x)        (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_HS_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_HS_MLPL_CTRL_MASK)
77038 /*! @} */
77039 
77040 /*! @name MIF_MLPL_STDBY - MIF MLPL control of STDBY */
77041 /*! @{ */
77042 
77043 #define PGMC_MIF_MIF_MLPL_STDBY_MLPL_CTRL_MASK   (0xFFFFU)
77044 #define PGMC_MIF_MIF_MLPL_STDBY_MLPL_CTRL_SHIFT  (0U)
77045 /*! MLPL_CTRL - Signal behavior at each MLPL
77046  */
77047 #define PGMC_MIF_MIF_MLPL_STDBY_MLPL_CTRL(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_STDBY_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_STDBY_MLPL_CTRL_MASK)
77048 /*! @} */
77049 
77050 /*! @name MIF_MLPL_ARR_PDN - MIF MLPL control of array power down */
77051 /*! @{ */
77052 
77053 #define PGMC_MIF_MIF_MLPL_ARR_PDN_MLPL_CTRL_MASK (0xFFFFU)
77054 #define PGMC_MIF_MIF_MLPL_ARR_PDN_MLPL_CTRL_SHIFT (0U)
77055 /*! MLPL_CTRL - Signal behavior at each MLPL
77056  */
77057 #define PGMC_MIF_MIF_MLPL_ARR_PDN_MLPL_CTRL(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_ARR_PDN_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_ARR_PDN_MLPL_CTRL_MASK)
77058 /*! @} */
77059 
77060 /*! @name MIF_MLPL_PER_PDN - MIF MLPL control of peripheral power down */
77061 /*! @{ */
77062 
77063 #define PGMC_MIF_MIF_MLPL_PER_PDN_MLPL_CTRL_MASK (0xFFFFU)
77064 #define PGMC_MIF_MIF_MLPL_PER_PDN_MLPL_CTRL_SHIFT (0U)
77065 /*! MLPL_CTRL - Signal behavior at each MLPL
77066  */
77067 #define PGMC_MIF_MIF_MLPL_PER_PDN_MLPL_CTRL(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_PER_PDN_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_PER_PDN_MLPL_CTRL_MASK)
77068 /*! @} */
77069 
77070 /*! @name MIF_MLPL_INITN - MIF MLPL control of INITN */
77071 /*! @{ */
77072 
77073 #define PGMC_MIF_MIF_MLPL_INITN_MLPL_CTRL_MASK   (0xFFFFU)
77074 #define PGMC_MIF_MIF_MLPL_INITN_MLPL_CTRL_SHIFT  (0U)
77075 /*! MLPL_CTRL - Signal behavior at each MLPL
77076  */
77077 #define PGMC_MIF_MIF_MLPL_INITN_MLPL_CTRL(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_INITN_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_INITN_MLPL_CTRL_MASK)
77078 
77079 #define PGMC_MIF_MIF_MLPL_INITN_BYPASS_VDD_OK_MASK (0x80000000U)
77080 #define PGMC_MIF_MIF_MLPL_INITN_BYPASS_VDD_OK_SHIFT (31U)
77081 /*! BYPASS_VDD_OK - Bypass vdd_ok. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77082  */
77083 #define PGMC_MIF_MIF_MLPL_INITN_BYPASS_VDD_OK(x) (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_INITN_BYPASS_VDD_OK_SHIFT)) & PGMC_MIF_MIF_MLPL_INITN_BYPASS_VDD_OK_MASK)
77084 /*! @} */
77085 
77086 /*! @name MIF_MLPL_ISO - MIF MLPL control of isolation enable */
77087 /*! @{ */
77088 
77089 #define PGMC_MIF_MIF_MLPL_ISO_MLPL_CTRL_MASK     (0xFFFFU)
77090 #define PGMC_MIF_MIF_MLPL_ISO_MLPL_CTRL_SHIFT    (0U)
77091 /*! MLPL_CTRL - Signal behavior at each MLPL
77092  */
77093 #define PGMC_MIF_MIF_MLPL_ISO_MLPL_CTRL(x)       (((uint32_t)(((uint32_t)(x)) << PGMC_MIF_MIF_MLPL_ISO_MLPL_CTRL_SHIFT)) & PGMC_MIF_MIF_MLPL_ISO_MLPL_CTRL_MASK)
77094 /*! @} */
77095 
77096 
77097 /*!
77098  * @}
77099  */ /* end of group PGMC_MIF_Register_Masks */
77100 
77101 
77102 /* PGMC_MIF - Peripheral instance base addresses */
77103 /** Peripheral PGMC_CPC0_MIF0 base address */
77104 #define PGMC_CPC0_MIF0_BASE                      (0x40C89100u)
77105 /** Peripheral PGMC_CPC0_MIF0 base pointer */
77106 #define PGMC_CPC0_MIF0                           ((PGMC_MIF_Type *)PGMC_CPC0_MIF0_BASE)
77107 /** Peripheral PGMC_CPC0_MIF1 base address */
77108 #define PGMC_CPC0_MIF1_BASE                      (0x40C89200u)
77109 /** Peripheral PGMC_CPC0_MIF1 base pointer */
77110 #define PGMC_CPC0_MIF1                           ((PGMC_MIF_Type *)PGMC_CPC0_MIF1_BASE)
77111 /** Peripheral PGMC_CPC1_MIF0 base address */
77112 #define PGMC_CPC1_MIF0_BASE                      (0x40C89500u)
77113 /** Peripheral PGMC_CPC1_MIF0 base pointer */
77114 #define PGMC_CPC1_MIF0                           ((PGMC_MIF_Type *)PGMC_CPC1_MIF0_BASE)
77115 /** Peripheral PGMC_CPC1_MIF1 base address */
77116 #define PGMC_CPC1_MIF1_BASE                      (0x40C89600u)
77117 /** Peripheral PGMC_CPC1_MIF1 base pointer */
77118 #define PGMC_CPC1_MIF1                           ((PGMC_MIF_Type *)PGMC_CPC1_MIF1_BASE)
77119 /** Array initializer of PGMC_MIF peripheral base addresses */
77120 #define PGMC_MIF_BASE_ADDRS                      { PGMC_CPC0_MIF0_BASE, PGMC_CPC0_MIF1_BASE, PGMC_CPC1_MIF0_BASE, PGMC_CPC1_MIF1_BASE }
77121 /** Array initializer of PGMC_MIF peripheral base pointers */
77122 #define PGMC_MIF_BASE_PTRS                       { PGMC_CPC0_MIF0, PGMC_CPC0_MIF1, PGMC_CPC1_MIF0, PGMC_CPC1_MIF1 }
77123 
77124 /*!
77125  * @}
77126  */ /* end of group PGMC_MIF_Peripheral_Access_Layer */
77127 
77128 
77129 /* ----------------------------------------------------------------------------
77130    -- PGMC_PPC Peripheral Access Layer
77131    ---------------------------------------------------------------------------- */
77132 
77133 /*!
77134  * @addtogroup PGMC_PPC_Peripheral_Access_Layer PGMC_PPC Peripheral Access Layer
77135  * @{
77136  */
77137 
77138 /** PGMC_PPC - Register Layout Typedef */
77139 typedef struct {
77140        uint8_t RESERVED_0[4];
77141   __IO uint32_t PPC_AUTHEN_CTRL;                   /**< PPC Authentication Control, offset: 0x4 */
77142        uint8_t RESERVED_1[8];
77143   __IO uint32_t PPC_MODE;                          /**< PPC Mode, offset: 0x10 */
77144   __IO uint32_t PPC_STBY_CM_CTRL;                  /**< PPC standby CPU mode control, offset: 0x14 */
77145   __IO uint32_t PPC_STBY_SP_CTRL;                  /**< PPC standby Setpoint control, offset: 0x18 */
77146 } PGMC_PPC_Type;
77147 
77148 /* ----------------------------------------------------------------------------
77149    -- PGMC_PPC Register Masks
77150    ---------------------------------------------------------------------------- */
77151 
77152 /*!
77153  * @addtogroup PGMC_PPC_Register_Masks PGMC_PPC Register Masks
77154  * @{
77155  */
77156 
77157 /*! @name PPC_AUTHEN_CTRL - PPC Authentication Control */
77158 /*! @{ */
77159 
77160 #define PGMC_PPC_PPC_AUTHEN_CTRL_USER_MASK       (0x1U)
77161 #define PGMC_PPC_PPC_AUTHEN_CTRL_USER_SHIFT      (0U)
77162 /*! USER - Allow user mode access
77163  */
77164 #define PGMC_PPC_PPC_AUTHEN_CTRL_USER(x)         (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_USER_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_USER_MASK)
77165 
77166 #define PGMC_PPC_PPC_AUTHEN_CTRL_NONSECURE_MASK  (0x2U)
77167 #define PGMC_PPC_PPC_AUTHEN_CTRL_NONSECURE_SHIFT (1U)
77168 /*! NONSECURE - Allow non-secure mode access
77169  */
77170 #define PGMC_PPC_PPC_AUTHEN_CTRL_NONSECURE(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_NONSECURE_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_NONSECURE_MASK)
77171 
77172 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_SETTING_MASK (0x10U)
77173 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT (4U)
77174 /*! LOCK_SETTING - Lock NONSECURE and USER
77175  */
77176 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_SETTING(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_SETTING_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_SETTING_MASK)
77177 
77178 #define PGMC_PPC_PPC_AUTHEN_CTRL_WHITE_LIST_MASK (0xF00U)
77179 #define PGMC_PPC_PPC_AUTHEN_CTRL_WHITE_LIST_SHIFT (8U)
77180 /*! WHITE_LIST - Domain ID white list
77181  */
77182 #define PGMC_PPC_PPC_AUTHEN_CTRL_WHITE_LIST(x)   (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_WHITE_LIST_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_WHITE_LIST_MASK)
77183 
77184 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_LIST_MASK  (0x1000U)
77185 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_LIST_SHIFT (12U)
77186 /*! LOCK_LIST - White list lock
77187  */
77188 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_LIST(x)    (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_LIST_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_LIST_MASK)
77189 
77190 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_CFG_MASK   (0x100000U)
77191 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_CFG_SHIFT  (20U)
77192 /*! LOCK_CFG - Configuration lock
77193  */
77194 #define PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_CFG(x)     (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_CFG_SHIFT)) & PGMC_PPC_PPC_AUTHEN_CTRL_LOCK_CFG_MASK)
77195 /*! @} */
77196 
77197 /*! @name PPC_MODE - PPC Mode */
77198 /*! @{ */
77199 
77200 #define PGMC_PPC_PPC_MODE_CTRL_MODE_MASK         (0x3U)
77201 #define PGMC_PPC_PPC_MODE_CTRL_MODE_SHIFT        (0U)
77202 /*! CTRL_MODE - Control mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77203  *  0b00..Not affected by any low power mode
77204  *  0b01..Controlled by CPU power mode of the domain
77205  *  0b10..Controlled by Setpoint and system standby
77206  *  0b11..Reserved
77207  */
77208 #define PGMC_PPC_PPC_MODE_CTRL_MODE(x)           (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_MODE_CTRL_MODE_SHIFT)) & PGMC_PPC_PPC_MODE_CTRL_MODE_MASK)
77209 
77210 #define PGMC_PPC_PPC_MODE_DOMAIN_ASSIGN_MASK     (0x30U)
77211 #define PGMC_PPC_PPC_MODE_DOMAIN_ASSIGN_SHIFT    (4U)
77212 /*! DOMAIN_ASSIGN - Domain assignment of the BPC
77213  *  0b00..Domain 0
77214  *  0b01..Domain 1
77215  *  0b10..Domain 2
77216  *  0b11..Domain 3
77217  */
77218 #define PGMC_PPC_PPC_MODE_DOMAIN_ASSIGN(x)       (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_MODE_DOMAIN_ASSIGN_SHIFT)) & PGMC_PPC_PPC_MODE_DOMAIN_ASSIGN_MASK)
77219 /*! @} */
77220 
77221 /*! @name PPC_STBY_CM_CTRL - PPC standby CPU mode control */
77222 /*! @{ */
77223 
77224 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_WAIT_MASK (0x2U)
77225 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_WAIT_SHIFT (1U)
77226 /*! STBY_ON_AT_WAIT - PMIC Standby on when domain enters WAIT mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77227  */
77228 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_WAIT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_WAIT_SHIFT)) & PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_WAIT_MASK)
77229 
77230 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_STOP_MASK (0x4U)
77231 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_STOP_SHIFT (2U)
77232 /*! STBY_ON_AT_STOP - PMIC Standby on when domain enters STOP mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77233  */
77234 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_STOP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_STOP_SHIFT)) & PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_STOP_MASK)
77235 
77236 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_SUSPEND_MASK (0x8U)
77237 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_SUSPEND_SHIFT (3U)
77238 /*! STBY_ON_AT_SUSPEND - PMIC Standby on when domain enters SUSPEND mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77239  */
77240 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_SUSPEND(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_SUSPEND_SHIFT)) & PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_AT_SUSPEND_MASK)
77241 
77242 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_SOFT_MASK (0x100U)
77243 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_SOFT_SHIFT (8U)
77244 /*! STBY_ON_SOFT - Software PMIC standby on trigger
77245  */
77246 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_SOFT_SHIFT)) & PGMC_PPC_PPC_STBY_CM_CTRL_STBY_ON_SOFT_MASK)
77247 
77248 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_OFF_SOFT_MASK (0x200U)
77249 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_OFF_SOFT_SHIFT (9U)
77250 /*! STBY_OFF_SOFT - Software PMIC standby off trigger
77251  */
77252 #define PGMC_PPC_PPC_STBY_CM_CTRL_STBY_OFF_SOFT(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_CM_CTRL_STBY_OFF_SOFT_SHIFT)) & PGMC_PPC_PPC_STBY_CM_CTRL_STBY_OFF_SOFT_MASK)
77253 /*! @} */
77254 
77255 /*! @name PPC_STBY_SP_CTRL - PPC standby Setpoint control */
77256 /*! @{ */
77257 
77258 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_ACTIVE_MASK (0xFFFFU)
77259 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_ACTIVE_SHIFT (0U)
77260 /*! STBY_ON_AT_SP_ACTIVE - PMIC standby on when system enters Setpoint number. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77261  */
77262 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_ACTIVE(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_ACTIVE_SHIFT)) & PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_ACTIVE_MASK)
77263 
77264 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_SLEEP_MASK (0xFFFF0000U)
77265 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_SLEEP_SHIFT (16U)
77266 /*! STBY_ON_AT_SP_SLEEP - PMIC standby on when system enters Setpoint number and system is in
77267  *    standby mode. This field is locked by AUTHEN_CTRL[LOCK_CFG] field.
77268  */
77269 #define PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_SLEEP(x) (((uint32_t)(((uint32_t)(x)) << PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_SLEEP_SHIFT)) & PGMC_PPC_PPC_STBY_SP_CTRL_STBY_ON_AT_SP_SLEEP_MASK)
77270 /*! @} */
77271 
77272 
77273 /*!
77274  * @}
77275  */ /* end of group PGMC_PPC_Register_Masks */
77276 
77277 
77278 /* PGMC_PPC - Peripheral instance base addresses */
77279 /** Peripheral PGMC_PPC0 base address */
77280 #define PGMC_PPC0_BASE                           (0x40C8B000u)
77281 /** Peripheral PGMC_PPC0 base pointer */
77282 #define PGMC_PPC0                                ((PGMC_PPC_Type *)PGMC_PPC0_BASE)
77283 /** Array initializer of PGMC_PPC peripheral base addresses */
77284 #define PGMC_PPC_BASE_ADDRS                      { PGMC_PPC0_BASE }
77285 /** Array initializer of PGMC_PPC peripheral base pointers */
77286 #define PGMC_PPC_BASE_PTRS                       { PGMC_PPC0 }
77287 
77288 /*!
77289  * @}
77290  */ /* end of group PGMC_PPC_Peripheral_Access_Layer */
77291 
77292 
77293 /* ----------------------------------------------------------------------------
77294    -- PHY_LDO Peripheral Access Layer
77295    ---------------------------------------------------------------------------- */
77296 
77297 /*!
77298  * @addtogroup PHY_LDO_Peripheral_Access_Layer PHY_LDO Peripheral Access Layer
77299  * @{
77300  */
77301 
77302 /** PHY_LDO - Register Layout Typedef */
77303 typedef struct {
77304   struct {                                         /* offset: 0x0 */
77305     __IO uint32_t RW;                                /**< Analog Control Register CTRL0, offset: 0x0 */
77306     __IO uint32_t SET;                               /**< Analog Control Register CTRL0, offset: 0x4 */
77307     __IO uint32_t CLR;                               /**< Analog Control Register CTRL0, offset: 0x8 */
77308     __IO uint32_t TOG;                               /**< Analog Control Register CTRL0, offset: 0xC */
77309   } CTRL0;
77310        uint8_t RESERVED_0[64];
77311   struct {                                         /* offset: 0x50 */
77312     __I  uint32_t RW;                                /**< Analog Status Register STAT0, offset: 0x50 */
77313     __I  uint32_t SET;                               /**< Analog Status Register STAT0, offset: 0x54 */
77314     __I  uint32_t CLR;                               /**< Analog Status Register STAT0, offset: 0x58 */
77315     __I  uint32_t TOG;                               /**< Analog Status Register STAT0, offset: 0x5C */
77316   } STAT0;
77317 } PHY_LDO_Type;
77318 
77319 /* ----------------------------------------------------------------------------
77320    -- PHY_LDO Register Masks
77321    ---------------------------------------------------------------------------- */
77322 
77323 /*!
77324  * @addtogroup PHY_LDO_Register_Masks PHY_LDO Register Masks
77325  * @{
77326  */
77327 
77328 /*! @name CTRL0 - Analog Control Register CTRL0 */
77329 /*! @{ */
77330 
77331 #define PHY_LDO_CTRL0_LINREG_EN_MASK             (0x1U)
77332 #define PHY_LDO_CTRL0_LINREG_EN_SHIFT            (0U)
77333 /*! LINREG_EN - LinrReg master enable
77334  */
77335 #define PHY_LDO_CTRL0_LINREG_EN(x)               (((uint32_t)(((uint32_t)(x)) << PHY_LDO_CTRL0_LINREG_EN_SHIFT)) & PHY_LDO_CTRL0_LINREG_EN_MASK)
77336 
77337 #define PHY_LDO_CTRL0_LINREG_PWRUPLOAD_DIS_MASK  (0x2U)
77338 #define PHY_LDO_CTRL0_LINREG_PWRUPLOAD_DIS_SHIFT (1U)
77339 /*! LINREG_PWRUPLOAD_DIS - LinReg power-up load disable
77340  *  0b0..Internal pull-down enabled
77341  *  0b1..Internal pull-down disabled
77342  */
77343 #define PHY_LDO_CTRL0_LINREG_PWRUPLOAD_DIS(x)    (((uint32_t)(((uint32_t)(x)) << PHY_LDO_CTRL0_LINREG_PWRUPLOAD_DIS_SHIFT)) & PHY_LDO_CTRL0_LINREG_PWRUPLOAD_DIS_MASK)
77344 
77345 #define PHY_LDO_CTRL0_LINREG_ILIMIT_EN_MASK      (0x4U)
77346 #define PHY_LDO_CTRL0_LINREG_ILIMIT_EN_SHIFT     (2U)
77347 /*! LINREG_ILIMIT_EN - LinReg current-limit enable
77348  */
77349 #define PHY_LDO_CTRL0_LINREG_ILIMIT_EN(x)        (((uint32_t)(((uint32_t)(x)) << PHY_LDO_CTRL0_LINREG_ILIMIT_EN_SHIFT)) & PHY_LDO_CTRL0_LINREG_ILIMIT_EN_MASK)
77350 
77351 #define PHY_LDO_CTRL0_LINREG_OUTPUT_TRG_MASK     (0x1F0U)
77352 #define PHY_LDO_CTRL0_LINREG_OUTPUT_TRG_SHIFT    (4U)
77353 /*! LINREG_OUTPUT_TRG - LinReg output voltage target setting
77354  *  0b00000..Set output voltage to x.xV
77355  *  0b10000..Sets output voltage to 1.0V
77356  *  0b11111..Set output voltage to x.xV
77357  */
77358 #define PHY_LDO_CTRL0_LINREG_OUTPUT_TRG(x)       (((uint32_t)(((uint32_t)(x)) << PHY_LDO_CTRL0_LINREG_OUTPUT_TRG_SHIFT)) & PHY_LDO_CTRL0_LINREG_OUTPUT_TRG_MASK)
77359 
77360 #define PHY_LDO_CTRL0_LINREG_PHY_ISO_B_MASK      (0x8000U)
77361 #define PHY_LDO_CTRL0_LINREG_PHY_ISO_B_SHIFT     (15U)
77362 /*! LINREG_PHY_ISO_B - Isolation control for attached PHY load
77363  */
77364 #define PHY_LDO_CTRL0_LINREG_PHY_ISO_B(x)        (((uint32_t)(((uint32_t)(x)) << PHY_LDO_CTRL0_LINREG_PHY_ISO_B_SHIFT)) & PHY_LDO_CTRL0_LINREG_PHY_ISO_B_MASK)
77365 /*! @} */
77366 
77367 /*! @name STAT0 - Analog Status Register STAT0 */
77368 /*! @{ */
77369 
77370 #define PHY_LDO_STAT0_LINREG_STAT_MASK           (0xFU)
77371 #define PHY_LDO_STAT0_LINREG_STAT_SHIFT          (0U)
77372 /*! LINREG_STAT - LinReg Status Bits
77373  */
77374 #define PHY_LDO_STAT0_LINREG_STAT(x)             (((uint32_t)(((uint32_t)(x)) << PHY_LDO_STAT0_LINREG_STAT_SHIFT)) & PHY_LDO_STAT0_LINREG_STAT_MASK)
77375 /*! @} */
77376 
77377 
77378 /*!
77379  * @}
77380  */ /* end of group PHY_LDO_Register_Masks */
77381 
77382 
77383 /* PHY_LDO - Peripheral instance base addresses */
77384 /** Peripheral PHY_LDO base address */
77385 #define PHY_LDO_BASE                             (0u)
77386 /** Peripheral PHY_LDO base pointer */
77387 #define PHY_LDO                                  ((PHY_LDO_Type *)PHY_LDO_BASE)
77388 /** Array initializer of PHY_LDO peripheral base addresses */
77389 #define PHY_LDO_BASE_ADDRS                       { PHY_LDO_BASE }
77390 /** Array initializer of PHY_LDO peripheral base pointers */
77391 #define PHY_LDO_BASE_PTRS                        { PHY_LDO }
77392 
77393 /*!
77394  * @}
77395  */ /* end of group PHY_LDO_Peripheral_Access_Layer */
77396 
77397 
77398 /* ----------------------------------------------------------------------------
77399    -- PIT Peripheral Access Layer
77400    ---------------------------------------------------------------------------- */
77401 
77402 /*!
77403  * @addtogroup PIT_Peripheral_Access_Layer PIT Peripheral Access Layer
77404  * @{
77405  */
77406 
77407 /** PIT - Register Layout Typedef */
77408 typedef struct {
77409   __IO uint32_t MCR;                               /**< PIT Module Control Register, offset: 0x0 */
77410        uint8_t RESERVED_0[220];
77411   __I  uint32_t LTMR64H;                           /**< PIT Upper Lifetime Timer Register, offset: 0xE0 */
77412   __I  uint32_t LTMR64L;                           /**< PIT Lower Lifetime Timer Register, offset: 0xE4 */
77413        uint8_t RESERVED_1[24];
77414   struct {                                         /* offset: 0x100, array step: 0x10 */
77415     __IO uint32_t LDVAL;                             /**< Timer Load Value Register, array offset: 0x100, array step: 0x10 */
77416     __I  uint32_t CVAL;                              /**< Current Timer Value Register, array offset: 0x104, array step: 0x10 */
77417     __IO uint32_t TCTRL;                             /**< Timer Control Register, array offset: 0x108, array step: 0x10 */
77418     __IO uint32_t TFLG;                              /**< Timer Flag Register, array offset: 0x10C, array step: 0x10 */
77419   } CHANNEL[4];
77420 } PIT_Type;
77421 
77422 /* ----------------------------------------------------------------------------
77423    -- PIT Register Masks
77424    ---------------------------------------------------------------------------- */
77425 
77426 /*!
77427  * @addtogroup PIT_Register_Masks PIT Register Masks
77428  * @{
77429  */
77430 
77431 /*! @name MCR - PIT Module Control Register */
77432 /*! @{ */
77433 
77434 #define PIT_MCR_FRZ_MASK                         (0x1U)
77435 #define PIT_MCR_FRZ_SHIFT                        (0U)
77436 /*! FRZ - Freeze
77437  *  0b0..Timers continue to run in Debug mode.
77438  *  0b1..Timers are stopped in Debug mode.
77439  */
77440 #define PIT_MCR_FRZ(x)                           (((uint32_t)(((uint32_t)(x)) << PIT_MCR_FRZ_SHIFT)) & PIT_MCR_FRZ_MASK)
77441 
77442 #define PIT_MCR_MDIS_MASK                        (0x2U)
77443 #define PIT_MCR_MDIS_SHIFT                       (1U)
77444 /*! MDIS - Module Disable for PIT
77445  *  0b0..Clock for standard PIT timers is enabled.
77446  *  0b1..Clock for standard PIT timers is disabled.
77447  */
77448 #define PIT_MCR_MDIS(x)                          (((uint32_t)(((uint32_t)(x)) << PIT_MCR_MDIS_SHIFT)) & PIT_MCR_MDIS_MASK)
77449 /*! @} */
77450 
77451 /*! @name LTMR64H - PIT Upper Lifetime Timer Register */
77452 /*! @{ */
77453 
77454 #define PIT_LTMR64H_LTH_MASK                     (0xFFFFFFFFU)
77455 #define PIT_LTMR64H_LTH_SHIFT                    (0U)
77456 /*! LTH - Life Timer value
77457  */
77458 #define PIT_LTMR64H_LTH(x)                       (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64H_LTH_SHIFT)) & PIT_LTMR64H_LTH_MASK)
77459 /*! @} */
77460 
77461 /*! @name LTMR64L - PIT Lower Lifetime Timer Register */
77462 /*! @{ */
77463 
77464 #define PIT_LTMR64L_LTL_MASK                     (0xFFFFFFFFU)
77465 #define PIT_LTMR64L_LTL_SHIFT                    (0U)
77466 /*! LTL - Life Timer value
77467  */
77468 #define PIT_LTMR64L_LTL(x)                       (((uint32_t)(((uint32_t)(x)) << PIT_LTMR64L_LTL_SHIFT)) & PIT_LTMR64L_LTL_MASK)
77469 /*! @} */
77470 
77471 /*! @name LDVAL - Timer Load Value Register */
77472 /*! @{ */
77473 
77474 #define PIT_LDVAL_TSV_MASK                       (0xFFFFFFFFU)
77475 #define PIT_LDVAL_TSV_SHIFT                      (0U)
77476 /*! TSV - Timer Start Value
77477  */
77478 #define PIT_LDVAL_TSV(x)                         (((uint32_t)(((uint32_t)(x)) << PIT_LDVAL_TSV_SHIFT)) & PIT_LDVAL_TSV_MASK)
77479 /*! @} */
77480 
77481 /* The count of PIT_LDVAL */
77482 #define PIT_LDVAL_COUNT                          (4U)
77483 
77484 /*! @name CVAL - Current Timer Value Register */
77485 /*! @{ */
77486 
77487 #define PIT_CVAL_TVL_MASK                        (0xFFFFFFFFU)
77488 #define PIT_CVAL_TVL_SHIFT                       (0U)
77489 /*! TVL - Current Timer Value
77490  */
77491 #define PIT_CVAL_TVL(x)                          (((uint32_t)(((uint32_t)(x)) << PIT_CVAL_TVL_SHIFT)) & PIT_CVAL_TVL_MASK)
77492 /*! @} */
77493 
77494 /* The count of PIT_CVAL */
77495 #define PIT_CVAL_COUNT                           (4U)
77496 
77497 /*! @name TCTRL - Timer Control Register */
77498 /*! @{ */
77499 
77500 #define PIT_TCTRL_TEN_MASK                       (0x1U)
77501 #define PIT_TCTRL_TEN_SHIFT                      (0U)
77502 /*! TEN - Timer Enable
77503  *  0b0..Timer n is disabled.
77504  *  0b1..Timer n is enabled.
77505  */
77506 #define PIT_TCTRL_TEN(x)                         (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TEN_SHIFT)) & PIT_TCTRL_TEN_MASK)
77507 
77508 #define PIT_TCTRL_TIE_MASK                       (0x2U)
77509 #define PIT_TCTRL_TIE_SHIFT                      (1U)
77510 /*! TIE - Timer Interrupt Enable
77511  *  0b0..Interrupt requests from Timer n are disabled.
77512  *  0b1..Interrupt is requested whenever TIF is set.
77513  */
77514 #define PIT_TCTRL_TIE(x)                         (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_TIE_SHIFT)) & PIT_TCTRL_TIE_MASK)
77515 
77516 #define PIT_TCTRL_CHN_MASK                       (0x4U)
77517 #define PIT_TCTRL_CHN_SHIFT                      (2U)
77518 /*! CHN - Chain Mode
77519  *  0b0..Timer is not chained.
77520  *  0b1..Timer is chained to a previous timer. For example, for channel 2, if this field is set, Timer 2 is chained to Timer 1.
77521  */
77522 #define PIT_TCTRL_CHN(x)                         (((uint32_t)(((uint32_t)(x)) << PIT_TCTRL_CHN_SHIFT)) & PIT_TCTRL_CHN_MASK)
77523 /*! @} */
77524 
77525 /* The count of PIT_TCTRL */
77526 #define PIT_TCTRL_COUNT                          (4U)
77527 
77528 /*! @name TFLG - Timer Flag Register */
77529 /*! @{ */
77530 
77531 #define PIT_TFLG_TIF_MASK                        (0x1U)
77532 #define PIT_TFLG_TIF_SHIFT                       (0U)
77533 /*! TIF - Timer Interrupt Flag
77534  *  0b0..Timeout has not yet occurred.
77535  *  0b1..Timeout has occurred.
77536  */
77537 #define PIT_TFLG_TIF(x)                          (((uint32_t)(((uint32_t)(x)) << PIT_TFLG_TIF_SHIFT)) & PIT_TFLG_TIF_MASK)
77538 /*! @} */
77539 
77540 /* The count of PIT_TFLG */
77541 #define PIT_TFLG_COUNT                           (4U)
77542 
77543 
77544 /*!
77545  * @}
77546  */ /* end of group PIT_Register_Masks */
77547 
77548 
77549 /* PIT - Peripheral instance base addresses */
77550 /** Peripheral PIT1 base address */
77551 #define PIT1_BASE                                (0x400D8000u)
77552 /** Peripheral PIT1 base pointer */
77553 #define PIT1                                     ((PIT_Type *)PIT1_BASE)
77554 /** Peripheral PIT2 base address */
77555 #define PIT2_BASE                                (0x40CB0000u)
77556 /** Peripheral PIT2 base pointer */
77557 #define PIT2                                     ((PIT_Type *)PIT2_BASE)
77558 /** Array initializer of PIT peripheral base addresses */
77559 #define PIT_BASE_ADDRS                           { 0u, PIT1_BASE, PIT2_BASE }
77560 /** Array initializer of PIT peripheral base pointers */
77561 #define PIT_BASE_PTRS                            { (PIT_Type *)0u, PIT1, PIT2 }
77562 /** Interrupt vectors for the PIT peripheral type */
77563 #define PIT_IRQS                                 { { NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn }, { PIT1_IRQn, PIT1_IRQn, PIT1_IRQn, PIT1_IRQn }, { PIT2_IRQn, PIT2_IRQn, PIT2_IRQn, PIT2_IRQn } }
77564 
77565 /*!
77566  * @}
77567  */ /* end of group PIT_Peripheral_Access_Layer */
77568 
77569 
77570 /* ----------------------------------------------------------------------------
77571    -- PUF Peripheral Access Layer
77572    ---------------------------------------------------------------------------- */
77573 
77574 /*!
77575  * @addtogroup PUF_Peripheral_Access_Layer PUF Peripheral Access Layer
77576  * @{
77577  */
77578 
77579 /** PUF - Register Layout Typedef */
77580 typedef struct {
77581   __IO uint32_t CTRL;                              /**< PUF Control Register, offset: 0x0 */
77582   __IO uint32_t KEYINDEX;                          /**< PUF Key Index Register, offset: 0x4 */
77583   __IO uint32_t KEYSIZE;                           /**< PUF Key Size Register, offset: 0x8 */
77584        uint8_t RESERVED_0[20];
77585   __I  uint32_t STAT;                              /**< PUF Status Register, offset: 0x20 */
77586        uint8_t RESERVED_1[4];
77587   __I  uint32_t ALLOW;                             /**< PUF Allow Register, offset: 0x28 */
77588        uint8_t RESERVED_2[20];
77589   __O  uint32_t KEYINPUT;                          /**< PUF Key Input Register, offset: 0x40 */
77590   __O  uint32_t CODEINPUT;                         /**< PUF Code Input Register, offset: 0x44 */
77591   __I  uint32_t CODEOUTPUT;                        /**< PUF Code Output Register, offset: 0x48 */
77592        uint8_t RESERVED_3[20];
77593   __I  uint32_t KEYOUTINDEX;                       /**< PUF Key Output Index Register, offset: 0x60 */
77594   __I  uint32_t KEYOUTPUT;                         /**< PUF Key Output Register, offset: 0x64 */
77595        uint8_t RESERVED_4[116];
77596   __IO uint32_t IFSTAT;                            /**< PUF Interface Status Register, offset: 0xDC */
77597        uint8_t RESERVED_5[28];
77598   __I  uint32_t VERSION;                           /**< PUF Version Register, offset: 0xFC */
77599   __IO uint32_t INTEN;                             /**< PUF Interrupt Enable, offset: 0x100 */
77600   __IO uint32_t INTSTAT;                           /**< PUF Interrupt Status, offset: 0x104 */
77601   __IO uint32_t PWRCTRL;                           /**< PUF Power Control Of RAM, offset: 0x108 */
77602   __IO uint32_t CFG;                               /**< PUF Configuration Register, offset: 0x10C */
77603        uint8_t RESERVED_6[240];
77604   __IO uint32_t KEYLOCK;                           /**< PUF Key Manager Lock, offset: 0x200 */
77605   __IO uint32_t KEYENABLE;                         /**< PUF Key Manager Enable, offset: 0x204 */
77606   __IO uint32_t KEYRESET;                          /**< PUF Key Manager Reset, offset: 0x208 */
77607   __IO uint32_t IDXBLK;                            /**< PUF Index Block Key Output, offset: 0x20C */
77608   __IO uint32_t IDXBLK_DP;                         /**< PUF Index Block Key Output, offset: 0x210 */
77609   __IO uint32_t KEYMASK[2];                        /**< PUF Key Block 0 Mask Enable..PUF Key Block 1 Mask Enable, array offset: 0x214, array step: 0x4 */
77610        uint8_t RESERVED_7[56];
77611   __I  uint32_t IDXBLK_STATUS;                     /**< PUF Index Block Setting Status Register, offset: 0x254 */
77612   __I  uint32_t IDXBLK_SHIFT;                      /**< PUF Key Manager Shift Status, offset: 0x258 */
77613 } PUF_Type;
77614 
77615 /* ----------------------------------------------------------------------------
77616    -- PUF Register Masks
77617    ---------------------------------------------------------------------------- */
77618 
77619 /*!
77620  * @addtogroup PUF_Register_Masks PUF Register Masks
77621  * @{
77622  */
77623 
77624 /*! @name CTRL - PUF Control Register */
77625 /*! @{ */
77626 
77627 #define PUF_CTRL_ZEROIZE_MASK                    (0x1U)
77628 #define PUF_CTRL_ZEROIZE_SHIFT                   (0U)
77629 /*! ZEROIZE - Begin Zeroize operation for PUF and go to Error state
77630  *  0b0..No Zeroize operation in progress
77631  *  0b1..Zeroize operation in progress
77632  */
77633 #define PUF_CTRL_ZEROIZE(x)                      (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_ZEROIZE_SHIFT)) & PUF_CTRL_ZEROIZE_MASK)
77634 
77635 #define PUF_CTRL_ENROLL_MASK                     (0x2U)
77636 #define PUF_CTRL_ENROLL_SHIFT                    (1U)
77637 /*! ENROLL - Begin Enroll operation
77638  *  0b0..No Enroll operation in progress
77639  *  0b1..Enroll operation in progress
77640  */
77641 #define PUF_CTRL_ENROLL(x)                       (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_ENROLL_SHIFT)) & PUF_CTRL_ENROLL_MASK)
77642 
77643 #define PUF_CTRL_START_MASK                      (0x4U)
77644 #define PUF_CTRL_START_SHIFT                     (2U)
77645 /*! START - Begin Start operation
77646  *  0b0..No Start operation in progress
77647  *  0b1..Start operation in progress
77648  */
77649 #define PUF_CTRL_START(x)                        (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_START_SHIFT)) & PUF_CTRL_START_MASK)
77650 
77651 #define PUF_CTRL_GENERATEKEY_MASK                (0x8U)
77652 #define PUF_CTRL_GENERATEKEY_SHIFT               (3U)
77653 /*! GENERATEKEY - Begin Set Intrinsic Key operation
77654  *  0b0..No Set Intrinsic Key operation in progress
77655  *  0b1..Set Intrinsic Key operation in progress
77656  */
77657 #define PUF_CTRL_GENERATEKEY(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_GENERATEKEY_SHIFT)) & PUF_CTRL_GENERATEKEY_MASK)
77658 
77659 #define PUF_CTRL_SETKEY_MASK                     (0x10U)
77660 #define PUF_CTRL_SETKEY_SHIFT                    (4U)
77661 /*! SETKEY - Begin Set User Key operation
77662  *  0b0..No Set Key operation in progress
77663  *  0b1..Set Key operation in progress
77664  */
77665 #define PUF_CTRL_SETKEY(x)                       (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_SETKEY_SHIFT)) & PUF_CTRL_SETKEY_MASK)
77666 
77667 #define PUF_CTRL_GETKEY_MASK                     (0x40U)
77668 #define PUF_CTRL_GETKEY_SHIFT                    (6U)
77669 /*! GETKEY - Begin Get Key operation
77670  *  0b0..No Get Key operation in progress
77671  *  0b1..Get Key operation in progress
77672  */
77673 #define PUF_CTRL_GETKEY(x)                       (((uint32_t)(((uint32_t)(x)) << PUF_CTRL_GETKEY_SHIFT)) & PUF_CTRL_GETKEY_MASK)
77674 /*! @} */
77675 
77676 /*! @name KEYINDEX - PUF Key Index Register */
77677 /*! @{ */
77678 
77679 #define PUF_KEYINDEX_KEYIDX_MASK                 (0xFU)
77680 #define PUF_KEYINDEX_KEYIDX_SHIFT                (0U)
77681 /*! KEYIDX - PUF Key Index
77682  *  0b0000..USE INDEX0
77683  *  0b0001..USE INDEX1
77684  *  0b0010..USE INDEX2
77685  *  0b0011..USE INDEX3
77686  *  0b0100..USE INDEX4
77687  *  0b0101..USE INDEX5
77688  *  0b0110..USE INDEX6
77689  *  0b0111..USE INDEX7
77690  *  0b1000..USE INDEX8
77691  *  0b1001..USE INDEX9
77692  *  0b1010..USE INDEX10
77693  *  0b1011..USE INDEX11
77694  *  0b1100..USE INDEX12
77695  *  0b1101..USE INDEX13
77696  *  0b1110..USE INDEX14
77697  *  0b1111..USE INDEX15
77698  */
77699 #define PUF_KEYINDEX_KEYIDX(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_KEYINDEX_KEYIDX_SHIFT)) & PUF_KEYINDEX_KEYIDX_MASK)
77700 /*! @} */
77701 
77702 /*! @name KEYSIZE - PUF Key Size Register */
77703 /*! @{ */
77704 
77705 #define PUF_KEYSIZE_KEYSIZE_MASK                 (0x3FU)
77706 #define PUF_KEYSIZE_KEYSIZE_SHIFT                (0U)
77707 /*! KEYSIZE - PUF Key Size
77708  *  0b000001..Key Size is 8 Bytes and KC Size is 52 Bytes
77709  *  0b000010..Key Size is 16 Bytes and KC Size is 52 Bytes
77710  *  0b000011..Key Size is 24 Bytes and KC Size is 52 Bytes
77711  *  0b000100..Key Size is 32 Bytes and KC Size is 52 Bytes
77712  *  0b000101..Key Size is 40 Bytes and KC Size is 84 Bytes
77713  *  0b000110..Key Size is 48 Bytes and KC Size is 84 Bytes
77714  *  0b000111..Key Size is 56 Bytes and KC Size is 84 Bytes
77715  *  0b001000..Key Size is 64 Bytes and KC Size is 84 Bytes
77716  *  0b001001..Key Size is 72 Bytes and KC Size is 116 Bytes
77717  *  0b001010..Key Size is 80 Bytes and KC Size is 116 Bytes
77718  *  0b001011..Key Size is 88 Bytes and KC Size is 116 Bytes
77719  *  0b001100..Key Size is 96 Bytes and KC Size is 116 Bytes
77720  *  0b001101..Key Size is 104 Bytes and KC Size is 148 Bytes
77721  *  0b001110..Key Size is 112 Bytes and KC Size is 148 Bytes
77722  *  0b001111..Key Size is 120 Bytes and KC Size is 148 Bytes
77723  *  0b010000..Key Size is 128 Bytes and KC Size is 148 Bytes
77724  *  0b010001..Key Size is 136 Bytes and KC Size is 180 Bytes
77725  *  0b010010..Key Size is 144 Bytes and KC Size is 180 Bytes
77726  *  0b010011..Key Size is 152 Bytes and KC Size is 180 Bytes
77727  *  0b010100..Key Size is 160 Bytes and KC Size is 180 Bytes
77728  *  0b010101..Key Size is 168 Bytes and KC Size is 212 Bytes
77729  *  0b010110..Key Size is 176 Bytes and KC Size is 212 Bytes
77730  *  0b010111..Key Size is 184 Bytes and KC Size is 212 Bytes
77731  *  0b011000..Key Size is 192 Bytes and KC Size is 212 Bytes
77732  *  0b011001..Key Size is 200 Bytes and KC Size is 244 Bytes
77733  *  0b011010..Key Size is 208 Bytes and KC Size is 244 Bytes
77734  *  0b011011..Key Size is 216 Bytes and KC Size is 244 Bytes
77735  *  0b011100..Key Size is 224 Bytes and KC Size is 244 Bytes
77736  *  0b011101..Key Size is 232 Bytes and KC Size is 276 Bytes
77737  *  0b011110..Key Size is 240 Bytes and KC Size is 276 Bytes
77738  *  0b011111..Key Size is 248 Bytes and KC Size is 276 Bytes
77739  *  0b100000..Key Size is 256 Bytes and KC Size is 276 Bytes
77740  *  0b100001..Key Size is 264 Bytes and KC Size is 308 Bytes
77741  *  0b100010..Key Size is 272 Bytes and KC Size is 308 Bytes
77742  *  0b100011..Key Size is 280 Bytes and KC Size is 308 Bytes
77743  *  0b100100..Key Size is 288 Bytes and KC Size is 308 Bytes
77744  *  0b100101..Key Size is 296 Bytes and KC Size is 340 Bytes
77745  *  0b100110..Key Size is 304 Bytes and KC Size is 340 Bytes
77746  *  0b100111..Key Size is 312 Bytes and KC Size is 340 Bytes
77747  *  0b101000..Key Size is 320 Bytes and KC Size is 340 Bytes
77748  *  0b101001..Key Size is 328 Bytes and KC Size is 372 Bytes
77749  *  0b101010..Key Size is 336 Bytes and KC Size is 372 Bytes
77750  *  0b101011..Key Size is 344 Bytes and KC Size is 372 Bytes
77751  *  0b101100..Key Size is 352 Bytes and KC Size is 372 Bytes
77752  *  0b101101..Key Size is 360 Bytes and KC Size is 404 Bytes
77753  *  0b101110..Key Size is 368 Bytes and KC Size is 404 Bytes
77754  *  0b101111..Key Size is 376 Bytes and KC Size is 404 Bytes
77755  *  0b110000..Key Size is 384 Bytes and KC Size is 404 Bytes
77756  *  0b110001..Key Size is 392 Bytes and KC Size is 436 Bytes
77757  *  0b110010..Key Size is 400 Bytes and KC Size is 436 Bytes
77758  *  0b110011..Key Size is 408 Bytes and KC Size is 436 Bytes
77759  *  0b110100..Key Size is 416 Bytes and KC Size is 436 Bytes
77760  *  0b110101..Key Size is 424 Bytes and KC Size is 468 Bytes
77761  *  0b110110..Key Size is 432 Bytes and KC Size is 468 Bytes
77762  *  0b110111..Key Size is 440 Bytes and KC Size is 468 Bytes
77763  *  0b111000..Key Size is 448 Bytes and KC Size is 468 Bytes
77764  *  0b111001..Key Size is 456 Bytes and KC Size is 500 Bytes
77765  *  0b111010..Key Size is 464 Bytes and KC Size is 500 Bytes
77766  *  0b111011..Key Size is 472 Bytes and KC Size is 500 Bytes
77767  *  0b111100..Key Size is 480 Bytes and KC Size is 500 Bytes
77768  *  0b111101..Key Size is 488 Bytes and KC Size is 532 Bytes
77769  *  0b111110..Key Size is 496 Bytes and KC Size is 532 Bytes
77770  *  0b111111..Key Size is 504 Bytes and KC Size is 532 Bytes
77771  *  0b000000..Key Size is 512 Bytes and KC Size is 532 Bytes
77772  */
77773 #define PUF_KEYSIZE_KEYSIZE(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_KEYSIZE_KEYSIZE_SHIFT)) & PUF_KEYSIZE_KEYSIZE_MASK)
77774 /*! @} */
77775 
77776 /*! @name STAT - PUF Status Register */
77777 /*! @{ */
77778 
77779 #define PUF_STAT_BUSY_MASK                       (0x1U)
77780 #define PUF_STAT_BUSY_SHIFT                      (0U)
77781 /*! BUSY - puf_busy
77782  *  0b0..IDLE
77783  *  0b1..BUSY
77784  */
77785 #define PUF_STAT_BUSY(x)                         (((uint32_t)(((uint32_t)(x)) << PUF_STAT_BUSY_SHIFT)) & PUF_STAT_BUSY_MASK)
77786 
77787 #define PUF_STAT_SUCCESS_MASK                    (0x2U)
77788 #define PUF_STAT_SUCCESS_SHIFT                   (1U)
77789 /*! SUCCESS - puf_ok
77790  *  0b0..Last operation was unsuccessful
77791  *  0b1..Last operation was successful
77792  */
77793 #define PUF_STAT_SUCCESS(x)                      (((uint32_t)(((uint32_t)(x)) << PUF_STAT_SUCCESS_SHIFT)) & PUF_STAT_SUCCESS_MASK)
77794 
77795 #define PUF_STAT_ERROR_MASK                      (0x4U)
77796 #define PUF_STAT_ERROR_SHIFT                     (2U)
77797 /*! ERROR - puf_error
77798  *  0b0..PUF is not in the Error state
77799  *  0b1..PUF is in the Error state
77800  */
77801 #define PUF_STAT_ERROR(x)                        (((uint32_t)(((uint32_t)(x)) << PUF_STAT_ERROR_SHIFT)) & PUF_STAT_ERROR_MASK)
77802 
77803 #define PUF_STAT_KEYINREQ_MASK                   (0x10U)
77804 #define PUF_STAT_KEYINREQ_SHIFT                  (4U)
77805 /*! KEYINREQ - KI_ir
77806  *  0b0..No request for next part of key
77807  *  0b1..Request for next part of key in KEYINPUT register
77808  */
77809 #define PUF_STAT_KEYINREQ(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_STAT_KEYINREQ_SHIFT)) & PUF_STAT_KEYINREQ_MASK)
77810 
77811 #define PUF_STAT_KEYOUTAVAIL_MASK                (0x20U)
77812 #define PUF_STAT_KEYOUTAVAIL_SHIFT               (5U)
77813 /*! KEYOUTAVAIL - KO_or
77814  *  0b0..Next part of key is not available
77815  *  0b1..Next part of key is available in KEYOUTPUT register
77816  */
77817 #define PUF_STAT_KEYOUTAVAIL(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_STAT_KEYOUTAVAIL_SHIFT)) & PUF_STAT_KEYOUTAVAIL_MASK)
77818 
77819 #define PUF_STAT_CODEINREQ_MASK                  (0x40U)
77820 #define PUF_STAT_CODEINREQ_SHIFT                 (6U)
77821 /*! CODEINREQ - CI_ir
77822  *  0b0..No request for next part of Activation Code/Key Code
77823  *  0b1..request for next part of Activation Code/Key Code in CODEINPUT register
77824  */
77825 #define PUF_STAT_CODEINREQ(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_STAT_CODEINREQ_SHIFT)) & PUF_STAT_CODEINREQ_MASK)
77826 
77827 #define PUF_STAT_CODEOUTAVAIL_MASK               (0x80U)
77828 #define PUF_STAT_CODEOUTAVAIL_SHIFT              (7U)
77829 /*! CODEOUTAVAIL - CO_or
77830  *  0b0..Next part of Activation Code/Key Code is not available
77831  *  0b1..Next part of Activation Code/Key Code is available in CODEOUTPUT register
77832  */
77833 #define PUF_STAT_CODEOUTAVAIL(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_STAT_CODEOUTAVAIL_SHIFT)) & PUF_STAT_CODEOUTAVAIL_MASK)
77834 /*! @} */
77835 
77836 /*! @name ALLOW - PUF Allow Register */
77837 /*! @{ */
77838 
77839 #define PUF_ALLOW_ALLOWENROLL_MASK               (0x1U)
77840 #define PUF_ALLOW_ALLOWENROLL_SHIFT              (0U)
77841 /*! ALLOWENROLL - Allow Enroll operation
77842  *  0b0..Specified operation is not currently allowed
77843  *  0b1..Specified operation is allowed
77844  */
77845 #define PUF_ALLOW_ALLOWENROLL(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_ALLOW_ALLOWENROLL_SHIFT)) & PUF_ALLOW_ALLOWENROLL_MASK)
77846 
77847 #define PUF_ALLOW_ALLOWSTART_MASK                (0x2U)
77848 #define PUF_ALLOW_ALLOWSTART_SHIFT               (1U)
77849 /*! ALLOWSTART - Allow Start operation
77850  *  0b0..Specified operation is not currently allowed
77851  *  0b1..Specified operation is allowed
77852  */
77853 #define PUF_ALLOW_ALLOWSTART(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_ALLOW_ALLOWSTART_SHIFT)) & PUF_ALLOW_ALLOWSTART_MASK)
77854 
77855 #define PUF_ALLOW_ALLOWSETKEY_MASK               (0x4U)
77856 #define PUF_ALLOW_ALLOWSETKEY_SHIFT              (2U)
77857 /*! ALLOWSETKEY - Allow Set Key operations
77858  *  0b0..Specified operation is not currently allowed
77859  *  0b1..Specified operation is allowed
77860  */
77861 #define PUF_ALLOW_ALLOWSETKEY(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_ALLOW_ALLOWSETKEY_SHIFT)) & PUF_ALLOW_ALLOWSETKEY_MASK)
77862 
77863 #define PUF_ALLOW_ALLOWGETKEY_MASK               (0x8U)
77864 #define PUF_ALLOW_ALLOWGETKEY_SHIFT              (3U)
77865 /*! ALLOWGETKEY - Allow Get Key operation
77866  *  0b0..Specified operation is not currently allowed
77867  *  0b1..Specified operation is allowed
77868  */
77869 #define PUF_ALLOW_ALLOWGETKEY(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_ALLOW_ALLOWGETKEY_SHIFT)) & PUF_ALLOW_ALLOWGETKEY_MASK)
77870 /*! @} */
77871 
77872 /*! @name KEYINPUT - PUF Key Input Register */
77873 /*! @{ */
77874 
77875 #define PUF_KEYINPUT_KEYIN_MASK                  (0xFFFFFFFFU)
77876 #define PUF_KEYINPUT_KEYIN_SHIFT                 (0U)
77877 /*! KEYIN - Key input data
77878  */
77879 #define PUF_KEYINPUT_KEYIN(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_KEYINPUT_KEYIN_SHIFT)) & PUF_KEYINPUT_KEYIN_MASK)
77880 /*! @} */
77881 
77882 /*! @name CODEINPUT - PUF Code Input Register */
77883 /*! @{ */
77884 
77885 #define PUF_CODEINPUT_CODEIN_MASK                (0xFFFFFFFFU)
77886 #define PUF_CODEINPUT_CODEIN_SHIFT               (0U)
77887 /*! CODEIN - AC/KC input data
77888  */
77889 #define PUF_CODEINPUT_CODEIN(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_CODEINPUT_CODEIN_SHIFT)) & PUF_CODEINPUT_CODEIN_MASK)
77890 /*! @} */
77891 
77892 /*! @name CODEOUTPUT - PUF Code Output Register */
77893 /*! @{ */
77894 
77895 #define PUF_CODEOUTPUT_CODEOUT_MASK              (0xFFFFFFFFU)
77896 #define PUF_CODEOUTPUT_CODEOUT_SHIFT             (0U)
77897 /*! CODEOUT - AC/KC output data
77898  */
77899 #define PUF_CODEOUTPUT_CODEOUT(x)                (((uint32_t)(((uint32_t)(x)) << PUF_CODEOUTPUT_CODEOUT_SHIFT)) & PUF_CODEOUTPUT_CODEOUT_MASK)
77900 /*! @} */
77901 
77902 /*! @name KEYOUTINDEX - PUF Key Output Index Register */
77903 /*! @{ */
77904 
77905 #define PUF_KEYOUTINDEX_KEYOUTIDX_MASK           (0xFFFFFFFFU)
77906 #define PUF_KEYOUTINDEX_KEYOUTIDX_SHIFT          (0U)
77907 /*! KEYOUTIDX - Output Key index
77908  */
77909 #define PUF_KEYOUTINDEX_KEYOUTIDX(x)             (((uint32_t)(((uint32_t)(x)) << PUF_KEYOUTINDEX_KEYOUTIDX_SHIFT)) & PUF_KEYOUTINDEX_KEYOUTIDX_MASK)
77910 /*! @} */
77911 
77912 /*! @name KEYOUTPUT - PUF Key Output Register */
77913 /*! @{ */
77914 
77915 #define PUF_KEYOUTPUT_KEYOUT_MASK                (0xFFFFFFFFU)
77916 #define PUF_KEYOUTPUT_KEYOUT_SHIFT               (0U)
77917 /*! KEYOUT - Key output data from a Get Key operation
77918  */
77919 #define PUF_KEYOUTPUT_KEYOUT(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_KEYOUTPUT_KEYOUT_SHIFT)) & PUF_KEYOUTPUT_KEYOUT_MASK)
77920 /*! @} */
77921 
77922 /*! @name IFSTAT - PUF Interface Status Register */
77923 /*! @{ */
77924 
77925 #define PUF_IFSTAT_ERROR_MASK                    (0x1U)
77926 #define PUF_IFSTAT_ERROR_SHIFT                   (0U)
77927 /*! ERROR - APB error has occurred
77928  *  0b0..NOERROR
77929  *  0b1..ERROR
77930  */
77931 #define PUF_IFSTAT_ERROR(x)                      (((uint32_t)(((uint32_t)(x)) << PUF_IFSTAT_ERROR_SHIFT)) & PUF_IFSTAT_ERROR_MASK)
77932 /*! @} */
77933 
77934 /*! @name VERSION - PUF Version Register */
77935 /*! @{ */
77936 
77937 #define PUF_VERSION_VERSION_MASK                 (0xFFFFFFFFU)
77938 #define PUF_VERSION_VERSION_SHIFT                (0U)
77939 /*! VERSION - Version of PUF
77940  */
77941 #define PUF_VERSION_VERSION(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_VERSION_VERSION_SHIFT)) & PUF_VERSION_VERSION_MASK)
77942 /*! @} */
77943 
77944 /*! @name INTEN - PUF Interrupt Enable */
77945 /*! @{ */
77946 
77947 #define PUF_INTEN_READYEN_MASK                   (0x1U)
77948 #define PUF_INTEN_READYEN_SHIFT                  (0U)
77949 /*! READYEN - PUF Ready Interrupt Enable
77950  *  0b0..PUF ready interrupt disabled
77951  *  0b1..PUF ready interrupt enabled
77952  */
77953 #define PUF_INTEN_READYEN(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_READYEN_SHIFT)) & PUF_INTEN_READYEN_MASK)
77954 
77955 #define PUF_INTEN_SUCCESSEN_MASK                 (0x2U)
77956 #define PUF_INTEN_SUCCESSEN_SHIFT                (1U)
77957 /*! SUCCESSEN - PUF_OK Interrupt Enable
77958  *  0b0..PUF successful interrupt disabled
77959  *  0b1..PUF successful interrupt enabled
77960  */
77961 #define PUF_INTEN_SUCCESSEN(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_SUCCESSEN_SHIFT)) & PUF_INTEN_SUCCESSEN_MASK)
77962 
77963 #define PUF_INTEN_ERROREN_MASK                   (0x4U)
77964 #define PUF_INTEN_ERROREN_SHIFT                  (2U)
77965 /*! ERROREN - PUF Error Interrupt Enable
77966  *  0b0..PUF error interrupt disabled
77967  *  0b1..PUF error interrupt enabled
77968  */
77969 #define PUF_INTEN_ERROREN(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_ERROREN_SHIFT)) & PUF_INTEN_ERROREN_MASK)
77970 
77971 #define PUF_INTEN_KEYINREQEN_MASK                (0x10U)
77972 #define PUF_INTEN_KEYINREQEN_SHIFT               (4U)
77973 /*! KEYINREQEN - PUF Key Input Register Interrupt Enable
77974  *  0b0..Key interrupt request disabled
77975  *  0b1..Key interrupt request enabled
77976  */
77977 #define PUF_INTEN_KEYINREQEN(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_KEYINREQEN_SHIFT)) & PUF_INTEN_KEYINREQEN_MASK)
77978 
77979 #define PUF_INTEN_KEYOUTAVAILEN_MASK             (0x20U)
77980 #define PUF_INTEN_KEYOUTAVAILEN_SHIFT            (5U)
77981 /*! KEYOUTAVAILEN - PUF Key Output Register Interrupt Enable
77982  *  0b0..Key available interrupt disabled
77983  *  0b1..Key available interrupt enabled
77984  */
77985 #define PUF_INTEN_KEYOUTAVAILEN(x)               (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_KEYOUTAVAILEN_SHIFT)) & PUF_INTEN_KEYOUTAVAILEN_MASK)
77986 
77987 #define PUF_INTEN_CODEINREQEN_MASK               (0x40U)
77988 #define PUF_INTEN_CODEINREQEN_SHIFT              (6U)
77989 /*! CODEINREQEN - PUF Code Input Register Interrupt Enable
77990  *  0b0..AC/KC interrupt request disabled
77991  *  0b1..AC/KC interrupt request enabled
77992  */
77993 #define PUF_INTEN_CODEINREQEN(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_CODEINREQEN_SHIFT)) & PUF_INTEN_CODEINREQEN_MASK)
77994 
77995 #define PUF_INTEN_CODEOUTAVAILEN_MASK            (0x80U)
77996 #define PUF_INTEN_CODEOUTAVAILEN_SHIFT           (7U)
77997 /*! CODEOUTAVAILEN - PUF Code Output Register Interrupt Enable
77998  *  0b0..AC/KC available interrupt disabled
77999  *  0b1..AC/KC available interrupt enabled
78000  */
78001 #define PUF_INTEN_CODEOUTAVAILEN(x)              (((uint32_t)(((uint32_t)(x)) << PUF_INTEN_CODEOUTAVAILEN_SHIFT)) & PUF_INTEN_CODEOUTAVAILEN_MASK)
78002 /*! @} */
78003 
78004 /*! @name INTSTAT - PUF Interrupt Status */
78005 /*! @{ */
78006 
78007 #define PUF_INTSTAT_READY_MASK                   (0x1U)
78008 #define PUF_INTSTAT_READY_SHIFT                  (0U)
78009 /*! READY - PUF_FINISH Interrupt Status
78010  *  0b0..Indicates that last operation not finished
78011  *  0b1..Indicates that last operation is finished
78012  */
78013 #define PUF_INTSTAT_READY(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_READY_SHIFT)) & PUF_INTSTAT_READY_MASK)
78014 
78015 #define PUF_INTSTAT_SUCCESS_MASK                 (0x2U)
78016 #define PUF_INTSTAT_SUCCESS_SHIFT                (1U)
78017 /*! SUCCESS - PUF_OK Interrupt Status
78018  *  0b0..Indicates that last operation was not successful
78019  *  0b1..Indicates that last operation was successful
78020  */
78021 #define PUF_INTSTAT_SUCCESS(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_SUCCESS_SHIFT)) & PUF_INTSTAT_SUCCESS_MASK)
78022 
78023 #define PUF_INTSTAT_ERROR_MASK                   (0x4U)
78024 #define PUF_INTSTAT_ERROR_SHIFT                  (2U)
78025 /*! ERROR - PUF_ERROR Interrupt Status
78026  *  0b0..PUF is not in the Error state and operations can be performed
78027  *  0b1..PUF is in the Error state and no operations can be performed
78028  */
78029 #define PUF_INTSTAT_ERROR(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_ERROR_SHIFT)) & PUF_INTSTAT_ERROR_MASK)
78030 
78031 #define PUF_INTSTAT_KEYINREQ_MASK                (0x10U)
78032 #define PUF_INTSTAT_KEYINREQ_SHIFT               (4U)
78033 /*! KEYINREQ - PUF Key Input Register Interrupt Status
78034  *  0b0..No request for next part of key
78035  *  0b1..Request for next part of key
78036  */
78037 #define PUF_INTSTAT_KEYINREQ(x)                  (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_KEYINREQ_SHIFT)) & PUF_INTSTAT_KEYINREQ_MASK)
78038 
78039 #define PUF_INTSTAT_KEYOUTAVAIL_MASK             (0x20U)
78040 #define PUF_INTSTAT_KEYOUTAVAIL_SHIFT            (5U)
78041 /*! KEYOUTAVAIL - PUF Key Output Register Interrupt Status
78042  *  0b0..Next part of key is not available
78043  *  0b1..Next part of key is available
78044  */
78045 #define PUF_INTSTAT_KEYOUTAVAIL(x)               (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_KEYOUTAVAIL_SHIFT)) & PUF_INTSTAT_KEYOUTAVAIL_MASK)
78046 
78047 #define PUF_INTSTAT_CODEINREQ_MASK               (0x40U)
78048 #define PUF_INTSTAT_CODEINREQ_SHIFT              (6U)
78049 /*! CODEINREQ - PUF Code Input Register Interrupt Status
78050  *  0b0..No request for next part of AC/KC
78051  *  0b1..Request for next part of AC/KC
78052  */
78053 #define PUF_INTSTAT_CODEINREQ(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_CODEINREQ_SHIFT)) & PUF_INTSTAT_CODEINREQ_MASK)
78054 
78055 #define PUF_INTSTAT_CODEOUTAVAIL_MASK            (0x80U)
78056 #define PUF_INTSTAT_CODEOUTAVAIL_SHIFT           (7U)
78057 /*! CODEOUTAVAIL - PUF Code Output Register Interrupt Status
78058  *  0b0..Next part of AC/KC is not available
78059  *  0b1..Next part of AC/KC is available
78060  */
78061 #define PUF_INTSTAT_CODEOUTAVAIL(x)              (((uint32_t)(((uint32_t)(x)) << PUF_INTSTAT_CODEOUTAVAIL_SHIFT)) & PUF_INTSTAT_CODEOUTAVAIL_MASK)
78062 /*! @} */
78063 
78064 /*! @name PWRCTRL - PUF Power Control Of RAM */
78065 /*! @{ */
78066 
78067 #define PUF_PWRCTRL_RAM_ON_MASK                  (0x1U)
78068 #define PUF_PWRCTRL_RAM_ON_SHIFT                 (0U)
78069 /*! RAM_ON - PUF RAM on
78070  *  0b0..PUF RAM is in sleep mode (PUF operation disabled)
78071  *  0b1..PUF RAM is awake (normal PUF operation enabled)
78072  */
78073 #define PUF_PWRCTRL_RAM_ON(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_PWRCTRL_RAM_ON_SHIFT)) & PUF_PWRCTRL_RAM_ON_MASK)
78074 
78075 #define PUF_PWRCTRL_CK_DIS_MASK                  (0x4U)
78076 #define PUF_PWRCTRL_CK_DIS_SHIFT                 (2U)
78077 /*! CK_DIS - Clock disable
78078  *  0b0..PUF RAM is clocked (normal PUF operation enabled)
78079  *  0b1..PUF RAM clock is gated/disabled (PUF operation disabled)
78080  */
78081 #define PUF_PWRCTRL_CK_DIS(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_PWRCTRL_CK_DIS_SHIFT)) & PUF_PWRCTRL_CK_DIS_MASK)
78082 
78083 #define PUF_PWRCTRL_RAM_INITN_MASK               (0x8U)
78084 #define PUF_PWRCTRL_RAM_INITN_SHIFT              (3U)
78085 /*! RAM_INITN - RAM initialization
78086  *  0b0..Reset the PUF RAM (PUF operation disabled)
78087  *  0b1..Do not reset the PUF RAM (normal PUF operation enabled)
78088  */
78089 #define PUF_PWRCTRL_RAM_INITN(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_PWRCTRL_RAM_INITN_SHIFT)) & PUF_PWRCTRL_RAM_INITN_MASK)
78090 
78091 #define PUF_PWRCTRL_RAM_PSW_MASK                 (0xF0U)
78092 #define PUF_PWRCTRL_RAM_PSW_SHIFT                (4U)
78093 /*! RAM_PSW - PUF RAM power switches
78094  */
78095 #define PUF_PWRCTRL_RAM_PSW(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_PWRCTRL_RAM_PSW_SHIFT)) & PUF_PWRCTRL_RAM_PSW_MASK)
78096 /*! @} */
78097 
78098 /*! @name CFG - PUF Configuration Register */
78099 /*! @{ */
78100 
78101 #define PUF_CFG_PUF_BLOCK_SET_KEY_MASK           (0x1U)
78102 #define PUF_CFG_PUF_BLOCK_SET_KEY_SHIFT          (0U)
78103 /*! PUF_BLOCK_SET_KEY - PUF Block Set Key Disable
78104  *  0b0..Enable the Set Key state
78105  *  0b1..Disable the Set Key state
78106  */
78107 #define PUF_CFG_PUF_BLOCK_SET_KEY(x)             (((uint32_t)(((uint32_t)(x)) << PUF_CFG_PUF_BLOCK_SET_KEY_SHIFT)) & PUF_CFG_PUF_BLOCK_SET_KEY_MASK)
78108 
78109 #define PUF_CFG_PUF_BLOCK_ENROLL_MASK            (0x2U)
78110 #define PUF_CFG_PUF_BLOCK_ENROLL_SHIFT           (1U)
78111 /*! PUF_BLOCK_ENROLL - PUF Block Enroll Disable
78112  *  0b0..Enable the Enrollment state
78113  *  0b1..Disable the Enrollment state
78114  */
78115 #define PUF_CFG_PUF_BLOCK_ENROLL(x)              (((uint32_t)(((uint32_t)(x)) << PUF_CFG_PUF_BLOCK_ENROLL_SHIFT)) & PUF_CFG_PUF_BLOCK_ENROLL_MASK)
78116 /*! @} */
78117 
78118 /*! @name KEYLOCK - PUF Key Manager Lock */
78119 /*! @{ */
78120 
78121 #define PUF_KEYLOCK_LOCK0_MASK                   (0x3U)
78122 #define PUF_KEYLOCK_LOCK0_SHIFT                  (0U)
78123 /*! LOCK0 - Lock Block 0
78124  *  0b11..SNVS Key block locked
78125  *  0b10..SNVS Key block unlocked
78126  *  0b01..SNVS Key block locked
78127  *  0b00..SNVS Key block locked
78128  */
78129 #define PUF_KEYLOCK_LOCK0(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_KEYLOCK_LOCK0_SHIFT)) & PUF_KEYLOCK_LOCK0_MASK)
78130 
78131 #define PUF_KEYLOCK_LOCK1_MASK                   (0xCU)
78132 #define PUF_KEYLOCK_LOCK1_SHIFT                  (2U)
78133 /*! LOCK1 - Lock Block 1
78134  *  0b11..OTFAD Key block locked
78135  *  0b10..OTFAD Key block unlocked
78136  *  0b01..OTFAD Key block locked
78137  *  0b00..OTFAD Key block locked
78138  */
78139 #define PUF_KEYLOCK_LOCK1(x)                     (((uint32_t)(((uint32_t)(x)) << PUF_KEYLOCK_LOCK1_SHIFT)) & PUF_KEYLOCK_LOCK1_MASK)
78140 /*! @} */
78141 
78142 /*! @name KEYENABLE - PUF Key Manager Enable */
78143 /*! @{ */
78144 
78145 #define PUF_KEYENABLE_ENABLE0_MASK               (0x3U)
78146 #define PUF_KEYENABLE_ENABLE0_SHIFT              (0U)
78147 /*! ENABLE0 - Enable Block 0
78148  *  0b11..Key block 0 disabled
78149  *  0b10..Key block 0 enabled
78150  *  0b01..Key block 0 disabled
78151  *  0b00..Key block 0 disabled
78152  */
78153 #define PUF_KEYENABLE_ENABLE0(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_KEYENABLE_ENABLE0_SHIFT)) & PUF_KEYENABLE_ENABLE0_MASK)
78154 
78155 #define PUF_KEYENABLE_ENABLE1_MASK               (0xCU)
78156 #define PUF_KEYENABLE_ENABLE1_SHIFT              (2U)
78157 /*! ENABLE1 - Enable Block 1
78158  *  0b11..Key block 1 disabled
78159  *  0b10..Key block 1 enabled
78160  *  0b01..Key block 1 disabled
78161  *  0b00..Key block 1 disabled
78162  */
78163 #define PUF_KEYENABLE_ENABLE1(x)                 (((uint32_t)(((uint32_t)(x)) << PUF_KEYENABLE_ENABLE1_SHIFT)) & PUF_KEYENABLE_ENABLE1_MASK)
78164 /*! @} */
78165 
78166 /*! @name KEYRESET - PUF Key Manager Reset */
78167 /*! @{ */
78168 
78169 #define PUF_KEYRESET_RESET0_MASK                 (0x3U)
78170 #define PUF_KEYRESET_RESET0_SHIFT                (0U)
78171 /*! RESET0 - Reset Block 0
78172  *  0b11..Do not reset key block 0
78173  *  0b10..Reset key block 0
78174  *  0b01..Do not reset key block 0
78175  *  0b00..Do not reset key block 0
78176  */
78177 #define PUF_KEYRESET_RESET0(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_KEYRESET_RESET0_SHIFT)) & PUF_KEYRESET_RESET0_MASK)
78178 
78179 #define PUF_KEYRESET_RESET1_MASK                 (0xCU)
78180 #define PUF_KEYRESET_RESET1_SHIFT                (2U)
78181 /*! RESET1 - Reset Block 1
78182  *  0b11..Do not reset key block 1
78183  *  0b10..Reset key block 1
78184  *  0b01..Do not reset key block 1
78185  *  0b00..Do not reset key block 1
78186  */
78187 #define PUF_KEYRESET_RESET1(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_KEYRESET_RESET1_SHIFT)) & PUF_KEYRESET_RESET1_MASK)
78188 /*! @} */
78189 
78190 /*! @name IDXBLK - PUF Index Block Key Output */
78191 /*! @{ */
78192 
78193 #define PUF_IDXBLK_IDXBLK0_MASK                  (0x3U)
78194 #define PUF_IDXBLK_IDXBLK0_SHIFT                 (0U)
78195 /*! IDXBLK0 - idxblk0
78196  */
78197 #define PUF_IDXBLK_IDXBLK0(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK0_SHIFT)) & PUF_IDXBLK_IDXBLK0_MASK)
78198 
78199 #define PUF_IDXBLK_IDXBLK1_MASK                  (0xCU)
78200 #define PUF_IDXBLK_IDXBLK1_SHIFT                 (2U)
78201 /*! IDXBLK1 - idxblk1
78202  */
78203 #define PUF_IDXBLK_IDXBLK1(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK1_SHIFT)) & PUF_IDXBLK_IDXBLK1_MASK)
78204 
78205 #define PUF_IDXBLK_IDXBLK2_MASK                  (0x30U)
78206 #define PUF_IDXBLK_IDXBLK2_SHIFT                 (4U)
78207 /*! IDXBLK2 - idxblk2
78208  */
78209 #define PUF_IDXBLK_IDXBLK2(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK2_SHIFT)) & PUF_IDXBLK_IDXBLK2_MASK)
78210 
78211 #define PUF_IDXBLK_IDXBLK3_MASK                  (0xC0U)
78212 #define PUF_IDXBLK_IDXBLK3_SHIFT                 (6U)
78213 /*! IDXBLK3 - idxblk3
78214  */
78215 #define PUF_IDXBLK_IDXBLK3(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK3_SHIFT)) & PUF_IDXBLK_IDXBLK3_MASK)
78216 
78217 #define PUF_IDXBLK_IDXBLK4_MASK                  (0x300U)
78218 #define PUF_IDXBLK_IDXBLK4_SHIFT                 (8U)
78219 /*! IDXBLK4 - idxblk4
78220  */
78221 #define PUF_IDXBLK_IDXBLK4(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK4_SHIFT)) & PUF_IDXBLK_IDXBLK4_MASK)
78222 
78223 #define PUF_IDXBLK_IDXBLK5_MASK                  (0xC00U)
78224 #define PUF_IDXBLK_IDXBLK5_SHIFT                 (10U)
78225 /*! IDXBLK5 - idxblk5
78226  */
78227 #define PUF_IDXBLK_IDXBLK5(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK5_SHIFT)) & PUF_IDXBLK_IDXBLK5_MASK)
78228 
78229 #define PUF_IDXBLK_IDXBLK6_MASK                  (0x3000U)
78230 #define PUF_IDXBLK_IDXBLK6_SHIFT                 (12U)
78231 /*! IDXBLK6 - idxblk6
78232  */
78233 #define PUF_IDXBLK_IDXBLK6(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK6_SHIFT)) & PUF_IDXBLK_IDXBLK6_MASK)
78234 
78235 #define PUF_IDXBLK_IDXBLK7_MASK                  (0xC000U)
78236 #define PUF_IDXBLK_IDXBLK7_SHIFT                 (14U)
78237 /*! IDXBLK7 - idxblk7
78238  */
78239 #define PUF_IDXBLK_IDXBLK7(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK7_SHIFT)) & PUF_IDXBLK_IDXBLK7_MASK)
78240 
78241 #define PUF_IDXBLK_IDXBLK8_MASK                  (0x30000U)
78242 #define PUF_IDXBLK_IDXBLK8_SHIFT                 (16U)
78243 /*! IDXBLK8 - idxblk8
78244  */
78245 #define PUF_IDXBLK_IDXBLK8(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK8_SHIFT)) & PUF_IDXBLK_IDXBLK8_MASK)
78246 
78247 #define PUF_IDXBLK_IDXBLK9_MASK                  (0xC0000U)
78248 #define PUF_IDXBLK_IDXBLK9_SHIFT                 (18U)
78249 /*! IDXBLK9 - idxblk9
78250  */
78251 #define PUF_IDXBLK_IDXBLK9(x)                    (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK9_SHIFT)) & PUF_IDXBLK_IDXBLK9_MASK)
78252 
78253 #define PUF_IDXBLK_IDXBLK10_MASK                 (0x300000U)
78254 #define PUF_IDXBLK_IDXBLK10_SHIFT                (20U)
78255 /*! IDXBLK10 - idxblk10
78256  */
78257 #define PUF_IDXBLK_IDXBLK10(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK10_SHIFT)) & PUF_IDXBLK_IDXBLK10_MASK)
78258 
78259 #define PUF_IDXBLK_IDXBLK11_MASK                 (0xC00000U)
78260 #define PUF_IDXBLK_IDXBLK11_SHIFT                (22U)
78261 /*! IDXBLK11 - idxblk11
78262  */
78263 #define PUF_IDXBLK_IDXBLK11(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK11_SHIFT)) & PUF_IDXBLK_IDXBLK11_MASK)
78264 
78265 #define PUF_IDXBLK_IDXBLK12_MASK                 (0x3000000U)
78266 #define PUF_IDXBLK_IDXBLK12_SHIFT                (24U)
78267 /*! IDXBLK12 - idxblk12
78268  */
78269 #define PUF_IDXBLK_IDXBLK12(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK12_SHIFT)) & PUF_IDXBLK_IDXBLK12_MASK)
78270 
78271 #define PUF_IDXBLK_IDXBLK13_MASK                 (0xC000000U)
78272 #define PUF_IDXBLK_IDXBLK13_SHIFT                (26U)
78273 /*! IDXBLK13 - idxblk13
78274  */
78275 #define PUF_IDXBLK_IDXBLK13(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK13_SHIFT)) & PUF_IDXBLK_IDXBLK13_MASK)
78276 
78277 #define PUF_IDXBLK_IDXBLK14_MASK                 (0x30000000U)
78278 #define PUF_IDXBLK_IDXBLK14_SHIFT                (28U)
78279 /*! IDXBLK14 - idxblk14
78280  */
78281 #define PUF_IDXBLK_IDXBLK14(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK14_SHIFT)) & PUF_IDXBLK_IDXBLK14_MASK)
78282 
78283 #define PUF_IDXBLK_IDXBLK15_MASK                 (0xC0000000U)
78284 #define PUF_IDXBLK_IDXBLK15_SHIFT                (30U)
78285 /*! IDXBLK15 - idxblk15
78286  */
78287 #define PUF_IDXBLK_IDXBLK15(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_IDXBLK15_SHIFT)) & PUF_IDXBLK_IDXBLK15_MASK)
78288 /*! @} */
78289 
78290 /*! @name IDXBLK_DP - PUF Index Block Key Output */
78291 /*! @{ */
78292 
78293 #define PUF_IDXBLK_DP_IDXBLK_DP0_MASK            (0x3U)
78294 #define PUF_IDXBLK_DP_IDXBLK_DP0_SHIFT           (0U)
78295 /*! IDXBLK_DP0 - idxblk_dp0
78296  */
78297 #define PUF_IDXBLK_DP_IDXBLK_DP0(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP0_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP0_MASK)
78298 
78299 #define PUF_IDXBLK_DP_IDXBLK_DP1_MASK            (0xCU)
78300 #define PUF_IDXBLK_DP_IDXBLK_DP1_SHIFT           (2U)
78301 /*! IDXBLK_DP1 - idxblk_dp1
78302  */
78303 #define PUF_IDXBLK_DP_IDXBLK_DP1(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP1_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP1_MASK)
78304 
78305 #define PUF_IDXBLK_DP_IDXBLK_DP2_MASK            (0x30U)
78306 #define PUF_IDXBLK_DP_IDXBLK_DP2_SHIFT           (4U)
78307 /*! IDXBLK_DP2 - idxblk_dp2
78308  */
78309 #define PUF_IDXBLK_DP_IDXBLK_DP2(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP2_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP2_MASK)
78310 
78311 #define PUF_IDXBLK_DP_IDXBLK_DP3_MASK            (0xC0U)
78312 #define PUF_IDXBLK_DP_IDXBLK_DP3_SHIFT           (6U)
78313 /*! IDXBLK_DP3 - idxblk_dp3
78314  */
78315 #define PUF_IDXBLK_DP_IDXBLK_DP3(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP3_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP3_MASK)
78316 
78317 #define PUF_IDXBLK_DP_IDXBLK_DP4_MASK            (0x300U)
78318 #define PUF_IDXBLK_DP_IDXBLK_DP4_SHIFT           (8U)
78319 /*! IDXBLK_DP4 - idxblk_dp4
78320  */
78321 #define PUF_IDXBLK_DP_IDXBLK_DP4(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP4_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP4_MASK)
78322 
78323 #define PUF_IDXBLK_DP_IDXBLK_DP5_MASK            (0xC00U)
78324 #define PUF_IDXBLK_DP_IDXBLK_DP5_SHIFT           (10U)
78325 /*! IDXBLK_DP5 - idxblk_dp5
78326  */
78327 #define PUF_IDXBLK_DP_IDXBLK_DP5(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP5_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP5_MASK)
78328 
78329 #define PUF_IDXBLK_DP_IDXBLK_DP6_MASK            (0x3000U)
78330 #define PUF_IDXBLK_DP_IDXBLK_DP6_SHIFT           (12U)
78331 /*! IDXBLK_DP6 - idxblk_dp6
78332  */
78333 #define PUF_IDXBLK_DP_IDXBLK_DP6(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP6_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP6_MASK)
78334 
78335 #define PUF_IDXBLK_DP_IDXBLK_DP7_MASK            (0xC000U)
78336 #define PUF_IDXBLK_DP_IDXBLK_DP7_SHIFT           (14U)
78337 /*! IDXBLK_DP7 - idxblk_dp7
78338  */
78339 #define PUF_IDXBLK_DP_IDXBLK_DP7(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP7_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP7_MASK)
78340 
78341 #define PUF_IDXBLK_DP_IDXBLK_DP8_MASK            (0x30000U)
78342 #define PUF_IDXBLK_DP_IDXBLK_DP8_SHIFT           (16U)
78343 /*! IDXBLK_DP8 - idxblk_dp8
78344  */
78345 #define PUF_IDXBLK_DP_IDXBLK_DP8(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP8_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP8_MASK)
78346 
78347 #define PUF_IDXBLK_DP_IDXBLK_DP9_MASK            (0xC0000U)
78348 #define PUF_IDXBLK_DP_IDXBLK_DP9_SHIFT           (18U)
78349 /*! IDXBLK_DP9 - idxblk_dp9
78350  */
78351 #define PUF_IDXBLK_DP_IDXBLK_DP9(x)              (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP9_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP9_MASK)
78352 
78353 #define PUF_IDXBLK_DP_IDXBLK_DP10_MASK           (0x300000U)
78354 #define PUF_IDXBLK_DP_IDXBLK_DP10_SHIFT          (20U)
78355 /*! IDXBLK_DP10 - idxblk_dp10
78356  */
78357 #define PUF_IDXBLK_DP_IDXBLK_DP10(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP10_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP10_MASK)
78358 
78359 #define PUF_IDXBLK_DP_IDXBLK_DP11_MASK           (0xC00000U)
78360 #define PUF_IDXBLK_DP_IDXBLK_DP11_SHIFT          (22U)
78361 /*! IDXBLK_DP11 - idxblk_dp11
78362  */
78363 #define PUF_IDXBLK_DP_IDXBLK_DP11(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP11_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP11_MASK)
78364 
78365 #define PUF_IDXBLK_DP_IDXBLK_DP12_MASK           (0x3000000U)
78366 #define PUF_IDXBLK_DP_IDXBLK_DP12_SHIFT          (24U)
78367 /*! IDXBLK_DP12 - idxblk_dp12
78368  */
78369 #define PUF_IDXBLK_DP_IDXBLK_DP12(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP12_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP12_MASK)
78370 
78371 #define PUF_IDXBLK_DP_IDXBLK_DP13_MASK           (0xC000000U)
78372 #define PUF_IDXBLK_DP_IDXBLK_DP13_SHIFT          (26U)
78373 /*! IDXBLK_DP13 - idxblk_dp13
78374  */
78375 #define PUF_IDXBLK_DP_IDXBLK_DP13(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP13_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP13_MASK)
78376 
78377 #define PUF_IDXBLK_DP_IDXBLK_DP14_MASK           (0x30000000U)
78378 #define PUF_IDXBLK_DP_IDXBLK_DP14_SHIFT          (28U)
78379 /*! IDXBLK_DP14 - idxblk_dp14
78380  */
78381 #define PUF_IDXBLK_DP_IDXBLK_DP14(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP14_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP14_MASK)
78382 
78383 #define PUF_IDXBLK_DP_IDXBLK_DP15_MASK           (0xC0000000U)
78384 #define PUF_IDXBLK_DP_IDXBLK_DP15_SHIFT          (30U)
78385 /*! IDXBLK_DP15 - idxblk_dp15
78386  */
78387 #define PUF_IDXBLK_DP_IDXBLK_DP15(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_DP_IDXBLK_DP15_SHIFT)) & PUF_IDXBLK_DP_IDXBLK_DP15_MASK)
78388 /*! @} */
78389 
78390 /*! @name KEYMASK - PUF Key Block 0 Mask Enable..PUF Key Block 1 Mask Enable */
78391 /*! @{ */
78392 
78393 #define PUF_KEYMASK_KEYMASK_MASK                 (0xFFFFFFFFU)
78394 #define PUF_KEYMASK_KEYMASK_SHIFT                (0U)
78395 /*! KEYMASK - KEYMASK1
78396  */
78397 #define PUF_KEYMASK_KEYMASK(x)                   (((uint32_t)(((uint32_t)(x)) << PUF_KEYMASK_KEYMASK_SHIFT)) & PUF_KEYMASK_KEYMASK_MASK)
78398 /*! @} */
78399 
78400 /* The count of PUF_KEYMASK */
78401 #define PUF_KEYMASK_COUNT                        (2U)
78402 
78403 /*! @name IDXBLK_STATUS - PUF Index Block Setting Status Register */
78404 /*! @{ */
78405 
78406 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS0_MASK    (0x3U)
78407 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS0_SHIFT   (0U)
78408 /*! IDXBLK_STATUS0 - idxblk_status0
78409  */
78410 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS0(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS0_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS0_MASK)
78411 
78412 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS1_MASK    (0xCU)
78413 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS1_SHIFT   (2U)
78414 /*! IDXBLK_STATUS1 - idxblk_status1
78415  */
78416 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS1(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS1_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS1_MASK)
78417 
78418 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS2_MASK    (0x30U)
78419 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS2_SHIFT   (4U)
78420 /*! IDXBLK_STATUS2 - idxblk_status2
78421  */
78422 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS2(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS2_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS2_MASK)
78423 
78424 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS3_MASK    (0xC0U)
78425 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS3_SHIFT   (6U)
78426 /*! IDXBLK_STATUS3 - idxblk_status3
78427  */
78428 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS3(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS3_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS3_MASK)
78429 
78430 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS4_MASK    (0x300U)
78431 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS4_SHIFT   (8U)
78432 /*! IDXBLK_STATUS4 - idxblk_status4
78433  */
78434 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS4(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS4_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS4_MASK)
78435 
78436 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS5_MASK    (0xC00U)
78437 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS5_SHIFT   (10U)
78438 /*! IDXBLK_STATUS5 - idxblk_status5
78439  */
78440 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS5(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS5_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS5_MASK)
78441 
78442 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS6_MASK    (0x3000U)
78443 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS6_SHIFT   (12U)
78444 /*! IDXBLK_STATUS6 - idxblk_status6
78445  */
78446 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS6(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS6_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS6_MASK)
78447 
78448 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS7_MASK    (0xC000U)
78449 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS7_SHIFT   (14U)
78450 /*! IDXBLK_STATUS7 - idxblk_status7
78451  */
78452 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS7(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS7_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS7_MASK)
78453 
78454 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS8_MASK    (0x30000U)
78455 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS8_SHIFT   (16U)
78456 /*! IDXBLK_STATUS8 - idxblk_status8
78457  */
78458 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS8(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS8_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS8_MASK)
78459 
78460 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS9_MASK    (0xC0000U)
78461 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS9_SHIFT   (18U)
78462 /*! IDXBLK_STATUS9 - idxblk_status9
78463  */
78464 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS9(x)      (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS9_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS9_MASK)
78465 
78466 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS10_MASK   (0x300000U)
78467 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS10_SHIFT  (20U)
78468 /*! IDXBLK_STATUS10 - idxblk_status10
78469  */
78470 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS10(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS10_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS10_MASK)
78471 
78472 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS11_MASK   (0xC00000U)
78473 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS11_SHIFT  (22U)
78474 /*! IDXBLK_STATUS11 - idxblk_status11
78475  */
78476 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS11(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS11_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS11_MASK)
78477 
78478 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS12_MASK   (0x3000000U)
78479 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS12_SHIFT  (24U)
78480 /*! IDXBLK_STATUS12 - idxblk_status12
78481  */
78482 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS12(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS12_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS12_MASK)
78483 
78484 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS13_MASK   (0xC000000U)
78485 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS13_SHIFT  (26U)
78486 /*! IDXBLK_STATUS13 - idxblk_status13
78487  */
78488 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS13(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS13_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS13_MASK)
78489 
78490 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS14_MASK   (0x30000000U)
78491 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS14_SHIFT  (28U)
78492 /*! IDXBLK_STATUS14 - idxblk_status14
78493  */
78494 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS14(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS14_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS14_MASK)
78495 
78496 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS15_MASK   (0xC0000000U)
78497 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS15_SHIFT  (30U)
78498 /*! IDXBLK_STATUS15 - idxblk_status15
78499  */
78500 #define PUF_IDXBLK_STATUS_IDXBLK_STATUS15(x)     (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_STATUS_IDXBLK_STATUS15_SHIFT)) & PUF_IDXBLK_STATUS_IDXBLK_STATUS15_MASK)
78501 /*! @} */
78502 
78503 /*! @name IDXBLK_SHIFT - PUF Key Manager Shift Status */
78504 /*! @{ */
78505 
78506 #define PUF_IDXBLK_SHIFT_IND_KEY0_MASK           (0xFU)
78507 #define PUF_IDXBLK_SHIFT_IND_KEY0_SHIFT          (0U)
78508 /*! IND_KEY0 - Index of key space in block 0
78509  */
78510 #define PUF_IDXBLK_SHIFT_IND_KEY0(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_SHIFT_IND_KEY0_SHIFT)) & PUF_IDXBLK_SHIFT_IND_KEY0_MASK)
78511 
78512 #define PUF_IDXBLK_SHIFT_IND_KEY1_MASK           (0xF0U)
78513 #define PUF_IDXBLK_SHIFT_IND_KEY1_SHIFT          (4U)
78514 /*! IND_KEY1 - Index of key space in block 1
78515  */
78516 #define PUF_IDXBLK_SHIFT_IND_KEY1(x)             (((uint32_t)(((uint32_t)(x)) << PUF_IDXBLK_SHIFT_IND_KEY1_SHIFT)) & PUF_IDXBLK_SHIFT_IND_KEY1_MASK)
78517 /*! @} */
78518 
78519 
78520 /*!
78521  * @}
78522  */ /* end of group PUF_Register_Masks */
78523 
78524 
78525 /* PUF - Peripheral instance base addresses */
78526 /** Peripheral KEY_MANAGER__PUF base address */
78527 #define KEY_MANAGER__PUF_BASE                    (0x40C82000u)
78528 /** Peripheral KEY_MANAGER__PUF base pointer */
78529 #define KEY_MANAGER__PUF                         ((PUF_Type *)KEY_MANAGER__PUF_BASE)
78530 /** Array initializer of PUF peripheral base addresses */
78531 #define PUF_BASE_ADDRS                           { KEY_MANAGER__PUF_BASE }
78532 /** Array initializer of PUF peripheral base pointers */
78533 #define PUF_BASE_PTRS                            { KEY_MANAGER__PUF }
78534 
78535 /*!
78536  * @}
78537  */ /* end of group PUF_Peripheral_Access_Layer */
78538 
78539 
78540 /* ----------------------------------------------------------------------------
78541    -- PWM Peripheral Access Layer
78542    ---------------------------------------------------------------------------- */
78543 
78544 /*!
78545  * @addtogroup PWM_Peripheral_Access_Layer PWM Peripheral Access Layer
78546  * @{
78547  */
78548 
78549 /** PWM - Register Layout Typedef */
78550 typedef struct {
78551   struct {                                         /* offset: 0x0, array step: 0x60 */
78552     __I  uint16_t CNT;                               /**< Counter Register, array offset: 0x0, array step: 0x60 */
78553     __IO uint16_t INIT;                              /**< Initial Count Register, array offset: 0x2, array step: 0x60 */
78554     __IO uint16_t CTRL2;                             /**< Control 2 Register, array offset: 0x4, array step: 0x60 */
78555     __IO uint16_t CTRL;                              /**< Control Register, array offset: 0x6, array step: 0x60 */
78556          uint8_t RESERVED_0[2];
78557     __IO uint16_t VAL0;                              /**< Value Register 0, array offset: 0xA, array step: 0x60 */
78558     __IO uint16_t FRACVAL1;                          /**< Fractional Value Register 1, array offset: 0xC, array step: 0x60 */
78559     __IO uint16_t VAL1;                              /**< Value Register 1, array offset: 0xE, array step: 0x60 */
78560     __IO uint16_t FRACVAL2;                          /**< Fractional Value Register 2, array offset: 0x10, array step: 0x60 */
78561     __IO uint16_t VAL2;                              /**< Value Register 2, array offset: 0x12, array step: 0x60 */
78562     __IO uint16_t FRACVAL3;                          /**< Fractional Value Register 3, array offset: 0x14, array step: 0x60 */
78563     __IO uint16_t VAL3;                              /**< Value Register 3, array offset: 0x16, array step: 0x60 */
78564     __IO uint16_t FRACVAL4;                          /**< Fractional Value Register 4, array offset: 0x18, array step: 0x60 */
78565     __IO uint16_t VAL4;                              /**< Value Register 4, array offset: 0x1A, array step: 0x60 */
78566     __IO uint16_t FRACVAL5;                          /**< Fractional Value Register 5, array offset: 0x1C, array step: 0x60 */
78567     __IO uint16_t VAL5;                              /**< Value Register 5, array offset: 0x1E, array step: 0x60 */
78568     __IO uint16_t FRCTRL;                            /**< Fractional Control Register, array offset: 0x20, array step: 0x60 */
78569     __IO uint16_t OCTRL;                             /**< Output Control Register, array offset: 0x22, array step: 0x60 */
78570     __IO uint16_t STS;                               /**< Status Register, array offset: 0x24, array step: 0x60 */
78571     __IO uint16_t INTEN;                             /**< Interrupt Enable Register, array offset: 0x26, array step: 0x60 */
78572     __IO uint16_t DMAEN;                             /**< DMA Enable Register, array offset: 0x28, array step: 0x60 */
78573     __IO uint16_t TCTRL;                             /**< Output Trigger Control Register, array offset: 0x2A, array step: 0x60 */
78574     __IO uint16_t DISMAP[1];                         /**< Fault Disable Mapping Register 0, array offset: 0x2C, array step: index*0x60, index2*0x2 */
78575          uint8_t RESERVED_1[2];
78576     __IO uint16_t DTCNT0;                            /**< Deadtime Count Register 0, array offset: 0x30, array step: 0x60 */
78577     __IO uint16_t DTCNT1;                            /**< Deadtime Count Register 1, array offset: 0x32, array step: 0x60 */
78578     __IO uint16_t CAPTCTRLA;                         /**< Capture Control A Register, array offset: 0x34, array step: 0x60 */
78579     __IO uint16_t CAPTCOMPA;                         /**< Capture Compare A Register, array offset: 0x36, array step: 0x60 */
78580     __IO uint16_t CAPTCTRLB;                         /**< Capture Control B Register, array offset: 0x38, array step: 0x60 */
78581     __IO uint16_t CAPTCOMPB;                         /**< Capture Compare B Register, array offset: 0x3A, array step: 0x60 */
78582     __IO uint16_t CAPTCTRLX;                         /**< Capture Control X Register, array offset: 0x3C, array step: 0x60 */
78583     __IO uint16_t CAPTCOMPX;                         /**< Capture Compare X Register, array offset: 0x3E, array step: 0x60 */
78584     __I  uint16_t CVAL0;                             /**< Capture Value 0 Register, array offset: 0x40, array step: 0x60 */
78585     __I  uint16_t CVAL0CYC;                          /**< Capture Value 0 Cycle Register, array offset: 0x42, array step: 0x60 */
78586     __I  uint16_t CVAL1;                             /**< Capture Value 1 Register, array offset: 0x44, array step: 0x60 */
78587     __I  uint16_t CVAL1CYC;                          /**< Capture Value 1 Cycle Register, array offset: 0x46, array step: 0x60 */
78588     __I  uint16_t CVAL2;                             /**< Capture Value 2 Register, array offset: 0x48, array step: 0x60 */
78589     __I  uint16_t CVAL2CYC;                          /**< Capture Value 2 Cycle Register, array offset: 0x4A, array step: 0x60 */
78590     __I  uint16_t CVAL3;                             /**< Capture Value 3 Register, array offset: 0x4C, array step: 0x60 */
78591     __I  uint16_t CVAL3CYC;                          /**< Capture Value 3 Cycle Register, array offset: 0x4E, array step: 0x60 */
78592     __I  uint16_t CVAL4;                             /**< Capture Value 4 Register, array offset: 0x50, array step: 0x60 */
78593     __I  uint16_t CVAL4CYC;                          /**< Capture Value 4 Cycle Register, array offset: 0x52, array step: 0x60 */
78594     __I  uint16_t CVAL5;                             /**< Capture Value 5 Register, array offset: 0x54, array step: 0x60 */
78595     __I  uint16_t CVAL5CYC;                          /**< Capture Value 5 Cycle Register, array offset: 0x56, array step: 0x60 */
78596          uint8_t RESERVED_2[8];
78597   } SM[4];
78598   __IO uint16_t OUTEN;                             /**< Output Enable Register, offset: 0x180 */
78599   __IO uint16_t MASK;                              /**< Mask Register, offset: 0x182 */
78600   __IO uint16_t SWCOUT;                            /**< Software Controlled Output Register, offset: 0x184 */
78601   __IO uint16_t DTSRCSEL;                          /**< PWM Source Select Register, offset: 0x186 */
78602   __IO uint16_t MCTRL;                             /**< Master Control Register, offset: 0x188 */
78603   __IO uint16_t MCTRL2;                            /**< Master Control 2 Register, offset: 0x18A */
78604   __IO uint16_t FCTRL;                             /**< Fault Control Register, offset: 0x18C */
78605   __IO uint16_t FSTS;                              /**< Fault Status Register, offset: 0x18E */
78606   __IO uint16_t FFILT;                             /**< Fault Filter Register, offset: 0x190 */
78607   __IO uint16_t FTST;                              /**< Fault Test Register, offset: 0x192 */
78608   __IO uint16_t FCTRL2;                            /**< Fault Control 2 Register, offset: 0x194 */
78609 } PWM_Type;
78610 
78611 /* ----------------------------------------------------------------------------
78612    -- PWM Register Masks
78613    ---------------------------------------------------------------------------- */
78614 
78615 /*!
78616  * @addtogroup PWM_Register_Masks PWM Register Masks
78617  * @{
78618  */
78619 
78620 /*! @name CNT - Counter Register */
78621 /*! @{ */
78622 
78623 #define PWM_CNT_CNT_MASK                         (0xFFFFU)
78624 #define PWM_CNT_CNT_SHIFT                        (0U)
78625 /*! CNT - Counter Register Bits
78626  */
78627 #define PWM_CNT_CNT(x)                           (((uint16_t)(((uint16_t)(x)) << PWM_CNT_CNT_SHIFT)) & PWM_CNT_CNT_MASK)
78628 /*! @} */
78629 
78630 /* The count of PWM_CNT */
78631 #define PWM_CNT_COUNT                            (4U)
78632 
78633 /*! @name INIT - Initial Count Register */
78634 /*! @{ */
78635 
78636 #define PWM_INIT_INIT_MASK                       (0xFFFFU)
78637 #define PWM_INIT_INIT_SHIFT                      (0U)
78638 /*! INIT - Initial Count Register Bits
78639  */
78640 #define PWM_INIT_INIT(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_INIT_INIT_SHIFT)) & PWM_INIT_INIT_MASK)
78641 /*! @} */
78642 
78643 /* The count of PWM_INIT */
78644 #define PWM_INIT_COUNT                           (4U)
78645 
78646 /*! @name CTRL2 - Control 2 Register */
78647 /*! @{ */
78648 
78649 #define PWM_CTRL2_CLK_SEL_MASK                   (0x3U)
78650 #define PWM_CTRL2_CLK_SEL_SHIFT                  (0U)
78651 /*! CLK_SEL - Clock Source Select
78652  *  0b00..The IPBus clock is used as the clock for the local prescaler and counter.
78653  *  0b01..EXT_CLK is used as the clock for the local prescaler and counter.
78654  *  0b10..Submodule 0's clock (AUX_CLK) is used as the source clock for the local prescaler and counter. This
78655  *        setting should not be used in submodule 0 as it will force the clock to logic 0.
78656  *  0b11..reserved
78657  */
78658 #define PWM_CTRL2_CLK_SEL(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_CLK_SEL_SHIFT)) & PWM_CTRL2_CLK_SEL_MASK)
78659 
78660 #define PWM_CTRL2_RELOAD_SEL_MASK                (0x4U)
78661 #define PWM_CTRL2_RELOAD_SEL_SHIFT               (2U)
78662 /*! RELOAD_SEL - Reload Source Select
78663  *  0b0..The local RELOAD signal is used to reload registers.
78664  *  0b1..The master RELOAD signal (from submodule 0) is used to reload registers. This setting should not be used
78665  *       in submodule 0 as it will force the RELOAD signal to logic 0.
78666  */
78667 #define PWM_CTRL2_RELOAD_SEL(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_RELOAD_SEL_SHIFT)) & PWM_CTRL2_RELOAD_SEL_MASK)
78668 
78669 #define PWM_CTRL2_FORCE_SEL_MASK                 (0x38U)
78670 #define PWM_CTRL2_FORCE_SEL_SHIFT                (3U)
78671 /*! FORCE_SEL - This read/write bit determines the source of the FORCE OUTPUT signal for this submodule.
78672  *  0b000..The local force signal, CTRL2[FORCE], from this submodule is used to force updates.
78673  *  0b001..The master force signal from submodule 0 is used to force updates. This setting should not be used in
78674  *         submodule 0 as it will hold the FORCE OUTPUT signal to logic 0.
78675  *  0b010..The local reload signal from this submodule is used to force updates without regard to the state of LDOK.
78676  *  0b011..The master reload signal from submodule0 is used to force updates if LDOK is set. This setting should
78677  *         not be used in submodule0 as it will hold the FORCE OUTPUT signal to logic 0.
78678  *  0b100..The local sync signal from this submodule is used to force updates.
78679  *  0b101..The master sync signal from submodule0 is used to force updates. This setting should not be used in
78680  *         submodule0 as it will hold the FORCE OUTPUT signal to logic 0.
78681  *  0b110..The external force signal, EXT_FORCE, from outside the PWM module causes updates.
78682  *  0b111..The external sync signal, EXT_SYNC, from outside the PWM module causes updates.
78683  */
78684 #define PWM_CTRL2_FORCE_SEL(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_FORCE_SEL_SHIFT)) & PWM_CTRL2_FORCE_SEL_MASK)
78685 
78686 #define PWM_CTRL2_FORCE_MASK                     (0x40U)
78687 #define PWM_CTRL2_FORCE_SHIFT                    (6U)
78688 /*! FORCE - Force Initialization
78689  */
78690 #define PWM_CTRL2_FORCE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_FORCE_SHIFT)) & PWM_CTRL2_FORCE_MASK)
78691 
78692 #define PWM_CTRL2_FRCEN_MASK                     (0x80U)
78693 #define PWM_CTRL2_FRCEN_SHIFT                    (7U)
78694 /*! FRCEN - FRCEN
78695  *  0b0..Initialization from a FORCE_OUT is disabled.
78696  *  0b1..Initialization from a FORCE_OUT is enabled.
78697  */
78698 #define PWM_CTRL2_FRCEN(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_FRCEN_SHIFT)) & PWM_CTRL2_FRCEN_MASK)
78699 
78700 #define PWM_CTRL2_INIT_SEL_MASK                  (0x300U)
78701 #define PWM_CTRL2_INIT_SEL_SHIFT                 (8U)
78702 /*! INIT_SEL - Initialization Control Select
78703  *  0b00..Local sync (PWM_X) causes initialization.
78704  *  0b01..Master reload from submodule 0 causes initialization. This setting should not be used in submodule 0 as
78705  *        it will force the INIT signal to logic 0. The submodule counter will only reinitialize when a master
78706  *        reload occurs.
78707  *  0b10..Master sync from submodule 0 causes initialization. This setting should not be used in submodule 0 as it
78708  *        will force the INIT signal to logic 0.
78709  *  0b11..EXT_SYNC causes initialization.
78710  */
78711 #define PWM_CTRL2_INIT_SEL(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_INIT_SEL_SHIFT)) & PWM_CTRL2_INIT_SEL_MASK)
78712 
78713 #define PWM_CTRL2_PWMX_INIT_MASK                 (0x400U)
78714 #define PWM_CTRL2_PWMX_INIT_SHIFT                (10U)
78715 /*! PWMX_INIT - PWM_X Initial Value
78716  */
78717 #define PWM_CTRL2_PWMX_INIT(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_PWMX_INIT_SHIFT)) & PWM_CTRL2_PWMX_INIT_MASK)
78718 
78719 #define PWM_CTRL2_PWM45_INIT_MASK                (0x800U)
78720 #define PWM_CTRL2_PWM45_INIT_SHIFT               (11U)
78721 /*! PWM45_INIT - PWM45 Initial Value
78722  */
78723 #define PWM_CTRL2_PWM45_INIT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_PWM45_INIT_SHIFT)) & PWM_CTRL2_PWM45_INIT_MASK)
78724 
78725 #define PWM_CTRL2_PWM23_INIT_MASK                (0x1000U)
78726 #define PWM_CTRL2_PWM23_INIT_SHIFT               (12U)
78727 /*! PWM23_INIT - PWM23 Initial Value
78728  */
78729 #define PWM_CTRL2_PWM23_INIT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_PWM23_INIT_SHIFT)) & PWM_CTRL2_PWM23_INIT_MASK)
78730 
78731 #define PWM_CTRL2_INDEP_MASK                     (0x2000U)
78732 #define PWM_CTRL2_INDEP_SHIFT                    (13U)
78733 /*! INDEP - Independent or Complementary Pair Operation
78734  *  0b0..PWM_A and PWM_B form a complementary PWM pair.
78735  *  0b1..PWM_A and PWM_B outputs are independent PWMs.
78736  */
78737 #define PWM_CTRL2_INDEP(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_INDEP_SHIFT)) & PWM_CTRL2_INDEP_MASK)
78738 
78739 #define PWM_CTRL2_WAITEN_MASK                    (0x4000U)
78740 #define PWM_CTRL2_WAITEN_SHIFT                   (14U)
78741 /*! WAITEN - WAIT Enable
78742  */
78743 #define PWM_CTRL2_WAITEN(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_WAITEN_SHIFT)) & PWM_CTRL2_WAITEN_MASK)
78744 
78745 #define PWM_CTRL2_DBGEN_MASK                     (0x8000U)
78746 #define PWM_CTRL2_DBGEN_SHIFT                    (15U)
78747 /*! DBGEN - Debug Enable
78748  */
78749 #define PWM_CTRL2_DBGEN(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_CTRL2_DBGEN_SHIFT)) & PWM_CTRL2_DBGEN_MASK)
78750 /*! @} */
78751 
78752 /* The count of PWM_CTRL2 */
78753 #define PWM_CTRL2_COUNT                          (4U)
78754 
78755 /*! @name CTRL - Control Register */
78756 /*! @{ */
78757 
78758 #define PWM_CTRL_DBLEN_MASK                      (0x1U)
78759 #define PWM_CTRL_DBLEN_SHIFT                     (0U)
78760 /*! DBLEN - Double Switching Enable
78761  *  0b0..Double switching disabled.
78762  *  0b1..Double switching enabled.
78763  */
78764 #define PWM_CTRL_DBLEN(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_DBLEN_SHIFT)) & PWM_CTRL_DBLEN_MASK)
78765 
78766 #define PWM_CTRL_DBLX_MASK                       (0x2U)
78767 #define PWM_CTRL_DBLX_SHIFT                      (1U)
78768 /*! DBLX - PWMX Double Switching Enable
78769  *  0b0..PWMX double pulse disabled.
78770  *  0b1..PWMX double pulse enabled.
78771  */
78772 #define PWM_CTRL_DBLX(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_DBLX_SHIFT)) & PWM_CTRL_DBLX_MASK)
78773 
78774 #define PWM_CTRL_LDMOD_MASK                      (0x4U)
78775 #define PWM_CTRL_LDMOD_SHIFT                     (2U)
78776 /*! LDMOD - Load Mode Select
78777  *  0b0..Buffered registers of this submodule are loaded and take effect at the next PWM reload if MCTRL[LDOK] is set.
78778  *  0b1..Buffered registers of this submodule are loaded and take effect immediately upon MCTRL[LDOK] being set.
78779  *       In this case it is not necessary to set CTRL[FULL] or CTRL[HALF].
78780  */
78781 #define PWM_CTRL_LDMOD(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_LDMOD_SHIFT)) & PWM_CTRL_LDMOD_MASK)
78782 
78783 #define PWM_CTRL_SPLIT_MASK                      (0x8U)
78784 #define PWM_CTRL_SPLIT_SHIFT                     (3U)
78785 /*! SPLIT - Split the DBLPWM signal to PWMA and PWMB
78786  *  0b0..DBLPWM is not split. PWMA and PWMB each have double pulses.
78787  *  0b1..DBLPWM is split to PWMA and PWMB.
78788  */
78789 #define PWM_CTRL_SPLIT(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_SPLIT_SHIFT)) & PWM_CTRL_SPLIT_MASK)
78790 
78791 #define PWM_CTRL_PRSC_MASK                       (0x70U)
78792 #define PWM_CTRL_PRSC_SHIFT                      (4U)
78793 /*! PRSC - Prescaler
78794  *  0b000..Prescaler 1
78795  *  0b001..Prescaler 2
78796  *  0b010..Prescaler 4
78797  *  0b011..Prescaler 8
78798  *  0b100..Prescaler 16
78799  *  0b101..Prescaler 32
78800  *  0b110..Prescaler 64
78801  *  0b111..Prescaler 128
78802  */
78803 #define PWM_CTRL_PRSC(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_PRSC_SHIFT)) & PWM_CTRL_PRSC_MASK)
78804 
78805 #define PWM_CTRL_COMPMODE_MASK                   (0x80U)
78806 #define PWM_CTRL_COMPMODE_SHIFT                  (7U)
78807 /*! COMPMODE - Compare Mode
78808  *  0b0..The VAL* registers and the PWM counter are compared using an "equal to" method. This means that PWM edges
78809  *       are only produced when the counter is equal to one of the VAL* register values. This implies that a PWMA
78810  *       output that is high at the end of a period will maintain this state until a match with VAL3 clears the
78811  *       output in the following period.
78812  *  0b1..The VAL* registers and the PWM counter are compared using an "equal to or greater than" method. This
78813  *       means that PWM edges are produced when the counter is equal to or greater than one of the VAL* register
78814  *       values. This implies that a PWMA output that is high at the end of a period could go low at the start of the
78815  *       next period if the starting counter value is greater than (but not necessarily equal to) the new VAL3 value.
78816  */
78817 #define PWM_CTRL_COMPMODE(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_COMPMODE_SHIFT)) & PWM_CTRL_COMPMODE_MASK)
78818 
78819 #define PWM_CTRL_DT_MASK                         (0x300U)
78820 #define PWM_CTRL_DT_SHIFT                        (8U)
78821 /*! DT - Deadtime
78822  */
78823 #define PWM_CTRL_DT(x)                           (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_DT_SHIFT)) & PWM_CTRL_DT_MASK)
78824 
78825 #define PWM_CTRL_FULL_MASK                       (0x400U)
78826 #define PWM_CTRL_FULL_SHIFT                      (10U)
78827 /*! FULL - Full Cycle Reload
78828  *  0b0..Full-cycle reloads disabled.
78829  *  0b1..Full-cycle reloads enabled.
78830  */
78831 #define PWM_CTRL_FULL(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_FULL_SHIFT)) & PWM_CTRL_FULL_MASK)
78832 
78833 #define PWM_CTRL_HALF_MASK                       (0x800U)
78834 #define PWM_CTRL_HALF_SHIFT                      (11U)
78835 /*! HALF - Half Cycle Reload
78836  *  0b0..Half-cycle reloads disabled.
78837  *  0b1..Half-cycle reloads enabled.
78838  */
78839 #define PWM_CTRL_HALF(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_HALF_SHIFT)) & PWM_CTRL_HALF_MASK)
78840 
78841 #define PWM_CTRL_LDFQ_MASK                       (0xF000U)
78842 #define PWM_CTRL_LDFQ_SHIFT                      (12U)
78843 /*! LDFQ - Load Frequency
78844  *  0b0000..Every PWM opportunity
78845  *  0b0001..Every 2 PWM opportunities
78846  *  0b0010..Every 3 PWM opportunities
78847  *  0b0011..Every 4 PWM opportunities
78848  *  0b0100..Every 5 PWM opportunities
78849  *  0b0101..Every 6 PWM opportunities
78850  *  0b0110..Every 7 PWM opportunities
78851  *  0b0111..Every 8 PWM opportunities
78852  *  0b1000..Every 9 PWM opportunities
78853  *  0b1001..Every 10 PWM opportunities
78854  *  0b1010..Every 11 PWM opportunities
78855  *  0b1011..Every 12 PWM opportunities
78856  *  0b1100..Every 13 PWM opportunities
78857  *  0b1101..Every 14 PWM opportunities
78858  *  0b1110..Every 15 PWM opportunities
78859  *  0b1111..Every 16 PWM opportunities
78860  */
78861 #define PWM_CTRL_LDFQ(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_CTRL_LDFQ_SHIFT)) & PWM_CTRL_LDFQ_MASK)
78862 /*! @} */
78863 
78864 /* The count of PWM_CTRL */
78865 #define PWM_CTRL_COUNT                           (4U)
78866 
78867 /*! @name VAL0 - Value Register 0 */
78868 /*! @{ */
78869 
78870 #define PWM_VAL0_VAL0_MASK                       (0xFFFFU)
78871 #define PWM_VAL0_VAL0_SHIFT                      (0U)
78872 /*! VAL0 - Value Register 0
78873  */
78874 #define PWM_VAL0_VAL0(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL0_VAL0_SHIFT)) & PWM_VAL0_VAL0_MASK)
78875 /*! @} */
78876 
78877 /* The count of PWM_VAL0 */
78878 #define PWM_VAL0_COUNT                           (4U)
78879 
78880 /*! @name FRACVAL1 - Fractional Value Register 1 */
78881 /*! @{ */
78882 
78883 #define PWM_FRACVAL1_FRACVAL1_MASK               (0xF800U)
78884 #define PWM_FRACVAL1_FRACVAL1_SHIFT              (11U)
78885 /*! FRACVAL1 - Fractional Value 1 Register
78886  */
78887 #define PWM_FRACVAL1_FRACVAL1(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_FRACVAL1_FRACVAL1_SHIFT)) & PWM_FRACVAL1_FRACVAL1_MASK)
78888 /*! @} */
78889 
78890 /* The count of PWM_FRACVAL1 */
78891 #define PWM_FRACVAL1_COUNT                       (4U)
78892 
78893 /*! @name VAL1 - Value Register 1 */
78894 /*! @{ */
78895 
78896 #define PWM_VAL1_VAL1_MASK                       (0xFFFFU)
78897 #define PWM_VAL1_VAL1_SHIFT                      (0U)
78898 /*! VAL1 - Value Register 1
78899  */
78900 #define PWM_VAL1_VAL1(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL1_VAL1_SHIFT)) & PWM_VAL1_VAL1_MASK)
78901 /*! @} */
78902 
78903 /* The count of PWM_VAL1 */
78904 #define PWM_VAL1_COUNT                           (4U)
78905 
78906 /*! @name FRACVAL2 - Fractional Value Register 2 */
78907 /*! @{ */
78908 
78909 #define PWM_FRACVAL2_FRACVAL2_MASK               (0xF800U)
78910 #define PWM_FRACVAL2_FRACVAL2_SHIFT              (11U)
78911 /*! FRACVAL2 - Fractional Value 2
78912  */
78913 #define PWM_FRACVAL2_FRACVAL2(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_FRACVAL2_FRACVAL2_SHIFT)) & PWM_FRACVAL2_FRACVAL2_MASK)
78914 /*! @} */
78915 
78916 /* The count of PWM_FRACVAL2 */
78917 #define PWM_FRACVAL2_COUNT                       (4U)
78918 
78919 /*! @name VAL2 - Value Register 2 */
78920 /*! @{ */
78921 
78922 #define PWM_VAL2_VAL2_MASK                       (0xFFFFU)
78923 #define PWM_VAL2_VAL2_SHIFT                      (0U)
78924 /*! VAL2 - Value Register 2
78925  */
78926 #define PWM_VAL2_VAL2(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL2_VAL2_SHIFT)) & PWM_VAL2_VAL2_MASK)
78927 /*! @} */
78928 
78929 /* The count of PWM_VAL2 */
78930 #define PWM_VAL2_COUNT                           (4U)
78931 
78932 /*! @name FRACVAL3 - Fractional Value Register 3 */
78933 /*! @{ */
78934 
78935 #define PWM_FRACVAL3_FRACVAL3_MASK               (0xF800U)
78936 #define PWM_FRACVAL3_FRACVAL3_SHIFT              (11U)
78937 /*! FRACVAL3 - Fractional Value 3
78938  */
78939 #define PWM_FRACVAL3_FRACVAL3(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_FRACVAL3_FRACVAL3_SHIFT)) & PWM_FRACVAL3_FRACVAL3_MASK)
78940 /*! @} */
78941 
78942 /* The count of PWM_FRACVAL3 */
78943 #define PWM_FRACVAL3_COUNT                       (4U)
78944 
78945 /*! @name VAL3 - Value Register 3 */
78946 /*! @{ */
78947 
78948 #define PWM_VAL3_VAL3_MASK                       (0xFFFFU)
78949 #define PWM_VAL3_VAL3_SHIFT                      (0U)
78950 /*! VAL3 - Value Register 3
78951  */
78952 #define PWM_VAL3_VAL3(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL3_VAL3_SHIFT)) & PWM_VAL3_VAL3_MASK)
78953 /*! @} */
78954 
78955 /* The count of PWM_VAL3 */
78956 #define PWM_VAL3_COUNT                           (4U)
78957 
78958 /*! @name FRACVAL4 - Fractional Value Register 4 */
78959 /*! @{ */
78960 
78961 #define PWM_FRACVAL4_FRACVAL4_MASK               (0xF800U)
78962 #define PWM_FRACVAL4_FRACVAL4_SHIFT              (11U)
78963 /*! FRACVAL4 - Fractional Value 4
78964  */
78965 #define PWM_FRACVAL4_FRACVAL4(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_FRACVAL4_FRACVAL4_SHIFT)) & PWM_FRACVAL4_FRACVAL4_MASK)
78966 /*! @} */
78967 
78968 /* The count of PWM_FRACVAL4 */
78969 #define PWM_FRACVAL4_COUNT                       (4U)
78970 
78971 /*! @name VAL4 - Value Register 4 */
78972 /*! @{ */
78973 
78974 #define PWM_VAL4_VAL4_MASK                       (0xFFFFU)
78975 #define PWM_VAL4_VAL4_SHIFT                      (0U)
78976 /*! VAL4 - Value Register 4
78977  */
78978 #define PWM_VAL4_VAL4(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL4_VAL4_SHIFT)) & PWM_VAL4_VAL4_MASK)
78979 /*! @} */
78980 
78981 /* The count of PWM_VAL4 */
78982 #define PWM_VAL4_COUNT                           (4U)
78983 
78984 /*! @name FRACVAL5 - Fractional Value Register 5 */
78985 /*! @{ */
78986 
78987 #define PWM_FRACVAL5_FRACVAL5_MASK               (0xF800U)
78988 #define PWM_FRACVAL5_FRACVAL5_SHIFT              (11U)
78989 /*! FRACVAL5 - Fractional Value 5
78990  */
78991 #define PWM_FRACVAL5_FRACVAL5(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_FRACVAL5_FRACVAL5_SHIFT)) & PWM_FRACVAL5_FRACVAL5_MASK)
78992 /*! @} */
78993 
78994 /* The count of PWM_FRACVAL5 */
78995 #define PWM_FRACVAL5_COUNT                       (4U)
78996 
78997 /*! @name VAL5 - Value Register 5 */
78998 /*! @{ */
78999 
79000 #define PWM_VAL5_VAL5_MASK                       (0xFFFFU)
79001 #define PWM_VAL5_VAL5_SHIFT                      (0U)
79002 /*! VAL5 - Value Register 5
79003  */
79004 #define PWM_VAL5_VAL5(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_VAL5_VAL5_SHIFT)) & PWM_VAL5_VAL5_MASK)
79005 /*! @} */
79006 
79007 /* The count of PWM_VAL5 */
79008 #define PWM_VAL5_COUNT                           (4U)
79009 
79010 /*! @name FRCTRL - Fractional Control Register */
79011 /*! @{ */
79012 
79013 #define PWM_FRCTRL_FRAC1_EN_MASK                 (0x2U)
79014 #define PWM_FRCTRL_FRAC1_EN_SHIFT                (1U)
79015 /*! FRAC1_EN - Fractional Cycle PWM Period Enable
79016  *  0b0..Disable fractional cycle length for the PWM period.
79017  *  0b1..Enable fractional cycle length for the PWM period.
79018  */
79019 #define PWM_FRCTRL_FRAC1_EN(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_FRCTRL_FRAC1_EN_SHIFT)) & PWM_FRCTRL_FRAC1_EN_MASK)
79020 
79021 #define PWM_FRCTRL_FRAC23_EN_MASK                (0x4U)
79022 #define PWM_FRCTRL_FRAC23_EN_SHIFT               (2U)
79023 /*! FRAC23_EN - Fractional Cycle Placement Enable for PWM_A
79024  *  0b0..Disable fractional cycle placement for PWM_A.
79025  *  0b1..Enable fractional cycle placement for PWM_A.
79026  */
79027 #define PWM_FRCTRL_FRAC23_EN(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_FRCTRL_FRAC23_EN_SHIFT)) & PWM_FRCTRL_FRAC23_EN_MASK)
79028 
79029 #define PWM_FRCTRL_FRAC45_EN_MASK                (0x10U)
79030 #define PWM_FRCTRL_FRAC45_EN_SHIFT               (4U)
79031 /*! FRAC45_EN - Fractional Cycle Placement Enable for PWM_B
79032  *  0b0..Disable fractional cycle placement for PWM_B.
79033  *  0b1..Enable fractional cycle placement for PWM_B.
79034  */
79035 #define PWM_FRCTRL_FRAC45_EN(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_FRCTRL_FRAC45_EN_SHIFT)) & PWM_FRCTRL_FRAC45_EN_MASK)
79036 
79037 #define PWM_FRCTRL_TEST_MASK                     (0x8000U)
79038 #define PWM_FRCTRL_TEST_SHIFT                    (15U)
79039 /*! TEST - Test Status Bit
79040  */
79041 #define PWM_FRCTRL_TEST(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_FRCTRL_TEST_SHIFT)) & PWM_FRCTRL_TEST_MASK)
79042 /*! @} */
79043 
79044 /* The count of PWM_FRCTRL */
79045 #define PWM_FRCTRL_COUNT                         (4U)
79046 
79047 /*! @name OCTRL - Output Control Register */
79048 /*! @{ */
79049 
79050 #define PWM_OCTRL_PWMXFS_MASK                    (0x3U)
79051 #define PWM_OCTRL_PWMXFS_SHIFT                   (0U)
79052 /*! PWMXFS - PWM_X Fault State
79053  *  0b00..Output is forced to logic 0 state prior to consideration of output polarity control.
79054  *  0b01..Output is forced to logic 1 state prior to consideration of output polarity control.
79055  *  0b10, 0b11..Output is tristated.
79056  */
79057 #define PWM_OCTRL_PWMXFS(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMXFS_SHIFT)) & PWM_OCTRL_PWMXFS_MASK)
79058 
79059 #define PWM_OCTRL_PWMBFS_MASK                    (0xCU)
79060 #define PWM_OCTRL_PWMBFS_SHIFT                   (2U)
79061 /*! PWMBFS - PWM_B Fault State
79062  *  0b00..Output is forced to logic 0 state prior to consideration of output polarity control.
79063  *  0b01..Output is forced to logic 1 state prior to consideration of output polarity control.
79064  *  0b10, 0b11..Output is tristated.
79065  */
79066 #define PWM_OCTRL_PWMBFS(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMBFS_SHIFT)) & PWM_OCTRL_PWMBFS_MASK)
79067 
79068 #define PWM_OCTRL_PWMAFS_MASK                    (0x30U)
79069 #define PWM_OCTRL_PWMAFS_SHIFT                   (4U)
79070 /*! PWMAFS - PWM_A Fault State
79071  *  0b00..Output is forced to logic 0 state prior to consideration of output polarity control.
79072  *  0b01..Output is forced to logic 1 state prior to consideration of output polarity control.
79073  *  0b10, 0b11..Output is tristated.
79074  */
79075 #define PWM_OCTRL_PWMAFS(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMAFS_SHIFT)) & PWM_OCTRL_PWMAFS_MASK)
79076 
79077 #define PWM_OCTRL_POLX_MASK                      (0x100U)
79078 #define PWM_OCTRL_POLX_SHIFT                     (8U)
79079 /*! POLX - PWM_X Output Polarity
79080  *  0b0..PWM_X output not inverted. A high level on the PWM_X pin represents the "on" or "active" state.
79081  *  0b1..PWM_X output inverted. A low level on the PWM_X pin represents the "on" or "active" state.
79082  */
79083 #define PWM_OCTRL_POLX(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_POLX_SHIFT)) & PWM_OCTRL_POLX_MASK)
79084 
79085 #define PWM_OCTRL_POLB_MASK                      (0x200U)
79086 #define PWM_OCTRL_POLB_SHIFT                     (9U)
79087 /*! POLB - PWM_B Output Polarity
79088  *  0b0..PWM_B output not inverted. A high level on the PWM_B pin represents the "on" or "active" state.
79089  *  0b1..PWM_B output inverted. A low level on the PWM_B pin represents the "on" or "active" state.
79090  */
79091 #define PWM_OCTRL_POLB(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_POLB_SHIFT)) & PWM_OCTRL_POLB_MASK)
79092 
79093 #define PWM_OCTRL_POLA_MASK                      (0x400U)
79094 #define PWM_OCTRL_POLA_SHIFT                     (10U)
79095 /*! POLA - PWM_A Output Polarity
79096  *  0b0..PWM_A output not inverted. A high level on the PWM_A pin represents the "on" or "active" state.
79097  *  0b1..PWM_A output inverted. A low level on the PWM_A pin represents the "on" or "active" state.
79098  */
79099 #define PWM_OCTRL_POLA(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_POLA_SHIFT)) & PWM_OCTRL_POLA_MASK)
79100 
79101 #define PWM_OCTRL_PWMX_IN_MASK                   (0x2000U)
79102 #define PWM_OCTRL_PWMX_IN_SHIFT                  (13U)
79103 /*! PWMX_IN - PWM_X Input
79104  */
79105 #define PWM_OCTRL_PWMX_IN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMX_IN_SHIFT)) & PWM_OCTRL_PWMX_IN_MASK)
79106 
79107 #define PWM_OCTRL_PWMB_IN_MASK                   (0x4000U)
79108 #define PWM_OCTRL_PWMB_IN_SHIFT                  (14U)
79109 /*! PWMB_IN - PWM_B Input
79110  */
79111 #define PWM_OCTRL_PWMB_IN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMB_IN_SHIFT)) & PWM_OCTRL_PWMB_IN_MASK)
79112 
79113 #define PWM_OCTRL_PWMA_IN_MASK                   (0x8000U)
79114 #define PWM_OCTRL_PWMA_IN_SHIFT                  (15U)
79115 /*! PWMA_IN - PWM_A Input
79116  */
79117 #define PWM_OCTRL_PWMA_IN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OCTRL_PWMA_IN_SHIFT)) & PWM_OCTRL_PWMA_IN_MASK)
79118 /*! @} */
79119 
79120 /* The count of PWM_OCTRL */
79121 #define PWM_OCTRL_COUNT                          (4U)
79122 
79123 /*! @name STS - Status Register */
79124 /*! @{ */
79125 
79126 #define PWM_STS_CMPF_MASK                        (0x3FU)
79127 #define PWM_STS_CMPF_SHIFT                       (0U)
79128 /*! CMPF - Compare Flags
79129  *  0b000000..No compare event has occurred for a particular VALx value.
79130  *  0b000001..A compare event has occurred for a particular VALx value.
79131  */
79132 #define PWM_STS_CMPF(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CMPF_SHIFT)) & PWM_STS_CMPF_MASK)
79133 
79134 #define PWM_STS_CFX0_MASK                        (0x40U)
79135 #define PWM_STS_CFX0_SHIFT                       (6U)
79136 /*! CFX0 - Capture Flag X0
79137  */
79138 #define PWM_STS_CFX0(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFX0_SHIFT)) & PWM_STS_CFX0_MASK)
79139 
79140 #define PWM_STS_CFX1_MASK                        (0x80U)
79141 #define PWM_STS_CFX1_SHIFT                       (7U)
79142 /*! CFX1 - Capture Flag X1
79143  */
79144 #define PWM_STS_CFX1(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFX1_SHIFT)) & PWM_STS_CFX1_MASK)
79145 
79146 #define PWM_STS_CFB0_MASK                        (0x100U)
79147 #define PWM_STS_CFB0_SHIFT                       (8U)
79148 /*! CFB0 - Capture Flag B0
79149  */
79150 #define PWM_STS_CFB0(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFB0_SHIFT)) & PWM_STS_CFB0_MASK)
79151 
79152 #define PWM_STS_CFB1_MASK                        (0x200U)
79153 #define PWM_STS_CFB1_SHIFT                       (9U)
79154 /*! CFB1 - Capture Flag B1
79155  */
79156 #define PWM_STS_CFB1(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFB1_SHIFT)) & PWM_STS_CFB1_MASK)
79157 
79158 #define PWM_STS_CFA0_MASK                        (0x400U)
79159 #define PWM_STS_CFA0_SHIFT                       (10U)
79160 /*! CFA0 - Capture Flag A0
79161  */
79162 #define PWM_STS_CFA0(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFA0_SHIFT)) & PWM_STS_CFA0_MASK)
79163 
79164 #define PWM_STS_CFA1_MASK                        (0x800U)
79165 #define PWM_STS_CFA1_SHIFT                       (11U)
79166 /*! CFA1 - Capture Flag A1
79167  */
79168 #define PWM_STS_CFA1(x)                          (((uint16_t)(((uint16_t)(x)) << PWM_STS_CFA1_SHIFT)) & PWM_STS_CFA1_MASK)
79169 
79170 #define PWM_STS_RF_MASK                          (0x1000U)
79171 #define PWM_STS_RF_SHIFT                         (12U)
79172 /*! RF - Reload Flag
79173  *  0b0..No new reload cycle since last STS[RF] clearing
79174  *  0b1..New reload cycle since last STS[RF] clearing
79175  */
79176 #define PWM_STS_RF(x)                            (((uint16_t)(((uint16_t)(x)) << PWM_STS_RF_SHIFT)) & PWM_STS_RF_MASK)
79177 
79178 #define PWM_STS_REF_MASK                         (0x2000U)
79179 #define PWM_STS_REF_SHIFT                        (13U)
79180 /*! REF - Reload Error Flag
79181  *  0b0..No reload error occurred.
79182  *  0b1..Reload signal occurred with non-coherent data and MCTRL[LDOK] = 0.
79183  */
79184 #define PWM_STS_REF(x)                           (((uint16_t)(((uint16_t)(x)) << PWM_STS_REF_SHIFT)) & PWM_STS_REF_MASK)
79185 
79186 #define PWM_STS_RUF_MASK                         (0x4000U)
79187 #define PWM_STS_RUF_SHIFT                        (14U)
79188 /*! RUF - Registers Updated Flag
79189  *  0b0..No register update has occurred since last reload.
79190  *  0b1..At least one of the double buffered registers has been updated since the last reload.
79191  */
79192 #define PWM_STS_RUF(x)                           (((uint16_t)(((uint16_t)(x)) << PWM_STS_RUF_SHIFT)) & PWM_STS_RUF_MASK)
79193 /*! @} */
79194 
79195 /* The count of PWM_STS */
79196 #define PWM_STS_COUNT                            (4U)
79197 
79198 /*! @name INTEN - Interrupt Enable Register */
79199 /*! @{ */
79200 
79201 #define PWM_INTEN_CMPIE_MASK                     (0x3FU)
79202 #define PWM_INTEN_CMPIE_SHIFT                    (0U)
79203 /*! CMPIE - Compare Interrupt Enables
79204  *  0b000000..The corresponding STS[CMPF] bit will not cause an interrupt request.
79205  *  0b000001..The corresponding STS[CMPF] bit will cause an interrupt request.
79206  */
79207 #define PWM_INTEN_CMPIE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CMPIE_SHIFT)) & PWM_INTEN_CMPIE_MASK)
79208 
79209 #define PWM_INTEN_CX0IE_MASK                     (0x40U)
79210 #define PWM_INTEN_CX0IE_SHIFT                    (6U)
79211 /*! CX0IE - Capture X 0 Interrupt Enable
79212  *  0b0..Interrupt request disabled for STS[CFX0].
79213  *  0b1..Interrupt request enabled for STS[CFX0].
79214  */
79215 #define PWM_INTEN_CX0IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CX0IE_SHIFT)) & PWM_INTEN_CX0IE_MASK)
79216 
79217 #define PWM_INTEN_CX1IE_MASK                     (0x80U)
79218 #define PWM_INTEN_CX1IE_SHIFT                    (7U)
79219 /*! CX1IE - Capture X 1 Interrupt Enable
79220  *  0b0..Interrupt request disabled for STS[CFX1].
79221  *  0b1..Interrupt request enabled for STS[CFX1].
79222  */
79223 #define PWM_INTEN_CX1IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CX1IE_SHIFT)) & PWM_INTEN_CX1IE_MASK)
79224 
79225 #define PWM_INTEN_CB0IE_MASK                     (0x100U)
79226 #define PWM_INTEN_CB0IE_SHIFT                    (8U)
79227 /*! CB0IE - Capture B 0 Interrupt Enable
79228  *  0b0..Interrupt request disabled for STS[CFB0].
79229  *  0b1..Interrupt request enabled for STS[CFB0].
79230  */
79231 #define PWM_INTEN_CB0IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CB0IE_SHIFT)) & PWM_INTEN_CB0IE_MASK)
79232 
79233 #define PWM_INTEN_CB1IE_MASK                     (0x200U)
79234 #define PWM_INTEN_CB1IE_SHIFT                    (9U)
79235 /*! CB1IE - Capture B 1 Interrupt Enable
79236  *  0b0..Interrupt request disabled for STS[CFB1].
79237  *  0b1..Interrupt request enabled for STS[CFB1].
79238  */
79239 #define PWM_INTEN_CB1IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CB1IE_SHIFT)) & PWM_INTEN_CB1IE_MASK)
79240 
79241 #define PWM_INTEN_CA0IE_MASK                     (0x400U)
79242 #define PWM_INTEN_CA0IE_SHIFT                    (10U)
79243 /*! CA0IE - Capture A 0 Interrupt Enable
79244  *  0b0..Interrupt request disabled for STS[CFA0].
79245  *  0b1..Interrupt request enabled for STS[CFA0].
79246  */
79247 #define PWM_INTEN_CA0IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CA0IE_SHIFT)) & PWM_INTEN_CA0IE_MASK)
79248 
79249 #define PWM_INTEN_CA1IE_MASK                     (0x800U)
79250 #define PWM_INTEN_CA1IE_SHIFT                    (11U)
79251 /*! CA1IE - Capture A 1 Interrupt Enable
79252  *  0b0..Interrupt request disabled for STS[CFA1].
79253  *  0b1..Interrupt request enabled for STS[CFA1].
79254  */
79255 #define PWM_INTEN_CA1IE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_CA1IE_SHIFT)) & PWM_INTEN_CA1IE_MASK)
79256 
79257 #define PWM_INTEN_RIE_MASK                       (0x1000U)
79258 #define PWM_INTEN_RIE_SHIFT                      (12U)
79259 /*! RIE - Reload Interrupt Enable
79260  *  0b0..STS[RF] CPU interrupt requests disabled
79261  *  0b1..STS[RF] CPU interrupt requests enabled
79262  */
79263 #define PWM_INTEN_RIE(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_RIE_SHIFT)) & PWM_INTEN_RIE_MASK)
79264 
79265 #define PWM_INTEN_REIE_MASK                      (0x2000U)
79266 #define PWM_INTEN_REIE_SHIFT                     (13U)
79267 /*! REIE - Reload Error Interrupt Enable
79268  *  0b0..STS[REF] CPU interrupt requests disabled
79269  *  0b1..STS[REF] CPU interrupt requests enabled
79270  */
79271 #define PWM_INTEN_REIE(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_INTEN_REIE_SHIFT)) & PWM_INTEN_REIE_MASK)
79272 /*! @} */
79273 
79274 /* The count of PWM_INTEN */
79275 #define PWM_INTEN_COUNT                          (4U)
79276 
79277 /*! @name DMAEN - DMA Enable Register */
79278 /*! @{ */
79279 
79280 #define PWM_DMAEN_CX0DE_MASK                     (0x1U)
79281 #define PWM_DMAEN_CX0DE_SHIFT                    (0U)
79282 /*! CX0DE - Capture X0 FIFO DMA Enable
79283  */
79284 #define PWM_DMAEN_CX0DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CX0DE_SHIFT)) & PWM_DMAEN_CX0DE_MASK)
79285 
79286 #define PWM_DMAEN_CX1DE_MASK                     (0x2U)
79287 #define PWM_DMAEN_CX1DE_SHIFT                    (1U)
79288 /*! CX1DE - Capture X1 FIFO DMA Enable
79289  */
79290 #define PWM_DMAEN_CX1DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CX1DE_SHIFT)) & PWM_DMAEN_CX1DE_MASK)
79291 
79292 #define PWM_DMAEN_CB0DE_MASK                     (0x4U)
79293 #define PWM_DMAEN_CB0DE_SHIFT                    (2U)
79294 /*! CB0DE - Capture B0 FIFO DMA Enable
79295  */
79296 #define PWM_DMAEN_CB0DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CB0DE_SHIFT)) & PWM_DMAEN_CB0DE_MASK)
79297 
79298 #define PWM_DMAEN_CB1DE_MASK                     (0x8U)
79299 #define PWM_DMAEN_CB1DE_SHIFT                    (3U)
79300 /*! CB1DE - Capture B1 FIFO DMA Enable
79301  */
79302 #define PWM_DMAEN_CB1DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CB1DE_SHIFT)) & PWM_DMAEN_CB1DE_MASK)
79303 
79304 #define PWM_DMAEN_CA0DE_MASK                     (0x10U)
79305 #define PWM_DMAEN_CA0DE_SHIFT                    (4U)
79306 /*! CA0DE - Capture A0 FIFO DMA Enable
79307  */
79308 #define PWM_DMAEN_CA0DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CA0DE_SHIFT)) & PWM_DMAEN_CA0DE_MASK)
79309 
79310 #define PWM_DMAEN_CA1DE_MASK                     (0x20U)
79311 #define PWM_DMAEN_CA1DE_SHIFT                    (5U)
79312 /*! CA1DE - Capture A1 FIFO DMA Enable
79313  */
79314 #define PWM_DMAEN_CA1DE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CA1DE_SHIFT)) & PWM_DMAEN_CA1DE_MASK)
79315 
79316 #define PWM_DMAEN_CAPTDE_MASK                    (0xC0U)
79317 #define PWM_DMAEN_CAPTDE_SHIFT                   (6U)
79318 /*! CAPTDE - Capture DMA Enable Source Select
79319  *  0b00..Read DMA requests disabled.
79320  *  0b01..Exceeding a FIFO watermark sets the DMA read request. This requires at least one of DMAEN[CA1DE],
79321  *        DMAEN[CA0DE], DMAEN[CB1DE], DMAEN[CB0DE], DMAEN[CX1DE], or DMAEN[CX0DE] to also be set in order to determine to
79322  *        which watermark(s) the DMA request is sensitive.
79323  *  0b10..A local sync (VAL1 matches counter) sets the read DMA request.
79324  *  0b11..A local reload (STS[RF] being set) sets the read DMA request.
79325  */
79326 #define PWM_DMAEN_CAPTDE(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_CAPTDE_SHIFT)) & PWM_DMAEN_CAPTDE_MASK)
79327 
79328 #define PWM_DMAEN_FAND_MASK                      (0x100U)
79329 #define PWM_DMAEN_FAND_SHIFT                     (8U)
79330 /*! FAND - FIFO Watermark AND Control
79331  *  0b0..Selected FIFO watermarks are OR'ed together.
79332  *  0b1..Selected FIFO watermarks are AND'ed together.
79333  */
79334 #define PWM_DMAEN_FAND(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_FAND_SHIFT)) & PWM_DMAEN_FAND_MASK)
79335 
79336 #define PWM_DMAEN_VALDE_MASK                     (0x200U)
79337 #define PWM_DMAEN_VALDE_SHIFT                    (9U)
79338 /*! VALDE - Value Registers DMA Enable
79339  *  0b0..DMA write requests disabled
79340  *  0b1..Enabled
79341  */
79342 #define PWM_DMAEN_VALDE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_DMAEN_VALDE_SHIFT)) & PWM_DMAEN_VALDE_MASK)
79343 /*! @} */
79344 
79345 /* The count of PWM_DMAEN */
79346 #define PWM_DMAEN_COUNT                          (4U)
79347 
79348 /*! @name TCTRL - Output Trigger Control Register */
79349 /*! @{ */
79350 
79351 #define PWM_TCTRL_OUT_TRIG_EN_MASK               (0x3FU)
79352 #define PWM_TCTRL_OUT_TRIG_EN_SHIFT              (0U)
79353 /*! OUT_TRIG_EN - Output Trigger Enables
79354  *  0bxxxxx1..PWM_OUT_TRIG0 will set when the counter value matches the VAL0 value.
79355  *  0bxxxx1x..PWM_OUT_TRIG1 will set when the counter value matches the VAL1 value.
79356  *  0bxxx1xx..PWM_OUT_TRIG0 will set when the counter value matches the VAL2 value.
79357  *  0bxx1xxx..PWM_OUT_TRIG1 will set when the counter value matches the VAL3 value.
79358  *  0bx1xxxx..PWM_OUT_TRIG0 will set when the counter value matches the VAL4 value.
79359  *  0b1xxxxx..PWM_OUT_TRIG1 will set when the counter value matches the VAL5 value.
79360  */
79361 #define PWM_TCTRL_OUT_TRIG_EN(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_TCTRL_OUT_TRIG_EN_SHIFT)) & PWM_TCTRL_OUT_TRIG_EN_MASK)
79362 
79363 #define PWM_TCTRL_TRGFRQ_MASK                    (0x1000U)
79364 #define PWM_TCTRL_TRGFRQ_SHIFT                   (12U)
79365 /*! TRGFRQ - Trigger frequency
79366  *  0b0..Trigger outputs are generated during every PWM period even if the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
79367  *  0b1..Trigger outputs are generated only during the final PWM period prior to a reload opportunity when the PWM
79368  *       is not reloaded every period due to CTRL[LDFQ] being non-zero.
79369  */
79370 #define PWM_TCTRL_TRGFRQ(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_TCTRL_TRGFRQ_SHIFT)) & PWM_TCTRL_TRGFRQ_MASK)
79371 
79372 #define PWM_TCTRL_PWBOT1_MASK                    (0x4000U)
79373 #define PWM_TCTRL_PWBOT1_SHIFT                   (14U)
79374 /*! PWBOT1 - Output Trigger 1 Source Select
79375  *  0b0..Route the PWM_OUT_TRIG1 signal to PWM_OUT_TRIG1 port.
79376  *  0b1..Route the PWMB output to the PWM_OUT_TRIG1 port.
79377  */
79378 #define PWM_TCTRL_PWBOT1(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_TCTRL_PWBOT1_SHIFT)) & PWM_TCTRL_PWBOT1_MASK)
79379 
79380 #define PWM_TCTRL_PWAOT0_MASK                    (0x8000U)
79381 #define PWM_TCTRL_PWAOT0_SHIFT                   (15U)
79382 /*! PWAOT0 - Output Trigger 0 Source Select
79383  *  0b0..Route the PWM_OUT_TRIG0 signal to PWM_OUT_TRIG0 port.
79384  *  0b1..Route the PWMA output to the PWM_OUT_TRIG0 port.
79385  */
79386 #define PWM_TCTRL_PWAOT0(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_TCTRL_PWAOT0_SHIFT)) & PWM_TCTRL_PWAOT0_MASK)
79387 /*! @} */
79388 
79389 /* The count of PWM_TCTRL */
79390 #define PWM_TCTRL_COUNT                          (4U)
79391 
79392 /*! @name DISMAP - Fault Disable Mapping Register 0 */
79393 /*! @{ */
79394 
79395 #define PWM_DISMAP_DIS0A_MASK                    (0xFU)
79396 #define PWM_DISMAP_DIS0A_SHIFT                   (0U)
79397 /*! DIS0A - PWM_A Fault Disable Mask 0
79398  */
79399 #define PWM_DISMAP_DIS0A(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_DISMAP_DIS0A_SHIFT)) & PWM_DISMAP_DIS0A_MASK)
79400 
79401 #define PWM_DISMAP_DIS0B_MASK                    (0xF0U)
79402 #define PWM_DISMAP_DIS0B_SHIFT                   (4U)
79403 /*! DIS0B - PWM_B Fault Disable Mask 0
79404  */
79405 #define PWM_DISMAP_DIS0B(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_DISMAP_DIS0B_SHIFT)) & PWM_DISMAP_DIS0B_MASK)
79406 
79407 #define PWM_DISMAP_DIS0X_MASK                    (0xF00U)
79408 #define PWM_DISMAP_DIS0X_SHIFT                   (8U)
79409 /*! DIS0X - PWM_X Fault Disable Mask 0
79410  */
79411 #define PWM_DISMAP_DIS0X(x)                      (((uint16_t)(((uint16_t)(x)) << PWM_DISMAP_DIS0X_SHIFT)) & PWM_DISMAP_DIS0X_MASK)
79412 /*! @} */
79413 
79414 /* The count of PWM_DISMAP */
79415 #define PWM_DISMAP_COUNT                         (4U)
79416 
79417 /* The count of PWM_DISMAP */
79418 #define PWM_DISMAP_COUNT2                        (1U)
79419 
79420 /*! @name DTCNT0 - Deadtime Count Register 0 */
79421 /*! @{ */
79422 
79423 #define PWM_DTCNT0_DTCNT0_MASK                   (0xFFFFU)
79424 #define PWM_DTCNT0_DTCNT0_SHIFT                  (0U)
79425 /*! DTCNT0 - DTCNT0
79426  */
79427 #define PWM_DTCNT0_DTCNT0(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_DTCNT0_DTCNT0_SHIFT)) & PWM_DTCNT0_DTCNT0_MASK)
79428 /*! @} */
79429 
79430 /* The count of PWM_DTCNT0 */
79431 #define PWM_DTCNT0_COUNT                         (4U)
79432 
79433 /*! @name DTCNT1 - Deadtime Count Register 1 */
79434 /*! @{ */
79435 
79436 #define PWM_DTCNT1_DTCNT1_MASK                   (0xFFFFU)
79437 #define PWM_DTCNT1_DTCNT1_SHIFT                  (0U)
79438 /*! DTCNT1 - DTCNT1
79439  */
79440 #define PWM_DTCNT1_DTCNT1(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_DTCNT1_DTCNT1_SHIFT)) & PWM_DTCNT1_DTCNT1_MASK)
79441 /*! @} */
79442 
79443 /* The count of PWM_DTCNT1 */
79444 #define PWM_DTCNT1_COUNT                         (4U)
79445 
79446 /*! @name CAPTCTRLA - Capture Control A Register */
79447 /*! @{ */
79448 
79449 #define PWM_CAPTCTRLA_ARMA_MASK                  (0x1U)
79450 #define PWM_CAPTCTRLA_ARMA_SHIFT                 (0U)
79451 /*! ARMA - Arm A
79452  *  0b0..Input capture operation is disabled.
79453  *  0b1..Input capture operation as specified by CAPTCTRLA[EDGAx] is enabled.
79454  */
79455 #define PWM_CAPTCTRLA_ARMA(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_ARMA_SHIFT)) & PWM_CAPTCTRLA_ARMA_MASK)
79456 
79457 #define PWM_CAPTCTRLA_ONESHOTA_MASK              (0x2U)
79458 #define PWM_CAPTCTRLA_ONESHOTA_SHIFT             (1U)
79459 /*! ONESHOTA - One Shot Mode A
79460  *  0b0..Free Running
79461  *  0b1..One Shot
79462  */
79463 #define PWM_CAPTCTRLA_ONESHOTA(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_ONESHOTA_SHIFT)) & PWM_CAPTCTRLA_ONESHOTA_MASK)
79464 
79465 #define PWM_CAPTCTRLA_EDGA0_MASK                 (0xCU)
79466 #define PWM_CAPTCTRLA_EDGA0_SHIFT                (2U)
79467 /*! EDGA0 - Edge A 0
79468  *  0b00..Disabled
79469  *  0b01..Capture falling edges
79470  *  0b10..Capture rising edges
79471  *  0b11..Capture any edge
79472  */
79473 #define PWM_CAPTCTRLA_EDGA0(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_EDGA0_SHIFT)) & PWM_CAPTCTRLA_EDGA0_MASK)
79474 
79475 #define PWM_CAPTCTRLA_EDGA1_MASK                 (0x30U)
79476 #define PWM_CAPTCTRLA_EDGA1_SHIFT                (4U)
79477 /*! EDGA1 - Edge A 1
79478  *  0b00..Disabled
79479  *  0b01..Capture falling edges
79480  *  0b10..Capture rising edges
79481  *  0b11..Capture any edge
79482  */
79483 #define PWM_CAPTCTRLA_EDGA1(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_EDGA1_SHIFT)) & PWM_CAPTCTRLA_EDGA1_MASK)
79484 
79485 #define PWM_CAPTCTRLA_INP_SELA_MASK              (0x40U)
79486 #define PWM_CAPTCTRLA_INP_SELA_SHIFT             (6U)
79487 /*! INP_SELA - Input Select A
79488  *  0b0..Raw PWM_A input signal selected as source.
79489  *  0b1..Edge Counter
79490  */
79491 #define PWM_CAPTCTRLA_INP_SELA(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_INP_SELA_SHIFT)) & PWM_CAPTCTRLA_INP_SELA_MASK)
79492 
79493 #define PWM_CAPTCTRLA_EDGCNTA_EN_MASK            (0x80U)
79494 #define PWM_CAPTCTRLA_EDGCNTA_EN_SHIFT           (7U)
79495 /*! EDGCNTA_EN - Edge Counter A Enable
79496  *  0b0..Edge counter disabled and held in reset
79497  *  0b1..Edge counter enabled
79498  */
79499 #define PWM_CAPTCTRLA_EDGCNTA_EN(x)              (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_EDGCNTA_EN_SHIFT)) & PWM_CAPTCTRLA_EDGCNTA_EN_MASK)
79500 
79501 #define PWM_CAPTCTRLA_CFAWM_MASK                 (0x300U)
79502 #define PWM_CAPTCTRLA_CFAWM_SHIFT                (8U)
79503 /*! CFAWM - Capture A FIFOs Water Mark
79504  */
79505 #define PWM_CAPTCTRLA_CFAWM(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_CFAWM_SHIFT)) & PWM_CAPTCTRLA_CFAWM_MASK)
79506 
79507 #define PWM_CAPTCTRLA_CA0CNT_MASK                (0x1C00U)
79508 #define PWM_CAPTCTRLA_CA0CNT_SHIFT               (10U)
79509 /*! CA0CNT - Capture A0 FIFO Word Count
79510  */
79511 #define PWM_CAPTCTRLA_CA0CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_CA0CNT_SHIFT)) & PWM_CAPTCTRLA_CA0CNT_MASK)
79512 
79513 #define PWM_CAPTCTRLA_CA1CNT_MASK                (0xE000U)
79514 #define PWM_CAPTCTRLA_CA1CNT_SHIFT               (13U)
79515 /*! CA1CNT - Capture A1 FIFO Word Count
79516  */
79517 #define PWM_CAPTCTRLA_CA1CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLA_CA1CNT_SHIFT)) & PWM_CAPTCTRLA_CA1CNT_MASK)
79518 /*! @} */
79519 
79520 /* The count of PWM_CAPTCTRLA */
79521 #define PWM_CAPTCTRLA_COUNT                      (4U)
79522 
79523 /*! @name CAPTCOMPA - Capture Compare A Register */
79524 /*! @{ */
79525 
79526 #define PWM_CAPTCOMPA_EDGCMPA_MASK               (0xFFU)
79527 #define PWM_CAPTCOMPA_EDGCMPA_SHIFT              (0U)
79528 /*! EDGCMPA - Edge Compare A
79529  */
79530 #define PWM_CAPTCOMPA_EDGCMPA(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPA_EDGCMPA_SHIFT)) & PWM_CAPTCOMPA_EDGCMPA_MASK)
79531 
79532 #define PWM_CAPTCOMPA_EDGCNTA_MASK               (0xFF00U)
79533 #define PWM_CAPTCOMPA_EDGCNTA_SHIFT              (8U)
79534 /*! EDGCNTA - Edge Counter A
79535  */
79536 #define PWM_CAPTCOMPA_EDGCNTA(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPA_EDGCNTA_SHIFT)) & PWM_CAPTCOMPA_EDGCNTA_MASK)
79537 /*! @} */
79538 
79539 /* The count of PWM_CAPTCOMPA */
79540 #define PWM_CAPTCOMPA_COUNT                      (4U)
79541 
79542 /*! @name CAPTCTRLB - Capture Control B Register */
79543 /*! @{ */
79544 
79545 #define PWM_CAPTCTRLB_ARMB_MASK                  (0x1U)
79546 #define PWM_CAPTCTRLB_ARMB_SHIFT                 (0U)
79547 /*! ARMB - Arm B
79548  *  0b0..Input capture operation is disabled.
79549  *  0b1..Input capture operation as specified by CAPTCTRLB[EDGBx] is enabled.
79550  */
79551 #define PWM_CAPTCTRLB_ARMB(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_ARMB_SHIFT)) & PWM_CAPTCTRLB_ARMB_MASK)
79552 
79553 #define PWM_CAPTCTRLB_ONESHOTB_MASK              (0x2U)
79554 #define PWM_CAPTCTRLB_ONESHOTB_SHIFT             (1U)
79555 /*! ONESHOTB - One Shot Mode B
79556  *  0b0..Free Running
79557  *  0b1..One Shot
79558  */
79559 #define PWM_CAPTCTRLB_ONESHOTB(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_ONESHOTB_SHIFT)) & PWM_CAPTCTRLB_ONESHOTB_MASK)
79560 
79561 #define PWM_CAPTCTRLB_EDGB0_MASK                 (0xCU)
79562 #define PWM_CAPTCTRLB_EDGB0_SHIFT                (2U)
79563 /*! EDGB0 - Edge B 0
79564  *  0b00..Disabled
79565  *  0b01..Capture falling edges
79566  *  0b10..Capture rising edges
79567  *  0b11..Capture any edge
79568  */
79569 #define PWM_CAPTCTRLB_EDGB0(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_EDGB0_SHIFT)) & PWM_CAPTCTRLB_EDGB0_MASK)
79570 
79571 #define PWM_CAPTCTRLB_EDGB1_MASK                 (0x30U)
79572 #define PWM_CAPTCTRLB_EDGB1_SHIFT                (4U)
79573 /*! EDGB1 - Edge B 1
79574  *  0b00..Disabled
79575  *  0b01..Capture falling edges
79576  *  0b10..Capture rising edges
79577  *  0b11..Capture any edge
79578  */
79579 #define PWM_CAPTCTRLB_EDGB1(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_EDGB1_SHIFT)) & PWM_CAPTCTRLB_EDGB1_MASK)
79580 
79581 #define PWM_CAPTCTRLB_INP_SELB_MASK              (0x40U)
79582 #define PWM_CAPTCTRLB_INP_SELB_SHIFT             (6U)
79583 /*! INP_SELB - Input Select B
79584  *  0b0..Raw PWM_B input signal selected as source.
79585  *  0b1..Edge Counter
79586  */
79587 #define PWM_CAPTCTRLB_INP_SELB(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_INP_SELB_SHIFT)) & PWM_CAPTCTRLB_INP_SELB_MASK)
79588 
79589 #define PWM_CAPTCTRLB_EDGCNTB_EN_MASK            (0x80U)
79590 #define PWM_CAPTCTRLB_EDGCNTB_EN_SHIFT           (7U)
79591 /*! EDGCNTB_EN - Edge Counter B Enable
79592  *  0b0..Edge counter disabled and held in reset
79593  *  0b1..Edge counter enabled
79594  */
79595 #define PWM_CAPTCTRLB_EDGCNTB_EN(x)              (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_EDGCNTB_EN_SHIFT)) & PWM_CAPTCTRLB_EDGCNTB_EN_MASK)
79596 
79597 #define PWM_CAPTCTRLB_CFBWM_MASK                 (0x300U)
79598 #define PWM_CAPTCTRLB_CFBWM_SHIFT                (8U)
79599 /*! CFBWM - Capture B FIFOs Water Mark
79600  */
79601 #define PWM_CAPTCTRLB_CFBWM(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_CFBWM_SHIFT)) & PWM_CAPTCTRLB_CFBWM_MASK)
79602 
79603 #define PWM_CAPTCTRLB_CB0CNT_MASK                (0x1C00U)
79604 #define PWM_CAPTCTRLB_CB0CNT_SHIFT               (10U)
79605 /*! CB0CNT - Capture B0 FIFO Word Count
79606  */
79607 #define PWM_CAPTCTRLB_CB0CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_CB0CNT_SHIFT)) & PWM_CAPTCTRLB_CB0CNT_MASK)
79608 
79609 #define PWM_CAPTCTRLB_CB1CNT_MASK                (0xE000U)
79610 #define PWM_CAPTCTRLB_CB1CNT_SHIFT               (13U)
79611 /*! CB1CNT - Capture B1 FIFO Word Count
79612  */
79613 #define PWM_CAPTCTRLB_CB1CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLB_CB1CNT_SHIFT)) & PWM_CAPTCTRLB_CB1CNT_MASK)
79614 /*! @} */
79615 
79616 /* The count of PWM_CAPTCTRLB */
79617 #define PWM_CAPTCTRLB_COUNT                      (4U)
79618 
79619 /*! @name CAPTCOMPB - Capture Compare B Register */
79620 /*! @{ */
79621 
79622 #define PWM_CAPTCOMPB_EDGCMPB_MASK               (0xFFU)
79623 #define PWM_CAPTCOMPB_EDGCMPB_SHIFT              (0U)
79624 /*! EDGCMPB - Edge Compare B
79625  */
79626 #define PWM_CAPTCOMPB_EDGCMPB(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPB_EDGCMPB_SHIFT)) & PWM_CAPTCOMPB_EDGCMPB_MASK)
79627 
79628 #define PWM_CAPTCOMPB_EDGCNTB_MASK               (0xFF00U)
79629 #define PWM_CAPTCOMPB_EDGCNTB_SHIFT              (8U)
79630 /*! EDGCNTB - Edge Counter B
79631  */
79632 #define PWM_CAPTCOMPB_EDGCNTB(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPB_EDGCNTB_SHIFT)) & PWM_CAPTCOMPB_EDGCNTB_MASK)
79633 /*! @} */
79634 
79635 /* The count of PWM_CAPTCOMPB */
79636 #define PWM_CAPTCOMPB_COUNT                      (4U)
79637 
79638 /*! @name CAPTCTRLX - Capture Control X Register */
79639 /*! @{ */
79640 
79641 #define PWM_CAPTCTRLX_ARMX_MASK                  (0x1U)
79642 #define PWM_CAPTCTRLX_ARMX_SHIFT                 (0U)
79643 /*! ARMX - Arm X
79644  *  0b0..Input capture operation is disabled.
79645  *  0b1..Input capture operation as specified by CAPTCTRLX[EDGXx] is enabled.
79646  */
79647 #define PWM_CAPTCTRLX_ARMX(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_ARMX_SHIFT)) & PWM_CAPTCTRLX_ARMX_MASK)
79648 
79649 #define PWM_CAPTCTRLX_ONESHOTX_MASK              (0x2U)
79650 #define PWM_CAPTCTRLX_ONESHOTX_SHIFT             (1U)
79651 /*! ONESHOTX - One Shot Mode Aux
79652  *  0b0..Free Running
79653  *  0b1..One Shot
79654  */
79655 #define PWM_CAPTCTRLX_ONESHOTX(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_ONESHOTX_SHIFT)) & PWM_CAPTCTRLX_ONESHOTX_MASK)
79656 
79657 #define PWM_CAPTCTRLX_EDGX0_MASK                 (0xCU)
79658 #define PWM_CAPTCTRLX_EDGX0_SHIFT                (2U)
79659 /*! EDGX0 - Edge X 0
79660  *  0b00..Disabled
79661  *  0b01..Capture falling edges
79662  *  0b10..Capture rising edges
79663  *  0b11..Capture any edge
79664  */
79665 #define PWM_CAPTCTRLX_EDGX0(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_EDGX0_SHIFT)) & PWM_CAPTCTRLX_EDGX0_MASK)
79666 
79667 #define PWM_CAPTCTRLX_EDGX1_MASK                 (0x30U)
79668 #define PWM_CAPTCTRLX_EDGX1_SHIFT                (4U)
79669 /*! EDGX1 - Edge X 1
79670  *  0b00..Disabled
79671  *  0b01..Capture falling edges
79672  *  0b10..Capture rising edges
79673  *  0b11..Capture any edge
79674  */
79675 #define PWM_CAPTCTRLX_EDGX1(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_EDGX1_SHIFT)) & PWM_CAPTCTRLX_EDGX1_MASK)
79676 
79677 #define PWM_CAPTCTRLX_INP_SELX_MASK              (0x40U)
79678 #define PWM_CAPTCTRLX_INP_SELX_SHIFT             (6U)
79679 /*! INP_SELX - Input Select X
79680  *  0b0..Raw PWM_X input signal selected as source.
79681  *  0b1..Edge Counter
79682  */
79683 #define PWM_CAPTCTRLX_INP_SELX(x)                (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_INP_SELX_SHIFT)) & PWM_CAPTCTRLX_INP_SELX_MASK)
79684 
79685 #define PWM_CAPTCTRLX_EDGCNTX_EN_MASK            (0x80U)
79686 #define PWM_CAPTCTRLX_EDGCNTX_EN_SHIFT           (7U)
79687 /*! EDGCNTX_EN - Edge Counter X Enable
79688  *  0b0..Edge counter disabled and held in reset
79689  *  0b1..Edge counter enabled
79690  */
79691 #define PWM_CAPTCTRLX_EDGCNTX_EN(x)              (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_EDGCNTX_EN_SHIFT)) & PWM_CAPTCTRLX_EDGCNTX_EN_MASK)
79692 
79693 #define PWM_CAPTCTRLX_CFXWM_MASK                 (0x300U)
79694 #define PWM_CAPTCTRLX_CFXWM_SHIFT                (8U)
79695 /*! CFXWM - Capture X FIFOs Water Mark
79696  */
79697 #define PWM_CAPTCTRLX_CFXWM(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_CFXWM_SHIFT)) & PWM_CAPTCTRLX_CFXWM_MASK)
79698 
79699 #define PWM_CAPTCTRLX_CX0CNT_MASK                (0x1C00U)
79700 #define PWM_CAPTCTRLX_CX0CNT_SHIFT               (10U)
79701 /*! CX0CNT - Capture X0 FIFO Word Count
79702  */
79703 #define PWM_CAPTCTRLX_CX0CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_CX0CNT_SHIFT)) & PWM_CAPTCTRLX_CX0CNT_MASK)
79704 
79705 #define PWM_CAPTCTRLX_CX1CNT_MASK                (0xE000U)
79706 #define PWM_CAPTCTRLX_CX1CNT_SHIFT               (13U)
79707 /*! CX1CNT - Capture X1 FIFO Word Count
79708  */
79709 #define PWM_CAPTCTRLX_CX1CNT(x)                  (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCTRLX_CX1CNT_SHIFT)) & PWM_CAPTCTRLX_CX1CNT_MASK)
79710 /*! @} */
79711 
79712 /* The count of PWM_CAPTCTRLX */
79713 #define PWM_CAPTCTRLX_COUNT                      (4U)
79714 
79715 /*! @name CAPTCOMPX - Capture Compare X Register */
79716 /*! @{ */
79717 
79718 #define PWM_CAPTCOMPX_EDGCMPX_MASK               (0xFFU)
79719 #define PWM_CAPTCOMPX_EDGCMPX_SHIFT              (0U)
79720 /*! EDGCMPX - Edge Compare X
79721  */
79722 #define PWM_CAPTCOMPX_EDGCMPX(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPX_EDGCMPX_SHIFT)) & PWM_CAPTCOMPX_EDGCMPX_MASK)
79723 
79724 #define PWM_CAPTCOMPX_EDGCNTX_MASK               (0xFF00U)
79725 #define PWM_CAPTCOMPX_EDGCNTX_SHIFT              (8U)
79726 /*! EDGCNTX - Edge Counter X
79727  */
79728 #define PWM_CAPTCOMPX_EDGCNTX(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CAPTCOMPX_EDGCNTX_SHIFT)) & PWM_CAPTCOMPX_EDGCNTX_MASK)
79729 /*! @} */
79730 
79731 /* The count of PWM_CAPTCOMPX */
79732 #define PWM_CAPTCOMPX_COUNT                      (4U)
79733 
79734 /*! @name CVAL0 - Capture Value 0 Register */
79735 /*! @{ */
79736 
79737 #define PWM_CVAL0_CAPTVAL0_MASK                  (0xFFFFU)
79738 #define PWM_CVAL0_CAPTVAL0_SHIFT                 (0U)
79739 /*! CAPTVAL0 - CAPTVAL0
79740  */
79741 #define PWM_CVAL0_CAPTVAL0(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL0_CAPTVAL0_SHIFT)) & PWM_CVAL0_CAPTVAL0_MASK)
79742 /*! @} */
79743 
79744 /* The count of PWM_CVAL0 */
79745 #define PWM_CVAL0_COUNT                          (4U)
79746 
79747 /*! @name CVAL0CYC - Capture Value 0 Cycle Register */
79748 /*! @{ */
79749 
79750 #define PWM_CVAL0CYC_CVAL0CYC_MASK               (0xFU)
79751 #define PWM_CVAL0CYC_CVAL0CYC_SHIFT              (0U)
79752 /*! CVAL0CYC - CVAL0CYC
79753  */
79754 #define PWM_CVAL0CYC_CVAL0CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL0CYC_CVAL0CYC_SHIFT)) & PWM_CVAL0CYC_CVAL0CYC_MASK)
79755 /*! @} */
79756 
79757 /* The count of PWM_CVAL0CYC */
79758 #define PWM_CVAL0CYC_COUNT                       (4U)
79759 
79760 /*! @name CVAL1 - Capture Value 1 Register */
79761 /*! @{ */
79762 
79763 #define PWM_CVAL1_CAPTVAL1_MASK                  (0xFFFFU)
79764 #define PWM_CVAL1_CAPTVAL1_SHIFT                 (0U)
79765 /*! CAPTVAL1 - CAPTVAL1
79766  */
79767 #define PWM_CVAL1_CAPTVAL1(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL1_CAPTVAL1_SHIFT)) & PWM_CVAL1_CAPTVAL1_MASK)
79768 /*! @} */
79769 
79770 /* The count of PWM_CVAL1 */
79771 #define PWM_CVAL1_COUNT                          (4U)
79772 
79773 /*! @name CVAL1CYC - Capture Value 1 Cycle Register */
79774 /*! @{ */
79775 
79776 #define PWM_CVAL1CYC_CVAL1CYC_MASK               (0xFU)
79777 #define PWM_CVAL1CYC_CVAL1CYC_SHIFT              (0U)
79778 /*! CVAL1CYC - CVAL1CYC
79779  */
79780 #define PWM_CVAL1CYC_CVAL1CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL1CYC_CVAL1CYC_SHIFT)) & PWM_CVAL1CYC_CVAL1CYC_MASK)
79781 /*! @} */
79782 
79783 /* The count of PWM_CVAL1CYC */
79784 #define PWM_CVAL1CYC_COUNT                       (4U)
79785 
79786 /*! @name CVAL2 - Capture Value 2 Register */
79787 /*! @{ */
79788 
79789 #define PWM_CVAL2_CAPTVAL2_MASK                  (0xFFFFU)
79790 #define PWM_CVAL2_CAPTVAL2_SHIFT                 (0U)
79791 /*! CAPTVAL2 - CAPTVAL2
79792  */
79793 #define PWM_CVAL2_CAPTVAL2(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL2_CAPTVAL2_SHIFT)) & PWM_CVAL2_CAPTVAL2_MASK)
79794 /*! @} */
79795 
79796 /* The count of PWM_CVAL2 */
79797 #define PWM_CVAL2_COUNT                          (4U)
79798 
79799 /*! @name CVAL2CYC - Capture Value 2 Cycle Register */
79800 /*! @{ */
79801 
79802 #define PWM_CVAL2CYC_CVAL2CYC_MASK               (0xFU)
79803 #define PWM_CVAL2CYC_CVAL2CYC_SHIFT              (0U)
79804 /*! CVAL2CYC - CVAL2CYC
79805  */
79806 #define PWM_CVAL2CYC_CVAL2CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL2CYC_CVAL2CYC_SHIFT)) & PWM_CVAL2CYC_CVAL2CYC_MASK)
79807 /*! @} */
79808 
79809 /* The count of PWM_CVAL2CYC */
79810 #define PWM_CVAL2CYC_COUNT                       (4U)
79811 
79812 /*! @name CVAL3 - Capture Value 3 Register */
79813 /*! @{ */
79814 
79815 #define PWM_CVAL3_CAPTVAL3_MASK                  (0xFFFFU)
79816 #define PWM_CVAL3_CAPTVAL3_SHIFT                 (0U)
79817 /*! CAPTVAL3 - CAPTVAL3
79818  */
79819 #define PWM_CVAL3_CAPTVAL3(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL3_CAPTVAL3_SHIFT)) & PWM_CVAL3_CAPTVAL3_MASK)
79820 /*! @} */
79821 
79822 /* The count of PWM_CVAL3 */
79823 #define PWM_CVAL3_COUNT                          (4U)
79824 
79825 /*! @name CVAL3CYC - Capture Value 3 Cycle Register */
79826 /*! @{ */
79827 
79828 #define PWM_CVAL3CYC_CVAL3CYC_MASK               (0xFU)
79829 #define PWM_CVAL3CYC_CVAL3CYC_SHIFT              (0U)
79830 /*! CVAL3CYC - CVAL3CYC
79831  */
79832 #define PWM_CVAL3CYC_CVAL3CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL3CYC_CVAL3CYC_SHIFT)) & PWM_CVAL3CYC_CVAL3CYC_MASK)
79833 /*! @} */
79834 
79835 /* The count of PWM_CVAL3CYC */
79836 #define PWM_CVAL3CYC_COUNT                       (4U)
79837 
79838 /*! @name CVAL4 - Capture Value 4 Register */
79839 /*! @{ */
79840 
79841 #define PWM_CVAL4_CAPTVAL4_MASK                  (0xFFFFU)
79842 #define PWM_CVAL4_CAPTVAL4_SHIFT                 (0U)
79843 /*! CAPTVAL4 - CAPTVAL4
79844  */
79845 #define PWM_CVAL4_CAPTVAL4(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL4_CAPTVAL4_SHIFT)) & PWM_CVAL4_CAPTVAL4_MASK)
79846 /*! @} */
79847 
79848 /* The count of PWM_CVAL4 */
79849 #define PWM_CVAL4_COUNT                          (4U)
79850 
79851 /*! @name CVAL4CYC - Capture Value 4 Cycle Register */
79852 /*! @{ */
79853 
79854 #define PWM_CVAL4CYC_CVAL4CYC_MASK               (0xFU)
79855 #define PWM_CVAL4CYC_CVAL4CYC_SHIFT              (0U)
79856 /*! CVAL4CYC - CVAL4CYC
79857  */
79858 #define PWM_CVAL4CYC_CVAL4CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL4CYC_CVAL4CYC_SHIFT)) & PWM_CVAL4CYC_CVAL4CYC_MASK)
79859 /*! @} */
79860 
79861 /* The count of PWM_CVAL4CYC */
79862 #define PWM_CVAL4CYC_COUNT                       (4U)
79863 
79864 /*! @name CVAL5 - Capture Value 5 Register */
79865 /*! @{ */
79866 
79867 #define PWM_CVAL5_CAPTVAL5_MASK                  (0xFFFFU)
79868 #define PWM_CVAL5_CAPTVAL5_SHIFT                 (0U)
79869 /*! CAPTVAL5 - CAPTVAL5
79870  */
79871 #define PWM_CVAL5_CAPTVAL5(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_CVAL5_CAPTVAL5_SHIFT)) & PWM_CVAL5_CAPTVAL5_MASK)
79872 /*! @} */
79873 
79874 /* The count of PWM_CVAL5 */
79875 #define PWM_CVAL5_COUNT                          (4U)
79876 
79877 /*! @name CVAL5CYC - Capture Value 5 Cycle Register */
79878 /*! @{ */
79879 
79880 #define PWM_CVAL5CYC_CVAL5CYC_MASK               (0xFU)
79881 #define PWM_CVAL5CYC_CVAL5CYC_SHIFT              (0U)
79882 /*! CVAL5CYC - CVAL5CYC
79883  */
79884 #define PWM_CVAL5CYC_CVAL5CYC(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_CVAL5CYC_CVAL5CYC_SHIFT)) & PWM_CVAL5CYC_CVAL5CYC_MASK)
79885 /*! @} */
79886 
79887 /* The count of PWM_CVAL5CYC */
79888 #define PWM_CVAL5CYC_COUNT                       (4U)
79889 
79890 /*! @name OUTEN - Output Enable Register */
79891 /*! @{ */
79892 
79893 #define PWM_OUTEN_PWMX_EN_MASK                   (0xFU)
79894 #define PWM_OUTEN_PWMX_EN_SHIFT                  (0U)
79895 /*! PWMX_EN - PWM_X Output Enables
79896  *  0b0000..PWM_X output disabled.
79897  *  0b0001..PWM_X output enabled.
79898  */
79899 #define PWM_OUTEN_PWMX_EN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OUTEN_PWMX_EN_SHIFT)) & PWM_OUTEN_PWMX_EN_MASK)
79900 
79901 #define PWM_OUTEN_PWMB_EN_MASK                   (0xF0U)
79902 #define PWM_OUTEN_PWMB_EN_SHIFT                  (4U)
79903 /*! PWMB_EN - PWM_B Output Enables
79904  *  0b0000..PWM_B output disabled.
79905  *  0b0001..PWM_B output enabled.
79906  */
79907 #define PWM_OUTEN_PWMB_EN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OUTEN_PWMB_EN_SHIFT)) & PWM_OUTEN_PWMB_EN_MASK)
79908 
79909 #define PWM_OUTEN_PWMA_EN_MASK                   (0xF00U)
79910 #define PWM_OUTEN_PWMA_EN_SHIFT                  (8U)
79911 /*! PWMA_EN - PWM_A Output Enables
79912  *  0b0000..PWM_A output disabled.
79913  *  0b0001..PWM_A output enabled.
79914  */
79915 #define PWM_OUTEN_PWMA_EN(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_OUTEN_PWMA_EN_SHIFT)) & PWM_OUTEN_PWMA_EN_MASK)
79916 /*! @} */
79917 
79918 /*! @name MASK - Mask Register */
79919 /*! @{ */
79920 
79921 #define PWM_MASK_MASKX_MASK                      (0xFU)
79922 #define PWM_MASK_MASKX_SHIFT                     (0U)
79923 /*! MASKX - PWM_X Masks
79924  *  0b0000..PWM_X output normal.
79925  *  0b0001..PWM_X output masked.
79926  */
79927 #define PWM_MASK_MASKX(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_MASK_MASKX_SHIFT)) & PWM_MASK_MASKX_MASK)
79928 
79929 #define PWM_MASK_MASKB_MASK                      (0xF0U)
79930 #define PWM_MASK_MASKB_SHIFT                     (4U)
79931 /*! MASKB - PWM_B Masks
79932  *  0b0000..PWM_B output normal.
79933  *  0b0001..PWM_B output masked.
79934  */
79935 #define PWM_MASK_MASKB(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_MASK_MASKB_SHIFT)) & PWM_MASK_MASKB_MASK)
79936 
79937 #define PWM_MASK_MASKA_MASK                      (0xF00U)
79938 #define PWM_MASK_MASKA_SHIFT                     (8U)
79939 /*! MASKA - PWM_A Masks
79940  *  0b0000..PWM_A output normal.
79941  *  0b0001..PWM_A output masked.
79942  */
79943 #define PWM_MASK_MASKA(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_MASK_MASKA_SHIFT)) & PWM_MASK_MASKA_MASK)
79944 /*! @} */
79945 
79946 /*! @name SWCOUT - Software Controlled Output Register */
79947 /*! @{ */
79948 
79949 #define PWM_SWCOUT_SM0OUT45_MASK                 (0x1U)
79950 #define PWM_SWCOUT_SM0OUT45_SHIFT                (0U)
79951 /*! SM0OUT45 - Submodule 0 Software Controlled Output 45
79952  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM45.
79953  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM45.
79954  */
79955 #define PWM_SWCOUT_SM0OUT45(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM0OUT45_SHIFT)) & PWM_SWCOUT_SM0OUT45_MASK)
79956 
79957 #define PWM_SWCOUT_SM0OUT23_MASK                 (0x2U)
79958 #define PWM_SWCOUT_SM0OUT23_SHIFT                (1U)
79959 /*! SM0OUT23 - Submodule 0 Software Controlled Output 23
79960  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM23.
79961  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM23.
79962  */
79963 #define PWM_SWCOUT_SM0OUT23(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM0OUT23_SHIFT)) & PWM_SWCOUT_SM0OUT23_MASK)
79964 
79965 #define PWM_SWCOUT_SM1OUT45_MASK                 (0x4U)
79966 #define PWM_SWCOUT_SM1OUT45_SHIFT                (2U)
79967 /*! SM1OUT45 - Submodule 1 Software Controlled Output 45
79968  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM45.
79969  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM45.
79970  */
79971 #define PWM_SWCOUT_SM1OUT45(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM1OUT45_SHIFT)) & PWM_SWCOUT_SM1OUT45_MASK)
79972 
79973 #define PWM_SWCOUT_SM1OUT23_MASK                 (0x8U)
79974 #define PWM_SWCOUT_SM1OUT23_SHIFT                (3U)
79975 /*! SM1OUT23 - Submodule 1 Software Controlled Output 23
79976  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM23.
79977  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM23.
79978  */
79979 #define PWM_SWCOUT_SM1OUT23(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM1OUT23_SHIFT)) & PWM_SWCOUT_SM1OUT23_MASK)
79980 
79981 #define PWM_SWCOUT_SM2OUT45_MASK                 (0x10U)
79982 #define PWM_SWCOUT_SM2OUT45_SHIFT                (4U)
79983 /*! SM2OUT45 - Submodule 2 Software Controlled Output 45
79984  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM45.
79985  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM45.
79986  */
79987 #define PWM_SWCOUT_SM2OUT45(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM2OUT45_SHIFT)) & PWM_SWCOUT_SM2OUT45_MASK)
79988 
79989 #define PWM_SWCOUT_SM2OUT23_MASK                 (0x20U)
79990 #define PWM_SWCOUT_SM2OUT23_SHIFT                (5U)
79991 /*! SM2OUT23 - Submodule 2 Software Controlled Output 23
79992  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM23.
79993  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM23.
79994  */
79995 #define PWM_SWCOUT_SM2OUT23(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM2OUT23_SHIFT)) & PWM_SWCOUT_SM2OUT23_MASK)
79996 
79997 #define PWM_SWCOUT_SM3OUT45_MASK                 (0x40U)
79998 #define PWM_SWCOUT_SM3OUT45_SHIFT                (6U)
79999 /*! SM3OUT45 - Submodule 3 Software Controlled Output 45
80000  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM45.
80001  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM45.
80002  */
80003 #define PWM_SWCOUT_SM3OUT45(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM3OUT45_SHIFT)) & PWM_SWCOUT_SM3OUT45_MASK)
80004 
80005 #define PWM_SWCOUT_SM3OUT23_MASK                 (0x80U)
80006 #define PWM_SWCOUT_SM3OUT23_SHIFT                (7U)
80007 /*! SM3OUT23 - Submodule 3 Software Controlled Output 23
80008  *  0b0..A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM23.
80009  *  0b1..A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM23.
80010  */
80011 #define PWM_SWCOUT_SM3OUT23(x)                   (((uint16_t)(((uint16_t)(x)) << PWM_SWCOUT_SM3OUT23_SHIFT)) & PWM_SWCOUT_SM3OUT23_MASK)
80012 /*! @} */
80013 
80014 /*! @name DTSRCSEL - PWM Source Select Register */
80015 /*! @{ */
80016 
80017 #define PWM_DTSRCSEL_SM0SEL45_MASK               (0x3U)
80018 #define PWM_DTSRCSEL_SM0SEL45_SHIFT              (0U)
80019 /*! SM0SEL45 - Submodule 0 PWM45 Control Select
80020  *  0b00..Generated SM0PWM45 signal is used by the deadtime logic.
80021  *  0b01..Inverted generated SM0PWM45 signal is used by the deadtime logic.
80022  *  0b10..SWCOUT[SM0OUT45] is used by the deadtime logic.
80023  *  0b11..PWM0_EXTB signal is used by the deadtime logic.
80024  */
80025 #define PWM_DTSRCSEL_SM0SEL45(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM0SEL45_SHIFT)) & PWM_DTSRCSEL_SM0SEL45_MASK)
80026 
80027 #define PWM_DTSRCSEL_SM0SEL23_MASK               (0xCU)
80028 #define PWM_DTSRCSEL_SM0SEL23_SHIFT              (2U)
80029 /*! SM0SEL23 - Submodule 0 PWM23 Control Select
80030  *  0b00..Generated SM0PWM23 signal is used by the deadtime logic.
80031  *  0b01..Inverted generated SM0PWM23 signal is used by the deadtime logic.
80032  *  0b10..SWCOUT[SM0OUT23] is used by the deadtime logic.
80033  *  0b11..PWM0_EXTA signal is used by the deadtime logic.
80034  */
80035 #define PWM_DTSRCSEL_SM0SEL23(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM0SEL23_SHIFT)) & PWM_DTSRCSEL_SM0SEL23_MASK)
80036 
80037 #define PWM_DTSRCSEL_SM1SEL45_MASK               (0x30U)
80038 #define PWM_DTSRCSEL_SM1SEL45_SHIFT              (4U)
80039 /*! SM1SEL45 - Submodule 1 PWM45 Control Select
80040  *  0b00..Generated SM1PWM45 signal is used by the deadtime logic.
80041  *  0b01..Inverted generated SM1PWM45 signal is used by the deadtime logic.
80042  *  0b10..SWCOUT[SM1OUT45] is used by the deadtime logic.
80043  *  0b11..PWM1_EXTB signal is used by the deadtime logic.
80044  */
80045 #define PWM_DTSRCSEL_SM1SEL45(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM1SEL45_SHIFT)) & PWM_DTSRCSEL_SM1SEL45_MASK)
80046 
80047 #define PWM_DTSRCSEL_SM1SEL23_MASK               (0xC0U)
80048 #define PWM_DTSRCSEL_SM1SEL23_SHIFT              (6U)
80049 /*! SM1SEL23 - Submodule 1 PWM23 Control Select
80050  *  0b00..Generated SM1PWM23 signal is used by the deadtime logic.
80051  *  0b01..Inverted generated SM1PWM23 signal is used by the deadtime logic.
80052  *  0b10..SWCOUT[SM1OUT23] is used by the deadtime logic.
80053  *  0b11..PWM1_EXTA signal is used by the deadtime logic.
80054  */
80055 #define PWM_DTSRCSEL_SM1SEL23(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM1SEL23_SHIFT)) & PWM_DTSRCSEL_SM1SEL23_MASK)
80056 
80057 #define PWM_DTSRCSEL_SM2SEL45_MASK               (0x300U)
80058 #define PWM_DTSRCSEL_SM2SEL45_SHIFT              (8U)
80059 /*! SM2SEL45 - Submodule 2 PWM45 Control Select
80060  *  0b00..Generated SM2PWM45 signal is used by the deadtime logic.
80061  *  0b01..Inverted generated SM2PWM45 signal is used by the deadtime logic.
80062  *  0b10..SWCOUT[SM2OUT45] is used by the deadtime logic.
80063  *  0b11..PWM2_EXTB signal is used by the deadtime logic.
80064  */
80065 #define PWM_DTSRCSEL_SM2SEL45(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM2SEL45_SHIFT)) & PWM_DTSRCSEL_SM2SEL45_MASK)
80066 
80067 #define PWM_DTSRCSEL_SM2SEL23_MASK               (0xC00U)
80068 #define PWM_DTSRCSEL_SM2SEL23_SHIFT              (10U)
80069 /*! SM2SEL23 - Submodule 2 PWM23 Control Select
80070  *  0b00..Generated SM2PWM23 signal is used by the deadtime logic.
80071  *  0b01..Inverted generated SM2PWM23 signal is used by the deadtime logic.
80072  *  0b10..SWCOUT[SM2OUT23] is used by the deadtime logic.
80073  *  0b11..PWM2_EXTA signal is used by the deadtime logic.
80074  */
80075 #define PWM_DTSRCSEL_SM2SEL23(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM2SEL23_SHIFT)) & PWM_DTSRCSEL_SM2SEL23_MASK)
80076 
80077 #define PWM_DTSRCSEL_SM3SEL45_MASK               (0x3000U)
80078 #define PWM_DTSRCSEL_SM3SEL45_SHIFT              (12U)
80079 /*! SM3SEL45 - Submodule 3 PWM45 Control Select
80080  *  0b00..Generated SM3PWM45 signal is used by the deadtime logic.
80081  *  0b01..Inverted generated SM3PWM45 signal is used by the deadtime logic.
80082  *  0b10..SWCOUT[SM3OUT45] is used by the deadtime logic.
80083  *  0b11..PWM3_EXTB signal is used by the deadtime logic.
80084  */
80085 #define PWM_DTSRCSEL_SM3SEL45(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM3SEL45_SHIFT)) & PWM_DTSRCSEL_SM3SEL45_MASK)
80086 
80087 #define PWM_DTSRCSEL_SM3SEL23_MASK               (0xC000U)
80088 #define PWM_DTSRCSEL_SM3SEL23_SHIFT              (14U)
80089 /*! SM3SEL23 - Submodule 3 PWM23 Control Select
80090  *  0b00..Generated SM3PWM23 signal is used by the deadtime logic.
80091  *  0b01..Inverted generated SM3PWM23 signal is used by the deadtime logic.
80092  *  0b10..SWCOUT[SM3OUT23] is used by the deadtime logic.
80093  *  0b11..PWM3_EXTA signal is used by the deadtime logic.
80094  */
80095 #define PWM_DTSRCSEL_SM3SEL23(x)                 (((uint16_t)(((uint16_t)(x)) << PWM_DTSRCSEL_SM3SEL23_SHIFT)) & PWM_DTSRCSEL_SM3SEL23_MASK)
80096 /*! @} */
80097 
80098 /*! @name MCTRL - Master Control Register */
80099 /*! @{ */
80100 
80101 #define PWM_MCTRL_LDOK_MASK                      (0xFU)
80102 #define PWM_MCTRL_LDOK_SHIFT                     (0U)
80103 /*! LDOK - Load Okay
80104  *  0b0000..Do not load new values.
80105  *  0b0001..Load prescaler, modulus, and PWM values of the corresponding submodule.
80106  */
80107 #define PWM_MCTRL_LDOK(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_MCTRL_LDOK_SHIFT)) & PWM_MCTRL_LDOK_MASK)
80108 
80109 #define PWM_MCTRL_CLDOK_MASK                     (0xF0U)
80110 #define PWM_MCTRL_CLDOK_SHIFT                    (4U)
80111 /*! CLDOK - Clear Load Okay
80112  */
80113 #define PWM_MCTRL_CLDOK(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_MCTRL_CLDOK_SHIFT)) & PWM_MCTRL_CLDOK_MASK)
80114 
80115 #define PWM_MCTRL_RUN_MASK                       (0xF00U)
80116 #define PWM_MCTRL_RUN_SHIFT                      (8U)
80117 /*! RUN - Run
80118  *  0b0000..PWM counter is stopped, but PWM outputs will hold the current state.
80119  *  0b0001..PWM counter is started in the corresponding submodule.
80120  */
80121 #define PWM_MCTRL_RUN(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_MCTRL_RUN_SHIFT)) & PWM_MCTRL_RUN_MASK)
80122 
80123 #define PWM_MCTRL_IPOL_MASK                      (0xF000U)
80124 #define PWM_MCTRL_IPOL_SHIFT                     (12U)
80125 /*! IPOL - Current Polarity
80126  *  0b0000..PWM23 is used to generate complementary PWM pair in the corresponding submodule.
80127  *  0b0001..PWM45 is used to generate complementary PWM pair in the corresponding submodule.
80128  */
80129 #define PWM_MCTRL_IPOL(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_MCTRL_IPOL_SHIFT)) & PWM_MCTRL_IPOL_MASK)
80130 /*! @} */
80131 
80132 /*! @name MCTRL2 - Master Control 2 Register */
80133 /*! @{ */
80134 
80135 #define PWM_MCTRL2_MONPLL_MASK                   (0x3U)
80136 #define PWM_MCTRL2_MONPLL_SHIFT                  (0U)
80137 /*! MONPLL - Monitor PLL State
80138  *  0b00..Not locked. Do not monitor PLL operation. Resetting of the fractional delay block in case of PLL losing lock will be controlled by software.
80139  *  0b01..Not locked. Monitor PLL operation to automatically disable the fractional delay block when the PLL encounters problems.
80140  *  0b10..Locked. Do not monitor PLL operation. Resetting of the fractional delay block in case of PLL losing lock
80141  *        will be controlled by software. These bits are write protected until the next reset.
80142  *  0b11..Locked. Monitor PLL operation to automatically disable the fractional delay block when the PLL
80143  *        encounters problems. These bits are write protected until the next reset.
80144  */
80145 #define PWM_MCTRL2_MONPLL(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_MCTRL2_MONPLL_SHIFT)) & PWM_MCTRL2_MONPLL_MASK)
80146 /*! @} */
80147 
80148 /*! @name FCTRL - Fault Control Register */
80149 /*! @{ */
80150 
80151 #define PWM_FCTRL_FIE_MASK                       (0xFU)
80152 #define PWM_FCTRL_FIE_SHIFT                      (0U)
80153 /*! FIE - Fault Interrupt Enables
80154  *  0b0000..FAULTx CPU interrupt requests disabled.
80155  *  0b0001..FAULTx CPU interrupt requests enabled.
80156  */
80157 #define PWM_FCTRL_FIE(x)                         (((uint16_t)(((uint16_t)(x)) << PWM_FCTRL_FIE_SHIFT)) & PWM_FCTRL_FIE_MASK)
80158 
80159 #define PWM_FCTRL_FSAFE_MASK                     (0xF0U)
80160 #define PWM_FCTRL_FSAFE_SHIFT                    (4U)
80161 /*! FSAFE - Fault Safety Mode
80162  *  0b0000..Normal mode. PWM outputs disabled by this fault are not enabled until FSTS[FFLAGx] is clear at the
80163  *          start of a half cycle or full cycle depending on the states of FSTS[FHALF] and FSTS[FFULL] without regard
80164  *          to the state of FSTS[FFPINx]. If neither FHALF nor FFULL is set then the fault condition cannot be
80165  *          cleared. The PWM outputs disabled by this fault input will not be re-enabled until the actual FAULTx input
80166  *          signal de-asserts since the fault input will combinationally disable the PWM outputs (as programmed in
80167  *          DISMAPn).
80168  *  0b0001..Safe mode. PWM outputs disabled by this fault are not enabled until FSTS[FFLAGx] is clear and
80169  *          FSTS[FFPINx] is clear at the start of a half cycle or full cycle depending on the states of FSTS[FHALF] and
80170  *          FSTS[FFULL]. If neither FHLAF nor FFULL is set, then the fault condition cannot be cleared.
80171  */
80172 #define PWM_FCTRL_FSAFE(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_FCTRL_FSAFE_SHIFT)) & PWM_FCTRL_FSAFE_MASK)
80173 
80174 #define PWM_FCTRL_FAUTO_MASK                     (0xF00U)
80175 #define PWM_FCTRL_FAUTO_SHIFT                    (8U)
80176 /*! FAUTO - Automatic Fault Clearing
80177  *  0b0000..Manual fault clearing. PWM outputs disabled by this fault are not enabled until FSTS[FFLAGx] is clear
80178  *          at the start of a half cycle or full cycle depending the states of FSTS[FHALF] and FSTS[FFULL]. If
80179  *          neither FFULL nor FHALF is set, then the fault condition cannot be cleared. This is further controlled by
80180  *          FCTRL[FSAFE].
80181  *  0b0001..Automatic fault clearing. PWM outputs disabled by this fault are enabled when FSTS[FFPINx] is clear at
80182  *          the start of a half cycle or full cycle depending on the states of FSTS[FHALF] and FSTS[FFULL] without
80183  *          regard to the state of FSTS[FFLAGx]. If neither FFULL nor FHALF is set, then the fault condition
80184  *          cannot be cleared.
80185  */
80186 #define PWM_FCTRL_FAUTO(x)                       (((uint16_t)(((uint16_t)(x)) << PWM_FCTRL_FAUTO_SHIFT)) & PWM_FCTRL_FAUTO_MASK)
80187 
80188 #define PWM_FCTRL_FLVL_MASK                      (0xF000U)
80189 #define PWM_FCTRL_FLVL_SHIFT                     (12U)
80190 /*! FLVL - Fault Level
80191  *  0b0000..A logic 0 on the fault input indicates a fault condition.
80192  *  0b0001..A logic 1 on the fault input indicates a fault condition.
80193  */
80194 #define PWM_FCTRL_FLVL(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FCTRL_FLVL_SHIFT)) & PWM_FCTRL_FLVL_MASK)
80195 /*! @} */
80196 
80197 /*! @name FSTS - Fault Status Register */
80198 /*! @{ */
80199 
80200 #define PWM_FSTS_FFLAG_MASK                      (0xFU)
80201 #define PWM_FSTS_FFLAG_SHIFT                     (0U)
80202 /*! FFLAG - Fault Flags
80203  *  0b0000..No fault on the FAULTx pin.
80204  *  0b0001..Fault on the FAULTx pin.
80205  */
80206 #define PWM_FSTS_FFLAG(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FSTS_FFLAG_SHIFT)) & PWM_FSTS_FFLAG_MASK)
80207 
80208 #define PWM_FSTS_FFULL_MASK                      (0xF0U)
80209 #define PWM_FSTS_FFULL_SHIFT                     (4U)
80210 /*! FFULL - Full Cycle
80211  *  0b0000..PWM outputs are not re-enabled at the start of a full cycle
80212  *  0b0001..PWM outputs are re-enabled at the start of a full cycle
80213  */
80214 #define PWM_FSTS_FFULL(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FSTS_FFULL_SHIFT)) & PWM_FSTS_FFULL_MASK)
80215 
80216 #define PWM_FSTS_FFPIN_MASK                      (0xF00U)
80217 #define PWM_FSTS_FFPIN_SHIFT                     (8U)
80218 /*! FFPIN - Filtered Fault Pins
80219  */
80220 #define PWM_FSTS_FFPIN(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FSTS_FFPIN_SHIFT)) & PWM_FSTS_FFPIN_MASK)
80221 
80222 #define PWM_FSTS_FHALF_MASK                      (0xF000U)
80223 #define PWM_FSTS_FHALF_SHIFT                     (12U)
80224 /*! FHALF - Half Cycle Fault Recovery
80225  *  0b0000..PWM outputs are not re-enabled at the start of a half cycle.
80226  *  0b0001..PWM outputs are re-enabled at the start of a half cycle (as defined by VAL0).
80227  */
80228 #define PWM_FSTS_FHALF(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FSTS_FHALF_SHIFT)) & PWM_FSTS_FHALF_MASK)
80229 /*! @} */
80230 
80231 /*! @name FFILT - Fault Filter Register */
80232 /*! @{ */
80233 
80234 #define PWM_FFILT_FILT_PER_MASK                  (0xFFU)
80235 #define PWM_FFILT_FILT_PER_SHIFT                 (0U)
80236 /*! FILT_PER - Fault Filter Period
80237  */
80238 #define PWM_FFILT_FILT_PER(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_FFILT_FILT_PER_SHIFT)) & PWM_FFILT_FILT_PER_MASK)
80239 
80240 #define PWM_FFILT_FILT_CNT_MASK                  (0x700U)
80241 #define PWM_FFILT_FILT_CNT_SHIFT                 (8U)
80242 /*! FILT_CNT - Fault Filter Count
80243  */
80244 #define PWM_FFILT_FILT_CNT(x)                    (((uint16_t)(((uint16_t)(x)) << PWM_FFILT_FILT_CNT_SHIFT)) & PWM_FFILT_FILT_CNT_MASK)
80245 
80246 #define PWM_FFILT_GSTR_MASK                      (0x8000U)
80247 #define PWM_FFILT_GSTR_SHIFT                     (15U)
80248 /*! GSTR - Fault Glitch Stretch Enable
80249  *  0b0..Fault input glitch stretching is disabled.
80250  *  0b1..Input fault signals will be stretched to at least 2 IPBus clock cycles.
80251  */
80252 #define PWM_FFILT_GSTR(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FFILT_GSTR_SHIFT)) & PWM_FFILT_GSTR_MASK)
80253 /*! @} */
80254 
80255 /*! @name FTST - Fault Test Register */
80256 /*! @{ */
80257 
80258 #define PWM_FTST_FTEST_MASK                      (0x1U)
80259 #define PWM_FTST_FTEST_SHIFT                     (0U)
80260 /*! FTEST - Fault Test
80261  *  0b0..No fault
80262  *  0b1..Cause a simulated fault
80263  */
80264 #define PWM_FTST_FTEST(x)                        (((uint16_t)(((uint16_t)(x)) << PWM_FTST_FTEST_SHIFT)) & PWM_FTST_FTEST_MASK)
80265 /*! @} */
80266 
80267 /*! @name FCTRL2 - Fault Control 2 Register */
80268 /*! @{ */
80269 
80270 #define PWM_FCTRL2_NOCOMB_MASK                   (0xFU)
80271 #define PWM_FCTRL2_NOCOMB_SHIFT                  (0U)
80272 /*! NOCOMB - No Combinational Path From Fault Input To PWM Output
80273  *  0b0000..There is a combinational link from the fault inputs to the PWM outputs. The fault inputs are combined
80274  *          with the filtered and latched fault signals to disable the PWM outputs.
80275  *  0b0001..The direct combinational path from the fault inputs to the PWM outputs is disabled and the filtered
80276  *          and latched fault signals are used to disable the PWM outputs.
80277  */
80278 #define PWM_FCTRL2_NOCOMB(x)                     (((uint16_t)(((uint16_t)(x)) << PWM_FCTRL2_NOCOMB_SHIFT)) & PWM_FCTRL2_NOCOMB_MASK)
80279 /*! @} */
80280 
80281 
80282 /*!
80283  * @}
80284  */ /* end of group PWM_Register_Masks */
80285 
80286 
80287 /* PWM - Peripheral instance base addresses */
80288 /** Peripheral PWM1 base address */
80289 #define PWM1_BASE                                (0x4018C000u)
80290 /** Peripheral PWM1 base pointer */
80291 #define PWM1                                     ((PWM_Type *)PWM1_BASE)
80292 /** Peripheral PWM2 base address */
80293 #define PWM2_BASE                                (0x40190000u)
80294 /** Peripheral PWM2 base pointer */
80295 #define PWM2                                     ((PWM_Type *)PWM2_BASE)
80296 /** Peripheral PWM3 base address */
80297 #define PWM3_BASE                                (0x40194000u)
80298 /** Peripheral PWM3 base pointer */
80299 #define PWM3                                     ((PWM_Type *)PWM3_BASE)
80300 /** Peripheral PWM4 base address */
80301 #define PWM4_BASE                                (0x40198000u)
80302 /** Peripheral PWM4 base pointer */
80303 #define PWM4                                     ((PWM_Type *)PWM4_BASE)
80304 /** Array initializer of PWM peripheral base addresses */
80305 #define PWM_BASE_ADDRS                           { 0u, PWM1_BASE, PWM2_BASE, PWM3_BASE, PWM4_BASE }
80306 /** Array initializer of PWM peripheral base pointers */
80307 #define PWM_BASE_PTRS                            { (PWM_Type *)0u, PWM1, PWM2, PWM3, PWM4 }
80308 /** Interrupt vectors for the PWM peripheral type */
80309 #define PWM_CMP_IRQS                             { { NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn }, { PWM1_0_IRQn, PWM1_1_IRQn, PWM1_2_IRQn, PWM1_3_IRQn }, { PWM2_0_IRQn, PWM2_1_IRQn, PWM2_2_IRQn, PWM2_3_IRQn }, { PWM3_0_IRQn, PWM3_1_IRQn, PWM3_2_IRQn, PWM3_3_IRQn }, { PWM4_0_IRQn, PWM4_1_IRQn, PWM4_2_IRQn, PWM4_3_IRQn } }
80310 #define PWM_RELOAD_IRQS                          { { NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn }, { PWM1_0_IRQn, PWM1_1_IRQn, PWM1_2_IRQn, PWM1_3_IRQn }, { PWM2_0_IRQn, PWM2_1_IRQn, PWM2_2_IRQn, PWM2_3_IRQn }, { PWM3_0_IRQn, PWM3_1_IRQn, PWM3_2_IRQn, PWM3_3_IRQn }, { PWM4_0_IRQn, PWM4_1_IRQn, PWM4_2_IRQn, PWM4_3_IRQn } }
80311 #define PWM_CAPTURE_IRQS                         { { NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn }, { PWM1_0_IRQn, PWM1_1_IRQn, PWM1_2_IRQn, PWM1_3_IRQn }, { PWM2_0_IRQn, PWM2_1_IRQn, PWM2_2_IRQn, PWM2_3_IRQn }, { PWM3_0_IRQn, PWM3_1_IRQn, PWM3_2_IRQn, PWM3_3_IRQn }, { PWM4_0_IRQn, PWM4_1_IRQn, PWM4_2_IRQn, PWM4_3_IRQn } }
80312 #define PWM_FAULT_IRQS                           { NotAvail_IRQn, PWM1_FAULT_IRQn, PWM2_FAULT_IRQn, PWM3_FAULT_IRQn, PWM4_FAULT_IRQn }
80313 #define PWM_RELOAD_ERROR_IRQS                    { NotAvail_IRQn, PWM1_FAULT_IRQn, PWM2_FAULT_IRQn, PWM3_FAULT_IRQn, PWM4_FAULT_IRQn }
80314 
80315 /*!
80316  * @}
80317  */ /* end of group PWM_Peripheral_Access_Layer */
80318 
80319 
80320 /* ----------------------------------------------------------------------------
80321    -- PXP Peripheral Access Layer
80322    ---------------------------------------------------------------------------- */
80323 
80324 /*!
80325  * @addtogroup PXP_Peripheral_Access_Layer PXP Peripheral Access Layer
80326  * @{
80327  */
80328 
80329 /** PXP - Register Layout Typedef */
80330 typedef struct {
80331   __IO uint32_t CTRL;                              /**< Control Register 0, offset: 0x0 */
80332   __IO uint32_t CTRL_SET;                          /**< Control Register 0, offset: 0x4 */
80333   __IO uint32_t CTRL_CLR;                          /**< Control Register 0, offset: 0x8 */
80334   __IO uint32_t CTRL_TOG;                          /**< Control Register 0, offset: 0xC */
80335   __IO uint32_t STAT;                              /**< Status Register, offset: 0x10 */
80336   __IO uint32_t STAT_SET;                          /**< Status Register, offset: 0x14 */
80337   __IO uint32_t STAT_CLR;                          /**< Status Register, offset: 0x18 */
80338   __IO uint32_t STAT_TOG;                          /**< Status Register, offset: 0x1C */
80339   __IO uint32_t OUT_CTRL;                          /**< Output Buffer Control Register, offset: 0x20 */
80340   __IO uint32_t OUT_CTRL_SET;                      /**< Output Buffer Control Register, offset: 0x24 */
80341   __IO uint32_t OUT_CTRL_CLR;                      /**< Output Buffer Control Register, offset: 0x28 */
80342   __IO uint32_t OUT_CTRL_TOG;                      /**< Output Buffer Control Register, offset: 0x2C */
80343   __IO uint32_t OUT_BUF;                           /**< Output Frame Buffer Pointer, offset: 0x30 */
80344        uint8_t RESERVED_0[12];
80345   __IO uint32_t OUT_BUF2;                          /**< Output Frame Buffer Pointer #2, offset: 0x40 */
80346        uint8_t RESERVED_1[12];
80347   __IO uint32_t OUT_PITCH;                         /**< Output Buffer Pitch, offset: 0x50 */
80348        uint8_t RESERVED_2[12];
80349   __IO uint32_t OUT_LRC;                           /**< Output Surface Lower Right Coordinate, offset: 0x60 */
80350        uint8_t RESERVED_3[12];
80351   __IO uint32_t OUT_PS_ULC;                        /**< Processed Surface Upper Left Coordinate, offset: 0x70 */
80352        uint8_t RESERVED_4[12];
80353   __IO uint32_t OUT_PS_LRC;                        /**< Processed Surface Lower Right Coordinate, offset: 0x80 */
80354        uint8_t RESERVED_5[12];
80355   __IO uint32_t OUT_AS_ULC;                        /**< Alpha Surface Upper Left Coordinate, offset: 0x90 */
80356        uint8_t RESERVED_6[12];
80357   __IO uint32_t OUT_AS_LRC;                        /**< Alpha Surface Lower Right Coordinate, offset: 0xA0 */
80358        uint8_t RESERVED_7[12];
80359   __IO uint32_t PS_CTRL;                           /**< Processed Surface (PS) Control Register, offset: 0xB0 */
80360   __IO uint32_t PS_CTRL_SET;                       /**< Processed Surface (PS) Control Register, offset: 0xB4 */
80361   __IO uint32_t PS_CTRL_CLR;                       /**< Processed Surface (PS) Control Register, offset: 0xB8 */
80362   __IO uint32_t PS_CTRL_TOG;                       /**< Processed Surface (PS) Control Register, offset: 0xBC */
80363   __IO uint32_t PS_BUF;                            /**< PS Input Buffer Address, offset: 0xC0 */
80364        uint8_t RESERVED_8[12];
80365   __IO uint32_t PS_UBUF;                           /**< PS U/Cb or 2 Plane UV Input Buffer Address, offset: 0xD0 */
80366        uint8_t RESERVED_9[12];
80367   __IO uint32_t PS_VBUF;                           /**< PS V/Cr Input Buffer Address, offset: 0xE0 */
80368        uint8_t RESERVED_10[12];
80369   __IO uint32_t PS_PITCH;                          /**< Processed Surface Pitch, offset: 0xF0 */
80370        uint8_t RESERVED_11[12];
80371   __IO uint32_t PS_BACKGROUND;                     /**< PS Background Color, offset: 0x100 */
80372        uint8_t RESERVED_12[12];
80373   __IO uint32_t PS_SCALE;                          /**< PS Scale Factor Register, offset: 0x110 */
80374        uint8_t RESERVED_13[12];
80375   __IO uint32_t PS_OFFSET;                         /**< PS Scale Offset Register, offset: 0x120 */
80376        uint8_t RESERVED_14[12];
80377   __IO uint32_t PS_CLRKEYLOW;                      /**< PS Color Key Low, offset: 0x130 */
80378        uint8_t RESERVED_15[12];
80379   __IO uint32_t PS_CLRKEYHIGH;                     /**< PS Color Key High, offset: 0x140 */
80380        uint8_t RESERVED_16[12];
80381   __IO uint32_t AS_CTRL;                           /**< Alpha Surface Control, offset: 0x150 */
80382        uint8_t RESERVED_17[12];
80383   __IO uint32_t AS_BUF;                            /**< Alpha Surface Buffer Pointer, offset: 0x160 */
80384        uint8_t RESERVED_18[12];
80385   __IO uint32_t AS_PITCH;                          /**< Alpha Surface Pitch, offset: 0x170 */
80386        uint8_t RESERVED_19[12];
80387   __IO uint32_t AS_CLRKEYLOW;                      /**< Overlay Color Key Low, offset: 0x180 */
80388        uint8_t RESERVED_20[12];
80389   __IO uint32_t AS_CLRKEYHIGH;                     /**< Overlay Color Key High, offset: 0x190 */
80390        uint8_t RESERVED_21[12];
80391   __IO uint32_t CSC1_COEF0;                        /**< Color Space Conversion Coefficient Register 0, offset: 0x1A0 */
80392        uint8_t RESERVED_22[12];
80393   __IO uint32_t CSC1_COEF1;                        /**< Color Space Conversion Coefficient Register 1, offset: 0x1B0 */
80394        uint8_t RESERVED_23[12];
80395   __IO uint32_t CSC1_COEF2;                        /**< Color Space Conversion Coefficient Register 2, offset: 0x1C0 */
80396        uint8_t RESERVED_24[348];
80397   __IO uint32_t POWER;                             /**< PXP Power Control Register, offset: 0x320 */
80398        uint8_t RESERVED_25[220];
80399   __IO uint32_t NEXT;                              /**< Next Frame Pointer, offset: 0x400 */
80400        uint8_t RESERVED_26[60];
80401   __IO uint32_t PORTER_DUFF_CTRL;                  /**< PXP Alpha Engine A Control Register., offset: 0x440 */
80402 } PXP_Type;
80403 
80404 /* ----------------------------------------------------------------------------
80405    -- PXP Register Masks
80406    ---------------------------------------------------------------------------- */
80407 
80408 /*!
80409  * @addtogroup PXP_Register_Masks PXP Register Masks
80410  * @{
80411  */
80412 
80413 /*! @name CTRL - Control Register 0 */
80414 /*! @{ */
80415 
80416 #define PXP_CTRL_ENABLE_MASK                     (0x1U)
80417 #define PXP_CTRL_ENABLE_SHIFT                    (0U)
80418 /*! ENABLE
80419  *  0b1..PXP is enabled
80420  *  0b0..PXP is disabled
80421  */
80422 #define PXP_CTRL_ENABLE(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_ENABLE_SHIFT)) & PXP_CTRL_ENABLE_MASK)
80423 
80424 #define PXP_CTRL_IRQ_ENABLE_MASK                 (0x2U)
80425 #define PXP_CTRL_IRQ_ENABLE_SHIFT                (1U)
80426 /*! IRQ_ENABLE
80427  *  0b1..PXP interrupt is enabled
80428  *  0b0..PXP interrupt is disabled
80429  */
80430 #define PXP_CTRL_IRQ_ENABLE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_IRQ_ENABLE_SHIFT)) & PXP_CTRL_IRQ_ENABLE_MASK)
80431 
80432 #define PXP_CTRL_NEXT_IRQ_ENABLE_MASK            (0x4U)
80433 #define PXP_CTRL_NEXT_IRQ_ENABLE_SHIFT           (2U)
80434 /*! NEXT_IRQ_ENABLE
80435  *  0b0..Disabled
80436  *  0b1..Enabled
80437  */
80438 #define PXP_CTRL_NEXT_IRQ_ENABLE(x)              (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_NEXT_IRQ_ENABLE_SHIFT)) & PXP_CTRL_NEXT_IRQ_ENABLE_MASK)
80439 
80440 #define PXP_CTRL_ENABLE_LCD_HANDSHAKE_MASK       (0x10U)
80441 #define PXP_CTRL_ENABLE_LCD_HANDSHAKE_SHIFT      (4U)
80442 #define PXP_CTRL_ENABLE_LCD_HANDSHAKE(x)         (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_ENABLE_LCD_HANDSHAKE_SHIFT)) & PXP_CTRL_ENABLE_LCD_HANDSHAKE_MASK)
80443 
80444 #define PXP_CTRL_ROTATE_MASK                     (0x300U)
80445 #define PXP_CTRL_ROTATE_SHIFT                    (8U)
80446 /*! ROTATE
80447  *  0b00..ROT_0
80448  *  0b01..ROT_90
80449  *  0b10..ROT_180
80450  *  0b11..ROT_270
80451  */
80452 #define PXP_CTRL_ROTATE(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_ROTATE_SHIFT)) & PXP_CTRL_ROTATE_MASK)
80453 
80454 #define PXP_CTRL_HFLIP_MASK                      (0x400U)
80455 #define PXP_CTRL_HFLIP_SHIFT                     (10U)
80456 /*! HFLIP
80457  *  0b0..Horizontal Flip is disabled
80458  *  0b1..Horizontal Flip is enabled
80459  */
80460 #define PXP_CTRL_HFLIP(x)                        (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_HFLIP_SHIFT)) & PXP_CTRL_HFLIP_MASK)
80461 
80462 #define PXP_CTRL_VFLIP_MASK                      (0x800U)
80463 #define PXP_CTRL_VFLIP_SHIFT                     (11U)
80464 /*! VFLIP
80465  *  0b0..Vertical Flip is disabled
80466  *  0b1..Vertical Flip is enabled
80467  */
80468 #define PXP_CTRL_VFLIP(x)                        (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_VFLIP_SHIFT)) & PXP_CTRL_VFLIP_MASK)
80469 
80470 #define PXP_CTRL_ROT_POS_MASK                    (0x400000U)
80471 #define PXP_CTRL_ROT_POS_SHIFT                   (22U)
80472 #define PXP_CTRL_ROT_POS(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_ROT_POS_SHIFT)) & PXP_CTRL_ROT_POS_MASK)
80473 
80474 #define PXP_CTRL_BLOCK_SIZE_MASK                 (0x800000U)
80475 #define PXP_CTRL_BLOCK_SIZE_SHIFT                (23U)
80476 /*! BLOCK_SIZE
80477  *  0b0..Process 8x8 pixel blocks.
80478  *  0b1..Process 16x16 pixel blocks.
80479  */
80480 #define PXP_CTRL_BLOCK_SIZE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_BLOCK_SIZE_SHIFT)) & PXP_CTRL_BLOCK_SIZE_MASK)
80481 
80482 #define PXP_CTRL_EN_REPEAT_MASK                  (0x10000000U)
80483 #define PXP_CTRL_EN_REPEAT_SHIFT                 (28U)
80484 /*! EN_REPEAT
80485  *  0b1..PXP will repeat based on the current configuration register settings
80486  *  0b0..PXP will complete the process and enter the idle state ready to accept the next frame to be processed
80487  */
80488 #define PXP_CTRL_EN_REPEAT(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_EN_REPEAT_SHIFT)) & PXP_CTRL_EN_REPEAT_MASK)
80489 
80490 #define PXP_CTRL_CLKGATE_MASK                    (0x40000000U)
80491 #define PXP_CTRL_CLKGATE_SHIFT                   (30U)
80492 /*! CLKGATE
80493  *  0b0..Normal operation
80494  *  0b1..All clocks to PXP is gated-off
80495  */
80496 #define PXP_CTRL_CLKGATE(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLKGATE_SHIFT)) & PXP_CTRL_CLKGATE_MASK)
80497 
80498 #define PXP_CTRL_SFTRST_MASK                     (0x80000000U)
80499 #define PXP_CTRL_SFTRST_SHIFT                    (31U)
80500 /*! SFTRST
80501  *  0b0..Normal PXP operation is enabled
80502  *  0b1..Clocking with PXP is disabled and held in its reset (lowest power) state. This is the default value.
80503  */
80504 #define PXP_CTRL_SFTRST(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SFTRST_SHIFT)) & PXP_CTRL_SFTRST_MASK)
80505 /*! @} */
80506 
80507 /*! @name CTRL_SET - Control Register 0 */
80508 /*! @{ */
80509 
80510 #define PXP_CTRL_SET_ENABLE_MASK                 (0x1U)
80511 #define PXP_CTRL_SET_ENABLE_SHIFT                (0U)
80512 /*! ENABLE
80513  *  0b1..PXP is enabled
80514  *  0b0..PXP is disabled
80515  */
80516 #define PXP_CTRL_SET_ENABLE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_ENABLE_SHIFT)) & PXP_CTRL_SET_ENABLE_MASK)
80517 
80518 #define PXP_CTRL_SET_IRQ_ENABLE_MASK             (0x2U)
80519 #define PXP_CTRL_SET_IRQ_ENABLE_SHIFT            (1U)
80520 /*! IRQ_ENABLE
80521  *  0b1..PXP interrupt is enabled
80522  *  0b0..PXP interrupt is disabled
80523  */
80524 #define PXP_CTRL_SET_IRQ_ENABLE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_IRQ_ENABLE_SHIFT)) & PXP_CTRL_SET_IRQ_ENABLE_MASK)
80525 
80526 #define PXP_CTRL_SET_NEXT_IRQ_ENABLE_MASK        (0x4U)
80527 #define PXP_CTRL_SET_NEXT_IRQ_ENABLE_SHIFT       (2U)
80528 /*! NEXT_IRQ_ENABLE
80529  *  0b0..Disabled
80530  *  0b1..Enabled
80531  */
80532 #define PXP_CTRL_SET_NEXT_IRQ_ENABLE(x)          (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_NEXT_IRQ_ENABLE_SHIFT)) & PXP_CTRL_SET_NEXT_IRQ_ENABLE_MASK)
80533 
80534 #define PXP_CTRL_SET_ENABLE_LCD_HANDSHAKE_MASK   (0x10U)
80535 #define PXP_CTRL_SET_ENABLE_LCD_HANDSHAKE_SHIFT  (4U)
80536 #define PXP_CTRL_SET_ENABLE_LCD_HANDSHAKE(x)     (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_ENABLE_LCD_HANDSHAKE_SHIFT)) & PXP_CTRL_SET_ENABLE_LCD_HANDSHAKE_MASK)
80537 
80538 #define PXP_CTRL_SET_ROTATE_MASK                 (0x300U)
80539 #define PXP_CTRL_SET_ROTATE_SHIFT                (8U)
80540 /*! ROTATE
80541  *  0b00..ROT_0
80542  *  0b01..ROT_90
80543  *  0b10..ROT_180
80544  *  0b11..ROT_270
80545  */
80546 #define PXP_CTRL_SET_ROTATE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_ROTATE_SHIFT)) & PXP_CTRL_SET_ROTATE_MASK)
80547 
80548 #define PXP_CTRL_SET_HFLIP_MASK                  (0x400U)
80549 #define PXP_CTRL_SET_HFLIP_SHIFT                 (10U)
80550 /*! HFLIP
80551  *  0b0..Horizontal Flip is disabled
80552  *  0b1..Horizontal Flip is enabled
80553  */
80554 #define PXP_CTRL_SET_HFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_HFLIP_SHIFT)) & PXP_CTRL_SET_HFLIP_MASK)
80555 
80556 #define PXP_CTRL_SET_VFLIP_MASK                  (0x800U)
80557 #define PXP_CTRL_SET_VFLIP_SHIFT                 (11U)
80558 /*! VFLIP
80559  *  0b0..Vertical Flip is disabled
80560  *  0b1..Vertical Flip is enabled
80561  */
80562 #define PXP_CTRL_SET_VFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_VFLIP_SHIFT)) & PXP_CTRL_SET_VFLIP_MASK)
80563 
80564 #define PXP_CTRL_SET_ROT_POS_MASK                (0x400000U)
80565 #define PXP_CTRL_SET_ROT_POS_SHIFT               (22U)
80566 #define PXP_CTRL_SET_ROT_POS(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_ROT_POS_SHIFT)) & PXP_CTRL_SET_ROT_POS_MASK)
80567 
80568 #define PXP_CTRL_SET_BLOCK_SIZE_MASK             (0x800000U)
80569 #define PXP_CTRL_SET_BLOCK_SIZE_SHIFT            (23U)
80570 /*! BLOCK_SIZE
80571  *  0b0..Process 8x8 pixel blocks.
80572  *  0b1..Process 16x16 pixel blocks.
80573  */
80574 #define PXP_CTRL_SET_BLOCK_SIZE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_BLOCK_SIZE_SHIFT)) & PXP_CTRL_SET_BLOCK_SIZE_MASK)
80575 
80576 #define PXP_CTRL_SET_EN_REPEAT_MASK              (0x10000000U)
80577 #define PXP_CTRL_SET_EN_REPEAT_SHIFT             (28U)
80578 /*! EN_REPEAT
80579  *  0b1..PXP will repeat based on the current configuration register settings
80580  *  0b0..PXP will complete the process and enter the idle state ready to accept the next frame to be processed
80581  */
80582 #define PXP_CTRL_SET_EN_REPEAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_EN_REPEAT_SHIFT)) & PXP_CTRL_SET_EN_REPEAT_MASK)
80583 
80584 #define PXP_CTRL_SET_CLKGATE_MASK                (0x40000000U)
80585 #define PXP_CTRL_SET_CLKGATE_SHIFT               (30U)
80586 /*! CLKGATE
80587  *  0b0..Normal operation
80588  *  0b1..All clocks to PXP is gated-off
80589  */
80590 #define PXP_CTRL_SET_CLKGATE(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_CLKGATE_SHIFT)) & PXP_CTRL_SET_CLKGATE_MASK)
80591 
80592 #define PXP_CTRL_SET_SFTRST_MASK                 (0x80000000U)
80593 #define PXP_CTRL_SET_SFTRST_SHIFT                (31U)
80594 /*! SFTRST
80595  *  0b0..Normal PXP operation is enabled
80596  *  0b1..Clocking with PXP is disabled and held in its reset (lowest power) state. This is the default value.
80597  */
80598 #define PXP_CTRL_SET_SFTRST(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_SET_SFTRST_SHIFT)) & PXP_CTRL_SET_SFTRST_MASK)
80599 /*! @} */
80600 
80601 /*! @name CTRL_CLR - Control Register 0 */
80602 /*! @{ */
80603 
80604 #define PXP_CTRL_CLR_ENABLE_MASK                 (0x1U)
80605 #define PXP_CTRL_CLR_ENABLE_SHIFT                (0U)
80606 /*! ENABLE
80607  *  0b1..PXP is enabled
80608  *  0b0..PXP is disabled
80609  */
80610 #define PXP_CTRL_CLR_ENABLE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_ENABLE_SHIFT)) & PXP_CTRL_CLR_ENABLE_MASK)
80611 
80612 #define PXP_CTRL_CLR_IRQ_ENABLE_MASK             (0x2U)
80613 #define PXP_CTRL_CLR_IRQ_ENABLE_SHIFT            (1U)
80614 /*! IRQ_ENABLE
80615  *  0b1..PXP interrupt is enabled
80616  *  0b0..PXP interrupt is disabled
80617  */
80618 #define PXP_CTRL_CLR_IRQ_ENABLE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_IRQ_ENABLE_SHIFT)) & PXP_CTRL_CLR_IRQ_ENABLE_MASK)
80619 
80620 #define PXP_CTRL_CLR_NEXT_IRQ_ENABLE_MASK        (0x4U)
80621 #define PXP_CTRL_CLR_NEXT_IRQ_ENABLE_SHIFT       (2U)
80622 /*! NEXT_IRQ_ENABLE
80623  *  0b0..Disabled
80624  *  0b1..Enabled
80625  */
80626 #define PXP_CTRL_CLR_NEXT_IRQ_ENABLE(x)          (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_NEXT_IRQ_ENABLE_SHIFT)) & PXP_CTRL_CLR_NEXT_IRQ_ENABLE_MASK)
80627 
80628 #define PXP_CTRL_CLR_ENABLE_LCD_HANDSHAKE_MASK   (0x10U)
80629 #define PXP_CTRL_CLR_ENABLE_LCD_HANDSHAKE_SHIFT  (4U)
80630 #define PXP_CTRL_CLR_ENABLE_LCD_HANDSHAKE(x)     (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_ENABLE_LCD_HANDSHAKE_SHIFT)) & PXP_CTRL_CLR_ENABLE_LCD_HANDSHAKE_MASK)
80631 
80632 #define PXP_CTRL_CLR_ROTATE_MASK                 (0x300U)
80633 #define PXP_CTRL_CLR_ROTATE_SHIFT                (8U)
80634 /*! ROTATE
80635  *  0b00..ROT_0
80636  *  0b01..ROT_90
80637  *  0b10..ROT_180
80638  *  0b11..ROT_270
80639  */
80640 #define PXP_CTRL_CLR_ROTATE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_ROTATE_SHIFT)) & PXP_CTRL_CLR_ROTATE_MASK)
80641 
80642 #define PXP_CTRL_CLR_HFLIP_MASK                  (0x400U)
80643 #define PXP_CTRL_CLR_HFLIP_SHIFT                 (10U)
80644 /*! HFLIP
80645  *  0b0..Horizontal Flip is disabled
80646  *  0b1..Horizontal Flip is enabled
80647  */
80648 #define PXP_CTRL_CLR_HFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_HFLIP_SHIFT)) & PXP_CTRL_CLR_HFLIP_MASK)
80649 
80650 #define PXP_CTRL_CLR_VFLIP_MASK                  (0x800U)
80651 #define PXP_CTRL_CLR_VFLIP_SHIFT                 (11U)
80652 /*! VFLIP
80653  *  0b0..Vertical Flip is disabled
80654  *  0b1..Vertical Flip is enabled
80655  */
80656 #define PXP_CTRL_CLR_VFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_VFLIP_SHIFT)) & PXP_CTRL_CLR_VFLIP_MASK)
80657 
80658 #define PXP_CTRL_CLR_ROT_POS_MASK                (0x400000U)
80659 #define PXP_CTRL_CLR_ROT_POS_SHIFT               (22U)
80660 #define PXP_CTRL_CLR_ROT_POS(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_ROT_POS_SHIFT)) & PXP_CTRL_CLR_ROT_POS_MASK)
80661 
80662 #define PXP_CTRL_CLR_BLOCK_SIZE_MASK             (0x800000U)
80663 #define PXP_CTRL_CLR_BLOCK_SIZE_SHIFT            (23U)
80664 /*! BLOCK_SIZE
80665  *  0b0..Process 8x8 pixel blocks.
80666  *  0b1..Process 16x16 pixel blocks.
80667  */
80668 #define PXP_CTRL_CLR_BLOCK_SIZE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_BLOCK_SIZE_SHIFT)) & PXP_CTRL_CLR_BLOCK_SIZE_MASK)
80669 
80670 #define PXP_CTRL_CLR_EN_REPEAT_MASK              (0x10000000U)
80671 #define PXP_CTRL_CLR_EN_REPEAT_SHIFT             (28U)
80672 /*! EN_REPEAT
80673  *  0b1..PXP will repeat based on the current configuration register settings
80674  *  0b0..PXP will complete the process and enter the idle state ready to accept the next frame to be processed
80675  */
80676 #define PXP_CTRL_CLR_EN_REPEAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_EN_REPEAT_SHIFT)) & PXP_CTRL_CLR_EN_REPEAT_MASK)
80677 
80678 #define PXP_CTRL_CLR_CLKGATE_MASK                (0x40000000U)
80679 #define PXP_CTRL_CLR_CLKGATE_SHIFT               (30U)
80680 /*! CLKGATE
80681  *  0b0..Normal operation
80682  *  0b1..All clocks to PXP is gated-off
80683  */
80684 #define PXP_CTRL_CLR_CLKGATE(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_CLKGATE_SHIFT)) & PXP_CTRL_CLR_CLKGATE_MASK)
80685 
80686 #define PXP_CTRL_CLR_SFTRST_MASK                 (0x80000000U)
80687 #define PXP_CTRL_CLR_SFTRST_SHIFT                (31U)
80688 /*! SFTRST
80689  *  0b0..Normal PXP operation is enabled
80690  *  0b1..Clocking with PXP is disabled and held in its reset (lowest power) state. This is the default value.
80691  */
80692 #define PXP_CTRL_CLR_SFTRST(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_CLR_SFTRST_SHIFT)) & PXP_CTRL_CLR_SFTRST_MASK)
80693 /*! @} */
80694 
80695 /*! @name CTRL_TOG - Control Register 0 */
80696 /*! @{ */
80697 
80698 #define PXP_CTRL_TOG_ENABLE_MASK                 (0x1U)
80699 #define PXP_CTRL_TOG_ENABLE_SHIFT                (0U)
80700 /*! ENABLE
80701  *  0b1..PXP is enabled
80702  *  0b0..PXP is disabled
80703  */
80704 #define PXP_CTRL_TOG_ENABLE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_ENABLE_SHIFT)) & PXP_CTRL_TOG_ENABLE_MASK)
80705 
80706 #define PXP_CTRL_TOG_IRQ_ENABLE_MASK             (0x2U)
80707 #define PXP_CTRL_TOG_IRQ_ENABLE_SHIFT            (1U)
80708 /*! IRQ_ENABLE
80709  *  0b1..PXP interrupt is enabled
80710  *  0b0..PXP interrupt is disabled
80711  */
80712 #define PXP_CTRL_TOG_IRQ_ENABLE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_IRQ_ENABLE_SHIFT)) & PXP_CTRL_TOG_IRQ_ENABLE_MASK)
80713 
80714 #define PXP_CTRL_TOG_NEXT_IRQ_ENABLE_MASK        (0x4U)
80715 #define PXP_CTRL_TOG_NEXT_IRQ_ENABLE_SHIFT       (2U)
80716 /*! NEXT_IRQ_ENABLE
80717  *  0b0..Disabled
80718  *  0b1..Enabled
80719  */
80720 #define PXP_CTRL_TOG_NEXT_IRQ_ENABLE(x)          (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_NEXT_IRQ_ENABLE_SHIFT)) & PXP_CTRL_TOG_NEXT_IRQ_ENABLE_MASK)
80721 
80722 #define PXP_CTRL_TOG_ENABLE_LCD_HANDSHAKE_MASK   (0x10U)
80723 #define PXP_CTRL_TOG_ENABLE_LCD_HANDSHAKE_SHIFT  (4U)
80724 #define PXP_CTRL_TOG_ENABLE_LCD_HANDSHAKE(x)     (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_ENABLE_LCD_HANDSHAKE_SHIFT)) & PXP_CTRL_TOG_ENABLE_LCD_HANDSHAKE_MASK)
80725 
80726 #define PXP_CTRL_TOG_ROTATE_MASK                 (0x300U)
80727 #define PXP_CTRL_TOG_ROTATE_SHIFT                (8U)
80728 /*! ROTATE
80729  *  0b00..ROT_0
80730  *  0b01..ROT_90
80731  *  0b10..ROT_180
80732  *  0b11..ROT_270
80733  */
80734 #define PXP_CTRL_TOG_ROTATE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_ROTATE_SHIFT)) & PXP_CTRL_TOG_ROTATE_MASK)
80735 
80736 #define PXP_CTRL_TOG_HFLIP_MASK                  (0x400U)
80737 #define PXP_CTRL_TOG_HFLIP_SHIFT                 (10U)
80738 /*! HFLIP
80739  *  0b0..Horizontal Flip is disabled
80740  *  0b1..Horizontal Flip is enabled
80741  */
80742 #define PXP_CTRL_TOG_HFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_HFLIP_SHIFT)) & PXP_CTRL_TOG_HFLIP_MASK)
80743 
80744 #define PXP_CTRL_TOG_VFLIP_MASK                  (0x800U)
80745 #define PXP_CTRL_TOG_VFLIP_SHIFT                 (11U)
80746 /*! VFLIP
80747  *  0b0..Vertical Flip is disabled
80748  *  0b1..Vertical Flip is enabled
80749  */
80750 #define PXP_CTRL_TOG_VFLIP(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_VFLIP_SHIFT)) & PXP_CTRL_TOG_VFLIP_MASK)
80751 
80752 #define PXP_CTRL_TOG_ROT_POS_MASK                (0x400000U)
80753 #define PXP_CTRL_TOG_ROT_POS_SHIFT               (22U)
80754 #define PXP_CTRL_TOG_ROT_POS(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_ROT_POS_SHIFT)) & PXP_CTRL_TOG_ROT_POS_MASK)
80755 
80756 #define PXP_CTRL_TOG_BLOCK_SIZE_MASK             (0x800000U)
80757 #define PXP_CTRL_TOG_BLOCK_SIZE_SHIFT            (23U)
80758 /*! BLOCK_SIZE
80759  *  0b0..Process 8x8 pixel blocks.
80760  *  0b1..Process 16x16 pixel blocks.
80761  */
80762 #define PXP_CTRL_TOG_BLOCK_SIZE(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_BLOCK_SIZE_SHIFT)) & PXP_CTRL_TOG_BLOCK_SIZE_MASK)
80763 
80764 #define PXP_CTRL_TOG_EN_REPEAT_MASK              (0x10000000U)
80765 #define PXP_CTRL_TOG_EN_REPEAT_SHIFT             (28U)
80766 /*! EN_REPEAT
80767  *  0b1..PXP will repeat based on the current configuration register settings
80768  *  0b0..PXP will complete the process and enter the idle state ready to accept the next frame to be processed
80769  */
80770 #define PXP_CTRL_TOG_EN_REPEAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_EN_REPEAT_SHIFT)) & PXP_CTRL_TOG_EN_REPEAT_MASK)
80771 
80772 #define PXP_CTRL_TOG_CLKGATE_MASK                (0x40000000U)
80773 #define PXP_CTRL_TOG_CLKGATE_SHIFT               (30U)
80774 /*! CLKGATE
80775  *  0b0..Normal operation
80776  *  0b1..All clocks to PXP is gated-off
80777  */
80778 #define PXP_CTRL_TOG_CLKGATE(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_CLKGATE_SHIFT)) & PXP_CTRL_TOG_CLKGATE_MASK)
80779 
80780 #define PXP_CTRL_TOG_SFTRST_MASK                 (0x80000000U)
80781 #define PXP_CTRL_TOG_SFTRST_SHIFT                (31U)
80782 /*! SFTRST
80783  *  0b0..Normal PXP operation is enabled
80784  *  0b1..Clocking with PXP is disabled and held in its reset (lowest power) state. This is the default value.
80785  */
80786 #define PXP_CTRL_TOG_SFTRST(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_CTRL_TOG_SFTRST_SHIFT)) & PXP_CTRL_TOG_SFTRST_MASK)
80787 /*! @} */
80788 
80789 /*! @name STAT - Status Register */
80790 /*! @{ */
80791 
80792 #define PXP_STAT_IRQ_MASK                        (0x1U)
80793 #define PXP_STAT_IRQ_SHIFT                       (0U)
80794 /*! IRQ
80795  *  0b0..No interrupt
80796  *  0b1..Interrupt generated
80797  */
80798 #define PXP_STAT_IRQ(x)                          (((uint32_t)(((uint32_t)(x)) << PXP_STAT_IRQ_SHIFT)) & PXP_STAT_IRQ_MASK)
80799 
80800 #define PXP_STAT_AXI_WRITE_ERROR_MASK            (0x2U)
80801 #define PXP_STAT_AXI_WRITE_ERROR_SHIFT           (1U)
80802 /*! AXI_WRITE_ERROR
80803  *  0b0..AXI write is normal
80804  *  0b1..AXI write error has occurred
80805  */
80806 #define PXP_STAT_AXI_WRITE_ERROR(x)              (((uint32_t)(((uint32_t)(x)) << PXP_STAT_AXI_WRITE_ERROR_SHIFT)) & PXP_STAT_AXI_WRITE_ERROR_MASK)
80807 
80808 #define PXP_STAT_AXI_READ_ERROR_MASK             (0x4U)
80809 #define PXP_STAT_AXI_READ_ERROR_SHIFT            (2U)
80810 /*! AXI_READ_ERROR
80811  *  0b0..AXI read is normal
80812  *  0b1..AXI read error has occurred
80813  */
80814 #define PXP_STAT_AXI_READ_ERROR(x)               (((uint32_t)(((uint32_t)(x)) << PXP_STAT_AXI_READ_ERROR_SHIFT)) & PXP_STAT_AXI_READ_ERROR_MASK)
80815 
80816 #define PXP_STAT_NEXT_IRQ_MASK                   (0x8U)
80817 #define PXP_STAT_NEXT_IRQ_SHIFT                  (3U)
80818 #define PXP_STAT_NEXT_IRQ(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_STAT_NEXT_IRQ_SHIFT)) & PXP_STAT_NEXT_IRQ_MASK)
80819 
80820 #define PXP_STAT_AXI_ERROR_ID_MASK               (0xF0U)
80821 #define PXP_STAT_AXI_ERROR_ID_SHIFT              (4U)
80822 #define PXP_STAT_AXI_ERROR_ID(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_STAT_AXI_ERROR_ID_SHIFT)) & PXP_STAT_AXI_ERROR_ID_MASK)
80823 
80824 #define PXP_STAT_LUT_DMA_LOAD_DONE_IRQ_MASK      (0x100U)
80825 #define PXP_STAT_LUT_DMA_LOAD_DONE_IRQ_SHIFT     (8U)
80826 /*! LUT_DMA_LOAD_DONE_IRQ
80827  *  0b0..LUT DMA LOAD transfer is active
80828  *  0b1..LUT DMA LOAD transfer is complete
80829  */
80830 #define PXP_STAT_LUT_DMA_LOAD_DONE_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << PXP_STAT_LUT_DMA_LOAD_DONE_IRQ_SHIFT)) & PXP_STAT_LUT_DMA_LOAD_DONE_IRQ_MASK)
80831 
80832 #define PXP_STAT_BLOCKY_MASK                     (0xFF0000U)
80833 #define PXP_STAT_BLOCKY_SHIFT                    (16U)
80834 #define PXP_STAT_BLOCKY(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_STAT_BLOCKY_SHIFT)) & PXP_STAT_BLOCKY_MASK)
80835 
80836 #define PXP_STAT_BLOCKX_MASK                     (0xFF000000U)
80837 #define PXP_STAT_BLOCKX_SHIFT                    (24U)
80838 #define PXP_STAT_BLOCKX(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_STAT_BLOCKX_SHIFT)) & PXP_STAT_BLOCKX_MASK)
80839 /*! @} */
80840 
80841 /*! @name STAT_SET - Status Register */
80842 /*! @{ */
80843 
80844 #define PXP_STAT_SET_IRQ_MASK                    (0x1U)
80845 #define PXP_STAT_SET_IRQ_SHIFT                   (0U)
80846 /*! IRQ
80847  *  0b0..No interrupt
80848  *  0b1..Interrupt generated
80849  */
80850 #define PXP_STAT_SET_IRQ(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_IRQ_SHIFT)) & PXP_STAT_SET_IRQ_MASK)
80851 
80852 #define PXP_STAT_SET_AXI_WRITE_ERROR_MASK        (0x2U)
80853 #define PXP_STAT_SET_AXI_WRITE_ERROR_SHIFT       (1U)
80854 /*! AXI_WRITE_ERROR
80855  *  0b0..AXI write is normal
80856  *  0b1..AXI write error has occurred
80857  */
80858 #define PXP_STAT_SET_AXI_WRITE_ERROR(x)          (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_AXI_WRITE_ERROR_SHIFT)) & PXP_STAT_SET_AXI_WRITE_ERROR_MASK)
80859 
80860 #define PXP_STAT_SET_AXI_READ_ERROR_MASK         (0x4U)
80861 #define PXP_STAT_SET_AXI_READ_ERROR_SHIFT        (2U)
80862 /*! AXI_READ_ERROR
80863  *  0b0..AXI read is normal
80864  *  0b1..AXI read error has occurred
80865  */
80866 #define PXP_STAT_SET_AXI_READ_ERROR(x)           (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_AXI_READ_ERROR_SHIFT)) & PXP_STAT_SET_AXI_READ_ERROR_MASK)
80867 
80868 #define PXP_STAT_SET_NEXT_IRQ_MASK               (0x8U)
80869 #define PXP_STAT_SET_NEXT_IRQ_SHIFT              (3U)
80870 #define PXP_STAT_SET_NEXT_IRQ(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_NEXT_IRQ_SHIFT)) & PXP_STAT_SET_NEXT_IRQ_MASK)
80871 
80872 #define PXP_STAT_SET_AXI_ERROR_ID_MASK           (0xF0U)
80873 #define PXP_STAT_SET_AXI_ERROR_ID_SHIFT          (4U)
80874 #define PXP_STAT_SET_AXI_ERROR_ID(x)             (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_AXI_ERROR_ID_SHIFT)) & PXP_STAT_SET_AXI_ERROR_ID_MASK)
80875 
80876 #define PXP_STAT_SET_LUT_DMA_LOAD_DONE_IRQ_MASK  (0x100U)
80877 #define PXP_STAT_SET_LUT_DMA_LOAD_DONE_IRQ_SHIFT (8U)
80878 /*! LUT_DMA_LOAD_DONE_IRQ
80879  *  0b0..LUT DMA LOAD transfer is active
80880  *  0b1..LUT DMA LOAD transfer is complete
80881  */
80882 #define PXP_STAT_SET_LUT_DMA_LOAD_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_LUT_DMA_LOAD_DONE_IRQ_SHIFT)) & PXP_STAT_SET_LUT_DMA_LOAD_DONE_IRQ_MASK)
80883 
80884 #define PXP_STAT_SET_BLOCKY_MASK                 (0xFF0000U)
80885 #define PXP_STAT_SET_BLOCKY_SHIFT                (16U)
80886 #define PXP_STAT_SET_BLOCKY(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_BLOCKY_SHIFT)) & PXP_STAT_SET_BLOCKY_MASK)
80887 
80888 #define PXP_STAT_SET_BLOCKX_MASK                 (0xFF000000U)
80889 #define PXP_STAT_SET_BLOCKX_SHIFT                (24U)
80890 #define PXP_STAT_SET_BLOCKX(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_SET_BLOCKX_SHIFT)) & PXP_STAT_SET_BLOCKX_MASK)
80891 /*! @} */
80892 
80893 /*! @name STAT_CLR - Status Register */
80894 /*! @{ */
80895 
80896 #define PXP_STAT_CLR_IRQ_MASK                    (0x1U)
80897 #define PXP_STAT_CLR_IRQ_SHIFT                   (0U)
80898 /*! IRQ
80899  *  0b0..No interrupt
80900  *  0b1..Interrupt generated
80901  */
80902 #define PXP_STAT_CLR_IRQ(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_IRQ_SHIFT)) & PXP_STAT_CLR_IRQ_MASK)
80903 
80904 #define PXP_STAT_CLR_AXI_WRITE_ERROR_MASK        (0x2U)
80905 #define PXP_STAT_CLR_AXI_WRITE_ERROR_SHIFT       (1U)
80906 /*! AXI_WRITE_ERROR
80907  *  0b0..AXI write is normal
80908  *  0b1..AXI write error has occurred
80909  */
80910 #define PXP_STAT_CLR_AXI_WRITE_ERROR(x)          (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_AXI_WRITE_ERROR_SHIFT)) & PXP_STAT_CLR_AXI_WRITE_ERROR_MASK)
80911 
80912 #define PXP_STAT_CLR_AXI_READ_ERROR_MASK         (0x4U)
80913 #define PXP_STAT_CLR_AXI_READ_ERROR_SHIFT        (2U)
80914 /*! AXI_READ_ERROR
80915  *  0b0..AXI read is normal
80916  *  0b1..AXI read error has occurred
80917  */
80918 #define PXP_STAT_CLR_AXI_READ_ERROR(x)           (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_AXI_READ_ERROR_SHIFT)) & PXP_STAT_CLR_AXI_READ_ERROR_MASK)
80919 
80920 #define PXP_STAT_CLR_NEXT_IRQ_MASK               (0x8U)
80921 #define PXP_STAT_CLR_NEXT_IRQ_SHIFT              (3U)
80922 #define PXP_STAT_CLR_NEXT_IRQ(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_NEXT_IRQ_SHIFT)) & PXP_STAT_CLR_NEXT_IRQ_MASK)
80923 
80924 #define PXP_STAT_CLR_AXI_ERROR_ID_MASK           (0xF0U)
80925 #define PXP_STAT_CLR_AXI_ERROR_ID_SHIFT          (4U)
80926 #define PXP_STAT_CLR_AXI_ERROR_ID(x)             (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_AXI_ERROR_ID_SHIFT)) & PXP_STAT_CLR_AXI_ERROR_ID_MASK)
80927 
80928 #define PXP_STAT_CLR_LUT_DMA_LOAD_DONE_IRQ_MASK  (0x100U)
80929 #define PXP_STAT_CLR_LUT_DMA_LOAD_DONE_IRQ_SHIFT (8U)
80930 /*! LUT_DMA_LOAD_DONE_IRQ
80931  *  0b0..LUT DMA LOAD transfer is active
80932  *  0b1..LUT DMA LOAD transfer is complete
80933  */
80934 #define PXP_STAT_CLR_LUT_DMA_LOAD_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_LUT_DMA_LOAD_DONE_IRQ_SHIFT)) & PXP_STAT_CLR_LUT_DMA_LOAD_DONE_IRQ_MASK)
80935 
80936 #define PXP_STAT_CLR_BLOCKY_MASK                 (0xFF0000U)
80937 #define PXP_STAT_CLR_BLOCKY_SHIFT                (16U)
80938 #define PXP_STAT_CLR_BLOCKY(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_BLOCKY_SHIFT)) & PXP_STAT_CLR_BLOCKY_MASK)
80939 
80940 #define PXP_STAT_CLR_BLOCKX_MASK                 (0xFF000000U)
80941 #define PXP_STAT_CLR_BLOCKX_SHIFT                (24U)
80942 #define PXP_STAT_CLR_BLOCKX(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_CLR_BLOCKX_SHIFT)) & PXP_STAT_CLR_BLOCKX_MASK)
80943 /*! @} */
80944 
80945 /*! @name STAT_TOG - Status Register */
80946 /*! @{ */
80947 
80948 #define PXP_STAT_TOG_IRQ_MASK                    (0x1U)
80949 #define PXP_STAT_TOG_IRQ_SHIFT                   (0U)
80950 /*! IRQ
80951  *  0b0..No interrupt
80952  *  0b1..Interrupt generated
80953  */
80954 #define PXP_STAT_TOG_IRQ(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_IRQ_SHIFT)) & PXP_STAT_TOG_IRQ_MASK)
80955 
80956 #define PXP_STAT_TOG_AXI_WRITE_ERROR_MASK        (0x2U)
80957 #define PXP_STAT_TOG_AXI_WRITE_ERROR_SHIFT       (1U)
80958 /*! AXI_WRITE_ERROR
80959  *  0b0..AXI write is normal
80960  *  0b1..AXI write error has occurred
80961  */
80962 #define PXP_STAT_TOG_AXI_WRITE_ERROR(x)          (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_AXI_WRITE_ERROR_SHIFT)) & PXP_STAT_TOG_AXI_WRITE_ERROR_MASK)
80963 
80964 #define PXP_STAT_TOG_AXI_READ_ERROR_MASK         (0x4U)
80965 #define PXP_STAT_TOG_AXI_READ_ERROR_SHIFT        (2U)
80966 /*! AXI_READ_ERROR
80967  *  0b0..AXI read is normal
80968  *  0b1..AXI read error has occurred
80969  */
80970 #define PXP_STAT_TOG_AXI_READ_ERROR(x)           (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_AXI_READ_ERROR_SHIFT)) & PXP_STAT_TOG_AXI_READ_ERROR_MASK)
80971 
80972 #define PXP_STAT_TOG_NEXT_IRQ_MASK               (0x8U)
80973 #define PXP_STAT_TOG_NEXT_IRQ_SHIFT              (3U)
80974 #define PXP_STAT_TOG_NEXT_IRQ(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_NEXT_IRQ_SHIFT)) & PXP_STAT_TOG_NEXT_IRQ_MASK)
80975 
80976 #define PXP_STAT_TOG_AXI_ERROR_ID_MASK           (0xF0U)
80977 #define PXP_STAT_TOG_AXI_ERROR_ID_SHIFT          (4U)
80978 #define PXP_STAT_TOG_AXI_ERROR_ID(x)             (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_AXI_ERROR_ID_SHIFT)) & PXP_STAT_TOG_AXI_ERROR_ID_MASK)
80979 
80980 #define PXP_STAT_TOG_LUT_DMA_LOAD_DONE_IRQ_MASK  (0x100U)
80981 #define PXP_STAT_TOG_LUT_DMA_LOAD_DONE_IRQ_SHIFT (8U)
80982 /*! LUT_DMA_LOAD_DONE_IRQ
80983  *  0b0..LUT DMA LOAD transfer is active
80984  *  0b1..LUT DMA LOAD transfer is complete
80985  */
80986 #define PXP_STAT_TOG_LUT_DMA_LOAD_DONE_IRQ(x)    (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_LUT_DMA_LOAD_DONE_IRQ_SHIFT)) & PXP_STAT_TOG_LUT_DMA_LOAD_DONE_IRQ_MASK)
80987 
80988 #define PXP_STAT_TOG_BLOCKY_MASK                 (0xFF0000U)
80989 #define PXP_STAT_TOG_BLOCKY_SHIFT                (16U)
80990 #define PXP_STAT_TOG_BLOCKY(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_BLOCKY_SHIFT)) & PXP_STAT_TOG_BLOCKY_MASK)
80991 
80992 #define PXP_STAT_TOG_BLOCKX_MASK                 (0xFF000000U)
80993 #define PXP_STAT_TOG_BLOCKX_SHIFT                (24U)
80994 #define PXP_STAT_TOG_BLOCKX(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_STAT_TOG_BLOCKX_SHIFT)) & PXP_STAT_TOG_BLOCKX_MASK)
80995 /*! @} */
80996 
80997 /*! @name OUT_CTRL - Output Buffer Control Register */
80998 /*! @{ */
80999 
81000 #define PXP_OUT_CTRL_FORMAT_MASK                 (0x1FU)
81001 #define PXP_OUT_CTRL_FORMAT_SHIFT                (0U)
81002 /*! FORMAT
81003  *  0b00000..32-bit pixels
81004  *  0b00100..32-bit pixels (unpacked 24-bit pixel in 32 bit DWORD.)
81005  *  0b00101..24-bit pixels (packed 24-bit format)
81006  *  0b01000..16-bit pixels
81007  *  0b01001..16-bit pixels
81008  *  0b01100..16-bit pixels
81009  *  0b01101..16-bit pixels
81010  *  0b01110..16-bit pixels
81011  *  0b10000..32-bit pixels (1-plane XYUV unpacked)
81012  *  0b10010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81013  *  0b10011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81014  *  0b10100..8-bit monochrome pixels (1-plane Y luma output)
81015  *  0b10101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81016  *  0b11000..16-bit pixels (2-plane UV interleaved bytes)
81017  *  0b11001..16-bit pixels (2-plane UV)
81018  *  0b11010..16-bit pixels (2-plane VU interleaved bytes)
81019  *  0b11011..16-bit pixels (2-plane VU)
81020  */
81021 #define PXP_OUT_CTRL_FORMAT(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_FORMAT_SHIFT)) & PXP_OUT_CTRL_FORMAT_MASK)
81022 
81023 #define PXP_OUT_CTRL_INTERLACED_OUTPUT_MASK      (0x300U)
81024 #define PXP_OUT_CTRL_INTERLACED_OUTPUT_SHIFT     (8U)
81025 /*! INTERLACED_OUTPUT
81026  *  0b00..All data written in progressive format to the OUTBUF Pointer.
81027  *  0b01..Interlaced output: only data for field 0 is written to the OUTBUF Pointer.
81028  *  0b10..Interlaced output: only data for field 1 is written to the OUTBUF2 Pointer.
81029  *  0b11..Interlaced output: data for field 0 is written to OUTBUF and data for field 1 is written to OUTBUF2.
81030  */
81031 #define PXP_OUT_CTRL_INTERLACED_OUTPUT(x)        (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_INTERLACED_OUTPUT_SHIFT)) & PXP_OUT_CTRL_INTERLACED_OUTPUT_MASK)
81032 
81033 #define PXP_OUT_CTRL_ALPHA_OUTPUT_MASK           (0x800000U)
81034 #define PXP_OUT_CTRL_ALPHA_OUTPUT_SHIFT          (23U)
81035 /*! ALPHA_OUTPUT
81036  *  0b0..Retain
81037  *  0b1..Overwritten
81038  */
81039 #define PXP_OUT_CTRL_ALPHA_OUTPUT(x)             (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_ALPHA_OUTPUT_SHIFT)) & PXP_OUT_CTRL_ALPHA_OUTPUT_MASK)
81040 
81041 #define PXP_OUT_CTRL_ALPHA_MASK                  (0xFF000000U)
81042 #define PXP_OUT_CTRL_ALPHA_SHIFT                 (24U)
81043 #define PXP_OUT_CTRL_ALPHA(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_ALPHA_SHIFT)) & PXP_OUT_CTRL_ALPHA_MASK)
81044 /*! @} */
81045 
81046 /*! @name OUT_CTRL_SET - Output Buffer Control Register */
81047 /*! @{ */
81048 
81049 #define PXP_OUT_CTRL_SET_FORMAT_MASK             (0x1FU)
81050 #define PXP_OUT_CTRL_SET_FORMAT_SHIFT            (0U)
81051 /*! FORMAT
81052  *  0b00000..32-bit pixels
81053  *  0b00100..32-bit pixels (unpacked 24-bit pixel in 32 bit DWORD.)
81054  *  0b00101..24-bit pixels (packed 24-bit format)
81055  *  0b01000..16-bit pixels
81056  *  0b01001..16-bit pixels
81057  *  0b01100..16-bit pixels
81058  *  0b01101..16-bit pixels
81059  *  0b01110..16-bit pixels
81060  *  0b10000..32-bit pixels (1-plane XYUV unpacked)
81061  *  0b10010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81062  *  0b10011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81063  *  0b10100..8-bit monochrome pixels (1-plane Y luma output)
81064  *  0b10101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81065  *  0b11000..16-bit pixels (2-plane UV interleaved bytes)
81066  *  0b11001..16-bit pixels (2-plane UV)
81067  *  0b11010..16-bit pixels (2-plane VU interleaved bytes)
81068  *  0b11011..16-bit pixels (2-plane VU)
81069  */
81070 #define PXP_OUT_CTRL_SET_FORMAT(x)               (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_SET_FORMAT_SHIFT)) & PXP_OUT_CTRL_SET_FORMAT_MASK)
81071 
81072 #define PXP_OUT_CTRL_SET_INTERLACED_OUTPUT_MASK  (0x300U)
81073 #define PXP_OUT_CTRL_SET_INTERLACED_OUTPUT_SHIFT (8U)
81074 /*! INTERLACED_OUTPUT
81075  *  0b00..All data written in progressive format to the OUTBUF Pointer.
81076  *  0b01..Interlaced output: only data for field 0 is written to the OUTBUF Pointer.
81077  *  0b10..Interlaced output: only data for field 1 is written to the OUTBUF2 Pointer.
81078  *  0b11..Interlaced output: data for field 0 is written to OUTBUF and data for field 1 is written to OUTBUF2.
81079  */
81080 #define PXP_OUT_CTRL_SET_INTERLACED_OUTPUT(x)    (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_SET_INTERLACED_OUTPUT_SHIFT)) & PXP_OUT_CTRL_SET_INTERLACED_OUTPUT_MASK)
81081 
81082 #define PXP_OUT_CTRL_SET_ALPHA_OUTPUT_MASK       (0x800000U)
81083 #define PXP_OUT_CTRL_SET_ALPHA_OUTPUT_SHIFT      (23U)
81084 /*! ALPHA_OUTPUT
81085  *  0b0..Retain
81086  *  0b1..Overwritten
81087  */
81088 #define PXP_OUT_CTRL_SET_ALPHA_OUTPUT(x)         (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_SET_ALPHA_OUTPUT_SHIFT)) & PXP_OUT_CTRL_SET_ALPHA_OUTPUT_MASK)
81089 
81090 #define PXP_OUT_CTRL_SET_ALPHA_MASK              (0xFF000000U)
81091 #define PXP_OUT_CTRL_SET_ALPHA_SHIFT             (24U)
81092 #define PXP_OUT_CTRL_SET_ALPHA(x)                (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_SET_ALPHA_SHIFT)) & PXP_OUT_CTRL_SET_ALPHA_MASK)
81093 /*! @} */
81094 
81095 /*! @name OUT_CTRL_CLR - Output Buffer Control Register */
81096 /*! @{ */
81097 
81098 #define PXP_OUT_CTRL_CLR_FORMAT_MASK             (0x1FU)
81099 #define PXP_OUT_CTRL_CLR_FORMAT_SHIFT            (0U)
81100 /*! FORMAT
81101  *  0b00000..32-bit pixels
81102  *  0b00100..32-bit pixels (unpacked 24-bit pixel in 32 bit DWORD.)
81103  *  0b00101..24-bit pixels (packed 24-bit format)
81104  *  0b01000..16-bit pixels
81105  *  0b01001..16-bit pixels
81106  *  0b01100..16-bit pixels
81107  *  0b01101..16-bit pixels
81108  *  0b01110..16-bit pixels
81109  *  0b10000..32-bit pixels (1-plane XYUV unpacked)
81110  *  0b10010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81111  *  0b10011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81112  *  0b10100..8-bit monochrome pixels (1-plane Y luma output)
81113  *  0b10101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81114  *  0b11000..16-bit pixels (2-plane UV interleaved bytes)
81115  *  0b11001..16-bit pixels (2-plane UV)
81116  *  0b11010..16-bit pixels (2-plane VU interleaved bytes)
81117  *  0b11011..16-bit pixels (2-plane VU)
81118  */
81119 #define PXP_OUT_CTRL_CLR_FORMAT(x)               (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_CLR_FORMAT_SHIFT)) & PXP_OUT_CTRL_CLR_FORMAT_MASK)
81120 
81121 #define PXP_OUT_CTRL_CLR_INTERLACED_OUTPUT_MASK  (0x300U)
81122 #define PXP_OUT_CTRL_CLR_INTERLACED_OUTPUT_SHIFT (8U)
81123 /*! INTERLACED_OUTPUT
81124  *  0b00..All data written in progressive format to the OUTBUF Pointer.
81125  *  0b01..Interlaced output: only data for field 0 is written to the OUTBUF Pointer.
81126  *  0b10..Interlaced output: only data for field 1 is written to the OUTBUF2 Pointer.
81127  *  0b11..Interlaced output: data for field 0 is written to OUTBUF and data for field 1 is written to OUTBUF2.
81128  */
81129 #define PXP_OUT_CTRL_CLR_INTERLACED_OUTPUT(x)    (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_CLR_INTERLACED_OUTPUT_SHIFT)) & PXP_OUT_CTRL_CLR_INTERLACED_OUTPUT_MASK)
81130 
81131 #define PXP_OUT_CTRL_CLR_ALPHA_OUTPUT_MASK       (0x800000U)
81132 #define PXP_OUT_CTRL_CLR_ALPHA_OUTPUT_SHIFT      (23U)
81133 /*! ALPHA_OUTPUT
81134  *  0b0..Retain
81135  *  0b1..Overwritten
81136  */
81137 #define PXP_OUT_CTRL_CLR_ALPHA_OUTPUT(x)         (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_CLR_ALPHA_OUTPUT_SHIFT)) & PXP_OUT_CTRL_CLR_ALPHA_OUTPUT_MASK)
81138 
81139 #define PXP_OUT_CTRL_CLR_ALPHA_MASK              (0xFF000000U)
81140 #define PXP_OUT_CTRL_CLR_ALPHA_SHIFT             (24U)
81141 #define PXP_OUT_CTRL_CLR_ALPHA(x)                (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_CLR_ALPHA_SHIFT)) & PXP_OUT_CTRL_CLR_ALPHA_MASK)
81142 /*! @} */
81143 
81144 /*! @name OUT_CTRL_TOG - Output Buffer Control Register */
81145 /*! @{ */
81146 
81147 #define PXP_OUT_CTRL_TOG_FORMAT_MASK             (0x1FU)
81148 #define PXP_OUT_CTRL_TOG_FORMAT_SHIFT            (0U)
81149 /*! FORMAT
81150  *  0b00000..32-bit pixels
81151  *  0b00100..32-bit pixels (unpacked 24-bit pixel in 32 bit DWORD.)
81152  *  0b00101..24-bit pixels (packed 24-bit format)
81153  *  0b01000..16-bit pixels
81154  *  0b01001..16-bit pixels
81155  *  0b01100..16-bit pixels
81156  *  0b01101..16-bit pixels
81157  *  0b01110..16-bit pixels
81158  *  0b10000..32-bit pixels (1-plane XYUV unpacked)
81159  *  0b10010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81160  *  0b10011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81161  *  0b10100..8-bit monochrome pixels (1-plane Y luma output)
81162  *  0b10101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81163  *  0b11000..16-bit pixels (2-plane UV interleaved bytes)
81164  *  0b11001..16-bit pixels (2-plane UV)
81165  *  0b11010..16-bit pixels (2-plane VU interleaved bytes)
81166  *  0b11011..16-bit pixels (2-plane VU)
81167  */
81168 #define PXP_OUT_CTRL_TOG_FORMAT(x)               (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_TOG_FORMAT_SHIFT)) & PXP_OUT_CTRL_TOG_FORMAT_MASK)
81169 
81170 #define PXP_OUT_CTRL_TOG_INTERLACED_OUTPUT_MASK  (0x300U)
81171 #define PXP_OUT_CTRL_TOG_INTERLACED_OUTPUT_SHIFT (8U)
81172 /*! INTERLACED_OUTPUT
81173  *  0b00..All data written in progressive format to the OUTBUF Pointer.
81174  *  0b01..Interlaced output: only data for field 0 is written to the OUTBUF Pointer.
81175  *  0b10..Interlaced output: only data for field 1 is written to the OUTBUF2 Pointer.
81176  *  0b11..Interlaced output: data for field 0 is written to OUTBUF and data for field 1 is written to OUTBUF2.
81177  */
81178 #define PXP_OUT_CTRL_TOG_INTERLACED_OUTPUT(x)    (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_TOG_INTERLACED_OUTPUT_SHIFT)) & PXP_OUT_CTRL_TOG_INTERLACED_OUTPUT_MASK)
81179 
81180 #define PXP_OUT_CTRL_TOG_ALPHA_OUTPUT_MASK       (0x800000U)
81181 #define PXP_OUT_CTRL_TOG_ALPHA_OUTPUT_SHIFT      (23U)
81182 /*! ALPHA_OUTPUT
81183  *  0b0..Retain
81184  *  0b1..Overwritten
81185  */
81186 #define PXP_OUT_CTRL_TOG_ALPHA_OUTPUT(x)         (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_TOG_ALPHA_OUTPUT_SHIFT)) & PXP_OUT_CTRL_TOG_ALPHA_OUTPUT_MASK)
81187 
81188 #define PXP_OUT_CTRL_TOG_ALPHA_MASK              (0xFF000000U)
81189 #define PXP_OUT_CTRL_TOG_ALPHA_SHIFT             (24U)
81190 #define PXP_OUT_CTRL_TOG_ALPHA(x)                (((uint32_t)(((uint32_t)(x)) << PXP_OUT_CTRL_TOG_ALPHA_SHIFT)) & PXP_OUT_CTRL_TOG_ALPHA_MASK)
81191 /*! @} */
81192 
81193 /*! @name OUT_BUF - Output Frame Buffer Pointer */
81194 /*! @{ */
81195 
81196 #define PXP_OUT_BUF_ADDR_MASK                    (0xFFFFFFFFU)
81197 #define PXP_OUT_BUF_ADDR_SHIFT                   (0U)
81198 #define PXP_OUT_BUF_ADDR(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_BUF_ADDR_SHIFT)) & PXP_OUT_BUF_ADDR_MASK)
81199 /*! @} */
81200 
81201 /*! @name OUT_BUF2 - Output Frame Buffer Pointer #2 */
81202 /*! @{ */
81203 
81204 #define PXP_OUT_BUF2_ADDR_MASK                   (0xFFFFFFFFU)
81205 #define PXP_OUT_BUF2_ADDR_SHIFT                  (0U)
81206 #define PXP_OUT_BUF2_ADDR(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_OUT_BUF2_ADDR_SHIFT)) & PXP_OUT_BUF2_ADDR_MASK)
81207 /*! @} */
81208 
81209 /*! @name OUT_PITCH - Output Buffer Pitch */
81210 /*! @{ */
81211 
81212 #define PXP_OUT_PITCH_PITCH_MASK                 (0xFFFFU)
81213 #define PXP_OUT_PITCH_PITCH_SHIFT                (0U)
81214 #define PXP_OUT_PITCH_PITCH(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_OUT_PITCH_PITCH_SHIFT)) & PXP_OUT_PITCH_PITCH_MASK)
81215 /*! @} */
81216 
81217 /*! @name OUT_LRC - Output Surface Lower Right Coordinate */
81218 /*! @{ */
81219 
81220 #define PXP_OUT_LRC_Y_MASK                       (0x3FFFU)
81221 #define PXP_OUT_LRC_Y_SHIFT                      (0U)
81222 #define PXP_OUT_LRC_Y(x)                         (((uint32_t)(((uint32_t)(x)) << PXP_OUT_LRC_Y_SHIFT)) & PXP_OUT_LRC_Y_MASK)
81223 
81224 #define PXP_OUT_LRC_X_MASK                       (0x3FFF0000U)
81225 #define PXP_OUT_LRC_X_SHIFT                      (16U)
81226 #define PXP_OUT_LRC_X(x)                         (((uint32_t)(((uint32_t)(x)) << PXP_OUT_LRC_X_SHIFT)) & PXP_OUT_LRC_X_MASK)
81227 /*! @} */
81228 
81229 /*! @name OUT_PS_ULC - Processed Surface Upper Left Coordinate */
81230 /*! @{ */
81231 
81232 #define PXP_OUT_PS_ULC_Y_MASK                    (0x3FFFU)
81233 #define PXP_OUT_PS_ULC_Y_SHIFT                   (0U)
81234 #define PXP_OUT_PS_ULC_Y(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_PS_ULC_Y_SHIFT)) & PXP_OUT_PS_ULC_Y_MASK)
81235 
81236 #define PXP_OUT_PS_ULC_X_MASK                    (0x3FFF0000U)
81237 #define PXP_OUT_PS_ULC_X_SHIFT                   (16U)
81238 #define PXP_OUT_PS_ULC_X(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_PS_ULC_X_SHIFT)) & PXP_OUT_PS_ULC_X_MASK)
81239 /*! @} */
81240 
81241 /*! @name OUT_PS_LRC - Processed Surface Lower Right Coordinate */
81242 /*! @{ */
81243 
81244 #define PXP_OUT_PS_LRC_Y_MASK                    (0x3FFFU)
81245 #define PXP_OUT_PS_LRC_Y_SHIFT                   (0U)
81246 #define PXP_OUT_PS_LRC_Y(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_PS_LRC_Y_SHIFT)) & PXP_OUT_PS_LRC_Y_MASK)
81247 
81248 #define PXP_OUT_PS_LRC_X_MASK                    (0x3FFF0000U)
81249 #define PXP_OUT_PS_LRC_X_SHIFT                   (16U)
81250 #define PXP_OUT_PS_LRC_X(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_PS_LRC_X_SHIFT)) & PXP_OUT_PS_LRC_X_MASK)
81251 /*! @} */
81252 
81253 /*! @name OUT_AS_ULC - Alpha Surface Upper Left Coordinate */
81254 /*! @{ */
81255 
81256 #define PXP_OUT_AS_ULC_Y_MASK                    (0x3FFFU)
81257 #define PXP_OUT_AS_ULC_Y_SHIFT                   (0U)
81258 #define PXP_OUT_AS_ULC_Y(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_AS_ULC_Y_SHIFT)) & PXP_OUT_AS_ULC_Y_MASK)
81259 
81260 #define PXP_OUT_AS_ULC_X_MASK                    (0x3FFF0000U)
81261 #define PXP_OUT_AS_ULC_X_SHIFT                   (16U)
81262 #define PXP_OUT_AS_ULC_X(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_AS_ULC_X_SHIFT)) & PXP_OUT_AS_ULC_X_MASK)
81263 /*! @} */
81264 
81265 /*! @name OUT_AS_LRC - Alpha Surface Lower Right Coordinate */
81266 /*! @{ */
81267 
81268 #define PXP_OUT_AS_LRC_Y_MASK                    (0x3FFFU)
81269 #define PXP_OUT_AS_LRC_Y_SHIFT                   (0U)
81270 #define PXP_OUT_AS_LRC_Y(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_AS_LRC_Y_SHIFT)) & PXP_OUT_AS_LRC_Y_MASK)
81271 
81272 #define PXP_OUT_AS_LRC_X_MASK                    (0x3FFF0000U)
81273 #define PXP_OUT_AS_LRC_X_SHIFT                   (16U)
81274 #define PXP_OUT_AS_LRC_X(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_OUT_AS_LRC_X_SHIFT)) & PXP_OUT_AS_LRC_X_MASK)
81275 /*! @} */
81276 
81277 /*! @name PS_CTRL - Processed Surface (PS) Control Register */
81278 /*! @{ */
81279 
81280 #define PXP_PS_CTRL_FORMAT_MASK                  (0x3FU)
81281 #define PXP_PS_CTRL_FORMAT_SHIFT                 (0U)
81282 /*! FORMAT
81283  *  0b000100..32-bit pixels (unpacked 24-bit format with/without alpha at high 8bits)
81284  *  0b001100..16-bit pixels with/without alpha at high 1bit
81285  *  0b001101..16-bit pixels with/without alpha at high 4 bits
81286  *  0b001110..16-bit pixels
81287  *  0b010000..32-bit pixels (1-plane XYUV unpacked)
81288  *  0b010010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81289  *  0b010011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81290  *  0b010100..8-bit monochrome pixels (1-plane Y luma output)
81291  *  0b010101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81292  *  0b011000..16-bit pixels (2-plane UV interleaved bytes)
81293  *  0b011001..16-bit pixels (2-plane UV)
81294  *  0b011010..16-bit pixels (2-plane VU interleaved bytes)
81295  *  0b011011..16-bit pixels (2-plane VU)
81296  *  0b011110..16-bit pixels (3-plane format)
81297  *  0b011111..16-bit pixels (3-plane format)
81298  *  0b100100..2-bit pixels with alpha at the low 8 bits
81299  *  0b101100..16-bit pixels with alpha at the low 1bits
81300  *  0b101101..16-bit pixels with alpha at the low 4 bits
81301  */
81302 #define PXP_PS_CTRL_FORMAT(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_FORMAT_SHIFT)) & PXP_PS_CTRL_FORMAT_MASK)
81303 
81304 #define PXP_PS_CTRL_WB_SWAP_MASK                 (0x40U)
81305 #define PXP_PS_CTRL_WB_SWAP_SHIFT                (6U)
81306 /*! WB_SWAP
81307  *  0b0..Byte swap is disabled
81308  *  0b1..Byte swap is enabled
81309  */
81310 #define PXP_PS_CTRL_WB_SWAP(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_WB_SWAP_SHIFT)) & PXP_PS_CTRL_WB_SWAP_MASK)
81311 
81312 #define PXP_PS_CTRL_DECY_MASK                    (0x300U)
81313 #define PXP_PS_CTRL_DECY_SHIFT                   (8U)
81314 /*! DECY
81315  *  0b00..Disable pre-decimation filter.
81316  *  0b01..Decimate PS by 2.
81317  *  0b10..Decimate PS by 4.
81318  *  0b11..Decimate PS by 8.
81319  */
81320 #define PXP_PS_CTRL_DECY(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_DECY_SHIFT)) & PXP_PS_CTRL_DECY_MASK)
81321 
81322 #define PXP_PS_CTRL_DECX_MASK                    (0xC00U)
81323 #define PXP_PS_CTRL_DECX_SHIFT                   (10U)
81324 /*! DECX
81325  *  0b00..Disable pre-decimation filter.
81326  *  0b01..Decimate PS by 2.
81327  *  0b10..Decimate PS by 4.
81328  *  0b11..Decimate PS by 8.
81329  */
81330 #define PXP_PS_CTRL_DECX(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_DECX_SHIFT)) & PXP_PS_CTRL_DECX_MASK)
81331 /*! @} */
81332 
81333 /*! @name PS_CTRL_SET - Processed Surface (PS) Control Register */
81334 /*! @{ */
81335 
81336 #define PXP_PS_CTRL_SET_FORMAT_MASK              (0x3FU)
81337 #define PXP_PS_CTRL_SET_FORMAT_SHIFT             (0U)
81338 /*! FORMAT
81339  *  0b000100..32-bit pixels (unpacked 24-bit format with/without alpha at high 8bits)
81340  *  0b001100..16-bit pixels with/without alpha at high 1bit
81341  *  0b001101..16-bit pixels with/without alpha at high 4 bits
81342  *  0b001110..16-bit pixels
81343  *  0b010000..32-bit pixels (1-plane XYUV unpacked)
81344  *  0b010010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81345  *  0b010011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81346  *  0b010100..8-bit monochrome pixels (1-plane Y luma output)
81347  *  0b010101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81348  *  0b011000..16-bit pixels (2-plane UV interleaved bytes)
81349  *  0b011001..16-bit pixels (2-plane UV)
81350  *  0b011010..16-bit pixels (2-plane VU interleaved bytes)
81351  *  0b011011..16-bit pixels (2-plane VU)
81352  *  0b011110..16-bit pixels (3-plane format)
81353  *  0b011111..16-bit pixels (3-plane format)
81354  *  0b100100..2-bit pixels with alpha at the low 8 bits
81355  *  0b101100..16-bit pixels with alpha at the low 1bits
81356  *  0b101101..16-bit pixels with alpha at the low 4 bits
81357  */
81358 #define PXP_PS_CTRL_SET_FORMAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_SET_FORMAT_SHIFT)) & PXP_PS_CTRL_SET_FORMAT_MASK)
81359 
81360 #define PXP_PS_CTRL_SET_WB_SWAP_MASK             (0x40U)
81361 #define PXP_PS_CTRL_SET_WB_SWAP_SHIFT            (6U)
81362 /*! WB_SWAP
81363  *  0b0..Byte swap is disabled
81364  *  0b1..Byte swap is enabled
81365  */
81366 #define PXP_PS_CTRL_SET_WB_SWAP(x)               (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_SET_WB_SWAP_SHIFT)) & PXP_PS_CTRL_SET_WB_SWAP_MASK)
81367 
81368 #define PXP_PS_CTRL_SET_DECY_MASK                (0x300U)
81369 #define PXP_PS_CTRL_SET_DECY_SHIFT               (8U)
81370 /*! DECY
81371  *  0b00..Disable pre-decimation filter.
81372  *  0b01..Decimate PS by 2.
81373  *  0b10..Decimate PS by 4.
81374  *  0b11..Decimate PS by 8.
81375  */
81376 #define PXP_PS_CTRL_SET_DECY(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_SET_DECY_SHIFT)) & PXP_PS_CTRL_SET_DECY_MASK)
81377 
81378 #define PXP_PS_CTRL_SET_DECX_MASK                (0xC00U)
81379 #define PXP_PS_CTRL_SET_DECX_SHIFT               (10U)
81380 /*! DECX
81381  *  0b00..Disable pre-decimation filter.
81382  *  0b01..Decimate PS by 2.
81383  *  0b10..Decimate PS by 4.
81384  *  0b11..Decimate PS by 8.
81385  */
81386 #define PXP_PS_CTRL_SET_DECX(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_SET_DECX_SHIFT)) & PXP_PS_CTRL_SET_DECX_MASK)
81387 /*! @} */
81388 
81389 /*! @name PS_CTRL_CLR - Processed Surface (PS) Control Register */
81390 /*! @{ */
81391 
81392 #define PXP_PS_CTRL_CLR_FORMAT_MASK              (0x3FU)
81393 #define PXP_PS_CTRL_CLR_FORMAT_SHIFT             (0U)
81394 /*! FORMAT
81395  *  0b000100..32-bit pixels (unpacked 24-bit format with/without alpha at high 8bits)
81396  *  0b001100..16-bit pixels with/without alpha at high 1bit
81397  *  0b001101..16-bit pixels with/without alpha at high 4 bits
81398  *  0b001110..16-bit pixels
81399  *  0b010000..32-bit pixels (1-plane XYUV unpacked)
81400  *  0b010010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81401  *  0b010011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81402  *  0b010100..8-bit monochrome pixels (1-plane Y luma output)
81403  *  0b010101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81404  *  0b011000..16-bit pixels (2-plane UV interleaved bytes)
81405  *  0b011001..16-bit pixels (2-plane UV)
81406  *  0b011010..16-bit pixels (2-plane VU interleaved bytes)
81407  *  0b011011..16-bit pixels (2-plane VU)
81408  *  0b011110..16-bit pixels (3-plane format)
81409  *  0b011111..16-bit pixels (3-plane format)
81410  *  0b100100..2-bit pixels with alpha at the low 8 bits
81411  *  0b101100..16-bit pixels with alpha at the low 1bits
81412  *  0b101101..16-bit pixels with alpha at the low 4 bits
81413  */
81414 #define PXP_PS_CTRL_CLR_FORMAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_CLR_FORMAT_SHIFT)) & PXP_PS_CTRL_CLR_FORMAT_MASK)
81415 
81416 #define PXP_PS_CTRL_CLR_WB_SWAP_MASK             (0x40U)
81417 #define PXP_PS_CTRL_CLR_WB_SWAP_SHIFT            (6U)
81418 /*! WB_SWAP
81419  *  0b0..Byte swap is disabled
81420  *  0b1..Byte swap is enabled
81421  */
81422 #define PXP_PS_CTRL_CLR_WB_SWAP(x)               (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_CLR_WB_SWAP_SHIFT)) & PXP_PS_CTRL_CLR_WB_SWAP_MASK)
81423 
81424 #define PXP_PS_CTRL_CLR_DECY_MASK                (0x300U)
81425 #define PXP_PS_CTRL_CLR_DECY_SHIFT               (8U)
81426 /*! DECY
81427  *  0b00..Disable pre-decimation filter.
81428  *  0b01..Decimate PS by 2.
81429  *  0b10..Decimate PS by 4.
81430  *  0b11..Decimate PS by 8.
81431  */
81432 #define PXP_PS_CTRL_CLR_DECY(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_CLR_DECY_SHIFT)) & PXP_PS_CTRL_CLR_DECY_MASK)
81433 
81434 #define PXP_PS_CTRL_CLR_DECX_MASK                (0xC00U)
81435 #define PXP_PS_CTRL_CLR_DECX_SHIFT               (10U)
81436 /*! DECX
81437  *  0b00..Disable pre-decimation filter.
81438  *  0b01..Decimate PS by 2.
81439  *  0b10..Decimate PS by 4.
81440  *  0b11..Decimate PS by 8.
81441  */
81442 #define PXP_PS_CTRL_CLR_DECX(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_CLR_DECX_SHIFT)) & PXP_PS_CTRL_CLR_DECX_MASK)
81443 /*! @} */
81444 
81445 /*! @name PS_CTRL_TOG - Processed Surface (PS) Control Register */
81446 /*! @{ */
81447 
81448 #define PXP_PS_CTRL_TOG_FORMAT_MASK              (0x3FU)
81449 #define PXP_PS_CTRL_TOG_FORMAT_SHIFT             (0U)
81450 /*! FORMAT
81451  *  0b000100..32-bit pixels (unpacked 24-bit format with/without alpha at high 8bits)
81452  *  0b001100..16-bit pixels with/without alpha at high 1bit
81453  *  0b001101..16-bit pixels with/without alpha at high 4 bits
81454  *  0b001110..16-bit pixels
81455  *  0b010000..32-bit pixels (1-plane XYUV unpacked)
81456  *  0b010010..16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
81457  *  0b010011..16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
81458  *  0b010100..8-bit monochrome pixels (1-plane Y luma output)
81459  *  0b010101..4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
81460  *  0b011000..16-bit pixels (2-plane UV interleaved bytes)
81461  *  0b011001..16-bit pixels (2-plane UV)
81462  *  0b011010..16-bit pixels (2-plane VU interleaved bytes)
81463  *  0b011011..16-bit pixels (2-plane VU)
81464  *  0b011110..16-bit pixels (3-plane format)
81465  *  0b011111..16-bit pixels (3-plane format)
81466  *  0b100100..2-bit pixels with alpha at the low 8 bits
81467  *  0b101100..16-bit pixels with alpha at the low 1bits
81468  *  0b101101..16-bit pixels with alpha at the low 4 bits
81469  */
81470 #define PXP_PS_CTRL_TOG_FORMAT(x)                (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_TOG_FORMAT_SHIFT)) & PXP_PS_CTRL_TOG_FORMAT_MASK)
81471 
81472 #define PXP_PS_CTRL_TOG_WB_SWAP_MASK             (0x40U)
81473 #define PXP_PS_CTRL_TOG_WB_SWAP_SHIFT            (6U)
81474 /*! WB_SWAP
81475  *  0b0..Byte swap is disabled
81476  *  0b1..Byte swap is enabled
81477  */
81478 #define PXP_PS_CTRL_TOG_WB_SWAP(x)               (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_TOG_WB_SWAP_SHIFT)) & PXP_PS_CTRL_TOG_WB_SWAP_MASK)
81479 
81480 #define PXP_PS_CTRL_TOG_DECY_MASK                (0x300U)
81481 #define PXP_PS_CTRL_TOG_DECY_SHIFT               (8U)
81482 /*! DECY
81483  *  0b00..Disable pre-decimation filter.
81484  *  0b01..Decimate PS by 2.
81485  *  0b10..Decimate PS by 4.
81486  *  0b11..Decimate PS by 8.
81487  */
81488 #define PXP_PS_CTRL_TOG_DECY(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_TOG_DECY_SHIFT)) & PXP_PS_CTRL_TOG_DECY_MASK)
81489 
81490 #define PXP_PS_CTRL_TOG_DECX_MASK                (0xC00U)
81491 #define PXP_PS_CTRL_TOG_DECX_SHIFT               (10U)
81492 /*! DECX
81493  *  0b00..Disable pre-decimation filter.
81494  *  0b01..Decimate PS by 2.
81495  *  0b10..Decimate PS by 4.
81496  *  0b11..Decimate PS by 8.
81497  */
81498 #define PXP_PS_CTRL_TOG_DECX(x)                  (((uint32_t)(((uint32_t)(x)) << PXP_PS_CTRL_TOG_DECX_SHIFT)) & PXP_PS_CTRL_TOG_DECX_MASK)
81499 /*! @} */
81500 
81501 /*! @name PS_BUF - PS Input Buffer Address */
81502 /*! @{ */
81503 
81504 #define PXP_PS_BUF_ADDR_MASK                     (0xFFFFFFFFU)
81505 #define PXP_PS_BUF_ADDR_SHIFT                    (0U)
81506 #define PXP_PS_BUF_ADDR(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_PS_BUF_ADDR_SHIFT)) & PXP_PS_BUF_ADDR_MASK)
81507 /*! @} */
81508 
81509 /*! @name PS_UBUF - PS U/Cb or 2 Plane UV Input Buffer Address */
81510 /*! @{ */
81511 
81512 #define PXP_PS_UBUF_ADDR_MASK                    (0xFFFFFFFFU)
81513 #define PXP_PS_UBUF_ADDR_SHIFT                   (0U)
81514 #define PXP_PS_UBUF_ADDR(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_PS_UBUF_ADDR_SHIFT)) & PXP_PS_UBUF_ADDR_MASK)
81515 /*! @} */
81516 
81517 /*! @name PS_VBUF - PS V/Cr Input Buffer Address */
81518 /*! @{ */
81519 
81520 #define PXP_PS_VBUF_ADDR_MASK                    (0xFFFFFFFFU)
81521 #define PXP_PS_VBUF_ADDR_SHIFT                   (0U)
81522 #define PXP_PS_VBUF_ADDR(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_PS_VBUF_ADDR_SHIFT)) & PXP_PS_VBUF_ADDR_MASK)
81523 /*! @} */
81524 
81525 /*! @name PS_PITCH - Processed Surface Pitch */
81526 /*! @{ */
81527 
81528 #define PXP_PS_PITCH_PITCH_MASK                  (0xFFFFU)
81529 #define PXP_PS_PITCH_PITCH_SHIFT                 (0U)
81530 #define PXP_PS_PITCH_PITCH(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_PS_PITCH_PITCH_SHIFT)) & PXP_PS_PITCH_PITCH_MASK)
81531 /*! @} */
81532 
81533 /*! @name PS_BACKGROUND - PS Background Color */
81534 /*! @{ */
81535 
81536 #define PXP_PS_BACKGROUND_COLOR_MASK             (0xFFFFFFU)
81537 #define PXP_PS_BACKGROUND_COLOR_SHIFT            (0U)
81538 #define PXP_PS_BACKGROUND_COLOR(x)               (((uint32_t)(((uint32_t)(x)) << PXP_PS_BACKGROUND_COLOR_SHIFT)) & PXP_PS_BACKGROUND_COLOR_MASK)
81539 /*! @} */
81540 
81541 /*! @name PS_SCALE - PS Scale Factor Register */
81542 /*! @{ */
81543 
81544 #define PXP_PS_SCALE_XSCALE_MASK                 (0x7FFFU)
81545 #define PXP_PS_SCALE_XSCALE_SHIFT                (0U)
81546 #define PXP_PS_SCALE_XSCALE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_PS_SCALE_XSCALE_SHIFT)) & PXP_PS_SCALE_XSCALE_MASK)
81547 
81548 #define PXP_PS_SCALE_YSCALE_MASK                 (0x7FFF0000U)
81549 #define PXP_PS_SCALE_YSCALE_SHIFT                (16U)
81550 #define PXP_PS_SCALE_YSCALE(x)                   (((uint32_t)(((uint32_t)(x)) << PXP_PS_SCALE_YSCALE_SHIFT)) & PXP_PS_SCALE_YSCALE_MASK)
81551 /*! @} */
81552 
81553 /*! @name PS_OFFSET - PS Scale Offset Register */
81554 /*! @{ */
81555 
81556 #define PXP_PS_OFFSET_XOFFSET_MASK               (0xFFFU)
81557 #define PXP_PS_OFFSET_XOFFSET_SHIFT              (0U)
81558 #define PXP_PS_OFFSET_XOFFSET(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_PS_OFFSET_XOFFSET_SHIFT)) & PXP_PS_OFFSET_XOFFSET_MASK)
81559 
81560 #define PXP_PS_OFFSET_YOFFSET_MASK               (0xFFF0000U)
81561 #define PXP_PS_OFFSET_YOFFSET_SHIFT              (16U)
81562 #define PXP_PS_OFFSET_YOFFSET(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_PS_OFFSET_YOFFSET_SHIFT)) & PXP_PS_OFFSET_YOFFSET_MASK)
81563 /*! @} */
81564 
81565 /*! @name PS_CLRKEYLOW - PS Color Key Low */
81566 /*! @{ */
81567 
81568 #define PXP_PS_CLRKEYLOW_PIXEL_MASK              (0xFFFFFFU)
81569 #define PXP_PS_CLRKEYLOW_PIXEL_SHIFT             (0U)
81570 #define PXP_PS_CLRKEYLOW_PIXEL(x)                (((uint32_t)(((uint32_t)(x)) << PXP_PS_CLRKEYLOW_PIXEL_SHIFT)) & PXP_PS_CLRKEYLOW_PIXEL_MASK)
81571 /*! @} */
81572 
81573 /*! @name PS_CLRKEYHIGH - PS Color Key High */
81574 /*! @{ */
81575 
81576 #define PXP_PS_CLRKEYHIGH_PIXEL_MASK             (0xFFFFFFU)
81577 #define PXP_PS_CLRKEYHIGH_PIXEL_SHIFT            (0U)
81578 #define PXP_PS_CLRKEYHIGH_PIXEL(x)               (((uint32_t)(((uint32_t)(x)) << PXP_PS_CLRKEYHIGH_PIXEL_SHIFT)) & PXP_PS_CLRKEYHIGH_PIXEL_MASK)
81579 /*! @} */
81580 
81581 /*! @name AS_CTRL - Alpha Surface Control */
81582 /*! @{ */
81583 
81584 #define PXP_AS_CTRL_ALPHA_CTRL_MASK              (0x6U)
81585 #define PXP_AS_CTRL_ALPHA_CTRL_SHIFT             (1U)
81586 /*! ALPHA_CTRL
81587  *  0b00..Indicates that the AS pixel alpha value will be used to blend the AS with PS. The ALPHA field is ignored.
81588  *  0b01..Indicates that the value in the ALPHA field should be used instead of the alpha values present in the input pixels.
81589  *  0b10..Indicates that the value in the ALPHA field should be used to scale all pixel alpha values. Each pixel
81590  *        alpha is multiplied by the value in the ALPHA field.
81591  *  0b11..Enable ROPs. The ROP field indicates an operation to be performed on the alpha surface and PS pixels.
81592  */
81593 #define PXP_AS_CTRL_ALPHA_CTRL(x)                (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_ALPHA_CTRL_SHIFT)) & PXP_AS_CTRL_ALPHA_CTRL_MASK)
81594 
81595 #define PXP_AS_CTRL_ENABLE_COLORKEY_MASK         (0x8U)
81596 #define PXP_AS_CTRL_ENABLE_COLORKEY_SHIFT        (3U)
81597 /*! ENABLE_COLORKEY
81598  *  0b0..Disabled
81599  *  0b1..Enabled
81600  */
81601 #define PXP_AS_CTRL_ENABLE_COLORKEY(x)           (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_ENABLE_COLORKEY_SHIFT)) & PXP_AS_CTRL_ENABLE_COLORKEY_MASK)
81602 
81603 #define PXP_AS_CTRL_FORMAT_MASK                  (0xF0U)
81604 #define PXP_AS_CTRL_FORMAT_SHIFT                 (4U)
81605 /*! FORMAT
81606  *  0b0000..32-bit pixels with alpha
81607  *  0b0001..2-bit pixel with alpha at low 8 bits
81608  *  0b0100..32-bit pixels without alpha (unpacked 24-bit format)
81609  *  0b1000..16-bit pixels with alpha
81610  *  0b1001..16-bit pixels with alpha
81611  *  0b1010..16-bit pixel with alpha at low 1 bit
81612  *  0b1011..16-bit pixel with alpha at low 4 bits
81613  *  0b1100..16-bit pixels without alpha
81614  *  0b1101..16-bit pixels without alpha
81615  *  0b1110..16-bit pixels without alpha
81616  */
81617 #define PXP_AS_CTRL_FORMAT(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_FORMAT_SHIFT)) & PXP_AS_CTRL_FORMAT_MASK)
81618 
81619 #define PXP_AS_CTRL_ALPHA_MASK                   (0xFF00U)
81620 #define PXP_AS_CTRL_ALPHA_SHIFT                  (8U)
81621 #define PXP_AS_CTRL_ALPHA(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_ALPHA_SHIFT)) & PXP_AS_CTRL_ALPHA_MASK)
81622 
81623 #define PXP_AS_CTRL_ROP_MASK                     (0xF0000U)
81624 #define PXP_AS_CTRL_ROP_SHIFT                    (16U)
81625 /*! ROP
81626  *  0b0000..AS AND PS
81627  *  0b0001..nAS AND PS
81628  *  0b0010..AS AND nPS
81629  *  0b0011..AS OR PS
81630  *  0b0100..nAS OR PS
81631  *  0b0101..AS OR nPS
81632  *  0b0110..nAS
81633  *  0b0111..nPS
81634  *  0b1000..AS NAND PS
81635  *  0b1001..AS NOR PS
81636  *  0b1010..AS XOR PS
81637  *  0b1011..AS XNOR PS
81638  */
81639 #define PXP_AS_CTRL_ROP(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_ROP_SHIFT)) & PXP_AS_CTRL_ROP_MASK)
81640 
81641 #define PXP_AS_CTRL_ALPHA_INVERT_MASK            (0x100000U)
81642 #define PXP_AS_CTRL_ALPHA_INVERT_SHIFT           (20U)
81643 /*! ALPHA_INVERT
81644  *  0b0..Not inverted
81645  *  0b1..Inverted
81646  */
81647 #define PXP_AS_CTRL_ALPHA_INVERT(x)              (((uint32_t)(((uint32_t)(x)) << PXP_AS_CTRL_ALPHA_INVERT_SHIFT)) & PXP_AS_CTRL_ALPHA_INVERT_MASK)
81648 /*! @} */
81649 
81650 /*! @name AS_BUF - Alpha Surface Buffer Pointer */
81651 /*! @{ */
81652 
81653 #define PXP_AS_BUF_ADDR_MASK                     (0xFFFFFFFFU)
81654 #define PXP_AS_BUF_ADDR_SHIFT                    (0U)
81655 #define PXP_AS_BUF_ADDR(x)                       (((uint32_t)(((uint32_t)(x)) << PXP_AS_BUF_ADDR_SHIFT)) & PXP_AS_BUF_ADDR_MASK)
81656 /*! @} */
81657 
81658 /*! @name AS_PITCH - Alpha Surface Pitch */
81659 /*! @{ */
81660 
81661 #define PXP_AS_PITCH_PITCH_MASK                  (0xFFFFU)
81662 #define PXP_AS_PITCH_PITCH_SHIFT                 (0U)
81663 #define PXP_AS_PITCH_PITCH(x)                    (((uint32_t)(((uint32_t)(x)) << PXP_AS_PITCH_PITCH_SHIFT)) & PXP_AS_PITCH_PITCH_MASK)
81664 /*! @} */
81665 
81666 /*! @name AS_CLRKEYLOW - Overlay Color Key Low */
81667 /*! @{ */
81668 
81669 #define PXP_AS_CLRKEYLOW_PIXEL_MASK              (0xFFFFFFU)
81670 #define PXP_AS_CLRKEYLOW_PIXEL_SHIFT             (0U)
81671 #define PXP_AS_CLRKEYLOW_PIXEL(x)                (((uint32_t)(((uint32_t)(x)) << PXP_AS_CLRKEYLOW_PIXEL_SHIFT)) & PXP_AS_CLRKEYLOW_PIXEL_MASK)
81672 /*! @} */
81673 
81674 /*! @name AS_CLRKEYHIGH - Overlay Color Key High */
81675 /*! @{ */
81676 
81677 #define PXP_AS_CLRKEYHIGH_PIXEL_MASK             (0xFFFFFFU)
81678 #define PXP_AS_CLRKEYHIGH_PIXEL_SHIFT            (0U)
81679 #define PXP_AS_CLRKEYHIGH_PIXEL(x)               (((uint32_t)(((uint32_t)(x)) << PXP_AS_CLRKEYHIGH_PIXEL_SHIFT)) & PXP_AS_CLRKEYHIGH_PIXEL_MASK)
81680 /*! @} */
81681 
81682 /*! @name CSC1_COEF0 - Color Space Conversion Coefficient Register 0 */
81683 /*! @{ */
81684 
81685 #define PXP_CSC1_COEF0_Y_OFFSET_MASK             (0x1FFU)
81686 #define PXP_CSC1_COEF0_Y_OFFSET_SHIFT            (0U)
81687 #define PXP_CSC1_COEF0_Y_OFFSET(x)               (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF0_Y_OFFSET_SHIFT)) & PXP_CSC1_COEF0_Y_OFFSET_MASK)
81688 
81689 #define PXP_CSC1_COEF0_UV_OFFSET_MASK            (0x3FE00U)
81690 #define PXP_CSC1_COEF0_UV_OFFSET_SHIFT           (9U)
81691 #define PXP_CSC1_COEF0_UV_OFFSET(x)              (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF0_UV_OFFSET_SHIFT)) & PXP_CSC1_COEF0_UV_OFFSET_MASK)
81692 
81693 #define PXP_CSC1_COEF0_C0_MASK                   (0x1FFC0000U)
81694 #define PXP_CSC1_COEF0_C0_SHIFT                  (18U)
81695 #define PXP_CSC1_COEF0_C0(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF0_C0_SHIFT)) & PXP_CSC1_COEF0_C0_MASK)
81696 
81697 #define PXP_CSC1_COEF0_BYPASS_MASK               (0x40000000U)
81698 #define PXP_CSC1_COEF0_BYPASS_SHIFT              (30U)
81699 #define PXP_CSC1_COEF0_BYPASS(x)                 (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF0_BYPASS_SHIFT)) & PXP_CSC1_COEF0_BYPASS_MASK)
81700 
81701 #define PXP_CSC1_COEF0_YCBCR_MODE_MASK           (0x80000000U)
81702 #define PXP_CSC1_COEF0_YCBCR_MODE_SHIFT          (31U)
81703 /*! YCBCR_MODE
81704  *  0b0..YUV to RGB
81705  *  0b1..YCbCr to RGB
81706  */
81707 #define PXP_CSC1_COEF0_YCBCR_MODE(x)             (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF0_YCBCR_MODE_SHIFT)) & PXP_CSC1_COEF0_YCBCR_MODE_MASK)
81708 /*! @} */
81709 
81710 /*! @name CSC1_COEF1 - Color Space Conversion Coefficient Register 1 */
81711 /*! @{ */
81712 
81713 #define PXP_CSC1_COEF1_C4_MASK                   (0x7FFU)
81714 #define PXP_CSC1_COEF1_C4_SHIFT                  (0U)
81715 #define PXP_CSC1_COEF1_C4(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF1_C4_SHIFT)) & PXP_CSC1_COEF1_C4_MASK)
81716 
81717 #define PXP_CSC1_COEF1_C1_MASK                   (0x7FF0000U)
81718 #define PXP_CSC1_COEF1_C1_SHIFT                  (16U)
81719 #define PXP_CSC1_COEF1_C1(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF1_C1_SHIFT)) & PXP_CSC1_COEF1_C1_MASK)
81720 /*! @} */
81721 
81722 /*! @name CSC1_COEF2 - Color Space Conversion Coefficient Register 2 */
81723 /*! @{ */
81724 
81725 #define PXP_CSC1_COEF2_C3_MASK                   (0x7FFU)
81726 #define PXP_CSC1_COEF2_C3_SHIFT                  (0U)
81727 #define PXP_CSC1_COEF2_C3(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF2_C3_SHIFT)) & PXP_CSC1_COEF2_C3_MASK)
81728 
81729 #define PXP_CSC1_COEF2_C2_MASK                   (0x7FF0000U)
81730 #define PXP_CSC1_COEF2_C2_SHIFT                  (16U)
81731 #define PXP_CSC1_COEF2_C2(x)                     (((uint32_t)(((uint32_t)(x)) << PXP_CSC1_COEF2_C2_SHIFT)) & PXP_CSC1_COEF2_C2_MASK)
81732 /*! @} */
81733 
81734 /*! @name POWER - PXP Power Control Register */
81735 /*! @{ */
81736 
81737 #define PXP_POWER_ROT_MEM_LP_STATE_MASK          (0xE00U)
81738 #define PXP_POWER_ROT_MEM_LP_STATE_SHIFT         (9U)
81739 /*! ROT_MEM_LP_STATE
81740  *  0b000..Memory is not in low power state.
81741  *  0b001..Light Sleep Mode. Low leakage mode, maintain memory contents.
81742  *  0b010..Deep Sleep Mode. Low leakage mode, maintain memory contents.
81743  *  0b100..Shut Down Mode. Shut Down periphery and core, no memory retention.
81744  */
81745 #define PXP_POWER_ROT_MEM_LP_STATE(x)            (((uint32_t)(((uint32_t)(x)) << PXP_POWER_ROT_MEM_LP_STATE_SHIFT)) & PXP_POWER_ROT_MEM_LP_STATE_MASK)
81746 /*! @} */
81747 
81748 /*! @name NEXT - Next Frame Pointer */
81749 /*! @{ */
81750 
81751 #define PXP_NEXT_ENABLED_MASK                    (0x1U)
81752 #define PXP_NEXT_ENABLED_SHIFT                   (0U)
81753 #define PXP_NEXT_ENABLED(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_NEXT_ENABLED_SHIFT)) & PXP_NEXT_ENABLED_MASK)
81754 
81755 #define PXP_NEXT_POINTER_MASK                    (0xFFFFFFFCU)
81756 #define PXP_NEXT_POINTER_SHIFT                   (2U)
81757 #define PXP_NEXT_POINTER(x)                      (((uint32_t)(((uint32_t)(x)) << PXP_NEXT_POINTER_SHIFT)) & PXP_NEXT_POINTER_MASK)
81758 /*! @} */
81759 
81760 /*! @name PORTER_DUFF_CTRL - PXP Alpha Engine A Control Register. */
81761 /*! @{ */
81762 
81763 #define PXP_PORTER_DUFF_CTRL_PORTER_DUFF_ENABLE_MASK (0x1U)
81764 #define PXP_PORTER_DUFF_CTRL_PORTER_DUFF_ENABLE_SHIFT (0U)
81765 /*! PORTER_DUFF_ENABLE
81766  *  0b0..Disabled
81767  *  0b1..Enabled
81768  */
81769 #define PXP_PORTER_DUFF_CTRL_PORTER_DUFF_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_PORTER_DUFF_ENABLE_SHIFT)) & PXP_PORTER_DUFF_CTRL_PORTER_DUFF_ENABLE_MASK)
81770 
81771 #define PXP_PORTER_DUFF_CTRL_S0_S1_FACTOR_MODE_MASK (0x6U)
81772 #define PXP_PORTER_DUFF_CTRL_S0_S1_FACTOR_MODE_SHIFT (1U)
81773 /*! S0_S1_FACTOR_MODE
81774  *  0b00..1
81775  *  0b01..0
81776  *  0b10..Straight alpha
81777  *  0b11..Inverse alpha
81778  */
81779 #define PXP_PORTER_DUFF_CTRL_S0_S1_FACTOR_MODE(x) (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S0_S1_FACTOR_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S0_S1_FACTOR_MODE_MASK)
81780 
81781 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MODE_MASK (0x18U)
81782 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MODE_SHIFT (3U)
81783 /*! S0_GLOBAL_ALPHA_MODE
81784  *  0b00..Global alpha
81785  *  0b01..Local alpha
81786  *  0b10..Scaled alpha
81787  *  0b11..Scaled alpha
81788  */
81789 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MODE(x) (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MODE_MASK)
81790 
81791 #define PXP_PORTER_DUFF_CTRL_S0_ALPHA_MODE_MASK  (0x20U)
81792 #define PXP_PORTER_DUFF_CTRL_S0_ALPHA_MODE_SHIFT (5U)
81793 /*! S0_ALPHA_MODE
81794  *  0b0..Straight mode
81795  *  0b1..Inverted mode
81796  */
81797 #define PXP_PORTER_DUFF_CTRL_S0_ALPHA_MODE(x)    (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S0_ALPHA_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S0_ALPHA_MODE_MASK)
81798 
81799 #define PXP_PORTER_DUFF_CTRL_S0_COLOR_MODE_MASK  (0x40U)
81800 #define PXP_PORTER_DUFF_CTRL_S0_COLOR_MODE_SHIFT (6U)
81801 /*! S0_COLOR_MODE
81802  *  0b0..Original pixel
81803  *  0b1..Scaled pixel
81804  */
81805 #define PXP_PORTER_DUFF_CTRL_S0_COLOR_MODE(x)    (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S0_COLOR_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S0_COLOR_MODE_MASK)
81806 
81807 #define PXP_PORTER_DUFF_CTRL_S1_S0_FACTOR_MODE_MASK (0x300U)
81808 #define PXP_PORTER_DUFF_CTRL_S1_S0_FACTOR_MODE_SHIFT (8U)
81809 /*! S1_S0_FACTOR_MODE
81810  *  0b00..1
81811  *  0b01..0
81812  *  0b10..Straight alpha
81813  *  0b11..Inverse alpha
81814  */
81815 #define PXP_PORTER_DUFF_CTRL_S1_S0_FACTOR_MODE(x) (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S1_S0_FACTOR_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S1_S0_FACTOR_MODE_MASK)
81816 
81817 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MODE_MASK (0xC00U)
81818 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MODE_SHIFT (10U)
81819 /*! S1_GLOBAL_ALPHA_MODE
81820  *  0b00..Global alpha
81821  *  0b01..Local alpha
81822  *  0b10..Scaled alpha
81823  *  0b11..Scaled alpha
81824  */
81825 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MODE(x) (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MODE_MASK)
81826 
81827 #define PXP_PORTER_DUFF_CTRL_S1_ALPHA_MODE_MASK  (0x1000U)
81828 #define PXP_PORTER_DUFF_CTRL_S1_ALPHA_MODE_SHIFT (12U)
81829 /*! S1_ALPHA_MODE
81830  *  0b0..Straight mode
81831  *  0b1..Inverted mode
81832  */
81833 #define PXP_PORTER_DUFF_CTRL_S1_ALPHA_MODE(x)    (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S1_ALPHA_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S1_ALPHA_MODE_MASK)
81834 
81835 #define PXP_PORTER_DUFF_CTRL_S1_COLOR_MODE_MASK  (0x2000U)
81836 #define PXP_PORTER_DUFF_CTRL_S1_COLOR_MODE_SHIFT (13U)
81837 /*! S1_COLOR_MODE
81838  *  0b0..Original pixel
81839  *  0b1..Scaled pixel
81840  */
81841 #define PXP_PORTER_DUFF_CTRL_S1_COLOR_MODE(x)    (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S1_COLOR_MODE_SHIFT)) & PXP_PORTER_DUFF_CTRL_S1_COLOR_MODE_MASK)
81842 
81843 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MASK (0xFF0000U)
81844 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_SHIFT (16U)
81845 #define PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA(x)  (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_SHIFT)) & PXP_PORTER_DUFF_CTRL_S0_GLOBAL_ALPHA_MASK)
81846 
81847 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MASK (0xFF000000U)
81848 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_SHIFT (24U)
81849 #define PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA(x)  (((uint32_t)(((uint32_t)(x)) << PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_SHIFT)) & PXP_PORTER_DUFF_CTRL_S1_GLOBAL_ALPHA_MASK)
81850 /*! @} */
81851 
81852 
81853 /*!
81854  * @}
81855  */ /* end of group PXP_Register_Masks */
81856 
81857 
81858 /* PXP - Peripheral instance base addresses */
81859 /** Peripheral PXP base address */
81860 #define PXP_BASE                                 (0x40814000u)
81861 /** Peripheral PXP base pointer */
81862 #define PXP                                      ((PXP_Type *)PXP_BASE)
81863 /** Array initializer of PXP peripheral base addresses */
81864 #define PXP_BASE_ADDRS                           { PXP_BASE }
81865 /** Array initializer of PXP peripheral base pointers */
81866 #define PXP_BASE_PTRS                            { PXP }
81867 /** Interrupt vectors for the PXP peripheral type */
81868 #define PXP_IRQ0_IRQS                            { PXP_IRQn }
81869 
81870 /*!
81871  * @}
81872  */ /* end of group PXP_Peripheral_Access_Layer */
81873 
81874 
81875 /* ----------------------------------------------------------------------------
81876    -- RDC Peripheral Access Layer
81877    ---------------------------------------------------------------------------- */
81878 
81879 /*!
81880  * @addtogroup RDC_Peripheral_Access_Layer RDC Peripheral Access Layer
81881  * @{
81882  */
81883 
81884 /** RDC - Register Layout Typedef */
81885 typedef struct {
81886   __I  uint32_t VIR;                               /**< Version Information, offset: 0x0 */
81887        uint8_t RESERVED_0[32];
81888   __IO uint32_t STAT;                              /**< Status, offset: 0x24 */
81889   __IO uint32_t INTCTRL;                           /**< Interrupt and Control, offset: 0x28 */
81890   __IO uint32_t INTSTAT;                           /**< Interrupt Status, offset: 0x2C */
81891        uint8_t RESERVED_1[464];
81892   __IO uint32_t MDA[12];                           /**< Master Domain Assignment, array offset: 0x200, array step: 0x4 */
81893        uint8_t RESERVED_2[464];
81894   __IO uint32_t PDAP[128];                         /**< Peripheral Domain Access Permissions, array offset: 0x400, array step: 0x4 */
81895        uint8_t RESERVED_3[512];
81896   struct {                                         /* offset: 0x800, array step: 0x10 */
81897     __IO uint32_t MRSA;                              /**< Memory Region Start Address, array offset: 0x800, array step: 0x10 */
81898     __IO uint32_t MREA;                              /**< Memory Region End Address, array offset: 0x804, array step: 0x10 */
81899     __IO uint32_t MRC;                               /**< Memory Region Control, array offset: 0x808, array step: 0x10 */
81900     __IO uint32_t MRVS;                              /**< Memory Region Violation Status, array offset: 0x80C, array step: 0x10 */
81901   } MR[59];
81902 } RDC_Type;
81903 
81904 /* ----------------------------------------------------------------------------
81905    -- RDC Register Masks
81906    ---------------------------------------------------------------------------- */
81907 
81908 /*!
81909  * @addtogroup RDC_Register_Masks RDC Register Masks
81910  * @{
81911  */
81912 
81913 /*! @name VIR - Version Information */
81914 /*! @{ */
81915 
81916 #define RDC_VIR_NDID_MASK                        (0xFU)
81917 #define RDC_VIR_NDID_SHIFT                       (0U)
81918 /*! NDID - Number of Domains
81919  */
81920 #define RDC_VIR_NDID(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_VIR_NDID_SHIFT)) & RDC_VIR_NDID_MASK)
81921 
81922 #define RDC_VIR_NMSTR_MASK                       (0xFF0U)
81923 #define RDC_VIR_NMSTR_SHIFT                      (4U)
81924 /*! NMSTR - Number of Masters
81925  */
81926 #define RDC_VIR_NMSTR(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_VIR_NMSTR_SHIFT)) & RDC_VIR_NMSTR_MASK)
81927 
81928 #define RDC_VIR_NPER_MASK                        (0xFF000U)
81929 #define RDC_VIR_NPER_SHIFT                       (12U)
81930 /*! NPER - Number of Peripherals
81931  */
81932 #define RDC_VIR_NPER(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_VIR_NPER_SHIFT)) & RDC_VIR_NPER_MASK)
81933 
81934 #define RDC_VIR_NRGN_MASK                        (0xFF00000U)
81935 #define RDC_VIR_NRGN_SHIFT                       (20U)
81936 /*! NRGN - Number of Memory Regions
81937  */
81938 #define RDC_VIR_NRGN(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_VIR_NRGN_SHIFT)) & RDC_VIR_NRGN_MASK)
81939 /*! @} */
81940 
81941 /*! @name STAT - Status */
81942 /*! @{ */
81943 
81944 #define RDC_STAT_DID_MASK                        (0xFU)
81945 #define RDC_STAT_DID_SHIFT                       (0U)
81946 /*! DID - Domain ID
81947  */
81948 #define RDC_STAT_DID(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_STAT_DID_SHIFT)) & RDC_STAT_DID_MASK)
81949 
81950 #define RDC_STAT_PDS_MASK                        (0x100U)
81951 #define RDC_STAT_PDS_SHIFT                       (8U)
81952 /*! PDS - Power Domain Status
81953  *  0b0..Power Down Domain is OFF
81954  *  0b1..Power Down Domain is ON
81955  */
81956 #define RDC_STAT_PDS(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_STAT_PDS_SHIFT)) & RDC_STAT_PDS_MASK)
81957 /*! @} */
81958 
81959 /*! @name INTCTRL - Interrupt and Control */
81960 /*! @{ */
81961 
81962 #define RDC_INTCTRL_RCI_EN_MASK                  (0x1U)
81963 #define RDC_INTCTRL_RCI_EN_SHIFT                 (0U)
81964 /*! RCI_EN - Restoration Complete Interrupt
81965  *  0b0..Interrupt Disabled
81966  *  0b1..Interrupt Enabled
81967  */
81968 #define RDC_INTCTRL_RCI_EN(x)                    (((uint32_t)(((uint32_t)(x)) << RDC_INTCTRL_RCI_EN_SHIFT)) & RDC_INTCTRL_RCI_EN_MASK)
81969 /*! @} */
81970 
81971 /*! @name INTSTAT - Interrupt Status */
81972 /*! @{ */
81973 
81974 #define RDC_INTSTAT_INT_MASK                     (0x1U)
81975 #define RDC_INTSTAT_INT_SHIFT                    (0U)
81976 /*! INT - Interrupt Status
81977  *  0b0..No Interrupt Pending
81978  *  0b1..Interrupt Pending
81979  */
81980 #define RDC_INTSTAT_INT(x)                       (((uint32_t)(((uint32_t)(x)) << RDC_INTSTAT_INT_SHIFT)) & RDC_INTSTAT_INT_MASK)
81981 /*! @} */
81982 
81983 /*! @name MDA - Master Domain Assignment */
81984 /*! @{ */
81985 
81986 #define RDC_MDA_DID_MASK                         (0x3U)
81987 #define RDC_MDA_DID_SHIFT                        (0U)
81988 /*! DID - Domain ID
81989  *  0b00..Master assigned to Processing Domain 0
81990  *  0b01..Master assigned to Processing Domain 1
81991  *  0b10..Reserved
81992  *  0b11..Reserved
81993  */
81994 #define RDC_MDA_DID(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MDA_DID_SHIFT)) & RDC_MDA_DID_MASK)
81995 
81996 #define RDC_MDA_LCK_MASK                         (0x80000000U)
81997 #define RDC_MDA_LCK_SHIFT                        (31U)
81998 /*! LCK - Assignment Lock
81999  *  0b0..Not Locked
82000  *  0b1..Locked
82001  */
82002 #define RDC_MDA_LCK(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MDA_LCK_SHIFT)) & RDC_MDA_LCK_MASK)
82003 /*! @} */
82004 
82005 /* The count of RDC_MDA */
82006 #define RDC_MDA_COUNT                            (12U)
82007 
82008 /*! @name PDAP - Peripheral Domain Access Permissions */
82009 /*! @{ */
82010 
82011 #define RDC_PDAP_D0W_MASK                        (0x1U)
82012 #define RDC_PDAP_D0W_SHIFT                       (0U)
82013 /*! D0W - Domain 0 Write Access
82014  *  0b0..No Write Access
82015  *  0b1..Write Access Allowed
82016  */
82017 #define RDC_PDAP_D0W(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_D0W_SHIFT)) & RDC_PDAP_D0W_MASK)
82018 
82019 #define RDC_PDAP_D0R_MASK                        (0x2U)
82020 #define RDC_PDAP_D0R_SHIFT                       (1U)
82021 /*! D0R - Domain 0 Read Access
82022  *  0b0..No Read Access
82023  *  0b1..Read Access Allowed
82024  */
82025 #define RDC_PDAP_D0R(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_D0R_SHIFT)) & RDC_PDAP_D0R_MASK)
82026 
82027 #define RDC_PDAP_D1W_MASK                        (0x4U)
82028 #define RDC_PDAP_D1W_SHIFT                       (2U)
82029 /*! D1W - Domain 1 Write Access
82030  *  0b0..No Write Access
82031  *  0b1..Write Access Allowed
82032  */
82033 #define RDC_PDAP_D1W(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_D1W_SHIFT)) & RDC_PDAP_D1W_MASK)
82034 
82035 #define RDC_PDAP_D1R_MASK                        (0x8U)
82036 #define RDC_PDAP_D1R_SHIFT                       (3U)
82037 /*! D1R - Domain 1 Read Access
82038  *  0b0..No Read Access
82039  *  0b1..Read Access Allowed
82040  */
82041 #define RDC_PDAP_D1R(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_D1R_SHIFT)) & RDC_PDAP_D1R_MASK)
82042 
82043 #define RDC_PDAP_SREQ_MASK                       (0x40000000U)
82044 #define RDC_PDAP_SREQ_SHIFT                      (30U)
82045 /*! SREQ - Semaphore Required
82046  *  0b0..Semaphores have no effect
82047  *  0b1..Semaphores are enforced
82048  */
82049 #define RDC_PDAP_SREQ(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_SREQ_SHIFT)) & RDC_PDAP_SREQ_MASK)
82050 
82051 #define RDC_PDAP_LCK_MASK                        (0x80000000U)
82052 #define RDC_PDAP_LCK_SHIFT                       (31U)
82053 /*! LCK - Peripheral Permissions Lock
82054  *  0b0..Not Locked
82055  *  0b1..Locked
82056  */
82057 #define RDC_PDAP_LCK(x)                          (((uint32_t)(((uint32_t)(x)) << RDC_PDAP_LCK_SHIFT)) & RDC_PDAP_LCK_MASK)
82058 /*! @} */
82059 
82060 /* The count of RDC_PDAP */
82061 #define RDC_PDAP_COUNT                           (128U)
82062 
82063 /*! @name MRSA - Memory Region Start Address */
82064 /*! @{ */
82065 
82066 #define RDC_MRSA_SADR_MASK                       (0xFFFFFF80U)
82067 #define RDC_MRSA_SADR_SHIFT                      (7U)
82068 /*! SADR - Start address for memory region
82069  */
82070 #define RDC_MRSA_SADR(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_MRSA_SADR_SHIFT)) & RDC_MRSA_SADR_MASK)
82071 /*! @} */
82072 
82073 /* The count of RDC_MRSA */
82074 #define RDC_MRSA_COUNT                           (59U)
82075 
82076 /*! @name MREA - Memory Region End Address */
82077 /*! @{ */
82078 
82079 #define RDC_MREA_EADR_MASK                       (0xFFFFFF80U)
82080 #define RDC_MREA_EADR_SHIFT                      (7U)
82081 /*! EADR - Upper bound for memory region
82082  */
82083 #define RDC_MREA_EADR(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_MREA_EADR_SHIFT)) & RDC_MREA_EADR_MASK)
82084 /*! @} */
82085 
82086 /* The count of RDC_MREA */
82087 #define RDC_MREA_COUNT                           (59U)
82088 
82089 /*! @name MRC - Memory Region Control */
82090 /*! @{ */
82091 
82092 #define RDC_MRC_D0W_MASK                         (0x1U)
82093 #define RDC_MRC_D0W_SHIFT                        (0U)
82094 /*! D0W - Domain 0 Write Access to Region
82095  *  0b0..Processing Domain 0 does not have Write access to the memory region
82096  *  0b1..Processing Domain 0 has Write access to the memory region
82097  */
82098 #define RDC_MRC_D0W(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_D0W_SHIFT)) & RDC_MRC_D0W_MASK)
82099 
82100 #define RDC_MRC_D0R_MASK                         (0x2U)
82101 #define RDC_MRC_D0R_SHIFT                        (1U)
82102 /*! D0R - Domain 0 Read Access to Region
82103  *  0b0..Processing Domain 0 does not have Read access to the memory region
82104  *  0b1..Processing Domain 0 has Read access to the memory region
82105  */
82106 #define RDC_MRC_D0R(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_D0R_SHIFT)) & RDC_MRC_D0R_MASK)
82107 
82108 #define RDC_MRC_D1W_MASK                         (0x4U)
82109 #define RDC_MRC_D1W_SHIFT                        (2U)
82110 /*! D1W - Domain 1 Write Access to Region
82111  *  0b0..Processing Domain 1 does not have Write access to the memory region
82112  *  0b1..Processing Domain 1 has Write access to the memory region
82113  */
82114 #define RDC_MRC_D1W(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_D1W_SHIFT)) & RDC_MRC_D1W_MASK)
82115 
82116 #define RDC_MRC_D1R_MASK                         (0x8U)
82117 #define RDC_MRC_D1R_SHIFT                        (3U)
82118 /*! D1R - Domain 1 Read Access to Region
82119  *  0b0..Processing Domain 1 does not have Read access to the memory region
82120  *  0b1..Processing Domain 1 has Read access to the memory region
82121  */
82122 #define RDC_MRC_D1R(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_D1R_SHIFT)) & RDC_MRC_D1R_MASK)
82123 
82124 #define RDC_MRC_ENA_MASK                         (0x40000000U)
82125 #define RDC_MRC_ENA_SHIFT                        (30U)
82126 /*! ENA - Region Enable
82127  *  0b0..Memory region is not defined or restricted.
82128  *  0b1..Memory boundaries, domain permissions and controls are in effect.
82129  */
82130 #define RDC_MRC_ENA(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_ENA_SHIFT)) & RDC_MRC_ENA_MASK)
82131 
82132 #define RDC_MRC_LCK_MASK                         (0x80000000U)
82133 #define RDC_MRC_LCK_SHIFT                        (31U)
82134 /*! LCK - Region Lock
82135  *  0b0..No Lock. All fields in this register may be modified.
82136  *  0b1..Locked. No fields in this register may be modified except ENA, which may be set but not cleared.
82137  */
82138 #define RDC_MRC_LCK(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRC_LCK_SHIFT)) & RDC_MRC_LCK_MASK)
82139 /*! @} */
82140 
82141 /* The count of RDC_MRC */
82142 #define RDC_MRC_COUNT                            (59U)
82143 
82144 /*! @name MRVS - Memory Region Violation Status */
82145 /*! @{ */
82146 
82147 #define RDC_MRVS_VDID_MASK                       (0x3U)
82148 #define RDC_MRVS_VDID_SHIFT                      (0U)
82149 /*! VDID - Violating Domain ID
82150  *  0b00..Processing Domain 0
82151  *  0b01..Processing Domain 1
82152  *  0b10..Reserved
82153  *  0b11..Reserved
82154  */
82155 #define RDC_MRVS_VDID(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_MRVS_VDID_SHIFT)) & RDC_MRVS_VDID_MASK)
82156 
82157 #define RDC_MRVS_AD_MASK                         (0x10U)
82158 #define RDC_MRVS_AD_SHIFT                        (4U)
82159 /*! AD - Access Denied
82160  */
82161 #define RDC_MRVS_AD(x)                           (((uint32_t)(((uint32_t)(x)) << RDC_MRVS_AD_SHIFT)) & RDC_MRVS_AD_MASK)
82162 
82163 #define RDC_MRVS_VADR_MASK                       (0xFFFFFFE0U)
82164 #define RDC_MRVS_VADR_SHIFT                      (5U)
82165 /*! VADR - Violating Address
82166  */
82167 #define RDC_MRVS_VADR(x)                         (((uint32_t)(((uint32_t)(x)) << RDC_MRVS_VADR_SHIFT)) & RDC_MRVS_VADR_MASK)
82168 /*! @} */
82169 
82170 /* The count of RDC_MRVS */
82171 #define RDC_MRVS_COUNT                           (59U)
82172 
82173 
82174 /*!
82175  * @}
82176  */ /* end of group RDC_Register_Masks */
82177 
82178 
82179 /* RDC - Peripheral instance base addresses */
82180 /** Peripheral RDC base address */
82181 #define RDC_BASE                                 (0x40C78000u)
82182 /** Peripheral RDC base pointer */
82183 #define RDC                                      ((RDC_Type *)RDC_BASE)
82184 /** Array initializer of RDC peripheral base addresses */
82185 #define RDC_BASE_ADDRS                           { RDC_BASE }
82186 /** Array initializer of RDC peripheral base pointers */
82187 #define RDC_BASE_PTRS                            { RDC }
82188 /** Interrupt vectors for the RDC peripheral type */
82189 #define RDC_IRQS                                 { RDC_IRQn }
82190 
82191 /*!
82192  * @}
82193  */ /* end of group RDC_Peripheral_Access_Layer */
82194 
82195 
82196 /* ----------------------------------------------------------------------------
82197    -- RDC_SEMAPHORE Peripheral Access Layer
82198    ---------------------------------------------------------------------------- */
82199 
82200 /*!
82201  * @addtogroup RDC_SEMAPHORE_Peripheral_Access_Layer RDC_SEMAPHORE Peripheral Access Layer
82202  * @{
82203  */
82204 
82205 /** RDC_SEMAPHORE - Register Layout Typedef */
82206 typedef struct {
82207   __IO uint8_t GATE[64];                           /**< Gate Register, array offset: 0x0, array step: 0x1 */
82208        uint8_t RESERVED_0[2];
82209   union {                                          /* offset: 0x42 */
82210     __IO uint16_t RSTGT_R;                           /**< Reset Gate Read, offset: 0x42 */
82211     __IO uint16_t RSTGT_W;                           /**< Reset Gate Write, offset: 0x42 */
82212   };
82213 } RDC_SEMAPHORE_Type;
82214 
82215 /* ----------------------------------------------------------------------------
82216    -- RDC_SEMAPHORE Register Masks
82217    ---------------------------------------------------------------------------- */
82218 
82219 /*!
82220  * @addtogroup RDC_SEMAPHORE_Register_Masks RDC_SEMAPHORE Register Masks
82221  * @{
82222  */
82223 
82224 /*! @name GATE - Gate Register */
82225 /*! @{ */
82226 
82227 #define RDC_SEMAPHORE_GATE_GTFSM_MASK            (0xFU)
82228 #define RDC_SEMAPHORE_GATE_GTFSM_SHIFT           (0U)
82229 /*! GTFSM - Gate Finite State Machine.
82230  *  0b0000..The gate is unlocked (free).
82231  *  0b0001..The gate has been locked by processor with master_index = 0.
82232  *  0b0010..The gate has been locked by processor with master_index = 1.
82233  *  0b0011..The gate has been locked by processor with master_index = 2.
82234  *  0b0100..The gate has been locked by processor with master_index = 3.
82235  *  0b0101..The gate has been locked by processor with master_index = 4.
82236  *  0b0110..The gate has been locked by processor with master_index = 5.
82237  *  0b0111..The gate has been locked by processor with master_index = 6.
82238  *  0b1000..The gate has been locked by processor with master_index = 7.
82239  *  0b1001..The gate has been locked by processor with master_index = 8.
82240  *  0b1010..The gate has been locked by processor with master_index = 9.
82241  *  0b1011..The gate has been locked by processor with master_index = 10.
82242  *  0b1100..The gate has been locked by processor with master_index = 11.
82243  *  0b1101..The gate has been locked by processor with master_index = 12.
82244  *  0b1110..The gate has been locked by processor with master_index = 13.
82245  *  0b1111..The gate has been locked by processor with master_index = 14.
82246  */
82247 #define RDC_SEMAPHORE_GATE_GTFSM(x)              (((uint8_t)(((uint8_t)(x)) << RDC_SEMAPHORE_GATE_GTFSM_SHIFT)) & RDC_SEMAPHORE_GATE_GTFSM_MASK)
82248 
82249 #define RDC_SEMAPHORE_GATE_LDOM_MASK             (0x30U)
82250 #define RDC_SEMAPHORE_GATE_LDOM_SHIFT            (4U)
82251 /*! LDOM
82252  *  0b00..The gate is locked by domain 0. (True if the field GTFSM does not equal to 0000.)
82253  *  0b01..The gate has been locked by domain 1.
82254  *  0b10..Reserved
82255  *  0b11..Reserved
82256  */
82257 #define RDC_SEMAPHORE_GATE_LDOM(x)               (((uint8_t)(((uint8_t)(x)) << RDC_SEMAPHORE_GATE_LDOM_SHIFT)) & RDC_SEMAPHORE_GATE_LDOM_MASK)
82258 /*! @} */
82259 
82260 /* The count of RDC_SEMAPHORE_GATE */
82261 #define RDC_SEMAPHORE_GATE_COUNT                 (64U)
82262 
82263 /*! @name RSTGT_R - Reset Gate Read */
82264 /*! @{ */
82265 
82266 #define RDC_SEMAPHORE_RSTGT_R_RSTGMS_MASK        (0xFU)
82267 #define RDC_SEMAPHORE_RSTGT_R_RSTGMS_SHIFT       (0U)
82268 #define RDC_SEMAPHORE_RSTGT_R_RSTGMS(x)          (((uint16_t)(((uint16_t)(x)) << RDC_SEMAPHORE_RSTGT_R_RSTGMS_SHIFT)) & RDC_SEMAPHORE_RSTGT_R_RSTGMS_MASK)
82269 
82270 #define RDC_SEMAPHORE_RSTGT_R_RSTGSM_MASK        (0x30U)
82271 #define RDC_SEMAPHORE_RSTGT_R_RSTGSM_SHIFT       (4U)
82272 /*! RSTGSM
82273  *  0b00..Idle, waiting for the first data pattern write.
82274  *  0b01..Waiting for the second data pattern write.
82275  *  0b10..The 2-write sequence has completed. Generate the specified gate reset(s). After the reset is performed,
82276  *        this machine returns to the idle (waiting for first data pattern write) state. The "01" state persists
82277  *        for only one clock cycle. Software will never be able to observe this state.
82278  *  0b11..This state encoding is never used and therefore reserved.
82279  */
82280 #define RDC_SEMAPHORE_RSTGT_R_RSTGSM(x)          (((uint16_t)(((uint16_t)(x)) << RDC_SEMAPHORE_RSTGT_R_RSTGSM_SHIFT)) & RDC_SEMAPHORE_RSTGT_R_RSTGSM_MASK)
82281 
82282 #define RDC_SEMAPHORE_RSTGT_R_RSTGTN_MASK        (0xFF00U)
82283 #define RDC_SEMAPHORE_RSTGT_R_RSTGTN_SHIFT       (8U)
82284 #define RDC_SEMAPHORE_RSTGT_R_RSTGTN(x)          (((uint16_t)(((uint16_t)(x)) << RDC_SEMAPHORE_RSTGT_R_RSTGTN_SHIFT)) & RDC_SEMAPHORE_RSTGT_R_RSTGTN_MASK)
82285 /*! @} */
82286 
82287 /*! @name RSTGT_W - Reset Gate Write */
82288 /*! @{ */
82289 
82290 #define RDC_SEMAPHORE_RSTGT_W_RSTGDP_MASK        (0xFFU)
82291 #define RDC_SEMAPHORE_RSTGT_W_RSTGDP_SHIFT       (0U)
82292 #define RDC_SEMAPHORE_RSTGT_W_RSTGDP(x)          (((uint16_t)(((uint16_t)(x)) << RDC_SEMAPHORE_RSTGT_W_RSTGDP_SHIFT)) & RDC_SEMAPHORE_RSTGT_W_RSTGDP_MASK)
82293 
82294 #define RDC_SEMAPHORE_RSTGT_W_RSTGTN_MASK        (0xFF00U)
82295 #define RDC_SEMAPHORE_RSTGT_W_RSTGTN_SHIFT       (8U)
82296 #define RDC_SEMAPHORE_RSTGT_W_RSTGTN(x)          (((uint16_t)(((uint16_t)(x)) << RDC_SEMAPHORE_RSTGT_W_RSTGTN_SHIFT)) & RDC_SEMAPHORE_RSTGT_W_RSTGTN_MASK)
82297 /*! @} */
82298 
82299 
82300 /*!
82301  * @}
82302  */ /* end of group RDC_SEMAPHORE_Register_Masks */
82303 
82304 
82305 /* RDC_SEMAPHORE - Peripheral instance base addresses */
82306 /** Peripheral RDC_SEMAPHORE1 base address */
82307 #define RDC_SEMAPHORE1_BASE                      (0x40C44000u)
82308 /** Peripheral RDC_SEMAPHORE1 base pointer */
82309 #define RDC_SEMAPHORE1                           ((RDC_SEMAPHORE_Type *)RDC_SEMAPHORE1_BASE)
82310 /** Peripheral RDC_SEMAPHORE2 base address */
82311 #define RDC_SEMAPHORE2_BASE                      (0x40CCC000u)
82312 /** Peripheral RDC_SEMAPHORE2 base pointer */
82313 #define RDC_SEMAPHORE2                           ((RDC_SEMAPHORE_Type *)RDC_SEMAPHORE2_BASE)
82314 /** Array initializer of RDC_SEMAPHORE peripheral base addresses */
82315 #define RDC_SEMAPHORE_BASE_ADDRS                 { RDC_SEMAPHORE1_BASE, RDC_SEMAPHORE2_BASE }
82316 /** Array initializer of RDC_SEMAPHORE peripheral base pointers */
82317 #define RDC_SEMAPHORE_BASE_PTRS                  { RDC_SEMAPHORE1, RDC_SEMAPHORE2 }
82318 
82319 /*!
82320  * @}
82321  */ /* end of group RDC_SEMAPHORE_Peripheral_Access_Layer */
82322 
82323 
82324 /* ----------------------------------------------------------------------------
82325    -- RTWDOG Peripheral Access Layer
82326    ---------------------------------------------------------------------------- */
82327 
82328 /*!
82329  * @addtogroup RTWDOG_Peripheral_Access_Layer RTWDOG Peripheral Access Layer
82330  * @{
82331  */
82332 
82333 /** RTWDOG - Register Layout Typedef */
82334 typedef struct {
82335   __IO uint32_t CS;                                /**< Watchdog Control and Status Register, offset: 0x0 */
82336   __IO uint32_t CNT;                               /**< Watchdog Counter Register, offset: 0x4 */
82337   __IO uint32_t TOVAL;                             /**< Watchdog Timeout Value Register, offset: 0x8 */
82338   __IO uint32_t WIN;                               /**< Watchdog Window Register, offset: 0xC */
82339 } RTWDOG_Type;
82340 
82341 /* ----------------------------------------------------------------------------
82342    -- RTWDOG Register Masks
82343    ---------------------------------------------------------------------------- */
82344 
82345 /*!
82346  * @addtogroup RTWDOG_Register_Masks RTWDOG Register Masks
82347  * @{
82348  */
82349 
82350 /*! @name CS - Watchdog Control and Status Register */
82351 /*! @{ */
82352 
82353 #define RTWDOG_CS_STOP_MASK                      (0x1U)
82354 #define RTWDOG_CS_STOP_SHIFT                     (0U)
82355 /*! STOP - Stop Enable
82356  *  0b0..Watchdog disabled in chip stop mode.
82357  *  0b1..Watchdog enabled in chip stop mode.
82358  */
82359 #define RTWDOG_CS_STOP(x)                        (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_STOP_SHIFT)) & RTWDOG_CS_STOP_MASK)
82360 
82361 #define RTWDOG_CS_WAIT_MASK                      (0x2U)
82362 #define RTWDOG_CS_WAIT_SHIFT                     (1U)
82363 /*! WAIT - Wait Enable
82364  *  0b0..Watchdog disabled in chip wait mode.
82365  *  0b1..Watchdog enabled in chip wait mode.
82366  */
82367 #define RTWDOG_CS_WAIT(x)                        (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_WAIT_SHIFT)) & RTWDOG_CS_WAIT_MASK)
82368 
82369 #define RTWDOG_CS_DBG_MASK                       (0x4U)
82370 #define RTWDOG_CS_DBG_SHIFT                      (2U)
82371 /*! DBG - Debug Enable
82372  *  0b0..Watchdog disabled in chip debug mode.
82373  *  0b1..Watchdog enabled in chip debug mode.
82374  */
82375 #define RTWDOG_CS_DBG(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_DBG_SHIFT)) & RTWDOG_CS_DBG_MASK)
82376 
82377 #define RTWDOG_CS_TST_MASK                       (0x18U)
82378 #define RTWDOG_CS_TST_SHIFT                      (3U)
82379 /*! TST - Watchdog Test
82380  *  0b00..Watchdog test mode disabled.
82381  *  0b01..Watchdog user mode enabled. (Watchdog test mode disabled.) After testing the watchdog, software should
82382  *        use this setting to indicate that the watchdog is functioning normally in user mode.
82383  *  0b10..Watchdog test mode enabled, only the low byte is used. CNT[CNTLOW] is compared with TOVAL[TOVALLOW].
82384  *  0b11..Watchdog test mode enabled, only the high byte is used. CNT[CNTHIGH] is compared with TOVAL[TOVALHIGH].
82385  */
82386 #define RTWDOG_CS_TST(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_TST_SHIFT)) & RTWDOG_CS_TST_MASK)
82387 
82388 #define RTWDOG_CS_UPDATE_MASK                    (0x20U)
82389 #define RTWDOG_CS_UPDATE_SHIFT                   (5U)
82390 /*! UPDATE - Allow updates
82391  *  0b0..Updates not allowed. After the initial configuration, the watchdog cannot be later modified without forcing a reset.
82392  *  0b1..Updates allowed. Software can modify the watchdog configuration registers within 255 bus clocks after performing the unlock write sequence.
82393  */
82394 #define RTWDOG_CS_UPDATE(x)                      (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_UPDATE_SHIFT)) & RTWDOG_CS_UPDATE_MASK)
82395 
82396 #define RTWDOG_CS_INT_MASK                       (0x40U)
82397 #define RTWDOG_CS_INT_SHIFT                      (6U)
82398 /*! INT - Watchdog Interrupt
82399  *  0b0..Watchdog interrupts are disabled. Watchdog resets are not delayed.
82400  *  0b1..Watchdog interrupts are enabled. Watchdog resets are delayed by 255 bus clocks from the interrupt vector fetch.
82401  */
82402 #define RTWDOG_CS_INT(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_INT_SHIFT)) & RTWDOG_CS_INT_MASK)
82403 
82404 #define RTWDOG_CS_EN_MASK                        (0x80U)
82405 #define RTWDOG_CS_EN_SHIFT                       (7U)
82406 /*! EN - Watchdog Enable
82407  *  0b0..Watchdog disabled.
82408  *  0b1..Watchdog enabled.
82409  */
82410 #define RTWDOG_CS_EN(x)                          (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_EN_SHIFT)) & RTWDOG_CS_EN_MASK)
82411 
82412 #define RTWDOG_CS_CLK_MASK                       (0x300U)
82413 #define RTWDOG_CS_CLK_SHIFT                      (8U)
82414 /*! CLK - Watchdog Clock
82415  */
82416 #define RTWDOG_CS_CLK(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_CLK_SHIFT)) & RTWDOG_CS_CLK_MASK)
82417 
82418 #define RTWDOG_CS_RCS_MASK                       (0x400U)
82419 #define RTWDOG_CS_RCS_SHIFT                      (10U)
82420 /*! RCS - Reconfiguration Success
82421  *  0b0..Reconfiguring WDOG.
82422  *  0b1..Reconfiguration is successful.
82423  */
82424 #define RTWDOG_CS_RCS(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_RCS_SHIFT)) & RTWDOG_CS_RCS_MASK)
82425 
82426 #define RTWDOG_CS_ULK_MASK                       (0x800U)
82427 #define RTWDOG_CS_ULK_SHIFT                      (11U)
82428 /*! ULK - Unlock status
82429  *  0b0..WDOG is locked.
82430  *  0b1..WDOG is unlocked.
82431  */
82432 #define RTWDOG_CS_ULK(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_ULK_SHIFT)) & RTWDOG_CS_ULK_MASK)
82433 
82434 #define RTWDOG_CS_PRES_MASK                      (0x1000U)
82435 #define RTWDOG_CS_PRES_SHIFT                     (12U)
82436 /*! PRES - Watchdog prescaler
82437  *  0b0..256 prescaler disabled.
82438  *  0b1..256 prescaler enabled.
82439  */
82440 #define RTWDOG_CS_PRES(x)                        (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_PRES_SHIFT)) & RTWDOG_CS_PRES_MASK)
82441 
82442 #define RTWDOG_CS_CMD32EN_MASK                   (0x2000U)
82443 #define RTWDOG_CS_CMD32EN_SHIFT                  (13U)
82444 /*! CMD32EN - Enables or disables WDOG support for 32-bit (otherwise 16-bit or 8-bit) refresh/unlock command write words
82445  *  0b0..Disables support for 32-bit refresh/unlock command write words. Only 16-bit or 8-bit is supported.
82446  *  0b1..Enables support for 32-bit refresh/unlock command write words. 16-bit or 8-bit is NOT supported.
82447  */
82448 #define RTWDOG_CS_CMD32EN(x)                     (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_CMD32EN_SHIFT)) & RTWDOG_CS_CMD32EN_MASK)
82449 
82450 #define RTWDOG_CS_FLG_MASK                       (0x4000U)
82451 #define RTWDOG_CS_FLG_SHIFT                      (14U)
82452 /*! FLG - Watchdog Interrupt Flag
82453  *  0b0..No interrupt occurred.
82454  *  0b1..An interrupt occurred.
82455  */
82456 #define RTWDOG_CS_FLG(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_FLG_SHIFT)) & RTWDOG_CS_FLG_MASK)
82457 
82458 #define RTWDOG_CS_WIN_MASK                       (0x8000U)
82459 #define RTWDOG_CS_WIN_SHIFT                      (15U)
82460 /*! WIN - Watchdog Window
82461  *  0b0..Window mode disabled.
82462  *  0b1..Window mode enabled.
82463  */
82464 #define RTWDOG_CS_WIN(x)                         (((uint32_t)(((uint32_t)(x)) << RTWDOG_CS_WIN_SHIFT)) & RTWDOG_CS_WIN_MASK)
82465 /*! @} */
82466 
82467 /*! @name CNT - Watchdog Counter Register */
82468 /*! @{ */
82469 
82470 #define RTWDOG_CNT_CNTLOW_MASK                   (0xFFU)
82471 #define RTWDOG_CNT_CNTLOW_SHIFT                  (0U)
82472 /*! CNTLOW - Low byte of the Watchdog Counter
82473  */
82474 #define RTWDOG_CNT_CNTLOW(x)                     (((uint32_t)(((uint32_t)(x)) << RTWDOG_CNT_CNTLOW_SHIFT)) & RTWDOG_CNT_CNTLOW_MASK)
82475 
82476 #define RTWDOG_CNT_CNTHIGH_MASK                  (0xFF00U)
82477 #define RTWDOG_CNT_CNTHIGH_SHIFT                 (8U)
82478 /*! CNTHIGH - High byte of the Watchdog Counter
82479  */
82480 #define RTWDOG_CNT_CNTHIGH(x)                    (((uint32_t)(((uint32_t)(x)) << RTWDOG_CNT_CNTHIGH_SHIFT)) & RTWDOG_CNT_CNTHIGH_MASK)
82481 /*! @} */
82482 
82483 /*! @name TOVAL - Watchdog Timeout Value Register */
82484 /*! @{ */
82485 
82486 #define RTWDOG_TOVAL_TOVALLOW_MASK               (0xFFU)
82487 #define RTWDOG_TOVAL_TOVALLOW_SHIFT              (0U)
82488 /*! TOVALLOW - Low byte of the timeout value
82489  */
82490 #define RTWDOG_TOVAL_TOVALLOW(x)                 (((uint32_t)(((uint32_t)(x)) << RTWDOG_TOVAL_TOVALLOW_SHIFT)) & RTWDOG_TOVAL_TOVALLOW_MASK)
82491 
82492 #define RTWDOG_TOVAL_TOVALHIGH_MASK              (0xFF00U)
82493 #define RTWDOG_TOVAL_TOVALHIGH_SHIFT             (8U)
82494 /*! TOVALHIGH - High byte of the timeout value
82495  */
82496 #define RTWDOG_TOVAL_TOVALHIGH(x)                (((uint32_t)(((uint32_t)(x)) << RTWDOG_TOVAL_TOVALHIGH_SHIFT)) & RTWDOG_TOVAL_TOVALHIGH_MASK)
82497 /*! @} */
82498 
82499 /*! @name WIN - Watchdog Window Register */
82500 /*! @{ */
82501 
82502 #define RTWDOG_WIN_WINLOW_MASK                   (0xFFU)
82503 #define RTWDOG_WIN_WINLOW_SHIFT                  (0U)
82504 /*! WINLOW - Low byte of Watchdog Window
82505  */
82506 #define RTWDOG_WIN_WINLOW(x)                     (((uint32_t)(((uint32_t)(x)) << RTWDOG_WIN_WINLOW_SHIFT)) & RTWDOG_WIN_WINLOW_MASK)
82507 
82508 #define RTWDOG_WIN_WINHIGH_MASK                  (0xFF00U)
82509 #define RTWDOG_WIN_WINHIGH_SHIFT                 (8U)
82510 /*! WINHIGH - High byte of Watchdog Window
82511  */
82512 #define RTWDOG_WIN_WINHIGH(x)                    (((uint32_t)(((uint32_t)(x)) << RTWDOG_WIN_WINHIGH_SHIFT)) & RTWDOG_WIN_WINHIGH_MASK)
82513 /*! @} */
82514 
82515 
82516 /*!
82517  * @}
82518  */ /* end of group RTWDOG_Register_Masks */
82519 
82520 
82521 /* RTWDOG - Peripheral instance base addresses */
82522 /** Peripheral RTWDOG3 base address */
82523 #define RTWDOG3_BASE                             (0x40038000u)
82524 /** Peripheral RTWDOG3 base pointer */
82525 #define RTWDOG3                                  ((RTWDOG_Type *)RTWDOG3_BASE)
82526 /** Peripheral RTWDOG4 base address */
82527 #define RTWDOG4_BASE                             (0x40C10000u)
82528 /** Peripheral RTWDOG4 base pointer */
82529 #define RTWDOG4                                  ((RTWDOG_Type *)RTWDOG4_BASE)
82530 /** Array initializer of RTWDOG peripheral base addresses */
82531 #define RTWDOG_BASE_ADDRS                        { 0u, 0u, 0u, RTWDOG3_BASE, RTWDOG4_BASE }
82532 /** Array initializer of RTWDOG peripheral base pointers */
82533 #define RTWDOG_BASE_PTRS                         { (RTWDOG_Type *)0u, (RTWDOG_Type *)0u, (RTWDOG_Type *)0u, RTWDOG3, RTWDOG4 }
82534 /** Interrupt vectors for the RTWDOG peripheral type */
82535 #define RTWDOG_IRQS                              { NotAvail_IRQn, NotAvail_IRQn, NotAvail_IRQn, RTWDOG3_IRQn, NotAvail_IRQn }
82536 /* Extra definition */
82537 #define RTWDOG_UPDATE_KEY                        (0xD928C520U)
82538 #define RTWDOG_REFRESH_KEY                       (0xB480A602U)
82539 
82540 
82541 /*!
82542  * @}
82543  */ /* end of group RTWDOG_Peripheral_Access_Layer */
82544 
82545 
82546 /* ----------------------------------------------------------------------------
82547    -- SEMA4 Peripheral Access Layer
82548    ---------------------------------------------------------------------------- */
82549 
82550 /*!
82551  * @addtogroup SEMA4_Peripheral_Access_Layer SEMA4 Peripheral Access Layer
82552  * @{
82553  */
82554 
82555 /** SEMA4 - Register Layout Typedef */
82556 typedef struct {
82557   __IO uint8_t GATE[16];                           /**< Semaphores Gate n Register, array offset: 0x0, array step: 0x1 */
82558        uint8_t RESERVED_0[48];
82559   struct {                                         /* offset: 0x40, array step: 0x8 */
82560     __IO uint16_t CPINE;                             /**< Semaphores Processor n IRQ Notification Enable, array offset: 0x40, array step: 0x8 */
82561          uint8_t RESERVED_0[6];
82562   } CPINE[2];
82563        uint8_t RESERVED_1[48];
82564   struct {                                         /* offset: 0x80, array step: 0x8 */
82565     __I  uint16_t CPNTF;                             /**< Semaphores Processor n IRQ Notification, array offset: 0x80, array step: 0x8 */
82566          uint8_t RESERVED_0[6];
82567   } CPNTF[2];
82568        uint8_t RESERVED_2[112];
82569   __IO uint16_t RSTGT;                             /**< Semaphores (Secure) Reset Gate n, offset: 0x100 */
82570        uint8_t RESERVED_3[2];
82571   __IO uint16_t RSTNTF;                            /**< Semaphores (Secure) Reset IRQ Notification, offset: 0x104 */
82572 } SEMA4_Type;
82573 
82574 /* ----------------------------------------------------------------------------
82575    -- SEMA4 Register Masks
82576    ---------------------------------------------------------------------------- */
82577 
82578 /*!
82579  * @addtogroup SEMA4_Register_Masks SEMA4 Register Masks
82580  * @{
82581  */
82582 
82583 /*! @name GATE - Semaphores Gate n Register */
82584 /*! @{ */
82585 
82586 #define SEMA4_GATE_GTFSM_MASK                    (0x3U)
82587 #define SEMA4_GATE_GTFSM_SHIFT                   (0U)
82588 /*! GTFSM - Gate Finite State Machine.
82589  *  0b00..The gate is unlocked (free).
82590  *  0b01..The gate has been locked by processor 0.
82591  *  0b10..The gate has been locked by processor 1.
82592  *  0b11..This state encoding is never used and therefore reserved. Attempted writes of 0x03 are treated as "no
82593  *        operation" and do not affect the gate state machine.
82594  */
82595 #define SEMA4_GATE_GTFSM(x)                      (((uint8_t)(((uint8_t)(x)) << SEMA4_GATE_GTFSM_SHIFT)) & SEMA4_GATE_GTFSM_MASK)
82596 /*! @} */
82597 
82598 /* The count of SEMA4_GATE */
82599 #define SEMA4_GATE_COUNT                         (16U)
82600 
82601 /*! @name CPINE - Semaphores Processor n IRQ Notification Enable */
82602 /*! @{ */
82603 
82604 #define SEMA4_CPINE_INE7_MASK                    (0x1U)
82605 #define SEMA4_CPINE_INE7_SHIFT                   (0U)
82606 /*! INE7 - Interrupt Request Notification Enable 7. This field is a bitmap to enable the generation
82607  *    of an interrupt notification from a failed attempt to lock gate 7.
82608  *  0b0..The generation of the notification interrupt is disabled.
82609  *  0b1..The generation of the notification interrupt is enabled.
82610  */
82611 #define SEMA4_CPINE_INE7(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE7_SHIFT)) & SEMA4_CPINE_INE7_MASK)
82612 
82613 #define SEMA4_CPINE_INE6_MASK                    (0x2U)
82614 #define SEMA4_CPINE_INE6_SHIFT                   (1U)
82615 /*! INE6 - Interrupt Request Notification Enable 6. This field is a bitmap to enable the generation
82616  *    of an interrupt notification from a failed attempt to lock gate 6.
82617  *  0b0..The generation of the notification interrupt is disabled.
82618  *  0b1..The generation of the notification interrupt is enabled.
82619  */
82620 #define SEMA4_CPINE_INE6(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE6_SHIFT)) & SEMA4_CPINE_INE6_MASK)
82621 
82622 #define SEMA4_CPINE_INE5_MASK                    (0x4U)
82623 #define SEMA4_CPINE_INE5_SHIFT                   (2U)
82624 /*! INE5 - Interrupt Request Notification Enable 5. This field is a bitmap to enable the generation
82625  *    of an interrupt notification from a failed attempt to lock gate 5.
82626  *  0b0..The generation of the notification interrupt is disabled.
82627  *  0b1..The generation of the notification interrupt is enabled.
82628  */
82629 #define SEMA4_CPINE_INE5(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE5_SHIFT)) & SEMA4_CPINE_INE5_MASK)
82630 
82631 #define SEMA4_CPINE_INE4_MASK                    (0x8U)
82632 #define SEMA4_CPINE_INE4_SHIFT                   (3U)
82633 /*! INE4 - Interrupt Request Notification Enable 4. This field is a bitmap to enable the generation
82634  *    of an interrupt notification from a failed attempt to lock gate 4.
82635  *  0b0..The generation of the notification interrupt is disabled.
82636  *  0b1..The generation of the notification interrupt is enabled.
82637  */
82638 #define SEMA4_CPINE_INE4(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE4_SHIFT)) & SEMA4_CPINE_INE4_MASK)
82639 
82640 #define SEMA4_CPINE_INE3_MASK                    (0x10U)
82641 #define SEMA4_CPINE_INE3_SHIFT                   (4U)
82642 /*! INE3
82643  *  0b0..The generation of the notification interrupt is disabled.
82644  *  0b1..The generation of the notification interrupt is enabled.
82645  */
82646 #define SEMA4_CPINE_INE3(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE3_SHIFT)) & SEMA4_CPINE_INE3_MASK)
82647 
82648 #define SEMA4_CPINE_INE2_MASK                    (0x20U)
82649 #define SEMA4_CPINE_INE2_SHIFT                   (5U)
82650 /*! INE2
82651  *  0b0..The generation of the notification interrupt is disabled.
82652  *  0b1..The generation of the notification interrupt is enabled.
82653  */
82654 #define SEMA4_CPINE_INE2(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE2_SHIFT)) & SEMA4_CPINE_INE2_MASK)
82655 
82656 #define SEMA4_CPINE_INE1_MASK                    (0x40U)
82657 #define SEMA4_CPINE_INE1_SHIFT                   (6U)
82658 /*! INE1
82659  *  0b0..The generation of the notification interrupt is disabled.
82660  *  0b1..The generation of the notification interrupt is enabled.
82661  */
82662 #define SEMA4_CPINE_INE1(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE1_SHIFT)) & SEMA4_CPINE_INE1_MASK)
82663 
82664 #define SEMA4_CPINE_INE0_MASK                    (0x80U)
82665 #define SEMA4_CPINE_INE0_SHIFT                   (7U)
82666 /*! INE0
82667  *  0b0..The generation of the notification interrupt is disabled.
82668  *  0b1..The generation of the notification interrupt is enabled.
82669  */
82670 #define SEMA4_CPINE_INE0(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE0_SHIFT)) & SEMA4_CPINE_INE0_MASK)
82671 
82672 #define SEMA4_CPINE_INE15_MASK                   (0x100U)
82673 #define SEMA4_CPINE_INE15_SHIFT                  (8U)
82674 /*! INE15 - Interrupt Request Notification Enable 15. This field is a bitmap to enable the
82675  *    generation of an interrupt notification from a failed attempt to lock gate 15.
82676  *  0b0..The generation of the notification interrupt is disabled.
82677  *  0b1..The generation of the notification interrupt is enabled.
82678  */
82679 #define SEMA4_CPINE_INE15(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE15_SHIFT)) & SEMA4_CPINE_INE15_MASK)
82680 
82681 #define SEMA4_CPINE_INE14_MASK                   (0x200U)
82682 #define SEMA4_CPINE_INE14_SHIFT                  (9U)
82683 /*! INE14 - Interrupt Request Notification Enable 14. This field is a bitmap to enable the
82684  *    generation of an interrupt notification from a failed attempt to lock gate 14.
82685  *  0b0..The generation of the notification interrupt is disabled.
82686  *  0b1..The generation of the notification interrupt is enabled.
82687  */
82688 #define SEMA4_CPINE_INE14(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE14_SHIFT)) & SEMA4_CPINE_INE14_MASK)
82689 
82690 #define SEMA4_CPINE_INE13_MASK                   (0x400U)
82691 #define SEMA4_CPINE_INE13_SHIFT                  (10U)
82692 /*! INE13 - Interrupt Request Notification Enable 13. This field is a bitmap to enable the
82693  *    generation of an interrupt notification from a failed attempt to lock gate 13.
82694  *  0b0..The generation of the notification interrupt is disabled.
82695  *  0b1..The generation of the notification interrupt is enabled.
82696  */
82697 #define SEMA4_CPINE_INE13(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE13_SHIFT)) & SEMA4_CPINE_INE13_MASK)
82698 
82699 #define SEMA4_CPINE_INE12_MASK                   (0x800U)
82700 #define SEMA4_CPINE_INE12_SHIFT                  (11U)
82701 /*! INE12 - Interrupt Request Notification Enable 12. This field is a bitmap to enable the
82702  *    generation of an interrupt notification from a failed attempt to lock gate 12.
82703  *  0b0..The generation of the notification interrupt is disabled.
82704  *  0b1..The generation of the notification interrupt is enabled.
82705  */
82706 #define SEMA4_CPINE_INE12(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE12_SHIFT)) & SEMA4_CPINE_INE12_MASK)
82707 
82708 #define SEMA4_CPINE_INE11_MASK                   (0x1000U)
82709 #define SEMA4_CPINE_INE11_SHIFT                  (12U)
82710 /*! INE11 - Interrupt Request Notification Enable 11. This field is a bitmap to enable the
82711  *    generation of an interrupt notification from a failed attempt to lock gate 11.
82712  *  0b0..The generation of the notification interrupt is disabled.
82713  *  0b1..The generation of the notification interrupt is enabled.
82714  */
82715 #define SEMA4_CPINE_INE11(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE11_SHIFT)) & SEMA4_CPINE_INE11_MASK)
82716 
82717 #define SEMA4_CPINE_INE10_MASK                   (0x2000U)
82718 #define SEMA4_CPINE_INE10_SHIFT                  (13U)
82719 /*! INE10 - Interrupt Request Notification Enable 10. This field is a bitmap to enable the
82720  *    generation of an interrupt notification from a failed attempt to lock gate 10.
82721  *  0b0..The generation of the notification interrupt is disabled.
82722  *  0b1..The generation of the notification interrupt is enabled.
82723  */
82724 #define SEMA4_CPINE_INE10(x)                     (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE10_SHIFT)) & SEMA4_CPINE_INE10_MASK)
82725 
82726 #define SEMA4_CPINE_INE9_MASK                    (0x4000U)
82727 #define SEMA4_CPINE_INE9_SHIFT                   (14U)
82728 /*! INE9 - Interrupt Request Notification Enable 9. This field is a bitmap to enable the generation
82729  *    of an interrupt notification from a failed attempt to lock gate 9.
82730  *  0b0..The generation of the notification interrupt is disabled.
82731  *  0b1..The generation of the notification interrupt is enabled.
82732  */
82733 #define SEMA4_CPINE_INE9(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE9_SHIFT)) & SEMA4_CPINE_INE9_MASK)
82734 
82735 #define SEMA4_CPINE_INE8_MASK                    (0x8000U)
82736 #define SEMA4_CPINE_INE8_SHIFT                   (15U)
82737 /*! INE8 - Interrupt Request Notification Enable 8. This field is a bitmap to enable the generation
82738  *    of an interrupt notification from a failed attempt to lock gate 8.
82739  *  0b0..The generation of the notification interrupt is disabled.
82740  *  0b1..The generation of the notification interrupt is enabled.
82741  */
82742 #define SEMA4_CPINE_INE8(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPINE_INE8_SHIFT)) & SEMA4_CPINE_INE8_MASK)
82743 /*! @} */
82744 
82745 /* The count of SEMA4_CPINE */
82746 #define SEMA4_CPINE_COUNT                        (2U)
82747 
82748 /*! @name CPNTF - Semaphores Processor n IRQ Notification */
82749 /*! @{ */
82750 
82751 #define SEMA4_CPNTF_GN7_MASK                     (0x1U)
82752 #define SEMA4_CPNTF_GN7_SHIFT                    (0U)
82753 #define SEMA4_CPNTF_GN7(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN7_SHIFT)) & SEMA4_CPNTF_GN7_MASK)
82754 
82755 #define SEMA4_CPNTF_GN6_MASK                     (0x2U)
82756 #define SEMA4_CPNTF_GN6_SHIFT                    (1U)
82757 #define SEMA4_CPNTF_GN6(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN6_SHIFT)) & SEMA4_CPNTF_GN6_MASK)
82758 
82759 #define SEMA4_CPNTF_GN5_MASK                     (0x4U)
82760 #define SEMA4_CPNTF_GN5_SHIFT                    (2U)
82761 #define SEMA4_CPNTF_GN5(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN5_SHIFT)) & SEMA4_CPNTF_GN5_MASK)
82762 
82763 #define SEMA4_CPNTF_GN4_MASK                     (0x8U)
82764 #define SEMA4_CPNTF_GN4_SHIFT                    (3U)
82765 #define SEMA4_CPNTF_GN4(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN4_SHIFT)) & SEMA4_CPNTF_GN4_MASK)
82766 
82767 #define SEMA4_CPNTF_GN3_MASK                     (0x10U)
82768 #define SEMA4_CPNTF_GN3_SHIFT                    (4U)
82769 #define SEMA4_CPNTF_GN3(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN3_SHIFT)) & SEMA4_CPNTF_GN3_MASK)
82770 
82771 #define SEMA4_CPNTF_GN2_MASK                     (0x20U)
82772 #define SEMA4_CPNTF_GN2_SHIFT                    (5U)
82773 #define SEMA4_CPNTF_GN2(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN2_SHIFT)) & SEMA4_CPNTF_GN2_MASK)
82774 
82775 #define SEMA4_CPNTF_GN1_MASK                     (0x40U)
82776 #define SEMA4_CPNTF_GN1_SHIFT                    (6U)
82777 #define SEMA4_CPNTF_GN1(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN1_SHIFT)) & SEMA4_CPNTF_GN1_MASK)
82778 
82779 #define SEMA4_CPNTF_GN0_MASK                     (0x80U)
82780 #define SEMA4_CPNTF_GN0_SHIFT                    (7U)
82781 #define SEMA4_CPNTF_GN0(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN0_SHIFT)) & SEMA4_CPNTF_GN0_MASK)
82782 
82783 #define SEMA4_CPNTF_GN15_MASK                    (0x100U)
82784 #define SEMA4_CPNTF_GN15_SHIFT                   (8U)
82785 #define SEMA4_CPNTF_GN15(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN15_SHIFT)) & SEMA4_CPNTF_GN15_MASK)
82786 
82787 #define SEMA4_CPNTF_GN14_MASK                    (0x200U)
82788 #define SEMA4_CPNTF_GN14_SHIFT                   (9U)
82789 #define SEMA4_CPNTF_GN14(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN14_SHIFT)) & SEMA4_CPNTF_GN14_MASK)
82790 
82791 #define SEMA4_CPNTF_GN13_MASK                    (0x400U)
82792 #define SEMA4_CPNTF_GN13_SHIFT                   (10U)
82793 #define SEMA4_CPNTF_GN13(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN13_SHIFT)) & SEMA4_CPNTF_GN13_MASK)
82794 
82795 #define SEMA4_CPNTF_GN12_MASK                    (0x800U)
82796 #define SEMA4_CPNTF_GN12_SHIFT                   (11U)
82797 #define SEMA4_CPNTF_GN12(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN12_SHIFT)) & SEMA4_CPNTF_GN12_MASK)
82798 
82799 #define SEMA4_CPNTF_GN11_MASK                    (0x1000U)
82800 #define SEMA4_CPNTF_GN11_SHIFT                   (12U)
82801 #define SEMA4_CPNTF_GN11(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN11_SHIFT)) & SEMA4_CPNTF_GN11_MASK)
82802 
82803 #define SEMA4_CPNTF_GN10_MASK                    (0x2000U)
82804 #define SEMA4_CPNTF_GN10_SHIFT                   (13U)
82805 #define SEMA4_CPNTF_GN10(x)                      (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN10_SHIFT)) & SEMA4_CPNTF_GN10_MASK)
82806 
82807 #define SEMA4_CPNTF_GN9_MASK                     (0x4000U)
82808 #define SEMA4_CPNTF_GN9_SHIFT                    (14U)
82809 #define SEMA4_CPNTF_GN9(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN9_SHIFT)) & SEMA4_CPNTF_GN9_MASK)
82810 
82811 #define SEMA4_CPNTF_GN8_MASK                     (0x8000U)
82812 #define SEMA4_CPNTF_GN8_SHIFT                    (15U)
82813 #define SEMA4_CPNTF_GN8(x)                       (((uint16_t)(((uint16_t)(x)) << SEMA4_CPNTF_GN8_SHIFT)) & SEMA4_CPNTF_GN8_MASK)
82814 /*! @} */
82815 
82816 /* The count of SEMA4_CPNTF */
82817 #define SEMA4_CPNTF_COUNT                        (2U)
82818 
82819 /*! @name RSTGT - Semaphores (Secure) Reset Gate n */
82820 /*! @{ */
82821 
82822 #define SEMA4_RSTGT_RSTGSM_RSTGMS_RSTGDP_MASK    (0xFFU)
82823 #define SEMA4_RSTGT_RSTGSM_RSTGMS_RSTGDP_SHIFT   (0U)
82824 #define SEMA4_RSTGT_RSTGSM_RSTGMS_RSTGDP(x)      (((uint16_t)(((uint16_t)(x)) << SEMA4_RSTGT_RSTGSM_RSTGMS_RSTGDP_SHIFT)) & SEMA4_RSTGT_RSTGSM_RSTGMS_RSTGDP_MASK)
82825 
82826 #define SEMA4_RSTGT_RSTGTN_MASK                  (0xFF00U)
82827 #define SEMA4_RSTGT_RSTGTN_SHIFT                 (8U)
82828 #define SEMA4_RSTGT_RSTGTN(x)                    (((uint16_t)(((uint16_t)(x)) << SEMA4_RSTGT_RSTGTN_SHIFT)) & SEMA4_RSTGT_RSTGTN_MASK)
82829 /*! @} */
82830 
82831 /*! @name RSTNTF - Semaphores (Secure) Reset IRQ Notification */
82832 /*! @{ */
82833 
82834 #define SEMA4_RSTNTF_RSTNSM_RSTNMS_RSTNDP_MASK   (0xFFU)
82835 #define SEMA4_RSTNTF_RSTNSM_RSTNMS_RSTNDP_SHIFT  (0U)
82836 #define SEMA4_RSTNTF_RSTNSM_RSTNMS_RSTNDP(x)     (((uint16_t)(((uint16_t)(x)) << SEMA4_RSTNTF_RSTNSM_RSTNMS_RSTNDP_SHIFT)) & SEMA4_RSTNTF_RSTNSM_RSTNMS_RSTNDP_MASK)
82837 
82838 #define SEMA4_RSTNTF_RSTNTN_MASK                 (0xFF00U)
82839 #define SEMA4_RSTNTF_RSTNTN_SHIFT                (8U)
82840 #define SEMA4_RSTNTF_RSTNTN(x)                   (((uint16_t)(((uint16_t)(x)) << SEMA4_RSTNTF_RSTNTN_SHIFT)) & SEMA4_RSTNTF_RSTNTN_MASK)
82841 /*! @} */
82842 
82843 
82844 /*!
82845  * @}
82846  */ /* end of group SEMA4_Register_Masks */
82847 
82848 
82849 /* SEMA4 - Peripheral instance base addresses */
82850 /** Peripheral SEMA4 base address */
82851 #define SEMA4_BASE                               (0x40CC8000u)
82852 /** Peripheral SEMA4 base pointer */
82853 #define SEMA4                                    ((SEMA4_Type *)SEMA4_BASE)
82854 /** Array initializer of SEMA4 peripheral base addresses */
82855 #define SEMA4_BASE_ADDRS                         { SEMA4_BASE }
82856 /** Array initializer of SEMA4 peripheral base pointers */
82857 #define SEMA4_BASE_PTRS                          { SEMA4 }
82858 
82859 /*!
82860  * @}
82861  */ /* end of group SEMA4_Peripheral_Access_Layer */
82862 
82863 
82864 /* ----------------------------------------------------------------------------
82865    -- SEMC Peripheral Access Layer
82866    ---------------------------------------------------------------------------- */
82867 
82868 /*!
82869  * @addtogroup SEMC_Peripheral_Access_Layer SEMC Peripheral Access Layer
82870  * @{
82871  */
82872 
82873 /** SEMC - Register Layout Typedef */
82874 typedef struct {
82875   __IO uint32_t MCR;                               /**< Module Control Register, offset: 0x0 */
82876   __IO uint32_t IOCR;                              /**< IO MUX Control Register, offset: 0x4 */
82877   __IO uint32_t BMCR0;                             /**< Bus (AXI) Master Control Register 0, offset: 0x8 */
82878   __IO uint32_t BMCR1;                             /**< Bus (AXI) Master Control Register 1, offset: 0xC */
82879   __IO uint32_t BR[9];                             /**< Base Register 0..Base Register 8, array offset: 0x10, array step: 0x4 */
82880   __IO uint32_t DLLCR;                             /**< DLL Control Register, offset: 0x34 */
82881   __IO uint32_t INTEN;                             /**< Interrupt Enable Register, offset: 0x38 */
82882   __IO uint32_t INTR;                              /**< Interrupt Register, offset: 0x3C */
82883   __IO uint32_t SDRAMCR0;                          /**< SDRAM Control Register 0, offset: 0x40 */
82884   __IO uint32_t SDRAMCR1;                          /**< SDRAM Control Register 1, offset: 0x44 */
82885   __IO uint32_t SDRAMCR2;                          /**< SDRAM Control Register 2, offset: 0x48 */
82886   __IO uint32_t SDRAMCR3;                          /**< SDRAM Control Register 3, offset: 0x4C */
82887   __IO uint32_t NANDCR0;                           /**< NAND Control Register 0, offset: 0x50 */
82888   __IO uint32_t NANDCR1;                           /**< NAND Control Register 1, offset: 0x54 */
82889   __IO uint32_t NANDCR2;                           /**< NAND Control Register 2, offset: 0x58 */
82890   __IO uint32_t NANDCR3;                           /**< NAND Control Register 3, offset: 0x5C */
82891   __IO uint32_t NORCR0;                            /**< NOR Control Register 0, offset: 0x60 */
82892   __IO uint32_t NORCR1;                            /**< NOR Control Register 1, offset: 0x64 */
82893   __IO uint32_t NORCR2;                            /**< NOR Control Register 2, offset: 0x68 */
82894   __IO uint32_t NORCR3;                            /**< NOR Control Register 3, offset: 0x6C */
82895   __IO uint32_t SRAMCR0;                           /**< SRAM Control Register 0, offset: 0x70 */
82896   __IO uint32_t SRAMCR1;                           /**< SRAM Control Register 1, offset: 0x74 */
82897   __IO uint32_t SRAMCR2;                           /**< SRAM Control Register 2, offset: 0x78 */
82898        uint32_t SRAMCR3;                           /**< SRAM Control Register 3, offset: 0x7C */
82899   __IO uint32_t DBICR0;                            /**< DBI-B Control Register 0, offset: 0x80 */
82900   __IO uint32_t DBICR1;                            /**< DBI-B Control Register 1, offset: 0x84 */
82901   __IO uint32_t DBICR2;                            /**< DBI-B Control Register 2, offset: 0x88 */
82902        uint8_t RESERVED_0[4];
82903   __IO uint32_t IPCR0;                             /**< IP Command Control Register 0, offset: 0x90 */
82904   __IO uint32_t IPCR1;                             /**< IP Command Control Register 1, offset: 0x94 */
82905   __IO uint32_t IPCR2;                             /**< IP Command Control Register 2, offset: 0x98 */
82906   __IO uint32_t IPCMD;                             /**< IP Command Register, offset: 0x9C */
82907   __IO uint32_t IPTXDAT;                           /**< TX DATA Register, offset: 0xA0 */
82908        uint8_t RESERVED_1[12];
82909   __I  uint32_t IPRXDAT;                           /**< RX DATA Register, offset: 0xB0 */
82910        uint8_t RESERVED_2[12];
82911   __I  uint32_t STS0;                              /**< Status Register 0, offset: 0xC0 */
82912        uint32_t STS1;                              /**< Status Register 1, offset: 0xC4 */
82913   __I  uint32_t STS2;                              /**< Status Register 2, offset: 0xC8 */
82914        uint32_t STS3;                              /**< Status Register 3, offset: 0xCC */
82915        uint32_t STS4;                              /**< Status Register 4, offset: 0xD0 */
82916        uint32_t STS5;                              /**< Status Register 5, offset: 0xD4 */
82917        uint32_t STS6;                              /**< Status Register 6, offset: 0xD8 */
82918        uint32_t STS7;                              /**< Status Register 7, offset: 0xDC */
82919        uint32_t STS8;                              /**< Status Register 8, offset: 0xE0 */
82920        uint32_t STS9;                              /**< Status Register 9, offset: 0xE4 */
82921        uint32_t STS10;                             /**< Status Register 10, offset: 0xE8 */
82922        uint32_t STS11;                             /**< Status Register 11, offset: 0xEC */
82923   __I  uint32_t STS12;                             /**< Status Register 12, offset: 0xF0 */
82924   __I  uint32_t STS13;                             /**< Status Register 13, offset: 0xF4 */
82925        uint32_t STS14;                             /**< Status Register 14, offset: 0xF8 */
82926        uint32_t STS15;                             /**< Status Register 15, offset: 0xFC */
82927   __IO uint32_t BR9;                               /**< Base Register 9, offset: 0x100 */
82928   __IO uint32_t BR10;                              /**< Base Register 10, offset: 0x104 */
82929   __IO uint32_t BR11;                              /**< Base Register 11, offset: 0x108 */
82930        uint8_t RESERVED_3[20];
82931   __IO uint32_t SRAMCR4;                           /**< SRAM Control Register 4, offset: 0x120 */
82932   __IO uint32_t SRAMCR5;                           /**< SRAM Control Register 5, offset: 0x124 */
82933   __IO uint32_t SRAMCR6;                           /**< SRAM Control Register 6, offset: 0x128 */
82934        uint8_t RESERVED_4[36];
82935   __IO uint32_t DCCR;                              /**< Delay Chain Control Register, offset: 0x150 */
82936 } SEMC_Type;
82937 
82938 /* ----------------------------------------------------------------------------
82939    -- SEMC Register Masks
82940    ---------------------------------------------------------------------------- */
82941 
82942 /*!
82943  * @addtogroup SEMC_Register_Masks SEMC Register Masks
82944  * @{
82945  */
82946 
82947 /*! @name MCR - Module Control Register */
82948 /*! @{ */
82949 
82950 #define SEMC_MCR_SWRST_MASK                      (0x1U)
82951 #define SEMC_MCR_SWRST_SHIFT                     (0U)
82952 /*! SWRST - Software Reset
82953  *  0b0..No reset
82954  *  0b1..Reset
82955  */
82956 #define SEMC_MCR_SWRST(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_SWRST_SHIFT)) & SEMC_MCR_SWRST_MASK)
82957 
82958 #define SEMC_MCR_MDIS_MASK                       (0x2U)
82959 #define SEMC_MCR_MDIS_SHIFT                      (1U)
82960 /*! MDIS - Module Disable
82961  *  0b0..Module enabled
82962  *  0b1..Module disabled
82963  */
82964 #define SEMC_MCR_MDIS(x)                         (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_MDIS_SHIFT)) & SEMC_MCR_MDIS_MASK)
82965 
82966 #define SEMC_MCR_DQSMD_MASK                      (0x4U)
82967 #define SEMC_MCR_DQSMD_SHIFT                     (2U)
82968 /*! DQSMD - DQS (read strobe) mode
82969  *  0b0..Dummy read strobe loopbacked internally
82970  *  0b1..Dummy read strobe loopbacked from DQS pad
82971  */
82972 #define SEMC_MCR_DQSMD(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_DQSMD_SHIFT)) & SEMC_MCR_DQSMD_MASK)
82973 
82974 #define SEMC_MCR_WPOL0_MASK                      (0x40U)
82975 #define SEMC_MCR_WPOL0_SHIFT                     (6U)
82976 /*! WPOL0 - WAIT/RDY polarity for SRAM/NOR
82977  *  0b0..WAIT/RDY polarity is not changed.
82978  *  0b1..WAIT/RDY polarity is inverted.
82979  */
82980 #define SEMC_MCR_WPOL0(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_WPOL0_SHIFT)) & SEMC_MCR_WPOL0_MASK)
82981 
82982 #define SEMC_MCR_WPOL1_MASK                      (0x80U)
82983 #define SEMC_MCR_WPOL1_SHIFT                     (7U)
82984 /*! WPOL1 - R/B# polarity for NAND device
82985  *  0b0..R/B# polarity is not changed.
82986  *  0b1..R/B# polarity is inverted.
82987  */
82988 #define SEMC_MCR_WPOL1(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_WPOL1_SHIFT)) & SEMC_MCR_WPOL1_MASK)
82989 
82990 #define SEMC_MCR_CTO_MASK                        (0xFF0000U)
82991 #define SEMC_MCR_CTO_SHIFT                       (16U)
82992 /*! CTO - Command Execution timeout cycles
82993  */
82994 #define SEMC_MCR_CTO(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_CTO_SHIFT)) & SEMC_MCR_CTO_MASK)
82995 
82996 #define SEMC_MCR_BTO_MASK                        (0x1F000000U)
82997 #define SEMC_MCR_BTO_SHIFT                       (24U)
82998 /*! BTO - Bus timeout cycles
82999  *  0b00000..255*1
83000  *  0b00001..255*2
83001  *  0b11111..255*231
83002  */
83003 #define SEMC_MCR_BTO(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_MCR_BTO_SHIFT)) & SEMC_MCR_BTO_MASK)
83004 /*! @} */
83005 
83006 /*! @name IOCR - IO MUX Control Register */
83007 /*! @{ */
83008 
83009 #define SEMC_IOCR_MUX_A8_MASK                    (0xFU)
83010 #define SEMC_IOCR_MUX_A8_SHIFT                   (0U)
83011 /*! MUX_A8 - SEMC_ADDR08 output selection
83012  *  0b0000-0b0011..SDRAM Address bit 8 (A8) or NOR/SRAM Address bit 24 (A24) in ADMUX 16bit mode
83013  *  0b0100..NAND CE#
83014  *  0b0101..NOR CE#
83015  *  0b0110..SRAM CE# 0
83016  *  0b0111..DBI CSX
83017  *  0b1000..SRAM CE# 1
83018  *  0b1001..SRAM CE# 2
83019  *  0b1010..SRAM CE# 3
83020  *  0b1011-0b1111..SDRAM Address bit 8 (A8) or NOR/SRAM Address bit 24 (A24) in ADMUX 16bit mode
83021  */
83022 #define SEMC_IOCR_MUX_A8(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_A8_SHIFT)) & SEMC_IOCR_MUX_A8_MASK)
83023 
83024 #define SEMC_IOCR_MUX_CSX0_MASK                  (0xF0U)
83025 #define SEMC_IOCR_MUX_CSX0_SHIFT                 (4U)
83026 /*! MUX_CSX0 - SEMC_CSX0 output selection
83027  *  0b0000..NOR/SRAM Address bit 24 (A24) in Non-ADMUX mode
83028  *  0b0001..SDRAM CS1
83029  *  0b0010..SDRAM CS2
83030  *  0b0011..SDRAM CS3
83031  *  0b0100..NAND CE#
83032  *  0b0101..NOR CE#
83033  *  0b0110..SRAM CE# 0
83034  *  0b0111..DBI CSX
83035  *  0b1000..SRAM CE# 1
83036  *  0b1001..SRAM CE# 2
83037  *  0b1010..SRAM CE# 3
83038  *  0b1011-0b1111..NOR/SRAM Address bit 24 (A24)
83039  */
83040 #define SEMC_IOCR_MUX_CSX0(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CSX0_SHIFT)) & SEMC_IOCR_MUX_CSX0_MASK)
83041 
83042 #define SEMC_IOCR_MUX_CSX1_MASK                  (0xF00U)
83043 #define SEMC_IOCR_MUX_CSX1_SHIFT                 (8U)
83044 /*! MUX_CSX1 - SEMC_CSX1 output selection
83045  *  0b0000..NOR/SRAM Address bit 25 (A25) in Non-ADMUX mode
83046  *  0b0001..SDRAM CS1
83047  *  0b0010..SDRAM CS2
83048  *  0b0011..SDRAM CS3
83049  *  0b0100..NAND CE#
83050  *  0b0101..NOR CE#
83051  *  0b0110..SRAM CE# 0
83052  *  0b0111..DBI CSX
83053  *  0b1000..SRAM CE# 1
83054  *  0b1001..SRAM CE# 2
83055  *  0b1010..SRAM CE# 3
83056  *  0b1011-0b1111..NOR/SRAM Address bit 25 (A25)
83057  */
83058 #define SEMC_IOCR_MUX_CSX1(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CSX1_SHIFT)) & SEMC_IOCR_MUX_CSX1_MASK)
83059 
83060 #define SEMC_IOCR_MUX_CSX2_MASK                  (0xF000U)
83061 #define SEMC_IOCR_MUX_CSX2_SHIFT                 (12U)
83062 /*! MUX_CSX2 - SEMC_CSX2 output selection
83063  *  0b0000..NOR/SRAM Address bit 26 (A26) in Non-ADMUX mode
83064  *  0b0001..SDRAM CS1
83065  *  0b0010..SDRAM CS2
83066  *  0b0011..SDRAM CS3
83067  *  0b0100..NAND CE#
83068  *  0b0101..NOR CE#
83069  *  0b0110..SRAM CE# 0
83070  *  0b0111..DBI CSX
83071  *  0b1000..SRAM CE# 1
83072  *  0b1001..SRAM CE# 2
83073  *  0b1010..SRAM CE# 3
83074  *  0b1011-0b1111..NOR/SRAM Address bit 26 (A26)
83075  */
83076 #define SEMC_IOCR_MUX_CSX2(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CSX2_SHIFT)) & SEMC_IOCR_MUX_CSX2_MASK)
83077 
83078 #define SEMC_IOCR_MUX_CSX3_MASK                  (0xF0000U)
83079 #define SEMC_IOCR_MUX_CSX3_SHIFT                 (16U)
83080 /*! MUX_CSX3 - SEMC_CSX3 output selection
83081  *  0b0000..NOR/SRAM Address bit 27 (A27) in Non-ADMUX mode
83082  *  0b0001..SDRAM CS1
83083  *  0b0010..SDRAM CS2
83084  *  0b0011..SDRAM CS3
83085  *  0b0100..NAND CE#
83086  *  0b0101..NOR CE#
83087  *  0b0110..SRAM CE# 0
83088  *  0b0111..DBI CSX
83089  *  0b1000..SRAM CE# 1
83090  *  0b1001..SRAM CE# 2
83091  *  0b1010..SRAM CE# 3
83092  *  0b1011-0b1111..NOR/SRAM Address bit 27 (A27)
83093  */
83094 #define SEMC_IOCR_MUX_CSX3(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CSX3_SHIFT)) & SEMC_IOCR_MUX_CSX3_MASK)
83095 
83096 #define SEMC_IOCR_MUX_RDY_MASK                   (0xF00000U)
83097 #define SEMC_IOCR_MUX_RDY_SHIFT                  (20U)
83098 /*! MUX_RDY - SEMC_RDY function selection
83099  *  0b0000..NAND R/B# input
83100  *  0b0001..SDRAM CS1
83101  *  0b0010..SDRAM CS2
83102  *  0b0011..SDRAM CS3
83103  *  0b0100..NOR/SRAM Address bit 27 (A27) in Non-ADMUX mode
83104  *  0b0101..NOR CE#
83105  *  0b0110..SRAM CE# 0
83106  *  0b0111..DBI CSX
83107  *  0b1000..SRAM CE# 1
83108  *  0b1001..SRAM CE# 2
83109  *  0b1010..SRAM CE# 3
83110  *  0b1011-0b1111..NOR/SRAM Address bit 27
83111  */
83112 #define SEMC_IOCR_MUX_RDY(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_RDY_SHIFT)) & SEMC_IOCR_MUX_RDY_MASK)
83113 
83114 #define SEMC_IOCR_MUX_CLKX0_MASK                 (0x3000000U)
83115 #define SEMC_IOCR_MUX_CLKX0_SHIFT                (24U)
83116 /*! MUX_CLKX0 - SEMC_CLKX0 function selection
83117  *  0b00..Keep low
83118  *  0b01..NOR clock
83119  *  0b10..SRAM clock
83120  *  0b11..NOR and SRAM clock, suitable for Multi-Chip Product package
83121  */
83122 #define SEMC_IOCR_MUX_CLKX0(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CLKX0_SHIFT)) & SEMC_IOCR_MUX_CLKX0_MASK)
83123 
83124 #define SEMC_IOCR_MUX_CLKX1_MASK                 (0xC000000U)
83125 #define SEMC_IOCR_MUX_CLKX1_SHIFT                (26U)
83126 /*! MUX_CLKX1 - SEMC_CLKX1 function selection
83127  *  0b00..Keep low
83128  *  0b01..NOR clock
83129  *  0b10..SRAM clock
83130  *  0b11..NOR and SRAM clock, suitable for Multi-Chip Product package
83131  */
83132 #define SEMC_IOCR_MUX_CLKX1(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_MUX_CLKX1_SHIFT)) & SEMC_IOCR_MUX_CLKX1_MASK)
83133 
83134 #define SEMC_IOCR_CLKX0_AO_MASK                  (0x10000000U)
83135 #define SEMC_IOCR_CLKX0_AO_SHIFT                 (28U)
83136 /*! CLKX0_AO - SEMC_CLKX0 Always On
83137  *  0b0..SEMC_CLKX0 is controlled by MUX_CLKX0
83138  *  0b1..SEMC_CLKX0 is always on
83139  */
83140 #define SEMC_IOCR_CLKX0_AO(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_CLKX0_AO_SHIFT)) & SEMC_IOCR_CLKX0_AO_MASK)
83141 
83142 #define SEMC_IOCR_CLKX1_AO_MASK                  (0x20000000U)
83143 #define SEMC_IOCR_CLKX1_AO_SHIFT                 (29U)
83144 /*! CLKX1_AO - SEMC_CLKX1 Always On
83145  *  0b0..SEMC_CLKX1 is controlled by MUX_CLKX1
83146  *  0b1..SEMC_CLKX1 is always on
83147  */
83148 #define SEMC_IOCR_CLKX1_AO(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_IOCR_CLKX1_AO_SHIFT)) & SEMC_IOCR_CLKX1_AO_MASK)
83149 /*! @} */
83150 
83151 /*! @name BMCR0 - Bus (AXI) Master Control Register 0 */
83152 /*! @{ */
83153 
83154 #define SEMC_BMCR0_WQOS_MASK                     (0xFU)
83155 #define SEMC_BMCR0_WQOS_SHIFT                    (0U)
83156 /*! WQOS - Weight of QOS
83157  */
83158 #define SEMC_BMCR0_WQOS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR0_WQOS_SHIFT)) & SEMC_BMCR0_WQOS_MASK)
83159 
83160 #define SEMC_BMCR0_WAGE_MASK                     (0xF0U)
83161 #define SEMC_BMCR0_WAGE_SHIFT                    (4U)
83162 /*! WAGE - Weight of AGE
83163  */
83164 #define SEMC_BMCR0_WAGE(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR0_WAGE_SHIFT)) & SEMC_BMCR0_WAGE_MASK)
83165 
83166 #define SEMC_BMCR0_WSH_MASK                      (0xFF00U)
83167 #define SEMC_BMCR0_WSH_SHIFT                     (8U)
83168 /*! WSH - Weight of Slave Hit without read/write switch
83169  */
83170 #define SEMC_BMCR0_WSH(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR0_WSH_SHIFT)) & SEMC_BMCR0_WSH_MASK)
83171 
83172 #define SEMC_BMCR0_WRWS_MASK                     (0xFF0000U)
83173 #define SEMC_BMCR0_WRWS_SHIFT                    (16U)
83174 /*! WRWS - Weight of slave hit with Read/Write Switch
83175  */
83176 #define SEMC_BMCR0_WRWS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR0_WRWS_SHIFT)) & SEMC_BMCR0_WRWS_MASK)
83177 /*! @} */
83178 
83179 /*! @name BMCR1 - Bus (AXI) Master Control Register 1 */
83180 /*! @{ */
83181 
83182 #define SEMC_BMCR1_WQOS_MASK                     (0xFU)
83183 #define SEMC_BMCR1_WQOS_SHIFT                    (0U)
83184 /*! WQOS - Weight of QOS
83185  */
83186 #define SEMC_BMCR1_WQOS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR1_WQOS_SHIFT)) & SEMC_BMCR1_WQOS_MASK)
83187 
83188 #define SEMC_BMCR1_WAGE_MASK                     (0xF0U)
83189 #define SEMC_BMCR1_WAGE_SHIFT                    (4U)
83190 /*! WAGE - Weight of AGE
83191  */
83192 #define SEMC_BMCR1_WAGE(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR1_WAGE_SHIFT)) & SEMC_BMCR1_WAGE_MASK)
83193 
83194 #define SEMC_BMCR1_WPH_MASK                      (0xFF00U)
83195 #define SEMC_BMCR1_WPH_SHIFT                     (8U)
83196 /*! WPH - Weight of Page Hit
83197  */
83198 #define SEMC_BMCR1_WPH(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR1_WPH_SHIFT)) & SEMC_BMCR1_WPH_MASK)
83199 
83200 #define SEMC_BMCR1_WRWS_MASK                     (0xFF0000U)
83201 #define SEMC_BMCR1_WRWS_SHIFT                    (16U)
83202 /*! WRWS - Weight of slave hit without Read/Write Switch
83203  */
83204 #define SEMC_BMCR1_WRWS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR1_WRWS_SHIFT)) & SEMC_BMCR1_WRWS_MASK)
83205 
83206 #define SEMC_BMCR1_WBR_MASK                      (0xFF000000U)
83207 #define SEMC_BMCR1_WBR_SHIFT                     (24U)
83208 /*! WBR - Weight of Bank Rotation
83209  */
83210 #define SEMC_BMCR1_WBR(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_BMCR1_WBR_SHIFT)) & SEMC_BMCR1_WBR_MASK)
83211 /*! @} */
83212 
83213 /*! @name BR - Base Register 0..Base Register 8 */
83214 /*! @{ */
83215 
83216 #define SEMC_BR_VLD_MASK                         (0x1U)
83217 #define SEMC_BR_VLD_SHIFT                        (0U)
83218 /*! VLD - Valid
83219  *  0b0..The memory is invalid, can not be accessed.
83220  *  0b1..The memory is valid, can be accessed.
83221  */
83222 #define SEMC_BR_VLD(x)                           (((uint32_t)(((uint32_t)(x)) << SEMC_BR_VLD_SHIFT)) & SEMC_BR_VLD_MASK)
83223 
83224 #define SEMC_BR_MS_MASK                          (0x3EU)
83225 #define SEMC_BR_MS_SHIFT                         (1U)
83226 /*! MS - Memory size
83227  *  0b00000..4KB
83228  *  0b00001..8KB
83229  *  0b00010..16KB
83230  *  0b00011..32KB
83231  *  0b00100..64KB
83232  *  0b00101..128KB
83233  *  0b00110..256KB
83234  *  0b00111..512KB
83235  *  0b01000..1MB
83236  *  0b01001..2MB
83237  *  0b01010..4MB
83238  *  0b01011..8MB
83239  *  0b01100..16MB
83240  *  0b01101..32MB
83241  *  0b01110..64MB
83242  *  0b01111..128MB
83243  *  0b10000..256MB
83244  *  0b10001..512MB
83245  *  0b10010..1GB
83246  *  0b10011..2GB
83247  *  0b10100-0b11111..4GB
83248  */
83249 #define SEMC_BR_MS(x)                            (((uint32_t)(((uint32_t)(x)) << SEMC_BR_MS_SHIFT)) & SEMC_BR_MS_MASK)
83250 
83251 #define SEMC_BR_BA_MASK                          (0xFFFFF000U)
83252 #define SEMC_BR_BA_SHIFT                         (12U)
83253 /*! BA - Base Address
83254  */
83255 #define SEMC_BR_BA(x)                            (((uint32_t)(((uint32_t)(x)) << SEMC_BR_BA_SHIFT)) & SEMC_BR_BA_MASK)
83256 /*! @} */
83257 
83258 /* The count of SEMC_BR */
83259 #define SEMC_BR_COUNT                            (9U)
83260 
83261 /*! @name DLLCR - DLL Control Register */
83262 /*! @{ */
83263 
83264 #define SEMC_DLLCR_DLLEN_MASK                    (0x1U)
83265 #define SEMC_DLLCR_DLLEN_SHIFT                   (0U)
83266 /*! DLLEN - DLL calibration enable
83267  *  0b0..DLL calibration is disabled.
83268  *  0b1..DLL calibration is enabled.
83269  */
83270 #define SEMC_DLLCR_DLLEN(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_DLLCR_DLLEN_SHIFT)) & SEMC_DLLCR_DLLEN_MASK)
83271 
83272 #define SEMC_DLLCR_DLLRESET_MASK                 (0x2U)
83273 #define SEMC_DLLCR_DLLRESET_SHIFT                (1U)
83274 /*! DLLRESET - DLL Reset
83275  *  0b0..DLL is not reset.
83276  *  0b1..DLL is reset.
83277  */
83278 #define SEMC_DLLCR_DLLRESET(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_DLLCR_DLLRESET_SHIFT)) & SEMC_DLLCR_DLLRESET_MASK)
83279 
83280 #define SEMC_DLLCR_SLVDLYTARGET_MASK             (0x78U)
83281 #define SEMC_DLLCR_SLVDLYTARGET_SHIFT            (3U)
83282 /*! SLVDLYTARGET - Delay Target for Slave
83283  */
83284 #define SEMC_DLLCR_SLVDLYTARGET(x)               (((uint32_t)(((uint32_t)(x)) << SEMC_DLLCR_SLVDLYTARGET_SHIFT)) & SEMC_DLLCR_SLVDLYTARGET_MASK)
83285 
83286 #define SEMC_DLLCR_OVRDEN_MASK                   (0x100U)
83287 #define SEMC_DLLCR_OVRDEN_SHIFT                  (8U)
83288 /*! OVRDEN - Override Enable
83289  *  0b0..The delay cell number is not overridden.
83290  *  0b1..The delay cell number is overridden.
83291  */
83292 #define SEMC_DLLCR_OVRDEN(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_DLLCR_OVRDEN_SHIFT)) & SEMC_DLLCR_OVRDEN_MASK)
83293 
83294 #define SEMC_DLLCR_OVRDVAL_MASK                  (0x7E00U)
83295 #define SEMC_DLLCR_OVRDVAL_SHIFT                 (9U)
83296 /*! OVRDVAL - Override Value
83297  */
83298 #define SEMC_DLLCR_OVRDVAL(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_DLLCR_OVRDVAL_SHIFT)) & SEMC_DLLCR_OVRDVAL_MASK)
83299 /*! @} */
83300 
83301 /*! @name INTEN - Interrupt Enable Register */
83302 /*! @{ */
83303 
83304 #define SEMC_INTEN_IPCMDDONEEN_MASK              (0x1U)
83305 #define SEMC_INTEN_IPCMDDONEEN_SHIFT             (0U)
83306 /*! IPCMDDONEEN - IP command done interrupt enable
83307  *  0b0..Interrupt is disabled
83308  *  0b1..Interrupt is enabled
83309  */
83310 #define SEMC_INTEN_IPCMDDONEEN(x)                (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_IPCMDDONEEN_SHIFT)) & SEMC_INTEN_IPCMDDONEEN_MASK)
83311 
83312 #define SEMC_INTEN_IPCMDERREN_MASK               (0x2U)
83313 #define SEMC_INTEN_IPCMDERREN_SHIFT              (1U)
83314 /*! IPCMDERREN - IP command error interrupt enable
83315  *  0b0..Interrupt is disabled
83316  *  0b1..Interrupt is enabled
83317  */
83318 #define SEMC_INTEN_IPCMDERREN(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_IPCMDERREN_SHIFT)) & SEMC_INTEN_IPCMDERREN_MASK)
83319 
83320 #define SEMC_INTEN_AXICMDERREN_MASK              (0x4U)
83321 #define SEMC_INTEN_AXICMDERREN_SHIFT             (2U)
83322 /*! AXICMDERREN - AXI command error interrupt enable
83323  *  0b0..Interrupt is disabled
83324  *  0b1..Interrupt is enabled
83325  */
83326 #define SEMC_INTEN_AXICMDERREN(x)                (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_AXICMDERREN_SHIFT)) & SEMC_INTEN_AXICMDERREN_MASK)
83327 
83328 #define SEMC_INTEN_AXIBUSERREN_MASK              (0x8U)
83329 #define SEMC_INTEN_AXIBUSERREN_SHIFT             (3U)
83330 /*! AXIBUSERREN - AXI bus error interrupt enable
83331  *  0b0..Interrupt is disabled
83332  *  0b1..Interrupt is enabled
83333  */
83334 #define SEMC_INTEN_AXIBUSERREN(x)                (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_AXIBUSERREN_SHIFT)) & SEMC_INTEN_AXIBUSERREN_MASK)
83335 
83336 #define SEMC_INTEN_NDPAGEENDEN_MASK              (0x10U)
83337 #define SEMC_INTEN_NDPAGEENDEN_SHIFT             (4U)
83338 /*! NDPAGEENDEN - NAND page end interrupt enable
83339  *  0b0..Interrupt is disabled
83340  *  0b1..Interrupt is enabled
83341  */
83342 #define SEMC_INTEN_NDPAGEENDEN(x)                (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_NDPAGEENDEN_SHIFT)) & SEMC_INTEN_NDPAGEENDEN_MASK)
83343 
83344 #define SEMC_INTEN_NDNOPENDEN_MASK               (0x20U)
83345 #define SEMC_INTEN_NDNOPENDEN_SHIFT              (5U)
83346 /*! NDNOPENDEN - NAND no pending AXI access interrupt enable
83347  *  0b0..Interrupt is disabled
83348  *  0b1..Interrupt is enabled
83349  */
83350 #define SEMC_INTEN_NDNOPENDEN(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_INTEN_NDNOPENDEN_SHIFT)) & SEMC_INTEN_NDNOPENDEN_MASK)
83351 /*! @} */
83352 
83353 /*! @name INTR - Interrupt Register */
83354 /*! @{ */
83355 
83356 #define SEMC_INTR_IPCMDDONE_MASK                 (0x1U)
83357 #define SEMC_INTR_IPCMDDONE_SHIFT                (0U)
83358 /*! IPCMDDONE - IP command normal done interrupt
83359  *  0b0..IP command is not done.
83360  *  0b1..IP command is done.
83361  */
83362 #define SEMC_INTR_IPCMDDONE(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_IPCMDDONE_SHIFT)) & SEMC_INTR_IPCMDDONE_MASK)
83363 
83364 #define SEMC_INTR_IPCMDERR_MASK                  (0x2U)
83365 #define SEMC_INTR_IPCMDERR_SHIFT                 (1U)
83366 /*! IPCMDERR - IP command error done interrupt
83367  *  0b0..No IP command error.
83368  *  0b1..IP command error occurs.
83369  */
83370 #define SEMC_INTR_IPCMDERR(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_IPCMDERR_SHIFT)) & SEMC_INTR_IPCMDERR_MASK)
83371 
83372 #define SEMC_INTR_AXICMDERR_MASK                 (0x4U)
83373 #define SEMC_INTR_AXICMDERR_SHIFT                (2U)
83374 /*! AXICMDERR - AXI command error interrupt
83375  *  0b0..No AXI command error.
83376  *  0b1..AXI command error occurs.
83377  */
83378 #define SEMC_INTR_AXICMDERR(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_AXICMDERR_SHIFT)) & SEMC_INTR_AXICMDERR_MASK)
83379 
83380 #define SEMC_INTR_AXIBUSERR_MASK                 (0x8U)
83381 #define SEMC_INTR_AXIBUSERR_SHIFT                (3U)
83382 /*! AXIBUSERR - AXI bus error interrupt
83383  *  0b0..No AXI bus error.
83384  *  0b1..AXI bus error occurs.
83385  */
83386 #define SEMC_INTR_AXIBUSERR(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_AXIBUSERR_SHIFT)) & SEMC_INTR_AXIBUSERR_MASK)
83387 
83388 #define SEMC_INTR_NDPAGEEND_MASK                 (0x10U)
83389 #define SEMC_INTR_NDPAGEEND_SHIFT                (4U)
83390 /*! NDPAGEEND - NAND page end interrupt
83391  *  0b0..The last address of main space in the NAND is not written by AXI command.
83392  *  0b1..The last address of main space in the NAND is written by AXI command.
83393  */
83394 #define SEMC_INTR_NDPAGEEND(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_NDPAGEEND_SHIFT)) & SEMC_INTR_NDPAGEEND_MASK)
83395 
83396 #define SEMC_INTR_NDNOPEND_MASK                  (0x20U)
83397 #define SEMC_INTR_NDNOPEND_SHIFT                 (5U)
83398 /*! NDNOPEND - NAND no pending AXI write transaction interrupt
83399  *  0b0..At least one NAND AXI write transaction is pending or no NAND write transaction is sent to the queue.
83400  *  0b1..All NAND AXI write pending transactions are finished.
83401  */
83402 #define SEMC_INTR_NDNOPEND(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_INTR_NDNOPEND_SHIFT)) & SEMC_INTR_NDNOPEND_MASK)
83403 /*! @} */
83404 
83405 /*! @name SDRAMCR0 - SDRAM Control Register 0 */
83406 /*! @{ */
83407 
83408 #define SEMC_SDRAMCR0_PS_MASK                    (0x3U)
83409 #define SEMC_SDRAMCR0_PS_SHIFT                   (0U)
83410 /*! PS - Port Size
83411  *  0b00..8bit
83412  *  0b01..16bit
83413  *  0b10..32bit
83414  *  0b11..Reserved
83415  */
83416 #define SEMC_SDRAMCR0_PS(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_PS_SHIFT)) & SEMC_SDRAMCR0_PS_MASK)
83417 
83418 #define SEMC_SDRAMCR0_BL_MASK                    (0x70U)
83419 #define SEMC_SDRAMCR0_BL_SHIFT                   (4U)
83420 /*! BL - Burst Length
83421  *  0b000..1
83422  *  0b001..2
83423  *  0b010..4
83424  *  0b011..8
83425  *  0b100..8
83426  *  0b101..8
83427  *  0b110..8
83428  *  0b111..8
83429  */
83430 #define SEMC_SDRAMCR0_BL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_BL_SHIFT)) & SEMC_SDRAMCR0_BL_MASK)
83431 
83432 #define SEMC_SDRAMCR0_COL8_MASK                  (0x80U)
83433 #define SEMC_SDRAMCR0_COL8_SHIFT                 (7U)
83434 /*! COL8 - Column 8 selection
83435  *  0b0..Column address bit number is decided by COL field.
83436  *  0b1..Column address bit number is 8. COL field is ignored.
83437  */
83438 #define SEMC_SDRAMCR0_COL8(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_COL8_SHIFT)) & SEMC_SDRAMCR0_COL8_MASK)
83439 
83440 #define SEMC_SDRAMCR0_COL_MASK                   (0x300U)
83441 #define SEMC_SDRAMCR0_COL_SHIFT                  (8U)
83442 /*! COL - Column address bit number
83443  *  0b00..12
83444  *  0b01..11
83445  *  0b10..10
83446  *  0b11..9
83447  */
83448 #define SEMC_SDRAMCR0_COL(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_COL_SHIFT)) & SEMC_SDRAMCR0_COL_MASK)
83449 
83450 #define SEMC_SDRAMCR0_CL_MASK                    (0xC00U)
83451 #define SEMC_SDRAMCR0_CL_SHIFT                   (10U)
83452 /*! CL - CAS Latency
83453  *  0b00..1
83454  *  0b01..1
83455  *  0b10..2
83456  *  0b11..3
83457  */
83458 #define SEMC_SDRAMCR0_CL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_CL_SHIFT)) & SEMC_SDRAMCR0_CL_MASK)
83459 
83460 #define SEMC_SDRAMCR0_BANK2_MASK                 (0x4000U)
83461 #define SEMC_SDRAMCR0_BANK2_SHIFT                (14U)
83462 /*! BANK2 - 2 Bank selection bit
83463  *  0b0..SDRAM device has 4 banks.
83464  *  0b1..SDRAM device has 2 banks.
83465  */
83466 #define SEMC_SDRAMCR0_BANK2(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR0_BANK2_SHIFT)) & SEMC_SDRAMCR0_BANK2_MASK)
83467 /*! @} */
83468 
83469 /*! @name SDRAMCR1 - SDRAM Control Register 1 */
83470 /*! @{ */
83471 
83472 #define SEMC_SDRAMCR1_PRE2ACT_MASK               (0xFU)
83473 #define SEMC_SDRAMCR1_PRE2ACT_SHIFT              (0U)
83474 /*! PRE2ACT - PRECHARGE to ACTIVE/REFRESH command wait time
83475  */
83476 #define SEMC_SDRAMCR1_PRE2ACT(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_PRE2ACT_SHIFT)) & SEMC_SDRAMCR1_PRE2ACT_MASK)
83477 
83478 #define SEMC_SDRAMCR1_ACT2RW_MASK                (0xF0U)
83479 #define SEMC_SDRAMCR1_ACT2RW_SHIFT               (4U)
83480 /*! ACT2RW - ACTIVE to READ/WRITE delay
83481  */
83482 #define SEMC_SDRAMCR1_ACT2RW(x)                  (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_ACT2RW_SHIFT)) & SEMC_SDRAMCR1_ACT2RW_MASK)
83483 
83484 #define SEMC_SDRAMCR1_RFRC_MASK                  (0x1F00U)
83485 #define SEMC_SDRAMCR1_RFRC_SHIFT                 (8U)
83486 /*! RFRC - REFRESH recovery time
83487  */
83488 #define SEMC_SDRAMCR1_RFRC(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_RFRC_SHIFT)) & SEMC_SDRAMCR1_RFRC_MASK)
83489 
83490 #define SEMC_SDRAMCR1_WRC_MASK                   (0xE000U)
83491 #define SEMC_SDRAMCR1_WRC_SHIFT                  (13U)
83492 /*! WRC - WRITE recovery time
83493  */
83494 #define SEMC_SDRAMCR1_WRC(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_WRC_SHIFT)) & SEMC_SDRAMCR1_WRC_MASK)
83495 
83496 #define SEMC_SDRAMCR1_CKEOFF_MASK                (0xF0000U)
83497 #define SEMC_SDRAMCR1_CKEOFF_SHIFT               (16U)
83498 /*! CKEOFF - CKE off minimum time
83499  */
83500 #define SEMC_SDRAMCR1_CKEOFF(x)                  (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_CKEOFF_SHIFT)) & SEMC_SDRAMCR1_CKEOFF_MASK)
83501 
83502 #define SEMC_SDRAMCR1_ACT2PRE_MASK               (0xF00000U)
83503 #define SEMC_SDRAMCR1_ACT2PRE_SHIFT              (20U)
83504 /*! ACT2PRE - ACTIVE to PRECHARGE minimum time
83505  */
83506 #define SEMC_SDRAMCR1_ACT2PRE(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR1_ACT2PRE_SHIFT)) & SEMC_SDRAMCR1_ACT2PRE_MASK)
83507 /*! @} */
83508 
83509 /*! @name SDRAMCR2 - SDRAM Control Register 2 */
83510 /*! @{ */
83511 
83512 #define SEMC_SDRAMCR2_SRRC_MASK                  (0xFFU)
83513 #define SEMC_SDRAMCR2_SRRC_SHIFT                 (0U)
83514 /*! SRRC - SELF REFRESH recovery time
83515  */
83516 #define SEMC_SDRAMCR2_SRRC(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR2_SRRC_SHIFT)) & SEMC_SDRAMCR2_SRRC_MASK)
83517 
83518 #define SEMC_SDRAMCR2_REF2REF_MASK               (0xFF00U)
83519 #define SEMC_SDRAMCR2_REF2REF_SHIFT              (8U)
83520 /*! REF2REF - REFRESH to REFRESH delay
83521  */
83522 #define SEMC_SDRAMCR2_REF2REF(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR2_REF2REF_SHIFT)) & SEMC_SDRAMCR2_REF2REF_MASK)
83523 
83524 #define SEMC_SDRAMCR2_ACT2ACT_MASK               (0xFF0000U)
83525 #define SEMC_SDRAMCR2_ACT2ACT_SHIFT              (16U)
83526 /*! ACT2ACT - ACTIVE to ACTIVE delay
83527  */
83528 #define SEMC_SDRAMCR2_ACT2ACT(x)                 (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR2_ACT2ACT_SHIFT)) & SEMC_SDRAMCR2_ACT2ACT_MASK)
83529 
83530 #define SEMC_SDRAMCR2_ITO_MASK                   (0xFF000000U)
83531 #define SEMC_SDRAMCR2_ITO_SHIFT                  (24U)
83532 /*! ITO - SDRAM idle timeout
83533  *  0b00000000..IDLE timeout period is 256*Prescale period.
83534  *  0b00000001-0b11111111..IDLE timeout period is ITO*Prescale period.
83535  */
83536 #define SEMC_SDRAMCR2_ITO(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR2_ITO_SHIFT)) & SEMC_SDRAMCR2_ITO_MASK)
83537 /*! @} */
83538 
83539 /*! @name SDRAMCR3 - SDRAM Control Register 3 */
83540 /*! @{ */
83541 
83542 #define SEMC_SDRAMCR3_REN_MASK                   (0x1U)
83543 #define SEMC_SDRAMCR3_REN_SHIFT                  (0U)
83544 /*! REN - Refresh enable
83545  *  0b0..The SEMC does not send AUTO REFRESH command automatically
83546  *  0b1..The SEMC sends AUTO REFRESH command automatically
83547  */
83548 #define SEMC_SDRAMCR3_REN(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR3_REN_SHIFT)) & SEMC_SDRAMCR3_REN_MASK)
83549 
83550 #define SEMC_SDRAMCR3_REBL_MASK                  (0xEU)
83551 #define SEMC_SDRAMCR3_REBL_SHIFT                 (1U)
83552 /*! REBL - Refresh burst length
83553  *  0b000..1
83554  *  0b001..2
83555  *  0b010..3
83556  *  0b011..4
83557  *  0b100..5
83558  *  0b101..6
83559  *  0b110..7
83560  *  0b111..8
83561  */
83562 #define SEMC_SDRAMCR3_REBL(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR3_REBL_SHIFT)) & SEMC_SDRAMCR3_REBL_MASK)
83563 
83564 #define SEMC_SDRAMCR3_PRESCALE_MASK              (0xFF00U)
83565 #define SEMC_SDRAMCR3_PRESCALE_SHIFT             (8U)
83566 /*! PRESCALE - Prescaler period
83567  *  0b00000000..(256*16+1) clock cycles
83568  *  0b00000001-0b11111111..(PRESCALE*16+1) clock cycles
83569  */
83570 #define SEMC_SDRAMCR3_PRESCALE(x)                (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR3_PRESCALE_SHIFT)) & SEMC_SDRAMCR3_PRESCALE_MASK)
83571 
83572 #define SEMC_SDRAMCR3_RT_MASK                    (0xFF0000U)
83573 #define SEMC_SDRAMCR3_RT_SHIFT                   (16U)
83574 /*! RT - Refresh timer period
83575  *  0b00000000..(256+1)*(Prescaler period)
83576  *  0b00000001-0b11111111..(RT+1)*(Prescaler period)
83577  */
83578 #define SEMC_SDRAMCR3_RT(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR3_RT_SHIFT)) & SEMC_SDRAMCR3_RT_MASK)
83579 
83580 #define SEMC_SDRAMCR3_UT_MASK                    (0xFF000000U)
83581 #define SEMC_SDRAMCR3_UT_SHIFT                   (24U)
83582 /*! UT - Urgent refresh threshold
83583  *  0b00000000..256*(Prescaler period)
83584  *  0b00000001-0b11111111..UT*(Prescaler period)
83585  */
83586 #define SEMC_SDRAMCR3_UT(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SDRAMCR3_UT_SHIFT)) & SEMC_SDRAMCR3_UT_MASK)
83587 /*! @} */
83588 
83589 /*! @name NANDCR0 - NAND Control Register 0 */
83590 /*! @{ */
83591 
83592 #define SEMC_NANDCR0_PS_MASK                     (0x1U)
83593 #define SEMC_NANDCR0_PS_SHIFT                    (0U)
83594 /*! PS - Port Size
83595  *  0b0..8bit
83596  *  0b1..16bit
83597  */
83598 #define SEMC_NANDCR0_PS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR0_PS_SHIFT)) & SEMC_NANDCR0_PS_MASK)
83599 
83600 #define SEMC_NANDCR0_SYNCEN_MASK                 (0x2U)
83601 #define SEMC_NANDCR0_SYNCEN_SHIFT                (1U)
83602 /*! SYNCEN - Synchronous Mode Enable
83603  *  0b0..Asynchronous mode is enabled.
83604  *  0b1..Synchronous mode is enabled.
83605  */
83606 #define SEMC_NANDCR0_SYNCEN(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR0_SYNCEN_SHIFT)) & SEMC_NANDCR0_SYNCEN_MASK)
83607 
83608 #define SEMC_NANDCR0_BL_MASK                     (0x70U)
83609 #define SEMC_NANDCR0_BL_SHIFT                    (4U)
83610 /*! BL - Burst Length
83611  *  0b000..1
83612  *  0b001..2
83613  *  0b010..4
83614  *  0b011..8
83615  *  0b100..16
83616  *  0b101..32
83617  *  0b110..64
83618  *  0b111..64
83619  */
83620 #define SEMC_NANDCR0_BL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR0_BL_SHIFT)) & SEMC_NANDCR0_BL_MASK)
83621 
83622 #define SEMC_NANDCR0_EDO_MASK                    (0x80U)
83623 #define SEMC_NANDCR0_EDO_SHIFT                   (7U)
83624 /*! EDO - EDO mode enabled
83625  *  0b0..EDO mode disabled
83626  *  0b1..EDO mode enabled
83627  */
83628 #define SEMC_NANDCR0_EDO(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR0_EDO_SHIFT)) & SEMC_NANDCR0_EDO_MASK)
83629 
83630 #define SEMC_NANDCR0_COL_MASK                    (0x700U)
83631 #define SEMC_NANDCR0_COL_SHIFT                   (8U)
83632 /*! COL - Column address bit number
83633  *  0b000..16
83634  *  0b001..15
83635  *  0b010..14
83636  *  0b011..13
83637  *  0b100..12
83638  *  0b101..11
83639  *  0b110..10
83640  *  0b111..9
83641  */
83642 #define SEMC_NANDCR0_COL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR0_COL_SHIFT)) & SEMC_NANDCR0_COL_MASK)
83643 /*! @} */
83644 
83645 /*! @name NANDCR1 - NAND Control Register 1 */
83646 /*! @{ */
83647 
83648 #define SEMC_NANDCR1_CES_MASK                    (0xFU)
83649 #define SEMC_NANDCR1_CES_SHIFT                   (0U)
83650 /*! CES - CE# setup time
83651  */
83652 #define SEMC_NANDCR1_CES(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_CES_SHIFT)) & SEMC_NANDCR1_CES_MASK)
83653 
83654 #define SEMC_NANDCR1_CEH_MASK                    (0xF0U)
83655 #define SEMC_NANDCR1_CEH_SHIFT                   (4U)
83656 /*! CEH - CE# hold time
83657  */
83658 #define SEMC_NANDCR1_CEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_CEH_SHIFT)) & SEMC_NANDCR1_CEH_MASK)
83659 
83660 #define SEMC_NANDCR1_WEL_MASK                    (0xF00U)
83661 #define SEMC_NANDCR1_WEL_SHIFT                   (8U)
83662 /*! WEL - WE# low time
83663  */
83664 #define SEMC_NANDCR1_WEL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_WEL_SHIFT)) & SEMC_NANDCR1_WEL_MASK)
83665 
83666 #define SEMC_NANDCR1_WEH_MASK                    (0xF000U)
83667 #define SEMC_NANDCR1_WEH_SHIFT                   (12U)
83668 /*! WEH - WE# high time
83669  */
83670 #define SEMC_NANDCR1_WEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_WEH_SHIFT)) & SEMC_NANDCR1_WEH_MASK)
83671 
83672 #define SEMC_NANDCR1_REL_MASK                    (0xF0000U)
83673 #define SEMC_NANDCR1_REL_SHIFT                   (16U)
83674 /*! REL - RE# low time
83675  */
83676 #define SEMC_NANDCR1_REL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_REL_SHIFT)) & SEMC_NANDCR1_REL_MASK)
83677 
83678 #define SEMC_NANDCR1_REH_MASK                    (0xF00000U)
83679 #define SEMC_NANDCR1_REH_SHIFT                   (20U)
83680 /*! REH - RE# high time
83681  */
83682 #define SEMC_NANDCR1_REH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_REH_SHIFT)) & SEMC_NANDCR1_REH_MASK)
83683 
83684 #define SEMC_NANDCR1_TA_MASK                     (0xF000000U)
83685 #define SEMC_NANDCR1_TA_SHIFT                    (24U)
83686 /*! TA - Turnaround time
83687  */
83688 #define SEMC_NANDCR1_TA(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_TA_SHIFT)) & SEMC_NANDCR1_TA_MASK)
83689 
83690 #define SEMC_NANDCR1_CEITV_MASK                  (0xF0000000U)
83691 #define SEMC_NANDCR1_CEITV_SHIFT                 (28U)
83692 /*! CEITV - CE# interval time
83693  */
83694 #define SEMC_NANDCR1_CEITV(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR1_CEITV_SHIFT)) & SEMC_NANDCR1_CEITV_MASK)
83695 /*! @} */
83696 
83697 /*! @name NANDCR2 - NAND Control Register 2 */
83698 /*! @{ */
83699 
83700 #define SEMC_NANDCR2_TWHR_MASK                   (0x3FU)
83701 #define SEMC_NANDCR2_TWHR_SHIFT                  (0U)
83702 /*! TWHR - WE# high to RE# low time
83703  */
83704 #define SEMC_NANDCR2_TWHR(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR2_TWHR_SHIFT)) & SEMC_NANDCR2_TWHR_MASK)
83705 
83706 #define SEMC_NANDCR2_TRHW_MASK                   (0xFC0U)
83707 #define SEMC_NANDCR2_TRHW_SHIFT                  (6U)
83708 /*! TRHW - RE# high to WE# low time
83709  */
83710 #define SEMC_NANDCR2_TRHW(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR2_TRHW_SHIFT)) & SEMC_NANDCR2_TRHW_MASK)
83711 
83712 #define SEMC_NANDCR2_TADL_MASK                   (0x3F000U)
83713 #define SEMC_NANDCR2_TADL_SHIFT                  (12U)
83714 /*! TADL - Address cycle to data loading time
83715  */
83716 #define SEMC_NANDCR2_TADL(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR2_TADL_SHIFT)) & SEMC_NANDCR2_TADL_MASK)
83717 
83718 #define SEMC_NANDCR2_TRR_MASK                    (0xFC0000U)
83719 #define SEMC_NANDCR2_TRR_SHIFT                   (18U)
83720 /*! TRR - Ready to RE# low time
83721  */
83722 #define SEMC_NANDCR2_TRR(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR2_TRR_SHIFT)) & SEMC_NANDCR2_TRR_MASK)
83723 
83724 #define SEMC_NANDCR2_TWB_MASK                    (0x3F000000U)
83725 #define SEMC_NANDCR2_TWB_SHIFT                   (24U)
83726 /*! TWB - WE# high to busy time
83727  */
83728 #define SEMC_NANDCR2_TWB(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR2_TWB_SHIFT)) & SEMC_NANDCR2_TWB_MASK)
83729 /*! @} */
83730 
83731 /*! @name NANDCR3 - NAND Control Register 3 */
83732 /*! @{ */
83733 
83734 #define SEMC_NANDCR3_NDOPT1_MASK                 (0x1U)
83735 #define SEMC_NANDCR3_NDOPT1_SHIFT                (0U)
83736 /*! NDOPT1 - NAND option bit 1
83737  */
83738 #define SEMC_NANDCR3_NDOPT1(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_NDOPT1_SHIFT)) & SEMC_NANDCR3_NDOPT1_MASK)
83739 
83740 #define SEMC_NANDCR3_NDOPT2_MASK                 (0x2U)
83741 #define SEMC_NANDCR3_NDOPT2_SHIFT                (1U)
83742 /*! NDOPT2 - NAND option bit 2
83743  */
83744 #define SEMC_NANDCR3_NDOPT2(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_NDOPT2_SHIFT)) & SEMC_NANDCR3_NDOPT2_MASK)
83745 
83746 #define SEMC_NANDCR3_NDOPT3_MASK                 (0x4U)
83747 #define SEMC_NANDCR3_NDOPT3_SHIFT                (2U)
83748 /*! NDOPT3 - NAND option bit 3
83749  */
83750 #define SEMC_NANDCR3_NDOPT3(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_NDOPT3_SHIFT)) & SEMC_NANDCR3_NDOPT3_MASK)
83751 
83752 #define SEMC_NANDCR3_CLE_MASK                    (0x8U)
83753 #define SEMC_NANDCR3_CLE_SHIFT                   (3U)
83754 /*! CLE - NAND CLE Option
83755  */
83756 #define SEMC_NANDCR3_CLE(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_CLE_SHIFT)) & SEMC_NANDCR3_CLE_MASK)
83757 
83758 #define SEMC_NANDCR3_RDS_MASK                    (0xF0000U)
83759 #define SEMC_NANDCR3_RDS_SHIFT                   (16U)
83760 /*! RDS - Read Data Setup time
83761  */
83762 #define SEMC_NANDCR3_RDS(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_RDS_SHIFT)) & SEMC_NANDCR3_RDS_MASK)
83763 
83764 #define SEMC_NANDCR3_RDH_MASK                    (0xF00000U)
83765 #define SEMC_NANDCR3_RDH_SHIFT                   (20U)
83766 /*! RDH - Read Data Hold time
83767  */
83768 #define SEMC_NANDCR3_RDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_RDH_SHIFT)) & SEMC_NANDCR3_RDH_MASK)
83769 
83770 #define SEMC_NANDCR3_WDS_MASK                    (0xF000000U)
83771 #define SEMC_NANDCR3_WDS_SHIFT                   (24U)
83772 /*! WDS - Write Data Setup time
83773  */
83774 #define SEMC_NANDCR3_WDS(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_WDS_SHIFT)) & SEMC_NANDCR3_WDS_MASK)
83775 
83776 #define SEMC_NANDCR3_WDH_MASK                    (0xF0000000U)
83777 #define SEMC_NANDCR3_WDH_SHIFT                   (28U)
83778 /*! WDH - Write Data Hold time
83779  */
83780 #define SEMC_NANDCR3_WDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NANDCR3_WDH_SHIFT)) & SEMC_NANDCR3_WDH_MASK)
83781 /*! @} */
83782 
83783 /*! @name NORCR0 - NOR Control Register 0 */
83784 /*! @{ */
83785 
83786 #define SEMC_NORCR0_PS_MASK                      (0x1U)
83787 #define SEMC_NORCR0_PS_SHIFT                     (0U)
83788 /*! PS - Port Size
83789  *  0b0..8bit
83790  *  0b1..16bit
83791  */
83792 #define SEMC_NORCR0_PS(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_PS_SHIFT)) & SEMC_NORCR0_PS_MASK)
83793 
83794 #define SEMC_NORCR0_SYNCEN_MASK                  (0x2U)
83795 #define SEMC_NORCR0_SYNCEN_SHIFT                 (1U)
83796 /*! SYNCEN - Synchronous Mode Enable
83797  *  0b0..Asynchronous mode is enabled.
83798  *  0b1..Synchronous mode is enabled. Only fixed latency mode is supported.
83799  */
83800 #define SEMC_NORCR0_SYNCEN(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_SYNCEN_SHIFT)) & SEMC_NORCR0_SYNCEN_MASK)
83801 
83802 #define SEMC_NORCR0_BL_MASK                      (0x70U)
83803 #define SEMC_NORCR0_BL_SHIFT                     (4U)
83804 /*! BL - Burst Length
83805  *  0b000..1
83806  *  0b001..2
83807  *  0b010..4
83808  *  0b011..8
83809  *  0b100..16
83810  *  0b101..32
83811  *  0b110..64
83812  *  0b111..64
83813  */
83814 #define SEMC_NORCR0_BL(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_BL_SHIFT)) & SEMC_NORCR0_BL_MASK)
83815 
83816 #define SEMC_NORCR0_AM_MASK                      (0x300U)
83817 #define SEMC_NORCR0_AM_SHIFT                     (8U)
83818 /*! AM - Address Mode
83819  *  0b00..Address/Data MUX mode (ADMUX)
83820  *  0b01..Advanced Address/Data MUX mode (AADM)
83821  *  0b10..Address/Data non-MUX mode (Non-ADMUX)
83822  *  0b11..Address/Data non-MUX mode (Non-ADMUX)
83823  */
83824 #define SEMC_NORCR0_AM(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_AM_SHIFT)) & SEMC_NORCR0_AM_MASK)
83825 
83826 #define SEMC_NORCR0_ADVP_MASK                    (0x400U)
83827 #define SEMC_NORCR0_ADVP_SHIFT                   (10U)
83828 /*! ADVP - ADV# Polarity
83829  *  0b0..ADV# is active low.
83830  *  0b1..ADV# is active high.
83831  */
83832 #define SEMC_NORCR0_ADVP(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_ADVP_SHIFT)) & SEMC_NORCR0_ADVP_MASK)
83833 
83834 #define SEMC_NORCR0_ADVH_MASK                    (0x800U)
83835 #define SEMC_NORCR0_ADVH_SHIFT                   (11U)
83836 /*! ADVH - ADV# level control during address hold state
83837  *  0b0..ADV# is high during address hold state.
83838  *  0b1..ADV# is low during address hold state.
83839  */
83840 #define SEMC_NORCR0_ADVH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_ADVH_SHIFT)) & SEMC_NORCR0_ADVH_MASK)
83841 
83842 #define SEMC_NORCR0_COL_MASK                     (0xF000U)
83843 #define SEMC_NORCR0_COL_SHIFT                    (12U)
83844 /*! COL - Column Address bit width
83845  *  0b0000..12 Bits
83846  *  0b0001..11 Bits
83847  *  0b0010..10 Bits
83848  *  0b0011..9 Bits
83849  *  0b0100..8 Bits
83850  *  0b0101..7 Bits
83851  *  0b0110..6 Bits
83852  *  0b0111..5 Bits
83853  *  0b1000..4 Bits
83854  *  0b1001..3 Bits
83855  *  0b1010..2 Bits
83856  *  0b1011..12 Bits
83857  *  0b1100..12 Bits
83858  *  0b1101..12 Bits
83859  *  0b1110..12 Bits
83860  *  0b1111..12 Bits
83861  */
83862 #define SEMC_NORCR0_COL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR0_COL_SHIFT)) & SEMC_NORCR0_COL_MASK)
83863 /*! @} */
83864 
83865 /*! @name NORCR1 - NOR Control Register 1 */
83866 /*! @{ */
83867 
83868 #define SEMC_NORCR1_CES_MASK                     (0xFU)
83869 #define SEMC_NORCR1_CES_SHIFT                    (0U)
83870 /*! CES - CE setup time
83871  */
83872 #define SEMC_NORCR1_CES(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_CES_SHIFT)) & SEMC_NORCR1_CES_MASK)
83873 
83874 #define SEMC_NORCR1_CEH_MASK                     (0xF0U)
83875 #define SEMC_NORCR1_CEH_SHIFT                    (4U)
83876 /*! CEH - CE hold time
83877  */
83878 #define SEMC_NORCR1_CEH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_CEH_SHIFT)) & SEMC_NORCR1_CEH_MASK)
83879 
83880 #define SEMC_NORCR1_AS_MASK                      (0xF00U)
83881 #define SEMC_NORCR1_AS_SHIFT                     (8U)
83882 /*! AS - Address setup time
83883  */
83884 #define SEMC_NORCR1_AS(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_AS_SHIFT)) & SEMC_NORCR1_AS_MASK)
83885 
83886 #define SEMC_NORCR1_AH_MASK                      (0xF000U)
83887 #define SEMC_NORCR1_AH_SHIFT                     (12U)
83888 /*! AH - Address hold time
83889  */
83890 #define SEMC_NORCR1_AH(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_AH_SHIFT)) & SEMC_NORCR1_AH_MASK)
83891 
83892 #define SEMC_NORCR1_WEL_MASK                     (0xF0000U)
83893 #define SEMC_NORCR1_WEL_SHIFT                    (16U)
83894 /*! WEL - WE low time
83895  */
83896 #define SEMC_NORCR1_WEL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_WEL_SHIFT)) & SEMC_NORCR1_WEL_MASK)
83897 
83898 #define SEMC_NORCR1_WEH_MASK                     (0xF00000U)
83899 #define SEMC_NORCR1_WEH_SHIFT                    (20U)
83900 /*! WEH - WE high time
83901  */
83902 #define SEMC_NORCR1_WEH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_WEH_SHIFT)) & SEMC_NORCR1_WEH_MASK)
83903 
83904 #define SEMC_NORCR1_REL_MASK                     (0xF000000U)
83905 #define SEMC_NORCR1_REL_SHIFT                    (24U)
83906 /*! REL - RE low time
83907  */
83908 #define SEMC_NORCR1_REL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_REL_SHIFT)) & SEMC_NORCR1_REL_MASK)
83909 
83910 #define SEMC_NORCR1_REH_MASK                     (0xF0000000U)
83911 #define SEMC_NORCR1_REH_SHIFT                    (28U)
83912 /*! REH - RE high time
83913  */
83914 #define SEMC_NORCR1_REH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR1_REH_SHIFT)) & SEMC_NORCR1_REH_MASK)
83915 /*! @} */
83916 
83917 /*! @name NORCR2 - NOR Control Register 2 */
83918 /*! @{ */
83919 
83920 #define SEMC_NORCR2_TA_MASK                      (0xF00U)
83921 #define SEMC_NORCR2_TA_SHIFT                     (8U)
83922 /*! TA - Turnaround time
83923  */
83924 #define SEMC_NORCR2_TA(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_TA_SHIFT)) & SEMC_NORCR2_TA_MASK)
83925 
83926 #define SEMC_NORCR2_AWDH_MASK                    (0xF000U)
83927 #define SEMC_NORCR2_AWDH_SHIFT                   (12U)
83928 /*! AWDH - Address to write data hold time
83929  */
83930 #define SEMC_NORCR2_AWDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_AWDH_SHIFT)) & SEMC_NORCR2_AWDH_MASK)
83931 
83932 #define SEMC_NORCR2_LC_MASK                      (0xF0000U)
83933 #define SEMC_NORCR2_LC_SHIFT                     (16U)
83934 /*! LC - Latency count
83935  */
83936 #define SEMC_NORCR2_LC(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_LC_SHIFT)) & SEMC_NORCR2_LC_MASK)
83937 
83938 #define SEMC_NORCR2_RD_MASK                      (0xF00000U)
83939 #define SEMC_NORCR2_RD_SHIFT                     (20U)
83940 /*! RD - Read time
83941  */
83942 #define SEMC_NORCR2_RD(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_RD_SHIFT)) & SEMC_NORCR2_RD_MASK)
83943 
83944 #define SEMC_NORCR2_CEITV_MASK                   (0xF000000U)
83945 #define SEMC_NORCR2_CEITV_SHIFT                  (24U)
83946 /*! CEITV - CE# interval time
83947  */
83948 #define SEMC_NORCR2_CEITV(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_CEITV_SHIFT)) & SEMC_NORCR2_CEITV_MASK)
83949 
83950 #define SEMC_NORCR2_RDH_MASK                     (0xF0000000U)
83951 #define SEMC_NORCR2_RDH_SHIFT                    (28U)
83952 /*! RDH - Read hold time
83953  */
83954 #define SEMC_NORCR2_RDH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR2_RDH_SHIFT)) & SEMC_NORCR2_RDH_MASK)
83955 /*! @} */
83956 
83957 /*! @name NORCR3 - NOR Control Register 3 */
83958 /*! @{ */
83959 
83960 #define SEMC_NORCR3_ASSR_MASK                    (0xFU)
83961 #define SEMC_NORCR3_ASSR_SHIFT                   (0U)
83962 /*! ASSR - Address setup time for SYNC read
83963  */
83964 #define SEMC_NORCR3_ASSR(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR3_ASSR_SHIFT)) & SEMC_NORCR3_ASSR_MASK)
83965 
83966 #define SEMC_NORCR3_AHSR_MASK                    (0xF0U)
83967 #define SEMC_NORCR3_AHSR_SHIFT                   (4U)
83968 /*! AHSR - Address hold time for SYNC read
83969  */
83970 #define SEMC_NORCR3_AHSR(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_NORCR3_AHSR_SHIFT)) & SEMC_NORCR3_AHSR_MASK)
83971 /*! @} */
83972 
83973 /*! @name SRAMCR0 - SRAM Control Register 0 */
83974 /*! @{ */
83975 
83976 #define SEMC_SRAMCR0_PS_MASK                     (0x1U)
83977 #define SEMC_SRAMCR0_PS_SHIFT                    (0U)
83978 /*! PS - Port Size
83979  *  0b0..8bit
83980  *  0b1..16bit
83981  */
83982 #define SEMC_SRAMCR0_PS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_PS_SHIFT)) & SEMC_SRAMCR0_PS_MASK)
83983 
83984 #define SEMC_SRAMCR0_SYNCEN_MASK                 (0x2U)
83985 #define SEMC_SRAMCR0_SYNCEN_SHIFT                (1U)
83986 /*! SYNCEN - Synchronous Mode Enable
83987  *  0b0..Asynchronous mode is enabled.
83988  *  0b1..Synchronous mode is enabled. Only fixed latency mode is supported.
83989  */
83990 #define SEMC_SRAMCR0_SYNCEN(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_SYNCEN_SHIFT)) & SEMC_SRAMCR0_SYNCEN_MASK)
83991 
83992 #define SEMC_SRAMCR0_WAITEN_MASK                 (0x4U)
83993 #define SEMC_SRAMCR0_WAITEN_SHIFT                (2U)
83994 /*! WAITEN - Wait Enable
83995  *  0b0..The SEMC does not monitor wait pin.
83996  *  0b1..The SEMC monitors wait pin. The SEMC does not transfer/receive data when wait pin is asserted.
83997  */
83998 #define SEMC_SRAMCR0_WAITEN(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_WAITEN_SHIFT)) & SEMC_SRAMCR0_WAITEN_MASK)
83999 
84000 #define SEMC_SRAMCR0_WAITSP_MASK                 (0x8U)
84001 #define SEMC_SRAMCR0_WAITSP_SHIFT                (3U)
84002 /*! WAITSP - Wait Sample
84003  *  0b0..Wait pin is directly used by the SEMC.
84004  *  0b1..Wait pin is sampled by internal clock before it is used.
84005  */
84006 #define SEMC_SRAMCR0_WAITSP(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_WAITSP_SHIFT)) & SEMC_SRAMCR0_WAITSP_MASK)
84007 
84008 #define SEMC_SRAMCR0_BL_MASK                     (0x70U)
84009 #define SEMC_SRAMCR0_BL_SHIFT                    (4U)
84010 /*! BL - Burst Length
84011  *  0b000..1
84012  *  0b001..2
84013  *  0b010..4
84014  *  0b011..8
84015  *  0b100..16
84016  *  0b101..32
84017  *  0b110..64
84018  *  0b111..64
84019  */
84020 #define SEMC_SRAMCR0_BL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_BL_SHIFT)) & SEMC_SRAMCR0_BL_MASK)
84021 
84022 #define SEMC_SRAMCR0_AM_MASK                     (0x300U)
84023 #define SEMC_SRAMCR0_AM_SHIFT                    (8U)
84024 /*! AM - Address Mode
84025  *  0b00..Address/Data MUX mode (ADMUX)
84026  *  0b01..Advanced Address/Data MUX mode (AADM)
84027  *  0b10..Address/Data non-MUX mode (Non-ADMUX)
84028  *  0b11..Address/Data non-MUX mode (Non-ADMUX)
84029  */
84030 #define SEMC_SRAMCR0_AM(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_AM_SHIFT)) & SEMC_SRAMCR0_AM_MASK)
84031 
84032 #define SEMC_SRAMCR0_ADVP_MASK                   (0x400U)
84033 #define SEMC_SRAMCR0_ADVP_SHIFT                  (10U)
84034 /*! ADVP - ADV# polarity
84035  *  0b0..ADV# is active low.
84036  *  0b1..ADV# is active high.
84037  */
84038 #define SEMC_SRAMCR0_ADVP(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_ADVP_SHIFT)) & SEMC_SRAMCR0_ADVP_MASK)
84039 
84040 #define SEMC_SRAMCR0_ADVH_MASK                   (0x800U)
84041 #define SEMC_SRAMCR0_ADVH_SHIFT                  (11U)
84042 /*! ADVH - ADV# level control during address hold state
84043  *  0b0..ADV# is high during address hold state.
84044  *  0b1..ADV# is low during address hold state.
84045  */
84046 #define SEMC_SRAMCR0_ADVH(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_ADVH_SHIFT)) & SEMC_SRAMCR0_ADVH_MASK)
84047 
84048 #define SEMC_SRAMCR0_COL_MASK                    (0xF000U)
84049 #define SEMC_SRAMCR0_COL_SHIFT                   (12U)
84050 /*! COL - Column Address bit width
84051  *  0b0000..12 Bits
84052  *  0b0001..11 Bits
84053  *  0b0010..10 Bits
84054  *  0b0011..9 Bits
84055  *  0b0100..8 Bits
84056  *  0b0101..7 Bits
84057  *  0b0110..6 Bits
84058  *  0b0111..5 Bits
84059  *  0b1000..4 Bits
84060  *  0b1001..3 Bits
84061  *  0b1010..2 Bits
84062  *  0b1011..12 Bits
84063  *  0b1100..12 Bits
84064  *  0b1101..12 Bits
84065  *  0b1110..12 Bits
84066  *  0b1111..12 Bits
84067  */
84068 #define SEMC_SRAMCR0_COL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR0_COL_SHIFT)) & SEMC_SRAMCR0_COL_MASK)
84069 /*! @} */
84070 
84071 /*! @name SRAMCR1 - SRAM Control Register 1 */
84072 /*! @{ */
84073 
84074 #define SEMC_SRAMCR1_CES_MASK                    (0xFU)
84075 #define SEMC_SRAMCR1_CES_SHIFT                   (0U)
84076 /*! CES - CE setup time
84077  */
84078 #define SEMC_SRAMCR1_CES(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_CES_SHIFT)) & SEMC_SRAMCR1_CES_MASK)
84079 
84080 #define SEMC_SRAMCR1_CEH_MASK                    (0xF0U)
84081 #define SEMC_SRAMCR1_CEH_SHIFT                   (4U)
84082 /*! CEH - CE hold time
84083  */
84084 #define SEMC_SRAMCR1_CEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_CEH_SHIFT)) & SEMC_SRAMCR1_CEH_MASK)
84085 
84086 #define SEMC_SRAMCR1_AS_MASK                     (0xF00U)
84087 #define SEMC_SRAMCR1_AS_SHIFT                    (8U)
84088 /*! AS - Address setup time
84089  */
84090 #define SEMC_SRAMCR1_AS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_AS_SHIFT)) & SEMC_SRAMCR1_AS_MASK)
84091 
84092 #define SEMC_SRAMCR1_AH_MASK                     (0xF000U)
84093 #define SEMC_SRAMCR1_AH_SHIFT                    (12U)
84094 /*! AH - Address hold time
84095  */
84096 #define SEMC_SRAMCR1_AH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_AH_SHIFT)) & SEMC_SRAMCR1_AH_MASK)
84097 
84098 #define SEMC_SRAMCR1_WEL_MASK                    (0xF0000U)
84099 #define SEMC_SRAMCR1_WEL_SHIFT                   (16U)
84100 /*! WEL - WE low time
84101  */
84102 #define SEMC_SRAMCR1_WEL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_WEL_SHIFT)) & SEMC_SRAMCR1_WEL_MASK)
84103 
84104 #define SEMC_SRAMCR1_WEH_MASK                    (0xF00000U)
84105 #define SEMC_SRAMCR1_WEH_SHIFT                   (20U)
84106 /*! WEH - WE high time
84107  */
84108 #define SEMC_SRAMCR1_WEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_WEH_SHIFT)) & SEMC_SRAMCR1_WEH_MASK)
84109 
84110 #define SEMC_SRAMCR1_REL_MASK                    (0xF000000U)
84111 #define SEMC_SRAMCR1_REL_SHIFT                   (24U)
84112 /*! REL - RE low time
84113  */
84114 #define SEMC_SRAMCR1_REL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_REL_SHIFT)) & SEMC_SRAMCR1_REL_MASK)
84115 
84116 #define SEMC_SRAMCR1_REH_MASK                    (0xF0000000U)
84117 #define SEMC_SRAMCR1_REH_SHIFT                   (28U)
84118 /*! REH - RE high time
84119  */
84120 #define SEMC_SRAMCR1_REH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR1_REH_SHIFT)) & SEMC_SRAMCR1_REH_MASK)
84121 /*! @} */
84122 
84123 /*! @name SRAMCR2 - SRAM Control Register 2 */
84124 /*! @{ */
84125 
84126 #define SEMC_SRAMCR2_WDS_MASK                    (0xFU)
84127 #define SEMC_SRAMCR2_WDS_SHIFT                   (0U)
84128 /*! WDS - Write Data setup time
84129  */
84130 #define SEMC_SRAMCR2_WDS(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_WDS_SHIFT)) & SEMC_SRAMCR2_WDS_MASK)
84131 
84132 #define SEMC_SRAMCR2_WDH_MASK                    (0xF0U)
84133 #define SEMC_SRAMCR2_WDH_SHIFT                   (4U)
84134 /*! WDH - Write Data hold time
84135  */
84136 #define SEMC_SRAMCR2_WDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_WDH_SHIFT)) & SEMC_SRAMCR2_WDH_MASK)
84137 
84138 #define SEMC_SRAMCR2_TA_MASK                     (0xF00U)
84139 #define SEMC_SRAMCR2_TA_SHIFT                    (8U)
84140 /*! TA - Turnaround time
84141  */
84142 #define SEMC_SRAMCR2_TA(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_TA_SHIFT)) & SEMC_SRAMCR2_TA_MASK)
84143 
84144 #define SEMC_SRAMCR2_AWDH_MASK                   (0xF000U)
84145 #define SEMC_SRAMCR2_AWDH_SHIFT                  (12U)
84146 /*! AWDH - Address to write data hold time
84147  */
84148 #define SEMC_SRAMCR2_AWDH(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_AWDH_SHIFT)) & SEMC_SRAMCR2_AWDH_MASK)
84149 
84150 #define SEMC_SRAMCR2_LC_MASK                     (0xF0000U)
84151 #define SEMC_SRAMCR2_LC_SHIFT                    (16U)
84152 /*! LC - Latency count
84153  */
84154 #define SEMC_SRAMCR2_LC(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_LC_SHIFT)) & SEMC_SRAMCR2_LC_MASK)
84155 
84156 #define SEMC_SRAMCR2_RD_MASK                     (0xF00000U)
84157 #define SEMC_SRAMCR2_RD_SHIFT                    (20U)
84158 /*! RD - Read time
84159  */
84160 #define SEMC_SRAMCR2_RD(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_RD_SHIFT)) & SEMC_SRAMCR2_RD_MASK)
84161 
84162 #define SEMC_SRAMCR2_CEITV_MASK                  (0xF000000U)
84163 #define SEMC_SRAMCR2_CEITV_SHIFT                 (24U)
84164 /*! CEITV - CE# interval time
84165  */
84166 #define SEMC_SRAMCR2_CEITV(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_CEITV_SHIFT)) & SEMC_SRAMCR2_CEITV_MASK)
84167 
84168 #define SEMC_SRAMCR2_RDH_MASK                    (0xF0000000U)
84169 #define SEMC_SRAMCR2_RDH_SHIFT                   (28U)
84170 /*! RDH - Read hold time
84171  */
84172 #define SEMC_SRAMCR2_RDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR2_RDH_SHIFT)) & SEMC_SRAMCR2_RDH_MASK)
84173 /*! @} */
84174 
84175 /*! @name DBICR0 - DBI-B Control Register 0 */
84176 /*! @{ */
84177 
84178 #define SEMC_DBICR0_PS_MASK                      (0x1U)
84179 #define SEMC_DBICR0_PS_SHIFT                     (0U)
84180 /*! PS - Port Size
84181  *  0b0..8bit
84182  *  0b1..16bit
84183  */
84184 #define SEMC_DBICR0_PS(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR0_PS_SHIFT)) & SEMC_DBICR0_PS_MASK)
84185 
84186 #define SEMC_DBICR0_BL_MASK                      (0x70U)
84187 #define SEMC_DBICR0_BL_SHIFT                     (4U)
84188 /*! BL - Burst Length
84189  *  0b000..1
84190  *  0b001..2
84191  *  0b010..4
84192  *  0b011..8
84193  *  0b100..16
84194  *  0b101..32
84195  *  0b110..64
84196  *  0b111..64
84197  */
84198 #define SEMC_DBICR0_BL(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR0_BL_SHIFT)) & SEMC_DBICR0_BL_MASK)
84199 
84200 #define SEMC_DBICR0_COL_MASK                     (0xF000U)
84201 #define SEMC_DBICR0_COL_SHIFT                    (12U)
84202 /*! COL - Column Address bit width
84203  *  0b0000..12 Bits
84204  *  0b0001..11 Bits
84205  *  0b0010..10 Bits
84206  *  0b0011..9 Bits
84207  *  0b0100..8 Bits
84208  *  0b0101..7 Bits
84209  *  0b0110..6 Bits
84210  *  0b0111..5 Bits
84211  *  0b1000..4 Bits
84212  *  0b1001..3 Bits
84213  *  0b1010..2 Bits
84214  *  0b1011..12 Bits
84215  *  0b1100..12 Bits
84216  *  0b1101..12 Bits
84217  *  0b1110..12 Bits
84218  *  0b1111..12 Bits
84219  */
84220 #define SEMC_DBICR0_COL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR0_COL_SHIFT)) & SEMC_DBICR0_COL_MASK)
84221 /*! @} */
84222 
84223 /*! @name DBICR1 - DBI-B Control Register 1 */
84224 /*! @{ */
84225 
84226 #define SEMC_DBICR1_CES_MASK                     (0xFU)
84227 #define SEMC_DBICR1_CES_SHIFT                    (0U)
84228 /*! CES - CSX Setup Time
84229  */
84230 #define SEMC_DBICR1_CES(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_CES_SHIFT)) & SEMC_DBICR1_CES_MASK)
84231 
84232 #define SEMC_DBICR1_CEH_MASK                     (0xF0U)
84233 #define SEMC_DBICR1_CEH_SHIFT                    (4U)
84234 /*! CEH - CSX Hold Time
84235  */
84236 #define SEMC_DBICR1_CEH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_CEH_SHIFT)) & SEMC_DBICR1_CEH_MASK)
84237 
84238 #define SEMC_DBICR1_WEL_MASK                     (0xF00U)
84239 #define SEMC_DBICR1_WEL_SHIFT                    (8U)
84240 /*! WEL - WRX Low Time
84241  */
84242 #define SEMC_DBICR1_WEL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_WEL_SHIFT)) & SEMC_DBICR1_WEL_MASK)
84243 
84244 #define SEMC_DBICR1_WEH_MASK                     (0xF000U)
84245 #define SEMC_DBICR1_WEH_SHIFT                    (12U)
84246 /*! WEH - WRX High Time
84247  */
84248 #define SEMC_DBICR1_WEH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_WEH_SHIFT)) & SEMC_DBICR1_WEH_MASK)
84249 
84250 #define SEMC_DBICR1_REL_MASK                     (0x7F0000U)
84251 #define SEMC_DBICR1_REL_SHIFT                    (16U)
84252 /*! REL - RDX Low Time
84253  */
84254 #define SEMC_DBICR1_REL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_REL_SHIFT)) & SEMC_DBICR1_REL_MASK)
84255 
84256 #define SEMC_DBICR1_REH_MASK                     (0x7F000000U)
84257 #define SEMC_DBICR1_REH_SHIFT                    (24U)
84258 /*! REH - RDX High Time
84259  */
84260 #define SEMC_DBICR1_REH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR1_REH_SHIFT)) & SEMC_DBICR1_REH_MASK)
84261 /*! @} */
84262 
84263 /*! @name DBICR2 - DBI-B Control Register 2 */
84264 /*! @{ */
84265 
84266 #define SEMC_DBICR2_CEITV_MASK                   (0xFU)
84267 #define SEMC_DBICR2_CEITV_SHIFT                  (0U)
84268 /*! CEITV - CSX interval time
84269  */
84270 #define SEMC_DBICR2_CEITV(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_DBICR2_CEITV_SHIFT)) & SEMC_DBICR2_CEITV_MASK)
84271 /*! @} */
84272 
84273 /*! @name IPCR0 - IP Command Control Register 0 */
84274 /*! @{ */
84275 
84276 #define SEMC_IPCR0_SA_MASK                       (0xFFFFFFFFU)
84277 #define SEMC_IPCR0_SA_SHIFT                      (0U)
84278 /*! SA - Slave address
84279  */
84280 #define SEMC_IPCR0_SA(x)                         (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR0_SA_SHIFT)) & SEMC_IPCR0_SA_MASK)
84281 /*! @} */
84282 
84283 /*! @name IPCR1 - IP Command Control Register 1 */
84284 /*! @{ */
84285 
84286 #define SEMC_IPCR1_DATSZ_MASK                    (0x7U)
84287 #define SEMC_IPCR1_DATSZ_SHIFT                   (0U)
84288 /*! DATSZ - Data Size in Byte
84289  *  0b000..4
84290  *  0b001..1
84291  *  0b010..2
84292  *  0b011..3
84293  *  0b100..4
84294  *  0b101..4
84295  *  0b110..4
84296  *  0b111..4
84297  */
84298 #define SEMC_IPCR1_DATSZ(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR1_DATSZ_SHIFT)) & SEMC_IPCR1_DATSZ_MASK)
84299 
84300 #define SEMC_IPCR1_NAND_EXT_ADDR_MASK            (0xFF00U)
84301 #define SEMC_IPCR1_NAND_EXT_ADDR_SHIFT           (8U)
84302 /*! NAND_EXT_ADDR - NAND Extended Address
84303  */
84304 #define SEMC_IPCR1_NAND_EXT_ADDR(x)              (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR1_NAND_EXT_ADDR_SHIFT)) & SEMC_IPCR1_NAND_EXT_ADDR_MASK)
84305 /*! @} */
84306 
84307 /*! @name IPCR2 - IP Command Control Register 2 */
84308 /*! @{ */
84309 
84310 #define SEMC_IPCR2_BM0_MASK                      (0x1U)
84311 #define SEMC_IPCR2_BM0_SHIFT                     (0U)
84312 /*! BM0 - Byte Mask for Byte 0 (IPTXDAT bit 7:0)
84313  *  0b0..Byte is unmasked
84314  *  0b1..Byte is masked
84315  */
84316 #define SEMC_IPCR2_BM0(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR2_BM0_SHIFT)) & SEMC_IPCR2_BM0_MASK)
84317 
84318 #define SEMC_IPCR2_BM1_MASK                      (0x2U)
84319 #define SEMC_IPCR2_BM1_SHIFT                     (1U)
84320 /*! BM1 - Byte Mask for Byte 1 (IPTXDAT bit 15:8)
84321  *  0b0..Byte is unmasked
84322  *  0b1..Byte is masked
84323  */
84324 #define SEMC_IPCR2_BM1(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR2_BM1_SHIFT)) & SEMC_IPCR2_BM1_MASK)
84325 
84326 #define SEMC_IPCR2_BM2_MASK                      (0x4U)
84327 #define SEMC_IPCR2_BM2_SHIFT                     (2U)
84328 /*! BM2 - Byte Mask for Byte 2 (IPTXDAT bit 23:16)
84329  *  0b0..Byte is unmasked
84330  *  0b1..Byte is masked
84331  */
84332 #define SEMC_IPCR2_BM2(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR2_BM2_SHIFT)) & SEMC_IPCR2_BM2_MASK)
84333 
84334 #define SEMC_IPCR2_BM3_MASK                      (0x8U)
84335 #define SEMC_IPCR2_BM3_SHIFT                     (3U)
84336 /*! BM3 - Byte Mask for Byte 3 (IPTXDAT bit 31:24)
84337  *  0b0..Byte is unmasked
84338  *  0b1..Byte is masked
84339  */
84340 #define SEMC_IPCR2_BM3(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCR2_BM3_SHIFT)) & SEMC_IPCR2_BM3_MASK)
84341 /*! @} */
84342 
84343 /*! @name IPCMD - IP Command Register */
84344 /*! @{ */
84345 
84346 #define SEMC_IPCMD_CMD_MASK                      (0xFFFFU)
84347 #define SEMC_IPCMD_CMD_SHIFT                     (0U)
84348 #define SEMC_IPCMD_CMD(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCMD_CMD_SHIFT)) & SEMC_IPCMD_CMD_MASK)
84349 
84350 #define SEMC_IPCMD_KEY_MASK                      (0xFFFF0000U)
84351 #define SEMC_IPCMD_KEY_SHIFT                     (16U)
84352 #define SEMC_IPCMD_KEY(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_IPCMD_KEY_SHIFT)) & SEMC_IPCMD_KEY_MASK)
84353 /*! @} */
84354 
84355 /*! @name IPTXDAT - TX DATA Register */
84356 /*! @{ */
84357 
84358 #define SEMC_IPTXDAT_DAT_MASK                    (0xFFFFFFFFU)
84359 #define SEMC_IPTXDAT_DAT_SHIFT                   (0U)
84360 #define SEMC_IPTXDAT_DAT(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_IPTXDAT_DAT_SHIFT)) & SEMC_IPTXDAT_DAT_MASK)
84361 /*! @} */
84362 
84363 /*! @name IPRXDAT - RX DATA Register */
84364 /*! @{ */
84365 
84366 #define SEMC_IPRXDAT_DAT_MASK                    (0xFFFFFFFFU)
84367 #define SEMC_IPRXDAT_DAT_SHIFT                   (0U)
84368 #define SEMC_IPRXDAT_DAT(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_IPRXDAT_DAT_SHIFT)) & SEMC_IPRXDAT_DAT_MASK)
84369 /*! @} */
84370 
84371 /*! @name STS0 - Status Register 0 */
84372 /*! @{ */
84373 
84374 #define SEMC_STS0_IDLE_MASK                      (0x1U)
84375 #define SEMC_STS0_IDLE_SHIFT                     (0U)
84376 /*! IDLE - Indicating whether the SEMC is in idle state.
84377  */
84378 #define SEMC_STS0_IDLE(x)                        (((uint32_t)(((uint32_t)(x)) << SEMC_STS0_IDLE_SHIFT)) & SEMC_STS0_IDLE_MASK)
84379 
84380 #define SEMC_STS0_NARDY_MASK                     (0x2U)
84381 #define SEMC_STS0_NARDY_SHIFT                    (1U)
84382 /*! NARDY - Indicating NAND device Ready/WAIT# pin level.
84383  *  0b0..NAND device is not ready
84384  *  0b1..NAND device is ready
84385  */
84386 #define SEMC_STS0_NARDY(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_STS0_NARDY_SHIFT)) & SEMC_STS0_NARDY_MASK)
84387 /*! @} */
84388 
84389 /*! @name STS2 - Status Register 2 */
84390 /*! @{ */
84391 
84392 #define SEMC_STS2_NDWRPEND_MASK                  (0x8U)
84393 #define SEMC_STS2_NDWRPEND_SHIFT                 (3U)
84394 /*! NDWRPEND - This field indicating whether there is pending AXI command (write) to NAND device.
84395  *  0b0..No pending
84396  *  0b1..Pending
84397  */
84398 #define SEMC_STS2_NDWRPEND(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_STS2_NDWRPEND_SHIFT)) & SEMC_STS2_NDWRPEND_MASK)
84399 /*! @} */
84400 
84401 /*! @name STS12 - Status Register 12 */
84402 /*! @{ */
84403 
84404 #define SEMC_STS12_NDADDR_MASK                   (0xFFFFFFFFU)
84405 #define SEMC_STS12_NDADDR_SHIFT                  (0U)
84406 /*! NDADDR - This field indicating the last write address (AXI command) to NAND device (without base address in SEMC_BR4).
84407  */
84408 #define SEMC_STS12_NDADDR(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_STS12_NDADDR_SHIFT)) & SEMC_STS12_NDADDR_MASK)
84409 /*! @} */
84410 
84411 /*! @name STS13 - Status Register 13 */
84412 /*! @{ */
84413 
84414 #define SEMC_STS13_SLVLOCK_MASK                  (0x1U)
84415 #define SEMC_STS13_SLVLOCK_SHIFT                 (0U)
84416 /*! SLVLOCK - Sample clock slave delay line locked.
84417  *  0b0..Slave delay line is not locked.
84418  *  0b1..Slave delay line is locked.
84419  */
84420 #define SEMC_STS13_SLVLOCK(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_STS13_SLVLOCK_SHIFT)) & SEMC_STS13_SLVLOCK_MASK)
84421 
84422 #define SEMC_STS13_REFLOCK_MASK                  (0x2U)
84423 #define SEMC_STS13_REFLOCK_SHIFT                 (1U)
84424 /*! REFLOCK - Sample clock reference delay line locked.
84425  *  0b0..Reference delay line is not locked.
84426  *  0b1..Reference delay line is locked.
84427  */
84428 #define SEMC_STS13_REFLOCK(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_STS13_REFLOCK_SHIFT)) & SEMC_STS13_REFLOCK_MASK)
84429 
84430 #define SEMC_STS13_SLVSEL_MASK                   (0xFCU)
84431 #define SEMC_STS13_SLVSEL_SHIFT                  (2U)
84432 /*! SLVSEL - Sample clock slave delay line delay cell number selection.
84433  */
84434 #define SEMC_STS13_SLVSEL(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_STS13_SLVSEL_SHIFT)) & SEMC_STS13_SLVSEL_MASK)
84435 
84436 #define SEMC_STS13_REFSEL_MASK                   (0x3F00U)
84437 #define SEMC_STS13_REFSEL_SHIFT                  (8U)
84438 /*! REFSEL - Sample clock reference delay line delay cell number selection.
84439  */
84440 #define SEMC_STS13_REFSEL(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_STS13_REFSEL_SHIFT)) & SEMC_STS13_REFSEL_MASK)
84441 /*! @} */
84442 
84443 /*! @name BR9 - Base Register 9 */
84444 /*! @{ */
84445 
84446 #define SEMC_BR9_VLD_MASK                        (0x1U)
84447 #define SEMC_BR9_VLD_SHIFT                       (0U)
84448 /*! VLD - Valid
84449  *  0b0..The memory is invalid, can not be accessed.
84450  *  0b1..The memory is valid, can be accessed.
84451  */
84452 #define SEMC_BR9_VLD(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_BR9_VLD_SHIFT)) & SEMC_BR9_VLD_MASK)
84453 
84454 #define SEMC_BR9_MS_MASK                         (0x3EU)
84455 #define SEMC_BR9_MS_SHIFT                        (1U)
84456 /*! MS - Memory size
84457  *  0b00000..4KB
84458  *  0b00001..8KB
84459  *  0b00010..16KB
84460  *  0b00011..32KB
84461  *  0b00100..64KB
84462  *  0b00101..128KB
84463  *  0b00110..256KB
84464  *  0b00111..512KB
84465  *  0b01000..1MB
84466  *  0b01001..2MB
84467  *  0b01010..4MB
84468  *  0b01011..8MB
84469  *  0b01100..16MB
84470  *  0b01101..32MB
84471  *  0b01110..64MB
84472  *  0b01111..128MB
84473  *  0b10000..256MB
84474  *  0b10001..512MB
84475  *  0b10010..1GB
84476  *  0b10011..2GB
84477  *  0b10100-0b11111..4GB
84478  */
84479 #define SEMC_BR9_MS(x)                           (((uint32_t)(((uint32_t)(x)) << SEMC_BR9_MS_SHIFT)) & SEMC_BR9_MS_MASK)
84480 
84481 #define SEMC_BR9_BA_MASK                         (0xFFFFF000U)
84482 #define SEMC_BR9_BA_SHIFT                        (12U)
84483 /*! BA - Base Address
84484  */
84485 #define SEMC_BR9_BA(x)                           (((uint32_t)(((uint32_t)(x)) << SEMC_BR9_BA_SHIFT)) & SEMC_BR9_BA_MASK)
84486 /*! @} */
84487 
84488 /*! @name BR10 - Base Register 10 */
84489 /*! @{ */
84490 
84491 #define SEMC_BR10_VLD_MASK                       (0x1U)
84492 #define SEMC_BR10_VLD_SHIFT                      (0U)
84493 /*! VLD - Valid
84494  *  0b0..The memory is invalid, can not be accessed.
84495  *  0b1..The memory is valid, can be accessed.
84496  */
84497 #define SEMC_BR10_VLD(x)                         (((uint32_t)(((uint32_t)(x)) << SEMC_BR10_VLD_SHIFT)) & SEMC_BR10_VLD_MASK)
84498 
84499 #define SEMC_BR10_MS_MASK                        (0x3EU)
84500 #define SEMC_BR10_MS_SHIFT                       (1U)
84501 /*! MS - Memory size
84502  *  0b00000..4KB
84503  *  0b00001..8KB
84504  *  0b00010..16KB
84505  *  0b00011..32KB
84506  *  0b00100..64KB
84507  *  0b00101..128KB
84508  *  0b00110..256KB
84509  *  0b00111..512KB
84510  *  0b01000..1MB
84511  *  0b01001..2MB
84512  *  0b01010..4MB
84513  *  0b01011..8MB
84514  *  0b01100..16MB
84515  *  0b01101..32MB
84516  *  0b01110..64MB
84517  *  0b01111..128MB
84518  *  0b10000..256MB
84519  *  0b10001..512MB
84520  *  0b10010..1GB
84521  *  0b10011..2GB
84522  *  0b10100-0b11111..4GB
84523  */
84524 #define SEMC_BR10_MS(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_BR10_MS_SHIFT)) & SEMC_BR10_MS_MASK)
84525 
84526 #define SEMC_BR10_BA_MASK                        (0xFFFFF000U)
84527 #define SEMC_BR10_BA_SHIFT                       (12U)
84528 /*! BA - Base Address
84529  */
84530 #define SEMC_BR10_BA(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_BR10_BA_SHIFT)) & SEMC_BR10_BA_MASK)
84531 /*! @} */
84532 
84533 /*! @name BR11 - Base Register 11 */
84534 /*! @{ */
84535 
84536 #define SEMC_BR11_VLD_MASK                       (0x1U)
84537 #define SEMC_BR11_VLD_SHIFT                      (0U)
84538 /*! VLD - Valid
84539  *  0b0..The memory is invalid, can not be accessed.
84540  *  0b1..The memory is valid, can be accessed.
84541  */
84542 #define SEMC_BR11_VLD(x)                         (((uint32_t)(((uint32_t)(x)) << SEMC_BR11_VLD_SHIFT)) & SEMC_BR11_VLD_MASK)
84543 
84544 #define SEMC_BR11_MS_MASK                        (0x3EU)
84545 #define SEMC_BR11_MS_SHIFT                       (1U)
84546 /*! MS - Memory size
84547  *  0b00000..4KB
84548  *  0b00001..8KB
84549  *  0b00010..16KB
84550  *  0b00011..32KB
84551  *  0b00100..64KB
84552  *  0b00101..128KB
84553  *  0b00110..256KB
84554  *  0b00111..512KB
84555  *  0b01000..1MB
84556  *  0b01001..2MB
84557  *  0b01010..4MB
84558  *  0b01011..8MB
84559  *  0b01100..16MB
84560  *  0b01101..32MB
84561  *  0b01110..64MB
84562  *  0b01111..128MB
84563  *  0b10000..256MB
84564  *  0b10001..512MB
84565  *  0b10010..1GB
84566  *  0b10011..2GB
84567  *  0b10100-0b11111..4GB
84568  */
84569 #define SEMC_BR11_MS(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_BR11_MS_SHIFT)) & SEMC_BR11_MS_MASK)
84570 
84571 #define SEMC_BR11_BA_MASK                        (0xFFFFF000U)
84572 #define SEMC_BR11_BA_SHIFT                       (12U)
84573 /*! BA - Base Address
84574  */
84575 #define SEMC_BR11_BA(x)                          (((uint32_t)(((uint32_t)(x)) << SEMC_BR11_BA_SHIFT)) & SEMC_BR11_BA_MASK)
84576 /*! @} */
84577 
84578 /*! @name SRAMCR4 - SRAM Control Register 4 */
84579 /*! @{ */
84580 
84581 #define SEMC_SRAMCR4_PS_MASK                     (0x1U)
84582 #define SEMC_SRAMCR4_PS_SHIFT                    (0U)
84583 /*! PS - Port Size
84584  *  0b0..8bit
84585  *  0b1..16bit
84586  */
84587 #define SEMC_SRAMCR4_PS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_PS_SHIFT)) & SEMC_SRAMCR4_PS_MASK)
84588 
84589 #define SEMC_SRAMCR4_SYNCEN_MASK                 (0x2U)
84590 #define SEMC_SRAMCR4_SYNCEN_SHIFT                (1U)
84591 /*! SYNCEN - Synchronous Mode Enable
84592  *  0b0..Asynchronous mode is enabled.
84593  *  0b1..Synchronous mode is enabled. Only fixed latency mode is supported.
84594  */
84595 #define SEMC_SRAMCR4_SYNCEN(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_SYNCEN_SHIFT)) & SEMC_SRAMCR4_SYNCEN_MASK)
84596 
84597 #define SEMC_SRAMCR4_WAITEN_MASK                 (0x4U)
84598 #define SEMC_SRAMCR4_WAITEN_SHIFT                (2U)
84599 /*! WAITEN - Wait Enable
84600  *  0b0..The SEMC does not monitor wait pin.
84601  *  0b1..The SEMC monitors wait pin. The SEMC does not transfer/receive data when wait pin is asserted.
84602  */
84603 #define SEMC_SRAMCR4_WAITEN(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_WAITEN_SHIFT)) & SEMC_SRAMCR4_WAITEN_MASK)
84604 
84605 #define SEMC_SRAMCR4_WAITSP_MASK                 (0x8U)
84606 #define SEMC_SRAMCR4_WAITSP_SHIFT                (3U)
84607 /*! WAITSP - Wait Sample
84608  *  0b0..Wait pin is directly used by the SEMC.
84609  *  0b1..Wait pin is sampled by internal clock before it is used.
84610  */
84611 #define SEMC_SRAMCR4_WAITSP(x)                   (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_WAITSP_SHIFT)) & SEMC_SRAMCR4_WAITSP_MASK)
84612 
84613 #define SEMC_SRAMCR4_BL_MASK                     (0x70U)
84614 #define SEMC_SRAMCR4_BL_SHIFT                    (4U)
84615 /*! BL - Burst Length
84616  *  0b000..1
84617  *  0b001..2
84618  *  0b010..4
84619  *  0b011..8
84620  *  0b100..16
84621  *  0b101..32
84622  *  0b110..64
84623  *  0b111..64
84624  */
84625 #define SEMC_SRAMCR4_BL(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_BL_SHIFT)) & SEMC_SRAMCR4_BL_MASK)
84626 
84627 #define SEMC_SRAMCR4_AM_MASK                     (0x300U)
84628 #define SEMC_SRAMCR4_AM_SHIFT                    (8U)
84629 /*! AM - Address Mode
84630  *  0b00..Address/Data MUX mode (ADMUX)
84631  *  0b01..Advanced Address/Data MUX mode (AADM)
84632  *  0b10..Address/Data non-MUX mode (Non-ADMUX)
84633  *  0b11..Address/Data non-MUX mode (Non-ADMUX)
84634  */
84635 #define SEMC_SRAMCR4_AM(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_AM_SHIFT)) & SEMC_SRAMCR4_AM_MASK)
84636 
84637 #define SEMC_SRAMCR4_ADVP_MASK                   (0x400U)
84638 #define SEMC_SRAMCR4_ADVP_SHIFT                  (10U)
84639 /*! ADVP - ADV# polarity
84640  *  0b0..ADV# is active low.
84641  *  0b1..ADV# is active high.
84642  */
84643 #define SEMC_SRAMCR4_ADVP(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_ADVP_SHIFT)) & SEMC_SRAMCR4_ADVP_MASK)
84644 
84645 #define SEMC_SRAMCR4_ADVH_MASK                   (0x800U)
84646 #define SEMC_SRAMCR4_ADVH_SHIFT                  (11U)
84647 /*! ADVH - ADV# level control during address hold state
84648  *  0b0..ADV# is high during address hold state.
84649  *  0b1..ADV# is low during address hold state.
84650  */
84651 #define SEMC_SRAMCR4_ADVH(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_ADVH_SHIFT)) & SEMC_SRAMCR4_ADVH_MASK)
84652 
84653 #define SEMC_SRAMCR4_COL_MASK                    (0xF000U)
84654 #define SEMC_SRAMCR4_COL_SHIFT                   (12U)
84655 /*! COL - Column Address bit width
84656  *  0b0000..12 Bits
84657  *  0b0001..11 Bits
84658  *  0b0010..10 Bits
84659  *  0b0011..9 Bits
84660  *  0b0100..8 Bits
84661  *  0b0101..7 Bits
84662  *  0b0110..6 Bits
84663  *  0b0111..5 Bits
84664  *  0b1000..4 Bits
84665  *  0b1001..3 Bits
84666  *  0b1010..2 Bits
84667  *  0b1011..12 Bits
84668  *  0b1100..12 Bits
84669  *  0b1101..12 Bits
84670  *  0b1110..12 Bits
84671  *  0b1111..12 Bits
84672  */
84673 #define SEMC_SRAMCR4_COL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR4_COL_SHIFT)) & SEMC_SRAMCR4_COL_MASK)
84674 /*! @} */
84675 
84676 /*! @name SRAMCR5 - SRAM Control Register 5 */
84677 /*! @{ */
84678 
84679 #define SEMC_SRAMCR5_CES_MASK                    (0xFU)
84680 #define SEMC_SRAMCR5_CES_SHIFT                   (0U)
84681 /*! CES - CE setup time
84682  */
84683 #define SEMC_SRAMCR5_CES(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_CES_SHIFT)) & SEMC_SRAMCR5_CES_MASK)
84684 
84685 #define SEMC_SRAMCR5_CEH_MASK                    (0xF0U)
84686 #define SEMC_SRAMCR5_CEH_SHIFT                   (4U)
84687 /*! CEH - CE hold time
84688  */
84689 #define SEMC_SRAMCR5_CEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_CEH_SHIFT)) & SEMC_SRAMCR5_CEH_MASK)
84690 
84691 #define SEMC_SRAMCR5_AS_MASK                     (0xF00U)
84692 #define SEMC_SRAMCR5_AS_SHIFT                    (8U)
84693 /*! AS - Address setup time
84694  */
84695 #define SEMC_SRAMCR5_AS(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_AS_SHIFT)) & SEMC_SRAMCR5_AS_MASK)
84696 
84697 #define SEMC_SRAMCR5_AH_MASK                     (0xF000U)
84698 #define SEMC_SRAMCR5_AH_SHIFT                    (12U)
84699 /*! AH - Address hold time
84700  */
84701 #define SEMC_SRAMCR5_AH(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_AH_SHIFT)) & SEMC_SRAMCR5_AH_MASK)
84702 
84703 #define SEMC_SRAMCR5_WEL_MASK                    (0xF0000U)
84704 #define SEMC_SRAMCR5_WEL_SHIFT                   (16U)
84705 /*! WEL - WE low time
84706  */
84707 #define SEMC_SRAMCR5_WEL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_WEL_SHIFT)) & SEMC_SRAMCR5_WEL_MASK)
84708 
84709 #define SEMC_SRAMCR5_WEH_MASK                    (0xF00000U)
84710 #define SEMC_SRAMCR5_WEH_SHIFT                   (20U)
84711 /*! WEH - WE high time
84712  */
84713 #define SEMC_SRAMCR5_WEH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_WEH_SHIFT)) & SEMC_SRAMCR5_WEH_MASK)
84714 
84715 #define SEMC_SRAMCR5_REL_MASK                    (0xF000000U)
84716 #define SEMC_SRAMCR5_REL_SHIFT                   (24U)
84717 /*! REL - RE low time
84718  */
84719 #define SEMC_SRAMCR5_REL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_REL_SHIFT)) & SEMC_SRAMCR5_REL_MASK)
84720 
84721 #define SEMC_SRAMCR5_REH_MASK                    (0xF0000000U)
84722 #define SEMC_SRAMCR5_REH_SHIFT                   (28U)
84723 /*! REH - RE high time
84724  */
84725 #define SEMC_SRAMCR5_REH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR5_REH_SHIFT)) & SEMC_SRAMCR5_REH_MASK)
84726 /*! @} */
84727 
84728 /*! @name SRAMCR6 - SRAM Control Register 6 */
84729 /*! @{ */
84730 
84731 #define SEMC_SRAMCR6_WDS_MASK                    (0xFU)
84732 #define SEMC_SRAMCR6_WDS_SHIFT                   (0U)
84733 /*! WDS - Write Data setup time
84734  */
84735 #define SEMC_SRAMCR6_WDS(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_WDS_SHIFT)) & SEMC_SRAMCR6_WDS_MASK)
84736 
84737 #define SEMC_SRAMCR6_WDH_MASK                    (0xF0U)
84738 #define SEMC_SRAMCR6_WDH_SHIFT                   (4U)
84739 /*! WDH - Write Data hold time
84740  */
84741 #define SEMC_SRAMCR6_WDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_WDH_SHIFT)) & SEMC_SRAMCR6_WDH_MASK)
84742 
84743 #define SEMC_SRAMCR6_TA_MASK                     (0xF00U)
84744 #define SEMC_SRAMCR6_TA_SHIFT                    (8U)
84745 /*! TA - Turnaround time
84746  */
84747 #define SEMC_SRAMCR6_TA(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_TA_SHIFT)) & SEMC_SRAMCR6_TA_MASK)
84748 
84749 #define SEMC_SRAMCR6_AWDH_MASK                   (0xF000U)
84750 #define SEMC_SRAMCR6_AWDH_SHIFT                  (12U)
84751 /*! AWDH - Address to write data hold time
84752  */
84753 #define SEMC_SRAMCR6_AWDH(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_AWDH_SHIFT)) & SEMC_SRAMCR6_AWDH_MASK)
84754 
84755 #define SEMC_SRAMCR6_LC_MASK                     (0xF0000U)
84756 #define SEMC_SRAMCR6_LC_SHIFT                    (16U)
84757 /*! LC - Latency count
84758  */
84759 #define SEMC_SRAMCR6_LC(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_LC_SHIFT)) & SEMC_SRAMCR6_LC_MASK)
84760 
84761 #define SEMC_SRAMCR6_RD_MASK                     (0xF00000U)
84762 #define SEMC_SRAMCR6_RD_SHIFT                    (20U)
84763 /*! RD - Read time
84764  */
84765 #define SEMC_SRAMCR6_RD(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_RD_SHIFT)) & SEMC_SRAMCR6_RD_MASK)
84766 
84767 #define SEMC_SRAMCR6_CEITV_MASK                  (0xF000000U)
84768 #define SEMC_SRAMCR6_CEITV_SHIFT                 (24U)
84769 /*! CEITV - CE# interval time
84770  */
84771 #define SEMC_SRAMCR6_CEITV(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_CEITV_SHIFT)) & SEMC_SRAMCR6_CEITV_MASK)
84772 
84773 #define SEMC_SRAMCR6_RDH_MASK                    (0xF0000000U)
84774 #define SEMC_SRAMCR6_RDH_SHIFT                   (28U)
84775 /*! RDH - Read hold time
84776  */
84777 #define SEMC_SRAMCR6_RDH(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_SRAMCR6_RDH_SHIFT)) & SEMC_SRAMCR6_RDH_MASK)
84778 /*! @} */
84779 
84780 /*! @name DCCR - Delay Chain Control Register */
84781 /*! @{ */
84782 
84783 #define SEMC_DCCR_SDRAMEN_MASK                   (0x1U)
84784 #define SEMC_DCCR_SDRAMEN_SHIFT                  (0U)
84785 /*! SDRAMEN - Delay chain insertion enable for SRAM device.
84786  *  0b0..Delay chain is not inserted.
84787  *  0b1..Delay chain is inserted.
84788  */
84789 #define SEMC_DCCR_SDRAMEN(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SDRAMEN_SHIFT)) & SEMC_DCCR_SDRAMEN_MASK)
84790 
84791 #define SEMC_DCCR_SDRAMVAL_MASK                  (0x3EU)
84792 #define SEMC_DCCR_SDRAMVAL_SHIFT                 (1U)
84793 /*! SDRAMVAL - Clock delay line delay cell number selection value for SDRAM device.
84794  */
84795 #define SEMC_DCCR_SDRAMVAL(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SDRAMVAL_SHIFT)) & SEMC_DCCR_SDRAMVAL_MASK)
84796 
84797 #define SEMC_DCCR_NOREN_MASK                     (0x100U)
84798 #define SEMC_DCCR_NOREN_SHIFT                    (8U)
84799 /*! NOREN - Delay chain insertion enable for NOR device.
84800  *  0b0..Delay chain is not inserted.
84801  *  0b1..Delay chain is inserted.
84802  */
84803 #define SEMC_DCCR_NOREN(x)                       (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_NOREN_SHIFT)) & SEMC_DCCR_NOREN_MASK)
84804 
84805 #define SEMC_DCCR_NORVAL_MASK                    (0x3E00U)
84806 #define SEMC_DCCR_NORVAL_SHIFT                   (9U)
84807 /*! NORVAL - Clock delay line delay cell number selection value for NOR device.
84808  */
84809 #define SEMC_DCCR_NORVAL(x)                      (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_NORVAL_SHIFT)) & SEMC_DCCR_NORVAL_MASK)
84810 
84811 #define SEMC_DCCR_SRAM0EN_MASK                   (0x10000U)
84812 #define SEMC_DCCR_SRAM0EN_SHIFT                  (16U)
84813 /*! SRAM0EN - Delay chain insertion enable for SRAM device 0.
84814  *  0b0..Delay chain is not inserted.
84815  *  0b1..Delay chain is inserted.
84816  */
84817 #define SEMC_DCCR_SRAM0EN(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SRAM0EN_SHIFT)) & SEMC_DCCR_SRAM0EN_MASK)
84818 
84819 #define SEMC_DCCR_SRAM0VAL_MASK                  (0x3E0000U)
84820 #define SEMC_DCCR_SRAM0VAL_SHIFT                 (17U)
84821 /*! SRAM0VAL - Clock delay line delay cell number selection value for SRAM device 0.
84822  */
84823 #define SEMC_DCCR_SRAM0VAL(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SRAM0VAL_SHIFT)) & SEMC_DCCR_SRAM0VAL_MASK)
84824 
84825 #define SEMC_DCCR_SRAMXEN_MASK                   (0x1000000U)
84826 #define SEMC_DCCR_SRAMXEN_SHIFT                  (24U)
84827 /*! SRAMXEN - Delay chain insertion enable for SRAM device 1-3.
84828  *  0b0..Delay chain is not inserted.
84829  *  0b1..Delay chain is inserted.
84830  */
84831 #define SEMC_DCCR_SRAMXEN(x)                     (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SRAMXEN_SHIFT)) & SEMC_DCCR_SRAMXEN_MASK)
84832 
84833 #define SEMC_DCCR_SRAMXVAL_MASK                  (0x3E000000U)
84834 #define SEMC_DCCR_SRAMXVAL_SHIFT                 (25U)
84835 /*! SRAMXVAL - Clock delay line delay cell number selection value for SRAM device 1-3.
84836  */
84837 #define SEMC_DCCR_SRAMXVAL(x)                    (((uint32_t)(((uint32_t)(x)) << SEMC_DCCR_SRAMXVAL_SHIFT)) & SEMC_DCCR_SRAMXVAL_MASK)
84838 /*! @} */
84839 
84840 
84841 /*!
84842  * @}
84843  */ /* end of group SEMC_Register_Masks */
84844 
84845 
84846 /* SEMC - Peripheral instance base addresses */
84847 /** Peripheral SEMC base address */
84848 #define SEMC_BASE                                (0x400D4000u)
84849 /** Peripheral SEMC base pointer */
84850 #define SEMC                                     ((SEMC_Type *)SEMC_BASE)
84851 /** Array initializer of SEMC peripheral base addresses */
84852 #define SEMC_BASE_ADDRS                          { SEMC_BASE }
84853 /** Array initializer of SEMC peripheral base pointers */
84854 #define SEMC_BASE_PTRS                           { SEMC }
84855 /** Interrupt vectors for the SEMC peripheral type */
84856 #define SEMC_IRQS                                { SEMC_IRQn }
84857 
84858 /*!
84859  * @}
84860  */ /* end of group SEMC_Peripheral_Access_Layer */
84861 
84862 
84863 /* ----------------------------------------------------------------------------
84864    -- SNVS Peripheral Access Layer
84865    ---------------------------------------------------------------------------- */
84866 
84867 /*!
84868  * @addtogroup SNVS_Peripheral_Access_Layer SNVS Peripheral Access Layer
84869  * @{
84870  */
84871 
84872 /** SNVS - Register Layout Typedef */
84873 typedef struct {
84874   __IO uint32_t HPLR;                              /**< SNVS_HP Lock Register, offset: 0x0 */
84875   __IO uint32_t HPCOMR;                            /**< SNVS_HP Command Register, offset: 0x4 */
84876   __IO uint32_t HPCR;                              /**< SNVS_HP Control Register, offset: 0x8 */
84877   __IO uint32_t HPSICR;                            /**< SNVS_HP Security Interrupt Control Register, offset: 0xC */
84878   __IO uint32_t HPSVCR;                            /**< SNVS_HP Security Violation Control Register, offset: 0x10 */
84879   __IO uint32_t HPSR;                              /**< SNVS_HP Status Register, offset: 0x14 */
84880   __IO uint32_t HPSVSR;                            /**< SNVS_HP Security Violation Status Register, offset: 0x18 */
84881   __IO uint32_t HPHACIVR;                          /**< SNVS_HP High Assurance Counter IV Register, offset: 0x1C */
84882   __I  uint32_t HPHACR;                            /**< SNVS_HP High Assurance Counter Register, offset: 0x20 */
84883   __IO uint32_t HPRTCMR;                           /**< SNVS_HP Real Time Counter MSB Register, offset: 0x24 */
84884   __IO uint32_t HPRTCLR;                           /**< SNVS_HP Real Time Counter LSB Register, offset: 0x28 */
84885   __IO uint32_t HPTAMR;                            /**< SNVS_HP Time Alarm MSB Register, offset: 0x2C */
84886   __IO uint32_t HPTALR;                            /**< SNVS_HP Time Alarm LSB Register, offset: 0x30 */
84887   __IO uint32_t LPLR;                              /**< SNVS_LP Lock Register, offset: 0x34 */
84888   __IO uint32_t LPCR;                              /**< SNVS_LP Control Register, offset: 0x38 */
84889   __IO uint32_t LPMKCR;                            /**< SNVS_LP Master Key Control Register, offset: 0x3C */
84890   __IO uint32_t LPSVCR;                            /**< SNVS_LP Security Violation Control Register, offset: 0x40 */
84891   __IO uint32_t LPTGFCR;                           /**< SNVS_LP Tamper Glitch Filters Configuration Register, offset: 0x44 */
84892   __IO uint32_t LPTDCR;                            /**< SNVS_LP Tamper Detect Configuration Register, offset: 0x48 */
84893   __IO uint32_t LPSR;                              /**< SNVS_LP Status Register, offset: 0x4C */
84894   __IO uint32_t LPSRTCMR;                          /**< SNVS_LP Secure Real Time Counter MSB Register, offset: 0x50 */
84895   __IO uint32_t LPSRTCLR;                          /**< SNVS_LP Secure Real Time Counter LSB Register, offset: 0x54 */
84896   __IO uint32_t LPTAR;                             /**< SNVS_LP Time Alarm Register, offset: 0x58 */
84897   __IO uint32_t LPSMCMR;                           /**< SNVS_LP Secure Monotonic Counter MSB Register, offset: 0x5C */
84898   __IO uint32_t LPSMCLR;                           /**< SNVS_LP Secure Monotonic Counter LSB Register, offset: 0x60 */
84899   __IO uint32_t LPLVDR;                            /**< SNVS_LP Digital Low-Voltage Detector Register, offset: 0x64 */
84900   __IO uint32_t LPGPR0_LEGACY_ALIAS;               /**< SNVS_LP General Purpose Register 0 (legacy alias), offset: 0x68 */
84901   __IO uint32_t LPZMKR[8];                         /**< SNVS_LP Zeroizable Master Key Register, array offset: 0x6C, array step: 0x4 */
84902        uint8_t RESERVED_0[4];
84903   __IO uint32_t LPGPR_ALIAS[4];                    /**< SNVS_LP General Purpose Registers 0 .. 3, array offset: 0x90, array step: 0x4 */
84904   __IO uint32_t LPTDC2R;                           /**< SNVS_LP Tamper Detectors Config 2 Register, offset: 0xA0 */
84905   __IO uint32_t LPTDSR;                            /**< SNVS_LP Tamper Detectors Status Register, offset: 0xA4 */
84906   __IO uint32_t LPTGF1CR;                          /**< SNVS_LP Tamper Glitch Filter 1 Configuration Register, offset: 0xA8 */
84907   __IO uint32_t LPTGF2CR;                          /**< SNVS_LP Tamper Glitch Filter 2 Configuration Register, offset: 0xAC */
84908        uint8_t RESERVED_1[16];
84909   __O  uint32_t LPATCR[5];                         /**< SNVS_LP Active Tamper 1 Configuration Register..SNVS_LP Active Tamper 5 Configuration Register, array offset: 0xC0, array step: 0x4 */
84910        uint8_t RESERVED_2[12];
84911   __IO uint32_t LPATCTLR;                          /**< SNVS_LP Active Tamper Control Register, offset: 0xE0 */
84912   __IO uint32_t LPATCLKR;                          /**< SNVS_LP Active Tamper Clock Control Register, offset: 0xE4 */
84913   __IO uint32_t LPATRC1R;                          /**< SNVS_LP Active Tamper Routing Control 1 Register, offset: 0xE8 */
84914   __IO uint32_t LPATRC2R;                          /**< SNVS_LP Active Tamper Routing Control 2 Register, offset: 0xEC */
84915        uint8_t RESERVED_3[16];
84916   __IO uint32_t LPGPR[4];                          /**< SNVS_LP General Purpose Registers 0 .. 3, array offset: 0x100, array step: 0x4 */
84917        uint8_t RESERVED_4[2792];
84918   __I  uint32_t HPVIDR1;                           /**< SNVS_HP Version ID Register 1, offset: 0xBF8 */
84919   __I  uint32_t HPVIDR2;                           /**< SNVS_HP Version ID Register 2, offset: 0xBFC */
84920 } SNVS_Type;
84921 
84922 /* ----------------------------------------------------------------------------
84923    -- SNVS Register Masks
84924    ---------------------------------------------------------------------------- */
84925 
84926 /*!
84927  * @addtogroup SNVS_Register_Masks SNVS Register Masks
84928  * @{
84929  */
84930 
84931 /*! @name HPLR - SNVS_HP Lock Register */
84932 /*! @{ */
84933 
84934 #define SNVS_HPLR_ZMK_WSL_MASK                   (0x1U)
84935 #define SNVS_HPLR_ZMK_WSL_SHIFT                  (0U)
84936 /*! ZMK_WSL
84937  *  0b0..Write access is allowed
84938  *  0b1..Write access is not allowed
84939  */
84940 #define SNVS_HPLR_ZMK_WSL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_ZMK_WSL_SHIFT)) & SNVS_HPLR_ZMK_WSL_MASK)
84941 
84942 #define SNVS_HPLR_ZMK_RSL_MASK                   (0x2U)
84943 #define SNVS_HPLR_ZMK_RSL_SHIFT                  (1U)
84944 /*! ZMK_RSL
84945  *  0b0..Read access is allowed (only in software Programming mode)
84946  *  0b1..Read access is not allowed
84947  */
84948 #define SNVS_HPLR_ZMK_RSL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_ZMK_RSL_SHIFT)) & SNVS_HPLR_ZMK_RSL_MASK)
84949 
84950 #define SNVS_HPLR_SRTC_SL_MASK                   (0x4U)
84951 #define SNVS_HPLR_SRTC_SL_SHIFT                  (2U)
84952 /*! SRTC_SL
84953  *  0b0..Write access is allowed
84954  *  0b1..Write access is not allowed
84955  */
84956 #define SNVS_HPLR_SRTC_SL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_SRTC_SL_SHIFT)) & SNVS_HPLR_SRTC_SL_MASK)
84957 
84958 #define SNVS_HPLR_LPCALB_SL_MASK                 (0x8U)
84959 #define SNVS_HPLR_LPCALB_SL_SHIFT                (3U)
84960 /*! LPCALB_SL
84961  *  0b0..Write access is allowed
84962  *  0b1..Write access is not allowed
84963  */
84964 #define SNVS_HPLR_LPCALB_SL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_LPCALB_SL_SHIFT)) & SNVS_HPLR_LPCALB_SL_MASK)
84965 
84966 #define SNVS_HPLR_MC_SL_MASK                     (0x10U)
84967 #define SNVS_HPLR_MC_SL_SHIFT                    (4U)
84968 /*! MC_SL
84969  *  0b0..Write access (increment) is allowed
84970  *  0b1..Write access (increment) is not allowed
84971  */
84972 #define SNVS_HPLR_MC_SL(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_MC_SL_SHIFT)) & SNVS_HPLR_MC_SL_MASK)
84973 
84974 #define SNVS_HPLR_GPR_SL_MASK                    (0x20U)
84975 #define SNVS_HPLR_GPR_SL_SHIFT                   (5U)
84976 /*! GPR_SL
84977  *  0b0..Write access is allowed
84978  *  0b1..Write access is not allowed
84979  */
84980 #define SNVS_HPLR_GPR_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_GPR_SL_SHIFT)) & SNVS_HPLR_GPR_SL_MASK)
84981 
84982 #define SNVS_HPLR_LPSVCR_SL_MASK                 (0x40U)
84983 #define SNVS_HPLR_LPSVCR_SL_SHIFT                (6U)
84984 /*! LPSVCR_SL
84985  *  0b0..Write access is allowed
84986  *  0b1..Write access is not allowed
84987  */
84988 #define SNVS_HPLR_LPSVCR_SL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_LPSVCR_SL_SHIFT)) & SNVS_HPLR_LPSVCR_SL_MASK)
84989 
84990 #define SNVS_HPLR_LPTGFCR_SL_MASK                (0x80U)
84991 #define SNVS_HPLR_LPTGFCR_SL_SHIFT               (7U)
84992 /*! LPTGFCR_SL
84993  *  0b0..Write access is allowed
84994  *  0b1..Write access is not allowed
84995  */
84996 #define SNVS_HPLR_LPTGFCR_SL(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_LPTGFCR_SL_SHIFT)) & SNVS_HPLR_LPTGFCR_SL_MASK)
84997 
84998 #define SNVS_HPLR_LPSECR_SL_MASK                 (0x100U)
84999 #define SNVS_HPLR_LPSECR_SL_SHIFT                (8U)
85000 /*! LPSECR_SL
85001  *  0b0..Write access is allowed
85002  *  0b1..Write access is not allowed
85003  */
85004 #define SNVS_HPLR_LPSECR_SL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_LPSECR_SL_SHIFT)) & SNVS_HPLR_LPSECR_SL_MASK)
85005 
85006 #define SNVS_HPLR_MKS_SL_MASK                    (0x200U)
85007 #define SNVS_HPLR_MKS_SL_SHIFT                   (9U)
85008 /*! MKS_SL
85009  *  0b0..Write access is allowed
85010  *  0b1..Write access is not allowed
85011  */
85012 #define SNVS_HPLR_MKS_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_MKS_SL_SHIFT)) & SNVS_HPLR_MKS_SL_MASK)
85013 
85014 #define SNVS_HPLR_HPSVCR_L_MASK                  (0x10000U)
85015 #define SNVS_HPLR_HPSVCR_L_SHIFT                 (16U)
85016 /*! HPSVCR_L
85017  *  0b0..Write access is allowed
85018  *  0b1..Write access is not allowed
85019  */
85020 #define SNVS_HPLR_HPSVCR_L(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_HPSVCR_L_SHIFT)) & SNVS_HPLR_HPSVCR_L_MASK)
85021 
85022 #define SNVS_HPLR_HPSICR_L_MASK                  (0x20000U)
85023 #define SNVS_HPLR_HPSICR_L_SHIFT                 (17U)
85024 /*! HPSICR_L
85025  *  0b0..Write access is allowed
85026  *  0b1..Write access is not allowed
85027  */
85028 #define SNVS_HPLR_HPSICR_L(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_HPSICR_L_SHIFT)) & SNVS_HPLR_HPSICR_L_MASK)
85029 
85030 #define SNVS_HPLR_HAC_L_MASK                     (0x40000U)
85031 #define SNVS_HPLR_HAC_L_SHIFT                    (18U)
85032 /*! HAC_L
85033  *  0b0..Write access is allowed
85034  *  0b1..Write access is not allowed
85035  */
85036 #define SNVS_HPLR_HAC_L(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_HAC_L_SHIFT)) & SNVS_HPLR_HAC_L_MASK)
85037 
85038 #define SNVS_HPLR_AT1_SL_MASK                    (0x1000000U)
85039 #define SNVS_HPLR_AT1_SL_SHIFT                   (24U)
85040 /*! AT1_SL
85041  *  0b0..Write access is allowed.
85042  *  0b1..Write access is not allowed.
85043  */
85044 #define SNVS_HPLR_AT1_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_AT1_SL_SHIFT)) & SNVS_HPLR_AT1_SL_MASK)
85045 
85046 #define SNVS_HPLR_AT2_SL_MASK                    (0x2000000U)
85047 #define SNVS_HPLR_AT2_SL_SHIFT                   (25U)
85048 /*! AT2_SL
85049  *  0b0..Write access is allowed.
85050  *  0b1..Write access is not allowed.
85051  */
85052 #define SNVS_HPLR_AT2_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_AT2_SL_SHIFT)) & SNVS_HPLR_AT2_SL_MASK)
85053 
85054 #define SNVS_HPLR_AT3_SL_MASK                    (0x4000000U)
85055 #define SNVS_HPLR_AT3_SL_SHIFT                   (26U)
85056 /*! AT3_SL
85057  *  0b0..Write access is allowed.
85058  *  0b1..Write access is not allowed.
85059  */
85060 #define SNVS_HPLR_AT3_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_AT3_SL_SHIFT)) & SNVS_HPLR_AT3_SL_MASK)
85061 
85062 #define SNVS_HPLR_AT4_SL_MASK                    (0x8000000U)
85063 #define SNVS_HPLR_AT4_SL_SHIFT                   (27U)
85064 /*! AT4_SL
85065  *  0b0..Write access is allowed.
85066  *  0b1..Write access is not allowed.
85067  */
85068 #define SNVS_HPLR_AT4_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_AT4_SL_SHIFT)) & SNVS_HPLR_AT4_SL_MASK)
85069 
85070 #define SNVS_HPLR_AT5_SL_MASK                    (0x10000000U)
85071 #define SNVS_HPLR_AT5_SL_SHIFT                   (28U)
85072 /*! AT5_SL
85073  *  0b0..Write access is allowed.
85074  *  0b1..Write access is not allowed.
85075  */
85076 #define SNVS_HPLR_AT5_SL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPLR_AT5_SL_SHIFT)) & SNVS_HPLR_AT5_SL_MASK)
85077 /*! @} */
85078 
85079 /*! @name HPCOMR - SNVS_HP Command Register */
85080 /*! @{ */
85081 
85082 #define SNVS_HPCOMR_SSM_ST_MASK                  (0x1U)
85083 #define SNVS_HPCOMR_SSM_ST_SHIFT                 (0U)
85084 #define SNVS_HPCOMR_SSM_ST(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SSM_ST_SHIFT)) & SNVS_HPCOMR_SSM_ST_MASK)
85085 
85086 #define SNVS_HPCOMR_SSM_ST_DIS_MASK              (0x2U)
85087 #define SNVS_HPCOMR_SSM_ST_DIS_SHIFT             (1U)
85088 /*! SSM_ST_DIS
85089  *  0b0..Secure to Trusted State transition is enabled
85090  *  0b1..Secure to Trusted State transition is disabled
85091  */
85092 #define SNVS_HPCOMR_SSM_ST_DIS(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SSM_ST_DIS_SHIFT)) & SNVS_HPCOMR_SSM_ST_DIS_MASK)
85093 
85094 #define SNVS_HPCOMR_SSM_SFNS_DIS_MASK            (0x4U)
85095 #define SNVS_HPCOMR_SSM_SFNS_DIS_SHIFT           (2U)
85096 /*! SSM_SFNS_DIS
85097  *  0b0..Soft Fail to Non-Secure State transition is enabled
85098  *  0b1..Soft Fail to Non-Secure State transition is disabled
85099  */
85100 #define SNVS_HPCOMR_SSM_SFNS_DIS(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SSM_SFNS_DIS_SHIFT)) & SNVS_HPCOMR_SSM_SFNS_DIS_MASK)
85101 
85102 #define SNVS_HPCOMR_LP_SWR_MASK                  (0x10U)
85103 #define SNVS_HPCOMR_LP_SWR_SHIFT                 (4U)
85104 /*! LP_SWR
85105  *  0b0..No Action
85106  *  0b1..Reset LP section
85107  */
85108 #define SNVS_HPCOMR_LP_SWR(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_LP_SWR_SHIFT)) & SNVS_HPCOMR_LP_SWR_MASK)
85109 
85110 #define SNVS_HPCOMR_LP_SWR_DIS_MASK              (0x20U)
85111 #define SNVS_HPCOMR_LP_SWR_DIS_SHIFT             (5U)
85112 /*! LP_SWR_DIS
85113  *  0b0..LP software reset is enabled
85114  *  0b1..LP software reset is disabled
85115  */
85116 #define SNVS_HPCOMR_LP_SWR_DIS(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_LP_SWR_DIS_SHIFT)) & SNVS_HPCOMR_LP_SWR_DIS_MASK)
85117 
85118 #define SNVS_HPCOMR_SW_SV_MASK                   (0x100U)
85119 #define SNVS_HPCOMR_SW_SV_SHIFT                  (8U)
85120 #define SNVS_HPCOMR_SW_SV(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SW_SV_SHIFT)) & SNVS_HPCOMR_SW_SV_MASK)
85121 
85122 #define SNVS_HPCOMR_SW_FSV_MASK                  (0x200U)
85123 #define SNVS_HPCOMR_SW_FSV_SHIFT                 (9U)
85124 #define SNVS_HPCOMR_SW_FSV(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SW_FSV_SHIFT)) & SNVS_HPCOMR_SW_FSV_MASK)
85125 
85126 #define SNVS_HPCOMR_SW_LPSV_MASK                 (0x400U)
85127 #define SNVS_HPCOMR_SW_LPSV_SHIFT                (10U)
85128 #define SNVS_HPCOMR_SW_LPSV(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_SW_LPSV_SHIFT)) & SNVS_HPCOMR_SW_LPSV_MASK)
85129 
85130 #define SNVS_HPCOMR_PROG_ZMK_MASK                (0x1000U)
85131 #define SNVS_HPCOMR_PROG_ZMK_SHIFT               (12U)
85132 /*! PROG_ZMK
85133  *  0b0..No Action
85134  *  0b1..Activate hardware key programming mechanism
85135  */
85136 #define SNVS_HPCOMR_PROG_ZMK(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_PROG_ZMK_SHIFT)) & SNVS_HPCOMR_PROG_ZMK_MASK)
85137 
85138 #define SNVS_HPCOMR_MKS_EN_MASK                  (0x2000U)
85139 #define SNVS_HPCOMR_MKS_EN_SHIFT                 (13U)
85140 /*! MKS_EN
85141  *  0b0..OTP master key is selected as an SNVS master key
85142  *  0b1..SNVS master key is selected according to the setting of the MASTER_KEY_SEL field of LPMKCR
85143  */
85144 #define SNVS_HPCOMR_MKS_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_MKS_EN_SHIFT)) & SNVS_HPCOMR_MKS_EN_MASK)
85145 
85146 #define SNVS_HPCOMR_HAC_EN_MASK                  (0x10000U)
85147 #define SNVS_HPCOMR_HAC_EN_SHIFT                 (16U)
85148 /*! HAC_EN
85149  *  0b0..High Assurance Counter is disabled
85150  *  0b1..High Assurance Counter is enabled
85151  */
85152 #define SNVS_HPCOMR_HAC_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_HAC_EN_SHIFT)) & SNVS_HPCOMR_HAC_EN_MASK)
85153 
85154 #define SNVS_HPCOMR_HAC_LOAD_MASK                (0x20000U)
85155 #define SNVS_HPCOMR_HAC_LOAD_SHIFT               (17U)
85156 /*! HAC_LOAD
85157  *  0b0..No Action
85158  *  0b1..Load the HAC
85159  */
85160 #define SNVS_HPCOMR_HAC_LOAD(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_HAC_LOAD_SHIFT)) & SNVS_HPCOMR_HAC_LOAD_MASK)
85161 
85162 #define SNVS_HPCOMR_HAC_CLEAR_MASK               (0x40000U)
85163 #define SNVS_HPCOMR_HAC_CLEAR_SHIFT              (18U)
85164 /*! HAC_CLEAR
85165  *  0b0..No Action
85166  *  0b1..Clear the HAC
85167  */
85168 #define SNVS_HPCOMR_HAC_CLEAR(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_HAC_CLEAR_SHIFT)) & SNVS_HPCOMR_HAC_CLEAR_MASK)
85169 
85170 #define SNVS_HPCOMR_HAC_STOP_MASK                (0x80000U)
85171 #define SNVS_HPCOMR_HAC_STOP_SHIFT               (19U)
85172 #define SNVS_HPCOMR_HAC_STOP(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_HAC_STOP_SHIFT)) & SNVS_HPCOMR_HAC_STOP_MASK)
85173 
85174 #define SNVS_HPCOMR_NPSWA_EN_MASK                (0x80000000U)
85175 #define SNVS_HPCOMR_NPSWA_EN_SHIFT               (31U)
85176 #define SNVS_HPCOMR_NPSWA_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCOMR_NPSWA_EN_SHIFT)) & SNVS_HPCOMR_NPSWA_EN_MASK)
85177 /*! @} */
85178 
85179 /*! @name HPCR - SNVS_HP Control Register */
85180 /*! @{ */
85181 
85182 #define SNVS_HPCR_RTC_EN_MASK                    (0x1U)
85183 #define SNVS_HPCR_RTC_EN_SHIFT                   (0U)
85184 /*! RTC_EN
85185  *  0b0..RTC is disabled
85186  *  0b1..RTC is enabled
85187  */
85188 #define SNVS_HPCR_RTC_EN(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_RTC_EN_SHIFT)) & SNVS_HPCR_RTC_EN_MASK)
85189 
85190 #define SNVS_HPCR_HPTA_EN_MASK                   (0x2U)
85191 #define SNVS_HPCR_HPTA_EN_SHIFT                  (1U)
85192 /*! HPTA_EN
85193  *  0b0..HP Time Alarm Interrupt is disabled
85194  *  0b1..HP Time Alarm Interrupt is enabled
85195  */
85196 #define SNVS_HPCR_HPTA_EN(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_HPTA_EN_SHIFT)) & SNVS_HPCR_HPTA_EN_MASK)
85197 
85198 #define SNVS_HPCR_DIS_PI_MASK                    (0x4U)
85199 #define SNVS_HPCR_DIS_PI_SHIFT                   (2U)
85200 /*! DIS_PI
85201  *  0b0..Periodic interrupt will trigger a functional interrupt
85202  *  0b1..Disable periodic interrupt in the function interrupt
85203  */
85204 #define SNVS_HPCR_DIS_PI(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_DIS_PI_SHIFT)) & SNVS_HPCR_DIS_PI_MASK)
85205 
85206 #define SNVS_HPCR_PI_EN_MASK                     (0x8U)
85207 #define SNVS_HPCR_PI_EN_SHIFT                    (3U)
85208 /*! PI_EN
85209  *  0b0..HP Periodic Interrupt is disabled
85210  *  0b1..HP Periodic Interrupt is enabled
85211  */
85212 #define SNVS_HPCR_PI_EN(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_PI_EN_SHIFT)) & SNVS_HPCR_PI_EN_MASK)
85213 
85214 #define SNVS_HPCR_PI_FREQ_MASK                   (0xF0U)
85215 #define SNVS_HPCR_PI_FREQ_SHIFT                  (4U)
85216 /*! PI_FREQ
85217  *  0b0000..- bit 0 of the HPRTCLR is selected as a source of the periodic interrupt
85218  *  0b0001..- bit 1 of the HPRTCLR is selected as a source of the periodic interrupt
85219  *  0b0010..- bit 2 of the HPRTCLR is selected as a source of the periodic interrupt
85220  *  0b0011..- bit 3 of the HPRTCLR is selected as a source of the periodic interrupt
85221  *  0b0100..- bit 4 of the HPRTCLR is selected as a source of the periodic interrupt
85222  *  0b0101..- bit 5 of the HPRTCLR is selected as a source of the periodic interrupt
85223  *  0b0110..- bit 6 of the HPRTCLR is selected as a source of the periodic interrupt
85224  *  0b0111..- bit 7 of the HPRTCLR is selected as a source of the periodic interrupt
85225  *  0b1000..- bit 8 of the HPRTCLR is selected as a source of the periodic interrupt
85226  *  0b1001..- bit 9 of the HPRTCLR is selected as a source of the periodic interrupt
85227  *  0b1010..- bit 10 of the HPRTCLR is selected as a source of the periodic interrupt
85228  *  0b1011..- bit 11 of the HPRTCLR is selected as a source of the periodic interrupt
85229  *  0b1100..- bit 12 of the HPRTCLR is selected as a source of the periodic interrupt
85230  *  0b1101..- bit 13 of the HPRTCLR is selected as a source of the periodic interrupt
85231  *  0b1110..- bit 14 of the HPRTCLR is selected as a source of the periodic interrupt
85232  *  0b1111..- bit 15 of the HPRTCLR is selected as a source of the periodic interrupt
85233  */
85234 #define SNVS_HPCR_PI_FREQ(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_PI_FREQ_SHIFT)) & SNVS_HPCR_PI_FREQ_MASK)
85235 
85236 #define SNVS_HPCR_HPCALB_EN_MASK                 (0x100U)
85237 #define SNVS_HPCR_HPCALB_EN_SHIFT                (8U)
85238 /*! HPCALB_EN
85239  *  0b0..HP Timer calibration disabled
85240  *  0b1..HP Timer calibration enabled
85241  */
85242 #define SNVS_HPCR_HPCALB_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_HPCALB_EN_SHIFT)) & SNVS_HPCR_HPCALB_EN_MASK)
85243 
85244 #define SNVS_HPCR_HPCALB_VAL_MASK                (0x7C00U)
85245 #define SNVS_HPCR_HPCALB_VAL_SHIFT               (10U)
85246 /*! HPCALB_VAL
85247  *  0b00000..+0 counts per each 32768 ticks of the counter
85248  *  0b00001..+1 counts per each 32768 ticks of the counter
85249  *  0b00010..+2 counts per each 32768 ticks of the counter
85250  *  0b01111..+15 counts per each 32768 ticks of the counter
85251  *  0b10000..-16 counts per each 32768 ticks of the counter
85252  *  0b10001..-15 counts per each 32768 ticks of the counter
85253  *  0b11110..-2 counts per each 32768 ticks of the counter
85254  *  0b11111..-1 counts per each 32768 ticks of the counter
85255  */
85256 #define SNVS_HPCR_HPCALB_VAL(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_HPCALB_VAL_SHIFT)) & SNVS_HPCR_HPCALB_VAL_MASK)
85257 
85258 #define SNVS_HPCR_HP_TS_MASK                     (0x10000U)
85259 #define SNVS_HPCR_HP_TS_SHIFT                    (16U)
85260 /*! HP_TS
85261  *  0b0..No Action
85262  *  0b1..Synchronize the HP Time Counter to the LP Time Counter
85263  */
85264 #define SNVS_HPCR_HP_TS(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_HP_TS_SHIFT)) & SNVS_HPCR_HP_TS_MASK)
85265 
85266 #define SNVS_HPCR_BTN_CONFIG_MASK                (0x7000000U)
85267 #define SNVS_HPCR_BTN_CONFIG_SHIFT               (24U)
85268 #define SNVS_HPCR_BTN_CONFIG(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_BTN_CONFIG_SHIFT)) & SNVS_HPCR_BTN_CONFIG_MASK)
85269 
85270 #define SNVS_HPCR_BTN_MASK_MASK                  (0x8000000U)
85271 #define SNVS_HPCR_BTN_MASK_SHIFT                 (27U)
85272 #define SNVS_HPCR_BTN_MASK(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPCR_BTN_MASK_SHIFT)) & SNVS_HPCR_BTN_MASK_MASK)
85273 /*! @} */
85274 
85275 /*! @name HPSICR - SNVS_HP Security Interrupt Control Register */
85276 /*! @{ */
85277 
85278 #define SNVS_HPSICR_CAAM_EN_MASK                 (0x1U)
85279 #define SNVS_HPSICR_CAAM_EN_SHIFT                (0U)
85280 /*! CAAM_EN
85281  *  0b0..CAAM Security Violation Interrupt is Disabled
85282  *  0b1..CAAM Security Violation Interrupt is Enabled
85283  */
85284 #define SNVS_HPSICR_CAAM_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_CAAM_EN_SHIFT)) & SNVS_HPSICR_CAAM_EN_MASK)
85285 
85286 #define SNVS_HPSICR_JTAGC_EN_MASK                (0x2U)
85287 #define SNVS_HPSICR_JTAGC_EN_SHIFT               (1U)
85288 /*! JTAGC_EN
85289  *  0b0..JTAG Active Interrupt is Disabled
85290  *  0b1..JTAG Active Interrupt is Enabled
85291  */
85292 #define SNVS_HPSICR_JTAGC_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_JTAGC_EN_SHIFT)) & SNVS_HPSICR_JTAGC_EN_MASK)
85293 
85294 #define SNVS_HPSICR_WDOG2_EN_MASK                (0x4U)
85295 #define SNVS_HPSICR_WDOG2_EN_SHIFT               (2U)
85296 /*! WDOG2_EN
85297  *  0b0..Watchdog 2 Reset Interrupt is Disabled
85298  *  0b1..Watchdog 2 Reset Interrupt is Enabled
85299  */
85300 #define SNVS_HPSICR_WDOG2_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_WDOG2_EN_SHIFT)) & SNVS_HPSICR_WDOG2_EN_MASK)
85301 
85302 #define SNVS_HPSICR_SRC_EN_MASK                  (0x10U)
85303 #define SNVS_HPSICR_SRC_EN_SHIFT                 (4U)
85304 /*! SRC_EN
85305  *  0b0..Internal Boot Interrupt is Disabled
85306  *  0b1..Internal Boot Interrupt is Enabled
85307  */
85308 #define SNVS_HPSICR_SRC_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_SRC_EN_SHIFT)) & SNVS_HPSICR_SRC_EN_MASK)
85309 
85310 #define SNVS_HPSICR_OCOTP_EN_MASK                (0x20U)
85311 #define SNVS_HPSICR_OCOTP_EN_SHIFT               (5U)
85312 /*! OCOTP_EN
85313  *  0b0..OCOTP attack error Interrupt is Disabled
85314  *  0b1..OCOTP attack error Interrupt is Enabled
85315  */
85316 #define SNVS_HPSICR_OCOTP_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_OCOTP_EN_SHIFT)) & SNVS_HPSICR_OCOTP_EN_MASK)
85317 
85318 #define SNVS_HPSICR_LPSVI_EN_MASK                (0x80000000U)
85319 #define SNVS_HPSICR_LPSVI_EN_SHIFT               (31U)
85320 /*! LPSVI_EN
85321  *  0b0..LP Security Violation Interrupt is Disabled
85322  *  0b1..LP Security Violation Interrupt is Enabled
85323  */
85324 #define SNVS_HPSICR_LPSVI_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSICR_LPSVI_EN_SHIFT)) & SNVS_HPSICR_LPSVI_EN_MASK)
85325 /*! @} */
85326 
85327 /*! @name HPSVCR - SNVS_HP Security Violation Control Register */
85328 /*! @{ */
85329 
85330 #define SNVS_HPSVCR_CAAM_CFG_MASK                (0x1U)
85331 #define SNVS_HPSVCR_CAAM_CFG_SHIFT               (0U)
85332 /*! CAAM_CFG
85333  *  0b0..CAAM Security Violation is a non-fatal violation
85334  *  0b1..CAAM Security Violation is a fatal violation
85335  */
85336 #define SNVS_HPSVCR_CAAM_CFG(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_CAAM_CFG_SHIFT)) & SNVS_HPSVCR_CAAM_CFG_MASK)
85337 
85338 #define SNVS_HPSVCR_JTAGC_CFG_MASK               (0x2U)
85339 #define SNVS_HPSVCR_JTAGC_CFG_SHIFT              (1U)
85340 /*! JTAGC_CFG
85341  *  0b0..JTAG Active is a non-fatal violation
85342  *  0b1..JTAG Active is a fatal violation
85343  */
85344 #define SNVS_HPSVCR_JTAGC_CFG(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_JTAGC_CFG_SHIFT)) & SNVS_HPSVCR_JTAGC_CFG_MASK)
85345 
85346 #define SNVS_HPSVCR_WDOG2_CFG_MASK               (0x4U)
85347 #define SNVS_HPSVCR_WDOG2_CFG_SHIFT              (2U)
85348 /*! WDOG2_CFG
85349  *  0b0..Watchdog 2 Reset is a non-fatal violation
85350  *  0b1..Watchdog 2 Reset is a fatal violation
85351  */
85352 #define SNVS_HPSVCR_WDOG2_CFG(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_WDOG2_CFG_SHIFT)) & SNVS_HPSVCR_WDOG2_CFG_MASK)
85353 
85354 #define SNVS_HPSVCR_SRC_CFG_MASK                 (0x10U)
85355 #define SNVS_HPSVCR_SRC_CFG_SHIFT                (4U)
85356 /*! SRC_CFG
85357  *  0b0..Internal Boot is a non-fatal violation
85358  *  0b1..Internal Boot is a fatal violation
85359  */
85360 #define SNVS_HPSVCR_SRC_CFG(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_SRC_CFG_SHIFT)) & SNVS_HPSVCR_SRC_CFG_MASK)
85361 
85362 #define SNVS_HPSVCR_OCOTP_CFG_MASK               (0x60U)
85363 #define SNVS_HPSVCR_OCOTP_CFG_SHIFT              (5U)
85364 /*! OCOTP_CFG
85365  *  0b00..OCOTP attack error is disabled
85366  *  0b01..OCOTP attack error is a non-fatal violation
85367  *  0b1x..OCOTP attack error is a fatal violation
85368  */
85369 #define SNVS_HPSVCR_OCOTP_CFG(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_OCOTP_CFG_SHIFT)) & SNVS_HPSVCR_OCOTP_CFG_MASK)
85370 
85371 #define SNVS_HPSVCR_LPSV_CFG_MASK                (0xC0000000U)
85372 #define SNVS_HPSVCR_LPSV_CFG_SHIFT               (30U)
85373 /*! LPSV_CFG
85374  *  0b00..LP security violation is disabled
85375  *  0b01..LP security violation is a non-fatal violation
85376  *  0b1x..LP security violation is a fatal violation
85377  */
85378 #define SNVS_HPSVCR_LPSV_CFG(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVCR_LPSV_CFG_SHIFT)) & SNVS_HPSVCR_LPSV_CFG_MASK)
85379 /*! @} */
85380 
85381 /*! @name HPSR - SNVS_HP Status Register */
85382 /*! @{ */
85383 
85384 #define SNVS_HPSR_HPTA_MASK                      (0x1U)
85385 #define SNVS_HPSR_HPTA_SHIFT                     (0U)
85386 /*! HPTA
85387  *  0b0..No time alarm interrupt occurred.
85388  *  0b1..A time alarm interrupt occurred.
85389  */
85390 #define SNVS_HPSR_HPTA(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_HPTA_SHIFT)) & SNVS_HPSR_HPTA_MASK)
85391 
85392 #define SNVS_HPSR_PI_MASK                        (0x2U)
85393 #define SNVS_HPSR_PI_SHIFT                       (1U)
85394 /*! PI
85395  *  0b0..No periodic interrupt occurred.
85396  *  0b1..A periodic interrupt occurred.
85397  */
85398 #define SNVS_HPSR_PI(x)                          (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_PI_SHIFT)) & SNVS_HPSR_PI_MASK)
85399 
85400 #define SNVS_HPSR_LPDIS_MASK                     (0x10U)
85401 #define SNVS_HPSR_LPDIS_SHIFT                    (4U)
85402 #define SNVS_HPSR_LPDIS(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_LPDIS_SHIFT)) & SNVS_HPSR_LPDIS_MASK)
85403 
85404 #define SNVS_HPSR_BTN_MASK                       (0x40U)
85405 #define SNVS_HPSR_BTN_SHIFT                      (6U)
85406 #define SNVS_HPSR_BTN(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_BTN_SHIFT)) & SNVS_HPSR_BTN_MASK)
85407 
85408 #define SNVS_HPSR_BI_MASK                        (0x80U)
85409 #define SNVS_HPSR_BI_SHIFT                       (7U)
85410 #define SNVS_HPSR_BI(x)                          (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_BI_SHIFT)) & SNVS_HPSR_BI_MASK)
85411 
85412 #define SNVS_HPSR_SSM_STATE_MASK                 (0xF00U)
85413 #define SNVS_HPSR_SSM_STATE_SHIFT                (8U)
85414 /*! SSM_STATE
85415  *  0b0000..Init
85416  *  0b0001..Hard Fail
85417  *  0b0011..Soft Fail
85418  *  0b1000..Init Intermediate (transition state between Init and Check - SSM stays in this state only one clock cycle)
85419  *  0b1001..Check
85420  *  0b1011..Non-Secure
85421  *  0b1101..Trusted
85422  *  0b1111..Secure
85423  */
85424 #define SNVS_HPSR_SSM_STATE(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_SSM_STATE_SHIFT)) & SNVS_HPSR_SSM_STATE_MASK)
85425 
85426 #define SNVS_HPSR_SYS_SECURITY_CFG_MASK          (0x7000U)
85427 #define SNVS_HPSR_SYS_SECURITY_CFG_SHIFT         (12U)
85428 /*! SYS_SECURITY_CFG
85429  *  0b000..Fab Configuration - the default configuration of newly fabricated chips
85430  *  0b001..Open Configuration - the configuration after NXP-programmable fuses have been blown
85431  *  0b011..Closed Configuration - the configuration after OEM-programmable fuses have been blown
85432  *  0b111..Field Return Configuration - the configuration of chips that are returned to NXP for analysis
85433  */
85434 #define SNVS_HPSR_SYS_SECURITY_CFG(x)            (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_SYS_SECURITY_CFG_SHIFT)) & SNVS_HPSR_SYS_SECURITY_CFG_MASK)
85435 
85436 #define SNVS_HPSR_SYS_SECURE_BOOT_MASK           (0x8000U)
85437 #define SNVS_HPSR_SYS_SECURE_BOOT_SHIFT          (15U)
85438 #define SNVS_HPSR_SYS_SECURE_BOOT(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_SYS_SECURE_BOOT_SHIFT)) & SNVS_HPSR_SYS_SECURE_BOOT_MASK)
85439 
85440 #define SNVS_HPSR_OTPMK_ZERO_MASK                (0x8000000U)
85441 #define SNVS_HPSR_OTPMK_ZERO_SHIFT               (27U)
85442 /*! OTPMK_ZERO
85443  *  0b0..The OTPMK is not zero.
85444  *  0b1..The OTPMK is zero.
85445  */
85446 #define SNVS_HPSR_OTPMK_ZERO(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_OTPMK_ZERO_SHIFT)) & SNVS_HPSR_OTPMK_ZERO_MASK)
85447 
85448 #define SNVS_HPSR_ZMK_ZERO_MASK                  (0x80000000U)
85449 #define SNVS_HPSR_ZMK_ZERO_SHIFT                 (31U)
85450 /*! ZMK_ZERO
85451  *  0b0..The ZMK is not zero.
85452  *  0b1..The ZMK is zero.
85453  */
85454 #define SNVS_HPSR_ZMK_ZERO(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPSR_ZMK_ZERO_SHIFT)) & SNVS_HPSR_ZMK_ZERO_MASK)
85455 /*! @} */
85456 
85457 /*! @name HPSVSR - SNVS_HP Security Violation Status Register */
85458 /*! @{ */
85459 
85460 #define SNVS_HPSVSR_CAAM_MASK                    (0x1U)
85461 #define SNVS_HPSVSR_CAAM_SHIFT                   (0U)
85462 /*! CAAM
85463  *  0b0..No CAAM Security Violation security violation was detected.
85464  *  0b1..CAAM Security Violation security violation was detected.
85465  */
85466 #define SNVS_HPSVSR_CAAM(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_CAAM_SHIFT)) & SNVS_HPSVSR_CAAM_MASK)
85467 
85468 #define SNVS_HPSVSR_JTAGC_MASK                   (0x2U)
85469 #define SNVS_HPSVSR_JTAGC_SHIFT                  (1U)
85470 /*! JTAGC
85471  *  0b0..No JTAG Active security violation was detected.
85472  *  0b1..JTAG Active security violation was detected.
85473  */
85474 #define SNVS_HPSVSR_JTAGC(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_JTAGC_SHIFT)) & SNVS_HPSVSR_JTAGC_MASK)
85475 
85476 #define SNVS_HPSVSR_WDOG2_MASK                   (0x4U)
85477 #define SNVS_HPSVSR_WDOG2_SHIFT                  (2U)
85478 /*! WDOG2
85479  *  0b0..No Watchdog 2 Reset security violation was detected.
85480  *  0b1..Watchdog 2 Reset security violation was detected.
85481  */
85482 #define SNVS_HPSVSR_WDOG2(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_WDOG2_SHIFT)) & SNVS_HPSVSR_WDOG2_MASK)
85483 
85484 #define SNVS_HPSVSR_SRC_MASK                     (0x10U)
85485 #define SNVS_HPSVSR_SRC_SHIFT                    (4U)
85486 /*! SRC
85487  *  0b0..No Internal Boot security violation was detected.
85488  *  0b1..Internal Boot security violation was detected.
85489  */
85490 #define SNVS_HPSVSR_SRC(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_SRC_SHIFT)) & SNVS_HPSVSR_SRC_MASK)
85491 
85492 #define SNVS_HPSVSR_OCOTP_MASK                   (0x20U)
85493 #define SNVS_HPSVSR_OCOTP_SHIFT                  (5U)
85494 /*! OCOTP
85495  *  0b0..No OCOTP attack error security violation was detected.
85496  *  0b1..OCOTP attack error security violation was detected.
85497  */
85498 #define SNVS_HPSVSR_OCOTP(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_OCOTP_SHIFT)) & SNVS_HPSVSR_OCOTP_MASK)
85499 
85500 #define SNVS_HPSVSR_SW_SV_MASK                   (0x2000U)
85501 #define SNVS_HPSVSR_SW_SV_SHIFT                  (13U)
85502 #define SNVS_HPSVSR_SW_SV(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_SW_SV_SHIFT)) & SNVS_HPSVSR_SW_SV_MASK)
85503 
85504 #define SNVS_HPSVSR_SW_FSV_MASK                  (0x4000U)
85505 #define SNVS_HPSVSR_SW_FSV_SHIFT                 (14U)
85506 #define SNVS_HPSVSR_SW_FSV(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_SW_FSV_SHIFT)) & SNVS_HPSVSR_SW_FSV_MASK)
85507 
85508 #define SNVS_HPSVSR_SW_LPSV_MASK                 (0x8000U)
85509 #define SNVS_HPSVSR_SW_LPSV_SHIFT                (15U)
85510 #define SNVS_HPSVSR_SW_LPSV(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_SW_LPSV_SHIFT)) & SNVS_HPSVSR_SW_LPSV_MASK)
85511 
85512 #define SNVS_HPSVSR_ZMK_SYNDROME_MASK            (0x1FF0000U)
85513 #define SNVS_HPSVSR_ZMK_SYNDROME_SHIFT           (16U)
85514 #define SNVS_HPSVSR_ZMK_SYNDROME(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_ZMK_SYNDROME_SHIFT)) & SNVS_HPSVSR_ZMK_SYNDROME_MASK)
85515 
85516 #define SNVS_HPSVSR_ZMK_ECC_FAIL_MASK            (0x8000000U)
85517 #define SNVS_HPSVSR_ZMK_ECC_FAIL_SHIFT           (27U)
85518 /*! ZMK_ECC_FAIL
85519  *  0b0..ZMK ECC Failure was not detected.
85520  *  0b1..ZMK ECC Failure was detected.
85521  */
85522 #define SNVS_HPSVSR_ZMK_ECC_FAIL(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_ZMK_ECC_FAIL_SHIFT)) & SNVS_HPSVSR_ZMK_ECC_FAIL_MASK)
85523 
85524 #define SNVS_HPSVSR_LP_SEC_VIO_MASK              (0x80000000U)
85525 #define SNVS_HPSVSR_LP_SEC_VIO_SHIFT             (31U)
85526 #define SNVS_HPSVSR_LP_SEC_VIO(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_HPSVSR_LP_SEC_VIO_SHIFT)) & SNVS_HPSVSR_LP_SEC_VIO_MASK)
85527 /*! @} */
85528 
85529 /*! @name HPHACIVR - SNVS_HP High Assurance Counter IV Register */
85530 /*! @{ */
85531 
85532 #define SNVS_HPHACIVR_HAC_COUNTER_IV_MASK        (0xFFFFFFFFU)
85533 #define SNVS_HPHACIVR_HAC_COUNTER_IV_SHIFT       (0U)
85534 #define SNVS_HPHACIVR_HAC_COUNTER_IV(x)          (((uint32_t)(((uint32_t)(x)) << SNVS_HPHACIVR_HAC_COUNTER_IV_SHIFT)) & SNVS_HPHACIVR_HAC_COUNTER_IV_MASK)
85535 /*! @} */
85536 
85537 /*! @name HPHACR - SNVS_HP High Assurance Counter Register */
85538 /*! @{ */
85539 
85540 #define SNVS_HPHACR_HAC_COUNTER_MASK             (0xFFFFFFFFU)
85541 #define SNVS_HPHACR_HAC_COUNTER_SHIFT            (0U)
85542 #define SNVS_HPHACR_HAC_COUNTER(x)               (((uint32_t)(((uint32_t)(x)) << SNVS_HPHACR_HAC_COUNTER_SHIFT)) & SNVS_HPHACR_HAC_COUNTER_MASK)
85543 /*! @} */
85544 
85545 /*! @name HPRTCMR - SNVS_HP Real Time Counter MSB Register */
85546 /*! @{ */
85547 
85548 #define SNVS_HPRTCMR_RTC_MASK                    (0x7FFFU)
85549 #define SNVS_HPRTCMR_RTC_SHIFT                   (0U)
85550 #define SNVS_HPRTCMR_RTC(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPRTCMR_RTC_SHIFT)) & SNVS_HPRTCMR_RTC_MASK)
85551 /*! @} */
85552 
85553 /*! @name HPRTCLR - SNVS_HP Real Time Counter LSB Register */
85554 /*! @{ */
85555 
85556 #define SNVS_HPRTCLR_RTC_MASK                    (0xFFFFFFFFU)
85557 #define SNVS_HPRTCLR_RTC_SHIFT                   (0U)
85558 #define SNVS_HPRTCLR_RTC(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_HPRTCLR_RTC_SHIFT)) & SNVS_HPRTCLR_RTC_MASK)
85559 /*! @} */
85560 
85561 /*! @name HPTAMR - SNVS_HP Time Alarm MSB Register */
85562 /*! @{ */
85563 
85564 #define SNVS_HPTAMR_HPTA_MS_MASK                 (0x7FFFU)
85565 #define SNVS_HPTAMR_HPTA_MS_SHIFT                (0U)
85566 #define SNVS_HPTAMR_HPTA_MS(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPTAMR_HPTA_MS_SHIFT)) & SNVS_HPTAMR_HPTA_MS_MASK)
85567 /*! @} */
85568 
85569 /*! @name HPTALR - SNVS_HP Time Alarm LSB Register */
85570 /*! @{ */
85571 
85572 #define SNVS_HPTALR_HPTA_LS_MASK                 (0xFFFFFFFFU)
85573 #define SNVS_HPTALR_HPTA_LS_SHIFT                (0U)
85574 #define SNVS_HPTALR_HPTA_LS(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPTALR_HPTA_LS_SHIFT)) & SNVS_HPTALR_HPTA_LS_MASK)
85575 /*! @} */
85576 
85577 /*! @name LPLR - SNVS_LP Lock Register */
85578 /*! @{ */
85579 
85580 #define SNVS_LPLR_ZMK_WHL_MASK                   (0x1U)
85581 #define SNVS_LPLR_ZMK_WHL_SHIFT                  (0U)
85582 /*! ZMK_WHL
85583  *  0b0..Write access is allowed.
85584  *  0b1..Write access is not allowed.
85585  */
85586 #define SNVS_LPLR_ZMK_WHL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_ZMK_WHL_SHIFT)) & SNVS_LPLR_ZMK_WHL_MASK)
85587 
85588 #define SNVS_LPLR_ZMK_RHL_MASK                   (0x2U)
85589 #define SNVS_LPLR_ZMK_RHL_SHIFT                  (1U)
85590 /*! ZMK_RHL
85591  *  0b0..Read access is allowed (only in software programming mode).
85592  *  0b1..Read access is not allowed.
85593  */
85594 #define SNVS_LPLR_ZMK_RHL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_ZMK_RHL_SHIFT)) & SNVS_LPLR_ZMK_RHL_MASK)
85595 
85596 #define SNVS_LPLR_SRTC_HL_MASK                   (0x4U)
85597 #define SNVS_LPLR_SRTC_HL_SHIFT                  (2U)
85598 /*! SRTC_HL
85599  *  0b0..Write access is allowed.
85600  *  0b1..Write access is not allowed.
85601  */
85602 #define SNVS_LPLR_SRTC_HL(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_SRTC_HL_SHIFT)) & SNVS_LPLR_SRTC_HL_MASK)
85603 
85604 #define SNVS_LPLR_LPCALB_HL_MASK                 (0x8U)
85605 #define SNVS_LPLR_LPCALB_HL_SHIFT                (3U)
85606 /*! LPCALB_HL
85607  *  0b0..Write access is allowed.
85608  *  0b1..Write access is not allowed.
85609  */
85610 #define SNVS_LPLR_LPCALB_HL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_LPCALB_HL_SHIFT)) & SNVS_LPLR_LPCALB_HL_MASK)
85611 
85612 #define SNVS_LPLR_MC_HL_MASK                     (0x10U)
85613 #define SNVS_LPLR_MC_HL_SHIFT                    (4U)
85614 /*! MC_HL
85615  *  0b0..Write access (increment) is allowed.
85616  *  0b1..Write access (increment) is not allowed.
85617  */
85618 #define SNVS_LPLR_MC_HL(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_MC_HL_SHIFT)) & SNVS_LPLR_MC_HL_MASK)
85619 
85620 #define SNVS_LPLR_GPR_HL_MASK                    (0x20U)
85621 #define SNVS_LPLR_GPR_HL_SHIFT                   (5U)
85622 /*! GPR_HL
85623  *  0b0..Write access is allowed.
85624  *  0b1..Write access is not allowed.
85625  */
85626 #define SNVS_LPLR_GPR_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_GPR_HL_SHIFT)) & SNVS_LPLR_GPR_HL_MASK)
85627 
85628 #define SNVS_LPLR_LPSVCR_HL_MASK                 (0x40U)
85629 #define SNVS_LPLR_LPSVCR_HL_SHIFT                (6U)
85630 /*! LPSVCR_HL
85631  *  0b0..Write access is allowed.
85632  *  0b1..Write access is not allowed.
85633  */
85634 #define SNVS_LPLR_LPSVCR_HL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_LPSVCR_HL_SHIFT)) & SNVS_LPLR_LPSVCR_HL_MASK)
85635 
85636 #define SNVS_LPLR_LPTGFCR_HL_MASK                (0x80U)
85637 #define SNVS_LPLR_LPTGFCR_HL_SHIFT               (7U)
85638 /*! LPTGFCR_HL
85639  *  0b0..Write access is allowed.
85640  *  0b1..Write access is not allowed.
85641  */
85642 #define SNVS_LPLR_LPTGFCR_HL(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_LPTGFCR_HL_SHIFT)) & SNVS_LPLR_LPTGFCR_HL_MASK)
85643 
85644 #define SNVS_LPLR_LPSECR_HL_MASK                 (0x100U)
85645 #define SNVS_LPLR_LPSECR_HL_SHIFT                (8U)
85646 /*! LPSECR_HL
85647  *  0b0..Write access is allowed.
85648  *  0b1..Write access is not allowed.
85649  */
85650 #define SNVS_LPLR_LPSECR_HL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_LPSECR_HL_SHIFT)) & SNVS_LPLR_LPSECR_HL_MASK)
85651 
85652 #define SNVS_LPLR_MKS_HL_MASK                    (0x200U)
85653 #define SNVS_LPLR_MKS_HL_SHIFT                   (9U)
85654 /*! MKS_HL
85655  *  0b0..Write access is allowed.
85656  *  0b1..Write access is not allowed.
85657  */
85658 #define SNVS_LPLR_MKS_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_MKS_HL_SHIFT)) & SNVS_LPLR_MKS_HL_MASK)
85659 
85660 #define SNVS_LPLR_AT1_HL_MASK                    (0x1000000U)
85661 #define SNVS_LPLR_AT1_HL_SHIFT                   (24U)
85662 /*! AT1_HL
85663  *  0b0..Write access is allowed.
85664  *  0b1..Write access is not allowed.
85665  */
85666 #define SNVS_LPLR_AT1_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_AT1_HL_SHIFT)) & SNVS_LPLR_AT1_HL_MASK)
85667 
85668 #define SNVS_LPLR_AT2_HL_MASK                    (0x2000000U)
85669 #define SNVS_LPLR_AT2_HL_SHIFT                   (25U)
85670 /*! AT2_HL
85671  *  0b0..Write access is allowed.
85672  *  0b1..Write access is not allowed.
85673  */
85674 #define SNVS_LPLR_AT2_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_AT2_HL_SHIFT)) & SNVS_LPLR_AT2_HL_MASK)
85675 
85676 #define SNVS_LPLR_AT3_HL_MASK                    (0x4000000U)
85677 #define SNVS_LPLR_AT3_HL_SHIFT                   (26U)
85678 /*! AT3_HL
85679  *  0b0..Write access is allowed.
85680  *  0b1..Write access is not allowed.
85681  */
85682 #define SNVS_LPLR_AT3_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_AT3_HL_SHIFT)) & SNVS_LPLR_AT3_HL_MASK)
85683 
85684 #define SNVS_LPLR_AT4_HL_MASK                    (0x8000000U)
85685 #define SNVS_LPLR_AT4_HL_SHIFT                   (27U)
85686 /*! AT4_HL
85687  *  0b0..Write access is allowed.
85688  *  0b1..Write access is not allowed.
85689  */
85690 #define SNVS_LPLR_AT4_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_AT4_HL_SHIFT)) & SNVS_LPLR_AT4_HL_MASK)
85691 
85692 #define SNVS_LPLR_AT5_HL_MASK                    (0x10000000U)
85693 #define SNVS_LPLR_AT5_HL_SHIFT                   (28U)
85694 /*! AT5_HL
85695  *  0b0..Write access is allowed.
85696  *  0b1..Write access is not allowed.
85697  */
85698 #define SNVS_LPLR_AT5_HL(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPLR_AT5_HL_SHIFT)) & SNVS_LPLR_AT5_HL_MASK)
85699 /*! @} */
85700 
85701 /*! @name LPCR - SNVS_LP Control Register */
85702 /*! @{ */
85703 
85704 #define SNVS_LPCR_SRTC_ENV_MASK                  (0x1U)
85705 #define SNVS_LPCR_SRTC_ENV_SHIFT                 (0U)
85706 /*! SRTC_ENV
85707  *  0b0..SRTC is disabled or invalid.
85708  *  0b1..SRTC is enabled and valid.
85709  */
85710 #define SNVS_LPCR_SRTC_ENV(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_SRTC_ENV_SHIFT)) & SNVS_LPCR_SRTC_ENV_MASK)
85711 
85712 #define SNVS_LPCR_LPTA_EN_MASK                   (0x2U)
85713 #define SNVS_LPCR_LPTA_EN_SHIFT                  (1U)
85714 /*! LPTA_EN
85715  *  0b0..LP time alarm interrupt is disabled.
85716  *  0b1..LP time alarm interrupt is enabled.
85717  */
85718 #define SNVS_LPCR_LPTA_EN(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_LPTA_EN_SHIFT)) & SNVS_LPCR_LPTA_EN_MASK)
85719 
85720 #define SNVS_LPCR_MC_ENV_MASK                    (0x4U)
85721 #define SNVS_LPCR_MC_ENV_SHIFT                   (2U)
85722 /*! MC_ENV
85723  *  0b0..MC is disabled or invalid.
85724  *  0b1..MC is enabled and valid.
85725  */
85726 #define SNVS_LPCR_MC_ENV(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_MC_ENV_SHIFT)) & SNVS_LPCR_MC_ENV_MASK)
85727 
85728 #define SNVS_LPCR_LPWUI_EN_MASK                  (0x8U)
85729 #define SNVS_LPCR_LPWUI_EN_SHIFT                 (3U)
85730 #define SNVS_LPCR_LPWUI_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_LPWUI_EN_SHIFT)) & SNVS_LPCR_LPWUI_EN_MASK)
85731 
85732 #define SNVS_LPCR_SRTC_INV_EN_MASK               (0x10U)
85733 #define SNVS_LPCR_SRTC_INV_EN_SHIFT              (4U)
85734 /*! SRTC_INV_EN
85735  *  0b0..SRTC stays valid in the case of security violation (other than a software violation (HPSVSR[SW_LPSV] = 1 or HPCOMR[SW_LPSV] = 1)).
85736  *  0b1..SRTC is invalidated in the case of security violation.
85737  */
85738 #define SNVS_LPCR_SRTC_INV_EN(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_SRTC_INV_EN_SHIFT)) & SNVS_LPCR_SRTC_INV_EN_MASK)
85739 
85740 #define SNVS_LPCR_DP_EN_MASK                     (0x20U)
85741 #define SNVS_LPCR_DP_EN_SHIFT                    (5U)
85742 /*! DP_EN
85743  *  0b0..Smart PMIC enabled.
85744  *  0b1..Dumb PMIC enabled.
85745  */
85746 #define SNVS_LPCR_DP_EN(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_DP_EN_SHIFT)) & SNVS_LPCR_DP_EN_MASK)
85747 
85748 #define SNVS_LPCR_TOP_MASK                       (0x40U)
85749 #define SNVS_LPCR_TOP_SHIFT                      (6U)
85750 /*! TOP
85751  *  0b0..Leave system power on.
85752  *  0b1..Turn off system power.
85753  */
85754 #define SNVS_LPCR_TOP(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_TOP_SHIFT)) & SNVS_LPCR_TOP_MASK)
85755 
85756 #define SNVS_LPCR_LVD_EN_MASK                    (0x80U)
85757 #define SNVS_LPCR_LVD_EN_SHIFT                   (7U)
85758 #define SNVS_LPCR_LVD_EN(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_LVD_EN_SHIFT)) & SNVS_LPCR_LVD_EN_MASK)
85759 
85760 #define SNVS_LPCR_LPCALB_EN_MASK                 (0x100U)
85761 #define SNVS_LPCR_LPCALB_EN_SHIFT                (8U)
85762 /*! LPCALB_EN
85763  *  0b0..SRTC Time calibration is disabled.
85764  *  0b1..SRTC Time calibration is enabled.
85765  */
85766 #define SNVS_LPCR_LPCALB_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_LPCALB_EN_SHIFT)) & SNVS_LPCR_LPCALB_EN_MASK)
85767 
85768 #define SNVS_LPCR_LPCALB_VAL_MASK                (0x7C00U)
85769 #define SNVS_LPCR_LPCALB_VAL_SHIFT               (10U)
85770 /*! LPCALB_VAL
85771  *  0b00000..+0 counts per each 32768 ticks of the counter clock
85772  *  0b00001..+1 counts per each 32768 ticks of the counter clock
85773  *  0b00010..+2 counts per each 32768 ticks of the counter clock
85774  *  0b01111..+15 counts per each 32768 ticks of the counter clock
85775  *  0b10000..-16 counts per each 32768 ticks of the counter clock
85776  *  0b10001..-15 counts per each 32768 ticks of the counter clock
85777  *  0b11110..-2 counts per each 32768 ticks of the counter clock
85778  *  0b11111..-1 counts per each 32768 ticks of the counter clock
85779  */
85780 #define SNVS_LPCR_LPCALB_VAL(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_LPCALB_VAL_SHIFT)) & SNVS_LPCR_LPCALB_VAL_MASK)
85781 
85782 #define SNVS_LPCR_BTN_PRESS_TIME_MASK            (0x30000U)
85783 #define SNVS_LPCR_BTN_PRESS_TIME_SHIFT           (16U)
85784 #define SNVS_LPCR_BTN_PRESS_TIME(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_BTN_PRESS_TIME_SHIFT)) & SNVS_LPCR_BTN_PRESS_TIME_MASK)
85785 
85786 #define SNVS_LPCR_DEBOUNCE_MASK                  (0xC0000U)
85787 #define SNVS_LPCR_DEBOUNCE_SHIFT                 (18U)
85788 #define SNVS_LPCR_DEBOUNCE(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_DEBOUNCE_SHIFT)) & SNVS_LPCR_DEBOUNCE_MASK)
85789 
85790 #define SNVS_LPCR_ON_TIME_MASK                   (0x300000U)
85791 #define SNVS_LPCR_ON_TIME_SHIFT                  (20U)
85792 #define SNVS_LPCR_ON_TIME(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_ON_TIME_SHIFT)) & SNVS_LPCR_ON_TIME_MASK)
85793 
85794 #define SNVS_LPCR_PK_EN_MASK                     (0x400000U)
85795 #define SNVS_LPCR_PK_EN_SHIFT                    (22U)
85796 #define SNVS_LPCR_PK_EN(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_PK_EN_SHIFT)) & SNVS_LPCR_PK_EN_MASK)
85797 
85798 #define SNVS_LPCR_PK_OVERRIDE_MASK               (0x800000U)
85799 #define SNVS_LPCR_PK_OVERRIDE_SHIFT              (23U)
85800 #define SNVS_LPCR_PK_OVERRIDE(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_PK_OVERRIDE_SHIFT)) & SNVS_LPCR_PK_OVERRIDE_MASK)
85801 
85802 #define SNVS_LPCR_GPR_Z_DIS_MASK                 (0x1000000U)
85803 #define SNVS_LPCR_GPR_Z_DIS_SHIFT                (24U)
85804 #define SNVS_LPCR_GPR_Z_DIS(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPCR_GPR_Z_DIS_SHIFT)) & SNVS_LPCR_GPR_Z_DIS_MASK)
85805 /*! @} */
85806 
85807 /*! @name LPMKCR - SNVS_LP Master Key Control Register */
85808 /*! @{ */
85809 
85810 #define SNVS_LPMKCR_MASTER_KEY_SEL_MASK          (0x3U)
85811 #define SNVS_LPMKCR_MASTER_KEY_SEL_SHIFT         (0U)
85812 /*! MASTER_KEY_SEL
85813  *  0b0x..Select one time programmable master key.
85814  *  0b10..Select zeroizable master key when MKS_EN bit is set .
85815  *  0b11..Select combined master key when MKS_EN bit is set .
85816  */
85817 #define SNVS_LPMKCR_MASTER_KEY_SEL(x)            (((uint32_t)(((uint32_t)(x)) << SNVS_LPMKCR_MASTER_KEY_SEL_SHIFT)) & SNVS_LPMKCR_MASTER_KEY_SEL_MASK)
85818 
85819 #define SNVS_LPMKCR_ZMK_HWP_MASK                 (0x4U)
85820 #define SNVS_LPMKCR_ZMK_HWP_SHIFT                (2U)
85821 /*! ZMK_HWP
85822  *  0b0..ZMK is in the software programming mode.
85823  *  0b1..ZMK is in the hardware programming mode.
85824  */
85825 #define SNVS_LPMKCR_ZMK_HWP(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPMKCR_ZMK_HWP_SHIFT)) & SNVS_LPMKCR_ZMK_HWP_MASK)
85826 
85827 #define SNVS_LPMKCR_ZMK_VAL_MASK                 (0x8U)
85828 #define SNVS_LPMKCR_ZMK_VAL_SHIFT                (3U)
85829 /*! ZMK_VAL
85830  *  0b0..ZMK is not valid.
85831  *  0b1..ZMK is valid.
85832  */
85833 #define SNVS_LPMKCR_ZMK_VAL(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPMKCR_ZMK_VAL_SHIFT)) & SNVS_LPMKCR_ZMK_VAL_MASK)
85834 
85835 #define SNVS_LPMKCR_ZMK_ECC_EN_MASK              (0x10U)
85836 #define SNVS_LPMKCR_ZMK_ECC_EN_SHIFT             (4U)
85837 /*! ZMK_ECC_EN
85838  *  0b0..ZMK ECC check is disabled.
85839  *  0b1..ZMK ECC check is enabled.
85840  */
85841 #define SNVS_LPMKCR_ZMK_ECC_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPMKCR_ZMK_ECC_EN_SHIFT)) & SNVS_LPMKCR_ZMK_ECC_EN_MASK)
85842 
85843 #define SNVS_LPMKCR_ZMK_ECC_VALUE_MASK           (0xFF80U)
85844 #define SNVS_LPMKCR_ZMK_ECC_VALUE_SHIFT          (7U)
85845 #define SNVS_LPMKCR_ZMK_ECC_VALUE(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPMKCR_ZMK_ECC_VALUE_SHIFT)) & SNVS_LPMKCR_ZMK_ECC_VALUE_MASK)
85846 /*! @} */
85847 
85848 /*! @name LPSVCR - SNVS_LP Security Violation Control Register */
85849 /*! @{ */
85850 
85851 #define SNVS_LPSVCR_CAAM_EN_MASK                 (0x1U)
85852 #define SNVS_LPSVCR_CAAM_EN_SHIFT                (0U)
85853 /*! CAAM_EN
85854  *  0b0..CAAM Security Violation is disabled in the LP domain.
85855  *  0b1..CAAM Security Violation is enabled in the LP domain.
85856  */
85857 #define SNVS_LPSVCR_CAAM_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPSVCR_CAAM_EN_SHIFT)) & SNVS_LPSVCR_CAAM_EN_MASK)
85858 
85859 #define SNVS_LPSVCR_JTAGC_EN_MASK                (0x2U)
85860 #define SNVS_LPSVCR_JTAGC_EN_SHIFT               (1U)
85861 /*! JTAGC_EN
85862  *  0b0..JTAG Active is disabled in the LP domain.
85863  *  0b1..JTAG Active is enabled in the LP domain.
85864  */
85865 #define SNVS_LPSVCR_JTAGC_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPSVCR_JTAGC_EN_SHIFT)) & SNVS_LPSVCR_JTAGC_EN_MASK)
85866 
85867 #define SNVS_LPSVCR_WDOG2_EN_MASK                (0x4U)
85868 #define SNVS_LPSVCR_WDOG2_EN_SHIFT               (2U)
85869 /*! WDOG2_EN
85870  *  0b0..Watchdog 2 Reset is disabled in the LP domain.
85871  *  0b1..Watchdog 2 Reset is enabled in the LP domain.
85872  */
85873 #define SNVS_LPSVCR_WDOG2_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPSVCR_WDOG2_EN_SHIFT)) & SNVS_LPSVCR_WDOG2_EN_MASK)
85874 
85875 #define SNVS_LPSVCR_SRC_EN_MASK                  (0x10U)
85876 #define SNVS_LPSVCR_SRC_EN_SHIFT                 (4U)
85877 /*! SRC_EN
85878  *  0b0..Internal Boot is disabled in the LP domain.
85879  *  0b1..Internal Boot is enabled in the LP domain.
85880  */
85881 #define SNVS_LPSVCR_SRC_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPSVCR_SRC_EN_SHIFT)) & SNVS_LPSVCR_SRC_EN_MASK)
85882 
85883 #define SNVS_LPSVCR_OCOTP_EN_MASK                (0x20U)
85884 #define SNVS_LPSVCR_OCOTP_EN_SHIFT               (5U)
85885 /*! OCOTP_EN
85886  *  0b0..OCOTP attack error is disabled in the LP domain.
85887  *  0b1..OCOTP attack error is enabled in the LP domain.
85888  */
85889 #define SNVS_LPSVCR_OCOTP_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPSVCR_OCOTP_EN_SHIFT)) & SNVS_LPSVCR_OCOTP_EN_MASK)
85890 /*! @} */
85891 
85892 /*! @name LPTGFCR - SNVS_LP Tamper Glitch Filters Configuration Register */
85893 /*! @{ */
85894 
85895 #define SNVS_LPTGFCR_WMTGF_MASK                  (0x1FU)
85896 #define SNVS_LPTGFCR_WMTGF_SHIFT                 (0U)
85897 #define SNVS_LPTGFCR_WMTGF(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_WMTGF_SHIFT)) & SNVS_LPTGFCR_WMTGF_MASK)
85898 
85899 #define SNVS_LPTGFCR_WMTGF_EN_MASK               (0x80U)
85900 #define SNVS_LPTGFCR_WMTGF_EN_SHIFT              (7U)
85901 /*! WMTGF_EN
85902  *  0b0..Wire-mesh tamper glitch filter is bypassed.
85903  *  0b1..Wire-mesh tamper glitch filter is enabled.
85904  */
85905 #define SNVS_LPTGFCR_WMTGF_EN(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_WMTGF_EN_SHIFT)) & SNVS_LPTGFCR_WMTGF_EN_MASK)
85906 
85907 #define SNVS_LPTGFCR_ETGF1_MASK                  (0x7F0000U)
85908 #define SNVS_LPTGFCR_ETGF1_SHIFT                 (16U)
85909 #define SNVS_LPTGFCR_ETGF1(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_ETGF1_SHIFT)) & SNVS_LPTGFCR_ETGF1_MASK)
85910 
85911 #define SNVS_LPTGFCR_ETGF1_EN_MASK               (0x800000U)
85912 #define SNVS_LPTGFCR_ETGF1_EN_SHIFT              (23U)
85913 /*! ETGF1_EN
85914  *  0b0..External tamper glitch filter 1 is bypassed.
85915  *  0b1..External tamper glitch filter 1 is enabled.
85916  */
85917 #define SNVS_LPTGFCR_ETGF1_EN(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_ETGF1_EN_SHIFT)) & SNVS_LPTGFCR_ETGF1_EN_MASK)
85918 
85919 #define SNVS_LPTGFCR_ETGF2_MASK                  (0x7F000000U)
85920 #define SNVS_LPTGFCR_ETGF2_SHIFT                 (24U)
85921 #define SNVS_LPTGFCR_ETGF2(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_ETGF2_SHIFT)) & SNVS_LPTGFCR_ETGF2_MASK)
85922 
85923 #define SNVS_LPTGFCR_ETGF2_EN_MASK               (0x80000000U)
85924 #define SNVS_LPTGFCR_ETGF2_EN_SHIFT              (31U)
85925 /*! ETGF2_EN
85926  *  0b0..External tamper glitch filter 2 is bypassed.
85927  *  0b1..External tamper glitch filter 2 is enabled.
85928  */
85929 #define SNVS_LPTGFCR_ETGF2_EN(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGFCR_ETGF2_EN_SHIFT)) & SNVS_LPTGFCR_ETGF2_EN_MASK)
85930 /*! @} */
85931 
85932 /*! @name LPTDCR - SNVS_LP Tamper Detect Configuration Register */
85933 /*! @{ */
85934 
85935 #define SNVS_LPTDCR_SRTCR_EN_MASK                (0x2U)
85936 #define SNVS_LPTDCR_SRTCR_EN_SHIFT               (1U)
85937 /*! SRTCR_EN
85938  *  0b0..SRTC rollover is disabled.
85939  *  0b1..SRTC rollover is enabled.
85940  */
85941 #define SNVS_LPTDCR_SRTCR_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_SRTCR_EN_SHIFT)) & SNVS_LPTDCR_SRTCR_EN_MASK)
85942 
85943 #define SNVS_LPTDCR_MCR_EN_MASK                  (0x4U)
85944 #define SNVS_LPTDCR_MCR_EN_SHIFT                 (2U)
85945 /*! MCR_EN
85946  *  0b0..MC rollover is disabled.
85947  *  0b1..MC rollover is enabled.
85948  */
85949 #define SNVS_LPTDCR_MCR_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_MCR_EN_SHIFT)) & SNVS_LPTDCR_MCR_EN_MASK)
85950 
85951 #define SNVS_LPTDCR_CT_EN_MASK                   (0x10U)
85952 #define SNVS_LPTDCR_CT_EN_SHIFT                  (4U)
85953 /*! CT_EN
85954  *  0b0..Clock tamper is disabled.
85955  *  0b1..Clock tamper is enabled.
85956  */
85957 #define SNVS_LPTDCR_CT_EN(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_CT_EN_SHIFT)) & SNVS_LPTDCR_CT_EN_MASK)
85958 
85959 #define SNVS_LPTDCR_TT_EN_MASK                   (0x20U)
85960 #define SNVS_LPTDCR_TT_EN_SHIFT                  (5U)
85961 /*! TT_EN
85962  *  0b0..Temperature tamper is disabled.
85963  *  0b1..Temperature tamper is enabled.
85964  */
85965 #define SNVS_LPTDCR_TT_EN(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_TT_EN_SHIFT)) & SNVS_LPTDCR_TT_EN_MASK)
85966 
85967 #define SNVS_LPTDCR_VT_EN_MASK                   (0x40U)
85968 #define SNVS_LPTDCR_VT_EN_SHIFT                  (6U)
85969 /*! VT_EN
85970  *  0b0..Voltage tamper is disabled.
85971  *  0b1..Voltage tamper is enabled.
85972  */
85973 #define SNVS_LPTDCR_VT_EN(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_VT_EN_SHIFT)) & SNVS_LPTDCR_VT_EN_MASK)
85974 
85975 #define SNVS_LPTDCR_WMT1_EN_MASK                 (0x80U)
85976 #define SNVS_LPTDCR_WMT1_EN_SHIFT                (7U)
85977 /*! WMT1_EN
85978  *  0b0..Wire-mesh tamper 1 is disabled.
85979  *  0b1..Wire-mesh tamper 1 is enabled.
85980  */
85981 #define SNVS_LPTDCR_WMT1_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_WMT1_EN_SHIFT)) & SNVS_LPTDCR_WMT1_EN_MASK)
85982 
85983 #define SNVS_LPTDCR_WMT2_EN_MASK                 (0x100U)
85984 #define SNVS_LPTDCR_WMT2_EN_SHIFT                (8U)
85985 /*! WMT2_EN
85986  *  0b0..Wire-mesh tamper 2 is disabled.
85987  *  0b1..Wire-mesh tamper 2 is enabled.
85988  */
85989 #define SNVS_LPTDCR_WMT2_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_WMT2_EN_SHIFT)) & SNVS_LPTDCR_WMT2_EN_MASK)
85990 
85991 #define SNVS_LPTDCR_ET1_EN_MASK                  (0x200U)
85992 #define SNVS_LPTDCR_ET1_EN_SHIFT                 (9U)
85993 /*! ET1_EN
85994  *  0b0..External tamper 1 is disabled.
85995  *  0b1..External tamper 1 is enabled.
85996  */
85997 #define SNVS_LPTDCR_ET1_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_ET1_EN_SHIFT)) & SNVS_LPTDCR_ET1_EN_MASK)
85998 
85999 #define SNVS_LPTDCR_ET2_EN_MASK                  (0x400U)
86000 #define SNVS_LPTDCR_ET2_EN_SHIFT                 (10U)
86001 /*! ET2_EN
86002  *  0b0..External tamper 2 is disabled.
86003  *  0b1..External tamper 2 is enabled.
86004  */
86005 #define SNVS_LPTDCR_ET2_EN(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_ET2_EN_SHIFT)) & SNVS_LPTDCR_ET2_EN_MASK)
86006 
86007 #define SNVS_LPTDCR_ET1P_MASK                    (0x800U)
86008 #define SNVS_LPTDCR_ET1P_SHIFT                   (11U)
86009 /*! ET1P
86010  *  0b0..External tamper 1 is active low.
86011  *  0b1..External tamper 1 is active high.
86012  */
86013 #define SNVS_LPTDCR_ET1P(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_ET1P_SHIFT)) & SNVS_LPTDCR_ET1P_MASK)
86014 
86015 #define SNVS_LPTDCR_ET2P_MASK                    (0x1000U)
86016 #define SNVS_LPTDCR_ET2P_SHIFT                   (12U)
86017 /*! ET2P
86018  *  0b0..External tamper 2 is active low.
86019  *  0b1..External tamper 2 is active high.
86020  */
86021 #define SNVS_LPTDCR_ET2P(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_ET2P_SHIFT)) & SNVS_LPTDCR_ET2P_MASK)
86022 
86023 #define SNVS_LPTDCR_PFD_OBSERV_MASK              (0x4000U)
86024 #define SNVS_LPTDCR_PFD_OBSERV_SHIFT             (14U)
86025 #define SNVS_LPTDCR_PFD_OBSERV(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_PFD_OBSERV_SHIFT)) & SNVS_LPTDCR_PFD_OBSERV_MASK)
86026 
86027 #define SNVS_LPTDCR_POR_OBSERV_MASK              (0x8000U)
86028 #define SNVS_LPTDCR_POR_OBSERV_SHIFT             (15U)
86029 #define SNVS_LPTDCR_POR_OBSERV(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_POR_OBSERV_SHIFT)) & SNVS_LPTDCR_POR_OBSERV_MASK)
86030 
86031 #define SNVS_LPTDCR_LTDC_MASK                    (0x70000U)
86032 #define SNVS_LPTDCR_LTDC_SHIFT                   (16U)
86033 #define SNVS_LPTDCR_LTDC(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_LTDC_SHIFT)) & SNVS_LPTDCR_LTDC_MASK)
86034 
86035 #define SNVS_LPTDCR_HTDC_MASK                    (0x700000U)
86036 #define SNVS_LPTDCR_HTDC_SHIFT                   (20U)
86037 #define SNVS_LPTDCR_HTDC(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_HTDC_SHIFT)) & SNVS_LPTDCR_HTDC_MASK)
86038 
86039 #define SNVS_LPTDCR_VRC_MASK                     (0x7000000U)
86040 #define SNVS_LPTDCR_VRC_SHIFT                    (24U)
86041 #define SNVS_LPTDCR_VRC(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_VRC_SHIFT)) & SNVS_LPTDCR_VRC_MASK)
86042 
86043 #define SNVS_LPTDCR_OSCB_MASK                    (0x10000000U)
86044 #define SNVS_LPTDCR_OSCB_SHIFT                   (28U)
86045 /*! OSCB
86046  *  0b0..Normal SRTC clock oscillator not bypassed.
86047  *  0b1..Normal SRTC clock oscillator bypassed. Alternate clock can drive the SRTC clock source.
86048  */
86049 #define SNVS_LPTDCR_OSCB(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDCR_OSCB_SHIFT)) & SNVS_LPTDCR_OSCB_MASK)
86050 /*! @} */
86051 
86052 /*! @name LPSR - SNVS_LP Status Register */
86053 /*! @{ */
86054 
86055 #define SNVS_LPSR_LPTA_MASK                      (0x1U)
86056 #define SNVS_LPSR_LPTA_SHIFT                     (0U)
86057 /*! LPTA
86058  *  0b0..No time alarm interrupt occurred.
86059  *  0b1..A time alarm interrupt occurred.
86060  */
86061 #define SNVS_LPSR_LPTA(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_LPTA_SHIFT)) & SNVS_LPSR_LPTA_MASK)
86062 
86063 #define SNVS_LPSR_SRTCR_MASK                     (0x2U)
86064 #define SNVS_LPSR_SRTCR_SHIFT                    (1U)
86065 /*! SRTCR
86066  *  0b0..SRTC has not reached its maximum value.
86067  *  0b1..SRTC has reached its maximum value.
86068  */
86069 #define SNVS_LPSR_SRTCR(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_SRTCR_SHIFT)) & SNVS_LPSR_SRTCR_MASK)
86070 
86071 #define SNVS_LPSR_MCR_MASK                       (0x4U)
86072 #define SNVS_LPSR_MCR_SHIFT                      (2U)
86073 /*! MCR
86074  *  0b0..MC has not reached its maximum value.
86075  *  0b1..MC has reached its maximum value.
86076  */
86077 #define SNVS_LPSR_MCR(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_MCR_SHIFT)) & SNVS_LPSR_MCR_MASK)
86078 
86079 #define SNVS_LPSR_LVD_MASK                       (0x8U)
86080 #define SNVS_LPSR_LVD_SHIFT                      (3U)
86081 /*! LVD
86082  *  0b0..No low voltage event detected.
86083  *  0b1..Low voltage event is detected.
86084  */
86085 #define SNVS_LPSR_LVD(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_LVD_SHIFT)) & SNVS_LPSR_LVD_MASK)
86086 
86087 #define SNVS_LPSR_CTD_MASK                       (0x10U)
86088 #define SNVS_LPSR_CTD_SHIFT                      (4U)
86089 /*! CTD
86090  *  0b0..No clock tamper.
86091  *  0b1..Clock tamper is detected.
86092  */
86093 #define SNVS_LPSR_CTD(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_CTD_SHIFT)) & SNVS_LPSR_CTD_MASK)
86094 
86095 #define SNVS_LPSR_TTD_MASK                       (0x20U)
86096 #define SNVS_LPSR_TTD_SHIFT                      (5U)
86097 /*! TTD
86098  *  0b0..No temperature tamper.
86099  *  0b1..Temperature tamper is detected.
86100  */
86101 #define SNVS_LPSR_TTD(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_TTD_SHIFT)) & SNVS_LPSR_TTD_MASK)
86102 
86103 #define SNVS_LPSR_VTD_MASK                       (0x40U)
86104 #define SNVS_LPSR_VTD_SHIFT                      (6U)
86105 /*! VTD
86106  *  0b0..Voltage tampering not detected.
86107  *  0b1..Voltage tampering detected.
86108  */
86109 #define SNVS_LPSR_VTD(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_VTD_SHIFT)) & SNVS_LPSR_VTD_MASK)
86110 
86111 #define SNVS_LPSR_WMT1D_MASK                     (0x80U)
86112 #define SNVS_LPSR_WMT1D_SHIFT                    (7U)
86113 /*! WMT1D
86114  *  0b0..Wire-mesh tampering 1 not detected.
86115  *  0b1..Wire-mesh tampering 1 detected.
86116  */
86117 #define SNVS_LPSR_WMT1D(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_WMT1D_SHIFT)) & SNVS_LPSR_WMT1D_MASK)
86118 
86119 #define SNVS_LPSR_WMT2D_MASK                     (0x100U)
86120 #define SNVS_LPSR_WMT2D_SHIFT                    (8U)
86121 /*! WMT2D
86122  *  0b0..Wire-mesh tampering 2 not detected.
86123  *  0b1..Wire-mesh tampering 2 detected.
86124  */
86125 #define SNVS_LPSR_WMT2D(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_WMT2D_SHIFT)) & SNVS_LPSR_WMT2D_MASK)
86126 
86127 #define SNVS_LPSR_ET1D_MASK                      (0x200U)
86128 #define SNVS_LPSR_ET1D_SHIFT                     (9U)
86129 /*! ET1D
86130  *  0b0..External tampering 1 not detected.
86131  *  0b1..External tampering 1 detected.
86132  */
86133 #define SNVS_LPSR_ET1D(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_ET1D_SHIFT)) & SNVS_LPSR_ET1D_MASK)
86134 
86135 #define SNVS_LPSR_ET2D_MASK                      (0x400U)
86136 #define SNVS_LPSR_ET2D_SHIFT                     (10U)
86137 /*! ET2D
86138  *  0b0..External tampering 2 not detected.
86139  *  0b1..External tampering 2 detected.
86140  */
86141 #define SNVS_LPSR_ET2D(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_ET2D_SHIFT)) & SNVS_LPSR_ET2D_MASK)
86142 
86143 #define SNVS_LPSR_ESVD_MASK                      (0x10000U)
86144 #define SNVS_LPSR_ESVD_SHIFT                     (16U)
86145 /*! ESVD
86146  *  0b0..No external security violation.
86147  *  0b1..External security violation is detected.
86148  */
86149 #define SNVS_LPSR_ESVD(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_ESVD_SHIFT)) & SNVS_LPSR_ESVD_MASK)
86150 
86151 #define SNVS_LPSR_EO_MASK                        (0x20000U)
86152 #define SNVS_LPSR_EO_SHIFT                       (17U)
86153 /*! EO
86154  *  0b0..Emergency off was not detected.
86155  *  0b1..Emergency off was detected.
86156  */
86157 #define SNVS_LPSR_EO(x)                          (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_EO_SHIFT)) & SNVS_LPSR_EO_MASK)
86158 
86159 #define SNVS_LPSR_SPOF_MASK                      (0x40000U)
86160 #define SNVS_LPSR_SPOF_SHIFT                     (18U)
86161 /*! SPOF
86162  *  0b0..Set Power Off was not detected.
86163  *  0b1..Set Power Off was detected.
86164  */
86165 #define SNVS_LPSR_SPOF(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_SPOF_SHIFT)) & SNVS_LPSR_SPOF_MASK)
86166 
86167 #define SNVS_LPSR_LPNS_MASK                      (0x40000000U)
86168 #define SNVS_LPSR_LPNS_SHIFT                     (30U)
86169 /*! LPNS
86170  *  0b0..LP section was not programmed in the non-secure state.
86171  *  0b1..LP section was programmed in the non-secure state.
86172  */
86173 #define SNVS_LPSR_LPNS(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_LPNS_SHIFT)) & SNVS_LPSR_LPNS_MASK)
86174 
86175 #define SNVS_LPSR_LPS_MASK                       (0x80000000U)
86176 #define SNVS_LPSR_LPS_SHIFT                      (31U)
86177 /*! LPS
86178  *  0b0..LP section was not programmed in secure or trusted state.
86179  *  0b1..LP section was programmed in secure or trusted state.
86180  */
86181 #define SNVS_LPSR_LPS(x)                         (((uint32_t)(((uint32_t)(x)) << SNVS_LPSR_LPS_SHIFT)) & SNVS_LPSR_LPS_MASK)
86182 /*! @} */
86183 
86184 /*! @name LPSRTCMR - SNVS_LP Secure Real Time Counter MSB Register */
86185 /*! @{ */
86186 
86187 #define SNVS_LPSRTCMR_SRTC_MASK                  (0x7FFFU)
86188 #define SNVS_LPSRTCMR_SRTC_SHIFT                 (0U)
86189 #define SNVS_LPSRTCMR_SRTC(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPSRTCMR_SRTC_SHIFT)) & SNVS_LPSRTCMR_SRTC_MASK)
86190 /*! @} */
86191 
86192 /*! @name LPSRTCLR - SNVS_LP Secure Real Time Counter LSB Register */
86193 /*! @{ */
86194 
86195 #define SNVS_LPSRTCLR_SRTC_MASK                  (0xFFFFFFFFU)
86196 #define SNVS_LPSRTCLR_SRTC_SHIFT                 (0U)
86197 #define SNVS_LPSRTCLR_SRTC(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPSRTCLR_SRTC_SHIFT)) & SNVS_LPSRTCLR_SRTC_MASK)
86198 /*! @} */
86199 
86200 /*! @name LPTAR - SNVS_LP Time Alarm Register */
86201 /*! @{ */
86202 
86203 #define SNVS_LPTAR_LPTA_MASK                     (0xFFFFFFFFU)
86204 #define SNVS_LPTAR_LPTA_SHIFT                    (0U)
86205 #define SNVS_LPTAR_LPTA(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPTAR_LPTA_SHIFT)) & SNVS_LPTAR_LPTA_MASK)
86206 /*! @} */
86207 
86208 /*! @name LPSMCMR - SNVS_LP Secure Monotonic Counter MSB Register */
86209 /*! @{ */
86210 
86211 #define SNVS_LPSMCMR_MON_COUNTER_MASK            (0xFFFFU)
86212 #define SNVS_LPSMCMR_MON_COUNTER_SHIFT           (0U)
86213 #define SNVS_LPSMCMR_MON_COUNTER(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPSMCMR_MON_COUNTER_SHIFT)) & SNVS_LPSMCMR_MON_COUNTER_MASK)
86214 
86215 #define SNVS_LPSMCMR_MC_ERA_BITS_MASK            (0xFFFF0000U)
86216 #define SNVS_LPSMCMR_MC_ERA_BITS_SHIFT           (16U)
86217 #define SNVS_LPSMCMR_MC_ERA_BITS(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPSMCMR_MC_ERA_BITS_SHIFT)) & SNVS_LPSMCMR_MC_ERA_BITS_MASK)
86218 /*! @} */
86219 
86220 /*! @name LPSMCLR - SNVS_LP Secure Monotonic Counter LSB Register */
86221 /*! @{ */
86222 
86223 #define SNVS_LPSMCLR_MON_COUNTER_MASK            (0xFFFFFFFFU)
86224 #define SNVS_LPSMCLR_MON_COUNTER_SHIFT           (0U)
86225 #define SNVS_LPSMCLR_MON_COUNTER(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPSMCLR_MON_COUNTER_SHIFT)) & SNVS_LPSMCLR_MON_COUNTER_MASK)
86226 /*! @} */
86227 
86228 /*! @name LPLVDR - SNVS_LP Digital Low-Voltage Detector Register */
86229 /*! @{ */
86230 
86231 #define SNVS_LPLVDR_LVD_MASK                     (0xFFFFFFFFU)
86232 #define SNVS_LPLVDR_LVD_SHIFT                    (0U)
86233 #define SNVS_LPLVDR_LVD(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPLVDR_LVD_SHIFT)) & SNVS_LPLVDR_LVD_MASK)
86234 /*! @} */
86235 
86236 /*! @name LPGPR0_LEGACY_ALIAS - SNVS_LP General Purpose Register 0 (legacy alias) */
86237 /*! @{ */
86238 
86239 #define SNVS_LPGPR0_LEGACY_ALIAS_GPR_MASK        (0xFFFFFFFFU)
86240 #define SNVS_LPGPR0_LEGACY_ALIAS_GPR_SHIFT       (0U)
86241 #define SNVS_LPGPR0_LEGACY_ALIAS_GPR(x)          (((uint32_t)(((uint32_t)(x)) << SNVS_LPGPR0_LEGACY_ALIAS_GPR_SHIFT)) & SNVS_LPGPR0_LEGACY_ALIAS_GPR_MASK)
86242 /*! @} */
86243 
86244 /*! @name LPZMKR - SNVS_LP Zeroizable Master Key Register */
86245 /*! @{ */
86246 
86247 #define SNVS_LPZMKR_ZMK_MASK                     (0xFFFFFFFFU)
86248 #define SNVS_LPZMKR_ZMK_SHIFT                    (0U)
86249 #define SNVS_LPZMKR_ZMK(x)                       (((uint32_t)(((uint32_t)(x)) << SNVS_LPZMKR_ZMK_SHIFT)) & SNVS_LPZMKR_ZMK_MASK)
86250 /*! @} */
86251 
86252 /* The count of SNVS_LPZMKR */
86253 #define SNVS_LPZMKR_COUNT                        (8U)
86254 
86255 /*! @name LPGPR_ALIAS - SNVS_LP General Purpose Registers 0 .. 3 */
86256 /*! @{ */
86257 
86258 #define SNVS_LPGPR_ALIAS_GPR_MASK                (0xFFFFFFFFU)
86259 #define SNVS_LPGPR_ALIAS_GPR_SHIFT               (0U)
86260 #define SNVS_LPGPR_ALIAS_GPR(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPGPR_ALIAS_GPR_SHIFT)) & SNVS_LPGPR_ALIAS_GPR_MASK)
86261 /*! @} */
86262 
86263 /* The count of SNVS_LPGPR_ALIAS */
86264 #define SNVS_LPGPR_ALIAS_COUNT                   (4U)
86265 
86266 /*! @name LPTDC2R - SNVS_LP Tamper Detectors Config 2 Register */
86267 /*! @{ */
86268 
86269 #define SNVS_LPTDC2R_ET3_EN_MASK                 (0x1U)
86270 #define SNVS_LPTDC2R_ET3_EN_SHIFT                (0U)
86271 /*! ET3_EN
86272  *  0b0..External tamper 3 is disabled.
86273  *  0b1..External tamper 3 is enabled.
86274  */
86275 #define SNVS_LPTDC2R_ET3_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET3_EN_SHIFT)) & SNVS_LPTDC2R_ET3_EN_MASK)
86276 
86277 #define SNVS_LPTDC2R_ET4_EN_MASK                 (0x2U)
86278 #define SNVS_LPTDC2R_ET4_EN_SHIFT                (1U)
86279 /*! ET4_EN
86280  *  0b0..External tamper 4 is disabled.
86281  *  0b1..External tamper 4 is enabled.
86282  */
86283 #define SNVS_LPTDC2R_ET4_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET4_EN_SHIFT)) & SNVS_LPTDC2R_ET4_EN_MASK)
86284 
86285 #define SNVS_LPTDC2R_ET5_EN_MASK                 (0x4U)
86286 #define SNVS_LPTDC2R_ET5_EN_SHIFT                (2U)
86287 /*! ET5_EN
86288  *  0b0..External tamper 5 is disabled.
86289  *  0b1..External tamper 5 is enabled.
86290  */
86291 #define SNVS_LPTDC2R_ET5_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET5_EN_SHIFT)) & SNVS_LPTDC2R_ET5_EN_MASK)
86292 
86293 #define SNVS_LPTDC2R_ET6_EN_MASK                 (0x8U)
86294 #define SNVS_LPTDC2R_ET6_EN_SHIFT                (3U)
86295 /*! ET6_EN
86296  *  0b0..External tamper 6 is disabled.
86297  *  0b1..External tamper 6 is enabled.
86298  */
86299 #define SNVS_LPTDC2R_ET6_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET6_EN_SHIFT)) & SNVS_LPTDC2R_ET6_EN_MASK)
86300 
86301 #define SNVS_LPTDC2R_ET7_EN_MASK                 (0x10U)
86302 #define SNVS_LPTDC2R_ET7_EN_SHIFT                (4U)
86303 /*! ET7_EN
86304  *  0b0..External tamper 7 is disabled.
86305  *  0b1..External tamper 7 is enabled.
86306  */
86307 #define SNVS_LPTDC2R_ET7_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET7_EN_SHIFT)) & SNVS_LPTDC2R_ET7_EN_MASK)
86308 
86309 #define SNVS_LPTDC2R_ET8_EN_MASK                 (0x20U)
86310 #define SNVS_LPTDC2R_ET8_EN_SHIFT                (5U)
86311 /*! ET8_EN
86312  *  0b0..External tamper 8 is disabled.
86313  *  0b1..External tamper 8 is enabled.
86314  */
86315 #define SNVS_LPTDC2R_ET8_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET8_EN_SHIFT)) & SNVS_LPTDC2R_ET8_EN_MASK)
86316 
86317 #define SNVS_LPTDC2R_ET9_EN_MASK                 (0x40U)
86318 #define SNVS_LPTDC2R_ET9_EN_SHIFT                (6U)
86319 /*! ET9_EN
86320  *  0b0..External tamper 9 is disabled.
86321  *  0b1..External tamper 9 is enabled.
86322  */
86323 #define SNVS_LPTDC2R_ET9_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET9_EN_SHIFT)) & SNVS_LPTDC2R_ET9_EN_MASK)
86324 
86325 #define SNVS_LPTDC2R_ET10_EN_MASK                (0x80U)
86326 #define SNVS_LPTDC2R_ET10_EN_SHIFT               (7U)
86327 /*! ET10_EN
86328  *  0b0..External tamper 10 is disabled.
86329  *  0b1..External tamper 10 is enabled.
86330  */
86331 #define SNVS_LPTDC2R_ET10_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET10_EN_SHIFT)) & SNVS_LPTDC2R_ET10_EN_MASK)
86332 
86333 #define SNVS_LPTDC2R_ET3P_MASK                   (0x10000U)
86334 #define SNVS_LPTDC2R_ET3P_SHIFT                  (16U)
86335 /*! ET3P
86336  *  0b0..External tamper 3 active low.
86337  *  0b1..External tamper 3 active high.
86338  */
86339 #define SNVS_LPTDC2R_ET3P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET3P_SHIFT)) & SNVS_LPTDC2R_ET3P_MASK)
86340 
86341 #define SNVS_LPTDC2R_ET4P_MASK                   (0x20000U)
86342 #define SNVS_LPTDC2R_ET4P_SHIFT                  (17U)
86343 /*! ET4P
86344  *  0b0..External tamper 4 is active low.
86345  *  0b1..External tamper 4 is active high.
86346  */
86347 #define SNVS_LPTDC2R_ET4P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET4P_SHIFT)) & SNVS_LPTDC2R_ET4P_MASK)
86348 
86349 #define SNVS_LPTDC2R_ET5P_MASK                   (0x40000U)
86350 #define SNVS_LPTDC2R_ET5P_SHIFT                  (18U)
86351 /*! ET5P
86352  *  0b0..External tamper 5 is active low.
86353  *  0b1..External tamper 5 is active high.
86354  */
86355 #define SNVS_LPTDC2R_ET5P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET5P_SHIFT)) & SNVS_LPTDC2R_ET5P_MASK)
86356 
86357 #define SNVS_LPTDC2R_ET6P_MASK                   (0x80000U)
86358 #define SNVS_LPTDC2R_ET6P_SHIFT                  (19U)
86359 /*! ET6P
86360  *  0b0..External tamper 6 is active low.
86361  *  0b1..External tamper 6 is active high.
86362  */
86363 #define SNVS_LPTDC2R_ET6P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET6P_SHIFT)) & SNVS_LPTDC2R_ET6P_MASK)
86364 
86365 #define SNVS_LPTDC2R_ET7P_MASK                   (0x100000U)
86366 #define SNVS_LPTDC2R_ET7P_SHIFT                  (20U)
86367 /*! ET7P
86368  *  0b0..External tamper 7 is active low.
86369  *  0b1..External tamper 7 is active high.
86370  */
86371 #define SNVS_LPTDC2R_ET7P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET7P_SHIFT)) & SNVS_LPTDC2R_ET7P_MASK)
86372 
86373 #define SNVS_LPTDC2R_ET8P_MASK                   (0x200000U)
86374 #define SNVS_LPTDC2R_ET8P_SHIFT                  (21U)
86375 /*! ET8P
86376  *  0b0..External tamper 8 is active low.
86377  *  0b1..External tamper 8 is active high.
86378  */
86379 #define SNVS_LPTDC2R_ET8P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET8P_SHIFT)) & SNVS_LPTDC2R_ET8P_MASK)
86380 
86381 #define SNVS_LPTDC2R_ET9P_MASK                   (0x400000U)
86382 #define SNVS_LPTDC2R_ET9P_SHIFT                  (22U)
86383 /*! ET9P
86384  *  0b0..External tamper 9 is active low.
86385  *  0b1..External tamper 9 is active high.
86386  */
86387 #define SNVS_LPTDC2R_ET9P(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET9P_SHIFT)) & SNVS_LPTDC2R_ET9P_MASK)
86388 
86389 #define SNVS_LPTDC2R_ET10P_MASK                  (0x800000U)
86390 #define SNVS_LPTDC2R_ET10P_SHIFT                 (23U)
86391 /*! ET10P
86392  *  0b0..External tamper 10 is active low.
86393  *  0b1..External tamper 10 is active high.
86394  */
86395 #define SNVS_LPTDC2R_ET10P(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDC2R_ET10P_SHIFT)) & SNVS_LPTDC2R_ET10P_MASK)
86396 /*! @} */
86397 
86398 /*! @name LPTDSR - SNVS_LP Tamper Detectors Status Register */
86399 /*! @{ */
86400 
86401 #define SNVS_LPTDSR_ET3D_MASK                    (0x1U)
86402 #define SNVS_LPTDSR_ET3D_SHIFT                   (0U)
86403 /*! ET3D
86404  *  0b0..External tamper 3 is not detected.
86405  *  0b1..External tamper 3 is detected.
86406  */
86407 #define SNVS_LPTDSR_ET3D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET3D_SHIFT)) & SNVS_LPTDSR_ET3D_MASK)
86408 
86409 #define SNVS_LPTDSR_ET4D_MASK                    (0x2U)
86410 #define SNVS_LPTDSR_ET4D_SHIFT                   (1U)
86411 /*! ET4D
86412  *  0b0..External tamper 4 is not detected.
86413  *  0b1..External tamper 4 is detected.
86414  */
86415 #define SNVS_LPTDSR_ET4D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET4D_SHIFT)) & SNVS_LPTDSR_ET4D_MASK)
86416 
86417 #define SNVS_LPTDSR_ET5D_MASK                    (0x4U)
86418 #define SNVS_LPTDSR_ET5D_SHIFT                   (2U)
86419 /*! ET5D
86420  *  0b0..External tamper 5 is not detected.
86421  *  0b1..External tamper 5 is detected.
86422  */
86423 #define SNVS_LPTDSR_ET5D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET5D_SHIFT)) & SNVS_LPTDSR_ET5D_MASK)
86424 
86425 #define SNVS_LPTDSR_ET6D_MASK                    (0x8U)
86426 #define SNVS_LPTDSR_ET6D_SHIFT                   (3U)
86427 /*! ET6D
86428  *  0b0..External tamper 6 is not detected.
86429  *  0b1..External tamper 6 is detected.
86430  */
86431 #define SNVS_LPTDSR_ET6D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET6D_SHIFT)) & SNVS_LPTDSR_ET6D_MASK)
86432 
86433 #define SNVS_LPTDSR_ET7D_MASK                    (0x10U)
86434 #define SNVS_LPTDSR_ET7D_SHIFT                   (4U)
86435 /*! ET7D
86436  *  0b0..External tamper 7 is not detected.
86437  *  0b1..External tamper 7 is detected.
86438  */
86439 #define SNVS_LPTDSR_ET7D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET7D_SHIFT)) & SNVS_LPTDSR_ET7D_MASK)
86440 
86441 #define SNVS_LPTDSR_ET8D_MASK                    (0x20U)
86442 #define SNVS_LPTDSR_ET8D_SHIFT                   (5U)
86443 /*! ET8D
86444  *  0b0..External tamper 8 is not detected.
86445  *  0b1..External tamper 8 is detected.
86446  */
86447 #define SNVS_LPTDSR_ET8D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET8D_SHIFT)) & SNVS_LPTDSR_ET8D_MASK)
86448 
86449 #define SNVS_LPTDSR_ET9D_MASK                    (0x40U)
86450 #define SNVS_LPTDSR_ET9D_SHIFT                   (6U)
86451 /*! ET9D
86452  *  0b0..External tamper 9 is not detected.
86453  *  0b1..External tamper 9 is detected.
86454  */
86455 #define SNVS_LPTDSR_ET9D(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET9D_SHIFT)) & SNVS_LPTDSR_ET9D_MASK)
86456 
86457 #define SNVS_LPTDSR_ET10D_MASK                   (0x80U)
86458 #define SNVS_LPTDSR_ET10D_SHIFT                  (7U)
86459 /*! ET10D
86460  *  0b0..External tamper 10 is not detected.
86461  *  0b1..External tamper 10 is detected.
86462  */
86463 #define SNVS_LPTDSR_ET10D(x)                     (((uint32_t)(((uint32_t)(x)) << SNVS_LPTDSR_ET10D_SHIFT)) & SNVS_LPTDSR_ET10D_MASK)
86464 /*! @} */
86465 
86466 /*! @name LPTGF1CR - SNVS_LP Tamper Glitch Filter 1 Configuration Register */
86467 /*! @{ */
86468 
86469 #define SNVS_LPTGF1CR_ETGF3_MASK                 (0x7FU)
86470 #define SNVS_LPTGF1CR_ETGF3_SHIFT                (0U)
86471 #define SNVS_LPTGF1CR_ETGF3(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF3_SHIFT)) & SNVS_LPTGF1CR_ETGF3_MASK)
86472 
86473 #define SNVS_LPTGF1CR_ETGF3_EN_MASK              (0x80U)
86474 #define SNVS_LPTGF1CR_ETGF3_EN_SHIFT             (7U)
86475 /*! ETGF3_EN
86476  *  0b0..External tamper glitch filter 3 is bypassed.
86477  *  0b1..External tamper glitch filter 3 is enabled.
86478  */
86479 #define SNVS_LPTGF1CR_ETGF3_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF3_EN_SHIFT)) & SNVS_LPTGF1CR_ETGF3_EN_MASK)
86480 
86481 #define SNVS_LPTGF1CR_ETGF4_MASK                 (0x7F00U)
86482 #define SNVS_LPTGF1CR_ETGF4_SHIFT                (8U)
86483 #define SNVS_LPTGF1CR_ETGF4(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF4_SHIFT)) & SNVS_LPTGF1CR_ETGF4_MASK)
86484 
86485 #define SNVS_LPTGF1CR_ETGF4_EN_MASK              (0x8000U)
86486 #define SNVS_LPTGF1CR_ETGF4_EN_SHIFT             (15U)
86487 /*! ETGF4_EN
86488  *  0b0..External tamper glitch filter 4 is bypassed.
86489  *  0b1..External tamper glitch filter 4 is enabled.
86490  */
86491 #define SNVS_LPTGF1CR_ETGF4_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF4_EN_SHIFT)) & SNVS_LPTGF1CR_ETGF4_EN_MASK)
86492 
86493 #define SNVS_LPTGF1CR_ETGF5_MASK                 (0x7F0000U)
86494 #define SNVS_LPTGF1CR_ETGF5_SHIFT                (16U)
86495 #define SNVS_LPTGF1CR_ETGF5(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF5_SHIFT)) & SNVS_LPTGF1CR_ETGF5_MASK)
86496 
86497 #define SNVS_LPTGF1CR_ETGF5_EN_MASK              (0x800000U)
86498 #define SNVS_LPTGF1CR_ETGF5_EN_SHIFT             (23U)
86499 /*! ETGF5_EN
86500  *  0b0..External tamper glitch filter 5 is bypassed.
86501  *  0b1..External tamper glitch filter 5 is enabled.
86502  */
86503 #define SNVS_LPTGF1CR_ETGF5_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF5_EN_SHIFT)) & SNVS_LPTGF1CR_ETGF5_EN_MASK)
86504 
86505 #define SNVS_LPTGF1CR_ETGF6_MASK                 (0x7F000000U)
86506 #define SNVS_LPTGF1CR_ETGF6_SHIFT                (24U)
86507 #define SNVS_LPTGF1CR_ETGF6(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF6_SHIFT)) & SNVS_LPTGF1CR_ETGF6_MASK)
86508 
86509 #define SNVS_LPTGF1CR_ETGF6_EN_MASK              (0x80000000U)
86510 #define SNVS_LPTGF1CR_ETGF6_EN_SHIFT             (31U)
86511 /*! ETGF6_EN
86512  *  0b0..External tamper glitch filter 6 is bypassed.
86513  *  0b1..External tamper glitch filter 6 is enabled.
86514  */
86515 #define SNVS_LPTGF1CR_ETGF6_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF1CR_ETGF6_EN_SHIFT)) & SNVS_LPTGF1CR_ETGF6_EN_MASK)
86516 /*! @} */
86517 
86518 /*! @name LPTGF2CR - SNVS_LP Tamper Glitch Filter 2 Configuration Register */
86519 /*! @{ */
86520 
86521 #define SNVS_LPTGF2CR_ETGF7_MASK                 (0x7FU)
86522 #define SNVS_LPTGF2CR_ETGF7_SHIFT                (0U)
86523 #define SNVS_LPTGF2CR_ETGF7(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF7_SHIFT)) & SNVS_LPTGF2CR_ETGF7_MASK)
86524 
86525 #define SNVS_LPTGF2CR_ETGF7_EN_MASK              (0x80U)
86526 #define SNVS_LPTGF2CR_ETGF7_EN_SHIFT             (7U)
86527 /*! ETGF7_EN
86528  *  0b0..External tamper glitch filter 7 is bypassed.
86529  *  0b1..External tamper glitch filter 7 is enabled.
86530  */
86531 #define SNVS_LPTGF2CR_ETGF7_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF7_EN_SHIFT)) & SNVS_LPTGF2CR_ETGF7_EN_MASK)
86532 
86533 #define SNVS_LPTGF2CR_ETGF8_MASK                 (0x7F00U)
86534 #define SNVS_LPTGF2CR_ETGF8_SHIFT                (8U)
86535 #define SNVS_LPTGF2CR_ETGF8(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF8_SHIFT)) & SNVS_LPTGF2CR_ETGF8_MASK)
86536 
86537 #define SNVS_LPTGF2CR_ETGF8_EN_MASK              (0x8000U)
86538 #define SNVS_LPTGF2CR_ETGF8_EN_SHIFT             (15U)
86539 /*! ETGF8_EN
86540  *  0b0..External tamper glitch filter 8 is bypassed.
86541  *  0b1..External tamper glitch filter 8 is enabled.
86542  */
86543 #define SNVS_LPTGF2CR_ETGF8_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF8_EN_SHIFT)) & SNVS_LPTGF2CR_ETGF8_EN_MASK)
86544 
86545 #define SNVS_LPTGF2CR_ETGF9_MASK                 (0x7F0000U)
86546 #define SNVS_LPTGF2CR_ETGF9_SHIFT                (16U)
86547 #define SNVS_LPTGF2CR_ETGF9(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF9_SHIFT)) & SNVS_LPTGF2CR_ETGF9_MASK)
86548 
86549 #define SNVS_LPTGF2CR_ETGF9_EN_MASK              (0x800000U)
86550 #define SNVS_LPTGF2CR_ETGF9_EN_SHIFT             (23U)
86551 /*! ETGF9_EN
86552  *  0b0..External tamper glitch filter 9 is bypassed.
86553  *  0b1..External tamper glitch filter 9 is enabled.
86554  */
86555 #define SNVS_LPTGF2CR_ETGF9_EN(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF9_EN_SHIFT)) & SNVS_LPTGF2CR_ETGF9_EN_MASK)
86556 
86557 #define SNVS_LPTGF2CR_ETGF10_MASK                (0x7F000000U)
86558 #define SNVS_LPTGF2CR_ETGF10_SHIFT               (24U)
86559 #define SNVS_LPTGF2CR_ETGF10(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF10_SHIFT)) & SNVS_LPTGF2CR_ETGF10_MASK)
86560 
86561 #define SNVS_LPTGF2CR_ETGF10_EN_MASK             (0x80000000U)
86562 #define SNVS_LPTGF2CR_ETGF10_EN_SHIFT            (31U)
86563 /*! ETGF10_EN
86564  *  0b0..External tamper glitch filter 10 is bypassed.
86565  *  0b1..External tamper glitch filter 10 is enabled.
86566  */
86567 #define SNVS_LPTGF2CR_ETGF10_EN(x)               (((uint32_t)(((uint32_t)(x)) << SNVS_LPTGF2CR_ETGF10_EN_SHIFT)) & SNVS_LPTGF2CR_ETGF10_EN_MASK)
86568 /*! @} */
86569 
86570 /*! @name LPATCR - SNVS_LP Active Tamper 1 Configuration Register..SNVS_LP Active Tamper 5 Configuration Register */
86571 /*! @{ */
86572 
86573 #define SNVS_LPATCR_Seed_MASK                    (0xFFFFU)
86574 #define SNVS_LPATCR_Seed_SHIFT                   (0U)
86575 #define SNVS_LPATCR_Seed(x)                      (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCR_Seed_SHIFT)) & SNVS_LPATCR_Seed_MASK)
86576 
86577 #define SNVS_LPATCR_Polynomial_MASK              (0xFFFF0000U)
86578 #define SNVS_LPATCR_Polynomial_SHIFT             (16U)
86579 #define SNVS_LPATCR_Polynomial(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCR_Polynomial_SHIFT)) & SNVS_LPATCR_Polynomial_MASK)
86580 /*! @} */
86581 
86582 /* The count of SNVS_LPATCR */
86583 #define SNVS_LPATCR_COUNT                        (5U)
86584 
86585 /*! @name LPATCTLR - SNVS_LP Active Tamper Control Register */
86586 /*! @{ */
86587 
86588 #define SNVS_LPATCTLR_AT1_EN_MASK                (0x1U)
86589 #define SNVS_LPATCTLR_AT1_EN_SHIFT               (0U)
86590 /*! AT1_EN
86591  *  0b0..Active Tamper 1 is disabled.
86592  *  0b1..Active Tamper 1 is enabled.
86593  */
86594 #define SNVS_LPATCTLR_AT1_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT1_EN_SHIFT)) & SNVS_LPATCTLR_AT1_EN_MASK)
86595 
86596 #define SNVS_LPATCTLR_AT2_EN_MASK                (0x2U)
86597 #define SNVS_LPATCTLR_AT2_EN_SHIFT               (1U)
86598 /*! AT2_EN
86599  *  0b0..Active Tamper 2 is disabled.
86600  *  0b1..Active Tamper 2 is enabled.
86601  */
86602 #define SNVS_LPATCTLR_AT2_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT2_EN_SHIFT)) & SNVS_LPATCTLR_AT2_EN_MASK)
86603 
86604 #define SNVS_LPATCTLR_AT3_EN_MASK                (0x4U)
86605 #define SNVS_LPATCTLR_AT3_EN_SHIFT               (2U)
86606 /*! AT3_EN
86607  *  0b0..Active Tamper 3 is disabled.
86608  *  0b1..Active Tamper 3 is enabled.
86609  */
86610 #define SNVS_LPATCTLR_AT3_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT3_EN_SHIFT)) & SNVS_LPATCTLR_AT3_EN_MASK)
86611 
86612 #define SNVS_LPATCTLR_AT4_EN_MASK                (0x8U)
86613 #define SNVS_LPATCTLR_AT4_EN_SHIFT               (3U)
86614 /*! AT4_EN
86615  *  0b0..Active Tamper 4 is disabled.
86616  *  0b1..Active Tamper 4 is enabled.
86617  */
86618 #define SNVS_LPATCTLR_AT4_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT4_EN_SHIFT)) & SNVS_LPATCTLR_AT4_EN_MASK)
86619 
86620 #define SNVS_LPATCTLR_AT5_EN_MASK                (0x10U)
86621 #define SNVS_LPATCTLR_AT5_EN_SHIFT               (4U)
86622 /*! AT5_EN
86623  *  0b0..Active Tamper 5 is disabled.
86624  *  0b1..Active Tamper 5 is enabled.
86625  */
86626 #define SNVS_LPATCTLR_AT5_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT5_EN_SHIFT)) & SNVS_LPATCTLR_AT5_EN_MASK)
86627 
86628 #define SNVS_LPATCTLR_AT1_PAD_EN_MASK            (0x10000U)
86629 #define SNVS_LPATCTLR_AT1_PAD_EN_SHIFT           (16U)
86630 /*! AT1_PAD_EN
86631  *  0b0..Active Tamper 1 is disabled.
86632  *  0b1..Active Tamper 1 is enabled.
86633  */
86634 #define SNVS_LPATCTLR_AT1_PAD_EN(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT1_PAD_EN_SHIFT)) & SNVS_LPATCTLR_AT1_PAD_EN_MASK)
86635 
86636 #define SNVS_LPATCTLR_AT2_PAD_EN_MASK            (0x20000U)
86637 #define SNVS_LPATCTLR_AT2_PAD_EN_SHIFT           (17U)
86638 /*! AT2_PAD_EN
86639  *  0b0..Active Tamper 2 is disabled.
86640  *  0b1..Active Tamper 2 is enabled.
86641  */
86642 #define SNVS_LPATCTLR_AT2_PAD_EN(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT2_PAD_EN_SHIFT)) & SNVS_LPATCTLR_AT2_PAD_EN_MASK)
86643 
86644 #define SNVS_LPATCTLR_AT3_PAD_EN_MASK            (0x40000U)
86645 #define SNVS_LPATCTLR_AT3_PAD_EN_SHIFT           (18U)
86646 /*! AT3_PAD_EN
86647  *  0b0..Active Tamper 3 is disabled.
86648  *  0b1..Active Tamper 3 is enabled
86649  */
86650 #define SNVS_LPATCTLR_AT3_PAD_EN(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT3_PAD_EN_SHIFT)) & SNVS_LPATCTLR_AT3_PAD_EN_MASK)
86651 
86652 #define SNVS_LPATCTLR_AT4_PAD_EN_MASK            (0x80000U)
86653 #define SNVS_LPATCTLR_AT4_PAD_EN_SHIFT           (19U)
86654 /*! AT4_PAD_EN
86655  *  0b0..Active Tamper 4 is disabled.
86656  *  0b1..Active Tamper 4 is enabled.
86657  */
86658 #define SNVS_LPATCTLR_AT4_PAD_EN(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT4_PAD_EN_SHIFT)) & SNVS_LPATCTLR_AT4_PAD_EN_MASK)
86659 
86660 #define SNVS_LPATCTLR_AT5_PAD_EN_MASK            (0x100000U)
86661 #define SNVS_LPATCTLR_AT5_PAD_EN_SHIFT           (20U)
86662 /*! AT5_PAD_EN
86663  *  0b0..Active Tamper 5 is disabled.
86664  *  0b1..Active Tamper 5 is enabled.
86665  */
86666 #define SNVS_LPATCTLR_AT5_PAD_EN(x)              (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCTLR_AT5_PAD_EN_SHIFT)) & SNVS_LPATCTLR_AT5_PAD_EN_MASK)
86667 /*! @} */
86668 
86669 /*! @name LPATCLKR - SNVS_LP Active Tamper Clock Control Register */
86670 /*! @{ */
86671 
86672 #define SNVS_LPATCLKR_AT1_CLK_CTL_MASK           (0x3U)
86673 #define SNVS_LPATCLKR_AT1_CLK_CTL_SHIFT          (0U)
86674 #define SNVS_LPATCLKR_AT1_CLK_CTL(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCLKR_AT1_CLK_CTL_SHIFT)) & SNVS_LPATCLKR_AT1_CLK_CTL_MASK)
86675 
86676 #define SNVS_LPATCLKR_AT2_CLK_CTL_MASK           (0x30U)
86677 #define SNVS_LPATCLKR_AT2_CLK_CTL_SHIFT          (4U)
86678 #define SNVS_LPATCLKR_AT2_CLK_CTL(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCLKR_AT2_CLK_CTL_SHIFT)) & SNVS_LPATCLKR_AT2_CLK_CTL_MASK)
86679 
86680 #define SNVS_LPATCLKR_AT3_CLK_CTL_MASK           (0x300U)
86681 #define SNVS_LPATCLKR_AT3_CLK_CTL_SHIFT          (8U)
86682 #define SNVS_LPATCLKR_AT3_CLK_CTL(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCLKR_AT3_CLK_CTL_SHIFT)) & SNVS_LPATCLKR_AT3_CLK_CTL_MASK)
86683 
86684 #define SNVS_LPATCLKR_AT4_CLK_CTL_MASK           (0x3000U)
86685 #define SNVS_LPATCLKR_AT4_CLK_CTL_SHIFT          (12U)
86686 #define SNVS_LPATCLKR_AT4_CLK_CTL(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCLKR_AT4_CLK_CTL_SHIFT)) & SNVS_LPATCLKR_AT4_CLK_CTL_MASK)
86687 
86688 #define SNVS_LPATCLKR_AT5_CLK_CTL_MASK           (0x30000U)
86689 #define SNVS_LPATCLKR_AT5_CLK_CTL_SHIFT          (16U)
86690 #define SNVS_LPATCLKR_AT5_CLK_CTL(x)             (((uint32_t)(((uint32_t)(x)) << SNVS_LPATCLKR_AT5_CLK_CTL_SHIFT)) & SNVS_LPATCLKR_AT5_CLK_CTL_MASK)
86691 /*! @} */
86692 
86693 /*! @name LPATRC1R - SNVS_LP Active Tamper Routing Control 1 Register */
86694 /*! @{ */
86695 
86696 #define SNVS_LPATRC1R_ET1RCTL_MASK               (0x7U)
86697 #define SNVS_LPATRC1R_ET1RCTL_SHIFT              (0U)
86698 #define SNVS_LPATRC1R_ET1RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET1RCTL_SHIFT)) & SNVS_LPATRC1R_ET1RCTL_MASK)
86699 
86700 #define SNVS_LPATRC1R_ET2RCTL_MASK               (0x70U)
86701 #define SNVS_LPATRC1R_ET2RCTL_SHIFT              (4U)
86702 #define SNVS_LPATRC1R_ET2RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET2RCTL_SHIFT)) & SNVS_LPATRC1R_ET2RCTL_MASK)
86703 
86704 #define SNVS_LPATRC1R_ET3RCTL_MASK               (0x700U)
86705 #define SNVS_LPATRC1R_ET3RCTL_SHIFT              (8U)
86706 #define SNVS_LPATRC1R_ET3RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET3RCTL_SHIFT)) & SNVS_LPATRC1R_ET3RCTL_MASK)
86707 
86708 #define SNVS_LPATRC1R_ET4RCTL_MASK               (0x7000U)
86709 #define SNVS_LPATRC1R_ET4RCTL_SHIFT              (12U)
86710 #define SNVS_LPATRC1R_ET4RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET4RCTL_SHIFT)) & SNVS_LPATRC1R_ET4RCTL_MASK)
86711 
86712 #define SNVS_LPATRC1R_ET5RCTL_MASK               (0x70000U)
86713 #define SNVS_LPATRC1R_ET5RCTL_SHIFT              (16U)
86714 #define SNVS_LPATRC1R_ET5RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET5RCTL_SHIFT)) & SNVS_LPATRC1R_ET5RCTL_MASK)
86715 
86716 #define SNVS_LPATRC1R_ET6RCTL_MASK               (0x700000U)
86717 #define SNVS_LPATRC1R_ET6RCTL_SHIFT              (20U)
86718 #define SNVS_LPATRC1R_ET6RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET6RCTL_SHIFT)) & SNVS_LPATRC1R_ET6RCTL_MASK)
86719 
86720 #define SNVS_LPATRC1R_ET7RCTL_MASK               (0x7000000U)
86721 #define SNVS_LPATRC1R_ET7RCTL_SHIFT              (24U)
86722 #define SNVS_LPATRC1R_ET7RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET7RCTL_SHIFT)) & SNVS_LPATRC1R_ET7RCTL_MASK)
86723 
86724 #define SNVS_LPATRC1R_ET8RCTL_MASK               (0x70000000U)
86725 #define SNVS_LPATRC1R_ET8RCTL_SHIFT              (28U)
86726 #define SNVS_LPATRC1R_ET8RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC1R_ET8RCTL_SHIFT)) & SNVS_LPATRC1R_ET8RCTL_MASK)
86727 /*! @} */
86728 
86729 /*! @name LPATRC2R - SNVS_LP Active Tamper Routing Control 2 Register */
86730 /*! @{ */
86731 
86732 #define SNVS_LPATRC2R_ET9RCTL_MASK               (0x7U)
86733 #define SNVS_LPATRC2R_ET9RCTL_SHIFT              (0U)
86734 #define SNVS_LPATRC2R_ET9RCTL(x)                 (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC2R_ET9RCTL_SHIFT)) & SNVS_LPATRC2R_ET9RCTL_MASK)
86735 
86736 #define SNVS_LPATRC2R_ET10RCTL_MASK              (0x70U)
86737 #define SNVS_LPATRC2R_ET10RCTL_SHIFT             (4U)
86738 #define SNVS_LPATRC2R_ET10RCTL(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_LPATRC2R_ET10RCTL_SHIFT)) & SNVS_LPATRC2R_ET10RCTL_MASK)
86739 /*! @} */
86740 
86741 /*! @name LPGPR - SNVS_LP General Purpose Registers 0 .. 3 */
86742 /*! @{ */
86743 
86744 #define SNVS_LPGPR_GPR_MASK                      (0xFFFFFFFFU)
86745 #define SNVS_LPGPR_GPR_SHIFT                     (0U)
86746 #define SNVS_LPGPR_GPR(x)                        (((uint32_t)(((uint32_t)(x)) << SNVS_LPGPR_GPR_SHIFT)) & SNVS_LPGPR_GPR_MASK)
86747 /*! @} */
86748 
86749 /* The count of SNVS_LPGPR */
86750 #define SNVS_LPGPR_COUNT                         (4U)
86751 
86752 /*! @name HPVIDR1 - SNVS_HP Version ID Register 1 */
86753 /*! @{ */
86754 
86755 #define SNVS_HPVIDR1_MINOR_REV_MASK              (0xFFU)
86756 #define SNVS_HPVIDR1_MINOR_REV_SHIFT             (0U)
86757 #define SNVS_HPVIDR1_MINOR_REV(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_HPVIDR1_MINOR_REV_SHIFT)) & SNVS_HPVIDR1_MINOR_REV_MASK)
86758 
86759 #define SNVS_HPVIDR1_MAJOR_REV_MASK              (0xFF00U)
86760 #define SNVS_HPVIDR1_MAJOR_REV_SHIFT             (8U)
86761 #define SNVS_HPVIDR1_MAJOR_REV(x)                (((uint32_t)(((uint32_t)(x)) << SNVS_HPVIDR1_MAJOR_REV_SHIFT)) & SNVS_HPVIDR1_MAJOR_REV_MASK)
86762 
86763 #define SNVS_HPVIDR1_IP_ID_MASK                  (0xFFFF0000U)
86764 #define SNVS_HPVIDR1_IP_ID_SHIFT                 (16U)
86765 #define SNVS_HPVIDR1_IP_ID(x)                    (((uint32_t)(((uint32_t)(x)) << SNVS_HPVIDR1_IP_ID_SHIFT)) & SNVS_HPVIDR1_IP_ID_MASK)
86766 /*! @} */
86767 
86768 /*! @name HPVIDR2 - SNVS_HP Version ID Register 2 */
86769 /*! @{ */
86770 
86771 #define SNVS_HPVIDR2_ECO_REV_MASK                (0xFF00U)
86772 #define SNVS_HPVIDR2_ECO_REV_SHIFT               (8U)
86773 #define SNVS_HPVIDR2_ECO_REV(x)                  (((uint32_t)(((uint32_t)(x)) << SNVS_HPVIDR2_ECO_REV_SHIFT)) & SNVS_HPVIDR2_ECO_REV_MASK)
86774 
86775 #define SNVS_HPVIDR2_IP_ERA_MASK                 (0xFF000000U)
86776 #define SNVS_HPVIDR2_IP_ERA_SHIFT                (24U)
86777 #define SNVS_HPVIDR2_IP_ERA(x)                   (((uint32_t)(((uint32_t)(x)) << SNVS_HPVIDR2_IP_ERA_SHIFT)) & SNVS_HPVIDR2_IP_ERA_MASK)
86778 /*! @} */
86779 
86780 
86781 /*!
86782  * @}
86783  */ /* end of group SNVS_Register_Masks */
86784 
86785 
86786 /* SNVS - Peripheral instance base addresses */
86787 /** Peripheral SNVS base address */
86788 #define SNVS_BASE                                (0x40C90000u)
86789 /** Peripheral SNVS base pointer */
86790 #define SNVS                                     ((SNVS_Type *)SNVS_BASE)
86791 /** Array initializer of SNVS peripheral base addresses */
86792 #define SNVS_BASE_ADDRS                          { SNVS_BASE }
86793 /** Array initializer of SNVS peripheral base pointers */
86794 #define SNVS_BASE_PTRS                           { SNVS }
86795 /** Interrupt vectors for the SNVS peripheral type */
86796 #define SNVS_IRQS                                { SNVS_PULSE_EVENT_IRQn }
86797 #define SNVS_CONSOLIDATED_IRQS                   { SNVS_HP_NON_TZ_IRQn }
86798 #define SNVS_SECURITY_IRQS                       { SNVS_HP_TZ_IRQn }
86799 
86800 /*!
86801  * @}
86802  */ /* end of group SNVS_Peripheral_Access_Layer */
86803 
86804 
86805 /* ----------------------------------------------------------------------------
86806    -- SPDIF Peripheral Access Layer
86807    ---------------------------------------------------------------------------- */
86808 
86809 /*!
86810  * @addtogroup SPDIF_Peripheral_Access_Layer SPDIF Peripheral Access Layer
86811  * @{
86812  */
86813 
86814 /** SPDIF - Register Layout Typedef */
86815 typedef struct {
86816   __IO uint32_t SCR;                               /**< SPDIF Configuration Register, offset: 0x0 */
86817   __IO uint32_t SRCD;                              /**< CDText Control Register, offset: 0x4 */
86818   __IO uint32_t SRPC;                              /**< PhaseConfig Register, offset: 0x8 */
86819   __IO uint32_t SIE;                               /**< InterruptEn Register, offset: 0xC */
86820   union {                                          /* offset: 0x10 */
86821     __O  uint32_t SIC;                               /**< InterruptClear Register, offset: 0x10 */
86822     __I  uint32_t SIS;                               /**< InterruptStat Register, offset: 0x10 */
86823   };
86824   __I  uint32_t SRL;                               /**< SPDIFRxLeft Register, offset: 0x14 */
86825   __I  uint32_t SRR;                               /**< SPDIFRxRight Register, offset: 0x18 */
86826   __I  uint32_t SRCSH;                             /**< SPDIFRxCChannel_h Register, offset: 0x1C */
86827   __I  uint32_t SRCSL;                             /**< SPDIFRxCChannel_l Register, offset: 0x20 */
86828   __I  uint32_t SRU;                               /**< UchannelRx Register, offset: 0x24 */
86829   __I  uint32_t SRQ;                               /**< QchannelRx Register, offset: 0x28 */
86830   __O  uint32_t STL;                               /**< SPDIFTxLeft Register, offset: 0x2C */
86831   __O  uint32_t STR;                               /**< SPDIFTxRight Register, offset: 0x30 */
86832   __IO uint32_t STCSCH;                            /**< SPDIFTxCChannelCons_h Register, offset: 0x34 */
86833   __IO uint32_t STCSCL;                            /**< SPDIFTxCChannelCons_l Register, offset: 0x38 */
86834        uint8_t RESERVED_0[8];
86835   __I  uint32_t SRFM;                              /**< FreqMeas Register, offset: 0x44 */
86836        uint8_t RESERVED_1[8];
86837   __IO uint32_t STC;                               /**< SPDIFTxClk Register, offset: 0x50 */
86838 } SPDIF_Type;
86839 
86840 /* ----------------------------------------------------------------------------
86841    -- SPDIF Register Masks
86842    ---------------------------------------------------------------------------- */
86843 
86844 /*!
86845  * @addtogroup SPDIF_Register_Masks SPDIF Register Masks
86846  * @{
86847  */
86848 
86849 /*! @name SCR - SPDIF Configuration Register */
86850 /*! @{ */
86851 
86852 #define SPDIF_SCR_USRC_SEL_MASK                  (0x3U)
86853 #define SPDIF_SCR_USRC_SEL_SHIFT                 (0U)
86854 /*! USrc_Sel - USrc_Sel
86855  *  0b00..No embedded U channel
86856  *  0b01..U channel from SPDIF receive block (CD mode)
86857  *  0b10..Reserved
86858  *  0b11..U channel from on chip transmitter
86859  */
86860 #define SPDIF_SCR_USRC_SEL(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_USRC_SEL_SHIFT)) & SPDIF_SCR_USRC_SEL_MASK)
86861 
86862 #define SPDIF_SCR_TXSEL_MASK                     (0x1CU)
86863 #define SPDIF_SCR_TXSEL_SHIFT                    (2U)
86864 /*! TxSel - TxSel
86865  *  0b000..Off and output 0
86866  *  0b001..Feed-through SPDIFIN
86867  *  0b101..Tx Normal operation
86868  */
86869 #define SPDIF_SCR_TXSEL(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_TXSEL_SHIFT)) & SPDIF_SCR_TXSEL_MASK)
86870 
86871 #define SPDIF_SCR_VALCTRL_MASK                   (0x20U)
86872 #define SPDIF_SCR_VALCTRL_SHIFT                  (5U)
86873 /*! ValCtrl - ValCtrl
86874  *  0b0..Outgoing Validity always set
86875  *  0b1..Outgoing Validity always clear
86876  */
86877 #define SPDIF_SCR_VALCTRL(x)                     (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_VALCTRL_SHIFT)) & SPDIF_SCR_VALCTRL_MASK)
86878 
86879 #define SPDIF_SCR_INPUTSRCSEL_MASK               (0xC0U)
86880 #define SPDIF_SCR_INPUTSRCSEL_SHIFT              (6U)
86881 /*! InputSrcSel - InputSrcSel
86882  *  0b00..SPDIF_IN
86883  *  0b01-0b11..None
86884  */
86885 #define SPDIF_SCR_INPUTSRCSEL(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_INPUTSRCSEL_SHIFT)) & SPDIF_SCR_INPUTSRCSEL_MASK)
86886 
86887 #define SPDIF_SCR_DMA_TX_EN_MASK                 (0x100U)
86888 #define SPDIF_SCR_DMA_TX_EN_SHIFT                (8U)
86889 /*! DMA_TX_En - DMA_TX_En
86890  */
86891 #define SPDIF_SCR_DMA_TX_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_DMA_TX_EN_SHIFT)) & SPDIF_SCR_DMA_TX_EN_MASK)
86892 
86893 #define SPDIF_SCR_DMA_RX_EN_MASK                 (0x200U)
86894 #define SPDIF_SCR_DMA_RX_EN_SHIFT                (9U)
86895 /*! DMA_Rx_En - DMA_Rx_En
86896  */
86897 #define SPDIF_SCR_DMA_RX_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_DMA_RX_EN_SHIFT)) & SPDIF_SCR_DMA_RX_EN_MASK)
86898 
86899 #define SPDIF_SCR_TXFIFO_CTRL_MASK               (0xC00U)
86900 #define SPDIF_SCR_TXFIFO_CTRL_SHIFT              (10U)
86901 /*! TxFIFO_Ctrl - TxFIFO_Ctrl
86902  *  0b00..Send out digital zero on SPDIF Tx
86903  *  0b01..Tx Normal operation
86904  *  0b10..Reset to 1 sample remaining
86905  *  0b11..Reserved
86906  */
86907 #define SPDIF_SCR_TXFIFO_CTRL(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_TXFIFO_CTRL_SHIFT)) & SPDIF_SCR_TXFIFO_CTRL_MASK)
86908 
86909 #define SPDIF_SCR_SOFT_RESET_MASK                (0x1000U)
86910 #define SPDIF_SCR_SOFT_RESET_SHIFT               (12U)
86911 /*! soft_reset - soft_reset
86912  */
86913 #define SPDIF_SCR_SOFT_RESET(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_SOFT_RESET_SHIFT)) & SPDIF_SCR_SOFT_RESET_MASK)
86914 
86915 #define SPDIF_SCR_LOW_POWER_MASK                 (0x2000U)
86916 #define SPDIF_SCR_LOW_POWER_SHIFT                (13U)
86917 /*! LOW_POWER - LOW_POWER
86918  */
86919 #define SPDIF_SCR_LOW_POWER(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_LOW_POWER_SHIFT)) & SPDIF_SCR_LOW_POWER_MASK)
86920 
86921 #define SPDIF_SCR_TXFIFOEMPTY_SEL_MASK           (0x18000U)
86922 #define SPDIF_SCR_TXFIFOEMPTY_SEL_SHIFT          (15U)
86923 /*! TxFIFOEmpty_Sel - TxFIFOEmpty_Sel
86924  *  0b00..Empty interrupt if 0 sample in Tx left and right FIFOs
86925  *  0b01..Empty interrupt if at most 4 sample in Tx left and right FIFOs
86926  *  0b10..Empty interrupt if at most 8 sample in Tx left and right FIFOs
86927  *  0b11..Empty interrupt if at most 12 sample in Tx left and right FIFOs
86928  */
86929 #define SPDIF_SCR_TXFIFOEMPTY_SEL(x)             (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_TXFIFOEMPTY_SEL_SHIFT)) & SPDIF_SCR_TXFIFOEMPTY_SEL_MASK)
86930 
86931 #define SPDIF_SCR_TXAUTOSYNC_MASK                (0x20000U)
86932 #define SPDIF_SCR_TXAUTOSYNC_SHIFT               (17U)
86933 /*! TxAutoSync - TxAutoSync
86934  *  0b0..Tx FIFO auto sync off
86935  *  0b1..Tx FIFO auto sync on
86936  */
86937 #define SPDIF_SCR_TXAUTOSYNC(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_TXAUTOSYNC_SHIFT)) & SPDIF_SCR_TXAUTOSYNC_MASK)
86938 
86939 #define SPDIF_SCR_RXAUTOSYNC_MASK                (0x40000U)
86940 #define SPDIF_SCR_RXAUTOSYNC_SHIFT               (18U)
86941 /*! RxAutoSync - RxAutoSync
86942  *  0b0..Rx FIFO auto sync off
86943  *  0b1..RxFIFO auto sync on
86944  */
86945 #define SPDIF_SCR_RXAUTOSYNC(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_RXAUTOSYNC_SHIFT)) & SPDIF_SCR_RXAUTOSYNC_MASK)
86946 
86947 #define SPDIF_SCR_RXFIFOFULL_SEL_MASK            (0x180000U)
86948 #define SPDIF_SCR_RXFIFOFULL_SEL_SHIFT           (19U)
86949 /*! RxFIFOFull_Sel - RxFIFOFull_Sel
86950  *  0b00..Full interrupt if at least 1 sample in Rx left and right FIFOs
86951  *  0b01..Full interrupt if at least 4 sample in Rx left and right FIFOs
86952  *  0b10..Full interrupt if at least 8 sample in Rx left and right FIFOs
86953  *  0b11..Full interrupt if at least 16 sample in Rx left and right FIFO
86954  */
86955 #define SPDIF_SCR_RXFIFOFULL_SEL(x)              (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_RXFIFOFULL_SEL_SHIFT)) & SPDIF_SCR_RXFIFOFULL_SEL_MASK)
86956 
86957 #define SPDIF_SCR_RXFIFO_RST_MASK                (0x200000U)
86958 #define SPDIF_SCR_RXFIFO_RST_SHIFT               (21U)
86959 /*! RxFIFO_Rst - RxFIFO_Rst
86960  *  0b0..Normal operation
86961  *  0b1..Reset register to 1 sample remaining
86962  */
86963 #define SPDIF_SCR_RXFIFO_RST(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_RXFIFO_RST_SHIFT)) & SPDIF_SCR_RXFIFO_RST_MASK)
86964 
86965 #define SPDIF_SCR_RXFIFO_OFF_ON_MASK             (0x400000U)
86966 #define SPDIF_SCR_RXFIFO_OFF_ON_SHIFT            (22U)
86967 /*! RxFIFO_Off_On - RxFIFO_Off_On
86968  *  0b0..SPDIF Rx FIFO is on
86969  *  0b1..SPDIF Rx FIFO is off. Does not accept data from interface
86970  */
86971 #define SPDIF_SCR_RXFIFO_OFF_ON(x)               (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_RXFIFO_OFF_ON_SHIFT)) & SPDIF_SCR_RXFIFO_OFF_ON_MASK)
86972 
86973 #define SPDIF_SCR_RXFIFO_CTRL_MASK               (0x800000U)
86974 #define SPDIF_SCR_RXFIFO_CTRL_SHIFT              (23U)
86975 /*! RxFIFO_Ctrl - RxFIFO_Ctrl
86976  *  0b0..Normal operation
86977  *  0b1..Always read zero from Rx data register
86978  */
86979 #define SPDIF_SCR_RXFIFO_CTRL(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SCR_RXFIFO_CTRL_SHIFT)) & SPDIF_SCR_RXFIFO_CTRL_MASK)
86980 /*! @} */
86981 
86982 /*! @name SRCD - CDText Control Register */
86983 /*! @{ */
86984 
86985 #define SPDIF_SRCD_USYNCMODE_MASK                (0x2U)
86986 #define SPDIF_SRCD_USYNCMODE_SHIFT               (1U)
86987 /*! USyncMode - USyncMode
86988  *  0b0..Non-CD data
86989  *  0b1..CD user channel subcode
86990  */
86991 #define SPDIF_SRCD_USYNCMODE(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SRCD_USYNCMODE_SHIFT)) & SPDIF_SRCD_USYNCMODE_MASK)
86992 /*! @} */
86993 
86994 /*! @name SRPC - PhaseConfig Register */
86995 /*! @{ */
86996 
86997 #define SPDIF_SRPC_GAINSEL_MASK                  (0x38U)
86998 #define SPDIF_SRPC_GAINSEL_SHIFT                 (3U)
86999 /*! GainSel - GainSel
87000  *  0b000..24*(2**10)
87001  *  0b001..16*(2**10)
87002  *  0b010..12*(2**10)
87003  *  0b011..8*(2**10)
87004  *  0b100..6*(2**10)
87005  *  0b101..4*(2**10)
87006  *  0b110..3*(2**10)
87007  */
87008 #define SPDIF_SRPC_GAINSEL(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_SRPC_GAINSEL_SHIFT)) & SPDIF_SRPC_GAINSEL_MASK)
87009 
87010 #define SPDIF_SRPC_LOCK_MASK                     (0x40U)
87011 #define SPDIF_SRPC_LOCK_SHIFT                    (6U)
87012 /*! LOCK - LOCK
87013  */
87014 #define SPDIF_SRPC_LOCK(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SRPC_LOCK_SHIFT)) & SPDIF_SRPC_LOCK_MASK)
87015 
87016 #define SPDIF_SRPC_CLKSRC_SEL_MASK               (0x780U)
87017 #define SPDIF_SRPC_CLKSRC_SEL_SHIFT              (7U)
87018 /*! ClkSrc_Sel - ClkSrc_Sel
87019  *  0b0000..if (DPLL Locked) SPDIF_RxClk else REF_CLK_32K (XTALOSC)
87020  *  0b0001..if (DPLL Locked) SPDIF_RxClk else tx_clk (SPDIF0_CLK_ROOT)
87021  *  0b0011..if (DPLL Locked) SPDIF_RxClk else SPDIF_EXT_CLK
87022  *  0b0101..REF_CLK_32K (XTALOSC)
87023  *  0b0110..tx_clk (SPDIF0_CLK_ROOT)
87024  *  0b1000..SPDIF_EXT_CLK
87025  */
87026 #define SPDIF_SRPC_CLKSRC_SEL(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SRPC_CLKSRC_SEL_SHIFT)) & SPDIF_SRPC_CLKSRC_SEL_MASK)
87027 /*! @} */
87028 
87029 /*! @name SIE - InterruptEn Register */
87030 /*! @{ */
87031 
87032 #define SPDIF_SIE_RXFIFOFUL_MASK                 (0x1U)
87033 #define SPDIF_SIE_RXFIFOFUL_SHIFT                (0U)
87034 /*! RxFIFOFul - RxFIFOFul
87035  */
87036 #define SPDIF_SIE_RXFIFOFUL(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_RXFIFOFUL_SHIFT)) & SPDIF_SIE_RXFIFOFUL_MASK)
87037 
87038 #define SPDIF_SIE_TXEM_MASK                      (0x2U)
87039 #define SPDIF_SIE_TXEM_SHIFT                     (1U)
87040 /*! TxEm - TxEm
87041  */
87042 #define SPDIF_SIE_TXEM(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_TXEM_SHIFT)) & SPDIF_SIE_TXEM_MASK)
87043 
87044 #define SPDIF_SIE_LOCKLOSS_MASK                  (0x4U)
87045 #define SPDIF_SIE_LOCKLOSS_SHIFT                 (2U)
87046 /*! LockLoss - LockLoss
87047  */
87048 #define SPDIF_SIE_LOCKLOSS(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_LOCKLOSS_SHIFT)) & SPDIF_SIE_LOCKLOSS_MASK)
87049 
87050 #define SPDIF_SIE_RXFIFORESYN_MASK               (0x8U)
87051 #define SPDIF_SIE_RXFIFORESYN_SHIFT              (3U)
87052 /*! RxFIFOResyn - RxFIFOResyn
87053  */
87054 #define SPDIF_SIE_RXFIFORESYN(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_RXFIFORESYN_SHIFT)) & SPDIF_SIE_RXFIFORESYN_MASK)
87055 
87056 #define SPDIF_SIE_RXFIFOUNOV_MASK                (0x10U)
87057 #define SPDIF_SIE_RXFIFOUNOV_SHIFT               (4U)
87058 /*! RxFIFOUnOv - RxFIFOUnOv
87059  */
87060 #define SPDIF_SIE_RXFIFOUNOV(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_RXFIFOUNOV_SHIFT)) & SPDIF_SIE_RXFIFOUNOV_MASK)
87061 
87062 #define SPDIF_SIE_UQERR_MASK                     (0x20U)
87063 #define SPDIF_SIE_UQERR_SHIFT                    (5U)
87064 /*! UQErr - UQErr
87065  */
87066 #define SPDIF_SIE_UQERR(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_UQERR_SHIFT)) & SPDIF_SIE_UQERR_MASK)
87067 
87068 #define SPDIF_SIE_UQSYNC_MASK                    (0x40U)
87069 #define SPDIF_SIE_UQSYNC_SHIFT                   (6U)
87070 /*! UQSync - UQSync
87071  */
87072 #define SPDIF_SIE_UQSYNC(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_UQSYNC_SHIFT)) & SPDIF_SIE_UQSYNC_MASK)
87073 
87074 #define SPDIF_SIE_QRXOV_MASK                     (0x80U)
87075 #define SPDIF_SIE_QRXOV_SHIFT                    (7U)
87076 /*! QRxOv - QRxOv
87077  */
87078 #define SPDIF_SIE_QRXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_QRXOV_SHIFT)) & SPDIF_SIE_QRXOV_MASK)
87079 
87080 #define SPDIF_SIE_QRXFUL_MASK                    (0x100U)
87081 #define SPDIF_SIE_QRXFUL_SHIFT                   (8U)
87082 /*! QRxFul - QRxFul
87083  */
87084 #define SPDIF_SIE_QRXFUL(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_QRXFUL_SHIFT)) & SPDIF_SIE_QRXFUL_MASK)
87085 
87086 #define SPDIF_SIE_URXOV_MASK                     (0x200U)
87087 #define SPDIF_SIE_URXOV_SHIFT                    (9U)
87088 /*! URxOv - URxOv
87089  */
87090 #define SPDIF_SIE_URXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_URXOV_SHIFT)) & SPDIF_SIE_URXOV_MASK)
87091 
87092 #define SPDIF_SIE_URXFUL_MASK                    (0x400U)
87093 #define SPDIF_SIE_URXFUL_SHIFT                   (10U)
87094 /*! URxFul - URxFul
87095  */
87096 #define SPDIF_SIE_URXFUL(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_URXFUL_SHIFT)) & SPDIF_SIE_URXFUL_MASK)
87097 
87098 #define SPDIF_SIE_BITERR_MASK                    (0x4000U)
87099 #define SPDIF_SIE_BITERR_SHIFT                   (14U)
87100 /*! BitErr - BitErr
87101  */
87102 #define SPDIF_SIE_BITERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_BITERR_SHIFT)) & SPDIF_SIE_BITERR_MASK)
87103 
87104 #define SPDIF_SIE_SYMERR_MASK                    (0x8000U)
87105 #define SPDIF_SIE_SYMERR_SHIFT                   (15U)
87106 /*! SymErr - SymErr
87107  */
87108 #define SPDIF_SIE_SYMERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_SYMERR_SHIFT)) & SPDIF_SIE_SYMERR_MASK)
87109 
87110 #define SPDIF_SIE_VALNOGOOD_MASK                 (0x10000U)
87111 #define SPDIF_SIE_VALNOGOOD_SHIFT                (16U)
87112 /*! ValNoGood - ValNoGood
87113  */
87114 #define SPDIF_SIE_VALNOGOOD(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_VALNOGOOD_SHIFT)) & SPDIF_SIE_VALNOGOOD_MASK)
87115 
87116 #define SPDIF_SIE_CNEW_MASK                      (0x20000U)
87117 #define SPDIF_SIE_CNEW_SHIFT                     (17U)
87118 /*! CNew - CNew
87119  */
87120 #define SPDIF_SIE_CNEW(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_CNEW_SHIFT)) & SPDIF_SIE_CNEW_MASK)
87121 
87122 #define SPDIF_SIE_TXRESYN_MASK                   (0x40000U)
87123 #define SPDIF_SIE_TXRESYN_SHIFT                  (18U)
87124 /*! TxResyn - TxResyn
87125  */
87126 #define SPDIF_SIE_TXRESYN(x)                     (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_TXRESYN_SHIFT)) & SPDIF_SIE_TXRESYN_MASK)
87127 
87128 #define SPDIF_SIE_TXUNOV_MASK                    (0x80000U)
87129 #define SPDIF_SIE_TXUNOV_SHIFT                   (19U)
87130 /*! TxUnOv - TxUnOv
87131  */
87132 #define SPDIF_SIE_TXUNOV(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_TXUNOV_SHIFT)) & SPDIF_SIE_TXUNOV_MASK)
87133 
87134 #define SPDIF_SIE_LOCK_MASK                      (0x100000U)
87135 #define SPDIF_SIE_LOCK_SHIFT                     (20U)
87136 /*! Lock - Lock
87137  */
87138 #define SPDIF_SIE_LOCK(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIE_LOCK_SHIFT)) & SPDIF_SIE_LOCK_MASK)
87139 /*! @} */
87140 
87141 /*! @name SIC - InterruptClear Register */
87142 /*! @{ */
87143 
87144 #define SPDIF_SIC_LOCKLOSS_MASK                  (0x4U)
87145 #define SPDIF_SIC_LOCKLOSS_SHIFT                 (2U)
87146 /*! LockLoss - LockLoss
87147  */
87148 #define SPDIF_SIC_LOCKLOSS(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_LOCKLOSS_SHIFT)) & SPDIF_SIC_LOCKLOSS_MASK)
87149 
87150 #define SPDIF_SIC_RXFIFORESYN_MASK               (0x8U)
87151 #define SPDIF_SIC_RXFIFORESYN_SHIFT              (3U)
87152 /*! RxFIFOResyn - RxFIFOResyn
87153  */
87154 #define SPDIF_SIC_RXFIFORESYN(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_RXFIFORESYN_SHIFT)) & SPDIF_SIC_RXFIFORESYN_MASK)
87155 
87156 #define SPDIF_SIC_RXFIFOUNOV_MASK                (0x10U)
87157 #define SPDIF_SIC_RXFIFOUNOV_SHIFT               (4U)
87158 /*! RxFIFOUnOv - RxFIFOUnOv
87159  */
87160 #define SPDIF_SIC_RXFIFOUNOV(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_RXFIFOUNOV_SHIFT)) & SPDIF_SIC_RXFIFOUNOV_MASK)
87161 
87162 #define SPDIF_SIC_UQERR_MASK                     (0x20U)
87163 #define SPDIF_SIC_UQERR_SHIFT                    (5U)
87164 /*! UQErr - UQErr
87165  */
87166 #define SPDIF_SIC_UQERR(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_UQERR_SHIFT)) & SPDIF_SIC_UQERR_MASK)
87167 
87168 #define SPDIF_SIC_UQSYNC_MASK                    (0x40U)
87169 #define SPDIF_SIC_UQSYNC_SHIFT                   (6U)
87170 /*! UQSync - UQSync
87171  */
87172 #define SPDIF_SIC_UQSYNC(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_UQSYNC_SHIFT)) & SPDIF_SIC_UQSYNC_MASK)
87173 
87174 #define SPDIF_SIC_QRXOV_MASK                     (0x80U)
87175 #define SPDIF_SIC_QRXOV_SHIFT                    (7U)
87176 /*! QRxOv - QRxOv
87177  */
87178 #define SPDIF_SIC_QRXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_QRXOV_SHIFT)) & SPDIF_SIC_QRXOV_MASK)
87179 
87180 #define SPDIF_SIC_URXOV_MASK                     (0x200U)
87181 #define SPDIF_SIC_URXOV_SHIFT                    (9U)
87182 /*! URxOv - URxOv
87183  */
87184 #define SPDIF_SIC_URXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_URXOV_SHIFT)) & SPDIF_SIC_URXOV_MASK)
87185 
87186 #define SPDIF_SIC_BITERR_MASK                    (0x4000U)
87187 #define SPDIF_SIC_BITERR_SHIFT                   (14U)
87188 /*! BitErr - BitErr
87189  */
87190 #define SPDIF_SIC_BITERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_BITERR_SHIFT)) & SPDIF_SIC_BITERR_MASK)
87191 
87192 #define SPDIF_SIC_SYMERR_MASK                    (0x8000U)
87193 #define SPDIF_SIC_SYMERR_SHIFT                   (15U)
87194 /*! SymErr - SymErr
87195  */
87196 #define SPDIF_SIC_SYMERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_SYMERR_SHIFT)) & SPDIF_SIC_SYMERR_MASK)
87197 
87198 #define SPDIF_SIC_VALNOGOOD_MASK                 (0x10000U)
87199 #define SPDIF_SIC_VALNOGOOD_SHIFT                (16U)
87200 /*! ValNoGood - ValNoGood
87201  */
87202 #define SPDIF_SIC_VALNOGOOD(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_VALNOGOOD_SHIFT)) & SPDIF_SIC_VALNOGOOD_MASK)
87203 
87204 #define SPDIF_SIC_CNEW_MASK                      (0x20000U)
87205 #define SPDIF_SIC_CNEW_SHIFT                     (17U)
87206 /*! CNew - CNew
87207  */
87208 #define SPDIF_SIC_CNEW(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_CNEW_SHIFT)) & SPDIF_SIC_CNEW_MASK)
87209 
87210 #define SPDIF_SIC_TXRESYN_MASK                   (0x40000U)
87211 #define SPDIF_SIC_TXRESYN_SHIFT                  (18U)
87212 /*! TxResyn - TxResyn
87213  */
87214 #define SPDIF_SIC_TXRESYN(x)                     (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_TXRESYN_SHIFT)) & SPDIF_SIC_TXRESYN_MASK)
87215 
87216 #define SPDIF_SIC_TXUNOV_MASK                    (0x80000U)
87217 #define SPDIF_SIC_TXUNOV_SHIFT                   (19U)
87218 /*! TxUnOv - TxUnOv
87219  */
87220 #define SPDIF_SIC_TXUNOV(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_TXUNOV_SHIFT)) & SPDIF_SIC_TXUNOV_MASK)
87221 
87222 #define SPDIF_SIC_LOCK_MASK                      (0x100000U)
87223 #define SPDIF_SIC_LOCK_SHIFT                     (20U)
87224 /*! Lock - Lock
87225  */
87226 #define SPDIF_SIC_LOCK(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIC_LOCK_SHIFT)) & SPDIF_SIC_LOCK_MASK)
87227 /*! @} */
87228 
87229 /*! @name SIS - InterruptStat Register */
87230 /*! @{ */
87231 
87232 #define SPDIF_SIS_RXFIFOFUL_MASK                 (0x1U)
87233 #define SPDIF_SIS_RXFIFOFUL_SHIFT                (0U)
87234 /*! RxFIFOFul - RxFIFOFul
87235  */
87236 #define SPDIF_SIS_RXFIFOFUL(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_RXFIFOFUL_SHIFT)) & SPDIF_SIS_RXFIFOFUL_MASK)
87237 
87238 #define SPDIF_SIS_TXEM_MASK                      (0x2U)
87239 #define SPDIF_SIS_TXEM_SHIFT                     (1U)
87240 /*! TxEm - TxEm
87241  */
87242 #define SPDIF_SIS_TXEM(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_TXEM_SHIFT)) & SPDIF_SIS_TXEM_MASK)
87243 
87244 #define SPDIF_SIS_LOCKLOSS_MASK                  (0x4U)
87245 #define SPDIF_SIS_LOCKLOSS_SHIFT                 (2U)
87246 /*! LockLoss - LockLoss
87247  */
87248 #define SPDIF_SIS_LOCKLOSS(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_LOCKLOSS_SHIFT)) & SPDIF_SIS_LOCKLOSS_MASK)
87249 
87250 #define SPDIF_SIS_RXFIFORESYN_MASK               (0x8U)
87251 #define SPDIF_SIS_RXFIFORESYN_SHIFT              (3U)
87252 /*! RxFIFOResyn - RxFIFOResyn
87253  */
87254 #define SPDIF_SIS_RXFIFORESYN(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_RXFIFORESYN_SHIFT)) & SPDIF_SIS_RXFIFORESYN_MASK)
87255 
87256 #define SPDIF_SIS_RXFIFOUNOV_MASK                (0x10U)
87257 #define SPDIF_SIS_RXFIFOUNOV_SHIFT               (4U)
87258 /*! RxFIFOUnOv - RxFIFOUnOv
87259  */
87260 #define SPDIF_SIS_RXFIFOUNOV(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_RXFIFOUNOV_SHIFT)) & SPDIF_SIS_RXFIFOUNOV_MASK)
87261 
87262 #define SPDIF_SIS_UQERR_MASK                     (0x20U)
87263 #define SPDIF_SIS_UQERR_SHIFT                    (5U)
87264 /*! UQErr - UQErr
87265  */
87266 #define SPDIF_SIS_UQERR(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_UQERR_SHIFT)) & SPDIF_SIS_UQERR_MASK)
87267 
87268 #define SPDIF_SIS_UQSYNC_MASK                    (0x40U)
87269 #define SPDIF_SIS_UQSYNC_SHIFT                   (6U)
87270 /*! UQSync - UQSync
87271  */
87272 #define SPDIF_SIS_UQSYNC(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_UQSYNC_SHIFT)) & SPDIF_SIS_UQSYNC_MASK)
87273 
87274 #define SPDIF_SIS_QRXOV_MASK                     (0x80U)
87275 #define SPDIF_SIS_QRXOV_SHIFT                    (7U)
87276 /*! QRxOv - QRxOv
87277  */
87278 #define SPDIF_SIS_QRXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_QRXOV_SHIFT)) & SPDIF_SIS_QRXOV_MASK)
87279 
87280 #define SPDIF_SIS_QRXFUL_MASK                    (0x100U)
87281 #define SPDIF_SIS_QRXFUL_SHIFT                   (8U)
87282 /*! QRxFul - QRxFul
87283  */
87284 #define SPDIF_SIS_QRXFUL(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_QRXFUL_SHIFT)) & SPDIF_SIS_QRXFUL_MASK)
87285 
87286 #define SPDIF_SIS_URXOV_MASK                     (0x200U)
87287 #define SPDIF_SIS_URXOV_SHIFT                    (9U)
87288 /*! URxOv - URxOv
87289  */
87290 #define SPDIF_SIS_URXOV(x)                       (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_URXOV_SHIFT)) & SPDIF_SIS_URXOV_MASK)
87291 
87292 #define SPDIF_SIS_URXFUL_MASK                    (0x400U)
87293 #define SPDIF_SIS_URXFUL_SHIFT                   (10U)
87294 /*! URxFul - URxFul
87295  */
87296 #define SPDIF_SIS_URXFUL(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_URXFUL_SHIFT)) & SPDIF_SIS_URXFUL_MASK)
87297 
87298 #define SPDIF_SIS_BITERR_MASK                    (0x4000U)
87299 #define SPDIF_SIS_BITERR_SHIFT                   (14U)
87300 /*! BitErr - BitErr
87301  */
87302 #define SPDIF_SIS_BITERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_BITERR_SHIFT)) & SPDIF_SIS_BITERR_MASK)
87303 
87304 #define SPDIF_SIS_SYMERR_MASK                    (0x8000U)
87305 #define SPDIF_SIS_SYMERR_SHIFT                   (15U)
87306 /*! SymErr - SymErr
87307  */
87308 #define SPDIF_SIS_SYMERR(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_SYMERR_SHIFT)) & SPDIF_SIS_SYMERR_MASK)
87309 
87310 #define SPDIF_SIS_VALNOGOOD_MASK                 (0x10000U)
87311 #define SPDIF_SIS_VALNOGOOD_SHIFT                (16U)
87312 /*! ValNoGood - ValNoGood
87313  */
87314 #define SPDIF_SIS_VALNOGOOD(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_VALNOGOOD_SHIFT)) & SPDIF_SIS_VALNOGOOD_MASK)
87315 
87316 #define SPDIF_SIS_CNEW_MASK                      (0x20000U)
87317 #define SPDIF_SIS_CNEW_SHIFT                     (17U)
87318 /*! CNew - CNew
87319  */
87320 #define SPDIF_SIS_CNEW(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_CNEW_SHIFT)) & SPDIF_SIS_CNEW_MASK)
87321 
87322 #define SPDIF_SIS_TXRESYN_MASK                   (0x40000U)
87323 #define SPDIF_SIS_TXRESYN_SHIFT                  (18U)
87324 /*! TxResyn - TxResyn
87325  */
87326 #define SPDIF_SIS_TXRESYN(x)                     (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_TXRESYN_SHIFT)) & SPDIF_SIS_TXRESYN_MASK)
87327 
87328 #define SPDIF_SIS_TXUNOV_MASK                    (0x80000U)
87329 #define SPDIF_SIS_TXUNOV_SHIFT                   (19U)
87330 /*! TxUnOv - TxUnOv
87331  */
87332 #define SPDIF_SIS_TXUNOV(x)                      (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_TXUNOV_SHIFT)) & SPDIF_SIS_TXUNOV_MASK)
87333 
87334 #define SPDIF_SIS_LOCK_MASK                      (0x100000U)
87335 #define SPDIF_SIS_LOCK_SHIFT                     (20U)
87336 /*! Lock - Lock
87337  */
87338 #define SPDIF_SIS_LOCK(x)                        (((uint32_t)(((uint32_t)(x)) << SPDIF_SIS_LOCK_SHIFT)) & SPDIF_SIS_LOCK_MASK)
87339 /*! @} */
87340 
87341 /*! @name SRL - SPDIFRxLeft Register */
87342 /*! @{ */
87343 
87344 #define SPDIF_SRL_RXDATALEFT_MASK                (0xFFFFFFU)
87345 #define SPDIF_SRL_RXDATALEFT_SHIFT               (0U)
87346 /*! RxDataLeft - RxDataLeft
87347  */
87348 #define SPDIF_SRL_RXDATALEFT(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SRL_RXDATALEFT_SHIFT)) & SPDIF_SRL_RXDATALEFT_MASK)
87349 /*! @} */
87350 
87351 /*! @name SRR - SPDIFRxRight Register */
87352 /*! @{ */
87353 
87354 #define SPDIF_SRR_RXDATARIGHT_MASK               (0xFFFFFFU)
87355 #define SPDIF_SRR_RXDATARIGHT_SHIFT              (0U)
87356 /*! RxDataRight - RxDataRight
87357  */
87358 #define SPDIF_SRR_RXDATARIGHT(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_SRR_RXDATARIGHT_SHIFT)) & SPDIF_SRR_RXDATARIGHT_MASK)
87359 /*! @} */
87360 
87361 /*! @name SRCSH - SPDIFRxCChannel_h Register */
87362 /*! @{ */
87363 
87364 #define SPDIF_SRCSH_RXCCHANNEL_H_MASK            (0xFFFFFFU)
87365 #define SPDIF_SRCSH_RXCCHANNEL_H_SHIFT           (0U)
87366 /*! RxCChannel_h - RxCChannel_h
87367  */
87368 #define SPDIF_SRCSH_RXCCHANNEL_H(x)              (((uint32_t)(((uint32_t)(x)) << SPDIF_SRCSH_RXCCHANNEL_H_SHIFT)) & SPDIF_SRCSH_RXCCHANNEL_H_MASK)
87369 /*! @} */
87370 
87371 /*! @name SRCSL - SPDIFRxCChannel_l Register */
87372 /*! @{ */
87373 
87374 #define SPDIF_SRCSL_RXCCHANNEL_L_MASK            (0xFFFFFFU)
87375 #define SPDIF_SRCSL_RXCCHANNEL_L_SHIFT           (0U)
87376 /*! RxCChannel_l - RxCChannel_l
87377  */
87378 #define SPDIF_SRCSL_RXCCHANNEL_L(x)              (((uint32_t)(((uint32_t)(x)) << SPDIF_SRCSL_RXCCHANNEL_L_SHIFT)) & SPDIF_SRCSL_RXCCHANNEL_L_MASK)
87379 /*! @} */
87380 
87381 /*! @name SRU - UchannelRx Register */
87382 /*! @{ */
87383 
87384 #define SPDIF_SRU_RXUCHANNEL_MASK                (0xFFFFFFU)
87385 #define SPDIF_SRU_RXUCHANNEL_SHIFT               (0U)
87386 /*! RxUChannel - RxUChannel
87387  */
87388 #define SPDIF_SRU_RXUCHANNEL(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SRU_RXUCHANNEL_SHIFT)) & SPDIF_SRU_RXUCHANNEL_MASK)
87389 /*! @} */
87390 
87391 /*! @name SRQ - QchannelRx Register */
87392 /*! @{ */
87393 
87394 #define SPDIF_SRQ_RXQCHANNEL_MASK                (0xFFFFFFU)
87395 #define SPDIF_SRQ_RXQCHANNEL_SHIFT               (0U)
87396 /*! RxQChannel - RxQChannel
87397  */
87398 #define SPDIF_SRQ_RXQCHANNEL(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_SRQ_RXQCHANNEL_SHIFT)) & SPDIF_SRQ_RXQCHANNEL_MASK)
87399 /*! @} */
87400 
87401 /*! @name STL - SPDIFTxLeft Register */
87402 /*! @{ */
87403 
87404 #define SPDIF_STL_TXDATALEFT_MASK                (0xFFFFFFU)
87405 #define SPDIF_STL_TXDATALEFT_SHIFT               (0U)
87406 /*! TxDataLeft - TxDataLeft
87407  */
87408 #define SPDIF_STL_TXDATALEFT(x)                  (((uint32_t)(((uint32_t)(x)) << SPDIF_STL_TXDATALEFT_SHIFT)) & SPDIF_STL_TXDATALEFT_MASK)
87409 /*! @} */
87410 
87411 /*! @name STR - SPDIFTxRight Register */
87412 /*! @{ */
87413 
87414 #define SPDIF_STR_TXDATARIGHT_MASK               (0xFFFFFFU)
87415 #define SPDIF_STR_TXDATARIGHT_SHIFT              (0U)
87416 /*! TxDataRight - TxDataRight
87417  */
87418 #define SPDIF_STR_TXDATARIGHT(x)                 (((uint32_t)(((uint32_t)(x)) << SPDIF_STR_TXDATARIGHT_SHIFT)) & SPDIF_STR_TXDATARIGHT_MASK)
87419 /*! @} */
87420 
87421 /*! @name STCSCH - SPDIFTxCChannelCons_h Register */
87422 /*! @{ */
87423 
87424 #define SPDIF_STCSCH_TXCCHANNELCONS_H_MASK       (0xFFFFFFU)
87425 #define SPDIF_STCSCH_TXCCHANNELCONS_H_SHIFT      (0U)
87426 /*! TxCChannelCons_h - TxCChannelCons_h
87427  */
87428 #define SPDIF_STCSCH_TXCCHANNELCONS_H(x)         (((uint32_t)(((uint32_t)(x)) << SPDIF_STCSCH_TXCCHANNELCONS_H_SHIFT)) & SPDIF_STCSCH_TXCCHANNELCONS_H_MASK)
87429 /*! @} */
87430 
87431 /*! @name STCSCL - SPDIFTxCChannelCons_l Register */
87432 /*! @{ */
87433 
87434 #define SPDIF_STCSCL_TXCCHANNELCONS_L_MASK       (0xFFFFFFU)
87435 #define SPDIF_STCSCL_TXCCHANNELCONS_L_SHIFT      (0U)
87436 /*! TxCChannelCons_l - TxCChannelCons_l
87437  */
87438 #define SPDIF_STCSCL_TXCCHANNELCONS_L(x)         (((uint32_t)(((uint32_t)(x)) << SPDIF_STCSCL_TXCCHANNELCONS_L_SHIFT)) & SPDIF_STCSCL_TXCCHANNELCONS_L_MASK)
87439 /*! @} */
87440 
87441 /*! @name SRFM - FreqMeas Register */
87442 /*! @{ */
87443 
87444 #define SPDIF_SRFM_FREQMEAS_MASK                 (0xFFFFFFU)
87445 #define SPDIF_SRFM_FREQMEAS_SHIFT                (0U)
87446 /*! FreqMeas - FreqMeas
87447  */
87448 #define SPDIF_SRFM_FREQMEAS(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_SRFM_FREQMEAS_SHIFT)) & SPDIF_SRFM_FREQMEAS_MASK)
87449 /*! @} */
87450 
87451 /*! @name STC - SPDIFTxClk Register */
87452 /*! @{ */
87453 
87454 #define SPDIF_STC_TXCLK_DF_MASK                  (0x7FU)
87455 #define SPDIF_STC_TXCLK_DF_SHIFT                 (0U)
87456 /*! TxClk_DF - TxClk_DF
87457  *  0b0000000..divider factor is 1
87458  *  0b0000001..divider factor is 2
87459  *  0b1111111..divider factor is 128
87460  */
87461 #define SPDIF_STC_TXCLK_DF(x)                    (((uint32_t)(((uint32_t)(x)) << SPDIF_STC_TXCLK_DF_SHIFT)) & SPDIF_STC_TXCLK_DF_MASK)
87462 
87463 #define SPDIF_STC_TX_ALL_CLK_EN_MASK             (0x80U)
87464 #define SPDIF_STC_TX_ALL_CLK_EN_SHIFT            (7U)
87465 /*! tx_all_clk_en - tx_all_clk_en
87466  *  0b0..disable transfer clock.
87467  *  0b1..enable transfer clock.
87468  */
87469 #define SPDIF_STC_TX_ALL_CLK_EN(x)               (((uint32_t)(((uint32_t)(x)) << SPDIF_STC_TX_ALL_CLK_EN_SHIFT)) & SPDIF_STC_TX_ALL_CLK_EN_MASK)
87470 
87471 #define SPDIF_STC_TXCLK_SOURCE_MASK              (0x700U)
87472 #define SPDIF_STC_TXCLK_SOURCE_SHIFT             (8U)
87473 /*! TxClk_Source - TxClk_Source
87474  *  0b000..REF_CLK_32K input (XTALOSC 32 kHz clock)
87475  *  0b001..tx_clk input (from SPDIF0_CLK_ROOT. See clock control block for more information.)
87476  *  0b011..SPDIF_EXT_CLK, from pads
87477  *  0b101..ipg_clk input (frequency divided)
87478  */
87479 #define SPDIF_STC_TXCLK_SOURCE(x)                (((uint32_t)(((uint32_t)(x)) << SPDIF_STC_TXCLK_SOURCE_SHIFT)) & SPDIF_STC_TXCLK_SOURCE_MASK)
87480 
87481 #define SPDIF_STC_SYSCLK_DF_MASK                 (0xFF800U)
87482 #define SPDIF_STC_SYSCLK_DF_SHIFT                (11U)
87483 /*! SYSCLK_DF - SYSCLK_DF
87484  *  0b000000000..no clock signal
87485  *  0b000000001..divider factor is 2
87486  *  0b111111111..divider factor is 512
87487  */
87488 #define SPDIF_STC_SYSCLK_DF(x)                   (((uint32_t)(((uint32_t)(x)) << SPDIF_STC_SYSCLK_DF_SHIFT)) & SPDIF_STC_SYSCLK_DF_MASK)
87489 /*! @} */
87490 
87491 
87492 /*!
87493  * @}
87494  */ /* end of group SPDIF_Register_Masks */
87495 
87496 
87497 /* SPDIF - Peripheral instance base addresses */
87498 /** Peripheral SPDIF base address */
87499 #define SPDIF_BASE                               (0x40400000u)
87500 /** Peripheral SPDIF base pointer */
87501 #define SPDIF                                    ((SPDIF_Type *)SPDIF_BASE)
87502 /** Array initializer of SPDIF peripheral base addresses */
87503 #define SPDIF_BASE_ADDRS                         { SPDIF_BASE }
87504 /** Array initializer of SPDIF peripheral base pointers */
87505 #define SPDIF_BASE_PTRS                          { SPDIF }
87506 /** Interrupt vectors for the SPDIF peripheral type */
87507 #define SPDIF_IRQS                               { SPDIF_IRQn }
87508 
87509 /*!
87510  * @}
87511  */ /* end of group SPDIF_Peripheral_Access_Layer */
87512 
87513 
87514 /* ----------------------------------------------------------------------------
87515    -- SRAM Peripheral Access Layer
87516    ---------------------------------------------------------------------------- */
87517 
87518 /*!
87519  * @addtogroup SRAM_Peripheral_Access_Layer SRAM Peripheral Access Layer
87520  * @{
87521  */
87522 
87523 /** SRAM - Register Layout Typedef */
87524 typedef struct {
87525        uint8_t RESERVED_0[12288];
87526   __IO uint32_t CTRL;                              /**< Control Register, offset: 0x3000 */
87527 } SRAM_Type;
87528 
87529 /* ----------------------------------------------------------------------------
87530    -- SRAM Register Masks
87531    ---------------------------------------------------------------------------- */
87532 
87533 /*!
87534  * @addtogroup SRAM_Register_Masks SRAM Register Masks
87535  * @{
87536  */
87537 
87538 /*! @name CTRL - Control Register */
87539 /*! @{ */
87540 
87541 #define SRAM_CTRL_RAM_RD_EN_MASK                 (0x1U)
87542 #define SRAM_CTRL_RAM_RD_EN_SHIFT                (0U)
87543 /*! RAM_RD_EN - RAM Read Enable (with lock)
87544  *  0b0..Disable read access
87545  *  0b1..Enable read access
87546  */
87547 #define SRAM_CTRL_RAM_RD_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_RAM_RD_EN_SHIFT)) & SRAM_CTRL_RAM_RD_EN_MASK)
87548 
87549 #define SRAM_CTRL_RAM_WR_EN_MASK                 (0x2U)
87550 #define SRAM_CTRL_RAM_WR_EN_SHIFT                (1U)
87551 /*! RAM_WR_EN - RAM Write Enable (with lock)
87552  *  0b0..Disable write access
87553  *  0b1..Enable write access
87554  */
87555 #define SRAM_CTRL_RAM_WR_EN(x)                   (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_RAM_WR_EN_SHIFT)) & SRAM_CTRL_RAM_WR_EN_MASK)
87556 
87557 #define SRAM_CTRL_PWR_EN_MASK                    (0x3CU)
87558 #define SRAM_CTRL_PWR_EN_SHIFT                   (2U)
87559 /*! PWR_EN - Power Enable (with lock)
87560  */
87561 #define SRAM_CTRL_PWR_EN(x)                      (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_PWR_EN_SHIFT)) & SRAM_CTRL_PWR_EN_MASK)
87562 
87563 #define SRAM_CTRL_TAMPER_BLOCK_EN_MASK           (0x40U)
87564 #define SRAM_CTRL_TAMPER_BLOCK_EN_SHIFT          (6U)
87565 /*! TAMPER_BLOCK_EN - Tamper Block Enable (with lock)
87566  *  0b0..Allow R/W access to secure RAM when tamper is detected
87567  *  0b1..Block R/W access to secure RAM when tamper is detected
87568  */
87569 #define SRAM_CTRL_TAMPER_BLOCK_EN(x)             (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_TAMPER_BLOCK_EN_SHIFT)) & SRAM_CTRL_TAMPER_BLOCK_EN_MASK)
87570 
87571 #define SRAM_CTRL_TAMPER_PWR_OFF_EN_MASK         (0x80U)
87572 #define SRAM_CTRL_TAMPER_PWR_OFF_EN_SHIFT        (7U)
87573 /*! TAMPER_PWR_OFF_EN - Turn off power on tamper event (with lock)
87574  *  0b0..Disable the turn off function when tamper is detected
87575  *  0b1..Turn off power for all secure RAM banks when tamper is detected
87576  */
87577 #define SRAM_CTRL_TAMPER_PWR_OFF_EN(x)           (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_TAMPER_PWR_OFF_EN_SHIFT)) & SRAM_CTRL_TAMPER_PWR_OFF_EN_MASK)
87578 
87579 #define SRAM_CTRL_LOCK_BIT_MASK                  (0xFF0000U)
87580 #define SRAM_CTRL_LOCK_BIT_SHIFT                 (16U)
87581 /*! LOCK_BIT - Lock bits
87582  */
87583 #define SRAM_CTRL_LOCK_BIT(x)                    (((uint32_t)(((uint32_t)(x)) << SRAM_CTRL_LOCK_BIT_SHIFT)) & SRAM_CTRL_LOCK_BIT_MASK)
87584 /*! @} */
87585 
87586 
87587 /*!
87588  * @}
87589  */ /* end of group SRAM_Register_Masks */
87590 
87591 
87592 /* SRAM - Peripheral instance base addresses */
87593 /** Peripheral SRAM base address */
87594 #define SRAM_BASE                                (0x40C9C000u)
87595 /** Peripheral SRAM base pointer */
87596 #define SRAM                                     ((SRAM_Type *)SRAM_BASE)
87597 /** Array initializer of SRAM peripheral base addresses */
87598 #define SRAM_BASE_ADDRS                          { SRAM_BASE }
87599 /** Array initializer of SRAM peripheral base pointers */
87600 #define SRAM_BASE_PTRS                           { SRAM }
87601 
87602 /*!
87603  * @}
87604  */ /* end of group SRAM_Peripheral_Access_Layer */
87605 
87606 
87607 /* ----------------------------------------------------------------------------
87608    -- SRC Peripheral Access Layer
87609    ---------------------------------------------------------------------------- */
87610 
87611 /*!
87612  * @addtogroup SRC_Peripheral_Access_Layer SRC Peripheral Access Layer
87613  * @{
87614  */
87615 
87616 /** SRC - Register Layout Typedef */
87617 typedef struct {
87618   __IO uint32_t SCR;                               /**< SRC Control Register, offset: 0x0 */
87619   __IO uint32_t SRMR;                              /**< SRC Reset Mode Register, offset: 0x4 */
87620   __I  uint32_t SBMR1;                             /**< SRC Boot Mode Register 1, offset: 0x8 */
87621   __I  uint32_t SBMR2;                             /**< SRC Boot Mode Register 2, offset: 0xC */
87622   __IO uint32_t SRSR;                              /**< SRC Reset Status Register, offset: 0x10 */
87623   __IO uint32_t GPR[20];                           /**< SRC General Purpose Register, array offset: 0x14, array step: 0x4 */
87624        uint8_t RESERVED_0[412];
87625   __IO uint32_t AUTHEN_MEGA;                       /**< Slice Authentication Register, offset: 0x200 */
87626   __IO uint32_t CTRL_MEGA;                         /**< Slice Control Register, offset: 0x204 */
87627   __IO uint32_t SETPOINT_MEGA;                     /**< Slice Setpoint Config Register, offset: 0x208 */
87628   __IO uint32_t DOMAIN_MEGA;                       /**< Slice Domain Config Register, offset: 0x20C */
87629   __IO uint32_t STAT_MEGA;                         /**< Slice Status Register, offset: 0x210 */
87630        uint8_t RESERVED_1[12];
87631   __IO uint32_t AUTHEN_DISPLAY;                    /**< Slice Authentication Register, offset: 0x220 */
87632   __IO uint32_t CTRL_DISPLAY;                      /**< Slice Control Register, offset: 0x224 */
87633   __IO uint32_t SETPOINT_DISPLAY;                  /**< Slice Setpoint Config Register, offset: 0x228 */
87634   __IO uint32_t DOMAIN_DISPLAY;                    /**< Slice Domain Config Register, offset: 0x22C */
87635   __IO uint32_t STAT_DISPLAY;                      /**< Slice Status Register, offset: 0x230 */
87636        uint8_t RESERVED_2[12];
87637   __IO uint32_t AUTHEN_WAKEUP;                     /**< Slice Authentication Register, offset: 0x240 */
87638   __IO uint32_t CTRL_WAKEUP;                       /**< Slice Control Register, offset: 0x244 */
87639   __IO uint32_t SETPOINT_WAKEUP;                   /**< Slice Setpoint Config Register, offset: 0x248 */
87640   __IO uint32_t DOMAIN_WAKEUP;                     /**< Slice Domain Config Register, offset: 0x24C */
87641   __IO uint32_t STAT_WAKEUP;                       /**< Slice Status Register, offset: 0x250 */
87642        uint8_t RESERVED_3[44];
87643   __IO uint32_t AUTHEN_M4CORE;                     /**< Slice Authentication Register, offset: 0x280 */
87644   __IO uint32_t CTRL_M4CORE;                       /**< Slice Control Register, offset: 0x284 */
87645   __IO uint32_t SETPOINT_M4CORE;                   /**< Slice Setpoint Config Register, offset: 0x288 */
87646   __IO uint32_t DOMAIN_M4CORE;                     /**< Slice Domain Config Register, offset: 0x28C */
87647   __IO uint32_t STAT_M4CORE;                       /**< Slice Status Register, offset: 0x290 */
87648        uint8_t RESERVED_4[12];
87649   __IO uint32_t AUTHEN_M7CORE;                     /**< Slice Authentication Register, offset: 0x2A0 */
87650   __IO uint32_t CTRL_M7CORE;                       /**< Slice Control Register, offset: 0x2A4 */
87651   __IO uint32_t SETPOINT_M7CORE;                   /**< Slice Setpoint Config Register, offset: 0x2A8 */
87652   __IO uint32_t DOMAIN_M7CORE;                     /**< Slice Domain Config Register, offset: 0x2AC */
87653   __IO uint32_t STAT_M7CORE;                       /**< Slice Status Register, offset: 0x2B0 */
87654        uint8_t RESERVED_5[12];
87655   __IO uint32_t AUTHEN_M4DEBUG;                    /**< Slice Authentication Register, offset: 0x2C0 */
87656   __IO uint32_t CTRL_M4DEBUG;                      /**< Slice Control Register, offset: 0x2C4 */
87657   __IO uint32_t SETPOINT_M4DEBUG;                  /**< Slice Setpoint Config Register, offset: 0x2C8 */
87658   __IO uint32_t DOMAIN_M4DEBUG;                    /**< Slice Domain Config Register, offset: 0x2CC */
87659   __IO uint32_t STAT_M4DEBUG;                      /**< Slice Status Register, offset: 0x2D0 */
87660        uint8_t RESERVED_6[12];
87661   __IO uint32_t AUTHEN_M7DEBUG;                    /**< Slice Authentication Register, offset: 0x2E0 */
87662   __IO uint32_t CTRL_M7DEBUG;                      /**< Slice Control Register, offset: 0x2E4 */
87663   __IO uint32_t SETPOINT_M7DEBUG;                  /**< Slice Setpoint Config Register, offset: 0x2E8 */
87664   __IO uint32_t DOMAIN_M7DEBUG;                    /**< Slice Domain Config Register, offset: 0x2EC */
87665   __IO uint32_t STAT_M7DEBUG;                      /**< Slice Status Register, offset: 0x2F0 */
87666        uint8_t RESERVED_7[12];
87667   __IO uint32_t AUTHEN_USBPHY1;                    /**< Slice Authentication Register, offset: 0x300 */
87668   __IO uint32_t CTRL_USBPHY1;                      /**< Slice Control Register, offset: 0x304 */
87669   __IO uint32_t SETPOINT_USBPHY1;                  /**< Slice Setpoint Config Register, offset: 0x308 */
87670   __IO uint32_t DOMAIN_USBPHY1;                    /**< Slice Domain Config Register, offset: 0x30C */
87671   __IO uint32_t STAT_USBPHY1;                      /**< Slice Status Register, offset: 0x310 */
87672        uint8_t RESERVED_8[12];
87673   __IO uint32_t AUTHEN_USBPHY2;                    /**< Slice Authentication Register, offset: 0x320 */
87674   __IO uint32_t CTRL_USBPHY2;                      /**< Slice Control Register, offset: 0x324 */
87675   __IO uint32_t SETPOINT_USBPHY2;                  /**< Slice Setpoint Config Register, offset: 0x328 */
87676   __IO uint32_t DOMAIN_USBPHY2;                    /**< Slice Domain Config Register, offset: 0x32C */
87677   __IO uint32_t STAT_USBPHY2;                      /**< Slice Status Register, offset: 0x330 */
87678 } SRC_Type;
87679 
87680 /* ----------------------------------------------------------------------------
87681    -- SRC Register Masks
87682    ---------------------------------------------------------------------------- */
87683 
87684 /*!
87685  * @addtogroup SRC_Register_Masks SRC Register Masks
87686  * @{
87687  */
87688 
87689 /*! @name SCR - SRC Control Register */
87690 /*! @{ */
87691 
87692 #define SRC_SCR_BT_RELEASE_M4_MASK               (0x1U)
87693 #define SRC_SCR_BT_RELEASE_M4_SHIFT              (0U)
87694 /*! BT_RELEASE_M4
87695  *  0b0..cm4 core reset is asserted
87696  *  0b1..cm4 core reset is released
87697  */
87698 #define SRC_SCR_BT_RELEASE_M4(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SCR_BT_RELEASE_M4_SHIFT)) & SRC_SCR_BT_RELEASE_M4_MASK)
87699 
87700 #define SRC_SCR_BT_RELEASE_M7_MASK               (0x2U)
87701 #define SRC_SCR_BT_RELEASE_M7_SHIFT              (1U)
87702 /*! BT_RELEASE_M7
87703  *  0b0..cm7 core reset is asserted
87704  *  0b1..cm7 core reset is released
87705  */
87706 #define SRC_SCR_BT_RELEASE_M7(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SCR_BT_RELEASE_M7_SHIFT)) & SRC_SCR_BT_RELEASE_M7_MASK)
87707 /*! @} */
87708 
87709 /*! @name SRMR - SRC Reset Mode Register */
87710 /*! @{ */
87711 
87712 #define SRC_SRMR_WDOG_RESET_MODE_MASK            (0x3U)
87713 #define SRC_SRMR_WDOG_RESET_MODE_SHIFT           (0U)
87714 /*! WDOG_RESET_MODE - Wdog reset mode configuration
87715  *  0b00..reset system
87716  *  0b01..reserved
87717  *  0b10..reserved
87718  *  0b11..do not reset anything
87719  */
87720 #define SRC_SRMR_WDOG_RESET_MODE(x)              (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_WDOG_RESET_MODE_SHIFT)) & SRC_SRMR_WDOG_RESET_MODE_MASK)
87721 
87722 #define SRC_SRMR_WDOG3_RESET_MODE_MASK           (0xCU)
87723 #define SRC_SRMR_WDOG3_RESET_MODE_SHIFT          (2U)
87724 /*! WDOG3_RESET_MODE - Wdog3 reset mode configuration
87725  *  0b00..reset system
87726  *  0b01..reserved
87727  *  0b10..reserved
87728  *  0b11..do not reset anything
87729  */
87730 #define SRC_SRMR_WDOG3_RESET_MODE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_WDOG3_RESET_MODE_SHIFT)) & SRC_SRMR_WDOG3_RESET_MODE_MASK)
87731 
87732 #define SRC_SRMR_WDOG4_RESET_MODE_MASK           (0x30U)
87733 #define SRC_SRMR_WDOG4_RESET_MODE_SHIFT          (4U)
87734 /*! WDOG4_RESET_MODE - Wdog4 reset mode configuration
87735  *  0b00..reset system
87736  *  0b01..reserved
87737  *  0b10..reserved
87738  *  0b11..do not reset anything
87739  */
87740 #define SRC_SRMR_WDOG4_RESET_MODE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_WDOG4_RESET_MODE_SHIFT)) & SRC_SRMR_WDOG4_RESET_MODE_MASK)
87741 
87742 #define SRC_SRMR_M4LOCKUP_RESET_MODE_MASK        (0xC0U)
87743 #define SRC_SRMR_M4LOCKUP_RESET_MODE_SHIFT       (6U)
87744 /*! M4LOCKUP_RESET_MODE - M4 core lockup reset mode configuration
87745  *  0b00..reset system
87746  *  0b01..reserved
87747  *  0b10..reserved
87748  *  0b11..do not reset anything
87749  */
87750 #define SRC_SRMR_M4LOCKUP_RESET_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_M4LOCKUP_RESET_MODE_SHIFT)) & SRC_SRMR_M4LOCKUP_RESET_MODE_MASK)
87751 
87752 #define SRC_SRMR_M7LOCKUP_RESET_MODE_MASK        (0x300U)
87753 #define SRC_SRMR_M7LOCKUP_RESET_MODE_SHIFT       (8U)
87754 /*! M7LOCKUP_RESET_MODE - M7 core lockup reset mode configuration
87755  *  0b00..reset system
87756  *  0b01..reserved
87757  *  0b10..reserved
87758  *  0b11..do not reset anything
87759  */
87760 #define SRC_SRMR_M7LOCKUP_RESET_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_M7LOCKUP_RESET_MODE_SHIFT)) & SRC_SRMR_M7LOCKUP_RESET_MODE_MASK)
87761 
87762 #define SRC_SRMR_M4REQ_RESET_MODE_MASK           (0xC00U)
87763 #define SRC_SRMR_M4REQ_RESET_MODE_SHIFT          (10U)
87764 /*! M4REQ_RESET_MODE - M4 request reset configuration
87765  *  0b00..reset system
87766  *  0b01..reserved
87767  *  0b10..reserved
87768  *  0b11..do not reset anything
87769  */
87770 #define SRC_SRMR_M4REQ_RESET_MODE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_M4REQ_RESET_MODE_SHIFT)) & SRC_SRMR_M4REQ_RESET_MODE_MASK)
87771 
87772 #define SRC_SRMR_M7REQ_RESET_MODE_MASK           (0x3000U)
87773 #define SRC_SRMR_M7REQ_RESET_MODE_SHIFT          (12U)
87774 /*! M7REQ_RESET_MODE - M7 request reset configuration
87775  *  0b00..reset system
87776  *  0b01..reserved
87777  *  0b10..reserved
87778  *  0b11..do not reset anything
87779  */
87780 #define SRC_SRMR_M7REQ_RESET_MODE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_M7REQ_RESET_MODE_SHIFT)) & SRC_SRMR_M7REQ_RESET_MODE_MASK)
87781 
87782 #define SRC_SRMR_TEMPSENSE_RESET_MODE_MASK       (0xC000U)
87783 #define SRC_SRMR_TEMPSENSE_RESET_MODE_SHIFT      (14U)
87784 /*! TEMPSENSE_RESET_MODE - Tempsense reset mode configuration
87785  *  0b00..reset system
87786  *  0b01..reserved
87787  *  0b10..reserved
87788  *  0b11..do not reset anything
87789  */
87790 #define SRC_SRMR_TEMPSENSE_RESET_MODE(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_TEMPSENSE_RESET_MODE_SHIFT)) & SRC_SRMR_TEMPSENSE_RESET_MODE_MASK)
87791 
87792 #define SRC_SRMR_CSU_RESET_MODE_MASK             (0x30000U)
87793 #define SRC_SRMR_CSU_RESET_MODE_SHIFT            (16U)
87794 /*! CSU_RESET_MODE - CSU reset mode configuration
87795  *  0b00..reset system
87796  *  0b01..reserved
87797  *  0b10..reserved
87798  *  0b11..do not reset anything
87799  */
87800 #define SRC_SRMR_CSU_RESET_MODE(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_CSU_RESET_MODE_SHIFT)) & SRC_SRMR_CSU_RESET_MODE_MASK)
87801 
87802 #define SRC_SRMR_JTAGSW_RESET_MODE_MASK          (0xC0000U)
87803 #define SRC_SRMR_JTAGSW_RESET_MODE_SHIFT         (18U)
87804 /*! JTAGSW_RESET_MODE - Jtag SW reset mode configuration
87805  *  0b00..reset system
87806  *  0b01..reserved
87807  *  0b10..reserved
87808  *  0b11..do not reset anything
87809  */
87810 #define SRC_SRMR_JTAGSW_RESET_MODE(x)            (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_JTAGSW_RESET_MODE_SHIFT)) & SRC_SRMR_JTAGSW_RESET_MODE_MASK)
87811 
87812 #define SRC_SRMR_OVERVOLT_RESET_MODE_MASK        (0x300000U)
87813 #define SRC_SRMR_OVERVOLT_RESET_MODE_SHIFT       (20U)
87814 /*! OVERVOLT_RESET_MODE - Jtag SW reset mode configuration
87815  *  0b00..reset system
87816  *  0b01..reserved
87817  *  0b10..reserved
87818  *  0b11..do not reset anything
87819  */
87820 #define SRC_SRMR_OVERVOLT_RESET_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SRMR_OVERVOLT_RESET_MODE_SHIFT)) & SRC_SRMR_OVERVOLT_RESET_MODE_MASK)
87821 /*! @} */
87822 
87823 /*! @name SBMR1 - SRC Boot Mode Register 1 */
87824 /*! @{ */
87825 
87826 #define SRC_SBMR1_BOOT_CFG1_MASK                 (0xFFU)
87827 #define SRC_SBMR1_BOOT_CFG1_SHIFT                (0U)
87828 #define SRC_SBMR1_BOOT_CFG1(x)                   (((uint32_t)(((uint32_t)(x)) << SRC_SBMR1_BOOT_CFG1_SHIFT)) & SRC_SBMR1_BOOT_CFG1_MASK)
87829 
87830 #define SRC_SBMR1_BOOT_CFG2_MASK                 (0xFF00U)
87831 #define SRC_SBMR1_BOOT_CFG2_SHIFT                (8U)
87832 #define SRC_SBMR1_BOOT_CFG2(x)                   (((uint32_t)(((uint32_t)(x)) << SRC_SBMR1_BOOT_CFG2_SHIFT)) & SRC_SBMR1_BOOT_CFG2_MASK)
87833 
87834 #define SRC_SBMR1_BOOT_CFG3_MASK                 (0xFF0000U)
87835 #define SRC_SBMR1_BOOT_CFG3_SHIFT                (16U)
87836 #define SRC_SBMR1_BOOT_CFG3(x)                   (((uint32_t)(((uint32_t)(x)) << SRC_SBMR1_BOOT_CFG3_SHIFT)) & SRC_SBMR1_BOOT_CFG3_MASK)
87837 
87838 #define SRC_SBMR1_BOOT_CFG4_MASK                 (0xFF000000U)
87839 #define SRC_SBMR1_BOOT_CFG4_SHIFT                (24U)
87840 #define SRC_SBMR1_BOOT_CFG4(x)                   (((uint32_t)(((uint32_t)(x)) << SRC_SBMR1_BOOT_CFG4_SHIFT)) & SRC_SBMR1_BOOT_CFG4_MASK)
87841 /*! @} */
87842 
87843 /*! @name SBMR2 - SRC Boot Mode Register 2 */
87844 /*! @{ */
87845 
87846 #define SRC_SBMR2_SEC_CONFIG_MASK                (0x3U)
87847 #define SRC_SBMR2_SEC_CONFIG_SHIFT               (0U)
87848 #define SRC_SBMR2_SEC_CONFIG(x)                  (((uint32_t)(((uint32_t)(x)) << SRC_SBMR2_SEC_CONFIG_SHIFT)) & SRC_SBMR2_SEC_CONFIG_MASK)
87849 
87850 #define SRC_SBMR2_BT_FUSE_SEL_MASK               (0x10U)
87851 #define SRC_SBMR2_BT_FUSE_SEL_SHIFT              (4U)
87852 #define SRC_SBMR2_BT_FUSE_SEL(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SBMR2_BT_FUSE_SEL_SHIFT)) & SRC_SBMR2_BT_FUSE_SEL_MASK)
87853 
87854 #define SRC_SBMR2_BMOD_MASK                      (0x3000000U)
87855 #define SRC_SBMR2_BMOD_SHIFT                     (24U)
87856 #define SRC_SBMR2_BMOD(x)                        (((uint32_t)(((uint32_t)(x)) << SRC_SBMR2_BMOD_SHIFT)) & SRC_SBMR2_BMOD_MASK)
87857 /*! @} */
87858 
87859 /*! @name SRSR - SRC Reset Status Register */
87860 /*! @{ */
87861 
87862 #define SRC_SRSR_IPP_RESET_B_M7_MASK             (0x1U)
87863 #define SRC_SRSR_IPP_RESET_B_M7_SHIFT            (0U)
87864 /*! IPP_RESET_B_M7
87865  *  0b0..Reset is not a result of ipp_reset_b pin.
87866  *  0b1..Reset is a result of ipp_reset_b pin.
87867  */
87868 #define SRC_SRSR_IPP_RESET_B_M7(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_IPP_RESET_B_M7_SHIFT)) & SRC_SRSR_IPP_RESET_B_M7_MASK)
87869 
87870 #define SRC_SRSR_M7_REQUEST_M7_MASK              (0x2U)
87871 #define SRC_SRSR_M7_REQUEST_M7_SHIFT             (1U)
87872 /*! M7_REQUEST_M7
87873  *  0b0..Reset is not a result of m7 reset request.
87874  *  0b1..Reset is a result of m7 reset request.
87875  */
87876 #define SRC_SRSR_M7_REQUEST_M7(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M7_REQUEST_M7_SHIFT)) & SRC_SRSR_M7_REQUEST_M7_MASK)
87877 
87878 #define SRC_SRSR_M7_LOCKUP_M7_MASK               (0x4U)
87879 #define SRC_SRSR_M7_LOCKUP_M7_SHIFT              (2U)
87880 /*! M7_LOCKUP_M7
87881  *  0b0..Reset is not a result of the mentioned case.
87882  *  0b1..Reset is a result of the mentioned case.
87883  */
87884 #define SRC_SRSR_M7_LOCKUP_M7(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M7_LOCKUP_M7_SHIFT)) & SRC_SRSR_M7_LOCKUP_M7_MASK)
87885 
87886 #define SRC_SRSR_CSU_RESET_B_M7_MASK             (0x8U)
87887 #define SRC_SRSR_CSU_RESET_B_M7_SHIFT            (3U)
87888 /*! CSU_RESET_B_M7
87889  *  0b0..Reset is not a result of the csu_reset_b event.
87890  *  0b1..Reset is a result of the csu_reset_b event.
87891  */
87892 #define SRC_SRSR_CSU_RESET_B_M7(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_CSU_RESET_B_M7_SHIFT)) & SRC_SRSR_CSU_RESET_B_M7_MASK)
87893 
87894 #define SRC_SRSR_IPP_USER_RESET_B_M7_MASK        (0x10U)
87895 #define SRC_SRSR_IPP_USER_RESET_B_M7_SHIFT       (4U)
87896 /*! IPP_USER_RESET_B_M7
87897  *  0b0..Reset is not a result of the ipp_user_reset_b qualified as COLD reset event.
87898  *  0b1..Reset is a result of the ipp_user_reset_b qualified as COLD reset event.
87899  */
87900 #define SRC_SRSR_IPP_USER_RESET_B_M7(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_IPP_USER_RESET_B_M7_SHIFT)) & SRC_SRSR_IPP_USER_RESET_B_M7_MASK)
87901 
87902 #define SRC_SRSR_WDOG_RST_B_M7_MASK              (0x20U)
87903 #define SRC_SRSR_WDOG_RST_B_M7_SHIFT             (5U)
87904 /*! WDOG_RST_B_M7
87905  *  0b0..Reset is not a result of the watchdog time-out event.
87906  *  0b1..Reset is a result of the watchdog time-out event.
87907  */
87908 #define SRC_SRSR_WDOG_RST_B_M7(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG_RST_B_M7_SHIFT)) & SRC_SRSR_WDOG_RST_B_M7_MASK)
87909 
87910 #define SRC_SRSR_JTAG_RST_B_M7_MASK              (0x40U)
87911 #define SRC_SRSR_JTAG_RST_B_M7_SHIFT             (6U)
87912 /*! JTAG_RST_B_M7
87913  *  0b0..Reset is not a result of HIGH-Z reset from JTAG.
87914  *  0b1..Reset is a result of HIGH-Z reset from JTAG.
87915  */
87916 #define SRC_SRSR_JTAG_RST_B_M7(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_JTAG_RST_B_M7_SHIFT)) & SRC_SRSR_JTAG_RST_B_M7_MASK)
87917 
87918 #define SRC_SRSR_JTAG_SW_RST_M7_MASK             (0x80U)
87919 #define SRC_SRSR_JTAG_SW_RST_M7_SHIFT            (7U)
87920 /*! JTAG_SW_RST_M7
87921  *  0b0..Reset is not a result of software reset from JTAG.
87922  *  0b1..Reset is a result of software reset from JTAG.
87923  */
87924 #define SRC_SRSR_JTAG_SW_RST_M7(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_JTAG_SW_RST_M7_SHIFT)) & SRC_SRSR_JTAG_SW_RST_M7_MASK)
87925 
87926 #define SRC_SRSR_WDOG3_RST_B_M7_MASK             (0x100U)
87927 #define SRC_SRSR_WDOG3_RST_B_M7_SHIFT            (8U)
87928 /*! WDOG3_RST_B_M7
87929  *  0b0..Reset is not a result of the watchdog3 time-out event.
87930  *  0b1..Reset is a result of the watchdog3 time-out event.
87931  */
87932 #define SRC_SRSR_WDOG3_RST_B_M7(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG3_RST_B_M7_SHIFT)) & SRC_SRSR_WDOG3_RST_B_M7_MASK)
87933 
87934 #define SRC_SRSR_WDOG4_RST_B_M7_MASK             (0x200U)
87935 #define SRC_SRSR_WDOG4_RST_B_M7_SHIFT            (9U)
87936 /*! WDOG4_RST_B_M7
87937  *  0b0..Reset is not a result of the watchdog4 time-out event.
87938  *  0b1..Reset is a result of the watchdog4 time-out event.
87939  */
87940 #define SRC_SRSR_WDOG4_RST_B_M7(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG4_RST_B_M7_SHIFT)) & SRC_SRSR_WDOG4_RST_B_M7_MASK)
87941 
87942 #define SRC_SRSR_TEMPSENSE_RST_B_M7_MASK         (0x400U)
87943 #define SRC_SRSR_TEMPSENSE_RST_B_M7_SHIFT        (10U)
87944 /*! TEMPSENSE_RST_B_M7
87945  *  0b0..Reset is not a result of software reset from Temperature Sensor.
87946  *  0b1..Reset is a result of software reset from Temperature Sensor.
87947  */
87948 #define SRC_SRSR_TEMPSENSE_RST_B_M7(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_TEMPSENSE_RST_B_M7_SHIFT)) & SRC_SRSR_TEMPSENSE_RST_B_M7_MASK)
87949 
87950 #define SRC_SRSR_M4_REQUEST_M7_MASK              (0x800U)
87951 #define SRC_SRSR_M4_REQUEST_M7_SHIFT             (11U)
87952 /*! M4_REQUEST_M7
87953  *  0b0..Reset is not a result of m4 reset request.
87954  *  0b1..Reset is a result of m4 reset request.
87955  */
87956 #define SRC_SRSR_M4_REQUEST_M7(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M4_REQUEST_M7_SHIFT)) & SRC_SRSR_M4_REQUEST_M7_MASK)
87957 
87958 #define SRC_SRSR_M4_LOCKUP_M7_MASK               (0x1000U)
87959 #define SRC_SRSR_M4_LOCKUP_M7_SHIFT              (12U)
87960 /*! M4_LOCKUP_M7
87961  *  0b0..Reset is not a result of the mentioned case.
87962  *  0b1..Reset is a result of the mentioned case.
87963  */
87964 #define SRC_SRSR_M4_LOCKUP_M7(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M4_LOCKUP_M7_SHIFT)) & SRC_SRSR_M4_LOCKUP_M7_MASK)
87965 
87966 #define SRC_SRSR_OVERVOLT_RST_M7_MASK            (0x2000U)
87967 #define SRC_SRSR_OVERVOLT_RST_M7_SHIFT           (13U)
87968 /*! OVERVOLT_RST_M7
87969  *  0b0..Reset is not a result of the mentioned case.
87970  *  0b1..Reset is a result of the mentioned case.
87971  */
87972 #define SRC_SRSR_OVERVOLT_RST_M7(x)              (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_OVERVOLT_RST_M7_SHIFT)) & SRC_SRSR_OVERVOLT_RST_M7_MASK)
87973 
87974 #define SRC_SRSR_CDOG_RST_M7_MASK                (0x4000U)
87975 #define SRC_SRSR_CDOG_RST_M7_SHIFT               (14U)
87976 /*! CDOG_RST_M7
87977  *  0b0..Reset is not a result of the mentioned case.
87978  *  0b1..Reset is a result of the mentioned case.
87979  */
87980 #define SRC_SRSR_CDOG_RST_M7(x)                  (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_CDOG_RST_M7_SHIFT)) & SRC_SRSR_CDOG_RST_M7_MASK)
87981 
87982 #define SRC_SRSR_IPP_RESET_B_M4_MASK             (0x10000U)
87983 #define SRC_SRSR_IPP_RESET_B_M4_SHIFT            (16U)
87984 /*! IPP_RESET_B_M4
87985  *  0b0..Reset is not a result of ipp_reset_b pin.
87986  *  0b1..Reset is a result of ipp_reset_b pin.
87987  */
87988 #define SRC_SRSR_IPP_RESET_B_M4(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_IPP_RESET_B_M4_SHIFT)) & SRC_SRSR_IPP_RESET_B_M4_MASK)
87989 
87990 #define SRC_SRSR_M4_REQUEST_M4_MASK              (0x20000U)
87991 #define SRC_SRSR_M4_REQUEST_M4_SHIFT             (17U)
87992 /*! M4_REQUEST_M4
87993  *  0b0..Reset is not a result of m4 reset request.
87994  *  0b1..Reset is a result of m4 reset request.
87995  */
87996 #define SRC_SRSR_M4_REQUEST_M4(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M4_REQUEST_M4_SHIFT)) & SRC_SRSR_M4_REQUEST_M4_MASK)
87997 
87998 #define SRC_SRSR_M4_LOCKUP_M4_MASK               (0x40000U)
87999 #define SRC_SRSR_M4_LOCKUP_M4_SHIFT              (18U)
88000 /*! M4_LOCKUP_M4
88001  *  0b0..Reset is not a result of the mentioned case.
88002  *  0b1..Reset is a result of the mentioned case.
88003  */
88004 #define SRC_SRSR_M4_LOCKUP_M4(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M4_LOCKUP_M4_SHIFT)) & SRC_SRSR_M4_LOCKUP_M4_MASK)
88005 
88006 #define SRC_SRSR_CSU_RESET_B_M4_MASK             (0x80000U)
88007 #define SRC_SRSR_CSU_RESET_B_M4_SHIFT            (19U)
88008 /*! CSU_RESET_B_M4
88009  *  0b0..Reset is not a result of the csu_reset_b event.
88010  *  0b1..Reset is a result of the csu_reset_b event.
88011  */
88012 #define SRC_SRSR_CSU_RESET_B_M4(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_CSU_RESET_B_M4_SHIFT)) & SRC_SRSR_CSU_RESET_B_M4_MASK)
88013 
88014 #define SRC_SRSR_IPP_USER_RESET_B_M4_MASK        (0x100000U)
88015 #define SRC_SRSR_IPP_USER_RESET_B_M4_SHIFT       (20U)
88016 /*! IPP_USER_RESET_B_M4
88017  *  0b0..Reset is not a result of the ipp_user_reset_b qualified as COLD reset event.
88018  *  0b1..Reset is a result of the ipp_user_reset_b qualified as COLD reset event.
88019  */
88020 #define SRC_SRSR_IPP_USER_RESET_B_M4(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_IPP_USER_RESET_B_M4_SHIFT)) & SRC_SRSR_IPP_USER_RESET_B_M4_MASK)
88021 
88022 #define SRC_SRSR_WDOG_RST_B_M4_MASK              (0x200000U)
88023 #define SRC_SRSR_WDOG_RST_B_M4_SHIFT             (21U)
88024 /*! WDOG_RST_B_M4
88025  *  0b0..Reset is not a result of the watchdog time-out event.
88026  *  0b1..Reset is a result of the watchdog time-out event.
88027  */
88028 #define SRC_SRSR_WDOG_RST_B_M4(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG_RST_B_M4_SHIFT)) & SRC_SRSR_WDOG_RST_B_M4_MASK)
88029 
88030 #define SRC_SRSR_JTAG_RST_B_M4_MASK              (0x400000U)
88031 #define SRC_SRSR_JTAG_RST_B_M4_SHIFT             (22U)
88032 /*! JTAG_RST_B_M4
88033  *  0b0..Reset is not a result of HIGH-Z reset from JTAG.
88034  *  0b1..Reset is a result of HIGH-Z reset from JTAG.
88035  */
88036 #define SRC_SRSR_JTAG_RST_B_M4(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_JTAG_RST_B_M4_SHIFT)) & SRC_SRSR_JTAG_RST_B_M4_MASK)
88037 
88038 #define SRC_SRSR_JTAG_SW_RST_M4_MASK             (0x800000U)
88039 #define SRC_SRSR_JTAG_SW_RST_M4_SHIFT            (23U)
88040 /*! JTAG_SW_RST_M4
88041  *  0b0..Reset is not a result of software reset from JTAG.
88042  *  0b1..Reset is a result of software reset from JTAG.
88043  */
88044 #define SRC_SRSR_JTAG_SW_RST_M4(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_JTAG_SW_RST_M4_SHIFT)) & SRC_SRSR_JTAG_SW_RST_M4_MASK)
88045 
88046 #define SRC_SRSR_WDOG3_RST_B_M4_MASK             (0x1000000U)
88047 #define SRC_SRSR_WDOG3_RST_B_M4_SHIFT            (24U)
88048 /*! WDOG3_RST_B_M4
88049  *  0b0..Reset is not a result of the watchdog3 time-out event.
88050  *  0b1..Reset is a result of the watchdog3 time-out event.
88051  */
88052 #define SRC_SRSR_WDOG3_RST_B_M4(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG3_RST_B_M4_SHIFT)) & SRC_SRSR_WDOG3_RST_B_M4_MASK)
88053 
88054 #define SRC_SRSR_WDOG4_RST_B_M4_MASK             (0x2000000U)
88055 #define SRC_SRSR_WDOG4_RST_B_M4_SHIFT            (25U)
88056 /*! WDOG4_RST_B_M4
88057  *  0b0..Reset is not a result of the watchdog4 time-out event.
88058  *  0b1..Reset is a result of the watchdog4 time-out event.
88059  */
88060 #define SRC_SRSR_WDOG4_RST_B_M4(x)               (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_WDOG4_RST_B_M4_SHIFT)) & SRC_SRSR_WDOG4_RST_B_M4_MASK)
88061 
88062 #define SRC_SRSR_TEMPSENSE_RST_B_M4_MASK         (0x4000000U)
88063 #define SRC_SRSR_TEMPSENSE_RST_B_M4_SHIFT        (26U)
88064 /*! TEMPSENSE_RST_B_M4
88065  *  0b0..Reset is not a result of software reset from Temperature Sensor.
88066  *  0b1..Reset is a result of software reset from Temperature Sensor.
88067  */
88068 #define SRC_SRSR_TEMPSENSE_RST_B_M4(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_TEMPSENSE_RST_B_M4_SHIFT)) & SRC_SRSR_TEMPSENSE_RST_B_M4_MASK)
88069 
88070 #define SRC_SRSR_M7_REQUEST_M4_MASK              (0x8000000U)
88071 #define SRC_SRSR_M7_REQUEST_M4_SHIFT             (27U)
88072 /*! M7_REQUEST_M4
88073  *  0b0..Reset is not a result of m7 reset request.
88074  *  0b1..Reset is a result of m7 reset request.
88075  */
88076 #define SRC_SRSR_M7_REQUEST_M4(x)                (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M7_REQUEST_M4_SHIFT)) & SRC_SRSR_M7_REQUEST_M4_MASK)
88077 
88078 #define SRC_SRSR_M7_LOCKUP_M4_MASK               (0x10000000U)
88079 #define SRC_SRSR_M7_LOCKUP_M4_SHIFT              (28U)
88080 /*! M7_LOCKUP_M4
88081  *  0b0..Reset is not a result of the mentioned case.
88082  *  0b1..Reset is a result of the mentioned case.
88083  */
88084 #define SRC_SRSR_M7_LOCKUP_M4(x)                 (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_M7_LOCKUP_M4_SHIFT)) & SRC_SRSR_M7_LOCKUP_M4_MASK)
88085 
88086 #define SRC_SRSR_OVERVOLT_RST_M4_MASK            (0x20000000U)
88087 #define SRC_SRSR_OVERVOLT_RST_M4_SHIFT           (29U)
88088 /*! OVERVOLT_RST_M4
88089  *  0b0..Reset is not a result of the mentioned case.
88090  *  0b1..Reset is a result of the mentioned case.
88091  */
88092 #define SRC_SRSR_OVERVOLT_RST_M4(x)              (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_OVERVOLT_RST_M4_SHIFT)) & SRC_SRSR_OVERVOLT_RST_M4_MASK)
88093 
88094 #define SRC_SRSR_CDOG_RST_M4_MASK                (0x40000000U)
88095 #define SRC_SRSR_CDOG_RST_M4_SHIFT               (30U)
88096 /*! CDOG_RST_M4
88097  *  0b0..Reset is not a result of the mentioned case.
88098  *  0b1..Reset is a result of the mentioned case.
88099  */
88100 #define SRC_SRSR_CDOG_RST_M4(x)                  (((uint32_t)(((uint32_t)(x)) << SRC_SRSR_CDOG_RST_M4_SHIFT)) & SRC_SRSR_CDOG_RST_M4_MASK)
88101 /*! @} */
88102 
88103 /*! @name GPR - SRC General Purpose Register */
88104 /*! @{ */
88105 
88106 #define SRC_GPR_GPR_MASK                         (0xFFFFFFFFU)
88107 #define SRC_GPR_GPR_SHIFT                        (0U)
88108 /*! GPR - General Purpose Register.
88109  */
88110 #define SRC_GPR_GPR(x)                           (((uint32_t)(((uint32_t)(x)) << SRC_GPR_GPR_SHIFT)) & SRC_GPR_GPR_MASK)
88111 /*! @} */
88112 
88113 /* The count of SRC_GPR */
88114 #define SRC_GPR_COUNT                            (20U)
88115 
88116 /*! @name AUTHEN_MEGA - Slice Authentication Register */
88117 /*! @{ */
88118 
88119 #define SRC_AUTHEN_MEGA_DOMAIN_MODE_MASK         (0x1U)
88120 #define SRC_AUTHEN_MEGA_DOMAIN_MODE_SHIFT        (0U)
88121 /*! DOMAIN_MODE
88122  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
88123  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
88124  */
88125 #define SRC_AUTHEN_MEGA_DOMAIN_MODE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_MEGA_DOMAIN_MODE_MASK)
88126 
88127 #define SRC_AUTHEN_MEGA_SETPOINT_MODE_MASK       (0x2U)
88128 #define SRC_AUTHEN_MEGA_SETPOINT_MODE_SHIFT      (1U)
88129 /*! SETPOINT_MODE
88130  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
88131  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
88132  */
88133 #define SRC_AUTHEN_MEGA_SETPOINT_MODE(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_MEGA_SETPOINT_MODE_MASK)
88134 
88135 #define SRC_AUTHEN_MEGA_LOCK_MODE_MASK           (0x80U)
88136 #define SRC_AUTHEN_MEGA_LOCK_MODE_SHIFT          (7U)
88137 /*! LOCK_MODE - Domain/Setpoint mode lock
88138  */
88139 #define SRC_AUTHEN_MEGA_LOCK_MODE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_LOCK_MODE_SHIFT)) & SRC_AUTHEN_MEGA_LOCK_MODE_MASK)
88140 
88141 #define SRC_AUTHEN_MEGA_ASSIGN_LIST_MASK         (0xF00U)
88142 #define SRC_AUTHEN_MEGA_ASSIGN_LIST_SHIFT        (8U)
88143 #define SRC_AUTHEN_MEGA_ASSIGN_LIST(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_MEGA_ASSIGN_LIST_MASK)
88144 
88145 #define SRC_AUTHEN_MEGA_LOCK_ASSIGN_MASK         (0x8000U)
88146 #define SRC_AUTHEN_MEGA_LOCK_ASSIGN_SHIFT        (15U)
88147 /*! LOCK_ASSIGN - Assign list lock
88148  */
88149 #define SRC_AUTHEN_MEGA_LOCK_ASSIGN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_MEGA_LOCK_ASSIGN_MASK)
88150 
88151 #define SRC_AUTHEN_MEGA_WHITE_LIST_MASK          (0xF0000U)
88152 #define SRC_AUTHEN_MEGA_WHITE_LIST_SHIFT         (16U)
88153 /*! WHITE_LIST - Domain ID white list
88154  */
88155 #define SRC_AUTHEN_MEGA_WHITE_LIST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_WHITE_LIST_SHIFT)) & SRC_AUTHEN_MEGA_WHITE_LIST_MASK)
88156 
88157 #define SRC_AUTHEN_MEGA_LOCK_LIST_MASK           (0x800000U)
88158 #define SRC_AUTHEN_MEGA_LOCK_LIST_SHIFT          (23U)
88159 /*! LOCK_LIST - White list lock
88160  */
88161 #define SRC_AUTHEN_MEGA_LOCK_LIST(x)             (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_LOCK_LIST_SHIFT)) & SRC_AUTHEN_MEGA_LOCK_LIST_MASK)
88162 
88163 #define SRC_AUTHEN_MEGA_USER_MASK                (0x1000000U)
88164 #define SRC_AUTHEN_MEGA_USER_SHIFT               (24U)
88165 /*! USER - Allow user mode access
88166  */
88167 #define SRC_AUTHEN_MEGA_USER(x)                  (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_USER_SHIFT)) & SRC_AUTHEN_MEGA_USER_MASK)
88168 
88169 #define SRC_AUTHEN_MEGA_NONSECURE_MASK           (0x2000000U)
88170 #define SRC_AUTHEN_MEGA_NONSECURE_SHIFT          (25U)
88171 /*! NONSECURE - Allow non-secure mode access
88172  */
88173 #define SRC_AUTHEN_MEGA_NONSECURE(x)             (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_NONSECURE_SHIFT)) & SRC_AUTHEN_MEGA_NONSECURE_MASK)
88174 
88175 #define SRC_AUTHEN_MEGA_LOCK_SETTING_MASK        (0x80000000U)
88176 #define SRC_AUTHEN_MEGA_LOCK_SETTING_SHIFT       (31U)
88177 /*! LOCK_SETTING - Lock NONSECURE and USER
88178  */
88179 #define SRC_AUTHEN_MEGA_LOCK_SETTING(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_MEGA_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_MEGA_LOCK_SETTING_MASK)
88180 /*! @} */
88181 
88182 /*! @name CTRL_MEGA - Slice Control Register */
88183 /*! @{ */
88184 
88185 #define SRC_CTRL_MEGA_SW_RESET_MASK              (0x1U)
88186 #define SRC_CTRL_MEGA_SW_RESET_SHIFT             (0U)
88187 /*! SW_RESET
88188  *  0b0..do not assert slice software reset
88189  *  0b1..assert slice software reset
88190  */
88191 #define SRC_CTRL_MEGA_SW_RESET(x)                (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_MEGA_SW_RESET_SHIFT)) & SRC_CTRL_MEGA_SW_RESET_MASK)
88192 /*! @} */
88193 
88194 /*! @name SETPOINT_MEGA - Slice Setpoint Config Register */
88195 /*! @{ */
88196 
88197 #define SRC_SETPOINT_MEGA_SETPOINT0_MASK         (0x1U)
88198 #define SRC_SETPOINT_MEGA_SETPOINT0_SHIFT        (0U)
88199 /*! SETPOINT0 - SETPOINT0
88200  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88201  *  0b1..Slice reset will be asserted when system in Setpoint n
88202  */
88203 #define SRC_SETPOINT_MEGA_SETPOINT0(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT0_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT0_MASK)
88204 
88205 #define SRC_SETPOINT_MEGA_SETPOINT1_MASK         (0x2U)
88206 #define SRC_SETPOINT_MEGA_SETPOINT1_SHIFT        (1U)
88207 /*! SETPOINT1 - SETPOINT1
88208  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88209  *  0b1..Slice reset will be asserted when system in Setpoint n
88210  */
88211 #define SRC_SETPOINT_MEGA_SETPOINT1(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT1_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT1_MASK)
88212 
88213 #define SRC_SETPOINT_MEGA_SETPOINT2_MASK         (0x4U)
88214 #define SRC_SETPOINT_MEGA_SETPOINT2_SHIFT        (2U)
88215 /*! SETPOINT2 - SETPOINT2
88216  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88217  *  0b1..Slice reset will be asserted when system in Setpoint n
88218  */
88219 #define SRC_SETPOINT_MEGA_SETPOINT2(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT2_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT2_MASK)
88220 
88221 #define SRC_SETPOINT_MEGA_SETPOINT3_MASK         (0x8U)
88222 #define SRC_SETPOINT_MEGA_SETPOINT3_SHIFT        (3U)
88223 /*! SETPOINT3 - SETPOINT3
88224  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88225  *  0b1..Slice reset will be asserted when system in Setpoint n
88226  */
88227 #define SRC_SETPOINT_MEGA_SETPOINT3(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT3_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT3_MASK)
88228 
88229 #define SRC_SETPOINT_MEGA_SETPOINT4_MASK         (0x10U)
88230 #define SRC_SETPOINT_MEGA_SETPOINT4_SHIFT        (4U)
88231 /*! SETPOINT4 - SETPOINT4
88232  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88233  *  0b1..Slice reset will be asserted when system in Setpoint n
88234  */
88235 #define SRC_SETPOINT_MEGA_SETPOINT4(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT4_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT4_MASK)
88236 
88237 #define SRC_SETPOINT_MEGA_SETPOINT5_MASK         (0x20U)
88238 #define SRC_SETPOINT_MEGA_SETPOINT5_SHIFT        (5U)
88239 /*! SETPOINT5 - SETPOINT5
88240  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88241  *  0b1..Slice reset will be asserted when system in Setpoint n
88242  */
88243 #define SRC_SETPOINT_MEGA_SETPOINT5(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT5_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT5_MASK)
88244 
88245 #define SRC_SETPOINT_MEGA_SETPOINT6_MASK         (0x40U)
88246 #define SRC_SETPOINT_MEGA_SETPOINT6_SHIFT        (6U)
88247 /*! SETPOINT6 - SETPOINT6
88248  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88249  *  0b1..Slice reset will be asserted when system in Setpoint n
88250  */
88251 #define SRC_SETPOINT_MEGA_SETPOINT6(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT6_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT6_MASK)
88252 
88253 #define SRC_SETPOINT_MEGA_SETPOINT7_MASK         (0x80U)
88254 #define SRC_SETPOINT_MEGA_SETPOINT7_SHIFT        (7U)
88255 /*! SETPOINT7 - SETPOINT7
88256  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88257  *  0b1..Slice reset will be asserted when system in Setpoint n
88258  */
88259 #define SRC_SETPOINT_MEGA_SETPOINT7(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT7_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT7_MASK)
88260 
88261 #define SRC_SETPOINT_MEGA_SETPOINT8_MASK         (0x100U)
88262 #define SRC_SETPOINT_MEGA_SETPOINT8_SHIFT        (8U)
88263 /*! SETPOINT8 - SETPOINT8
88264  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88265  *  0b1..Slice reset will be asserted when system in Setpoint n
88266  */
88267 #define SRC_SETPOINT_MEGA_SETPOINT8(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT8_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT8_MASK)
88268 
88269 #define SRC_SETPOINT_MEGA_SETPOINT9_MASK         (0x200U)
88270 #define SRC_SETPOINT_MEGA_SETPOINT9_SHIFT        (9U)
88271 /*! SETPOINT9 - SETPOINT9
88272  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88273  *  0b1..Slice reset will be asserted when system in Setpoint n
88274  */
88275 #define SRC_SETPOINT_MEGA_SETPOINT9(x)           (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT9_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT9_MASK)
88276 
88277 #define SRC_SETPOINT_MEGA_SETPOINT10_MASK        (0x400U)
88278 #define SRC_SETPOINT_MEGA_SETPOINT10_SHIFT       (10U)
88279 /*! SETPOINT10 - SETPOINT10
88280  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88281  *  0b1..Slice reset will be asserted when system in Setpoint n
88282  */
88283 #define SRC_SETPOINT_MEGA_SETPOINT10(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT10_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT10_MASK)
88284 
88285 #define SRC_SETPOINT_MEGA_SETPOINT11_MASK        (0x800U)
88286 #define SRC_SETPOINT_MEGA_SETPOINT11_SHIFT       (11U)
88287 /*! SETPOINT11 - SETPOINT11
88288  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88289  *  0b1..Slice reset will be asserted when system in Setpoint n
88290  */
88291 #define SRC_SETPOINT_MEGA_SETPOINT11(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT11_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT11_MASK)
88292 
88293 #define SRC_SETPOINT_MEGA_SETPOINT12_MASK        (0x1000U)
88294 #define SRC_SETPOINT_MEGA_SETPOINT12_SHIFT       (12U)
88295 /*! SETPOINT12 - SETPOINT12
88296  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88297  *  0b1..Slice reset will be asserted when system in Setpoint n
88298  */
88299 #define SRC_SETPOINT_MEGA_SETPOINT12(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT12_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT12_MASK)
88300 
88301 #define SRC_SETPOINT_MEGA_SETPOINT13_MASK        (0x2000U)
88302 #define SRC_SETPOINT_MEGA_SETPOINT13_SHIFT       (13U)
88303 /*! SETPOINT13 - SETPOINT13
88304  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88305  *  0b1..Slice reset will be asserted when system in Setpoint n
88306  */
88307 #define SRC_SETPOINT_MEGA_SETPOINT13(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT13_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT13_MASK)
88308 
88309 #define SRC_SETPOINT_MEGA_SETPOINT14_MASK        (0x4000U)
88310 #define SRC_SETPOINT_MEGA_SETPOINT14_SHIFT       (14U)
88311 /*! SETPOINT14 - SETPOINT14
88312  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88313  *  0b1..Slice reset will be asserted when system in Setpoint n
88314  */
88315 #define SRC_SETPOINT_MEGA_SETPOINT14(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT14_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT14_MASK)
88316 
88317 #define SRC_SETPOINT_MEGA_SETPOINT15_MASK        (0x8000U)
88318 #define SRC_SETPOINT_MEGA_SETPOINT15_SHIFT       (15U)
88319 /*! SETPOINT15 - SETPOINT15
88320  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88321  *  0b1..Slice reset will be asserted when system in Setpoint n
88322  */
88323 #define SRC_SETPOINT_MEGA_SETPOINT15(x)          (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_MEGA_SETPOINT15_SHIFT)) & SRC_SETPOINT_MEGA_SETPOINT15_MASK)
88324 /*! @} */
88325 
88326 /*! @name DOMAIN_MEGA - Slice Domain Config Register */
88327 /*! @{ */
88328 
88329 #define SRC_DOMAIN_MEGA_CPU0_RUN_MASK            (0x1U)
88330 #define SRC_DOMAIN_MEGA_CPU0_RUN_SHIFT           (0U)
88331 /*! CPU0_RUN - CPU mode setting for RUN
88332  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
88333  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
88334  */
88335 #define SRC_DOMAIN_MEGA_CPU0_RUN(x)              (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU0_RUN_SHIFT)) & SRC_DOMAIN_MEGA_CPU0_RUN_MASK)
88336 
88337 #define SRC_DOMAIN_MEGA_CPU0_WAIT_MASK           (0x2U)
88338 #define SRC_DOMAIN_MEGA_CPU0_WAIT_SHIFT          (1U)
88339 /*! CPU0_WAIT - CPU mode setting for WAIT
88340  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
88341  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
88342  */
88343 #define SRC_DOMAIN_MEGA_CPU0_WAIT(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_MEGA_CPU0_WAIT_MASK)
88344 
88345 #define SRC_DOMAIN_MEGA_CPU0_STOP_MASK           (0x4U)
88346 #define SRC_DOMAIN_MEGA_CPU0_STOP_SHIFT          (2U)
88347 /*! CPU0_STOP - CPU mode setting for STOP
88348  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
88349  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
88350  */
88351 #define SRC_DOMAIN_MEGA_CPU0_STOP(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU0_STOP_SHIFT)) & SRC_DOMAIN_MEGA_CPU0_STOP_MASK)
88352 
88353 #define SRC_DOMAIN_MEGA_CPU0_SUSP_MASK           (0x8U)
88354 #define SRC_DOMAIN_MEGA_CPU0_SUSP_SHIFT          (3U)
88355 /*! CPU0_SUSP - CPU mode setting for SUSPEND
88356  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
88357  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
88358  */
88359 #define SRC_DOMAIN_MEGA_CPU0_SUSP(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_MEGA_CPU0_SUSP_MASK)
88360 
88361 #define SRC_DOMAIN_MEGA_CPU1_RUN_MASK            (0x10U)
88362 #define SRC_DOMAIN_MEGA_CPU1_RUN_SHIFT           (4U)
88363 /*! CPU1_RUN - CPU mode setting for RUN
88364  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
88365  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
88366  */
88367 #define SRC_DOMAIN_MEGA_CPU1_RUN(x)              (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU1_RUN_SHIFT)) & SRC_DOMAIN_MEGA_CPU1_RUN_MASK)
88368 
88369 #define SRC_DOMAIN_MEGA_CPU1_WAIT_MASK           (0x20U)
88370 #define SRC_DOMAIN_MEGA_CPU1_WAIT_SHIFT          (5U)
88371 /*! CPU1_WAIT - CPU mode setting for WAIT
88372  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
88373  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
88374  */
88375 #define SRC_DOMAIN_MEGA_CPU1_WAIT(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_MEGA_CPU1_WAIT_MASK)
88376 
88377 #define SRC_DOMAIN_MEGA_CPU1_STOP_MASK           (0x40U)
88378 #define SRC_DOMAIN_MEGA_CPU1_STOP_SHIFT          (6U)
88379 /*! CPU1_STOP - CPU mode setting for STOP
88380  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
88381  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
88382  */
88383 #define SRC_DOMAIN_MEGA_CPU1_STOP(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU1_STOP_SHIFT)) & SRC_DOMAIN_MEGA_CPU1_STOP_MASK)
88384 
88385 #define SRC_DOMAIN_MEGA_CPU1_SUSP_MASK           (0x80U)
88386 #define SRC_DOMAIN_MEGA_CPU1_SUSP_SHIFT          (7U)
88387 /*! CPU1_SUSP - CPU mode setting for SUSPEND
88388  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
88389  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
88390  */
88391 #define SRC_DOMAIN_MEGA_CPU1_SUSP(x)             (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_MEGA_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_MEGA_CPU1_SUSP_MASK)
88392 /*! @} */
88393 
88394 /*! @name STAT_MEGA - Slice Status Register */
88395 /*! @{ */
88396 
88397 #define SRC_STAT_MEGA_UNDER_RST_MASK             (0x1U)
88398 #define SRC_STAT_MEGA_UNDER_RST_SHIFT            (0U)
88399 /*! UNDER_RST
88400  *  0b0..the reset is finished
88401  *  0b1..the reset is in process
88402  */
88403 #define SRC_STAT_MEGA_UNDER_RST(x)               (((uint32_t)(((uint32_t)(x)) << SRC_STAT_MEGA_UNDER_RST_SHIFT)) & SRC_STAT_MEGA_UNDER_RST_MASK)
88404 
88405 #define SRC_STAT_MEGA_RST_BY_HW_MASK             (0x4U)
88406 #define SRC_STAT_MEGA_RST_BY_HW_SHIFT            (2U)
88407 /*! RST_BY_HW
88408  *  0b0..the reset is not caused by the power mode transfer
88409  *  0b1..the reset is caused by the power mode transfer
88410  */
88411 #define SRC_STAT_MEGA_RST_BY_HW(x)               (((uint32_t)(((uint32_t)(x)) << SRC_STAT_MEGA_RST_BY_HW_SHIFT)) & SRC_STAT_MEGA_RST_BY_HW_MASK)
88412 
88413 #define SRC_STAT_MEGA_RST_BY_SW_MASK             (0x8U)
88414 #define SRC_STAT_MEGA_RST_BY_SW_SHIFT            (3U)
88415 /*! RST_BY_SW
88416  *  0b0..the reset is not caused by software setting
88417  *  0b1..the reset is caused by software setting
88418  */
88419 #define SRC_STAT_MEGA_RST_BY_SW(x)               (((uint32_t)(((uint32_t)(x)) << SRC_STAT_MEGA_RST_BY_SW_SHIFT)) & SRC_STAT_MEGA_RST_BY_SW_MASK)
88420 /*! @} */
88421 
88422 /*! @name AUTHEN_DISPLAY - Slice Authentication Register */
88423 /*! @{ */
88424 
88425 #define SRC_AUTHEN_DISPLAY_DOMAIN_MODE_MASK      (0x1U)
88426 #define SRC_AUTHEN_DISPLAY_DOMAIN_MODE_SHIFT     (0U)
88427 /*! DOMAIN_MODE
88428  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
88429  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
88430  */
88431 #define SRC_AUTHEN_DISPLAY_DOMAIN_MODE(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_DISPLAY_DOMAIN_MODE_MASK)
88432 
88433 #define SRC_AUTHEN_DISPLAY_SETPOINT_MODE_MASK    (0x2U)
88434 #define SRC_AUTHEN_DISPLAY_SETPOINT_MODE_SHIFT   (1U)
88435 /*! SETPOINT_MODE
88436  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
88437  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
88438  */
88439 #define SRC_AUTHEN_DISPLAY_SETPOINT_MODE(x)      (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_DISPLAY_SETPOINT_MODE_MASK)
88440 
88441 #define SRC_AUTHEN_DISPLAY_LOCK_MODE_MASK        (0x80U)
88442 #define SRC_AUTHEN_DISPLAY_LOCK_MODE_SHIFT       (7U)
88443 /*! LOCK_MODE - Domain/Setpoint mode lock
88444  */
88445 #define SRC_AUTHEN_DISPLAY_LOCK_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_LOCK_MODE_SHIFT)) & SRC_AUTHEN_DISPLAY_LOCK_MODE_MASK)
88446 
88447 #define SRC_AUTHEN_DISPLAY_ASSIGN_LIST_MASK      (0xF00U)
88448 #define SRC_AUTHEN_DISPLAY_ASSIGN_LIST_SHIFT     (8U)
88449 #define SRC_AUTHEN_DISPLAY_ASSIGN_LIST(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_DISPLAY_ASSIGN_LIST_MASK)
88450 
88451 #define SRC_AUTHEN_DISPLAY_LOCK_ASSIGN_MASK      (0x8000U)
88452 #define SRC_AUTHEN_DISPLAY_LOCK_ASSIGN_SHIFT     (15U)
88453 /*! LOCK_ASSIGN - Assign list lock
88454  */
88455 #define SRC_AUTHEN_DISPLAY_LOCK_ASSIGN(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_DISPLAY_LOCK_ASSIGN_MASK)
88456 
88457 #define SRC_AUTHEN_DISPLAY_WHITE_LIST_MASK       (0xF0000U)
88458 #define SRC_AUTHEN_DISPLAY_WHITE_LIST_SHIFT      (16U)
88459 /*! WHITE_LIST - Domain ID white list
88460  */
88461 #define SRC_AUTHEN_DISPLAY_WHITE_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_WHITE_LIST_SHIFT)) & SRC_AUTHEN_DISPLAY_WHITE_LIST_MASK)
88462 
88463 #define SRC_AUTHEN_DISPLAY_LOCK_LIST_MASK        (0x800000U)
88464 #define SRC_AUTHEN_DISPLAY_LOCK_LIST_SHIFT       (23U)
88465 /*! LOCK_LIST - White list lock
88466  */
88467 #define SRC_AUTHEN_DISPLAY_LOCK_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_LOCK_LIST_SHIFT)) & SRC_AUTHEN_DISPLAY_LOCK_LIST_MASK)
88468 
88469 #define SRC_AUTHEN_DISPLAY_USER_MASK             (0x1000000U)
88470 #define SRC_AUTHEN_DISPLAY_USER_SHIFT            (24U)
88471 /*! USER - Allow user mode access
88472  */
88473 #define SRC_AUTHEN_DISPLAY_USER(x)               (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_USER_SHIFT)) & SRC_AUTHEN_DISPLAY_USER_MASK)
88474 
88475 #define SRC_AUTHEN_DISPLAY_NONSECURE_MASK        (0x2000000U)
88476 #define SRC_AUTHEN_DISPLAY_NONSECURE_SHIFT       (25U)
88477 /*! NONSECURE - Allow non-secure mode access
88478  */
88479 #define SRC_AUTHEN_DISPLAY_NONSECURE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_NONSECURE_SHIFT)) & SRC_AUTHEN_DISPLAY_NONSECURE_MASK)
88480 
88481 #define SRC_AUTHEN_DISPLAY_LOCK_SETTING_MASK     (0x80000000U)
88482 #define SRC_AUTHEN_DISPLAY_LOCK_SETTING_SHIFT    (31U)
88483 /*! LOCK_SETTING - Lock NONSECURE and USER
88484  */
88485 #define SRC_AUTHEN_DISPLAY_LOCK_SETTING(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_DISPLAY_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_DISPLAY_LOCK_SETTING_MASK)
88486 /*! @} */
88487 
88488 /*! @name CTRL_DISPLAY - Slice Control Register */
88489 /*! @{ */
88490 
88491 #define SRC_CTRL_DISPLAY_SW_RESET_MASK           (0x1U)
88492 #define SRC_CTRL_DISPLAY_SW_RESET_SHIFT          (0U)
88493 /*! SW_RESET
88494  *  0b0..do not assert slice software reset
88495  *  0b1..assert slice software reset
88496  */
88497 #define SRC_CTRL_DISPLAY_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_DISPLAY_SW_RESET_SHIFT)) & SRC_CTRL_DISPLAY_SW_RESET_MASK)
88498 /*! @} */
88499 
88500 /*! @name SETPOINT_DISPLAY - Slice Setpoint Config Register */
88501 /*! @{ */
88502 
88503 #define SRC_SETPOINT_DISPLAY_SETPOINT0_MASK      (0x1U)
88504 #define SRC_SETPOINT_DISPLAY_SETPOINT0_SHIFT     (0U)
88505 /*! SETPOINT0 - SETPOINT0
88506  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88507  *  0b1..Slice reset will be asserted when system in Setpoint n
88508  */
88509 #define SRC_SETPOINT_DISPLAY_SETPOINT0(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT0_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT0_MASK)
88510 
88511 #define SRC_SETPOINT_DISPLAY_SETPOINT1_MASK      (0x2U)
88512 #define SRC_SETPOINT_DISPLAY_SETPOINT1_SHIFT     (1U)
88513 /*! SETPOINT1 - SETPOINT1
88514  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88515  *  0b1..Slice reset will be asserted when system in Setpoint n
88516  */
88517 #define SRC_SETPOINT_DISPLAY_SETPOINT1(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT1_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT1_MASK)
88518 
88519 #define SRC_SETPOINT_DISPLAY_SETPOINT2_MASK      (0x4U)
88520 #define SRC_SETPOINT_DISPLAY_SETPOINT2_SHIFT     (2U)
88521 /*! SETPOINT2 - SETPOINT2
88522  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88523  *  0b1..Slice reset will be asserted when system in Setpoint n
88524  */
88525 #define SRC_SETPOINT_DISPLAY_SETPOINT2(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT2_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT2_MASK)
88526 
88527 #define SRC_SETPOINT_DISPLAY_SETPOINT3_MASK      (0x8U)
88528 #define SRC_SETPOINT_DISPLAY_SETPOINT3_SHIFT     (3U)
88529 /*! SETPOINT3 - SETPOINT3
88530  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88531  *  0b1..Slice reset will be asserted when system in Setpoint n
88532  */
88533 #define SRC_SETPOINT_DISPLAY_SETPOINT3(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT3_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT3_MASK)
88534 
88535 #define SRC_SETPOINT_DISPLAY_SETPOINT4_MASK      (0x10U)
88536 #define SRC_SETPOINT_DISPLAY_SETPOINT4_SHIFT     (4U)
88537 /*! SETPOINT4 - SETPOINT4
88538  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88539  *  0b1..Slice reset will be asserted when system in Setpoint n
88540  */
88541 #define SRC_SETPOINT_DISPLAY_SETPOINT4(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT4_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT4_MASK)
88542 
88543 #define SRC_SETPOINT_DISPLAY_SETPOINT5_MASK      (0x20U)
88544 #define SRC_SETPOINT_DISPLAY_SETPOINT5_SHIFT     (5U)
88545 /*! SETPOINT5 - SETPOINT5
88546  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88547  *  0b1..Slice reset will be asserted when system in Setpoint n
88548  */
88549 #define SRC_SETPOINT_DISPLAY_SETPOINT5(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT5_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT5_MASK)
88550 
88551 #define SRC_SETPOINT_DISPLAY_SETPOINT6_MASK      (0x40U)
88552 #define SRC_SETPOINT_DISPLAY_SETPOINT6_SHIFT     (6U)
88553 /*! SETPOINT6 - SETPOINT6
88554  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88555  *  0b1..Slice reset will be asserted when system in Setpoint n
88556  */
88557 #define SRC_SETPOINT_DISPLAY_SETPOINT6(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT6_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT6_MASK)
88558 
88559 #define SRC_SETPOINT_DISPLAY_SETPOINT7_MASK      (0x80U)
88560 #define SRC_SETPOINT_DISPLAY_SETPOINT7_SHIFT     (7U)
88561 /*! SETPOINT7 - SETPOINT7
88562  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88563  *  0b1..Slice reset will be asserted when system in Setpoint n
88564  */
88565 #define SRC_SETPOINT_DISPLAY_SETPOINT7(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT7_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT7_MASK)
88566 
88567 #define SRC_SETPOINT_DISPLAY_SETPOINT8_MASK      (0x100U)
88568 #define SRC_SETPOINT_DISPLAY_SETPOINT8_SHIFT     (8U)
88569 /*! SETPOINT8 - SETPOINT8
88570  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88571  *  0b1..Slice reset will be asserted when system in Setpoint n
88572  */
88573 #define SRC_SETPOINT_DISPLAY_SETPOINT8(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT8_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT8_MASK)
88574 
88575 #define SRC_SETPOINT_DISPLAY_SETPOINT9_MASK      (0x200U)
88576 #define SRC_SETPOINT_DISPLAY_SETPOINT9_SHIFT     (9U)
88577 /*! SETPOINT9 - SETPOINT9
88578  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88579  *  0b1..Slice reset will be asserted when system in Setpoint n
88580  */
88581 #define SRC_SETPOINT_DISPLAY_SETPOINT9(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT9_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT9_MASK)
88582 
88583 #define SRC_SETPOINT_DISPLAY_SETPOINT10_MASK     (0x400U)
88584 #define SRC_SETPOINT_DISPLAY_SETPOINT10_SHIFT    (10U)
88585 /*! SETPOINT10 - SETPOINT10
88586  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88587  *  0b1..Slice reset will be asserted when system in Setpoint n
88588  */
88589 #define SRC_SETPOINT_DISPLAY_SETPOINT10(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT10_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT10_MASK)
88590 
88591 #define SRC_SETPOINT_DISPLAY_SETPOINT11_MASK     (0x800U)
88592 #define SRC_SETPOINT_DISPLAY_SETPOINT11_SHIFT    (11U)
88593 /*! SETPOINT11 - SETPOINT11
88594  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88595  *  0b1..Slice reset will be asserted when system in Setpoint n
88596  */
88597 #define SRC_SETPOINT_DISPLAY_SETPOINT11(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT11_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT11_MASK)
88598 
88599 #define SRC_SETPOINT_DISPLAY_SETPOINT12_MASK     (0x1000U)
88600 #define SRC_SETPOINT_DISPLAY_SETPOINT12_SHIFT    (12U)
88601 /*! SETPOINT12 - SETPOINT12
88602  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88603  *  0b1..Slice reset will be asserted when system in Setpoint n
88604  */
88605 #define SRC_SETPOINT_DISPLAY_SETPOINT12(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT12_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT12_MASK)
88606 
88607 #define SRC_SETPOINT_DISPLAY_SETPOINT13_MASK     (0x2000U)
88608 #define SRC_SETPOINT_DISPLAY_SETPOINT13_SHIFT    (13U)
88609 /*! SETPOINT13 - SETPOINT13
88610  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88611  *  0b1..Slice reset will be asserted when system in Setpoint n
88612  */
88613 #define SRC_SETPOINT_DISPLAY_SETPOINT13(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT13_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT13_MASK)
88614 
88615 #define SRC_SETPOINT_DISPLAY_SETPOINT14_MASK     (0x4000U)
88616 #define SRC_SETPOINT_DISPLAY_SETPOINT14_SHIFT    (14U)
88617 /*! SETPOINT14 - SETPOINT14
88618  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88619  *  0b1..Slice reset will be asserted when system in Setpoint n
88620  */
88621 #define SRC_SETPOINT_DISPLAY_SETPOINT14(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT14_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT14_MASK)
88622 
88623 #define SRC_SETPOINT_DISPLAY_SETPOINT15_MASK     (0x8000U)
88624 #define SRC_SETPOINT_DISPLAY_SETPOINT15_SHIFT    (15U)
88625 /*! SETPOINT15 - SETPOINT15
88626  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88627  *  0b1..Slice reset will be asserted when system in Setpoint n
88628  */
88629 #define SRC_SETPOINT_DISPLAY_SETPOINT15(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_DISPLAY_SETPOINT15_SHIFT)) & SRC_SETPOINT_DISPLAY_SETPOINT15_MASK)
88630 /*! @} */
88631 
88632 /*! @name DOMAIN_DISPLAY - Slice Domain Config Register */
88633 /*! @{ */
88634 
88635 #define SRC_DOMAIN_DISPLAY_CPU0_RUN_MASK         (0x1U)
88636 #define SRC_DOMAIN_DISPLAY_CPU0_RUN_SHIFT        (0U)
88637 /*! CPU0_RUN - CPU mode setting for RUN
88638  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
88639  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
88640  */
88641 #define SRC_DOMAIN_DISPLAY_CPU0_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU0_RUN_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU0_RUN_MASK)
88642 
88643 #define SRC_DOMAIN_DISPLAY_CPU0_WAIT_MASK        (0x2U)
88644 #define SRC_DOMAIN_DISPLAY_CPU0_WAIT_SHIFT       (1U)
88645 /*! CPU0_WAIT - CPU mode setting for WAIT
88646  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
88647  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
88648  */
88649 #define SRC_DOMAIN_DISPLAY_CPU0_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU0_WAIT_MASK)
88650 
88651 #define SRC_DOMAIN_DISPLAY_CPU0_STOP_MASK        (0x4U)
88652 #define SRC_DOMAIN_DISPLAY_CPU0_STOP_SHIFT       (2U)
88653 /*! CPU0_STOP - CPU mode setting for STOP
88654  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
88655  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
88656  */
88657 #define SRC_DOMAIN_DISPLAY_CPU0_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU0_STOP_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU0_STOP_MASK)
88658 
88659 #define SRC_DOMAIN_DISPLAY_CPU0_SUSP_MASK        (0x8U)
88660 #define SRC_DOMAIN_DISPLAY_CPU0_SUSP_SHIFT       (3U)
88661 /*! CPU0_SUSP - CPU mode setting for SUSPEND
88662  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
88663  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
88664  */
88665 #define SRC_DOMAIN_DISPLAY_CPU0_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU0_SUSP_MASK)
88666 
88667 #define SRC_DOMAIN_DISPLAY_CPU1_RUN_MASK         (0x10U)
88668 #define SRC_DOMAIN_DISPLAY_CPU1_RUN_SHIFT        (4U)
88669 /*! CPU1_RUN - CPU mode setting for RUN
88670  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
88671  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
88672  */
88673 #define SRC_DOMAIN_DISPLAY_CPU1_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU1_RUN_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU1_RUN_MASK)
88674 
88675 #define SRC_DOMAIN_DISPLAY_CPU1_WAIT_MASK        (0x20U)
88676 #define SRC_DOMAIN_DISPLAY_CPU1_WAIT_SHIFT       (5U)
88677 /*! CPU1_WAIT - CPU mode setting for WAIT
88678  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
88679  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
88680  */
88681 #define SRC_DOMAIN_DISPLAY_CPU1_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU1_WAIT_MASK)
88682 
88683 #define SRC_DOMAIN_DISPLAY_CPU1_STOP_MASK        (0x40U)
88684 #define SRC_DOMAIN_DISPLAY_CPU1_STOP_SHIFT       (6U)
88685 /*! CPU1_STOP - CPU mode setting for STOP
88686  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
88687  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
88688  */
88689 #define SRC_DOMAIN_DISPLAY_CPU1_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU1_STOP_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU1_STOP_MASK)
88690 
88691 #define SRC_DOMAIN_DISPLAY_CPU1_SUSP_MASK        (0x80U)
88692 #define SRC_DOMAIN_DISPLAY_CPU1_SUSP_SHIFT       (7U)
88693 /*! CPU1_SUSP - CPU mode setting for SUSPEND
88694  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
88695  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
88696  */
88697 #define SRC_DOMAIN_DISPLAY_CPU1_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_DISPLAY_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_DISPLAY_CPU1_SUSP_MASK)
88698 /*! @} */
88699 
88700 /*! @name STAT_DISPLAY - Slice Status Register */
88701 /*! @{ */
88702 
88703 #define SRC_STAT_DISPLAY_UNDER_RST_MASK          (0x1U)
88704 #define SRC_STAT_DISPLAY_UNDER_RST_SHIFT         (0U)
88705 /*! UNDER_RST
88706  *  0b0..the reset is finished
88707  *  0b1..the reset is in process
88708  */
88709 #define SRC_STAT_DISPLAY_UNDER_RST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_DISPLAY_UNDER_RST_SHIFT)) & SRC_STAT_DISPLAY_UNDER_RST_MASK)
88710 
88711 #define SRC_STAT_DISPLAY_RST_BY_HW_MASK          (0x4U)
88712 #define SRC_STAT_DISPLAY_RST_BY_HW_SHIFT         (2U)
88713 /*! RST_BY_HW
88714  *  0b0..the reset is not caused by the power mode transfer
88715  *  0b1..the reset is caused by the power mode transfer
88716  */
88717 #define SRC_STAT_DISPLAY_RST_BY_HW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_DISPLAY_RST_BY_HW_SHIFT)) & SRC_STAT_DISPLAY_RST_BY_HW_MASK)
88718 
88719 #define SRC_STAT_DISPLAY_RST_BY_SW_MASK          (0x8U)
88720 #define SRC_STAT_DISPLAY_RST_BY_SW_SHIFT         (3U)
88721 /*! RST_BY_SW
88722  *  0b0..the reset is not caused by software setting
88723  *  0b1..the reset is caused by software setting
88724  */
88725 #define SRC_STAT_DISPLAY_RST_BY_SW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_DISPLAY_RST_BY_SW_SHIFT)) & SRC_STAT_DISPLAY_RST_BY_SW_MASK)
88726 /*! @} */
88727 
88728 /*! @name AUTHEN_WAKEUP - Slice Authentication Register */
88729 /*! @{ */
88730 
88731 #define SRC_AUTHEN_WAKEUP_DOMAIN_MODE_MASK       (0x1U)
88732 #define SRC_AUTHEN_WAKEUP_DOMAIN_MODE_SHIFT      (0U)
88733 /*! DOMAIN_MODE
88734  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
88735  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
88736  */
88737 #define SRC_AUTHEN_WAKEUP_DOMAIN_MODE(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_WAKEUP_DOMAIN_MODE_MASK)
88738 
88739 #define SRC_AUTHEN_WAKEUP_SETPOINT_MODE_MASK     (0x2U)
88740 #define SRC_AUTHEN_WAKEUP_SETPOINT_MODE_SHIFT    (1U)
88741 /*! SETPOINT_MODE
88742  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
88743  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
88744  */
88745 #define SRC_AUTHEN_WAKEUP_SETPOINT_MODE(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_WAKEUP_SETPOINT_MODE_MASK)
88746 
88747 #define SRC_AUTHEN_WAKEUP_LOCK_MODE_MASK         (0x80U)
88748 #define SRC_AUTHEN_WAKEUP_LOCK_MODE_SHIFT        (7U)
88749 /*! LOCK_MODE - Domain/Setpoint mode lock
88750  */
88751 #define SRC_AUTHEN_WAKEUP_LOCK_MODE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_LOCK_MODE_SHIFT)) & SRC_AUTHEN_WAKEUP_LOCK_MODE_MASK)
88752 
88753 #define SRC_AUTHEN_WAKEUP_ASSIGN_LIST_MASK       (0xF00U)
88754 #define SRC_AUTHEN_WAKEUP_ASSIGN_LIST_SHIFT      (8U)
88755 #define SRC_AUTHEN_WAKEUP_ASSIGN_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_WAKEUP_ASSIGN_LIST_MASK)
88756 
88757 #define SRC_AUTHEN_WAKEUP_LOCK_ASSIGN_MASK       (0x8000U)
88758 #define SRC_AUTHEN_WAKEUP_LOCK_ASSIGN_SHIFT      (15U)
88759 /*! LOCK_ASSIGN - Assign list lock
88760  */
88761 #define SRC_AUTHEN_WAKEUP_LOCK_ASSIGN(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_WAKEUP_LOCK_ASSIGN_MASK)
88762 
88763 #define SRC_AUTHEN_WAKEUP_WHITE_LIST_MASK        (0xF0000U)
88764 #define SRC_AUTHEN_WAKEUP_WHITE_LIST_SHIFT       (16U)
88765 /*! WHITE_LIST - Domain ID white list
88766  */
88767 #define SRC_AUTHEN_WAKEUP_WHITE_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_WHITE_LIST_SHIFT)) & SRC_AUTHEN_WAKEUP_WHITE_LIST_MASK)
88768 
88769 #define SRC_AUTHEN_WAKEUP_LOCK_LIST_MASK         (0x800000U)
88770 #define SRC_AUTHEN_WAKEUP_LOCK_LIST_SHIFT        (23U)
88771 /*! LOCK_LIST - White list lock
88772  */
88773 #define SRC_AUTHEN_WAKEUP_LOCK_LIST(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_LOCK_LIST_SHIFT)) & SRC_AUTHEN_WAKEUP_LOCK_LIST_MASK)
88774 
88775 #define SRC_AUTHEN_WAKEUP_USER_MASK              (0x1000000U)
88776 #define SRC_AUTHEN_WAKEUP_USER_SHIFT             (24U)
88777 /*! USER - Allow user mode access
88778  */
88779 #define SRC_AUTHEN_WAKEUP_USER(x)                (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_USER_SHIFT)) & SRC_AUTHEN_WAKEUP_USER_MASK)
88780 
88781 #define SRC_AUTHEN_WAKEUP_NONSECURE_MASK         (0x2000000U)
88782 #define SRC_AUTHEN_WAKEUP_NONSECURE_SHIFT        (25U)
88783 /*! NONSECURE - Allow non-secure mode access
88784  */
88785 #define SRC_AUTHEN_WAKEUP_NONSECURE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_NONSECURE_SHIFT)) & SRC_AUTHEN_WAKEUP_NONSECURE_MASK)
88786 
88787 #define SRC_AUTHEN_WAKEUP_LOCK_SETTING_MASK      (0x80000000U)
88788 #define SRC_AUTHEN_WAKEUP_LOCK_SETTING_SHIFT     (31U)
88789 /*! LOCK_SETTING - Lock NONSECURE and USER
88790  */
88791 #define SRC_AUTHEN_WAKEUP_LOCK_SETTING(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_WAKEUP_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_WAKEUP_LOCK_SETTING_MASK)
88792 /*! @} */
88793 
88794 /*! @name CTRL_WAKEUP - Slice Control Register */
88795 /*! @{ */
88796 
88797 #define SRC_CTRL_WAKEUP_SW_RESET_MASK            (0x1U)
88798 #define SRC_CTRL_WAKEUP_SW_RESET_SHIFT           (0U)
88799 /*! SW_RESET
88800  *  0b0..do not assert slice software reset
88801  *  0b1..assert slice software reset
88802  */
88803 #define SRC_CTRL_WAKEUP_SW_RESET(x)              (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_WAKEUP_SW_RESET_SHIFT)) & SRC_CTRL_WAKEUP_SW_RESET_MASK)
88804 /*! @} */
88805 
88806 /*! @name SETPOINT_WAKEUP - Slice Setpoint Config Register */
88807 /*! @{ */
88808 
88809 #define SRC_SETPOINT_WAKEUP_SETPOINT0_MASK       (0x1U)
88810 #define SRC_SETPOINT_WAKEUP_SETPOINT0_SHIFT      (0U)
88811 /*! SETPOINT0 - SETPOINT0
88812  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88813  *  0b1..Slice reset will be asserted when system in Setpoint n
88814  */
88815 #define SRC_SETPOINT_WAKEUP_SETPOINT0(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT0_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT0_MASK)
88816 
88817 #define SRC_SETPOINT_WAKEUP_SETPOINT1_MASK       (0x2U)
88818 #define SRC_SETPOINT_WAKEUP_SETPOINT1_SHIFT      (1U)
88819 /*! SETPOINT1 - SETPOINT1
88820  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88821  *  0b1..Slice reset will be asserted when system in Setpoint n
88822  */
88823 #define SRC_SETPOINT_WAKEUP_SETPOINT1(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT1_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT1_MASK)
88824 
88825 #define SRC_SETPOINT_WAKEUP_SETPOINT2_MASK       (0x4U)
88826 #define SRC_SETPOINT_WAKEUP_SETPOINT2_SHIFT      (2U)
88827 /*! SETPOINT2 - SETPOINT2
88828  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88829  *  0b1..Slice reset will be asserted when system in Setpoint n
88830  */
88831 #define SRC_SETPOINT_WAKEUP_SETPOINT2(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT2_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT2_MASK)
88832 
88833 #define SRC_SETPOINT_WAKEUP_SETPOINT3_MASK       (0x8U)
88834 #define SRC_SETPOINT_WAKEUP_SETPOINT3_SHIFT      (3U)
88835 /*! SETPOINT3 - SETPOINT3
88836  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88837  *  0b1..Slice reset will be asserted when system in Setpoint n
88838  */
88839 #define SRC_SETPOINT_WAKEUP_SETPOINT3(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT3_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT3_MASK)
88840 
88841 #define SRC_SETPOINT_WAKEUP_SETPOINT4_MASK       (0x10U)
88842 #define SRC_SETPOINT_WAKEUP_SETPOINT4_SHIFT      (4U)
88843 /*! SETPOINT4 - SETPOINT4
88844  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88845  *  0b1..Slice reset will be asserted when system in Setpoint n
88846  */
88847 #define SRC_SETPOINT_WAKEUP_SETPOINT4(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT4_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT4_MASK)
88848 
88849 #define SRC_SETPOINT_WAKEUP_SETPOINT5_MASK       (0x20U)
88850 #define SRC_SETPOINT_WAKEUP_SETPOINT5_SHIFT      (5U)
88851 /*! SETPOINT5 - SETPOINT5
88852  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88853  *  0b1..Slice reset will be asserted when system in Setpoint n
88854  */
88855 #define SRC_SETPOINT_WAKEUP_SETPOINT5(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT5_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT5_MASK)
88856 
88857 #define SRC_SETPOINT_WAKEUP_SETPOINT6_MASK       (0x40U)
88858 #define SRC_SETPOINT_WAKEUP_SETPOINT6_SHIFT      (6U)
88859 /*! SETPOINT6 - SETPOINT6
88860  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88861  *  0b1..Slice reset will be asserted when system in Setpoint n
88862  */
88863 #define SRC_SETPOINT_WAKEUP_SETPOINT6(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT6_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT6_MASK)
88864 
88865 #define SRC_SETPOINT_WAKEUP_SETPOINT7_MASK       (0x80U)
88866 #define SRC_SETPOINT_WAKEUP_SETPOINT7_SHIFT      (7U)
88867 /*! SETPOINT7 - SETPOINT7
88868  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88869  *  0b1..Slice reset will be asserted when system in Setpoint n
88870  */
88871 #define SRC_SETPOINT_WAKEUP_SETPOINT7(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT7_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT7_MASK)
88872 
88873 #define SRC_SETPOINT_WAKEUP_SETPOINT8_MASK       (0x100U)
88874 #define SRC_SETPOINT_WAKEUP_SETPOINT8_SHIFT      (8U)
88875 /*! SETPOINT8 - SETPOINT8
88876  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88877  *  0b1..Slice reset will be asserted when system in Setpoint n
88878  */
88879 #define SRC_SETPOINT_WAKEUP_SETPOINT8(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT8_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT8_MASK)
88880 
88881 #define SRC_SETPOINT_WAKEUP_SETPOINT9_MASK       (0x200U)
88882 #define SRC_SETPOINT_WAKEUP_SETPOINT9_SHIFT      (9U)
88883 /*! SETPOINT9 - SETPOINT9
88884  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88885  *  0b1..Slice reset will be asserted when system in Setpoint n
88886  */
88887 #define SRC_SETPOINT_WAKEUP_SETPOINT9(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT9_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT9_MASK)
88888 
88889 #define SRC_SETPOINT_WAKEUP_SETPOINT10_MASK      (0x400U)
88890 #define SRC_SETPOINT_WAKEUP_SETPOINT10_SHIFT     (10U)
88891 /*! SETPOINT10 - SETPOINT10
88892  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88893  *  0b1..Slice reset will be asserted when system in Setpoint n
88894  */
88895 #define SRC_SETPOINT_WAKEUP_SETPOINT10(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT10_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT10_MASK)
88896 
88897 #define SRC_SETPOINT_WAKEUP_SETPOINT11_MASK      (0x800U)
88898 #define SRC_SETPOINT_WAKEUP_SETPOINT11_SHIFT     (11U)
88899 /*! SETPOINT11 - SETPOINT11
88900  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88901  *  0b1..Slice reset will be asserted when system in Setpoint n
88902  */
88903 #define SRC_SETPOINT_WAKEUP_SETPOINT11(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT11_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT11_MASK)
88904 
88905 #define SRC_SETPOINT_WAKEUP_SETPOINT12_MASK      (0x1000U)
88906 #define SRC_SETPOINT_WAKEUP_SETPOINT12_SHIFT     (12U)
88907 /*! SETPOINT12 - SETPOINT12
88908  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88909  *  0b1..Slice reset will be asserted when system in Setpoint n
88910  */
88911 #define SRC_SETPOINT_WAKEUP_SETPOINT12(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT12_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT12_MASK)
88912 
88913 #define SRC_SETPOINT_WAKEUP_SETPOINT13_MASK      (0x2000U)
88914 #define SRC_SETPOINT_WAKEUP_SETPOINT13_SHIFT     (13U)
88915 /*! SETPOINT13 - SETPOINT13
88916  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88917  *  0b1..Slice reset will be asserted when system in Setpoint n
88918  */
88919 #define SRC_SETPOINT_WAKEUP_SETPOINT13(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT13_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT13_MASK)
88920 
88921 #define SRC_SETPOINT_WAKEUP_SETPOINT14_MASK      (0x4000U)
88922 #define SRC_SETPOINT_WAKEUP_SETPOINT14_SHIFT     (14U)
88923 /*! SETPOINT14 - SETPOINT14
88924  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88925  *  0b1..Slice reset will be asserted when system in Setpoint n
88926  */
88927 #define SRC_SETPOINT_WAKEUP_SETPOINT14(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT14_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT14_MASK)
88928 
88929 #define SRC_SETPOINT_WAKEUP_SETPOINT15_MASK      (0x8000U)
88930 #define SRC_SETPOINT_WAKEUP_SETPOINT15_SHIFT     (15U)
88931 /*! SETPOINT15 - SETPOINT15
88932  *  0b0..Slice reset will be de-asserted when system in Setpoint n
88933  *  0b1..Slice reset will be asserted when system in Setpoint n
88934  */
88935 #define SRC_SETPOINT_WAKEUP_SETPOINT15(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_WAKEUP_SETPOINT15_SHIFT)) & SRC_SETPOINT_WAKEUP_SETPOINT15_MASK)
88936 /*! @} */
88937 
88938 /*! @name DOMAIN_WAKEUP - Slice Domain Config Register */
88939 /*! @{ */
88940 
88941 #define SRC_DOMAIN_WAKEUP_CPU0_RUN_MASK          (0x1U)
88942 #define SRC_DOMAIN_WAKEUP_CPU0_RUN_SHIFT         (0U)
88943 /*! CPU0_RUN - CPU mode setting for RUN
88944  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
88945  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
88946  */
88947 #define SRC_DOMAIN_WAKEUP_CPU0_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU0_RUN_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU0_RUN_MASK)
88948 
88949 #define SRC_DOMAIN_WAKEUP_CPU0_WAIT_MASK         (0x2U)
88950 #define SRC_DOMAIN_WAKEUP_CPU0_WAIT_SHIFT        (1U)
88951 /*! CPU0_WAIT - CPU mode setting for WAIT
88952  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
88953  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
88954  */
88955 #define SRC_DOMAIN_WAKEUP_CPU0_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU0_WAIT_MASK)
88956 
88957 #define SRC_DOMAIN_WAKEUP_CPU0_STOP_MASK         (0x4U)
88958 #define SRC_DOMAIN_WAKEUP_CPU0_STOP_SHIFT        (2U)
88959 /*! CPU0_STOP - CPU mode setting for STOP
88960  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
88961  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
88962  */
88963 #define SRC_DOMAIN_WAKEUP_CPU0_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU0_STOP_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU0_STOP_MASK)
88964 
88965 #define SRC_DOMAIN_WAKEUP_CPU0_SUSP_MASK         (0x8U)
88966 #define SRC_DOMAIN_WAKEUP_CPU0_SUSP_SHIFT        (3U)
88967 /*! CPU0_SUSP - CPU mode setting for SUSPEND
88968  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
88969  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
88970  */
88971 #define SRC_DOMAIN_WAKEUP_CPU0_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU0_SUSP_MASK)
88972 
88973 #define SRC_DOMAIN_WAKEUP_CPU1_RUN_MASK          (0x10U)
88974 #define SRC_DOMAIN_WAKEUP_CPU1_RUN_SHIFT         (4U)
88975 /*! CPU1_RUN - CPU mode setting for RUN
88976  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
88977  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
88978  */
88979 #define SRC_DOMAIN_WAKEUP_CPU1_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU1_RUN_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU1_RUN_MASK)
88980 
88981 #define SRC_DOMAIN_WAKEUP_CPU1_WAIT_MASK         (0x20U)
88982 #define SRC_DOMAIN_WAKEUP_CPU1_WAIT_SHIFT        (5U)
88983 /*! CPU1_WAIT - CPU mode setting for WAIT
88984  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
88985  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
88986  */
88987 #define SRC_DOMAIN_WAKEUP_CPU1_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU1_WAIT_MASK)
88988 
88989 #define SRC_DOMAIN_WAKEUP_CPU1_STOP_MASK         (0x40U)
88990 #define SRC_DOMAIN_WAKEUP_CPU1_STOP_SHIFT        (6U)
88991 /*! CPU1_STOP - CPU mode setting for STOP
88992  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
88993  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
88994  */
88995 #define SRC_DOMAIN_WAKEUP_CPU1_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU1_STOP_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU1_STOP_MASK)
88996 
88997 #define SRC_DOMAIN_WAKEUP_CPU1_SUSP_MASK         (0x80U)
88998 #define SRC_DOMAIN_WAKEUP_CPU1_SUSP_SHIFT        (7U)
88999 /*! CPU1_SUSP - CPU mode setting for SUSPEND
89000  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
89001  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
89002  */
89003 #define SRC_DOMAIN_WAKEUP_CPU1_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_WAKEUP_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_WAKEUP_CPU1_SUSP_MASK)
89004 /*! @} */
89005 
89006 /*! @name STAT_WAKEUP - Slice Status Register */
89007 /*! @{ */
89008 
89009 #define SRC_STAT_WAKEUP_UNDER_RST_MASK           (0x1U)
89010 #define SRC_STAT_WAKEUP_UNDER_RST_SHIFT          (0U)
89011 /*! UNDER_RST
89012  *  0b0..the reset is finished
89013  *  0b1..the reset is in process
89014  */
89015 #define SRC_STAT_WAKEUP_UNDER_RST(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_WAKEUP_UNDER_RST_SHIFT)) & SRC_STAT_WAKEUP_UNDER_RST_MASK)
89016 
89017 #define SRC_STAT_WAKEUP_RST_BY_HW_MASK           (0x4U)
89018 #define SRC_STAT_WAKEUP_RST_BY_HW_SHIFT          (2U)
89019 /*! RST_BY_HW
89020  *  0b0..the reset is not caused by the power mode transfer
89021  *  0b1..the reset is caused by the power mode transfer
89022  */
89023 #define SRC_STAT_WAKEUP_RST_BY_HW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_WAKEUP_RST_BY_HW_SHIFT)) & SRC_STAT_WAKEUP_RST_BY_HW_MASK)
89024 
89025 #define SRC_STAT_WAKEUP_RST_BY_SW_MASK           (0x8U)
89026 #define SRC_STAT_WAKEUP_RST_BY_SW_SHIFT          (3U)
89027 /*! RST_BY_SW
89028  *  0b0..the reset is not caused by software setting
89029  *  0b1..the reset is caused by software setting
89030  */
89031 #define SRC_STAT_WAKEUP_RST_BY_SW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_WAKEUP_RST_BY_SW_SHIFT)) & SRC_STAT_WAKEUP_RST_BY_SW_MASK)
89032 /*! @} */
89033 
89034 /*! @name AUTHEN_M4CORE - Slice Authentication Register */
89035 /*! @{ */
89036 
89037 #define SRC_AUTHEN_M4CORE_DOMAIN_MODE_MASK       (0x1U)
89038 #define SRC_AUTHEN_M4CORE_DOMAIN_MODE_SHIFT      (0U)
89039 /*! DOMAIN_MODE
89040  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
89041  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
89042  */
89043 #define SRC_AUTHEN_M4CORE_DOMAIN_MODE(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_M4CORE_DOMAIN_MODE_MASK)
89044 
89045 #define SRC_AUTHEN_M4CORE_SETPOINT_MODE_MASK     (0x2U)
89046 #define SRC_AUTHEN_M4CORE_SETPOINT_MODE_SHIFT    (1U)
89047 /*! SETPOINT_MODE
89048  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
89049  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
89050  */
89051 #define SRC_AUTHEN_M4CORE_SETPOINT_MODE(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_M4CORE_SETPOINT_MODE_MASK)
89052 
89053 #define SRC_AUTHEN_M4CORE_LOCK_MODE_MASK         (0x80U)
89054 #define SRC_AUTHEN_M4CORE_LOCK_MODE_SHIFT        (7U)
89055 /*! LOCK_MODE - Domain/Setpoint mode lock
89056  */
89057 #define SRC_AUTHEN_M4CORE_LOCK_MODE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_LOCK_MODE_SHIFT)) & SRC_AUTHEN_M4CORE_LOCK_MODE_MASK)
89058 
89059 #define SRC_AUTHEN_M4CORE_ASSIGN_LIST_MASK       (0xF00U)
89060 #define SRC_AUTHEN_M4CORE_ASSIGN_LIST_SHIFT      (8U)
89061 #define SRC_AUTHEN_M4CORE_ASSIGN_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_M4CORE_ASSIGN_LIST_MASK)
89062 
89063 #define SRC_AUTHEN_M4CORE_LOCK_ASSIGN_MASK       (0x8000U)
89064 #define SRC_AUTHEN_M4CORE_LOCK_ASSIGN_SHIFT      (15U)
89065 /*! LOCK_ASSIGN - Assign list lock
89066  */
89067 #define SRC_AUTHEN_M4CORE_LOCK_ASSIGN(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_M4CORE_LOCK_ASSIGN_MASK)
89068 
89069 #define SRC_AUTHEN_M4CORE_WHITE_LIST_MASK        (0xF0000U)
89070 #define SRC_AUTHEN_M4CORE_WHITE_LIST_SHIFT       (16U)
89071 /*! WHITE_LIST - Domain ID white list
89072  */
89073 #define SRC_AUTHEN_M4CORE_WHITE_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_WHITE_LIST_SHIFT)) & SRC_AUTHEN_M4CORE_WHITE_LIST_MASK)
89074 
89075 #define SRC_AUTHEN_M4CORE_LOCK_LIST_MASK         (0x800000U)
89076 #define SRC_AUTHEN_M4CORE_LOCK_LIST_SHIFT        (23U)
89077 /*! LOCK_LIST - White list lock
89078  */
89079 #define SRC_AUTHEN_M4CORE_LOCK_LIST(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_LOCK_LIST_SHIFT)) & SRC_AUTHEN_M4CORE_LOCK_LIST_MASK)
89080 
89081 #define SRC_AUTHEN_M4CORE_USER_MASK              (0x1000000U)
89082 #define SRC_AUTHEN_M4CORE_USER_SHIFT             (24U)
89083 /*! USER - Allow user mode access
89084  */
89085 #define SRC_AUTHEN_M4CORE_USER(x)                (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_USER_SHIFT)) & SRC_AUTHEN_M4CORE_USER_MASK)
89086 
89087 #define SRC_AUTHEN_M4CORE_NONSECURE_MASK         (0x2000000U)
89088 #define SRC_AUTHEN_M4CORE_NONSECURE_SHIFT        (25U)
89089 /*! NONSECURE - Allow non-secure mode access
89090  */
89091 #define SRC_AUTHEN_M4CORE_NONSECURE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_NONSECURE_SHIFT)) & SRC_AUTHEN_M4CORE_NONSECURE_MASK)
89092 
89093 #define SRC_AUTHEN_M4CORE_LOCK_SETTING_MASK      (0x80000000U)
89094 #define SRC_AUTHEN_M4CORE_LOCK_SETTING_SHIFT     (31U)
89095 /*! LOCK_SETTING - Lock NONSECURE and USER
89096  */
89097 #define SRC_AUTHEN_M4CORE_LOCK_SETTING(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4CORE_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_M4CORE_LOCK_SETTING_MASK)
89098 /*! @} */
89099 
89100 /*! @name CTRL_M4CORE - Slice Control Register */
89101 /*! @{ */
89102 
89103 #define SRC_CTRL_M4CORE_SW_RESET_MASK            (0x1U)
89104 #define SRC_CTRL_M4CORE_SW_RESET_SHIFT           (0U)
89105 /*! SW_RESET
89106  *  0b0..do not assert slice software reset
89107  *  0b1..assert slice software reset
89108  */
89109 #define SRC_CTRL_M4CORE_SW_RESET(x)              (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_M4CORE_SW_RESET_SHIFT)) & SRC_CTRL_M4CORE_SW_RESET_MASK)
89110 /*! @} */
89111 
89112 /*! @name SETPOINT_M4CORE - Slice Setpoint Config Register */
89113 /*! @{ */
89114 
89115 #define SRC_SETPOINT_M4CORE_SETPOINT0_MASK       (0x1U)
89116 #define SRC_SETPOINT_M4CORE_SETPOINT0_SHIFT      (0U)
89117 /*! SETPOINT0 - SETPOINT0
89118  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89119  *  0b1..Slice reset will be asserted when system in Setpoint n
89120  */
89121 #define SRC_SETPOINT_M4CORE_SETPOINT0(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT0_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT0_MASK)
89122 
89123 #define SRC_SETPOINT_M4CORE_SETPOINT1_MASK       (0x2U)
89124 #define SRC_SETPOINT_M4CORE_SETPOINT1_SHIFT      (1U)
89125 /*! SETPOINT1 - SETPOINT1
89126  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89127  *  0b1..Slice reset will be asserted when system in Setpoint n
89128  */
89129 #define SRC_SETPOINT_M4CORE_SETPOINT1(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT1_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT1_MASK)
89130 
89131 #define SRC_SETPOINT_M4CORE_SETPOINT2_MASK       (0x4U)
89132 #define SRC_SETPOINT_M4CORE_SETPOINT2_SHIFT      (2U)
89133 /*! SETPOINT2 - SETPOINT2
89134  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89135  *  0b1..Slice reset will be asserted when system in Setpoint n
89136  */
89137 #define SRC_SETPOINT_M4CORE_SETPOINT2(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT2_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT2_MASK)
89138 
89139 #define SRC_SETPOINT_M4CORE_SETPOINT3_MASK       (0x8U)
89140 #define SRC_SETPOINT_M4CORE_SETPOINT3_SHIFT      (3U)
89141 /*! SETPOINT3 - SETPOINT3
89142  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89143  *  0b1..Slice reset will be asserted when system in Setpoint n
89144  */
89145 #define SRC_SETPOINT_M4CORE_SETPOINT3(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT3_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT3_MASK)
89146 
89147 #define SRC_SETPOINT_M4CORE_SETPOINT4_MASK       (0x10U)
89148 #define SRC_SETPOINT_M4CORE_SETPOINT4_SHIFT      (4U)
89149 /*! SETPOINT4 - SETPOINT4
89150  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89151  *  0b1..Slice reset will be asserted when system in Setpoint n
89152  */
89153 #define SRC_SETPOINT_M4CORE_SETPOINT4(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT4_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT4_MASK)
89154 
89155 #define SRC_SETPOINT_M4CORE_SETPOINT5_MASK       (0x20U)
89156 #define SRC_SETPOINT_M4CORE_SETPOINT5_SHIFT      (5U)
89157 /*! SETPOINT5 - SETPOINT5
89158  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89159  *  0b1..Slice reset will be asserted when system in Setpoint n
89160  */
89161 #define SRC_SETPOINT_M4CORE_SETPOINT5(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT5_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT5_MASK)
89162 
89163 #define SRC_SETPOINT_M4CORE_SETPOINT6_MASK       (0x40U)
89164 #define SRC_SETPOINT_M4CORE_SETPOINT6_SHIFT      (6U)
89165 /*! SETPOINT6 - SETPOINT6
89166  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89167  *  0b1..Slice reset will be asserted when system in Setpoint n
89168  */
89169 #define SRC_SETPOINT_M4CORE_SETPOINT6(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT6_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT6_MASK)
89170 
89171 #define SRC_SETPOINT_M4CORE_SETPOINT7_MASK       (0x80U)
89172 #define SRC_SETPOINT_M4CORE_SETPOINT7_SHIFT      (7U)
89173 /*! SETPOINT7 - SETPOINT7
89174  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89175  *  0b1..Slice reset will be asserted when system in Setpoint n
89176  */
89177 #define SRC_SETPOINT_M4CORE_SETPOINT7(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT7_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT7_MASK)
89178 
89179 #define SRC_SETPOINT_M4CORE_SETPOINT8_MASK       (0x100U)
89180 #define SRC_SETPOINT_M4CORE_SETPOINT8_SHIFT      (8U)
89181 /*! SETPOINT8 - SETPOINT8
89182  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89183  *  0b1..Slice reset will be asserted when system in Setpoint n
89184  */
89185 #define SRC_SETPOINT_M4CORE_SETPOINT8(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT8_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT8_MASK)
89186 
89187 #define SRC_SETPOINT_M4CORE_SETPOINT9_MASK       (0x200U)
89188 #define SRC_SETPOINT_M4CORE_SETPOINT9_SHIFT      (9U)
89189 /*! SETPOINT9 - SETPOINT9
89190  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89191  *  0b1..Slice reset will be asserted when system in Setpoint n
89192  */
89193 #define SRC_SETPOINT_M4CORE_SETPOINT9(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT9_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT9_MASK)
89194 
89195 #define SRC_SETPOINT_M4CORE_SETPOINT10_MASK      (0x400U)
89196 #define SRC_SETPOINT_M4CORE_SETPOINT10_SHIFT     (10U)
89197 /*! SETPOINT10 - SETPOINT10
89198  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89199  *  0b1..Slice reset will be asserted when system in Setpoint n
89200  */
89201 #define SRC_SETPOINT_M4CORE_SETPOINT10(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT10_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT10_MASK)
89202 
89203 #define SRC_SETPOINT_M4CORE_SETPOINT11_MASK      (0x800U)
89204 #define SRC_SETPOINT_M4CORE_SETPOINT11_SHIFT     (11U)
89205 /*! SETPOINT11 - SETPOINT11
89206  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89207  *  0b1..Slice reset will be asserted when system in Setpoint n
89208  */
89209 #define SRC_SETPOINT_M4CORE_SETPOINT11(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT11_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT11_MASK)
89210 
89211 #define SRC_SETPOINT_M4CORE_SETPOINT12_MASK      (0x1000U)
89212 #define SRC_SETPOINT_M4CORE_SETPOINT12_SHIFT     (12U)
89213 /*! SETPOINT12 - SETPOINT12
89214  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89215  *  0b1..Slice reset will be asserted when system in Setpoint n
89216  */
89217 #define SRC_SETPOINT_M4CORE_SETPOINT12(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT12_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT12_MASK)
89218 
89219 #define SRC_SETPOINT_M4CORE_SETPOINT13_MASK      (0x2000U)
89220 #define SRC_SETPOINT_M4CORE_SETPOINT13_SHIFT     (13U)
89221 /*! SETPOINT13 - SETPOINT13
89222  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89223  *  0b1..Slice reset will be asserted when system in Setpoint n
89224  */
89225 #define SRC_SETPOINT_M4CORE_SETPOINT13(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT13_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT13_MASK)
89226 
89227 #define SRC_SETPOINT_M4CORE_SETPOINT14_MASK      (0x4000U)
89228 #define SRC_SETPOINT_M4CORE_SETPOINT14_SHIFT     (14U)
89229 /*! SETPOINT14 - SETPOINT14
89230  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89231  *  0b1..Slice reset will be asserted when system in Setpoint n
89232  */
89233 #define SRC_SETPOINT_M4CORE_SETPOINT14(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT14_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT14_MASK)
89234 
89235 #define SRC_SETPOINT_M4CORE_SETPOINT15_MASK      (0x8000U)
89236 #define SRC_SETPOINT_M4CORE_SETPOINT15_SHIFT     (15U)
89237 /*! SETPOINT15 - SETPOINT15
89238  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89239  *  0b1..Slice reset will be asserted when system in Setpoint n
89240  */
89241 #define SRC_SETPOINT_M4CORE_SETPOINT15(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4CORE_SETPOINT15_SHIFT)) & SRC_SETPOINT_M4CORE_SETPOINT15_MASK)
89242 /*! @} */
89243 
89244 /*! @name DOMAIN_M4CORE - Slice Domain Config Register */
89245 /*! @{ */
89246 
89247 #define SRC_DOMAIN_M4CORE_CPU0_RUN_MASK          (0x1U)
89248 #define SRC_DOMAIN_M4CORE_CPU0_RUN_SHIFT         (0U)
89249 /*! CPU0_RUN - CPU mode setting for RUN
89250  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
89251  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
89252  */
89253 #define SRC_DOMAIN_M4CORE_CPU0_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU0_RUN_SHIFT)) & SRC_DOMAIN_M4CORE_CPU0_RUN_MASK)
89254 
89255 #define SRC_DOMAIN_M4CORE_CPU0_WAIT_MASK         (0x2U)
89256 #define SRC_DOMAIN_M4CORE_CPU0_WAIT_SHIFT        (1U)
89257 /*! CPU0_WAIT - CPU mode setting for WAIT
89258  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
89259  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
89260  */
89261 #define SRC_DOMAIN_M4CORE_CPU0_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_M4CORE_CPU0_WAIT_MASK)
89262 
89263 #define SRC_DOMAIN_M4CORE_CPU0_STOP_MASK         (0x4U)
89264 #define SRC_DOMAIN_M4CORE_CPU0_STOP_SHIFT        (2U)
89265 /*! CPU0_STOP - CPU mode setting for STOP
89266  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
89267  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
89268  */
89269 #define SRC_DOMAIN_M4CORE_CPU0_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU0_STOP_SHIFT)) & SRC_DOMAIN_M4CORE_CPU0_STOP_MASK)
89270 
89271 #define SRC_DOMAIN_M4CORE_CPU0_SUSP_MASK         (0x8U)
89272 #define SRC_DOMAIN_M4CORE_CPU0_SUSP_SHIFT        (3U)
89273 /*! CPU0_SUSP - CPU mode setting for SUSPEND
89274  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
89275  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
89276  */
89277 #define SRC_DOMAIN_M4CORE_CPU0_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_M4CORE_CPU0_SUSP_MASK)
89278 
89279 #define SRC_DOMAIN_M4CORE_CPU1_RUN_MASK          (0x10U)
89280 #define SRC_DOMAIN_M4CORE_CPU1_RUN_SHIFT         (4U)
89281 /*! CPU1_RUN - CPU mode setting for RUN
89282  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
89283  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
89284  */
89285 #define SRC_DOMAIN_M4CORE_CPU1_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU1_RUN_SHIFT)) & SRC_DOMAIN_M4CORE_CPU1_RUN_MASK)
89286 
89287 #define SRC_DOMAIN_M4CORE_CPU1_WAIT_MASK         (0x20U)
89288 #define SRC_DOMAIN_M4CORE_CPU1_WAIT_SHIFT        (5U)
89289 /*! CPU1_WAIT - CPU mode setting for WAIT
89290  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
89291  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
89292  */
89293 #define SRC_DOMAIN_M4CORE_CPU1_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_M4CORE_CPU1_WAIT_MASK)
89294 
89295 #define SRC_DOMAIN_M4CORE_CPU1_STOP_MASK         (0x40U)
89296 #define SRC_DOMAIN_M4CORE_CPU1_STOP_SHIFT        (6U)
89297 /*! CPU1_STOP - CPU mode setting for STOP
89298  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
89299  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
89300  */
89301 #define SRC_DOMAIN_M4CORE_CPU1_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU1_STOP_SHIFT)) & SRC_DOMAIN_M4CORE_CPU1_STOP_MASK)
89302 
89303 #define SRC_DOMAIN_M4CORE_CPU1_SUSP_MASK         (0x80U)
89304 #define SRC_DOMAIN_M4CORE_CPU1_SUSP_SHIFT        (7U)
89305 /*! CPU1_SUSP - CPU mode setting for SUSPEND
89306  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
89307  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
89308  */
89309 #define SRC_DOMAIN_M4CORE_CPU1_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4CORE_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_M4CORE_CPU1_SUSP_MASK)
89310 /*! @} */
89311 
89312 /*! @name STAT_M4CORE - Slice Status Register */
89313 /*! @{ */
89314 
89315 #define SRC_STAT_M4CORE_UNDER_RST_MASK           (0x1U)
89316 #define SRC_STAT_M4CORE_UNDER_RST_SHIFT          (0U)
89317 /*! UNDER_RST
89318  *  0b0..the reset is finished
89319  *  0b1..the reset is in process
89320  */
89321 #define SRC_STAT_M4CORE_UNDER_RST(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4CORE_UNDER_RST_SHIFT)) & SRC_STAT_M4CORE_UNDER_RST_MASK)
89322 
89323 #define SRC_STAT_M4CORE_RST_BY_HW_MASK           (0x4U)
89324 #define SRC_STAT_M4CORE_RST_BY_HW_SHIFT          (2U)
89325 /*! RST_BY_HW
89326  *  0b0..the reset is not caused by the power mode transfer
89327  *  0b1..the reset is caused by the power mode transfer
89328  */
89329 #define SRC_STAT_M4CORE_RST_BY_HW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4CORE_RST_BY_HW_SHIFT)) & SRC_STAT_M4CORE_RST_BY_HW_MASK)
89330 
89331 #define SRC_STAT_M4CORE_RST_BY_SW_MASK           (0x8U)
89332 #define SRC_STAT_M4CORE_RST_BY_SW_SHIFT          (3U)
89333 /*! RST_BY_SW
89334  *  0b0..the reset is not caused by software setting
89335  *  0b1..the reset is caused by software setting
89336  */
89337 #define SRC_STAT_M4CORE_RST_BY_SW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4CORE_RST_BY_SW_SHIFT)) & SRC_STAT_M4CORE_RST_BY_SW_MASK)
89338 /*! @} */
89339 
89340 /*! @name AUTHEN_M7CORE - Slice Authentication Register */
89341 /*! @{ */
89342 
89343 #define SRC_AUTHEN_M7CORE_DOMAIN_MODE_MASK       (0x1U)
89344 #define SRC_AUTHEN_M7CORE_DOMAIN_MODE_SHIFT      (0U)
89345 /*! DOMAIN_MODE
89346  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
89347  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
89348  */
89349 #define SRC_AUTHEN_M7CORE_DOMAIN_MODE(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_M7CORE_DOMAIN_MODE_MASK)
89350 
89351 #define SRC_AUTHEN_M7CORE_SETPOINT_MODE_MASK     (0x2U)
89352 #define SRC_AUTHEN_M7CORE_SETPOINT_MODE_SHIFT    (1U)
89353 /*! SETPOINT_MODE
89354  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
89355  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
89356  */
89357 #define SRC_AUTHEN_M7CORE_SETPOINT_MODE(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_M7CORE_SETPOINT_MODE_MASK)
89358 
89359 #define SRC_AUTHEN_M7CORE_LOCK_MODE_MASK         (0x80U)
89360 #define SRC_AUTHEN_M7CORE_LOCK_MODE_SHIFT        (7U)
89361 /*! LOCK_MODE - Domain/Setpoint mode lock
89362  */
89363 #define SRC_AUTHEN_M7CORE_LOCK_MODE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_LOCK_MODE_SHIFT)) & SRC_AUTHEN_M7CORE_LOCK_MODE_MASK)
89364 
89365 #define SRC_AUTHEN_M7CORE_ASSIGN_LIST_MASK       (0xF00U)
89366 #define SRC_AUTHEN_M7CORE_ASSIGN_LIST_SHIFT      (8U)
89367 #define SRC_AUTHEN_M7CORE_ASSIGN_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_M7CORE_ASSIGN_LIST_MASK)
89368 
89369 #define SRC_AUTHEN_M7CORE_LOCK_ASSIGN_MASK       (0x8000U)
89370 #define SRC_AUTHEN_M7CORE_LOCK_ASSIGN_SHIFT      (15U)
89371 /*! LOCK_ASSIGN - Assign list lock
89372  */
89373 #define SRC_AUTHEN_M7CORE_LOCK_ASSIGN(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_M7CORE_LOCK_ASSIGN_MASK)
89374 
89375 #define SRC_AUTHEN_M7CORE_WHITE_LIST_MASK        (0xF0000U)
89376 #define SRC_AUTHEN_M7CORE_WHITE_LIST_SHIFT       (16U)
89377 /*! WHITE_LIST - Domain ID white list
89378  */
89379 #define SRC_AUTHEN_M7CORE_WHITE_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_WHITE_LIST_SHIFT)) & SRC_AUTHEN_M7CORE_WHITE_LIST_MASK)
89380 
89381 #define SRC_AUTHEN_M7CORE_LOCK_LIST_MASK         (0x800000U)
89382 #define SRC_AUTHEN_M7CORE_LOCK_LIST_SHIFT        (23U)
89383 /*! LOCK_LIST - White list lock
89384  */
89385 #define SRC_AUTHEN_M7CORE_LOCK_LIST(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_LOCK_LIST_SHIFT)) & SRC_AUTHEN_M7CORE_LOCK_LIST_MASK)
89386 
89387 #define SRC_AUTHEN_M7CORE_USER_MASK              (0x1000000U)
89388 #define SRC_AUTHEN_M7CORE_USER_SHIFT             (24U)
89389 /*! USER - Allow user mode access
89390  */
89391 #define SRC_AUTHEN_M7CORE_USER(x)                (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_USER_SHIFT)) & SRC_AUTHEN_M7CORE_USER_MASK)
89392 
89393 #define SRC_AUTHEN_M7CORE_NONSECURE_MASK         (0x2000000U)
89394 #define SRC_AUTHEN_M7CORE_NONSECURE_SHIFT        (25U)
89395 /*! NONSECURE - Allow non-secure mode access
89396  */
89397 #define SRC_AUTHEN_M7CORE_NONSECURE(x)           (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_NONSECURE_SHIFT)) & SRC_AUTHEN_M7CORE_NONSECURE_MASK)
89398 
89399 #define SRC_AUTHEN_M7CORE_LOCK_SETTING_MASK      (0x80000000U)
89400 #define SRC_AUTHEN_M7CORE_LOCK_SETTING_SHIFT     (31U)
89401 /*! LOCK_SETTING - Lock NONSECURE and USER
89402  */
89403 #define SRC_AUTHEN_M7CORE_LOCK_SETTING(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7CORE_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_M7CORE_LOCK_SETTING_MASK)
89404 /*! @} */
89405 
89406 /*! @name CTRL_M7CORE - Slice Control Register */
89407 /*! @{ */
89408 
89409 #define SRC_CTRL_M7CORE_SW_RESET_MASK            (0x1U)
89410 #define SRC_CTRL_M7CORE_SW_RESET_SHIFT           (0U)
89411 /*! SW_RESET
89412  *  0b0..do not assert slice software reset
89413  *  0b1..assert slice software reset
89414  */
89415 #define SRC_CTRL_M7CORE_SW_RESET(x)              (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_M7CORE_SW_RESET_SHIFT)) & SRC_CTRL_M7CORE_SW_RESET_MASK)
89416 /*! @} */
89417 
89418 /*! @name SETPOINT_M7CORE - Slice Setpoint Config Register */
89419 /*! @{ */
89420 
89421 #define SRC_SETPOINT_M7CORE_SETPOINT0_MASK       (0x1U)
89422 #define SRC_SETPOINT_M7CORE_SETPOINT0_SHIFT      (0U)
89423 /*! SETPOINT0 - SETPOINT0
89424  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89425  *  0b1..Slice reset will be asserted when system in Setpoint n
89426  */
89427 #define SRC_SETPOINT_M7CORE_SETPOINT0(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT0_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT0_MASK)
89428 
89429 #define SRC_SETPOINT_M7CORE_SETPOINT1_MASK       (0x2U)
89430 #define SRC_SETPOINT_M7CORE_SETPOINT1_SHIFT      (1U)
89431 /*! SETPOINT1 - SETPOINT1
89432  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89433  *  0b1..Slice reset will be asserted when system in Setpoint n
89434  */
89435 #define SRC_SETPOINT_M7CORE_SETPOINT1(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT1_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT1_MASK)
89436 
89437 #define SRC_SETPOINT_M7CORE_SETPOINT2_MASK       (0x4U)
89438 #define SRC_SETPOINT_M7CORE_SETPOINT2_SHIFT      (2U)
89439 /*! SETPOINT2 - SETPOINT2
89440  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89441  *  0b1..Slice reset will be asserted when system in Setpoint n
89442  */
89443 #define SRC_SETPOINT_M7CORE_SETPOINT2(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT2_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT2_MASK)
89444 
89445 #define SRC_SETPOINT_M7CORE_SETPOINT3_MASK       (0x8U)
89446 #define SRC_SETPOINT_M7CORE_SETPOINT3_SHIFT      (3U)
89447 /*! SETPOINT3 - SETPOINT3
89448  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89449  *  0b1..Slice reset will be asserted when system in Setpoint n
89450  */
89451 #define SRC_SETPOINT_M7CORE_SETPOINT3(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT3_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT3_MASK)
89452 
89453 #define SRC_SETPOINT_M7CORE_SETPOINT4_MASK       (0x10U)
89454 #define SRC_SETPOINT_M7CORE_SETPOINT4_SHIFT      (4U)
89455 /*! SETPOINT4 - SETPOINT4
89456  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89457  *  0b1..Slice reset will be asserted when system in Setpoint n
89458  */
89459 #define SRC_SETPOINT_M7CORE_SETPOINT4(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT4_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT4_MASK)
89460 
89461 #define SRC_SETPOINT_M7CORE_SETPOINT5_MASK       (0x20U)
89462 #define SRC_SETPOINT_M7CORE_SETPOINT5_SHIFT      (5U)
89463 /*! SETPOINT5 - SETPOINT5
89464  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89465  *  0b1..Slice reset will be asserted when system in Setpoint n
89466  */
89467 #define SRC_SETPOINT_M7CORE_SETPOINT5(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT5_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT5_MASK)
89468 
89469 #define SRC_SETPOINT_M7CORE_SETPOINT6_MASK       (0x40U)
89470 #define SRC_SETPOINT_M7CORE_SETPOINT6_SHIFT      (6U)
89471 /*! SETPOINT6 - SETPOINT6
89472  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89473  *  0b1..Slice reset will be asserted when system in Setpoint n
89474  */
89475 #define SRC_SETPOINT_M7CORE_SETPOINT6(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT6_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT6_MASK)
89476 
89477 #define SRC_SETPOINT_M7CORE_SETPOINT7_MASK       (0x80U)
89478 #define SRC_SETPOINT_M7CORE_SETPOINT7_SHIFT      (7U)
89479 /*! SETPOINT7 - SETPOINT7
89480  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89481  *  0b1..Slice reset will be asserted when system in Setpoint n
89482  */
89483 #define SRC_SETPOINT_M7CORE_SETPOINT7(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT7_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT7_MASK)
89484 
89485 #define SRC_SETPOINT_M7CORE_SETPOINT8_MASK       (0x100U)
89486 #define SRC_SETPOINT_M7CORE_SETPOINT8_SHIFT      (8U)
89487 /*! SETPOINT8 - SETPOINT8
89488  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89489  *  0b1..Slice reset will be asserted when system in Setpoint n
89490  */
89491 #define SRC_SETPOINT_M7CORE_SETPOINT8(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT8_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT8_MASK)
89492 
89493 #define SRC_SETPOINT_M7CORE_SETPOINT9_MASK       (0x200U)
89494 #define SRC_SETPOINT_M7CORE_SETPOINT9_SHIFT      (9U)
89495 /*! SETPOINT9 - SETPOINT9
89496  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89497  *  0b1..Slice reset will be asserted when system in Setpoint n
89498  */
89499 #define SRC_SETPOINT_M7CORE_SETPOINT9(x)         (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT9_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT9_MASK)
89500 
89501 #define SRC_SETPOINT_M7CORE_SETPOINT10_MASK      (0x400U)
89502 #define SRC_SETPOINT_M7CORE_SETPOINT10_SHIFT     (10U)
89503 /*! SETPOINT10 - SETPOINT10
89504  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89505  *  0b1..Slice reset will be asserted when system in Setpoint n
89506  */
89507 #define SRC_SETPOINT_M7CORE_SETPOINT10(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT10_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT10_MASK)
89508 
89509 #define SRC_SETPOINT_M7CORE_SETPOINT11_MASK      (0x800U)
89510 #define SRC_SETPOINT_M7CORE_SETPOINT11_SHIFT     (11U)
89511 /*! SETPOINT11 - SETPOINT11
89512  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89513  *  0b1..Slice reset will be asserted when system in Setpoint n
89514  */
89515 #define SRC_SETPOINT_M7CORE_SETPOINT11(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT11_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT11_MASK)
89516 
89517 #define SRC_SETPOINT_M7CORE_SETPOINT12_MASK      (0x1000U)
89518 #define SRC_SETPOINT_M7CORE_SETPOINT12_SHIFT     (12U)
89519 /*! SETPOINT12 - SETPOINT12
89520  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89521  *  0b1..Slice reset will be asserted when system in Setpoint n
89522  */
89523 #define SRC_SETPOINT_M7CORE_SETPOINT12(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT12_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT12_MASK)
89524 
89525 #define SRC_SETPOINT_M7CORE_SETPOINT13_MASK      (0x2000U)
89526 #define SRC_SETPOINT_M7CORE_SETPOINT13_SHIFT     (13U)
89527 /*! SETPOINT13 - SETPOINT13
89528  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89529  *  0b1..Slice reset will be asserted when system in Setpoint n
89530  */
89531 #define SRC_SETPOINT_M7CORE_SETPOINT13(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT13_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT13_MASK)
89532 
89533 #define SRC_SETPOINT_M7CORE_SETPOINT14_MASK      (0x4000U)
89534 #define SRC_SETPOINT_M7CORE_SETPOINT14_SHIFT     (14U)
89535 /*! SETPOINT14 - SETPOINT14
89536  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89537  *  0b1..Slice reset will be asserted when system in Setpoint n
89538  */
89539 #define SRC_SETPOINT_M7CORE_SETPOINT14(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT14_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT14_MASK)
89540 
89541 #define SRC_SETPOINT_M7CORE_SETPOINT15_MASK      (0x8000U)
89542 #define SRC_SETPOINT_M7CORE_SETPOINT15_SHIFT     (15U)
89543 /*! SETPOINT15 - SETPOINT15
89544  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89545  *  0b1..Slice reset will be asserted when system in Setpoint n
89546  */
89547 #define SRC_SETPOINT_M7CORE_SETPOINT15(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7CORE_SETPOINT15_SHIFT)) & SRC_SETPOINT_M7CORE_SETPOINT15_MASK)
89548 /*! @} */
89549 
89550 /*! @name DOMAIN_M7CORE - Slice Domain Config Register */
89551 /*! @{ */
89552 
89553 #define SRC_DOMAIN_M7CORE_CPU0_RUN_MASK          (0x1U)
89554 #define SRC_DOMAIN_M7CORE_CPU0_RUN_SHIFT         (0U)
89555 /*! CPU0_RUN - CPU mode setting for RUN
89556  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
89557  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
89558  */
89559 #define SRC_DOMAIN_M7CORE_CPU0_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU0_RUN_SHIFT)) & SRC_DOMAIN_M7CORE_CPU0_RUN_MASK)
89560 
89561 #define SRC_DOMAIN_M7CORE_CPU0_WAIT_MASK         (0x2U)
89562 #define SRC_DOMAIN_M7CORE_CPU0_WAIT_SHIFT        (1U)
89563 /*! CPU0_WAIT - CPU mode setting for WAIT
89564  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
89565  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
89566  */
89567 #define SRC_DOMAIN_M7CORE_CPU0_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_M7CORE_CPU0_WAIT_MASK)
89568 
89569 #define SRC_DOMAIN_M7CORE_CPU0_STOP_MASK         (0x4U)
89570 #define SRC_DOMAIN_M7CORE_CPU0_STOP_SHIFT        (2U)
89571 /*! CPU0_STOP - CPU mode setting for STOP
89572  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
89573  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
89574  */
89575 #define SRC_DOMAIN_M7CORE_CPU0_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU0_STOP_SHIFT)) & SRC_DOMAIN_M7CORE_CPU0_STOP_MASK)
89576 
89577 #define SRC_DOMAIN_M7CORE_CPU0_SUSP_MASK         (0x8U)
89578 #define SRC_DOMAIN_M7CORE_CPU0_SUSP_SHIFT        (3U)
89579 /*! CPU0_SUSP - CPU mode setting for SUSPEND
89580  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
89581  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
89582  */
89583 #define SRC_DOMAIN_M7CORE_CPU0_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_M7CORE_CPU0_SUSP_MASK)
89584 
89585 #define SRC_DOMAIN_M7CORE_CPU1_RUN_MASK          (0x10U)
89586 #define SRC_DOMAIN_M7CORE_CPU1_RUN_SHIFT         (4U)
89587 /*! CPU1_RUN - CPU mode setting for RUN
89588  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
89589  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
89590  */
89591 #define SRC_DOMAIN_M7CORE_CPU1_RUN(x)            (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU1_RUN_SHIFT)) & SRC_DOMAIN_M7CORE_CPU1_RUN_MASK)
89592 
89593 #define SRC_DOMAIN_M7CORE_CPU1_WAIT_MASK         (0x20U)
89594 #define SRC_DOMAIN_M7CORE_CPU1_WAIT_SHIFT        (5U)
89595 /*! CPU1_WAIT - CPU mode setting for WAIT
89596  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
89597  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
89598  */
89599 #define SRC_DOMAIN_M7CORE_CPU1_WAIT(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_M7CORE_CPU1_WAIT_MASK)
89600 
89601 #define SRC_DOMAIN_M7CORE_CPU1_STOP_MASK         (0x40U)
89602 #define SRC_DOMAIN_M7CORE_CPU1_STOP_SHIFT        (6U)
89603 /*! CPU1_STOP - CPU mode setting for STOP
89604  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
89605  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
89606  */
89607 #define SRC_DOMAIN_M7CORE_CPU1_STOP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU1_STOP_SHIFT)) & SRC_DOMAIN_M7CORE_CPU1_STOP_MASK)
89608 
89609 #define SRC_DOMAIN_M7CORE_CPU1_SUSP_MASK         (0x80U)
89610 #define SRC_DOMAIN_M7CORE_CPU1_SUSP_SHIFT        (7U)
89611 /*! CPU1_SUSP - CPU mode setting for SUSPEND
89612  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
89613  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
89614  */
89615 #define SRC_DOMAIN_M7CORE_CPU1_SUSP(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7CORE_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_M7CORE_CPU1_SUSP_MASK)
89616 /*! @} */
89617 
89618 /*! @name STAT_M7CORE - Slice Status Register */
89619 /*! @{ */
89620 
89621 #define SRC_STAT_M7CORE_UNDER_RST_MASK           (0x1U)
89622 #define SRC_STAT_M7CORE_UNDER_RST_SHIFT          (0U)
89623 /*! UNDER_RST
89624  *  0b0..the reset is finished
89625  *  0b1..the reset is in process
89626  */
89627 #define SRC_STAT_M7CORE_UNDER_RST(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7CORE_UNDER_RST_SHIFT)) & SRC_STAT_M7CORE_UNDER_RST_MASK)
89628 
89629 #define SRC_STAT_M7CORE_RST_BY_HW_MASK           (0x4U)
89630 #define SRC_STAT_M7CORE_RST_BY_HW_SHIFT          (2U)
89631 /*! RST_BY_HW
89632  *  0b0..the reset is not caused by the power mode transfer
89633  *  0b1..the reset is caused by the power mode transfer
89634  */
89635 #define SRC_STAT_M7CORE_RST_BY_HW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7CORE_RST_BY_HW_SHIFT)) & SRC_STAT_M7CORE_RST_BY_HW_MASK)
89636 
89637 #define SRC_STAT_M7CORE_RST_BY_SW_MASK           (0x8U)
89638 #define SRC_STAT_M7CORE_RST_BY_SW_SHIFT          (3U)
89639 /*! RST_BY_SW
89640  *  0b0..the reset is not caused by software setting
89641  *  0b1..the reset is caused by software setting
89642  */
89643 #define SRC_STAT_M7CORE_RST_BY_SW(x)             (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7CORE_RST_BY_SW_SHIFT)) & SRC_STAT_M7CORE_RST_BY_SW_MASK)
89644 /*! @} */
89645 
89646 /*! @name AUTHEN_M4DEBUG - Slice Authentication Register */
89647 /*! @{ */
89648 
89649 #define SRC_AUTHEN_M4DEBUG_DOMAIN_MODE_MASK      (0x1U)
89650 #define SRC_AUTHEN_M4DEBUG_DOMAIN_MODE_SHIFT     (0U)
89651 /*! DOMAIN_MODE
89652  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
89653  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
89654  */
89655 #define SRC_AUTHEN_M4DEBUG_DOMAIN_MODE(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_M4DEBUG_DOMAIN_MODE_MASK)
89656 
89657 #define SRC_AUTHEN_M4DEBUG_SETPOINT_MODE_MASK    (0x2U)
89658 #define SRC_AUTHEN_M4DEBUG_SETPOINT_MODE_SHIFT   (1U)
89659 /*! SETPOINT_MODE
89660  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
89661  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
89662  */
89663 #define SRC_AUTHEN_M4DEBUG_SETPOINT_MODE(x)      (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_M4DEBUG_SETPOINT_MODE_MASK)
89664 
89665 #define SRC_AUTHEN_M4DEBUG_LOCK_MODE_MASK        (0x80U)
89666 #define SRC_AUTHEN_M4DEBUG_LOCK_MODE_SHIFT       (7U)
89667 /*! LOCK_MODE - Domain/Setpoint mode lock
89668  */
89669 #define SRC_AUTHEN_M4DEBUG_LOCK_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_LOCK_MODE_SHIFT)) & SRC_AUTHEN_M4DEBUG_LOCK_MODE_MASK)
89670 
89671 #define SRC_AUTHEN_M4DEBUG_ASSIGN_LIST_MASK      (0xF00U)
89672 #define SRC_AUTHEN_M4DEBUG_ASSIGN_LIST_SHIFT     (8U)
89673 #define SRC_AUTHEN_M4DEBUG_ASSIGN_LIST(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_M4DEBUG_ASSIGN_LIST_MASK)
89674 
89675 #define SRC_AUTHEN_M4DEBUG_LOCK_ASSIGN_MASK      (0x8000U)
89676 #define SRC_AUTHEN_M4DEBUG_LOCK_ASSIGN_SHIFT     (15U)
89677 /*! LOCK_ASSIGN - Assign list lock
89678  */
89679 #define SRC_AUTHEN_M4DEBUG_LOCK_ASSIGN(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_M4DEBUG_LOCK_ASSIGN_MASK)
89680 
89681 #define SRC_AUTHEN_M4DEBUG_WHITE_LIST_MASK       (0xF0000U)
89682 #define SRC_AUTHEN_M4DEBUG_WHITE_LIST_SHIFT      (16U)
89683 /*! WHITE_LIST - Domain ID white list
89684  */
89685 #define SRC_AUTHEN_M4DEBUG_WHITE_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_WHITE_LIST_SHIFT)) & SRC_AUTHEN_M4DEBUG_WHITE_LIST_MASK)
89686 
89687 #define SRC_AUTHEN_M4DEBUG_LOCK_LIST_MASK        (0x800000U)
89688 #define SRC_AUTHEN_M4DEBUG_LOCK_LIST_SHIFT       (23U)
89689 /*! LOCK_LIST - White list lock
89690  */
89691 #define SRC_AUTHEN_M4DEBUG_LOCK_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_LOCK_LIST_SHIFT)) & SRC_AUTHEN_M4DEBUG_LOCK_LIST_MASK)
89692 
89693 #define SRC_AUTHEN_M4DEBUG_USER_MASK             (0x1000000U)
89694 #define SRC_AUTHEN_M4DEBUG_USER_SHIFT            (24U)
89695 /*! USER - Allow user mode access
89696  */
89697 #define SRC_AUTHEN_M4DEBUG_USER(x)               (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_USER_SHIFT)) & SRC_AUTHEN_M4DEBUG_USER_MASK)
89698 
89699 #define SRC_AUTHEN_M4DEBUG_NONSECURE_MASK        (0x2000000U)
89700 #define SRC_AUTHEN_M4DEBUG_NONSECURE_SHIFT       (25U)
89701 /*! NONSECURE - Allow non-secure mode access
89702  */
89703 #define SRC_AUTHEN_M4DEBUG_NONSECURE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_NONSECURE_SHIFT)) & SRC_AUTHEN_M4DEBUG_NONSECURE_MASK)
89704 
89705 #define SRC_AUTHEN_M4DEBUG_LOCK_SETTING_MASK     (0x80000000U)
89706 #define SRC_AUTHEN_M4DEBUG_LOCK_SETTING_SHIFT    (31U)
89707 /*! LOCK_SETTING - Lock NONSECURE and USER
89708  */
89709 #define SRC_AUTHEN_M4DEBUG_LOCK_SETTING(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M4DEBUG_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_M4DEBUG_LOCK_SETTING_MASK)
89710 /*! @} */
89711 
89712 /*! @name CTRL_M4DEBUG - Slice Control Register */
89713 /*! @{ */
89714 
89715 #define SRC_CTRL_M4DEBUG_SW_RESET_MASK           (0x1U)
89716 #define SRC_CTRL_M4DEBUG_SW_RESET_SHIFT          (0U)
89717 /*! SW_RESET
89718  *  0b0..do not assert slice software reset
89719  *  0b1..assert slice software reset
89720  */
89721 #define SRC_CTRL_M4DEBUG_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_M4DEBUG_SW_RESET_SHIFT)) & SRC_CTRL_M4DEBUG_SW_RESET_MASK)
89722 /*! @} */
89723 
89724 /*! @name SETPOINT_M4DEBUG - Slice Setpoint Config Register */
89725 /*! @{ */
89726 
89727 #define SRC_SETPOINT_M4DEBUG_SETPOINT0_MASK      (0x1U)
89728 #define SRC_SETPOINT_M4DEBUG_SETPOINT0_SHIFT     (0U)
89729 /*! SETPOINT0 - SETPOINT0
89730  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89731  *  0b1..Slice reset will be asserted when system in Setpoint n
89732  */
89733 #define SRC_SETPOINT_M4DEBUG_SETPOINT0(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT0_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT0_MASK)
89734 
89735 #define SRC_SETPOINT_M4DEBUG_SETPOINT1_MASK      (0x2U)
89736 #define SRC_SETPOINT_M4DEBUG_SETPOINT1_SHIFT     (1U)
89737 /*! SETPOINT1 - SETPOINT1
89738  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89739  *  0b1..Slice reset will be asserted when system in Setpoint n
89740  */
89741 #define SRC_SETPOINT_M4DEBUG_SETPOINT1(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT1_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT1_MASK)
89742 
89743 #define SRC_SETPOINT_M4DEBUG_SETPOINT2_MASK      (0x4U)
89744 #define SRC_SETPOINT_M4DEBUG_SETPOINT2_SHIFT     (2U)
89745 /*! SETPOINT2 - SETPOINT2
89746  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89747  *  0b1..Slice reset will be asserted when system in Setpoint n
89748  */
89749 #define SRC_SETPOINT_M4DEBUG_SETPOINT2(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT2_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT2_MASK)
89750 
89751 #define SRC_SETPOINT_M4DEBUG_SETPOINT3_MASK      (0x8U)
89752 #define SRC_SETPOINT_M4DEBUG_SETPOINT3_SHIFT     (3U)
89753 /*! SETPOINT3 - SETPOINT3
89754  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89755  *  0b1..Slice reset will be asserted when system in Setpoint n
89756  */
89757 #define SRC_SETPOINT_M4DEBUG_SETPOINT3(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT3_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT3_MASK)
89758 
89759 #define SRC_SETPOINT_M4DEBUG_SETPOINT4_MASK      (0x10U)
89760 #define SRC_SETPOINT_M4DEBUG_SETPOINT4_SHIFT     (4U)
89761 /*! SETPOINT4 - SETPOINT4
89762  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89763  *  0b1..Slice reset will be asserted when system in Setpoint n
89764  */
89765 #define SRC_SETPOINT_M4DEBUG_SETPOINT4(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT4_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT4_MASK)
89766 
89767 #define SRC_SETPOINT_M4DEBUG_SETPOINT5_MASK      (0x20U)
89768 #define SRC_SETPOINT_M4DEBUG_SETPOINT5_SHIFT     (5U)
89769 /*! SETPOINT5 - SETPOINT5
89770  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89771  *  0b1..Slice reset will be asserted when system in Setpoint n
89772  */
89773 #define SRC_SETPOINT_M4DEBUG_SETPOINT5(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT5_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT5_MASK)
89774 
89775 #define SRC_SETPOINT_M4DEBUG_SETPOINT6_MASK      (0x40U)
89776 #define SRC_SETPOINT_M4DEBUG_SETPOINT6_SHIFT     (6U)
89777 /*! SETPOINT6 - SETPOINT6
89778  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89779  *  0b1..Slice reset will be asserted when system in Setpoint n
89780  */
89781 #define SRC_SETPOINT_M4DEBUG_SETPOINT6(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT6_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT6_MASK)
89782 
89783 #define SRC_SETPOINT_M4DEBUG_SETPOINT7_MASK      (0x80U)
89784 #define SRC_SETPOINT_M4DEBUG_SETPOINT7_SHIFT     (7U)
89785 /*! SETPOINT7 - SETPOINT7
89786  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89787  *  0b1..Slice reset will be asserted when system in Setpoint n
89788  */
89789 #define SRC_SETPOINT_M4DEBUG_SETPOINT7(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT7_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT7_MASK)
89790 
89791 #define SRC_SETPOINT_M4DEBUG_SETPOINT8_MASK      (0x100U)
89792 #define SRC_SETPOINT_M4DEBUG_SETPOINT8_SHIFT     (8U)
89793 /*! SETPOINT8 - SETPOINT8
89794  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89795  *  0b1..Slice reset will be asserted when system in Setpoint n
89796  */
89797 #define SRC_SETPOINT_M4DEBUG_SETPOINT8(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT8_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT8_MASK)
89798 
89799 #define SRC_SETPOINT_M4DEBUG_SETPOINT9_MASK      (0x200U)
89800 #define SRC_SETPOINT_M4DEBUG_SETPOINT9_SHIFT     (9U)
89801 /*! SETPOINT9 - SETPOINT9
89802  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89803  *  0b1..Slice reset will be asserted when system in Setpoint n
89804  */
89805 #define SRC_SETPOINT_M4DEBUG_SETPOINT9(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT9_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT9_MASK)
89806 
89807 #define SRC_SETPOINT_M4DEBUG_SETPOINT10_MASK     (0x400U)
89808 #define SRC_SETPOINT_M4DEBUG_SETPOINT10_SHIFT    (10U)
89809 /*! SETPOINT10 - SETPOINT10
89810  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89811  *  0b1..Slice reset will be asserted when system in Setpoint n
89812  */
89813 #define SRC_SETPOINT_M4DEBUG_SETPOINT10(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT10_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT10_MASK)
89814 
89815 #define SRC_SETPOINT_M4DEBUG_SETPOINT11_MASK     (0x800U)
89816 #define SRC_SETPOINT_M4DEBUG_SETPOINT11_SHIFT    (11U)
89817 /*! SETPOINT11 - SETPOINT11
89818  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89819  *  0b1..Slice reset will be asserted when system in Setpoint n
89820  */
89821 #define SRC_SETPOINT_M4DEBUG_SETPOINT11(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT11_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT11_MASK)
89822 
89823 #define SRC_SETPOINT_M4DEBUG_SETPOINT12_MASK     (0x1000U)
89824 #define SRC_SETPOINT_M4DEBUG_SETPOINT12_SHIFT    (12U)
89825 /*! SETPOINT12 - SETPOINT12
89826  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89827  *  0b1..Slice reset will be asserted when system in Setpoint n
89828  */
89829 #define SRC_SETPOINT_M4DEBUG_SETPOINT12(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT12_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT12_MASK)
89830 
89831 #define SRC_SETPOINT_M4DEBUG_SETPOINT13_MASK     (0x2000U)
89832 #define SRC_SETPOINT_M4DEBUG_SETPOINT13_SHIFT    (13U)
89833 /*! SETPOINT13 - SETPOINT13
89834  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89835  *  0b1..Slice reset will be asserted when system in Setpoint n
89836  */
89837 #define SRC_SETPOINT_M4DEBUG_SETPOINT13(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT13_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT13_MASK)
89838 
89839 #define SRC_SETPOINT_M4DEBUG_SETPOINT14_MASK     (0x4000U)
89840 #define SRC_SETPOINT_M4DEBUG_SETPOINT14_SHIFT    (14U)
89841 /*! SETPOINT14 - SETPOINT14
89842  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89843  *  0b1..Slice reset will be asserted when system in Setpoint n
89844  */
89845 #define SRC_SETPOINT_M4DEBUG_SETPOINT14(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT14_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT14_MASK)
89846 
89847 #define SRC_SETPOINT_M4DEBUG_SETPOINT15_MASK     (0x8000U)
89848 #define SRC_SETPOINT_M4DEBUG_SETPOINT15_SHIFT    (15U)
89849 /*! SETPOINT15 - SETPOINT15
89850  *  0b0..Slice reset will be de-asserted when system in Setpoint n
89851  *  0b1..Slice reset will be asserted when system in Setpoint n
89852  */
89853 #define SRC_SETPOINT_M4DEBUG_SETPOINT15(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M4DEBUG_SETPOINT15_SHIFT)) & SRC_SETPOINT_M4DEBUG_SETPOINT15_MASK)
89854 /*! @} */
89855 
89856 /*! @name DOMAIN_M4DEBUG - Slice Domain Config Register */
89857 /*! @{ */
89858 
89859 #define SRC_DOMAIN_M4DEBUG_CPU0_RUN_MASK         (0x1U)
89860 #define SRC_DOMAIN_M4DEBUG_CPU0_RUN_SHIFT        (0U)
89861 /*! CPU0_RUN - CPU mode setting for RUN
89862  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
89863  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
89864  */
89865 #define SRC_DOMAIN_M4DEBUG_CPU0_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU0_RUN_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU0_RUN_MASK)
89866 
89867 #define SRC_DOMAIN_M4DEBUG_CPU0_WAIT_MASK        (0x2U)
89868 #define SRC_DOMAIN_M4DEBUG_CPU0_WAIT_SHIFT       (1U)
89869 /*! CPU0_WAIT - CPU mode setting for WAIT
89870  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
89871  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
89872  */
89873 #define SRC_DOMAIN_M4DEBUG_CPU0_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU0_WAIT_MASK)
89874 
89875 #define SRC_DOMAIN_M4DEBUG_CPU0_STOP_MASK        (0x4U)
89876 #define SRC_DOMAIN_M4DEBUG_CPU0_STOP_SHIFT       (2U)
89877 /*! CPU0_STOP - CPU mode setting for STOP
89878  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
89879  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
89880  */
89881 #define SRC_DOMAIN_M4DEBUG_CPU0_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU0_STOP_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU0_STOP_MASK)
89882 
89883 #define SRC_DOMAIN_M4DEBUG_CPU0_SUSP_MASK        (0x8U)
89884 #define SRC_DOMAIN_M4DEBUG_CPU0_SUSP_SHIFT       (3U)
89885 /*! CPU0_SUSP - CPU mode setting for SUSPEND
89886  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
89887  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
89888  */
89889 #define SRC_DOMAIN_M4DEBUG_CPU0_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU0_SUSP_MASK)
89890 
89891 #define SRC_DOMAIN_M4DEBUG_CPU1_RUN_MASK         (0x10U)
89892 #define SRC_DOMAIN_M4DEBUG_CPU1_RUN_SHIFT        (4U)
89893 /*! CPU1_RUN - CPU mode setting for RUN
89894  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
89895  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
89896  */
89897 #define SRC_DOMAIN_M4DEBUG_CPU1_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU1_RUN_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU1_RUN_MASK)
89898 
89899 #define SRC_DOMAIN_M4DEBUG_CPU1_WAIT_MASK        (0x20U)
89900 #define SRC_DOMAIN_M4DEBUG_CPU1_WAIT_SHIFT       (5U)
89901 /*! CPU1_WAIT - CPU mode setting for WAIT
89902  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
89903  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
89904  */
89905 #define SRC_DOMAIN_M4DEBUG_CPU1_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU1_WAIT_MASK)
89906 
89907 #define SRC_DOMAIN_M4DEBUG_CPU1_STOP_MASK        (0x40U)
89908 #define SRC_DOMAIN_M4DEBUG_CPU1_STOP_SHIFT       (6U)
89909 /*! CPU1_STOP - CPU mode setting for STOP
89910  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
89911  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
89912  */
89913 #define SRC_DOMAIN_M4DEBUG_CPU1_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU1_STOP_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU1_STOP_MASK)
89914 
89915 #define SRC_DOMAIN_M4DEBUG_CPU1_SUSP_MASK        (0x80U)
89916 #define SRC_DOMAIN_M4DEBUG_CPU1_SUSP_SHIFT       (7U)
89917 /*! CPU1_SUSP - CPU mode setting for SUSPEND
89918  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
89919  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
89920  */
89921 #define SRC_DOMAIN_M4DEBUG_CPU1_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M4DEBUG_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_M4DEBUG_CPU1_SUSP_MASK)
89922 /*! @} */
89923 
89924 /*! @name STAT_M4DEBUG - Slice Status Register */
89925 /*! @{ */
89926 
89927 #define SRC_STAT_M4DEBUG_UNDER_RST_MASK          (0x1U)
89928 #define SRC_STAT_M4DEBUG_UNDER_RST_SHIFT         (0U)
89929 /*! UNDER_RST
89930  *  0b0..the reset is finished
89931  *  0b1..the reset is in process
89932  */
89933 #define SRC_STAT_M4DEBUG_UNDER_RST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4DEBUG_UNDER_RST_SHIFT)) & SRC_STAT_M4DEBUG_UNDER_RST_MASK)
89934 
89935 #define SRC_STAT_M4DEBUG_RST_BY_HW_MASK          (0x4U)
89936 #define SRC_STAT_M4DEBUG_RST_BY_HW_SHIFT         (2U)
89937 /*! RST_BY_HW
89938  *  0b0..the reset is not caused by the power mode transfer
89939  *  0b1..the reset is caused by the power mode transfer
89940  */
89941 #define SRC_STAT_M4DEBUG_RST_BY_HW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4DEBUG_RST_BY_HW_SHIFT)) & SRC_STAT_M4DEBUG_RST_BY_HW_MASK)
89942 
89943 #define SRC_STAT_M4DEBUG_RST_BY_SW_MASK          (0x8U)
89944 #define SRC_STAT_M4DEBUG_RST_BY_SW_SHIFT         (3U)
89945 /*! RST_BY_SW
89946  *  0b0..the reset is not caused by software setting
89947  *  0b1..the reset is caused by software setting
89948  */
89949 #define SRC_STAT_M4DEBUG_RST_BY_SW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M4DEBUG_RST_BY_SW_SHIFT)) & SRC_STAT_M4DEBUG_RST_BY_SW_MASK)
89950 /*! @} */
89951 
89952 /*! @name AUTHEN_M7DEBUG - Slice Authentication Register */
89953 /*! @{ */
89954 
89955 #define SRC_AUTHEN_M7DEBUG_DOMAIN_MODE_MASK      (0x1U)
89956 #define SRC_AUTHEN_M7DEBUG_DOMAIN_MODE_SHIFT     (0U)
89957 /*! DOMAIN_MODE
89958  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
89959  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
89960  */
89961 #define SRC_AUTHEN_M7DEBUG_DOMAIN_MODE(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_M7DEBUG_DOMAIN_MODE_MASK)
89962 
89963 #define SRC_AUTHEN_M7DEBUG_SETPOINT_MODE_MASK    (0x2U)
89964 #define SRC_AUTHEN_M7DEBUG_SETPOINT_MODE_SHIFT   (1U)
89965 /*! SETPOINT_MODE
89966  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
89967  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
89968  */
89969 #define SRC_AUTHEN_M7DEBUG_SETPOINT_MODE(x)      (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_M7DEBUG_SETPOINT_MODE_MASK)
89970 
89971 #define SRC_AUTHEN_M7DEBUG_LOCK_MODE_MASK        (0x80U)
89972 #define SRC_AUTHEN_M7DEBUG_LOCK_MODE_SHIFT       (7U)
89973 /*! LOCK_MODE - Domain/Setpoint mode lock
89974  */
89975 #define SRC_AUTHEN_M7DEBUG_LOCK_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_LOCK_MODE_SHIFT)) & SRC_AUTHEN_M7DEBUG_LOCK_MODE_MASK)
89976 
89977 #define SRC_AUTHEN_M7DEBUG_ASSIGN_LIST_MASK      (0xF00U)
89978 #define SRC_AUTHEN_M7DEBUG_ASSIGN_LIST_SHIFT     (8U)
89979 #define SRC_AUTHEN_M7DEBUG_ASSIGN_LIST(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_M7DEBUG_ASSIGN_LIST_MASK)
89980 
89981 #define SRC_AUTHEN_M7DEBUG_LOCK_ASSIGN_MASK      (0x8000U)
89982 #define SRC_AUTHEN_M7DEBUG_LOCK_ASSIGN_SHIFT     (15U)
89983 /*! LOCK_ASSIGN - Assign list lock
89984  */
89985 #define SRC_AUTHEN_M7DEBUG_LOCK_ASSIGN(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_M7DEBUG_LOCK_ASSIGN_MASK)
89986 
89987 #define SRC_AUTHEN_M7DEBUG_WHITE_LIST_MASK       (0xF0000U)
89988 #define SRC_AUTHEN_M7DEBUG_WHITE_LIST_SHIFT      (16U)
89989 /*! WHITE_LIST - Domain ID white list
89990  */
89991 #define SRC_AUTHEN_M7DEBUG_WHITE_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_WHITE_LIST_SHIFT)) & SRC_AUTHEN_M7DEBUG_WHITE_LIST_MASK)
89992 
89993 #define SRC_AUTHEN_M7DEBUG_LOCK_LIST_MASK        (0x800000U)
89994 #define SRC_AUTHEN_M7DEBUG_LOCK_LIST_SHIFT       (23U)
89995 /*! LOCK_LIST - White list lock
89996  */
89997 #define SRC_AUTHEN_M7DEBUG_LOCK_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_LOCK_LIST_SHIFT)) & SRC_AUTHEN_M7DEBUG_LOCK_LIST_MASK)
89998 
89999 #define SRC_AUTHEN_M7DEBUG_USER_MASK             (0x1000000U)
90000 #define SRC_AUTHEN_M7DEBUG_USER_SHIFT            (24U)
90001 /*! USER - Allow user mode access
90002  */
90003 #define SRC_AUTHEN_M7DEBUG_USER(x)               (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_USER_SHIFT)) & SRC_AUTHEN_M7DEBUG_USER_MASK)
90004 
90005 #define SRC_AUTHEN_M7DEBUG_NONSECURE_MASK        (0x2000000U)
90006 #define SRC_AUTHEN_M7DEBUG_NONSECURE_SHIFT       (25U)
90007 /*! NONSECURE - Allow non-secure mode access
90008  */
90009 #define SRC_AUTHEN_M7DEBUG_NONSECURE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_NONSECURE_SHIFT)) & SRC_AUTHEN_M7DEBUG_NONSECURE_MASK)
90010 
90011 #define SRC_AUTHEN_M7DEBUG_LOCK_SETTING_MASK     (0x80000000U)
90012 #define SRC_AUTHEN_M7DEBUG_LOCK_SETTING_SHIFT    (31U)
90013 /*! LOCK_SETTING - Lock NONSECURE and USER
90014  */
90015 #define SRC_AUTHEN_M7DEBUG_LOCK_SETTING(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_M7DEBUG_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_M7DEBUG_LOCK_SETTING_MASK)
90016 /*! @} */
90017 
90018 /*! @name CTRL_M7DEBUG - Slice Control Register */
90019 /*! @{ */
90020 
90021 #define SRC_CTRL_M7DEBUG_SW_RESET_MASK           (0x1U)
90022 #define SRC_CTRL_M7DEBUG_SW_RESET_SHIFT          (0U)
90023 /*! SW_RESET
90024  *  0b0..do not assert slice software reset
90025  *  0b1..assert slice software reset
90026  */
90027 #define SRC_CTRL_M7DEBUG_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_M7DEBUG_SW_RESET_SHIFT)) & SRC_CTRL_M7DEBUG_SW_RESET_MASK)
90028 /*! @} */
90029 
90030 /*! @name SETPOINT_M7DEBUG - Slice Setpoint Config Register */
90031 /*! @{ */
90032 
90033 #define SRC_SETPOINT_M7DEBUG_SETPOINT0_MASK      (0x1U)
90034 #define SRC_SETPOINT_M7DEBUG_SETPOINT0_SHIFT     (0U)
90035 /*! SETPOINT0 - SETPOINT0
90036  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90037  *  0b1..Slice reset will be asserted when system in Setpoint n
90038  */
90039 #define SRC_SETPOINT_M7DEBUG_SETPOINT0(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT0_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT0_MASK)
90040 
90041 #define SRC_SETPOINT_M7DEBUG_SETPOINT1_MASK      (0x2U)
90042 #define SRC_SETPOINT_M7DEBUG_SETPOINT1_SHIFT     (1U)
90043 /*! SETPOINT1 - SETPOINT1
90044  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90045  *  0b1..Slice reset will be asserted when system in Setpoint n
90046  */
90047 #define SRC_SETPOINT_M7DEBUG_SETPOINT1(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT1_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT1_MASK)
90048 
90049 #define SRC_SETPOINT_M7DEBUG_SETPOINT2_MASK      (0x4U)
90050 #define SRC_SETPOINT_M7DEBUG_SETPOINT2_SHIFT     (2U)
90051 /*! SETPOINT2 - SETPOINT2
90052  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90053  *  0b1..Slice reset will be asserted when system in Setpoint n
90054  */
90055 #define SRC_SETPOINT_M7DEBUG_SETPOINT2(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT2_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT2_MASK)
90056 
90057 #define SRC_SETPOINT_M7DEBUG_SETPOINT3_MASK      (0x8U)
90058 #define SRC_SETPOINT_M7DEBUG_SETPOINT3_SHIFT     (3U)
90059 /*! SETPOINT3 - SETPOINT3
90060  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90061  *  0b1..Slice reset will be asserted when system in Setpoint n
90062  */
90063 #define SRC_SETPOINT_M7DEBUG_SETPOINT3(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT3_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT3_MASK)
90064 
90065 #define SRC_SETPOINT_M7DEBUG_SETPOINT4_MASK      (0x10U)
90066 #define SRC_SETPOINT_M7DEBUG_SETPOINT4_SHIFT     (4U)
90067 /*! SETPOINT4 - SETPOINT4
90068  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90069  *  0b1..Slice reset will be asserted when system in Setpoint n
90070  */
90071 #define SRC_SETPOINT_M7DEBUG_SETPOINT4(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT4_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT4_MASK)
90072 
90073 #define SRC_SETPOINT_M7DEBUG_SETPOINT5_MASK      (0x20U)
90074 #define SRC_SETPOINT_M7DEBUG_SETPOINT5_SHIFT     (5U)
90075 /*! SETPOINT5 - SETPOINT5
90076  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90077  *  0b1..Slice reset will be asserted when system in Setpoint n
90078  */
90079 #define SRC_SETPOINT_M7DEBUG_SETPOINT5(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT5_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT5_MASK)
90080 
90081 #define SRC_SETPOINT_M7DEBUG_SETPOINT6_MASK      (0x40U)
90082 #define SRC_SETPOINT_M7DEBUG_SETPOINT6_SHIFT     (6U)
90083 /*! SETPOINT6 - SETPOINT6
90084  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90085  *  0b1..Slice reset will be asserted when system in Setpoint n
90086  */
90087 #define SRC_SETPOINT_M7DEBUG_SETPOINT6(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT6_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT6_MASK)
90088 
90089 #define SRC_SETPOINT_M7DEBUG_SETPOINT7_MASK      (0x80U)
90090 #define SRC_SETPOINT_M7DEBUG_SETPOINT7_SHIFT     (7U)
90091 /*! SETPOINT7 - SETPOINT7
90092  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90093  *  0b1..Slice reset will be asserted when system in Setpoint n
90094  */
90095 #define SRC_SETPOINT_M7DEBUG_SETPOINT7(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT7_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT7_MASK)
90096 
90097 #define SRC_SETPOINT_M7DEBUG_SETPOINT8_MASK      (0x100U)
90098 #define SRC_SETPOINT_M7DEBUG_SETPOINT8_SHIFT     (8U)
90099 /*! SETPOINT8 - SETPOINT8
90100  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90101  *  0b1..Slice reset will be asserted when system in Setpoint n
90102  */
90103 #define SRC_SETPOINT_M7DEBUG_SETPOINT8(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT8_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT8_MASK)
90104 
90105 #define SRC_SETPOINT_M7DEBUG_SETPOINT9_MASK      (0x200U)
90106 #define SRC_SETPOINT_M7DEBUG_SETPOINT9_SHIFT     (9U)
90107 /*! SETPOINT9 - SETPOINT9
90108  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90109  *  0b1..Slice reset will be asserted when system in Setpoint n
90110  */
90111 #define SRC_SETPOINT_M7DEBUG_SETPOINT9(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT9_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT9_MASK)
90112 
90113 #define SRC_SETPOINT_M7DEBUG_SETPOINT10_MASK     (0x400U)
90114 #define SRC_SETPOINT_M7DEBUG_SETPOINT10_SHIFT    (10U)
90115 /*! SETPOINT10 - SETPOINT10
90116  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90117  *  0b1..Slice reset will be asserted when system in Setpoint n
90118  */
90119 #define SRC_SETPOINT_M7DEBUG_SETPOINT10(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT10_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT10_MASK)
90120 
90121 #define SRC_SETPOINT_M7DEBUG_SETPOINT11_MASK     (0x800U)
90122 #define SRC_SETPOINT_M7DEBUG_SETPOINT11_SHIFT    (11U)
90123 /*! SETPOINT11 - SETPOINT11
90124  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90125  *  0b1..Slice reset will be asserted when system in Setpoint n
90126  */
90127 #define SRC_SETPOINT_M7DEBUG_SETPOINT11(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT11_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT11_MASK)
90128 
90129 #define SRC_SETPOINT_M7DEBUG_SETPOINT12_MASK     (0x1000U)
90130 #define SRC_SETPOINT_M7DEBUG_SETPOINT12_SHIFT    (12U)
90131 /*! SETPOINT12 - SETPOINT12
90132  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90133  *  0b1..Slice reset will be asserted when system in Setpoint n
90134  */
90135 #define SRC_SETPOINT_M7DEBUG_SETPOINT12(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT12_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT12_MASK)
90136 
90137 #define SRC_SETPOINT_M7DEBUG_SETPOINT13_MASK     (0x2000U)
90138 #define SRC_SETPOINT_M7DEBUG_SETPOINT13_SHIFT    (13U)
90139 /*! SETPOINT13 - SETPOINT13
90140  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90141  *  0b1..Slice reset will be asserted when system in Setpoint n
90142  */
90143 #define SRC_SETPOINT_M7DEBUG_SETPOINT13(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT13_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT13_MASK)
90144 
90145 #define SRC_SETPOINT_M7DEBUG_SETPOINT14_MASK     (0x4000U)
90146 #define SRC_SETPOINT_M7DEBUG_SETPOINT14_SHIFT    (14U)
90147 /*! SETPOINT14 - SETPOINT14
90148  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90149  *  0b1..Slice reset will be asserted when system in Setpoint n
90150  */
90151 #define SRC_SETPOINT_M7DEBUG_SETPOINT14(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT14_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT14_MASK)
90152 
90153 #define SRC_SETPOINT_M7DEBUG_SETPOINT15_MASK     (0x8000U)
90154 #define SRC_SETPOINT_M7DEBUG_SETPOINT15_SHIFT    (15U)
90155 /*! SETPOINT15 - SETPOINT15
90156  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90157  *  0b1..Slice reset will be asserted when system in Setpoint n
90158  */
90159 #define SRC_SETPOINT_M7DEBUG_SETPOINT15(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_M7DEBUG_SETPOINT15_SHIFT)) & SRC_SETPOINT_M7DEBUG_SETPOINT15_MASK)
90160 /*! @} */
90161 
90162 /*! @name DOMAIN_M7DEBUG - Slice Domain Config Register */
90163 /*! @{ */
90164 
90165 #define SRC_DOMAIN_M7DEBUG_CPU0_RUN_MASK         (0x1U)
90166 #define SRC_DOMAIN_M7DEBUG_CPU0_RUN_SHIFT        (0U)
90167 /*! CPU0_RUN - CPU mode setting for RUN
90168  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
90169  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
90170  */
90171 #define SRC_DOMAIN_M7DEBUG_CPU0_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU0_RUN_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU0_RUN_MASK)
90172 
90173 #define SRC_DOMAIN_M7DEBUG_CPU0_WAIT_MASK        (0x2U)
90174 #define SRC_DOMAIN_M7DEBUG_CPU0_WAIT_SHIFT       (1U)
90175 /*! CPU0_WAIT - CPU mode setting for WAIT
90176  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
90177  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
90178  */
90179 #define SRC_DOMAIN_M7DEBUG_CPU0_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU0_WAIT_MASK)
90180 
90181 #define SRC_DOMAIN_M7DEBUG_CPU0_STOP_MASK        (0x4U)
90182 #define SRC_DOMAIN_M7DEBUG_CPU0_STOP_SHIFT       (2U)
90183 /*! CPU0_STOP - CPU mode setting for STOP
90184  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
90185  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
90186  */
90187 #define SRC_DOMAIN_M7DEBUG_CPU0_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU0_STOP_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU0_STOP_MASK)
90188 
90189 #define SRC_DOMAIN_M7DEBUG_CPU0_SUSP_MASK        (0x8U)
90190 #define SRC_DOMAIN_M7DEBUG_CPU0_SUSP_SHIFT       (3U)
90191 /*! CPU0_SUSP - CPU mode setting for SUSPEND
90192  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
90193  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
90194  */
90195 #define SRC_DOMAIN_M7DEBUG_CPU0_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU0_SUSP_MASK)
90196 
90197 #define SRC_DOMAIN_M7DEBUG_CPU1_RUN_MASK         (0x10U)
90198 #define SRC_DOMAIN_M7DEBUG_CPU1_RUN_SHIFT        (4U)
90199 /*! CPU1_RUN - CPU mode setting for RUN
90200  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
90201  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
90202  */
90203 #define SRC_DOMAIN_M7DEBUG_CPU1_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU1_RUN_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU1_RUN_MASK)
90204 
90205 #define SRC_DOMAIN_M7DEBUG_CPU1_WAIT_MASK        (0x20U)
90206 #define SRC_DOMAIN_M7DEBUG_CPU1_WAIT_SHIFT       (5U)
90207 /*! CPU1_WAIT - CPU mode setting for WAIT
90208  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
90209  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
90210  */
90211 #define SRC_DOMAIN_M7DEBUG_CPU1_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU1_WAIT_MASK)
90212 
90213 #define SRC_DOMAIN_M7DEBUG_CPU1_STOP_MASK        (0x40U)
90214 #define SRC_DOMAIN_M7DEBUG_CPU1_STOP_SHIFT       (6U)
90215 /*! CPU1_STOP - CPU mode setting for STOP
90216  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
90217  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
90218  */
90219 #define SRC_DOMAIN_M7DEBUG_CPU1_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU1_STOP_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU1_STOP_MASK)
90220 
90221 #define SRC_DOMAIN_M7DEBUG_CPU1_SUSP_MASK        (0x80U)
90222 #define SRC_DOMAIN_M7DEBUG_CPU1_SUSP_SHIFT       (7U)
90223 /*! CPU1_SUSP - CPU mode setting for SUSPEND
90224  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
90225  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
90226  */
90227 #define SRC_DOMAIN_M7DEBUG_CPU1_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_M7DEBUG_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_M7DEBUG_CPU1_SUSP_MASK)
90228 /*! @} */
90229 
90230 /*! @name STAT_M7DEBUG - Slice Status Register */
90231 /*! @{ */
90232 
90233 #define SRC_STAT_M7DEBUG_UNDER_RST_MASK          (0x1U)
90234 #define SRC_STAT_M7DEBUG_UNDER_RST_SHIFT         (0U)
90235 /*! UNDER_RST
90236  *  0b0..the reset is finished
90237  *  0b1..the reset is in process
90238  */
90239 #define SRC_STAT_M7DEBUG_UNDER_RST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7DEBUG_UNDER_RST_SHIFT)) & SRC_STAT_M7DEBUG_UNDER_RST_MASK)
90240 
90241 #define SRC_STAT_M7DEBUG_RST_BY_HW_MASK          (0x4U)
90242 #define SRC_STAT_M7DEBUG_RST_BY_HW_SHIFT         (2U)
90243 /*! RST_BY_HW
90244  *  0b0..the reset is not caused by the power mode transfer
90245  *  0b1..the reset is caused by the power mode transfer
90246  */
90247 #define SRC_STAT_M7DEBUG_RST_BY_HW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7DEBUG_RST_BY_HW_SHIFT)) & SRC_STAT_M7DEBUG_RST_BY_HW_MASK)
90248 
90249 #define SRC_STAT_M7DEBUG_RST_BY_SW_MASK          (0x8U)
90250 #define SRC_STAT_M7DEBUG_RST_BY_SW_SHIFT         (3U)
90251 /*! RST_BY_SW
90252  *  0b0..the reset is not caused by software setting
90253  *  0b1..the reset is caused by software setting
90254  */
90255 #define SRC_STAT_M7DEBUG_RST_BY_SW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_M7DEBUG_RST_BY_SW_SHIFT)) & SRC_STAT_M7DEBUG_RST_BY_SW_MASK)
90256 /*! @} */
90257 
90258 /*! @name AUTHEN_USBPHY1 - Slice Authentication Register */
90259 /*! @{ */
90260 
90261 #define SRC_AUTHEN_USBPHY1_DOMAIN_MODE_MASK      (0x1U)
90262 #define SRC_AUTHEN_USBPHY1_DOMAIN_MODE_SHIFT     (0U)
90263 /*! DOMAIN_MODE
90264  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
90265  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
90266  */
90267 #define SRC_AUTHEN_USBPHY1_DOMAIN_MODE(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_USBPHY1_DOMAIN_MODE_MASK)
90268 
90269 #define SRC_AUTHEN_USBPHY1_SETPOINT_MODE_MASK    (0x2U)
90270 #define SRC_AUTHEN_USBPHY1_SETPOINT_MODE_SHIFT   (1U)
90271 /*! SETPOINT_MODE
90272  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
90273  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
90274  */
90275 #define SRC_AUTHEN_USBPHY1_SETPOINT_MODE(x)      (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_USBPHY1_SETPOINT_MODE_MASK)
90276 
90277 #define SRC_AUTHEN_USBPHY1_LOCK_MODE_MASK        (0x80U)
90278 #define SRC_AUTHEN_USBPHY1_LOCK_MODE_SHIFT       (7U)
90279 /*! LOCK_MODE - Domain/Setpoint mode lock
90280  */
90281 #define SRC_AUTHEN_USBPHY1_LOCK_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_LOCK_MODE_SHIFT)) & SRC_AUTHEN_USBPHY1_LOCK_MODE_MASK)
90282 
90283 #define SRC_AUTHEN_USBPHY1_ASSIGN_LIST_MASK      (0xF00U)
90284 #define SRC_AUTHEN_USBPHY1_ASSIGN_LIST_SHIFT     (8U)
90285 #define SRC_AUTHEN_USBPHY1_ASSIGN_LIST(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_USBPHY1_ASSIGN_LIST_MASK)
90286 
90287 #define SRC_AUTHEN_USBPHY1_LOCK_ASSIGN_MASK      (0x8000U)
90288 #define SRC_AUTHEN_USBPHY1_LOCK_ASSIGN_SHIFT     (15U)
90289 /*! LOCK_ASSIGN - Assign list lock
90290  */
90291 #define SRC_AUTHEN_USBPHY1_LOCK_ASSIGN(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_USBPHY1_LOCK_ASSIGN_MASK)
90292 
90293 #define SRC_AUTHEN_USBPHY1_WHITE_LIST_MASK       (0xF0000U)
90294 #define SRC_AUTHEN_USBPHY1_WHITE_LIST_SHIFT      (16U)
90295 /*! WHITE_LIST - Domain ID white list
90296  */
90297 #define SRC_AUTHEN_USBPHY1_WHITE_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_WHITE_LIST_SHIFT)) & SRC_AUTHEN_USBPHY1_WHITE_LIST_MASK)
90298 
90299 #define SRC_AUTHEN_USBPHY1_LOCK_LIST_MASK        (0x800000U)
90300 #define SRC_AUTHEN_USBPHY1_LOCK_LIST_SHIFT       (23U)
90301 /*! LOCK_LIST - White list lock
90302  */
90303 #define SRC_AUTHEN_USBPHY1_LOCK_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_LOCK_LIST_SHIFT)) & SRC_AUTHEN_USBPHY1_LOCK_LIST_MASK)
90304 
90305 #define SRC_AUTHEN_USBPHY1_USER_MASK             (0x1000000U)
90306 #define SRC_AUTHEN_USBPHY1_USER_SHIFT            (24U)
90307 /*! USER - Allow user mode access
90308  */
90309 #define SRC_AUTHEN_USBPHY1_USER(x)               (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_USER_SHIFT)) & SRC_AUTHEN_USBPHY1_USER_MASK)
90310 
90311 #define SRC_AUTHEN_USBPHY1_NONSECURE_MASK        (0x2000000U)
90312 #define SRC_AUTHEN_USBPHY1_NONSECURE_SHIFT       (25U)
90313 /*! NONSECURE - Allow non-secure mode access
90314  */
90315 #define SRC_AUTHEN_USBPHY1_NONSECURE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_NONSECURE_SHIFT)) & SRC_AUTHEN_USBPHY1_NONSECURE_MASK)
90316 
90317 #define SRC_AUTHEN_USBPHY1_LOCK_SETTING_MASK     (0x80000000U)
90318 #define SRC_AUTHEN_USBPHY1_LOCK_SETTING_SHIFT    (31U)
90319 /*! LOCK_SETTING - Lock NONSECURE and USER
90320  */
90321 #define SRC_AUTHEN_USBPHY1_LOCK_SETTING(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY1_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_USBPHY1_LOCK_SETTING_MASK)
90322 /*! @} */
90323 
90324 /*! @name CTRL_USBPHY1 - Slice Control Register */
90325 /*! @{ */
90326 
90327 #define SRC_CTRL_USBPHY1_SW_RESET_MASK           (0x1U)
90328 #define SRC_CTRL_USBPHY1_SW_RESET_SHIFT          (0U)
90329 /*! SW_RESET
90330  *  0b0..do not assert slice software reset
90331  *  0b1..assert slice software reset
90332  */
90333 #define SRC_CTRL_USBPHY1_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_USBPHY1_SW_RESET_SHIFT)) & SRC_CTRL_USBPHY1_SW_RESET_MASK)
90334 /*! @} */
90335 
90336 /*! @name SETPOINT_USBPHY1 - Slice Setpoint Config Register */
90337 /*! @{ */
90338 
90339 #define SRC_SETPOINT_USBPHY1_SETPOINT0_MASK      (0x1U)
90340 #define SRC_SETPOINT_USBPHY1_SETPOINT0_SHIFT     (0U)
90341 /*! SETPOINT0 - SETPOINT0
90342  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90343  *  0b1..Slice reset will be asserted when system in Setpoint n
90344  */
90345 #define SRC_SETPOINT_USBPHY1_SETPOINT0(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT0_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT0_MASK)
90346 
90347 #define SRC_SETPOINT_USBPHY1_SETPOINT1_MASK      (0x2U)
90348 #define SRC_SETPOINT_USBPHY1_SETPOINT1_SHIFT     (1U)
90349 /*! SETPOINT1 - SETPOINT1
90350  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90351  *  0b1..Slice reset will be asserted when system in Setpoint n
90352  */
90353 #define SRC_SETPOINT_USBPHY1_SETPOINT1(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT1_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT1_MASK)
90354 
90355 #define SRC_SETPOINT_USBPHY1_SETPOINT2_MASK      (0x4U)
90356 #define SRC_SETPOINT_USBPHY1_SETPOINT2_SHIFT     (2U)
90357 /*! SETPOINT2 - SETPOINT2
90358  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90359  *  0b1..Slice reset will be asserted when system in Setpoint n
90360  */
90361 #define SRC_SETPOINT_USBPHY1_SETPOINT2(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT2_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT2_MASK)
90362 
90363 #define SRC_SETPOINT_USBPHY1_SETPOINT3_MASK      (0x8U)
90364 #define SRC_SETPOINT_USBPHY1_SETPOINT3_SHIFT     (3U)
90365 /*! SETPOINT3 - SETPOINT3
90366  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90367  *  0b1..Slice reset will be asserted when system in Setpoint n
90368  */
90369 #define SRC_SETPOINT_USBPHY1_SETPOINT3(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT3_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT3_MASK)
90370 
90371 #define SRC_SETPOINT_USBPHY1_SETPOINT4_MASK      (0x10U)
90372 #define SRC_SETPOINT_USBPHY1_SETPOINT4_SHIFT     (4U)
90373 /*! SETPOINT4 - SETPOINT4
90374  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90375  *  0b1..Slice reset will be asserted when system in Setpoint n
90376  */
90377 #define SRC_SETPOINT_USBPHY1_SETPOINT4(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT4_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT4_MASK)
90378 
90379 #define SRC_SETPOINT_USBPHY1_SETPOINT5_MASK      (0x20U)
90380 #define SRC_SETPOINT_USBPHY1_SETPOINT5_SHIFT     (5U)
90381 /*! SETPOINT5 - SETPOINT5
90382  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90383  *  0b1..Slice reset will be asserted when system in Setpoint n
90384  */
90385 #define SRC_SETPOINT_USBPHY1_SETPOINT5(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT5_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT5_MASK)
90386 
90387 #define SRC_SETPOINT_USBPHY1_SETPOINT6_MASK      (0x40U)
90388 #define SRC_SETPOINT_USBPHY1_SETPOINT6_SHIFT     (6U)
90389 /*! SETPOINT6 - SETPOINT6
90390  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90391  *  0b1..Slice reset will be asserted when system in Setpoint n
90392  */
90393 #define SRC_SETPOINT_USBPHY1_SETPOINT6(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT6_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT6_MASK)
90394 
90395 #define SRC_SETPOINT_USBPHY1_SETPOINT7_MASK      (0x80U)
90396 #define SRC_SETPOINT_USBPHY1_SETPOINT7_SHIFT     (7U)
90397 /*! SETPOINT7 - SETPOINT7
90398  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90399  *  0b1..Slice reset will be asserted when system in Setpoint n
90400  */
90401 #define SRC_SETPOINT_USBPHY1_SETPOINT7(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT7_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT7_MASK)
90402 
90403 #define SRC_SETPOINT_USBPHY1_SETPOINT8_MASK      (0x100U)
90404 #define SRC_SETPOINT_USBPHY1_SETPOINT8_SHIFT     (8U)
90405 /*! SETPOINT8 - SETPOINT8
90406  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90407  *  0b1..Slice reset will be asserted when system in Setpoint n
90408  */
90409 #define SRC_SETPOINT_USBPHY1_SETPOINT8(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT8_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT8_MASK)
90410 
90411 #define SRC_SETPOINT_USBPHY1_SETPOINT9_MASK      (0x200U)
90412 #define SRC_SETPOINT_USBPHY1_SETPOINT9_SHIFT     (9U)
90413 /*! SETPOINT9 - SETPOINT9
90414  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90415  *  0b1..Slice reset will be asserted when system in Setpoint n
90416  */
90417 #define SRC_SETPOINT_USBPHY1_SETPOINT9(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT9_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT9_MASK)
90418 
90419 #define SRC_SETPOINT_USBPHY1_SETPOINT10_MASK     (0x400U)
90420 #define SRC_SETPOINT_USBPHY1_SETPOINT10_SHIFT    (10U)
90421 /*! SETPOINT10 - SETPOINT10
90422  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90423  *  0b1..Slice reset will be asserted when system in Setpoint n
90424  */
90425 #define SRC_SETPOINT_USBPHY1_SETPOINT10(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT10_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT10_MASK)
90426 
90427 #define SRC_SETPOINT_USBPHY1_SETPOINT11_MASK     (0x800U)
90428 #define SRC_SETPOINT_USBPHY1_SETPOINT11_SHIFT    (11U)
90429 /*! SETPOINT11 - SETPOINT11
90430  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90431  *  0b1..Slice reset will be asserted when system in Setpoint n
90432  */
90433 #define SRC_SETPOINT_USBPHY1_SETPOINT11(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT11_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT11_MASK)
90434 
90435 #define SRC_SETPOINT_USBPHY1_SETPOINT12_MASK     (0x1000U)
90436 #define SRC_SETPOINT_USBPHY1_SETPOINT12_SHIFT    (12U)
90437 /*! SETPOINT12 - SETPOINT12
90438  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90439  *  0b1..Slice reset will be asserted when system in Setpoint n
90440  */
90441 #define SRC_SETPOINT_USBPHY1_SETPOINT12(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT12_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT12_MASK)
90442 
90443 #define SRC_SETPOINT_USBPHY1_SETPOINT13_MASK     (0x2000U)
90444 #define SRC_SETPOINT_USBPHY1_SETPOINT13_SHIFT    (13U)
90445 /*! SETPOINT13 - SETPOINT13
90446  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90447  *  0b1..Slice reset will be asserted when system in Setpoint n
90448  */
90449 #define SRC_SETPOINT_USBPHY1_SETPOINT13(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT13_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT13_MASK)
90450 
90451 #define SRC_SETPOINT_USBPHY1_SETPOINT14_MASK     (0x4000U)
90452 #define SRC_SETPOINT_USBPHY1_SETPOINT14_SHIFT    (14U)
90453 /*! SETPOINT14 - SETPOINT14
90454  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90455  *  0b1..Slice reset will be asserted when system in Setpoint n
90456  */
90457 #define SRC_SETPOINT_USBPHY1_SETPOINT14(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT14_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT14_MASK)
90458 
90459 #define SRC_SETPOINT_USBPHY1_SETPOINT15_MASK     (0x8000U)
90460 #define SRC_SETPOINT_USBPHY1_SETPOINT15_SHIFT    (15U)
90461 /*! SETPOINT15 - SETPOINT15
90462  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90463  *  0b1..Slice reset will be asserted when system in Setpoint n
90464  */
90465 #define SRC_SETPOINT_USBPHY1_SETPOINT15(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY1_SETPOINT15_SHIFT)) & SRC_SETPOINT_USBPHY1_SETPOINT15_MASK)
90466 /*! @} */
90467 
90468 /*! @name DOMAIN_USBPHY1 - Slice Domain Config Register */
90469 /*! @{ */
90470 
90471 #define SRC_DOMAIN_USBPHY1_CPU0_RUN_MASK         (0x1U)
90472 #define SRC_DOMAIN_USBPHY1_CPU0_RUN_SHIFT        (0U)
90473 /*! CPU0_RUN - CPU mode setting for RUN
90474  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
90475  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
90476  */
90477 #define SRC_DOMAIN_USBPHY1_CPU0_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU0_RUN_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU0_RUN_MASK)
90478 
90479 #define SRC_DOMAIN_USBPHY1_CPU0_WAIT_MASK        (0x2U)
90480 #define SRC_DOMAIN_USBPHY1_CPU0_WAIT_SHIFT       (1U)
90481 /*! CPU0_WAIT - CPU mode setting for WAIT
90482  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
90483  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
90484  */
90485 #define SRC_DOMAIN_USBPHY1_CPU0_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU0_WAIT_MASK)
90486 
90487 #define SRC_DOMAIN_USBPHY1_CPU0_STOP_MASK        (0x4U)
90488 #define SRC_DOMAIN_USBPHY1_CPU0_STOP_SHIFT       (2U)
90489 /*! CPU0_STOP - CPU mode setting for STOP
90490  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
90491  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
90492  */
90493 #define SRC_DOMAIN_USBPHY1_CPU0_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU0_STOP_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU0_STOP_MASK)
90494 
90495 #define SRC_DOMAIN_USBPHY1_CPU0_SUSP_MASK        (0x8U)
90496 #define SRC_DOMAIN_USBPHY1_CPU0_SUSP_SHIFT       (3U)
90497 /*! CPU0_SUSP - CPU mode setting for SUSPEND
90498  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
90499  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
90500  */
90501 #define SRC_DOMAIN_USBPHY1_CPU0_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU0_SUSP_MASK)
90502 
90503 #define SRC_DOMAIN_USBPHY1_CPU1_RUN_MASK         (0x10U)
90504 #define SRC_DOMAIN_USBPHY1_CPU1_RUN_SHIFT        (4U)
90505 /*! CPU1_RUN - CPU mode setting for RUN
90506  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
90507  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
90508  */
90509 #define SRC_DOMAIN_USBPHY1_CPU1_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU1_RUN_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU1_RUN_MASK)
90510 
90511 #define SRC_DOMAIN_USBPHY1_CPU1_WAIT_MASK        (0x20U)
90512 #define SRC_DOMAIN_USBPHY1_CPU1_WAIT_SHIFT       (5U)
90513 /*! CPU1_WAIT - CPU mode setting for WAIT
90514  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
90515  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
90516  */
90517 #define SRC_DOMAIN_USBPHY1_CPU1_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU1_WAIT_MASK)
90518 
90519 #define SRC_DOMAIN_USBPHY1_CPU1_STOP_MASK        (0x40U)
90520 #define SRC_DOMAIN_USBPHY1_CPU1_STOP_SHIFT       (6U)
90521 /*! CPU1_STOP - CPU mode setting for STOP
90522  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
90523  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
90524  */
90525 #define SRC_DOMAIN_USBPHY1_CPU1_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU1_STOP_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU1_STOP_MASK)
90526 
90527 #define SRC_DOMAIN_USBPHY1_CPU1_SUSP_MASK        (0x80U)
90528 #define SRC_DOMAIN_USBPHY1_CPU1_SUSP_SHIFT       (7U)
90529 /*! CPU1_SUSP - CPU mode setting for SUSPEND
90530  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
90531  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
90532  */
90533 #define SRC_DOMAIN_USBPHY1_CPU1_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY1_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_USBPHY1_CPU1_SUSP_MASK)
90534 /*! @} */
90535 
90536 /*! @name STAT_USBPHY1 - Slice Status Register */
90537 /*! @{ */
90538 
90539 #define SRC_STAT_USBPHY1_UNDER_RST_MASK          (0x1U)
90540 #define SRC_STAT_USBPHY1_UNDER_RST_SHIFT         (0U)
90541 /*! UNDER_RST
90542  *  0b0..the reset is finished
90543  *  0b1..the reset is in process
90544  */
90545 #define SRC_STAT_USBPHY1_UNDER_RST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY1_UNDER_RST_SHIFT)) & SRC_STAT_USBPHY1_UNDER_RST_MASK)
90546 
90547 #define SRC_STAT_USBPHY1_RST_BY_HW_MASK          (0x4U)
90548 #define SRC_STAT_USBPHY1_RST_BY_HW_SHIFT         (2U)
90549 /*! RST_BY_HW
90550  *  0b0..the reset is not caused by the power mode transfer
90551  *  0b1..the reset is caused by the power mode transfer
90552  */
90553 #define SRC_STAT_USBPHY1_RST_BY_HW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY1_RST_BY_HW_SHIFT)) & SRC_STAT_USBPHY1_RST_BY_HW_MASK)
90554 
90555 #define SRC_STAT_USBPHY1_RST_BY_SW_MASK          (0x8U)
90556 #define SRC_STAT_USBPHY1_RST_BY_SW_SHIFT         (3U)
90557 /*! RST_BY_SW
90558  *  0b0..the reset is not caused by software setting
90559  *  0b1..the reset is caused by software setting
90560  */
90561 #define SRC_STAT_USBPHY1_RST_BY_SW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY1_RST_BY_SW_SHIFT)) & SRC_STAT_USBPHY1_RST_BY_SW_MASK)
90562 /*! @} */
90563 
90564 /*! @name AUTHEN_USBPHY2 - Slice Authentication Register */
90565 /*! @{ */
90566 
90567 #define SRC_AUTHEN_USBPHY2_DOMAIN_MODE_MASK      (0x1U)
90568 #define SRC_AUTHEN_USBPHY2_DOMAIN_MODE_SHIFT     (0U)
90569 /*! DOMAIN_MODE
90570  *  0b0..slice hardware reset will NOT be triggered by CPU power mode transition
90571  *  0b1..slice hardware reset will be triggered by CPU power mode transition. Do not set this bit and SETPOINT_MODE at the same time.
90572  */
90573 #define SRC_AUTHEN_USBPHY2_DOMAIN_MODE(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_DOMAIN_MODE_SHIFT)) & SRC_AUTHEN_USBPHY2_DOMAIN_MODE_MASK)
90574 
90575 #define SRC_AUTHEN_USBPHY2_SETPOINT_MODE_MASK    (0x2U)
90576 #define SRC_AUTHEN_USBPHY2_SETPOINT_MODE_SHIFT   (1U)
90577 /*! SETPOINT_MODE
90578  *  0b0..slice hardware reset will NOT be triggered by Setpoint transition
90579  *  0b1..slice hardware reset will be triggered by Setpoint transition. Do not set this bit and DOMAIN_MODE at the same time.
90580  */
90581 #define SRC_AUTHEN_USBPHY2_SETPOINT_MODE(x)      (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_SETPOINT_MODE_SHIFT)) & SRC_AUTHEN_USBPHY2_SETPOINT_MODE_MASK)
90582 
90583 #define SRC_AUTHEN_USBPHY2_LOCK_MODE_MASK        (0x80U)
90584 #define SRC_AUTHEN_USBPHY2_LOCK_MODE_SHIFT       (7U)
90585 /*! LOCK_MODE - Domain/Setpoint mode lock
90586  */
90587 #define SRC_AUTHEN_USBPHY2_LOCK_MODE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_LOCK_MODE_SHIFT)) & SRC_AUTHEN_USBPHY2_LOCK_MODE_MASK)
90588 
90589 #define SRC_AUTHEN_USBPHY2_ASSIGN_LIST_MASK      (0xF00U)
90590 #define SRC_AUTHEN_USBPHY2_ASSIGN_LIST_SHIFT     (8U)
90591 #define SRC_AUTHEN_USBPHY2_ASSIGN_LIST(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_ASSIGN_LIST_SHIFT)) & SRC_AUTHEN_USBPHY2_ASSIGN_LIST_MASK)
90592 
90593 #define SRC_AUTHEN_USBPHY2_LOCK_ASSIGN_MASK      (0x8000U)
90594 #define SRC_AUTHEN_USBPHY2_LOCK_ASSIGN_SHIFT     (15U)
90595 /*! LOCK_ASSIGN - Assign list lock
90596  */
90597 #define SRC_AUTHEN_USBPHY2_LOCK_ASSIGN(x)        (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_LOCK_ASSIGN_SHIFT)) & SRC_AUTHEN_USBPHY2_LOCK_ASSIGN_MASK)
90598 
90599 #define SRC_AUTHEN_USBPHY2_WHITE_LIST_MASK       (0xF0000U)
90600 #define SRC_AUTHEN_USBPHY2_WHITE_LIST_SHIFT      (16U)
90601 /*! WHITE_LIST - Domain ID white list
90602  */
90603 #define SRC_AUTHEN_USBPHY2_WHITE_LIST(x)         (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_WHITE_LIST_SHIFT)) & SRC_AUTHEN_USBPHY2_WHITE_LIST_MASK)
90604 
90605 #define SRC_AUTHEN_USBPHY2_LOCK_LIST_MASK        (0x800000U)
90606 #define SRC_AUTHEN_USBPHY2_LOCK_LIST_SHIFT       (23U)
90607 /*! LOCK_LIST - White list lock
90608  */
90609 #define SRC_AUTHEN_USBPHY2_LOCK_LIST(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_LOCK_LIST_SHIFT)) & SRC_AUTHEN_USBPHY2_LOCK_LIST_MASK)
90610 
90611 #define SRC_AUTHEN_USBPHY2_USER_MASK             (0x1000000U)
90612 #define SRC_AUTHEN_USBPHY2_USER_SHIFT            (24U)
90613 /*! USER - Allow user mode access
90614  */
90615 #define SRC_AUTHEN_USBPHY2_USER(x)               (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_USER_SHIFT)) & SRC_AUTHEN_USBPHY2_USER_MASK)
90616 
90617 #define SRC_AUTHEN_USBPHY2_NONSECURE_MASK        (0x2000000U)
90618 #define SRC_AUTHEN_USBPHY2_NONSECURE_SHIFT       (25U)
90619 /*! NONSECURE - Allow non-secure mode access
90620  */
90621 #define SRC_AUTHEN_USBPHY2_NONSECURE(x)          (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_NONSECURE_SHIFT)) & SRC_AUTHEN_USBPHY2_NONSECURE_MASK)
90622 
90623 #define SRC_AUTHEN_USBPHY2_LOCK_SETTING_MASK     (0x80000000U)
90624 #define SRC_AUTHEN_USBPHY2_LOCK_SETTING_SHIFT    (31U)
90625 /*! LOCK_SETTING - Lock NONSECURE and USER
90626  */
90627 #define SRC_AUTHEN_USBPHY2_LOCK_SETTING(x)       (((uint32_t)(((uint32_t)(x)) << SRC_AUTHEN_USBPHY2_LOCK_SETTING_SHIFT)) & SRC_AUTHEN_USBPHY2_LOCK_SETTING_MASK)
90628 /*! @} */
90629 
90630 /*! @name CTRL_USBPHY2 - Slice Control Register */
90631 /*! @{ */
90632 
90633 #define SRC_CTRL_USBPHY2_SW_RESET_MASK           (0x1U)
90634 #define SRC_CTRL_USBPHY2_SW_RESET_SHIFT          (0U)
90635 /*! SW_RESET
90636  *  0b0..do not assert slice software reset
90637  *  0b1..assert slice software reset
90638  */
90639 #define SRC_CTRL_USBPHY2_SW_RESET(x)             (((uint32_t)(((uint32_t)(x)) << SRC_CTRL_USBPHY2_SW_RESET_SHIFT)) & SRC_CTRL_USBPHY2_SW_RESET_MASK)
90640 /*! @} */
90641 
90642 /*! @name SETPOINT_USBPHY2 - Slice Setpoint Config Register */
90643 /*! @{ */
90644 
90645 #define SRC_SETPOINT_USBPHY2_SETPOINT0_MASK      (0x1U)
90646 #define SRC_SETPOINT_USBPHY2_SETPOINT0_SHIFT     (0U)
90647 /*! SETPOINT0 - SETPOINT0
90648  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90649  *  0b1..Slice reset will be asserted when system in Setpoint n
90650  */
90651 #define SRC_SETPOINT_USBPHY2_SETPOINT0(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT0_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT0_MASK)
90652 
90653 #define SRC_SETPOINT_USBPHY2_SETPOINT1_MASK      (0x2U)
90654 #define SRC_SETPOINT_USBPHY2_SETPOINT1_SHIFT     (1U)
90655 /*! SETPOINT1 - SETPOINT1
90656  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90657  *  0b1..Slice reset will be asserted when system in Setpoint n
90658  */
90659 #define SRC_SETPOINT_USBPHY2_SETPOINT1(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT1_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT1_MASK)
90660 
90661 #define SRC_SETPOINT_USBPHY2_SETPOINT2_MASK      (0x4U)
90662 #define SRC_SETPOINT_USBPHY2_SETPOINT2_SHIFT     (2U)
90663 /*! SETPOINT2 - SETPOINT2
90664  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90665  *  0b1..Slice reset will be asserted when system in Setpoint n
90666  */
90667 #define SRC_SETPOINT_USBPHY2_SETPOINT2(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT2_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT2_MASK)
90668 
90669 #define SRC_SETPOINT_USBPHY2_SETPOINT3_MASK      (0x8U)
90670 #define SRC_SETPOINT_USBPHY2_SETPOINT3_SHIFT     (3U)
90671 /*! SETPOINT3 - SETPOINT3
90672  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90673  *  0b1..Slice reset will be asserted when system in Setpoint n
90674  */
90675 #define SRC_SETPOINT_USBPHY2_SETPOINT3(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT3_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT3_MASK)
90676 
90677 #define SRC_SETPOINT_USBPHY2_SETPOINT4_MASK      (0x10U)
90678 #define SRC_SETPOINT_USBPHY2_SETPOINT4_SHIFT     (4U)
90679 /*! SETPOINT4 - SETPOINT4
90680  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90681  *  0b1..Slice reset will be asserted when system in Setpoint n
90682  */
90683 #define SRC_SETPOINT_USBPHY2_SETPOINT4(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT4_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT4_MASK)
90684 
90685 #define SRC_SETPOINT_USBPHY2_SETPOINT5_MASK      (0x20U)
90686 #define SRC_SETPOINT_USBPHY2_SETPOINT5_SHIFT     (5U)
90687 /*! SETPOINT5 - SETPOINT5
90688  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90689  *  0b1..Slice reset will be asserted when system in Setpoint n
90690  */
90691 #define SRC_SETPOINT_USBPHY2_SETPOINT5(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT5_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT5_MASK)
90692 
90693 #define SRC_SETPOINT_USBPHY2_SETPOINT6_MASK      (0x40U)
90694 #define SRC_SETPOINT_USBPHY2_SETPOINT6_SHIFT     (6U)
90695 /*! SETPOINT6 - SETPOINT6
90696  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90697  *  0b1..Slice reset will be asserted when system in Setpoint n
90698  */
90699 #define SRC_SETPOINT_USBPHY2_SETPOINT6(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT6_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT6_MASK)
90700 
90701 #define SRC_SETPOINT_USBPHY2_SETPOINT7_MASK      (0x80U)
90702 #define SRC_SETPOINT_USBPHY2_SETPOINT7_SHIFT     (7U)
90703 /*! SETPOINT7 - SETPOINT7
90704  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90705  *  0b1..Slice reset will be asserted when system in Setpoint n
90706  */
90707 #define SRC_SETPOINT_USBPHY2_SETPOINT7(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT7_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT7_MASK)
90708 
90709 #define SRC_SETPOINT_USBPHY2_SETPOINT8_MASK      (0x100U)
90710 #define SRC_SETPOINT_USBPHY2_SETPOINT8_SHIFT     (8U)
90711 /*! SETPOINT8 - SETPOINT8
90712  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90713  *  0b1..Slice reset will be asserted when system in Setpoint n
90714  */
90715 #define SRC_SETPOINT_USBPHY2_SETPOINT8(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT8_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT8_MASK)
90716 
90717 #define SRC_SETPOINT_USBPHY2_SETPOINT9_MASK      (0x200U)
90718 #define SRC_SETPOINT_USBPHY2_SETPOINT9_SHIFT     (9U)
90719 /*! SETPOINT9 - SETPOINT9
90720  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90721  *  0b1..Slice reset will be asserted when system in Setpoint n
90722  */
90723 #define SRC_SETPOINT_USBPHY2_SETPOINT9(x)        (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT9_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT9_MASK)
90724 
90725 #define SRC_SETPOINT_USBPHY2_SETPOINT10_MASK     (0x400U)
90726 #define SRC_SETPOINT_USBPHY2_SETPOINT10_SHIFT    (10U)
90727 /*! SETPOINT10 - SETPOINT10
90728  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90729  *  0b1..Slice reset will be asserted when system in Setpoint n
90730  */
90731 #define SRC_SETPOINT_USBPHY2_SETPOINT10(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT10_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT10_MASK)
90732 
90733 #define SRC_SETPOINT_USBPHY2_SETPOINT11_MASK     (0x800U)
90734 #define SRC_SETPOINT_USBPHY2_SETPOINT11_SHIFT    (11U)
90735 /*! SETPOINT11 - SETPOINT11
90736  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90737  *  0b1..Slice reset will be asserted when system in Setpoint n
90738  */
90739 #define SRC_SETPOINT_USBPHY2_SETPOINT11(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT11_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT11_MASK)
90740 
90741 #define SRC_SETPOINT_USBPHY2_SETPOINT12_MASK     (0x1000U)
90742 #define SRC_SETPOINT_USBPHY2_SETPOINT12_SHIFT    (12U)
90743 /*! SETPOINT12 - SETPOINT12
90744  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90745  *  0b1..Slice reset will be asserted when system in Setpoint n
90746  */
90747 #define SRC_SETPOINT_USBPHY2_SETPOINT12(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT12_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT12_MASK)
90748 
90749 #define SRC_SETPOINT_USBPHY2_SETPOINT13_MASK     (0x2000U)
90750 #define SRC_SETPOINT_USBPHY2_SETPOINT13_SHIFT    (13U)
90751 /*! SETPOINT13 - SETPOINT13
90752  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90753  *  0b1..Slice reset will be asserted when system in Setpoint n
90754  */
90755 #define SRC_SETPOINT_USBPHY2_SETPOINT13(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT13_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT13_MASK)
90756 
90757 #define SRC_SETPOINT_USBPHY2_SETPOINT14_MASK     (0x4000U)
90758 #define SRC_SETPOINT_USBPHY2_SETPOINT14_SHIFT    (14U)
90759 /*! SETPOINT14 - SETPOINT14
90760  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90761  *  0b1..Slice reset will be asserted when system in Setpoint n
90762  */
90763 #define SRC_SETPOINT_USBPHY2_SETPOINT14(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT14_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT14_MASK)
90764 
90765 #define SRC_SETPOINT_USBPHY2_SETPOINT15_MASK     (0x8000U)
90766 #define SRC_SETPOINT_USBPHY2_SETPOINT15_SHIFT    (15U)
90767 /*! SETPOINT15 - SETPOINT15
90768  *  0b0..Slice reset will be de-asserted when system in Setpoint n
90769  *  0b1..Slice reset will be asserted when system in Setpoint n
90770  */
90771 #define SRC_SETPOINT_USBPHY2_SETPOINT15(x)       (((uint32_t)(((uint32_t)(x)) << SRC_SETPOINT_USBPHY2_SETPOINT15_SHIFT)) & SRC_SETPOINT_USBPHY2_SETPOINT15_MASK)
90772 /*! @} */
90773 
90774 /*! @name DOMAIN_USBPHY2 - Slice Domain Config Register */
90775 /*! @{ */
90776 
90777 #define SRC_DOMAIN_USBPHY2_CPU0_RUN_MASK         (0x1U)
90778 #define SRC_DOMAIN_USBPHY2_CPU0_RUN_SHIFT        (0U)
90779 /*! CPU0_RUN - CPU mode setting for RUN
90780  *  0b0..Slice reset will be de-asserted when CPU0 in RUN mode
90781  *  0b1..Slice reset will be asserted when CPU0 in RUN mode
90782  */
90783 #define SRC_DOMAIN_USBPHY2_CPU0_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU0_RUN_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU0_RUN_MASK)
90784 
90785 #define SRC_DOMAIN_USBPHY2_CPU0_WAIT_MASK        (0x2U)
90786 #define SRC_DOMAIN_USBPHY2_CPU0_WAIT_SHIFT       (1U)
90787 /*! CPU0_WAIT - CPU mode setting for WAIT
90788  *  0b0..Slice reset will be de-asserted when CPU0 in WAIT mode
90789  *  0b1..Slice reset will be asserted when CPU0 in WAIT mode
90790  */
90791 #define SRC_DOMAIN_USBPHY2_CPU0_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU0_WAIT_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU0_WAIT_MASK)
90792 
90793 #define SRC_DOMAIN_USBPHY2_CPU0_STOP_MASK        (0x4U)
90794 #define SRC_DOMAIN_USBPHY2_CPU0_STOP_SHIFT       (2U)
90795 /*! CPU0_STOP - CPU mode setting for STOP
90796  *  0b0..Slice reset will be de-asserted when CPU0 in STOP mode
90797  *  0b1..Slice reset will be asserted when CPU0 in STOP mode
90798  */
90799 #define SRC_DOMAIN_USBPHY2_CPU0_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU0_STOP_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU0_STOP_MASK)
90800 
90801 #define SRC_DOMAIN_USBPHY2_CPU0_SUSP_MASK        (0x8U)
90802 #define SRC_DOMAIN_USBPHY2_CPU0_SUSP_SHIFT       (3U)
90803 /*! CPU0_SUSP - CPU mode setting for SUSPEND
90804  *  0b0..Slice reset will be de-asserted when CPU0 in SUSPEND mode
90805  *  0b1..Slice reset will be asserted when CPU0 in SUSPEND mode
90806  */
90807 #define SRC_DOMAIN_USBPHY2_CPU0_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU0_SUSP_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU0_SUSP_MASK)
90808 
90809 #define SRC_DOMAIN_USBPHY2_CPU1_RUN_MASK         (0x10U)
90810 #define SRC_DOMAIN_USBPHY2_CPU1_RUN_SHIFT        (4U)
90811 /*! CPU1_RUN - CPU mode setting for RUN
90812  *  0b0..Slice reset will be de-asserted when CPU1 in RUN mode
90813  *  0b1..Slice reset will be asserted when CPU1 in RUN mode
90814  */
90815 #define SRC_DOMAIN_USBPHY2_CPU1_RUN(x)           (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU1_RUN_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU1_RUN_MASK)
90816 
90817 #define SRC_DOMAIN_USBPHY2_CPU1_WAIT_MASK        (0x20U)
90818 #define SRC_DOMAIN_USBPHY2_CPU1_WAIT_SHIFT       (5U)
90819 /*! CPU1_WAIT - CPU mode setting for WAIT
90820  *  0b0..Slice reset will be de-asserted when CPU1 in WAIT mode
90821  *  0b1..Slice reset will be asserted when CPU1 in WAIT mode
90822  */
90823 #define SRC_DOMAIN_USBPHY2_CPU1_WAIT(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU1_WAIT_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU1_WAIT_MASK)
90824 
90825 #define SRC_DOMAIN_USBPHY2_CPU1_STOP_MASK        (0x40U)
90826 #define SRC_DOMAIN_USBPHY2_CPU1_STOP_SHIFT       (6U)
90827 /*! CPU1_STOP - CPU mode setting for STOP
90828  *  0b0..Slice reset will be de-asserted when CPU1 in STOP mode
90829  *  0b1..Slice reset will be asserted when CPU1 in STOP mode
90830  */
90831 #define SRC_DOMAIN_USBPHY2_CPU1_STOP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU1_STOP_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU1_STOP_MASK)
90832 
90833 #define SRC_DOMAIN_USBPHY2_CPU1_SUSP_MASK        (0x80U)
90834 #define SRC_DOMAIN_USBPHY2_CPU1_SUSP_SHIFT       (7U)
90835 /*! CPU1_SUSP - CPU mode setting for SUSPEND
90836  *  0b0..Slice reset will be de-asserted when CPU1 in SUSPEND mode
90837  *  0b1..Slice reset will be asserted when CPU1 in SUSPEND mode
90838  */
90839 #define SRC_DOMAIN_USBPHY2_CPU1_SUSP(x)          (((uint32_t)(((uint32_t)(x)) << SRC_DOMAIN_USBPHY2_CPU1_SUSP_SHIFT)) & SRC_DOMAIN_USBPHY2_CPU1_SUSP_MASK)
90840 /*! @} */
90841 
90842 /*! @name STAT_USBPHY2 - Slice Status Register */
90843 /*! @{ */
90844 
90845 #define SRC_STAT_USBPHY2_UNDER_RST_MASK          (0x1U)
90846 #define SRC_STAT_USBPHY2_UNDER_RST_SHIFT         (0U)
90847 /*! UNDER_RST
90848  *  0b0..the reset is finished
90849  *  0b1..the reset is in process
90850  */
90851 #define SRC_STAT_USBPHY2_UNDER_RST(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY2_UNDER_RST_SHIFT)) & SRC_STAT_USBPHY2_UNDER_RST_MASK)
90852 
90853 #define SRC_STAT_USBPHY2_RST_BY_HW_MASK          (0x4U)
90854 #define SRC_STAT_USBPHY2_RST_BY_HW_SHIFT         (2U)
90855 /*! RST_BY_HW
90856  *  0b0..the reset is not caused by the power mode transfer
90857  *  0b1..the reset is caused by the power mode transfer
90858  */
90859 #define SRC_STAT_USBPHY2_RST_BY_HW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY2_RST_BY_HW_SHIFT)) & SRC_STAT_USBPHY2_RST_BY_HW_MASK)
90860 
90861 #define SRC_STAT_USBPHY2_RST_BY_SW_MASK          (0x8U)
90862 #define SRC_STAT_USBPHY2_RST_BY_SW_SHIFT         (3U)
90863 /*! RST_BY_SW
90864  *  0b0..the reset is not caused by software setting
90865  *  0b1..the reset is caused by software setting
90866  */
90867 #define SRC_STAT_USBPHY2_RST_BY_SW(x)            (((uint32_t)(((uint32_t)(x)) << SRC_STAT_USBPHY2_RST_BY_SW_SHIFT)) & SRC_STAT_USBPHY2_RST_BY_SW_MASK)
90868 /*! @} */
90869 
90870 
90871 /*!
90872  * @}
90873  */ /* end of group SRC_Register_Masks */
90874 
90875 
90876 /* SRC - Peripheral instance base addresses */
90877 /** Peripheral SRC base address */
90878 #define SRC_BASE                                 (0x40C04000u)
90879 /** Peripheral SRC base pointer */
90880 #define SRC                                      ((SRC_Type *)SRC_BASE)
90881 /** Array initializer of SRC peripheral base addresses */
90882 #define SRC_BASE_ADDRS                           { SRC_BASE }
90883 /** Array initializer of SRC peripheral base pointers */
90884 #define SRC_BASE_PTRS                            { SRC }
90885 
90886 /*!
90887  * @}
90888  */ /* end of group SRC_Peripheral_Access_Layer */
90889 
90890 
90891 /* ----------------------------------------------------------------------------
90892    -- SSARC_HP Peripheral Access Layer
90893    ---------------------------------------------------------------------------- */
90894 
90895 /*!
90896  * @addtogroup SSARC_HP_Peripheral_Access_Layer SSARC_HP Peripheral Access Layer
90897  * @{
90898  */
90899 
90900 /** SSARC_HP - Register Layout Typedef */
90901 typedef struct {
90902   struct {                                         /* offset: 0x0, array step: 0x10 */
90903     __IO uint32_t SRAM0;                             /**< Description Address Register, array offset: 0x0, array step: 0x10 */
90904     __IO uint32_t SRAM1;                             /**< Description Data Register, array offset: 0x4, array step: 0x10 */
90905     __IO uint32_t SRAM2;                             /**< Description Control Register, array offset: 0x8, array step: 0x10 */
90906          uint8_t RESERVED_0[4];
90907   } DESC[1024];
90908 } SSARC_HP_Type;
90909 
90910 /* ----------------------------------------------------------------------------
90911    -- SSARC_HP Register Masks
90912    ---------------------------------------------------------------------------- */
90913 
90914 /*!
90915  * @addtogroup SSARC_HP_Register_Masks SSARC_HP Register Masks
90916  * @{
90917  */
90918 
90919 /*! @name SRAM0 - Description Address Register */
90920 /*! @{ */
90921 
90922 #define SSARC_HP_SRAM0_ADDR_MASK                 (0xFFFFFFFFU)
90923 #define SSARC_HP_SRAM0_ADDR_SHIFT                (0U)
90924 /*! ADDR - Address field
90925  */
90926 #define SSARC_HP_SRAM0_ADDR(x)                   (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM0_ADDR_SHIFT)) & SSARC_HP_SRAM0_ADDR_MASK)
90927 /*! @} */
90928 
90929 /* The count of SSARC_HP_SRAM0 */
90930 #define SSARC_HP_SRAM0_COUNT                     (1024U)
90931 
90932 /*! @name SRAM1 - Description Data Register */
90933 /*! @{ */
90934 
90935 #define SSARC_HP_SRAM1_DATA_MASK                 (0xFFFFFFFFU)
90936 #define SSARC_HP_SRAM1_DATA_SHIFT                (0U)
90937 /*! DATA - Data field
90938  */
90939 #define SSARC_HP_SRAM1_DATA(x)                   (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM1_DATA_SHIFT)) & SSARC_HP_SRAM1_DATA_MASK)
90940 /*! @} */
90941 
90942 /* The count of SSARC_HP_SRAM1 */
90943 #define SSARC_HP_SRAM1_COUNT                     (1024U)
90944 
90945 /*! @name SRAM2 - Description Control Register */
90946 /*! @{ */
90947 
90948 #define SSARC_HP_SRAM2_TYPE_MASK                 (0x7U)
90949 #define SSARC_HP_SRAM2_TYPE_SHIFT                (0U)
90950 /*! TYPE - Type field
90951  *  0b000..SR
90952  *  0b001..WO
90953  *  0b010..RMW_OR
90954  *  0b011..RMW_AND
90955  *  0b100..DELAY
90956  *  0b101..POLLING_0
90957  *  0b110..POLLING_1
90958  *  0b111..Reserved
90959  */
90960 #define SSARC_HP_SRAM2_TYPE(x)                   (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM2_TYPE_SHIFT)) & SSARC_HP_SRAM2_TYPE_MASK)
90961 
90962 #define SSARC_HP_SRAM2_SV_EN_MASK                (0x10U)
90963 #define SSARC_HP_SRAM2_SV_EN_SHIFT               (4U)
90964 /*! SV_EN - Save Enable
90965  *  0b0..Do not use this descriptor in the save operation
90966  *  0b1..Use this descriptor in the save operation
90967  */
90968 #define SSARC_HP_SRAM2_SV_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM2_SV_EN_SHIFT)) & SSARC_HP_SRAM2_SV_EN_MASK)
90969 
90970 #define SSARC_HP_SRAM2_RT_EN_MASK                (0x20U)
90971 #define SSARC_HP_SRAM2_RT_EN_SHIFT               (5U)
90972 /*! RT_EN - Restore Enable
90973  *  0b0..Do not use this descriptor for the restore operation
90974  *  0b1..Use this descriptor for the restore operation
90975  */
90976 #define SSARC_HP_SRAM2_RT_EN(x)                  (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM2_RT_EN_SHIFT)) & SSARC_HP_SRAM2_RT_EN_MASK)
90977 
90978 #define SSARC_HP_SRAM2_SIZE_MASK                 (0xC0U)
90979 #define SSARC_HP_SRAM2_SIZE_SHIFT                (6U)
90980 /*! SIZE - Size field
90981  *  0b00..8-bit
90982  *  0b01..16-bit
90983  *  0b10..32-bit
90984  *  0b11..Reserved
90985  */
90986 #define SSARC_HP_SRAM2_SIZE(x)                   (((uint32_t)(((uint32_t)(x)) << SSARC_HP_SRAM2_SIZE_SHIFT)) & SSARC_HP_SRAM2_SIZE_MASK)
90987 /*! @} */
90988 
90989 /* The count of SSARC_HP_SRAM2 */
90990 #define SSARC_HP_SRAM2_COUNT                     (1024U)
90991 
90992 
90993 /*!
90994  * @}
90995  */ /* end of group SSARC_HP_Register_Masks */
90996 
90997 
90998 /* SSARC_HP - Peripheral instance base addresses */
90999 /** Peripheral SSARC_HP base address */
91000 #define SSARC_HP_BASE                            (0x40CB4000u)
91001 /** Peripheral SSARC_HP base pointer */
91002 #define SSARC_HP                                 ((SSARC_HP_Type *)SSARC_HP_BASE)
91003 /** Array initializer of SSARC_HP peripheral base addresses */
91004 #define SSARC_HP_BASE_ADDRS                      { SSARC_HP_BASE }
91005 /** Array initializer of SSARC_HP peripheral base pointers */
91006 #define SSARC_HP_BASE_PTRS                       { SSARC_HP }
91007 
91008 /*!
91009  * @}
91010  */ /* end of group SSARC_HP_Peripheral_Access_Layer */
91011 
91012 
91013 /* ----------------------------------------------------------------------------
91014    -- SSARC_LP Peripheral Access Layer
91015    ---------------------------------------------------------------------------- */
91016 
91017 /*!
91018  * @addtogroup SSARC_LP_Peripheral_Access_Layer SSARC_LP Peripheral Access Layer
91019  * @{
91020  */
91021 
91022 /** SSARC_LP - Register Layout Typedef */
91023 typedef struct {
91024   struct {                                         /* offset: 0x0, array step: 0x20 */
91025     __IO uint32_t DESC_CTRL0;                        /**< Descriptor Control0 0 Register..Descriptor Control0 15 Register, array offset: 0x0, array step: 0x20 */
91026     __IO uint32_t DESC_CTRL1;                        /**< Descriptor Control1 0 Register..Descriptor Control1 15 Register, array offset: 0x4, array step: 0x20 */
91027     __IO uint32_t DESC_ADDR_UP;                      /**< Descriptor Address Up 0 Register..Descriptor Address Up 15 Register, array offset: 0x8, array step: 0x20 */
91028     __IO uint32_t DESC_ADDR_DOWN;                    /**< Descriptor Address Down 0 Register..Descriptor Address Down 15 Register, array offset: 0xC, array step: 0x20 */
91029          uint8_t RESERVED_0[16];
91030   } GROUPS[16];
91031   __IO uint32_t CTRL;                              /**< Control Register, offset: 0x200 */
91032   __IO uint32_t INT_STATUS;                        /**< Interrupt Status Register, offset: 0x204 */
91033        uint8_t RESERVED_0[4];
91034   __IO uint32_t HP_TIMEOUT;                        /**< HP Timeout Register, offset: 0x20C */
91035        uint8_t RESERVED_1[12];
91036   __I  uint32_t HW_GROUP_PENDING;                  /**< Hardware Request Pending Register, offset: 0x21C */
91037   __I  uint32_t SW_GROUP_PENDING;                  /**< Software Request Pending Register, offset: 0x220 */
91038 } SSARC_LP_Type;
91039 
91040 /* ----------------------------------------------------------------------------
91041    -- SSARC_LP Register Masks
91042    ---------------------------------------------------------------------------- */
91043 
91044 /*!
91045  * @addtogroup SSARC_LP_Register_Masks SSARC_LP Register Masks
91046  * @{
91047  */
91048 
91049 /*! @name DESC_CTRL0 - Descriptor Control0 0 Register..Descriptor Control0 15 Register */
91050 /*! @{ */
91051 
91052 #define SSARC_LP_DESC_CTRL0_START_MASK           (0x3FFU)
91053 #define SSARC_LP_DESC_CTRL0_START_SHIFT          (0U)
91054 /*! START - Start index
91055  */
91056 #define SSARC_LP_DESC_CTRL0_START(x)             (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL0_START_SHIFT)) & SSARC_LP_DESC_CTRL0_START_MASK)
91057 
91058 #define SSARC_LP_DESC_CTRL0_END_MASK             (0xFFC00U)
91059 #define SSARC_LP_DESC_CTRL0_END_SHIFT            (10U)
91060 /*! END - End index
91061  */
91062 #define SSARC_LP_DESC_CTRL0_END(x)               (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL0_END_SHIFT)) & SSARC_LP_DESC_CTRL0_END_MASK)
91063 
91064 #define SSARC_LP_DESC_CTRL0_SV_ORDER_MASK        (0x100000U)
91065 #define SSARC_LP_DESC_CTRL0_SV_ORDER_SHIFT       (20U)
91066 /*! SV_ORDER - Save Order
91067  *  0b0..Descriptors within the group are processed from start to end
91068  *  0b1..Descriptors within the group are processed from end to start
91069  */
91070 #define SSARC_LP_DESC_CTRL0_SV_ORDER(x)          (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL0_SV_ORDER_SHIFT)) & SSARC_LP_DESC_CTRL0_SV_ORDER_MASK)
91071 
91072 #define SSARC_LP_DESC_CTRL0_RT_ORDER_MASK        (0x200000U)
91073 #define SSARC_LP_DESC_CTRL0_RT_ORDER_SHIFT       (21U)
91074 /*! RT_ORDER - Restore order
91075  *  0b0..Descriptors within the group are processed from start to end
91076  *  0b1..Descriptors within the group are processed from end to start
91077  */
91078 #define SSARC_LP_DESC_CTRL0_RT_ORDER(x)          (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL0_RT_ORDER_SHIFT)) & SSARC_LP_DESC_CTRL0_RT_ORDER_MASK)
91079 /*! @} */
91080 
91081 /* The count of SSARC_LP_DESC_CTRL0 */
91082 #define SSARC_LP_DESC_CTRL0_COUNT                (16U)
91083 
91084 /*! @name DESC_CTRL1 - Descriptor Control1 0 Register..Descriptor Control1 15 Register */
91085 /*! @{ */
91086 
91087 #define SSARC_LP_DESC_CTRL1_SW_TRIG_SV_MASK      (0x1U)
91088 #define SSARC_LP_DESC_CTRL1_SW_TRIG_SV_SHIFT     (0U)
91089 /*! SW_TRIG_SV - Software trigger save
91090  *  0b1..Request a software save operation/software restore operation in progress
91091  *  0b0..No software save request/software restore request complete
91092  */
91093 #define SSARC_LP_DESC_CTRL1_SW_TRIG_SV(x)        (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_SW_TRIG_SV_SHIFT)) & SSARC_LP_DESC_CTRL1_SW_TRIG_SV_MASK)
91094 
91095 #define SSARC_LP_DESC_CTRL1_SW_TRIG_RT_MASK      (0x2U)
91096 #define SSARC_LP_DESC_CTRL1_SW_TRIG_RT_SHIFT     (1U)
91097 /*! SW_TRIG_RT - Software trigger restore
91098  *  0b1..Request a software restore operation/software restore operation in progress
91099  *  0b0..No software restore request/software restore request complete
91100  */
91101 #define SSARC_LP_DESC_CTRL1_SW_TRIG_RT(x)        (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_SW_TRIG_RT_SHIFT)) & SSARC_LP_DESC_CTRL1_SW_TRIG_RT_MASK)
91102 
91103 #define SSARC_LP_DESC_CTRL1_POWER_DOMAIN_MASK    (0x70U)
91104 #define SSARC_LP_DESC_CTRL1_POWER_DOMAIN_SHIFT   (4U)
91105 /*! POWER_DOMAIN
91106  *  0b000..PGMC_BPC0
91107  *  0b001..PGMC_BPC1
91108  *  0b010..PGMC_BPC2
91109  *  0b011..PGMC_BPC3
91110  *  0b100..PGMC_BPC4
91111  *  0b101..PGMC_BPC5
91112  *  0b110..PGMC_BPC6
91113  *  0b111..PGMC_BPC7
91114  */
91115 #define SSARC_LP_DESC_CTRL1_POWER_DOMAIN(x)      (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_POWER_DOMAIN_SHIFT)) & SSARC_LP_DESC_CTRL1_POWER_DOMAIN_MASK)
91116 
91117 #define SSARC_LP_DESC_CTRL1_GP_EN_MASK           (0x80U)
91118 #define SSARC_LP_DESC_CTRL1_GP_EN_SHIFT          (7U)
91119 /*! GP_EN - Group Enable
91120  *  0b0..Group disabled
91121  *  0b1..Group enabled
91122  */
91123 #define SSARC_LP_DESC_CTRL1_GP_EN(x)             (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_GP_EN_SHIFT)) & SSARC_LP_DESC_CTRL1_GP_EN_MASK)
91124 
91125 #define SSARC_LP_DESC_CTRL1_SV_PRIORITY_MASK     (0xF00U)
91126 #define SSARC_LP_DESC_CTRL1_SV_PRIORITY_SHIFT    (8U)
91127 /*! SV_PRIORITY - Save Priority
91128  */
91129 #define SSARC_LP_DESC_CTRL1_SV_PRIORITY(x)       (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_SV_PRIORITY_SHIFT)) & SSARC_LP_DESC_CTRL1_SV_PRIORITY_MASK)
91130 
91131 #define SSARC_LP_DESC_CTRL1_RT_PRIORITY_MASK     (0xF000U)
91132 #define SSARC_LP_DESC_CTRL1_RT_PRIORITY_SHIFT    (12U)
91133 /*! RT_PRIORITY - Restore Priority
91134  */
91135 #define SSARC_LP_DESC_CTRL1_RT_PRIORITY(x)       (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_RT_PRIORITY_SHIFT)) & SSARC_LP_DESC_CTRL1_RT_PRIORITY_MASK)
91136 
91137 #define SSARC_LP_DESC_CTRL1_CPUD_MASK            (0x30000U)
91138 #define SSARC_LP_DESC_CTRL1_CPUD_SHIFT           (16U)
91139 /*! CPUD - CPU Domain
91140  */
91141 #define SSARC_LP_DESC_CTRL1_CPUD(x)              (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_CPUD_SHIFT)) & SSARC_LP_DESC_CTRL1_CPUD_MASK)
91142 
91143 #define SSARC_LP_DESC_CTRL1_RL_MASK              (0x40000U)
91144 #define SSARC_LP_DESC_CTRL1_RL_SHIFT             (18U)
91145 /*! RL - Read Lock
91146  *  0b1..Group is locked (read access not allowed)
91147  *  0b0..Group is unlocked (read access allowed)
91148  */
91149 #define SSARC_LP_DESC_CTRL1_RL(x)                (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_RL_SHIFT)) & SSARC_LP_DESC_CTRL1_RL_MASK)
91150 
91151 #define SSARC_LP_DESC_CTRL1_WL_MASK              (0x80000U)
91152 #define SSARC_LP_DESC_CTRL1_WL_SHIFT             (19U)
91153 /*! WL - Write Lock
91154  *  0b1..Group is locked (write access not allowed)
91155  *  0b0..Group is unlocked (write access allowed)
91156  */
91157 #define SSARC_LP_DESC_CTRL1_WL(x)                (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_WL_SHIFT)) & SSARC_LP_DESC_CTRL1_WL_MASK)
91158 
91159 #define SSARC_LP_DESC_CTRL1_DL_MASK              (0x100000U)
91160 #define SSARC_LP_DESC_CTRL1_DL_SHIFT             (20U)
91161 /*! DL - Domain lock
91162  *  0b1..Lock
91163  *  0b0..Unlock
91164  */
91165 #define SSARC_LP_DESC_CTRL1_DL(x)                (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_CTRL1_DL_SHIFT)) & SSARC_LP_DESC_CTRL1_DL_MASK)
91166 /*! @} */
91167 
91168 /* The count of SSARC_LP_DESC_CTRL1 */
91169 #define SSARC_LP_DESC_CTRL1_COUNT                (16U)
91170 
91171 /*! @name DESC_ADDR_UP - Descriptor Address Up 0 Register..Descriptor Address Up 15 Register */
91172 /*! @{ */
91173 
91174 #define SSARC_LP_DESC_ADDR_UP_ADDR_UP_MASK       (0xFFFFFFFFU)
91175 #define SSARC_LP_DESC_ADDR_UP_ADDR_UP_SHIFT      (0U)
91176 /*! ADDR_UP - Address field (High)
91177  */
91178 #define SSARC_LP_DESC_ADDR_UP_ADDR_UP(x)         (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_ADDR_UP_ADDR_UP_SHIFT)) & SSARC_LP_DESC_ADDR_UP_ADDR_UP_MASK)
91179 /*! @} */
91180 
91181 /* The count of SSARC_LP_DESC_ADDR_UP */
91182 #define SSARC_LP_DESC_ADDR_UP_COUNT              (16U)
91183 
91184 /*! @name DESC_ADDR_DOWN - Descriptor Address Down 0 Register..Descriptor Address Down 15 Register */
91185 /*! @{ */
91186 
91187 #define SSARC_LP_DESC_ADDR_DOWN_ADDR_DOWN_MASK   (0xFFFFFFFFU)
91188 #define SSARC_LP_DESC_ADDR_DOWN_ADDR_DOWN_SHIFT  (0U)
91189 /*! ADDR_DOWN - Address field (Low)
91190  */
91191 #define SSARC_LP_DESC_ADDR_DOWN_ADDR_DOWN(x)     (((uint32_t)(((uint32_t)(x)) << SSARC_LP_DESC_ADDR_DOWN_ADDR_DOWN_SHIFT)) & SSARC_LP_DESC_ADDR_DOWN_ADDR_DOWN_MASK)
91192 /*! @} */
91193 
91194 /* The count of SSARC_LP_DESC_ADDR_DOWN */
91195 #define SSARC_LP_DESC_ADDR_DOWN_COUNT            (16U)
91196 
91197 /*! @name CTRL - Control Register */
91198 /*! @{ */
91199 
91200 #define SSARC_LP_CTRL_DIS_HW_REQ_MASK            (0x8000000U)
91201 #define SSARC_LP_CTRL_DIS_HW_REQ_SHIFT           (27U)
91202 /*! DIS_HW_REQ - Save/Restore request disable
91203  *  0b0..PGMC save/restore requests enabled
91204  *  0b1..PGMC save/restore requests disabled
91205  */
91206 #define SSARC_LP_CTRL_DIS_HW_REQ(x)              (((uint32_t)(((uint32_t)(x)) << SSARC_LP_CTRL_DIS_HW_REQ_SHIFT)) & SSARC_LP_CTRL_DIS_HW_REQ_MASK)
91207 
91208 #define SSARC_LP_CTRL_SW_RESET_MASK              (0x80000000U)
91209 #define SSARC_LP_CTRL_SW_RESET_SHIFT             (31U)
91210 /*! SW_RESET - Software reset
91211  */
91212 #define SSARC_LP_CTRL_SW_RESET(x)                (((uint32_t)(((uint32_t)(x)) << SSARC_LP_CTRL_SW_RESET_SHIFT)) & SSARC_LP_CTRL_SW_RESET_MASK)
91213 /*! @} */
91214 
91215 /*! @name INT_STATUS - Interrupt Status Register */
91216 /*! @{ */
91217 
91218 #define SSARC_LP_INT_STATUS_ERR_INDEX_MASK       (0x3FFU)
91219 #define SSARC_LP_INT_STATUS_ERR_INDEX_SHIFT      (0U)
91220 /*! ERR_INDEX - Error Index
91221  */
91222 #define SSARC_LP_INT_STATUS_ERR_INDEX(x)         (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_ERR_INDEX_SHIFT)) & SSARC_LP_INT_STATUS_ERR_INDEX_MASK)
91223 
91224 #define SSARC_LP_INT_STATUS_AHB_RESP_MASK        (0xC00U)
91225 #define SSARC_LP_INT_STATUS_AHB_RESP_SHIFT       (10U)
91226 /*! AHB_RESP - AHB Bus response field
91227  */
91228 #define SSARC_LP_INT_STATUS_AHB_RESP(x)          (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_AHB_RESP_SHIFT)) & SSARC_LP_INT_STATUS_AHB_RESP_MASK)
91229 
91230 #define SSARC_LP_INT_STATUS_GROUP_CONFLICT_MASK  (0x8000000U)
91231 #define SSARC_LP_INT_STATUS_GROUP_CONFLICT_SHIFT (27U)
91232 /*! GROUP_CONFLICT - Group Conflict field
91233  *  0b1..A group conflict error has occurred
91234  *  0b0..No group conflict error
91235  */
91236 #define SSARC_LP_INT_STATUS_GROUP_CONFLICT(x)    (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_GROUP_CONFLICT_SHIFT)) & SSARC_LP_INT_STATUS_GROUP_CONFLICT_MASK)
91237 
91238 #define SSARC_LP_INT_STATUS_TIMEOUT_MASK         (0x10000000U)
91239 #define SSARC_LP_INT_STATUS_TIMEOUT_SHIFT        (28U)
91240 /*! TIMEOUT - Timeout field
91241  *  0b1..A timeout event has occurred
91242  *  0b0..No timeout event
91243  */
91244 #define SSARC_LP_INT_STATUS_TIMEOUT(x)           (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_TIMEOUT_SHIFT)) & SSARC_LP_INT_STATUS_TIMEOUT_MASK)
91245 
91246 #define SSARC_LP_INT_STATUS_SW_REQ_DONE_MASK     (0x20000000U)
91247 #define SSARC_LP_INT_STATUS_SW_REQ_DONE_SHIFT    (29U)
91248 /*! SW_REQ_DONE - Software Request Done
91249  *  0b1..Atleast one software triggered has been complete
91250  *  0b0..No software triggered requests or software triggered request still in progress
91251  */
91252 #define SSARC_LP_INT_STATUS_SW_REQ_DONE(x)       (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_SW_REQ_DONE_SHIFT)) & SSARC_LP_INT_STATUS_SW_REQ_DONE_MASK)
91253 
91254 #define SSARC_LP_INT_STATUS_AHB_ERR_MASK         (0x40000000U)
91255 #define SSARC_LP_INT_STATUS_AHB_ERR_SHIFT        (30U)
91256 /*! AHB_ERR - AHB Error field
91257  *  0b1..An AHB error has occurred
91258  *  0b0..No AHB error
91259  */
91260 #define SSARC_LP_INT_STATUS_AHB_ERR(x)           (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_AHB_ERR_SHIFT)) & SSARC_LP_INT_STATUS_AHB_ERR_MASK)
91261 
91262 #define SSARC_LP_INT_STATUS_ADDR_ERR_MASK        (0x80000000U)
91263 #define SSARC_LP_INT_STATUS_ADDR_ERR_SHIFT       (31U)
91264 /*! ADDR_ERR - Address Error field
91265  *  0b1..An address error has occurred
91266  *  0b0..No address error
91267  */
91268 #define SSARC_LP_INT_STATUS_ADDR_ERR(x)          (((uint32_t)(((uint32_t)(x)) << SSARC_LP_INT_STATUS_ADDR_ERR_SHIFT)) & SSARC_LP_INT_STATUS_ADDR_ERR_MASK)
91269 /*! @} */
91270 
91271 /*! @name HP_TIMEOUT - HP Timeout Register */
91272 /*! @{ */
91273 
91274 #define SSARC_LP_HP_TIMEOUT_TIMEOUT_VALUE_MASK   (0xFFFFFFFFU)
91275 #define SSARC_LP_HP_TIMEOUT_TIMEOUT_VALUE_SHIFT  (0U)
91276 /*! TIMEOUT_VALUE - Time out value
91277  */
91278 #define SSARC_LP_HP_TIMEOUT_TIMEOUT_VALUE(x)     (((uint32_t)(((uint32_t)(x)) << SSARC_LP_HP_TIMEOUT_TIMEOUT_VALUE_SHIFT)) & SSARC_LP_HP_TIMEOUT_TIMEOUT_VALUE_MASK)
91279 /*! @} */
91280 
91281 /*! @name HW_GROUP_PENDING - Hardware Request Pending Register */
91282 /*! @{ */
91283 
91284 #define SSARC_LP_HW_GROUP_PENDING_HW_SAVE_PENDING_MASK (0xFFFFU)
91285 #define SSARC_LP_HW_GROUP_PENDING_HW_SAVE_PENDING_SHIFT (0U)
91286 /*! HW_SAVE_PENDING - This field indicates which groups are pending for save from hardware request
91287  */
91288 #define SSARC_LP_HW_GROUP_PENDING_HW_SAVE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << SSARC_LP_HW_GROUP_PENDING_HW_SAVE_PENDING_SHIFT)) & SSARC_LP_HW_GROUP_PENDING_HW_SAVE_PENDING_MASK)
91289 
91290 #define SSARC_LP_HW_GROUP_PENDING_HW_RESTORE_PENDING_MASK (0xFFFF0000U)
91291 #define SSARC_LP_HW_GROUP_PENDING_HW_RESTORE_PENDING_SHIFT (16U)
91292 /*! HW_RESTORE_PENDING - This field indicates which groups are pending for restore from hardware request
91293  */
91294 #define SSARC_LP_HW_GROUP_PENDING_HW_RESTORE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << SSARC_LP_HW_GROUP_PENDING_HW_RESTORE_PENDING_SHIFT)) & SSARC_LP_HW_GROUP_PENDING_HW_RESTORE_PENDING_MASK)
91295 /*! @} */
91296 
91297 /*! @name SW_GROUP_PENDING - Software Request Pending Register */
91298 /*! @{ */
91299 
91300 #define SSARC_LP_SW_GROUP_PENDING_SW_SAVE_PENDING_MASK (0xFFFFU)
91301 #define SSARC_LP_SW_GROUP_PENDING_SW_SAVE_PENDING_SHIFT (0U)
91302 /*! SW_SAVE_PENDING - This field indicates which groups are pending for save from software request
91303  */
91304 #define SSARC_LP_SW_GROUP_PENDING_SW_SAVE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << SSARC_LP_SW_GROUP_PENDING_SW_SAVE_PENDING_SHIFT)) & SSARC_LP_SW_GROUP_PENDING_SW_SAVE_PENDING_MASK)
91305 
91306 #define SSARC_LP_SW_GROUP_PENDING_SW_RESTORE_PENDING_MASK (0xFFFF0000U)
91307 #define SSARC_LP_SW_GROUP_PENDING_SW_RESTORE_PENDING_SHIFT (16U)
91308 /*! SW_RESTORE_PENDING - This field indicates which groups are pending for restore from software request
91309  */
91310 #define SSARC_LP_SW_GROUP_PENDING_SW_RESTORE_PENDING(x) (((uint32_t)(((uint32_t)(x)) << SSARC_LP_SW_GROUP_PENDING_SW_RESTORE_PENDING_SHIFT)) & SSARC_LP_SW_GROUP_PENDING_SW_RESTORE_PENDING_MASK)
91311 /*! @} */
91312 
91313 
91314 /*!
91315  * @}
91316  */ /* end of group SSARC_LP_Register_Masks */
91317 
91318 
91319 /* SSARC_LP - Peripheral instance base addresses */
91320 /** Peripheral SSARC_LP base address */
91321 #define SSARC_LP_BASE                            (0x40CB8000u)
91322 /** Peripheral SSARC_LP base pointer */
91323 #define SSARC_LP                                 ((SSARC_LP_Type *)SSARC_LP_BASE)
91324 /** Array initializer of SSARC_LP peripheral base addresses */
91325 #define SSARC_LP_BASE_ADDRS                      { SSARC_LP_BASE }
91326 /** Array initializer of SSARC_LP peripheral base pointers */
91327 #define SSARC_LP_BASE_PTRS                       { SSARC_LP }
91328 
91329 /*!
91330  * @}
91331  */ /* end of group SSARC_LP_Peripheral_Access_Layer */
91332 
91333 
91334 /* ----------------------------------------------------------------------------
91335    -- TMPSNS Peripheral Access Layer
91336    ---------------------------------------------------------------------------- */
91337 
91338 /*!
91339  * @addtogroup TMPSNS_Peripheral_Access_Layer TMPSNS Peripheral Access Layer
91340  * @{
91341  */
91342 
91343 /** TMPSNS - Register Layout Typedef */
91344 typedef struct {
91345   __IO uint32_t CTRL0;                             /**< Temperature Sensor Control Register 0, offset: 0x0 */
91346   __IO uint32_t CTRL0_SET;                         /**< Temperature Sensor Control Register 0, offset: 0x4 */
91347   __IO uint32_t CTRL0_CLR;                         /**< Temperature Sensor Control Register 0, offset: 0x8 */
91348   __IO uint32_t CTRL0_TOG;                         /**< Temperature Sensor Control Register 0, offset: 0xC */
91349   __IO uint32_t CTRL1;                             /**< Temperature Sensor Control Register 1, offset: 0x10 */
91350   __IO uint32_t CTRL1_SET;                         /**< Temperature Sensor Control Register 1, offset: 0x14 */
91351   __IO uint32_t CTRL1_CLR;                         /**< Temperature Sensor Control Register 1, offset: 0x18 */
91352   __IO uint32_t CTRL1_TOG;                         /**< Temperature Sensor Control Register 1, offset: 0x1C */
91353   __IO uint32_t RANGE0;                            /**< Temperature Sensor Range Register 0, offset: 0x20 */
91354   __IO uint32_t RANGE0_SET;                        /**< Temperature Sensor Range Register 0, offset: 0x24 */
91355   __IO uint32_t RANGE0_CLR;                        /**< Temperature Sensor Range Register 0, offset: 0x28 */
91356   __IO uint32_t RANGE0_TOG;                        /**< Temperature Sensor Range Register 0, offset: 0x2C */
91357   __IO uint32_t RANGE1;                            /**< Temperature Sensor Range Register 1, offset: 0x30 */
91358   __IO uint32_t RANGE1_SET;                        /**< Temperature Sensor Range Register 1, offset: 0x34 */
91359   __IO uint32_t RANGE1_CLR;                        /**< Temperature Sensor Range Register 1, offset: 0x38 */
91360   __IO uint32_t RANGE1_TOG;                        /**< Temperature Sensor Range Register 1, offset: 0x3C */
91361        uint8_t RESERVED_0[16];
91362   __IO uint32_t STATUS0;                           /**< Temperature Sensor Status Register 0, offset: 0x50 */
91363 } TMPSNS_Type;
91364 
91365 /* ----------------------------------------------------------------------------
91366    -- TMPSNS Register Masks
91367    ---------------------------------------------------------------------------- */
91368 
91369 /*!
91370  * @addtogroup TMPSNS_Register_Masks TMPSNS Register Masks
91371  * @{
91372  */
91373 
91374 /*! @name CTRL0 - Temperature Sensor Control Register 0 */
91375 /*! @{ */
91376 
91377 #define TMPSNS_CTRL0_SLOPE_CAL_MASK              (0x3FU)
91378 #define TMPSNS_CTRL0_SLOPE_CAL_SHIFT             (0U)
91379 /*! SLOPE_CAL - Ramp slope calibration control
91380  */
91381 #define TMPSNS_CTRL0_SLOPE_CAL(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_SLOPE_CAL_SHIFT)) & TMPSNS_CTRL0_SLOPE_CAL_MASK)
91382 
91383 #define TMPSNS_CTRL0_V_SEL_MASK                  (0x300U)
91384 #define TMPSNS_CTRL0_V_SEL_SHIFT                 (8U)
91385 /*! V_SEL - Voltage Select
91386  *  0b00..Normal temperature measuring mode
91387  *  0b01-0b10..Reserved
91388  */
91389 #define TMPSNS_CTRL0_V_SEL(x)                    (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_V_SEL_SHIFT)) & TMPSNS_CTRL0_V_SEL_MASK)
91390 
91391 #define TMPSNS_CTRL0_IBIAS_TRIM_MASK             (0xF000U)
91392 #define TMPSNS_CTRL0_IBIAS_TRIM_SHIFT            (12U)
91393 /*! IBIAS_TRIM - Current bias trim value
91394  */
91395 #define TMPSNS_CTRL0_IBIAS_TRIM(x)               (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_IBIAS_TRIM_SHIFT)) & TMPSNS_CTRL0_IBIAS_TRIM_MASK)
91396 /*! @} */
91397 
91398 /*! @name CTRL0_SET - Temperature Sensor Control Register 0 */
91399 /*! @{ */
91400 
91401 #define TMPSNS_CTRL0_SET_SLOPE_CAL_MASK          (0x3FU)
91402 #define TMPSNS_CTRL0_SET_SLOPE_CAL_SHIFT         (0U)
91403 /*! SLOPE_CAL - Ramp slope calibration control
91404  */
91405 #define TMPSNS_CTRL0_SET_SLOPE_CAL(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_SET_SLOPE_CAL_SHIFT)) & TMPSNS_CTRL0_SET_SLOPE_CAL_MASK)
91406 
91407 #define TMPSNS_CTRL0_SET_V_SEL_MASK              (0x300U)
91408 #define TMPSNS_CTRL0_SET_V_SEL_SHIFT             (8U)
91409 /*! V_SEL - Voltage Select
91410  */
91411 #define TMPSNS_CTRL0_SET_V_SEL(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_SET_V_SEL_SHIFT)) & TMPSNS_CTRL0_SET_V_SEL_MASK)
91412 
91413 #define TMPSNS_CTRL0_SET_IBIAS_TRIM_MASK         (0xF000U)
91414 #define TMPSNS_CTRL0_SET_IBIAS_TRIM_SHIFT        (12U)
91415 /*! IBIAS_TRIM - Current bias trim value
91416  */
91417 #define TMPSNS_CTRL0_SET_IBIAS_TRIM(x)           (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_SET_IBIAS_TRIM_SHIFT)) & TMPSNS_CTRL0_SET_IBIAS_TRIM_MASK)
91418 /*! @} */
91419 
91420 /*! @name CTRL0_CLR - Temperature Sensor Control Register 0 */
91421 /*! @{ */
91422 
91423 #define TMPSNS_CTRL0_CLR_SLOPE_CAL_MASK          (0x3FU)
91424 #define TMPSNS_CTRL0_CLR_SLOPE_CAL_SHIFT         (0U)
91425 /*! SLOPE_CAL - Ramp slope calibration control
91426  */
91427 #define TMPSNS_CTRL0_CLR_SLOPE_CAL(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_CLR_SLOPE_CAL_SHIFT)) & TMPSNS_CTRL0_CLR_SLOPE_CAL_MASK)
91428 
91429 #define TMPSNS_CTRL0_CLR_V_SEL_MASK              (0x300U)
91430 #define TMPSNS_CTRL0_CLR_V_SEL_SHIFT             (8U)
91431 /*! V_SEL - Voltage Select
91432  */
91433 #define TMPSNS_CTRL0_CLR_V_SEL(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_CLR_V_SEL_SHIFT)) & TMPSNS_CTRL0_CLR_V_SEL_MASK)
91434 
91435 #define TMPSNS_CTRL0_CLR_IBIAS_TRIM_MASK         (0xF000U)
91436 #define TMPSNS_CTRL0_CLR_IBIAS_TRIM_SHIFT        (12U)
91437 /*! IBIAS_TRIM - Current bias trim value
91438  */
91439 #define TMPSNS_CTRL0_CLR_IBIAS_TRIM(x)           (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_CLR_IBIAS_TRIM_SHIFT)) & TMPSNS_CTRL0_CLR_IBIAS_TRIM_MASK)
91440 /*! @} */
91441 
91442 /*! @name CTRL0_TOG - Temperature Sensor Control Register 0 */
91443 /*! @{ */
91444 
91445 #define TMPSNS_CTRL0_TOG_SLOPE_CAL_MASK          (0x3FU)
91446 #define TMPSNS_CTRL0_TOG_SLOPE_CAL_SHIFT         (0U)
91447 /*! SLOPE_CAL - Ramp slope calibration control
91448  */
91449 #define TMPSNS_CTRL0_TOG_SLOPE_CAL(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_TOG_SLOPE_CAL_SHIFT)) & TMPSNS_CTRL0_TOG_SLOPE_CAL_MASK)
91450 
91451 #define TMPSNS_CTRL0_TOG_V_SEL_MASK              (0x300U)
91452 #define TMPSNS_CTRL0_TOG_V_SEL_SHIFT             (8U)
91453 /*! V_SEL - Voltage Select
91454  */
91455 #define TMPSNS_CTRL0_TOG_V_SEL(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_TOG_V_SEL_SHIFT)) & TMPSNS_CTRL0_TOG_V_SEL_MASK)
91456 
91457 #define TMPSNS_CTRL0_TOG_IBIAS_TRIM_MASK         (0xF000U)
91458 #define TMPSNS_CTRL0_TOG_IBIAS_TRIM_SHIFT        (12U)
91459 /*! IBIAS_TRIM - Current bias trim value
91460  */
91461 #define TMPSNS_CTRL0_TOG_IBIAS_TRIM(x)           (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL0_TOG_IBIAS_TRIM_SHIFT)) & TMPSNS_CTRL0_TOG_IBIAS_TRIM_MASK)
91462 /*! @} */
91463 
91464 /*! @name CTRL1 - Temperature Sensor Control Register 1 */
91465 /*! @{ */
91466 
91467 #define TMPSNS_CTRL1_FREQ_MASK                   (0xFFFFU)
91468 #define TMPSNS_CTRL1_FREQ_SHIFT                  (0U)
91469 /*! FREQ - Temperature Measurement Frequency
91470  *  0b0000000000000000..Single Reading Mode. New reading available every time CTRL1[START] bit is set to 1 from 0.
91471  *  0b0000000000000001-0b1111111111111111..Continuous Reading Mode. Next temperature reading taken after programmed number of cycles after current reading is complete.
91472  */
91473 #define TMPSNS_CTRL1_FREQ(x)                     (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_FREQ_SHIFT)) & TMPSNS_CTRL1_FREQ_MASK)
91474 
91475 #define TMPSNS_CTRL1_FINISH_IE_MASK              (0x10000U)
91476 #define TMPSNS_CTRL1_FINISH_IE_SHIFT             (16U)
91477 /*! FINISH_IE - Measurement finished interrupt enable
91478  *  0b0..Interrupt is disabled
91479  *  0b1..Interrupt is enabled
91480  */
91481 #define TMPSNS_CTRL1_FINISH_IE(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_FINISH_IE_SHIFT)) & TMPSNS_CTRL1_FINISH_IE_MASK)
91482 
91483 #define TMPSNS_CTRL1_LOW_TEMP_IE_MASK            (0x20000U)
91484 #define TMPSNS_CTRL1_LOW_TEMP_IE_SHIFT           (17U)
91485 /*! LOW_TEMP_IE - Low temperature interrupt enable
91486  *  0b0..Interrupt is disabled
91487  *  0b1..Interrupt is enabled
91488  */
91489 #define TMPSNS_CTRL1_LOW_TEMP_IE(x)              (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_LOW_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_LOW_TEMP_IE_MASK)
91490 
91491 #define TMPSNS_CTRL1_HIGH_TEMP_IE_MASK           (0x40000U)
91492 #define TMPSNS_CTRL1_HIGH_TEMP_IE_SHIFT          (18U)
91493 /*! HIGH_TEMP_IE - High temperature interrupt enable
91494  *  0b0..Interrupt is disabled
91495  *  0b1..Interrupt is enabled
91496  */
91497 #define TMPSNS_CTRL1_HIGH_TEMP_IE(x)             (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_HIGH_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_HIGH_TEMP_IE_MASK)
91498 
91499 #define TMPSNS_CTRL1_PANIC_TEMP_IE_MASK          (0x80000U)
91500 #define TMPSNS_CTRL1_PANIC_TEMP_IE_SHIFT         (19U)
91501 /*! PANIC_TEMP_IE - Panic temperature interrupt enable
91502  *  0b0..Interrupt is disabled
91503  *  0b1..Interrupt is enabled
91504  */
91505 #define TMPSNS_CTRL1_PANIC_TEMP_IE(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_PANIC_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_PANIC_TEMP_IE_MASK)
91506 
91507 #define TMPSNS_CTRL1_START_MASK                  (0x400000U)
91508 #define TMPSNS_CTRL1_START_SHIFT                 (22U)
91509 /*! START - Start Temperature Measurement
91510  *  0b0..No new temperature reading taken
91511  *  0b1..Initiate a new temperature reading
91512  */
91513 #define TMPSNS_CTRL1_START(x)                    (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_START_SHIFT)) & TMPSNS_CTRL1_START_MASK)
91514 
91515 #define TMPSNS_CTRL1_PWD_MASK                    (0x800000U)
91516 #define TMPSNS_CTRL1_PWD_SHIFT                   (23U)
91517 /*! PWD - Temperature Sensor Power Down
91518  *  0b0..Sensor is active
91519  *  0b1..Sensor is powered down
91520  */
91521 #define TMPSNS_CTRL1_PWD(x)                      (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_PWD_SHIFT)) & TMPSNS_CTRL1_PWD_MASK)
91522 
91523 #define TMPSNS_CTRL1_RFU_MASK                    (0x7F000000U)
91524 #define TMPSNS_CTRL1_RFU_SHIFT                   (24U)
91525 /*! RFU - Read/Writeable field. Reserved for future use
91526  */
91527 #define TMPSNS_CTRL1_RFU(x)                      (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_RFU_SHIFT)) & TMPSNS_CTRL1_RFU_MASK)
91528 
91529 #define TMPSNS_CTRL1_PWD_FULL_MASK               (0x80000000U)
91530 #define TMPSNS_CTRL1_PWD_FULL_SHIFT              (31U)
91531 /*! PWD_FULL - Temperature Sensor Full Power Down
91532  *  0b0..Sensor is active
91533  *  0b1..Sensor is powered down
91534  */
91535 #define TMPSNS_CTRL1_PWD_FULL(x)                 (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_PWD_FULL_SHIFT)) & TMPSNS_CTRL1_PWD_FULL_MASK)
91536 /*! @} */
91537 
91538 /*! @name CTRL1_SET - Temperature Sensor Control Register 1 */
91539 /*! @{ */
91540 
91541 #define TMPSNS_CTRL1_SET_FREQ_MASK               (0xFFFFU)
91542 #define TMPSNS_CTRL1_SET_FREQ_SHIFT              (0U)
91543 /*! FREQ - Temperature Measurement Frequency
91544  */
91545 #define TMPSNS_CTRL1_SET_FREQ(x)                 (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_FREQ_SHIFT)) & TMPSNS_CTRL1_SET_FREQ_MASK)
91546 
91547 #define TMPSNS_CTRL1_SET_FINISH_IE_MASK          (0x10000U)
91548 #define TMPSNS_CTRL1_SET_FINISH_IE_SHIFT         (16U)
91549 /*! FINISH_IE - Measurement finished interrupt enable
91550  */
91551 #define TMPSNS_CTRL1_SET_FINISH_IE(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_FINISH_IE_SHIFT)) & TMPSNS_CTRL1_SET_FINISH_IE_MASK)
91552 
91553 #define TMPSNS_CTRL1_SET_LOW_TEMP_IE_MASK        (0x20000U)
91554 #define TMPSNS_CTRL1_SET_LOW_TEMP_IE_SHIFT       (17U)
91555 /*! LOW_TEMP_IE - Low temperature interrupt enable
91556  */
91557 #define TMPSNS_CTRL1_SET_LOW_TEMP_IE(x)          (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_LOW_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_SET_LOW_TEMP_IE_MASK)
91558 
91559 #define TMPSNS_CTRL1_SET_HIGH_TEMP_IE_MASK       (0x40000U)
91560 #define TMPSNS_CTRL1_SET_HIGH_TEMP_IE_SHIFT      (18U)
91561 /*! HIGH_TEMP_IE - High temperature interrupt enable
91562  */
91563 #define TMPSNS_CTRL1_SET_HIGH_TEMP_IE(x)         (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_HIGH_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_SET_HIGH_TEMP_IE_MASK)
91564 
91565 #define TMPSNS_CTRL1_SET_PANIC_TEMP_IE_MASK      (0x80000U)
91566 #define TMPSNS_CTRL1_SET_PANIC_TEMP_IE_SHIFT     (19U)
91567 /*! PANIC_TEMP_IE - Panic temperature interrupt enable
91568  */
91569 #define TMPSNS_CTRL1_SET_PANIC_TEMP_IE(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_PANIC_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_SET_PANIC_TEMP_IE_MASK)
91570 
91571 #define TMPSNS_CTRL1_SET_START_MASK              (0x400000U)
91572 #define TMPSNS_CTRL1_SET_START_SHIFT             (22U)
91573 /*! START - Start Temperature Measurement
91574  */
91575 #define TMPSNS_CTRL1_SET_START(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_START_SHIFT)) & TMPSNS_CTRL1_SET_START_MASK)
91576 
91577 #define TMPSNS_CTRL1_SET_PWD_MASK                (0x800000U)
91578 #define TMPSNS_CTRL1_SET_PWD_SHIFT               (23U)
91579 /*! PWD - Temperature Sensor Power Down
91580  */
91581 #define TMPSNS_CTRL1_SET_PWD(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_PWD_SHIFT)) & TMPSNS_CTRL1_SET_PWD_MASK)
91582 
91583 #define TMPSNS_CTRL1_SET_RFU_MASK                (0x7F000000U)
91584 #define TMPSNS_CTRL1_SET_RFU_SHIFT               (24U)
91585 /*! RFU - Read/Writeable field. Reserved for future use
91586  */
91587 #define TMPSNS_CTRL1_SET_RFU(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_RFU_SHIFT)) & TMPSNS_CTRL1_SET_RFU_MASK)
91588 
91589 #define TMPSNS_CTRL1_SET_PWD_FULL_MASK           (0x80000000U)
91590 #define TMPSNS_CTRL1_SET_PWD_FULL_SHIFT          (31U)
91591 /*! PWD_FULL - Temperature Sensor Full Power Down
91592  */
91593 #define TMPSNS_CTRL1_SET_PWD_FULL(x)             (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_SET_PWD_FULL_SHIFT)) & TMPSNS_CTRL1_SET_PWD_FULL_MASK)
91594 /*! @} */
91595 
91596 /*! @name CTRL1_CLR - Temperature Sensor Control Register 1 */
91597 /*! @{ */
91598 
91599 #define TMPSNS_CTRL1_CLR_FREQ_MASK               (0xFFFFU)
91600 #define TMPSNS_CTRL1_CLR_FREQ_SHIFT              (0U)
91601 /*! FREQ - Temperature Measurement Frequency
91602  */
91603 #define TMPSNS_CTRL1_CLR_FREQ(x)                 (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_FREQ_SHIFT)) & TMPSNS_CTRL1_CLR_FREQ_MASK)
91604 
91605 #define TMPSNS_CTRL1_CLR_FINISH_IE_MASK          (0x10000U)
91606 #define TMPSNS_CTRL1_CLR_FINISH_IE_SHIFT         (16U)
91607 /*! FINISH_IE - Measurement finished interrupt enable
91608  */
91609 #define TMPSNS_CTRL1_CLR_FINISH_IE(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_FINISH_IE_SHIFT)) & TMPSNS_CTRL1_CLR_FINISH_IE_MASK)
91610 
91611 #define TMPSNS_CTRL1_CLR_LOW_TEMP_IE_MASK        (0x20000U)
91612 #define TMPSNS_CTRL1_CLR_LOW_TEMP_IE_SHIFT       (17U)
91613 /*! LOW_TEMP_IE - Low temperature interrupt enable
91614  */
91615 #define TMPSNS_CTRL1_CLR_LOW_TEMP_IE(x)          (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_LOW_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_CLR_LOW_TEMP_IE_MASK)
91616 
91617 #define TMPSNS_CTRL1_CLR_HIGH_TEMP_IE_MASK       (0x40000U)
91618 #define TMPSNS_CTRL1_CLR_HIGH_TEMP_IE_SHIFT      (18U)
91619 /*! HIGH_TEMP_IE - High temperature interrupt enable
91620  */
91621 #define TMPSNS_CTRL1_CLR_HIGH_TEMP_IE(x)         (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_HIGH_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_CLR_HIGH_TEMP_IE_MASK)
91622 
91623 #define TMPSNS_CTRL1_CLR_PANIC_TEMP_IE_MASK      (0x80000U)
91624 #define TMPSNS_CTRL1_CLR_PANIC_TEMP_IE_SHIFT     (19U)
91625 /*! PANIC_TEMP_IE - Panic temperature interrupt enable
91626  */
91627 #define TMPSNS_CTRL1_CLR_PANIC_TEMP_IE(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_PANIC_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_CLR_PANIC_TEMP_IE_MASK)
91628 
91629 #define TMPSNS_CTRL1_CLR_START_MASK              (0x400000U)
91630 #define TMPSNS_CTRL1_CLR_START_SHIFT             (22U)
91631 /*! START - Start Temperature Measurement
91632  */
91633 #define TMPSNS_CTRL1_CLR_START(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_START_SHIFT)) & TMPSNS_CTRL1_CLR_START_MASK)
91634 
91635 #define TMPSNS_CTRL1_CLR_PWD_MASK                (0x800000U)
91636 #define TMPSNS_CTRL1_CLR_PWD_SHIFT               (23U)
91637 /*! PWD - Temperature Sensor Power Down
91638  */
91639 #define TMPSNS_CTRL1_CLR_PWD(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_PWD_SHIFT)) & TMPSNS_CTRL1_CLR_PWD_MASK)
91640 
91641 #define TMPSNS_CTRL1_CLR_RFU_MASK                (0x7F000000U)
91642 #define TMPSNS_CTRL1_CLR_RFU_SHIFT               (24U)
91643 /*! RFU - Read/Writeable field. Reserved for future use
91644  */
91645 #define TMPSNS_CTRL1_CLR_RFU(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_RFU_SHIFT)) & TMPSNS_CTRL1_CLR_RFU_MASK)
91646 
91647 #define TMPSNS_CTRL1_CLR_PWD_FULL_MASK           (0x80000000U)
91648 #define TMPSNS_CTRL1_CLR_PWD_FULL_SHIFT          (31U)
91649 /*! PWD_FULL - Temperature Sensor Full Power Down
91650  */
91651 #define TMPSNS_CTRL1_CLR_PWD_FULL(x)             (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_CLR_PWD_FULL_SHIFT)) & TMPSNS_CTRL1_CLR_PWD_FULL_MASK)
91652 /*! @} */
91653 
91654 /*! @name CTRL1_TOG - Temperature Sensor Control Register 1 */
91655 /*! @{ */
91656 
91657 #define TMPSNS_CTRL1_TOG_FREQ_MASK               (0xFFFFU)
91658 #define TMPSNS_CTRL1_TOG_FREQ_SHIFT              (0U)
91659 /*! FREQ - Temperature Measurement Frequency
91660  */
91661 #define TMPSNS_CTRL1_TOG_FREQ(x)                 (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_FREQ_SHIFT)) & TMPSNS_CTRL1_TOG_FREQ_MASK)
91662 
91663 #define TMPSNS_CTRL1_TOG_FINISH_IE_MASK          (0x10000U)
91664 #define TMPSNS_CTRL1_TOG_FINISH_IE_SHIFT         (16U)
91665 /*! FINISH_IE - Measurement finished interrupt enable
91666  */
91667 #define TMPSNS_CTRL1_TOG_FINISH_IE(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_FINISH_IE_SHIFT)) & TMPSNS_CTRL1_TOG_FINISH_IE_MASK)
91668 
91669 #define TMPSNS_CTRL1_TOG_LOW_TEMP_IE_MASK        (0x20000U)
91670 #define TMPSNS_CTRL1_TOG_LOW_TEMP_IE_SHIFT       (17U)
91671 /*! LOW_TEMP_IE - Low temperature interrupt enable
91672  */
91673 #define TMPSNS_CTRL1_TOG_LOW_TEMP_IE(x)          (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_LOW_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_TOG_LOW_TEMP_IE_MASK)
91674 
91675 #define TMPSNS_CTRL1_TOG_HIGH_TEMP_IE_MASK       (0x40000U)
91676 #define TMPSNS_CTRL1_TOG_HIGH_TEMP_IE_SHIFT      (18U)
91677 /*! HIGH_TEMP_IE - High temperature interrupt enable
91678  */
91679 #define TMPSNS_CTRL1_TOG_HIGH_TEMP_IE(x)         (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_HIGH_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_TOG_HIGH_TEMP_IE_MASK)
91680 
91681 #define TMPSNS_CTRL1_TOG_PANIC_TEMP_IE_MASK      (0x80000U)
91682 #define TMPSNS_CTRL1_TOG_PANIC_TEMP_IE_SHIFT     (19U)
91683 /*! PANIC_TEMP_IE - Panic temperature interrupt enable
91684  */
91685 #define TMPSNS_CTRL1_TOG_PANIC_TEMP_IE(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_PANIC_TEMP_IE_SHIFT)) & TMPSNS_CTRL1_TOG_PANIC_TEMP_IE_MASK)
91686 
91687 #define TMPSNS_CTRL1_TOG_START_MASK              (0x400000U)
91688 #define TMPSNS_CTRL1_TOG_START_SHIFT             (22U)
91689 /*! START - Start Temperature Measurement
91690  */
91691 #define TMPSNS_CTRL1_TOG_START(x)                (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_START_SHIFT)) & TMPSNS_CTRL1_TOG_START_MASK)
91692 
91693 #define TMPSNS_CTRL1_TOG_PWD_MASK                (0x800000U)
91694 #define TMPSNS_CTRL1_TOG_PWD_SHIFT               (23U)
91695 /*! PWD - Temperature Sensor Power Down
91696  */
91697 #define TMPSNS_CTRL1_TOG_PWD(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_PWD_SHIFT)) & TMPSNS_CTRL1_TOG_PWD_MASK)
91698 
91699 #define TMPSNS_CTRL1_TOG_RFU_MASK                (0x7F000000U)
91700 #define TMPSNS_CTRL1_TOG_RFU_SHIFT               (24U)
91701 /*! RFU - Read/Writeable field. Reserved for future use
91702  */
91703 #define TMPSNS_CTRL1_TOG_RFU(x)                  (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_RFU_SHIFT)) & TMPSNS_CTRL1_TOG_RFU_MASK)
91704 
91705 #define TMPSNS_CTRL1_TOG_PWD_FULL_MASK           (0x80000000U)
91706 #define TMPSNS_CTRL1_TOG_PWD_FULL_SHIFT          (31U)
91707 /*! PWD_FULL - Temperature Sensor Full Power Down
91708  */
91709 #define TMPSNS_CTRL1_TOG_PWD_FULL(x)             (((uint32_t)(((uint32_t)(x)) << TMPSNS_CTRL1_TOG_PWD_FULL_SHIFT)) & TMPSNS_CTRL1_TOG_PWD_FULL_MASK)
91710 /*! @} */
91711 
91712 /*! @name RANGE0 - Temperature Sensor Range Register 0 */
91713 /*! @{ */
91714 
91715 #define TMPSNS_RANGE0_LOW_TEMP_VAL_MASK          (0xFFFU)
91716 #define TMPSNS_RANGE0_LOW_TEMP_VAL_SHIFT         (0U)
91717 /*! LOW_TEMP_VAL - Low temperature threshold value
91718  */
91719 #define TMPSNS_RANGE0_LOW_TEMP_VAL(x)            (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_LOW_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_LOW_TEMP_VAL_MASK)
91720 
91721 #define TMPSNS_RANGE0_HIGH_TEMP_VAL_MASK         (0xFFF0000U)
91722 #define TMPSNS_RANGE0_HIGH_TEMP_VAL_SHIFT        (16U)
91723 /*! HIGH_TEMP_VAL - High temperature threshold value
91724  */
91725 #define TMPSNS_RANGE0_HIGH_TEMP_VAL(x)           (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_HIGH_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_HIGH_TEMP_VAL_MASK)
91726 /*! @} */
91727 
91728 /*! @name RANGE0_SET - Temperature Sensor Range Register 0 */
91729 /*! @{ */
91730 
91731 #define TMPSNS_RANGE0_SET_LOW_TEMP_VAL_MASK      (0xFFFU)
91732 #define TMPSNS_RANGE0_SET_LOW_TEMP_VAL_SHIFT     (0U)
91733 /*! LOW_TEMP_VAL - Low temperature threshold value
91734  */
91735 #define TMPSNS_RANGE0_SET_LOW_TEMP_VAL(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_SET_LOW_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_SET_LOW_TEMP_VAL_MASK)
91736 
91737 #define TMPSNS_RANGE0_SET_HIGH_TEMP_VAL_MASK     (0xFFF0000U)
91738 #define TMPSNS_RANGE0_SET_HIGH_TEMP_VAL_SHIFT    (16U)
91739 /*! HIGH_TEMP_VAL - High temperature threshold value
91740  */
91741 #define TMPSNS_RANGE0_SET_HIGH_TEMP_VAL(x)       (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_SET_HIGH_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_SET_HIGH_TEMP_VAL_MASK)
91742 /*! @} */
91743 
91744 /*! @name RANGE0_CLR - Temperature Sensor Range Register 0 */
91745 /*! @{ */
91746 
91747 #define TMPSNS_RANGE0_CLR_LOW_TEMP_VAL_MASK      (0xFFFU)
91748 #define TMPSNS_RANGE0_CLR_LOW_TEMP_VAL_SHIFT     (0U)
91749 /*! LOW_TEMP_VAL - Low temperature threshold value
91750  */
91751 #define TMPSNS_RANGE0_CLR_LOW_TEMP_VAL(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_CLR_LOW_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_CLR_LOW_TEMP_VAL_MASK)
91752 
91753 #define TMPSNS_RANGE0_CLR_HIGH_TEMP_VAL_MASK     (0xFFF0000U)
91754 #define TMPSNS_RANGE0_CLR_HIGH_TEMP_VAL_SHIFT    (16U)
91755 /*! HIGH_TEMP_VAL - High temperature threshold value
91756  */
91757 #define TMPSNS_RANGE0_CLR_HIGH_TEMP_VAL(x)       (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_CLR_HIGH_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_CLR_HIGH_TEMP_VAL_MASK)
91758 /*! @} */
91759 
91760 /*! @name RANGE0_TOG - Temperature Sensor Range Register 0 */
91761 /*! @{ */
91762 
91763 #define TMPSNS_RANGE0_TOG_LOW_TEMP_VAL_MASK      (0xFFFU)
91764 #define TMPSNS_RANGE0_TOG_LOW_TEMP_VAL_SHIFT     (0U)
91765 /*! LOW_TEMP_VAL - Low temperature threshold value
91766  */
91767 #define TMPSNS_RANGE0_TOG_LOW_TEMP_VAL(x)        (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_TOG_LOW_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_TOG_LOW_TEMP_VAL_MASK)
91768 
91769 #define TMPSNS_RANGE0_TOG_HIGH_TEMP_VAL_MASK     (0xFFF0000U)
91770 #define TMPSNS_RANGE0_TOG_HIGH_TEMP_VAL_SHIFT    (16U)
91771 /*! HIGH_TEMP_VAL - High temperature threshold value
91772  */
91773 #define TMPSNS_RANGE0_TOG_HIGH_TEMP_VAL(x)       (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE0_TOG_HIGH_TEMP_VAL_SHIFT)) & TMPSNS_RANGE0_TOG_HIGH_TEMP_VAL_MASK)
91774 /*! @} */
91775 
91776 /*! @name RANGE1 - Temperature Sensor Range Register 1 */
91777 /*! @{ */
91778 
91779 #define TMPSNS_RANGE1_PANIC_TEMP_VAL_MASK        (0xFFFU)
91780 #define TMPSNS_RANGE1_PANIC_TEMP_VAL_SHIFT       (0U)
91781 /*! PANIC_TEMP_VAL - Panic temperature threshold value
91782  */
91783 #define TMPSNS_RANGE1_PANIC_TEMP_VAL(x)          (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE1_PANIC_TEMP_VAL_SHIFT)) & TMPSNS_RANGE1_PANIC_TEMP_VAL_MASK)
91784 /*! @} */
91785 
91786 /*! @name RANGE1_SET - Temperature Sensor Range Register 1 */
91787 /*! @{ */
91788 
91789 #define TMPSNS_RANGE1_SET_PANIC_TEMP_VAL_MASK    (0xFFFU)
91790 #define TMPSNS_RANGE1_SET_PANIC_TEMP_VAL_SHIFT   (0U)
91791 /*! PANIC_TEMP_VAL - Panic temperature threshold value
91792  */
91793 #define TMPSNS_RANGE1_SET_PANIC_TEMP_VAL(x)      (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE1_SET_PANIC_TEMP_VAL_SHIFT)) & TMPSNS_RANGE1_SET_PANIC_TEMP_VAL_MASK)
91794 /*! @} */
91795 
91796 /*! @name RANGE1_CLR - Temperature Sensor Range Register 1 */
91797 /*! @{ */
91798 
91799 #define TMPSNS_RANGE1_CLR_PANIC_TEMP_VAL_MASK    (0xFFFU)
91800 #define TMPSNS_RANGE1_CLR_PANIC_TEMP_VAL_SHIFT   (0U)
91801 /*! PANIC_TEMP_VAL - Panic temperature threshold value
91802  */
91803 #define TMPSNS_RANGE1_CLR_PANIC_TEMP_VAL(x)      (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE1_CLR_PANIC_TEMP_VAL_SHIFT)) & TMPSNS_RANGE1_CLR_PANIC_TEMP_VAL_MASK)
91804 /*! @} */
91805 
91806 /*! @name RANGE1_TOG - Temperature Sensor Range Register 1 */
91807 /*! @{ */
91808 
91809 #define TMPSNS_RANGE1_TOG_PANIC_TEMP_VAL_MASK    (0xFFFU)
91810 #define TMPSNS_RANGE1_TOG_PANIC_TEMP_VAL_SHIFT   (0U)
91811 /*! PANIC_TEMP_VAL - Panic temperature threshold value
91812  */
91813 #define TMPSNS_RANGE1_TOG_PANIC_TEMP_VAL(x)      (((uint32_t)(((uint32_t)(x)) << TMPSNS_RANGE1_TOG_PANIC_TEMP_VAL_SHIFT)) & TMPSNS_RANGE1_TOG_PANIC_TEMP_VAL_MASK)
91814 /*! @} */
91815 
91816 /*! @name STATUS0 - Temperature Sensor Status Register 0 */
91817 /*! @{ */
91818 
91819 #define TMPSNS_STATUS0_TEMP_VAL_MASK             (0xFFFU)
91820 #define TMPSNS_STATUS0_TEMP_VAL_SHIFT            (0U)
91821 /*! TEMP_VAL - Measured temperature value
91822  */
91823 #define TMPSNS_STATUS0_TEMP_VAL(x)               (((uint32_t)(((uint32_t)(x)) << TMPSNS_STATUS0_TEMP_VAL_SHIFT)) & TMPSNS_STATUS0_TEMP_VAL_MASK)
91824 
91825 #define TMPSNS_STATUS0_FINISH_MASK               (0x10000U)
91826 #define TMPSNS_STATUS0_FINISH_SHIFT              (16U)
91827 /*! FINISH - Temperature measurement complete
91828  *  0b0..Temperature sensor is busy (if CTRL1[START] = 1)or no new reading has been initiated (if CTRL1[START] = 0)
91829  *  0b1..Temperature reading is complete and new temperature value available for reading
91830  */
91831 #define TMPSNS_STATUS0_FINISH(x)                 (((uint32_t)(((uint32_t)(x)) << TMPSNS_STATUS0_FINISH_SHIFT)) & TMPSNS_STATUS0_FINISH_MASK)
91832 
91833 #define TMPSNS_STATUS0_LOW_TEMP_MASK             (0x20000U)
91834 #define TMPSNS_STATUS0_LOW_TEMP_SHIFT            (17U)
91835 /*! LOW_TEMP - Low temperature alarm bit
91836  *  0b0..No Low temperature alert
91837  *  0b1..Low temperature alert
91838  */
91839 #define TMPSNS_STATUS0_LOW_TEMP(x)               (((uint32_t)(((uint32_t)(x)) << TMPSNS_STATUS0_LOW_TEMP_SHIFT)) & TMPSNS_STATUS0_LOW_TEMP_MASK)
91840 
91841 #define TMPSNS_STATUS0_HIGH_TEMP_MASK            (0x40000U)
91842 #define TMPSNS_STATUS0_HIGH_TEMP_SHIFT           (18U)
91843 /*! HIGH_TEMP - High temperature alarm bit
91844  *  0b0..No High temperature alert
91845  *  0b1..High temperature alert
91846  */
91847 #define TMPSNS_STATUS0_HIGH_TEMP(x)              (((uint32_t)(((uint32_t)(x)) << TMPSNS_STATUS0_HIGH_TEMP_SHIFT)) & TMPSNS_STATUS0_HIGH_TEMP_MASK)
91848 
91849 #define TMPSNS_STATUS0_PANIC_TEMP_MASK           (0x80000U)
91850 #define TMPSNS_STATUS0_PANIC_TEMP_SHIFT          (19U)
91851 /*! PANIC_TEMP - Panic temperature alarm bit
91852  *  0b0..No Panic temperature alert
91853  *  0b1..Panic temperature alert
91854  */
91855 #define TMPSNS_STATUS0_PANIC_TEMP(x)             (((uint32_t)(((uint32_t)(x)) << TMPSNS_STATUS0_PANIC_TEMP_SHIFT)) & TMPSNS_STATUS0_PANIC_TEMP_MASK)
91856 /*! @} */
91857 
91858 
91859 /*!
91860  * @}
91861  */ /* end of group TMPSNS_Register_Masks */
91862 
91863 
91864 /* TMPSNS - Peripheral instance base addresses */
91865 /** Peripheral TMPSNS base address */
91866 #define TMPSNS_BASE                              (0u)
91867 /** Peripheral TMPSNS base pointer */
91868 #define TMPSNS                                   ((TMPSNS_Type *)TMPSNS_BASE)
91869 /** Array initializer of TMPSNS peripheral base addresses */
91870 #define TMPSNS_BASE_ADDRS                        { TMPSNS_BASE }
91871 /** Array initializer of TMPSNS peripheral base pointers */
91872 #define TMPSNS_BASE_PTRS                         { TMPSNS }
91873 
91874 /*!
91875  * @}
91876  */ /* end of group TMPSNS_Peripheral_Access_Layer */
91877 
91878 
91879 /* ----------------------------------------------------------------------------
91880    -- TMR Peripheral Access Layer
91881    ---------------------------------------------------------------------------- */
91882 
91883 /*!
91884  * @addtogroup TMR_Peripheral_Access_Layer TMR Peripheral Access Layer
91885  * @{
91886  */
91887 
91888 /** TMR - Register Layout Typedef */
91889 typedef struct {
91890   struct {                                         /* offset: 0x0, array step: 0x20 */
91891     __IO uint16_t COMP1;                             /**< Timer Channel Compare Register 1, array offset: 0x0, array step: 0x20 */
91892     __IO uint16_t COMP2;                             /**< Timer Channel Compare Register 2, array offset: 0x2, array step: 0x20 */
91893     __IO uint16_t CAPT;                              /**< Timer Channel Capture Register, array offset: 0x4, array step: 0x20 */
91894     __IO uint16_t LOAD;                              /**< Timer Channel Load Register, array offset: 0x6, array step: 0x20 */
91895     __IO uint16_t HOLD;                              /**< Timer Channel Hold Register, array offset: 0x8, array step: 0x20 */
91896     __IO uint16_t CNTR;                              /**< Timer Channel Counter Register, array offset: 0xA, array step: 0x20 */
91897     __IO uint16_t CTRL;                              /**< Timer Channel Control Register, array offset: 0xC, array step: 0x20 */
91898     __IO uint16_t SCTRL;                             /**< Timer Channel Status and Control Register, array offset: 0xE, array step: 0x20 */
91899     __IO uint16_t CMPLD1;                            /**< Timer Channel Comparator Load Register 1, array offset: 0x10, array step: 0x20 */
91900     __IO uint16_t CMPLD2;                            /**< Timer Channel Comparator Load Register 2, array offset: 0x12, array step: 0x20 */
91901     __IO uint16_t CSCTRL;                            /**< Timer Channel Comparator Status and Control Register, array offset: 0x14, array step: 0x20 */
91902     __IO uint16_t FILT;                              /**< Timer Channel Input Filter Register, array offset: 0x16, array step: 0x20 */
91903     __IO uint16_t DMA;                               /**< Timer Channel DMA Enable Register, array offset: 0x18, array step: 0x20 */
91904          uint8_t RESERVED_0[4];
91905     __IO uint16_t ENBL;                              /**< Timer Channel Enable Register, array offset: 0x1E, array step: 0x20, this item is not available for all array instances */
91906   } CHANNEL[4];
91907 } TMR_Type;
91908 
91909 /* ----------------------------------------------------------------------------
91910    -- TMR Register Masks
91911    ---------------------------------------------------------------------------- */
91912 
91913 /*!
91914  * @addtogroup TMR_Register_Masks TMR Register Masks
91915  * @{
91916  */
91917 
91918 /*! @name COMP1 - Timer Channel Compare Register 1 */
91919 /*! @{ */
91920 
91921 #define TMR_COMP1_COMPARISON_1_MASK              (0xFFFFU)
91922 #define TMR_COMP1_COMPARISON_1_SHIFT             (0U)
91923 /*! COMPARISON_1 - Comparison Value 1
91924  */
91925 #define TMR_COMP1_COMPARISON_1(x)                (((uint16_t)(((uint16_t)(x)) << TMR_COMP1_COMPARISON_1_SHIFT)) & TMR_COMP1_COMPARISON_1_MASK)
91926 /*! @} */
91927 
91928 /* The count of TMR_COMP1 */
91929 #define TMR_COMP1_COUNT                          (4U)
91930 
91931 /*! @name COMP2 - Timer Channel Compare Register 2 */
91932 /*! @{ */
91933 
91934 #define TMR_COMP2_COMPARISON_2_MASK              (0xFFFFU)
91935 #define TMR_COMP2_COMPARISON_2_SHIFT             (0U)
91936 /*! COMPARISON_2 - Comparison Value 2
91937  */
91938 #define TMR_COMP2_COMPARISON_2(x)                (((uint16_t)(((uint16_t)(x)) << TMR_COMP2_COMPARISON_2_SHIFT)) & TMR_COMP2_COMPARISON_2_MASK)
91939 /*! @} */
91940 
91941 /* The count of TMR_COMP2 */
91942 #define TMR_COMP2_COUNT                          (4U)
91943 
91944 /*! @name CAPT - Timer Channel Capture Register */
91945 /*! @{ */
91946 
91947 #define TMR_CAPT_CAPTURE_MASK                    (0xFFFFU)
91948 #define TMR_CAPT_CAPTURE_SHIFT                   (0U)
91949 /*! CAPTURE - Capture Value
91950  */
91951 #define TMR_CAPT_CAPTURE(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_CAPT_CAPTURE_SHIFT)) & TMR_CAPT_CAPTURE_MASK)
91952 /*! @} */
91953 
91954 /* The count of TMR_CAPT */
91955 #define TMR_CAPT_COUNT                           (4U)
91956 
91957 /*! @name LOAD - Timer Channel Load Register */
91958 /*! @{ */
91959 
91960 #define TMR_LOAD_LOAD_MASK                       (0xFFFFU)
91961 #define TMR_LOAD_LOAD_SHIFT                      (0U)
91962 /*! LOAD - Timer Load Register
91963  */
91964 #define TMR_LOAD_LOAD(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_LOAD_LOAD_SHIFT)) & TMR_LOAD_LOAD_MASK)
91965 /*! @} */
91966 
91967 /* The count of TMR_LOAD */
91968 #define TMR_LOAD_COUNT                           (4U)
91969 
91970 /*! @name HOLD - Timer Channel Hold Register */
91971 /*! @{ */
91972 
91973 #define TMR_HOLD_HOLD_MASK                       (0xFFFFU)
91974 #define TMR_HOLD_HOLD_SHIFT                      (0U)
91975 /*! HOLD - HOLD
91976  */
91977 #define TMR_HOLD_HOLD(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_HOLD_HOLD_SHIFT)) & TMR_HOLD_HOLD_MASK)
91978 /*! @} */
91979 
91980 /* The count of TMR_HOLD */
91981 #define TMR_HOLD_COUNT                           (4U)
91982 
91983 /*! @name CNTR - Timer Channel Counter Register */
91984 /*! @{ */
91985 
91986 #define TMR_CNTR_COUNTER_MASK                    (0xFFFFU)
91987 #define TMR_CNTR_COUNTER_SHIFT                   (0U)
91988 /*! COUNTER - COUNTER
91989  */
91990 #define TMR_CNTR_COUNTER(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_CNTR_COUNTER_SHIFT)) & TMR_CNTR_COUNTER_MASK)
91991 /*! @} */
91992 
91993 /* The count of TMR_CNTR */
91994 #define TMR_CNTR_COUNT                           (4U)
91995 
91996 /*! @name CTRL - Timer Channel Control Register */
91997 /*! @{ */
91998 
91999 #define TMR_CTRL_OUTMODE_MASK                    (0x7U)
92000 #define TMR_CTRL_OUTMODE_SHIFT                   (0U)
92001 /*! OUTMODE - Output Mode
92002  *  0b000..Asserted while counter is active
92003  *  0b001..Clear OFLAG output on successful compare
92004  *  0b010..Set OFLAG output on successful compare
92005  *  0b011..Toggle OFLAG output on successful compare
92006  *  0b100..Toggle OFLAG output using alternating compare registers
92007  *  0b101..Set on compare, cleared on secondary source input edge
92008  *  0b110..Set on compare, cleared on counter rollover
92009  *  0b111..Enable gated clock output while counter is active
92010  */
92011 #define TMR_CTRL_OUTMODE(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_OUTMODE_SHIFT)) & TMR_CTRL_OUTMODE_MASK)
92012 
92013 #define TMR_CTRL_COINIT_MASK                     (0x8U)
92014 #define TMR_CTRL_COINIT_SHIFT                    (3U)
92015 /*! COINIT - Co-Channel Initialization
92016  *  0b0..Co-channel counter/timers cannot force a re-initialization of this counter/timer
92017  *  0b1..Co-channel counter/timers may force a re-initialization of this counter/timer
92018  */
92019 #define TMR_CTRL_COINIT(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_COINIT_SHIFT)) & TMR_CTRL_COINIT_MASK)
92020 
92021 #define TMR_CTRL_DIR_MASK                        (0x10U)
92022 #define TMR_CTRL_DIR_SHIFT                       (4U)
92023 /*! DIR - Count Direction
92024  *  0b0..Count up.
92025  *  0b1..Count down.
92026  */
92027 #define TMR_CTRL_DIR(x)                          (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_DIR_SHIFT)) & TMR_CTRL_DIR_MASK)
92028 
92029 #define TMR_CTRL_LENGTH_MASK                     (0x20U)
92030 #define TMR_CTRL_LENGTH_SHIFT                    (5U)
92031 /*! LENGTH - Count Length
92032  *  0b0..Count until roll over at $FFFF and continue from $0000.
92033  *  0b1..Count until compare, then re-initialize. If counting up, a successful compare occurs when the counter
92034  *       reaches a COMP1 value. If counting down, a successful compare occurs when the counter reaches a COMP2 value.
92035  *       When output mode $4 is used, alternating values of COMP1 and COMP2 are used to generate successful
92036  *       comparisons. For example, the counter counts until a COMP1 value is reached, re-initializes, counts until COMP2
92037  *       value is reached, re-initializes, counts until COMP1 value is reached, and so on.
92038  */
92039 #define TMR_CTRL_LENGTH(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_LENGTH_SHIFT)) & TMR_CTRL_LENGTH_MASK)
92040 
92041 #define TMR_CTRL_ONCE_MASK                       (0x40U)
92042 #define TMR_CTRL_ONCE_SHIFT                      (6U)
92043 /*! ONCE - Count Once
92044  *  0b0..Count repeatedly.
92045  *  0b1..Count until compare and then stop. If counting up, a successful compare occurs when the counter reaches a
92046  *       COMP1 value. If counting down, a successful compare occurs when the counter reaches a COMP2 value. When
92047  *       output mode $4 is used, the counter re-initializes after reaching the COMP1 value, continues to count to
92048  *       the COMP2 value, and then stops.
92049  */
92050 #define TMR_CTRL_ONCE(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_ONCE_SHIFT)) & TMR_CTRL_ONCE_MASK)
92051 
92052 #define TMR_CTRL_SCS_MASK                        (0x180U)
92053 #define TMR_CTRL_SCS_SHIFT                       (7U)
92054 /*! SCS - Secondary Count Source
92055  *  0b00..Counter 0 input pin
92056  *  0b01..Counter 1 input pin
92057  *  0b10..Counter 2 input pin
92058  *  0b11..Counter 3 input pin
92059  */
92060 #define TMR_CTRL_SCS(x)                          (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_SCS_SHIFT)) & TMR_CTRL_SCS_MASK)
92061 
92062 #define TMR_CTRL_PCS_MASK                        (0x1E00U)
92063 #define TMR_CTRL_PCS_SHIFT                       (9U)
92064 /*! PCS - Primary Count Source
92065  *  0b0000..Counter 0 input pin
92066  *  0b0001..Counter 1 input pin
92067  *  0b0010..Counter 2 input pin
92068  *  0b0011..Counter 3 input pin
92069  *  0b0100..Counter 0 output
92070  *  0b0101..Counter 1 output
92071  *  0b0110..Counter 2 output
92072  *  0b0111..Counter 3 output
92073  *  0b1000..IP bus clock divide by 1 prescaler
92074  *  0b1001..IP bus clock divide by 2 prescaler
92075  *  0b1010..IP bus clock divide by 4 prescaler
92076  *  0b1011..IP bus clock divide by 8 prescaler
92077  *  0b1100..IP bus clock divide by 16 prescaler
92078  *  0b1101..IP bus clock divide by 32 prescaler
92079  *  0b1110..IP bus clock divide by 64 prescaler
92080  *  0b1111..IP bus clock divide by 128 prescaler
92081  */
92082 #define TMR_CTRL_PCS(x)                          (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_PCS_SHIFT)) & TMR_CTRL_PCS_MASK)
92083 
92084 #define TMR_CTRL_CM_MASK                         (0xE000U)
92085 #define TMR_CTRL_CM_SHIFT                        (13U)
92086 /*! CM - Count Mode
92087  *  0b000..No operation
92088  *  0b001..Count rising edges of primary sourceRising edges are counted only when SCTRL[IPS] = 0. Falling edges
92089  *         are counted when SCTRL[IPS] = 1. If the primary count source is IP bus clock divide by 1, only rising
92090  *         edges are counted regardless of the value of SCTRL[IPS].
92091  *  0b010..Count rising and falling edges of primary sourceIP bus clock divide by 1 cannot be used as a primary count source in edge count mode.
92092  *  0b011..Count rising edges of primary source while secondary input high active
92093  *  0b100..Quadrature count mode, uses primary and secondary sources
92094  *  0b101..Count rising edges of primary source; secondary source specifies directionRising edges are counted only
92095  *         when SCTRL[IPS] = 0. Falling edges are counted when SCTRL[IPS] = 1.
92096  *  0b110..Edge of secondary source triggers primary count until compare
92097  *  0b111..Cascaded counter mode (up/down)The primary count source must be set to one of the counter outputs.
92098  */
92099 #define TMR_CTRL_CM(x)                           (((uint16_t)(((uint16_t)(x)) << TMR_CTRL_CM_SHIFT)) & TMR_CTRL_CM_MASK)
92100 /*! @} */
92101 
92102 /* The count of TMR_CTRL */
92103 #define TMR_CTRL_COUNT                           (4U)
92104 
92105 /*! @name SCTRL - Timer Channel Status and Control Register */
92106 /*! @{ */
92107 
92108 #define TMR_SCTRL_OEN_MASK                       (0x1U)
92109 #define TMR_SCTRL_OEN_SHIFT                      (0U)
92110 /*! OEN - Output Enable
92111  *  0b0..The external pin is configured as an input.
92112  *  0b1..The OFLAG output signal is driven on the external pin. Other timer groups using this external pin as
92113  *       their input see the driven value. The polarity of the signal is determined by OPS.
92114  */
92115 #define TMR_SCTRL_OEN(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_OEN_SHIFT)) & TMR_SCTRL_OEN_MASK)
92116 
92117 #define TMR_SCTRL_OPS_MASK                       (0x2U)
92118 #define TMR_SCTRL_OPS_SHIFT                      (1U)
92119 /*! OPS - Output Polarity Select
92120  *  0b0..True polarity.
92121  *  0b1..Inverted polarity.
92122  */
92123 #define TMR_SCTRL_OPS(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_OPS_SHIFT)) & TMR_SCTRL_OPS_MASK)
92124 
92125 #define TMR_SCTRL_FORCE_MASK                     (0x4U)
92126 #define TMR_SCTRL_FORCE_SHIFT                    (2U)
92127 /*! FORCE - Force OFLAG Output
92128  */
92129 #define TMR_SCTRL_FORCE(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_FORCE_SHIFT)) & TMR_SCTRL_FORCE_MASK)
92130 
92131 #define TMR_SCTRL_VAL_MASK                       (0x8U)
92132 #define TMR_SCTRL_VAL_SHIFT                      (3U)
92133 /*! VAL - Forced OFLAG Value
92134  */
92135 #define TMR_SCTRL_VAL(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_VAL_SHIFT)) & TMR_SCTRL_VAL_MASK)
92136 
92137 #define TMR_SCTRL_EEOF_MASK                      (0x10U)
92138 #define TMR_SCTRL_EEOF_SHIFT                     (4U)
92139 /*! EEOF - Enable External OFLAG Force
92140  */
92141 #define TMR_SCTRL_EEOF(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_EEOF_SHIFT)) & TMR_SCTRL_EEOF_MASK)
92142 
92143 #define TMR_SCTRL_MSTR_MASK                      (0x20U)
92144 #define TMR_SCTRL_MSTR_SHIFT                     (5U)
92145 /*! MSTR - Master Mode
92146  */
92147 #define TMR_SCTRL_MSTR(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_MSTR_SHIFT)) & TMR_SCTRL_MSTR_MASK)
92148 
92149 #define TMR_SCTRL_CAPTURE_MODE_MASK              (0xC0U)
92150 #define TMR_SCTRL_CAPTURE_MODE_SHIFT             (6U)
92151 /*! CAPTURE_MODE - Input Capture Mode
92152  *  0b00..Capture function is disabled
92153  *  0b01..Load capture register on rising edge (when IPS=0) or falling edge (when IPS=1) of input
92154  *  0b10..Load capture register on falling edge (when IPS=0) or rising edge (when IPS=1) of input
92155  *  0b11..Load capture register on both edges of input
92156  */
92157 #define TMR_SCTRL_CAPTURE_MODE(x)                (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_CAPTURE_MODE_SHIFT)) & TMR_SCTRL_CAPTURE_MODE_MASK)
92158 
92159 #define TMR_SCTRL_INPUT_MASK                     (0x100U)
92160 #define TMR_SCTRL_INPUT_SHIFT                    (8U)
92161 /*! INPUT - External Input Signal
92162  */
92163 #define TMR_SCTRL_INPUT(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_INPUT_SHIFT)) & TMR_SCTRL_INPUT_MASK)
92164 
92165 #define TMR_SCTRL_IPS_MASK                       (0x200U)
92166 #define TMR_SCTRL_IPS_SHIFT                      (9U)
92167 /*! IPS - Input Polarity Select
92168  */
92169 #define TMR_SCTRL_IPS(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_IPS_SHIFT)) & TMR_SCTRL_IPS_MASK)
92170 
92171 #define TMR_SCTRL_IEFIE_MASK                     (0x400U)
92172 #define TMR_SCTRL_IEFIE_SHIFT                    (10U)
92173 /*! IEFIE - Input Edge Flag Interrupt Enable
92174  */
92175 #define TMR_SCTRL_IEFIE(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_IEFIE_SHIFT)) & TMR_SCTRL_IEFIE_MASK)
92176 
92177 #define TMR_SCTRL_IEF_MASK                       (0x800U)
92178 #define TMR_SCTRL_IEF_SHIFT                      (11U)
92179 /*! IEF - Input Edge Flag
92180  */
92181 #define TMR_SCTRL_IEF(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_IEF_SHIFT)) & TMR_SCTRL_IEF_MASK)
92182 
92183 #define TMR_SCTRL_TOFIE_MASK                     (0x1000U)
92184 #define TMR_SCTRL_TOFIE_SHIFT                    (12U)
92185 /*! TOFIE - Timer Overflow Flag Interrupt Enable
92186  */
92187 #define TMR_SCTRL_TOFIE(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_TOFIE_SHIFT)) & TMR_SCTRL_TOFIE_MASK)
92188 
92189 #define TMR_SCTRL_TOF_MASK                       (0x2000U)
92190 #define TMR_SCTRL_TOF_SHIFT                      (13U)
92191 /*! TOF - Timer Overflow Flag
92192  */
92193 #define TMR_SCTRL_TOF(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_TOF_SHIFT)) & TMR_SCTRL_TOF_MASK)
92194 
92195 #define TMR_SCTRL_TCFIE_MASK                     (0x4000U)
92196 #define TMR_SCTRL_TCFIE_SHIFT                    (14U)
92197 /*! TCFIE - Timer Compare Flag Interrupt Enable
92198  */
92199 #define TMR_SCTRL_TCFIE(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_TCFIE_SHIFT)) & TMR_SCTRL_TCFIE_MASK)
92200 
92201 #define TMR_SCTRL_TCF_MASK                       (0x8000U)
92202 #define TMR_SCTRL_TCF_SHIFT                      (15U)
92203 /*! TCF - Timer Compare Flag
92204  */
92205 #define TMR_SCTRL_TCF(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_SCTRL_TCF_SHIFT)) & TMR_SCTRL_TCF_MASK)
92206 /*! @} */
92207 
92208 /* The count of TMR_SCTRL */
92209 #define TMR_SCTRL_COUNT                          (4U)
92210 
92211 /*! @name CMPLD1 - Timer Channel Comparator Load Register 1 */
92212 /*! @{ */
92213 
92214 #define TMR_CMPLD1_COMPARATOR_LOAD_1_MASK        (0xFFFFU)
92215 #define TMR_CMPLD1_COMPARATOR_LOAD_1_SHIFT       (0U)
92216 /*! COMPARATOR_LOAD_1 - COMPARATOR_LOAD_1
92217  */
92218 #define TMR_CMPLD1_COMPARATOR_LOAD_1(x)          (((uint16_t)(((uint16_t)(x)) << TMR_CMPLD1_COMPARATOR_LOAD_1_SHIFT)) & TMR_CMPLD1_COMPARATOR_LOAD_1_MASK)
92219 /*! @} */
92220 
92221 /* The count of TMR_CMPLD1 */
92222 #define TMR_CMPLD1_COUNT                         (4U)
92223 
92224 /*! @name CMPLD2 - Timer Channel Comparator Load Register 2 */
92225 /*! @{ */
92226 
92227 #define TMR_CMPLD2_COMPARATOR_LOAD_2_MASK        (0xFFFFU)
92228 #define TMR_CMPLD2_COMPARATOR_LOAD_2_SHIFT       (0U)
92229 /*! COMPARATOR_LOAD_2 - COMPARATOR_LOAD_2
92230  */
92231 #define TMR_CMPLD2_COMPARATOR_LOAD_2(x)          (((uint16_t)(((uint16_t)(x)) << TMR_CMPLD2_COMPARATOR_LOAD_2_SHIFT)) & TMR_CMPLD2_COMPARATOR_LOAD_2_MASK)
92232 /*! @} */
92233 
92234 /* The count of TMR_CMPLD2 */
92235 #define TMR_CMPLD2_COUNT                         (4U)
92236 
92237 /*! @name CSCTRL - Timer Channel Comparator Status and Control Register */
92238 /*! @{ */
92239 
92240 #define TMR_CSCTRL_CL1_MASK                      (0x3U)
92241 #define TMR_CSCTRL_CL1_SHIFT                     (0U)
92242 /*! CL1 - Compare Load Control 1
92243  *  0b00..Never preload
92244  *  0b01..Load upon successful compare with the value in COMP1
92245  *  0b10..Load upon successful compare with the value in COMP2
92246  *  0b11..Reserved
92247  */
92248 #define TMR_CSCTRL_CL1(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_CL1_SHIFT)) & TMR_CSCTRL_CL1_MASK)
92249 
92250 #define TMR_CSCTRL_CL2_MASK                      (0xCU)
92251 #define TMR_CSCTRL_CL2_SHIFT                     (2U)
92252 /*! CL2 - Compare Load Control 2
92253  *  0b00..Never preload
92254  *  0b01..Load upon successful compare with the value in COMP1
92255  *  0b10..Load upon successful compare with the value in COMP2
92256  *  0b11..Reserved
92257  */
92258 #define TMR_CSCTRL_CL2(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_CL2_SHIFT)) & TMR_CSCTRL_CL2_MASK)
92259 
92260 #define TMR_CSCTRL_TCF1_MASK                     (0x10U)
92261 #define TMR_CSCTRL_TCF1_SHIFT                    (4U)
92262 /*! TCF1 - Timer Compare 1 Interrupt Flag
92263  */
92264 #define TMR_CSCTRL_TCF1(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_TCF1_SHIFT)) & TMR_CSCTRL_TCF1_MASK)
92265 
92266 #define TMR_CSCTRL_TCF2_MASK                     (0x20U)
92267 #define TMR_CSCTRL_TCF2_SHIFT                    (5U)
92268 /*! TCF2 - Timer Compare 2 Interrupt Flag
92269  */
92270 #define TMR_CSCTRL_TCF2(x)                       (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_TCF2_SHIFT)) & TMR_CSCTRL_TCF2_MASK)
92271 
92272 #define TMR_CSCTRL_TCF1EN_MASK                   (0x40U)
92273 #define TMR_CSCTRL_TCF1EN_SHIFT                  (6U)
92274 /*! TCF1EN - Timer Compare 1 Interrupt Enable
92275  */
92276 #define TMR_CSCTRL_TCF1EN(x)                     (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_TCF1EN_SHIFT)) & TMR_CSCTRL_TCF1EN_MASK)
92277 
92278 #define TMR_CSCTRL_TCF2EN_MASK                   (0x80U)
92279 #define TMR_CSCTRL_TCF2EN_SHIFT                  (7U)
92280 /*! TCF2EN - Timer Compare 2 Interrupt Enable
92281  */
92282 #define TMR_CSCTRL_TCF2EN(x)                     (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_TCF2EN_SHIFT)) & TMR_CSCTRL_TCF2EN_MASK)
92283 
92284 #define TMR_CSCTRL_UP_MASK                       (0x200U)
92285 #define TMR_CSCTRL_UP_SHIFT                      (9U)
92286 /*! UP - Counting Direction Indicator
92287  *  0b0..The last count was in the DOWN direction.
92288  *  0b1..The last count was in the UP direction.
92289  */
92290 #define TMR_CSCTRL_UP(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_UP_SHIFT)) & TMR_CSCTRL_UP_MASK)
92291 
92292 #define TMR_CSCTRL_TCI_MASK                      (0x400U)
92293 #define TMR_CSCTRL_TCI_SHIFT                     (10U)
92294 /*! TCI - Triggered Count Initialization Control
92295  *  0b0..Stop counter upon receiving a second trigger event while still counting from the first trigger event.
92296  *  0b1..Reload the counter upon receiving a second trigger event while still counting from the first trigger event.
92297  */
92298 #define TMR_CSCTRL_TCI(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_TCI_SHIFT)) & TMR_CSCTRL_TCI_MASK)
92299 
92300 #define TMR_CSCTRL_ROC_MASK                      (0x800U)
92301 #define TMR_CSCTRL_ROC_SHIFT                     (11U)
92302 /*! ROC - Reload on Capture
92303  *  0b0..Do not reload the counter on a capture event.
92304  *  0b1..Reload the counter on a capture event.
92305  */
92306 #define TMR_CSCTRL_ROC(x)                        (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_ROC_SHIFT)) & TMR_CSCTRL_ROC_MASK)
92307 
92308 #define TMR_CSCTRL_ALT_LOAD_MASK                 (0x1000U)
92309 #define TMR_CSCTRL_ALT_LOAD_SHIFT                (12U)
92310 /*! ALT_LOAD - Alternative Load Enable
92311  *  0b0..Counter can be re-initialized only with the LOAD register.
92312  *  0b1..Counter can be re-initialized with the LOAD or CMPLD2 registers depending on count direction.
92313  */
92314 #define TMR_CSCTRL_ALT_LOAD(x)                   (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_ALT_LOAD_SHIFT)) & TMR_CSCTRL_ALT_LOAD_MASK)
92315 
92316 #define TMR_CSCTRL_FAULT_MASK                    (0x2000U)
92317 #define TMR_CSCTRL_FAULT_SHIFT                   (13U)
92318 /*! FAULT - Fault Enable
92319  *  0b0..Fault function disabled.
92320  *  0b1..Fault function enabled.
92321  */
92322 #define TMR_CSCTRL_FAULT(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_FAULT_SHIFT)) & TMR_CSCTRL_FAULT_MASK)
92323 
92324 #define TMR_CSCTRL_DBG_EN_MASK                   (0xC000U)
92325 #define TMR_CSCTRL_DBG_EN_SHIFT                  (14U)
92326 /*! DBG_EN - Debug Actions Enable
92327  *  0b00..Continue with normal operation during debug mode. (default)
92328  *  0b01..Halt TMR counter during debug mode.
92329  *  0b10..Force TMR output to logic 0 (prior to consideration of SCTRL[OPS]).
92330  *  0b11..Both halt counter and force output to 0 during debug mode.
92331  */
92332 #define TMR_CSCTRL_DBG_EN(x)                     (((uint16_t)(((uint16_t)(x)) << TMR_CSCTRL_DBG_EN_SHIFT)) & TMR_CSCTRL_DBG_EN_MASK)
92333 /*! @} */
92334 
92335 /* The count of TMR_CSCTRL */
92336 #define TMR_CSCTRL_COUNT                         (4U)
92337 
92338 /*! @name FILT - Timer Channel Input Filter Register */
92339 /*! @{ */
92340 
92341 #define TMR_FILT_FILT_PER_MASK                   (0xFFU)
92342 #define TMR_FILT_FILT_PER_SHIFT                  (0U)
92343 /*! FILT_PER - Input Filter Sample Period
92344  */
92345 #define TMR_FILT_FILT_PER(x)                     (((uint16_t)(((uint16_t)(x)) << TMR_FILT_FILT_PER_SHIFT)) & TMR_FILT_FILT_PER_MASK)
92346 
92347 #define TMR_FILT_FILT_CNT_MASK                   (0x700U)
92348 #define TMR_FILT_FILT_CNT_SHIFT                  (8U)
92349 /*! FILT_CNT - Input Filter Sample Count
92350  */
92351 #define TMR_FILT_FILT_CNT(x)                     (((uint16_t)(((uint16_t)(x)) << TMR_FILT_FILT_CNT_SHIFT)) & TMR_FILT_FILT_CNT_MASK)
92352 /*! @} */
92353 
92354 /* The count of TMR_FILT */
92355 #define TMR_FILT_COUNT                           (4U)
92356 
92357 /*! @name DMA - Timer Channel DMA Enable Register */
92358 /*! @{ */
92359 
92360 #define TMR_DMA_IEFDE_MASK                       (0x1U)
92361 #define TMR_DMA_IEFDE_SHIFT                      (0U)
92362 /*! IEFDE - Input Edge Flag DMA Enable
92363  */
92364 #define TMR_DMA_IEFDE(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_DMA_IEFDE_SHIFT)) & TMR_DMA_IEFDE_MASK)
92365 
92366 #define TMR_DMA_CMPLD1DE_MASK                    (0x2U)
92367 #define TMR_DMA_CMPLD1DE_SHIFT                   (1U)
92368 /*! CMPLD1DE - Comparator Preload Register 1 DMA Enable
92369  */
92370 #define TMR_DMA_CMPLD1DE(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_DMA_CMPLD1DE_SHIFT)) & TMR_DMA_CMPLD1DE_MASK)
92371 
92372 #define TMR_DMA_CMPLD2DE_MASK                    (0x4U)
92373 #define TMR_DMA_CMPLD2DE_SHIFT                   (2U)
92374 /*! CMPLD2DE - Comparator Preload Register 2 DMA Enable
92375  */
92376 #define TMR_DMA_CMPLD2DE(x)                      (((uint16_t)(((uint16_t)(x)) << TMR_DMA_CMPLD2DE_SHIFT)) & TMR_DMA_CMPLD2DE_MASK)
92377 /*! @} */
92378 
92379 /* The count of TMR_DMA */
92380 #define TMR_DMA_COUNT                            (4U)
92381 
92382 /*! @name ENBL - Timer Channel Enable Register */
92383 /*! @{ */
92384 
92385 #define TMR_ENBL_ENBL_MASK                       (0xFU)
92386 #define TMR_ENBL_ENBL_SHIFT                      (0U)
92387 /*! ENBL - Timer Channel Enable
92388  *  0b0000..Timer channel is disabled.
92389  *  0b0001..Timer channel is enabled. (default)
92390  */
92391 #define TMR_ENBL_ENBL(x)                         (((uint16_t)(((uint16_t)(x)) << TMR_ENBL_ENBL_SHIFT)) & TMR_ENBL_ENBL_MASK)
92392 /*! @} */
92393 
92394 /* The count of TMR_ENBL */
92395 #define TMR_ENBL_COUNT                           (4U)
92396 
92397 
92398 /*!
92399  * @}
92400  */ /* end of group TMR_Register_Masks */
92401 
92402 
92403 /* TMR - Peripheral instance base addresses */
92404 /** Peripheral TMR1 base address */
92405 #define TMR1_BASE                                (0x4015C000u)
92406 /** Peripheral TMR1 base pointer */
92407 #define TMR1                                     ((TMR_Type *)TMR1_BASE)
92408 /** Peripheral TMR2 base address */
92409 #define TMR2_BASE                                (0x40160000u)
92410 /** Peripheral TMR2 base pointer */
92411 #define TMR2                                     ((TMR_Type *)TMR2_BASE)
92412 /** Peripheral TMR3 base address */
92413 #define TMR3_BASE                                (0x40164000u)
92414 /** Peripheral TMR3 base pointer */
92415 #define TMR3                                     ((TMR_Type *)TMR3_BASE)
92416 /** Peripheral TMR4 base address */
92417 #define TMR4_BASE                                (0x40168000u)
92418 /** Peripheral TMR4 base pointer */
92419 #define TMR4                                     ((TMR_Type *)TMR4_BASE)
92420 /** Array initializer of TMR peripheral base addresses */
92421 #define TMR_BASE_ADDRS                           { 0u, TMR1_BASE, TMR2_BASE, TMR3_BASE, TMR4_BASE }
92422 /** Array initializer of TMR peripheral base pointers */
92423 #define TMR_BASE_PTRS                            { (TMR_Type *)0u, TMR1, TMR2, TMR3, TMR4 }
92424 /** Interrupt vectors for the TMR peripheral type */
92425 #define TMR_IRQS                                 { NotAvail_IRQn, TMR1_IRQn, TMR2_IRQn, TMR3_IRQn, TMR4_IRQn }
92426 
92427 /*!
92428  * @}
92429  */ /* end of group TMR_Peripheral_Access_Layer */
92430 
92431 
92432 /* ----------------------------------------------------------------------------
92433    -- USB Peripheral Access Layer
92434    ---------------------------------------------------------------------------- */
92435 
92436 /*!
92437  * @addtogroup USB_Peripheral_Access_Layer USB Peripheral Access Layer
92438  * @{
92439  */
92440 
92441 /** USB - Register Layout Typedef */
92442 typedef struct {
92443   __I  uint32_t ID;                                /**< Identification register, offset: 0x0 */
92444   __I  uint32_t HWGENERAL;                         /**< Hardware General, offset: 0x4 */
92445   __I  uint32_t HWHOST;                            /**< Host Hardware Parameters, offset: 0x8 */
92446   __I  uint32_t HWDEVICE;                          /**< Device Hardware Parameters, offset: 0xC */
92447   __I  uint32_t HWTXBUF;                           /**< TX Buffer Hardware Parameters, offset: 0x10 */
92448   __I  uint32_t HWRXBUF;                           /**< RX Buffer Hardware Parameters, offset: 0x14 */
92449        uint8_t RESERVED_0[104];
92450   __IO uint32_t GPTIMER0LD;                        /**< General Purpose Timer #0 Load, offset: 0x80 */
92451   __IO uint32_t GPTIMER0CTRL;                      /**< General Purpose Timer #0 Controller, offset: 0x84 */
92452   __IO uint32_t GPTIMER1LD;                        /**< General Purpose Timer #1 Load, offset: 0x88 */
92453   __IO uint32_t GPTIMER1CTRL;                      /**< General Purpose Timer #1 Controller, offset: 0x8C */
92454   __IO uint32_t SBUSCFG;                           /**< System Bus Config, offset: 0x90 */
92455        uint8_t RESERVED_1[108];
92456   __I  uint8_t CAPLENGTH;                          /**< Capability Registers Length, offset: 0x100 */
92457        uint8_t RESERVED_2[1];
92458   __I  uint16_t HCIVERSION;                        /**< Host Controller Interface Version, offset: 0x102 */
92459   __I  uint32_t HCSPARAMS;                         /**< Host Controller Structural Parameters, offset: 0x104 */
92460   __I  uint32_t HCCPARAMS;                         /**< Host Controller Capability Parameters, offset: 0x108 */
92461        uint8_t RESERVED_3[20];
92462   __I  uint16_t DCIVERSION;                        /**< Device Controller Interface Version, offset: 0x120 */
92463        uint8_t RESERVED_4[2];
92464   __I  uint32_t DCCPARAMS;                         /**< Device Controller Capability Parameters, offset: 0x124 */
92465        uint8_t RESERVED_5[24];
92466   __IO uint32_t USBCMD;                            /**< USB Command Register, offset: 0x140 */
92467   __IO uint32_t USBSTS;                            /**< USB Status Register, offset: 0x144 */
92468   __IO uint32_t USBINTR;                           /**< Interrupt Enable Register, offset: 0x148 */
92469   __IO uint32_t FRINDEX;                           /**< USB Frame Index, offset: 0x14C */
92470        uint8_t RESERVED_6[4];
92471   union {                                          /* offset: 0x154 */
92472     __IO uint32_t DEVICEADDR;                        /**< Device Address, offset: 0x154 */
92473     __IO uint32_t PERIODICLISTBASE;                  /**< Frame List Base Address, offset: 0x154 */
92474   };
92475   union {                                          /* offset: 0x158 */
92476     __IO uint32_t ASYNCLISTADDR;                     /**< Next Asynch. Address, offset: 0x158 */
92477     __IO uint32_t ENDPTLISTADDR;                     /**< Endpoint List Address, offset: 0x158 */
92478   };
92479        uint8_t RESERVED_7[4];
92480   __IO uint32_t BURSTSIZE;                         /**< Programmable Burst Size, offset: 0x160 */
92481   __IO uint32_t TXFILLTUNING;                      /**< TX FIFO Fill Tuning, offset: 0x164 */
92482        uint8_t RESERVED_8[16];
92483   __IO uint32_t ENDPTNAK;                          /**< Endpoint NAK, offset: 0x178 */
92484   __IO uint32_t ENDPTNAKEN;                        /**< Endpoint NAK Enable, offset: 0x17C */
92485   __I  uint32_t CONFIGFLAG;                        /**< Configure Flag Register, offset: 0x180 */
92486   __IO uint32_t PORTSC1;                           /**< Port Status & Control, offset: 0x184 */
92487        uint8_t RESERVED_9[28];
92488   __IO uint32_t OTGSC;                             /**< On-The-Go Status & control, offset: 0x1A4 */
92489   __IO uint32_t USBMODE;                           /**< USB Device Mode, offset: 0x1A8 */
92490   __IO uint32_t ENDPTSETUPSTAT;                    /**< Endpoint Setup Status, offset: 0x1AC */
92491   __IO uint32_t ENDPTPRIME;                        /**< Endpoint Prime, offset: 0x1B0 */
92492   __IO uint32_t ENDPTFLUSH;                        /**< Endpoint Flush, offset: 0x1B4 */
92493   __I  uint32_t ENDPTSTAT;                         /**< Endpoint Status, offset: 0x1B8 */
92494   __IO uint32_t ENDPTCOMPLETE;                     /**< Endpoint Complete, offset: 0x1BC */
92495   __IO uint32_t ENDPTCTRL0;                        /**< Endpoint Control0, offset: 0x1C0 */
92496   __IO uint32_t ENDPTCTRL[7];                      /**< Endpoint Control 1..Endpoint Control 7, array offset: 0x1C4, array step: 0x4 */
92497 } USB_Type;
92498 
92499 /* ----------------------------------------------------------------------------
92500    -- USB Register Masks
92501    ---------------------------------------------------------------------------- */
92502 
92503 /*!
92504  * @addtogroup USB_Register_Masks USB Register Masks
92505  * @{
92506  */
92507 
92508 /*! @name ID - Identification register */
92509 /*! @{ */
92510 
92511 #define USB_ID_ID_MASK                           (0x3FU)
92512 #define USB_ID_ID_SHIFT                          (0U)
92513 /*! ID - ID
92514  */
92515 #define USB_ID_ID(x)                             (((uint32_t)(((uint32_t)(x)) << USB_ID_ID_SHIFT)) & USB_ID_ID_MASK)
92516 
92517 #define USB_ID_NID_MASK                          (0x3F00U)
92518 #define USB_ID_NID_SHIFT                         (8U)
92519 /*! NID - NID
92520  */
92521 #define USB_ID_NID(x)                            (((uint32_t)(((uint32_t)(x)) << USB_ID_NID_SHIFT)) & USB_ID_NID_MASK)
92522 
92523 #define USB_ID_REVISION_MASK                     (0xFF0000U)
92524 #define USB_ID_REVISION_SHIFT                    (16U)
92525 /*! REVISION - REVISION
92526  */
92527 #define USB_ID_REVISION(x)                       (((uint32_t)(((uint32_t)(x)) << USB_ID_REVISION_SHIFT)) & USB_ID_REVISION_MASK)
92528 /*! @} */
92529 
92530 /*! @name HWGENERAL - Hardware General */
92531 /*! @{ */
92532 
92533 #define USB_HWGENERAL_PHYW_MASK                  (0x30U)
92534 #define USB_HWGENERAL_PHYW_SHIFT                 (4U)
92535 /*! PHYW - PHYW
92536  *  0b00..8 bit wide data bus (Software non-programmable)
92537  *  0b01..16 bit wide data bus (Software non-programmable)
92538  *  0b10..Reset to 8 bit wide data bus (Software programmable)
92539  *  0b11..Reset to 16 bit wide data bus (Software programmable)
92540  */
92541 #define USB_HWGENERAL_PHYW(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HWGENERAL_PHYW_SHIFT)) & USB_HWGENERAL_PHYW_MASK)
92542 
92543 #define USB_HWGENERAL_PHYM_MASK                  (0x1C0U)
92544 #define USB_HWGENERAL_PHYM_SHIFT                 (6U)
92545 /*! PHYM - PHYM
92546  *  0b000..UTMI/UMTI+
92547  *  0b001..ULPI DDR
92548  *  0b010..ULPI
92549  *  0b011..Serial Only
92550  *  0b100..Software programmable - reset to UTMI/UTMI+
92551  *  0b101..Software programmable - reset to ULPI DDR
92552  *  0b110..Software programmable - reset to ULPI
92553  *  0b111..Software programmable - reset to Serial
92554  */
92555 #define USB_HWGENERAL_PHYM(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HWGENERAL_PHYM_SHIFT)) & USB_HWGENERAL_PHYM_MASK)
92556 
92557 #define USB_HWGENERAL_SM_MASK                    (0x600U)
92558 #define USB_HWGENERAL_SM_SHIFT                   (9U)
92559 /*! SM - SM
92560  *  0b00..No Serial Engine, always use parallel signalling.
92561  *  0b01..Serial Engine present, always use serial signalling for FS/LS.
92562  *  0b10..Software programmable - Reset to use parallel signalling for FS/LS
92563  *  0b11..Software programmable - Reset to use serial signalling for FS/LS
92564  */
92565 #define USB_HWGENERAL_SM(x)                      (((uint32_t)(((uint32_t)(x)) << USB_HWGENERAL_SM_SHIFT)) & USB_HWGENERAL_SM_MASK)
92566 /*! @} */
92567 
92568 /*! @name HWHOST - Host Hardware Parameters */
92569 /*! @{ */
92570 
92571 #define USB_HWHOST_HC_MASK                       (0x1U)
92572 #define USB_HWHOST_HC_SHIFT                      (0U)
92573 /*! HC - HC
92574  *  0b1..Supported
92575  *  0b0..Not supported
92576  */
92577 #define USB_HWHOST_HC(x)                         (((uint32_t)(((uint32_t)(x)) << USB_HWHOST_HC_SHIFT)) & USB_HWHOST_HC_MASK)
92578 
92579 #define USB_HWHOST_NPORT_MASK                    (0xEU)
92580 #define USB_HWHOST_NPORT_SHIFT                   (1U)
92581 /*! NPORT - NPORT
92582  */
92583 #define USB_HWHOST_NPORT(x)                      (((uint32_t)(((uint32_t)(x)) << USB_HWHOST_NPORT_SHIFT)) & USB_HWHOST_NPORT_MASK)
92584 /*! @} */
92585 
92586 /*! @name HWDEVICE - Device Hardware Parameters */
92587 /*! @{ */
92588 
92589 #define USB_HWDEVICE_DC_MASK                     (0x1U)
92590 #define USB_HWDEVICE_DC_SHIFT                    (0U)
92591 /*! DC - DC
92592  *  0b1..Supported
92593  *  0b0..Not supported
92594  */
92595 #define USB_HWDEVICE_DC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_HWDEVICE_DC_SHIFT)) & USB_HWDEVICE_DC_MASK)
92596 
92597 #define USB_HWDEVICE_DEVEP_MASK                  (0x3EU)
92598 #define USB_HWDEVICE_DEVEP_SHIFT                 (1U)
92599 /*! DEVEP - DEVEP
92600  */
92601 #define USB_HWDEVICE_DEVEP(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HWDEVICE_DEVEP_SHIFT)) & USB_HWDEVICE_DEVEP_MASK)
92602 /*! @} */
92603 
92604 /*! @name HWTXBUF - TX Buffer Hardware Parameters */
92605 /*! @{ */
92606 
92607 #define USB_HWTXBUF_TXBURST_MASK                 (0xFFU)
92608 #define USB_HWTXBUF_TXBURST_SHIFT                (0U)
92609 /*! TXBURST - TXBURST
92610  */
92611 #define USB_HWTXBUF_TXBURST(x)                   (((uint32_t)(((uint32_t)(x)) << USB_HWTXBUF_TXBURST_SHIFT)) & USB_HWTXBUF_TXBURST_MASK)
92612 
92613 #define USB_HWTXBUF_TXCHANADD_MASK               (0xFF0000U)
92614 #define USB_HWTXBUF_TXCHANADD_SHIFT              (16U)
92615 /*! TXCHANADD - TXCHANADD
92616  */
92617 #define USB_HWTXBUF_TXCHANADD(x)                 (((uint32_t)(((uint32_t)(x)) << USB_HWTXBUF_TXCHANADD_SHIFT)) & USB_HWTXBUF_TXCHANADD_MASK)
92618 /*! @} */
92619 
92620 /*! @name HWRXBUF - RX Buffer Hardware Parameters */
92621 /*! @{ */
92622 
92623 #define USB_HWRXBUF_RXBURST_MASK                 (0xFFU)
92624 #define USB_HWRXBUF_RXBURST_SHIFT                (0U)
92625 /*! RXBURST - RXBURST
92626  */
92627 #define USB_HWRXBUF_RXBURST(x)                   (((uint32_t)(((uint32_t)(x)) << USB_HWRXBUF_RXBURST_SHIFT)) & USB_HWRXBUF_RXBURST_MASK)
92628 
92629 #define USB_HWRXBUF_RXADD_MASK                   (0xFF00U)
92630 #define USB_HWRXBUF_RXADD_SHIFT                  (8U)
92631 /*! RXADD - RXADD
92632  */
92633 #define USB_HWRXBUF_RXADD(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HWRXBUF_RXADD_SHIFT)) & USB_HWRXBUF_RXADD_MASK)
92634 /*! @} */
92635 
92636 /*! @name GPTIMER0LD - General Purpose Timer #0 Load */
92637 /*! @{ */
92638 
92639 #define USB_GPTIMER0LD_GPTLD_MASK                (0xFFFFFFU)
92640 #define USB_GPTIMER0LD_GPTLD_SHIFT               (0U)
92641 /*! GPTLD - GPTLD
92642  */
92643 #define USB_GPTIMER0LD_GPTLD(x)                  (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER0LD_GPTLD_SHIFT)) & USB_GPTIMER0LD_GPTLD_MASK)
92644 /*! @} */
92645 
92646 /*! @name GPTIMER0CTRL - General Purpose Timer #0 Controller */
92647 /*! @{ */
92648 
92649 #define USB_GPTIMER0CTRL_GPTCNT_MASK             (0xFFFFFFU)
92650 #define USB_GPTIMER0CTRL_GPTCNT_SHIFT            (0U)
92651 /*! GPTCNT - GPTCNT
92652  */
92653 #define USB_GPTIMER0CTRL_GPTCNT(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER0CTRL_GPTCNT_SHIFT)) & USB_GPTIMER0CTRL_GPTCNT_MASK)
92654 
92655 #define USB_GPTIMER0CTRL_GPTMODE_MASK            (0x1000000U)
92656 #define USB_GPTIMER0CTRL_GPTMODE_SHIFT           (24U)
92657 /*! GPTMODE - GPTMODE
92658  *  0b0..One Shot Mode
92659  *  0b1..Repeat Mode
92660  */
92661 #define USB_GPTIMER0CTRL_GPTMODE(x)              (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER0CTRL_GPTMODE_SHIFT)) & USB_GPTIMER0CTRL_GPTMODE_MASK)
92662 
92663 #define USB_GPTIMER0CTRL_GPTRST_MASK             (0x40000000U)
92664 #define USB_GPTIMER0CTRL_GPTRST_SHIFT            (30U)
92665 /*! GPTRST - GPTRST
92666  *  0b0..No action
92667  *  0b1..Load counter value from GPTLD bits in n_GPTIMER0LD
92668  */
92669 #define USB_GPTIMER0CTRL_GPTRST(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER0CTRL_GPTRST_SHIFT)) & USB_GPTIMER0CTRL_GPTRST_MASK)
92670 
92671 #define USB_GPTIMER0CTRL_GPTRUN_MASK             (0x80000000U)
92672 #define USB_GPTIMER0CTRL_GPTRUN_SHIFT            (31U)
92673 /*! GPTRUN - GPTRUN
92674  *  0b0..Stop counting
92675  *  0b1..Run
92676  */
92677 #define USB_GPTIMER0CTRL_GPTRUN(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER0CTRL_GPTRUN_SHIFT)) & USB_GPTIMER0CTRL_GPTRUN_MASK)
92678 /*! @} */
92679 
92680 /*! @name GPTIMER1LD - General Purpose Timer #1 Load */
92681 /*! @{ */
92682 
92683 #define USB_GPTIMER1LD_GPTLD_MASK                (0xFFFFFFU)
92684 #define USB_GPTIMER1LD_GPTLD_SHIFT               (0U)
92685 /*! GPTLD - GPTLD
92686  */
92687 #define USB_GPTIMER1LD_GPTLD(x)                  (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER1LD_GPTLD_SHIFT)) & USB_GPTIMER1LD_GPTLD_MASK)
92688 /*! @} */
92689 
92690 /*! @name GPTIMER1CTRL - General Purpose Timer #1 Controller */
92691 /*! @{ */
92692 
92693 #define USB_GPTIMER1CTRL_GPTCNT_MASK             (0xFFFFFFU)
92694 #define USB_GPTIMER1CTRL_GPTCNT_SHIFT            (0U)
92695 /*! GPTCNT - GPTCNT
92696  */
92697 #define USB_GPTIMER1CTRL_GPTCNT(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER1CTRL_GPTCNT_SHIFT)) & USB_GPTIMER1CTRL_GPTCNT_MASK)
92698 
92699 #define USB_GPTIMER1CTRL_GPTMODE_MASK            (0x1000000U)
92700 #define USB_GPTIMER1CTRL_GPTMODE_SHIFT           (24U)
92701 /*! GPTMODE - GPTMODE
92702  *  0b0..One Shot Mode
92703  *  0b1..Repeat Mode
92704  */
92705 #define USB_GPTIMER1CTRL_GPTMODE(x)              (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER1CTRL_GPTMODE_SHIFT)) & USB_GPTIMER1CTRL_GPTMODE_MASK)
92706 
92707 #define USB_GPTIMER1CTRL_GPTRST_MASK             (0x40000000U)
92708 #define USB_GPTIMER1CTRL_GPTRST_SHIFT            (30U)
92709 /*! GPTRST - GPTRST
92710  *  0b0..No action
92711  *  0b1..Load counter value from GPTLD bits in USB_n_GPTIMER0LD
92712  */
92713 #define USB_GPTIMER1CTRL_GPTRST(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER1CTRL_GPTRST_SHIFT)) & USB_GPTIMER1CTRL_GPTRST_MASK)
92714 
92715 #define USB_GPTIMER1CTRL_GPTRUN_MASK             (0x80000000U)
92716 #define USB_GPTIMER1CTRL_GPTRUN_SHIFT            (31U)
92717 /*! GPTRUN - GPTRUN
92718  *  0b0..Stop counting
92719  *  0b1..Run
92720  */
92721 #define USB_GPTIMER1CTRL_GPTRUN(x)               (((uint32_t)(((uint32_t)(x)) << USB_GPTIMER1CTRL_GPTRUN_SHIFT)) & USB_GPTIMER1CTRL_GPTRUN_MASK)
92722 /*! @} */
92723 
92724 /*! @name SBUSCFG - System Bus Config */
92725 /*! @{ */
92726 
92727 #define USB_SBUSCFG_AHBBRST_MASK                 (0x7U)
92728 #define USB_SBUSCFG_AHBBRST_SHIFT                (0U)
92729 /*! AHBBRST - AHBBRST
92730  *  0b000..Incremental burst of unspecified length only
92731  *  0b001..INCR4 burst, then single transfer
92732  *  0b010..INCR8 burst, INCR4 burst, then single transfer
92733  *  0b011..INCR16 burst, INCR8 burst, INCR4 burst, then single transfer
92734  *  0b100..Reserved, don't use
92735  *  0b101..INCR4 burst, then incremental burst of unspecified length
92736  *  0b110..INCR8 burst, INCR4 burst, then incremental burst of unspecified length
92737  *  0b111..INCR16 burst, INCR8 burst, INCR4 burst, then incremental burst of unspecified length
92738  */
92739 #define USB_SBUSCFG_AHBBRST(x)                   (((uint32_t)(((uint32_t)(x)) << USB_SBUSCFG_AHBBRST_SHIFT)) & USB_SBUSCFG_AHBBRST_MASK)
92740 /*! @} */
92741 
92742 /*! @name CAPLENGTH - Capability Registers Length */
92743 /*! @{ */
92744 
92745 #define USB_CAPLENGTH_CAPLENGTH_MASK             (0xFFU)
92746 #define USB_CAPLENGTH_CAPLENGTH_SHIFT            (0U)
92747 /*! CAPLENGTH - CAPLENGTH
92748  */
92749 #define USB_CAPLENGTH_CAPLENGTH(x)               (((uint8_t)(((uint8_t)(x)) << USB_CAPLENGTH_CAPLENGTH_SHIFT)) & USB_CAPLENGTH_CAPLENGTH_MASK)
92750 /*! @} */
92751 
92752 /*! @name HCIVERSION - Host Controller Interface Version */
92753 /*! @{ */
92754 
92755 #define USB_HCIVERSION_HCIVERSION_MASK           (0xFFFFU)
92756 #define USB_HCIVERSION_HCIVERSION_SHIFT          (0U)
92757 /*! HCIVERSION - HCIVERSION
92758  */
92759 #define USB_HCIVERSION_HCIVERSION(x)             (((uint16_t)(((uint16_t)(x)) << USB_HCIVERSION_HCIVERSION_SHIFT)) & USB_HCIVERSION_HCIVERSION_MASK)
92760 /*! @} */
92761 
92762 /*! @name HCSPARAMS - Host Controller Structural Parameters */
92763 /*! @{ */
92764 
92765 #define USB_HCSPARAMS_N_PORTS_MASK               (0xFU)
92766 #define USB_HCSPARAMS_N_PORTS_SHIFT              (0U)
92767 /*! N_PORTS - N_PORTS
92768  */
92769 #define USB_HCSPARAMS_N_PORTS(x)                 (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_N_PORTS_SHIFT)) & USB_HCSPARAMS_N_PORTS_MASK)
92770 
92771 #define USB_HCSPARAMS_PPC_MASK                   (0x10U)
92772 #define USB_HCSPARAMS_PPC_SHIFT                  (4U)
92773 /*! PPC - PPC
92774  */
92775 #define USB_HCSPARAMS_PPC(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_PPC_SHIFT)) & USB_HCSPARAMS_PPC_MASK)
92776 
92777 #define USB_HCSPARAMS_N_PCC_MASK                 (0xF00U)
92778 #define USB_HCSPARAMS_N_PCC_SHIFT                (8U)
92779 /*! N_PCC - N_PCC
92780  */
92781 #define USB_HCSPARAMS_N_PCC(x)                   (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_N_PCC_SHIFT)) & USB_HCSPARAMS_N_PCC_MASK)
92782 
92783 #define USB_HCSPARAMS_N_CC_MASK                  (0xF000U)
92784 #define USB_HCSPARAMS_N_CC_SHIFT                 (12U)
92785 /*! N_CC - N_CC
92786  *  0b0000..There is no internal Companion Controller and port-ownership hand-off is not supported.
92787  *  0b0001..There are internal companion controller(s) and port-ownership hand-offs is supported.
92788  */
92789 #define USB_HCSPARAMS_N_CC(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_N_CC_SHIFT)) & USB_HCSPARAMS_N_CC_MASK)
92790 
92791 #define USB_HCSPARAMS_PI_MASK                    (0x10000U)
92792 #define USB_HCSPARAMS_PI_SHIFT                   (16U)
92793 /*! PI - PI
92794  */
92795 #define USB_HCSPARAMS_PI(x)                      (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_PI_SHIFT)) & USB_HCSPARAMS_PI_MASK)
92796 
92797 #define USB_HCSPARAMS_N_PTT_MASK                 (0xF00000U)
92798 #define USB_HCSPARAMS_N_PTT_SHIFT                (20U)
92799 /*! N_PTT - N_PTT
92800  */
92801 #define USB_HCSPARAMS_N_PTT(x)                   (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_N_PTT_SHIFT)) & USB_HCSPARAMS_N_PTT_MASK)
92802 
92803 #define USB_HCSPARAMS_N_TT_MASK                  (0xF000000U)
92804 #define USB_HCSPARAMS_N_TT_SHIFT                 (24U)
92805 /*! N_TT - N_TT
92806  */
92807 #define USB_HCSPARAMS_N_TT(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HCSPARAMS_N_TT_SHIFT)) & USB_HCSPARAMS_N_TT_MASK)
92808 /*! @} */
92809 
92810 /*! @name HCCPARAMS - Host Controller Capability Parameters */
92811 /*! @{ */
92812 
92813 #define USB_HCCPARAMS_ADC_MASK                   (0x1U)
92814 #define USB_HCCPARAMS_ADC_SHIFT                  (0U)
92815 /*! ADC - ADC
92816  */
92817 #define USB_HCCPARAMS_ADC(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HCCPARAMS_ADC_SHIFT)) & USB_HCCPARAMS_ADC_MASK)
92818 
92819 #define USB_HCCPARAMS_PFL_MASK                   (0x2U)
92820 #define USB_HCCPARAMS_PFL_SHIFT                  (1U)
92821 /*! PFL - PFL
92822  */
92823 #define USB_HCCPARAMS_PFL(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HCCPARAMS_PFL_SHIFT)) & USB_HCCPARAMS_PFL_MASK)
92824 
92825 #define USB_HCCPARAMS_ASP_MASK                   (0x4U)
92826 #define USB_HCCPARAMS_ASP_SHIFT                  (2U)
92827 /*! ASP - ASP
92828  */
92829 #define USB_HCCPARAMS_ASP(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HCCPARAMS_ASP_SHIFT)) & USB_HCCPARAMS_ASP_MASK)
92830 
92831 #define USB_HCCPARAMS_IST_MASK                   (0xF0U)
92832 #define USB_HCCPARAMS_IST_SHIFT                  (4U)
92833 /*! IST - IST
92834  */
92835 #define USB_HCCPARAMS_IST(x)                     (((uint32_t)(((uint32_t)(x)) << USB_HCCPARAMS_IST_SHIFT)) & USB_HCCPARAMS_IST_MASK)
92836 
92837 #define USB_HCCPARAMS_EECP_MASK                  (0xFF00U)
92838 #define USB_HCCPARAMS_EECP_SHIFT                 (8U)
92839 /*! EECP - EECP
92840  */
92841 #define USB_HCCPARAMS_EECP(x)                    (((uint32_t)(((uint32_t)(x)) << USB_HCCPARAMS_EECP_SHIFT)) & USB_HCCPARAMS_EECP_MASK)
92842 /*! @} */
92843 
92844 /*! @name DCIVERSION - Device Controller Interface Version */
92845 /*! @{ */
92846 
92847 #define USB_DCIVERSION_DCIVERSION_MASK           (0xFFFFU)
92848 #define USB_DCIVERSION_DCIVERSION_SHIFT          (0U)
92849 /*! DCIVERSION - DCIVERSION
92850  */
92851 #define USB_DCIVERSION_DCIVERSION(x)             (((uint16_t)(((uint16_t)(x)) << USB_DCIVERSION_DCIVERSION_SHIFT)) & USB_DCIVERSION_DCIVERSION_MASK)
92852 /*! @} */
92853 
92854 /*! @name DCCPARAMS - Device Controller Capability Parameters */
92855 /*! @{ */
92856 
92857 #define USB_DCCPARAMS_DEN_MASK                   (0x1FU)
92858 #define USB_DCCPARAMS_DEN_SHIFT                  (0U)
92859 /*! DEN - DEN
92860  */
92861 #define USB_DCCPARAMS_DEN(x)                     (((uint32_t)(((uint32_t)(x)) << USB_DCCPARAMS_DEN_SHIFT)) & USB_DCCPARAMS_DEN_MASK)
92862 
92863 #define USB_DCCPARAMS_DC_MASK                    (0x80U)
92864 #define USB_DCCPARAMS_DC_SHIFT                   (7U)
92865 /*! DC - DC
92866  */
92867 #define USB_DCCPARAMS_DC(x)                      (((uint32_t)(((uint32_t)(x)) << USB_DCCPARAMS_DC_SHIFT)) & USB_DCCPARAMS_DC_MASK)
92868 
92869 #define USB_DCCPARAMS_HC_MASK                    (0x100U)
92870 #define USB_DCCPARAMS_HC_SHIFT                   (8U)
92871 /*! HC - HC
92872  */
92873 #define USB_DCCPARAMS_HC(x)                      (((uint32_t)(((uint32_t)(x)) << USB_DCCPARAMS_HC_SHIFT)) & USB_DCCPARAMS_HC_MASK)
92874 /*! @} */
92875 
92876 /*! @name USBCMD - USB Command Register */
92877 /*! @{ */
92878 
92879 #define USB_USBCMD_RS_MASK                       (0x1U)
92880 #define USB_USBCMD_RS_SHIFT                      (0U)
92881 /*! RS - RS
92882  */
92883 #define USB_USBCMD_RS(x)                         (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_RS_SHIFT)) & USB_USBCMD_RS_MASK)
92884 
92885 #define USB_USBCMD_RST_MASK                      (0x2U)
92886 #define USB_USBCMD_RST_SHIFT                     (1U)
92887 /*! RST - RST
92888  */
92889 #define USB_USBCMD_RST(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_RST_SHIFT)) & USB_USBCMD_RST_MASK)
92890 
92891 #define USB_USBCMD_FS_1_MASK                     (0xCU)
92892 #define USB_USBCMD_FS_1_SHIFT                    (2U)
92893 /*! FS_1 - FS_1
92894  */
92895 #define USB_USBCMD_FS_1(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_FS_1_SHIFT)) & USB_USBCMD_FS_1_MASK)
92896 
92897 #define USB_USBCMD_PSE_MASK                      (0x10U)
92898 #define USB_USBCMD_PSE_SHIFT                     (4U)
92899 /*! PSE - PSE
92900  *  0b0..Do not process the Periodic Schedule
92901  *  0b1..Use the PERIODICLISTBASE register to access the Periodic Schedule.
92902  */
92903 #define USB_USBCMD_PSE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_PSE_SHIFT)) & USB_USBCMD_PSE_MASK)
92904 
92905 #define USB_USBCMD_ASE_MASK                      (0x20U)
92906 #define USB_USBCMD_ASE_SHIFT                     (5U)
92907 /*! ASE - ASE
92908  *  0b0..Do not process the Asynchronous Schedule.
92909  *  0b1..Use the ASYNCLISTADDR register to access the Asynchronous Schedule.
92910  */
92911 #define USB_USBCMD_ASE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_ASE_SHIFT)) & USB_USBCMD_ASE_MASK)
92912 
92913 #define USB_USBCMD_IAA_MASK                      (0x40U)
92914 #define USB_USBCMD_IAA_SHIFT                     (6U)
92915 /*! IAA - IAA
92916  */
92917 #define USB_USBCMD_IAA(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_IAA_SHIFT)) & USB_USBCMD_IAA_MASK)
92918 
92919 #define USB_USBCMD_ASP_MASK                      (0x300U)
92920 #define USB_USBCMD_ASP_SHIFT                     (8U)
92921 /*! ASP - ASP
92922  */
92923 #define USB_USBCMD_ASP(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_ASP_SHIFT)) & USB_USBCMD_ASP_MASK)
92924 
92925 #define USB_USBCMD_ASPE_MASK                     (0x800U)
92926 #define USB_USBCMD_ASPE_SHIFT                    (11U)
92927 /*! ASPE - ASPE
92928  */
92929 #define USB_USBCMD_ASPE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_ASPE_SHIFT)) & USB_USBCMD_ASPE_MASK)
92930 
92931 #define USB_USBCMD_SUTW_MASK                     (0x2000U)
92932 #define USB_USBCMD_SUTW_SHIFT                    (13U)
92933 /*! SUTW - SUTW
92934  */
92935 #define USB_USBCMD_SUTW(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_SUTW_SHIFT)) & USB_USBCMD_SUTW_MASK)
92936 
92937 #define USB_USBCMD_ATDTW_MASK                    (0x4000U)
92938 #define USB_USBCMD_ATDTW_SHIFT                   (14U)
92939 /*! ATDTW - ATDTW
92940  */
92941 #define USB_USBCMD_ATDTW(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_ATDTW_SHIFT)) & USB_USBCMD_ATDTW_MASK)
92942 
92943 #define USB_USBCMD_FS_2_MASK                     (0x8000U)
92944 #define USB_USBCMD_FS_2_SHIFT                    (15U)
92945 /*! FS_2 - FS_2
92946  */
92947 #define USB_USBCMD_FS_2(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_FS_2_SHIFT)) & USB_USBCMD_FS_2_MASK)
92948 
92949 #define USB_USBCMD_ITC_MASK                      (0xFF0000U)
92950 #define USB_USBCMD_ITC_SHIFT                     (16U)
92951 /*! ITC - ITC
92952  *  0b00000000..Immediate (no threshold)
92953  *  0b00000001..1 micro-frame
92954  *  0b00000010..2 micro-frames
92955  *  0b00000100..4 micro-frames
92956  *  0b00001000..8 micro-frames
92957  *  0b00010000..16 micro-frames
92958  *  0b00100000..32 micro-frames
92959  *  0b01000000..64 micro-frames
92960  */
92961 #define USB_USBCMD_ITC(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBCMD_ITC_SHIFT)) & USB_USBCMD_ITC_MASK)
92962 /*! @} */
92963 
92964 /*! @name USBSTS - USB Status Register */
92965 /*! @{ */
92966 
92967 #define USB_USBSTS_UI_MASK                       (0x1U)
92968 #define USB_USBSTS_UI_SHIFT                      (0U)
92969 /*! UI - UI
92970  */
92971 #define USB_USBSTS_UI(x)                         (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_UI_SHIFT)) & USB_USBSTS_UI_MASK)
92972 
92973 #define USB_USBSTS_UEI_MASK                      (0x2U)
92974 #define USB_USBSTS_UEI_SHIFT                     (1U)
92975 /*! UEI - UEI
92976  */
92977 #define USB_USBSTS_UEI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_UEI_SHIFT)) & USB_USBSTS_UEI_MASK)
92978 
92979 #define USB_USBSTS_PCI_MASK                      (0x4U)
92980 #define USB_USBSTS_PCI_SHIFT                     (2U)
92981 /*! PCI - PCI
92982  */
92983 #define USB_USBSTS_PCI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_PCI_SHIFT)) & USB_USBSTS_PCI_MASK)
92984 
92985 #define USB_USBSTS_FRI_MASK                      (0x8U)
92986 #define USB_USBSTS_FRI_SHIFT                     (3U)
92987 /*! FRI - FRI
92988  */
92989 #define USB_USBSTS_FRI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_FRI_SHIFT)) & USB_USBSTS_FRI_MASK)
92990 
92991 #define USB_USBSTS_SEI_MASK                      (0x10U)
92992 #define USB_USBSTS_SEI_SHIFT                     (4U)
92993 /*! SEI - SEI
92994  */
92995 #define USB_USBSTS_SEI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_SEI_SHIFT)) & USB_USBSTS_SEI_MASK)
92996 
92997 #define USB_USBSTS_AAI_MASK                      (0x20U)
92998 #define USB_USBSTS_AAI_SHIFT                     (5U)
92999 /*! AAI - AAI
93000  */
93001 #define USB_USBSTS_AAI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_AAI_SHIFT)) & USB_USBSTS_AAI_MASK)
93002 
93003 #define USB_USBSTS_URI_MASK                      (0x40U)
93004 #define USB_USBSTS_URI_SHIFT                     (6U)
93005 /*! URI - URI
93006  */
93007 #define USB_USBSTS_URI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_URI_SHIFT)) & USB_USBSTS_URI_MASK)
93008 
93009 #define USB_USBSTS_SRI_MASK                      (0x80U)
93010 #define USB_USBSTS_SRI_SHIFT                     (7U)
93011 /*! SRI - SRI
93012  */
93013 #define USB_USBSTS_SRI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_SRI_SHIFT)) & USB_USBSTS_SRI_MASK)
93014 
93015 #define USB_USBSTS_SLI_MASK                      (0x100U)
93016 #define USB_USBSTS_SLI_SHIFT                     (8U)
93017 /*! SLI - SLI
93018  */
93019 #define USB_USBSTS_SLI(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_SLI_SHIFT)) & USB_USBSTS_SLI_MASK)
93020 
93021 #define USB_USBSTS_ULPII_MASK                    (0x400U)
93022 #define USB_USBSTS_ULPII_SHIFT                   (10U)
93023 /*! ULPII - ULPII
93024  */
93025 #define USB_USBSTS_ULPII(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_ULPII_SHIFT)) & USB_USBSTS_ULPII_MASK)
93026 
93027 #define USB_USBSTS_HCH_MASK                      (0x1000U)
93028 #define USB_USBSTS_HCH_SHIFT                     (12U)
93029 /*! HCH - HCH
93030  */
93031 #define USB_USBSTS_HCH(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_HCH_SHIFT)) & USB_USBSTS_HCH_MASK)
93032 
93033 #define USB_USBSTS_RCL_MASK                      (0x2000U)
93034 #define USB_USBSTS_RCL_SHIFT                     (13U)
93035 /*! RCL - RCL
93036  */
93037 #define USB_USBSTS_RCL(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_RCL_SHIFT)) & USB_USBSTS_RCL_MASK)
93038 
93039 #define USB_USBSTS_PS_MASK                       (0x4000U)
93040 #define USB_USBSTS_PS_SHIFT                      (14U)
93041 /*! PS - PS
93042  */
93043 #define USB_USBSTS_PS(x)                         (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_PS_SHIFT)) & USB_USBSTS_PS_MASK)
93044 
93045 #define USB_USBSTS_AS_MASK                       (0x8000U)
93046 #define USB_USBSTS_AS_SHIFT                      (15U)
93047 /*! AS - AS
93048  */
93049 #define USB_USBSTS_AS(x)                         (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_AS_SHIFT)) & USB_USBSTS_AS_MASK)
93050 
93051 #define USB_USBSTS_NAKI_MASK                     (0x10000U)
93052 #define USB_USBSTS_NAKI_SHIFT                    (16U)
93053 /*! NAKI - NAKI
93054  */
93055 #define USB_USBSTS_NAKI(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_NAKI_SHIFT)) & USB_USBSTS_NAKI_MASK)
93056 
93057 #define USB_USBSTS_TI0_MASK                      (0x1000000U)
93058 #define USB_USBSTS_TI0_SHIFT                     (24U)
93059 /*! TI0 - TI0
93060  */
93061 #define USB_USBSTS_TI0(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_TI0_SHIFT)) & USB_USBSTS_TI0_MASK)
93062 
93063 #define USB_USBSTS_TI1_MASK                      (0x2000000U)
93064 #define USB_USBSTS_TI1_SHIFT                     (25U)
93065 /*! TI1 - TI1
93066  */
93067 #define USB_USBSTS_TI1(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBSTS_TI1_SHIFT)) & USB_USBSTS_TI1_MASK)
93068 /*! @} */
93069 
93070 /*! @name USBINTR - Interrupt Enable Register */
93071 /*! @{ */
93072 
93073 #define USB_USBINTR_UE_MASK                      (0x1U)
93074 #define USB_USBINTR_UE_SHIFT                     (0U)
93075 /*! UE - UE
93076  */
93077 #define USB_USBINTR_UE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_UE_SHIFT)) & USB_USBINTR_UE_MASK)
93078 
93079 #define USB_USBINTR_UEE_MASK                     (0x2U)
93080 #define USB_USBINTR_UEE_SHIFT                    (1U)
93081 /*! UEE - UEE
93082  */
93083 #define USB_USBINTR_UEE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_UEE_SHIFT)) & USB_USBINTR_UEE_MASK)
93084 
93085 #define USB_USBINTR_PCE_MASK                     (0x4U)
93086 #define USB_USBINTR_PCE_SHIFT                    (2U)
93087 /*! PCE - PCE
93088  */
93089 #define USB_USBINTR_PCE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_PCE_SHIFT)) & USB_USBINTR_PCE_MASK)
93090 
93091 #define USB_USBINTR_FRE_MASK                     (0x8U)
93092 #define USB_USBINTR_FRE_SHIFT                    (3U)
93093 /*! FRE - FRE
93094  */
93095 #define USB_USBINTR_FRE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_FRE_SHIFT)) & USB_USBINTR_FRE_MASK)
93096 
93097 #define USB_USBINTR_SEE_MASK                     (0x10U)
93098 #define USB_USBINTR_SEE_SHIFT                    (4U)
93099 /*! SEE - SEE
93100  */
93101 #define USB_USBINTR_SEE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_SEE_SHIFT)) & USB_USBINTR_SEE_MASK)
93102 
93103 #define USB_USBINTR_AAE_MASK                     (0x20U)
93104 #define USB_USBINTR_AAE_SHIFT                    (5U)
93105 /*! AAE - AAE
93106  */
93107 #define USB_USBINTR_AAE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_AAE_SHIFT)) & USB_USBINTR_AAE_MASK)
93108 
93109 #define USB_USBINTR_URE_MASK                     (0x40U)
93110 #define USB_USBINTR_URE_SHIFT                    (6U)
93111 /*! URE - URE
93112  */
93113 #define USB_USBINTR_URE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_URE_SHIFT)) & USB_USBINTR_URE_MASK)
93114 
93115 #define USB_USBINTR_SRE_MASK                     (0x80U)
93116 #define USB_USBINTR_SRE_SHIFT                    (7U)
93117 /*! SRE - SRE
93118  */
93119 #define USB_USBINTR_SRE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_SRE_SHIFT)) & USB_USBINTR_SRE_MASK)
93120 
93121 #define USB_USBINTR_SLE_MASK                     (0x100U)
93122 #define USB_USBINTR_SLE_SHIFT                    (8U)
93123 /*! SLE - SLE
93124  */
93125 #define USB_USBINTR_SLE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_SLE_SHIFT)) & USB_USBINTR_SLE_MASK)
93126 
93127 #define USB_USBINTR_ULPIE_MASK                   (0x400U)
93128 #define USB_USBINTR_ULPIE_SHIFT                  (10U)
93129 /*! ULPIE - ULPIE
93130  */
93131 #define USB_USBINTR_ULPIE(x)                     (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_ULPIE_SHIFT)) & USB_USBINTR_ULPIE_MASK)
93132 
93133 #define USB_USBINTR_NAKE_MASK                    (0x10000U)
93134 #define USB_USBINTR_NAKE_SHIFT                   (16U)
93135 /*! NAKE - NAKE
93136  */
93137 #define USB_USBINTR_NAKE(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_NAKE_SHIFT)) & USB_USBINTR_NAKE_MASK)
93138 
93139 #define USB_USBINTR_UAIE_MASK                    (0x40000U)
93140 #define USB_USBINTR_UAIE_SHIFT                   (18U)
93141 /*! UAIE - UAIE
93142  */
93143 #define USB_USBINTR_UAIE(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_UAIE_SHIFT)) & USB_USBINTR_UAIE_MASK)
93144 
93145 #define USB_USBINTR_UPIE_MASK                    (0x80000U)
93146 #define USB_USBINTR_UPIE_SHIFT                   (19U)
93147 /*! UPIE - UPIE
93148  */
93149 #define USB_USBINTR_UPIE(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_UPIE_SHIFT)) & USB_USBINTR_UPIE_MASK)
93150 
93151 #define USB_USBINTR_TIE0_MASK                    (0x1000000U)
93152 #define USB_USBINTR_TIE0_SHIFT                   (24U)
93153 /*! TIE0 - TIE0
93154  */
93155 #define USB_USBINTR_TIE0(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_TIE0_SHIFT)) & USB_USBINTR_TIE0_MASK)
93156 
93157 #define USB_USBINTR_TIE1_MASK                    (0x2000000U)
93158 #define USB_USBINTR_TIE1_SHIFT                   (25U)
93159 /*! TIE1 - TIE1
93160  */
93161 #define USB_USBINTR_TIE1(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBINTR_TIE1_SHIFT)) & USB_USBINTR_TIE1_MASK)
93162 /*! @} */
93163 
93164 /*! @name FRINDEX - USB Frame Index */
93165 /*! @{ */
93166 
93167 #define USB_FRINDEX_FRINDEX_MASK                 (0x3FFFU)
93168 #define USB_FRINDEX_FRINDEX_SHIFT                (0U)
93169 /*! FRINDEX - FRINDEX
93170  *  0b00000000000000..(1024) 12
93171  *  0b00000000000001..(512) 11
93172  *  0b00000000000010..(256) 10
93173  *  0b00000000000011..(128) 9
93174  *  0b00000000000100..(64) 8
93175  *  0b00000000000101..(32) 7
93176  *  0b00000000000110..(16) 6
93177  *  0b00000000000111..(8) 5
93178  */
93179 #define USB_FRINDEX_FRINDEX(x)                   (((uint32_t)(((uint32_t)(x)) << USB_FRINDEX_FRINDEX_SHIFT)) & USB_FRINDEX_FRINDEX_MASK)
93180 /*! @} */
93181 
93182 /*! @name DEVICEADDR - Device Address */
93183 /*! @{ */
93184 
93185 #define USB_DEVICEADDR_USBADRA_MASK              (0x1000000U)
93186 #define USB_DEVICEADDR_USBADRA_SHIFT             (24U)
93187 /*! USBADRA - USBADRA
93188  */
93189 #define USB_DEVICEADDR_USBADRA(x)                (((uint32_t)(((uint32_t)(x)) << USB_DEVICEADDR_USBADRA_SHIFT)) & USB_DEVICEADDR_USBADRA_MASK)
93190 
93191 #define USB_DEVICEADDR_USBADR_MASK               (0xFE000000U)
93192 #define USB_DEVICEADDR_USBADR_SHIFT              (25U)
93193 /*! USBADR - USBADR
93194  */
93195 #define USB_DEVICEADDR_USBADR(x)                 (((uint32_t)(((uint32_t)(x)) << USB_DEVICEADDR_USBADR_SHIFT)) & USB_DEVICEADDR_USBADR_MASK)
93196 /*! @} */
93197 
93198 /*! @name PERIODICLISTBASE - Frame List Base Address */
93199 /*! @{ */
93200 
93201 #define USB_PERIODICLISTBASE_BASEADR_MASK        (0xFFFFF000U)
93202 #define USB_PERIODICLISTBASE_BASEADR_SHIFT       (12U)
93203 /*! BASEADR - BASEADR
93204  */
93205 #define USB_PERIODICLISTBASE_BASEADR(x)          (((uint32_t)(((uint32_t)(x)) << USB_PERIODICLISTBASE_BASEADR_SHIFT)) & USB_PERIODICLISTBASE_BASEADR_MASK)
93206 /*! @} */
93207 
93208 /*! @name ASYNCLISTADDR - Next Asynch. Address */
93209 /*! @{ */
93210 
93211 #define USB_ASYNCLISTADDR_ASYBASE_MASK           (0xFFFFFFE0U)
93212 #define USB_ASYNCLISTADDR_ASYBASE_SHIFT          (5U)
93213 /*! ASYBASE - ASYBASE
93214  */
93215 #define USB_ASYNCLISTADDR_ASYBASE(x)             (((uint32_t)(((uint32_t)(x)) << USB_ASYNCLISTADDR_ASYBASE_SHIFT)) & USB_ASYNCLISTADDR_ASYBASE_MASK)
93216 /*! @} */
93217 
93218 /*! @name ENDPTLISTADDR - Endpoint List Address */
93219 /*! @{ */
93220 
93221 #define USB_ENDPTLISTADDR_EPBASE_MASK            (0xFFFFF800U)
93222 #define USB_ENDPTLISTADDR_EPBASE_SHIFT           (11U)
93223 /*! EPBASE - EPBASE
93224  */
93225 #define USB_ENDPTLISTADDR_EPBASE(x)              (((uint32_t)(((uint32_t)(x)) << USB_ENDPTLISTADDR_EPBASE_SHIFT)) & USB_ENDPTLISTADDR_EPBASE_MASK)
93226 /*! @} */
93227 
93228 /*! @name BURSTSIZE - Programmable Burst Size */
93229 /*! @{ */
93230 
93231 #define USB_BURSTSIZE_RXPBURST_MASK              (0xFFU)
93232 #define USB_BURSTSIZE_RXPBURST_SHIFT             (0U)
93233 /*! RXPBURST - RXPBURST
93234  */
93235 #define USB_BURSTSIZE_RXPBURST(x)                (((uint32_t)(((uint32_t)(x)) << USB_BURSTSIZE_RXPBURST_SHIFT)) & USB_BURSTSIZE_RXPBURST_MASK)
93236 
93237 #define USB_BURSTSIZE_TXPBURST_MASK              (0x1FF00U)
93238 #define USB_BURSTSIZE_TXPBURST_SHIFT             (8U)
93239 /*! TXPBURST - TXPBURST
93240  */
93241 #define USB_BURSTSIZE_TXPBURST(x)                (((uint32_t)(((uint32_t)(x)) << USB_BURSTSIZE_TXPBURST_SHIFT)) & USB_BURSTSIZE_TXPBURST_MASK)
93242 /*! @} */
93243 
93244 /*! @name TXFILLTUNING - TX FIFO Fill Tuning */
93245 /*! @{ */
93246 
93247 #define USB_TXFILLTUNING_TXSCHOH_MASK            (0xFFU)
93248 #define USB_TXFILLTUNING_TXSCHOH_SHIFT           (0U)
93249 /*! TXSCHOH - TXSCHOH
93250  */
93251 #define USB_TXFILLTUNING_TXSCHOH(x)              (((uint32_t)(((uint32_t)(x)) << USB_TXFILLTUNING_TXSCHOH_SHIFT)) & USB_TXFILLTUNING_TXSCHOH_MASK)
93252 
93253 #define USB_TXFILLTUNING_TXSCHHEALTH_MASK        (0x1F00U)
93254 #define USB_TXFILLTUNING_TXSCHHEALTH_SHIFT       (8U)
93255 /*! TXSCHHEALTH - TXSCHHEALTH
93256  */
93257 #define USB_TXFILLTUNING_TXSCHHEALTH(x)          (((uint32_t)(((uint32_t)(x)) << USB_TXFILLTUNING_TXSCHHEALTH_SHIFT)) & USB_TXFILLTUNING_TXSCHHEALTH_MASK)
93258 
93259 #define USB_TXFILLTUNING_TXFIFOTHRES_MASK        (0x3F0000U)
93260 #define USB_TXFILLTUNING_TXFIFOTHRES_SHIFT       (16U)
93261 /*! TXFIFOTHRES - TXFIFOTHRES
93262  */
93263 #define USB_TXFILLTUNING_TXFIFOTHRES(x)          (((uint32_t)(((uint32_t)(x)) << USB_TXFILLTUNING_TXFIFOTHRES_SHIFT)) & USB_TXFILLTUNING_TXFIFOTHRES_MASK)
93264 /*! @} */
93265 
93266 /*! @name ENDPTNAK - Endpoint NAK */
93267 /*! @{ */
93268 
93269 #define USB_ENDPTNAK_EPRN_MASK                   (0xFFU)
93270 #define USB_ENDPTNAK_EPRN_SHIFT                  (0U)
93271 /*! EPRN - EPRN
93272  */
93273 #define USB_ENDPTNAK_EPRN(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTNAK_EPRN_SHIFT)) & USB_ENDPTNAK_EPRN_MASK)
93274 
93275 #define USB_ENDPTNAK_EPTN_MASK                   (0xFF0000U)
93276 #define USB_ENDPTNAK_EPTN_SHIFT                  (16U)
93277 /*! EPTN - EPTN
93278  */
93279 #define USB_ENDPTNAK_EPTN(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTNAK_EPTN_SHIFT)) & USB_ENDPTNAK_EPTN_MASK)
93280 /*! @} */
93281 
93282 /*! @name ENDPTNAKEN - Endpoint NAK Enable */
93283 /*! @{ */
93284 
93285 #define USB_ENDPTNAKEN_EPRNE_MASK                (0xFFU)
93286 #define USB_ENDPTNAKEN_EPRNE_SHIFT               (0U)
93287 /*! EPRNE - EPRNE
93288  */
93289 #define USB_ENDPTNAKEN_EPRNE(x)                  (((uint32_t)(((uint32_t)(x)) << USB_ENDPTNAKEN_EPRNE_SHIFT)) & USB_ENDPTNAKEN_EPRNE_MASK)
93290 
93291 #define USB_ENDPTNAKEN_EPTNE_MASK                (0xFF0000U)
93292 #define USB_ENDPTNAKEN_EPTNE_SHIFT               (16U)
93293 /*! EPTNE - EPTNE
93294  */
93295 #define USB_ENDPTNAKEN_EPTNE(x)                  (((uint32_t)(((uint32_t)(x)) << USB_ENDPTNAKEN_EPTNE_SHIFT)) & USB_ENDPTNAKEN_EPTNE_MASK)
93296 /*! @} */
93297 
93298 /*! @name CONFIGFLAG - Configure Flag Register */
93299 /*! @{ */
93300 
93301 #define USB_CONFIGFLAG_CF_MASK                   (0x1U)
93302 #define USB_CONFIGFLAG_CF_SHIFT                  (0U)
93303 /*! CF - CF
93304  *  0b0..Port routing control logic default-routes each port to an implementation dependent classic host controller.
93305  *  0b1..Port routing control logic default-routes all ports to this host controller.
93306  */
93307 #define USB_CONFIGFLAG_CF(x)                     (((uint32_t)(((uint32_t)(x)) << USB_CONFIGFLAG_CF_SHIFT)) & USB_CONFIGFLAG_CF_MASK)
93308 /*! @} */
93309 
93310 /*! @name PORTSC1 - Port Status & Control */
93311 /*! @{ */
93312 
93313 #define USB_PORTSC1_CCS_MASK                     (0x1U)
93314 #define USB_PORTSC1_CCS_SHIFT                    (0U)
93315 /*! CCS - CCS
93316  */
93317 #define USB_PORTSC1_CCS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_CCS_SHIFT)) & USB_PORTSC1_CCS_MASK)
93318 
93319 #define USB_PORTSC1_CSC_MASK                     (0x2U)
93320 #define USB_PORTSC1_CSC_SHIFT                    (1U)
93321 /*! CSC - CSC
93322  */
93323 #define USB_PORTSC1_CSC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_CSC_SHIFT)) & USB_PORTSC1_CSC_MASK)
93324 
93325 #define USB_PORTSC1_PE_MASK                      (0x4U)
93326 #define USB_PORTSC1_PE_SHIFT                     (2U)
93327 /*! PE - PE
93328  */
93329 #define USB_PORTSC1_PE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PE_SHIFT)) & USB_PORTSC1_PE_MASK)
93330 
93331 #define USB_PORTSC1_PEC_MASK                     (0x8U)
93332 #define USB_PORTSC1_PEC_SHIFT                    (3U)
93333 /*! PEC - PEC
93334  */
93335 #define USB_PORTSC1_PEC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PEC_SHIFT)) & USB_PORTSC1_PEC_MASK)
93336 
93337 #define USB_PORTSC1_OCA_MASK                     (0x10U)
93338 #define USB_PORTSC1_OCA_SHIFT                    (4U)
93339 /*! OCA - OCA
93340  *  0b1..This port currently has an over-current condition
93341  *  0b0..This port does not have an over-current condition.
93342  */
93343 #define USB_PORTSC1_OCA(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_OCA_SHIFT)) & USB_PORTSC1_OCA_MASK)
93344 
93345 #define USB_PORTSC1_OCC_MASK                     (0x20U)
93346 #define USB_PORTSC1_OCC_SHIFT                    (5U)
93347 /*! OCC - OCC
93348  */
93349 #define USB_PORTSC1_OCC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_OCC_SHIFT)) & USB_PORTSC1_OCC_MASK)
93350 
93351 #define USB_PORTSC1_FPR_MASK                     (0x40U)
93352 #define USB_PORTSC1_FPR_SHIFT                    (6U)
93353 /*! FPR - FPR
93354  */
93355 #define USB_PORTSC1_FPR(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_FPR_SHIFT)) & USB_PORTSC1_FPR_MASK)
93356 
93357 #define USB_PORTSC1_SUSP_MASK                    (0x80U)
93358 #define USB_PORTSC1_SUSP_SHIFT                   (7U)
93359 /*! SUSP - SUSP
93360  */
93361 #define USB_PORTSC1_SUSP(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_SUSP_SHIFT)) & USB_PORTSC1_SUSP_MASK)
93362 
93363 #define USB_PORTSC1_PR_MASK                      (0x100U)
93364 #define USB_PORTSC1_PR_SHIFT                     (8U)
93365 /*! PR - PR
93366  */
93367 #define USB_PORTSC1_PR(x)                        (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PR_SHIFT)) & USB_PORTSC1_PR_MASK)
93368 
93369 #define USB_PORTSC1_HSP_MASK                     (0x200U)
93370 #define USB_PORTSC1_HSP_SHIFT                    (9U)
93371 /*! HSP - HSP
93372  */
93373 #define USB_PORTSC1_HSP(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_HSP_SHIFT)) & USB_PORTSC1_HSP_MASK)
93374 
93375 #define USB_PORTSC1_LS_MASK                      (0xC00U)
93376 #define USB_PORTSC1_LS_SHIFT                     (10U)
93377 /*! LS - LS
93378  *  0b00..SE0
93379  *  0b10..J-state
93380  *  0b01..K-state
93381  *  0b11..Undefined
93382  */
93383 #define USB_PORTSC1_LS(x)                        (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_LS_SHIFT)) & USB_PORTSC1_LS_MASK)
93384 
93385 #define USB_PORTSC1_PP_MASK                      (0x1000U)
93386 #define USB_PORTSC1_PP_SHIFT                     (12U)
93387 /*! PP - PP
93388  */
93389 #define USB_PORTSC1_PP(x)                        (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PP_SHIFT)) & USB_PORTSC1_PP_MASK)
93390 
93391 #define USB_PORTSC1_PO_MASK                      (0x2000U)
93392 #define USB_PORTSC1_PO_SHIFT                     (13U)
93393 /*! PO - PO
93394  */
93395 #define USB_PORTSC1_PO(x)                        (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PO_SHIFT)) & USB_PORTSC1_PO_MASK)
93396 
93397 #define USB_PORTSC1_PIC_MASK                     (0xC000U)
93398 #define USB_PORTSC1_PIC_SHIFT                    (14U)
93399 /*! PIC - PIC
93400  *  0b00..Port indicators are off
93401  *  0b01..Amber
93402  *  0b10..Green
93403  *  0b11..Undefined
93404  */
93405 #define USB_PORTSC1_PIC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PIC_SHIFT)) & USB_PORTSC1_PIC_MASK)
93406 
93407 #define USB_PORTSC1_PTC_MASK                     (0xF0000U)
93408 #define USB_PORTSC1_PTC_SHIFT                    (16U)
93409 /*! PTC - PTC
93410  *  0b0000..TEST_MODE_DISABLE
93411  *  0b0001..J_STATE
93412  *  0b0010..K_STATE
93413  *  0b0011..SE0 (host) / NAK (device)
93414  *  0b0100..Packet
93415  *  0b0101..FORCE_ENABLE_HS
93416  *  0b0110..FORCE_ENABLE_FS
93417  *  0b0111..FORCE_ENABLE_LS
93418  *  0b1000-0b1111..Reserved
93419  */
93420 #define USB_PORTSC1_PTC(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PTC_SHIFT)) & USB_PORTSC1_PTC_MASK)
93421 
93422 #define USB_PORTSC1_WKCN_MASK                    (0x100000U)
93423 #define USB_PORTSC1_WKCN_SHIFT                   (20U)
93424 /*! WKCN - WKCN
93425  */
93426 #define USB_PORTSC1_WKCN(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_WKCN_SHIFT)) & USB_PORTSC1_WKCN_MASK)
93427 
93428 #define USB_PORTSC1_WKDC_MASK                    (0x200000U)
93429 #define USB_PORTSC1_WKDC_SHIFT                   (21U)
93430 /*! WKDC - WKDC
93431  */
93432 #define USB_PORTSC1_WKDC(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_WKDC_SHIFT)) & USB_PORTSC1_WKDC_MASK)
93433 
93434 #define USB_PORTSC1_WKOC_MASK                    (0x400000U)
93435 #define USB_PORTSC1_WKOC_SHIFT                   (22U)
93436 /*! WKOC - WKOC
93437  */
93438 #define USB_PORTSC1_WKOC(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_WKOC_SHIFT)) & USB_PORTSC1_WKOC_MASK)
93439 
93440 #define USB_PORTSC1_PHCD_MASK                    (0x800000U)
93441 #define USB_PORTSC1_PHCD_SHIFT                   (23U)
93442 /*! PHCD - PHCD
93443  *  0b1..Disable PHY clock
93444  *  0b0..Enable PHY clock
93445  */
93446 #define USB_PORTSC1_PHCD(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PHCD_SHIFT)) & USB_PORTSC1_PHCD_MASK)
93447 
93448 #define USB_PORTSC1_PFSC_MASK                    (0x1000000U)
93449 #define USB_PORTSC1_PFSC_SHIFT                   (24U)
93450 /*! PFSC - PFSC
93451  *  0b1..Forced to full speed
93452  *  0b0..Normal operation
93453  */
93454 #define USB_PORTSC1_PFSC(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PFSC_SHIFT)) & USB_PORTSC1_PFSC_MASK)
93455 
93456 #define USB_PORTSC1_PTS_2_MASK                   (0x2000000U)
93457 #define USB_PORTSC1_PTS_2_SHIFT                  (25U)
93458 /*! PTS_2 - PTS_2
93459  */
93460 #define USB_PORTSC1_PTS_2(x)                     (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PTS_2_SHIFT)) & USB_PORTSC1_PTS_2_MASK)
93461 
93462 #define USB_PORTSC1_PSPD_MASK                    (0xC000000U)
93463 #define USB_PORTSC1_PSPD_SHIFT                   (26U)
93464 /*! PSPD - PSPD
93465  *  0b00..Full Speed
93466  *  0b01..Low Speed
93467  *  0b10..High Speed
93468  *  0b11..Undefined
93469  */
93470 #define USB_PORTSC1_PSPD(x)                      (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PSPD_SHIFT)) & USB_PORTSC1_PSPD_MASK)
93471 
93472 #define USB_PORTSC1_PTW_MASK                     (0x10000000U)
93473 #define USB_PORTSC1_PTW_SHIFT                    (28U)
93474 /*! PTW - PTW
93475  *  0b0..Select the 8-bit UTMI interface [60MHz]
93476  *  0b1..Select the 16-bit UTMI interface [30MHz]
93477  */
93478 #define USB_PORTSC1_PTW(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PTW_SHIFT)) & USB_PORTSC1_PTW_MASK)
93479 
93480 #define USB_PORTSC1_STS_MASK                     (0x20000000U)
93481 #define USB_PORTSC1_STS_SHIFT                    (29U)
93482 /*! STS - STS
93483  */
93484 #define USB_PORTSC1_STS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_STS_SHIFT)) & USB_PORTSC1_STS_MASK)
93485 
93486 #define USB_PORTSC1_PTS_1_MASK                   (0xC0000000U)
93487 #define USB_PORTSC1_PTS_1_SHIFT                  (30U)
93488 /*! PTS_1 - PTS_1
93489  */
93490 #define USB_PORTSC1_PTS_1(x)                     (((uint32_t)(((uint32_t)(x)) << USB_PORTSC1_PTS_1_SHIFT)) & USB_PORTSC1_PTS_1_MASK)
93491 /*! @} */
93492 
93493 /*! @name OTGSC - On-The-Go Status & control */
93494 /*! @{ */
93495 
93496 #define USB_OTGSC_VD_MASK                        (0x1U)
93497 #define USB_OTGSC_VD_SHIFT                       (0U)
93498 /*! VD - VD
93499  */
93500 #define USB_OTGSC_VD(x)                          (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_VD_SHIFT)) & USB_OTGSC_VD_MASK)
93501 
93502 #define USB_OTGSC_VC_MASK                        (0x2U)
93503 #define USB_OTGSC_VC_SHIFT                       (1U)
93504 /*! VC - VC
93505  */
93506 #define USB_OTGSC_VC(x)                          (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_VC_SHIFT)) & USB_OTGSC_VC_MASK)
93507 
93508 #define USB_OTGSC_OT_MASK                        (0x8U)
93509 #define USB_OTGSC_OT_SHIFT                       (3U)
93510 /*! OT - OT
93511  */
93512 #define USB_OTGSC_OT(x)                          (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_OT_SHIFT)) & USB_OTGSC_OT_MASK)
93513 
93514 #define USB_OTGSC_DP_MASK                        (0x10U)
93515 #define USB_OTGSC_DP_SHIFT                       (4U)
93516 /*! DP - DP
93517  */
93518 #define USB_OTGSC_DP(x)                          (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_DP_SHIFT)) & USB_OTGSC_DP_MASK)
93519 
93520 #define USB_OTGSC_IDPU_MASK                      (0x20U)
93521 #define USB_OTGSC_IDPU_SHIFT                     (5U)
93522 /*! IDPU - IDPU
93523  */
93524 #define USB_OTGSC_IDPU(x)                        (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_IDPU_SHIFT)) & USB_OTGSC_IDPU_MASK)
93525 
93526 #define USB_OTGSC_ID_MASK                        (0x100U)
93527 #define USB_OTGSC_ID_SHIFT                       (8U)
93528 /*! ID - ID
93529  */
93530 #define USB_OTGSC_ID(x)                          (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_ID_SHIFT)) & USB_OTGSC_ID_MASK)
93531 
93532 #define USB_OTGSC_AVV_MASK                       (0x200U)
93533 #define USB_OTGSC_AVV_SHIFT                      (9U)
93534 /*! AVV - AVV
93535  */
93536 #define USB_OTGSC_AVV(x)                         (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_AVV_SHIFT)) & USB_OTGSC_AVV_MASK)
93537 
93538 #define USB_OTGSC_ASV_MASK                       (0x400U)
93539 #define USB_OTGSC_ASV_SHIFT                      (10U)
93540 /*! ASV - ASV
93541  */
93542 #define USB_OTGSC_ASV(x)                         (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_ASV_SHIFT)) & USB_OTGSC_ASV_MASK)
93543 
93544 #define USB_OTGSC_BSV_MASK                       (0x800U)
93545 #define USB_OTGSC_BSV_SHIFT                      (11U)
93546 /*! BSV - BSV
93547  */
93548 #define USB_OTGSC_BSV(x)                         (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSV_SHIFT)) & USB_OTGSC_BSV_MASK)
93549 
93550 #define USB_OTGSC_BSE_MASK                       (0x1000U)
93551 #define USB_OTGSC_BSE_SHIFT                      (12U)
93552 /*! BSE - BSE
93553  */
93554 #define USB_OTGSC_BSE(x)                         (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSE_SHIFT)) & USB_OTGSC_BSE_MASK)
93555 
93556 #define USB_OTGSC_TOG_1MS_MASK                   (0x2000U)
93557 #define USB_OTGSC_TOG_1MS_SHIFT                  (13U)
93558 /*! TOG_1MS - TOG_1MS
93559  */
93560 #define USB_OTGSC_TOG_1MS(x)                     (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_TOG_1MS_SHIFT)) & USB_OTGSC_TOG_1MS_MASK)
93561 
93562 #define USB_OTGSC_DPS_MASK                       (0x4000U)
93563 #define USB_OTGSC_DPS_SHIFT                      (14U)
93564 /*! DPS - DPS
93565  */
93566 #define USB_OTGSC_DPS(x)                         (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_DPS_SHIFT)) & USB_OTGSC_DPS_MASK)
93567 
93568 #define USB_OTGSC_IDIS_MASK                      (0x10000U)
93569 #define USB_OTGSC_IDIS_SHIFT                     (16U)
93570 /*! IDIS - IDIS
93571  */
93572 #define USB_OTGSC_IDIS(x)                        (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_IDIS_SHIFT)) & USB_OTGSC_IDIS_MASK)
93573 
93574 #define USB_OTGSC_AVVIS_MASK                     (0x20000U)
93575 #define USB_OTGSC_AVVIS_SHIFT                    (17U)
93576 /*! AVVIS - AVVIS
93577  */
93578 #define USB_OTGSC_AVVIS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_AVVIS_SHIFT)) & USB_OTGSC_AVVIS_MASK)
93579 
93580 #define USB_OTGSC_ASVIS_MASK                     (0x40000U)
93581 #define USB_OTGSC_ASVIS_SHIFT                    (18U)
93582 /*! ASVIS - ASVIS
93583  */
93584 #define USB_OTGSC_ASVIS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_ASVIS_SHIFT)) & USB_OTGSC_ASVIS_MASK)
93585 
93586 #define USB_OTGSC_BSVIS_MASK                     (0x80000U)
93587 #define USB_OTGSC_BSVIS_SHIFT                    (19U)
93588 /*! BSVIS - BSVIS
93589  */
93590 #define USB_OTGSC_BSVIS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSVIS_SHIFT)) & USB_OTGSC_BSVIS_MASK)
93591 
93592 #define USB_OTGSC_BSEIS_MASK                     (0x100000U)
93593 #define USB_OTGSC_BSEIS_SHIFT                    (20U)
93594 /*! BSEIS - BSEIS
93595  */
93596 #define USB_OTGSC_BSEIS(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSEIS_SHIFT)) & USB_OTGSC_BSEIS_MASK)
93597 
93598 #define USB_OTGSC_STATUS_1MS_MASK                (0x200000U)
93599 #define USB_OTGSC_STATUS_1MS_SHIFT               (21U)
93600 /*! STATUS_1MS - STATUS_1MS
93601  */
93602 #define USB_OTGSC_STATUS_1MS(x)                  (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_STATUS_1MS_SHIFT)) & USB_OTGSC_STATUS_1MS_MASK)
93603 
93604 #define USB_OTGSC_DPIS_MASK                      (0x400000U)
93605 #define USB_OTGSC_DPIS_SHIFT                     (22U)
93606 /*! DPIS - DPIS
93607  */
93608 #define USB_OTGSC_DPIS(x)                        (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_DPIS_SHIFT)) & USB_OTGSC_DPIS_MASK)
93609 
93610 #define USB_OTGSC_IDIE_MASK                      (0x1000000U)
93611 #define USB_OTGSC_IDIE_SHIFT                     (24U)
93612 /*! IDIE - IDIE
93613  */
93614 #define USB_OTGSC_IDIE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_IDIE_SHIFT)) & USB_OTGSC_IDIE_MASK)
93615 
93616 #define USB_OTGSC_AVVIE_MASK                     (0x2000000U)
93617 #define USB_OTGSC_AVVIE_SHIFT                    (25U)
93618 /*! AVVIE - AVVIE
93619  */
93620 #define USB_OTGSC_AVVIE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_AVVIE_SHIFT)) & USB_OTGSC_AVVIE_MASK)
93621 
93622 #define USB_OTGSC_ASVIE_MASK                     (0x4000000U)
93623 #define USB_OTGSC_ASVIE_SHIFT                    (26U)
93624 /*! ASVIE - ASVIE
93625  */
93626 #define USB_OTGSC_ASVIE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_ASVIE_SHIFT)) & USB_OTGSC_ASVIE_MASK)
93627 
93628 #define USB_OTGSC_BSVIE_MASK                     (0x8000000U)
93629 #define USB_OTGSC_BSVIE_SHIFT                    (27U)
93630 /*! BSVIE - BSVIE
93631  */
93632 #define USB_OTGSC_BSVIE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSVIE_SHIFT)) & USB_OTGSC_BSVIE_MASK)
93633 
93634 #define USB_OTGSC_BSEIE_MASK                     (0x10000000U)
93635 #define USB_OTGSC_BSEIE_SHIFT                    (28U)
93636 /*! BSEIE - BSEIE
93637  */
93638 #define USB_OTGSC_BSEIE(x)                       (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_BSEIE_SHIFT)) & USB_OTGSC_BSEIE_MASK)
93639 
93640 #define USB_OTGSC_EN_1MS_MASK                    (0x20000000U)
93641 #define USB_OTGSC_EN_1MS_SHIFT                   (29U)
93642 /*! EN_1MS - EN_1MS
93643  */
93644 #define USB_OTGSC_EN_1MS(x)                      (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_EN_1MS_SHIFT)) & USB_OTGSC_EN_1MS_MASK)
93645 
93646 #define USB_OTGSC_DPIE_MASK                      (0x40000000U)
93647 #define USB_OTGSC_DPIE_SHIFT                     (30U)
93648 /*! DPIE - DPIE
93649  */
93650 #define USB_OTGSC_DPIE(x)                        (((uint32_t)(((uint32_t)(x)) << USB_OTGSC_DPIE_SHIFT)) & USB_OTGSC_DPIE_MASK)
93651 /*! @} */
93652 
93653 /*! @name USBMODE - USB Device Mode */
93654 /*! @{ */
93655 
93656 #define USB_USBMODE_CM_MASK                      (0x3U)
93657 #define USB_USBMODE_CM_SHIFT                     (0U)
93658 /*! CM - CM
93659  *  0b00..Idle [Default for combination host/device]
93660  *  0b01..Reserved
93661  *  0b10..Device Controller [Default for device only controller]
93662  *  0b11..Host Controller [Default for host only controller]
93663  */
93664 #define USB_USBMODE_CM(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBMODE_CM_SHIFT)) & USB_USBMODE_CM_MASK)
93665 
93666 #define USB_USBMODE_ES_MASK                      (0x4U)
93667 #define USB_USBMODE_ES_SHIFT                     (2U)
93668 /*! ES - ES
93669  *  0b0..Little Endian [Default]
93670  *  0b1..Big Endian
93671  */
93672 #define USB_USBMODE_ES(x)                        (((uint32_t)(((uint32_t)(x)) << USB_USBMODE_ES_SHIFT)) & USB_USBMODE_ES_MASK)
93673 
93674 #define USB_USBMODE_SLOM_MASK                    (0x8U)
93675 #define USB_USBMODE_SLOM_SHIFT                   (3U)
93676 /*! SLOM - SLOM
93677  *  0b0..Setup Lockouts On (default);
93678  *  0b1..Setup Lockouts Off
93679  */
93680 #define USB_USBMODE_SLOM(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBMODE_SLOM_SHIFT)) & USB_USBMODE_SLOM_MASK)
93681 
93682 #define USB_USBMODE_SDIS_MASK                    (0x10U)
93683 #define USB_USBMODE_SDIS_SHIFT                   (4U)
93684 /*! SDIS - SDIS
93685  */
93686 #define USB_USBMODE_SDIS(x)                      (((uint32_t)(((uint32_t)(x)) << USB_USBMODE_SDIS_SHIFT)) & USB_USBMODE_SDIS_MASK)
93687 /*! @} */
93688 
93689 /*! @name ENDPTSETUPSTAT - Endpoint Setup Status */
93690 /*! @{ */
93691 
93692 #define USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_MASK   (0xFFFFU)
93693 #define USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_SHIFT  (0U)
93694 /*! ENDPTSETUPSTAT - ENDPTSETUPSTAT
93695  */
93696 #define USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT(x)     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_SHIFT)) & USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_MASK)
93697 /*! @} */
93698 
93699 /*! @name ENDPTPRIME - Endpoint Prime */
93700 /*! @{ */
93701 
93702 #define USB_ENDPTPRIME_PERB_MASK                 (0xFFU)
93703 #define USB_ENDPTPRIME_PERB_SHIFT                (0U)
93704 /*! PERB - PERB
93705  */
93706 #define USB_ENDPTPRIME_PERB(x)                   (((uint32_t)(((uint32_t)(x)) << USB_ENDPTPRIME_PERB_SHIFT)) & USB_ENDPTPRIME_PERB_MASK)
93707 
93708 #define USB_ENDPTPRIME_PETB_MASK                 (0xFF0000U)
93709 #define USB_ENDPTPRIME_PETB_SHIFT                (16U)
93710 /*! PETB - PETB
93711  */
93712 #define USB_ENDPTPRIME_PETB(x)                   (((uint32_t)(((uint32_t)(x)) << USB_ENDPTPRIME_PETB_SHIFT)) & USB_ENDPTPRIME_PETB_MASK)
93713 /*! @} */
93714 
93715 /*! @name ENDPTFLUSH - Endpoint Flush */
93716 /*! @{ */
93717 
93718 #define USB_ENDPTFLUSH_FERB_MASK                 (0xFFU)
93719 #define USB_ENDPTFLUSH_FERB_SHIFT                (0U)
93720 /*! FERB - FERB
93721  */
93722 #define USB_ENDPTFLUSH_FERB(x)                   (((uint32_t)(((uint32_t)(x)) << USB_ENDPTFLUSH_FERB_SHIFT)) & USB_ENDPTFLUSH_FERB_MASK)
93723 
93724 #define USB_ENDPTFLUSH_FETB_MASK                 (0xFF0000U)
93725 #define USB_ENDPTFLUSH_FETB_SHIFT                (16U)
93726 /*! FETB - FETB
93727  */
93728 #define USB_ENDPTFLUSH_FETB(x)                   (((uint32_t)(((uint32_t)(x)) << USB_ENDPTFLUSH_FETB_SHIFT)) & USB_ENDPTFLUSH_FETB_MASK)
93729 /*! @} */
93730 
93731 /*! @name ENDPTSTAT - Endpoint Status */
93732 /*! @{ */
93733 
93734 #define USB_ENDPTSTAT_ERBR_MASK                  (0xFFU)
93735 #define USB_ENDPTSTAT_ERBR_SHIFT                 (0U)
93736 /*! ERBR - ERBR
93737  */
93738 #define USB_ENDPTSTAT_ERBR(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTSTAT_ERBR_SHIFT)) & USB_ENDPTSTAT_ERBR_MASK)
93739 
93740 #define USB_ENDPTSTAT_ETBR_MASK                  (0xFF0000U)
93741 #define USB_ENDPTSTAT_ETBR_SHIFT                 (16U)
93742 /*! ETBR - ETBR
93743  */
93744 #define USB_ENDPTSTAT_ETBR(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTSTAT_ETBR_SHIFT)) & USB_ENDPTSTAT_ETBR_MASK)
93745 /*! @} */
93746 
93747 /*! @name ENDPTCOMPLETE - Endpoint Complete */
93748 /*! @{ */
93749 
93750 #define USB_ENDPTCOMPLETE_ERCE_MASK              (0xFFU)
93751 #define USB_ENDPTCOMPLETE_ERCE_SHIFT             (0U)
93752 /*! ERCE - ERCE
93753  */
93754 #define USB_ENDPTCOMPLETE_ERCE(x)                (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCOMPLETE_ERCE_SHIFT)) & USB_ENDPTCOMPLETE_ERCE_MASK)
93755 
93756 #define USB_ENDPTCOMPLETE_ETCE_MASK              (0xFF0000U)
93757 #define USB_ENDPTCOMPLETE_ETCE_SHIFT             (16U)
93758 /*! ETCE - ETCE
93759  */
93760 #define USB_ENDPTCOMPLETE_ETCE(x)                (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCOMPLETE_ETCE_SHIFT)) & USB_ENDPTCOMPLETE_ETCE_MASK)
93761 /*! @} */
93762 
93763 /*! @name ENDPTCTRL0 - Endpoint Control0 */
93764 /*! @{ */
93765 
93766 #define USB_ENDPTCTRL0_RXS_MASK                  (0x1U)
93767 #define USB_ENDPTCTRL0_RXS_SHIFT                 (0U)
93768 /*! RXS - RXS
93769  */
93770 #define USB_ENDPTCTRL0_RXS(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_RXS_SHIFT)) & USB_ENDPTCTRL0_RXS_MASK)
93771 
93772 #define USB_ENDPTCTRL0_RXT_MASK                  (0xCU)
93773 #define USB_ENDPTCTRL0_RXT_SHIFT                 (2U)
93774 /*! RXT - RXT
93775  */
93776 #define USB_ENDPTCTRL0_RXT(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_RXT_SHIFT)) & USB_ENDPTCTRL0_RXT_MASK)
93777 
93778 #define USB_ENDPTCTRL0_RXE_MASK                  (0x80U)
93779 #define USB_ENDPTCTRL0_RXE_SHIFT                 (7U)
93780 /*! RXE - RXE
93781  */
93782 #define USB_ENDPTCTRL0_RXE(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_RXE_SHIFT)) & USB_ENDPTCTRL0_RXE_MASK)
93783 
93784 #define USB_ENDPTCTRL0_TXS_MASK                  (0x10000U)
93785 #define USB_ENDPTCTRL0_TXS_SHIFT                 (16U)
93786 /*! TXS - TXS
93787  */
93788 #define USB_ENDPTCTRL0_TXS(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_TXS_SHIFT)) & USB_ENDPTCTRL0_TXS_MASK)
93789 
93790 #define USB_ENDPTCTRL0_TXT_MASK                  (0xC0000U)
93791 #define USB_ENDPTCTRL0_TXT_SHIFT                 (18U)
93792 /*! TXT - TXT
93793  */
93794 #define USB_ENDPTCTRL0_TXT(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_TXT_SHIFT)) & USB_ENDPTCTRL0_TXT_MASK)
93795 
93796 #define USB_ENDPTCTRL0_TXE_MASK                  (0x800000U)
93797 #define USB_ENDPTCTRL0_TXE_SHIFT                 (23U)
93798 /*! TXE - TXE
93799  */
93800 #define USB_ENDPTCTRL0_TXE(x)                    (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL0_TXE_SHIFT)) & USB_ENDPTCTRL0_TXE_MASK)
93801 /*! @} */
93802 
93803 /*! @name ENDPTCTRL - Endpoint Control 1..Endpoint Control 7 */
93804 /*! @{ */
93805 
93806 #define USB_ENDPTCTRL_RXS_MASK                   (0x1U)
93807 #define USB_ENDPTCTRL_RXS_SHIFT                  (0U)
93808 /*! RXS - RXS
93809  */
93810 #define USB_ENDPTCTRL_RXS(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXS_SHIFT)) & USB_ENDPTCTRL_RXS_MASK)
93811 
93812 #define USB_ENDPTCTRL_RXD_MASK                   (0x2U)
93813 #define USB_ENDPTCTRL_RXD_SHIFT                  (1U)
93814 /*! RXD - RXD
93815  */
93816 #define USB_ENDPTCTRL_RXD(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXD_SHIFT)) & USB_ENDPTCTRL_RXD_MASK)
93817 
93818 #define USB_ENDPTCTRL_RXT_MASK                   (0xCU)
93819 #define USB_ENDPTCTRL_RXT_SHIFT                  (2U)
93820 /*! RXT - RXT
93821  */
93822 #define USB_ENDPTCTRL_RXT(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXT_SHIFT)) & USB_ENDPTCTRL_RXT_MASK)
93823 
93824 #define USB_ENDPTCTRL_RXI_MASK                   (0x20U)
93825 #define USB_ENDPTCTRL_RXI_SHIFT                  (5U)
93826 /*! RXI - RXI
93827  */
93828 #define USB_ENDPTCTRL_RXI(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXI_SHIFT)) & USB_ENDPTCTRL_RXI_MASK)
93829 
93830 #define USB_ENDPTCTRL_RXR_MASK                   (0x40U)
93831 #define USB_ENDPTCTRL_RXR_SHIFT                  (6U)
93832 /*! RXR - RXR
93833  */
93834 #define USB_ENDPTCTRL_RXR(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXR_SHIFT)) & USB_ENDPTCTRL_RXR_MASK)
93835 
93836 #define USB_ENDPTCTRL_RXE_MASK                   (0x80U)
93837 #define USB_ENDPTCTRL_RXE_SHIFT                  (7U)
93838 /*! RXE - RXE
93839  */
93840 #define USB_ENDPTCTRL_RXE(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_RXE_SHIFT)) & USB_ENDPTCTRL_RXE_MASK)
93841 
93842 #define USB_ENDPTCTRL_TXS_MASK                   (0x10000U)
93843 #define USB_ENDPTCTRL_TXS_SHIFT                  (16U)
93844 /*! TXS - TXS
93845  */
93846 #define USB_ENDPTCTRL_TXS(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXS_SHIFT)) & USB_ENDPTCTRL_TXS_MASK)
93847 
93848 #define USB_ENDPTCTRL_TXD_MASK                   (0x20000U)
93849 #define USB_ENDPTCTRL_TXD_SHIFT                  (17U)
93850 /*! TXD - TXD
93851  */
93852 #define USB_ENDPTCTRL_TXD(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXD_SHIFT)) & USB_ENDPTCTRL_TXD_MASK)
93853 
93854 #define USB_ENDPTCTRL_TXT_MASK                   (0xC0000U)
93855 #define USB_ENDPTCTRL_TXT_SHIFT                  (18U)
93856 /*! TXT - TXT
93857  */
93858 #define USB_ENDPTCTRL_TXT(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXT_SHIFT)) & USB_ENDPTCTRL_TXT_MASK)
93859 
93860 #define USB_ENDPTCTRL_TXI_MASK                   (0x200000U)
93861 #define USB_ENDPTCTRL_TXI_SHIFT                  (21U)
93862 /*! TXI - TXI
93863  */
93864 #define USB_ENDPTCTRL_TXI(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXI_SHIFT)) & USB_ENDPTCTRL_TXI_MASK)
93865 
93866 #define USB_ENDPTCTRL_TXR_MASK                   (0x400000U)
93867 #define USB_ENDPTCTRL_TXR_SHIFT                  (22U)
93868 /*! TXR - TXR
93869  */
93870 #define USB_ENDPTCTRL_TXR(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXR_SHIFT)) & USB_ENDPTCTRL_TXR_MASK)
93871 
93872 #define USB_ENDPTCTRL_TXE_MASK                   (0x800000U)
93873 #define USB_ENDPTCTRL_TXE_SHIFT                  (23U)
93874 /*! TXE - TXE
93875  */
93876 #define USB_ENDPTCTRL_TXE(x)                     (((uint32_t)(((uint32_t)(x)) << USB_ENDPTCTRL_TXE_SHIFT)) & USB_ENDPTCTRL_TXE_MASK)
93877 /*! @} */
93878 
93879 /* The count of USB_ENDPTCTRL */
93880 #define USB_ENDPTCTRL_COUNT                      (7U)
93881 
93882 
93883 /*!
93884  * @}
93885  */ /* end of group USB_Register_Masks */
93886 
93887 
93888 /* USB - Peripheral instance base addresses */
93889 /** Peripheral USB_OTG1 base address */
93890 #define USB_OTG1_BASE                            (0x40430000u)
93891 /** Peripheral USB_OTG1 base pointer */
93892 #define USB_OTG1                                 ((USB_Type *)USB_OTG1_BASE)
93893 /** Peripheral USB_OTG2 base address */
93894 #define USB_OTG2_BASE                            (0x4042C000u)
93895 /** Peripheral USB_OTG2 base pointer */
93896 #define USB_OTG2                                 ((USB_Type *)USB_OTG2_BASE)
93897 /** Array initializer of USB peripheral base addresses */
93898 #define USB_BASE_ADDRS                           { 0u, USB_OTG1_BASE, USB_OTG2_BASE }
93899 /** Array initializer of USB peripheral base pointers */
93900 #define USB_BASE_PTRS                            { (USB_Type *)0u, USB_OTG1, USB_OTG2 }
93901 /** Interrupt vectors for the USB peripheral type */
93902 #define USB_IRQS                                 { NotAvail_IRQn, USB_OTG1_IRQn, USB_OTG2_IRQn }
93903 /* Backward compatibility */
93904 #define GPTIMER0CTL                              GPTIMER0CTRL
93905 #define GPTIMER1CTL                              GPTIMER1CTRL
93906 #define USB_SBUSCFG                              SBUSCFG
93907 #define EPLISTADDR                               ENDPTLISTADDR
93908 #define EPSETUPSR                                ENDPTSETUPSTAT
93909 #define EPPRIME                                  ENDPTPRIME
93910 #define EPFLUSH                                  ENDPTFLUSH
93911 #define EPSR                                     ENDPTSTAT
93912 #define EPCOMPLETE                               ENDPTCOMPLETE
93913 #define EPCR                                     ENDPTCTRL
93914 #define EPCR0                                    ENDPTCTRL0
93915 #define USBHS_ID_ID_MASK                         USB_ID_ID_MASK
93916 #define USBHS_ID_ID_SHIFT                        USB_ID_ID_SHIFT
93917 #define USBHS_ID_ID(x)                           USB_ID_ID(x)
93918 #define USBHS_ID_NID_MASK                        USB_ID_NID_MASK
93919 #define USBHS_ID_NID_SHIFT                       USB_ID_NID_SHIFT
93920 #define USBHS_ID_NID(x)                          USB_ID_NID(x)
93921 #define USBHS_ID_REVISION_MASK                   USB_ID_REVISION_MASK
93922 #define USBHS_ID_REVISION_SHIFT                  USB_ID_REVISION_SHIFT
93923 #define USBHS_ID_REVISION(x)                     USB_ID_REVISION(x)
93924 #define USBHS_HWGENERAL_PHYW_MASK                USB_HWGENERAL_PHYW_MASK
93925 #define USBHS_HWGENERAL_PHYW_SHIFT               USB_HWGENERAL_PHYW_SHIFT
93926 #define USBHS_HWGENERAL_PHYW(x)                  USB_HWGENERAL_PHYW(x)
93927 #define USBHS_HWGENERAL_PHYM_MASK                USB_HWGENERAL_PHYM_MASK
93928 #define USBHS_HWGENERAL_PHYM_SHIFT               USB_HWGENERAL_PHYM_SHIFT
93929 #define USBHS_HWGENERAL_PHYM(x)                  USB_HWGENERAL_PHYM(x)
93930 #define USBHS_HWGENERAL_SM_MASK                  USB_HWGENERAL_SM_MASK
93931 #define USBHS_HWGENERAL_SM_SHIFT                 USB_HWGENERAL_SM_SHIFT
93932 #define USBHS_HWGENERAL_SM(x)                    USB_HWGENERAL_SM(x)
93933 #define USBHS_HWHOST_HC_MASK                     USB_HWHOST_HC_MASK
93934 #define USBHS_HWHOST_HC_SHIFT                    USB_HWHOST_HC_SHIFT
93935 #define USBHS_HWHOST_HC(x)                       USB_HWHOST_HC(x)
93936 #define USBHS_HWHOST_NPORT_MASK                  USB_HWHOST_NPORT_MASK
93937 #define USBHS_HWHOST_NPORT_SHIFT                 USB_HWHOST_NPORT_SHIFT
93938 #define USBHS_HWHOST_NPORT(x)                    USB_HWHOST_NPORT(x)
93939 #define USBHS_HWDEVICE_DC_MASK                   USB_HWDEVICE_DC_MASK
93940 #define USBHS_HWDEVICE_DC_SHIFT                  USB_HWDEVICE_DC_SHIFT
93941 #define USBHS_HWDEVICE_DC(x)                     USB_HWDEVICE_DC(x)
93942 #define USBHS_HWDEVICE_DEVEP_MASK                USB_HWDEVICE_DEVEP_MASK
93943 #define USBHS_HWDEVICE_DEVEP_SHIFT               USB_HWDEVICE_DEVEP_SHIFT
93944 #define USBHS_HWDEVICE_DEVEP(x)                  USB_HWDEVICE_DEVEP(x)
93945 #define USBHS_HWTXBUF_TXBURST_MASK               USB_HWTXBUF_TXBURST_MASK
93946 #define USBHS_HWTXBUF_TXBURST_SHIFT              USB_HWTXBUF_TXBURST_SHIFT
93947 #define USBHS_HWTXBUF_TXBURST(x)                 USB_HWTXBUF_TXBURST(x)
93948 #define USBHS_HWTXBUF_TXCHANADD_MASK             USB_HWTXBUF_TXCHANADD_MASK
93949 #define USBHS_HWTXBUF_TXCHANADD_SHIFT            USB_HWTXBUF_TXCHANADD_SHIFT
93950 #define USBHS_HWTXBUF_TXCHANADD(x)               USB_HWTXBUF_TXCHANADD(x)
93951 #define USBHS_HWRXBUF_RXBURST_MASK               USB_HWRXBUF_RXBURST_MASK
93952 #define USBHS_HWRXBUF_RXBURST_SHIFT              USB_HWRXBUF_RXBURST_SHIFT
93953 #define USBHS_HWRXBUF_RXBURST(x)                 USB_HWRXBUF_RXBURST(x)
93954 #define USBHS_HWRXBUF_RXADD_MASK                 USB_HWRXBUF_RXADD_MASK
93955 #define USBHS_HWRXBUF_RXADD_SHIFT                USB_HWRXBUF_RXADD_SHIFT
93956 #define USBHS_HWRXBUF_RXADD(x)                   USB_HWRXBUF_RXADD(x)
93957 #define USBHS_GPTIMER0LD_GPTLD_MASK              USB_GPTIMER0LD_GPTLD_MASK
93958 #define USBHS_GPTIMER0LD_GPTLD_SHIFT             USB_GPTIMER0LD_GPTLD_SHIFT
93959 #define USBHS_GPTIMER0LD_GPTLD(x)                USB_GPTIMER0LD_GPTLD(x)
93960 #define USBHS_GPTIMER0CTL_GPTCNT_MASK            USB_GPTIMER0CTRL_GPTCNT_MASK
93961 #define USBHS_GPTIMER0CTL_GPTCNT_SHIFT           USB_GPTIMER0CTRL_GPTCNT_SHIFT
93962 #define USBHS_GPTIMER0CTL_GPTCNT(x)              USB_GPTIMER0CTRL_GPTCNT(x)
93963 #define USBHS_GPTIMER0CTL_MODE_MASK              USB_GPTIMER0CTRL_GPTMODE_MASK
93964 #define USBHS_GPTIMER0CTL_MODE_SHIFT             USB_GPTIMER0CTRL_GPTMODE_SHIFT
93965 #define USBHS_GPTIMER0CTL_MODE(x)                USB_GPTIMER0CTRL_GPTMODE(x)
93966 #define USBHS_GPTIMER0CTL_RST_MASK               USB_GPTIMER0CTRL_GPTRST_MASK
93967 #define USBHS_GPTIMER0CTL_RST_SHIFT              USB_GPTIMER0CTRL_GPTRST_SHIFT
93968 #define USBHS_GPTIMER0CTL_RST(x)                 USB_GPTIMER0CTRL_GPTRST(x)
93969 #define USBHS_GPTIMER0CTL_RUN_MASK               USB_GPTIMER0CTRL_GPTRUN_MASK
93970 #define USBHS_GPTIMER0CTL_RUN_SHIFT              USB_GPTIMER0CTRL_GPTRUN_SHIFT
93971 #define USBHS_GPTIMER0CTL_RUN(x)                 USB_GPTIMER0CTRL_GPTRUN(x)
93972 #define USBHS_GPTIMER1LD_GPTLD_MASK              USB_GPTIMER1LD_GPTLD_MASK
93973 #define USBHS_GPTIMER1LD_GPTLD_SHIFT             USB_GPTIMER1LD_GPTLD_SHIFT
93974 #define USBHS_GPTIMER1LD_GPTLD(x)                USB_GPTIMER1LD_GPTLD(x)
93975 #define USBHS_GPTIMER1CTL_GPTCNT_MASK            USB_GPTIMER1CTRL_GPTCNT_MASK
93976 #define USBHS_GPTIMER1CTL_GPTCNT_SHIFT           USB_GPTIMER1CTRL_GPTCNT_SHIFT
93977 #define USBHS_GPTIMER1CTL_GPTCNT(x)              USB_GPTIMER1CTRL_GPTCNT(x)
93978 #define USBHS_GPTIMER1CTL_MODE_MASK              USB_GPTIMER1CTRL_GPTMODE_MASK
93979 #define USBHS_GPTIMER1CTL_MODE_SHIFT             USB_GPTIMER1CTRL_GPTMODE_SHIFT
93980 #define USBHS_GPTIMER1CTL_MODE(x)                USB_GPTIMER1CTRL_GPTMODE(x)
93981 #define USBHS_GPTIMER1CTL_RST_MASK               USB_GPTIMER1CTRL_GPTRST_MASK
93982 #define USBHS_GPTIMER1CTL_RST_SHIFT              USB_GPTIMER1CTRL_GPTRST_SHIFT
93983 #define USBHS_GPTIMER1CTL_RST(x)                 USB_GPTIMER1CTRL_GPTRST(x)
93984 #define USBHS_GPTIMER1CTL_RUN_MASK               USB_GPTIMER1CTRL_GPTRUN_MASK
93985 #define USBHS_GPTIMER1CTL_RUN_SHIFT              USB_GPTIMER1CTRL_GPTRUN_SHIFT
93986 #define USBHS_GPTIMER1CTL_RUN(x)                 USB_GPTIMER1CTRL_GPTRUN(x)
93987 #define USBHS_USB_SBUSCFG_BURSTMODE_MASK         USB_SBUSCFG_AHBBRST_MASK
93988 #define USBHS_USB_SBUSCFG_BURSTMODE_SHIFT        USB_SBUSCFG_AHBBRST_SHIFT
93989 #define USBHS_USB_SBUSCFG_BURSTMODE(x)           USB_SBUSCFG_AHBBRST(x)
93990 #define USBHS_HCIVERSION_CAPLENGTH(x)            USB_HCIVERSION_CAPLENGTH(x)
93991 #define USBHS_HCIVERSION_HCIVERSION_MASK         USB_HCIVERSION_HCIVERSION_MASK
93992 #define USBHS_HCIVERSION_HCIVERSION_SHIFT        USB_HCIVERSION_HCIVERSION_SHIFT
93993 #define USBHS_HCIVERSION_HCIVERSION(x)           USB_HCIVERSION_HCIVERSION(x)
93994 #define USBHS_HCSPARAMS_N_PORTS_MASK             USB_HCSPARAMS_N_PORTS_MASK
93995 #define USBHS_HCSPARAMS_N_PORTS_SHIFT            USB_HCSPARAMS_N_PORTS_SHIFT
93996 #define USBHS_HCSPARAMS_N_PORTS(x)               USB_HCSPARAMS_N_PORTS(x)
93997 #define USBHS_HCSPARAMS_PPC_MASK                 USB_HCSPARAMS_PPC_MASK
93998 #define USBHS_HCSPARAMS_PPC_SHIFT                USB_HCSPARAMS_PPC_SHIFT
93999 #define USBHS_HCSPARAMS_PPC(x)                   USB_HCSPARAMS_PPC(x)
94000 #define USBHS_HCSPARAMS_N_PCC_MASK               USB_HCSPARAMS_N_PCC_MASK
94001 #define USBHS_HCSPARAMS_N_PCC_SHIFT              USB_HCSPARAMS_N_PCC_SHIFT
94002 #define USBHS_HCSPARAMS_N_PCC(x)                 USB_HCSPARAMS_N_PCC(x)
94003 #define USBHS_HCSPARAMS_N_CC_MASK                USB_HCSPARAMS_N_CC_MASK
94004 #define USBHS_HCSPARAMS_N_CC_SHIFT               USB_HCSPARAMS_N_CC_SHIFT
94005 #define USBHS_HCSPARAMS_N_CC(x)                  USB_HCSPARAMS_N_CC(x)
94006 #define USBHS_HCSPARAMS_PI_MASK                  USB_HCSPARAMS_PI_MASK
94007 #define USBHS_HCSPARAMS_PI_SHIFT                 USB_HCSPARAMS_PI_SHIFT
94008 #define USBHS_HCSPARAMS_PI(x)                    USB_HCSPARAMS_PI(x)
94009 #define USBHS_HCSPARAMS_N_PTT_MASK               USB_HCSPARAMS_N_PTT_MASK
94010 #define USBHS_HCSPARAMS_N_PTT_SHIFT              USB_HCSPARAMS_N_PTT_SHIFT
94011 #define USBHS_HCSPARAMS_N_PTT(x)                 USB_HCSPARAMS_N_PTT(x)
94012 #define USBHS_HCSPARAMS_N_TT_MASK                USB_HCSPARAMS_N_TT_MASK
94013 #define USBHS_HCSPARAMS_N_TT_SHIFT               USB_HCSPARAMS_N_TT_SHIFT
94014 #define USBHS_HCSPARAMS_N_TT(x)                  USB_HCSPARAMS_N_TT(x)
94015 #define USBHS_HCCPARAMS_ADC_MASK                 USB_HCCPARAMS_ADC_MASK
94016 #define USBHS_HCCPARAMS_ADC_SHIFT                USB_HCCPARAMS_ADC_SHIFT
94017 #define USBHS_HCCPARAMS_ADC(x)                   USB_HCCPARAMS_ADC(x)
94018 #define USBHS_HCCPARAMS_PFL_MASK                 USB_HCCPARAMS_PFL_MASK
94019 #define USBHS_HCCPARAMS_PFL_SHIFT                USB_HCCPARAMS_PFL_SHIFT
94020 #define USBHS_HCCPARAMS_PFL(x)                   USB_HCCPARAMS_PFL(x)
94021 #define USBHS_HCCPARAMS_ASP_MASK                 USB_HCCPARAMS_ASP_MASK
94022 #define USBHS_HCCPARAMS_ASP_SHIFT                USB_HCCPARAMS_ASP_SHIFT
94023 #define USBHS_HCCPARAMS_ASP(x)                   USB_HCCPARAMS_ASP(x)
94024 #define USBHS_HCCPARAMS_IST_MASK                 USB_HCCPARAMS_IST_MASK
94025 #define USBHS_HCCPARAMS_IST_SHIFT                USB_HCCPARAMS_IST_SHIFT
94026 #define USBHS_HCCPARAMS_IST(x)                   USB_HCCPARAMS_IST(x)
94027 #define USBHS_HCCPARAMS_EECP_MASK                USB_HCCPARAMS_EECP_MASK
94028 #define USBHS_HCCPARAMS_EECP_SHIFT               USB_HCCPARAMS_EECP_SHIFT
94029 #define USBHS_HCCPARAMS_EECP(x)                  USB_HCCPARAMS_EECP(x)
94030 #define USBHS_DCIVERSION_DCIVERSION_MASK         USB_DCIVERSION_DCIVERSION_MASK
94031 #define USBHS_DCIVERSION_DCIVERSION_SHIFT        USB_DCIVERSION_DCIVERSION_SHIFT
94032 #define USBHS_DCIVERSION_DCIVERSION(x)           USB_DCIVERSION_DCIVERSION(x)
94033 #define USBHS_DCCPARAMS_DEN_MASK                 USB_DCCPARAMS_DEN_MASK
94034 #define USBHS_DCCPARAMS_DEN_SHIFT                USB_DCCPARAMS_DEN_SHIFT
94035 #define USBHS_DCCPARAMS_DEN(x)                   USB_DCCPARAMS_DEN(x)
94036 #define USBHS_DCCPARAMS_DC_MASK                  USB_DCCPARAMS_DC_MASK
94037 #define USBHS_DCCPARAMS_DC_SHIFT                 USB_DCCPARAMS_DC_SHIFT
94038 #define USBHS_DCCPARAMS_DC(x)                    USB_DCCPARAMS_DC(x)
94039 #define USBHS_DCCPARAMS_HC_MASK                  USB_DCCPARAMS_HC_MASK
94040 #define USBHS_DCCPARAMS_HC_SHIFT                 USB_DCCPARAMS_HC_SHIFT
94041 #define USBHS_DCCPARAMS_HC(x)                    USB_DCCPARAMS_HC(x)
94042 #define USBHS_USBCMD_RS_MASK                     USB_USBCMD_RS_MASK
94043 #define USBHS_USBCMD_RS_SHIFT                    USB_USBCMD_RS_SHIFT
94044 #define USBHS_USBCMD_RS(x)                       USB_USBCMD_RS(x)
94045 #define USBHS_USBCMD_RST_MASK                    USB_USBCMD_RST_MASK
94046 #define USBHS_USBCMD_RST_SHIFT                   USB_USBCMD_RST_SHIFT
94047 #define USBHS_USBCMD_RST(x)                      USB_USBCMD_RST(x)
94048 #define USBHS_USBCMD_FS_MASK                     USB_USBCMD_FS_1_MASK
94049 #define USBHS_USBCMD_FS_SHIFT                    USB_USBCMD_FS_1_SHIFT
94050 #define USBHS_USBCMD_FS(x)                       USB_USBCMD_FS_1(x)
94051 #define USBHS_USBCMD_PSE_MASK                    USB_USBCMD_PSE_MASK
94052 #define USBHS_USBCMD_PSE_SHIFT                   USB_USBCMD_PSE_SHIFT
94053 #define USBHS_USBCMD_PSE(x)                      USB_USBCMD_PSE(x)
94054 #define USBHS_USBCMD_ASE_MASK                    USB_USBCMD_ASE_MASK
94055 #define USBHS_USBCMD_ASE_SHIFT                   USB_USBCMD_ASE_SHIFT
94056 #define USBHS_USBCMD_ASE(x)                      USB_USBCMD_ASE(x)
94057 #define USBHS_USBCMD_IAA_MASK                    USB_USBCMD_IAA_MASK
94058 #define USBHS_USBCMD_IAA_SHIFT                   USB_USBCMD_IAA_SHIFT
94059 #define USBHS_USBCMD_IAA(x)                      USB_USBCMD_IAA(x)
94060 #define USBHS_USBCMD_ASP_MASK                    USB_USBCMD_ASP_MASK
94061 #define USBHS_USBCMD_ASP_SHIFT                   USB_USBCMD_ASP_SHIFT
94062 #define USBHS_USBCMD_ASP(x)                      USB_USBCMD_ASP(x)
94063 #define USBHS_USBCMD_ASPE_MASK                   USB_USBCMD_ASPE_MASK
94064 #define USBHS_USBCMD_ASPE_SHIFT                  USB_USBCMD_ASPE_SHIFT
94065 #define USBHS_USBCMD_ASPE(x)                     USB_USBCMD_ASPE(x)
94066 #define USBHS_USBCMD_ATDTW_MASK                  USB_USBCMD_ATDTW_MASK
94067 #define USBHS_USBCMD_ATDTW_SHIFT                 USB_USBCMD_ATDTW_SHIFT
94068 #define USBHS_USBCMD_ATDTW(x)                    USB_USBCMD_ATDTW(x)
94069 #define USBHS_USBCMD_SUTW_MASK                   USB_USBCMD_SUTW_MASK
94070 #define USBHS_USBCMD_SUTW_SHIFT                  USB_USBCMD_SUTW_SHIFT
94071 #define USBHS_USBCMD_SUTW(x)                     USB_USBCMD_SUTW(x)
94072 #define USBHS_USBCMD_FS2_MASK                    USB_USBCMD_FS_2_MASK
94073 #define USBHS_USBCMD_FS2_SHIFT                   USB_USBCMD_FS_2_SHIFT
94074 #define USBHS_USBCMD_FS2(x)                      USB_USBCMD_FS_2(x)
94075 #define USBHS_USBCMD_ITC_MASK                    USB_USBCMD_ITC_MASK
94076 #define USBHS_USBCMD_ITC_SHIFT                   USB_USBCMD_ITC_SHIFT
94077 #define USBHS_USBCMD_ITC(x)                      USB_USBCMD_ITC(x)
94078 #define USBHS_USBSTS_UI_MASK                     USB_USBSTS_UI_MASK
94079 #define USBHS_USBSTS_UI_SHIFT                    USB_USBSTS_UI_SHIFT
94080 #define USBHS_USBSTS_UI(x)                       USB_USBSTS_UI(x)
94081 #define USBHS_USBSTS_UEI_MASK                    USB_USBSTS_UEI_MASK
94082 #define USBHS_USBSTS_UEI_SHIFT                   USB_USBSTS_UEI_SHIFT
94083 #define USBHS_USBSTS_UEI(x)                      USB_USBSTS_UEI(x)
94084 #define USBHS_USBSTS_PCI_MASK                    USB_USBSTS_PCI_MASK
94085 #define USBHS_USBSTS_PCI_SHIFT                   USB_USBSTS_PCI_SHIFT
94086 #define USBHS_USBSTS_PCI(x)                      USB_USBSTS_PCI(x)
94087 #define USBHS_USBSTS_FRI_MASK                    USB_USBSTS_FRI_MASK
94088 #define USBHS_USBSTS_FRI_SHIFT                   USB_USBSTS_FRI_SHIFT
94089 #define USBHS_USBSTS_FRI(x)                      USB_USBSTS_FRI(x)
94090 #define USBHS_USBSTS_SEI_MASK                    USB_USBSTS_SEI_MASK
94091 #define USBHS_USBSTS_SEI_SHIFT                   USB_USBSTS_SEI_SHIFT
94092 #define USBHS_USBSTS_SEI(x)                      USB_USBSTS_SEI(x)
94093 #define USBHS_USBSTS_AAI_MASK                    USB_USBSTS_AAI_MASK
94094 #define USBHS_USBSTS_AAI_SHIFT                   USB_USBSTS_AAI_SHIFT
94095 #define USBHS_USBSTS_AAI(x)                      USB_USBSTS_AAI(x)
94096 #define USBHS_USBSTS_URI_MASK                    USB_USBSTS_URI_MASK
94097 #define USBHS_USBSTS_URI_SHIFT                   USB_USBSTS_URI_SHIFT
94098 #define USBHS_USBSTS_URI(x)                      USB_USBSTS_URI(x)
94099 #define USBHS_USBSTS_SRI_MASK                    USB_USBSTS_SRI_MASK
94100 #define USBHS_USBSTS_SRI_SHIFT                   USB_USBSTS_SRI_SHIFT
94101 #define USBHS_USBSTS_SRI(x)                      USB_USBSTS_SRI(x)
94102 #define USBHS_USBSTS_SLI_MASK                    USB_USBSTS_SLI_MASK
94103 #define USBHS_USBSTS_SLI_SHIFT                   USB_USBSTS_SLI_SHIFT
94104 #define USBHS_USBSTS_SLI(x)                      USB_USBSTS_SLI(x)
94105 #define USBHS_USBSTS_ULPII_MASK                  USB_USBSTS_ULPII_MASK
94106 #define USBHS_USBSTS_ULPII_SHIFT                 USB_USBSTS_ULPII_SHIFT
94107 #define USBHS_USBSTS_ULPII(x)                    USB_USBSTS_ULPII(x)
94108 #define USBHS_USBSTS_HCH_MASK                    USB_USBSTS_HCH_MASK
94109 #define USBHS_USBSTS_HCH_SHIFT                   USB_USBSTS_HCH_SHIFT
94110 #define USBHS_USBSTS_HCH(x)                      USB_USBSTS_HCH(x)
94111 #define USBHS_USBSTS_RCL_MASK                    USB_USBSTS_RCL_MASK
94112 #define USBHS_USBSTS_RCL_SHIFT                   USB_USBSTS_RCL_SHIFT
94113 #define USBHS_USBSTS_RCL(x)                      USB_USBSTS_RCL(x)
94114 #define USBHS_USBSTS_PS_MASK                     USB_USBSTS_PS_MASK
94115 #define USBHS_USBSTS_PS_SHIFT                    USB_USBSTS_PS_SHIFT
94116 #define USBHS_USBSTS_PS(x)                       USB_USBSTS_PS(x)
94117 #define USBHS_USBSTS_AS_MASK                     USB_USBSTS_AS_MASK
94118 #define USBHS_USBSTS_AS_SHIFT                    USB_USBSTS_AS_SHIFT
94119 #define USBHS_USBSTS_AS(x)                       USB_USBSTS_AS(x)
94120 #define USBHS_USBSTS_NAKI_MASK                   USB_USBSTS_NAKI_MASK
94121 #define USBHS_USBSTS_NAKI_SHIFT                  USB_USBSTS_NAKI_SHIFT
94122 #define USBHS_USBSTS_NAKI(x)                     USB_USBSTS_NAKI(x)
94123 #define USBHS_USBSTS_TI0_MASK                    USB_USBSTS_TI0_MASK
94124 #define USBHS_USBSTS_TI0_SHIFT                   USB_USBSTS_TI0_SHIFT
94125 #define USBHS_USBSTS_TI0(x)                      USB_USBSTS_TI0(x)
94126 #define USBHS_USBSTS_TI1_MASK                    USB_USBSTS_TI1_MASK
94127 #define USBHS_USBSTS_TI1_SHIFT                   USB_USBSTS_TI1_SHIFT
94128 #define USBHS_USBSTS_TI1(x)                      USB_USBSTS_TI1(x)
94129 #define USBHS_USBINTR_UE_MASK                    USB_USBINTR_UE_MASK
94130 #define USBHS_USBINTR_UE_SHIFT                   USB_USBINTR_UE_SHIFT
94131 #define USBHS_USBINTR_UE(x)                      USB_USBINTR_UE(x)
94132 #define USBHS_USBINTR_UEE_MASK                   USB_USBINTR_UEE_MASK
94133 #define USBHS_USBINTR_UEE_SHIFT                  USB_USBINTR_UEE_SHIFT
94134 #define USBHS_USBINTR_UEE(x)                     USB_USBINTR_UEE(x)
94135 #define USBHS_USBINTR_PCE_MASK                   USB_USBINTR_PCE_MASK
94136 #define USBHS_USBINTR_PCE_SHIFT                  USB_USBINTR_PCE_SHIFT
94137 #define USBHS_USBINTR_PCE(x)                     USB_USBINTR_PCE(x)
94138 #define USBHS_USBINTR_FRE_MASK                   USB_USBINTR_FRE_MASK
94139 #define USBHS_USBINTR_FRE_SHIFT                  USB_USBINTR_FRE_SHIFT
94140 #define USBHS_USBINTR_FRE(x)                     USB_USBINTR_FRE(x)
94141 #define USBHS_USBINTR_SEE_MASK                   USB_USBINTR_SEE_MASK
94142 #define USBHS_USBINTR_SEE_SHIFT                  USB_USBINTR_SEE_SHIFT
94143 #define USBHS_USBINTR_SEE(x)                     USB_USBINTR_SEE(x)
94144 #define USBHS_USBINTR_AAE_MASK                   USB_USBINTR_AAE_MASK
94145 #define USBHS_USBINTR_AAE_SHIFT                  USB_USBINTR_AAE_SHIFT
94146 #define USBHS_USBINTR_AAE(x)                     USB_USBINTR_AAE(x)
94147 #define USBHS_USBINTR_URE_MASK                   USB_USBINTR_URE_MASK
94148 #define USBHS_USBINTR_URE_SHIFT                  USB_USBINTR_URE_SHIFT
94149 #define USBHS_USBINTR_URE(x)                     USB_USBINTR_URE(x)
94150 #define USBHS_USBINTR_SRE_MASK                   USB_USBINTR_SRE_MASK
94151 #define USBHS_USBINTR_SRE_SHIFT                  USB_USBINTR_SRE_SHIFT
94152 #define USBHS_USBINTR_SRE(x)                     USB_USBINTR_SRE(x)
94153 #define USBHS_USBINTR_SLE_MASK                   USB_USBINTR_SLE_MASK
94154 #define USBHS_USBINTR_SLE_SHIFT                  USB_USBINTR_SLE_SHIFT
94155 #define USBHS_USBINTR_SLE(x)                     USB_USBINTR_SLE(x)
94156 #define USBHS_USBINTR_ULPIE_MASK                 USB_USBINTR_ULPIE_MASK
94157 #define USBHS_USBINTR_ULPIE_SHIFT                USB_USBINTR_ULPIE_SHIFT
94158 #define USBHS_USBINTR_ULPIE(x)                   USB_USBINTR_ULPIE(x)
94159 #define USBHS_USBINTR_NAKE_MASK                  USB_USBINTR_NAKE_MASK
94160 #define USBHS_USBINTR_NAKE_SHIFT                 USB_USBINTR_NAKE_SHIFT
94161 #define USBHS_USBINTR_NAKE(x)                    USB_USBINTR_NAKE(x)
94162 #define USBHS_USBINTR_UAIE_MASK                  USB_USBINTR_UAIE_MASK
94163 #define USBHS_USBINTR_UAIE_SHIFT                 USB_USBINTR_UAIE_SHIFT
94164 #define USBHS_USBINTR_UAIE(x)                    USB_USBINTR_UAIE(x)
94165 #define USBHS_USBINTR_UPIE_MASK                  USB_USBINTR_UPIE_MASK
94166 #define USBHS_USBINTR_UPIE_SHIFT                 USB_USBINTR_UPIE_SHIFT
94167 #define USBHS_USBINTR_UPIE(x)                    USB_USBINTR_UPIE(x)
94168 #define USBHS_USBINTR_TIE0_MASK                  USB_USBINTR_TIE0_MASK
94169 #define USBHS_USBINTR_TIE0_SHIFT                 USB_USBINTR_TIE0_SHIFT
94170 #define USBHS_USBINTR_TIE0(x)                    USB_USBINTR_TIE0(x)
94171 #define USBHS_USBINTR_TIE1_MASK                  USB_USBINTR_TIE1_MASK
94172 #define USBHS_USBINTR_TIE1_SHIFT                 USB_USBINTR_TIE1_SHIFT
94173 #define USBHS_USBINTR_TIE1(x)                    USB_USBINTR_TIE1(x)
94174 #define USBHS_FRINDEX_FRINDEX_MASK               USB_FRINDEX_FRINDEX_MASK
94175 #define USBHS_FRINDEX_FRINDEX_SHIFT              USB_FRINDEX_FRINDEX_SHIFT
94176 #define USBHS_FRINDEX_FRINDEX(x)                 USB_FRINDEX_FRINDEX(x)
94177 #define USBHS_DEVICEADDR_USBADRA_MASK            USB_DEVICEADDR_USBADRA_MASK
94178 #define USBHS_DEVICEADDR_USBADRA_SHIFT           USB_DEVICEADDR_USBADRA_SHIFT
94179 #define USBHS_DEVICEADDR_USBADRA(x)              USB_DEVICEADDR_USBADRA(x)
94180 #define USBHS_DEVICEADDR_USBADR_MASK             USB_DEVICEADDR_USBADR_MASK
94181 #define USBHS_DEVICEADDR_USBADR_SHIFT            USB_DEVICEADDR_USBADR_SHIFT
94182 #define USBHS_DEVICEADDR_USBADR(x)               USB_DEVICEADDR_USBADR(x)
94183 #define USBHS_PERIODICLISTBASE_PERBASE_MASK      USB_PERIODICLISTBASE_BASEADR_MASK
94184 #define USBHS_PERIODICLISTBASE_PERBASE_SHIFT     USB_PERIODICLISTBASE_BASEADR_SHIFT
94185 #define USBHS_PERIODICLISTBASE_PERBASE(x)        USB_PERIODICLISTBASE_BASEADR(x)
94186 #define USBHS_ASYNCLISTADDR_ASYBASE_MASK         USB_ASYNCLISTADDR_ASYBASE_MASK
94187 #define USBHS_ASYNCLISTADDR_ASYBASE_SHIFT        USB_ASYNCLISTADDR_ASYBASE_SHIFT
94188 #define USBHS_ASYNCLISTADDR_ASYBASE(x)           USB_ASYNCLISTADDR_ASYBASE(x)
94189 #define USBHS_EPLISTADDR_EPBASE_MASK             USB_ENDPTLISTADDR_EPBASE_MASK
94190 #define USBHS_EPLISTADDR_EPBASE_SHIFT            USB_ENDPTLISTADDR_EPBASE_SHIFT
94191 #define USBHS_EPLISTADDR_EPBASE(x)               USB_ENDPTLISTADDR_EPBASE(x)
94192 #define USBHS_BURSTSIZE_RXPBURST_MASK            USB_BURSTSIZE_RXPBURST_MASK
94193 #define USBHS_BURSTSIZE_RXPBURST_SHIFT           USB_BURSTSIZE_RXPBURST_SHIFT
94194 #define USBHS_BURSTSIZE_RXPBURST(x)              USB_BURSTSIZE_RXPBURST(x)
94195 #define USBHS_BURSTSIZE_TXPBURST_MASK            USB_BURSTSIZE_TXPBURST_MASK
94196 #define USBHS_BURSTSIZE_TXPBURST_SHIFT           USB_BURSTSIZE_TXPBURST_SHIFT
94197 #define USBHS_BURSTSIZE_TXPBURST(x)              USB_BURSTSIZE_TXPBURST(x)
94198 #define USBHS_TXFILLTUNING_TXSCHOH_MASK          USB_TXFILLTUNING_TXSCHOH_MASK
94199 #define USBHS_TXFILLTUNING_TXSCHOH_SHIFT         USB_TXFILLTUNING_TXSCHOH_SHIFT
94200 #define USBHS_TXFILLTUNING_TXSCHOH(x)            USB_TXFILLTUNING_TXSCHOH(x)
94201 #define USBHS_TXFILLTUNING_TXSCHHEALTH_MASK      USB_TXFILLTUNING_TXSCHHEALTH_MASK
94202 #define USBHS_TXFILLTUNING_TXSCHHEALTH_SHIFT     USB_TXFILLTUNING_TXSCHHEALTH_SHIFT
94203 #define USBHS_TXFILLTUNING_TXSCHHEALTH(x)        USB_TXFILLTUNING_TXSCHHEALTH(x)
94204 #define USBHS_TXFILLTUNING_TXFIFOTHRES_MASK      USB_TXFILLTUNING_TXFIFOTHRES_MASK
94205 #define USBHS_TXFILLTUNING_TXFIFOTHRES_SHIFT     USB_TXFILLTUNING_TXFIFOTHRES_SHIFT
94206 #define USBHS_TXFILLTUNING_TXFIFOTHRES(x)        USB_TXFILLTUNING_TXFIFOTHRES(x)
94207 #define USBHS_ENDPTNAK_EPRN_MASK                 USB_ENDPTNAK_EPRN_MASK
94208 #define USBHS_ENDPTNAK_EPRN_SHIFT                USB_ENDPTNAK_EPRN_SHIFT
94209 #define USBHS_ENDPTNAK_EPRN(x)                   USB_ENDPTNAK_EPRN(x)
94210 #define USBHS_ENDPTNAK_EPTN_MASK                 USB_ENDPTNAK_EPTN_MASK
94211 #define USBHS_ENDPTNAK_EPTN_SHIFT                USB_ENDPTNAK_EPTN_SHIFT
94212 #define USBHS_ENDPTNAK_EPTN(x)                   USB_ENDPTNAK_EPTN(x)
94213 #define USBHS_ENDPTNAKEN_EPRNE_MASK              USB_ENDPTNAKEN_EPRNE_MASK
94214 #define USBHS_ENDPTNAKEN_EPRNE_SHIFT             USB_ENDPTNAKEN_EPRNE_SHIFT
94215 #define USBHS_ENDPTNAKEN_EPRNE(x)                USB_ENDPTNAKEN_EPRNE(x)
94216 #define USBHS_ENDPTNAKEN_EPTNE_MASK              USB_ENDPTNAKEN_EPTNE_MASK
94217 #define USBHS_ENDPTNAKEN_EPTNE_SHIFT             USB_ENDPTNAKEN_EPTNE_SHIFT
94218 #define USBHS_ENDPTNAKEN_EPTNE(x)                USB_ENDPTNAKEN_EPTNE(x)
94219 #define USBHS_CONFIGFLAG_CF_MASK                 USB_CONFIGFLAG_CF_MASK
94220 #define USBHS_CONFIGFLAG_CF_SHIFT                USB_CONFIGFLAG_CF_SHIFT
94221 #define USBHS_CONFIGFLAG_CF(x)                   USB_CONFIGFLAG_CF(x)
94222 #define USBHS_PORTSC1_CCS_MASK                   USB_PORTSC1_CCS_MASK
94223 #define USBHS_PORTSC1_CCS_SHIFT                  USB_PORTSC1_CCS_SHIFT
94224 #define USBHS_PORTSC1_CCS(x)                     USB_PORTSC1_CCS(x)
94225 #define USBHS_PORTSC1_CSC_MASK                   USB_PORTSC1_CSC_MASK
94226 #define USBHS_PORTSC1_CSC_SHIFT                  USB_PORTSC1_CSC_SHIFT
94227 #define USBHS_PORTSC1_CSC(x)                     USB_PORTSC1_CSC(x)
94228 #define USBHS_PORTSC1_PE_MASK                    USB_PORTSC1_PE_MASK
94229 #define USBHS_PORTSC1_PE_SHIFT                   USB_PORTSC1_PE_SHIFT
94230 #define USBHS_PORTSC1_PE(x)                      USB_PORTSC1_PE(x)
94231 #define USBHS_PORTSC1_PEC_MASK                   USB_PORTSC1_PEC_MASK
94232 #define USBHS_PORTSC1_PEC_SHIFT                  USB_PORTSC1_PEC_SHIFT
94233 #define USBHS_PORTSC1_PEC(x)                     USB_PORTSC1_PEC(x)
94234 #define USBHS_PORTSC1_OCA_MASK                   USB_PORTSC1_OCA_MASK
94235 #define USBHS_PORTSC1_OCA_SHIFT                  USB_PORTSC1_OCA_SHIFT
94236 #define USBHS_PORTSC1_OCA(x)                     USB_PORTSC1_OCA(x)
94237 #define USBHS_PORTSC1_OCC_MASK                   USB_PORTSC1_OCC_MASK
94238 #define USBHS_PORTSC1_OCC_SHIFT                  USB_PORTSC1_OCC_SHIFT
94239 #define USBHS_PORTSC1_OCC(x)                     USB_PORTSC1_OCC(x)
94240 #define USBHS_PORTSC1_FPR_MASK                   USB_PORTSC1_FPR_MASK
94241 #define USBHS_PORTSC1_FPR_SHIFT                  USB_PORTSC1_FPR_SHIFT
94242 #define USBHS_PORTSC1_FPR(x)                     USB_PORTSC1_FPR(x)
94243 #define USBHS_PORTSC1_SUSP_MASK                  USB_PORTSC1_SUSP_MASK
94244 #define USBHS_PORTSC1_SUSP_SHIFT                 USB_PORTSC1_SUSP_SHIFT
94245 #define USBHS_PORTSC1_SUSP(x)                    USB_PORTSC1_SUSP(x)
94246 #define USBHS_PORTSC1_PR_MASK                    USB_PORTSC1_PR_MASK
94247 #define USBHS_PORTSC1_PR_SHIFT                   USB_PORTSC1_PR_SHIFT
94248 #define USBHS_PORTSC1_PR(x)                      USB_PORTSC1_PR(x)
94249 #define USBHS_PORTSC1_HSP_MASK                   USB_PORTSC1_HSP_MASK
94250 #define USBHS_PORTSC1_HSP_SHIFT                  USB_PORTSC1_HSP_SHIFT
94251 #define USBHS_PORTSC1_HSP(x)                     USB_PORTSC1_HSP(x)
94252 #define USBHS_PORTSC1_LS_MASK                    USB_PORTSC1_LS_MASK
94253 #define USBHS_PORTSC1_LS_SHIFT                   USB_PORTSC1_LS_SHIFT
94254 #define USBHS_PORTSC1_LS(x)                      USB_PORTSC1_LS(x)
94255 #define USBHS_PORTSC1_PP_MASK                    USB_PORTSC1_PP_MASK
94256 #define USBHS_PORTSC1_PP_SHIFT                   USB_PORTSC1_PP_SHIFT
94257 #define USBHS_PORTSC1_PP(x)                      USB_PORTSC1_PP(x)
94258 #define USBHS_PORTSC1_PO_MASK                    USB_PORTSC1_PO_MASK
94259 #define USBHS_PORTSC1_PO_SHIFT                   USB_PORTSC1_PO_SHIFT
94260 #define USBHS_PORTSC1_PO(x)                      USB_PORTSC1_PO(x)
94261 #define USBHS_PORTSC1_PIC_MASK                   USB_PORTSC1_PIC_MASK
94262 #define USBHS_PORTSC1_PIC_SHIFT                  USB_PORTSC1_PIC_SHIFT
94263 #define USBHS_PORTSC1_PIC(x)                     USB_PORTSC1_PIC(x)
94264 #define USBHS_PORTSC1_PTC_MASK                   USB_PORTSC1_PTC_MASK
94265 #define USBHS_PORTSC1_PTC_SHIFT                  USB_PORTSC1_PTC_SHIFT
94266 #define USBHS_PORTSC1_PTC(x)                     USB_PORTSC1_PTC(x)
94267 #define USBHS_PORTSC1_WKCN_MASK                  USB_PORTSC1_WKCN_MASK
94268 #define USBHS_PORTSC1_WKCN_SHIFT                 USB_PORTSC1_WKCN_SHIFT
94269 #define USBHS_PORTSC1_WKCN(x)                    USB_PORTSC1_WKCN(x)
94270 #define USBHS_PORTSC1_WKDS_MASK                  USB_PORTSC1_WKDC_MASK
94271 #define USBHS_PORTSC1_WKDS_SHIFT                 USB_PORTSC1_WKDC_SHIFT
94272 #define USBHS_PORTSC1_WKDS(x)                    USB_PORTSC1_WKDC(x)
94273 #define USBHS_PORTSC1_WKOC_MASK                  USB_PORTSC1_WKOC_MASK
94274 #define USBHS_PORTSC1_WKOC_SHIFT                 USB_PORTSC1_WKOC_SHIFT
94275 #define USBHS_PORTSC1_WKOC(x)                    USB_PORTSC1_WKOC(x)
94276 #define USBHS_PORTSC1_PHCD_MASK                  USB_PORTSC1_PHCD_MASK
94277 #define USBHS_PORTSC1_PHCD_SHIFT                 USB_PORTSC1_PHCD_SHIFT
94278 #define USBHS_PORTSC1_PHCD(x)                    USB_PORTSC1_PHCD(x)
94279 #define USBHS_PORTSC1_PFSC_MASK                  USB_PORTSC1_PFSC_MASK
94280 #define USBHS_PORTSC1_PFSC_SHIFT                 USB_PORTSC1_PFSC_SHIFT
94281 #define USBHS_PORTSC1_PFSC(x)                    USB_PORTSC1_PFSC(x)
94282 #define USBHS_PORTSC1_PTS2_MASK                  USB_PORTSC1_PTS_2_MASK
94283 #define USBHS_PORTSC1_PTS2_SHIFT                 USB_PORTSC1_PTS_2_SHIFT
94284 #define USBHS_PORTSC1_PTS2(x)                    USB_PORTSC1_PTS_2(x)
94285 #define USBHS_PORTSC1_PSPD_MASK                  USB_PORTSC1_PSPD_MASK
94286 #define USBHS_PORTSC1_PSPD_SHIFT                 USB_PORTSC1_PSPD_SHIFT
94287 #define USBHS_PORTSC1_PSPD(x)                    USB_PORTSC1_PSPD(x)
94288 #define USBHS_PORTSC1_PTW_MASK                   USB_PORTSC1_PTW_MASK
94289 #define USBHS_PORTSC1_PTW_SHIFT                  USB_PORTSC1_PTW_SHIFT
94290 #define USBHS_PORTSC1_PTW(x)                     USB_PORTSC1_PTW(x)
94291 #define USBHS_PORTSC1_STS_MASK                   USB_PORTSC1_STS_MASK
94292 #define USBHS_PORTSC1_STS_SHIFT                  USB_PORTSC1_STS_SHIFT
94293 #define USBHS_PORTSC1_STS(x)                     USB_PORTSC1_STS(x)
94294 #define USBHS_PORTSC1_PTS_MASK                   USB_PORTSC1_PTS_1_MASK
94295 #define USBHS_PORTSC1_PTS_SHIFT                  USB_PORTSC1_PTS_1_SHIFT
94296 #define USBHS_PORTSC1_PTS(x)                     USB_PORTSC1_PTS_1(x)
94297 #define USBHS_OTGSC_VD_MASK                      USB_OTGSC_VD_MASK
94298 #define USBHS_OTGSC_VD_SHIFT                     USB_OTGSC_VD_SHIFT
94299 #define USBHS_OTGSC_VD(x)                        USB_OTGSC_VD(x)
94300 #define USBHS_OTGSC_VC_MASK                      USB_OTGSC_VC_MASK
94301 #define USBHS_OTGSC_VC_SHIFT                     USB_OTGSC_VC_SHIFT
94302 #define USBHS_OTGSC_VC(x)                        USB_OTGSC_VC(x)
94303 #define USBHS_OTGSC_OT_MASK                      USB_OTGSC_OT_MASK
94304 #define USBHS_OTGSC_OT_SHIFT                     USB_OTGSC_OT_SHIFT
94305 #define USBHS_OTGSC_OT(x)                        USB_OTGSC_OT(x)
94306 #define USBHS_OTGSC_DP_MASK                      USB_OTGSC_DP_MASK
94307 #define USBHS_OTGSC_DP_SHIFT                     USB_OTGSC_DP_SHIFT
94308 #define USBHS_OTGSC_DP(x)                        USB_OTGSC_DP(x)
94309 #define USBHS_OTGSC_IDPU_MASK                    USB_OTGSC_IDPU_MASK
94310 #define USBHS_OTGSC_IDPU_SHIFT                   USB_OTGSC_IDPU_SHIFT
94311 #define USBHS_OTGSC_IDPU(x)                      USB_OTGSC_IDPU(x)
94312 #define USBHS_OTGSC_ID_MASK                      USB_OTGSC_ID_MASK
94313 #define USBHS_OTGSC_ID_SHIFT                     USB_OTGSC_ID_SHIFT
94314 #define USBHS_OTGSC_ID(x)                        USB_OTGSC_ID(x)
94315 #define USBHS_OTGSC_AVV_MASK                     USB_OTGSC_AVV_MASK
94316 #define USBHS_OTGSC_AVV_SHIFT                    USB_OTGSC_AVV_SHIFT
94317 #define USBHS_OTGSC_AVV(x)                       USB_OTGSC_AVV(x)
94318 #define USBHS_OTGSC_ASV_MASK                     USB_OTGSC_ASV_MASK
94319 #define USBHS_OTGSC_ASV_SHIFT                    USB_OTGSC_ASV_SHIFT
94320 #define USBHS_OTGSC_ASV(x)                       USB_OTGSC_ASV(x)
94321 #define USBHS_OTGSC_BSV_MASK                     USB_OTGSC_BSV_MASK
94322 #define USBHS_OTGSC_BSV_SHIFT                    USB_OTGSC_BSV_SHIFT
94323 #define USBHS_OTGSC_BSV(x)                       USB_OTGSC_BSV(x)
94324 #define USBHS_OTGSC_BSE_MASK                     USB_OTGSC_BSE_MASK
94325 #define USBHS_OTGSC_BSE_SHIFT                    USB_OTGSC_BSE_SHIFT
94326 #define USBHS_OTGSC_BSE(x)                       USB_OTGSC_BSE(x)
94327 #define USBHS_OTGSC_MST_MASK                     USB_OTGSC_TOG_1MS_MASK
94328 #define USBHS_OTGSC_MST_SHIFT                    USB_OTGSC_TOG_1MS_SHIFT
94329 #define USBHS_OTGSC_MST(x)                       USB_OTGSC_TOG_1MS(x)
94330 #define USBHS_OTGSC_DPS_MASK                     USB_OTGSC_DPS_MASK
94331 #define USBHS_OTGSC_DPS_SHIFT                    USB_OTGSC_DPS_SHIFT
94332 #define USBHS_OTGSC_DPS(x)                       USB_OTGSC_DPS(x)
94333 #define USBHS_OTGSC_IDIS_MASK                    USB_OTGSC_IDIS_MASK
94334 #define USBHS_OTGSC_IDIS_SHIFT                   USB_OTGSC_IDIS_SHIFT
94335 #define USBHS_OTGSC_IDIS(x)                      USB_OTGSC_IDIS(x)
94336 #define USBHS_OTGSC_AVVIS_MASK                   USB_OTGSC_AVVIS_MASK
94337 #define USBHS_OTGSC_AVVIS_SHIFT                  USB_OTGSC_AVVIS_SHIFT
94338 #define USBHS_OTGSC_AVVIS(x)                     USB_OTGSC_AVVIS(x)
94339 #define USBHS_OTGSC_ASVIS_MASK                   USB_OTGSC_ASVIS_MASK
94340 #define USBHS_OTGSC_ASVIS_SHIFT                  USB_OTGSC_ASVIS_SHIFT
94341 #define USBHS_OTGSC_ASVIS(x)                     USB_OTGSC_ASVIS(x)
94342 #define USBHS_OTGSC_BSVIS_MASK                   USB_OTGSC_BSVIS_MASK
94343 #define USBHS_OTGSC_BSVIS_SHIFT                  USB_OTGSC_BSVIS_SHIFT
94344 #define USBHS_OTGSC_BSVIS(x)                     USB_OTGSC_BSVIS(x)
94345 #define USBHS_OTGSC_BSEIS_MASK                   USB_OTGSC_BSEIS_MASK
94346 #define USBHS_OTGSC_BSEIS_SHIFT                  USB_OTGSC_BSEIS_SHIFT
94347 #define USBHS_OTGSC_BSEIS(x)                     USB_OTGSC_BSEIS(x)
94348 #define USBHS_OTGSC_MSS_MASK                     USB_OTGSC_STATUS_1MS_MASK
94349 #define USBHS_OTGSC_MSS_SHIFT                    USB_OTGSC_STATUS_1MS_SHIFT
94350 #define USBHS_OTGSC_MSS(x)                       USB_OTGSC_STATUS_1MS(x)
94351 #define USBHS_OTGSC_DPIS_MASK                    USB_OTGSC_DPIS_MASK
94352 #define USBHS_OTGSC_DPIS_SHIFT                   USB_OTGSC_DPIS_SHIFT
94353 #define USBHS_OTGSC_DPIS(x)                      USB_OTGSC_DPIS(x)
94354 #define USBHS_OTGSC_IDIE_MASK                    USB_OTGSC_IDIE_MASK
94355 #define USBHS_OTGSC_IDIE_SHIFT                   USB_OTGSC_IDIE_SHIFT
94356 #define USBHS_OTGSC_IDIE(x)                      USB_OTGSC_IDIE(x)
94357 #define USBHS_OTGSC_AVVIE_MASK                   USB_OTGSC_AVVIE_MASK
94358 #define USBHS_OTGSC_AVVIE_SHIFT                  USB_OTGSC_AVVIE_SHIFT
94359 #define USBHS_OTGSC_AVVIE(x)                     USB_OTGSC_AVVIE(x)
94360 #define USBHS_OTGSC_ASVIE_MASK                   USB_OTGSC_ASVIE_MASK
94361 #define USBHS_OTGSC_ASVIE_SHIFT                  USB_OTGSC_ASVIE_SHIFT
94362 #define USBHS_OTGSC_ASVIE(x)                     USB_OTGSC_ASVIE(x)
94363 #define USBHS_OTGSC_BSVIE_MASK                   USB_OTGSC_BSVIE_MASK
94364 #define USBHS_OTGSC_BSVIE_SHIFT                  USB_OTGSC_BSVIE_SHIFT
94365 #define USBHS_OTGSC_BSVIE(x)                     USB_OTGSC_BSVIE(x)
94366 #define USBHS_OTGSC_BSEIE_MASK                   USB_OTGSC_BSEIE_MASK
94367 #define USBHS_OTGSC_BSEIE_SHIFT                  USB_OTGSC_BSEIE_SHIFT
94368 #define USBHS_OTGSC_BSEIE(x)                     USB_OTGSC_BSEIE(x)
94369 #define USBHS_OTGSC_MSE_MASK                     USB_OTGSC_EN_1MS_MASK
94370 #define USBHS_OTGSC_MSE_SHIFT                    USB_OTGSC_EN_1MS_SHIFT
94371 #define USBHS_OTGSC_MSE(x)                       USB_OTGSC_EN_1MS(x)
94372 #define USBHS_OTGSC_DPIE_MASK                    USB_OTGSC_DPIE_MASK
94373 #define USBHS_OTGSC_DPIE_SHIFT                   USB_OTGSC_DPIE_SHIFT
94374 #define USBHS_OTGSC_DPIE(x)                      USB_OTGSC_DPIE(x)
94375 #define USBHS_USBMODE_CM_MASK                    USB_USBMODE_CM_MASK
94376 #define USBHS_USBMODE_CM_SHIFT                   USB_USBMODE_CM_SHIFT
94377 #define USBHS_USBMODE_CM(x)                      USB_USBMODE_CM(x)
94378 #define USBHS_USBMODE_ES_MASK                    USB_USBMODE_ES_MASK
94379 #define USBHS_USBMODE_ES_SHIFT                   USB_USBMODE_ES_SHIFT
94380 #define USBHS_USBMODE_ES(x)                      USB_USBMODE_ES(x)
94381 #define USBHS_USBMODE_SLOM_MASK                  USB_USBMODE_SLOM_MASK
94382 #define USBHS_USBMODE_SLOM_SHIFT                 USB_USBMODE_SLOM_SHIFT
94383 #define USBHS_USBMODE_SLOM(x)                    USB_USBMODE_SLOM(x)
94384 #define USBHS_USBMODE_SDIS_MASK                  USB_USBMODE_SDIS_MASK
94385 #define USBHS_USBMODE_SDIS_SHIFT                 USB_USBMODE_SDIS_SHIFT
94386 #define USBHS_USBMODE_SDIS(x)                    USB_USBMODE_SDIS(x)
94387 #define USBHS_EPSETUPSR_EPSETUPSTAT_MASK         USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_MASK
94388 #define USBHS_EPSETUPSR_EPSETUPSTAT_SHIFT        USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_SHIFT
94389 #define USBHS_EPSETUPSR_EPSETUPSTAT(x)           USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT(x)
94390 #define USBHS_EPPRIME_PERB_MASK                  USB_ENDPTPRIME_PERB_MASK
94391 #define USBHS_EPPRIME_PERB_SHIFT                 USB_ENDPTPRIME_PERB_SHIFT
94392 #define USBHS_EPPRIME_PERB(x)                    USB_ENDPTPRIME_PERB(x)
94393 #define USBHS_EPPRIME_PETB_MASK                  USB_ENDPTPRIME_PETB_MASK
94394 #define USBHS_EPPRIME_PETB_SHIFT                 USB_ENDPTPRIME_PETB_SHIFT
94395 #define USBHS_EPPRIME_PETB(x)                    USB_ENDPTPRIME_PETB(x)
94396 #define USBHS_EPFLUSH_FERB_MASK                  USB_ENDPTFLUSH_FERB_MASK
94397 #define USBHS_EPFLUSH_FERB_SHIFT                 USB_ENDPTFLUSH_FERB_SHIFT
94398 #define USBHS_EPFLUSH_FERB(x)                    USB_ENDPTFLUSH_FERB(x)
94399 #define USBHS_EPFLUSH_FETB_MASK                  USB_ENDPTFLUSH_FETB_MASK
94400 #define USBHS_EPFLUSH_FETB_SHIFT                 USB_ENDPTFLUSH_FETB_SHIFT
94401 #define USBHS_EPFLUSH_FETB(x)                    USB_ENDPTFLUSH_FETB(x)
94402 #define USBHS_EPSR_ERBR_MASK                     USB_ENDPTSTAT_ERBR_MASK
94403 #define USBHS_EPSR_ERBR_SHIFT                    USB_ENDPTSTAT_ERBR_SHIFT
94404 #define USBHS_EPSR_ERBR(x)                       USB_ENDPTSTAT_ERBR(x)
94405 #define USBHS_EPSR_ETBR_MASK                     USB_ENDPTSTAT_ETBR_MASK
94406 #define USBHS_EPSR_ETBR_SHIFT                    USB_ENDPTSTAT_ETBR_SHIFT
94407 #define USBHS_EPSR_ETBR(x)                       USB_ENDPTSTAT_ETBR(x)
94408 #define USBHS_EPCOMPLETE_ERCE_MASK               USB_ENDPTCOMPLETE_ERCE_MASK
94409 #define USBHS_EPCOMPLETE_ERCE_SHIFT              USB_ENDPTCOMPLETE_ERCE_SHIFT
94410 #define USBHS_EPCOMPLETE_ERCE(x)                 USB_ENDPTCOMPLETE_ERCE(x)
94411 #define USBHS_EPCOMPLETE_ETCE_MASK               USB_ENDPTCOMPLETE_ETCE_MASK
94412 #define USBHS_EPCOMPLETE_ETCE_SHIFT              USB_ENDPTCOMPLETE_ETCE_SHIFT
94413 #define USBHS_EPCOMPLETE_ETCE(x)                 USB_ENDPTCOMPLETE_ETCE(x)
94414 #define USBHS_EPCR0_RXS_MASK                     USB_ENDPTCTRL0_RXS_MASK
94415 #define USBHS_EPCR0_RXS_SHIFT                    USB_ENDPTCTRL0_RXS_SHIFT
94416 #define USBHS_EPCR0_RXS(x)                       USB_ENDPTCTRL0_RXS(x)
94417 #define USBHS_EPCR0_RXT_MASK                     USB_ENDPTCTRL0_RXT_MASK
94418 #define USBHS_EPCR0_RXT_SHIFT                    USB_ENDPTCTRL0_RXT_SHIFT
94419 #define USBHS_EPCR0_RXT(x)                       USB_ENDPTCTRL0_RXT(x)
94420 #define USBHS_EPCR0_RXE_MASK                     USB_ENDPTCTRL0_RXE_MASK
94421 #define USBHS_EPCR0_RXE_SHIFT                    USB_ENDPTCTRL0_RXE_SHIFT
94422 #define USBHS_EPCR0_RXE(x)                       USB_ENDPTCTRL0_RXE(x)
94423 #define USBHS_EPCR0_TXS_MASK                     USB_ENDPTCTRL0_TXS_MASK
94424 #define USBHS_EPCR0_TXS_SHIFT                    USB_ENDPTCTRL0_TXS_SHIFT
94425 #define USBHS_EPCR0_TXS(x)                       USB_ENDPTCTRL0_TXS(x)
94426 #define USBHS_EPCR0_TXT_MASK                     USB_ENDPTCTRL0_TXT_MASK
94427 #define USBHS_EPCR0_TXT_SHIFT                    USB_ENDPTCTRL0_TXT_SHIFT
94428 #define USBHS_EPCR0_TXT(x)                       USB_ENDPTCTRL0_TXT(x)
94429 #define USBHS_EPCR0_TXE_MASK                     USB_ENDPTCTRL0_TXE_MASK
94430 #define USBHS_EPCR0_TXE_SHIFT                    USB_ENDPTCTRL0_TXE_SHIFT
94431 #define USBHS_EPCR0_TXE(x)                       USB_ENDPTCTRL0_TXE(x)
94432 #define USBHS_EPCR_RXS_MASK                      USB_ENDPTCTRL_RXS_MASK
94433 #define USBHS_EPCR_RXS_SHIFT                     USB_ENDPTCTRL_RXS_SHIFT
94434 #define USBHS_EPCR_RXS(x)                        USB_ENDPTCTRL_RXS(x)
94435 #define USBHS_EPCR_RXD_MASK                      USB_ENDPTCTRL_RXD_MASK
94436 #define USBHS_EPCR_RXD_SHIFT                     USB_ENDPTCTRL_RXD_SHIFT
94437 #define USBHS_EPCR_RXD(x)                        USB_ENDPTCTRL_RXD(x)
94438 #define USBHS_EPCR_RXT_MASK                      USB_ENDPTCTRL_RXT_MASK
94439 #define USBHS_EPCR_RXT_SHIFT                     USB_ENDPTCTRL_RXT_SHIFT
94440 #define USBHS_EPCR_RXT(x)                        USB_ENDPTCTRL_RXT(x)
94441 #define USBHS_EPCR_RXI_MASK                      USB_ENDPTCTRL_RXI_MASK
94442 #define USBHS_EPCR_RXI_SHIFT                     USB_ENDPTCTRL_RXI_SHIFT
94443 #define USBHS_EPCR_RXI(x)                        USB_ENDPTCTRL_RXI(x)
94444 #define USBHS_EPCR_RXR_MASK                      USB_ENDPTCTRL_RXR_MASK
94445 #define USBHS_EPCR_RXR_SHIFT                     USB_ENDPTCTRL_RXR_SHIFT
94446 #define USBHS_EPCR_RXR(x)                        USB_ENDPTCTRL_RXR(x)
94447 #define USBHS_EPCR_RXE_MASK                      USB_ENDPTCTRL_RXE_MASK
94448 #define USBHS_EPCR_RXE_SHIFT                     USB_ENDPTCTRL_RXE_SHIFT
94449 #define USBHS_EPCR_RXE(x)                        USB_ENDPTCTRL_RXE(x)
94450 #define USBHS_EPCR_TXS_MASK                      USB_ENDPTCTRL_TXS_MASK
94451 #define USBHS_EPCR_TXS_SHIFT                     USB_ENDPTCTRL_TXS_SHIFT
94452 #define USBHS_EPCR_TXS(x)                        USB_ENDPTCTRL_TXS(x)
94453 #define USBHS_EPCR_TXD_MASK                      USB_ENDPTCTRL_TXD_MASK
94454 #define USBHS_EPCR_TXD_SHIFT                     USB_ENDPTCTRL_TXD_SHIFT
94455 #define USBHS_EPCR_TXD(x)                        USB_ENDPTCTRL_TXD(x)
94456 #define USBHS_EPCR_TXT_MASK                      USB_ENDPTCTRL_TXT_MASK
94457 #define USBHS_EPCR_TXT_SHIFT                     USB_ENDPTCTRL_TXT_SHIFT
94458 #define USBHS_EPCR_TXT(x)                        USB_ENDPTCTRL_TXT(x)
94459 #define USBHS_EPCR_TXI_MASK                      USB_ENDPTCTRL_TXI_MASK
94460 #define USBHS_EPCR_TXI_SHIFT                     USB_ENDPTCTRL_TXI_SHIFT
94461 #define USBHS_EPCR_TXI(x)                        USB_ENDPTCTRL_TXI(x)
94462 #define USBHS_EPCR_TXR_MASK                      USB_ENDPTCTRL_TXR_MASK
94463 #define USBHS_EPCR_TXR_SHIFT                     USB_ENDPTCTRL_TXR_SHIFT
94464 #define USBHS_EPCR_TXR(x)                        USB_ENDPTCTRL_TXR(x)
94465 #define USBHS_EPCR_TXE_MASK                      USB_ENDPTCTRL_TXE_MASK
94466 #define USBHS_EPCR_TXE_SHIFT                     USB_ENDPTCTRL_TXE_SHIFT
94467 #define USBHS_EPCR_TXE(x)                        USB_ENDPTCTRL_TXE(x)
94468 #define USBHS_EPCR_COUNT                         USB_ENDPTCTRL_COUNT
94469 #define USBHS_Type                               USB_Type
94470 #define USBHS_BASE_ADDRS                         { USB_OTG1_BASE, USB_OTG2_BASE }
94471 #define USBHS_IRQS                               { USB_OTG1_IRQn, USB_OTG2_IRQn }
94472 #define USBHS_IRQHandler                         USB_OTG1_IRQHandler
94473 
94474 
94475 /*!
94476  * @}
94477  */ /* end of group USB_Peripheral_Access_Layer */
94478 
94479 
94480 /* ----------------------------------------------------------------------------
94481    -- USBHSDCD Peripheral Access Layer
94482    ---------------------------------------------------------------------------- */
94483 
94484 /*!
94485  * @addtogroup USBHSDCD_Peripheral_Access_Layer USBHSDCD Peripheral Access Layer
94486  * @{
94487  */
94488 
94489 /** USBHSDCD - Register Layout Typedef */
94490 typedef struct {
94491   __IO uint32_t CONTROL;                           /**< Control register, offset: 0x0 */
94492   __IO uint32_t CLOCK;                             /**< Clock register, offset: 0x4 */
94493   __I  uint32_t STATUS;                            /**< Status register, offset: 0x8 */
94494   __IO uint32_t SIGNAL_OVERRIDE;                   /**< Signal Override Register, offset: 0xC */
94495   __IO uint32_t TIMER0;                            /**< TIMER0 register, offset: 0x10 */
94496   __IO uint32_t TIMER1;                            /**< TIMER1 register, offset: 0x14 */
94497   union {                                          /* offset: 0x18 */
94498     __IO uint32_t TIMER2_BC11;                       /**< TIMER2_BC11 register, offset: 0x18 */
94499     __IO uint32_t TIMER2_BC12;                       /**< TIMER2_BC12 register, offset: 0x18 */
94500   };
94501 } USBHSDCD_Type;
94502 
94503 /* ----------------------------------------------------------------------------
94504    -- USBHSDCD Register Masks
94505    ---------------------------------------------------------------------------- */
94506 
94507 /*!
94508  * @addtogroup USBHSDCD_Register_Masks USBHSDCD Register Masks
94509  * @{
94510  */
94511 
94512 /*! @name CONTROL - Control register */
94513 /*! @{ */
94514 
94515 #define USBHSDCD_CONTROL_IACK_MASK               (0x1U)
94516 #define USBHSDCD_CONTROL_IACK_SHIFT              (0U)
94517 /*! IACK - Interrupt Acknowledge
94518  *  0b0..Do not clear the interrupt.
94519  *  0b1..Clear the IF bit (interrupt flag).
94520  */
94521 #define USBHSDCD_CONTROL_IACK(x)                 (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_IACK_SHIFT)) & USBHSDCD_CONTROL_IACK_MASK)
94522 
94523 #define USBHSDCD_CONTROL_IF_MASK                 (0x100U)
94524 #define USBHSDCD_CONTROL_IF_SHIFT                (8U)
94525 /*! IF - Interrupt Flag
94526  *  0b0..No interrupt is pending.
94527  *  0b1..An interrupt is pending.
94528  */
94529 #define USBHSDCD_CONTROL_IF(x)                   (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_IF_SHIFT)) & USBHSDCD_CONTROL_IF_MASK)
94530 
94531 #define USBHSDCD_CONTROL_IE_MASK                 (0x10000U)
94532 #define USBHSDCD_CONTROL_IE_SHIFT                (16U)
94533 /*! IE - Interrupt Enable
94534  *  0b0..Disable interrupts to the system.
94535  *  0b1..Enable interrupts to the system.
94536  */
94537 #define USBHSDCD_CONTROL_IE(x)                   (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_IE_SHIFT)) & USBHSDCD_CONTROL_IE_MASK)
94538 
94539 #define USBHSDCD_CONTROL_BC12_MASK               (0x20000U)
94540 #define USBHSDCD_CONTROL_BC12_SHIFT              (17U)
94541 /*! BC12 - BC12
94542  *  0b0..Compatible with BC1.1 (default)
94543  *  0b1..Compatible with BC1.2
94544  */
94545 #define USBHSDCD_CONTROL_BC12(x)                 (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_BC12_SHIFT)) & USBHSDCD_CONTROL_BC12_MASK)
94546 
94547 #define USBHSDCD_CONTROL_START_MASK              (0x1000000U)
94548 #define USBHSDCD_CONTROL_START_SHIFT             (24U)
94549 /*! START - Start Change Detection Sequence
94550  *  0b0..Do not start the sequence. Writes of this value have no effect.
94551  *  0b1..Initiate the charger detection sequence. If the sequence is already running, writes of this value have no effect.
94552  */
94553 #define USBHSDCD_CONTROL_START(x)                (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_START_SHIFT)) & USBHSDCD_CONTROL_START_MASK)
94554 
94555 #define USBHSDCD_CONTROL_SR_MASK                 (0x2000000U)
94556 #define USBHSDCD_CONTROL_SR_SHIFT                (25U)
94557 /*! SR - Software Reset
94558  *  0b0..Do not perform a software reset.
94559  *  0b1..Perform a software reset.
94560  */
94561 #define USBHSDCD_CONTROL_SR(x)                   (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CONTROL_SR_SHIFT)) & USBHSDCD_CONTROL_SR_MASK)
94562 /*! @} */
94563 
94564 /*! @name CLOCK - Clock register */
94565 /*! @{ */
94566 
94567 #define USBHSDCD_CLOCK_CLOCK_UNIT_MASK           (0x1U)
94568 #define USBHSDCD_CLOCK_CLOCK_UNIT_SHIFT          (0U)
94569 /*! CLOCK_UNIT - Unit of Measurement Encoding for Clock Speed
94570  *  0b0..kHz Speed (between 1 kHz and 1023 kHz)
94571  *  0b1..MHz Speed (between 1 MHz and 1023 MHz)
94572  */
94573 #define USBHSDCD_CLOCK_CLOCK_UNIT(x)             (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CLOCK_CLOCK_UNIT_SHIFT)) & USBHSDCD_CLOCK_CLOCK_UNIT_MASK)
94574 
94575 #define USBHSDCD_CLOCK_CLOCK_SPEED_MASK          (0xFFCU)
94576 #define USBHSDCD_CLOCK_CLOCK_SPEED_SHIFT         (2U)
94577 /*! CLOCK_SPEED - Numerical Value of Clock Speed in Binary
94578  */
94579 #define USBHSDCD_CLOCK_CLOCK_SPEED(x)            (((uint32_t)(((uint32_t)(x)) << USBHSDCD_CLOCK_CLOCK_SPEED_SHIFT)) & USBHSDCD_CLOCK_CLOCK_SPEED_MASK)
94580 /*! @} */
94581 
94582 /*! @name STATUS - Status register */
94583 /*! @{ */
94584 
94585 #define USBHSDCD_STATUS_SEQ_RES_MASK             (0x30000U)
94586 #define USBHSDCD_STATUS_SEQ_RES_SHIFT            (16U)
94587 /*! SEQ_RES - Charger Detection Sequence Results
94588  *  0b00..No results to report.
94589  *  0b01..Attached to an SDP. Must comply with USB 2.0 by drawing only 2.5 mA (max) until connected.
94590  *  0b10..Attached to a charging port. The exact meaning depends on bit 18 (value 0: Attached to either a CDP or a
94591  *        DCP. The charger type detection has not completed. value 1: Attached to a CDP. The charger type
94592  *        detection has completed.)
94593  *  0b11..Attached to a DCP.
94594  */
94595 #define USBHSDCD_STATUS_SEQ_RES(x)               (((uint32_t)(((uint32_t)(x)) << USBHSDCD_STATUS_SEQ_RES_SHIFT)) & USBHSDCD_STATUS_SEQ_RES_MASK)
94596 
94597 #define USBHSDCD_STATUS_SEQ_STAT_MASK            (0xC0000U)
94598 #define USBHSDCD_STATUS_SEQ_STAT_SHIFT           (18U)
94599 /*! SEQ_STAT - Charger Detection Sequence Status
94600  *  0b00..The module is either not enabled, or the module is enabled but the data pins have not yet been detected.
94601  *  0b01..Data pin contact detection is complete.
94602  *  0b10..Charging port detection is complete.
94603  *  0b11..Charger type detection is complete.
94604  */
94605 #define USBHSDCD_STATUS_SEQ_STAT(x)              (((uint32_t)(((uint32_t)(x)) << USBHSDCD_STATUS_SEQ_STAT_SHIFT)) & USBHSDCD_STATUS_SEQ_STAT_MASK)
94606 
94607 #define USBHSDCD_STATUS_ERR_MASK                 (0x100000U)
94608 #define USBHSDCD_STATUS_ERR_SHIFT                (20U)
94609 /*! ERR - Error Flag
94610  *  0b0..No sequence errors.
94611  *  0b1..Error in the detection sequence. See the SEQ_STAT field to determine the phase in which the error occurred.
94612  */
94613 #define USBHSDCD_STATUS_ERR(x)                   (((uint32_t)(((uint32_t)(x)) << USBHSDCD_STATUS_ERR_SHIFT)) & USBHSDCD_STATUS_ERR_MASK)
94614 
94615 #define USBHSDCD_STATUS_TO_MASK                  (0x200000U)
94616 #define USBHSDCD_STATUS_TO_SHIFT                 (21U)
94617 /*! TO - Timeout Flag
94618  *  0b0..The detection sequence has not been running for over 1s.
94619  *  0b1..It has been over 1 s since the data pin contact was detected and debounced.
94620  */
94621 #define USBHSDCD_STATUS_TO(x)                    (((uint32_t)(((uint32_t)(x)) << USBHSDCD_STATUS_TO_SHIFT)) & USBHSDCD_STATUS_TO_MASK)
94622 
94623 #define USBHSDCD_STATUS_ACTIVE_MASK              (0x400000U)
94624 #define USBHSDCD_STATUS_ACTIVE_SHIFT             (22U)
94625 /*! ACTIVE - Active Status Indicator
94626  *  0b0..The sequence is not running.
94627  *  0b1..The sequence is running.
94628  */
94629 #define USBHSDCD_STATUS_ACTIVE(x)                (((uint32_t)(((uint32_t)(x)) << USBHSDCD_STATUS_ACTIVE_SHIFT)) & USBHSDCD_STATUS_ACTIVE_MASK)
94630 /*! @} */
94631 
94632 /*! @name SIGNAL_OVERRIDE - Signal Override Register */
94633 /*! @{ */
94634 
94635 #define USBHSDCD_SIGNAL_OVERRIDE_PS_MASK         (0x3U)
94636 #define USBHSDCD_SIGNAL_OVERRIDE_PS_SHIFT        (0U)
94637 /*! PS - Phase Selection
94638  *  0b00..No overrides. Bit field must remain at this value during normal USB data communication to prevent
94639  *        unexpected conditions on USB_DP and USB_DM pins. (Default)
94640  *  0b01..Reserved, not for customer use.
94641  *  0b10..Enables VDP_SRC voltage source for the USB_DP pin and IDM_SINK current source for the USB_DM pin.
94642  *  0b11..Reserved, not for customer use.
94643  */
94644 #define USBHSDCD_SIGNAL_OVERRIDE_PS(x)           (((uint32_t)(((uint32_t)(x)) << USBHSDCD_SIGNAL_OVERRIDE_PS_SHIFT)) & USBHSDCD_SIGNAL_OVERRIDE_PS_MASK)
94645 /*! @} */
94646 
94647 /*! @name TIMER0 - TIMER0 register */
94648 /*! @{ */
94649 
94650 #define USBHSDCD_TIMER0_TUNITCON_MASK            (0xFFFU)
94651 #define USBHSDCD_TIMER0_TUNITCON_SHIFT           (0U)
94652 /*! TUNITCON - Unit Connection Timer Elapse (in ms)
94653  */
94654 #define USBHSDCD_TIMER0_TUNITCON(x)              (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER0_TUNITCON_SHIFT)) & USBHSDCD_TIMER0_TUNITCON_MASK)
94655 
94656 #define USBHSDCD_TIMER0_TSEQ_INIT_MASK           (0x3FF0000U)
94657 #define USBHSDCD_TIMER0_TSEQ_INIT_SHIFT          (16U)
94658 /*! TSEQ_INIT - Sequence Initiation Time
94659  *  0b0000000000-0b1111111111..0ms - 1023ms
94660  */
94661 #define USBHSDCD_TIMER0_TSEQ_INIT(x)             (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER0_TSEQ_INIT_SHIFT)) & USBHSDCD_TIMER0_TSEQ_INIT_MASK)
94662 /*! @} */
94663 
94664 /*! @name TIMER1 - TIMER1 register */
94665 /*! @{ */
94666 
94667 #define USBHSDCD_TIMER1_TVDPSRC_ON_MASK          (0x3FFU)
94668 #define USBHSDCD_TIMER1_TVDPSRC_ON_SHIFT         (0U)
94669 /*! TVDPSRC_ON - Time Period Comparator Enabled
94670  *  0b0000000001-0b1111111111..1ms - 1023ms
94671  */
94672 #define USBHSDCD_TIMER1_TVDPSRC_ON(x)            (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER1_TVDPSRC_ON_SHIFT)) & USBHSDCD_TIMER1_TVDPSRC_ON_MASK)
94673 
94674 #define USBHSDCD_TIMER1_TDCD_DBNC_MASK           (0x3FF0000U)
94675 #define USBHSDCD_TIMER1_TDCD_DBNC_SHIFT          (16U)
94676 /*! TDCD_DBNC - Time Period to Debounce D+ Signal
94677  *  0b0000000001-0b1111111111..1ms - 1023ms
94678  */
94679 #define USBHSDCD_TIMER1_TDCD_DBNC(x)             (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER1_TDCD_DBNC_SHIFT)) & USBHSDCD_TIMER1_TDCD_DBNC_MASK)
94680 /*! @} */
94681 
94682 /*! @name TIMER2_BC11 - TIMER2_BC11 register */
94683 /*! @{ */
94684 
94685 #define USBHSDCD_TIMER2_BC11_CHECK_DM_MASK       (0xFU)
94686 #define USBHSDCD_TIMER2_BC11_CHECK_DM_SHIFT      (0U)
94687 /*! CHECK_DM - Time Before Check of D- Line
94688  *  0b0001-0b1111..1ms - 15ms
94689  */
94690 #define USBHSDCD_TIMER2_BC11_CHECK_DM(x)         (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER2_BC11_CHECK_DM_SHIFT)) & USBHSDCD_TIMER2_BC11_CHECK_DM_MASK)
94691 
94692 #define USBHSDCD_TIMER2_BC11_TVDPSRC_CON_MASK    (0x3FF0000U)
94693 #define USBHSDCD_TIMER2_BC11_TVDPSRC_CON_SHIFT   (16U)
94694 /*! TVDPSRC_CON - Time Period Before Enabling D+ Pullup
94695  *  0b0000000001-0b1111111111..1ms - 1023ms
94696  */
94697 #define USBHSDCD_TIMER2_BC11_TVDPSRC_CON(x)      (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER2_BC11_TVDPSRC_CON_SHIFT)) & USBHSDCD_TIMER2_BC11_TVDPSRC_CON_MASK)
94698 /*! @} */
94699 
94700 /*! @name TIMER2_BC12 - TIMER2_BC12 register */
94701 /*! @{ */
94702 
94703 #define USBHSDCD_TIMER2_BC12_TVDMSRC_ON_MASK     (0x3FFU)
94704 #define USBHSDCD_TIMER2_BC12_TVDMSRC_ON_SHIFT    (0U)
94705 /*! TVDMSRC_ON - TVDMSRC_ON
94706  *  0b0000000000-0b0000101000..0ms - 40ms
94707  */
94708 #define USBHSDCD_TIMER2_BC12_TVDMSRC_ON(x)       (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER2_BC12_TVDMSRC_ON_SHIFT)) & USBHSDCD_TIMER2_BC12_TVDMSRC_ON_MASK)
94709 
94710 #define USBHSDCD_TIMER2_BC12_TWAIT_AFTER_PRD_MASK (0x3FF0000U)
94711 #define USBHSDCD_TIMER2_BC12_TWAIT_AFTER_PRD_SHIFT (16U)
94712 /*! TWAIT_AFTER_PRD - TWAIT_AFTER_PRD
94713  *  0b0000000001-0b1111111111..1ms - 1023ms
94714  */
94715 #define USBHSDCD_TIMER2_BC12_TWAIT_AFTER_PRD(x)  (((uint32_t)(((uint32_t)(x)) << USBHSDCD_TIMER2_BC12_TWAIT_AFTER_PRD_SHIFT)) & USBHSDCD_TIMER2_BC12_TWAIT_AFTER_PRD_MASK)
94716 /*! @} */
94717 
94718 
94719 /*!
94720  * @}
94721  */ /* end of group USBHSDCD_Register_Masks */
94722 
94723 
94724 /* USBHSDCD - Peripheral instance base addresses */
94725 /** Peripheral USBHSDCD1 base address */
94726 #define USBHSDCD1_BASE                           (0x40434800u)
94727 /** Peripheral USBHSDCD1 base pointer */
94728 #define USBHSDCD1                                ((USBHSDCD_Type *)USBHSDCD1_BASE)
94729 /** Peripheral USBHSDCD2 base address */
94730 #define USBHSDCD2_BASE                           (0x40438800u)
94731 /** Peripheral USBHSDCD2 base pointer */
94732 #define USBHSDCD2                                ((USBHSDCD_Type *)USBHSDCD2_BASE)
94733 /** Array initializer of USBHSDCD peripheral base addresses */
94734 #define USBHSDCD_BASE_ADDRS                      { 0u, USBHSDCD1_BASE, USBHSDCD2_BASE }
94735 /** Array initializer of USBHSDCD peripheral base pointers */
94736 #define USBHSDCD_BASE_PTRS                       { (USBHSDCD_Type *)0u, USBHSDCD1, USBHSDCD2 }
94737 
94738 /*!
94739  * @}
94740  */ /* end of group USBHSDCD_Peripheral_Access_Layer */
94741 
94742 
94743 /* ----------------------------------------------------------------------------
94744    -- USBNC Peripheral Access Layer
94745    ---------------------------------------------------------------------------- */
94746 
94747 /*!
94748  * @addtogroup USBNC_Peripheral_Access_Layer USBNC Peripheral Access Layer
94749  * @{
94750  */
94751 
94752 /** USBNC - Register Layout Typedef */
94753 typedef struct {
94754   __IO uint32_t CTRL1;                             /**< USB OTG Control 1 Register, offset: 0x0 */
94755   __IO uint32_t CTRL2;                             /**< USB OTG Control 2 Register, offset: 0x4 */
94756        uint8_t RESERVED_0[8];
94757   __IO uint32_t HSIC_CTRL;                         /**< USB Host HSIC Control Register, offset: 0x10 */
94758 } USBNC_Type;
94759 
94760 /* ----------------------------------------------------------------------------
94761    -- USBNC Register Masks
94762    ---------------------------------------------------------------------------- */
94763 
94764 /*!
94765  * @addtogroup USBNC_Register_Masks USBNC Register Masks
94766  * @{
94767  */
94768 
94769 /*! @name CTRL1 - USB OTG Control 1 Register */
94770 /*! @{ */
94771 
94772 #define USBNC_CTRL1_OVER_CUR_DIS_MASK            (0x80U)
94773 #define USBNC_CTRL1_OVER_CUR_DIS_SHIFT           (7U)
94774 /*! OVER_CUR_DIS - OVER_CUR_DIS
94775  *  0b1..Disables overcurrent detection
94776  *  0b0..Enables overcurrent detection
94777  */
94778 #define USBNC_CTRL1_OVER_CUR_DIS(x)              (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_DIS_SHIFT)) & USBNC_CTRL1_OVER_CUR_DIS_MASK)
94779 
94780 #define USBNC_CTRL1_OVER_CUR_POL_MASK            (0x100U)
94781 #define USBNC_CTRL1_OVER_CUR_POL_SHIFT           (8U)
94782 /*! OVER_CUR_POL - OVER_CUR_POL
94783  *  0b1..Low active (low on this signal represents an overcurrent condition)
94784  *  0b0..High active (high on this signal represents an overcurrent condition)
94785  */
94786 #define USBNC_CTRL1_OVER_CUR_POL(x)              (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_POL_SHIFT)) & USBNC_CTRL1_OVER_CUR_POL_MASK)
94787 
94788 #define USBNC_CTRL1_PWR_POL_MASK                 (0x200U)
94789 #define USBNC_CTRL1_PWR_POL_SHIFT                (9U)
94790 /*! PWR_POL - PWR_POL
94791  *  0b1..PMIC Power Pin is High active.
94792  *  0b0..PMIC Power Pin is Low active.
94793  */
94794 #define USBNC_CTRL1_PWR_POL(x)                   (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_PWR_POL_SHIFT)) & USBNC_CTRL1_PWR_POL_MASK)
94795 
94796 #define USBNC_CTRL1_WIE_MASK                     (0x400U)
94797 #define USBNC_CTRL1_WIE_SHIFT                    (10U)
94798 /*! WIE - WIE
94799  *  0b1..Interrupt Enabled
94800  *  0b0..Interrupt Disabled
94801  */
94802 #define USBNC_CTRL1_WIE(x)                       (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIE_SHIFT)) & USBNC_CTRL1_WIE_MASK)
94803 
94804 #define USBNC_CTRL1_WKUP_SW_EN_MASK              (0x4000U)
94805 #define USBNC_CTRL1_WKUP_SW_EN_SHIFT             (14U)
94806 /*! WKUP_SW_EN - WKUP_SW_EN
94807  *  0b1..Enable
94808  *  0b0..Disable
94809  */
94810 #define USBNC_CTRL1_WKUP_SW_EN(x)                (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_EN_SHIFT)) & USBNC_CTRL1_WKUP_SW_EN_MASK)
94811 
94812 #define USBNC_CTRL1_WKUP_SW_MASK                 (0x8000U)
94813 #define USBNC_CTRL1_WKUP_SW_SHIFT                (15U)
94814 /*! WKUP_SW - WKUP_SW
94815  *  0b1..Force wake-up
94816  *  0b0..Inactive
94817  */
94818 #define USBNC_CTRL1_WKUP_SW(x)                   (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_SHIFT)) & USBNC_CTRL1_WKUP_SW_MASK)
94819 
94820 #define USBNC_CTRL1_WKUP_ID_EN_MASK              (0x10000U)
94821 #define USBNC_CTRL1_WKUP_ID_EN_SHIFT             (16U)
94822 /*! WKUP_ID_EN - WKUP_ID_EN
94823  *  0b1..Enable
94824  *  0b0..Disable
94825  */
94826 #define USBNC_CTRL1_WKUP_ID_EN(x)                (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_ID_EN_SHIFT)) & USBNC_CTRL1_WKUP_ID_EN_MASK)
94827 
94828 #define USBNC_CTRL1_WKUP_VBUS_EN_MASK            (0x20000U)
94829 #define USBNC_CTRL1_WKUP_VBUS_EN_SHIFT           (17U)
94830 /*! WKUP_VBUS_EN - WKUP_VBUS_EN
94831  *  0b1..Enable
94832  *  0b0..Disable
94833  */
94834 #define USBNC_CTRL1_WKUP_VBUS_EN(x)              (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_VBUS_EN_SHIFT)) & USBNC_CTRL1_WKUP_VBUS_EN_MASK)
94835 
94836 #define USBNC_CTRL1_WKUP_DPDM_EN_MASK            (0x20000000U)
94837 #define USBNC_CTRL1_WKUP_DPDM_EN_SHIFT           (29U)
94838 /*! WKUP_DPDM_EN - Wake-up on DPDM change enable
94839  *  0b1..(Default) DPDM changes wake-up to be enabled, it is for device only.
94840  *  0b0..DPDM changes wake-up to be disabled only when VBUS is 0.
94841  */
94842 #define USBNC_CTRL1_WKUP_DPDM_EN(x)              (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_DPDM_EN_SHIFT)) & USBNC_CTRL1_WKUP_DPDM_EN_MASK)
94843 
94844 #define USBNC_CTRL1_WIR_MASK                     (0x80000000U)
94845 #define USBNC_CTRL1_WIR_SHIFT                    (31U)
94846 /*! WIR - WIR
94847  *  0b1..Wake-up Interrupt Request received
94848  *  0b0..No wake-up interrupt request received
94849  */
94850 #define USBNC_CTRL1_WIR(x)                       (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIR_SHIFT)) & USBNC_CTRL1_WIR_MASK)
94851 /*! @} */
94852 
94853 /*! @name CTRL2 - USB OTG Control 2 Register */
94854 /*! @{ */
94855 
94856 #define USBNC_CTRL2_VBUS_SOURCE_SEL_MASK         (0x3U)
94857 #define USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT        (0U)
94858 /*! VBUS_SOURCE_SEL - VBUS_SOURCE_SEL
94859  *  0b00..vbus_valid
94860  *  0b01..sess_valid
94861  *  0b10..sess_valid
94862  *  0b11..sess_valid
94863  */
94864 #define USBNC_CTRL2_VBUS_SOURCE_SEL(x)           (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT)) & USBNC_CTRL2_VBUS_SOURCE_SEL_MASK)
94865 
94866 #define USBNC_CTRL2_AUTURESUME_EN_MASK           (0x4U)
94867 #define USBNC_CTRL2_AUTURESUME_EN_SHIFT          (2U)
94868 /*! AUTURESUME_EN - Auto Resume Enable
94869  *  0b0..Default
94870  */
94871 #define USBNC_CTRL2_AUTURESUME_EN(x)             (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_AUTURESUME_EN_SHIFT)) & USBNC_CTRL2_AUTURESUME_EN_MASK)
94872 
94873 #define USBNC_CTRL2_LOWSPEED_EN_MASK             (0x8U)
94874 #define USBNC_CTRL2_LOWSPEED_EN_SHIFT            (3U)
94875 /*! LOWSPEED_EN - LOWSPEED_EN
94876  *  0b0..Default
94877  */
94878 #define USBNC_CTRL2_LOWSPEED_EN(x)               (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_LOWSPEED_EN_SHIFT)) & USBNC_CTRL2_LOWSPEED_EN_MASK)
94879 
94880 #define USBNC_CTRL2_UTMI_CLK_VLD_MASK            (0x80000000U)
94881 #define USBNC_CTRL2_UTMI_CLK_VLD_SHIFT           (31U)
94882 /*! UTMI_CLK_VLD - UTMI_CLK_VLD
94883  *  0b0..Default
94884  */
94885 #define USBNC_CTRL2_UTMI_CLK_VLD(x)              (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_UTMI_CLK_VLD_SHIFT)) & USBNC_CTRL2_UTMI_CLK_VLD_MASK)
94886 /*! @} */
94887 
94888 /*! @name HSIC_CTRL - USB Host HSIC Control Register */
94889 /*! @{ */
94890 
94891 #define USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK         (0x800U)
94892 #define USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT        (11U)
94893 /*! HSIC_CLK_ON - HSIC_CLK_ON
94894  *  0b1..Active
94895  *  0b0..Inactive
94896  */
94897 #define USBNC_HSIC_CTRL_HSIC_CLK_ON(x)           (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT)) & USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK)
94898 
94899 #define USBNC_HSIC_CTRL_HSIC_EN_MASK             (0x1000U)
94900 #define USBNC_HSIC_CTRL_HSIC_EN_SHIFT            (12U)
94901 /*! HSIC_EN - HSIC_EN
94902  *  0b1..Enabled
94903  *  0b0..Disabled
94904  */
94905 #define USBNC_HSIC_CTRL_HSIC_EN(x)               (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_EN_SHIFT)) & USBNC_HSIC_CTRL_HSIC_EN_MASK)
94906 
94907 #define USBNC_HSIC_CTRL_CLK_VLD_MASK             (0x80000000U)
94908 #define USBNC_HSIC_CTRL_CLK_VLD_SHIFT            (31U)
94909 /*! CLK_VLD - CLK_VLD
94910  *  0b1..Valid
94911  *  0b0..Invalid
94912  */
94913 #define USBNC_HSIC_CTRL_CLK_VLD(x)               (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_CLK_VLD_SHIFT)) & USBNC_HSIC_CTRL_CLK_VLD_MASK)
94914 /*! @} */
94915 
94916 
94917 /*!
94918  * @}
94919  */ /* end of group USBNC_Register_Masks */
94920 
94921 
94922 /* USBNC - Peripheral instance base addresses */
94923 /** Peripheral USBNC_OTG1 base address */
94924 #define USBNC_OTG1_BASE                          (0x40430200u)
94925 /** Peripheral USBNC_OTG1 base pointer */
94926 #define USBNC_OTG1                               ((USBNC_Type *)USBNC_OTG1_BASE)
94927 /** Peripheral USBNC_OTG2 base address */
94928 #define USBNC_OTG2_BASE                          (0x4042C200u)
94929 /** Peripheral USBNC_OTG2 base pointer */
94930 #define USBNC_OTG2                               ((USBNC_Type *)USBNC_OTG2_BASE)
94931 /** Array initializer of USBNC peripheral base addresses */
94932 #define USBNC_BASE_ADDRS                         { 0u, USBNC_OTG1_BASE, USBNC_OTG2_BASE }
94933 /** Array initializer of USBNC peripheral base pointers */
94934 #define USBNC_BASE_PTRS                          { (USBNC_Type *)0u, USBNC_OTG1, USBNC_OTG2 }
94935 /* Backward compatibility */
94936 #define USB_OTGn_CTRL     CTRL1
94937 #define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK     USBNC_CTRL1_OVER_CUR_DIS_MASK
94938 #define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT     USBNC_CTRL1_OVER_CUR_DIS_SHIFT
94939 #define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS(x)     USBNC_CTRL1_OVER_CUR_DIS(x)
94940 #define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK     USBNC_CTRL1_OVER_CUR_POL_MASK
94941 #define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT     USBNC_CTRL1_OVER_CUR_POL_SHIFT
94942 #define USBNC_USB_OTGn_CTRL_OVER_CUR_POL(x)     USBNC_CTRL1_OVER_CUR_POL(x)
94943 #define USBNC_USB_OTGn_CTRL_PWR_POL_MASK     USBNC_CTRL1_PWR_POL_MASK
94944 #define USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT     USBNC_CTRL1_PWR_POL_SHIFT
94945 #define USBNC_USB_OTGn_CTRL_PWR_POL(x)     USBNC_CTRL1_PWR_POL(x)
94946 #define USBNC_USB_OTGn_CTRL_WIE_MASK     USBNC_CTRL1_WIE_MASK
94947 #define USBNC_USB_OTGn_CTRL_WIE_SHIFT     USBNC_CTRL1_WIE_SHIFT
94948 #define USBNC_USB_OTGn_CTRL_WIE(x)     USBNC_CTRL1_WIE(x)
94949 #define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK     USBNC_CTRL1_WKUP_SW_EN_MASK
94950 #define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT     USBNC_CTRL1_WKUP_SW_EN_SHIFT
94951 #define USBNC_USB_OTGn_CTRL_WKUP_SW_EN(x)     USBNC_CTRL1_WKUP_SW_EN(x)
94952 #define USBNC_USB_OTGn_CTRL_WKUP_SW_MASK     USBNC_CTRL1_WKUP_SW_MASK
94953 #define USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT     USBNC_CTRL1_WKUP_SW_SHIFT
94954 #define USBNC_USB_OTGn_CTRL_WKUP_SW(x)     USBNC_CTRL1_WKUP_SW(x)
94955 #define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK     USBNC_CTRL1_WKUP_ID_EN_MASK
94956 #define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT     USBNC_CTRL1_WKUP_ID_EN_SHIFT
94957 #define USBNC_USB_OTGn_CTRL_WKUP_ID_EN(x)     USBNC_CTRL1_WKUP_ID_EN(x)
94958 #define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK     USBNC_CTRL1_WKUP_VBUS_EN_MASK
94959 #define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT     USBNC_CTRL1_WKUP_VBUS_EN_SHIFT
94960 #define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN(x)     USBNC_CTRL1_WKUP_VBUS_EN(x)
94961 #define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK     USBNC_CTRL1_WKUP_DPDM_EN_MASK
94962 #define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT     USBNC_CTRL1_WKUP_DPDM_EN_SHIFT
94963 #define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN(x)     USBNC_CTRL1_WKUP_DPDM_EN(x)
94964 #define USBNC_USB_OTGn_CTRL_WIR_MASK     USBNC_CTRL1_WIR_MASK
94965 #define USBNC_USB_OTGn_CTRL_WIR_SHIFT     USBNC_CTRL1_WIR_SHIFT
94966 #define USBNC_USB_OTGn_CTRL_WIR(x)     USBNC_CTRL1_WIR(x)
94967 
94968 
94969 /*!
94970  * @}
94971  */ /* end of group USBNC_Peripheral_Access_Layer */
94972 
94973 
94974 /* ----------------------------------------------------------------------------
94975    -- USBPHY Peripheral Access Layer
94976    ---------------------------------------------------------------------------- */
94977 
94978 /*!
94979  * @addtogroup USBPHY_Peripheral_Access_Layer USBPHY Peripheral Access Layer
94980  * @{
94981  */
94982 
94983 /** USBPHY - Register Layout Typedef */
94984 typedef struct {
94985   __IO uint32_t PWD;                               /**< USB PHY Power-Down Register, offset: 0x0 */
94986   __IO uint32_t PWD_SET;                           /**< USB PHY Power-Down Register, offset: 0x4 */
94987   __IO uint32_t PWD_CLR;                           /**< USB PHY Power-Down Register, offset: 0x8 */
94988   __IO uint32_t PWD_TOG;                           /**< USB PHY Power-Down Register, offset: 0xC */
94989   __IO uint32_t TX;                                /**< USB PHY Transmitter Control Register, offset: 0x10 */
94990   __IO uint32_t TX_SET;                            /**< USB PHY Transmitter Control Register, offset: 0x14 */
94991   __IO uint32_t TX_CLR;                            /**< USB PHY Transmitter Control Register, offset: 0x18 */
94992   __IO uint32_t TX_TOG;                            /**< USB PHY Transmitter Control Register, offset: 0x1C */
94993   __IO uint32_t RX;                                /**< USB PHY Receiver Control Register, offset: 0x20 */
94994   __IO uint32_t RX_SET;                            /**< USB PHY Receiver Control Register, offset: 0x24 */
94995   __IO uint32_t RX_CLR;                            /**< USB PHY Receiver Control Register, offset: 0x28 */
94996   __IO uint32_t RX_TOG;                            /**< USB PHY Receiver Control Register, offset: 0x2C */
94997   __IO uint32_t CTRL;                              /**< USB PHY General Control Register, offset: 0x30 */
94998   __IO uint32_t CTRL_SET;                          /**< USB PHY General Control Register, offset: 0x34 */
94999   __IO uint32_t CTRL_CLR;                          /**< USB PHY General Control Register, offset: 0x38 */
95000   __IO uint32_t CTRL_TOG;                          /**< USB PHY General Control Register, offset: 0x3C */
95001   __IO uint32_t STATUS;                            /**< USB PHY Status Register, offset: 0x40 */
95002        uint8_t RESERVED_0[12];
95003   __IO uint32_t DEBUGr;                            /**< USB PHY Debug Register, offset: 0x50 */
95004   __IO uint32_t DEBUG_SET;                         /**< USB PHY Debug Register, offset: 0x54 */
95005   __IO uint32_t DEBUG_CLR;                         /**< USB PHY Debug Register, offset: 0x58 */
95006   __IO uint32_t DEBUG_TOG;                         /**< USB PHY Debug Register, offset: 0x5C */
95007   __I  uint32_t DEBUG0_STATUS;                     /**< UTMI Debug Status Register 0, offset: 0x60 */
95008        uint8_t RESERVED_1[12];
95009   __IO uint32_t DEBUG1;                            /**< UTMI Debug Status Register 1, offset: 0x70 */
95010   __IO uint32_t DEBUG1_SET;                        /**< UTMI Debug Status Register 1, offset: 0x74 */
95011   __IO uint32_t DEBUG1_CLR;                        /**< UTMI Debug Status Register 1, offset: 0x78 */
95012   __IO uint32_t DEBUG1_TOG;                        /**< UTMI Debug Status Register 1, offset: 0x7C */
95013   __I  uint32_t VERSION;                           /**< UTMI RTL Version, offset: 0x80 */
95014        uint8_t RESERVED_2[28];
95015   __IO uint32_t PLL_SIC;                           /**< USB PHY PLL Control/Status Register, offset: 0xA0 */
95016   __IO uint32_t PLL_SIC_SET;                       /**< USB PHY PLL Control/Status Register, offset: 0xA4 */
95017   __IO uint32_t PLL_SIC_CLR;                       /**< USB PHY PLL Control/Status Register, offset: 0xA8 */
95018   __IO uint32_t PLL_SIC_TOG;                       /**< USB PHY PLL Control/Status Register, offset: 0xAC */
95019        uint8_t RESERVED_3[16];
95020   __IO uint32_t USB1_VBUS_DETECT;                  /**< USB PHY VBUS Detect Control Register, offset: 0xC0 */
95021   __IO uint32_t USB1_VBUS_DETECT_SET;              /**< USB PHY VBUS Detect Control Register, offset: 0xC4 */
95022   __IO uint32_t USB1_VBUS_DETECT_CLR;              /**< USB PHY VBUS Detect Control Register, offset: 0xC8 */
95023   __IO uint32_t USB1_VBUS_DETECT_TOG;              /**< USB PHY VBUS Detect Control Register, offset: 0xCC */
95024   __I  uint32_t USB1_VBUS_DET_STAT;                /**< USB PHY VBUS Detector Status Register, offset: 0xD0 */
95025        uint8_t RESERVED_4[12];
95026   __IO uint32_t USB1_CHRG_DETECT;                  /**< USB PHY Charger Detect Control Register, offset: 0xE0 */
95027   __IO uint32_t USB1_CHRG_DETECT_SET;              /**< USB PHY Charger Detect Control Register, offset: 0xE4 */
95028   __IO uint32_t USB1_CHRG_DETECT_CLR;              /**< USB PHY Charger Detect Control Register, offset: 0xE8 */
95029   __IO uint32_t USB1_CHRG_DETECT_TOG;              /**< USB PHY Charger Detect Control Register, offset: 0xEC */
95030   __I  uint32_t USB1_CHRG_DET_STAT;                /**< USB PHY Charger Detect Status Register, offset: 0xF0 */
95031        uint8_t RESERVED_5[12];
95032   __IO uint32_t ANACTRL;                           /**< USB PHY Analog Control Register, offset: 0x100 */
95033   __IO uint32_t ANACTRL_SET;                       /**< USB PHY Analog Control Register, offset: 0x104 */
95034   __IO uint32_t ANACTRL_CLR;                       /**< USB PHY Analog Control Register, offset: 0x108 */
95035   __IO uint32_t ANACTRL_TOG;                       /**< USB PHY Analog Control Register, offset: 0x10C */
95036   __IO uint32_t USB1_LOOPBACK;                     /**< USB PHY Loopback Control/Status Register, offset: 0x110 */
95037   __IO uint32_t USB1_LOOPBACK_SET;                 /**< USB PHY Loopback Control/Status Register, offset: 0x114 */
95038   __IO uint32_t USB1_LOOPBACK_CLR;                 /**< USB PHY Loopback Control/Status Register, offset: 0x118 */
95039   __IO uint32_t USB1_LOOPBACK_TOG;                 /**< USB PHY Loopback Control/Status Register, offset: 0x11C */
95040   __IO uint32_t USB1_LOOPBACK_HSFSCNT;             /**< USB PHY Loopback Packet Number Select Register, offset: 0x120 */
95041   __IO uint32_t USB1_LOOPBACK_HSFSCNT_SET;         /**< USB PHY Loopback Packet Number Select Register, offset: 0x124 */
95042   __IO uint32_t USB1_LOOPBACK_HSFSCNT_CLR;         /**< USB PHY Loopback Packet Number Select Register, offset: 0x128 */
95043   __IO uint32_t USB1_LOOPBACK_HSFSCNT_TOG;         /**< USB PHY Loopback Packet Number Select Register, offset: 0x12C */
95044   __IO uint32_t TRIM_OVERRIDE_EN;                  /**< USB PHY Trim Override Enable Register, offset: 0x130 */
95045   __IO uint32_t TRIM_OVERRIDE_EN_SET;              /**< USB PHY Trim Override Enable Register, offset: 0x134 */
95046   __IO uint32_t TRIM_OVERRIDE_EN_CLR;              /**< USB PHY Trim Override Enable Register, offset: 0x138 */
95047   __IO uint32_t TRIM_OVERRIDE_EN_TOG;              /**< USB PHY Trim Override Enable Register, offset: 0x13C */
95048 } USBPHY_Type;
95049 
95050 /* ----------------------------------------------------------------------------
95051    -- USBPHY Register Masks
95052    ---------------------------------------------------------------------------- */
95053 
95054 /*!
95055  * @addtogroup USBPHY_Register_Masks USBPHY Register Masks
95056  * @{
95057  */
95058 
95059 /*! @name PWD - USB PHY Power-Down Register */
95060 /*! @{ */
95061 
95062 #define USBPHY_PWD_TXPWDFS_MASK                  (0x400U)
95063 #define USBPHY_PWD_TXPWDFS_SHIFT                 (10U)
95064 /*! TXPWDFS - TXPWDFS
95065  *  0b0..Normal operation.
95066  *  0b1..Power-down the USB full-speed drivers. This turns off the current starvation sources and puts the drivers into high-impedance output
95067  */
95068 #define USBPHY_PWD_TXPWDFS(x)                    (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TXPWDFS_SHIFT)) & USBPHY_PWD_TXPWDFS_MASK)
95069 
95070 #define USBPHY_PWD_TXPWDIBIAS_MASK               (0x800U)
95071 #define USBPHY_PWD_TXPWDIBIAS_SHIFT              (11U)
95072 /*! TXPWDIBIAS - TXPWDIBIAS
95073  *  0b0..Normal operation
95074  *  0b1..Power-down the USB PHY current bias block for the transmitter. This bit should be set only when the USB
95075  *       is in suspend mode. This effectively powers down the entire USB transmit path
95076  */
95077 #define USBPHY_PWD_TXPWDIBIAS(x)                 (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TXPWDIBIAS_SHIFT)) & USBPHY_PWD_TXPWDIBIAS_MASK)
95078 
95079 #define USBPHY_PWD_TXPWDV2I_MASK                 (0x1000U)
95080 #define USBPHY_PWD_TXPWDV2I_SHIFT                (12U)
95081 /*! TXPWDV2I - TXPWDV2I
95082  *  0b0..Normal operation.
95083  *  0b1..Power-down the USB PHY transmit V-to-I converter and the current mirror
95084  */
95085 #define USBPHY_PWD_TXPWDV2I(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TXPWDV2I_SHIFT)) & USBPHY_PWD_TXPWDV2I_MASK)
95086 
95087 #define USBPHY_PWD_RXPWDENV_MASK                 (0x20000U)
95088 #define USBPHY_PWD_RXPWDENV_SHIFT                (17U)
95089 /*! RXPWDENV - RXPWDENV
95090  *  0b0..Normal operation.
95091  *  0b1..Power-down the USB high-speed receiver envelope detector (squelch signal)
95092  */
95093 #define USBPHY_PWD_RXPWDENV(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_RXPWDENV_SHIFT)) & USBPHY_PWD_RXPWDENV_MASK)
95094 
95095 #define USBPHY_PWD_RXPWD1PT1_MASK                (0x40000U)
95096 #define USBPHY_PWD_RXPWD1PT1_SHIFT               (18U)
95097 /*! RXPWD1PT1 - RXPWD1PT1
95098  *  0b0..Normal operation
95099  *  0b1..Power-down the USB full-speed differential receiver.
95100  */
95101 #define USBPHY_PWD_RXPWD1PT1(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_RXPWD1PT1_SHIFT)) & USBPHY_PWD_RXPWD1PT1_MASK)
95102 
95103 #define USBPHY_PWD_RXPWDDIFF_MASK                (0x80000U)
95104 #define USBPHY_PWD_RXPWDDIFF_SHIFT               (19U)
95105 /*! RXPWDDIFF - RXPWDDIFF
95106  *  0b0..Normal operation.
95107  *  0b1..Power-down the USB high-speed differential receiver
95108  */
95109 #define USBPHY_PWD_RXPWDDIFF(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_RXPWDDIFF_SHIFT)) & USBPHY_PWD_RXPWDDIFF_MASK)
95110 
95111 #define USBPHY_PWD_RXPWDRX_MASK                  (0x100000U)
95112 #define USBPHY_PWD_RXPWDRX_SHIFT                 (20U)
95113 /*! RXPWDRX - RXPWDRX
95114  *  0b0..Normal operation
95115  *  0b1..Power-down the entire USB PHY receiver block except for the full-speed differential receiver
95116  */
95117 #define USBPHY_PWD_RXPWDRX(x)                    (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_RXPWDRX_SHIFT)) & USBPHY_PWD_RXPWDRX_MASK)
95118 /*! @} */
95119 
95120 /*! @name PWD_SET - USB PHY Power-Down Register */
95121 /*! @{ */
95122 
95123 #define USBPHY_PWD_SET_TXPWDFS_MASK              (0x400U)
95124 #define USBPHY_PWD_SET_TXPWDFS_SHIFT             (10U)
95125 /*! TXPWDFS - TXPWDFS
95126  */
95127 #define USBPHY_PWD_SET_TXPWDFS(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_TXPWDFS_SHIFT)) & USBPHY_PWD_SET_TXPWDFS_MASK)
95128 
95129 #define USBPHY_PWD_SET_TXPWDIBIAS_MASK           (0x800U)
95130 #define USBPHY_PWD_SET_TXPWDIBIAS_SHIFT          (11U)
95131 /*! TXPWDIBIAS - TXPWDIBIAS
95132  */
95133 #define USBPHY_PWD_SET_TXPWDIBIAS(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_TXPWDIBIAS_SHIFT)) & USBPHY_PWD_SET_TXPWDIBIAS_MASK)
95134 
95135 #define USBPHY_PWD_SET_TXPWDV2I_MASK             (0x1000U)
95136 #define USBPHY_PWD_SET_TXPWDV2I_SHIFT            (12U)
95137 /*! TXPWDV2I - TXPWDV2I
95138  */
95139 #define USBPHY_PWD_SET_TXPWDV2I(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_TXPWDV2I_SHIFT)) & USBPHY_PWD_SET_TXPWDV2I_MASK)
95140 
95141 #define USBPHY_PWD_SET_RXPWDENV_MASK             (0x20000U)
95142 #define USBPHY_PWD_SET_RXPWDENV_SHIFT            (17U)
95143 /*! RXPWDENV - RXPWDENV
95144  */
95145 #define USBPHY_PWD_SET_RXPWDENV(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_RXPWDENV_SHIFT)) & USBPHY_PWD_SET_RXPWDENV_MASK)
95146 
95147 #define USBPHY_PWD_SET_RXPWD1PT1_MASK            (0x40000U)
95148 #define USBPHY_PWD_SET_RXPWD1PT1_SHIFT           (18U)
95149 /*! RXPWD1PT1 - RXPWD1PT1
95150  */
95151 #define USBPHY_PWD_SET_RXPWD1PT1(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_RXPWD1PT1_SHIFT)) & USBPHY_PWD_SET_RXPWD1PT1_MASK)
95152 
95153 #define USBPHY_PWD_SET_RXPWDDIFF_MASK            (0x80000U)
95154 #define USBPHY_PWD_SET_RXPWDDIFF_SHIFT           (19U)
95155 /*! RXPWDDIFF - RXPWDDIFF
95156  */
95157 #define USBPHY_PWD_SET_RXPWDDIFF(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_RXPWDDIFF_SHIFT)) & USBPHY_PWD_SET_RXPWDDIFF_MASK)
95158 
95159 #define USBPHY_PWD_SET_RXPWDRX_MASK              (0x100000U)
95160 #define USBPHY_PWD_SET_RXPWDRX_SHIFT             (20U)
95161 /*! RXPWDRX - RXPWDRX
95162  */
95163 #define USBPHY_PWD_SET_RXPWDRX(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_SET_RXPWDRX_SHIFT)) & USBPHY_PWD_SET_RXPWDRX_MASK)
95164 /*! @} */
95165 
95166 /*! @name PWD_CLR - USB PHY Power-Down Register */
95167 /*! @{ */
95168 
95169 #define USBPHY_PWD_CLR_TXPWDFS_MASK              (0x400U)
95170 #define USBPHY_PWD_CLR_TXPWDFS_SHIFT             (10U)
95171 /*! TXPWDFS - TXPWDFS
95172  */
95173 #define USBPHY_PWD_CLR_TXPWDFS(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_TXPWDFS_SHIFT)) & USBPHY_PWD_CLR_TXPWDFS_MASK)
95174 
95175 #define USBPHY_PWD_CLR_TXPWDIBIAS_MASK           (0x800U)
95176 #define USBPHY_PWD_CLR_TXPWDIBIAS_SHIFT          (11U)
95177 /*! TXPWDIBIAS - TXPWDIBIAS
95178  */
95179 #define USBPHY_PWD_CLR_TXPWDIBIAS(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_TXPWDIBIAS_SHIFT)) & USBPHY_PWD_CLR_TXPWDIBIAS_MASK)
95180 
95181 #define USBPHY_PWD_CLR_TXPWDV2I_MASK             (0x1000U)
95182 #define USBPHY_PWD_CLR_TXPWDV2I_SHIFT            (12U)
95183 /*! TXPWDV2I - TXPWDV2I
95184  */
95185 #define USBPHY_PWD_CLR_TXPWDV2I(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_TXPWDV2I_SHIFT)) & USBPHY_PWD_CLR_TXPWDV2I_MASK)
95186 
95187 #define USBPHY_PWD_CLR_RXPWDENV_MASK             (0x20000U)
95188 #define USBPHY_PWD_CLR_RXPWDENV_SHIFT            (17U)
95189 /*! RXPWDENV - RXPWDENV
95190  */
95191 #define USBPHY_PWD_CLR_RXPWDENV(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_RXPWDENV_SHIFT)) & USBPHY_PWD_CLR_RXPWDENV_MASK)
95192 
95193 #define USBPHY_PWD_CLR_RXPWD1PT1_MASK            (0x40000U)
95194 #define USBPHY_PWD_CLR_RXPWD1PT1_SHIFT           (18U)
95195 /*! RXPWD1PT1 - RXPWD1PT1
95196  */
95197 #define USBPHY_PWD_CLR_RXPWD1PT1(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_RXPWD1PT1_SHIFT)) & USBPHY_PWD_CLR_RXPWD1PT1_MASK)
95198 
95199 #define USBPHY_PWD_CLR_RXPWDDIFF_MASK            (0x80000U)
95200 #define USBPHY_PWD_CLR_RXPWDDIFF_SHIFT           (19U)
95201 /*! RXPWDDIFF - RXPWDDIFF
95202  */
95203 #define USBPHY_PWD_CLR_RXPWDDIFF(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_RXPWDDIFF_SHIFT)) & USBPHY_PWD_CLR_RXPWDDIFF_MASK)
95204 
95205 #define USBPHY_PWD_CLR_RXPWDRX_MASK              (0x100000U)
95206 #define USBPHY_PWD_CLR_RXPWDRX_SHIFT             (20U)
95207 /*! RXPWDRX - RXPWDRX
95208  */
95209 #define USBPHY_PWD_CLR_RXPWDRX(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_CLR_RXPWDRX_SHIFT)) & USBPHY_PWD_CLR_RXPWDRX_MASK)
95210 /*! @} */
95211 
95212 /*! @name PWD_TOG - USB PHY Power-Down Register */
95213 /*! @{ */
95214 
95215 #define USBPHY_PWD_TOG_TXPWDFS_MASK              (0x400U)
95216 #define USBPHY_PWD_TOG_TXPWDFS_SHIFT             (10U)
95217 /*! TXPWDFS - TXPWDFS
95218  */
95219 #define USBPHY_PWD_TOG_TXPWDFS(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_TXPWDFS_SHIFT)) & USBPHY_PWD_TOG_TXPWDFS_MASK)
95220 
95221 #define USBPHY_PWD_TOG_TXPWDIBIAS_MASK           (0x800U)
95222 #define USBPHY_PWD_TOG_TXPWDIBIAS_SHIFT          (11U)
95223 /*! TXPWDIBIAS - TXPWDIBIAS
95224  */
95225 #define USBPHY_PWD_TOG_TXPWDIBIAS(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_TXPWDIBIAS_SHIFT)) & USBPHY_PWD_TOG_TXPWDIBIAS_MASK)
95226 
95227 #define USBPHY_PWD_TOG_TXPWDV2I_MASK             (0x1000U)
95228 #define USBPHY_PWD_TOG_TXPWDV2I_SHIFT            (12U)
95229 /*! TXPWDV2I - TXPWDV2I
95230  */
95231 #define USBPHY_PWD_TOG_TXPWDV2I(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_TXPWDV2I_SHIFT)) & USBPHY_PWD_TOG_TXPWDV2I_MASK)
95232 
95233 #define USBPHY_PWD_TOG_RXPWDENV_MASK             (0x20000U)
95234 #define USBPHY_PWD_TOG_RXPWDENV_SHIFT            (17U)
95235 /*! RXPWDENV - RXPWDENV
95236  */
95237 #define USBPHY_PWD_TOG_RXPWDENV(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_RXPWDENV_SHIFT)) & USBPHY_PWD_TOG_RXPWDENV_MASK)
95238 
95239 #define USBPHY_PWD_TOG_RXPWD1PT1_MASK            (0x40000U)
95240 #define USBPHY_PWD_TOG_RXPWD1PT1_SHIFT           (18U)
95241 /*! RXPWD1PT1 - RXPWD1PT1
95242  */
95243 #define USBPHY_PWD_TOG_RXPWD1PT1(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_RXPWD1PT1_SHIFT)) & USBPHY_PWD_TOG_RXPWD1PT1_MASK)
95244 
95245 #define USBPHY_PWD_TOG_RXPWDDIFF_MASK            (0x80000U)
95246 #define USBPHY_PWD_TOG_RXPWDDIFF_SHIFT           (19U)
95247 /*! RXPWDDIFF - RXPWDDIFF
95248  */
95249 #define USBPHY_PWD_TOG_RXPWDDIFF(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_RXPWDDIFF_SHIFT)) & USBPHY_PWD_TOG_RXPWDDIFF_MASK)
95250 
95251 #define USBPHY_PWD_TOG_RXPWDRX_MASK              (0x100000U)
95252 #define USBPHY_PWD_TOG_RXPWDRX_SHIFT             (20U)
95253 /*! RXPWDRX - RXPWDRX
95254  */
95255 #define USBPHY_PWD_TOG_RXPWDRX(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_PWD_TOG_RXPWDRX_SHIFT)) & USBPHY_PWD_TOG_RXPWDRX_MASK)
95256 /*! @} */
95257 
95258 /*! @name TX - USB PHY Transmitter Control Register */
95259 /*! @{ */
95260 
95261 #define USBPHY_TX_D_CAL_MASK                     (0xFU)
95262 #define USBPHY_TX_D_CAL_SHIFT                    (0U)
95263 /*! D_CAL - D_CAL
95264  *  0b0000..Maximum current, approximately 19% above nominal.
95265  *  0b0111..Nominal
95266  *  0b1111..Minimum current, approximately 19% below nominal.
95267  */
95268 #define USBPHY_TX_D_CAL(x)                       (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_D_CAL_SHIFT)) & USBPHY_TX_D_CAL_MASK)
95269 
95270 #define USBPHY_TX_TXCAL45DN_MASK                 (0xF00U)
95271 #define USBPHY_TX_TXCAL45DN_SHIFT                (8U)
95272 /*! TXCAL45DN - TXCAL45DN
95273  */
95274 #define USBPHY_TX_TXCAL45DN(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_TXCAL45DN_SHIFT)) & USBPHY_TX_TXCAL45DN_MASK)
95275 
95276 #define USBPHY_TX_TXCAL45DP_MASK                 (0xF0000U)
95277 #define USBPHY_TX_TXCAL45DP_SHIFT                (16U)
95278 /*! TXCAL45DP - TXCAL45DP
95279  */
95280 #define USBPHY_TX_TXCAL45DP(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_TXCAL45DP_SHIFT)) & USBPHY_TX_TXCAL45DP_MASK)
95281 /*! @} */
95282 
95283 /*! @name TX_SET - USB PHY Transmitter Control Register */
95284 /*! @{ */
95285 
95286 #define USBPHY_TX_SET_D_CAL_MASK                 (0xFU)
95287 #define USBPHY_TX_SET_D_CAL_SHIFT                (0U)
95288 /*! D_CAL - D_CAL
95289  */
95290 #define USBPHY_TX_SET_D_CAL(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_SET_D_CAL_SHIFT)) & USBPHY_TX_SET_D_CAL_MASK)
95291 
95292 #define USBPHY_TX_SET_TXCAL45DN_MASK             (0xF00U)
95293 #define USBPHY_TX_SET_TXCAL45DN_SHIFT            (8U)
95294 /*! TXCAL45DN - TXCAL45DN
95295  */
95296 #define USBPHY_TX_SET_TXCAL45DN(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_SET_TXCAL45DN_SHIFT)) & USBPHY_TX_SET_TXCAL45DN_MASK)
95297 
95298 #define USBPHY_TX_SET_TXCAL45DP_MASK             (0xF0000U)
95299 #define USBPHY_TX_SET_TXCAL45DP_SHIFT            (16U)
95300 /*! TXCAL45DP - TXCAL45DP
95301  */
95302 #define USBPHY_TX_SET_TXCAL45DP(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_SET_TXCAL45DP_SHIFT)) & USBPHY_TX_SET_TXCAL45DP_MASK)
95303 /*! @} */
95304 
95305 /*! @name TX_CLR - USB PHY Transmitter Control Register */
95306 /*! @{ */
95307 
95308 #define USBPHY_TX_CLR_D_CAL_MASK                 (0xFU)
95309 #define USBPHY_TX_CLR_D_CAL_SHIFT                (0U)
95310 /*! D_CAL - D_CAL
95311  */
95312 #define USBPHY_TX_CLR_D_CAL(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_CLR_D_CAL_SHIFT)) & USBPHY_TX_CLR_D_CAL_MASK)
95313 
95314 #define USBPHY_TX_CLR_TXCAL45DN_MASK             (0xF00U)
95315 #define USBPHY_TX_CLR_TXCAL45DN_SHIFT            (8U)
95316 /*! TXCAL45DN - TXCAL45DN
95317  */
95318 #define USBPHY_TX_CLR_TXCAL45DN(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_CLR_TXCAL45DN_SHIFT)) & USBPHY_TX_CLR_TXCAL45DN_MASK)
95319 
95320 #define USBPHY_TX_CLR_TXCAL45DP_MASK             (0xF0000U)
95321 #define USBPHY_TX_CLR_TXCAL45DP_SHIFT            (16U)
95322 /*! TXCAL45DP - TXCAL45DP
95323  */
95324 #define USBPHY_TX_CLR_TXCAL45DP(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_CLR_TXCAL45DP_SHIFT)) & USBPHY_TX_CLR_TXCAL45DP_MASK)
95325 /*! @} */
95326 
95327 /*! @name TX_TOG - USB PHY Transmitter Control Register */
95328 /*! @{ */
95329 
95330 #define USBPHY_TX_TOG_D_CAL_MASK                 (0xFU)
95331 #define USBPHY_TX_TOG_D_CAL_SHIFT                (0U)
95332 /*! D_CAL - D_CAL
95333  */
95334 #define USBPHY_TX_TOG_D_CAL(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_TOG_D_CAL_SHIFT)) & USBPHY_TX_TOG_D_CAL_MASK)
95335 
95336 #define USBPHY_TX_TOG_TXCAL45DN_MASK             (0xF00U)
95337 #define USBPHY_TX_TOG_TXCAL45DN_SHIFT            (8U)
95338 /*! TXCAL45DN - TXCAL45DN
95339  */
95340 #define USBPHY_TX_TOG_TXCAL45DN(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_TOG_TXCAL45DN_SHIFT)) & USBPHY_TX_TOG_TXCAL45DN_MASK)
95341 
95342 #define USBPHY_TX_TOG_TXCAL45DP_MASK             (0xF0000U)
95343 #define USBPHY_TX_TOG_TXCAL45DP_SHIFT            (16U)
95344 /*! TXCAL45DP - TXCAL45DP
95345  */
95346 #define USBPHY_TX_TOG_TXCAL45DP(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_TX_TOG_TXCAL45DP_SHIFT)) & USBPHY_TX_TOG_TXCAL45DP_MASK)
95347 /*! @} */
95348 
95349 /*! @name RX - USB PHY Receiver Control Register */
95350 /*! @{ */
95351 
95352 #define USBPHY_RX_ENVADJ_MASK                    (0x7U)
95353 #define USBPHY_RX_ENVADJ_SHIFT                   (0U)
95354 /*! ENVADJ - ENVADJ
95355  *  0b000..Trip-Level Voltage is 0.1000 V
95356  *  0b001..Trip-Level Voltage is 0.1125 V
95357  *  0b010..Trip-Level Voltage is 0.1250 V
95358  *  0b011..Trip-Level Voltage is 0.0875 V
95359  *  0b1xx..Reserved
95360  */
95361 #define USBPHY_RX_ENVADJ(x)                      (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_ENVADJ_SHIFT)) & USBPHY_RX_ENVADJ_MASK)
95362 
95363 #define USBPHY_RX_DISCONADJ_MASK                 (0x70U)
95364 #define USBPHY_RX_DISCONADJ_SHIFT                (4U)
95365 /*! DISCONADJ - DISCONADJ
95366  *  0b000..Trip-Level Voltage is 0.56875 V
95367  *  0b001..Trip-Level Voltage is 0.55000 V
95368  *  0b010..Trip-Level Voltage is 0.58125 V
95369  *  0b011..Trip-Level Voltage is 0.60000 V
95370  *  0b1xx..Reserved
95371  */
95372 #define USBPHY_RX_DISCONADJ(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_DISCONADJ_SHIFT)) & USBPHY_RX_DISCONADJ_MASK)
95373 
95374 #define USBPHY_RX_RXDBYPASS_MASK                 (0x400000U)
95375 #define USBPHY_RX_RXDBYPASS_SHIFT                (22U)
95376 /*! RXDBYPASS - RXDBYPASS
95377  *  0b0..Normal operation.
95378  *  0b1..Use the output of the USB_DP single-ended receiver in place of the full-speed differential receiver
95379  */
95380 #define USBPHY_RX_RXDBYPASS(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_RXDBYPASS_SHIFT)) & USBPHY_RX_RXDBYPASS_MASK)
95381 /*! @} */
95382 
95383 /*! @name RX_SET - USB PHY Receiver Control Register */
95384 /*! @{ */
95385 
95386 #define USBPHY_RX_SET_ENVADJ_MASK                (0x7U)
95387 #define USBPHY_RX_SET_ENVADJ_SHIFT               (0U)
95388 /*! ENVADJ - ENVADJ
95389  */
95390 #define USBPHY_RX_SET_ENVADJ(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_SET_ENVADJ_SHIFT)) & USBPHY_RX_SET_ENVADJ_MASK)
95391 
95392 #define USBPHY_RX_SET_DISCONADJ_MASK             (0x70U)
95393 #define USBPHY_RX_SET_DISCONADJ_SHIFT            (4U)
95394 /*! DISCONADJ - DISCONADJ
95395  */
95396 #define USBPHY_RX_SET_DISCONADJ(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_SET_DISCONADJ_SHIFT)) & USBPHY_RX_SET_DISCONADJ_MASK)
95397 
95398 #define USBPHY_RX_SET_RXDBYPASS_MASK             (0x400000U)
95399 #define USBPHY_RX_SET_RXDBYPASS_SHIFT            (22U)
95400 /*! RXDBYPASS - RXDBYPASS
95401  */
95402 #define USBPHY_RX_SET_RXDBYPASS(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_SET_RXDBYPASS_SHIFT)) & USBPHY_RX_SET_RXDBYPASS_MASK)
95403 /*! @} */
95404 
95405 /*! @name RX_CLR - USB PHY Receiver Control Register */
95406 /*! @{ */
95407 
95408 #define USBPHY_RX_CLR_ENVADJ_MASK                (0x7U)
95409 #define USBPHY_RX_CLR_ENVADJ_SHIFT               (0U)
95410 /*! ENVADJ - ENVADJ
95411  */
95412 #define USBPHY_RX_CLR_ENVADJ(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_CLR_ENVADJ_SHIFT)) & USBPHY_RX_CLR_ENVADJ_MASK)
95413 
95414 #define USBPHY_RX_CLR_DISCONADJ_MASK             (0x70U)
95415 #define USBPHY_RX_CLR_DISCONADJ_SHIFT            (4U)
95416 /*! DISCONADJ - DISCONADJ
95417  */
95418 #define USBPHY_RX_CLR_DISCONADJ(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_CLR_DISCONADJ_SHIFT)) & USBPHY_RX_CLR_DISCONADJ_MASK)
95419 
95420 #define USBPHY_RX_CLR_RXDBYPASS_MASK             (0x400000U)
95421 #define USBPHY_RX_CLR_RXDBYPASS_SHIFT            (22U)
95422 /*! RXDBYPASS - RXDBYPASS
95423  */
95424 #define USBPHY_RX_CLR_RXDBYPASS(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_CLR_RXDBYPASS_SHIFT)) & USBPHY_RX_CLR_RXDBYPASS_MASK)
95425 /*! @} */
95426 
95427 /*! @name RX_TOG - USB PHY Receiver Control Register */
95428 /*! @{ */
95429 
95430 #define USBPHY_RX_TOG_ENVADJ_MASK                (0x7U)
95431 #define USBPHY_RX_TOG_ENVADJ_SHIFT               (0U)
95432 /*! ENVADJ - ENVADJ
95433  */
95434 #define USBPHY_RX_TOG_ENVADJ(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_TOG_ENVADJ_SHIFT)) & USBPHY_RX_TOG_ENVADJ_MASK)
95435 
95436 #define USBPHY_RX_TOG_DISCONADJ_MASK             (0x70U)
95437 #define USBPHY_RX_TOG_DISCONADJ_SHIFT            (4U)
95438 /*! DISCONADJ - DISCONADJ
95439  */
95440 #define USBPHY_RX_TOG_DISCONADJ(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_TOG_DISCONADJ_SHIFT)) & USBPHY_RX_TOG_DISCONADJ_MASK)
95441 
95442 #define USBPHY_RX_TOG_RXDBYPASS_MASK             (0x400000U)
95443 #define USBPHY_RX_TOG_RXDBYPASS_SHIFT            (22U)
95444 /*! RXDBYPASS - RXDBYPASS
95445  */
95446 #define USBPHY_RX_TOG_RXDBYPASS(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_RX_TOG_RXDBYPASS_SHIFT)) & USBPHY_RX_TOG_RXDBYPASS_MASK)
95447 /*! @} */
95448 
95449 /*! @name CTRL - USB PHY General Control Register */
95450 /*! @{ */
95451 
95452 #define USBPHY_CTRL_ENOTG_ID_CHG_IRQ_MASK        (0x1U)
95453 #define USBPHY_CTRL_ENOTG_ID_CHG_IRQ_SHIFT       (0U)
95454 /*! ENOTG_ID_CHG_IRQ - ENOTG_ID_CHG_IRQ
95455  */
95456 #define USBPHY_CTRL_ENOTG_ID_CHG_IRQ(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENOTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_ENOTG_ID_CHG_IRQ_MASK)
95457 
95458 #define USBPHY_CTRL_ENHOSTDISCONDETECT_MASK      (0x2U)
95459 #define USBPHY_CTRL_ENHOSTDISCONDETECT_SHIFT     (1U)
95460 /*! ENHOSTDISCONDETECT - ENHOSTDISCONDETECT
95461  */
95462 #define USBPHY_CTRL_ENHOSTDISCONDETECT(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENHOSTDISCONDETECT_SHIFT)) & USBPHY_CTRL_ENHOSTDISCONDETECT_MASK)
95463 
95464 #define USBPHY_CTRL_ENIRQHOSTDISCON_MASK         (0x4U)
95465 #define USBPHY_CTRL_ENIRQHOSTDISCON_SHIFT        (2U)
95466 /*! ENIRQHOSTDISCON - ENIRQHOSTDISCON
95467  */
95468 #define USBPHY_CTRL_ENIRQHOSTDISCON(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENIRQHOSTDISCON_SHIFT)) & USBPHY_CTRL_ENIRQHOSTDISCON_MASK)
95469 
95470 #define USBPHY_CTRL_HOSTDISCONDETECT_IRQ_MASK    (0x8U)
95471 #define USBPHY_CTRL_HOSTDISCONDETECT_IRQ_SHIFT   (3U)
95472 /*! HOSTDISCONDETECT_IRQ - HOSTDISCONDETECT_IRQ
95473  */
95474 #define USBPHY_CTRL_HOSTDISCONDETECT_IRQ(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_HOSTDISCONDETECT_IRQ_SHIFT)) & USBPHY_CTRL_HOSTDISCONDETECT_IRQ_MASK)
95475 
95476 #define USBPHY_CTRL_ENDEVPLUGINDETECT_MASK       (0x10U)
95477 #define USBPHY_CTRL_ENDEVPLUGINDETECT_SHIFT      (4U)
95478 /*! ENDEVPLUGINDETECT - Enables non-standard resistive plugged-in detection
95479  *  0b0..Disables 200kohm pullup resistors on DP and DN pins
95480  *  0b1..Enables 200kohm pullup resistors on DP and DN pins
95481  */
95482 #define USBPHY_CTRL_ENDEVPLUGINDETECT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENDEVPLUGINDETECT_SHIFT)) & USBPHY_CTRL_ENDEVPLUGINDETECT_MASK)
95483 
95484 #define USBPHY_CTRL_DEVPLUGIN_POLARITY_MASK      (0x20U)
95485 #define USBPHY_CTRL_DEVPLUGIN_POLARITY_SHIFT     (5U)
95486 /*! DEVPLUGIN_POLARITY - DEVPLUGIN_POLARITY
95487  */
95488 #define USBPHY_CTRL_DEVPLUGIN_POLARITY(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_DEVPLUGIN_POLARITY_SHIFT)) & USBPHY_CTRL_DEVPLUGIN_POLARITY_MASK)
95489 
95490 #define USBPHY_CTRL_OTG_ID_CHG_IRQ_MASK          (0x40U)
95491 #define USBPHY_CTRL_OTG_ID_CHG_IRQ_SHIFT         (6U)
95492 /*! OTG_ID_CHG_IRQ - OTG_ID_CHG_IRQ
95493  */
95494 #define USBPHY_CTRL_OTG_ID_CHG_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_OTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_OTG_ID_CHG_IRQ_MASK)
95495 
95496 #define USBPHY_CTRL_ENOTGIDDETECT_MASK           (0x80U)
95497 #define USBPHY_CTRL_ENOTGIDDETECT_SHIFT          (7U)
95498 /*! ENOTGIDDETECT - ENOTGIDDETECT
95499  */
95500 #define USBPHY_CTRL_ENOTGIDDETECT(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENOTGIDDETECT_SHIFT)) & USBPHY_CTRL_ENOTGIDDETECT_MASK)
95501 
95502 #define USBPHY_CTRL_RESUMEIRQSTICKY_MASK         (0x100U)
95503 #define USBPHY_CTRL_RESUMEIRQSTICKY_SHIFT        (8U)
95504 /*! RESUMEIRQSTICKY - RESUMEIRQSTICKY
95505  */
95506 #define USBPHY_CTRL_RESUMEIRQSTICKY(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_RESUMEIRQSTICKY_SHIFT)) & USBPHY_CTRL_RESUMEIRQSTICKY_MASK)
95507 
95508 #define USBPHY_CTRL_ENIRQRESUMEDETECT_MASK       (0x200U)
95509 #define USBPHY_CTRL_ENIRQRESUMEDETECT_SHIFT      (9U)
95510 /*! ENIRQRESUMEDETECT - ENIRQRESUMEDETECT
95511  */
95512 #define USBPHY_CTRL_ENIRQRESUMEDETECT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENIRQRESUMEDETECT_SHIFT)) & USBPHY_CTRL_ENIRQRESUMEDETECT_MASK)
95513 
95514 #define USBPHY_CTRL_RESUME_IRQ_MASK              (0x400U)
95515 #define USBPHY_CTRL_RESUME_IRQ_SHIFT             (10U)
95516 /*! RESUME_IRQ - RESUME_IRQ
95517  */
95518 #define USBPHY_CTRL_RESUME_IRQ(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_RESUME_IRQ_SHIFT)) & USBPHY_CTRL_RESUME_IRQ_MASK)
95519 
95520 #define USBPHY_CTRL_ENIRQDEVPLUGIN_MASK          (0x800U)
95521 #define USBPHY_CTRL_ENIRQDEVPLUGIN_SHIFT         (11U)
95522 /*! ENIRQDEVPLUGIN - ENIRQDEVPLUGIN
95523  */
95524 #define USBPHY_CTRL_ENIRQDEVPLUGIN(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENIRQDEVPLUGIN_SHIFT)) & USBPHY_CTRL_ENIRQDEVPLUGIN_MASK)
95525 
95526 #define USBPHY_CTRL_DEVPLUGIN_IRQ_MASK           (0x1000U)
95527 #define USBPHY_CTRL_DEVPLUGIN_IRQ_SHIFT          (12U)
95528 /*! DEVPLUGIN_IRQ - DEVPLUGIN_IRQ
95529  */
95530 #define USBPHY_CTRL_DEVPLUGIN_IRQ(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_DEVPLUGIN_IRQ_SHIFT)) & USBPHY_CTRL_DEVPLUGIN_IRQ_MASK)
95531 
95532 #define USBPHY_CTRL_ENUTMILEVEL2_MASK            (0x4000U)
95533 #define USBPHY_CTRL_ENUTMILEVEL2_SHIFT           (14U)
95534 /*! ENUTMILEVEL2 - ENUTMILEVEL2
95535  */
95536 #define USBPHY_CTRL_ENUTMILEVEL2(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENUTMILEVEL2_SHIFT)) & USBPHY_CTRL_ENUTMILEVEL2_MASK)
95537 
95538 #define USBPHY_CTRL_ENUTMILEVEL3_MASK            (0x8000U)
95539 #define USBPHY_CTRL_ENUTMILEVEL3_SHIFT           (15U)
95540 /*! ENUTMILEVEL3 - ENUTMILEVEL3
95541  */
95542 #define USBPHY_CTRL_ENUTMILEVEL3(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENUTMILEVEL3_SHIFT)) & USBPHY_CTRL_ENUTMILEVEL3_MASK)
95543 
95544 #define USBPHY_CTRL_ENIRQWAKEUP_MASK             (0x10000U)
95545 #define USBPHY_CTRL_ENIRQWAKEUP_SHIFT            (16U)
95546 /*! ENIRQWAKEUP - ENIRQWAKEUP
95547  */
95548 #define USBPHY_CTRL_ENIRQWAKEUP(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENIRQWAKEUP_SHIFT)) & USBPHY_CTRL_ENIRQWAKEUP_MASK)
95549 
95550 #define USBPHY_CTRL_WAKEUP_IRQ_MASK              (0x20000U)
95551 #define USBPHY_CTRL_WAKEUP_IRQ_SHIFT             (17U)
95552 /*! WAKEUP_IRQ - WAKEUP_IRQ
95553  */
95554 #define USBPHY_CTRL_WAKEUP_IRQ(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_WAKEUP_IRQ_SHIFT)) & USBPHY_CTRL_WAKEUP_IRQ_MASK)
95555 
95556 #define USBPHY_CTRL_AUTORESUME_EN_MASK           (0x40000U)
95557 #define USBPHY_CTRL_AUTORESUME_EN_SHIFT          (18U)
95558 /*! AUTORESUME_EN - AUTORESUME_EN
95559  */
95560 #define USBPHY_CTRL_AUTORESUME_EN(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_AUTORESUME_EN_SHIFT)) & USBPHY_CTRL_AUTORESUME_EN_MASK)
95561 
95562 #define USBPHY_CTRL_ENAUTOCLR_CLKGATE_MASK       (0x80000U)
95563 #define USBPHY_CTRL_ENAUTOCLR_CLKGATE_SHIFT      (19U)
95564 /*! ENAUTOCLR_CLKGATE - ENAUTOCLR_CLKGATE
95565  */
95566 #define USBPHY_CTRL_ENAUTOCLR_CLKGATE(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENAUTOCLR_CLKGATE_SHIFT)) & USBPHY_CTRL_ENAUTOCLR_CLKGATE_MASK)
95567 
95568 #define USBPHY_CTRL_ENAUTOCLR_PHY_PWD_MASK       (0x100000U)
95569 #define USBPHY_CTRL_ENAUTOCLR_PHY_PWD_SHIFT      (20U)
95570 /*! ENAUTOCLR_PHY_PWD - ENAUTOCLR_PHY_PWD
95571  */
95572 #define USBPHY_CTRL_ENAUTOCLR_PHY_PWD(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENAUTOCLR_PHY_PWD_SHIFT)) & USBPHY_CTRL_ENAUTOCLR_PHY_PWD_MASK)
95573 
95574 #define USBPHY_CTRL_ENDPDMCHG_WKUP_MASK          (0x200000U)
95575 #define USBPHY_CTRL_ENDPDMCHG_WKUP_SHIFT         (21U)
95576 /*! ENDPDMCHG_WKUP - ENDPDMCHG_WKUP
95577  */
95578 #define USBPHY_CTRL_ENDPDMCHG_WKUP(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENDPDMCHG_WKUP_SHIFT)) & USBPHY_CTRL_ENDPDMCHG_WKUP_MASK)
95579 
95580 #define USBPHY_CTRL_ENIDCHG_WKUP_MASK            (0x400000U)
95581 #define USBPHY_CTRL_ENIDCHG_WKUP_SHIFT           (22U)
95582 /*! ENIDCHG_WKUP - ENIDCHG_WKUP
95583  */
95584 #define USBPHY_CTRL_ENIDCHG_WKUP(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENIDCHG_WKUP_SHIFT)) & USBPHY_CTRL_ENIDCHG_WKUP_MASK)
95585 
95586 #define USBPHY_CTRL_ENVBUSCHG_WKUP_MASK          (0x800000U)
95587 #define USBPHY_CTRL_ENVBUSCHG_WKUP_SHIFT         (23U)
95588 /*! ENVBUSCHG_WKUP - ENVBUSCHG_WKUP
95589  */
95590 #define USBPHY_CTRL_ENVBUSCHG_WKUP(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_ENVBUSCHG_WKUP_SHIFT)) & USBPHY_CTRL_ENVBUSCHG_WKUP_MASK)
95591 
95592 #define USBPHY_CTRL_FSDLL_RST_EN_MASK            (0x1000000U)
95593 #define USBPHY_CTRL_FSDLL_RST_EN_SHIFT           (24U)
95594 /*! FSDLL_RST_EN - FSDLL_RST_EN
95595  */
95596 #define USBPHY_CTRL_FSDLL_RST_EN(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_FSDLL_RST_EN_SHIFT)) & USBPHY_CTRL_FSDLL_RST_EN_MASK)
95597 
95598 #define USBPHY_CTRL_OTG_ID_VALUE_MASK            (0x8000000U)
95599 #define USBPHY_CTRL_OTG_ID_VALUE_SHIFT           (27U)
95600 /*! OTG_ID_VALUE - OTG_ID_VALUE
95601  */
95602 #define USBPHY_CTRL_OTG_ID_VALUE(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_OTG_ID_VALUE_SHIFT)) & USBPHY_CTRL_OTG_ID_VALUE_MASK)
95603 
95604 #define USBPHY_CTRL_HOST_FORCE_LS_SE0_MASK       (0x10000000U)
95605 #define USBPHY_CTRL_HOST_FORCE_LS_SE0_SHIFT      (28U)
95606 /*! HOST_FORCE_LS_SE0 - HOST_FORCE_LS_SE0
95607  */
95608 #define USBPHY_CTRL_HOST_FORCE_LS_SE0(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_HOST_FORCE_LS_SE0_SHIFT)) & USBPHY_CTRL_HOST_FORCE_LS_SE0_MASK)
95609 
95610 #define USBPHY_CTRL_UTMI_SUSPENDM_MASK           (0x20000000U)
95611 #define USBPHY_CTRL_UTMI_SUSPENDM_SHIFT          (29U)
95612 /*! UTMI_SUSPENDM - UTMI_SUSPENDM
95613  */
95614 #define USBPHY_CTRL_UTMI_SUSPENDM(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_UTMI_SUSPENDM_SHIFT)) & USBPHY_CTRL_UTMI_SUSPENDM_MASK)
95615 
95616 #define USBPHY_CTRL_CLKGATE_MASK                 (0x40000000U)
95617 #define USBPHY_CTRL_CLKGATE_SHIFT                (30U)
95618 /*! CLKGATE - CLKGATE
95619  */
95620 #define USBPHY_CTRL_CLKGATE(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLKGATE_SHIFT)) & USBPHY_CTRL_CLKGATE_MASK)
95621 
95622 #define USBPHY_CTRL_SFTRST_MASK                  (0x80000000U)
95623 #define USBPHY_CTRL_SFTRST_SHIFT                 (31U)
95624 /*! SFTRST - SFTRST
95625  */
95626 #define USBPHY_CTRL_SFTRST(x)                    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SFTRST_SHIFT)) & USBPHY_CTRL_SFTRST_MASK)
95627 /*! @} */
95628 
95629 /*! @name CTRL_SET - USB PHY General Control Register */
95630 /*! @{ */
95631 
95632 #define USBPHY_CTRL_SET_ENOTG_ID_CHG_IRQ_MASK    (0x1U)
95633 #define USBPHY_CTRL_SET_ENOTG_ID_CHG_IRQ_SHIFT   (0U)
95634 /*! ENOTG_ID_CHG_IRQ - ENOTG_ID_CHG_IRQ
95635  */
95636 #define USBPHY_CTRL_SET_ENOTG_ID_CHG_IRQ(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENOTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_SET_ENOTG_ID_CHG_IRQ_MASK)
95637 
95638 #define USBPHY_CTRL_SET_ENHOSTDISCONDETECT_MASK  (0x2U)
95639 #define USBPHY_CTRL_SET_ENHOSTDISCONDETECT_SHIFT (1U)
95640 /*! ENHOSTDISCONDETECT - ENHOSTDISCONDETECT
95641  */
95642 #define USBPHY_CTRL_SET_ENHOSTDISCONDETECT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENHOSTDISCONDETECT_SHIFT)) & USBPHY_CTRL_SET_ENHOSTDISCONDETECT_MASK)
95643 
95644 #define USBPHY_CTRL_SET_ENIRQHOSTDISCON_MASK     (0x4U)
95645 #define USBPHY_CTRL_SET_ENIRQHOSTDISCON_SHIFT    (2U)
95646 /*! ENIRQHOSTDISCON - ENIRQHOSTDISCON
95647  */
95648 #define USBPHY_CTRL_SET_ENIRQHOSTDISCON(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENIRQHOSTDISCON_SHIFT)) & USBPHY_CTRL_SET_ENIRQHOSTDISCON_MASK)
95649 
95650 #define USBPHY_CTRL_SET_HOSTDISCONDETECT_IRQ_MASK (0x8U)
95651 #define USBPHY_CTRL_SET_HOSTDISCONDETECT_IRQ_SHIFT (3U)
95652 /*! HOSTDISCONDETECT_IRQ - HOSTDISCONDETECT_IRQ
95653  */
95654 #define USBPHY_CTRL_SET_HOSTDISCONDETECT_IRQ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_HOSTDISCONDETECT_IRQ_SHIFT)) & USBPHY_CTRL_SET_HOSTDISCONDETECT_IRQ_MASK)
95655 
95656 #define USBPHY_CTRL_SET_ENDEVPLUGINDETECT_MASK   (0x10U)
95657 #define USBPHY_CTRL_SET_ENDEVPLUGINDETECT_SHIFT  (4U)
95658 /*! ENDEVPLUGINDETECT - Enables non-standard resistive plugged-in detection
95659  */
95660 #define USBPHY_CTRL_SET_ENDEVPLUGINDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENDEVPLUGINDETECT_SHIFT)) & USBPHY_CTRL_SET_ENDEVPLUGINDETECT_MASK)
95661 
95662 #define USBPHY_CTRL_SET_DEVPLUGIN_POLARITY_MASK  (0x20U)
95663 #define USBPHY_CTRL_SET_DEVPLUGIN_POLARITY_SHIFT (5U)
95664 /*! DEVPLUGIN_POLARITY - DEVPLUGIN_POLARITY
95665  */
95666 #define USBPHY_CTRL_SET_DEVPLUGIN_POLARITY(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_DEVPLUGIN_POLARITY_SHIFT)) & USBPHY_CTRL_SET_DEVPLUGIN_POLARITY_MASK)
95667 
95668 #define USBPHY_CTRL_SET_OTG_ID_CHG_IRQ_MASK      (0x40U)
95669 #define USBPHY_CTRL_SET_OTG_ID_CHG_IRQ_SHIFT     (6U)
95670 /*! OTG_ID_CHG_IRQ - OTG_ID_CHG_IRQ
95671  */
95672 #define USBPHY_CTRL_SET_OTG_ID_CHG_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_OTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_SET_OTG_ID_CHG_IRQ_MASK)
95673 
95674 #define USBPHY_CTRL_SET_ENOTGIDDETECT_MASK       (0x80U)
95675 #define USBPHY_CTRL_SET_ENOTGIDDETECT_SHIFT      (7U)
95676 /*! ENOTGIDDETECT - ENOTGIDDETECT
95677  */
95678 #define USBPHY_CTRL_SET_ENOTGIDDETECT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENOTGIDDETECT_SHIFT)) & USBPHY_CTRL_SET_ENOTGIDDETECT_MASK)
95679 
95680 #define USBPHY_CTRL_SET_RESUMEIRQSTICKY_MASK     (0x100U)
95681 #define USBPHY_CTRL_SET_RESUMEIRQSTICKY_SHIFT    (8U)
95682 /*! RESUMEIRQSTICKY - RESUMEIRQSTICKY
95683  */
95684 #define USBPHY_CTRL_SET_RESUMEIRQSTICKY(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_RESUMEIRQSTICKY_SHIFT)) & USBPHY_CTRL_SET_RESUMEIRQSTICKY_MASK)
95685 
95686 #define USBPHY_CTRL_SET_ENIRQRESUMEDETECT_MASK   (0x200U)
95687 #define USBPHY_CTRL_SET_ENIRQRESUMEDETECT_SHIFT  (9U)
95688 /*! ENIRQRESUMEDETECT - ENIRQRESUMEDETECT
95689  */
95690 #define USBPHY_CTRL_SET_ENIRQRESUMEDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENIRQRESUMEDETECT_SHIFT)) & USBPHY_CTRL_SET_ENIRQRESUMEDETECT_MASK)
95691 
95692 #define USBPHY_CTRL_SET_RESUME_IRQ_MASK          (0x400U)
95693 #define USBPHY_CTRL_SET_RESUME_IRQ_SHIFT         (10U)
95694 /*! RESUME_IRQ - RESUME_IRQ
95695  */
95696 #define USBPHY_CTRL_SET_RESUME_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_RESUME_IRQ_SHIFT)) & USBPHY_CTRL_SET_RESUME_IRQ_MASK)
95697 
95698 #define USBPHY_CTRL_SET_ENIRQDEVPLUGIN_MASK      (0x800U)
95699 #define USBPHY_CTRL_SET_ENIRQDEVPLUGIN_SHIFT     (11U)
95700 /*! ENIRQDEVPLUGIN - ENIRQDEVPLUGIN
95701  */
95702 #define USBPHY_CTRL_SET_ENIRQDEVPLUGIN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENIRQDEVPLUGIN_SHIFT)) & USBPHY_CTRL_SET_ENIRQDEVPLUGIN_MASK)
95703 
95704 #define USBPHY_CTRL_SET_DEVPLUGIN_IRQ_MASK       (0x1000U)
95705 #define USBPHY_CTRL_SET_DEVPLUGIN_IRQ_SHIFT      (12U)
95706 /*! DEVPLUGIN_IRQ - DEVPLUGIN_IRQ
95707  */
95708 #define USBPHY_CTRL_SET_DEVPLUGIN_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_DEVPLUGIN_IRQ_SHIFT)) & USBPHY_CTRL_SET_DEVPLUGIN_IRQ_MASK)
95709 
95710 #define USBPHY_CTRL_SET_ENUTMILEVEL2_MASK        (0x4000U)
95711 #define USBPHY_CTRL_SET_ENUTMILEVEL2_SHIFT       (14U)
95712 /*! ENUTMILEVEL2 - ENUTMILEVEL2
95713  */
95714 #define USBPHY_CTRL_SET_ENUTMILEVEL2(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENUTMILEVEL2_SHIFT)) & USBPHY_CTRL_SET_ENUTMILEVEL2_MASK)
95715 
95716 #define USBPHY_CTRL_SET_ENUTMILEVEL3_MASK        (0x8000U)
95717 #define USBPHY_CTRL_SET_ENUTMILEVEL3_SHIFT       (15U)
95718 /*! ENUTMILEVEL3 - ENUTMILEVEL3
95719  */
95720 #define USBPHY_CTRL_SET_ENUTMILEVEL3(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENUTMILEVEL3_SHIFT)) & USBPHY_CTRL_SET_ENUTMILEVEL3_MASK)
95721 
95722 #define USBPHY_CTRL_SET_ENIRQWAKEUP_MASK         (0x10000U)
95723 #define USBPHY_CTRL_SET_ENIRQWAKEUP_SHIFT        (16U)
95724 /*! ENIRQWAKEUP - ENIRQWAKEUP
95725  */
95726 #define USBPHY_CTRL_SET_ENIRQWAKEUP(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENIRQWAKEUP_SHIFT)) & USBPHY_CTRL_SET_ENIRQWAKEUP_MASK)
95727 
95728 #define USBPHY_CTRL_SET_WAKEUP_IRQ_MASK          (0x20000U)
95729 #define USBPHY_CTRL_SET_WAKEUP_IRQ_SHIFT         (17U)
95730 /*! WAKEUP_IRQ - WAKEUP_IRQ
95731  */
95732 #define USBPHY_CTRL_SET_WAKEUP_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_WAKEUP_IRQ_SHIFT)) & USBPHY_CTRL_SET_WAKEUP_IRQ_MASK)
95733 
95734 #define USBPHY_CTRL_SET_AUTORESUME_EN_MASK       (0x40000U)
95735 #define USBPHY_CTRL_SET_AUTORESUME_EN_SHIFT      (18U)
95736 /*! AUTORESUME_EN - AUTORESUME_EN
95737  */
95738 #define USBPHY_CTRL_SET_AUTORESUME_EN(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_AUTORESUME_EN_SHIFT)) & USBPHY_CTRL_SET_AUTORESUME_EN_MASK)
95739 
95740 #define USBPHY_CTRL_SET_ENAUTOCLR_CLKGATE_MASK   (0x80000U)
95741 #define USBPHY_CTRL_SET_ENAUTOCLR_CLKGATE_SHIFT  (19U)
95742 /*! ENAUTOCLR_CLKGATE - ENAUTOCLR_CLKGATE
95743  */
95744 #define USBPHY_CTRL_SET_ENAUTOCLR_CLKGATE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENAUTOCLR_CLKGATE_SHIFT)) & USBPHY_CTRL_SET_ENAUTOCLR_CLKGATE_MASK)
95745 
95746 #define USBPHY_CTRL_SET_ENAUTOCLR_PHY_PWD_MASK   (0x100000U)
95747 #define USBPHY_CTRL_SET_ENAUTOCLR_PHY_PWD_SHIFT  (20U)
95748 /*! ENAUTOCLR_PHY_PWD - ENAUTOCLR_PHY_PWD
95749  */
95750 #define USBPHY_CTRL_SET_ENAUTOCLR_PHY_PWD(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENAUTOCLR_PHY_PWD_SHIFT)) & USBPHY_CTRL_SET_ENAUTOCLR_PHY_PWD_MASK)
95751 
95752 #define USBPHY_CTRL_SET_ENDPDMCHG_WKUP_MASK      (0x200000U)
95753 #define USBPHY_CTRL_SET_ENDPDMCHG_WKUP_SHIFT     (21U)
95754 /*! ENDPDMCHG_WKUP - ENDPDMCHG_WKUP
95755  */
95756 #define USBPHY_CTRL_SET_ENDPDMCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENDPDMCHG_WKUP_SHIFT)) & USBPHY_CTRL_SET_ENDPDMCHG_WKUP_MASK)
95757 
95758 #define USBPHY_CTRL_SET_ENIDCHG_WKUP_MASK        (0x400000U)
95759 #define USBPHY_CTRL_SET_ENIDCHG_WKUP_SHIFT       (22U)
95760 /*! ENIDCHG_WKUP - ENIDCHG_WKUP
95761  */
95762 #define USBPHY_CTRL_SET_ENIDCHG_WKUP(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENIDCHG_WKUP_SHIFT)) & USBPHY_CTRL_SET_ENIDCHG_WKUP_MASK)
95763 
95764 #define USBPHY_CTRL_SET_ENVBUSCHG_WKUP_MASK      (0x800000U)
95765 #define USBPHY_CTRL_SET_ENVBUSCHG_WKUP_SHIFT     (23U)
95766 /*! ENVBUSCHG_WKUP - ENVBUSCHG_WKUP
95767  */
95768 #define USBPHY_CTRL_SET_ENVBUSCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_ENVBUSCHG_WKUP_SHIFT)) & USBPHY_CTRL_SET_ENVBUSCHG_WKUP_MASK)
95769 
95770 #define USBPHY_CTRL_SET_FSDLL_RST_EN_MASK        (0x1000000U)
95771 #define USBPHY_CTRL_SET_FSDLL_RST_EN_SHIFT       (24U)
95772 /*! FSDLL_RST_EN - FSDLL_RST_EN
95773  */
95774 #define USBPHY_CTRL_SET_FSDLL_RST_EN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_FSDLL_RST_EN_SHIFT)) & USBPHY_CTRL_SET_FSDLL_RST_EN_MASK)
95775 
95776 #define USBPHY_CTRL_SET_OTG_ID_VALUE_MASK        (0x8000000U)
95777 #define USBPHY_CTRL_SET_OTG_ID_VALUE_SHIFT       (27U)
95778 /*! OTG_ID_VALUE - OTG_ID_VALUE
95779  */
95780 #define USBPHY_CTRL_SET_OTG_ID_VALUE(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_OTG_ID_VALUE_SHIFT)) & USBPHY_CTRL_SET_OTG_ID_VALUE_MASK)
95781 
95782 #define USBPHY_CTRL_SET_HOST_FORCE_LS_SE0_MASK   (0x10000000U)
95783 #define USBPHY_CTRL_SET_HOST_FORCE_LS_SE0_SHIFT  (28U)
95784 /*! HOST_FORCE_LS_SE0 - HOST_FORCE_LS_SE0
95785  */
95786 #define USBPHY_CTRL_SET_HOST_FORCE_LS_SE0(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_HOST_FORCE_LS_SE0_SHIFT)) & USBPHY_CTRL_SET_HOST_FORCE_LS_SE0_MASK)
95787 
95788 #define USBPHY_CTRL_SET_UTMI_SUSPENDM_MASK       (0x20000000U)
95789 #define USBPHY_CTRL_SET_UTMI_SUSPENDM_SHIFT      (29U)
95790 /*! UTMI_SUSPENDM - UTMI_SUSPENDM
95791  */
95792 #define USBPHY_CTRL_SET_UTMI_SUSPENDM(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_UTMI_SUSPENDM_SHIFT)) & USBPHY_CTRL_SET_UTMI_SUSPENDM_MASK)
95793 
95794 #define USBPHY_CTRL_SET_CLKGATE_MASK             (0x40000000U)
95795 #define USBPHY_CTRL_SET_CLKGATE_SHIFT            (30U)
95796 /*! CLKGATE - CLKGATE
95797  */
95798 #define USBPHY_CTRL_SET_CLKGATE(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_CLKGATE_SHIFT)) & USBPHY_CTRL_SET_CLKGATE_MASK)
95799 
95800 #define USBPHY_CTRL_SET_SFTRST_MASK              (0x80000000U)
95801 #define USBPHY_CTRL_SET_SFTRST_SHIFT             (31U)
95802 /*! SFTRST - SFTRST
95803  */
95804 #define USBPHY_CTRL_SET_SFTRST(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_SET_SFTRST_SHIFT)) & USBPHY_CTRL_SET_SFTRST_MASK)
95805 /*! @} */
95806 
95807 /*! @name CTRL_CLR - USB PHY General Control Register */
95808 /*! @{ */
95809 
95810 #define USBPHY_CTRL_CLR_ENOTG_ID_CHG_IRQ_MASK    (0x1U)
95811 #define USBPHY_CTRL_CLR_ENOTG_ID_CHG_IRQ_SHIFT   (0U)
95812 /*! ENOTG_ID_CHG_IRQ - ENOTG_ID_CHG_IRQ
95813  */
95814 #define USBPHY_CTRL_CLR_ENOTG_ID_CHG_IRQ(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENOTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_CLR_ENOTG_ID_CHG_IRQ_MASK)
95815 
95816 #define USBPHY_CTRL_CLR_ENHOSTDISCONDETECT_MASK  (0x2U)
95817 #define USBPHY_CTRL_CLR_ENHOSTDISCONDETECT_SHIFT (1U)
95818 /*! ENHOSTDISCONDETECT - ENHOSTDISCONDETECT
95819  */
95820 #define USBPHY_CTRL_CLR_ENHOSTDISCONDETECT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENHOSTDISCONDETECT_SHIFT)) & USBPHY_CTRL_CLR_ENHOSTDISCONDETECT_MASK)
95821 
95822 #define USBPHY_CTRL_CLR_ENIRQHOSTDISCON_MASK     (0x4U)
95823 #define USBPHY_CTRL_CLR_ENIRQHOSTDISCON_SHIFT    (2U)
95824 /*! ENIRQHOSTDISCON - ENIRQHOSTDISCON
95825  */
95826 #define USBPHY_CTRL_CLR_ENIRQHOSTDISCON(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENIRQHOSTDISCON_SHIFT)) & USBPHY_CTRL_CLR_ENIRQHOSTDISCON_MASK)
95827 
95828 #define USBPHY_CTRL_CLR_HOSTDISCONDETECT_IRQ_MASK (0x8U)
95829 #define USBPHY_CTRL_CLR_HOSTDISCONDETECT_IRQ_SHIFT (3U)
95830 /*! HOSTDISCONDETECT_IRQ - HOSTDISCONDETECT_IRQ
95831  */
95832 #define USBPHY_CTRL_CLR_HOSTDISCONDETECT_IRQ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_HOSTDISCONDETECT_IRQ_SHIFT)) & USBPHY_CTRL_CLR_HOSTDISCONDETECT_IRQ_MASK)
95833 
95834 #define USBPHY_CTRL_CLR_ENDEVPLUGINDETECT_MASK   (0x10U)
95835 #define USBPHY_CTRL_CLR_ENDEVPLUGINDETECT_SHIFT  (4U)
95836 /*! ENDEVPLUGINDETECT - Enables non-standard resistive plugged-in detection
95837  */
95838 #define USBPHY_CTRL_CLR_ENDEVPLUGINDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENDEVPLUGINDETECT_SHIFT)) & USBPHY_CTRL_CLR_ENDEVPLUGINDETECT_MASK)
95839 
95840 #define USBPHY_CTRL_CLR_DEVPLUGIN_POLARITY_MASK  (0x20U)
95841 #define USBPHY_CTRL_CLR_DEVPLUGIN_POLARITY_SHIFT (5U)
95842 /*! DEVPLUGIN_POLARITY - DEVPLUGIN_POLARITY
95843  */
95844 #define USBPHY_CTRL_CLR_DEVPLUGIN_POLARITY(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_DEVPLUGIN_POLARITY_SHIFT)) & USBPHY_CTRL_CLR_DEVPLUGIN_POLARITY_MASK)
95845 
95846 #define USBPHY_CTRL_CLR_OTG_ID_CHG_IRQ_MASK      (0x40U)
95847 #define USBPHY_CTRL_CLR_OTG_ID_CHG_IRQ_SHIFT     (6U)
95848 /*! OTG_ID_CHG_IRQ - OTG_ID_CHG_IRQ
95849  */
95850 #define USBPHY_CTRL_CLR_OTG_ID_CHG_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_OTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_CLR_OTG_ID_CHG_IRQ_MASK)
95851 
95852 #define USBPHY_CTRL_CLR_ENOTGIDDETECT_MASK       (0x80U)
95853 #define USBPHY_CTRL_CLR_ENOTGIDDETECT_SHIFT      (7U)
95854 /*! ENOTGIDDETECT - ENOTGIDDETECT
95855  */
95856 #define USBPHY_CTRL_CLR_ENOTGIDDETECT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENOTGIDDETECT_SHIFT)) & USBPHY_CTRL_CLR_ENOTGIDDETECT_MASK)
95857 
95858 #define USBPHY_CTRL_CLR_RESUMEIRQSTICKY_MASK     (0x100U)
95859 #define USBPHY_CTRL_CLR_RESUMEIRQSTICKY_SHIFT    (8U)
95860 /*! RESUMEIRQSTICKY - RESUMEIRQSTICKY
95861  */
95862 #define USBPHY_CTRL_CLR_RESUMEIRQSTICKY(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_RESUMEIRQSTICKY_SHIFT)) & USBPHY_CTRL_CLR_RESUMEIRQSTICKY_MASK)
95863 
95864 #define USBPHY_CTRL_CLR_ENIRQRESUMEDETECT_MASK   (0x200U)
95865 #define USBPHY_CTRL_CLR_ENIRQRESUMEDETECT_SHIFT  (9U)
95866 /*! ENIRQRESUMEDETECT - ENIRQRESUMEDETECT
95867  */
95868 #define USBPHY_CTRL_CLR_ENIRQRESUMEDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENIRQRESUMEDETECT_SHIFT)) & USBPHY_CTRL_CLR_ENIRQRESUMEDETECT_MASK)
95869 
95870 #define USBPHY_CTRL_CLR_RESUME_IRQ_MASK          (0x400U)
95871 #define USBPHY_CTRL_CLR_RESUME_IRQ_SHIFT         (10U)
95872 /*! RESUME_IRQ - RESUME_IRQ
95873  */
95874 #define USBPHY_CTRL_CLR_RESUME_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_RESUME_IRQ_SHIFT)) & USBPHY_CTRL_CLR_RESUME_IRQ_MASK)
95875 
95876 #define USBPHY_CTRL_CLR_ENIRQDEVPLUGIN_MASK      (0x800U)
95877 #define USBPHY_CTRL_CLR_ENIRQDEVPLUGIN_SHIFT     (11U)
95878 /*! ENIRQDEVPLUGIN - ENIRQDEVPLUGIN
95879  */
95880 #define USBPHY_CTRL_CLR_ENIRQDEVPLUGIN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENIRQDEVPLUGIN_SHIFT)) & USBPHY_CTRL_CLR_ENIRQDEVPLUGIN_MASK)
95881 
95882 #define USBPHY_CTRL_CLR_DEVPLUGIN_IRQ_MASK       (0x1000U)
95883 #define USBPHY_CTRL_CLR_DEVPLUGIN_IRQ_SHIFT      (12U)
95884 /*! DEVPLUGIN_IRQ - DEVPLUGIN_IRQ
95885  */
95886 #define USBPHY_CTRL_CLR_DEVPLUGIN_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_DEVPLUGIN_IRQ_SHIFT)) & USBPHY_CTRL_CLR_DEVPLUGIN_IRQ_MASK)
95887 
95888 #define USBPHY_CTRL_CLR_ENUTMILEVEL2_MASK        (0x4000U)
95889 #define USBPHY_CTRL_CLR_ENUTMILEVEL2_SHIFT       (14U)
95890 /*! ENUTMILEVEL2 - ENUTMILEVEL2
95891  */
95892 #define USBPHY_CTRL_CLR_ENUTMILEVEL2(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENUTMILEVEL2_SHIFT)) & USBPHY_CTRL_CLR_ENUTMILEVEL2_MASK)
95893 
95894 #define USBPHY_CTRL_CLR_ENUTMILEVEL3_MASK        (0x8000U)
95895 #define USBPHY_CTRL_CLR_ENUTMILEVEL3_SHIFT       (15U)
95896 /*! ENUTMILEVEL3 - ENUTMILEVEL3
95897  */
95898 #define USBPHY_CTRL_CLR_ENUTMILEVEL3(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENUTMILEVEL3_SHIFT)) & USBPHY_CTRL_CLR_ENUTMILEVEL3_MASK)
95899 
95900 #define USBPHY_CTRL_CLR_ENIRQWAKEUP_MASK         (0x10000U)
95901 #define USBPHY_CTRL_CLR_ENIRQWAKEUP_SHIFT        (16U)
95902 /*! ENIRQWAKEUP - ENIRQWAKEUP
95903  */
95904 #define USBPHY_CTRL_CLR_ENIRQWAKEUP(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENIRQWAKEUP_SHIFT)) & USBPHY_CTRL_CLR_ENIRQWAKEUP_MASK)
95905 
95906 #define USBPHY_CTRL_CLR_WAKEUP_IRQ_MASK          (0x20000U)
95907 #define USBPHY_CTRL_CLR_WAKEUP_IRQ_SHIFT         (17U)
95908 /*! WAKEUP_IRQ - WAKEUP_IRQ
95909  */
95910 #define USBPHY_CTRL_CLR_WAKEUP_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_WAKEUP_IRQ_SHIFT)) & USBPHY_CTRL_CLR_WAKEUP_IRQ_MASK)
95911 
95912 #define USBPHY_CTRL_CLR_AUTORESUME_EN_MASK       (0x40000U)
95913 #define USBPHY_CTRL_CLR_AUTORESUME_EN_SHIFT      (18U)
95914 /*! AUTORESUME_EN - AUTORESUME_EN
95915  */
95916 #define USBPHY_CTRL_CLR_AUTORESUME_EN(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_AUTORESUME_EN_SHIFT)) & USBPHY_CTRL_CLR_AUTORESUME_EN_MASK)
95917 
95918 #define USBPHY_CTRL_CLR_ENAUTOCLR_CLKGATE_MASK   (0x80000U)
95919 #define USBPHY_CTRL_CLR_ENAUTOCLR_CLKGATE_SHIFT  (19U)
95920 /*! ENAUTOCLR_CLKGATE - ENAUTOCLR_CLKGATE
95921  */
95922 #define USBPHY_CTRL_CLR_ENAUTOCLR_CLKGATE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENAUTOCLR_CLKGATE_SHIFT)) & USBPHY_CTRL_CLR_ENAUTOCLR_CLKGATE_MASK)
95923 
95924 #define USBPHY_CTRL_CLR_ENAUTOCLR_PHY_PWD_MASK   (0x100000U)
95925 #define USBPHY_CTRL_CLR_ENAUTOCLR_PHY_PWD_SHIFT  (20U)
95926 /*! ENAUTOCLR_PHY_PWD - ENAUTOCLR_PHY_PWD
95927  */
95928 #define USBPHY_CTRL_CLR_ENAUTOCLR_PHY_PWD(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENAUTOCLR_PHY_PWD_SHIFT)) & USBPHY_CTRL_CLR_ENAUTOCLR_PHY_PWD_MASK)
95929 
95930 #define USBPHY_CTRL_CLR_ENDPDMCHG_WKUP_MASK      (0x200000U)
95931 #define USBPHY_CTRL_CLR_ENDPDMCHG_WKUP_SHIFT     (21U)
95932 /*! ENDPDMCHG_WKUP - ENDPDMCHG_WKUP
95933  */
95934 #define USBPHY_CTRL_CLR_ENDPDMCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENDPDMCHG_WKUP_SHIFT)) & USBPHY_CTRL_CLR_ENDPDMCHG_WKUP_MASK)
95935 
95936 #define USBPHY_CTRL_CLR_ENIDCHG_WKUP_MASK        (0x400000U)
95937 #define USBPHY_CTRL_CLR_ENIDCHG_WKUP_SHIFT       (22U)
95938 /*! ENIDCHG_WKUP - ENIDCHG_WKUP
95939  */
95940 #define USBPHY_CTRL_CLR_ENIDCHG_WKUP(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENIDCHG_WKUP_SHIFT)) & USBPHY_CTRL_CLR_ENIDCHG_WKUP_MASK)
95941 
95942 #define USBPHY_CTRL_CLR_ENVBUSCHG_WKUP_MASK      (0x800000U)
95943 #define USBPHY_CTRL_CLR_ENVBUSCHG_WKUP_SHIFT     (23U)
95944 /*! ENVBUSCHG_WKUP - ENVBUSCHG_WKUP
95945  */
95946 #define USBPHY_CTRL_CLR_ENVBUSCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_ENVBUSCHG_WKUP_SHIFT)) & USBPHY_CTRL_CLR_ENVBUSCHG_WKUP_MASK)
95947 
95948 #define USBPHY_CTRL_CLR_FSDLL_RST_EN_MASK        (0x1000000U)
95949 #define USBPHY_CTRL_CLR_FSDLL_RST_EN_SHIFT       (24U)
95950 /*! FSDLL_RST_EN - FSDLL_RST_EN
95951  */
95952 #define USBPHY_CTRL_CLR_FSDLL_RST_EN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_FSDLL_RST_EN_SHIFT)) & USBPHY_CTRL_CLR_FSDLL_RST_EN_MASK)
95953 
95954 #define USBPHY_CTRL_CLR_OTG_ID_VALUE_MASK        (0x8000000U)
95955 #define USBPHY_CTRL_CLR_OTG_ID_VALUE_SHIFT       (27U)
95956 /*! OTG_ID_VALUE - OTG_ID_VALUE
95957  */
95958 #define USBPHY_CTRL_CLR_OTG_ID_VALUE(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_OTG_ID_VALUE_SHIFT)) & USBPHY_CTRL_CLR_OTG_ID_VALUE_MASK)
95959 
95960 #define USBPHY_CTRL_CLR_HOST_FORCE_LS_SE0_MASK   (0x10000000U)
95961 #define USBPHY_CTRL_CLR_HOST_FORCE_LS_SE0_SHIFT  (28U)
95962 /*! HOST_FORCE_LS_SE0 - HOST_FORCE_LS_SE0
95963  */
95964 #define USBPHY_CTRL_CLR_HOST_FORCE_LS_SE0(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_HOST_FORCE_LS_SE0_SHIFT)) & USBPHY_CTRL_CLR_HOST_FORCE_LS_SE0_MASK)
95965 
95966 #define USBPHY_CTRL_CLR_UTMI_SUSPENDM_MASK       (0x20000000U)
95967 #define USBPHY_CTRL_CLR_UTMI_SUSPENDM_SHIFT      (29U)
95968 /*! UTMI_SUSPENDM - UTMI_SUSPENDM
95969  */
95970 #define USBPHY_CTRL_CLR_UTMI_SUSPENDM(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_UTMI_SUSPENDM_SHIFT)) & USBPHY_CTRL_CLR_UTMI_SUSPENDM_MASK)
95971 
95972 #define USBPHY_CTRL_CLR_CLKGATE_MASK             (0x40000000U)
95973 #define USBPHY_CTRL_CLR_CLKGATE_SHIFT            (30U)
95974 /*! CLKGATE - CLKGATE
95975  */
95976 #define USBPHY_CTRL_CLR_CLKGATE(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_CLKGATE_SHIFT)) & USBPHY_CTRL_CLR_CLKGATE_MASK)
95977 
95978 #define USBPHY_CTRL_CLR_SFTRST_MASK              (0x80000000U)
95979 #define USBPHY_CTRL_CLR_SFTRST_SHIFT             (31U)
95980 /*! SFTRST - SFTRST
95981  */
95982 #define USBPHY_CTRL_CLR_SFTRST(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_CLR_SFTRST_SHIFT)) & USBPHY_CTRL_CLR_SFTRST_MASK)
95983 /*! @} */
95984 
95985 /*! @name CTRL_TOG - USB PHY General Control Register */
95986 /*! @{ */
95987 
95988 #define USBPHY_CTRL_TOG_ENOTG_ID_CHG_IRQ_MASK    (0x1U)
95989 #define USBPHY_CTRL_TOG_ENOTG_ID_CHG_IRQ_SHIFT   (0U)
95990 /*! ENOTG_ID_CHG_IRQ - ENOTG_ID_CHG_IRQ
95991  */
95992 #define USBPHY_CTRL_TOG_ENOTG_ID_CHG_IRQ(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENOTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_TOG_ENOTG_ID_CHG_IRQ_MASK)
95993 
95994 #define USBPHY_CTRL_TOG_ENHOSTDISCONDETECT_MASK  (0x2U)
95995 #define USBPHY_CTRL_TOG_ENHOSTDISCONDETECT_SHIFT (1U)
95996 /*! ENHOSTDISCONDETECT - ENHOSTDISCONDETECT
95997  */
95998 #define USBPHY_CTRL_TOG_ENHOSTDISCONDETECT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENHOSTDISCONDETECT_SHIFT)) & USBPHY_CTRL_TOG_ENHOSTDISCONDETECT_MASK)
95999 
96000 #define USBPHY_CTRL_TOG_ENIRQHOSTDISCON_MASK     (0x4U)
96001 #define USBPHY_CTRL_TOG_ENIRQHOSTDISCON_SHIFT    (2U)
96002 /*! ENIRQHOSTDISCON - ENIRQHOSTDISCON
96003  */
96004 #define USBPHY_CTRL_TOG_ENIRQHOSTDISCON(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENIRQHOSTDISCON_SHIFT)) & USBPHY_CTRL_TOG_ENIRQHOSTDISCON_MASK)
96005 
96006 #define USBPHY_CTRL_TOG_HOSTDISCONDETECT_IRQ_MASK (0x8U)
96007 #define USBPHY_CTRL_TOG_HOSTDISCONDETECT_IRQ_SHIFT (3U)
96008 /*! HOSTDISCONDETECT_IRQ - HOSTDISCONDETECT_IRQ
96009  */
96010 #define USBPHY_CTRL_TOG_HOSTDISCONDETECT_IRQ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_HOSTDISCONDETECT_IRQ_SHIFT)) & USBPHY_CTRL_TOG_HOSTDISCONDETECT_IRQ_MASK)
96011 
96012 #define USBPHY_CTRL_TOG_ENDEVPLUGINDETECT_MASK   (0x10U)
96013 #define USBPHY_CTRL_TOG_ENDEVPLUGINDETECT_SHIFT  (4U)
96014 /*! ENDEVPLUGINDETECT - Enables non-standard resistive plugged-in detection
96015  */
96016 #define USBPHY_CTRL_TOG_ENDEVPLUGINDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENDEVPLUGINDETECT_SHIFT)) & USBPHY_CTRL_TOG_ENDEVPLUGINDETECT_MASK)
96017 
96018 #define USBPHY_CTRL_TOG_DEVPLUGIN_POLARITY_MASK  (0x20U)
96019 #define USBPHY_CTRL_TOG_DEVPLUGIN_POLARITY_SHIFT (5U)
96020 /*! DEVPLUGIN_POLARITY - DEVPLUGIN_POLARITY
96021  */
96022 #define USBPHY_CTRL_TOG_DEVPLUGIN_POLARITY(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_DEVPLUGIN_POLARITY_SHIFT)) & USBPHY_CTRL_TOG_DEVPLUGIN_POLARITY_MASK)
96023 
96024 #define USBPHY_CTRL_TOG_OTG_ID_CHG_IRQ_MASK      (0x40U)
96025 #define USBPHY_CTRL_TOG_OTG_ID_CHG_IRQ_SHIFT     (6U)
96026 /*! OTG_ID_CHG_IRQ - OTG_ID_CHG_IRQ
96027  */
96028 #define USBPHY_CTRL_TOG_OTG_ID_CHG_IRQ(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_OTG_ID_CHG_IRQ_SHIFT)) & USBPHY_CTRL_TOG_OTG_ID_CHG_IRQ_MASK)
96029 
96030 #define USBPHY_CTRL_TOG_ENOTGIDDETECT_MASK       (0x80U)
96031 #define USBPHY_CTRL_TOG_ENOTGIDDETECT_SHIFT      (7U)
96032 /*! ENOTGIDDETECT - ENOTGIDDETECT
96033  */
96034 #define USBPHY_CTRL_TOG_ENOTGIDDETECT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENOTGIDDETECT_SHIFT)) & USBPHY_CTRL_TOG_ENOTGIDDETECT_MASK)
96035 
96036 #define USBPHY_CTRL_TOG_RESUMEIRQSTICKY_MASK     (0x100U)
96037 #define USBPHY_CTRL_TOG_RESUMEIRQSTICKY_SHIFT    (8U)
96038 /*! RESUMEIRQSTICKY - RESUMEIRQSTICKY
96039  */
96040 #define USBPHY_CTRL_TOG_RESUMEIRQSTICKY(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_RESUMEIRQSTICKY_SHIFT)) & USBPHY_CTRL_TOG_RESUMEIRQSTICKY_MASK)
96041 
96042 #define USBPHY_CTRL_TOG_ENIRQRESUMEDETECT_MASK   (0x200U)
96043 #define USBPHY_CTRL_TOG_ENIRQRESUMEDETECT_SHIFT  (9U)
96044 /*! ENIRQRESUMEDETECT - ENIRQRESUMEDETECT
96045  */
96046 #define USBPHY_CTRL_TOG_ENIRQRESUMEDETECT(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENIRQRESUMEDETECT_SHIFT)) & USBPHY_CTRL_TOG_ENIRQRESUMEDETECT_MASK)
96047 
96048 #define USBPHY_CTRL_TOG_RESUME_IRQ_MASK          (0x400U)
96049 #define USBPHY_CTRL_TOG_RESUME_IRQ_SHIFT         (10U)
96050 /*! RESUME_IRQ - RESUME_IRQ
96051  */
96052 #define USBPHY_CTRL_TOG_RESUME_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_RESUME_IRQ_SHIFT)) & USBPHY_CTRL_TOG_RESUME_IRQ_MASK)
96053 
96054 #define USBPHY_CTRL_TOG_ENIRQDEVPLUGIN_MASK      (0x800U)
96055 #define USBPHY_CTRL_TOG_ENIRQDEVPLUGIN_SHIFT     (11U)
96056 /*! ENIRQDEVPLUGIN - ENIRQDEVPLUGIN
96057  */
96058 #define USBPHY_CTRL_TOG_ENIRQDEVPLUGIN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENIRQDEVPLUGIN_SHIFT)) & USBPHY_CTRL_TOG_ENIRQDEVPLUGIN_MASK)
96059 
96060 #define USBPHY_CTRL_TOG_DEVPLUGIN_IRQ_MASK       (0x1000U)
96061 #define USBPHY_CTRL_TOG_DEVPLUGIN_IRQ_SHIFT      (12U)
96062 /*! DEVPLUGIN_IRQ - DEVPLUGIN_IRQ
96063  */
96064 #define USBPHY_CTRL_TOG_DEVPLUGIN_IRQ(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_DEVPLUGIN_IRQ_SHIFT)) & USBPHY_CTRL_TOG_DEVPLUGIN_IRQ_MASK)
96065 
96066 #define USBPHY_CTRL_TOG_ENUTMILEVEL2_MASK        (0x4000U)
96067 #define USBPHY_CTRL_TOG_ENUTMILEVEL2_SHIFT       (14U)
96068 /*! ENUTMILEVEL2 - ENUTMILEVEL2
96069  */
96070 #define USBPHY_CTRL_TOG_ENUTMILEVEL2(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENUTMILEVEL2_SHIFT)) & USBPHY_CTRL_TOG_ENUTMILEVEL2_MASK)
96071 
96072 #define USBPHY_CTRL_TOG_ENUTMILEVEL3_MASK        (0x8000U)
96073 #define USBPHY_CTRL_TOG_ENUTMILEVEL3_SHIFT       (15U)
96074 /*! ENUTMILEVEL3 - ENUTMILEVEL3
96075  */
96076 #define USBPHY_CTRL_TOG_ENUTMILEVEL3(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENUTMILEVEL3_SHIFT)) & USBPHY_CTRL_TOG_ENUTMILEVEL3_MASK)
96077 
96078 #define USBPHY_CTRL_TOG_ENIRQWAKEUP_MASK         (0x10000U)
96079 #define USBPHY_CTRL_TOG_ENIRQWAKEUP_SHIFT        (16U)
96080 /*! ENIRQWAKEUP - ENIRQWAKEUP
96081  */
96082 #define USBPHY_CTRL_TOG_ENIRQWAKEUP(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENIRQWAKEUP_SHIFT)) & USBPHY_CTRL_TOG_ENIRQWAKEUP_MASK)
96083 
96084 #define USBPHY_CTRL_TOG_WAKEUP_IRQ_MASK          (0x20000U)
96085 #define USBPHY_CTRL_TOG_WAKEUP_IRQ_SHIFT         (17U)
96086 /*! WAKEUP_IRQ - WAKEUP_IRQ
96087  */
96088 #define USBPHY_CTRL_TOG_WAKEUP_IRQ(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_WAKEUP_IRQ_SHIFT)) & USBPHY_CTRL_TOG_WAKEUP_IRQ_MASK)
96089 
96090 #define USBPHY_CTRL_TOG_AUTORESUME_EN_MASK       (0x40000U)
96091 #define USBPHY_CTRL_TOG_AUTORESUME_EN_SHIFT      (18U)
96092 /*! AUTORESUME_EN - AUTORESUME_EN
96093  */
96094 #define USBPHY_CTRL_TOG_AUTORESUME_EN(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_AUTORESUME_EN_SHIFT)) & USBPHY_CTRL_TOG_AUTORESUME_EN_MASK)
96095 
96096 #define USBPHY_CTRL_TOG_ENAUTOCLR_CLKGATE_MASK   (0x80000U)
96097 #define USBPHY_CTRL_TOG_ENAUTOCLR_CLKGATE_SHIFT  (19U)
96098 /*! ENAUTOCLR_CLKGATE - ENAUTOCLR_CLKGATE
96099  */
96100 #define USBPHY_CTRL_TOG_ENAUTOCLR_CLKGATE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENAUTOCLR_CLKGATE_SHIFT)) & USBPHY_CTRL_TOG_ENAUTOCLR_CLKGATE_MASK)
96101 
96102 #define USBPHY_CTRL_TOG_ENAUTOCLR_PHY_PWD_MASK   (0x100000U)
96103 #define USBPHY_CTRL_TOG_ENAUTOCLR_PHY_PWD_SHIFT  (20U)
96104 /*! ENAUTOCLR_PHY_PWD - ENAUTOCLR_PHY_PWD
96105  */
96106 #define USBPHY_CTRL_TOG_ENAUTOCLR_PHY_PWD(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENAUTOCLR_PHY_PWD_SHIFT)) & USBPHY_CTRL_TOG_ENAUTOCLR_PHY_PWD_MASK)
96107 
96108 #define USBPHY_CTRL_TOG_ENDPDMCHG_WKUP_MASK      (0x200000U)
96109 #define USBPHY_CTRL_TOG_ENDPDMCHG_WKUP_SHIFT     (21U)
96110 /*! ENDPDMCHG_WKUP - ENDPDMCHG_WKUP
96111  */
96112 #define USBPHY_CTRL_TOG_ENDPDMCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENDPDMCHG_WKUP_SHIFT)) & USBPHY_CTRL_TOG_ENDPDMCHG_WKUP_MASK)
96113 
96114 #define USBPHY_CTRL_TOG_ENIDCHG_WKUP_MASK        (0x400000U)
96115 #define USBPHY_CTRL_TOG_ENIDCHG_WKUP_SHIFT       (22U)
96116 /*! ENIDCHG_WKUP - ENIDCHG_WKUP
96117  */
96118 #define USBPHY_CTRL_TOG_ENIDCHG_WKUP(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENIDCHG_WKUP_SHIFT)) & USBPHY_CTRL_TOG_ENIDCHG_WKUP_MASK)
96119 
96120 #define USBPHY_CTRL_TOG_ENVBUSCHG_WKUP_MASK      (0x800000U)
96121 #define USBPHY_CTRL_TOG_ENVBUSCHG_WKUP_SHIFT     (23U)
96122 /*! ENVBUSCHG_WKUP - ENVBUSCHG_WKUP
96123  */
96124 #define USBPHY_CTRL_TOG_ENVBUSCHG_WKUP(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_ENVBUSCHG_WKUP_SHIFT)) & USBPHY_CTRL_TOG_ENVBUSCHG_WKUP_MASK)
96125 
96126 #define USBPHY_CTRL_TOG_FSDLL_RST_EN_MASK        (0x1000000U)
96127 #define USBPHY_CTRL_TOG_FSDLL_RST_EN_SHIFT       (24U)
96128 /*! FSDLL_RST_EN - FSDLL_RST_EN
96129  */
96130 #define USBPHY_CTRL_TOG_FSDLL_RST_EN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_FSDLL_RST_EN_SHIFT)) & USBPHY_CTRL_TOG_FSDLL_RST_EN_MASK)
96131 
96132 #define USBPHY_CTRL_TOG_OTG_ID_VALUE_MASK        (0x8000000U)
96133 #define USBPHY_CTRL_TOG_OTG_ID_VALUE_SHIFT       (27U)
96134 /*! OTG_ID_VALUE - OTG_ID_VALUE
96135  */
96136 #define USBPHY_CTRL_TOG_OTG_ID_VALUE(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_OTG_ID_VALUE_SHIFT)) & USBPHY_CTRL_TOG_OTG_ID_VALUE_MASK)
96137 
96138 #define USBPHY_CTRL_TOG_HOST_FORCE_LS_SE0_MASK   (0x10000000U)
96139 #define USBPHY_CTRL_TOG_HOST_FORCE_LS_SE0_SHIFT  (28U)
96140 /*! HOST_FORCE_LS_SE0 - HOST_FORCE_LS_SE0
96141  */
96142 #define USBPHY_CTRL_TOG_HOST_FORCE_LS_SE0(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_HOST_FORCE_LS_SE0_SHIFT)) & USBPHY_CTRL_TOG_HOST_FORCE_LS_SE0_MASK)
96143 
96144 #define USBPHY_CTRL_TOG_UTMI_SUSPENDM_MASK       (0x20000000U)
96145 #define USBPHY_CTRL_TOG_UTMI_SUSPENDM_SHIFT      (29U)
96146 /*! UTMI_SUSPENDM - UTMI_SUSPENDM
96147  */
96148 #define USBPHY_CTRL_TOG_UTMI_SUSPENDM(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_UTMI_SUSPENDM_SHIFT)) & USBPHY_CTRL_TOG_UTMI_SUSPENDM_MASK)
96149 
96150 #define USBPHY_CTRL_TOG_CLKGATE_MASK             (0x40000000U)
96151 #define USBPHY_CTRL_TOG_CLKGATE_SHIFT            (30U)
96152 /*! CLKGATE - CLKGATE
96153  */
96154 #define USBPHY_CTRL_TOG_CLKGATE(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_CLKGATE_SHIFT)) & USBPHY_CTRL_TOG_CLKGATE_MASK)
96155 
96156 #define USBPHY_CTRL_TOG_SFTRST_MASK              (0x80000000U)
96157 #define USBPHY_CTRL_TOG_SFTRST_SHIFT             (31U)
96158 /*! SFTRST - SFTRST
96159  */
96160 #define USBPHY_CTRL_TOG_SFTRST(x)                (((uint32_t)(((uint32_t)(x)) << USBPHY_CTRL_TOG_SFTRST_SHIFT)) & USBPHY_CTRL_TOG_SFTRST_MASK)
96161 /*! @} */
96162 
96163 /*! @name STATUS - USB PHY Status Register */
96164 /*! @{ */
96165 
96166 #define USBPHY_STATUS_HOSTDISCONDETECT_STATUS_MASK (0x8U)
96167 #define USBPHY_STATUS_HOSTDISCONDETECT_STATUS_SHIFT (3U)
96168 /*! HOSTDISCONDETECT_STATUS - HOSTDISCONDETECT_STATUS
96169  *  0b0..USB cable disconnect has not been detected at the local host
96170  *  0b1..USB cable disconnect has been detected at the local host
96171  */
96172 #define USBPHY_STATUS_HOSTDISCONDETECT_STATUS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_STATUS_HOSTDISCONDETECT_STATUS_SHIFT)) & USBPHY_STATUS_HOSTDISCONDETECT_STATUS_MASK)
96173 
96174 #define USBPHY_STATUS_DEVPLUGIN_STATUS_MASK      (0x40U)
96175 #define USBPHY_STATUS_DEVPLUGIN_STATUS_SHIFT     (6U)
96176 /*! DEVPLUGIN_STATUS - Status indicator for non-standard resistive plugged-in detection
96177  *  0b0..No attachment to a USB host is detected
96178  *  0b1..Cable attachment to a USB host is detected
96179  */
96180 #define USBPHY_STATUS_DEVPLUGIN_STATUS(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_STATUS_DEVPLUGIN_STATUS_SHIFT)) & USBPHY_STATUS_DEVPLUGIN_STATUS_MASK)
96181 
96182 #define USBPHY_STATUS_OTGID_STATUS_MASK          (0x100U)
96183 #define USBPHY_STATUS_OTGID_STATUS_SHIFT         (8U)
96184 /*! OTGID_STATUS - OTGID_STATUS
96185  */
96186 #define USBPHY_STATUS_OTGID_STATUS(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_STATUS_OTGID_STATUS_SHIFT)) & USBPHY_STATUS_OTGID_STATUS_MASK)
96187 
96188 #define USBPHY_STATUS_RESUME_STATUS_MASK         (0x400U)
96189 #define USBPHY_STATUS_RESUME_STATUS_SHIFT        (10U)
96190 /*! RESUME_STATUS - RESUME_STATUS
96191  */
96192 #define USBPHY_STATUS_RESUME_STATUS(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_STATUS_RESUME_STATUS_SHIFT)) & USBPHY_STATUS_RESUME_STATUS_MASK)
96193 /*! @} */
96194 
96195 /*! @name DEBUG - USB PHY Debug Register */
96196 /*! @{ */
96197 
96198 #define USBPHY_DEBUG_OTGIDPIOLOCK_MASK           (0x1U)
96199 #define USBPHY_DEBUG_OTGIDPIOLOCK_SHIFT          (0U)
96200 /*! OTGIDPIOLOCK - OTGIDPIOLOCK
96201  */
96202 #define USBPHY_DEBUG_OTGIDPIOLOCK(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_OTGIDPIOLOCK_SHIFT)) & USBPHY_DEBUG_OTGIDPIOLOCK_MASK)
96203 
96204 #define USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_MASK   (0x2U)
96205 #define USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_SHIFT  (1U)
96206 /*! DEBUG_INTERFACE_HOLD - DEBUG_INTERFACE_HOLD
96207  */
96208 #define USBPHY_DEBUG_DEBUG_INTERFACE_HOLD(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_SHIFT)) & USBPHY_DEBUG_DEBUG_INTERFACE_HOLD_MASK)
96209 
96210 #define USBPHY_DEBUG_HSTPULLDOWN_MASK            (0xCU)
96211 #define USBPHY_DEBUG_HSTPULLDOWN_SHIFT           (2U)
96212 /*! HSTPULLDOWN - HSTPULLDOWN
96213  */
96214 #define USBPHY_DEBUG_HSTPULLDOWN(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_HSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_HSTPULLDOWN_MASK)
96215 
96216 #define USBPHY_DEBUG_ENHSTPULLDOWN_MASK          (0x30U)
96217 #define USBPHY_DEBUG_ENHSTPULLDOWN_SHIFT         (4U)
96218 /*! ENHSTPULLDOWN - ENHSTPULLDOWN
96219  */
96220 #define USBPHY_DEBUG_ENHSTPULLDOWN(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_ENHSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_ENHSTPULLDOWN_MASK)
96221 
96222 #define USBPHY_DEBUG_TX2RXCOUNT_MASK             (0xF00U)
96223 #define USBPHY_DEBUG_TX2RXCOUNT_SHIFT            (8U)
96224 /*! TX2RXCOUNT - TX2RXCOUNT
96225  */
96226 #define USBPHY_DEBUG_TX2RXCOUNT(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_TX2RXCOUNT_MASK)
96227 
96228 #define USBPHY_DEBUG_ENTX2RXCOUNT_MASK           (0x1000U)
96229 #define USBPHY_DEBUG_ENTX2RXCOUNT_SHIFT          (12U)
96230 /*! ENTX2RXCOUNT - ENTX2RXCOUNT
96231  */
96232 #define USBPHY_DEBUG_ENTX2RXCOUNT(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_ENTX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_ENTX2RXCOUNT_MASK)
96233 
96234 #define USBPHY_DEBUG_SQUELCHRESETCOUNT_MASK      (0x1F0000U)
96235 #define USBPHY_DEBUG_SQUELCHRESETCOUNT_SHIFT     (16U)
96236 /*! SQUELCHRESETCOUNT - SQUELCHRESETCOUNT
96237  */
96238 #define USBPHY_DEBUG_SQUELCHRESETCOUNT(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SQUELCHRESETCOUNT_SHIFT)) & USBPHY_DEBUG_SQUELCHRESETCOUNT_MASK)
96239 
96240 #define USBPHY_DEBUG_ENSQUELCHRESET_MASK         (0x1000000U)
96241 #define USBPHY_DEBUG_ENSQUELCHRESET_SHIFT        (24U)
96242 /*! ENSQUELCHRESET - ENSQUELCHRESET
96243  */
96244 #define USBPHY_DEBUG_ENSQUELCHRESET(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_ENSQUELCHRESET_SHIFT)) & USBPHY_DEBUG_ENSQUELCHRESET_MASK)
96245 
96246 #define USBPHY_DEBUG_SQUELCHRESETLENGTH_MASK     (0x1E000000U)
96247 #define USBPHY_DEBUG_SQUELCHRESETLENGTH_SHIFT    (25U)
96248 /*! SQUELCHRESETLENGTH - SQUELCHRESETLENGTH
96249  */
96250 #define USBPHY_DEBUG_SQUELCHRESETLENGTH(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SQUELCHRESETLENGTH_SHIFT)) & USBPHY_DEBUG_SQUELCHRESETLENGTH_MASK)
96251 
96252 #define USBPHY_DEBUG_HOST_RESUME_DEBUG_MASK      (0x20000000U)
96253 #define USBPHY_DEBUG_HOST_RESUME_DEBUG_SHIFT     (29U)
96254 /*! HOST_RESUME_DEBUG - HOST_RESUME_DEBUG
96255  */
96256 #define USBPHY_DEBUG_HOST_RESUME_DEBUG(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_HOST_RESUME_DEBUG_SHIFT)) & USBPHY_DEBUG_HOST_RESUME_DEBUG_MASK)
96257 
96258 #define USBPHY_DEBUG_CLKGATE_MASK                (0x40000000U)
96259 #define USBPHY_DEBUG_CLKGATE_SHIFT               (30U)
96260 /*! CLKGATE - CLKGATE
96261  */
96262 #define USBPHY_DEBUG_CLKGATE(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLKGATE_SHIFT)) & USBPHY_DEBUG_CLKGATE_MASK)
96263 /*! @} */
96264 
96265 /*! @name DEBUG_SET - USB PHY Debug Register */
96266 /*! @{ */
96267 
96268 #define USBPHY_DEBUG_SET_OTGIDPIOLOCK_MASK       (0x1U)
96269 #define USBPHY_DEBUG_SET_OTGIDPIOLOCK_SHIFT      (0U)
96270 /*! OTGIDPIOLOCK - OTGIDPIOLOCK
96271  */
96272 #define USBPHY_DEBUG_SET_OTGIDPIOLOCK(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_OTGIDPIOLOCK_SHIFT)) & USBPHY_DEBUG_SET_OTGIDPIOLOCK_MASK)
96273 
96274 #define USBPHY_DEBUG_SET_DEBUG_INTERFACE_HOLD_MASK (0x2U)
96275 #define USBPHY_DEBUG_SET_DEBUG_INTERFACE_HOLD_SHIFT (1U)
96276 /*! DEBUG_INTERFACE_HOLD - DEBUG_INTERFACE_HOLD
96277  */
96278 #define USBPHY_DEBUG_SET_DEBUG_INTERFACE_HOLD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_DEBUG_INTERFACE_HOLD_SHIFT)) & USBPHY_DEBUG_SET_DEBUG_INTERFACE_HOLD_MASK)
96279 
96280 #define USBPHY_DEBUG_SET_HSTPULLDOWN_MASK        (0xCU)
96281 #define USBPHY_DEBUG_SET_HSTPULLDOWN_SHIFT       (2U)
96282 /*! HSTPULLDOWN - HSTPULLDOWN
96283  */
96284 #define USBPHY_DEBUG_SET_HSTPULLDOWN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_HSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_SET_HSTPULLDOWN_MASK)
96285 
96286 #define USBPHY_DEBUG_SET_ENHSTPULLDOWN_MASK      (0x30U)
96287 #define USBPHY_DEBUG_SET_ENHSTPULLDOWN_SHIFT     (4U)
96288 /*! ENHSTPULLDOWN - ENHSTPULLDOWN
96289  */
96290 #define USBPHY_DEBUG_SET_ENHSTPULLDOWN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_ENHSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_SET_ENHSTPULLDOWN_MASK)
96291 
96292 #define USBPHY_DEBUG_SET_TX2RXCOUNT_MASK         (0xF00U)
96293 #define USBPHY_DEBUG_SET_TX2RXCOUNT_SHIFT        (8U)
96294 /*! TX2RXCOUNT - TX2RXCOUNT
96295  */
96296 #define USBPHY_DEBUG_SET_TX2RXCOUNT(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_TX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_SET_TX2RXCOUNT_MASK)
96297 
96298 #define USBPHY_DEBUG_SET_ENTX2RXCOUNT_MASK       (0x1000U)
96299 #define USBPHY_DEBUG_SET_ENTX2RXCOUNT_SHIFT      (12U)
96300 /*! ENTX2RXCOUNT - ENTX2RXCOUNT
96301  */
96302 #define USBPHY_DEBUG_SET_ENTX2RXCOUNT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_ENTX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_SET_ENTX2RXCOUNT_MASK)
96303 
96304 #define USBPHY_DEBUG_SET_SQUELCHRESETCOUNT_MASK  (0x1F0000U)
96305 #define USBPHY_DEBUG_SET_SQUELCHRESETCOUNT_SHIFT (16U)
96306 /*! SQUELCHRESETCOUNT - SQUELCHRESETCOUNT
96307  */
96308 #define USBPHY_DEBUG_SET_SQUELCHRESETCOUNT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_SQUELCHRESETCOUNT_SHIFT)) & USBPHY_DEBUG_SET_SQUELCHRESETCOUNT_MASK)
96309 
96310 #define USBPHY_DEBUG_SET_ENSQUELCHRESET_MASK     (0x1000000U)
96311 #define USBPHY_DEBUG_SET_ENSQUELCHRESET_SHIFT    (24U)
96312 /*! ENSQUELCHRESET - ENSQUELCHRESET
96313  */
96314 #define USBPHY_DEBUG_SET_ENSQUELCHRESET(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_ENSQUELCHRESET_SHIFT)) & USBPHY_DEBUG_SET_ENSQUELCHRESET_MASK)
96315 
96316 #define USBPHY_DEBUG_SET_SQUELCHRESETLENGTH_MASK (0x1E000000U)
96317 #define USBPHY_DEBUG_SET_SQUELCHRESETLENGTH_SHIFT (25U)
96318 /*! SQUELCHRESETLENGTH - SQUELCHRESETLENGTH
96319  */
96320 #define USBPHY_DEBUG_SET_SQUELCHRESETLENGTH(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_SQUELCHRESETLENGTH_SHIFT)) & USBPHY_DEBUG_SET_SQUELCHRESETLENGTH_MASK)
96321 
96322 #define USBPHY_DEBUG_SET_HOST_RESUME_DEBUG_MASK  (0x20000000U)
96323 #define USBPHY_DEBUG_SET_HOST_RESUME_DEBUG_SHIFT (29U)
96324 /*! HOST_RESUME_DEBUG - HOST_RESUME_DEBUG
96325  */
96326 #define USBPHY_DEBUG_SET_HOST_RESUME_DEBUG(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_HOST_RESUME_DEBUG_SHIFT)) & USBPHY_DEBUG_SET_HOST_RESUME_DEBUG_MASK)
96327 
96328 #define USBPHY_DEBUG_SET_CLKGATE_MASK            (0x40000000U)
96329 #define USBPHY_DEBUG_SET_CLKGATE_SHIFT           (30U)
96330 /*! CLKGATE - CLKGATE
96331  */
96332 #define USBPHY_DEBUG_SET_CLKGATE(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_SET_CLKGATE_SHIFT)) & USBPHY_DEBUG_SET_CLKGATE_MASK)
96333 /*! @} */
96334 
96335 /*! @name DEBUG_CLR - USB PHY Debug Register */
96336 /*! @{ */
96337 
96338 #define USBPHY_DEBUG_CLR_OTGIDPIOLOCK_MASK       (0x1U)
96339 #define USBPHY_DEBUG_CLR_OTGIDPIOLOCK_SHIFT      (0U)
96340 /*! OTGIDPIOLOCK - OTGIDPIOLOCK
96341  */
96342 #define USBPHY_DEBUG_CLR_OTGIDPIOLOCK(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_OTGIDPIOLOCK_SHIFT)) & USBPHY_DEBUG_CLR_OTGIDPIOLOCK_MASK)
96343 
96344 #define USBPHY_DEBUG_CLR_DEBUG_INTERFACE_HOLD_MASK (0x2U)
96345 #define USBPHY_DEBUG_CLR_DEBUG_INTERFACE_HOLD_SHIFT (1U)
96346 /*! DEBUG_INTERFACE_HOLD - DEBUG_INTERFACE_HOLD
96347  */
96348 #define USBPHY_DEBUG_CLR_DEBUG_INTERFACE_HOLD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_DEBUG_INTERFACE_HOLD_SHIFT)) & USBPHY_DEBUG_CLR_DEBUG_INTERFACE_HOLD_MASK)
96349 
96350 #define USBPHY_DEBUG_CLR_HSTPULLDOWN_MASK        (0xCU)
96351 #define USBPHY_DEBUG_CLR_HSTPULLDOWN_SHIFT       (2U)
96352 /*! HSTPULLDOWN - HSTPULLDOWN
96353  */
96354 #define USBPHY_DEBUG_CLR_HSTPULLDOWN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_HSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_CLR_HSTPULLDOWN_MASK)
96355 
96356 #define USBPHY_DEBUG_CLR_ENHSTPULLDOWN_MASK      (0x30U)
96357 #define USBPHY_DEBUG_CLR_ENHSTPULLDOWN_SHIFT     (4U)
96358 /*! ENHSTPULLDOWN - ENHSTPULLDOWN
96359  */
96360 #define USBPHY_DEBUG_CLR_ENHSTPULLDOWN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_ENHSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_CLR_ENHSTPULLDOWN_MASK)
96361 
96362 #define USBPHY_DEBUG_CLR_TX2RXCOUNT_MASK         (0xF00U)
96363 #define USBPHY_DEBUG_CLR_TX2RXCOUNT_SHIFT        (8U)
96364 /*! TX2RXCOUNT - TX2RXCOUNT
96365  */
96366 #define USBPHY_DEBUG_CLR_TX2RXCOUNT(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_TX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_CLR_TX2RXCOUNT_MASK)
96367 
96368 #define USBPHY_DEBUG_CLR_ENTX2RXCOUNT_MASK       (0x1000U)
96369 #define USBPHY_DEBUG_CLR_ENTX2RXCOUNT_SHIFT      (12U)
96370 /*! ENTX2RXCOUNT - ENTX2RXCOUNT
96371  */
96372 #define USBPHY_DEBUG_CLR_ENTX2RXCOUNT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_ENTX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_CLR_ENTX2RXCOUNT_MASK)
96373 
96374 #define USBPHY_DEBUG_CLR_SQUELCHRESETCOUNT_MASK  (0x1F0000U)
96375 #define USBPHY_DEBUG_CLR_SQUELCHRESETCOUNT_SHIFT (16U)
96376 /*! SQUELCHRESETCOUNT - SQUELCHRESETCOUNT
96377  */
96378 #define USBPHY_DEBUG_CLR_SQUELCHRESETCOUNT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_SQUELCHRESETCOUNT_SHIFT)) & USBPHY_DEBUG_CLR_SQUELCHRESETCOUNT_MASK)
96379 
96380 #define USBPHY_DEBUG_CLR_ENSQUELCHRESET_MASK     (0x1000000U)
96381 #define USBPHY_DEBUG_CLR_ENSQUELCHRESET_SHIFT    (24U)
96382 /*! ENSQUELCHRESET - ENSQUELCHRESET
96383  */
96384 #define USBPHY_DEBUG_CLR_ENSQUELCHRESET(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_ENSQUELCHRESET_SHIFT)) & USBPHY_DEBUG_CLR_ENSQUELCHRESET_MASK)
96385 
96386 #define USBPHY_DEBUG_CLR_SQUELCHRESETLENGTH_MASK (0x1E000000U)
96387 #define USBPHY_DEBUG_CLR_SQUELCHRESETLENGTH_SHIFT (25U)
96388 /*! SQUELCHRESETLENGTH - SQUELCHRESETLENGTH
96389  */
96390 #define USBPHY_DEBUG_CLR_SQUELCHRESETLENGTH(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_SQUELCHRESETLENGTH_SHIFT)) & USBPHY_DEBUG_CLR_SQUELCHRESETLENGTH_MASK)
96391 
96392 #define USBPHY_DEBUG_CLR_HOST_RESUME_DEBUG_MASK  (0x20000000U)
96393 #define USBPHY_DEBUG_CLR_HOST_RESUME_DEBUG_SHIFT (29U)
96394 /*! HOST_RESUME_DEBUG - HOST_RESUME_DEBUG
96395  */
96396 #define USBPHY_DEBUG_CLR_HOST_RESUME_DEBUG(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_HOST_RESUME_DEBUG_SHIFT)) & USBPHY_DEBUG_CLR_HOST_RESUME_DEBUG_MASK)
96397 
96398 #define USBPHY_DEBUG_CLR_CLKGATE_MASK            (0x40000000U)
96399 #define USBPHY_DEBUG_CLR_CLKGATE_SHIFT           (30U)
96400 /*! CLKGATE - CLKGATE
96401  */
96402 #define USBPHY_DEBUG_CLR_CLKGATE(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_CLR_CLKGATE_SHIFT)) & USBPHY_DEBUG_CLR_CLKGATE_MASK)
96403 /*! @} */
96404 
96405 /*! @name DEBUG_TOG - USB PHY Debug Register */
96406 /*! @{ */
96407 
96408 #define USBPHY_DEBUG_TOG_OTGIDPIOLOCK_MASK       (0x1U)
96409 #define USBPHY_DEBUG_TOG_OTGIDPIOLOCK_SHIFT      (0U)
96410 /*! OTGIDPIOLOCK - OTGIDPIOLOCK
96411  */
96412 #define USBPHY_DEBUG_TOG_OTGIDPIOLOCK(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_OTGIDPIOLOCK_SHIFT)) & USBPHY_DEBUG_TOG_OTGIDPIOLOCK_MASK)
96413 
96414 #define USBPHY_DEBUG_TOG_DEBUG_INTERFACE_HOLD_MASK (0x2U)
96415 #define USBPHY_DEBUG_TOG_DEBUG_INTERFACE_HOLD_SHIFT (1U)
96416 /*! DEBUG_INTERFACE_HOLD - DEBUG_INTERFACE_HOLD
96417  */
96418 #define USBPHY_DEBUG_TOG_DEBUG_INTERFACE_HOLD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_DEBUG_INTERFACE_HOLD_SHIFT)) & USBPHY_DEBUG_TOG_DEBUG_INTERFACE_HOLD_MASK)
96419 
96420 #define USBPHY_DEBUG_TOG_HSTPULLDOWN_MASK        (0xCU)
96421 #define USBPHY_DEBUG_TOG_HSTPULLDOWN_SHIFT       (2U)
96422 /*! HSTPULLDOWN - HSTPULLDOWN
96423  */
96424 #define USBPHY_DEBUG_TOG_HSTPULLDOWN(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_HSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_TOG_HSTPULLDOWN_MASK)
96425 
96426 #define USBPHY_DEBUG_TOG_ENHSTPULLDOWN_MASK      (0x30U)
96427 #define USBPHY_DEBUG_TOG_ENHSTPULLDOWN_SHIFT     (4U)
96428 /*! ENHSTPULLDOWN - ENHSTPULLDOWN
96429  */
96430 #define USBPHY_DEBUG_TOG_ENHSTPULLDOWN(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_ENHSTPULLDOWN_SHIFT)) & USBPHY_DEBUG_TOG_ENHSTPULLDOWN_MASK)
96431 
96432 #define USBPHY_DEBUG_TOG_TX2RXCOUNT_MASK         (0xF00U)
96433 #define USBPHY_DEBUG_TOG_TX2RXCOUNT_SHIFT        (8U)
96434 /*! TX2RXCOUNT - TX2RXCOUNT
96435  */
96436 #define USBPHY_DEBUG_TOG_TX2RXCOUNT(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_TX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_TOG_TX2RXCOUNT_MASK)
96437 
96438 #define USBPHY_DEBUG_TOG_ENTX2RXCOUNT_MASK       (0x1000U)
96439 #define USBPHY_DEBUG_TOG_ENTX2RXCOUNT_SHIFT      (12U)
96440 /*! ENTX2RXCOUNT - ENTX2RXCOUNT
96441  */
96442 #define USBPHY_DEBUG_TOG_ENTX2RXCOUNT(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_ENTX2RXCOUNT_SHIFT)) & USBPHY_DEBUG_TOG_ENTX2RXCOUNT_MASK)
96443 
96444 #define USBPHY_DEBUG_TOG_SQUELCHRESETCOUNT_MASK  (0x1F0000U)
96445 #define USBPHY_DEBUG_TOG_SQUELCHRESETCOUNT_SHIFT (16U)
96446 /*! SQUELCHRESETCOUNT - SQUELCHRESETCOUNT
96447  */
96448 #define USBPHY_DEBUG_TOG_SQUELCHRESETCOUNT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_SQUELCHRESETCOUNT_SHIFT)) & USBPHY_DEBUG_TOG_SQUELCHRESETCOUNT_MASK)
96449 
96450 #define USBPHY_DEBUG_TOG_ENSQUELCHRESET_MASK     (0x1000000U)
96451 #define USBPHY_DEBUG_TOG_ENSQUELCHRESET_SHIFT    (24U)
96452 /*! ENSQUELCHRESET - ENSQUELCHRESET
96453  */
96454 #define USBPHY_DEBUG_TOG_ENSQUELCHRESET(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_ENSQUELCHRESET_SHIFT)) & USBPHY_DEBUG_TOG_ENSQUELCHRESET_MASK)
96455 
96456 #define USBPHY_DEBUG_TOG_SQUELCHRESETLENGTH_MASK (0x1E000000U)
96457 #define USBPHY_DEBUG_TOG_SQUELCHRESETLENGTH_SHIFT (25U)
96458 /*! SQUELCHRESETLENGTH - SQUELCHRESETLENGTH
96459  */
96460 #define USBPHY_DEBUG_TOG_SQUELCHRESETLENGTH(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_SQUELCHRESETLENGTH_SHIFT)) & USBPHY_DEBUG_TOG_SQUELCHRESETLENGTH_MASK)
96461 
96462 #define USBPHY_DEBUG_TOG_HOST_RESUME_DEBUG_MASK  (0x20000000U)
96463 #define USBPHY_DEBUG_TOG_HOST_RESUME_DEBUG_SHIFT (29U)
96464 /*! HOST_RESUME_DEBUG - HOST_RESUME_DEBUG
96465  */
96466 #define USBPHY_DEBUG_TOG_HOST_RESUME_DEBUG(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_HOST_RESUME_DEBUG_SHIFT)) & USBPHY_DEBUG_TOG_HOST_RESUME_DEBUG_MASK)
96467 
96468 #define USBPHY_DEBUG_TOG_CLKGATE_MASK            (0x40000000U)
96469 #define USBPHY_DEBUG_TOG_CLKGATE_SHIFT           (30U)
96470 /*! CLKGATE - CLKGATE
96471  */
96472 #define USBPHY_DEBUG_TOG_CLKGATE(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG_TOG_CLKGATE_SHIFT)) & USBPHY_DEBUG_TOG_CLKGATE_MASK)
96473 /*! @} */
96474 
96475 /*! @name DEBUG0_STATUS - UTMI Debug Status Register 0 */
96476 /*! @{ */
96477 
96478 #define USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_MASK (0xFFFFU)
96479 #define USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_SHIFT (0U)
96480 /*! LOOP_BACK_FAIL_COUNT - LOOP_BACK_FAIL_COUNT
96481  */
96482 #define USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_SHIFT)) & USBPHY_DEBUG0_STATUS_LOOP_BACK_FAIL_COUNT_MASK)
96483 
96484 #define USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_MASK (0x3FF0000U)
96485 #define USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_SHIFT (16U)
96486 /*! UTMI_RXERROR_FAIL_COUNT - UTMI_RXERROR_FAIL_COUNT
96487  */
96488 #define USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_SHIFT)) & USBPHY_DEBUG0_STATUS_UTMI_RXERROR_FAIL_COUNT_MASK)
96489 
96490 #define USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_MASK  (0xFC000000U)
96491 #define USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_SHIFT (26U)
96492 /*! SQUELCH_COUNT - SQUELCH_COUNT
96493  */
96494 #define USBPHY_DEBUG0_STATUS_SQUELCH_COUNT(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_SHIFT)) & USBPHY_DEBUG0_STATUS_SQUELCH_COUNT_MASK)
96495 /*! @} */
96496 
96497 /*! @name DEBUG1 - UTMI Debug Status Register 1 */
96498 /*! @{ */
96499 
96500 #define USBPHY_DEBUG1_ENTAILADJVD_MASK           (0x6000U)
96501 #define USBPHY_DEBUG1_ENTAILADJVD_SHIFT          (13U)
96502 /*! ENTAILADJVD - ENTAILADJVD
96503  *  0b00..Delay is nominal
96504  *  0b01..Delay is +20%
96505  *  0b10..Delay is -20%
96506  *  0b11..Delay is -40%
96507  */
96508 #define USBPHY_DEBUG1_ENTAILADJVD(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_ENTAILADJVD_SHIFT)) & USBPHY_DEBUG1_ENTAILADJVD_MASK)
96509 
96510 #define USBPHY_DEBUG1_USB2_REFBIAS_SELFBIASOFF_MASK (0x8000U)
96511 #define USBPHY_DEBUG1_USB2_REFBIAS_SELFBIASOFF_SHIFT (15U)
96512 /*! USB2_REFBIAS_SELFBIASOFF - Set to 1 to disable self bias, 100 us after power up refbias(usb2_refbias_pwd).This can reduce noise on power.
96513  */
96514 #define USBPHY_DEBUG1_USB2_REFBIAS_SELFBIASOFF(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_USB2_REFBIAS_SELFBIASOFF_SHIFT)) & USBPHY_DEBUG1_USB2_REFBIAS_SELFBIASOFF_MASK)
96515 
96516 #define USBPHY_DEBUG1_USB2_REFBIAS_PWDVBGUP_MASK (0x10000U)
96517 #define USBPHY_DEBUG1_USB2_REFBIAS_PWDVBGUP_SHIFT (16U)
96518 /*! USB2_REFBIAS_PWDVBGUP - Powers down the bandgap detect logic, will affect vbgup on misc1 register.
96519  */
96520 #define USBPHY_DEBUG1_USB2_REFBIAS_PWDVBGUP(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_USB2_REFBIAS_PWDVBGUP_SHIFT)) & USBPHY_DEBUG1_USB2_REFBIAS_PWDVBGUP_MASK)
96521 
96522 #define USBPHY_DEBUG1_USB2_REFBIAS_LOWPWR_MASK   (0x20000U)
96523 #define USBPHY_DEBUG1_USB2_REFBIAS_LOWPWR_SHIFT  (17U)
96524 /*! USB2_REFBIAS_LOWPWR - to be added
96525  */
96526 #define USBPHY_DEBUG1_USB2_REFBIAS_LOWPWR(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_USB2_REFBIAS_LOWPWR_SHIFT)) & USBPHY_DEBUG1_USB2_REFBIAS_LOWPWR_MASK)
96527 
96528 #define USBPHY_DEBUG1_USB2_REFBIAS_VBGADJ_MASK   (0x1C0000U)
96529 #define USBPHY_DEBUG1_USB2_REFBIAS_VBGADJ_SHIFT  (18U)
96530 /*! USB2_REFBIAS_VBGADJ - Adjustment bits on bandgap
96531  */
96532 #define USBPHY_DEBUG1_USB2_REFBIAS_VBGADJ(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_DEBUG1_USB2_REFBIAS_VBGADJ_MASK)
96533 
96534 #define USBPHY_DEBUG1_USB2_REFBIAS_TST_MASK      (0x600000U)
96535 #define USBPHY_DEBUG1_USB2_REFBIAS_TST_SHIFT     (21U)
96536 /*! USB2_REFBIAS_TST - Bias current control for usb2_phy
96537  */
96538 #define USBPHY_DEBUG1_USB2_REFBIAS_TST(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_USB2_REFBIAS_TST_SHIFT)) & USBPHY_DEBUG1_USB2_REFBIAS_TST_MASK)
96539 /*! @} */
96540 
96541 /*! @name DEBUG1_SET - UTMI Debug Status Register 1 */
96542 /*! @{ */
96543 
96544 #define USBPHY_DEBUG1_SET_ENTAILADJVD_MASK       (0x6000U)
96545 #define USBPHY_DEBUG1_SET_ENTAILADJVD_SHIFT      (13U)
96546 /*! ENTAILADJVD - ENTAILADJVD
96547  */
96548 #define USBPHY_DEBUG1_SET_ENTAILADJVD(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_ENTAILADJVD_SHIFT)) & USBPHY_DEBUG1_SET_ENTAILADJVD_MASK)
96549 
96550 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_SELFBIASOFF_MASK (0x8000U)
96551 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_SELFBIASOFF_SHIFT (15U)
96552 /*! USB2_REFBIAS_SELFBIASOFF - Set to 1 to disable self bias, 100 us after power up refbias(usb2_refbias_pwd).This can reduce noise on power.
96553  */
96554 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_SELFBIASOFF(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_USB2_REFBIAS_SELFBIASOFF_SHIFT)) & USBPHY_DEBUG1_SET_USB2_REFBIAS_SELFBIASOFF_MASK)
96555 
96556 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_PWDVBGUP_MASK (0x10000U)
96557 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_PWDVBGUP_SHIFT (16U)
96558 /*! USB2_REFBIAS_PWDVBGUP - Powers down the bandgap detect logic, will affect vbgup on misc1 register.
96559  */
96560 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_PWDVBGUP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_USB2_REFBIAS_PWDVBGUP_SHIFT)) & USBPHY_DEBUG1_SET_USB2_REFBIAS_PWDVBGUP_MASK)
96561 
96562 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_LOWPWR_MASK (0x20000U)
96563 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_LOWPWR_SHIFT (17U)
96564 /*! USB2_REFBIAS_LOWPWR - to be added
96565  */
96566 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_LOWPWR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_USB2_REFBIAS_LOWPWR_SHIFT)) & USBPHY_DEBUG1_SET_USB2_REFBIAS_LOWPWR_MASK)
96567 
96568 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_VBGADJ_MASK (0x1C0000U)
96569 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_VBGADJ_SHIFT (18U)
96570 /*! USB2_REFBIAS_VBGADJ - Adjustment bits on bandgap
96571  */
96572 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_DEBUG1_SET_USB2_REFBIAS_VBGADJ_MASK)
96573 
96574 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_TST_MASK  (0x600000U)
96575 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_TST_SHIFT (21U)
96576 /*! USB2_REFBIAS_TST - Bias current control for usb2_phy
96577  */
96578 #define USBPHY_DEBUG1_SET_USB2_REFBIAS_TST(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_SET_USB2_REFBIAS_TST_SHIFT)) & USBPHY_DEBUG1_SET_USB2_REFBIAS_TST_MASK)
96579 /*! @} */
96580 
96581 /*! @name DEBUG1_CLR - UTMI Debug Status Register 1 */
96582 /*! @{ */
96583 
96584 #define USBPHY_DEBUG1_CLR_ENTAILADJVD_MASK       (0x6000U)
96585 #define USBPHY_DEBUG1_CLR_ENTAILADJVD_SHIFT      (13U)
96586 /*! ENTAILADJVD - ENTAILADJVD
96587  */
96588 #define USBPHY_DEBUG1_CLR_ENTAILADJVD(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_ENTAILADJVD_SHIFT)) & USBPHY_DEBUG1_CLR_ENTAILADJVD_MASK)
96589 
96590 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_SELFBIASOFF_MASK (0x8000U)
96591 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_SELFBIASOFF_SHIFT (15U)
96592 /*! USB2_REFBIAS_SELFBIASOFF - Set to 1 to disable self bias, 100 us after power up refbias(usb2_refbias_pwd).This can reduce noise on power.
96593  */
96594 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_SELFBIASOFF(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_USB2_REFBIAS_SELFBIASOFF_SHIFT)) & USBPHY_DEBUG1_CLR_USB2_REFBIAS_SELFBIASOFF_MASK)
96595 
96596 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_PWDVBGUP_MASK (0x10000U)
96597 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_PWDVBGUP_SHIFT (16U)
96598 /*! USB2_REFBIAS_PWDVBGUP - Powers down the bandgap detect logic, will affect vbgup on misc1 register.
96599  */
96600 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_PWDVBGUP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_USB2_REFBIAS_PWDVBGUP_SHIFT)) & USBPHY_DEBUG1_CLR_USB2_REFBIAS_PWDVBGUP_MASK)
96601 
96602 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_LOWPWR_MASK (0x20000U)
96603 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_LOWPWR_SHIFT (17U)
96604 /*! USB2_REFBIAS_LOWPWR - to be added
96605  */
96606 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_LOWPWR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_USB2_REFBIAS_LOWPWR_SHIFT)) & USBPHY_DEBUG1_CLR_USB2_REFBIAS_LOWPWR_MASK)
96607 
96608 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_VBGADJ_MASK (0x1C0000U)
96609 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_VBGADJ_SHIFT (18U)
96610 /*! USB2_REFBIAS_VBGADJ - Adjustment bits on bandgap
96611  */
96612 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_DEBUG1_CLR_USB2_REFBIAS_VBGADJ_MASK)
96613 
96614 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_TST_MASK  (0x600000U)
96615 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_TST_SHIFT (21U)
96616 /*! USB2_REFBIAS_TST - Bias current control for usb2_phy
96617  */
96618 #define USBPHY_DEBUG1_CLR_USB2_REFBIAS_TST(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_CLR_USB2_REFBIAS_TST_SHIFT)) & USBPHY_DEBUG1_CLR_USB2_REFBIAS_TST_MASK)
96619 /*! @} */
96620 
96621 /*! @name DEBUG1_TOG - UTMI Debug Status Register 1 */
96622 /*! @{ */
96623 
96624 #define USBPHY_DEBUG1_TOG_ENTAILADJVD_MASK       (0x6000U)
96625 #define USBPHY_DEBUG1_TOG_ENTAILADJVD_SHIFT      (13U)
96626 /*! ENTAILADJVD - ENTAILADJVD
96627  */
96628 #define USBPHY_DEBUG1_TOG_ENTAILADJVD(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_ENTAILADJVD_SHIFT)) & USBPHY_DEBUG1_TOG_ENTAILADJVD_MASK)
96629 
96630 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_SELFBIASOFF_MASK (0x8000U)
96631 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_SELFBIASOFF_SHIFT (15U)
96632 /*! USB2_REFBIAS_SELFBIASOFF - Set to 1 to disable self bias, 100 us after power up refbias(usb2_refbias_pwd).This can reduce noise on power.
96633  */
96634 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_SELFBIASOFF(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_USB2_REFBIAS_SELFBIASOFF_SHIFT)) & USBPHY_DEBUG1_TOG_USB2_REFBIAS_SELFBIASOFF_MASK)
96635 
96636 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_PWDVBGUP_MASK (0x10000U)
96637 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_PWDVBGUP_SHIFT (16U)
96638 /*! USB2_REFBIAS_PWDVBGUP - Powers down the bandgap detect logic, will affect vbgup on misc1 register.
96639  */
96640 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_PWDVBGUP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_USB2_REFBIAS_PWDVBGUP_SHIFT)) & USBPHY_DEBUG1_TOG_USB2_REFBIAS_PWDVBGUP_MASK)
96641 
96642 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_LOWPWR_MASK (0x20000U)
96643 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_LOWPWR_SHIFT (17U)
96644 /*! USB2_REFBIAS_LOWPWR - to be added
96645  */
96646 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_LOWPWR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_USB2_REFBIAS_LOWPWR_SHIFT)) & USBPHY_DEBUG1_TOG_USB2_REFBIAS_LOWPWR_MASK)
96647 
96648 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_VBGADJ_MASK (0x1C0000U)
96649 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_VBGADJ_SHIFT (18U)
96650 /*! USB2_REFBIAS_VBGADJ - Adjustment bits on bandgap
96651  */
96652 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_DEBUG1_TOG_USB2_REFBIAS_VBGADJ_MASK)
96653 
96654 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_TST_MASK  (0x600000U)
96655 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_TST_SHIFT (21U)
96656 /*! USB2_REFBIAS_TST - Bias current control for usb2_phy
96657  */
96658 #define USBPHY_DEBUG1_TOG_USB2_REFBIAS_TST(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_DEBUG1_TOG_USB2_REFBIAS_TST_SHIFT)) & USBPHY_DEBUG1_TOG_USB2_REFBIAS_TST_MASK)
96659 /*! @} */
96660 
96661 /*! @name VERSION - UTMI RTL Version */
96662 /*! @{ */
96663 
96664 #define USBPHY_VERSION_STEP_MASK                 (0xFFFFU)
96665 #define USBPHY_VERSION_STEP_SHIFT                (0U)
96666 /*! STEP - STEP
96667  */
96668 #define USBPHY_VERSION_STEP(x)                   (((uint32_t)(((uint32_t)(x)) << USBPHY_VERSION_STEP_SHIFT)) & USBPHY_VERSION_STEP_MASK)
96669 
96670 #define USBPHY_VERSION_MINOR_MASK                (0xFF0000U)
96671 #define USBPHY_VERSION_MINOR_SHIFT               (16U)
96672 /*! MINOR - MINOR
96673  */
96674 #define USBPHY_VERSION_MINOR(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_VERSION_MINOR_SHIFT)) & USBPHY_VERSION_MINOR_MASK)
96675 
96676 #define USBPHY_VERSION_MAJOR_MASK                (0xFF000000U)
96677 #define USBPHY_VERSION_MAJOR_SHIFT               (24U)
96678 /*! MAJOR - MAJOR
96679  */
96680 #define USBPHY_VERSION_MAJOR(x)                  (((uint32_t)(((uint32_t)(x)) << USBPHY_VERSION_MAJOR_SHIFT)) & USBPHY_VERSION_MAJOR_MASK)
96681 /*! @} */
96682 
96683 /*! @name PLL_SIC - USB PHY PLL Control/Status Register */
96684 /*! @{ */
96685 
96686 #define USBPHY_PLL_SIC_PLL_POSTDIV_MASK          (0x1CU)
96687 #define USBPHY_PLL_SIC_PLL_POSTDIV_SHIFT         (2U)
96688 /*! PLL_POSTDIV - PLL_POSTDIV
96689  */
96690 #define USBPHY_PLL_SIC_PLL_POSTDIV(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_POSTDIV_SHIFT)) & USBPHY_PLL_SIC_PLL_POSTDIV_MASK)
96691 
96692 #define USBPHY_PLL_SIC_PLL_EN_USB_CLKS_MASK      (0x40U)
96693 #define USBPHY_PLL_SIC_PLL_EN_USB_CLKS_SHIFT     (6U)
96694 /*! PLL_EN_USB_CLKS - PLL_EN_USB_CLKS
96695  */
96696 #define USBPHY_PLL_SIC_PLL_EN_USB_CLKS(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_EN_USB_CLKS_SHIFT)) & USBPHY_PLL_SIC_PLL_EN_USB_CLKS_MASK)
96697 
96698 #define USBPHY_PLL_SIC_PLL_POWER_MASK            (0x1000U)
96699 #define USBPHY_PLL_SIC_PLL_POWER_SHIFT           (12U)
96700 /*! PLL_POWER - PLL_POWER
96701  */
96702 #define USBPHY_PLL_SIC_PLL_POWER(x)              (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_POWER_SHIFT)) & USBPHY_PLL_SIC_PLL_POWER_MASK)
96703 
96704 #define USBPHY_PLL_SIC_PLL_ENABLE_MASK           (0x2000U)
96705 #define USBPHY_PLL_SIC_PLL_ENABLE_SHIFT          (13U)
96706 /*! PLL_ENABLE - PLL_ENABLE
96707  */
96708 #define USBPHY_PLL_SIC_PLL_ENABLE(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_ENABLE_SHIFT)) & USBPHY_PLL_SIC_PLL_ENABLE_MASK)
96709 
96710 #define USBPHY_PLL_SIC_PLL_BYPASS_MASK           (0x10000U)
96711 #define USBPHY_PLL_SIC_PLL_BYPASS_SHIFT          (16U)
96712 /*! PLL_BYPASS - PLL_BYPASS
96713  */
96714 #define USBPHY_PLL_SIC_PLL_BYPASS(x)             (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_BYPASS_SHIFT)) & USBPHY_PLL_SIC_PLL_BYPASS_MASK)
96715 
96716 #define USBPHY_PLL_SIC_REFBIAS_PWD_SEL_MASK      (0x80000U)
96717 #define USBPHY_PLL_SIC_REFBIAS_PWD_SEL_SHIFT     (19U)
96718 /*! REFBIAS_PWD_SEL - REFBIAS_PWD_SEL
96719  *  0b0..Selects PLL_POWER to control the reference bias
96720  *  0b1..Selects REFBIAS_PWD to control the reference bias.
96721  */
96722 #define USBPHY_PLL_SIC_REFBIAS_PWD_SEL(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_REFBIAS_PWD_SEL_SHIFT)) & USBPHY_PLL_SIC_REFBIAS_PWD_SEL_MASK)
96723 
96724 #define USBPHY_PLL_SIC_REFBIAS_PWD_MASK          (0x100000U)
96725 #define USBPHY_PLL_SIC_REFBIAS_PWD_SHIFT         (20U)
96726 /*! REFBIAS_PWD - Power down the reference bias
96727  */
96728 #define USBPHY_PLL_SIC_REFBIAS_PWD(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_REFBIAS_PWD_SHIFT)) & USBPHY_PLL_SIC_REFBIAS_PWD_MASK)
96729 
96730 #define USBPHY_PLL_SIC_PLL_REG_ENABLE_MASK       (0x200000U)
96731 #define USBPHY_PLL_SIC_PLL_REG_ENABLE_SHIFT      (21U)
96732 /*! PLL_REG_ENABLE - PLL_REG_ENABLE
96733  */
96734 #define USBPHY_PLL_SIC_PLL_REG_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_REG_ENABLE_SHIFT)) & USBPHY_PLL_SIC_PLL_REG_ENABLE_MASK)
96735 
96736 #define USBPHY_PLL_SIC_PLL_DIV_SEL_MASK          (0x1C00000U)
96737 #define USBPHY_PLL_SIC_PLL_DIV_SEL_SHIFT         (22U)
96738 /*! PLL_DIV_SEL - PLL_DIV_SEL
96739  *  0b000..Divide by 13
96740  *  0b001..Divide by 15
96741  *  0b010..Divide by 16
96742  *  0b011..Divide by 20
96743  *  0b100..Divide by 22
96744  *  0b101..Divide by 25
96745  *  0b110..Divide by 30
96746  *  0b111..Divide by 240
96747  */
96748 #define USBPHY_PLL_SIC_PLL_DIV_SEL(x)            (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_DIV_SEL_SHIFT)) & USBPHY_PLL_SIC_PLL_DIV_SEL_MASK)
96749 
96750 #define USBPHY_PLL_SIC_PLL_LOCK_MASK             (0x80000000U)
96751 #define USBPHY_PLL_SIC_PLL_LOCK_SHIFT            (31U)
96752 /*! PLL_LOCK - PLL_LOCK
96753  *  0b0..PLL is not currently locked
96754  *  0b1..PLL is currently locked
96755  */
96756 #define USBPHY_PLL_SIC_PLL_LOCK(x)               (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_PLL_LOCK_SHIFT)) & USBPHY_PLL_SIC_PLL_LOCK_MASK)
96757 /*! @} */
96758 
96759 /*! @name PLL_SIC_SET - USB PHY PLL Control/Status Register */
96760 /*! @{ */
96761 
96762 #define USBPHY_PLL_SIC_SET_PLL_POSTDIV_MASK      (0x1CU)
96763 #define USBPHY_PLL_SIC_SET_PLL_POSTDIV_SHIFT     (2U)
96764 /*! PLL_POSTDIV - PLL_POSTDIV
96765  */
96766 #define USBPHY_PLL_SIC_SET_PLL_POSTDIV(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_POSTDIV_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_POSTDIV_MASK)
96767 
96768 #define USBPHY_PLL_SIC_SET_PLL_EN_USB_CLKS_MASK  (0x40U)
96769 #define USBPHY_PLL_SIC_SET_PLL_EN_USB_CLKS_SHIFT (6U)
96770 /*! PLL_EN_USB_CLKS - PLL_EN_USB_CLKS
96771  */
96772 #define USBPHY_PLL_SIC_SET_PLL_EN_USB_CLKS(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_EN_USB_CLKS_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_EN_USB_CLKS_MASK)
96773 
96774 #define USBPHY_PLL_SIC_SET_PLL_POWER_MASK        (0x1000U)
96775 #define USBPHY_PLL_SIC_SET_PLL_POWER_SHIFT       (12U)
96776 /*! PLL_POWER - PLL_POWER
96777  */
96778 #define USBPHY_PLL_SIC_SET_PLL_POWER(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_POWER_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_POWER_MASK)
96779 
96780 #define USBPHY_PLL_SIC_SET_PLL_ENABLE_MASK       (0x2000U)
96781 #define USBPHY_PLL_SIC_SET_PLL_ENABLE_SHIFT      (13U)
96782 /*! PLL_ENABLE - PLL_ENABLE
96783  */
96784 #define USBPHY_PLL_SIC_SET_PLL_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_ENABLE_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_ENABLE_MASK)
96785 
96786 #define USBPHY_PLL_SIC_SET_PLL_BYPASS_MASK       (0x10000U)
96787 #define USBPHY_PLL_SIC_SET_PLL_BYPASS_SHIFT      (16U)
96788 /*! PLL_BYPASS - PLL_BYPASS
96789  */
96790 #define USBPHY_PLL_SIC_SET_PLL_BYPASS(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_BYPASS_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_BYPASS_MASK)
96791 
96792 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD_SEL_MASK  (0x80000U)
96793 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD_SEL_SHIFT (19U)
96794 /*! REFBIAS_PWD_SEL - REFBIAS_PWD_SEL
96795  */
96796 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD_SEL(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_REFBIAS_PWD_SEL_SHIFT)) & USBPHY_PLL_SIC_SET_REFBIAS_PWD_SEL_MASK)
96797 
96798 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD_MASK      (0x100000U)
96799 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD_SHIFT     (20U)
96800 /*! REFBIAS_PWD - Power down the reference bias
96801  */
96802 #define USBPHY_PLL_SIC_SET_REFBIAS_PWD(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_REFBIAS_PWD_SHIFT)) & USBPHY_PLL_SIC_SET_REFBIAS_PWD_MASK)
96803 
96804 #define USBPHY_PLL_SIC_SET_PLL_REG_ENABLE_MASK   (0x200000U)
96805 #define USBPHY_PLL_SIC_SET_PLL_REG_ENABLE_SHIFT  (21U)
96806 /*! PLL_REG_ENABLE - PLL_REG_ENABLE
96807  */
96808 #define USBPHY_PLL_SIC_SET_PLL_REG_ENABLE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_REG_ENABLE_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_REG_ENABLE_MASK)
96809 
96810 #define USBPHY_PLL_SIC_SET_PLL_DIV_SEL_MASK      (0x1C00000U)
96811 #define USBPHY_PLL_SIC_SET_PLL_DIV_SEL_SHIFT     (22U)
96812 /*! PLL_DIV_SEL - PLL_DIV_SEL
96813  */
96814 #define USBPHY_PLL_SIC_SET_PLL_DIV_SEL(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_DIV_SEL_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_DIV_SEL_MASK)
96815 
96816 #define USBPHY_PLL_SIC_SET_PLL_LOCK_MASK         (0x80000000U)
96817 #define USBPHY_PLL_SIC_SET_PLL_LOCK_SHIFT        (31U)
96818 /*! PLL_LOCK - PLL_LOCK
96819  */
96820 #define USBPHY_PLL_SIC_SET_PLL_LOCK(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_SET_PLL_LOCK_SHIFT)) & USBPHY_PLL_SIC_SET_PLL_LOCK_MASK)
96821 /*! @} */
96822 
96823 /*! @name PLL_SIC_CLR - USB PHY PLL Control/Status Register */
96824 /*! @{ */
96825 
96826 #define USBPHY_PLL_SIC_CLR_PLL_POSTDIV_MASK      (0x1CU)
96827 #define USBPHY_PLL_SIC_CLR_PLL_POSTDIV_SHIFT     (2U)
96828 /*! PLL_POSTDIV - PLL_POSTDIV
96829  */
96830 #define USBPHY_PLL_SIC_CLR_PLL_POSTDIV(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_POSTDIV_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_POSTDIV_MASK)
96831 
96832 #define USBPHY_PLL_SIC_CLR_PLL_EN_USB_CLKS_MASK  (0x40U)
96833 #define USBPHY_PLL_SIC_CLR_PLL_EN_USB_CLKS_SHIFT (6U)
96834 /*! PLL_EN_USB_CLKS - PLL_EN_USB_CLKS
96835  */
96836 #define USBPHY_PLL_SIC_CLR_PLL_EN_USB_CLKS(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_EN_USB_CLKS_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_EN_USB_CLKS_MASK)
96837 
96838 #define USBPHY_PLL_SIC_CLR_PLL_POWER_MASK        (0x1000U)
96839 #define USBPHY_PLL_SIC_CLR_PLL_POWER_SHIFT       (12U)
96840 /*! PLL_POWER - PLL_POWER
96841  */
96842 #define USBPHY_PLL_SIC_CLR_PLL_POWER(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_POWER_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_POWER_MASK)
96843 
96844 #define USBPHY_PLL_SIC_CLR_PLL_ENABLE_MASK       (0x2000U)
96845 #define USBPHY_PLL_SIC_CLR_PLL_ENABLE_SHIFT      (13U)
96846 /*! PLL_ENABLE - PLL_ENABLE
96847  */
96848 #define USBPHY_PLL_SIC_CLR_PLL_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_ENABLE_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_ENABLE_MASK)
96849 
96850 #define USBPHY_PLL_SIC_CLR_PLL_BYPASS_MASK       (0x10000U)
96851 #define USBPHY_PLL_SIC_CLR_PLL_BYPASS_SHIFT      (16U)
96852 /*! PLL_BYPASS - PLL_BYPASS
96853  */
96854 #define USBPHY_PLL_SIC_CLR_PLL_BYPASS(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_BYPASS_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_BYPASS_MASK)
96855 
96856 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SEL_MASK  (0x80000U)
96857 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SEL_SHIFT (19U)
96858 /*! REFBIAS_PWD_SEL - REFBIAS_PWD_SEL
96859  */
96860 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SEL(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SEL_SHIFT)) & USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SEL_MASK)
96861 
96862 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD_MASK      (0x100000U)
96863 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SHIFT     (20U)
96864 /*! REFBIAS_PWD - Power down the reference bias
96865  */
96866 #define USBPHY_PLL_SIC_CLR_REFBIAS_PWD(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_REFBIAS_PWD_SHIFT)) & USBPHY_PLL_SIC_CLR_REFBIAS_PWD_MASK)
96867 
96868 #define USBPHY_PLL_SIC_CLR_PLL_REG_ENABLE_MASK   (0x200000U)
96869 #define USBPHY_PLL_SIC_CLR_PLL_REG_ENABLE_SHIFT  (21U)
96870 /*! PLL_REG_ENABLE - PLL_REG_ENABLE
96871  */
96872 #define USBPHY_PLL_SIC_CLR_PLL_REG_ENABLE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_REG_ENABLE_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_REG_ENABLE_MASK)
96873 
96874 #define USBPHY_PLL_SIC_CLR_PLL_DIV_SEL_MASK      (0x1C00000U)
96875 #define USBPHY_PLL_SIC_CLR_PLL_DIV_SEL_SHIFT     (22U)
96876 /*! PLL_DIV_SEL - PLL_DIV_SEL
96877  */
96878 #define USBPHY_PLL_SIC_CLR_PLL_DIV_SEL(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_DIV_SEL_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_DIV_SEL_MASK)
96879 
96880 #define USBPHY_PLL_SIC_CLR_PLL_LOCK_MASK         (0x80000000U)
96881 #define USBPHY_PLL_SIC_CLR_PLL_LOCK_SHIFT        (31U)
96882 /*! PLL_LOCK - PLL_LOCK
96883  */
96884 #define USBPHY_PLL_SIC_CLR_PLL_LOCK(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_CLR_PLL_LOCK_SHIFT)) & USBPHY_PLL_SIC_CLR_PLL_LOCK_MASK)
96885 /*! @} */
96886 
96887 /*! @name PLL_SIC_TOG - USB PHY PLL Control/Status Register */
96888 /*! @{ */
96889 
96890 #define USBPHY_PLL_SIC_TOG_PLL_POSTDIV_MASK      (0x1CU)
96891 #define USBPHY_PLL_SIC_TOG_PLL_POSTDIV_SHIFT     (2U)
96892 /*! PLL_POSTDIV - PLL_POSTDIV
96893  */
96894 #define USBPHY_PLL_SIC_TOG_PLL_POSTDIV(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_POSTDIV_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_POSTDIV_MASK)
96895 
96896 #define USBPHY_PLL_SIC_TOG_PLL_EN_USB_CLKS_MASK  (0x40U)
96897 #define USBPHY_PLL_SIC_TOG_PLL_EN_USB_CLKS_SHIFT (6U)
96898 /*! PLL_EN_USB_CLKS - PLL_EN_USB_CLKS
96899  */
96900 #define USBPHY_PLL_SIC_TOG_PLL_EN_USB_CLKS(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_EN_USB_CLKS_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_EN_USB_CLKS_MASK)
96901 
96902 #define USBPHY_PLL_SIC_TOG_PLL_POWER_MASK        (0x1000U)
96903 #define USBPHY_PLL_SIC_TOG_PLL_POWER_SHIFT       (12U)
96904 /*! PLL_POWER - PLL_POWER
96905  */
96906 #define USBPHY_PLL_SIC_TOG_PLL_POWER(x)          (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_POWER_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_POWER_MASK)
96907 
96908 #define USBPHY_PLL_SIC_TOG_PLL_ENABLE_MASK       (0x2000U)
96909 #define USBPHY_PLL_SIC_TOG_PLL_ENABLE_SHIFT      (13U)
96910 /*! PLL_ENABLE - PLL_ENABLE
96911  */
96912 #define USBPHY_PLL_SIC_TOG_PLL_ENABLE(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_ENABLE_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_ENABLE_MASK)
96913 
96914 #define USBPHY_PLL_SIC_TOG_PLL_BYPASS_MASK       (0x10000U)
96915 #define USBPHY_PLL_SIC_TOG_PLL_BYPASS_SHIFT      (16U)
96916 /*! PLL_BYPASS - PLL_BYPASS
96917  */
96918 #define USBPHY_PLL_SIC_TOG_PLL_BYPASS(x)         (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_BYPASS_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_BYPASS_MASK)
96919 
96920 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SEL_MASK  (0x80000U)
96921 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SEL_SHIFT (19U)
96922 /*! REFBIAS_PWD_SEL - REFBIAS_PWD_SEL
96923  */
96924 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SEL(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SEL_SHIFT)) & USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SEL_MASK)
96925 
96926 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD_MASK      (0x100000U)
96927 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SHIFT     (20U)
96928 /*! REFBIAS_PWD - Power down the reference bias
96929  */
96930 #define USBPHY_PLL_SIC_TOG_REFBIAS_PWD(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_REFBIAS_PWD_SHIFT)) & USBPHY_PLL_SIC_TOG_REFBIAS_PWD_MASK)
96931 
96932 #define USBPHY_PLL_SIC_TOG_PLL_REG_ENABLE_MASK   (0x200000U)
96933 #define USBPHY_PLL_SIC_TOG_PLL_REG_ENABLE_SHIFT  (21U)
96934 /*! PLL_REG_ENABLE - PLL_REG_ENABLE
96935  */
96936 #define USBPHY_PLL_SIC_TOG_PLL_REG_ENABLE(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_REG_ENABLE_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_REG_ENABLE_MASK)
96937 
96938 #define USBPHY_PLL_SIC_TOG_PLL_DIV_SEL_MASK      (0x1C00000U)
96939 #define USBPHY_PLL_SIC_TOG_PLL_DIV_SEL_SHIFT     (22U)
96940 /*! PLL_DIV_SEL - PLL_DIV_SEL
96941  */
96942 #define USBPHY_PLL_SIC_TOG_PLL_DIV_SEL(x)        (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_DIV_SEL_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_DIV_SEL_MASK)
96943 
96944 #define USBPHY_PLL_SIC_TOG_PLL_LOCK_MASK         (0x80000000U)
96945 #define USBPHY_PLL_SIC_TOG_PLL_LOCK_SHIFT        (31U)
96946 /*! PLL_LOCK - PLL_LOCK
96947  */
96948 #define USBPHY_PLL_SIC_TOG_PLL_LOCK(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_PLL_SIC_TOG_PLL_LOCK_SHIFT)) & USBPHY_PLL_SIC_TOG_PLL_LOCK_MASK)
96949 /*! @} */
96950 
96951 /*! @name USB1_VBUS_DETECT - USB PHY VBUS Detect Control Register */
96952 /*! @{ */
96953 
96954 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_THRESH_MASK (0x7U)
96955 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_THRESH_SHIFT (0U)
96956 /*! VBUSVALID_THRESH - VBUSVALID_THRESH
96957  *  0b000..4.0 V
96958  *  0b001..4.1 V
96959  *  0b010..4.2 V
96960  *  0b011..4.3 V
96961  *  0b100..4.4 V (Default)
96962  *  0b101..4.5 V
96963  *  0b110..4.6 V
96964  *  0b111..4.7 V
96965  */
96966 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_THRESH(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUSVALID_THRESH_MASK)
96967 
96968 #define USBPHY_USB1_VBUS_DETECT_VBUS_OVERRIDE_EN_MASK (0x8U)
96969 #define USBPHY_USB1_VBUS_DETECT_VBUS_OVERRIDE_EN_SHIFT (3U)
96970 /*! VBUS_OVERRIDE_EN - VBUS detect signal override enable
96971  *  0b0..Use the results of the internal VBUS_VALID and Session Valid comparators for VBUS_VALID, AVALID, BVALID, and SESSEND (Default)
96972  *  0b1..Use the override values for VBUS_VALID, AVALID, BVALID, and SESSEND
96973  */
96974 #define USBPHY_USB1_VBUS_DETECT_VBUS_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUS_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUS_OVERRIDE_EN_MASK)
96975 
96976 #define USBPHY_USB1_VBUS_DETECT_SESSEND_OVERRIDE_MASK (0x10U)
96977 #define USBPHY_USB1_VBUS_DETECT_SESSEND_OVERRIDE_SHIFT (4U)
96978 /*! SESSEND_OVERRIDE - Override value for SESSEND
96979  */
96980 #define USBPHY_USB1_VBUS_DETECT_SESSEND_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SESSEND_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SESSEND_OVERRIDE_MASK)
96981 
96982 #define USBPHY_USB1_VBUS_DETECT_BVALID_OVERRIDE_MASK (0x20U)
96983 #define USBPHY_USB1_VBUS_DETECT_BVALID_OVERRIDE_SHIFT (5U)
96984 /*! BVALID_OVERRIDE - Override value for B-Device Session Valid
96985  */
96986 #define USBPHY_USB1_VBUS_DETECT_BVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_BVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_BVALID_OVERRIDE_MASK)
96987 
96988 #define USBPHY_USB1_VBUS_DETECT_AVALID_OVERRIDE_MASK (0x40U)
96989 #define USBPHY_USB1_VBUS_DETECT_AVALID_OVERRIDE_SHIFT (6U)
96990 /*! AVALID_OVERRIDE - Override value for A-Device Session Valid
96991  */
96992 #define USBPHY_USB1_VBUS_DETECT_AVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_AVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_AVALID_OVERRIDE_MASK)
96993 
96994 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_OVERRIDE_MASK (0x80U)
96995 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_OVERRIDE_SHIFT (7U)
96996 /*! VBUSVALID_OVERRIDE - Override value for VBUS_VALID signal sent to USB controller
96997  */
96998 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUSVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUSVALID_OVERRIDE_MASK)
96999 
97000 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_SEL_MASK (0x100U)
97001 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_SEL_SHIFT (8U)
97002 /*! VBUSVALID_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97003  *  0b0..Use the VBUS_VALID comparator results for signal reported to the USB controller (Default)
97004  *  0b1..Use the VBUS_VALID_3V detector results for signal reported to the USB controller
97005  */
97006 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUSVALID_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUSVALID_SEL_MASK)
97007 
97008 #define USBPHY_USB1_VBUS_DETECT_VBUS_SOURCE_SEL_MASK (0x600U)
97009 #define USBPHY_USB1_VBUS_DETECT_VBUS_SOURCE_SEL_SHIFT (9U)
97010 /*! VBUS_SOURCE_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97011  *  0b00..Use the VBUS_VALID comparator results for signal reported to the USB controller (Default)
97012  *  0b01..Use the Session Valid comparator results for signal reported to the USB controller
97013  *  0b10..Use the Session Valid comparator results for signal reported to the USB controller
97014  *  0b11..Reserved, do not use
97015  */
97016 #define USBPHY_USB1_VBUS_DETECT_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUS_SOURCE_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUS_SOURCE_SEL_MASK)
97017 
97018 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_EN_MASK (0x800U)
97019 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_EN_SHIFT (11U)
97020 /*! ID_OVERRIDE_EN - TBA
97021  */
97022 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_EN_MASK)
97023 
97024 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_MASK (0x1000U)
97025 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_SHIFT (12U)
97026 /*! ID_OVERRIDE - TBA
97027  */
97028 #define USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_ID_OVERRIDE_MASK)
97029 
97030 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_TO_SESSVALID_MASK (0x40000U)
97031 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_TO_SESSVALID_SHIFT (18U)
97032 /*! VBUSVALID_TO_SESSVALID - Selects the comparator used for VBUS_VALID
97033  *  0b0..Use the VBUS_VALID comparator for VBUS_VALID results
97034  *  0b1..Use the Session End comparator for VBUS_VALID results. The Session End threshold is >0.8V and <4.0V.
97035  */
97036 #define USBPHY_USB1_VBUS_DETECT_VBUSVALID_TO_SESSVALID(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_VBUSVALID_TO_SESSVALID_SHIFT)) & USBPHY_USB1_VBUS_DETECT_VBUSVALID_TO_SESSVALID_MASK)
97037 
97038 #define USBPHY_USB1_VBUS_DETECT_PWRUP_CMPS_MASK  (0x700000U)
97039 #define USBPHY_USB1_VBUS_DETECT_PWRUP_CMPS_SHIFT (20U)
97040 /*! PWRUP_CMPS - Enables the VBUS_VALID comparator
97041  *  0b000..Powers down the VBUS_VALID comparator
97042  *  0b001..Enables the SESS_VALID comparator (default)
97043  *  0b010..Enables the 3Vdetect (default)
97044  */
97045 #define USBPHY_USB1_VBUS_DETECT_PWRUP_CMPS(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_PWRUP_CMPS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_PWRUP_CMPS_MASK)
97046 
97047 #define USBPHY_USB1_VBUS_DETECT_DISCHARGE_VBUS_MASK (0x4000000U)
97048 #define USBPHY_USB1_VBUS_DETECT_DISCHARGE_VBUS_SHIFT (26U)
97049 /*! DISCHARGE_VBUS - Controls VBUS discharge resistor
97050  *  0b0..VBUS discharge resistor is disabled (Default)
97051  *  0b1..VBUS discharge resistor is enabled
97052  */
97053 #define USBPHY_USB1_VBUS_DETECT_DISCHARGE_VBUS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_DISCHARGE_VBUS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_DISCHARGE_VBUS_MASK)
97054 
97055 #define USBPHY_USB1_VBUS_DETECT_EN_CHARGER_RESISTOR_MASK (0x80000000U)
97056 #define USBPHY_USB1_VBUS_DETECT_EN_CHARGER_RESISTOR_SHIFT (31U)
97057 /*! EN_CHARGER_RESISTOR - Enables resistors used for an older method of resistive battery charger detection
97058  *  0b0..Disable resistive charger detection resistors on DP and DP
97059  *  0b1..Enable resistive charger detection resistors on DP and DP
97060  */
97061 #define USBPHY_USB1_VBUS_DETECT_EN_CHARGER_RESISTOR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_EN_CHARGER_RESISTOR_SHIFT)) & USBPHY_USB1_VBUS_DETECT_EN_CHARGER_RESISTOR_MASK)
97062 /*! @} */
97063 
97064 /*! @name USB1_VBUS_DETECT_SET - USB PHY VBUS Detect Control Register */
97065 /*! @{ */
97066 
97067 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_THRESH_MASK (0x7U)
97068 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_THRESH_SHIFT (0U)
97069 /*! VBUSVALID_THRESH - VBUSVALID_THRESH
97070  */
97071 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_THRESH(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_THRESH_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_THRESH_MASK)
97072 
97073 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_OVERRIDE_EN_MASK (0x8U)
97074 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_OVERRIDE_EN_SHIFT (3U)
97075 /*! VBUS_OVERRIDE_EN - VBUS detect signal override enable
97076  */
97077 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUS_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUS_OVERRIDE_EN_MASK)
97078 
97079 #define USBPHY_USB1_VBUS_DETECT_SET_SESSEND_OVERRIDE_MASK (0x10U)
97080 #define USBPHY_USB1_VBUS_DETECT_SET_SESSEND_OVERRIDE_SHIFT (4U)
97081 /*! SESSEND_OVERRIDE - Override value for SESSEND
97082  */
97083 #define USBPHY_USB1_VBUS_DETECT_SET_SESSEND_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_SESSEND_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_SESSEND_OVERRIDE_MASK)
97084 
97085 #define USBPHY_USB1_VBUS_DETECT_SET_BVALID_OVERRIDE_MASK (0x20U)
97086 #define USBPHY_USB1_VBUS_DETECT_SET_BVALID_OVERRIDE_SHIFT (5U)
97087 /*! BVALID_OVERRIDE - Override value for B-Device Session Valid
97088  */
97089 #define USBPHY_USB1_VBUS_DETECT_SET_BVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_BVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_BVALID_OVERRIDE_MASK)
97090 
97091 #define USBPHY_USB1_VBUS_DETECT_SET_AVALID_OVERRIDE_MASK (0x40U)
97092 #define USBPHY_USB1_VBUS_DETECT_SET_AVALID_OVERRIDE_SHIFT (6U)
97093 /*! AVALID_OVERRIDE - Override value for A-Device Session Valid
97094  */
97095 #define USBPHY_USB1_VBUS_DETECT_SET_AVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_AVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_AVALID_OVERRIDE_MASK)
97096 
97097 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_OVERRIDE_MASK (0x80U)
97098 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_OVERRIDE_SHIFT (7U)
97099 /*! VBUSVALID_OVERRIDE - Override value for VBUS_VALID signal sent to USB controller
97100  */
97101 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_OVERRIDE_MASK)
97102 
97103 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_SEL_MASK (0x100U)
97104 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_SEL_SHIFT (8U)
97105 /*! VBUSVALID_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97106  */
97107 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_SEL_MASK)
97108 
97109 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_SOURCE_SEL_MASK (0x600U)
97110 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_SOURCE_SEL_SHIFT (9U)
97111 /*! VBUS_SOURCE_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97112  */
97113 #define USBPHY_USB1_VBUS_DETECT_SET_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUS_SOURCE_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUS_SOURCE_SEL_MASK)
97114 
97115 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_EN_MASK (0x800U)
97116 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_EN_SHIFT (11U)
97117 /*! ID_OVERRIDE_EN - TBA
97118  */
97119 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_EN_MASK)
97120 
97121 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_MASK (0x1000U)
97122 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_SHIFT (12U)
97123 /*! ID_OVERRIDE - TBA
97124  */
97125 #define USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_ID_OVERRIDE_MASK)
97126 
97127 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_TO_SESSVALID_MASK (0x40000U)
97128 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_TO_SESSVALID_SHIFT (18U)
97129 /*! VBUSVALID_TO_SESSVALID - Selects the comparator used for VBUS_VALID
97130  */
97131 #define USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_TO_SESSVALID(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_TO_SESSVALID_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_VBUSVALID_TO_SESSVALID_MASK)
97132 
97133 #define USBPHY_USB1_VBUS_DETECT_SET_PWRUP_CMPS_MASK (0x700000U)
97134 #define USBPHY_USB1_VBUS_DETECT_SET_PWRUP_CMPS_SHIFT (20U)
97135 /*! PWRUP_CMPS - Enables the VBUS_VALID comparator
97136  */
97137 #define USBPHY_USB1_VBUS_DETECT_SET_PWRUP_CMPS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_PWRUP_CMPS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_PWRUP_CMPS_MASK)
97138 
97139 #define USBPHY_USB1_VBUS_DETECT_SET_DISCHARGE_VBUS_MASK (0x4000000U)
97140 #define USBPHY_USB1_VBUS_DETECT_SET_DISCHARGE_VBUS_SHIFT (26U)
97141 /*! DISCHARGE_VBUS - Controls VBUS discharge resistor
97142  */
97143 #define USBPHY_USB1_VBUS_DETECT_SET_DISCHARGE_VBUS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_DISCHARGE_VBUS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_DISCHARGE_VBUS_MASK)
97144 
97145 #define USBPHY_USB1_VBUS_DETECT_SET_EN_CHARGER_RESISTOR_MASK (0x80000000U)
97146 #define USBPHY_USB1_VBUS_DETECT_SET_EN_CHARGER_RESISTOR_SHIFT (31U)
97147 /*! EN_CHARGER_RESISTOR - Enables resistors used for an older method of resistive battery charger detection
97148  */
97149 #define USBPHY_USB1_VBUS_DETECT_SET_EN_CHARGER_RESISTOR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_SET_EN_CHARGER_RESISTOR_SHIFT)) & USBPHY_USB1_VBUS_DETECT_SET_EN_CHARGER_RESISTOR_MASK)
97150 /*! @} */
97151 
97152 /*! @name USB1_VBUS_DETECT_CLR - USB PHY VBUS Detect Control Register */
97153 /*! @{ */
97154 
97155 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_THRESH_MASK (0x7U)
97156 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_THRESH_SHIFT (0U)
97157 /*! VBUSVALID_THRESH - VBUSVALID_THRESH
97158  */
97159 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_THRESH(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_THRESH_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_THRESH_MASK)
97160 
97161 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_OVERRIDE_EN_MASK (0x8U)
97162 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_OVERRIDE_EN_SHIFT (3U)
97163 /*! VBUS_OVERRIDE_EN - VBUS detect signal override enable
97164  */
97165 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUS_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUS_OVERRIDE_EN_MASK)
97166 
97167 #define USBPHY_USB1_VBUS_DETECT_CLR_SESSEND_OVERRIDE_MASK (0x10U)
97168 #define USBPHY_USB1_VBUS_DETECT_CLR_SESSEND_OVERRIDE_SHIFT (4U)
97169 /*! SESSEND_OVERRIDE - Override value for SESSEND
97170  */
97171 #define USBPHY_USB1_VBUS_DETECT_CLR_SESSEND_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_SESSEND_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_SESSEND_OVERRIDE_MASK)
97172 
97173 #define USBPHY_USB1_VBUS_DETECT_CLR_BVALID_OVERRIDE_MASK (0x20U)
97174 #define USBPHY_USB1_VBUS_DETECT_CLR_BVALID_OVERRIDE_SHIFT (5U)
97175 /*! BVALID_OVERRIDE - Override value for B-Device Session Valid
97176  */
97177 #define USBPHY_USB1_VBUS_DETECT_CLR_BVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_BVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_BVALID_OVERRIDE_MASK)
97178 
97179 #define USBPHY_USB1_VBUS_DETECT_CLR_AVALID_OVERRIDE_MASK (0x40U)
97180 #define USBPHY_USB1_VBUS_DETECT_CLR_AVALID_OVERRIDE_SHIFT (6U)
97181 /*! AVALID_OVERRIDE - Override value for A-Device Session Valid
97182  */
97183 #define USBPHY_USB1_VBUS_DETECT_CLR_AVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_AVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_AVALID_OVERRIDE_MASK)
97184 
97185 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_OVERRIDE_MASK (0x80U)
97186 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_OVERRIDE_SHIFT (7U)
97187 /*! VBUSVALID_OVERRIDE - Override value for VBUS_VALID signal sent to USB controller
97188  */
97189 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_OVERRIDE_MASK)
97190 
97191 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_SEL_MASK (0x100U)
97192 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_SEL_SHIFT (8U)
97193 /*! VBUSVALID_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97194  */
97195 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_SEL_MASK)
97196 
97197 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_SOURCE_SEL_MASK (0x600U)
97198 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_SOURCE_SEL_SHIFT (9U)
97199 /*! VBUS_SOURCE_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97200  */
97201 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUS_SOURCE_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUS_SOURCE_SEL_MASK)
97202 
97203 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_EN_MASK (0x800U)
97204 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_EN_SHIFT (11U)
97205 /*! ID_OVERRIDE_EN - TBA
97206  */
97207 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_EN_MASK)
97208 
97209 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_MASK (0x1000U)
97210 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_SHIFT (12U)
97211 /*! ID_OVERRIDE - TBA
97212  */
97213 #define USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_ID_OVERRIDE_MASK)
97214 
97215 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_TO_SESSVALID_MASK (0x40000U)
97216 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_TO_SESSVALID_SHIFT (18U)
97217 /*! VBUSVALID_TO_SESSVALID - Selects the comparator used for VBUS_VALID
97218  */
97219 #define USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_TO_SESSVALID(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_TO_SESSVALID_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_VBUSVALID_TO_SESSVALID_MASK)
97220 
97221 #define USBPHY_USB1_VBUS_DETECT_CLR_PWRUP_CMPS_MASK (0x700000U)
97222 #define USBPHY_USB1_VBUS_DETECT_CLR_PWRUP_CMPS_SHIFT (20U)
97223 /*! PWRUP_CMPS - Enables the VBUS_VALID comparator
97224  */
97225 #define USBPHY_USB1_VBUS_DETECT_CLR_PWRUP_CMPS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_PWRUP_CMPS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_PWRUP_CMPS_MASK)
97226 
97227 #define USBPHY_USB1_VBUS_DETECT_CLR_DISCHARGE_VBUS_MASK (0x4000000U)
97228 #define USBPHY_USB1_VBUS_DETECT_CLR_DISCHARGE_VBUS_SHIFT (26U)
97229 /*! DISCHARGE_VBUS - Controls VBUS discharge resistor
97230  */
97231 #define USBPHY_USB1_VBUS_DETECT_CLR_DISCHARGE_VBUS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_DISCHARGE_VBUS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_DISCHARGE_VBUS_MASK)
97232 
97233 #define USBPHY_USB1_VBUS_DETECT_CLR_EN_CHARGER_RESISTOR_MASK (0x80000000U)
97234 #define USBPHY_USB1_VBUS_DETECT_CLR_EN_CHARGER_RESISTOR_SHIFT (31U)
97235 /*! EN_CHARGER_RESISTOR - Enables resistors used for an older method of resistive battery charger detection
97236  */
97237 #define USBPHY_USB1_VBUS_DETECT_CLR_EN_CHARGER_RESISTOR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_CLR_EN_CHARGER_RESISTOR_SHIFT)) & USBPHY_USB1_VBUS_DETECT_CLR_EN_CHARGER_RESISTOR_MASK)
97238 /*! @} */
97239 
97240 /*! @name USB1_VBUS_DETECT_TOG - USB PHY VBUS Detect Control Register */
97241 /*! @{ */
97242 
97243 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_THRESH_MASK (0x7U)
97244 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_THRESH_SHIFT (0U)
97245 /*! VBUSVALID_THRESH - VBUSVALID_THRESH
97246  */
97247 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_THRESH(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_THRESH_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_THRESH_MASK)
97248 
97249 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_OVERRIDE_EN_MASK (0x8U)
97250 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_OVERRIDE_EN_SHIFT (3U)
97251 /*! VBUS_OVERRIDE_EN - VBUS detect signal override enable
97252  */
97253 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUS_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUS_OVERRIDE_EN_MASK)
97254 
97255 #define USBPHY_USB1_VBUS_DETECT_TOG_SESSEND_OVERRIDE_MASK (0x10U)
97256 #define USBPHY_USB1_VBUS_DETECT_TOG_SESSEND_OVERRIDE_SHIFT (4U)
97257 /*! SESSEND_OVERRIDE - Override value for SESSEND
97258  */
97259 #define USBPHY_USB1_VBUS_DETECT_TOG_SESSEND_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_SESSEND_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_SESSEND_OVERRIDE_MASK)
97260 
97261 #define USBPHY_USB1_VBUS_DETECT_TOG_BVALID_OVERRIDE_MASK (0x20U)
97262 #define USBPHY_USB1_VBUS_DETECT_TOG_BVALID_OVERRIDE_SHIFT (5U)
97263 /*! BVALID_OVERRIDE - Override value for B-Device Session Valid
97264  */
97265 #define USBPHY_USB1_VBUS_DETECT_TOG_BVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_BVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_BVALID_OVERRIDE_MASK)
97266 
97267 #define USBPHY_USB1_VBUS_DETECT_TOG_AVALID_OVERRIDE_MASK (0x40U)
97268 #define USBPHY_USB1_VBUS_DETECT_TOG_AVALID_OVERRIDE_SHIFT (6U)
97269 /*! AVALID_OVERRIDE - Override value for A-Device Session Valid
97270  */
97271 #define USBPHY_USB1_VBUS_DETECT_TOG_AVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_AVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_AVALID_OVERRIDE_MASK)
97272 
97273 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_OVERRIDE_MASK (0x80U)
97274 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_OVERRIDE_SHIFT (7U)
97275 /*! VBUSVALID_OVERRIDE - Override value for VBUS_VALID signal sent to USB controller
97276  */
97277 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_OVERRIDE_MASK)
97278 
97279 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_SEL_MASK (0x100U)
97280 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_SEL_SHIFT (8U)
97281 /*! VBUSVALID_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97282  */
97283 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_SEL_MASK)
97284 
97285 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_SOURCE_SEL_MASK (0x600U)
97286 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_SOURCE_SEL_SHIFT (9U)
97287 /*! VBUS_SOURCE_SEL - Selects the source of the VBUS_VALID signal reported to the USB controller
97288  */
97289 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUS_SOURCE_SEL_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUS_SOURCE_SEL_MASK)
97290 
97291 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_EN_MASK (0x800U)
97292 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_EN_SHIFT (11U)
97293 /*! ID_OVERRIDE_EN - TBA
97294  */
97295 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_EN_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_EN_MASK)
97296 
97297 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_MASK (0x1000U)
97298 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_SHIFT (12U)
97299 /*! ID_OVERRIDE - TBA
97300  */
97301 #define USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_ID_OVERRIDE_MASK)
97302 
97303 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_TO_SESSVALID_MASK (0x40000U)
97304 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_TO_SESSVALID_SHIFT (18U)
97305 /*! VBUSVALID_TO_SESSVALID - Selects the comparator used for VBUS_VALID
97306  */
97307 #define USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_TO_SESSVALID(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_TO_SESSVALID_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_VBUSVALID_TO_SESSVALID_MASK)
97308 
97309 #define USBPHY_USB1_VBUS_DETECT_TOG_PWRUP_CMPS_MASK (0x700000U)
97310 #define USBPHY_USB1_VBUS_DETECT_TOG_PWRUP_CMPS_SHIFT (20U)
97311 /*! PWRUP_CMPS - Enables the VBUS_VALID comparator
97312  */
97313 #define USBPHY_USB1_VBUS_DETECT_TOG_PWRUP_CMPS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_PWRUP_CMPS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_PWRUP_CMPS_MASK)
97314 
97315 #define USBPHY_USB1_VBUS_DETECT_TOG_DISCHARGE_VBUS_MASK (0x4000000U)
97316 #define USBPHY_USB1_VBUS_DETECT_TOG_DISCHARGE_VBUS_SHIFT (26U)
97317 /*! DISCHARGE_VBUS - Controls VBUS discharge resistor
97318  */
97319 #define USBPHY_USB1_VBUS_DETECT_TOG_DISCHARGE_VBUS(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_DISCHARGE_VBUS_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_DISCHARGE_VBUS_MASK)
97320 
97321 #define USBPHY_USB1_VBUS_DETECT_TOG_EN_CHARGER_RESISTOR_MASK (0x80000000U)
97322 #define USBPHY_USB1_VBUS_DETECT_TOG_EN_CHARGER_RESISTOR_SHIFT (31U)
97323 /*! EN_CHARGER_RESISTOR - Enables resistors used for an older method of resistive battery charger detection
97324  */
97325 #define USBPHY_USB1_VBUS_DETECT_TOG_EN_CHARGER_RESISTOR(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DETECT_TOG_EN_CHARGER_RESISTOR_SHIFT)) & USBPHY_USB1_VBUS_DETECT_TOG_EN_CHARGER_RESISTOR_MASK)
97326 /*! @} */
97327 
97328 /*! @name USB1_VBUS_DET_STAT - USB PHY VBUS Detector Status Register */
97329 /*! @{ */
97330 
97331 #define USBPHY_USB1_VBUS_DET_STAT_SESSEND_MASK   (0x1U)
97332 #define USBPHY_USB1_VBUS_DET_STAT_SESSEND_SHIFT  (0U)
97333 /*! SESSEND - Session End indicator
97334  *  0b0..The VBUS voltage is above the Session Valid threshold
97335  *  0b1..The VBUS voltage is below the Session Valid threshold
97336  */
97337 #define USBPHY_USB1_VBUS_DET_STAT_SESSEND(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DET_STAT_SESSEND_SHIFT)) & USBPHY_USB1_VBUS_DET_STAT_SESSEND_MASK)
97338 
97339 #define USBPHY_USB1_VBUS_DET_STAT_BVALID_MASK    (0x2U)
97340 #define USBPHY_USB1_VBUS_DET_STAT_BVALID_SHIFT   (1U)
97341 /*! BVALID - B-Device Session Valid status
97342  *  0b0..The VBUS voltage is below the Session Valid threshold
97343  *  0b1..The VBUS voltage is above the Session Valid threshold
97344  */
97345 #define USBPHY_USB1_VBUS_DET_STAT_BVALID(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DET_STAT_BVALID_SHIFT)) & USBPHY_USB1_VBUS_DET_STAT_BVALID_MASK)
97346 
97347 #define USBPHY_USB1_VBUS_DET_STAT_AVALID_MASK    (0x4U)
97348 #define USBPHY_USB1_VBUS_DET_STAT_AVALID_SHIFT   (2U)
97349 /*! AVALID - A-Device Session Valid status
97350  *  0b0..The VBUS voltage is below the Session Valid threshold
97351  *  0b1..The VBUS voltage is above the Session Valid threshold
97352  */
97353 #define USBPHY_USB1_VBUS_DET_STAT_AVALID(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DET_STAT_AVALID_SHIFT)) & USBPHY_USB1_VBUS_DET_STAT_AVALID_MASK)
97354 
97355 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_MASK (0x8U)
97356 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_SHIFT (3U)
97357 /*! VBUS_VALID - VBUS voltage status
97358  *  0b0..VBUS is below the comparator threshold
97359  *  0b1..VBUS is above the comparator threshold
97360  */
97361 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_SHIFT)) & USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_MASK)
97362 
97363 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V_MASK (0x10U)
97364 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V_SHIFT (4U)
97365 /*! VBUS_VALID_3V - VBUS_VALID_3V detector status
97366  *  0b0..VBUS voltage is below VBUS_VALID_3V threshold
97367  *  0b1..VBUS voltage is above VBUS_VALID_3V threshold
97368  */
97369 #define USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V_SHIFT)) & USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V_MASK)
97370 /*! @} */
97371 
97372 /*! @name USB1_CHRG_DETECT - USB PHY Charger Detect Control Register */
97373 /*! @{ */
97374 
97375 #define USBPHY_USB1_CHRG_DETECT_PULLUP_DP_MASK   (0x4U)
97376 #define USBPHY_USB1_CHRG_DETECT_PULLUP_DP_SHIFT  (2U)
97377 /*! PULLUP_DP - PULLUP_DP
97378  */
97379 #define USBPHY_USB1_CHRG_DETECT_PULLUP_DP(x)     (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_PULLUP_DP_SHIFT)) & USBPHY_USB1_CHRG_DETECT_PULLUP_DP_MASK)
97380 
97381 #define USBPHY_USB1_CHRG_DETECT_BGR_BIAS_MASK    (0x800000U)
97382 #define USBPHY_USB1_CHRG_DETECT_BGR_BIAS_SHIFT   (23U)
97383 /*! BGR_BIAS - BGR_BIAS
97384  *  0b0..Use local bias powered from USB1_VBUS for 10uA reference (Default)
97385  *  0b1..Use bandgap bias powered from VREGIN0/VREGIN1 for 10uA reference
97386  */
97387 #define USBPHY_USB1_CHRG_DETECT_BGR_BIAS(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_BGR_BIAS_SHIFT)) & USBPHY_USB1_CHRG_DETECT_BGR_BIAS_MASK)
97388 /*! @} */
97389 
97390 /*! @name USB1_CHRG_DETECT_SET - USB PHY Charger Detect Control Register */
97391 /*! @{ */
97392 
97393 #define USBPHY_USB1_CHRG_DETECT_SET_PULLUP_DP_MASK (0x4U)
97394 #define USBPHY_USB1_CHRG_DETECT_SET_PULLUP_DP_SHIFT (2U)
97395 /*! PULLUP_DP - PULLUP_DP
97396  */
97397 #define USBPHY_USB1_CHRG_DETECT_SET_PULLUP_DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_SET_PULLUP_DP_SHIFT)) & USBPHY_USB1_CHRG_DETECT_SET_PULLUP_DP_MASK)
97398 
97399 #define USBPHY_USB1_CHRG_DETECT_SET_BGR_BIAS_MASK (0x800000U)
97400 #define USBPHY_USB1_CHRG_DETECT_SET_BGR_BIAS_SHIFT (23U)
97401 /*! BGR_BIAS - BGR_BIAS
97402  */
97403 #define USBPHY_USB1_CHRG_DETECT_SET_BGR_BIAS(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_SET_BGR_BIAS_SHIFT)) & USBPHY_USB1_CHRG_DETECT_SET_BGR_BIAS_MASK)
97404 /*! @} */
97405 
97406 /*! @name USB1_CHRG_DETECT_CLR - USB PHY Charger Detect Control Register */
97407 /*! @{ */
97408 
97409 #define USBPHY_USB1_CHRG_DETECT_CLR_PULLUP_DP_MASK (0x4U)
97410 #define USBPHY_USB1_CHRG_DETECT_CLR_PULLUP_DP_SHIFT (2U)
97411 /*! PULLUP_DP - PULLUP_DP
97412  */
97413 #define USBPHY_USB1_CHRG_DETECT_CLR_PULLUP_DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_CLR_PULLUP_DP_SHIFT)) & USBPHY_USB1_CHRG_DETECT_CLR_PULLUP_DP_MASK)
97414 
97415 #define USBPHY_USB1_CHRG_DETECT_CLR_BGR_BIAS_MASK (0x800000U)
97416 #define USBPHY_USB1_CHRG_DETECT_CLR_BGR_BIAS_SHIFT (23U)
97417 /*! BGR_BIAS - BGR_BIAS
97418  */
97419 #define USBPHY_USB1_CHRG_DETECT_CLR_BGR_BIAS(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_CLR_BGR_BIAS_SHIFT)) & USBPHY_USB1_CHRG_DETECT_CLR_BGR_BIAS_MASK)
97420 /*! @} */
97421 
97422 /*! @name USB1_CHRG_DETECT_TOG - USB PHY Charger Detect Control Register */
97423 /*! @{ */
97424 
97425 #define USBPHY_USB1_CHRG_DETECT_TOG_PULLUP_DP_MASK (0x4U)
97426 #define USBPHY_USB1_CHRG_DETECT_TOG_PULLUP_DP_SHIFT (2U)
97427 /*! PULLUP_DP - PULLUP_DP
97428  */
97429 #define USBPHY_USB1_CHRG_DETECT_TOG_PULLUP_DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_TOG_PULLUP_DP_SHIFT)) & USBPHY_USB1_CHRG_DETECT_TOG_PULLUP_DP_MASK)
97430 
97431 #define USBPHY_USB1_CHRG_DETECT_TOG_BGR_BIAS_MASK (0x800000U)
97432 #define USBPHY_USB1_CHRG_DETECT_TOG_BGR_BIAS_SHIFT (23U)
97433 /*! BGR_BIAS - BGR_BIAS
97434  */
97435 #define USBPHY_USB1_CHRG_DETECT_TOG_BGR_BIAS(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DETECT_TOG_BGR_BIAS_SHIFT)) & USBPHY_USB1_CHRG_DETECT_TOG_BGR_BIAS_MASK)
97436 /*! @} */
97437 
97438 /*! @name USB1_CHRG_DET_STAT - USB PHY Charger Detect Status Register */
97439 /*! @{ */
97440 
97441 #define USBPHY_USB1_CHRG_DET_STAT_PLUG_CONTACT_MASK (0x1U)
97442 #define USBPHY_USB1_CHRG_DET_STAT_PLUG_CONTACT_SHIFT (0U)
97443 /*! PLUG_CONTACT - Battery Charging Data Contact Detection phase output
97444  *  0b0..No USB cable attachment has been detected
97445  *  0b1..A USB cable attachment between the device and host has been detected
97446  */
97447 #define USBPHY_USB1_CHRG_DET_STAT_PLUG_CONTACT(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DET_STAT_PLUG_CONTACT_SHIFT)) & USBPHY_USB1_CHRG_DET_STAT_PLUG_CONTACT_MASK)
97448 
97449 #define USBPHY_USB1_CHRG_DET_STAT_CHRG_DETECTED_MASK (0x2U)
97450 #define USBPHY_USB1_CHRG_DET_STAT_CHRG_DETECTED_SHIFT (1U)
97451 /*! CHRG_DETECTED - Battery Charging Primary Detection phase output
97452  *  0b0..Standard Downstream Port (SDP) has been detected
97453  *  0b1..Charging Port has been detected
97454  */
97455 #define USBPHY_USB1_CHRG_DET_STAT_CHRG_DETECTED(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DET_STAT_CHRG_DETECTED_SHIFT)) & USBPHY_USB1_CHRG_DET_STAT_CHRG_DETECTED_MASK)
97456 
97457 #define USBPHY_USB1_CHRG_DET_STAT_DN_STATE_MASK  (0x4U)
97458 #define USBPHY_USB1_CHRG_DET_STAT_DN_STATE_SHIFT (2U)
97459 /*! DN_STATE - DN_STATE
97460  *  0b0..DN pin voltage is < 0.8V
97461  *  0b1..DN pin voltage is > 2.0V
97462  */
97463 #define USBPHY_USB1_CHRG_DET_STAT_DN_STATE(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DET_STAT_DN_STATE_SHIFT)) & USBPHY_USB1_CHRG_DET_STAT_DN_STATE_MASK)
97464 
97465 #define USBPHY_USB1_CHRG_DET_STAT_DP_STATE_MASK  (0x8U)
97466 #define USBPHY_USB1_CHRG_DET_STAT_DP_STATE_SHIFT (3U)
97467 /*! DP_STATE - DP_STATE
97468  *  0b0..DP pin voltage is < 0.8V
97469  *  0b1..DP pin voltage is > 2.0V
97470  */
97471 #define USBPHY_USB1_CHRG_DET_STAT_DP_STATE(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DET_STAT_DP_STATE_SHIFT)) & USBPHY_USB1_CHRG_DET_STAT_DP_STATE_MASK)
97472 
97473 #define USBPHY_USB1_CHRG_DET_STAT_SECDET_DCP_MASK (0x10U)
97474 #define USBPHY_USB1_CHRG_DET_STAT_SECDET_DCP_SHIFT (4U)
97475 /*! SECDET_DCP - Battery Charging Secondary Detection phase output
97476  *  0b0..Charging Downstream Port (CDP) has been detected
97477  *  0b1..Downstream Charging Port (DCP) has been detected
97478  */
97479 #define USBPHY_USB1_CHRG_DET_STAT_SECDET_DCP(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_CHRG_DET_STAT_SECDET_DCP_SHIFT)) & USBPHY_USB1_CHRG_DET_STAT_SECDET_DCP_MASK)
97480 /*! @} */
97481 
97482 /*! @name ANACTRL - USB PHY Analog Control Register */
97483 /*! @{ */
97484 
97485 #define USBPHY_ANACTRL_DEV_PULLDOWN_MASK         (0x400U)
97486 #define USBPHY_ANACTRL_DEV_PULLDOWN_SHIFT        (10U)
97487 /*! DEV_PULLDOWN - DEV_PULLDOWN
97488  *  0b0..The 15kohm nominal pulldowns on the DP and DN pinsare disabled in device mode.
97489  *  0b1..The 15kohm nominal pulldowns on the DP and DN pinsare enabled in device mode.
97490  */
97491 #define USBPHY_ANACTRL_DEV_PULLDOWN(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_ANACTRL_DEV_PULLDOWN_SHIFT)) & USBPHY_ANACTRL_DEV_PULLDOWN_MASK)
97492 /*! @} */
97493 
97494 /*! @name ANACTRL_SET - USB PHY Analog Control Register */
97495 /*! @{ */
97496 
97497 #define USBPHY_ANACTRL_SET_DEV_PULLDOWN_MASK     (0x400U)
97498 #define USBPHY_ANACTRL_SET_DEV_PULLDOWN_SHIFT    (10U)
97499 /*! DEV_PULLDOWN - DEV_PULLDOWN
97500  */
97501 #define USBPHY_ANACTRL_SET_DEV_PULLDOWN(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_ANACTRL_SET_DEV_PULLDOWN_SHIFT)) & USBPHY_ANACTRL_SET_DEV_PULLDOWN_MASK)
97502 /*! @} */
97503 
97504 /*! @name ANACTRL_CLR - USB PHY Analog Control Register */
97505 /*! @{ */
97506 
97507 #define USBPHY_ANACTRL_CLR_DEV_PULLDOWN_MASK     (0x400U)
97508 #define USBPHY_ANACTRL_CLR_DEV_PULLDOWN_SHIFT    (10U)
97509 /*! DEV_PULLDOWN - DEV_PULLDOWN
97510  */
97511 #define USBPHY_ANACTRL_CLR_DEV_PULLDOWN(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_ANACTRL_CLR_DEV_PULLDOWN_SHIFT)) & USBPHY_ANACTRL_CLR_DEV_PULLDOWN_MASK)
97512 /*! @} */
97513 
97514 /*! @name ANACTRL_TOG - USB PHY Analog Control Register */
97515 /*! @{ */
97516 
97517 #define USBPHY_ANACTRL_TOG_DEV_PULLDOWN_MASK     (0x400U)
97518 #define USBPHY_ANACTRL_TOG_DEV_PULLDOWN_SHIFT    (10U)
97519 /*! DEV_PULLDOWN - DEV_PULLDOWN
97520  */
97521 #define USBPHY_ANACTRL_TOG_DEV_PULLDOWN(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_ANACTRL_TOG_DEV_PULLDOWN_SHIFT)) & USBPHY_ANACTRL_TOG_DEV_PULLDOWN_MASK)
97522 /*! @} */
97523 
97524 /*! @name USB1_LOOPBACK - USB PHY Loopback Control/Status Register */
97525 /*! @{ */
97526 
97527 #define USBPHY_USB1_LOOPBACK_UTMI_TESTSTART_MASK (0x1U)
97528 #define USBPHY_USB1_LOOPBACK_UTMI_TESTSTART_SHIFT (0U)
97529 /*! UTMI_TESTSTART - UTMI_TESTSTART
97530  */
97531 #define USBPHY_USB1_LOOPBACK_UTMI_TESTSTART(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_UTMI_TESTSTART_SHIFT)) & USBPHY_USB1_LOOPBACK_UTMI_TESTSTART_MASK)
97532 
97533 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST0_MASK  (0x2U)
97534 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST0_SHIFT (1U)
97535 /*! UTMI_DIG_TST0 - UTMI_DIG_TST0
97536  */
97537 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST0(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_UTMI_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_UTMI_DIG_TST0_MASK)
97538 
97539 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST1_MASK  (0x4U)
97540 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST1_SHIFT (2U)
97541 /*! UTMI_DIG_TST1 - UTMI_DIG_TST1
97542  */
97543 #define USBPHY_USB1_LOOPBACK_UTMI_DIG_TST1(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_UTMI_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_UTMI_DIG_TST1_MASK)
97544 
97545 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HS_MODE_MASK (0x8U)
97546 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HS_MODE_SHIFT (3U)
97547 /*! TSTI_TX_HS_MODE - TSTI_TX_HS_MODE
97548  */
97549 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HS_MODE(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTI_TX_HS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTI_TX_HS_MODE_MASK)
97550 
97551 #define USBPHY_USB1_LOOPBACK_TSTI_TX_LS_MODE_MASK (0x10U)
97552 #define USBPHY_USB1_LOOPBACK_TSTI_TX_LS_MODE_SHIFT (4U)
97553 /*! TSTI_TX_LS_MODE - TSTI_TX_LS_MODE
97554  */
97555 #define USBPHY_USB1_LOOPBACK_TSTI_TX_LS_MODE(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTI_TX_LS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTI_TX_LS_MODE_MASK)
97556 
97557 #define USBPHY_USB1_LOOPBACK_TSTI_TX_EN_MASK     (0x20U)
97558 #define USBPHY_USB1_LOOPBACK_TSTI_TX_EN_SHIFT    (5U)
97559 /*! TSTI_TX_EN - TSTI_TX_EN
97560  */
97561 #define USBPHY_USB1_LOOPBACK_TSTI_TX_EN(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTI_TX_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTI_TX_EN_MASK)
97562 
97563 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HIZ_MASK    (0x40U)
97564 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HIZ_SHIFT   (6U)
97565 /*! TSTI_TX_HIZ - TSTI_TX_HIZ
97566  */
97567 #define USBPHY_USB1_LOOPBACK_TSTI_TX_HIZ(x)      (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTI_TX_HIZ_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTI_TX_HIZ_MASK)
97568 
97569 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST0_MASK  (0x80U)
97570 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST0_SHIFT (7U)
97571 /*! UTMO_DIG_TST0 - UTMO_DIG_TST0
97572  */
97573 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST0(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_UTMO_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_UTMO_DIG_TST0_MASK)
97574 
97575 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST1_MASK  (0x100U)
97576 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST1_SHIFT (8U)
97577 /*! UTMO_DIG_TST1 - UTMO_DIG_TST1
97578  */
97579 #define USBPHY_USB1_LOOPBACK_UTMO_DIG_TST1(x)    (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_UTMO_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_UTMO_DIG_TST1_MASK)
97580 
97581 #define USBPHY_USB1_LOOPBACK_TSTI_HSFS_MODE_EN_MASK (0x8000U)
97582 #define USBPHY_USB1_LOOPBACK_TSTI_HSFS_MODE_EN_SHIFT (15U)
97583 /*! TSTI_HSFS_MODE_EN - TSTI_HSFS_MODE_EN
97584  */
97585 #define USBPHY_USB1_LOOPBACK_TSTI_HSFS_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTI_HSFS_MODE_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTI_HSFS_MODE_EN_MASK)
97586 
97587 #define USBPHY_USB1_LOOPBACK_TSTPKT_MASK         (0xFF0000U)
97588 #define USBPHY_USB1_LOOPBACK_TSTPKT_SHIFT        (16U)
97589 /*! TSTPKT - TSTPKT
97590  */
97591 #define USBPHY_USB1_LOOPBACK_TSTPKT(x)           (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TSTPKT_SHIFT)) & USBPHY_USB1_LOOPBACK_TSTPKT_MASK)
97592 /*! @} */
97593 
97594 /*! @name USB1_LOOPBACK_SET - USB PHY Loopback Control/Status Register */
97595 /*! @{ */
97596 
97597 #define USBPHY_USB1_LOOPBACK_SET_UTMI_TESTSTART_MASK (0x1U)
97598 #define USBPHY_USB1_LOOPBACK_SET_UTMI_TESTSTART_SHIFT (0U)
97599 /*! UTMI_TESTSTART - UTMI_TESTSTART
97600  */
97601 #define USBPHY_USB1_LOOPBACK_SET_UTMI_TESTSTART(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_UTMI_TESTSTART_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_UTMI_TESTSTART_MASK)
97602 
97603 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST0_MASK (0x2U)
97604 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST0_SHIFT (1U)
97605 /*! UTMI_DIG_TST0 - UTMI_DIG_TST0
97606  */
97607 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST0_MASK)
97608 
97609 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST1_MASK (0x4U)
97610 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST1_SHIFT (2U)
97611 /*! UTMI_DIG_TST1 - UTMI_DIG_TST1
97612  */
97613 #define USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_UTMI_DIG_TST1_MASK)
97614 
97615 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HS_MODE_MASK (0x8U)
97616 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HS_MODE_SHIFT (3U)
97617 /*! TSTI_TX_HS_MODE - TSTI_TX_HS_MODE
97618  */
97619 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HS_MODE_MASK)
97620 
97621 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_LS_MODE_MASK (0x10U)
97622 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_LS_MODE_SHIFT (4U)
97623 /*! TSTI_TX_LS_MODE - TSTI_TX_LS_MODE
97624  */
97625 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_LS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTI_TX_LS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTI_TX_LS_MODE_MASK)
97626 
97627 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_EN_MASK (0x20U)
97628 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_EN_SHIFT (5U)
97629 /*! TSTI_TX_EN - TSTI_TX_EN
97630  */
97631 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_EN(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTI_TX_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTI_TX_EN_MASK)
97632 
97633 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HIZ_MASK (0x40U)
97634 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HIZ_SHIFT (6U)
97635 /*! TSTI_TX_HIZ - TSTI_TX_HIZ
97636  */
97637 #define USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HIZ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HIZ_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTI_TX_HIZ_MASK)
97638 
97639 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST0_MASK (0x80U)
97640 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST0_SHIFT (7U)
97641 /*! UTMO_DIG_TST0 - UTMO_DIG_TST0
97642  */
97643 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST0_MASK)
97644 
97645 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST1_MASK (0x100U)
97646 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST1_SHIFT (8U)
97647 /*! UTMO_DIG_TST1 - UTMO_DIG_TST1
97648  */
97649 #define USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_UTMO_DIG_TST1_MASK)
97650 
97651 #define USBPHY_USB1_LOOPBACK_SET_TSTI_HSFS_MODE_EN_MASK (0x8000U)
97652 #define USBPHY_USB1_LOOPBACK_SET_TSTI_HSFS_MODE_EN_SHIFT (15U)
97653 /*! TSTI_HSFS_MODE_EN - TSTI_HSFS_MODE_EN
97654  */
97655 #define USBPHY_USB1_LOOPBACK_SET_TSTI_HSFS_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTI_HSFS_MODE_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTI_HSFS_MODE_EN_MASK)
97656 
97657 #define USBPHY_USB1_LOOPBACK_SET_TSTPKT_MASK     (0xFF0000U)
97658 #define USBPHY_USB1_LOOPBACK_SET_TSTPKT_SHIFT    (16U)
97659 /*! TSTPKT - TSTPKT
97660  */
97661 #define USBPHY_USB1_LOOPBACK_SET_TSTPKT(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_SET_TSTPKT_SHIFT)) & USBPHY_USB1_LOOPBACK_SET_TSTPKT_MASK)
97662 /*! @} */
97663 
97664 /*! @name USB1_LOOPBACK_CLR - USB PHY Loopback Control/Status Register */
97665 /*! @{ */
97666 
97667 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_TESTSTART_MASK (0x1U)
97668 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_TESTSTART_SHIFT (0U)
97669 /*! UTMI_TESTSTART - UTMI_TESTSTART
97670  */
97671 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_TESTSTART(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_UTMI_TESTSTART_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_UTMI_TESTSTART_MASK)
97672 
97673 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST0_MASK (0x2U)
97674 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST0_SHIFT (1U)
97675 /*! UTMI_DIG_TST0 - UTMI_DIG_TST0
97676  */
97677 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST0_MASK)
97678 
97679 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST1_MASK (0x4U)
97680 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST1_SHIFT (2U)
97681 /*! UTMI_DIG_TST1 - UTMI_DIG_TST1
97682  */
97683 #define USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_UTMI_DIG_TST1_MASK)
97684 
97685 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HS_MODE_MASK (0x8U)
97686 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HS_MODE_SHIFT (3U)
97687 /*! TSTI_TX_HS_MODE - TSTI_TX_HS_MODE
97688  */
97689 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HS_MODE_MASK)
97690 
97691 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_LS_MODE_MASK (0x10U)
97692 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_LS_MODE_SHIFT (4U)
97693 /*! TSTI_TX_LS_MODE - TSTI_TX_LS_MODE
97694  */
97695 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_LS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_LS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_LS_MODE_MASK)
97696 
97697 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_EN_MASK (0x20U)
97698 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_EN_SHIFT (5U)
97699 /*! TSTI_TX_EN - TSTI_TX_EN
97700  */
97701 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_EN(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_EN_MASK)
97702 
97703 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HIZ_MASK (0x40U)
97704 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HIZ_SHIFT (6U)
97705 /*! TSTI_TX_HIZ - TSTI_TX_HIZ
97706  */
97707 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HIZ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HIZ_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTI_TX_HIZ_MASK)
97708 
97709 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST0_MASK (0x80U)
97710 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST0_SHIFT (7U)
97711 /*! UTMO_DIG_TST0 - UTMO_DIG_TST0
97712  */
97713 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST0_MASK)
97714 
97715 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST1_MASK (0x100U)
97716 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST1_SHIFT (8U)
97717 /*! UTMO_DIG_TST1 - UTMO_DIG_TST1
97718  */
97719 #define USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_UTMO_DIG_TST1_MASK)
97720 
97721 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_HSFS_MODE_EN_MASK (0x8000U)
97722 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_HSFS_MODE_EN_SHIFT (15U)
97723 /*! TSTI_HSFS_MODE_EN - TSTI_HSFS_MODE_EN
97724  */
97725 #define USBPHY_USB1_LOOPBACK_CLR_TSTI_HSFS_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTI_HSFS_MODE_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTI_HSFS_MODE_EN_MASK)
97726 
97727 #define USBPHY_USB1_LOOPBACK_CLR_TSTPKT_MASK     (0xFF0000U)
97728 #define USBPHY_USB1_LOOPBACK_CLR_TSTPKT_SHIFT    (16U)
97729 /*! TSTPKT - TSTPKT
97730  */
97731 #define USBPHY_USB1_LOOPBACK_CLR_TSTPKT(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_CLR_TSTPKT_SHIFT)) & USBPHY_USB1_LOOPBACK_CLR_TSTPKT_MASK)
97732 /*! @} */
97733 
97734 /*! @name USB1_LOOPBACK_TOG - USB PHY Loopback Control/Status Register */
97735 /*! @{ */
97736 
97737 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_TESTSTART_MASK (0x1U)
97738 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_TESTSTART_SHIFT (0U)
97739 /*! UTMI_TESTSTART - UTMI_TESTSTART
97740  */
97741 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_TESTSTART(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_UTMI_TESTSTART_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_UTMI_TESTSTART_MASK)
97742 
97743 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST0_MASK (0x2U)
97744 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST0_SHIFT (1U)
97745 /*! UTMI_DIG_TST0 - UTMI_DIG_TST0
97746  */
97747 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST0_MASK)
97748 
97749 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST1_MASK (0x4U)
97750 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST1_SHIFT (2U)
97751 /*! UTMI_DIG_TST1 - UTMI_DIG_TST1
97752  */
97753 #define USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_UTMI_DIG_TST1_MASK)
97754 
97755 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HS_MODE_MASK (0x8U)
97756 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HS_MODE_SHIFT (3U)
97757 /*! TSTI_TX_HS_MODE - TSTI_TX_HS_MODE
97758  */
97759 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HS_MODE_MASK)
97760 
97761 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_LS_MODE_MASK (0x10U)
97762 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_LS_MODE_SHIFT (4U)
97763 /*! TSTI_TX_LS_MODE - TSTI_TX_LS_MODE
97764  */
97765 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_LS_MODE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_LS_MODE_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_LS_MODE_MASK)
97766 
97767 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_EN_MASK (0x20U)
97768 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_EN_SHIFT (5U)
97769 /*! TSTI_TX_EN - TSTI_TX_EN
97770  */
97771 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_EN(x)   (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_EN_MASK)
97772 
97773 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HIZ_MASK (0x40U)
97774 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HIZ_SHIFT (6U)
97775 /*! TSTI_TX_HIZ - TSTI_TX_HIZ
97776  */
97777 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HIZ(x)  (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HIZ_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTI_TX_HIZ_MASK)
97778 
97779 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST0_MASK (0x80U)
97780 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST0_SHIFT (7U)
97781 /*! UTMO_DIG_TST0 - UTMO_DIG_TST0
97782  */
97783 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST0(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST0_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST0_MASK)
97784 
97785 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST1_MASK (0x100U)
97786 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST1_SHIFT (8U)
97787 /*! UTMO_DIG_TST1 - UTMO_DIG_TST1
97788  */
97789 #define USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST1(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST1_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_UTMO_DIG_TST1_MASK)
97790 
97791 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_HSFS_MODE_EN_MASK (0x8000U)
97792 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_HSFS_MODE_EN_SHIFT (15U)
97793 /*! TSTI_HSFS_MODE_EN - TSTI_HSFS_MODE_EN
97794  */
97795 #define USBPHY_USB1_LOOPBACK_TOG_TSTI_HSFS_MODE_EN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTI_HSFS_MODE_EN_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTI_HSFS_MODE_EN_MASK)
97796 
97797 #define USBPHY_USB1_LOOPBACK_TOG_TSTPKT_MASK     (0xFF0000U)
97798 #define USBPHY_USB1_LOOPBACK_TOG_TSTPKT_SHIFT    (16U)
97799 /*! TSTPKT - TSTPKT
97800  */
97801 #define USBPHY_USB1_LOOPBACK_TOG_TSTPKT(x)       (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_TOG_TSTPKT_SHIFT)) & USBPHY_USB1_LOOPBACK_TOG_TSTPKT_MASK)
97802 /*! @} */
97803 
97804 /*! @name USB1_LOOPBACK_HSFSCNT - USB PHY Loopback Packet Number Select Register */
97805 /*! @{ */
97806 
97807 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_HS_NUMBER_MASK (0xFFFFU)
97808 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_HS_NUMBER_SHIFT (0U)
97809 /*! TSTI_HS_NUMBER - TSTI_HS_NUMBER
97810  */
97811 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_HS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_HS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_HS_NUMBER_MASK)
97812 
97813 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_FS_NUMBER_MASK (0xFFFF0000U)
97814 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_FS_NUMBER_SHIFT (16U)
97815 /*! TSTI_FS_NUMBER - TSTI_FS_NUMBER
97816  */
97817 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_FS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_FS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_TSTI_FS_NUMBER_MASK)
97818 /*! @} */
97819 
97820 /*! @name USB1_LOOPBACK_HSFSCNT_SET - USB PHY Loopback Packet Number Select Register */
97821 /*! @{ */
97822 
97823 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_HS_NUMBER_MASK (0xFFFFU)
97824 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_HS_NUMBER_SHIFT (0U)
97825 /*! TSTI_HS_NUMBER - TSTI_HS_NUMBER
97826  */
97827 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_HS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_HS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_HS_NUMBER_MASK)
97828 
97829 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_FS_NUMBER_MASK (0xFFFF0000U)
97830 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_FS_NUMBER_SHIFT (16U)
97831 /*! TSTI_FS_NUMBER - TSTI_FS_NUMBER
97832  */
97833 #define USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_FS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_FS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_SET_TSTI_FS_NUMBER_MASK)
97834 /*! @} */
97835 
97836 /*! @name USB1_LOOPBACK_HSFSCNT_CLR - USB PHY Loopback Packet Number Select Register */
97837 /*! @{ */
97838 
97839 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_HS_NUMBER_MASK (0xFFFFU)
97840 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_HS_NUMBER_SHIFT (0U)
97841 /*! TSTI_HS_NUMBER - TSTI_HS_NUMBER
97842  */
97843 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_HS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_HS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_HS_NUMBER_MASK)
97844 
97845 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_FS_NUMBER_MASK (0xFFFF0000U)
97846 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_FS_NUMBER_SHIFT (16U)
97847 /*! TSTI_FS_NUMBER - TSTI_FS_NUMBER
97848  */
97849 #define USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_FS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_FS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_CLR_TSTI_FS_NUMBER_MASK)
97850 /*! @} */
97851 
97852 /*! @name USB1_LOOPBACK_HSFSCNT_TOG - USB PHY Loopback Packet Number Select Register */
97853 /*! @{ */
97854 
97855 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_HS_NUMBER_MASK (0xFFFFU)
97856 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_HS_NUMBER_SHIFT (0U)
97857 /*! TSTI_HS_NUMBER - TSTI_HS_NUMBER
97858  */
97859 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_HS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_HS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_HS_NUMBER_MASK)
97860 
97861 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_FS_NUMBER_MASK (0xFFFF0000U)
97862 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_FS_NUMBER_SHIFT (16U)
97863 /*! TSTI_FS_NUMBER - TSTI_FS_NUMBER
97864  */
97865 #define USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_FS_NUMBER(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_FS_NUMBER_SHIFT)) & USBPHY_USB1_LOOPBACK_HSFSCNT_TOG_TSTI_FS_NUMBER_MASK)
97866 /*! @} */
97867 
97868 /*! @name TRIM_OVERRIDE_EN - USB PHY Trim Override Enable Register */
97869 /*! @{ */
97870 
97871 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_DIV_SEL_OVERRIDE_MASK (0x1U)
97872 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_DIV_SEL_OVERRIDE_SHIFT (0U)
97873 /*! TRIM_DIV_SEL_OVERRIDE - TRIM_DIV_SEL_OVERRIDE
97874  */
97875 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_DIV_SEL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_DIV_SEL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_DIV_SEL_OVERRIDE_MASK)
97876 
97877 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK (0x2U)
97878 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT (1U)
97879 /*! TRIM_ENV_TAIL_ADJ_VD_OVERRIDE - TRIM_ENV_TAIL_ADJ_VD_OVERRIDE
97880  */
97881 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK)
97882 
97883 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_D_CAL_OVERRIDE_MASK (0x4U)
97884 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_D_CAL_OVERRIDE_SHIFT (2U)
97885 /*! TRIM_TX_D_CAL_OVERRIDE - TRIM_TX_D_CAL_OVERRIDE
97886  */
97887 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_D_CAL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_D_CAL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_D_CAL_OVERRIDE_MASK)
97888 
97889 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DP_OVERRIDE_MASK (0x8U)
97890 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DP_OVERRIDE_SHIFT (3U)
97891 /*! TRIM_TX_CAL45DP_OVERRIDE - TRIM_TX_CAL45DP_OVERRIDE
97892  */
97893 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DP_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DP_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DP_OVERRIDE_MASK)
97894 
97895 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DN_OVERRIDE_MASK (0x10U)
97896 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DN_OVERRIDE_SHIFT (4U)
97897 /*! TRIM_TX_CAL45DN_OVERRIDE - TRIM_TX_CAL45DN_OVERRIDE
97898  */
97899 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DN_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DN_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_TX_CAL45DN_OVERRIDE_MASK)
97900 
97901 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK (0x20U)
97902 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT (5U)
97903 /*! TRIM_REFBIAS_VBGADJ_OVERRIDE - Override enable for bandgap adjustment.
97904  */
97905 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_VBGADJ_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK)
97906 
97907 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_TST_OVERRIDE_MASK (0x40U)
97908 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_TST_OVERRIDE_SHIFT (6U)
97909 /*! TRIM_REFBIAS_TST_OVERRIDE - Override enable for bias current control
97910  */
97911 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_TST_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_TST_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_REFBIAS_TST_OVERRIDE_MASK)
97912 
97913 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_VBGADJ_MASK (0x1C00U)
97914 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_VBGADJ_SHIFT (10U)
97915 /*! TRIM_USB2_REFBIAS_VBGADJ - TRIM_USB2_REFBIAS_VBGADJ
97916  */
97917 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_VBGADJ_MASK)
97918 
97919 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_TST_MASK (0x6000U)
97920 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_TST_SHIFT (13U)
97921 /*! TRIM_USB2_REFBIAS_TST - TRIM_USB2_REFBIAS_TST
97922  */
97923 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_TST(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_TST_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USB2_REFBIAS_TST_MASK)
97924 
97925 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_PLL_CTRL0_DIV_SEL_MASK (0x38000U)
97926 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_PLL_CTRL0_DIV_SEL_SHIFT (15U)
97927 /*! TRIM_PLL_CTRL0_DIV_SEL - TRIM_PLL_CTRL0_DIV_SEL
97928  */
97929 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_PLL_CTRL0_DIV_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_PLL_CTRL0_DIV_SEL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_PLL_CTRL0_DIV_SEL_MASK)
97930 
97931 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK (0xC0000U)
97932 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT (18U)
97933 /*! TRIM_USB_REG_ENV_TAIL_ADJ_VD - TRIM_USB_REG_ENV_TAIL_ADJ_VD
97934  */
97935 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USB_REG_ENV_TAIL_ADJ_VD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK)
97936 
97937 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_D_CAL_MASK (0xF00000U)
97938 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_D_CAL_SHIFT (20U)
97939 /*! TRIM_USBPHY_TX_D_CAL - TRIM_USBPHY_TX_D_CAL
97940  */
97941 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_D_CAL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_D_CAL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_D_CAL_MASK)
97942 
97943 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DP_MASK (0xF000000U)
97944 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DP_SHIFT (24U)
97945 /*! TRIM_USBPHY_TX_CAL45DP - TRIM_USBPHY_TX_CAL45DP
97946  */
97947 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DP_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DP_MASK)
97948 
97949 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DN_MASK (0xF0000000U)
97950 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DN_SHIFT (28U)
97951 /*! TRIM_USBPHY_TX_CAL45DN - TRIM_USBPHY_TX_CAL45DN
97952  */
97953 #define USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DN_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TRIM_USBPHY_TX_CAL45DN_MASK)
97954 /*! @} */
97955 
97956 /*! @name TRIM_OVERRIDE_EN_SET - USB PHY Trim Override Enable Register */
97957 /*! @{ */
97958 
97959 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_DIV_SEL_OVERRIDE_MASK (0x1U)
97960 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_DIV_SEL_OVERRIDE_SHIFT (0U)
97961 /*! TRIM_DIV_SEL_OVERRIDE - TRIM_DIV_SEL_OVERRIDE
97962  */
97963 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_DIV_SEL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_DIV_SEL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_DIV_SEL_OVERRIDE_MASK)
97964 
97965 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK (0x2U)
97966 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT (1U)
97967 /*! TRIM_ENV_TAIL_ADJ_VD_OVERRIDE - TRIM_ENV_TAIL_ADJ_VD_OVERRIDE
97968  */
97969 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK)
97970 
97971 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_D_CAL_OVERRIDE_MASK (0x4U)
97972 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_D_CAL_OVERRIDE_SHIFT (2U)
97973 /*! TRIM_TX_D_CAL_OVERRIDE - TRIM_TX_D_CAL_OVERRIDE
97974  */
97975 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_D_CAL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_D_CAL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_D_CAL_OVERRIDE_MASK)
97976 
97977 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DP_OVERRIDE_MASK (0x8U)
97978 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DP_OVERRIDE_SHIFT (3U)
97979 /*! TRIM_TX_CAL45DP_OVERRIDE - TRIM_TX_CAL45DP_OVERRIDE
97980  */
97981 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DP_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DP_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DP_OVERRIDE_MASK)
97982 
97983 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DN_OVERRIDE_MASK (0x10U)
97984 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DN_OVERRIDE_SHIFT (4U)
97985 /*! TRIM_TX_CAL45DN_OVERRIDE - TRIM_TX_CAL45DN_OVERRIDE
97986  */
97987 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DN_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DN_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_TX_CAL45DN_OVERRIDE_MASK)
97988 
97989 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK (0x20U)
97990 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT (5U)
97991 /*! TRIM_REFBIAS_VBGADJ_OVERRIDE - Override enable for bandgap adjustment.
97992  */
97993 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_VBGADJ_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK)
97994 
97995 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_TST_OVERRIDE_MASK (0x40U)
97996 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_TST_OVERRIDE_SHIFT (6U)
97997 /*! TRIM_REFBIAS_TST_OVERRIDE - Override enable for bias current control
97998  */
97999 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_TST_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_TST_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_REFBIAS_TST_OVERRIDE_MASK)
98000 
98001 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_VBGADJ_MASK (0x1C00U)
98002 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_VBGADJ_SHIFT (10U)
98003 /*! TRIM_USB2_REFBIAS_VBGADJ - TRIM_USB2_REFBIAS_VBGADJ
98004  */
98005 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_VBGADJ_MASK)
98006 
98007 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_TST_MASK (0x6000U)
98008 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_TST_SHIFT (13U)
98009 /*! TRIM_USB2_REFBIAS_TST - TRIM_USB2_REFBIAS_TST
98010  */
98011 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_TST(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_TST_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB2_REFBIAS_TST_MASK)
98012 
98013 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_PLL_CTRL0_DIV_SEL_MASK (0x38000U)
98014 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_PLL_CTRL0_DIV_SEL_SHIFT (15U)
98015 /*! TRIM_PLL_CTRL0_DIV_SEL - TRIM_PLL_CTRL0_DIV_SEL
98016  */
98017 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_PLL_CTRL0_DIV_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_PLL_CTRL0_DIV_SEL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_PLL_CTRL0_DIV_SEL_MASK)
98018 
98019 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK (0xC0000U)
98020 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT (18U)
98021 /*! TRIM_USB_REG_ENV_TAIL_ADJ_VD - TRIM_USB_REG_ENV_TAIL_ADJ_VD
98022  */
98023 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB_REG_ENV_TAIL_ADJ_VD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK)
98024 
98025 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_D_CAL_MASK (0xF00000U)
98026 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_D_CAL_SHIFT (20U)
98027 /*! TRIM_USBPHY_TX_D_CAL - TRIM_USBPHY_TX_D_CAL
98028  */
98029 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_D_CAL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_D_CAL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_D_CAL_MASK)
98030 
98031 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DP_MASK (0xF000000U)
98032 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DP_SHIFT (24U)
98033 /*! TRIM_USBPHY_TX_CAL45DP - TRIM_USBPHY_TX_CAL45DP
98034  */
98035 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DP_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DP_MASK)
98036 
98037 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DN_MASK (0xF0000000U)
98038 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DN_SHIFT (28U)
98039 /*! TRIM_USBPHY_TX_CAL45DN - TRIM_USBPHY_TX_CAL45DN
98040  */
98041 #define USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DN_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_SET_TRIM_USBPHY_TX_CAL45DN_MASK)
98042 /*! @} */
98043 
98044 /*! @name TRIM_OVERRIDE_EN_CLR - USB PHY Trim Override Enable Register */
98045 /*! @{ */
98046 
98047 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_DIV_SEL_OVERRIDE_MASK (0x1U)
98048 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_DIV_SEL_OVERRIDE_SHIFT (0U)
98049 /*! TRIM_DIV_SEL_OVERRIDE - TRIM_DIV_SEL_OVERRIDE
98050  */
98051 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_DIV_SEL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_DIV_SEL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_DIV_SEL_OVERRIDE_MASK)
98052 
98053 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK (0x2U)
98054 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT (1U)
98055 /*! TRIM_ENV_TAIL_ADJ_VD_OVERRIDE - TRIM_ENV_TAIL_ADJ_VD_OVERRIDE
98056  */
98057 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK)
98058 
98059 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_D_CAL_OVERRIDE_MASK (0x4U)
98060 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_D_CAL_OVERRIDE_SHIFT (2U)
98061 /*! TRIM_TX_D_CAL_OVERRIDE - TRIM_TX_D_CAL_OVERRIDE
98062  */
98063 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_D_CAL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_D_CAL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_D_CAL_OVERRIDE_MASK)
98064 
98065 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DP_OVERRIDE_MASK (0x8U)
98066 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DP_OVERRIDE_SHIFT (3U)
98067 /*! TRIM_TX_CAL45DP_OVERRIDE - TRIM_TX_CAL45DP_OVERRIDE
98068  */
98069 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DP_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DP_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DP_OVERRIDE_MASK)
98070 
98071 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DN_OVERRIDE_MASK (0x10U)
98072 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DN_OVERRIDE_SHIFT (4U)
98073 /*! TRIM_TX_CAL45DN_OVERRIDE - TRIM_TX_CAL45DN_OVERRIDE
98074  */
98075 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DN_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DN_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_TX_CAL45DN_OVERRIDE_MASK)
98076 
98077 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK (0x20U)
98078 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT (5U)
98079 /*! TRIM_REFBIAS_VBGADJ_OVERRIDE - Override enable for bandgap adjustment.
98080  */
98081 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_VBGADJ_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK)
98082 
98083 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_TST_OVERRIDE_MASK (0x40U)
98084 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_TST_OVERRIDE_SHIFT (6U)
98085 /*! TRIM_REFBIAS_TST_OVERRIDE - Override enable for bias current control
98086  */
98087 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_TST_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_TST_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_REFBIAS_TST_OVERRIDE_MASK)
98088 
98089 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_VBGADJ_MASK (0x1C00U)
98090 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_VBGADJ_SHIFT (10U)
98091 /*! TRIM_USB2_REFBIAS_VBGADJ - TRIM_USB2_REFBIAS_VBGADJ
98092  */
98093 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_VBGADJ_MASK)
98094 
98095 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_TST_MASK (0x6000U)
98096 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_TST_SHIFT (13U)
98097 /*! TRIM_USB2_REFBIAS_TST - TRIM_USB2_REFBIAS_TST
98098  */
98099 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_TST(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_TST_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB2_REFBIAS_TST_MASK)
98100 
98101 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_PLL_CTRL0_DIV_SEL_MASK (0x38000U)
98102 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_PLL_CTRL0_DIV_SEL_SHIFT (15U)
98103 /*! TRIM_PLL_CTRL0_DIV_SEL - TRIM_PLL_CTRL0_DIV_SEL
98104  */
98105 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_PLL_CTRL0_DIV_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_PLL_CTRL0_DIV_SEL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_PLL_CTRL0_DIV_SEL_MASK)
98106 
98107 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK (0xC0000U)
98108 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT (18U)
98109 /*! TRIM_USB_REG_ENV_TAIL_ADJ_VD - TRIM_USB_REG_ENV_TAIL_ADJ_VD
98110  */
98111 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB_REG_ENV_TAIL_ADJ_VD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK)
98112 
98113 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_D_CAL_MASK (0xF00000U)
98114 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_D_CAL_SHIFT (20U)
98115 /*! TRIM_USBPHY_TX_D_CAL - TRIM_USBPHY_TX_D_CAL
98116  */
98117 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_D_CAL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_D_CAL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_D_CAL_MASK)
98118 
98119 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DP_MASK (0xF000000U)
98120 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DP_SHIFT (24U)
98121 /*! TRIM_USBPHY_TX_CAL45DP - TRIM_USBPHY_TX_CAL45DP
98122  */
98123 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DP_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DP_MASK)
98124 
98125 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DN_MASK (0xF0000000U)
98126 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DN_SHIFT (28U)
98127 /*! TRIM_USBPHY_TX_CAL45DN - TRIM_USBPHY_TX_CAL45DN
98128  */
98129 #define USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DN_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_CLR_TRIM_USBPHY_TX_CAL45DN_MASK)
98130 /*! @} */
98131 
98132 /*! @name TRIM_OVERRIDE_EN_TOG - USB PHY Trim Override Enable Register */
98133 /*! @{ */
98134 
98135 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_DIV_SEL_OVERRIDE_MASK (0x1U)
98136 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_DIV_SEL_OVERRIDE_SHIFT (0U)
98137 /*! TRIM_DIV_SEL_OVERRIDE - TRIM_DIV_SEL_OVERRIDE
98138  */
98139 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_DIV_SEL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_DIV_SEL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_DIV_SEL_OVERRIDE_MASK)
98140 
98141 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK (0x2U)
98142 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT (1U)
98143 /*! TRIM_ENV_TAIL_ADJ_VD_OVERRIDE - TRIM_ENV_TAIL_ADJ_VD_OVERRIDE
98144  */
98145 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_ENV_TAIL_ADJ_VD_OVERRIDE_MASK)
98146 
98147 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_D_CAL_OVERRIDE_MASK (0x4U)
98148 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_D_CAL_OVERRIDE_SHIFT (2U)
98149 /*! TRIM_TX_D_CAL_OVERRIDE - TRIM_TX_D_CAL_OVERRIDE
98150  */
98151 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_D_CAL_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_D_CAL_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_D_CAL_OVERRIDE_MASK)
98152 
98153 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DP_OVERRIDE_MASK (0x8U)
98154 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DP_OVERRIDE_SHIFT (3U)
98155 /*! TRIM_TX_CAL45DP_OVERRIDE - TRIM_TX_CAL45DP_OVERRIDE
98156  */
98157 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DP_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DP_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DP_OVERRIDE_MASK)
98158 
98159 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DN_OVERRIDE_MASK (0x10U)
98160 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DN_OVERRIDE_SHIFT (4U)
98161 /*! TRIM_TX_CAL45DN_OVERRIDE - TRIM_TX_CAL45DN_OVERRIDE
98162  */
98163 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DN_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DN_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_TX_CAL45DN_OVERRIDE_MASK)
98164 
98165 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK (0x20U)
98166 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT (5U)
98167 /*! TRIM_REFBIAS_VBGADJ_OVERRIDE - Override enable for bandgap adjustment.
98168  */
98169 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_VBGADJ_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_VBGADJ_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_VBGADJ_OVERRIDE_MASK)
98170 
98171 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_TST_OVERRIDE_MASK (0x40U)
98172 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_TST_OVERRIDE_SHIFT (6U)
98173 /*! TRIM_REFBIAS_TST_OVERRIDE - Override enable for bias current control
98174  */
98175 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_TST_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_TST_OVERRIDE_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_REFBIAS_TST_OVERRIDE_MASK)
98176 
98177 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_VBGADJ_MASK (0x1C00U)
98178 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_VBGADJ_SHIFT (10U)
98179 /*! TRIM_USB2_REFBIAS_VBGADJ - TRIM_USB2_REFBIAS_VBGADJ
98180  */
98181 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_VBGADJ(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_VBGADJ_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_VBGADJ_MASK)
98182 
98183 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_TST_MASK (0x6000U)
98184 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_TST_SHIFT (13U)
98185 /*! TRIM_USB2_REFBIAS_TST - TRIM_USB2_REFBIAS_TST
98186  */
98187 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_TST(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_TST_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB2_REFBIAS_TST_MASK)
98188 
98189 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_PLL_CTRL0_DIV_SEL_MASK (0x38000U)
98190 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_PLL_CTRL0_DIV_SEL_SHIFT (15U)
98191 /*! TRIM_PLL_CTRL0_DIV_SEL - TRIM_PLL_CTRL0_DIV_SEL
98192  */
98193 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_PLL_CTRL0_DIV_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_PLL_CTRL0_DIV_SEL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_PLL_CTRL0_DIV_SEL_MASK)
98194 
98195 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK (0xC0000U)
98196 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT (18U)
98197 /*! TRIM_USB_REG_ENV_TAIL_ADJ_VD - TRIM_USB_REG_ENV_TAIL_ADJ_VD
98198  */
98199 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB_REG_ENV_TAIL_ADJ_VD(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB_REG_ENV_TAIL_ADJ_VD_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USB_REG_ENV_TAIL_ADJ_VD_MASK)
98200 
98201 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_D_CAL_MASK (0xF00000U)
98202 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_D_CAL_SHIFT (20U)
98203 /*! TRIM_USBPHY_TX_D_CAL - TRIM_USBPHY_TX_D_CAL
98204  */
98205 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_D_CAL(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_D_CAL_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_D_CAL_MASK)
98206 
98207 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DP_MASK (0xF000000U)
98208 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DP_SHIFT (24U)
98209 /*! TRIM_USBPHY_TX_CAL45DP - TRIM_USBPHY_TX_CAL45DP
98210  */
98211 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DP(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DP_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DP_MASK)
98212 
98213 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DN_MASK (0xF0000000U)
98214 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DN_SHIFT (28U)
98215 /*! TRIM_USBPHY_TX_CAL45DN - TRIM_USBPHY_TX_CAL45DN
98216  */
98217 #define USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DN(x) (((uint32_t)(((uint32_t)(x)) << USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DN_SHIFT)) & USBPHY_TRIM_OVERRIDE_EN_TOG_TRIM_USBPHY_TX_CAL45DN_MASK)
98218 /*! @} */
98219 
98220 
98221 /*!
98222  * @}
98223  */ /* end of group USBPHY_Register_Masks */
98224 
98225 
98226 /* USBPHY - Peripheral instance base addresses */
98227 /** Peripheral USBPHY1 base address */
98228 #define USBPHY1_BASE                             (0x40434000u)
98229 /** Peripheral USBPHY1 base pointer */
98230 #define USBPHY1                                  ((USBPHY_Type *)USBPHY1_BASE)
98231 /** Peripheral USBPHY2 base address */
98232 #define USBPHY2_BASE                             (0x40438000u)
98233 /** Peripheral USBPHY2 base pointer */
98234 #define USBPHY2                                  ((USBPHY_Type *)USBPHY2_BASE)
98235 /** Array initializer of USBPHY peripheral base addresses */
98236 #define USBPHY_BASE_ADDRS                        { 0u, USBPHY1_BASE, USBPHY2_BASE }
98237 /** Array initializer of USBPHY peripheral base pointers */
98238 #define USBPHY_BASE_PTRS                         { (USBPHY_Type *)0u, USBPHY1, USBPHY2 }
98239 /** Interrupt vectors for the USBPHY peripheral type */
98240 #define USBPHY_IRQS                              { NotAvail_IRQn, USBPHY1_IRQn, USBPHY2_IRQn }
98241 /* Backward compatibility */
98242 #define USBPHY_CTRL_ENDEVPLUGINDET_MASK     USBPHY_CTRL_ENDEVPLUGINDETECT_MASK
98243 #define USBPHY_CTRL_ENDEVPLUGINDET_SHIFT    USBPHY_CTRL_ENDEVPLUGINDETECT_SHIFT
98244 #define USBPHY_CTRL_ENDEVPLUGINDET(x)       USBPHY_CTRL_ENDEVPLUGINDETECT(x)
98245 #define USBPHY_TX_TXCAL45DM_MASK            USBPHY_TX_TXCAL45DN_MASK
98246 #define USBPHY_TX_TXCAL45DM_SHIFT           USBPHY_TX_TXCAL45DN_SHIFT
98247 #define USBPHY_TX_TXCAL45DM(x)              USBPHY_TX_TXCAL45DN(x)
98248 
98249 
98250 /*!
98251  * @}
98252  */ /* end of group USBPHY_Peripheral_Access_Layer */
98253 
98254 
98255 /* ----------------------------------------------------------------------------
98256    -- USDHC Peripheral Access Layer
98257    ---------------------------------------------------------------------------- */
98258 
98259 /*!
98260  * @addtogroup USDHC_Peripheral_Access_Layer USDHC Peripheral Access Layer
98261  * @{
98262  */
98263 
98264 /** USDHC - Register Layout Typedef */
98265 typedef struct {
98266   __IO uint32_t DS_ADDR;                           /**< DMA System Address, offset: 0x0 */
98267   __IO uint32_t BLK_ATT;                           /**< Block Attributes, offset: 0x4 */
98268   __IO uint32_t CMD_ARG;                           /**< Command Argument, offset: 0x8 */
98269   __IO uint32_t CMD_XFR_TYP;                       /**< Command Transfer Type, offset: 0xC */
98270   __I  uint32_t CMD_RSP0;                          /**< Command Response0, offset: 0x10 */
98271   __I  uint32_t CMD_RSP1;                          /**< Command Response1, offset: 0x14 */
98272   __I  uint32_t CMD_RSP2;                          /**< Command Response2, offset: 0x18 */
98273   __I  uint32_t CMD_RSP3;                          /**< Command Response3, offset: 0x1C */
98274   __IO uint32_t DATA_BUFF_ACC_PORT;                /**< Data Buffer Access Port, offset: 0x20 */
98275   __I  uint32_t PRES_STATE;                        /**< Present State, offset: 0x24 */
98276   __IO uint32_t PROT_CTRL;                         /**< Protocol Control, offset: 0x28 */
98277   __IO uint32_t SYS_CTRL;                          /**< System Control, offset: 0x2C */
98278   __IO uint32_t INT_STATUS;                        /**< Interrupt Status, offset: 0x30 */
98279   __IO uint32_t INT_STATUS_EN;                     /**< Interrupt Status Enable, offset: 0x34 */
98280   __IO uint32_t INT_SIGNAL_EN;                     /**< Interrupt Signal Enable, offset: 0x38 */
98281   __IO uint32_t AUTOCMD12_ERR_STATUS;              /**< Auto CMD12 Error Status, offset: 0x3C */
98282   __IO uint32_t HOST_CTRL_CAP;                     /**< Host Controller Capabilities, offset: 0x40 */
98283   __IO uint32_t WTMK_LVL;                          /**< Watermark Level, offset: 0x44 */
98284   __IO uint32_t MIX_CTRL;                          /**< Mixer Control, offset: 0x48 */
98285        uint8_t RESERVED_0[4];
98286   __O  uint32_t FORCE_EVENT;                       /**< Force Event, offset: 0x50 */
98287   __I  uint32_t ADMA_ERR_STATUS;                   /**< ADMA Error Status, offset: 0x54 */
98288   __IO uint32_t ADMA_SYS_ADDR;                     /**< ADMA System Address, offset: 0x58 */
98289        uint8_t RESERVED_1[4];
98290   __IO uint32_t DLL_CTRL;                          /**< DLL (Delay Line) Control, offset: 0x60 */
98291   __I  uint32_t DLL_STATUS;                        /**< DLL Status, offset: 0x64 */
98292   __IO uint32_t CLK_TUNE_CTRL_STATUS;              /**< CLK Tuning Control and Status, offset: 0x68 */
98293        uint8_t RESERVED_2[4];
98294   __IO uint32_t STROBE_DLL_CTRL;                   /**< Strobe DLL control, offset: 0x70 */
98295   __I  uint32_t STROBE_DLL_STATUS;                 /**< Strobe DLL status, offset: 0x74 */
98296        uint8_t RESERVED_3[72];
98297   __IO uint32_t VEND_SPEC;                         /**< Vendor Specific Register, offset: 0xC0 */
98298   __IO uint32_t MMC_BOOT;                          /**< MMC Boot, offset: 0xC4 */
98299   __IO uint32_t VEND_SPEC2;                        /**< Vendor Specific 2 Register, offset: 0xC8 */
98300   __IO uint32_t TUNING_CTRL;                       /**< Tuning Control, offset: 0xCC */
98301 } USDHC_Type;
98302 
98303 /* ----------------------------------------------------------------------------
98304    -- USDHC Register Masks
98305    ---------------------------------------------------------------------------- */
98306 
98307 /*!
98308  * @addtogroup USDHC_Register_Masks USDHC Register Masks
98309  * @{
98310  */
98311 
98312 /*! @name DS_ADDR - DMA System Address */
98313 /*! @{ */
98314 
98315 #define USDHC_DS_ADDR_DS_ADDR_MASK               (0xFFFFFFFFU)
98316 #define USDHC_DS_ADDR_DS_ADDR_SHIFT              (0U)
98317 /*! DS_ADDR - System address
98318  */
98319 #define USDHC_DS_ADDR_DS_ADDR(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_DS_ADDR_DS_ADDR_SHIFT)) & USDHC_DS_ADDR_DS_ADDR_MASK)
98320 /*! @} */
98321 
98322 /*! @name BLK_ATT - Block Attributes */
98323 /*! @{ */
98324 
98325 #define USDHC_BLK_ATT_BLKSIZE_MASK               (0x1FFFU)
98326 #define USDHC_BLK_ATT_BLKSIZE_SHIFT              (0U)
98327 /*! BLKSIZE - Transfer block size
98328  *  0b1000000000000..4096 bytes
98329  *  0b0100000000000..2048 bytes
98330  *  0b0001000000000..512 bytes
98331  *  0b0000111111111..511 bytes
98332  *  0b0000000000100..4 bytes
98333  *  0b0000000000011..3 bytes
98334  *  0b0000000000010..2 bytes
98335  *  0b0000000000001..1 byte
98336  *  0b0000000000000..No data transfer
98337  */
98338 #define USDHC_BLK_ATT_BLKSIZE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_BLK_ATT_BLKSIZE_SHIFT)) & USDHC_BLK_ATT_BLKSIZE_MASK)
98339 
98340 #define USDHC_BLK_ATT_BLKCNT_MASK                (0xFFFF0000U)
98341 #define USDHC_BLK_ATT_BLKCNT_SHIFT               (16U)
98342 /*! BLKCNT - Blocks count for current transfer
98343  *  0b1111111111111111..65535 blocks
98344  *  0b0000000000000010..2 blocks
98345  *  0b0000000000000001..1 block
98346  *  0b0000000000000000..Stop count
98347  */
98348 #define USDHC_BLK_ATT_BLKCNT(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_BLK_ATT_BLKCNT_SHIFT)) & USDHC_BLK_ATT_BLKCNT_MASK)
98349 /*! @} */
98350 
98351 /*! @name CMD_ARG - Command Argument */
98352 /*! @{ */
98353 
98354 #define USDHC_CMD_ARG_CMDARG_MASK                (0xFFFFFFFFU)
98355 #define USDHC_CMD_ARG_CMDARG_SHIFT               (0U)
98356 /*! CMDARG - Command argument
98357  */
98358 #define USDHC_CMD_ARG_CMDARG(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_ARG_CMDARG_SHIFT)) & USDHC_CMD_ARG_CMDARG_MASK)
98359 /*! @} */
98360 
98361 /*! @name CMD_XFR_TYP - Command Transfer Type */
98362 /*! @{ */
98363 
98364 #define USDHC_CMD_XFR_TYP_RSPTYP_MASK            (0x30000U)
98365 #define USDHC_CMD_XFR_TYP_RSPTYP_SHIFT           (16U)
98366 /*! RSPTYP - Response type select
98367  *  0b00..No response
98368  *  0b01..Response length 136
98369  *  0b10..Response length 48
98370  *  0b11..Response length 48, check busy after response
98371  */
98372 #define USDHC_CMD_XFR_TYP_RSPTYP(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_RSPTYP_SHIFT)) & USDHC_CMD_XFR_TYP_RSPTYP_MASK)
98373 
98374 #define USDHC_CMD_XFR_TYP_CCCEN_MASK             (0x80000U)
98375 #define USDHC_CMD_XFR_TYP_CCCEN_SHIFT            (19U)
98376 /*! CCCEN - Command CRC check enable
98377  *  0b1..Enables command CRC check
98378  *  0b0..Disables command CRC check
98379  */
98380 #define USDHC_CMD_XFR_TYP_CCCEN(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_CCCEN_SHIFT)) & USDHC_CMD_XFR_TYP_CCCEN_MASK)
98381 
98382 #define USDHC_CMD_XFR_TYP_CICEN_MASK             (0x100000U)
98383 #define USDHC_CMD_XFR_TYP_CICEN_SHIFT            (20U)
98384 /*! CICEN - Command index check enable
98385  *  0b1..Enables command index check
98386  *  0b0..Disable command index check
98387  */
98388 #define USDHC_CMD_XFR_TYP_CICEN(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_CICEN_SHIFT)) & USDHC_CMD_XFR_TYP_CICEN_MASK)
98389 
98390 #define USDHC_CMD_XFR_TYP_DPSEL_MASK             (0x200000U)
98391 #define USDHC_CMD_XFR_TYP_DPSEL_SHIFT            (21U)
98392 /*! DPSEL - Data present select
98393  *  0b1..Data present
98394  *  0b0..No data present
98395  */
98396 #define USDHC_CMD_XFR_TYP_DPSEL(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_DPSEL_SHIFT)) & USDHC_CMD_XFR_TYP_DPSEL_MASK)
98397 
98398 #define USDHC_CMD_XFR_TYP_CMDTYP_MASK            (0xC00000U)
98399 #define USDHC_CMD_XFR_TYP_CMDTYP_SHIFT           (22U)
98400 /*! CMDTYP - Command type
98401  *  0b11..Abort CMD12, CMD52 for writing I/O Abort in CCCR
98402  *  0b10..Resume CMD52 for writing function select in CCCR
98403  *  0b01..Suspend CMD52 for writing bus suspend in CCCR
98404  *  0b00..Normal other commands
98405  */
98406 #define USDHC_CMD_XFR_TYP_CMDTYP(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_CMDTYP_SHIFT)) & USDHC_CMD_XFR_TYP_CMDTYP_MASK)
98407 
98408 #define USDHC_CMD_XFR_TYP_CMDINX_MASK            (0x3F000000U)
98409 #define USDHC_CMD_XFR_TYP_CMDINX_SHIFT           (24U)
98410 /*! CMDINX - Command index
98411  */
98412 #define USDHC_CMD_XFR_TYP_CMDINX(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_XFR_TYP_CMDINX_SHIFT)) & USDHC_CMD_XFR_TYP_CMDINX_MASK)
98413 /*! @} */
98414 
98415 /*! @name CMD_RSP0 - Command Response0 */
98416 /*! @{ */
98417 
98418 #define USDHC_CMD_RSP0_CMDRSP0_MASK              (0xFFFFFFFFU)
98419 #define USDHC_CMD_RSP0_CMDRSP0_SHIFT             (0U)
98420 /*! CMDRSP0 - Command response 0
98421  */
98422 #define USDHC_CMD_RSP0_CMDRSP0(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_RSP0_CMDRSP0_SHIFT)) & USDHC_CMD_RSP0_CMDRSP0_MASK)
98423 /*! @} */
98424 
98425 /*! @name CMD_RSP1 - Command Response1 */
98426 /*! @{ */
98427 
98428 #define USDHC_CMD_RSP1_CMDRSP1_MASK              (0xFFFFFFFFU)
98429 #define USDHC_CMD_RSP1_CMDRSP1_SHIFT             (0U)
98430 /*! CMDRSP1 - Command response 1
98431  */
98432 #define USDHC_CMD_RSP1_CMDRSP1(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_RSP1_CMDRSP1_SHIFT)) & USDHC_CMD_RSP1_CMDRSP1_MASK)
98433 /*! @} */
98434 
98435 /*! @name CMD_RSP2 - Command Response2 */
98436 /*! @{ */
98437 
98438 #define USDHC_CMD_RSP2_CMDRSP2_MASK              (0xFFFFFFFFU)
98439 #define USDHC_CMD_RSP2_CMDRSP2_SHIFT             (0U)
98440 /*! CMDRSP2 - Command response 2
98441  */
98442 #define USDHC_CMD_RSP2_CMDRSP2(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_RSP2_CMDRSP2_SHIFT)) & USDHC_CMD_RSP2_CMDRSP2_MASK)
98443 /*! @} */
98444 
98445 /*! @name CMD_RSP3 - Command Response3 */
98446 /*! @{ */
98447 
98448 #define USDHC_CMD_RSP3_CMDRSP3_MASK              (0xFFFFFFFFU)
98449 #define USDHC_CMD_RSP3_CMDRSP3_SHIFT             (0U)
98450 /*! CMDRSP3 - Command response 3
98451  */
98452 #define USDHC_CMD_RSP3_CMDRSP3(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_CMD_RSP3_CMDRSP3_SHIFT)) & USDHC_CMD_RSP3_CMDRSP3_MASK)
98453 /*! @} */
98454 
98455 /*! @name DATA_BUFF_ACC_PORT - Data Buffer Access Port */
98456 /*! @{ */
98457 
98458 #define USDHC_DATA_BUFF_ACC_PORT_DATCONT_MASK    (0xFFFFFFFFU)
98459 #define USDHC_DATA_BUFF_ACC_PORT_DATCONT_SHIFT   (0U)
98460 /*! DATCONT - Data content
98461  */
98462 #define USDHC_DATA_BUFF_ACC_PORT_DATCONT(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_DATA_BUFF_ACC_PORT_DATCONT_SHIFT)) & USDHC_DATA_BUFF_ACC_PORT_DATCONT_MASK)
98463 /*! @} */
98464 
98465 /*! @name PRES_STATE - Present State */
98466 /*! @{ */
98467 
98468 #define USDHC_PRES_STATE_CIHB_MASK               (0x1U)
98469 #define USDHC_PRES_STATE_CIHB_SHIFT              (0U)
98470 /*! CIHB - Command inhibit (CMD)
98471  *  0b1..Cannot issue command
98472  *  0b0..Can issue command using only CMD line
98473  */
98474 #define USDHC_PRES_STATE_CIHB(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_CIHB_SHIFT)) & USDHC_PRES_STATE_CIHB_MASK)
98475 
98476 #define USDHC_PRES_STATE_CDIHB_MASK              (0x2U)
98477 #define USDHC_PRES_STATE_CDIHB_SHIFT             (1U)
98478 /*! CDIHB - Command Inhibit Data (DATA)
98479  *  0b1..Cannot issue command that uses the DATA line
98480  *  0b0..Can issue command that uses the DATA line
98481  */
98482 #define USDHC_PRES_STATE_CDIHB(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_CDIHB_SHIFT)) & USDHC_PRES_STATE_CDIHB_MASK)
98483 
98484 #define USDHC_PRES_STATE_DLA_MASK                (0x4U)
98485 #define USDHC_PRES_STATE_DLA_SHIFT               (2U)
98486 /*! DLA - Data line active
98487  *  0b1..DATA line active
98488  *  0b0..DATA line inactive
98489  */
98490 #define USDHC_PRES_STATE_DLA(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_DLA_SHIFT)) & USDHC_PRES_STATE_DLA_MASK)
98491 
98492 #define USDHC_PRES_STATE_SDSTB_MASK              (0x8U)
98493 #define USDHC_PRES_STATE_SDSTB_SHIFT             (3U)
98494 /*! SDSTB - SD clock stable
98495  *  0b1..Clock is stable.
98496  *  0b0..Clock is changing frequency and not stable.
98497  */
98498 #define USDHC_PRES_STATE_SDSTB(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_SDSTB_SHIFT)) & USDHC_PRES_STATE_SDSTB_MASK)
98499 
98500 #define USDHC_PRES_STATE_IPGOFF_MASK             (0x10U)
98501 #define USDHC_PRES_STATE_IPGOFF_SHIFT            (4U)
98502 /*! IPGOFF - Peripheral clock gated off internally
98503  *  0b1..Peripheral clock is gated off.
98504  *  0b0..Peripheral clock is active.
98505  */
98506 #define USDHC_PRES_STATE_IPGOFF(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_IPGOFF_SHIFT)) & USDHC_PRES_STATE_IPGOFF_MASK)
98507 
98508 #define USDHC_PRES_STATE_HCKOFF_MASK             (0x20U)
98509 #define USDHC_PRES_STATE_HCKOFF_SHIFT            (5U)
98510 /*! HCKOFF - HCLK gated off internally
98511  *  0b1..HCLK is gated off.
98512  *  0b0..HCLK is active.
98513  */
98514 #define USDHC_PRES_STATE_HCKOFF(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_HCKOFF_SHIFT)) & USDHC_PRES_STATE_HCKOFF_MASK)
98515 
98516 #define USDHC_PRES_STATE_PEROFF_MASK             (0x40U)
98517 #define USDHC_PRES_STATE_PEROFF_SHIFT            (6U)
98518 /*! PEROFF - IPG_PERCLK gated off internally
98519  *  0b1..IPG_PERCLK is gated off.
98520  *  0b0..IPG_PERCLK is active.
98521  */
98522 #define USDHC_PRES_STATE_PEROFF(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_PEROFF_SHIFT)) & USDHC_PRES_STATE_PEROFF_MASK)
98523 
98524 #define USDHC_PRES_STATE_SDOFF_MASK              (0x80U)
98525 #define USDHC_PRES_STATE_SDOFF_SHIFT             (7U)
98526 /*! SDOFF - SD clock gated off internally
98527  *  0b1..SD clock is gated off.
98528  *  0b0..SD clock is active.
98529  */
98530 #define USDHC_PRES_STATE_SDOFF(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_SDOFF_SHIFT)) & USDHC_PRES_STATE_SDOFF_MASK)
98531 
98532 #define USDHC_PRES_STATE_WTA_MASK                (0x100U)
98533 #define USDHC_PRES_STATE_WTA_SHIFT               (8U)
98534 /*! WTA - Write transfer active
98535  *  0b1..Transferring data
98536  *  0b0..No valid data
98537  */
98538 #define USDHC_PRES_STATE_WTA(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_WTA_SHIFT)) & USDHC_PRES_STATE_WTA_MASK)
98539 
98540 #define USDHC_PRES_STATE_RTA_MASK                (0x200U)
98541 #define USDHC_PRES_STATE_RTA_SHIFT               (9U)
98542 /*! RTA - Read transfer active
98543  *  0b1..Transferring data
98544  *  0b0..No valid data
98545  */
98546 #define USDHC_PRES_STATE_RTA(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_RTA_SHIFT)) & USDHC_PRES_STATE_RTA_MASK)
98547 
98548 #define USDHC_PRES_STATE_BWEN_MASK               (0x400U)
98549 #define USDHC_PRES_STATE_BWEN_SHIFT              (10U)
98550 /*! BWEN - Buffer write enable
98551  *  0b1..Write enable
98552  *  0b0..Write disable
98553  */
98554 #define USDHC_PRES_STATE_BWEN(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_BWEN_SHIFT)) & USDHC_PRES_STATE_BWEN_MASK)
98555 
98556 #define USDHC_PRES_STATE_BREN_MASK               (0x800U)
98557 #define USDHC_PRES_STATE_BREN_SHIFT              (11U)
98558 /*! BREN - Buffer read enable
98559  *  0b1..Read enable
98560  *  0b0..Read disable
98561  */
98562 #define USDHC_PRES_STATE_BREN(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_BREN_SHIFT)) & USDHC_PRES_STATE_BREN_MASK)
98563 
98564 #define USDHC_PRES_STATE_RTR_MASK                (0x1000U)
98565 #define USDHC_PRES_STATE_RTR_SHIFT               (12U)
98566 /*! RTR - Re-Tuning Request (only for SD3.0 SDR104 mode,and EMMC HS200 mode)
98567  *  0b1..Sampling clock needs re-tuning
98568  *  0b0..Fixed or well tuned sampling clock
98569  */
98570 #define USDHC_PRES_STATE_RTR(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_RTR_SHIFT)) & USDHC_PRES_STATE_RTR_MASK)
98571 
98572 #define USDHC_PRES_STATE_TSCD_MASK               (0x8000U)
98573 #define USDHC_PRES_STATE_TSCD_SHIFT              (15U)
98574 /*! TSCD - Tap select change done
98575  *  0b1..Delay cell select change is finished.
98576  *  0b0..Delay cell select change is not finished.
98577  */
98578 #define USDHC_PRES_STATE_TSCD(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_TSCD_SHIFT)) & USDHC_PRES_STATE_TSCD_MASK)
98579 
98580 #define USDHC_PRES_STATE_CINST_MASK              (0x10000U)
98581 #define USDHC_PRES_STATE_CINST_SHIFT             (16U)
98582 /*! CINST - Card inserted
98583  *  0b1..Card inserted
98584  *  0b0..Power on reset or no card
98585  */
98586 #define USDHC_PRES_STATE_CINST(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_CINST_SHIFT)) & USDHC_PRES_STATE_CINST_MASK)
98587 
98588 #define USDHC_PRES_STATE_CDPL_MASK               (0x40000U)
98589 #define USDHC_PRES_STATE_CDPL_SHIFT              (18U)
98590 /*! CDPL - Card detect pin level
98591  *  0b1..Card present (CD_B = 0)
98592  *  0b0..No card present (CD_B = 1)
98593  */
98594 #define USDHC_PRES_STATE_CDPL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_CDPL_SHIFT)) & USDHC_PRES_STATE_CDPL_MASK)
98595 
98596 #define USDHC_PRES_STATE_WPSPL_MASK              (0x80000U)
98597 #define USDHC_PRES_STATE_WPSPL_SHIFT             (19U)
98598 /*! WPSPL - Write protect switch pin level
98599  *  0b1..Write enabled (WP = 0)
98600  *  0b0..Write protected (WP = 1)
98601  */
98602 #define USDHC_PRES_STATE_WPSPL(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_WPSPL_SHIFT)) & USDHC_PRES_STATE_WPSPL_MASK)
98603 
98604 #define USDHC_PRES_STATE_CLSL_MASK               (0x800000U)
98605 #define USDHC_PRES_STATE_CLSL_SHIFT              (23U)
98606 /*! CLSL - CMD line signal level
98607  */
98608 #define USDHC_PRES_STATE_CLSL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_CLSL_SHIFT)) & USDHC_PRES_STATE_CLSL_MASK)
98609 
98610 #define USDHC_PRES_STATE_DLSL_MASK               (0xFF000000U)
98611 #define USDHC_PRES_STATE_DLSL_SHIFT              (24U)
98612 /*! DLSL - DATA[7:0] line signal level
98613  *  0b00000111..Data 7 line signal level
98614  *  0b00000110..Data 6 line signal level
98615  *  0b00000101..Data 5 line signal level
98616  *  0b00000100..Data 4 line signal level
98617  *  0b00000011..Data 3 line signal level
98618  *  0b00000010..Data 2 line signal level
98619  *  0b00000001..Data 1 line signal level
98620  *  0b00000000..Data 0 line signal level
98621  */
98622 #define USDHC_PRES_STATE_DLSL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PRES_STATE_DLSL_SHIFT)) & USDHC_PRES_STATE_DLSL_MASK)
98623 /*! @} */
98624 
98625 /*! @name PROT_CTRL - Protocol Control */
98626 /*! @{ */
98627 
98628 #define USDHC_PROT_CTRL_DTW_MASK                 (0x6U)
98629 #define USDHC_PROT_CTRL_DTW_SHIFT                (1U)
98630 /*! DTW - Data transfer width
98631  *  0b10..8-bit mode
98632  *  0b01..4-bit mode
98633  *  0b00..1-bit mode
98634  *  0b11..Reserved
98635  */
98636 #define USDHC_PROT_CTRL_DTW(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_DTW_SHIFT)) & USDHC_PROT_CTRL_DTW_MASK)
98637 
98638 #define USDHC_PROT_CTRL_D3CD_MASK                (0x8U)
98639 #define USDHC_PROT_CTRL_D3CD_SHIFT               (3U)
98640 /*! D3CD - DATA3 as card detection pin
98641  *  0b1..DATA3 as card detection pin
98642  *  0b0..DATA3 does not monitor card insertion
98643  */
98644 #define USDHC_PROT_CTRL_D3CD(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_D3CD_SHIFT)) & USDHC_PROT_CTRL_D3CD_MASK)
98645 
98646 #define USDHC_PROT_CTRL_EMODE_MASK               (0x30U)
98647 #define USDHC_PROT_CTRL_EMODE_SHIFT              (4U)
98648 /*! EMODE - Endian mode
98649  *  0b00..Big endian mode
98650  *  0b01..Half word big endian mode
98651  *  0b10..Little endian mode
98652  *  0b11..Reserved
98653  */
98654 #define USDHC_PROT_CTRL_EMODE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_EMODE_SHIFT)) & USDHC_PROT_CTRL_EMODE_MASK)
98655 
98656 #define USDHC_PROT_CTRL_CDTL_MASK                (0x40U)
98657 #define USDHC_PROT_CTRL_CDTL_SHIFT               (6U)
98658 /*! CDTL - Card detect test level
98659  *  0b1..Card detect test level is 1, card inserted
98660  *  0b0..Card detect test level is 0, no card inserted
98661  */
98662 #define USDHC_PROT_CTRL_CDTL(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_CDTL_SHIFT)) & USDHC_PROT_CTRL_CDTL_MASK)
98663 
98664 #define USDHC_PROT_CTRL_CDSS_MASK                (0x80U)
98665 #define USDHC_PROT_CTRL_CDSS_SHIFT               (7U)
98666 /*! CDSS - Card detect signal selection
98667  *  0b1..Card detection test level is selected (for test purpose).
98668  *  0b0..Card detection level is selected (for normal purpose).
98669  */
98670 #define USDHC_PROT_CTRL_CDSS(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_CDSS_SHIFT)) & USDHC_PROT_CTRL_CDSS_MASK)
98671 
98672 #define USDHC_PROT_CTRL_DMASEL_MASK              (0x300U)
98673 #define USDHC_PROT_CTRL_DMASEL_SHIFT             (8U)
98674 /*! DMASEL - DMA select
98675  *  0b00..No DMA or simple DMA is selected.
98676  *  0b01..ADMA1 is selected.
98677  *  0b10..ADMA2 is selected.
98678  *  0b11..Reserved
98679  */
98680 #define USDHC_PROT_CTRL_DMASEL(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_DMASEL_SHIFT)) & USDHC_PROT_CTRL_DMASEL_MASK)
98681 
98682 #define USDHC_PROT_CTRL_SABGREQ_MASK             (0x10000U)
98683 #define USDHC_PROT_CTRL_SABGREQ_SHIFT            (16U)
98684 /*! SABGREQ - Stop at block gap request
98685  *  0b1..Stop
98686  *  0b0..Transfer
98687  */
98688 #define USDHC_PROT_CTRL_SABGREQ(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_SABGREQ_SHIFT)) & USDHC_PROT_CTRL_SABGREQ_MASK)
98689 
98690 #define USDHC_PROT_CTRL_CREQ_MASK                (0x20000U)
98691 #define USDHC_PROT_CTRL_CREQ_SHIFT               (17U)
98692 /*! CREQ - Continue request
98693  *  0b1..Restart
98694  *  0b0..No effect
98695  */
98696 #define USDHC_PROT_CTRL_CREQ(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_CREQ_SHIFT)) & USDHC_PROT_CTRL_CREQ_MASK)
98697 
98698 #define USDHC_PROT_CTRL_RWCTL_MASK               (0x40000U)
98699 #define USDHC_PROT_CTRL_RWCTL_SHIFT              (18U)
98700 /*! RWCTL - Read wait control
98701  *  0b1..Enables read wait control and assert read wait without stopping SD clock at block gap when SABGREQ field is set
98702  *  0b0..Disables read wait control and stop SD clock at block gap when SABGREQ field is set
98703  */
98704 #define USDHC_PROT_CTRL_RWCTL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_RWCTL_SHIFT)) & USDHC_PROT_CTRL_RWCTL_MASK)
98705 
98706 #define USDHC_PROT_CTRL_IABG_MASK                (0x80000U)
98707 #define USDHC_PROT_CTRL_IABG_SHIFT               (19U)
98708 /*! IABG - Interrupt at block gap
98709  *  0b1..Enables interrupt at block gap
98710  *  0b0..Disables interrupt at block gap
98711  */
98712 #define USDHC_PROT_CTRL_IABG(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_IABG_SHIFT)) & USDHC_PROT_CTRL_IABG_MASK)
98713 
98714 #define USDHC_PROT_CTRL_RD_DONE_NO_8CLK_MASK     (0x100000U)
98715 #define USDHC_PROT_CTRL_RD_DONE_NO_8CLK_SHIFT    (20U)
98716 /*! RD_DONE_NO_8CLK - Read performed number 8 clock
98717  */
98718 #define USDHC_PROT_CTRL_RD_DONE_NO_8CLK(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_RD_DONE_NO_8CLK_SHIFT)) & USDHC_PROT_CTRL_RD_DONE_NO_8CLK_MASK)
98719 
98720 #define USDHC_PROT_CTRL_WECINT_MASK              (0x1000000U)
98721 #define USDHC_PROT_CTRL_WECINT_SHIFT             (24U)
98722 /*! WECINT - Wakeup event enable on card interrupt
98723  *  0b1..Enables wakeup event enable on card interrupt
98724  *  0b0..Disables wakeup event enable on card interrupt
98725  */
98726 #define USDHC_PROT_CTRL_WECINT(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_WECINT_SHIFT)) & USDHC_PROT_CTRL_WECINT_MASK)
98727 
98728 #define USDHC_PROT_CTRL_WECINS_MASK              (0x2000000U)
98729 #define USDHC_PROT_CTRL_WECINS_SHIFT             (25U)
98730 /*! WECINS - Wakeup event enable on SD card insertion
98731  *  0b1..Enable wakeup event enable on SD card insertion
98732  *  0b0..Disable wakeup event enable on SD card insertion
98733  */
98734 #define USDHC_PROT_CTRL_WECINS(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_WECINS_SHIFT)) & USDHC_PROT_CTRL_WECINS_MASK)
98735 
98736 #define USDHC_PROT_CTRL_WECRM_MASK               (0x4000000U)
98737 #define USDHC_PROT_CTRL_WECRM_SHIFT              (26U)
98738 /*! WECRM - Wakeup event enable on SD card removal
98739  *  0b1..Enables wakeup event enable on SD card removal
98740  *  0b0..Disables wakeup event enable on SD card removal
98741  */
98742 #define USDHC_PROT_CTRL_WECRM(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_WECRM_SHIFT)) & USDHC_PROT_CTRL_WECRM_MASK)
98743 
98744 #define USDHC_PROT_CTRL_NON_EXACT_BLK_RD_MASK    (0x40000000U)
98745 #define USDHC_PROT_CTRL_NON_EXACT_BLK_RD_SHIFT   (30U)
98746 /*! NON_EXACT_BLK_RD - Non-exact block read
98747  *  0b1..The block read is non-exact block read. Host driver needs to issue abort command to terminate this multi-block read.
98748  *  0b0..The block read is exact block read. Host driver does not need to issue abort command to terminate this multi-block read.
98749  */
98750 #define USDHC_PROT_CTRL_NON_EXACT_BLK_RD(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_PROT_CTRL_NON_EXACT_BLK_RD_SHIFT)) & USDHC_PROT_CTRL_NON_EXACT_BLK_RD_MASK)
98751 /*! @} */
98752 
98753 /*! @name SYS_CTRL - System Control */
98754 /*! @{ */
98755 
98756 #define USDHC_SYS_CTRL_DVS_MASK                  (0xF0U)
98757 #define USDHC_SYS_CTRL_DVS_SHIFT                 (4U)
98758 /*! DVS - Divisor
98759  *  0b0000..Divide-by-1
98760  *  0b0001..Divide-by-2
98761  *  0b1110..Divide-by-15
98762  *  0b1111..Divide-by-16
98763  */
98764 #define USDHC_SYS_CTRL_DVS(x)                    (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_DVS_SHIFT)) & USDHC_SYS_CTRL_DVS_MASK)
98765 
98766 #define USDHC_SYS_CTRL_SDCLKFS_MASK              (0xFF00U)
98767 #define USDHC_SYS_CTRL_SDCLKFS_SHIFT             (8U)
98768 /*! SDCLKFS - SDCLK frequency select
98769  */
98770 #define USDHC_SYS_CTRL_SDCLKFS(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_SDCLKFS_SHIFT)) & USDHC_SYS_CTRL_SDCLKFS_MASK)
98771 
98772 #define USDHC_SYS_CTRL_DTOCV_MASK                (0xF0000U)
98773 #define USDHC_SYS_CTRL_DTOCV_SHIFT               (16U)
98774 /*! DTOCV - Data timeout counter value
98775  *  0b1111..SDCLK x 2 29
98776  *  0b1110..SDCLK x 2 28
98777  *  0b1101..SDCLK x 2 27
98778  *  0b1100..SDCLK x 2 26
98779  *  0b1011..SDCLK x 2 25
98780  *  0b1010..SDCLK x 2 24
98781  *  0b1001..SDCLK x 2 23
98782  *  0b1000..SDCLK x 2 22
98783  *  0b0111..SDCLK x 2 21
98784  *  0b0110..SDCLK x 2 20
98785  *  0b0101..SDCLK x 2 19
98786  *  0b0100..SDCLK x 2 18
98787  *  0b0011..SDCLK x 2 17
98788  *  0b0010..SDCLK x 2 16
98789  *  0b0001..SDCLK x 2 15
98790  *  0b0000..SDCLK x 2 14
98791  */
98792 #define USDHC_SYS_CTRL_DTOCV(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_DTOCV_SHIFT)) & USDHC_SYS_CTRL_DTOCV_MASK)
98793 
98794 #define USDHC_SYS_CTRL_IPP_RST_N_MASK            (0x800000U)
98795 #define USDHC_SYS_CTRL_IPP_RST_N_SHIFT           (23U)
98796 /*! IPP_RST_N - Hardware reset
98797  */
98798 #define USDHC_SYS_CTRL_IPP_RST_N(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_IPP_RST_N_SHIFT)) & USDHC_SYS_CTRL_IPP_RST_N_MASK)
98799 
98800 #define USDHC_SYS_CTRL_RSTA_MASK                 (0x1000000U)
98801 #define USDHC_SYS_CTRL_RSTA_SHIFT                (24U)
98802 /*! RSTA - Software reset for all
98803  *  0b1..Reset
98804  *  0b0..No reset
98805  */
98806 #define USDHC_SYS_CTRL_RSTA(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_RSTA_SHIFT)) & USDHC_SYS_CTRL_RSTA_MASK)
98807 
98808 #define USDHC_SYS_CTRL_RSTC_MASK                 (0x2000000U)
98809 #define USDHC_SYS_CTRL_RSTC_SHIFT                (25U)
98810 /*! RSTC - Software reset for CMD line
98811  *  0b1..Reset
98812  *  0b0..No reset
98813  */
98814 #define USDHC_SYS_CTRL_RSTC(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_RSTC_SHIFT)) & USDHC_SYS_CTRL_RSTC_MASK)
98815 
98816 #define USDHC_SYS_CTRL_RSTD_MASK                 (0x4000000U)
98817 #define USDHC_SYS_CTRL_RSTD_SHIFT                (26U)
98818 /*! RSTD - Software reset for data line
98819  *  0b1..Reset
98820  *  0b0..No reset
98821  */
98822 #define USDHC_SYS_CTRL_RSTD(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_RSTD_SHIFT)) & USDHC_SYS_CTRL_RSTD_MASK)
98823 
98824 #define USDHC_SYS_CTRL_INITA_MASK                (0x8000000U)
98825 #define USDHC_SYS_CTRL_INITA_SHIFT               (27U)
98826 /*! INITA - Initialization active
98827  */
98828 #define USDHC_SYS_CTRL_INITA(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_INITA_SHIFT)) & USDHC_SYS_CTRL_INITA_MASK)
98829 
98830 #define USDHC_SYS_CTRL_RSTT_MASK                 (0x10000000U)
98831 #define USDHC_SYS_CTRL_RSTT_SHIFT                (28U)
98832 /*! RSTT - Reset tuning
98833  */
98834 #define USDHC_SYS_CTRL_RSTT(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_SYS_CTRL_RSTT_SHIFT)) & USDHC_SYS_CTRL_RSTT_MASK)
98835 /*! @} */
98836 
98837 /*! @name INT_STATUS - Interrupt Status */
98838 /*! @{ */
98839 
98840 #define USDHC_INT_STATUS_CC_MASK                 (0x1U)
98841 #define USDHC_INT_STATUS_CC_SHIFT                (0U)
98842 /*! CC - Command complete
98843  *  0b1..Command complete
98844  *  0b0..Command not complete
98845  */
98846 #define USDHC_INT_STATUS_CC(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CC_SHIFT)) & USDHC_INT_STATUS_CC_MASK)
98847 
98848 #define USDHC_INT_STATUS_TC_MASK                 (0x2U)
98849 #define USDHC_INT_STATUS_TC_SHIFT                (1U)
98850 /*! TC - Transfer complete
98851  *  0b1..Transfer complete
98852  *  0b0..Transfer does not complete
98853  */
98854 #define USDHC_INT_STATUS_TC(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_TC_SHIFT)) & USDHC_INT_STATUS_TC_MASK)
98855 
98856 #define USDHC_INT_STATUS_BGE_MASK                (0x4U)
98857 #define USDHC_INT_STATUS_BGE_SHIFT               (2U)
98858 /*! BGE - Block gap event
98859  *  0b1..Transaction stopped at block gap
98860  *  0b0..No block gap event
98861  */
98862 #define USDHC_INT_STATUS_BGE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_BGE_SHIFT)) & USDHC_INT_STATUS_BGE_MASK)
98863 
98864 #define USDHC_INT_STATUS_DINT_MASK               (0x8U)
98865 #define USDHC_INT_STATUS_DINT_SHIFT              (3U)
98866 /*! DINT - DMA interrupt
98867  *  0b1..DMA interrupt is generated.
98868  *  0b0..No DMA interrupt
98869  */
98870 #define USDHC_INT_STATUS_DINT(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_DINT_SHIFT)) & USDHC_INT_STATUS_DINT_MASK)
98871 
98872 #define USDHC_INT_STATUS_BWR_MASK                (0x10U)
98873 #define USDHC_INT_STATUS_BWR_SHIFT               (4U)
98874 /*! BWR - Buffer write ready
98875  *  0b1..Ready to write buffer
98876  *  0b0..Not ready to write buffer
98877  */
98878 #define USDHC_INT_STATUS_BWR(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_BWR_SHIFT)) & USDHC_INT_STATUS_BWR_MASK)
98879 
98880 #define USDHC_INT_STATUS_BRR_MASK                (0x20U)
98881 #define USDHC_INT_STATUS_BRR_SHIFT               (5U)
98882 /*! BRR - Buffer read ready
98883  *  0b1..Ready to read buffer
98884  *  0b0..Not ready to read buffer
98885  */
98886 #define USDHC_INT_STATUS_BRR(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_BRR_SHIFT)) & USDHC_INT_STATUS_BRR_MASK)
98887 
98888 #define USDHC_INT_STATUS_CINS_MASK               (0x40U)
98889 #define USDHC_INT_STATUS_CINS_SHIFT              (6U)
98890 /*! CINS - Card insertion
98891  *  0b1..Card inserted
98892  *  0b0..Card state unstable or removed
98893  */
98894 #define USDHC_INT_STATUS_CINS(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CINS_SHIFT)) & USDHC_INT_STATUS_CINS_MASK)
98895 
98896 #define USDHC_INT_STATUS_CRM_MASK                (0x80U)
98897 #define USDHC_INT_STATUS_CRM_SHIFT               (7U)
98898 /*! CRM - Card removal
98899  *  0b1..Card removed
98900  *  0b0..Card state unstable or inserted
98901  */
98902 #define USDHC_INT_STATUS_CRM(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CRM_SHIFT)) & USDHC_INT_STATUS_CRM_MASK)
98903 
98904 #define USDHC_INT_STATUS_CINT_MASK               (0x100U)
98905 #define USDHC_INT_STATUS_CINT_SHIFT              (8U)
98906 /*! CINT - Card interrupt
98907  *  0b1..Generate card interrupt
98908  *  0b0..No card interrupt
98909  */
98910 #define USDHC_INT_STATUS_CINT(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CINT_SHIFT)) & USDHC_INT_STATUS_CINT_MASK)
98911 
98912 #define USDHC_INT_STATUS_RTE_MASK                (0x1000U)
98913 #define USDHC_INT_STATUS_RTE_SHIFT               (12U)
98914 /*! RTE - Re-tuning event: (only for SD3.0 SDR104 mode and EMMC HS200 mode)
98915  *  0b1..Re-tuning should be performed.
98916  *  0b0..Re-tuning is not required.
98917  */
98918 #define USDHC_INT_STATUS_RTE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_RTE_SHIFT)) & USDHC_INT_STATUS_RTE_MASK)
98919 
98920 #define USDHC_INT_STATUS_TP_MASK                 (0x4000U)
98921 #define USDHC_INT_STATUS_TP_SHIFT                (14U)
98922 /*! TP - Tuning pass:(only for SD3.0 SDR104 mode and EMMC HS200 mode)
98923  */
98924 #define USDHC_INT_STATUS_TP(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_TP_SHIFT)) & USDHC_INT_STATUS_TP_MASK)
98925 
98926 #define USDHC_INT_STATUS_CTOE_MASK               (0x10000U)
98927 #define USDHC_INT_STATUS_CTOE_SHIFT              (16U)
98928 /*! CTOE - Command timeout error
98929  *  0b1..Time out
98930  *  0b0..No error
98931  */
98932 #define USDHC_INT_STATUS_CTOE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CTOE_SHIFT)) & USDHC_INT_STATUS_CTOE_MASK)
98933 
98934 #define USDHC_INT_STATUS_CCE_MASK                (0x20000U)
98935 #define USDHC_INT_STATUS_CCE_SHIFT               (17U)
98936 /*! CCE - Command CRC error
98937  *  0b1..CRC error generated
98938  *  0b0..No error
98939  */
98940 #define USDHC_INT_STATUS_CCE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CCE_SHIFT)) & USDHC_INT_STATUS_CCE_MASK)
98941 
98942 #define USDHC_INT_STATUS_CEBE_MASK               (0x40000U)
98943 #define USDHC_INT_STATUS_CEBE_SHIFT              (18U)
98944 /*! CEBE - Command end bit error
98945  *  0b1..End bit error generated
98946  *  0b0..No error
98947  */
98948 #define USDHC_INT_STATUS_CEBE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CEBE_SHIFT)) & USDHC_INT_STATUS_CEBE_MASK)
98949 
98950 #define USDHC_INT_STATUS_CIE_MASK                (0x80000U)
98951 #define USDHC_INT_STATUS_CIE_SHIFT               (19U)
98952 /*! CIE - Command index error
98953  *  0b1..Error
98954  *  0b0..No error
98955  */
98956 #define USDHC_INT_STATUS_CIE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_CIE_SHIFT)) & USDHC_INT_STATUS_CIE_MASK)
98957 
98958 #define USDHC_INT_STATUS_DTOE_MASK               (0x100000U)
98959 #define USDHC_INT_STATUS_DTOE_SHIFT              (20U)
98960 /*! DTOE - Data timeout error
98961  *  0b1..Time out
98962  *  0b0..No error
98963  */
98964 #define USDHC_INT_STATUS_DTOE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_DTOE_SHIFT)) & USDHC_INT_STATUS_DTOE_MASK)
98965 
98966 #define USDHC_INT_STATUS_DCE_MASK                (0x200000U)
98967 #define USDHC_INT_STATUS_DCE_SHIFT               (21U)
98968 /*! DCE - Data CRC error
98969  *  0b1..Error
98970  *  0b0..No error
98971  */
98972 #define USDHC_INT_STATUS_DCE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_DCE_SHIFT)) & USDHC_INT_STATUS_DCE_MASK)
98973 
98974 #define USDHC_INT_STATUS_DEBE_MASK               (0x400000U)
98975 #define USDHC_INT_STATUS_DEBE_SHIFT              (22U)
98976 /*! DEBE - Data end bit error
98977  *  0b1..Error
98978  *  0b0..No error
98979  */
98980 #define USDHC_INT_STATUS_DEBE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_DEBE_SHIFT)) & USDHC_INT_STATUS_DEBE_MASK)
98981 
98982 #define USDHC_INT_STATUS_AC12E_MASK              (0x1000000U)
98983 #define USDHC_INT_STATUS_AC12E_SHIFT             (24U)
98984 /*! AC12E - Auto CMD12 error
98985  *  0b1..Error
98986  *  0b0..No error
98987  */
98988 #define USDHC_INT_STATUS_AC12E(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_AC12E_SHIFT)) & USDHC_INT_STATUS_AC12E_MASK)
98989 
98990 #define USDHC_INT_STATUS_TNE_MASK                (0x4000000U)
98991 #define USDHC_INT_STATUS_TNE_SHIFT               (26U)
98992 /*! TNE - Tuning error: (only for SD3.0 SDR104 mode and EMMC HS200 mode)
98993  */
98994 #define USDHC_INT_STATUS_TNE(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_TNE_SHIFT)) & USDHC_INT_STATUS_TNE_MASK)
98995 
98996 #define USDHC_INT_STATUS_DMAE_MASK               (0x10000000U)
98997 #define USDHC_INT_STATUS_DMAE_SHIFT              (28U)
98998 /*! DMAE - DMA error
98999  *  0b1..Error
99000  *  0b0..No error
99001  */
99002 #define USDHC_INT_STATUS_DMAE(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_DMAE_SHIFT)) & USDHC_INT_STATUS_DMAE_MASK)
99003 /*! @} */
99004 
99005 /*! @name INT_STATUS_EN - Interrupt Status Enable */
99006 /*! @{ */
99007 
99008 #define USDHC_INT_STATUS_EN_CCSEN_MASK           (0x1U)
99009 #define USDHC_INT_STATUS_EN_CCSEN_SHIFT          (0U)
99010 /*! CCSEN - Command complete status enable
99011  *  0b1..Enabled
99012  *  0b0..Masked
99013  */
99014 #define USDHC_INT_STATUS_EN_CCSEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CCSEN_SHIFT)) & USDHC_INT_STATUS_EN_CCSEN_MASK)
99015 
99016 #define USDHC_INT_STATUS_EN_TCSEN_MASK           (0x2U)
99017 #define USDHC_INT_STATUS_EN_TCSEN_SHIFT          (1U)
99018 /*! TCSEN - Transfer complete status enable
99019  *  0b1..Enabled
99020  *  0b0..Masked
99021  */
99022 #define USDHC_INT_STATUS_EN_TCSEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_TCSEN_SHIFT)) & USDHC_INT_STATUS_EN_TCSEN_MASK)
99023 
99024 #define USDHC_INT_STATUS_EN_BGESEN_MASK          (0x4U)
99025 #define USDHC_INT_STATUS_EN_BGESEN_SHIFT         (2U)
99026 /*! BGESEN - Block gap event status enable
99027  *  0b1..Enabled
99028  *  0b0..Masked
99029  */
99030 #define USDHC_INT_STATUS_EN_BGESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_BGESEN_SHIFT)) & USDHC_INT_STATUS_EN_BGESEN_MASK)
99031 
99032 #define USDHC_INT_STATUS_EN_DINTSEN_MASK         (0x8U)
99033 #define USDHC_INT_STATUS_EN_DINTSEN_SHIFT        (3U)
99034 /*! DINTSEN - DMA interrupt status enable
99035  *  0b1..Enabled
99036  *  0b0..Masked
99037  */
99038 #define USDHC_INT_STATUS_EN_DINTSEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_DINTSEN_SHIFT)) & USDHC_INT_STATUS_EN_DINTSEN_MASK)
99039 
99040 #define USDHC_INT_STATUS_EN_BWRSEN_MASK          (0x10U)
99041 #define USDHC_INT_STATUS_EN_BWRSEN_SHIFT         (4U)
99042 /*! BWRSEN - Buffer write ready status enable
99043  *  0b1..Enabled
99044  *  0b0..Masked
99045  */
99046 #define USDHC_INT_STATUS_EN_BWRSEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_BWRSEN_SHIFT)) & USDHC_INT_STATUS_EN_BWRSEN_MASK)
99047 
99048 #define USDHC_INT_STATUS_EN_BRRSEN_MASK          (0x20U)
99049 #define USDHC_INT_STATUS_EN_BRRSEN_SHIFT         (5U)
99050 /*! BRRSEN - Buffer read ready status enable
99051  *  0b1..Enabled
99052  *  0b0..Masked
99053  */
99054 #define USDHC_INT_STATUS_EN_BRRSEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_BRRSEN_SHIFT)) & USDHC_INT_STATUS_EN_BRRSEN_MASK)
99055 
99056 #define USDHC_INT_STATUS_EN_CINSSEN_MASK         (0x40U)
99057 #define USDHC_INT_STATUS_EN_CINSSEN_SHIFT        (6U)
99058 /*! CINSSEN - Card insertion status enable
99059  *  0b1..Enabled
99060  *  0b0..Masked
99061  */
99062 #define USDHC_INT_STATUS_EN_CINSSEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CINSSEN_SHIFT)) & USDHC_INT_STATUS_EN_CINSSEN_MASK)
99063 
99064 #define USDHC_INT_STATUS_EN_CRMSEN_MASK          (0x80U)
99065 #define USDHC_INT_STATUS_EN_CRMSEN_SHIFT         (7U)
99066 /*! CRMSEN - Card removal status enable
99067  *  0b1..Enabled
99068  *  0b0..Masked
99069  */
99070 #define USDHC_INT_STATUS_EN_CRMSEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CRMSEN_SHIFT)) & USDHC_INT_STATUS_EN_CRMSEN_MASK)
99071 
99072 #define USDHC_INT_STATUS_EN_CINTSEN_MASK         (0x100U)
99073 #define USDHC_INT_STATUS_EN_CINTSEN_SHIFT        (8U)
99074 /*! CINTSEN - Card interrupt status enable
99075  *  0b1..Enabled
99076  *  0b0..Masked
99077  */
99078 #define USDHC_INT_STATUS_EN_CINTSEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CINTSEN_SHIFT)) & USDHC_INT_STATUS_EN_CINTSEN_MASK)
99079 
99080 #define USDHC_INT_STATUS_EN_RTESEN_MASK          (0x1000U)
99081 #define USDHC_INT_STATUS_EN_RTESEN_SHIFT         (12U)
99082 /*! RTESEN - Re-tuning event status enable
99083  *  0b1..Enabled
99084  *  0b0..Masked
99085  */
99086 #define USDHC_INT_STATUS_EN_RTESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_RTESEN_SHIFT)) & USDHC_INT_STATUS_EN_RTESEN_MASK)
99087 
99088 #define USDHC_INT_STATUS_EN_TPSEN_MASK           (0x4000U)
99089 #define USDHC_INT_STATUS_EN_TPSEN_SHIFT          (14U)
99090 /*! TPSEN - Tuning pass status enable
99091  *  0b1..Enabled
99092  *  0b0..Masked
99093  */
99094 #define USDHC_INT_STATUS_EN_TPSEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_TPSEN_SHIFT)) & USDHC_INT_STATUS_EN_TPSEN_MASK)
99095 
99096 #define USDHC_INT_STATUS_EN_CTOESEN_MASK         (0x10000U)
99097 #define USDHC_INT_STATUS_EN_CTOESEN_SHIFT        (16U)
99098 /*! CTOESEN - Command timeout error status enable
99099  *  0b1..Enabled
99100  *  0b0..Masked
99101  */
99102 #define USDHC_INT_STATUS_EN_CTOESEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CTOESEN_SHIFT)) & USDHC_INT_STATUS_EN_CTOESEN_MASK)
99103 
99104 #define USDHC_INT_STATUS_EN_CCESEN_MASK          (0x20000U)
99105 #define USDHC_INT_STATUS_EN_CCESEN_SHIFT         (17U)
99106 /*! CCESEN - Command CRC error status enable
99107  *  0b1..Enabled
99108  *  0b0..Masked
99109  */
99110 #define USDHC_INT_STATUS_EN_CCESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CCESEN_SHIFT)) & USDHC_INT_STATUS_EN_CCESEN_MASK)
99111 
99112 #define USDHC_INT_STATUS_EN_CEBESEN_MASK         (0x40000U)
99113 #define USDHC_INT_STATUS_EN_CEBESEN_SHIFT        (18U)
99114 /*! CEBESEN - Command end bit error status enable
99115  *  0b1..Enabled
99116  *  0b0..Masked
99117  */
99118 #define USDHC_INT_STATUS_EN_CEBESEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CEBESEN_SHIFT)) & USDHC_INT_STATUS_EN_CEBESEN_MASK)
99119 
99120 #define USDHC_INT_STATUS_EN_CIESEN_MASK          (0x80000U)
99121 #define USDHC_INT_STATUS_EN_CIESEN_SHIFT         (19U)
99122 /*! CIESEN - Command index error status enable
99123  *  0b1..Enabled
99124  *  0b0..Masked
99125  */
99126 #define USDHC_INT_STATUS_EN_CIESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_CIESEN_SHIFT)) & USDHC_INT_STATUS_EN_CIESEN_MASK)
99127 
99128 #define USDHC_INT_STATUS_EN_DTOESEN_MASK         (0x100000U)
99129 #define USDHC_INT_STATUS_EN_DTOESEN_SHIFT        (20U)
99130 /*! DTOESEN - Data timeout error status enable
99131  *  0b1..Enabled
99132  *  0b0..Masked
99133  */
99134 #define USDHC_INT_STATUS_EN_DTOESEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_DTOESEN_SHIFT)) & USDHC_INT_STATUS_EN_DTOESEN_MASK)
99135 
99136 #define USDHC_INT_STATUS_EN_DCESEN_MASK          (0x200000U)
99137 #define USDHC_INT_STATUS_EN_DCESEN_SHIFT         (21U)
99138 /*! DCESEN - Data CRC error status enable
99139  *  0b1..Enabled
99140  *  0b0..Masked
99141  */
99142 #define USDHC_INT_STATUS_EN_DCESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_DCESEN_SHIFT)) & USDHC_INT_STATUS_EN_DCESEN_MASK)
99143 
99144 #define USDHC_INT_STATUS_EN_DEBESEN_MASK         (0x400000U)
99145 #define USDHC_INT_STATUS_EN_DEBESEN_SHIFT        (22U)
99146 /*! DEBESEN - Data end bit error status enable
99147  *  0b1..Enabled
99148  *  0b0..Masked
99149  */
99150 #define USDHC_INT_STATUS_EN_DEBESEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_DEBESEN_SHIFT)) & USDHC_INT_STATUS_EN_DEBESEN_MASK)
99151 
99152 #define USDHC_INT_STATUS_EN_AC12ESEN_MASK        (0x1000000U)
99153 #define USDHC_INT_STATUS_EN_AC12ESEN_SHIFT       (24U)
99154 /*! AC12ESEN - Auto CMD12 error status enable
99155  *  0b1..Enabled
99156  *  0b0..Masked
99157  */
99158 #define USDHC_INT_STATUS_EN_AC12ESEN(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_AC12ESEN_SHIFT)) & USDHC_INT_STATUS_EN_AC12ESEN_MASK)
99159 
99160 #define USDHC_INT_STATUS_EN_TNESEN_MASK          (0x4000000U)
99161 #define USDHC_INT_STATUS_EN_TNESEN_SHIFT         (26U)
99162 /*! TNESEN - Tuning error status enable
99163  *  0b1..Enabled
99164  *  0b0..Masked
99165  */
99166 #define USDHC_INT_STATUS_EN_TNESEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_TNESEN_SHIFT)) & USDHC_INT_STATUS_EN_TNESEN_MASK)
99167 
99168 #define USDHC_INT_STATUS_EN_DMAESEN_MASK         (0x10000000U)
99169 #define USDHC_INT_STATUS_EN_DMAESEN_SHIFT        (28U)
99170 /*! DMAESEN - DMA error status enable
99171  *  0b1..Enabled
99172  *  0b0..Masked
99173  */
99174 #define USDHC_INT_STATUS_EN_DMAESEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_STATUS_EN_DMAESEN_SHIFT)) & USDHC_INT_STATUS_EN_DMAESEN_MASK)
99175 /*! @} */
99176 
99177 /*! @name INT_SIGNAL_EN - Interrupt Signal Enable */
99178 /*! @{ */
99179 
99180 #define USDHC_INT_SIGNAL_EN_CCIEN_MASK           (0x1U)
99181 #define USDHC_INT_SIGNAL_EN_CCIEN_SHIFT          (0U)
99182 /*! CCIEN - Command complete interrupt enable
99183  *  0b1..Enabled
99184  *  0b0..Masked
99185  */
99186 #define USDHC_INT_SIGNAL_EN_CCIEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CCIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CCIEN_MASK)
99187 
99188 #define USDHC_INT_SIGNAL_EN_TCIEN_MASK           (0x2U)
99189 #define USDHC_INT_SIGNAL_EN_TCIEN_SHIFT          (1U)
99190 /*! TCIEN - Transfer complete interrupt enable
99191  *  0b1..Enabled
99192  *  0b0..Masked
99193  */
99194 #define USDHC_INT_SIGNAL_EN_TCIEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_TCIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_TCIEN_MASK)
99195 
99196 #define USDHC_INT_SIGNAL_EN_BGEIEN_MASK          (0x4U)
99197 #define USDHC_INT_SIGNAL_EN_BGEIEN_SHIFT         (2U)
99198 /*! BGEIEN - Block gap event interrupt enable
99199  *  0b1..Enabled
99200  *  0b0..Masked
99201  */
99202 #define USDHC_INT_SIGNAL_EN_BGEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_BGEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_BGEIEN_MASK)
99203 
99204 #define USDHC_INT_SIGNAL_EN_DINTIEN_MASK         (0x8U)
99205 #define USDHC_INT_SIGNAL_EN_DINTIEN_SHIFT        (3U)
99206 /*! DINTIEN - DMA interrupt enable
99207  *  0b1..Enabled
99208  *  0b0..Masked
99209  */
99210 #define USDHC_INT_SIGNAL_EN_DINTIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_DINTIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_DINTIEN_MASK)
99211 
99212 #define USDHC_INT_SIGNAL_EN_BWRIEN_MASK          (0x10U)
99213 #define USDHC_INT_SIGNAL_EN_BWRIEN_SHIFT         (4U)
99214 /*! BWRIEN - Buffer write ready interrupt enable
99215  *  0b1..Enabled
99216  *  0b0..Masked
99217  */
99218 #define USDHC_INT_SIGNAL_EN_BWRIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_BWRIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_BWRIEN_MASK)
99219 
99220 #define USDHC_INT_SIGNAL_EN_BRRIEN_MASK          (0x20U)
99221 #define USDHC_INT_SIGNAL_EN_BRRIEN_SHIFT         (5U)
99222 /*! BRRIEN - Buffer read ready interrupt enable
99223  *  0b1..Enabled
99224  *  0b0..Masked
99225  */
99226 #define USDHC_INT_SIGNAL_EN_BRRIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_BRRIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_BRRIEN_MASK)
99227 
99228 #define USDHC_INT_SIGNAL_EN_CINSIEN_MASK         (0x40U)
99229 #define USDHC_INT_SIGNAL_EN_CINSIEN_SHIFT        (6U)
99230 /*! CINSIEN - Card insertion interrupt enable
99231  *  0b1..Enabled
99232  *  0b0..Masked
99233  */
99234 #define USDHC_INT_SIGNAL_EN_CINSIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CINSIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CINSIEN_MASK)
99235 
99236 #define USDHC_INT_SIGNAL_EN_CRMIEN_MASK          (0x80U)
99237 #define USDHC_INT_SIGNAL_EN_CRMIEN_SHIFT         (7U)
99238 /*! CRMIEN - Card removal interrupt enable
99239  *  0b1..Enabled
99240  *  0b0..Masked
99241  */
99242 #define USDHC_INT_SIGNAL_EN_CRMIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CRMIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CRMIEN_MASK)
99243 
99244 #define USDHC_INT_SIGNAL_EN_CINTIEN_MASK         (0x100U)
99245 #define USDHC_INT_SIGNAL_EN_CINTIEN_SHIFT        (8U)
99246 /*! CINTIEN - Card interrupt enable
99247  *  0b1..Enabled
99248  *  0b0..Masked
99249  */
99250 #define USDHC_INT_SIGNAL_EN_CINTIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CINTIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CINTIEN_MASK)
99251 
99252 #define USDHC_INT_SIGNAL_EN_RTEIEN_MASK          (0x1000U)
99253 #define USDHC_INT_SIGNAL_EN_RTEIEN_SHIFT         (12U)
99254 /*! RTEIEN - Re-tuning event interrupt enable
99255  *  0b1..Enabled
99256  *  0b0..Masked
99257  */
99258 #define USDHC_INT_SIGNAL_EN_RTEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_RTEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_RTEIEN_MASK)
99259 
99260 #define USDHC_INT_SIGNAL_EN_TPIEN_MASK           (0x4000U)
99261 #define USDHC_INT_SIGNAL_EN_TPIEN_SHIFT          (14U)
99262 /*! TPIEN - Tuning Pass interrupt enable
99263  *  0b1..Enabled
99264  *  0b0..Masked
99265  */
99266 #define USDHC_INT_SIGNAL_EN_TPIEN(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_TPIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_TPIEN_MASK)
99267 
99268 #define USDHC_INT_SIGNAL_EN_CTOEIEN_MASK         (0x10000U)
99269 #define USDHC_INT_SIGNAL_EN_CTOEIEN_SHIFT        (16U)
99270 /*! CTOEIEN - Command timeout error interrupt enable
99271  *  0b1..Enabled
99272  *  0b0..Masked
99273  */
99274 #define USDHC_INT_SIGNAL_EN_CTOEIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CTOEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CTOEIEN_MASK)
99275 
99276 #define USDHC_INT_SIGNAL_EN_CCEIEN_MASK          (0x20000U)
99277 #define USDHC_INT_SIGNAL_EN_CCEIEN_SHIFT         (17U)
99278 /*! CCEIEN - Command CRC error interrupt enable
99279  *  0b1..Enabled
99280  *  0b0..Masked
99281  */
99282 #define USDHC_INT_SIGNAL_EN_CCEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CCEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CCEIEN_MASK)
99283 
99284 #define USDHC_INT_SIGNAL_EN_CEBEIEN_MASK         (0x40000U)
99285 #define USDHC_INT_SIGNAL_EN_CEBEIEN_SHIFT        (18U)
99286 /*! CEBEIEN - Command end bit error interrupt enable
99287  *  0b1..Enabled
99288  *  0b0..Masked
99289  */
99290 #define USDHC_INT_SIGNAL_EN_CEBEIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CEBEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CEBEIEN_MASK)
99291 
99292 #define USDHC_INT_SIGNAL_EN_CIEIEN_MASK          (0x80000U)
99293 #define USDHC_INT_SIGNAL_EN_CIEIEN_SHIFT         (19U)
99294 /*! CIEIEN - Command index error interrupt enable
99295  *  0b1..Enabled
99296  *  0b0..Masked
99297  */
99298 #define USDHC_INT_SIGNAL_EN_CIEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_CIEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_CIEIEN_MASK)
99299 
99300 #define USDHC_INT_SIGNAL_EN_DTOEIEN_MASK         (0x100000U)
99301 #define USDHC_INT_SIGNAL_EN_DTOEIEN_SHIFT        (20U)
99302 /*! DTOEIEN - Data timeout error interrupt enable
99303  *  0b1..Enabled
99304  *  0b0..Masked
99305  */
99306 #define USDHC_INT_SIGNAL_EN_DTOEIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_DTOEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_DTOEIEN_MASK)
99307 
99308 #define USDHC_INT_SIGNAL_EN_DCEIEN_MASK          (0x200000U)
99309 #define USDHC_INT_SIGNAL_EN_DCEIEN_SHIFT         (21U)
99310 /*! DCEIEN - Data CRC error interrupt enable
99311  *  0b1..Enabled
99312  *  0b0..Masked
99313  */
99314 #define USDHC_INT_SIGNAL_EN_DCEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_DCEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_DCEIEN_MASK)
99315 
99316 #define USDHC_INT_SIGNAL_EN_DEBEIEN_MASK         (0x400000U)
99317 #define USDHC_INT_SIGNAL_EN_DEBEIEN_SHIFT        (22U)
99318 /*! DEBEIEN - Data end bit error interrupt enable
99319  *  0b1..Enabled
99320  *  0b0..Masked
99321  */
99322 #define USDHC_INT_SIGNAL_EN_DEBEIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_DEBEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_DEBEIEN_MASK)
99323 
99324 #define USDHC_INT_SIGNAL_EN_AC12EIEN_MASK        (0x1000000U)
99325 #define USDHC_INT_SIGNAL_EN_AC12EIEN_SHIFT       (24U)
99326 /*! AC12EIEN - Auto CMD12 error interrupt enable
99327  *  0b1..Enabled
99328  *  0b0..Masked
99329  */
99330 #define USDHC_INT_SIGNAL_EN_AC12EIEN(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_AC12EIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_AC12EIEN_MASK)
99331 
99332 #define USDHC_INT_SIGNAL_EN_TNEIEN_MASK          (0x4000000U)
99333 #define USDHC_INT_SIGNAL_EN_TNEIEN_SHIFT         (26U)
99334 /*! TNEIEN - Tuning error interrupt enable
99335  *  0b1..Enabled
99336  *  0b0..Masked
99337  */
99338 #define USDHC_INT_SIGNAL_EN_TNEIEN(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_TNEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_TNEIEN_MASK)
99339 
99340 #define USDHC_INT_SIGNAL_EN_DMAEIEN_MASK         (0x10000000U)
99341 #define USDHC_INT_SIGNAL_EN_DMAEIEN_SHIFT        (28U)
99342 /*! DMAEIEN - DMA error interrupt enable
99343  *  0b1..Enable
99344  *  0b0..Masked
99345  */
99346 #define USDHC_INT_SIGNAL_EN_DMAEIEN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_INT_SIGNAL_EN_DMAEIEN_SHIFT)) & USDHC_INT_SIGNAL_EN_DMAEIEN_MASK)
99347 /*! @} */
99348 
99349 /*! @name AUTOCMD12_ERR_STATUS - Auto CMD12 Error Status */
99350 /*! @{ */
99351 
99352 #define USDHC_AUTOCMD12_ERR_STATUS_AC12NE_MASK   (0x1U)
99353 #define USDHC_AUTOCMD12_ERR_STATUS_AC12NE_SHIFT  (0U)
99354 /*! AC12NE - Auto CMD12 not executed
99355  *  0b1..Not executed
99356  *  0b0..Executed
99357  */
99358 #define USDHC_AUTOCMD12_ERR_STATUS_AC12NE(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_AC12NE_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_AC12NE_MASK)
99359 
99360 #define USDHC_AUTOCMD12_ERR_STATUS_AC12TOE_MASK  (0x2U)
99361 #define USDHC_AUTOCMD12_ERR_STATUS_AC12TOE_SHIFT (1U)
99362 /*! AC12TOE - Auto CMD12 / 23 timeout error
99363  *  0b1..Time out
99364  *  0b0..No error
99365  */
99366 #define USDHC_AUTOCMD12_ERR_STATUS_AC12TOE(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_AC12TOE_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_AC12TOE_MASK)
99367 
99368 #define USDHC_AUTOCMD12_ERR_STATUS_AC12EBE_MASK  (0x4U)
99369 #define USDHC_AUTOCMD12_ERR_STATUS_AC12EBE_SHIFT (2U)
99370 /*! AC12EBE - Auto CMD12 / 23 end bit error
99371  *  0b1..End bit error generated
99372  *  0b0..No error
99373  */
99374 #define USDHC_AUTOCMD12_ERR_STATUS_AC12EBE(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_AC12EBE_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_AC12EBE_MASK)
99375 
99376 #define USDHC_AUTOCMD12_ERR_STATUS_AC12CE_MASK   (0x8U)
99377 #define USDHC_AUTOCMD12_ERR_STATUS_AC12CE_SHIFT  (3U)
99378 /*! AC12CE - Auto CMD12 / 23 CRC error
99379  *  0b1..CRC error met in Auto CMD12/23 response
99380  *  0b0..No CRC error
99381  */
99382 #define USDHC_AUTOCMD12_ERR_STATUS_AC12CE(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_AC12CE_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_AC12CE_MASK)
99383 
99384 #define USDHC_AUTOCMD12_ERR_STATUS_AC12IE_MASK   (0x10U)
99385 #define USDHC_AUTOCMD12_ERR_STATUS_AC12IE_SHIFT  (4U)
99386 /*! AC12IE - Auto CMD12 / 23 index error
99387  *  0b1..Error, the CMD index in response is not CMD12/23
99388  *  0b0..No error
99389  */
99390 #define USDHC_AUTOCMD12_ERR_STATUS_AC12IE(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_AC12IE_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_AC12IE_MASK)
99391 
99392 #define USDHC_AUTOCMD12_ERR_STATUS_CNIBAC12E_MASK (0x80U)
99393 #define USDHC_AUTOCMD12_ERR_STATUS_CNIBAC12E_SHIFT (7U)
99394 /*! CNIBAC12E - Command not issued by Auto CMD12 error
99395  *  0b1..Not issued
99396  *  0b0..No error
99397  */
99398 #define USDHC_AUTOCMD12_ERR_STATUS_CNIBAC12E(x)  (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_CNIBAC12E_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_CNIBAC12E_MASK)
99399 
99400 #define USDHC_AUTOCMD12_ERR_STATUS_EXECUTE_TUNING_MASK (0x400000U)
99401 #define USDHC_AUTOCMD12_ERR_STATUS_EXECUTE_TUNING_SHIFT (22U)
99402 /*! EXECUTE_TUNING - Execute tuning
99403  *  0b1..Start tuning procedure
99404  *  0b0..Tuning procedure is aborted
99405  */
99406 #define USDHC_AUTOCMD12_ERR_STATUS_EXECUTE_TUNING(x) (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_EXECUTE_TUNING_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_EXECUTE_TUNING_MASK)
99407 
99408 #define USDHC_AUTOCMD12_ERR_STATUS_SMP_CLK_SEL_MASK (0x800000U)
99409 #define USDHC_AUTOCMD12_ERR_STATUS_SMP_CLK_SEL_SHIFT (23U)
99410 /*! SMP_CLK_SEL - Sample clock select
99411  *  0b1..Tuned clock is used to sample data
99412  *  0b0..Fixed clock is used to sample data
99413  */
99414 #define USDHC_AUTOCMD12_ERR_STATUS_SMP_CLK_SEL(x) (((uint32_t)(((uint32_t)(x)) << USDHC_AUTOCMD12_ERR_STATUS_SMP_CLK_SEL_SHIFT)) & USDHC_AUTOCMD12_ERR_STATUS_SMP_CLK_SEL_MASK)
99415 /*! @} */
99416 
99417 /*! @name HOST_CTRL_CAP - Host Controller Capabilities */
99418 /*! @{ */
99419 
99420 #define USDHC_HOST_CTRL_CAP_SDR50_SUPPORT_MASK   (0x1U)
99421 #define USDHC_HOST_CTRL_CAP_SDR50_SUPPORT_SHIFT  (0U)
99422 /*! SDR50_SUPPORT - SDR50 support
99423  */
99424 #define USDHC_HOST_CTRL_CAP_SDR50_SUPPORT(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_SDR50_SUPPORT_SHIFT)) & USDHC_HOST_CTRL_CAP_SDR50_SUPPORT_MASK)
99425 
99426 #define USDHC_HOST_CTRL_CAP_SDR104_SUPPORT_MASK  (0x2U)
99427 #define USDHC_HOST_CTRL_CAP_SDR104_SUPPORT_SHIFT (1U)
99428 /*! SDR104_SUPPORT - SDR104 support
99429  */
99430 #define USDHC_HOST_CTRL_CAP_SDR104_SUPPORT(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_SDR104_SUPPORT_SHIFT)) & USDHC_HOST_CTRL_CAP_SDR104_SUPPORT_MASK)
99431 
99432 #define USDHC_HOST_CTRL_CAP_DDR50_SUPPORT_MASK   (0x4U)
99433 #define USDHC_HOST_CTRL_CAP_DDR50_SUPPORT_SHIFT  (2U)
99434 /*! DDR50_SUPPORT - DDR50 support
99435  */
99436 #define USDHC_HOST_CTRL_CAP_DDR50_SUPPORT(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_DDR50_SUPPORT_SHIFT)) & USDHC_HOST_CTRL_CAP_DDR50_SUPPORT_MASK)
99437 
99438 #define USDHC_HOST_CTRL_CAP_USE_TUNING_SDR50_MASK (0x2000U)
99439 #define USDHC_HOST_CTRL_CAP_USE_TUNING_SDR50_SHIFT (13U)
99440 /*! USE_TUNING_SDR50 - Use Tuning for SDR50
99441  *  0b1..SDR50 supports tuning
99442  *  0b0..SDR50 does not support tuning
99443  */
99444 #define USDHC_HOST_CTRL_CAP_USE_TUNING_SDR50(x)  (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_USE_TUNING_SDR50_SHIFT)) & USDHC_HOST_CTRL_CAP_USE_TUNING_SDR50_MASK)
99445 
99446 #define USDHC_HOST_CTRL_CAP_MBL_MASK             (0x70000U)
99447 #define USDHC_HOST_CTRL_CAP_MBL_SHIFT            (16U)
99448 /*! MBL - Max block length
99449  *  0b000..512 bytes
99450  *  0b001..1024 bytes
99451  *  0b010..2048 bytes
99452  *  0b011..4096 bytes
99453  */
99454 #define USDHC_HOST_CTRL_CAP_MBL(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_MBL_SHIFT)) & USDHC_HOST_CTRL_CAP_MBL_MASK)
99455 
99456 #define USDHC_HOST_CTRL_CAP_ADMAS_MASK           (0x100000U)
99457 #define USDHC_HOST_CTRL_CAP_ADMAS_SHIFT          (20U)
99458 /*! ADMAS - ADMA support
99459  *  0b1..Advanced DMA supported
99460  *  0b0..Advanced DMA not supported
99461  */
99462 #define USDHC_HOST_CTRL_CAP_ADMAS(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_ADMAS_SHIFT)) & USDHC_HOST_CTRL_CAP_ADMAS_MASK)
99463 
99464 #define USDHC_HOST_CTRL_CAP_HSS_MASK             (0x200000U)
99465 #define USDHC_HOST_CTRL_CAP_HSS_SHIFT            (21U)
99466 /*! HSS - High speed support
99467  *  0b1..High speed supported
99468  *  0b0..High speed not supported
99469  */
99470 #define USDHC_HOST_CTRL_CAP_HSS(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_HSS_SHIFT)) & USDHC_HOST_CTRL_CAP_HSS_MASK)
99471 
99472 #define USDHC_HOST_CTRL_CAP_DMAS_MASK            (0x400000U)
99473 #define USDHC_HOST_CTRL_CAP_DMAS_SHIFT           (22U)
99474 /*! DMAS - DMA support
99475  *  0b1..DMA supported
99476  *  0b0..DMA not supported
99477  */
99478 #define USDHC_HOST_CTRL_CAP_DMAS(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_DMAS_SHIFT)) & USDHC_HOST_CTRL_CAP_DMAS_MASK)
99479 
99480 #define USDHC_HOST_CTRL_CAP_SRS_MASK             (0x800000U)
99481 #define USDHC_HOST_CTRL_CAP_SRS_SHIFT            (23U)
99482 /*! SRS - Suspend / resume support
99483  *  0b1..Supported
99484  *  0b0..Not supported
99485  */
99486 #define USDHC_HOST_CTRL_CAP_SRS(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_SRS_SHIFT)) & USDHC_HOST_CTRL_CAP_SRS_MASK)
99487 
99488 #define USDHC_HOST_CTRL_CAP_VS33_MASK            (0x1000000U)
99489 #define USDHC_HOST_CTRL_CAP_VS33_SHIFT           (24U)
99490 /*! VS33 - Voltage support 3.3 V
99491  *  0b1..3.3 V supported
99492  *  0b0..3.3 V not supported
99493  */
99494 #define USDHC_HOST_CTRL_CAP_VS33(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_VS33_SHIFT)) & USDHC_HOST_CTRL_CAP_VS33_MASK)
99495 
99496 #define USDHC_HOST_CTRL_CAP_VS30_MASK            (0x2000000U)
99497 #define USDHC_HOST_CTRL_CAP_VS30_SHIFT           (25U)
99498 /*! VS30 - Voltage support 3.0 V
99499  *  0b1..3.0 V supported
99500  *  0b0..3.0 V not supported
99501  */
99502 #define USDHC_HOST_CTRL_CAP_VS30(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_VS30_SHIFT)) & USDHC_HOST_CTRL_CAP_VS30_MASK)
99503 
99504 #define USDHC_HOST_CTRL_CAP_VS18_MASK            (0x4000000U)
99505 #define USDHC_HOST_CTRL_CAP_VS18_SHIFT           (26U)
99506 /*! VS18 - Voltage support 1.8 V
99507  *  0b1..1.8 V supported
99508  *  0b0..1.8 V not supported
99509  */
99510 #define USDHC_HOST_CTRL_CAP_VS18(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_HOST_CTRL_CAP_VS18_SHIFT)) & USDHC_HOST_CTRL_CAP_VS18_MASK)
99511 /*! @} */
99512 
99513 /*! @name WTMK_LVL - Watermark Level */
99514 /*! @{ */
99515 
99516 #define USDHC_WTMK_LVL_RD_WML_MASK               (0xFFU)
99517 #define USDHC_WTMK_LVL_RD_WML_SHIFT              (0U)
99518 /*! RD_WML - Read watermark level
99519  */
99520 #define USDHC_WTMK_LVL_RD_WML(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_WTMK_LVL_RD_WML_SHIFT)) & USDHC_WTMK_LVL_RD_WML_MASK)
99521 
99522 #define USDHC_WTMK_LVL_WR_WML_MASK               (0xFF0000U)
99523 #define USDHC_WTMK_LVL_WR_WML_SHIFT              (16U)
99524 /*! WR_WML - Write watermark level
99525  */
99526 #define USDHC_WTMK_LVL_WR_WML(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_WTMK_LVL_WR_WML_SHIFT)) & USDHC_WTMK_LVL_WR_WML_MASK)
99527 /*! @} */
99528 
99529 /*! @name MIX_CTRL - Mixer Control */
99530 /*! @{ */
99531 
99532 #define USDHC_MIX_CTRL_DMAEN_MASK                (0x1U)
99533 #define USDHC_MIX_CTRL_DMAEN_SHIFT               (0U)
99534 /*! DMAEN - DMA enable
99535  *  0b1..Enable
99536  *  0b0..Disable
99537  */
99538 #define USDHC_MIX_CTRL_DMAEN(x)                  (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_DMAEN_SHIFT)) & USDHC_MIX_CTRL_DMAEN_MASK)
99539 
99540 #define USDHC_MIX_CTRL_BCEN_MASK                 (0x2U)
99541 #define USDHC_MIX_CTRL_BCEN_SHIFT                (1U)
99542 /*! BCEN - Block count enable
99543  *  0b1..Enable
99544  *  0b0..Disable
99545  */
99546 #define USDHC_MIX_CTRL_BCEN(x)                   (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_BCEN_SHIFT)) & USDHC_MIX_CTRL_BCEN_MASK)
99547 
99548 #define USDHC_MIX_CTRL_AC12EN_MASK               (0x4U)
99549 #define USDHC_MIX_CTRL_AC12EN_SHIFT              (2U)
99550 /*! AC12EN - Auto CMD12 enable
99551  *  0b1..Enable
99552  *  0b0..Disable
99553  */
99554 #define USDHC_MIX_CTRL_AC12EN(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_AC12EN_SHIFT)) & USDHC_MIX_CTRL_AC12EN_MASK)
99555 
99556 #define USDHC_MIX_CTRL_DDR_EN_MASK               (0x8U)
99557 #define USDHC_MIX_CTRL_DDR_EN_SHIFT              (3U)
99558 /*! DDR_EN - Dual data rate mode selection
99559  */
99560 #define USDHC_MIX_CTRL_DDR_EN(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_DDR_EN_SHIFT)) & USDHC_MIX_CTRL_DDR_EN_MASK)
99561 
99562 #define USDHC_MIX_CTRL_DTDSEL_MASK               (0x10U)
99563 #define USDHC_MIX_CTRL_DTDSEL_SHIFT              (4U)
99564 /*! DTDSEL - Data transfer direction select
99565  *  0b1..Read (Card to host)
99566  *  0b0..Write (Host to card)
99567  */
99568 #define USDHC_MIX_CTRL_DTDSEL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_DTDSEL_SHIFT)) & USDHC_MIX_CTRL_DTDSEL_MASK)
99569 
99570 #define USDHC_MIX_CTRL_MSBSEL_MASK               (0x20U)
99571 #define USDHC_MIX_CTRL_MSBSEL_SHIFT              (5U)
99572 /*! MSBSEL - Multi / Single block select
99573  *  0b1..Multiple blocks
99574  *  0b0..Single block
99575  */
99576 #define USDHC_MIX_CTRL_MSBSEL(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_MSBSEL_SHIFT)) & USDHC_MIX_CTRL_MSBSEL_MASK)
99577 
99578 #define USDHC_MIX_CTRL_NIBBLE_POS_MASK           (0x40U)
99579 #define USDHC_MIX_CTRL_NIBBLE_POS_SHIFT          (6U)
99580 /*! NIBBLE_POS - Nibble position indication
99581  */
99582 #define USDHC_MIX_CTRL_NIBBLE_POS(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_NIBBLE_POS_SHIFT)) & USDHC_MIX_CTRL_NIBBLE_POS_MASK)
99583 
99584 #define USDHC_MIX_CTRL_AC23EN_MASK               (0x80U)
99585 #define USDHC_MIX_CTRL_AC23EN_SHIFT              (7U)
99586 /*! AC23EN - Auto CMD23 enable
99587  */
99588 #define USDHC_MIX_CTRL_AC23EN(x)                 (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_AC23EN_SHIFT)) & USDHC_MIX_CTRL_AC23EN_MASK)
99589 
99590 #define USDHC_MIX_CTRL_EXE_TUNE_MASK             (0x400000U)
99591 #define USDHC_MIX_CTRL_EXE_TUNE_SHIFT            (22U)
99592 /*! EXE_TUNE - Execute tuning: (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
99593  *  0b1..Execute tuning
99594  *  0b0..Not tuned or tuning completed
99595  */
99596 #define USDHC_MIX_CTRL_EXE_TUNE(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_EXE_TUNE_SHIFT)) & USDHC_MIX_CTRL_EXE_TUNE_MASK)
99597 
99598 #define USDHC_MIX_CTRL_SMP_CLK_SEL_MASK          (0x800000U)
99599 #define USDHC_MIX_CTRL_SMP_CLK_SEL_SHIFT         (23U)
99600 /*! SMP_CLK_SEL - Clock selection
99601  *  0b1..Tuned clock is used to sample data / cmd
99602  *  0b0..Fixed clock is used to sample data / cmd
99603  */
99604 #define USDHC_MIX_CTRL_SMP_CLK_SEL(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_SMP_CLK_SEL_SHIFT)) & USDHC_MIX_CTRL_SMP_CLK_SEL_MASK)
99605 
99606 #define USDHC_MIX_CTRL_AUTO_TUNE_EN_MASK         (0x1000000U)
99607 #define USDHC_MIX_CTRL_AUTO_TUNE_EN_SHIFT        (24U)
99608 /*! AUTO_TUNE_EN - Auto tuning enable (Only used for SD3.0, SDR104 mode and and EMMC HS200 mode)
99609  *  0b1..Enable auto tuning
99610  *  0b0..Disable auto tuning
99611  */
99612 #define USDHC_MIX_CTRL_AUTO_TUNE_EN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_AUTO_TUNE_EN_SHIFT)) & USDHC_MIX_CTRL_AUTO_TUNE_EN_MASK)
99613 
99614 #define USDHC_MIX_CTRL_FBCLK_SEL_MASK            (0x2000000U)
99615 #define USDHC_MIX_CTRL_FBCLK_SEL_SHIFT           (25U)
99616 /*! FBCLK_SEL - Feedback clock source selection (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
99617  *  0b1..Feedback clock comes from the ipp_card_clk_out
99618  *  0b0..Feedback clock comes from the loopback CLK
99619  */
99620 #define USDHC_MIX_CTRL_FBCLK_SEL(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_FBCLK_SEL_SHIFT)) & USDHC_MIX_CTRL_FBCLK_SEL_MASK)
99621 
99622 #define USDHC_MIX_CTRL_HS400_MODE_MASK           (0x4000000U)
99623 #define USDHC_MIX_CTRL_HS400_MODE_SHIFT          (26U)
99624 /*! HS400_MODE - Enable HS400 mode
99625  */
99626 #define USDHC_MIX_CTRL_HS400_MODE(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_MIX_CTRL_HS400_MODE_SHIFT)) & USDHC_MIX_CTRL_HS400_MODE_MASK)
99627 /*! @} */
99628 
99629 /*! @name FORCE_EVENT - Force Event */
99630 /*! @{ */
99631 
99632 #define USDHC_FORCE_EVENT_FEVTAC12NE_MASK        (0x1U)
99633 #define USDHC_FORCE_EVENT_FEVTAC12NE_SHIFT       (0U)
99634 /*! FEVTAC12NE - Force event auto command 12 not executed
99635  */
99636 #define USDHC_FORCE_EVENT_FEVTAC12NE(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12NE_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12NE_MASK)
99637 
99638 #define USDHC_FORCE_EVENT_FEVTAC12TOE_MASK       (0x2U)
99639 #define USDHC_FORCE_EVENT_FEVTAC12TOE_SHIFT      (1U)
99640 /*! FEVTAC12TOE - Force event auto command 12 time out error
99641  */
99642 #define USDHC_FORCE_EVENT_FEVTAC12TOE(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12TOE_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12TOE_MASK)
99643 
99644 #define USDHC_FORCE_EVENT_FEVTAC12CE_MASK        (0x4U)
99645 #define USDHC_FORCE_EVENT_FEVTAC12CE_SHIFT       (2U)
99646 /*! FEVTAC12CE - Force event auto command 12 CRC error
99647  */
99648 #define USDHC_FORCE_EVENT_FEVTAC12CE(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12CE_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12CE_MASK)
99649 
99650 #define USDHC_FORCE_EVENT_FEVTAC12EBE_MASK       (0x8U)
99651 #define USDHC_FORCE_EVENT_FEVTAC12EBE_SHIFT      (3U)
99652 /*! FEVTAC12EBE - Force event Auto Command 12 end bit error
99653  */
99654 #define USDHC_FORCE_EVENT_FEVTAC12EBE(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12EBE_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12EBE_MASK)
99655 
99656 #define USDHC_FORCE_EVENT_FEVTAC12IE_MASK        (0x10U)
99657 #define USDHC_FORCE_EVENT_FEVTAC12IE_SHIFT       (4U)
99658 /*! FEVTAC12IE - Force event Auto Command 12 index error
99659  */
99660 #define USDHC_FORCE_EVENT_FEVTAC12IE(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12IE_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12IE_MASK)
99661 
99662 #define USDHC_FORCE_EVENT_FEVTCNIBAC12E_MASK     (0x80U)
99663 #define USDHC_FORCE_EVENT_FEVTCNIBAC12E_SHIFT    (7U)
99664 /*! FEVTCNIBAC12E - Force event command not executed by Auto Command 12 error
99665  */
99666 #define USDHC_FORCE_EVENT_FEVTCNIBAC12E(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCNIBAC12E_SHIFT)) & USDHC_FORCE_EVENT_FEVTCNIBAC12E_MASK)
99667 
99668 #define USDHC_FORCE_EVENT_FEVTCTOE_MASK          (0x10000U)
99669 #define USDHC_FORCE_EVENT_FEVTCTOE_SHIFT         (16U)
99670 /*! FEVTCTOE - Force event command time out error
99671  */
99672 #define USDHC_FORCE_EVENT_FEVTCTOE(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCTOE_SHIFT)) & USDHC_FORCE_EVENT_FEVTCTOE_MASK)
99673 
99674 #define USDHC_FORCE_EVENT_FEVTCCE_MASK           (0x20000U)
99675 #define USDHC_FORCE_EVENT_FEVTCCE_SHIFT          (17U)
99676 /*! FEVTCCE - Force event command CRC error
99677  */
99678 #define USDHC_FORCE_EVENT_FEVTCCE(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCCE_SHIFT)) & USDHC_FORCE_EVENT_FEVTCCE_MASK)
99679 
99680 #define USDHC_FORCE_EVENT_FEVTCEBE_MASK          (0x40000U)
99681 #define USDHC_FORCE_EVENT_FEVTCEBE_SHIFT         (18U)
99682 /*! FEVTCEBE - Force event command end bit error
99683  */
99684 #define USDHC_FORCE_EVENT_FEVTCEBE(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCEBE_SHIFT)) & USDHC_FORCE_EVENT_FEVTCEBE_MASK)
99685 
99686 #define USDHC_FORCE_EVENT_FEVTCIE_MASK           (0x80000U)
99687 #define USDHC_FORCE_EVENT_FEVTCIE_SHIFT          (19U)
99688 /*! FEVTCIE - Force event command index error
99689  */
99690 #define USDHC_FORCE_EVENT_FEVTCIE(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCIE_SHIFT)) & USDHC_FORCE_EVENT_FEVTCIE_MASK)
99691 
99692 #define USDHC_FORCE_EVENT_FEVTDTOE_MASK          (0x100000U)
99693 #define USDHC_FORCE_EVENT_FEVTDTOE_SHIFT         (20U)
99694 /*! FEVTDTOE - Force event data time out error
99695  */
99696 #define USDHC_FORCE_EVENT_FEVTDTOE(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTDTOE_SHIFT)) & USDHC_FORCE_EVENT_FEVTDTOE_MASK)
99697 
99698 #define USDHC_FORCE_EVENT_FEVTDCE_MASK           (0x200000U)
99699 #define USDHC_FORCE_EVENT_FEVTDCE_SHIFT          (21U)
99700 /*! FEVTDCE - Force event data CRC error
99701  */
99702 #define USDHC_FORCE_EVENT_FEVTDCE(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTDCE_SHIFT)) & USDHC_FORCE_EVENT_FEVTDCE_MASK)
99703 
99704 #define USDHC_FORCE_EVENT_FEVTDEBE_MASK          (0x400000U)
99705 #define USDHC_FORCE_EVENT_FEVTDEBE_SHIFT         (22U)
99706 /*! FEVTDEBE - Force event data end bit error
99707  */
99708 #define USDHC_FORCE_EVENT_FEVTDEBE(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTDEBE_SHIFT)) & USDHC_FORCE_EVENT_FEVTDEBE_MASK)
99709 
99710 #define USDHC_FORCE_EVENT_FEVTAC12E_MASK         (0x1000000U)
99711 #define USDHC_FORCE_EVENT_FEVTAC12E_SHIFT        (24U)
99712 /*! FEVTAC12E - Force event Auto Command 12 error
99713  */
99714 #define USDHC_FORCE_EVENT_FEVTAC12E(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTAC12E_SHIFT)) & USDHC_FORCE_EVENT_FEVTAC12E_MASK)
99715 
99716 #define USDHC_FORCE_EVENT_FEVTTNE_MASK           (0x4000000U)
99717 #define USDHC_FORCE_EVENT_FEVTTNE_SHIFT          (26U)
99718 /*! FEVTTNE - Force tuning error
99719  */
99720 #define USDHC_FORCE_EVENT_FEVTTNE(x)             (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTTNE_SHIFT)) & USDHC_FORCE_EVENT_FEVTTNE_MASK)
99721 
99722 #define USDHC_FORCE_EVENT_FEVTDMAE_MASK          (0x10000000U)
99723 #define USDHC_FORCE_EVENT_FEVTDMAE_SHIFT         (28U)
99724 /*! FEVTDMAE - Force event DMA error
99725  */
99726 #define USDHC_FORCE_EVENT_FEVTDMAE(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTDMAE_SHIFT)) & USDHC_FORCE_EVENT_FEVTDMAE_MASK)
99727 
99728 #define USDHC_FORCE_EVENT_FEVTCINT_MASK          (0x80000000U)
99729 #define USDHC_FORCE_EVENT_FEVTCINT_SHIFT         (31U)
99730 /*! FEVTCINT - Force event card interrupt
99731  */
99732 #define USDHC_FORCE_EVENT_FEVTCINT(x)            (((uint32_t)(((uint32_t)(x)) << USDHC_FORCE_EVENT_FEVTCINT_SHIFT)) & USDHC_FORCE_EVENT_FEVTCINT_MASK)
99733 /*! @} */
99734 
99735 /*! @name ADMA_ERR_STATUS - ADMA Error Status */
99736 /*! @{ */
99737 
99738 #define USDHC_ADMA_ERR_STATUS_ADMAES_MASK        (0x3U)
99739 #define USDHC_ADMA_ERR_STATUS_ADMAES_SHIFT       (0U)
99740 /*! ADMAES - ADMA error state (when ADMA error is occurred)
99741  */
99742 #define USDHC_ADMA_ERR_STATUS_ADMAES(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_ADMA_ERR_STATUS_ADMAES_SHIFT)) & USDHC_ADMA_ERR_STATUS_ADMAES_MASK)
99743 
99744 #define USDHC_ADMA_ERR_STATUS_ADMALME_MASK       (0x4U)
99745 #define USDHC_ADMA_ERR_STATUS_ADMALME_SHIFT      (2U)
99746 /*! ADMALME - ADMA length mismatch error
99747  *  0b1..Error
99748  *  0b0..No error
99749  */
99750 #define USDHC_ADMA_ERR_STATUS_ADMALME(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_ADMA_ERR_STATUS_ADMALME_SHIFT)) & USDHC_ADMA_ERR_STATUS_ADMALME_MASK)
99751 
99752 #define USDHC_ADMA_ERR_STATUS_ADMADCE_MASK       (0x8U)
99753 #define USDHC_ADMA_ERR_STATUS_ADMADCE_SHIFT      (3U)
99754 /*! ADMADCE - ADMA descriptor error
99755  *  0b1..Error
99756  *  0b0..No error
99757  */
99758 #define USDHC_ADMA_ERR_STATUS_ADMADCE(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_ADMA_ERR_STATUS_ADMADCE_SHIFT)) & USDHC_ADMA_ERR_STATUS_ADMADCE_MASK)
99759 /*! @} */
99760 
99761 /*! @name ADMA_SYS_ADDR - ADMA System Address */
99762 /*! @{ */
99763 
99764 #define USDHC_ADMA_SYS_ADDR_ADS_ADDR_MASK        (0xFFFFFFFCU)
99765 #define USDHC_ADMA_SYS_ADDR_ADS_ADDR_SHIFT       (2U)
99766 /*! ADS_ADDR - ADMA system address
99767  */
99768 #define USDHC_ADMA_SYS_ADDR_ADS_ADDR(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_ADMA_SYS_ADDR_ADS_ADDR_SHIFT)) & USDHC_ADMA_SYS_ADDR_ADS_ADDR_MASK)
99769 /*! @} */
99770 
99771 /*! @name DLL_CTRL - DLL (Delay Line) Control */
99772 /*! @{ */
99773 
99774 #define USDHC_DLL_CTRL_DLL_CTRL_ENABLE_MASK      (0x1U)
99775 #define USDHC_DLL_CTRL_DLL_CTRL_ENABLE_SHIFT     (0U)
99776 /*! DLL_CTRL_ENABLE - DLL and delay chain
99777  */
99778 #define USDHC_DLL_CTRL_DLL_CTRL_ENABLE(x)        (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_ENABLE_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_ENABLE_MASK)
99779 
99780 #define USDHC_DLL_CTRL_DLL_CTRL_RESET_MASK       (0x2U)
99781 #define USDHC_DLL_CTRL_DLL_CTRL_RESET_SHIFT      (1U)
99782 /*! DLL_CTRL_RESET - DLL reset
99783  */
99784 #define USDHC_DLL_CTRL_DLL_CTRL_RESET(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_RESET_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_RESET_MASK)
99785 
99786 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_FORCE_UPD_MASK (0x4U)
99787 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_FORCE_UPD_SHIFT (2U)
99788 /*! DLL_CTRL_SLV_FORCE_UPD - DLL slave delay line
99789  */
99790 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_FORCE_UPD(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_FORCE_UPD_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_FORCE_UPD_MASK)
99791 
99792 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET0_MASK (0x78U)
99793 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET0_SHIFT (3U)
99794 /*! DLL_CTRL_SLV_DLY_TARGET0 - DLL slave delay target0
99795  */
99796 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET0(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET0_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET0_MASK)
99797 
99798 #define USDHC_DLL_CTRL_DLL_CTRL_GATE_UPDATE_MASK (0x80U)
99799 #define USDHC_DLL_CTRL_DLL_CTRL_GATE_UPDATE_SHIFT (7U)
99800 /*! DLL_CTRL_GATE_UPDATE - DLL gate update
99801  */
99802 #define USDHC_DLL_CTRL_DLL_CTRL_GATE_UPDATE(x)   (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_GATE_UPDATE_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_GATE_UPDATE_MASK)
99803 
99804 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_MASK (0x100U)
99805 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_SHIFT (8U)
99806 /*! DLL_CTRL_SLV_OVERRIDE - DLL slave override
99807  */
99808 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE(x)  (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_MASK)
99809 
99810 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_VAL_MASK (0xFE00U)
99811 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_VAL_SHIFT (9U)
99812 /*! DLL_CTRL_SLV_OVERRIDE_VAL - DLL slave override val
99813  */
99814 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_VAL(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_VAL_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_OVERRIDE_VAL_MASK)
99815 
99816 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET1_MASK (0x70000U)
99817 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET1_SHIFT (16U)
99818 /*! DLL_CTRL_SLV_DLY_TARGET1 - DLL slave delay target1
99819  */
99820 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET1(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET1_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_DLY_TARGET1_MASK)
99821 
99822 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_UPDATE_INT_MASK (0xFF00000U)
99823 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_UPDATE_INT_SHIFT (20U)
99824 /*! DLL_CTRL_SLV_UPDATE_INT - Slave delay line update interval
99825  */
99826 #define USDHC_DLL_CTRL_DLL_CTRL_SLV_UPDATE_INT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_SLV_UPDATE_INT_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_SLV_UPDATE_INT_MASK)
99827 
99828 #define USDHC_DLL_CTRL_DLL_CTRL_REF_UPDATE_INT_MASK (0xF0000000U)
99829 #define USDHC_DLL_CTRL_DLL_CTRL_REF_UPDATE_INT_SHIFT (28U)
99830 /*! DLL_CTRL_REF_UPDATE_INT - DLL control loop update interval
99831  */
99832 #define USDHC_DLL_CTRL_DLL_CTRL_REF_UPDATE_INT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_CTRL_DLL_CTRL_REF_UPDATE_INT_SHIFT)) & USDHC_DLL_CTRL_DLL_CTRL_REF_UPDATE_INT_MASK)
99833 /*! @} */
99834 
99835 /*! @name DLL_STATUS - DLL Status */
99836 /*! @{ */
99837 
99838 #define USDHC_DLL_STATUS_DLL_STS_SLV_LOCK_MASK   (0x1U)
99839 #define USDHC_DLL_STATUS_DLL_STS_SLV_LOCK_SHIFT  (0U)
99840 /*! DLL_STS_SLV_LOCK - Slave delay-line lock status
99841  */
99842 #define USDHC_DLL_STATUS_DLL_STS_SLV_LOCK(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_STATUS_DLL_STS_SLV_LOCK_SHIFT)) & USDHC_DLL_STATUS_DLL_STS_SLV_LOCK_MASK)
99843 
99844 #define USDHC_DLL_STATUS_DLL_STS_REF_LOCK_MASK   (0x2U)
99845 #define USDHC_DLL_STATUS_DLL_STS_REF_LOCK_SHIFT  (1U)
99846 /*! DLL_STS_REF_LOCK - Reference DLL lock status
99847  */
99848 #define USDHC_DLL_STATUS_DLL_STS_REF_LOCK(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_STATUS_DLL_STS_REF_LOCK_SHIFT)) & USDHC_DLL_STATUS_DLL_STS_REF_LOCK_MASK)
99849 
99850 #define USDHC_DLL_STATUS_DLL_STS_SLV_SEL_MASK    (0x1FCU)
99851 #define USDHC_DLL_STATUS_DLL_STS_SLV_SEL_SHIFT   (2U)
99852 /*! DLL_STS_SLV_SEL - Slave delay line select status
99853  */
99854 #define USDHC_DLL_STATUS_DLL_STS_SLV_SEL(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_STATUS_DLL_STS_SLV_SEL_SHIFT)) & USDHC_DLL_STATUS_DLL_STS_SLV_SEL_MASK)
99855 
99856 #define USDHC_DLL_STATUS_DLL_STS_REF_SEL_MASK    (0xFE00U)
99857 #define USDHC_DLL_STATUS_DLL_STS_REF_SEL_SHIFT   (9U)
99858 /*! DLL_STS_REF_SEL - Reference delay line select taps
99859  */
99860 #define USDHC_DLL_STATUS_DLL_STS_REF_SEL(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_DLL_STATUS_DLL_STS_REF_SEL_SHIFT)) & USDHC_DLL_STATUS_DLL_STS_REF_SEL_MASK)
99861 /*! @} */
99862 
99863 /*! @name CLK_TUNE_CTRL_STATUS - CLK Tuning Control and Status */
99864 /*! @{ */
99865 
99866 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_POST_MASK (0xFU)
99867 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_POST_SHIFT (0U)
99868 /*! DLY_CELL_SET_POST - Delay cells on the feedback clock between CLK_OUT and CLK_POST
99869  */
99870 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_POST(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_POST_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_POST_MASK)
99871 
99872 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_OUT_MASK (0xF0U)
99873 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_OUT_SHIFT (4U)
99874 /*! DLY_CELL_SET_OUT - Delay cells on the feedback clock between CLK_PRE and CLK_OUT
99875  */
99876 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_OUT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_OUT_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_OUT_MASK)
99877 
99878 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_PRE_MASK (0x7F00U)
99879 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_PRE_SHIFT (8U)
99880 /*! DLY_CELL_SET_PRE - delay cells on the feedback clock between the feedback clock and CLK_PRE
99881  */
99882 #define USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_PRE(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_PRE_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_DLY_CELL_SET_PRE_MASK)
99883 
99884 #define USDHC_CLK_TUNE_CTRL_STATUS_NXT_ERR_MASK  (0x8000U)
99885 #define USDHC_CLK_TUNE_CTRL_STATUS_NXT_ERR_SHIFT (15U)
99886 /*! NXT_ERR - NXT error
99887  */
99888 #define USDHC_CLK_TUNE_CTRL_STATUS_NXT_ERR(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_NXT_ERR_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_NXT_ERR_MASK)
99889 
99890 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_POST_MASK (0xF0000U)
99891 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_POST_SHIFT (16U)
99892 /*! TAP_SEL_POST - Delay cells added on the feedback clock between CLK_OUT and CLK_POST
99893  */
99894 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_POST(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_POST_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_POST_MASK)
99895 
99896 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_OUT_MASK (0xF00000U)
99897 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_OUT_SHIFT (20U)
99898 /*! TAP_SEL_OUT - Delay cells added on the feedback clock between CLK_PRE and CLK_OUT
99899  */
99900 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_OUT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_OUT_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_OUT_MASK)
99901 
99902 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_PRE_MASK (0x7F000000U)
99903 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_PRE_SHIFT (24U)
99904 /*! TAP_SEL_PRE - TAP_SEL_PRE
99905  */
99906 #define USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_PRE(x) (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_PRE_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_TAP_SEL_PRE_MASK)
99907 
99908 #define USDHC_CLK_TUNE_CTRL_STATUS_PRE_ERR_MASK  (0x80000000U)
99909 #define USDHC_CLK_TUNE_CTRL_STATUS_PRE_ERR_SHIFT (31U)
99910 /*! PRE_ERR - PRE error
99911  */
99912 #define USDHC_CLK_TUNE_CTRL_STATUS_PRE_ERR(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_CLK_TUNE_CTRL_STATUS_PRE_ERR_SHIFT)) & USDHC_CLK_TUNE_CTRL_STATUS_PRE_ERR_MASK)
99913 /*! @} */
99914 
99915 /*! @name STROBE_DLL_CTRL - Strobe DLL control */
99916 /*! @{ */
99917 
99918 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_ENABLE_MASK (0x1U)
99919 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_ENABLE_SHIFT (0U)
99920 /*! STROBE_DLL_CTRL_ENABLE - Strobe DLL control enable
99921  */
99922 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_ENABLE(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_ENABLE_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_ENABLE_MASK)
99923 
99924 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_RESET_MASK (0x2U)
99925 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_RESET_SHIFT (1U)
99926 /*! STROBE_DLL_CTRL_RESET - Strobe DLL control reset
99927  */
99928 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_RESET(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_RESET_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_RESET_MASK)
99929 
99930 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_FORCE_UPD_MASK (0x4U)
99931 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_FORCE_UPD_SHIFT (2U)
99932 /*! STROBE_DLL_CTRL_SLV_FORCE_UPD - Strobe DLL control slave force updated
99933  */
99934 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_FORCE_UPD(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_FORCE_UPD_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_FORCE_UPD_MASK)
99935 
99936 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_DLY_TARGET_MASK (0x78U)
99937 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT (3U)
99938 /*! STROBE_DLL_CTRL_SLV_DLY_TARGET - Strobe DLL Control Slave Delay Target
99939  */
99940 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_DLY_TARGET(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_DLY_TARGET_MASK)
99941 
99942 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_GATE_UPDATE_MASK (0x80U)
99943 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_GATE_UPDATE_SHIFT (7U)
99944 /*! STROBE_DLL_CTRL_GATE_UPDATE - Strobe DLL control gate update
99945  */
99946 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_GATE_UPDATE(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_GATE_UPDATE_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_GATE_UPDATE_MASK)
99947 
99948 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_MASK (0x100U)
99949 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_SHIFT (8U)
99950 /*! STROBE_DLL_CTRL_SLV_OVERRIDE - Strobe DLL control slave override
99951  */
99952 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_MASK)
99953 
99954 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_VAL_MASK (0xFE00U)
99955 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_VAL_SHIFT (9U)
99956 /*! STROBE_DLL_CTRL_SLV_OVERRIDE_VAL - Strobe DLL control slave Override value
99957  */
99958 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_VAL(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_VAL_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_OVERRIDE_VAL_MASK)
99959 
99960 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_UPDATE_INT_MASK (0xFF00000U)
99961 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_UPDATE_INT_SHIFT (20U)
99962 /*! STROBE_DLL_CTRL_SLV_UPDATE_INT - Strobe DLL control slave update interval
99963  */
99964 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_UPDATE_INT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_UPDATE_INT_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_SLV_UPDATE_INT_MASK)
99965 
99966 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_REF_UPDATE_INT_MASK (0xF0000000U)
99967 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_REF_UPDATE_INT_SHIFT (28U)
99968 /*! STROBE_DLL_CTRL_REF_UPDATE_INT - Strobe DLL control reference update interval
99969  */
99970 #define USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_REF_UPDATE_INT(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_REF_UPDATE_INT_SHIFT)) & USDHC_STROBE_DLL_CTRL_STROBE_DLL_CTRL_REF_UPDATE_INT_MASK)
99971 /*! @} */
99972 
99973 /*! @name STROBE_DLL_STATUS - Strobe DLL status */
99974 /*! @{ */
99975 
99976 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_LOCK_MASK (0x1U)
99977 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_LOCK_SHIFT (0U)
99978 /*! STROBE_DLL_STS_SLV_LOCK - Strobe DLL status slave lock
99979  */
99980 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_LOCK(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_LOCK_SHIFT)) & USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_LOCK_MASK)
99981 
99982 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_LOCK_MASK (0x2U)
99983 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_LOCK_SHIFT (1U)
99984 /*! STROBE_DLL_STS_REF_LOCK - Strobe DLL status reference lock
99985  */
99986 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_LOCK(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_LOCK_SHIFT)) & USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_LOCK_MASK)
99987 
99988 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_SEL_MASK (0x1FCU)
99989 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_SEL_SHIFT (2U)
99990 /*! STROBE_DLL_STS_SLV_SEL - Strobe DLL status slave select
99991  */
99992 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_SEL(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_SEL_SHIFT)) & USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_SLV_SEL_MASK)
99993 
99994 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_SEL_MASK (0xFE00U)
99995 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_SEL_SHIFT (9U)
99996 /*! STROBE_DLL_STS_REF_SEL - Strobe DLL status reference select
99997  */
99998 #define USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_SEL(x) (((uint32_t)(((uint32_t)(x)) << USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_SEL_SHIFT)) & USDHC_STROBE_DLL_STATUS_STROBE_DLL_STS_REF_SEL_MASK)
99999 /*! @} */
100000 
100001 /*! @name VEND_SPEC - Vendor Specific Register */
100002 /*! @{ */
100003 
100004 #define USDHC_VEND_SPEC_VSELECT_MASK             (0x2U)
100005 #define USDHC_VEND_SPEC_VSELECT_SHIFT            (1U)
100006 /*! VSELECT - Voltage selection
100007  *  0b1..Change the voltage to low voltage range, around 1.8 V
100008  *  0b0..Change the voltage to high voltage range, around 3.0 V
100009  */
100010 #define USDHC_VEND_SPEC_VSELECT(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_VSELECT_SHIFT)) & USDHC_VEND_SPEC_VSELECT_MASK)
100011 
100012 #define USDHC_VEND_SPEC_CONFLICT_CHK_EN_MASK     (0x4U)
100013 #define USDHC_VEND_SPEC_CONFLICT_CHK_EN_SHIFT    (2U)
100014 /*! CONFLICT_CHK_EN - Conflict check enable
100015  *  0b0..Conflict check disable
100016  *  0b1..Conflict check enable
100017  */
100018 #define USDHC_VEND_SPEC_CONFLICT_CHK_EN(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_CONFLICT_CHK_EN_SHIFT)) & USDHC_VEND_SPEC_CONFLICT_CHK_EN_MASK)
100019 
100020 #define USDHC_VEND_SPEC_AC12_WR_CHKBUSY_EN_MASK  (0x8U)
100021 #define USDHC_VEND_SPEC_AC12_WR_CHKBUSY_EN_SHIFT (3U)
100022 /*! AC12_WR_CHKBUSY_EN - Check busy enable
100023  *  0b0..Do not check busy after auto CMD12 for write data packet
100024  *  0b1..Check busy after auto CMD12 for write data packet
100025  */
100026 #define USDHC_VEND_SPEC_AC12_WR_CHKBUSY_EN(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_AC12_WR_CHKBUSY_EN_SHIFT)) & USDHC_VEND_SPEC_AC12_WR_CHKBUSY_EN_MASK)
100027 
100028 #define USDHC_VEND_SPEC_FRC_SDCLK_ON_MASK        (0x100U)
100029 #define USDHC_VEND_SPEC_FRC_SDCLK_ON_SHIFT       (8U)
100030 /*! FRC_SDCLK_ON - Force CLK
100031  *  0b0..CLK active or inactive is fully controlled by the hardware.
100032  *  0b1..Force CLK active
100033  */
100034 #define USDHC_VEND_SPEC_FRC_SDCLK_ON(x)          (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_FRC_SDCLK_ON_SHIFT)) & USDHC_VEND_SPEC_FRC_SDCLK_ON_MASK)
100035 
100036 #define USDHC_VEND_SPEC_CRC_CHK_DIS_MASK         (0x8000U)
100037 #define USDHC_VEND_SPEC_CRC_CHK_DIS_SHIFT        (15U)
100038 /*! CRC_CHK_DIS - CRC Check Disable
100039  *  0b0..Check CRC16 for every read data packet and check CRC fields for every write data packet
100040  *  0b1..Ignore CRC16 check for every read data packet and ignore CRC fields check for every write data packet
100041  */
100042 #define USDHC_VEND_SPEC_CRC_CHK_DIS(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_CRC_CHK_DIS_SHIFT)) & USDHC_VEND_SPEC_CRC_CHK_DIS_MASK)
100043 
100044 #define USDHC_VEND_SPEC_CMD_BYTE_EN_MASK         (0x80000000U)
100045 #define USDHC_VEND_SPEC_CMD_BYTE_EN_SHIFT        (31U)
100046 /*! CMD_BYTE_EN - Byte access
100047  *  0b0..Disable
100048  *  0b1..Enable
100049  */
100050 #define USDHC_VEND_SPEC_CMD_BYTE_EN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC_CMD_BYTE_EN_SHIFT)) & USDHC_VEND_SPEC_CMD_BYTE_EN_MASK)
100051 /*! @} */
100052 
100053 /*! @name MMC_BOOT - MMC Boot */
100054 /*! @{ */
100055 
100056 #define USDHC_MMC_BOOT_DTOCV_ACK_MASK            (0xFU)
100057 #define USDHC_MMC_BOOT_DTOCV_ACK_SHIFT           (0U)
100058 /*! DTOCV_ACK - Boot ACK time out
100059  *  0b0000..SDCLK x 2^14
100060  *  0b0001..SDCLK x 2^15
100061  *  0b0010..SDCLK x 2^16
100062  *  0b0011..SDCLK x 2^17
100063  *  0b0100..SDCLK x 2^18
100064  *  0b0101..SDCLK x 2^19
100065  *  0b0110..SDCLK x 2^20
100066  *  0b0111..SDCLK x 2^21
100067  *  0b1110..SDCLK x 2^28
100068  *  0b1111..SDCLK x 2^29
100069  */
100070 #define USDHC_MMC_BOOT_DTOCV_ACK(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_DTOCV_ACK_SHIFT)) & USDHC_MMC_BOOT_DTOCV_ACK_MASK)
100071 
100072 #define USDHC_MMC_BOOT_BOOT_ACK_MASK             (0x10U)
100073 #define USDHC_MMC_BOOT_BOOT_ACK_SHIFT            (4U)
100074 /*! BOOT_ACK - BOOT ACK
100075  *  0b0..No ack
100076  *  0b1..Ack
100077  */
100078 #define USDHC_MMC_BOOT_BOOT_ACK(x)               (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_BOOT_ACK_SHIFT)) & USDHC_MMC_BOOT_BOOT_ACK_MASK)
100079 
100080 #define USDHC_MMC_BOOT_BOOT_MODE_MASK            (0x20U)
100081 #define USDHC_MMC_BOOT_BOOT_MODE_SHIFT           (5U)
100082 /*! BOOT_MODE - Boot mode
100083  *  0b0..Normal boot
100084  *  0b1..Alternative boot
100085  */
100086 #define USDHC_MMC_BOOT_BOOT_MODE(x)              (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_BOOT_MODE_SHIFT)) & USDHC_MMC_BOOT_BOOT_MODE_MASK)
100087 
100088 #define USDHC_MMC_BOOT_BOOT_EN_MASK              (0x40U)
100089 #define USDHC_MMC_BOOT_BOOT_EN_SHIFT             (6U)
100090 /*! BOOT_EN - Boot enable
100091  *  0b0..Fast boot disable
100092  *  0b1..Fast boot enable
100093  */
100094 #define USDHC_MMC_BOOT_BOOT_EN(x)                (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_BOOT_EN_SHIFT)) & USDHC_MMC_BOOT_BOOT_EN_MASK)
100095 
100096 #define USDHC_MMC_BOOT_AUTO_SABG_EN_MASK         (0x80U)
100097 #define USDHC_MMC_BOOT_AUTO_SABG_EN_SHIFT        (7U)
100098 /*! AUTO_SABG_EN - Auto stop at block gap
100099  */
100100 #define USDHC_MMC_BOOT_AUTO_SABG_EN(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_AUTO_SABG_EN_SHIFT)) & USDHC_MMC_BOOT_AUTO_SABG_EN_MASK)
100101 
100102 #define USDHC_MMC_BOOT_DISABLE_TIME_OUT_MASK     (0x100U)
100103 #define USDHC_MMC_BOOT_DISABLE_TIME_OUT_SHIFT    (8U)
100104 /*! DISABLE_TIME_OUT - Time out
100105  *  0b0..Enable time out
100106  *  0b1..Disable time out
100107  */
100108 #define USDHC_MMC_BOOT_DISABLE_TIME_OUT(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_DISABLE_TIME_OUT_SHIFT)) & USDHC_MMC_BOOT_DISABLE_TIME_OUT_MASK)
100109 
100110 #define USDHC_MMC_BOOT_BOOT_BLK_CNT_MASK         (0xFFFF0000U)
100111 #define USDHC_MMC_BOOT_BOOT_BLK_CNT_SHIFT        (16U)
100112 /*! BOOT_BLK_CNT - Stop At Block Gap value of automatic mode
100113  */
100114 #define USDHC_MMC_BOOT_BOOT_BLK_CNT(x)           (((uint32_t)(((uint32_t)(x)) << USDHC_MMC_BOOT_BOOT_BLK_CNT_SHIFT)) & USDHC_MMC_BOOT_BOOT_BLK_CNT_MASK)
100115 /*! @} */
100116 
100117 /*! @name VEND_SPEC2 - Vendor Specific 2 Register */
100118 /*! @{ */
100119 
100120 #define USDHC_VEND_SPEC2_CARD_INT_D3_TEST_MASK   (0x8U)
100121 #define USDHC_VEND_SPEC2_CARD_INT_D3_TEST_SHIFT  (3U)
100122 /*! CARD_INT_D3_TEST - Card interrupt detection test
100123  *  0b0..Check the card interrupt only when DATA3 is high.
100124  *  0b1..Check the card interrupt by ignoring the status of DATA3.
100125  */
100126 #define USDHC_VEND_SPEC2_CARD_INT_D3_TEST(x)     (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_CARD_INT_D3_TEST_SHIFT)) & USDHC_VEND_SPEC2_CARD_INT_D3_TEST_MASK)
100127 
100128 #define USDHC_VEND_SPEC2_TUNING_8bit_EN_MASK     (0x10U)
100129 #define USDHC_VEND_SPEC2_TUNING_8bit_EN_SHIFT    (4U)
100130 /*! TUNING_8bit_EN - Tuning 8bit enable
100131  */
100132 #define USDHC_VEND_SPEC2_TUNING_8bit_EN(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_TUNING_8bit_EN_SHIFT)) & USDHC_VEND_SPEC2_TUNING_8bit_EN_MASK)
100133 
100134 #define USDHC_VEND_SPEC2_TUNING_1bit_EN_MASK     (0x20U)
100135 #define USDHC_VEND_SPEC2_TUNING_1bit_EN_SHIFT    (5U)
100136 /*! TUNING_1bit_EN - Tuning 1bit enable
100137  */
100138 #define USDHC_VEND_SPEC2_TUNING_1bit_EN(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_TUNING_1bit_EN_SHIFT)) & USDHC_VEND_SPEC2_TUNING_1bit_EN_MASK)
100139 
100140 #define USDHC_VEND_SPEC2_TUNING_CMD_EN_MASK      (0x40U)
100141 #define USDHC_VEND_SPEC2_TUNING_CMD_EN_SHIFT     (6U)
100142 /*! TUNING_CMD_EN - Tuning command enable
100143  *  0b0..Auto tuning circuit does not check the CMD line.
100144  *  0b1..Auto tuning circuit checks the CMD line.
100145  */
100146 #define USDHC_VEND_SPEC2_TUNING_CMD_EN(x)        (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_TUNING_CMD_EN_SHIFT)) & USDHC_VEND_SPEC2_TUNING_CMD_EN_MASK)
100147 
100148 #define USDHC_VEND_SPEC2_HS400_WR_CLK_STOP_EN_MASK (0x400U)
100149 #define USDHC_VEND_SPEC2_HS400_WR_CLK_STOP_EN_SHIFT (10U)
100150 /*! HS400_WR_CLK_STOP_EN - HS400 write clock stop enable
100151  */
100152 #define USDHC_VEND_SPEC2_HS400_WR_CLK_STOP_EN(x) (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_HS400_WR_CLK_STOP_EN_SHIFT)) & USDHC_VEND_SPEC2_HS400_WR_CLK_STOP_EN_MASK)
100153 
100154 #define USDHC_VEND_SPEC2_HS400_RD_CLK_STOP_EN_MASK (0x800U)
100155 #define USDHC_VEND_SPEC2_HS400_RD_CLK_STOP_EN_SHIFT (11U)
100156 /*! HS400_RD_CLK_STOP_EN - HS400 read clock stop enable
100157  */
100158 #define USDHC_VEND_SPEC2_HS400_RD_CLK_STOP_EN(x) (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_HS400_RD_CLK_STOP_EN_SHIFT)) & USDHC_VEND_SPEC2_HS400_RD_CLK_STOP_EN_MASK)
100159 
100160 #define USDHC_VEND_SPEC2_ACMD23_ARGU2_EN_MASK    (0x1000U)
100161 #define USDHC_VEND_SPEC2_ACMD23_ARGU2_EN_SHIFT   (12U)
100162 /*! ACMD23_ARGU2_EN - Argument2 register enable for ACMD23
100163  *  0b1..Argument2 register enable for ACMD23 sharing with SDMA system address register. Default is enabled.
100164  *  0b0..Disable
100165  */
100166 #define USDHC_VEND_SPEC2_ACMD23_ARGU2_EN(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_VEND_SPEC2_ACMD23_ARGU2_EN_SHIFT)) & USDHC_VEND_SPEC2_ACMD23_ARGU2_EN_MASK)
100167 /*! @} */
100168 
100169 /*! @name TUNING_CTRL - Tuning Control */
100170 /*! @{ */
100171 
100172 #define USDHC_TUNING_CTRL_TUNING_START_TAP_MASK  (0x7FU)
100173 #define USDHC_TUNING_CTRL_TUNING_START_TAP_SHIFT (0U)
100174 /*! TUNING_START_TAP - Tuning start
100175  */
100176 #define USDHC_TUNING_CTRL_TUNING_START_TAP(x)    (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_TUNING_START_TAP_SHIFT)) & USDHC_TUNING_CTRL_TUNING_START_TAP_MASK)
100177 
100178 #define USDHC_TUNING_CTRL_DIS_CMD_CHK_FOR_STD_TUNING_MASK (0x80U)
100179 #define USDHC_TUNING_CTRL_DIS_CMD_CHK_FOR_STD_TUNING_SHIFT (7U)
100180 /*! DIS_CMD_CHK_FOR_STD_TUNING - Disable command check for standard tuning
100181  */
100182 #define USDHC_TUNING_CTRL_DIS_CMD_CHK_FOR_STD_TUNING(x) (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_DIS_CMD_CHK_FOR_STD_TUNING_SHIFT)) & USDHC_TUNING_CTRL_DIS_CMD_CHK_FOR_STD_TUNING_MASK)
100183 
100184 #define USDHC_TUNING_CTRL_TUNING_COUNTER_MASK    (0xFF00U)
100185 #define USDHC_TUNING_CTRL_TUNING_COUNTER_SHIFT   (8U)
100186 /*! TUNING_COUNTER - Tuning counter
100187  */
100188 #define USDHC_TUNING_CTRL_TUNING_COUNTER(x)      (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_TUNING_COUNTER_SHIFT)) & USDHC_TUNING_CTRL_TUNING_COUNTER_MASK)
100189 
100190 #define USDHC_TUNING_CTRL_TUNING_STEP_MASK       (0x70000U)
100191 #define USDHC_TUNING_CTRL_TUNING_STEP_SHIFT      (16U)
100192 /*! TUNING_STEP - TUNING_STEP
100193  */
100194 #define USDHC_TUNING_CTRL_TUNING_STEP(x)         (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_TUNING_STEP_SHIFT)) & USDHC_TUNING_CTRL_TUNING_STEP_MASK)
100195 
100196 #define USDHC_TUNING_CTRL_TUNING_WINDOW_MASK     (0x700000U)
100197 #define USDHC_TUNING_CTRL_TUNING_WINDOW_SHIFT    (20U)
100198 /*! TUNING_WINDOW - Data window
100199  */
100200 #define USDHC_TUNING_CTRL_TUNING_WINDOW(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_TUNING_WINDOW_SHIFT)) & USDHC_TUNING_CTRL_TUNING_WINDOW_MASK)
100201 
100202 #define USDHC_TUNING_CTRL_STD_TUNING_EN_MASK     (0x1000000U)
100203 #define USDHC_TUNING_CTRL_STD_TUNING_EN_SHIFT    (24U)
100204 /*! STD_TUNING_EN - Standard tuning circuit and procedure enable
100205  */
100206 #define USDHC_TUNING_CTRL_STD_TUNING_EN(x)       (((uint32_t)(((uint32_t)(x)) << USDHC_TUNING_CTRL_STD_TUNING_EN_SHIFT)) & USDHC_TUNING_CTRL_STD_TUNING_EN_MASK)
100207 /*! @} */
100208 
100209 
100210 /*!
100211  * @}
100212  */ /* end of group USDHC_Register_Masks */
100213 
100214 
100215 /* USDHC - Peripheral instance base addresses */
100216 /** Peripheral USDHC1 base address */
100217 #define USDHC1_BASE                              (0x40418000u)
100218 /** Peripheral USDHC1 base pointer */
100219 #define USDHC1                                   ((USDHC_Type *)USDHC1_BASE)
100220 /** Peripheral USDHC2 base address */
100221 #define USDHC2_BASE                              (0x4041C000u)
100222 /** Peripheral USDHC2 base pointer */
100223 #define USDHC2                                   ((USDHC_Type *)USDHC2_BASE)
100224 /** Array initializer of USDHC peripheral base addresses */
100225 #define USDHC_BASE_ADDRS                         { 0u, USDHC1_BASE, USDHC2_BASE }
100226 /** Array initializer of USDHC peripheral base pointers */
100227 #define USDHC_BASE_PTRS                          { (USDHC_Type *)0u, USDHC1, USDHC2 }
100228 /** Interrupt vectors for the USDHC peripheral type */
100229 #define USDHC_IRQS                               { NotAvail_IRQn, USDHC1_IRQn, USDHC2_IRQn }
100230 
100231 /*!
100232  * @}
100233  */ /* end of group USDHC_Peripheral_Access_Layer */
100234 
100235 
100236 /* ----------------------------------------------------------------------------
100237    -- VIDEO_MUX Peripheral Access Layer
100238    ---------------------------------------------------------------------------- */
100239 
100240 /*!
100241  * @addtogroup VIDEO_MUX_Peripheral_Access_Layer VIDEO_MUX Peripheral Access Layer
100242  * @{
100243  */
100244 
100245 /** VIDEO_MUX - Register Layout Typedef */
100246 typedef struct {
100247   struct {                                         /* offset: 0x0 */
100248     __IO uint32_t RW;                                /**< Video mux Control Register, offset: 0x0 */
100249     __IO uint32_t SET;                               /**< Video mux Control Register, offset: 0x4 */
100250     __IO uint32_t CLR;                               /**< Video mux Control Register, offset: 0x8 */
100251     __IO uint32_t TOG;                               /**< Video mux Control Register, offset: 0xC */
100252   } VID_MUX_CTRL;
100253        uint8_t RESERVED_0[16];
100254   struct {                                         /* offset: 0x20 */
100255     __IO uint32_t RW;                                /**< Pixel Link Master(PLM) Control Register, offset: 0x20 */
100256     __IO uint32_t SET;                               /**< Pixel Link Master(PLM) Control Register, offset: 0x24 */
100257     __IO uint32_t CLR;                               /**< Pixel Link Master(PLM) Control Register, offset: 0x28 */
100258     __IO uint32_t TOG;                               /**< Pixel Link Master(PLM) Control Register, offset: 0x2C */
100259   } PLM_CTRL;
100260   struct {                                         /* offset: 0x30 */
100261     __IO uint32_t RW;                                /**< YUV420 Control Register, offset: 0x30 */
100262     __IO uint32_t SET;                               /**< YUV420 Control Register, offset: 0x34 */
100263     __IO uint32_t CLR;                               /**< YUV420 Control Register, offset: 0x38 */
100264     __IO uint32_t TOG;                               /**< YUV420 Control Register, offset: 0x3C */
100265   } YUV420_CTRL;
100266        uint8_t RESERVED_1[16];
100267   struct {                                         /* offset: 0x50 */
100268     __IO uint32_t RW;                                /**< Data Disable Register, offset: 0x50 */
100269     __IO uint32_t SET;                               /**< Data Disable Register, offset: 0x54 */
100270     __IO uint32_t CLR;                               /**< Data Disable Register, offset: 0x58 */
100271     __IO uint32_t TOG;                               /**< Data Disable Register, offset: 0x5C */
100272   } CFG_DT_DISABLE;
100273        uint8_t RESERVED_2[16];
100274   struct {                                         /* offset: 0x70 */
100275     __IO uint32_t RW;                                /**< MIPI DSI Control Register, offset: 0x70 */
100276     __IO uint32_t SET;                               /**< MIPI DSI Control Register, offset: 0x74 */
100277     __IO uint32_t CLR;                               /**< MIPI DSI Control Register, offset: 0x78 */
100278     __IO uint32_t TOG;                               /**< MIPI DSI Control Register, offset: 0x7C */
100279   } MIPI_DSI_CTRL;
100280 } VIDEO_MUX_Type;
100281 
100282 /* ----------------------------------------------------------------------------
100283    -- VIDEO_MUX Register Masks
100284    ---------------------------------------------------------------------------- */
100285 
100286 /*!
100287  * @addtogroup VIDEO_MUX_Register_Masks VIDEO_MUX Register Masks
100288  * @{
100289  */
100290 
100291 /*! @name VID_MUX_CTRL - Video mux Control Register */
100292 /*! @{ */
100293 
100294 #define VIDEO_MUX_VID_MUX_CTRL_CSI_SEL_MASK      (0x1U)
100295 #define VIDEO_MUX_VID_MUX_CTRL_CSI_SEL_SHIFT     (0U)
100296 /*! CSI_SEL - CSI sensor data input mux selector
100297  *  0b0..CSI sensor data is from Parallel CSI
100298  *  0b1..CSI sensor data is from MIPI CSI
100299  */
100300 #define VIDEO_MUX_VID_MUX_CTRL_CSI_SEL(x)        (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_VID_MUX_CTRL_CSI_SEL_SHIFT)) & VIDEO_MUX_VID_MUX_CTRL_CSI_SEL_MASK)
100301 
100302 #define VIDEO_MUX_VID_MUX_CTRL_LCDIF2_SEL_MASK   (0x2U)
100303 #define VIDEO_MUX_VID_MUX_CTRL_LCDIF2_SEL_SHIFT  (1U)
100304 /*! LCDIF2_SEL - LCDIF2 sensor data input mux selector
100305  *  0b0..LCDIFv2 sensor data is from Parallel CSI
100306  *  0b1..LCDIFv2 sensor data is from MIPI CSI
100307  */
100308 #define VIDEO_MUX_VID_MUX_CTRL_LCDIF2_SEL(x)     (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_VID_MUX_CTRL_LCDIF2_SEL_SHIFT)) & VIDEO_MUX_VID_MUX_CTRL_LCDIF2_SEL_MASK)
100309 
100310 #define VIDEO_MUX_VID_MUX_CTRL_MIPI_DSI_SEL_MASK (0x4U)
100311 #define VIDEO_MUX_VID_MUX_CTRL_MIPI_DSI_SEL_SHIFT (2U)
100312 /*! MIPI_DSI_SEL - MIPI DSI video data input mux selector
100313  *  0b0..MIPI DSI video data is from eLCDIF
100314  *  0b1..MIPI DSI video data is from LCDIFv2
100315  */
100316 #define VIDEO_MUX_VID_MUX_CTRL_MIPI_DSI_SEL(x)   (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_VID_MUX_CTRL_MIPI_DSI_SEL_SHIFT)) & VIDEO_MUX_VID_MUX_CTRL_MIPI_DSI_SEL_MASK)
100317 
100318 #define VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL_MASK (0x8U)
100319 #define VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL_SHIFT (3U)
100320 /*! PARA_LCD_SEL - Parallel LCDIF video data input mux selector
100321  *  0b0..Parallel LCDIF video data is from eLCDIF
100322  *  0b1..Parallel LCDIF video data is from LCDIFv2
100323  */
100324 #define VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL(x)   (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL_SHIFT)) & VIDEO_MUX_VID_MUX_CTRL_PARA_LCD_SEL_MASK)
100325 /*! @} */
100326 
100327 /*! @name PLM_CTRL - Pixel Link Master(PLM) Control Register */
100328 /*! @{ */
100329 
100330 #define VIDEO_MUX_PLM_CTRL_ENABLE_MASK           (0x1U)
100331 #define VIDEO_MUX_PLM_CTRL_ENABLE_SHIFT          (0U)
100332 /*! ENABLE - Enable the output of HYSNC and VSYNC
100333  *  0b0..No active HSYNC and VSYNC output
100334  *  0b1..Active HSYNC and VSYNC output
100335  */
100336 #define VIDEO_MUX_PLM_CTRL_ENABLE(x)             (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_PLM_CTRL_ENABLE_SHIFT)) & VIDEO_MUX_PLM_CTRL_ENABLE_MASK)
100337 
100338 #define VIDEO_MUX_PLM_CTRL_VSYNC_OVERRIDE_MASK   (0x2U)
100339 #define VIDEO_MUX_PLM_CTRL_VSYNC_OVERRIDE_SHIFT  (1U)
100340 /*! VSYNC_OVERRIDE - VSYNC override
100341  *  0b1..VSYNC is asserted
100342  *  0b0..VSYNC is not asserted
100343  */
100344 #define VIDEO_MUX_PLM_CTRL_VSYNC_OVERRIDE(x)     (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_PLM_CTRL_VSYNC_OVERRIDE_SHIFT)) & VIDEO_MUX_PLM_CTRL_VSYNC_OVERRIDE_MASK)
100345 
100346 #define VIDEO_MUX_PLM_CTRL_HSYNC_OVERRIDE_MASK   (0x4U)
100347 #define VIDEO_MUX_PLM_CTRL_HSYNC_OVERRIDE_SHIFT  (2U)
100348 /*! HSYNC_OVERRIDE - HSYNC override
100349  *  0b1..HSYNC is asserted
100350  *  0b0..HSYNC is not asserted
100351  */
100352 #define VIDEO_MUX_PLM_CTRL_HSYNC_OVERRIDE(x)     (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_PLM_CTRL_HSYNC_OVERRIDE_SHIFT)) & VIDEO_MUX_PLM_CTRL_HSYNC_OVERRIDE_MASK)
100353 
100354 #define VIDEO_MUX_PLM_CTRL_VALID_OVERRIDE_MASK   (0x8U)
100355 #define VIDEO_MUX_PLM_CTRL_VALID_OVERRIDE_SHIFT  (3U)
100356 /*! VALID_OVERRIDE - Valid override
100357  *  0b0..HSYNC and VSYNC is asserted
100358  *  0b1..HSYNC and VSYNC is not asserted
100359  */
100360 #define VIDEO_MUX_PLM_CTRL_VALID_OVERRIDE(x)     (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_PLM_CTRL_VALID_OVERRIDE_SHIFT)) & VIDEO_MUX_PLM_CTRL_VALID_OVERRIDE_MASK)
100361 
100362 #define VIDEO_MUX_PLM_CTRL_POLARITY_MASK         (0x10U)
100363 #define VIDEO_MUX_PLM_CTRL_POLARITY_SHIFT        (4U)
100364 /*! POLARITY - Polarity of HYSNC/VSYNC
100365  *  0b0..Keep the current polarity of HSYNC and VSYNC
100366  *  0b1..Invert the polarity of HSYNC and VSYNC
100367  */
100368 #define VIDEO_MUX_PLM_CTRL_POLARITY(x)           (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_PLM_CTRL_POLARITY_SHIFT)) & VIDEO_MUX_PLM_CTRL_POLARITY_MASK)
100369 /*! @} */
100370 
100371 /*! @name YUV420_CTRL - YUV420 Control Register */
100372 /*! @{ */
100373 
100374 #define VIDEO_MUX_YUV420_CTRL_FST_LN_DATA_TYPE_MASK (0x1U)
100375 #define VIDEO_MUX_YUV420_CTRL_FST_LN_DATA_TYPE_SHIFT (0U)
100376 /*! FST_LN_DATA_TYPE - Data type of First Line
100377  *  0b0..Odd (default)
100378  *  0b1..Even
100379  */
100380 #define VIDEO_MUX_YUV420_CTRL_FST_LN_DATA_TYPE(x) (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_YUV420_CTRL_FST_LN_DATA_TYPE_SHIFT)) & VIDEO_MUX_YUV420_CTRL_FST_LN_DATA_TYPE_MASK)
100381 /*! @} */
100382 
100383 /*! @name CFG_DT_DISABLE - Data Disable Register */
100384 /*! @{ */
100385 
100386 #define VIDEO_MUX_CFG_DT_DISABLE_CFG_DT_DISABLE_MASK (0xFFFFFFU)
100387 #define VIDEO_MUX_CFG_DT_DISABLE_CFG_DT_DISABLE_SHIFT (0U)
100388 /*! CFG_DT_DISABLE - Data Type Disable
100389  */
100390 #define VIDEO_MUX_CFG_DT_DISABLE_CFG_DT_DISABLE(x) (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_CFG_DT_DISABLE_CFG_DT_DISABLE_SHIFT)) & VIDEO_MUX_CFG_DT_DISABLE_CFG_DT_DISABLE_MASK)
100391 /*! @} */
100392 
100393 /*! @name MIPI_DSI_CTRL - MIPI DSI Control Register */
100394 /*! @{ */
100395 
100396 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_SD_MASK      (0x1U)
100397 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_SD_SHIFT     (0U)
100398 /*! DPI_SD - Shut Down - Control to shutdown display (type 4 only)
100399  *  0b0..No effect
100400  *  0b1..Send shutdown command
100401  */
100402 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_SD(x)        (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_MIPI_DSI_CTRL_DPI_SD_SHIFT)) & VIDEO_MUX_MIPI_DSI_CTRL_DPI_SD_MASK)
100403 
100404 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_CM_MASK      (0x2U)
100405 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_CM_SHIFT     (1U)
100406 /*! DPI_CM - Color Mode control
100407  *  0b0..Normal Mode
100408  *  0b1..Low-color mode
100409  */
100410 #define VIDEO_MUX_MIPI_DSI_CTRL_DPI_CM(x)        (((uint32_t)(((uint32_t)(x)) << VIDEO_MUX_MIPI_DSI_CTRL_DPI_CM_SHIFT)) & VIDEO_MUX_MIPI_DSI_CTRL_DPI_CM_MASK)
100411 /*! @} */
100412 
100413 
100414 /*!
100415  * @}
100416  */ /* end of group VIDEO_MUX_Register_Masks */
100417 
100418 
100419 /* VIDEO_MUX - Peripheral instance base addresses */
100420 /** Peripheral VIDEO_MUX base address */
100421 #define VIDEO_MUX_BASE                           (0x40818000u)
100422 /** Peripheral VIDEO_MUX base pointer */
100423 #define VIDEO_MUX                                ((VIDEO_MUX_Type *)VIDEO_MUX_BASE)
100424 /** Array initializer of VIDEO_MUX peripheral base addresses */
100425 #define VIDEO_MUX_BASE_ADDRS                     { VIDEO_MUX_BASE }
100426 /** Array initializer of VIDEO_MUX peripheral base pointers */
100427 #define VIDEO_MUX_BASE_PTRS                      { VIDEO_MUX }
100428 
100429 /*!
100430  * @}
100431  */ /* end of group VIDEO_MUX_Peripheral_Access_Layer */
100432 
100433 
100434 /* ----------------------------------------------------------------------------
100435    -- VIDEO_PLL Peripheral Access Layer
100436    ---------------------------------------------------------------------------- */
100437 
100438 /*!
100439  * @addtogroup VIDEO_PLL_Peripheral_Access_Layer VIDEO_PLL Peripheral Access Layer
100440  * @{
100441  */
100442 
100443 /** VIDEO_PLL - Register Layout Typedef */
100444 typedef struct {
100445   struct {                                         /* offset: 0x0 */
100446     __IO uint32_t RW;                                /**< Fractional PLL Control Register, offset: 0x0 */
100447     __IO uint32_t SET;                               /**< Fractional PLL Control Register, offset: 0x4 */
100448     __IO uint32_t CLR;                               /**< Fractional PLL Control Register, offset: 0x8 */
100449     __IO uint32_t TOG;                               /**< Fractional PLL Control Register, offset: 0xC */
100450   } CTRL0;
100451   struct {                                         /* offset: 0x10 */
100452     __IO uint32_t RW;                                /**< Fractional PLL Spread Spectrum Control Register, offset: 0x10 */
100453     __IO uint32_t SET;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x14 */
100454     __IO uint32_t CLR;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x18 */
100455     __IO uint32_t TOG;                               /**< Fractional PLL Spread Spectrum Control Register, offset: 0x1C */
100456   } SPREAD_SPECTRUM;
100457   struct {                                         /* offset: 0x20 */
100458     __IO uint32_t RW;                                /**< Fractional PLL Numerator Control Register, offset: 0x20 */
100459     __IO uint32_t SET;                               /**< Fractional PLL Numerator Control Register, offset: 0x24 */
100460     __IO uint32_t CLR;                               /**< Fractional PLL Numerator Control Register, offset: 0x28 */
100461     __IO uint32_t TOG;                               /**< Fractional PLL Numerator Control Register, offset: 0x2C */
100462   } NUMERATOR;
100463   struct {                                         /* offset: 0x30 */
100464     __IO uint32_t RW;                                /**< Fractional PLL Denominator Control Register, offset: 0x30 */
100465     __IO uint32_t SET;                               /**< Fractional PLL Denominator Control Register, offset: 0x34 */
100466     __IO uint32_t CLR;                               /**< Fractional PLL Denominator Control Register, offset: 0x38 */
100467     __IO uint32_t TOG;                               /**< Fractional PLL Denominator Control Register, offset: 0x3C */
100468   } DENOMINATOR;
100469 } VIDEO_PLL_Type;
100470 
100471 /* ----------------------------------------------------------------------------
100472    -- VIDEO_PLL Register Masks
100473    ---------------------------------------------------------------------------- */
100474 
100475 /*!
100476  * @addtogroup VIDEO_PLL_Register_Masks VIDEO_PLL Register Masks
100477  * @{
100478  */
100479 
100480 /*! @name CTRL0 - Fractional PLL Control Register */
100481 /*! @{ */
100482 
100483 #define VIDEO_PLL_CTRL0_DIV_SELECT_MASK          (0x7FU)
100484 #define VIDEO_PLL_CTRL0_DIV_SELECT_SHIFT         (0U)
100485 /*! DIV_SELECT - DIV_SELECT
100486  */
100487 #define VIDEO_PLL_CTRL0_DIV_SELECT(x)            (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_DIV_SELECT_SHIFT)) & VIDEO_PLL_CTRL0_DIV_SELECT_MASK)
100488 
100489 #define VIDEO_PLL_CTRL0_ENABLE_ALT_MASK          (0x100U)
100490 #define VIDEO_PLL_CTRL0_ENABLE_ALT_SHIFT         (8U)
100491 /*! ENABLE_ALT - ENABLE_ALT
100492  *  0b0..Disable the alternate clock output
100493  *  0b1..Enable the alternate clock output which is the output of the post_divider, and cannot be bypassed
100494  */
100495 #define VIDEO_PLL_CTRL0_ENABLE_ALT(x)            (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_ENABLE_ALT_SHIFT)) & VIDEO_PLL_CTRL0_ENABLE_ALT_MASK)
100496 
100497 #define VIDEO_PLL_CTRL0_HOLD_RING_OFF_MASK       (0x2000U)
100498 #define VIDEO_PLL_CTRL0_HOLD_RING_OFF_SHIFT      (13U)
100499 /*! HOLD_RING_OFF - PLL Start up initialization
100500  *  0b0..Normal operation
100501  *  0b1..Initialize PLL start up
100502  */
100503 #define VIDEO_PLL_CTRL0_HOLD_RING_OFF(x)         (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_HOLD_RING_OFF_SHIFT)) & VIDEO_PLL_CTRL0_HOLD_RING_OFF_MASK)
100504 
100505 #define VIDEO_PLL_CTRL0_POWERUP_MASK             (0x4000U)
100506 #define VIDEO_PLL_CTRL0_POWERUP_SHIFT            (14U)
100507 /*! POWERUP - POWERUP
100508  *  0b1..Power Up the PLL
100509  *  0b0..Power down the PLL
100510  */
100511 #define VIDEO_PLL_CTRL0_POWERUP(x)               (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_POWERUP_SHIFT)) & VIDEO_PLL_CTRL0_POWERUP_MASK)
100512 
100513 #define VIDEO_PLL_CTRL0_ENABLE_MASK              (0x8000U)
100514 #define VIDEO_PLL_CTRL0_ENABLE_SHIFT             (15U)
100515 /*! ENABLE - ENABLE
100516  *  0b1..Enable the clock output
100517  *  0b0..Disable the clock output
100518  */
100519 #define VIDEO_PLL_CTRL0_ENABLE(x)                (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_ENABLE_SHIFT)) & VIDEO_PLL_CTRL0_ENABLE_MASK)
100520 
100521 #define VIDEO_PLL_CTRL0_BYPASS_MASK              (0x10000U)
100522 #define VIDEO_PLL_CTRL0_BYPASS_SHIFT             (16U)
100523 /*! BYPASS - BYPASS
100524  *  0b1..Bypass the PLL
100525  *  0b0..No Bypass
100526  */
100527 #define VIDEO_PLL_CTRL0_BYPASS(x)                (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_BYPASS_SHIFT)) & VIDEO_PLL_CTRL0_BYPASS_MASK)
100528 
100529 #define VIDEO_PLL_CTRL0_DITHER_EN_MASK           (0x20000U)
100530 #define VIDEO_PLL_CTRL0_DITHER_EN_SHIFT          (17U)
100531 /*! DITHER_EN - DITHER_EN
100532  *  0b0..Disable Dither
100533  *  0b1..Enable Dither
100534  */
100535 #define VIDEO_PLL_CTRL0_DITHER_EN(x)             (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_DITHER_EN_SHIFT)) & VIDEO_PLL_CTRL0_DITHER_EN_MASK)
100536 
100537 #define VIDEO_PLL_CTRL0_BIAS_TRIM_MASK           (0x380000U)
100538 #define VIDEO_PLL_CTRL0_BIAS_TRIM_SHIFT          (19U)
100539 /*! BIAS_TRIM - BIAS_TRIM
100540  */
100541 #define VIDEO_PLL_CTRL0_BIAS_TRIM(x)             (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_BIAS_TRIM_SHIFT)) & VIDEO_PLL_CTRL0_BIAS_TRIM_MASK)
100542 
100543 #define VIDEO_PLL_CTRL0_PLL_REG_EN_MASK          (0x400000U)
100544 #define VIDEO_PLL_CTRL0_PLL_REG_EN_SHIFT         (22U)
100545 /*! PLL_REG_EN - PLL_REG_EN
100546  */
100547 #define VIDEO_PLL_CTRL0_PLL_REG_EN(x)            (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_PLL_REG_EN_SHIFT)) & VIDEO_PLL_CTRL0_PLL_REG_EN_MASK)
100548 
100549 #define VIDEO_PLL_CTRL0_POST_DIV_SEL_MASK        (0xE000000U)
100550 #define VIDEO_PLL_CTRL0_POST_DIV_SEL_SHIFT       (25U)
100551 /*! POST_DIV_SEL - Post Divide Select
100552  *  0b000..Divide by 1
100553  *  0b001..Divide by 2
100554  *  0b010..Divide by 4
100555  *  0b011..Divide by 8
100556  *  0b100..Divide by 16
100557  *  0b101..Divide by 32
100558  */
100559 #define VIDEO_PLL_CTRL0_POST_DIV_SEL(x)          (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_POST_DIV_SEL_SHIFT)) & VIDEO_PLL_CTRL0_POST_DIV_SEL_MASK)
100560 
100561 #define VIDEO_PLL_CTRL0_BIAS_SELECT_MASK         (0x20000000U)
100562 #define VIDEO_PLL_CTRL0_BIAS_SELECT_SHIFT        (29U)
100563 /*! BIAS_SELECT - BIAS_SELECT
100564  *  0b0..Used in SoCs with a bias current of 10uA
100565  *  0b1..Used in SoCs with a bias current of 2uA
100566  */
100567 #define VIDEO_PLL_CTRL0_BIAS_SELECT(x)           (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_CTRL0_BIAS_SELECT_SHIFT)) & VIDEO_PLL_CTRL0_BIAS_SELECT_MASK)
100568 /*! @} */
100569 
100570 /*! @name SPREAD_SPECTRUM - Fractional PLL Spread Spectrum Control Register */
100571 /*! @{ */
100572 
100573 #define VIDEO_PLL_SPREAD_SPECTRUM_STEP_MASK      (0x7FFFU)
100574 #define VIDEO_PLL_SPREAD_SPECTRUM_STEP_SHIFT     (0U)
100575 /*! STEP - Step
100576  */
100577 #define VIDEO_PLL_SPREAD_SPECTRUM_STEP(x)        (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_SPREAD_SPECTRUM_STEP_SHIFT)) & VIDEO_PLL_SPREAD_SPECTRUM_STEP_MASK)
100578 
100579 #define VIDEO_PLL_SPREAD_SPECTRUM_ENABLE_MASK    (0x8000U)
100580 #define VIDEO_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT   (15U)
100581 /*! ENABLE - Enable
100582  */
100583 #define VIDEO_PLL_SPREAD_SPECTRUM_ENABLE(x)      (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_SPREAD_SPECTRUM_ENABLE_SHIFT)) & VIDEO_PLL_SPREAD_SPECTRUM_ENABLE_MASK)
100584 
100585 #define VIDEO_PLL_SPREAD_SPECTRUM_STOP_MASK      (0xFFFF0000U)
100586 #define VIDEO_PLL_SPREAD_SPECTRUM_STOP_SHIFT     (16U)
100587 /*! STOP - Stop
100588  */
100589 #define VIDEO_PLL_SPREAD_SPECTRUM_STOP(x)        (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_SPREAD_SPECTRUM_STOP_SHIFT)) & VIDEO_PLL_SPREAD_SPECTRUM_STOP_MASK)
100590 /*! @} */
100591 
100592 /*! @name NUMERATOR - Fractional PLL Numerator Control Register */
100593 /*! @{ */
100594 
100595 #define VIDEO_PLL_NUMERATOR_NUM_MASK             (0x3FFFFFFFU)
100596 #define VIDEO_PLL_NUMERATOR_NUM_SHIFT            (0U)
100597 /*! NUM - Numerator
100598  */
100599 #define VIDEO_PLL_NUMERATOR_NUM(x)               (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_NUMERATOR_NUM_SHIFT)) & VIDEO_PLL_NUMERATOR_NUM_MASK)
100600 /*! @} */
100601 
100602 /*! @name DENOMINATOR - Fractional PLL Denominator Control Register */
100603 /*! @{ */
100604 
100605 #define VIDEO_PLL_DENOMINATOR_DENOM_MASK         (0x3FFFFFFFU)
100606 #define VIDEO_PLL_DENOMINATOR_DENOM_SHIFT        (0U)
100607 /*! DENOM - Denominator
100608  */
100609 #define VIDEO_PLL_DENOMINATOR_DENOM(x)           (((uint32_t)(((uint32_t)(x)) << VIDEO_PLL_DENOMINATOR_DENOM_SHIFT)) & VIDEO_PLL_DENOMINATOR_DENOM_MASK)
100610 /*! @} */
100611 
100612 
100613 /*!
100614  * @}
100615  */ /* end of group VIDEO_PLL_Register_Masks */
100616 
100617 
100618 /* VIDEO_PLL - Peripheral instance base addresses */
100619 /** Peripheral VIDEO_PLL base address */
100620 #define VIDEO_PLL_BASE                           (0u)
100621 /** Peripheral VIDEO_PLL base pointer */
100622 #define VIDEO_PLL                                ((VIDEO_PLL_Type *)VIDEO_PLL_BASE)
100623 /** Array initializer of VIDEO_PLL peripheral base addresses */
100624 #define VIDEO_PLL_BASE_ADDRS                     { VIDEO_PLL_BASE }
100625 /** Array initializer of VIDEO_PLL peripheral base pointers */
100626 #define VIDEO_PLL_BASE_PTRS                      { VIDEO_PLL }
100627 
100628 /*!
100629  * @}
100630  */ /* end of group VIDEO_PLL_Peripheral_Access_Layer */
100631 
100632 
100633 /* ----------------------------------------------------------------------------
100634    -- VMBANDGAP Peripheral Access Layer
100635    ---------------------------------------------------------------------------- */
100636 
100637 /*!
100638  * @addtogroup VMBANDGAP_Peripheral_Access_Layer VMBANDGAP Peripheral Access Layer
100639  * @{
100640  */
100641 
100642 /** VMBANDGAP - Register Layout Typedef */
100643 typedef struct {
100644   struct {                                         /* offset: 0x0 */
100645     __IO uint32_t RW;                                /**< Analog Control Register CTRL0, offset: 0x0 */
100646     __IO uint32_t SET;                               /**< Analog Control Register CTRL0, offset: 0x4 */
100647     __IO uint32_t CLR;                               /**< Analog Control Register CTRL0, offset: 0x8 */
100648     __IO uint32_t TOG;                               /**< Analog Control Register CTRL0, offset: 0xC */
100649   } CTRL0;
100650        uint8_t RESERVED_0[64];
100651   struct {                                         /* offset: 0x50 */
100652     __I  uint32_t RW;                                /**< Analog Status Register STAT0, offset: 0x50 */
100653     __I  uint32_t SET;                               /**< Analog Status Register STAT0, offset: 0x54 */
100654     __I  uint32_t CLR;                               /**< Analog Status Register STAT0, offset: 0x58 */
100655     __I  uint32_t TOG;                               /**< Analog Status Register STAT0, offset: 0x5C */
100656   } STAT0;
100657 } VMBANDGAP_Type;
100658 
100659 /* ----------------------------------------------------------------------------
100660    -- VMBANDGAP Register Masks
100661    ---------------------------------------------------------------------------- */
100662 
100663 /*!
100664  * @addtogroup VMBANDGAP_Register_Masks VMBANDGAP Register Masks
100665  * @{
100666  */
100667 
100668 /*! @name CTRL0 - Analog Control Register CTRL0 */
100669 /*! @{ */
100670 
100671 #define VMBANDGAP_CTRL0_REFTOP_PWD_MASK          (0x1U)
100672 #define VMBANDGAP_CTRL0_REFTOP_PWD_SHIFT         (0U)
100673 /*! REFTOP_PWD - Master power-down for bandgap module
100674  */
100675 #define VMBANDGAP_CTRL0_REFTOP_PWD(x)            (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_CTRL0_REFTOP_PWD_SHIFT)) & VMBANDGAP_CTRL0_REFTOP_PWD_MASK)
100676 
100677 #define VMBANDGAP_CTRL0_REFTOP_LINREGREF_PWD_MASK (0x2U)
100678 #define VMBANDGAP_CTRL0_REFTOP_LINREGREF_PWD_SHIFT (1U)
100679 /*! REFTOP_LINREGREF_PWD - Power-down for bandgap voltage-reference buffer
100680  */
100681 #define VMBANDGAP_CTRL0_REFTOP_LINREGREF_PWD(x)  (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_CTRL0_REFTOP_LINREGREF_PWD_SHIFT)) & VMBANDGAP_CTRL0_REFTOP_LINREGREF_PWD_MASK)
100682 
100683 #define VMBANDGAP_CTRL0_REFTOP_PWDVBGUP_MASK     (0x4U)
100684 #define VMBANDGAP_CTRL0_REFTOP_PWDVBGUP_SHIFT    (2U)
100685 /*! REFTOP_PWDVBGUP - Power-down VBGUP detector in bandgap
100686  */
100687 #define VMBANDGAP_CTRL0_REFTOP_PWDVBGUP(x)       (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_CTRL0_REFTOP_PWDVBGUP_SHIFT)) & VMBANDGAP_CTRL0_REFTOP_PWDVBGUP_MASK)
100688 
100689 #define VMBANDGAP_CTRL0_REFTOP_LOWPOWER_MASK     (0x8U)
100690 #define VMBANDGAP_CTRL0_REFTOP_LOWPOWER_SHIFT    (3U)
100691 /*! REFTOP_LOWPOWER - Low-power control bit
100692  */
100693 #define VMBANDGAP_CTRL0_REFTOP_LOWPOWER(x)       (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_CTRL0_REFTOP_LOWPOWER_SHIFT)) & VMBANDGAP_CTRL0_REFTOP_LOWPOWER_MASK)
100694 
100695 #define VMBANDGAP_CTRL0_REFTOP_SELFBIASOFF_MASK  (0x10U)
100696 #define VMBANDGAP_CTRL0_REFTOP_SELFBIASOFF_SHIFT (4U)
100697 /*! REFTOP_SELFBIASOFF - bandgap self-bias control bit
100698  */
100699 #define VMBANDGAP_CTRL0_REFTOP_SELFBIASOFF(x)    (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_CTRL0_REFTOP_SELFBIASOFF_SHIFT)) & VMBANDGAP_CTRL0_REFTOP_SELFBIASOFF_MASK)
100700 /*! @} */
100701 
100702 /*! @name STAT0 - Analog Status Register STAT0 */
100703 /*! @{ */
100704 
100705 #define VMBANDGAP_STAT0_REFTOP_VBGUP_MASK        (0x1U)
100706 #define VMBANDGAP_STAT0_REFTOP_VBGUP_SHIFT       (0U)
100707 /*! REFTOP_VBGUP - Brief description here
100708  */
100709 #define VMBANDGAP_STAT0_REFTOP_VBGUP(x)          (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_STAT0_REFTOP_VBGUP_SHIFT)) & VMBANDGAP_STAT0_REFTOP_VBGUP_MASK)
100710 
100711 #define VMBANDGAP_STAT0_VDD1_PORB_MASK           (0x2U)
100712 #define VMBANDGAP_STAT0_VDD1_PORB_SHIFT          (1U)
100713 /*! VDD1_PORB - Brief description here
100714  */
100715 #define VMBANDGAP_STAT0_VDD1_PORB(x)             (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_STAT0_VDD1_PORB_SHIFT)) & VMBANDGAP_STAT0_VDD1_PORB_MASK)
100716 
100717 #define VMBANDGAP_STAT0_VDD2_PORB_MASK           (0x4U)
100718 #define VMBANDGAP_STAT0_VDD2_PORB_SHIFT          (2U)
100719 /*! VDD2_PORB - Brief description here
100720  */
100721 #define VMBANDGAP_STAT0_VDD2_PORB(x)             (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_STAT0_VDD2_PORB_SHIFT)) & VMBANDGAP_STAT0_VDD2_PORB_MASK)
100722 
100723 #define VMBANDGAP_STAT0_VDD3_PORB_MASK           (0x8U)
100724 #define VMBANDGAP_STAT0_VDD3_PORB_SHIFT          (3U)
100725 /*! VDD3_PORB - Brief description here
100726  */
100727 #define VMBANDGAP_STAT0_VDD3_PORB(x)             (((uint32_t)(((uint32_t)(x)) << VMBANDGAP_STAT0_VDD3_PORB_SHIFT)) & VMBANDGAP_STAT0_VDD3_PORB_MASK)
100728 /*! @} */
100729 
100730 
100731 /*!
100732  * @}
100733  */ /* end of group VMBANDGAP_Register_Masks */
100734 
100735 
100736 /* VMBANDGAP - Peripheral instance base addresses */
100737 /** Peripheral VMBANDGAP base address */
100738 #define VMBANDGAP_BASE                           (0u)
100739 /** Peripheral VMBANDGAP base pointer */
100740 #define VMBANDGAP                                ((VMBANDGAP_Type *)VMBANDGAP_BASE)
100741 /** Array initializer of VMBANDGAP peripheral base addresses */
100742 #define VMBANDGAP_BASE_ADDRS                     { VMBANDGAP_BASE }
100743 /** Array initializer of VMBANDGAP peripheral base pointers */
100744 #define VMBANDGAP_BASE_PTRS                      { VMBANDGAP }
100745 
100746 /*!
100747  * @}
100748  */ /* end of group VMBANDGAP_Peripheral_Access_Layer */
100749 
100750 
100751 /* ----------------------------------------------------------------------------
100752    -- WDOG Peripheral Access Layer
100753    ---------------------------------------------------------------------------- */
100754 
100755 /*!
100756  * @addtogroup WDOG_Peripheral_Access_Layer WDOG Peripheral Access Layer
100757  * @{
100758  */
100759 
100760 /** WDOG - Register Layout Typedef */
100761 typedef struct {
100762   __IO uint16_t WCR;                               /**< Watchdog Control Register, offset: 0x0 */
100763   __IO uint16_t WSR;                               /**< Watchdog Service Register, offset: 0x2 */
100764   __I  uint16_t WRSR;                              /**< Watchdog Reset Status Register, offset: 0x4 */
100765   __IO uint16_t WICR;                              /**< Watchdog Interrupt Control Register, offset: 0x6 */
100766   __IO uint16_t WMCR;                              /**< Watchdog Miscellaneous Control Register, offset: 0x8 */
100767 } WDOG_Type;
100768 
100769 /* ----------------------------------------------------------------------------
100770    -- WDOG Register Masks
100771    ---------------------------------------------------------------------------- */
100772 
100773 /*!
100774  * @addtogroup WDOG_Register_Masks WDOG Register Masks
100775  * @{
100776  */
100777 
100778 /*! @name WCR - Watchdog Control Register */
100779 /*! @{ */
100780 
100781 #define WDOG_WCR_WDZST_MASK                      (0x1U)
100782 #define WDOG_WCR_WDZST_SHIFT                     (0U)
100783 /*! WDZST - WDZST
100784  *  0b0..Continue timer operation (Default).
100785  *  0b1..Suspend the watchdog timer.
100786  */
100787 #define WDOG_WCR_WDZST(x)                        (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDZST_SHIFT)) & WDOG_WCR_WDZST_MASK)
100788 
100789 #define WDOG_WCR_WDBG_MASK                       (0x2U)
100790 #define WDOG_WCR_WDBG_SHIFT                      (1U)
100791 /*! WDBG - WDBG
100792  *  0b0..Continue WDOG timer operation (Default).
100793  *  0b1..Suspend the watchdog timer.
100794  */
100795 #define WDOG_WCR_WDBG(x)                         (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDBG_SHIFT)) & WDOG_WCR_WDBG_MASK)
100796 
100797 #define WDOG_WCR_WDE_MASK                        (0x4U)
100798 #define WDOG_WCR_WDE_SHIFT                       (2U)
100799 /*! WDE - WDE
100800  *  0b0..Disable the Watchdog (Default).
100801  *  0b1..Enable the Watchdog.
100802  */
100803 #define WDOG_WCR_WDE(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDE_SHIFT)) & WDOG_WCR_WDE_MASK)
100804 
100805 #define WDOG_WCR_WDT_MASK                        (0x8U)
100806 #define WDOG_WCR_WDT_SHIFT                       (3U)
100807 /*! WDT - WDT
100808  *  0b0..No effect on WDOG_B (Default).
100809  *  0b1..Assert WDOG_B upon a Watchdog Time-out event.
100810  */
100811 #define WDOG_WCR_WDT(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDT_SHIFT)) & WDOG_WCR_WDT_MASK)
100812 
100813 #define WDOG_WCR_SRS_MASK                        (0x10U)
100814 #define WDOG_WCR_SRS_SHIFT                       (4U)
100815 /*! SRS - SRS
100816  *  0b0..Assert system reset signal.
100817  *  0b1..No effect on the system (Default).
100818  */
100819 #define WDOG_WCR_SRS(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_SRS_SHIFT)) & WDOG_WCR_SRS_MASK)
100820 
100821 #define WDOG_WCR_WDA_MASK                        (0x20U)
100822 #define WDOG_WCR_WDA_SHIFT                       (5U)
100823 /*! WDA - WDA
100824  *  0b0..Assert WDOG_B output.
100825  *  0b1..No effect on system (Default).
100826  */
100827 #define WDOG_WCR_WDA(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDA_SHIFT)) & WDOG_WCR_WDA_MASK)
100828 
100829 #define WDOG_WCR_SRE_MASK                        (0x40U)
100830 #define WDOG_WCR_SRE_SHIFT                       (6U)
100831 /*! SRE - Software Reset Extension, an optional way to generate software reset
100832  *  0b0..using original way to generate software reset (default)
100833  *  0b1..using new way to generate software reset.
100834  */
100835 #define WDOG_WCR_SRE(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_SRE_SHIFT)) & WDOG_WCR_SRE_MASK)
100836 
100837 #define WDOG_WCR_WDW_MASK                        (0x80U)
100838 #define WDOG_WCR_WDW_SHIFT                       (7U)
100839 /*! WDW - WDW
100840  *  0b0..Continue WDOG timer operation (Default).
100841  *  0b1..Suspend WDOG timer operation.
100842  */
100843 #define WDOG_WCR_WDW(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WDW_SHIFT)) & WDOG_WCR_WDW_MASK)
100844 
100845 #define WDOG_WCR_WT_MASK                         (0xFF00U)
100846 #define WDOG_WCR_WT_SHIFT                        (8U)
100847 /*! WT - WT
100848  *  0b00000000..- 0.5 Seconds (Default).
100849  *  0b00000001..- 1.0 Seconds.
100850  *  0b00000010..- 1.5 Seconds.
100851  *  0b00000011..- 2.0 Seconds.
100852  *  0b11111111..- 128 Seconds.
100853  */
100854 #define WDOG_WCR_WT(x)                           (((uint16_t)(((uint16_t)(x)) << WDOG_WCR_WT_SHIFT)) & WDOG_WCR_WT_MASK)
100855 /*! @} */
100856 
100857 /*! @name WSR - Watchdog Service Register */
100858 /*! @{ */
100859 
100860 #define WDOG_WSR_WSR_MASK                        (0xFFFFU)
100861 #define WDOG_WSR_WSR_SHIFT                       (0U)
100862 /*! WSR - WSR
100863  *  0b0101010101010101..Write to the Watchdog Service Register (WDOG_WSR).
100864  *  0b1010101010101010..Write to the Watchdog Service Register (WDOG_WSR).
100865  */
100866 #define WDOG_WSR_WSR(x)                          (((uint16_t)(((uint16_t)(x)) << WDOG_WSR_WSR_SHIFT)) & WDOG_WSR_WSR_MASK)
100867 /*! @} */
100868 
100869 /*! @name WRSR - Watchdog Reset Status Register */
100870 /*! @{ */
100871 
100872 #define WDOG_WRSR_SFTW_MASK                      (0x1U)
100873 #define WDOG_WRSR_SFTW_SHIFT                     (0U)
100874 /*! SFTW - SFTW
100875  *  0b0..Reset is not the result of a software reset.
100876  *  0b1..Reset is the result of a software reset.
100877  */
100878 #define WDOG_WRSR_SFTW(x)                        (((uint16_t)(((uint16_t)(x)) << WDOG_WRSR_SFTW_SHIFT)) & WDOG_WRSR_SFTW_MASK)
100879 
100880 #define WDOG_WRSR_TOUT_MASK                      (0x2U)
100881 #define WDOG_WRSR_TOUT_SHIFT                     (1U)
100882 /*! TOUT - TOUT
100883  *  0b0..Reset is not the result of a WDOG timeout.
100884  *  0b1..Reset is the result of a WDOG timeout.
100885  */
100886 #define WDOG_WRSR_TOUT(x)                        (((uint16_t)(((uint16_t)(x)) << WDOG_WRSR_TOUT_SHIFT)) & WDOG_WRSR_TOUT_MASK)
100887 
100888 #define WDOG_WRSR_POR_MASK                       (0x10U)
100889 #define WDOG_WRSR_POR_SHIFT                      (4U)
100890 /*! POR - POR
100891  *  0b0..Reset is not the result of a power on reset.
100892  *  0b1..Reset is the result of a power on reset.
100893  */
100894 #define WDOG_WRSR_POR(x)                         (((uint16_t)(((uint16_t)(x)) << WDOG_WRSR_POR_SHIFT)) & WDOG_WRSR_POR_MASK)
100895 /*! @} */
100896 
100897 /*! @name WICR - Watchdog Interrupt Control Register */
100898 /*! @{ */
100899 
100900 #define WDOG_WICR_WICT_MASK                      (0xFFU)
100901 #define WDOG_WICR_WICT_SHIFT                     (0U)
100902 /*! WICT - WICT
100903  *  0b00000000..WICT[7:0] = Time duration between interrupt and time-out is 0 seconds.
100904  *  0b00000001..WICT[7:0] = Time duration between interrupt and time-out is 0.5 seconds.
100905  *  0b00000100..WICT[7:0] = Time duration between interrupt and time-out is 2 seconds (Default).
100906  *  0b11111111..WICT[7:0] = Time duration between interrupt and time-out is 127.5 seconds.
100907  */
100908 #define WDOG_WICR_WICT(x)                        (((uint16_t)(((uint16_t)(x)) << WDOG_WICR_WICT_SHIFT)) & WDOG_WICR_WICT_MASK)
100909 
100910 #define WDOG_WICR_WTIS_MASK                      (0x4000U)
100911 #define WDOG_WICR_WTIS_SHIFT                     (14U)
100912 /*! WTIS - WTIS
100913  *  0b0..No interrupt has occurred (Default).
100914  *  0b1..Interrupt has occurred
100915  */
100916 #define WDOG_WICR_WTIS(x)                        (((uint16_t)(((uint16_t)(x)) << WDOG_WICR_WTIS_SHIFT)) & WDOG_WICR_WTIS_MASK)
100917 
100918 #define WDOG_WICR_WIE_MASK                       (0x8000U)
100919 #define WDOG_WICR_WIE_SHIFT                      (15U)
100920 /*! WIE - WIE
100921  *  0b0..Disable Interrupt (Default).
100922  *  0b1..Enable Interrupt.
100923  */
100924 #define WDOG_WICR_WIE(x)                         (((uint16_t)(((uint16_t)(x)) << WDOG_WICR_WIE_SHIFT)) & WDOG_WICR_WIE_MASK)
100925 /*! @} */
100926 
100927 /*! @name WMCR - Watchdog Miscellaneous Control Register */
100928 /*! @{ */
100929 
100930 #define WDOG_WMCR_PDE_MASK                       (0x1U)
100931 #define WDOG_WMCR_PDE_SHIFT                      (0U)
100932 /*! PDE - PDE
100933  *  0b0..Power Down Counter of WDOG is disabled.
100934  *  0b1..Power Down Counter of WDOG is enabled (Default).
100935  */
100936 #define WDOG_WMCR_PDE(x)                         (((uint16_t)(((uint16_t)(x)) << WDOG_WMCR_PDE_SHIFT)) & WDOG_WMCR_PDE_MASK)
100937 /*! @} */
100938 
100939 
100940 /*!
100941  * @}
100942  */ /* end of group WDOG_Register_Masks */
100943 
100944 
100945 /* WDOG - Peripheral instance base addresses */
100946 /** Peripheral WDOG1 base address */
100947 #define WDOG1_BASE                               (0x40030000u)
100948 /** Peripheral WDOG1 base pointer */
100949 #define WDOG1                                    ((WDOG_Type *)WDOG1_BASE)
100950 /** Peripheral WDOG2 base address */
100951 #define WDOG2_BASE                               (0x40034000u)
100952 /** Peripheral WDOG2 base pointer */
100953 #define WDOG2                                    ((WDOG_Type *)WDOG2_BASE)
100954 /** Array initializer of WDOG peripheral base addresses */
100955 #define WDOG_BASE_ADDRS                          { 0u, WDOG1_BASE, WDOG2_BASE }
100956 /** Array initializer of WDOG peripheral base pointers */
100957 #define WDOG_BASE_PTRS                           { (WDOG_Type *)0u, WDOG1, WDOG2 }
100958 /** Interrupt vectors for the WDOG peripheral type */
100959 #define WDOG_IRQS                                { NotAvail_IRQn, WDOG1_IRQn, WDOG2_IRQn }
100960 
100961 /*!
100962  * @}
100963  */ /* end of group WDOG_Peripheral_Access_Layer */
100964 
100965 
100966 /* ----------------------------------------------------------------------------
100967    -- XBARA Peripheral Access Layer
100968    ---------------------------------------------------------------------------- */
100969 
100970 /*!
100971  * @addtogroup XBARA_Peripheral_Access_Layer XBARA Peripheral Access Layer
100972  * @{
100973  */
100974 
100975 /** XBARA - Register Layout Typedef */
100976 typedef struct {
100977   __IO uint16_t SEL0;                              /**< Crossbar A Select Register 0, offset: 0x0 */
100978   __IO uint16_t SEL1;                              /**< Crossbar A Select Register 1, offset: 0x2 */
100979   __IO uint16_t SEL2;                              /**< Crossbar A Select Register 2, offset: 0x4 */
100980   __IO uint16_t SEL3;                              /**< Crossbar A Select Register 3, offset: 0x6 */
100981   __IO uint16_t SEL4;                              /**< Crossbar A Select Register 4, offset: 0x8 */
100982   __IO uint16_t SEL5;                              /**< Crossbar A Select Register 5, offset: 0xA */
100983   __IO uint16_t SEL6;                              /**< Crossbar A Select Register 6, offset: 0xC */
100984   __IO uint16_t SEL7;                              /**< Crossbar A Select Register 7, offset: 0xE */
100985   __IO uint16_t SEL8;                              /**< Crossbar A Select Register 8, offset: 0x10 */
100986   __IO uint16_t SEL9;                              /**< Crossbar A Select Register 9, offset: 0x12 */
100987   __IO uint16_t SEL10;                             /**< Crossbar A Select Register 10, offset: 0x14 */
100988   __IO uint16_t SEL11;                             /**< Crossbar A Select Register 11, offset: 0x16 */
100989   __IO uint16_t SEL12;                             /**< Crossbar A Select Register 12, offset: 0x18 */
100990   __IO uint16_t SEL13;                             /**< Crossbar A Select Register 13, offset: 0x1A */
100991   __IO uint16_t SEL14;                             /**< Crossbar A Select Register 14, offset: 0x1C */
100992   __IO uint16_t SEL15;                             /**< Crossbar A Select Register 15, offset: 0x1E */
100993   __IO uint16_t SEL16;                             /**< Crossbar A Select Register 16, offset: 0x20 */
100994   __IO uint16_t SEL17;                             /**< Crossbar A Select Register 17, offset: 0x22 */
100995   __IO uint16_t SEL18;                             /**< Crossbar A Select Register 18, offset: 0x24 */
100996   __IO uint16_t SEL19;                             /**< Crossbar A Select Register 19, offset: 0x26 */
100997   __IO uint16_t SEL20;                             /**< Crossbar A Select Register 20, offset: 0x28 */
100998   __IO uint16_t SEL21;                             /**< Crossbar A Select Register 21, offset: 0x2A */
100999   __IO uint16_t SEL22;                             /**< Crossbar A Select Register 22, offset: 0x2C */
101000   __IO uint16_t SEL23;                             /**< Crossbar A Select Register 23, offset: 0x2E */
101001   __IO uint16_t SEL24;                             /**< Crossbar A Select Register 24, offset: 0x30 */
101002   __IO uint16_t SEL25;                             /**< Crossbar A Select Register 25, offset: 0x32 */
101003   __IO uint16_t SEL26;                             /**< Crossbar A Select Register 26, offset: 0x34 */
101004   __IO uint16_t SEL27;                             /**< Crossbar A Select Register 27, offset: 0x36 */
101005   __IO uint16_t SEL28;                             /**< Crossbar A Select Register 28, offset: 0x38 */
101006   __IO uint16_t SEL29;                             /**< Crossbar A Select Register 29, offset: 0x3A */
101007   __IO uint16_t SEL30;                             /**< Crossbar A Select Register 30, offset: 0x3C */
101008   __IO uint16_t SEL31;                             /**< Crossbar A Select Register 31, offset: 0x3E */
101009   __IO uint16_t SEL32;                             /**< Crossbar A Select Register 32, offset: 0x40 */
101010   __IO uint16_t SEL33;                             /**< Crossbar A Select Register 33, offset: 0x42 */
101011   __IO uint16_t SEL34;                             /**< Crossbar A Select Register 34, offset: 0x44 */
101012   __IO uint16_t SEL35;                             /**< Crossbar A Select Register 35, offset: 0x46 */
101013   __IO uint16_t SEL36;                             /**< Crossbar A Select Register 36, offset: 0x48 */
101014   __IO uint16_t SEL37;                             /**< Crossbar A Select Register 37, offset: 0x4A */
101015   __IO uint16_t SEL38;                             /**< Crossbar A Select Register 38, offset: 0x4C */
101016   __IO uint16_t SEL39;                             /**< Crossbar A Select Register 39, offset: 0x4E */
101017   __IO uint16_t SEL40;                             /**< Crossbar A Select Register 40, offset: 0x50 */
101018   __IO uint16_t SEL41;                             /**< Crossbar A Select Register 41, offset: 0x52 */
101019   __IO uint16_t SEL42;                             /**< Crossbar A Select Register 42, offset: 0x54 */
101020   __IO uint16_t SEL43;                             /**< Crossbar A Select Register 43, offset: 0x56 */
101021   __IO uint16_t SEL44;                             /**< Crossbar A Select Register 44, offset: 0x58 */
101022   __IO uint16_t SEL45;                             /**< Crossbar A Select Register 45, offset: 0x5A */
101023   __IO uint16_t SEL46;                             /**< Crossbar A Select Register 46, offset: 0x5C */
101024   __IO uint16_t SEL47;                             /**< Crossbar A Select Register 47, offset: 0x5E */
101025   __IO uint16_t SEL48;                             /**< Crossbar A Select Register 48, offset: 0x60 */
101026   __IO uint16_t SEL49;                             /**< Crossbar A Select Register 49, offset: 0x62 */
101027   __IO uint16_t SEL50;                             /**< Crossbar A Select Register 50, offset: 0x64 */
101028   __IO uint16_t SEL51;                             /**< Crossbar A Select Register 51, offset: 0x66 */
101029   __IO uint16_t SEL52;                             /**< Crossbar A Select Register 52, offset: 0x68 */
101030   __IO uint16_t SEL53;                             /**< Crossbar A Select Register 53, offset: 0x6A */
101031   __IO uint16_t SEL54;                             /**< Crossbar A Select Register 54, offset: 0x6C */
101032   __IO uint16_t SEL55;                             /**< Crossbar A Select Register 55, offset: 0x6E */
101033   __IO uint16_t SEL56;                             /**< Crossbar A Select Register 56, offset: 0x70 */
101034   __IO uint16_t SEL57;                             /**< Crossbar A Select Register 57, offset: 0x72 */
101035   __IO uint16_t SEL58;                             /**< Crossbar A Select Register 58, offset: 0x74 */
101036   __IO uint16_t SEL59;                             /**< Crossbar A Select Register 59, offset: 0x76 */
101037   __IO uint16_t SEL60;                             /**< Crossbar A Select Register 60, offset: 0x78 */
101038   __IO uint16_t SEL61;                             /**< Crossbar A Select Register 61, offset: 0x7A */
101039   __IO uint16_t SEL62;                             /**< Crossbar A Select Register 62, offset: 0x7C */
101040   __IO uint16_t SEL63;                             /**< Crossbar A Select Register 63, offset: 0x7E */
101041   __IO uint16_t SEL64;                             /**< Crossbar A Select Register 64, offset: 0x80 */
101042   __IO uint16_t SEL65;                             /**< Crossbar A Select Register 65, offset: 0x82 */
101043   __IO uint16_t SEL66;                             /**< Crossbar A Select Register 66, offset: 0x84 */
101044   __IO uint16_t SEL67;                             /**< Crossbar A Select Register 67, offset: 0x86 */
101045   __IO uint16_t SEL68;                             /**< Crossbar A Select Register 68, offset: 0x88 */
101046   __IO uint16_t SEL69;                             /**< Crossbar A Select Register 69, offset: 0x8A */
101047   __IO uint16_t SEL70;                             /**< Crossbar A Select Register 70, offset: 0x8C */
101048   __IO uint16_t SEL71;                             /**< Crossbar A Select Register 71, offset: 0x8E */
101049   __IO uint16_t SEL72;                             /**< Crossbar A Select Register 72, offset: 0x90 */
101050   __IO uint16_t SEL73;                             /**< Crossbar A Select Register 73, offset: 0x92 */
101051   __IO uint16_t SEL74;                             /**< Crossbar A Select Register 74, offset: 0x94 */
101052   __IO uint16_t SEL75;                             /**< Crossbar A Select Register 75, offset: 0x96 */
101053   __IO uint16_t SEL76;                             /**< Crossbar A Select Register 76, offset: 0x98 */
101054   __IO uint16_t SEL77;                             /**< Crossbar A Select Register 77, offset: 0x9A */
101055   __IO uint16_t SEL78;                             /**< Crossbar A Select Register 78, offset: 0x9C */
101056   __IO uint16_t SEL79;                             /**< Crossbar A Select Register 79, offset: 0x9E */
101057   __IO uint16_t SEL80;                             /**< Crossbar A Select Register 80, offset: 0xA0 */
101058   __IO uint16_t SEL81;                             /**< Crossbar A Select Register 81, offset: 0xA2 */
101059   __IO uint16_t SEL82;                             /**< Crossbar A Select Register 82, offset: 0xA4 */
101060   __IO uint16_t SEL83;                             /**< Crossbar A Select Register 83, offset: 0xA6 */
101061   __IO uint16_t SEL84;                             /**< Crossbar A Select Register 84, offset: 0xA8 */
101062   __IO uint16_t SEL85;                             /**< Crossbar A Select Register 85, offset: 0xAA */
101063   __IO uint16_t SEL86;                             /**< Crossbar A Select Register 86, offset: 0xAC */
101064   __IO uint16_t SEL87;                             /**< Crossbar A Select Register 87, offset: 0xAE */
101065   __IO uint16_t CTRL0;                             /**< Crossbar A Control Register 0, offset: 0xB0 */
101066   __IO uint16_t CTRL1;                             /**< Crossbar A Control Register 1, offset: 0xB2 */
101067 } XBARA_Type;
101068 
101069 /* ----------------------------------------------------------------------------
101070    -- XBARA Register Masks
101071    ---------------------------------------------------------------------------- */
101072 
101073 /*!
101074  * @addtogroup XBARA_Register_Masks XBARA Register Masks
101075  * @{
101076  */
101077 
101078 /*! @name SEL0 - Crossbar A Select Register 0 */
101079 /*! @{ */
101080 
101081 #define XBARA_SEL0_SEL0_MASK                     (0xFFU)
101082 #define XBARA_SEL0_SEL0_SHIFT                    (0U)
101083 #define XBARA_SEL0_SEL0(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL0_SEL0_SHIFT)) & XBARA_SEL0_SEL0_MASK)
101084 
101085 #define XBARA_SEL0_SEL1_MASK                     (0xFF00U)
101086 #define XBARA_SEL0_SEL1_SHIFT                    (8U)
101087 #define XBARA_SEL0_SEL1(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL0_SEL1_SHIFT)) & XBARA_SEL0_SEL1_MASK)
101088 /*! @} */
101089 
101090 /*! @name SEL1 - Crossbar A Select Register 1 */
101091 /*! @{ */
101092 
101093 #define XBARA_SEL1_SEL2_MASK                     (0xFFU)
101094 #define XBARA_SEL1_SEL2_SHIFT                    (0U)
101095 #define XBARA_SEL1_SEL2(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL1_SEL2_SHIFT)) & XBARA_SEL1_SEL2_MASK)
101096 
101097 #define XBARA_SEL1_SEL3_MASK                     (0xFF00U)
101098 #define XBARA_SEL1_SEL3_SHIFT                    (8U)
101099 #define XBARA_SEL1_SEL3(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL1_SEL3_SHIFT)) & XBARA_SEL1_SEL3_MASK)
101100 /*! @} */
101101 
101102 /*! @name SEL2 - Crossbar A Select Register 2 */
101103 /*! @{ */
101104 
101105 #define XBARA_SEL2_SEL4_MASK                     (0xFFU)
101106 #define XBARA_SEL2_SEL4_SHIFT                    (0U)
101107 #define XBARA_SEL2_SEL4(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL2_SEL4_SHIFT)) & XBARA_SEL2_SEL4_MASK)
101108 
101109 #define XBARA_SEL2_SEL5_MASK                     (0xFF00U)
101110 #define XBARA_SEL2_SEL5_SHIFT                    (8U)
101111 #define XBARA_SEL2_SEL5(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL2_SEL5_SHIFT)) & XBARA_SEL2_SEL5_MASK)
101112 /*! @} */
101113 
101114 /*! @name SEL3 - Crossbar A Select Register 3 */
101115 /*! @{ */
101116 
101117 #define XBARA_SEL3_SEL6_MASK                     (0xFFU)
101118 #define XBARA_SEL3_SEL6_SHIFT                    (0U)
101119 #define XBARA_SEL3_SEL6(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL3_SEL6_SHIFT)) & XBARA_SEL3_SEL6_MASK)
101120 
101121 #define XBARA_SEL3_SEL7_MASK                     (0xFF00U)
101122 #define XBARA_SEL3_SEL7_SHIFT                    (8U)
101123 #define XBARA_SEL3_SEL7(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL3_SEL7_SHIFT)) & XBARA_SEL3_SEL7_MASK)
101124 /*! @} */
101125 
101126 /*! @name SEL4 - Crossbar A Select Register 4 */
101127 /*! @{ */
101128 
101129 #define XBARA_SEL4_SEL8_MASK                     (0xFFU)
101130 #define XBARA_SEL4_SEL8_SHIFT                    (0U)
101131 #define XBARA_SEL4_SEL8(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL4_SEL8_SHIFT)) & XBARA_SEL4_SEL8_MASK)
101132 
101133 #define XBARA_SEL4_SEL9_MASK                     (0xFF00U)
101134 #define XBARA_SEL4_SEL9_SHIFT                    (8U)
101135 #define XBARA_SEL4_SEL9(x)                       (((uint16_t)(((uint16_t)(x)) << XBARA_SEL4_SEL9_SHIFT)) & XBARA_SEL4_SEL9_MASK)
101136 /*! @} */
101137 
101138 /*! @name SEL5 - Crossbar A Select Register 5 */
101139 /*! @{ */
101140 
101141 #define XBARA_SEL5_SEL10_MASK                    (0xFFU)
101142 #define XBARA_SEL5_SEL10_SHIFT                   (0U)
101143 #define XBARA_SEL5_SEL10(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL5_SEL10_SHIFT)) & XBARA_SEL5_SEL10_MASK)
101144 
101145 #define XBARA_SEL5_SEL11_MASK                    (0xFF00U)
101146 #define XBARA_SEL5_SEL11_SHIFT                   (8U)
101147 #define XBARA_SEL5_SEL11(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL5_SEL11_SHIFT)) & XBARA_SEL5_SEL11_MASK)
101148 /*! @} */
101149 
101150 /*! @name SEL6 - Crossbar A Select Register 6 */
101151 /*! @{ */
101152 
101153 #define XBARA_SEL6_SEL12_MASK                    (0xFFU)
101154 #define XBARA_SEL6_SEL12_SHIFT                   (0U)
101155 #define XBARA_SEL6_SEL12(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL6_SEL12_SHIFT)) & XBARA_SEL6_SEL12_MASK)
101156 
101157 #define XBARA_SEL6_SEL13_MASK                    (0xFF00U)
101158 #define XBARA_SEL6_SEL13_SHIFT                   (8U)
101159 #define XBARA_SEL6_SEL13(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL6_SEL13_SHIFT)) & XBARA_SEL6_SEL13_MASK)
101160 /*! @} */
101161 
101162 /*! @name SEL7 - Crossbar A Select Register 7 */
101163 /*! @{ */
101164 
101165 #define XBARA_SEL7_SEL14_MASK                    (0xFFU)
101166 #define XBARA_SEL7_SEL14_SHIFT                   (0U)
101167 #define XBARA_SEL7_SEL14(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL7_SEL14_SHIFT)) & XBARA_SEL7_SEL14_MASK)
101168 
101169 #define XBARA_SEL7_SEL15_MASK                    (0xFF00U)
101170 #define XBARA_SEL7_SEL15_SHIFT                   (8U)
101171 #define XBARA_SEL7_SEL15(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL7_SEL15_SHIFT)) & XBARA_SEL7_SEL15_MASK)
101172 /*! @} */
101173 
101174 /*! @name SEL8 - Crossbar A Select Register 8 */
101175 /*! @{ */
101176 
101177 #define XBARA_SEL8_SEL16_MASK                    (0xFFU)
101178 #define XBARA_SEL8_SEL16_SHIFT                   (0U)
101179 #define XBARA_SEL8_SEL16(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL8_SEL16_SHIFT)) & XBARA_SEL8_SEL16_MASK)
101180 
101181 #define XBARA_SEL8_SEL17_MASK                    (0xFF00U)
101182 #define XBARA_SEL8_SEL17_SHIFT                   (8U)
101183 #define XBARA_SEL8_SEL17(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL8_SEL17_SHIFT)) & XBARA_SEL8_SEL17_MASK)
101184 /*! @} */
101185 
101186 /*! @name SEL9 - Crossbar A Select Register 9 */
101187 /*! @{ */
101188 
101189 #define XBARA_SEL9_SEL18_MASK                    (0xFFU)
101190 #define XBARA_SEL9_SEL18_SHIFT                   (0U)
101191 #define XBARA_SEL9_SEL18(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL9_SEL18_SHIFT)) & XBARA_SEL9_SEL18_MASK)
101192 
101193 #define XBARA_SEL9_SEL19_MASK                    (0xFF00U)
101194 #define XBARA_SEL9_SEL19_SHIFT                   (8U)
101195 #define XBARA_SEL9_SEL19(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_SEL9_SEL19_SHIFT)) & XBARA_SEL9_SEL19_MASK)
101196 /*! @} */
101197 
101198 /*! @name SEL10 - Crossbar A Select Register 10 */
101199 /*! @{ */
101200 
101201 #define XBARA_SEL10_SEL20_MASK                   (0xFFU)
101202 #define XBARA_SEL10_SEL20_SHIFT                  (0U)
101203 #define XBARA_SEL10_SEL20(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL10_SEL20_SHIFT)) & XBARA_SEL10_SEL20_MASK)
101204 
101205 #define XBARA_SEL10_SEL21_MASK                   (0xFF00U)
101206 #define XBARA_SEL10_SEL21_SHIFT                  (8U)
101207 #define XBARA_SEL10_SEL21(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL10_SEL21_SHIFT)) & XBARA_SEL10_SEL21_MASK)
101208 /*! @} */
101209 
101210 /*! @name SEL11 - Crossbar A Select Register 11 */
101211 /*! @{ */
101212 
101213 #define XBARA_SEL11_SEL22_MASK                   (0xFFU)
101214 #define XBARA_SEL11_SEL22_SHIFT                  (0U)
101215 #define XBARA_SEL11_SEL22(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL11_SEL22_SHIFT)) & XBARA_SEL11_SEL22_MASK)
101216 
101217 #define XBARA_SEL11_SEL23_MASK                   (0xFF00U)
101218 #define XBARA_SEL11_SEL23_SHIFT                  (8U)
101219 #define XBARA_SEL11_SEL23(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL11_SEL23_SHIFT)) & XBARA_SEL11_SEL23_MASK)
101220 /*! @} */
101221 
101222 /*! @name SEL12 - Crossbar A Select Register 12 */
101223 /*! @{ */
101224 
101225 #define XBARA_SEL12_SEL24_MASK                   (0xFFU)
101226 #define XBARA_SEL12_SEL24_SHIFT                  (0U)
101227 #define XBARA_SEL12_SEL24(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL12_SEL24_SHIFT)) & XBARA_SEL12_SEL24_MASK)
101228 
101229 #define XBARA_SEL12_SEL25_MASK                   (0xFF00U)
101230 #define XBARA_SEL12_SEL25_SHIFT                  (8U)
101231 #define XBARA_SEL12_SEL25(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL12_SEL25_SHIFT)) & XBARA_SEL12_SEL25_MASK)
101232 /*! @} */
101233 
101234 /*! @name SEL13 - Crossbar A Select Register 13 */
101235 /*! @{ */
101236 
101237 #define XBARA_SEL13_SEL26_MASK                   (0xFFU)
101238 #define XBARA_SEL13_SEL26_SHIFT                  (0U)
101239 #define XBARA_SEL13_SEL26(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL13_SEL26_SHIFT)) & XBARA_SEL13_SEL26_MASK)
101240 
101241 #define XBARA_SEL13_SEL27_MASK                   (0xFF00U)
101242 #define XBARA_SEL13_SEL27_SHIFT                  (8U)
101243 #define XBARA_SEL13_SEL27(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL13_SEL27_SHIFT)) & XBARA_SEL13_SEL27_MASK)
101244 /*! @} */
101245 
101246 /*! @name SEL14 - Crossbar A Select Register 14 */
101247 /*! @{ */
101248 
101249 #define XBARA_SEL14_SEL28_MASK                   (0xFFU)
101250 #define XBARA_SEL14_SEL28_SHIFT                  (0U)
101251 #define XBARA_SEL14_SEL28(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL14_SEL28_SHIFT)) & XBARA_SEL14_SEL28_MASK)
101252 
101253 #define XBARA_SEL14_SEL29_MASK                   (0xFF00U)
101254 #define XBARA_SEL14_SEL29_SHIFT                  (8U)
101255 #define XBARA_SEL14_SEL29(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL14_SEL29_SHIFT)) & XBARA_SEL14_SEL29_MASK)
101256 /*! @} */
101257 
101258 /*! @name SEL15 - Crossbar A Select Register 15 */
101259 /*! @{ */
101260 
101261 #define XBARA_SEL15_SEL30_MASK                   (0xFFU)
101262 #define XBARA_SEL15_SEL30_SHIFT                  (0U)
101263 #define XBARA_SEL15_SEL30(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL15_SEL30_SHIFT)) & XBARA_SEL15_SEL30_MASK)
101264 
101265 #define XBARA_SEL15_SEL31_MASK                   (0xFF00U)
101266 #define XBARA_SEL15_SEL31_SHIFT                  (8U)
101267 #define XBARA_SEL15_SEL31(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL15_SEL31_SHIFT)) & XBARA_SEL15_SEL31_MASK)
101268 /*! @} */
101269 
101270 /*! @name SEL16 - Crossbar A Select Register 16 */
101271 /*! @{ */
101272 
101273 #define XBARA_SEL16_SEL32_MASK                   (0xFFU)
101274 #define XBARA_SEL16_SEL32_SHIFT                  (0U)
101275 #define XBARA_SEL16_SEL32(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL16_SEL32_SHIFT)) & XBARA_SEL16_SEL32_MASK)
101276 
101277 #define XBARA_SEL16_SEL33_MASK                   (0xFF00U)
101278 #define XBARA_SEL16_SEL33_SHIFT                  (8U)
101279 #define XBARA_SEL16_SEL33(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL16_SEL33_SHIFT)) & XBARA_SEL16_SEL33_MASK)
101280 /*! @} */
101281 
101282 /*! @name SEL17 - Crossbar A Select Register 17 */
101283 /*! @{ */
101284 
101285 #define XBARA_SEL17_SEL34_MASK                   (0xFFU)
101286 #define XBARA_SEL17_SEL34_SHIFT                  (0U)
101287 #define XBARA_SEL17_SEL34(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL17_SEL34_SHIFT)) & XBARA_SEL17_SEL34_MASK)
101288 
101289 #define XBARA_SEL17_SEL35_MASK                   (0xFF00U)
101290 #define XBARA_SEL17_SEL35_SHIFT                  (8U)
101291 #define XBARA_SEL17_SEL35(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL17_SEL35_SHIFT)) & XBARA_SEL17_SEL35_MASK)
101292 /*! @} */
101293 
101294 /*! @name SEL18 - Crossbar A Select Register 18 */
101295 /*! @{ */
101296 
101297 #define XBARA_SEL18_SEL36_MASK                   (0xFFU)
101298 #define XBARA_SEL18_SEL36_SHIFT                  (0U)
101299 #define XBARA_SEL18_SEL36(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL18_SEL36_SHIFT)) & XBARA_SEL18_SEL36_MASK)
101300 
101301 #define XBARA_SEL18_SEL37_MASK                   (0xFF00U)
101302 #define XBARA_SEL18_SEL37_SHIFT                  (8U)
101303 #define XBARA_SEL18_SEL37(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL18_SEL37_SHIFT)) & XBARA_SEL18_SEL37_MASK)
101304 /*! @} */
101305 
101306 /*! @name SEL19 - Crossbar A Select Register 19 */
101307 /*! @{ */
101308 
101309 #define XBARA_SEL19_SEL38_MASK                   (0xFFU)
101310 #define XBARA_SEL19_SEL38_SHIFT                  (0U)
101311 #define XBARA_SEL19_SEL38(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL19_SEL38_SHIFT)) & XBARA_SEL19_SEL38_MASK)
101312 
101313 #define XBARA_SEL19_SEL39_MASK                   (0xFF00U)
101314 #define XBARA_SEL19_SEL39_SHIFT                  (8U)
101315 #define XBARA_SEL19_SEL39(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL19_SEL39_SHIFT)) & XBARA_SEL19_SEL39_MASK)
101316 /*! @} */
101317 
101318 /*! @name SEL20 - Crossbar A Select Register 20 */
101319 /*! @{ */
101320 
101321 #define XBARA_SEL20_SEL40_MASK                   (0xFFU)
101322 #define XBARA_SEL20_SEL40_SHIFT                  (0U)
101323 #define XBARA_SEL20_SEL40(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL20_SEL40_SHIFT)) & XBARA_SEL20_SEL40_MASK)
101324 
101325 #define XBARA_SEL20_SEL41_MASK                   (0xFF00U)
101326 #define XBARA_SEL20_SEL41_SHIFT                  (8U)
101327 #define XBARA_SEL20_SEL41(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL20_SEL41_SHIFT)) & XBARA_SEL20_SEL41_MASK)
101328 /*! @} */
101329 
101330 /*! @name SEL21 - Crossbar A Select Register 21 */
101331 /*! @{ */
101332 
101333 #define XBARA_SEL21_SEL42_MASK                   (0xFFU)
101334 #define XBARA_SEL21_SEL42_SHIFT                  (0U)
101335 #define XBARA_SEL21_SEL42(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL21_SEL42_SHIFT)) & XBARA_SEL21_SEL42_MASK)
101336 
101337 #define XBARA_SEL21_SEL43_MASK                   (0xFF00U)
101338 #define XBARA_SEL21_SEL43_SHIFT                  (8U)
101339 #define XBARA_SEL21_SEL43(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL21_SEL43_SHIFT)) & XBARA_SEL21_SEL43_MASK)
101340 /*! @} */
101341 
101342 /*! @name SEL22 - Crossbar A Select Register 22 */
101343 /*! @{ */
101344 
101345 #define XBARA_SEL22_SEL44_MASK                   (0xFFU)
101346 #define XBARA_SEL22_SEL44_SHIFT                  (0U)
101347 #define XBARA_SEL22_SEL44(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL22_SEL44_SHIFT)) & XBARA_SEL22_SEL44_MASK)
101348 
101349 #define XBARA_SEL22_SEL45_MASK                   (0xFF00U)
101350 #define XBARA_SEL22_SEL45_SHIFT                  (8U)
101351 #define XBARA_SEL22_SEL45(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL22_SEL45_SHIFT)) & XBARA_SEL22_SEL45_MASK)
101352 /*! @} */
101353 
101354 /*! @name SEL23 - Crossbar A Select Register 23 */
101355 /*! @{ */
101356 
101357 #define XBARA_SEL23_SEL46_MASK                   (0xFFU)
101358 #define XBARA_SEL23_SEL46_SHIFT                  (0U)
101359 #define XBARA_SEL23_SEL46(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL23_SEL46_SHIFT)) & XBARA_SEL23_SEL46_MASK)
101360 
101361 #define XBARA_SEL23_SEL47_MASK                   (0xFF00U)
101362 #define XBARA_SEL23_SEL47_SHIFT                  (8U)
101363 #define XBARA_SEL23_SEL47(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL23_SEL47_SHIFT)) & XBARA_SEL23_SEL47_MASK)
101364 /*! @} */
101365 
101366 /*! @name SEL24 - Crossbar A Select Register 24 */
101367 /*! @{ */
101368 
101369 #define XBARA_SEL24_SEL48_MASK                   (0xFFU)
101370 #define XBARA_SEL24_SEL48_SHIFT                  (0U)
101371 #define XBARA_SEL24_SEL48(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL24_SEL48_SHIFT)) & XBARA_SEL24_SEL48_MASK)
101372 
101373 #define XBARA_SEL24_SEL49_MASK                   (0xFF00U)
101374 #define XBARA_SEL24_SEL49_SHIFT                  (8U)
101375 #define XBARA_SEL24_SEL49(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL24_SEL49_SHIFT)) & XBARA_SEL24_SEL49_MASK)
101376 /*! @} */
101377 
101378 /*! @name SEL25 - Crossbar A Select Register 25 */
101379 /*! @{ */
101380 
101381 #define XBARA_SEL25_SEL50_MASK                   (0xFFU)
101382 #define XBARA_SEL25_SEL50_SHIFT                  (0U)
101383 #define XBARA_SEL25_SEL50(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL25_SEL50_SHIFT)) & XBARA_SEL25_SEL50_MASK)
101384 
101385 #define XBARA_SEL25_SEL51_MASK                   (0xFF00U)
101386 #define XBARA_SEL25_SEL51_SHIFT                  (8U)
101387 #define XBARA_SEL25_SEL51(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL25_SEL51_SHIFT)) & XBARA_SEL25_SEL51_MASK)
101388 /*! @} */
101389 
101390 /*! @name SEL26 - Crossbar A Select Register 26 */
101391 /*! @{ */
101392 
101393 #define XBARA_SEL26_SEL52_MASK                   (0xFFU)
101394 #define XBARA_SEL26_SEL52_SHIFT                  (0U)
101395 #define XBARA_SEL26_SEL52(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL26_SEL52_SHIFT)) & XBARA_SEL26_SEL52_MASK)
101396 
101397 #define XBARA_SEL26_SEL53_MASK                   (0xFF00U)
101398 #define XBARA_SEL26_SEL53_SHIFT                  (8U)
101399 #define XBARA_SEL26_SEL53(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL26_SEL53_SHIFT)) & XBARA_SEL26_SEL53_MASK)
101400 /*! @} */
101401 
101402 /*! @name SEL27 - Crossbar A Select Register 27 */
101403 /*! @{ */
101404 
101405 #define XBARA_SEL27_SEL54_MASK                   (0xFFU)
101406 #define XBARA_SEL27_SEL54_SHIFT                  (0U)
101407 #define XBARA_SEL27_SEL54(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL27_SEL54_SHIFT)) & XBARA_SEL27_SEL54_MASK)
101408 
101409 #define XBARA_SEL27_SEL55_MASK                   (0xFF00U)
101410 #define XBARA_SEL27_SEL55_SHIFT                  (8U)
101411 #define XBARA_SEL27_SEL55(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL27_SEL55_SHIFT)) & XBARA_SEL27_SEL55_MASK)
101412 /*! @} */
101413 
101414 /*! @name SEL28 - Crossbar A Select Register 28 */
101415 /*! @{ */
101416 
101417 #define XBARA_SEL28_SEL56_MASK                   (0xFFU)
101418 #define XBARA_SEL28_SEL56_SHIFT                  (0U)
101419 #define XBARA_SEL28_SEL56(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL28_SEL56_SHIFT)) & XBARA_SEL28_SEL56_MASK)
101420 
101421 #define XBARA_SEL28_SEL57_MASK                   (0xFF00U)
101422 #define XBARA_SEL28_SEL57_SHIFT                  (8U)
101423 #define XBARA_SEL28_SEL57(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL28_SEL57_SHIFT)) & XBARA_SEL28_SEL57_MASK)
101424 /*! @} */
101425 
101426 /*! @name SEL29 - Crossbar A Select Register 29 */
101427 /*! @{ */
101428 
101429 #define XBARA_SEL29_SEL58_MASK                   (0xFFU)
101430 #define XBARA_SEL29_SEL58_SHIFT                  (0U)
101431 #define XBARA_SEL29_SEL58(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL29_SEL58_SHIFT)) & XBARA_SEL29_SEL58_MASK)
101432 
101433 #define XBARA_SEL29_SEL59_MASK                   (0xFF00U)
101434 #define XBARA_SEL29_SEL59_SHIFT                  (8U)
101435 #define XBARA_SEL29_SEL59(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL29_SEL59_SHIFT)) & XBARA_SEL29_SEL59_MASK)
101436 /*! @} */
101437 
101438 /*! @name SEL30 - Crossbar A Select Register 30 */
101439 /*! @{ */
101440 
101441 #define XBARA_SEL30_SEL60_MASK                   (0xFFU)
101442 #define XBARA_SEL30_SEL60_SHIFT                  (0U)
101443 #define XBARA_SEL30_SEL60(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL30_SEL60_SHIFT)) & XBARA_SEL30_SEL60_MASK)
101444 
101445 #define XBARA_SEL30_SEL61_MASK                   (0xFF00U)
101446 #define XBARA_SEL30_SEL61_SHIFT                  (8U)
101447 #define XBARA_SEL30_SEL61(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL30_SEL61_SHIFT)) & XBARA_SEL30_SEL61_MASK)
101448 /*! @} */
101449 
101450 /*! @name SEL31 - Crossbar A Select Register 31 */
101451 /*! @{ */
101452 
101453 #define XBARA_SEL31_SEL62_MASK                   (0xFFU)
101454 #define XBARA_SEL31_SEL62_SHIFT                  (0U)
101455 #define XBARA_SEL31_SEL62(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL31_SEL62_SHIFT)) & XBARA_SEL31_SEL62_MASK)
101456 
101457 #define XBARA_SEL31_SEL63_MASK                   (0xFF00U)
101458 #define XBARA_SEL31_SEL63_SHIFT                  (8U)
101459 #define XBARA_SEL31_SEL63(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL31_SEL63_SHIFT)) & XBARA_SEL31_SEL63_MASK)
101460 /*! @} */
101461 
101462 /*! @name SEL32 - Crossbar A Select Register 32 */
101463 /*! @{ */
101464 
101465 #define XBARA_SEL32_SEL64_MASK                   (0xFFU)
101466 #define XBARA_SEL32_SEL64_SHIFT                  (0U)
101467 #define XBARA_SEL32_SEL64(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL32_SEL64_SHIFT)) & XBARA_SEL32_SEL64_MASK)
101468 
101469 #define XBARA_SEL32_SEL65_MASK                   (0xFF00U)
101470 #define XBARA_SEL32_SEL65_SHIFT                  (8U)
101471 #define XBARA_SEL32_SEL65(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL32_SEL65_SHIFT)) & XBARA_SEL32_SEL65_MASK)
101472 /*! @} */
101473 
101474 /*! @name SEL33 - Crossbar A Select Register 33 */
101475 /*! @{ */
101476 
101477 #define XBARA_SEL33_SEL66_MASK                   (0xFFU)
101478 #define XBARA_SEL33_SEL66_SHIFT                  (0U)
101479 #define XBARA_SEL33_SEL66(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL33_SEL66_SHIFT)) & XBARA_SEL33_SEL66_MASK)
101480 
101481 #define XBARA_SEL33_SEL67_MASK                   (0xFF00U)
101482 #define XBARA_SEL33_SEL67_SHIFT                  (8U)
101483 #define XBARA_SEL33_SEL67(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL33_SEL67_SHIFT)) & XBARA_SEL33_SEL67_MASK)
101484 /*! @} */
101485 
101486 /*! @name SEL34 - Crossbar A Select Register 34 */
101487 /*! @{ */
101488 
101489 #define XBARA_SEL34_SEL68_MASK                   (0xFFU)
101490 #define XBARA_SEL34_SEL68_SHIFT                  (0U)
101491 #define XBARA_SEL34_SEL68(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL34_SEL68_SHIFT)) & XBARA_SEL34_SEL68_MASK)
101492 
101493 #define XBARA_SEL34_SEL69_MASK                   (0xFF00U)
101494 #define XBARA_SEL34_SEL69_SHIFT                  (8U)
101495 #define XBARA_SEL34_SEL69(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL34_SEL69_SHIFT)) & XBARA_SEL34_SEL69_MASK)
101496 /*! @} */
101497 
101498 /*! @name SEL35 - Crossbar A Select Register 35 */
101499 /*! @{ */
101500 
101501 #define XBARA_SEL35_SEL70_MASK                   (0xFFU)
101502 #define XBARA_SEL35_SEL70_SHIFT                  (0U)
101503 #define XBARA_SEL35_SEL70(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL35_SEL70_SHIFT)) & XBARA_SEL35_SEL70_MASK)
101504 
101505 #define XBARA_SEL35_SEL71_MASK                   (0xFF00U)
101506 #define XBARA_SEL35_SEL71_SHIFT                  (8U)
101507 #define XBARA_SEL35_SEL71(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL35_SEL71_SHIFT)) & XBARA_SEL35_SEL71_MASK)
101508 /*! @} */
101509 
101510 /*! @name SEL36 - Crossbar A Select Register 36 */
101511 /*! @{ */
101512 
101513 #define XBARA_SEL36_SEL72_MASK                   (0xFFU)
101514 #define XBARA_SEL36_SEL72_SHIFT                  (0U)
101515 #define XBARA_SEL36_SEL72(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL36_SEL72_SHIFT)) & XBARA_SEL36_SEL72_MASK)
101516 
101517 #define XBARA_SEL36_SEL73_MASK                   (0xFF00U)
101518 #define XBARA_SEL36_SEL73_SHIFT                  (8U)
101519 #define XBARA_SEL36_SEL73(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL36_SEL73_SHIFT)) & XBARA_SEL36_SEL73_MASK)
101520 /*! @} */
101521 
101522 /*! @name SEL37 - Crossbar A Select Register 37 */
101523 /*! @{ */
101524 
101525 #define XBARA_SEL37_SEL74_MASK                   (0xFFU)
101526 #define XBARA_SEL37_SEL74_SHIFT                  (0U)
101527 #define XBARA_SEL37_SEL74(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL37_SEL74_SHIFT)) & XBARA_SEL37_SEL74_MASK)
101528 
101529 #define XBARA_SEL37_SEL75_MASK                   (0xFF00U)
101530 #define XBARA_SEL37_SEL75_SHIFT                  (8U)
101531 #define XBARA_SEL37_SEL75(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL37_SEL75_SHIFT)) & XBARA_SEL37_SEL75_MASK)
101532 /*! @} */
101533 
101534 /*! @name SEL38 - Crossbar A Select Register 38 */
101535 /*! @{ */
101536 
101537 #define XBARA_SEL38_SEL76_MASK                   (0xFFU)
101538 #define XBARA_SEL38_SEL76_SHIFT                  (0U)
101539 #define XBARA_SEL38_SEL76(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL38_SEL76_SHIFT)) & XBARA_SEL38_SEL76_MASK)
101540 
101541 #define XBARA_SEL38_SEL77_MASK                   (0xFF00U)
101542 #define XBARA_SEL38_SEL77_SHIFT                  (8U)
101543 #define XBARA_SEL38_SEL77(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL38_SEL77_SHIFT)) & XBARA_SEL38_SEL77_MASK)
101544 /*! @} */
101545 
101546 /*! @name SEL39 - Crossbar A Select Register 39 */
101547 /*! @{ */
101548 
101549 #define XBARA_SEL39_SEL78_MASK                   (0xFFU)
101550 #define XBARA_SEL39_SEL78_SHIFT                  (0U)
101551 #define XBARA_SEL39_SEL78(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL39_SEL78_SHIFT)) & XBARA_SEL39_SEL78_MASK)
101552 
101553 #define XBARA_SEL39_SEL79_MASK                   (0xFF00U)
101554 #define XBARA_SEL39_SEL79_SHIFT                  (8U)
101555 #define XBARA_SEL39_SEL79(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL39_SEL79_SHIFT)) & XBARA_SEL39_SEL79_MASK)
101556 /*! @} */
101557 
101558 /*! @name SEL40 - Crossbar A Select Register 40 */
101559 /*! @{ */
101560 
101561 #define XBARA_SEL40_SEL80_MASK                   (0xFFU)
101562 #define XBARA_SEL40_SEL80_SHIFT                  (0U)
101563 #define XBARA_SEL40_SEL80(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL40_SEL80_SHIFT)) & XBARA_SEL40_SEL80_MASK)
101564 
101565 #define XBARA_SEL40_SEL81_MASK                   (0xFF00U)
101566 #define XBARA_SEL40_SEL81_SHIFT                  (8U)
101567 #define XBARA_SEL40_SEL81(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL40_SEL81_SHIFT)) & XBARA_SEL40_SEL81_MASK)
101568 /*! @} */
101569 
101570 /*! @name SEL41 - Crossbar A Select Register 41 */
101571 /*! @{ */
101572 
101573 #define XBARA_SEL41_SEL82_MASK                   (0xFFU)
101574 #define XBARA_SEL41_SEL82_SHIFT                  (0U)
101575 #define XBARA_SEL41_SEL82(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL41_SEL82_SHIFT)) & XBARA_SEL41_SEL82_MASK)
101576 
101577 #define XBARA_SEL41_SEL83_MASK                   (0xFF00U)
101578 #define XBARA_SEL41_SEL83_SHIFT                  (8U)
101579 #define XBARA_SEL41_SEL83(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL41_SEL83_SHIFT)) & XBARA_SEL41_SEL83_MASK)
101580 /*! @} */
101581 
101582 /*! @name SEL42 - Crossbar A Select Register 42 */
101583 /*! @{ */
101584 
101585 #define XBARA_SEL42_SEL84_MASK                   (0xFFU)
101586 #define XBARA_SEL42_SEL84_SHIFT                  (0U)
101587 #define XBARA_SEL42_SEL84(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL42_SEL84_SHIFT)) & XBARA_SEL42_SEL84_MASK)
101588 
101589 #define XBARA_SEL42_SEL85_MASK                   (0xFF00U)
101590 #define XBARA_SEL42_SEL85_SHIFT                  (8U)
101591 #define XBARA_SEL42_SEL85(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL42_SEL85_SHIFT)) & XBARA_SEL42_SEL85_MASK)
101592 /*! @} */
101593 
101594 /*! @name SEL43 - Crossbar A Select Register 43 */
101595 /*! @{ */
101596 
101597 #define XBARA_SEL43_SEL86_MASK                   (0xFFU)
101598 #define XBARA_SEL43_SEL86_SHIFT                  (0U)
101599 #define XBARA_SEL43_SEL86(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL43_SEL86_SHIFT)) & XBARA_SEL43_SEL86_MASK)
101600 
101601 #define XBARA_SEL43_SEL87_MASK                   (0xFF00U)
101602 #define XBARA_SEL43_SEL87_SHIFT                  (8U)
101603 #define XBARA_SEL43_SEL87(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL43_SEL87_SHIFT)) & XBARA_SEL43_SEL87_MASK)
101604 /*! @} */
101605 
101606 /*! @name SEL44 - Crossbar A Select Register 44 */
101607 /*! @{ */
101608 
101609 #define XBARA_SEL44_SEL88_MASK                   (0xFFU)
101610 #define XBARA_SEL44_SEL88_SHIFT                  (0U)
101611 #define XBARA_SEL44_SEL88(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL44_SEL88_SHIFT)) & XBARA_SEL44_SEL88_MASK)
101612 
101613 #define XBARA_SEL44_SEL89_MASK                   (0xFF00U)
101614 #define XBARA_SEL44_SEL89_SHIFT                  (8U)
101615 #define XBARA_SEL44_SEL89(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL44_SEL89_SHIFT)) & XBARA_SEL44_SEL89_MASK)
101616 /*! @} */
101617 
101618 /*! @name SEL45 - Crossbar A Select Register 45 */
101619 /*! @{ */
101620 
101621 #define XBARA_SEL45_SEL90_MASK                   (0xFFU)
101622 #define XBARA_SEL45_SEL90_SHIFT                  (0U)
101623 #define XBARA_SEL45_SEL90(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL45_SEL90_SHIFT)) & XBARA_SEL45_SEL90_MASK)
101624 
101625 #define XBARA_SEL45_SEL91_MASK                   (0xFF00U)
101626 #define XBARA_SEL45_SEL91_SHIFT                  (8U)
101627 #define XBARA_SEL45_SEL91(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL45_SEL91_SHIFT)) & XBARA_SEL45_SEL91_MASK)
101628 /*! @} */
101629 
101630 /*! @name SEL46 - Crossbar A Select Register 46 */
101631 /*! @{ */
101632 
101633 #define XBARA_SEL46_SEL92_MASK                   (0xFFU)
101634 #define XBARA_SEL46_SEL92_SHIFT                  (0U)
101635 #define XBARA_SEL46_SEL92(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL46_SEL92_SHIFT)) & XBARA_SEL46_SEL92_MASK)
101636 
101637 #define XBARA_SEL46_SEL93_MASK                   (0xFF00U)
101638 #define XBARA_SEL46_SEL93_SHIFT                  (8U)
101639 #define XBARA_SEL46_SEL93(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL46_SEL93_SHIFT)) & XBARA_SEL46_SEL93_MASK)
101640 /*! @} */
101641 
101642 /*! @name SEL47 - Crossbar A Select Register 47 */
101643 /*! @{ */
101644 
101645 #define XBARA_SEL47_SEL94_MASK                   (0xFFU)
101646 #define XBARA_SEL47_SEL94_SHIFT                  (0U)
101647 #define XBARA_SEL47_SEL94(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL47_SEL94_SHIFT)) & XBARA_SEL47_SEL94_MASK)
101648 
101649 #define XBARA_SEL47_SEL95_MASK                   (0xFF00U)
101650 #define XBARA_SEL47_SEL95_SHIFT                  (8U)
101651 #define XBARA_SEL47_SEL95(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL47_SEL95_SHIFT)) & XBARA_SEL47_SEL95_MASK)
101652 /*! @} */
101653 
101654 /*! @name SEL48 - Crossbar A Select Register 48 */
101655 /*! @{ */
101656 
101657 #define XBARA_SEL48_SEL96_MASK                   (0xFFU)
101658 #define XBARA_SEL48_SEL96_SHIFT                  (0U)
101659 #define XBARA_SEL48_SEL96(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL48_SEL96_SHIFT)) & XBARA_SEL48_SEL96_MASK)
101660 
101661 #define XBARA_SEL48_SEL97_MASK                   (0xFF00U)
101662 #define XBARA_SEL48_SEL97_SHIFT                  (8U)
101663 #define XBARA_SEL48_SEL97(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL48_SEL97_SHIFT)) & XBARA_SEL48_SEL97_MASK)
101664 /*! @} */
101665 
101666 /*! @name SEL49 - Crossbar A Select Register 49 */
101667 /*! @{ */
101668 
101669 #define XBARA_SEL49_SEL98_MASK                   (0xFFU)
101670 #define XBARA_SEL49_SEL98_SHIFT                  (0U)
101671 #define XBARA_SEL49_SEL98(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL49_SEL98_SHIFT)) & XBARA_SEL49_SEL98_MASK)
101672 
101673 #define XBARA_SEL49_SEL99_MASK                   (0xFF00U)
101674 #define XBARA_SEL49_SEL99_SHIFT                  (8U)
101675 #define XBARA_SEL49_SEL99(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_SEL49_SEL99_SHIFT)) & XBARA_SEL49_SEL99_MASK)
101676 /*! @} */
101677 
101678 /*! @name SEL50 - Crossbar A Select Register 50 */
101679 /*! @{ */
101680 
101681 #define XBARA_SEL50_SEL100_MASK                  (0xFFU)
101682 #define XBARA_SEL50_SEL100_SHIFT                 (0U)
101683 #define XBARA_SEL50_SEL100(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL50_SEL100_SHIFT)) & XBARA_SEL50_SEL100_MASK)
101684 
101685 #define XBARA_SEL50_SEL101_MASK                  (0xFF00U)
101686 #define XBARA_SEL50_SEL101_SHIFT                 (8U)
101687 #define XBARA_SEL50_SEL101(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL50_SEL101_SHIFT)) & XBARA_SEL50_SEL101_MASK)
101688 /*! @} */
101689 
101690 /*! @name SEL51 - Crossbar A Select Register 51 */
101691 /*! @{ */
101692 
101693 #define XBARA_SEL51_SEL102_MASK                  (0xFFU)
101694 #define XBARA_SEL51_SEL102_SHIFT                 (0U)
101695 #define XBARA_SEL51_SEL102(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL51_SEL102_SHIFT)) & XBARA_SEL51_SEL102_MASK)
101696 
101697 #define XBARA_SEL51_SEL103_MASK                  (0xFF00U)
101698 #define XBARA_SEL51_SEL103_SHIFT                 (8U)
101699 #define XBARA_SEL51_SEL103(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL51_SEL103_SHIFT)) & XBARA_SEL51_SEL103_MASK)
101700 /*! @} */
101701 
101702 /*! @name SEL52 - Crossbar A Select Register 52 */
101703 /*! @{ */
101704 
101705 #define XBARA_SEL52_SEL104_MASK                  (0xFFU)
101706 #define XBARA_SEL52_SEL104_SHIFT                 (0U)
101707 #define XBARA_SEL52_SEL104(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL52_SEL104_SHIFT)) & XBARA_SEL52_SEL104_MASK)
101708 
101709 #define XBARA_SEL52_SEL105_MASK                  (0xFF00U)
101710 #define XBARA_SEL52_SEL105_SHIFT                 (8U)
101711 #define XBARA_SEL52_SEL105(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL52_SEL105_SHIFT)) & XBARA_SEL52_SEL105_MASK)
101712 /*! @} */
101713 
101714 /*! @name SEL53 - Crossbar A Select Register 53 */
101715 /*! @{ */
101716 
101717 #define XBARA_SEL53_SEL106_MASK                  (0xFFU)
101718 #define XBARA_SEL53_SEL106_SHIFT                 (0U)
101719 #define XBARA_SEL53_SEL106(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL53_SEL106_SHIFT)) & XBARA_SEL53_SEL106_MASK)
101720 
101721 #define XBARA_SEL53_SEL107_MASK                  (0xFF00U)
101722 #define XBARA_SEL53_SEL107_SHIFT                 (8U)
101723 #define XBARA_SEL53_SEL107(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL53_SEL107_SHIFT)) & XBARA_SEL53_SEL107_MASK)
101724 /*! @} */
101725 
101726 /*! @name SEL54 - Crossbar A Select Register 54 */
101727 /*! @{ */
101728 
101729 #define XBARA_SEL54_SEL108_MASK                  (0xFFU)
101730 #define XBARA_SEL54_SEL108_SHIFT                 (0U)
101731 #define XBARA_SEL54_SEL108(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL54_SEL108_SHIFT)) & XBARA_SEL54_SEL108_MASK)
101732 
101733 #define XBARA_SEL54_SEL109_MASK                  (0xFF00U)
101734 #define XBARA_SEL54_SEL109_SHIFT                 (8U)
101735 #define XBARA_SEL54_SEL109(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL54_SEL109_SHIFT)) & XBARA_SEL54_SEL109_MASK)
101736 /*! @} */
101737 
101738 /*! @name SEL55 - Crossbar A Select Register 55 */
101739 /*! @{ */
101740 
101741 #define XBARA_SEL55_SEL110_MASK                  (0xFFU)
101742 #define XBARA_SEL55_SEL110_SHIFT                 (0U)
101743 #define XBARA_SEL55_SEL110(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL55_SEL110_SHIFT)) & XBARA_SEL55_SEL110_MASK)
101744 
101745 #define XBARA_SEL55_SEL111_MASK                  (0xFF00U)
101746 #define XBARA_SEL55_SEL111_SHIFT                 (8U)
101747 #define XBARA_SEL55_SEL111(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL55_SEL111_SHIFT)) & XBARA_SEL55_SEL111_MASK)
101748 /*! @} */
101749 
101750 /*! @name SEL56 - Crossbar A Select Register 56 */
101751 /*! @{ */
101752 
101753 #define XBARA_SEL56_SEL112_MASK                  (0xFFU)
101754 #define XBARA_SEL56_SEL112_SHIFT                 (0U)
101755 #define XBARA_SEL56_SEL112(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL56_SEL112_SHIFT)) & XBARA_SEL56_SEL112_MASK)
101756 
101757 #define XBARA_SEL56_SEL113_MASK                  (0xFF00U)
101758 #define XBARA_SEL56_SEL113_SHIFT                 (8U)
101759 #define XBARA_SEL56_SEL113(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL56_SEL113_SHIFT)) & XBARA_SEL56_SEL113_MASK)
101760 /*! @} */
101761 
101762 /*! @name SEL57 - Crossbar A Select Register 57 */
101763 /*! @{ */
101764 
101765 #define XBARA_SEL57_SEL114_MASK                  (0xFFU)
101766 #define XBARA_SEL57_SEL114_SHIFT                 (0U)
101767 #define XBARA_SEL57_SEL114(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL57_SEL114_SHIFT)) & XBARA_SEL57_SEL114_MASK)
101768 
101769 #define XBARA_SEL57_SEL115_MASK                  (0xFF00U)
101770 #define XBARA_SEL57_SEL115_SHIFT                 (8U)
101771 #define XBARA_SEL57_SEL115(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL57_SEL115_SHIFT)) & XBARA_SEL57_SEL115_MASK)
101772 /*! @} */
101773 
101774 /*! @name SEL58 - Crossbar A Select Register 58 */
101775 /*! @{ */
101776 
101777 #define XBARA_SEL58_SEL116_MASK                  (0xFFU)
101778 #define XBARA_SEL58_SEL116_SHIFT                 (0U)
101779 #define XBARA_SEL58_SEL116(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL58_SEL116_SHIFT)) & XBARA_SEL58_SEL116_MASK)
101780 
101781 #define XBARA_SEL58_SEL117_MASK                  (0xFF00U)
101782 #define XBARA_SEL58_SEL117_SHIFT                 (8U)
101783 #define XBARA_SEL58_SEL117(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL58_SEL117_SHIFT)) & XBARA_SEL58_SEL117_MASK)
101784 /*! @} */
101785 
101786 /*! @name SEL59 - Crossbar A Select Register 59 */
101787 /*! @{ */
101788 
101789 #define XBARA_SEL59_SEL118_MASK                  (0xFFU)
101790 #define XBARA_SEL59_SEL118_SHIFT                 (0U)
101791 #define XBARA_SEL59_SEL118(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL59_SEL118_SHIFT)) & XBARA_SEL59_SEL118_MASK)
101792 
101793 #define XBARA_SEL59_SEL119_MASK                  (0xFF00U)
101794 #define XBARA_SEL59_SEL119_SHIFT                 (8U)
101795 #define XBARA_SEL59_SEL119(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL59_SEL119_SHIFT)) & XBARA_SEL59_SEL119_MASK)
101796 /*! @} */
101797 
101798 /*! @name SEL60 - Crossbar A Select Register 60 */
101799 /*! @{ */
101800 
101801 #define XBARA_SEL60_SEL120_MASK                  (0xFFU)
101802 #define XBARA_SEL60_SEL120_SHIFT                 (0U)
101803 #define XBARA_SEL60_SEL120(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL60_SEL120_SHIFT)) & XBARA_SEL60_SEL120_MASK)
101804 
101805 #define XBARA_SEL60_SEL121_MASK                  (0xFF00U)
101806 #define XBARA_SEL60_SEL121_SHIFT                 (8U)
101807 #define XBARA_SEL60_SEL121(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL60_SEL121_SHIFT)) & XBARA_SEL60_SEL121_MASK)
101808 /*! @} */
101809 
101810 /*! @name SEL61 - Crossbar A Select Register 61 */
101811 /*! @{ */
101812 
101813 #define XBARA_SEL61_SEL122_MASK                  (0xFFU)
101814 #define XBARA_SEL61_SEL122_SHIFT                 (0U)
101815 #define XBARA_SEL61_SEL122(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL61_SEL122_SHIFT)) & XBARA_SEL61_SEL122_MASK)
101816 
101817 #define XBARA_SEL61_SEL123_MASK                  (0xFF00U)
101818 #define XBARA_SEL61_SEL123_SHIFT                 (8U)
101819 #define XBARA_SEL61_SEL123(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL61_SEL123_SHIFT)) & XBARA_SEL61_SEL123_MASK)
101820 /*! @} */
101821 
101822 /*! @name SEL62 - Crossbar A Select Register 62 */
101823 /*! @{ */
101824 
101825 #define XBARA_SEL62_SEL124_MASK                  (0xFFU)
101826 #define XBARA_SEL62_SEL124_SHIFT                 (0U)
101827 #define XBARA_SEL62_SEL124(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL62_SEL124_SHIFT)) & XBARA_SEL62_SEL124_MASK)
101828 
101829 #define XBARA_SEL62_SEL125_MASK                  (0xFF00U)
101830 #define XBARA_SEL62_SEL125_SHIFT                 (8U)
101831 #define XBARA_SEL62_SEL125(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL62_SEL125_SHIFT)) & XBARA_SEL62_SEL125_MASK)
101832 /*! @} */
101833 
101834 /*! @name SEL63 - Crossbar A Select Register 63 */
101835 /*! @{ */
101836 
101837 #define XBARA_SEL63_SEL126_MASK                  (0xFFU)
101838 #define XBARA_SEL63_SEL126_SHIFT                 (0U)
101839 #define XBARA_SEL63_SEL126(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL63_SEL126_SHIFT)) & XBARA_SEL63_SEL126_MASK)
101840 
101841 #define XBARA_SEL63_SEL127_MASK                  (0xFF00U)
101842 #define XBARA_SEL63_SEL127_SHIFT                 (8U)
101843 #define XBARA_SEL63_SEL127(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL63_SEL127_SHIFT)) & XBARA_SEL63_SEL127_MASK)
101844 /*! @} */
101845 
101846 /*! @name SEL64 - Crossbar A Select Register 64 */
101847 /*! @{ */
101848 
101849 #define XBARA_SEL64_SEL128_MASK                  (0xFFU)
101850 #define XBARA_SEL64_SEL128_SHIFT                 (0U)
101851 #define XBARA_SEL64_SEL128(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL64_SEL128_SHIFT)) & XBARA_SEL64_SEL128_MASK)
101852 
101853 #define XBARA_SEL64_SEL129_MASK                  (0xFF00U)
101854 #define XBARA_SEL64_SEL129_SHIFT                 (8U)
101855 #define XBARA_SEL64_SEL129(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL64_SEL129_SHIFT)) & XBARA_SEL64_SEL129_MASK)
101856 /*! @} */
101857 
101858 /*! @name SEL65 - Crossbar A Select Register 65 */
101859 /*! @{ */
101860 
101861 #define XBARA_SEL65_SEL130_MASK                  (0xFFU)
101862 #define XBARA_SEL65_SEL130_SHIFT                 (0U)
101863 #define XBARA_SEL65_SEL130(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL65_SEL130_SHIFT)) & XBARA_SEL65_SEL130_MASK)
101864 
101865 #define XBARA_SEL65_SEL131_MASK                  (0xFF00U)
101866 #define XBARA_SEL65_SEL131_SHIFT                 (8U)
101867 #define XBARA_SEL65_SEL131(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL65_SEL131_SHIFT)) & XBARA_SEL65_SEL131_MASK)
101868 /*! @} */
101869 
101870 /*! @name SEL66 - Crossbar A Select Register 66 */
101871 /*! @{ */
101872 
101873 #define XBARA_SEL66_SEL132_MASK                  (0xFFU)
101874 #define XBARA_SEL66_SEL132_SHIFT                 (0U)
101875 #define XBARA_SEL66_SEL132(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL66_SEL132_SHIFT)) & XBARA_SEL66_SEL132_MASK)
101876 
101877 #define XBARA_SEL66_SEL133_MASK                  (0xFF00U)
101878 #define XBARA_SEL66_SEL133_SHIFT                 (8U)
101879 #define XBARA_SEL66_SEL133(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL66_SEL133_SHIFT)) & XBARA_SEL66_SEL133_MASK)
101880 /*! @} */
101881 
101882 /*! @name SEL67 - Crossbar A Select Register 67 */
101883 /*! @{ */
101884 
101885 #define XBARA_SEL67_SEL134_MASK                  (0xFFU)
101886 #define XBARA_SEL67_SEL134_SHIFT                 (0U)
101887 #define XBARA_SEL67_SEL134(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL67_SEL134_SHIFT)) & XBARA_SEL67_SEL134_MASK)
101888 
101889 #define XBARA_SEL67_SEL135_MASK                  (0xFF00U)
101890 #define XBARA_SEL67_SEL135_SHIFT                 (8U)
101891 #define XBARA_SEL67_SEL135(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL67_SEL135_SHIFT)) & XBARA_SEL67_SEL135_MASK)
101892 /*! @} */
101893 
101894 /*! @name SEL68 - Crossbar A Select Register 68 */
101895 /*! @{ */
101896 
101897 #define XBARA_SEL68_SEL136_MASK                  (0xFFU)
101898 #define XBARA_SEL68_SEL136_SHIFT                 (0U)
101899 #define XBARA_SEL68_SEL136(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL68_SEL136_SHIFT)) & XBARA_SEL68_SEL136_MASK)
101900 
101901 #define XBARA_SEL68_SEL137_MASK                  (0xFF00U)
101902 #define XBARA_SEL68_SEL137_SHIFT                 (8U)
101903 #define XBARA_SEL68_SEL137(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL68_SEL137_SHIFT)) & XBARA_SEL68_SEL137_MASK)
101904 /*! @} */
101905 
101906 /*! @name SEL69 - Crossbar A Select Register 69 */
101907 /*! @{ */
101908 
101909 #define XBARA_SEL69_SEL138_MASK                  (0xFFU)
101910 #define XBARA_SEL69_SEL138_SHIFT                 (0U)
101911 #define XBARA_SEL69_SEL138(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL69_SEL138_SHIFT)) & XBARA_SEL69_SEL138_MASK)
101912 
101913 #define XBARA_SEL69_SEL139_MASK                  (0xFF00U)
101914 #define XBARA_SEL69_SEL139_SHIFT                 (8U)
101915 #define XBARA_SEL69_SEL139(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL69_SEL139_SHIFT)) & XBARA_SEL69_SEL139_MASK)
101916 /*! @} */
101917 
101918 /*! @name SEL70 - Crossbar A Select Register 70 */
101919 /*! @{ */
101920 
101921 #define XBARA_SEL70_SEL140_MASK                  (0xFFU)
101922 #define XBARA_SEL70_SEL140_SHIFT                 (0U)
101923 #define XBARA_SEL70_SEL140(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL70_SEL140_SHIFT)) & XBARA_SEL70_SEL140_MASK)
101924 
101925 #define XBARA_SEL70_SEL141_MASK                  (0xFF00U)
101926 #define XBARA_SEL70_SEL141_SHIFT                 (8U)
101927 #define XBARA_SEL70_SEL141(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL70_SEL141_SHIFT)) & XBARA_SEL70_SEL141_MASK)
101928 /*! @} */
101929 
101930 /*! @name SEL71 - Crossbar A Select Register 71 */
101931 /*! @{ */
101932 
101933 #define XBARA_SEL71_SEL142_MASK                  (0xFFU)
101934 #define XBARA_SEL71_SEL142_SHIFT                 (0U)
101935 #define XBARA_SEL71_SEL142(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL71_SEL142_SHIFT)) & XBARA_SEL71_SEL142_MASK)
101936 
101937 #define XBARA_SEL71_SEL143_MASK                  (0xFF00U)
101938 #define XBARA_SEL71_SEL143_SHIFT                 (8U)
101939 #define XBARA_SEL71_SEL143(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL71_SEL143_SHIFT)) & XBARA_SEL71_SEL143_MASK)
101940 /*! @} */
101941 
101942 /*! @name SEL72 - Crossbar A Select Register 72 */
101943 /*! @{ */
101944 
101945 #define XBARA_SEL72_SEL144_MASK                  (0xFFU)
101946 #define XBARA_SEL72_SEL144_SHIFT                 (0U)
101947 #define XBARA_SEL72_SEL144(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL72_SEL144_SHIFT)) & XBARA_SEL72_SEL144_MASK)
101948 
101949 #define XBARA_SEL72_SEL145_MASK                  (0xFF00U)
101950 #define XBARA_SEL72_SEL145_SHIFT                 (8U)
101951 #define XBARA_SEL72_SEL145(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL72_SEL145_SHIFT)) & XBARA_SEL72_SEL145_MASK)
101952 /*! @} */
101953 
101954 /*! @name SEL73 - Crossbar A Select Register 73 */
101955 /*! @{ */
101956 
101957 #define XBARA_SEL73_SEL146_MASK                  (0xFFU)
101958 #define XBARA_SEL73_SEL146_SHIFT                 (0U)
101959 #define XBARA_SEL73_SEL146(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL73_SEL146_SHIFT)) & XBARA_SEL73_SEL146_MASK)
101960 
101961 #define XBARA_SEL73_SEL147_MASK                  (0xFF00U)
101962 #define XBARA_SEL73_SEL147_SHIFT                 (8U)
101963 #define XBARA_SEL73_SEL147(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL73_SEL147_SHIFT)) & XBARA_SEL73_SEL147_MASK)
101964 /*! @} */
101965 
101966 /*! @name SEL74 - Crossbar A Select Register 74 */
101967 /*! @{ */
101968 
101969 #define XBARA_SEL74_SEL148_MASK                  (0xFFU)
101970 #define XBARA_SEL74_SEL148_SHIFT                 (0U)
101971 #define XBARA_SEL74_SEL148(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL74_SEL148_SHIFT)) & XBARA_SEL74_SEL148_MASK)
101972 
101973 #define XBARA_SEL74_SEL149_MASK                  (0xFF00U)
101974 #define XBARA_SEL74_SEL149_SHIFT                 (8U)
101975 #define XBARA_SEL74_SEL149(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL74_SEL149_SHIFT)) & XBARA_SEL74_SEL149_MASK)
101976 /*! @} */
101977 
101978 /*! @name SEL75 - Crossbar A Select Register 75 */
101979 /*! @{ */
101980 
101981 #define XBARA_SEL75_SEL150_MASK                  (0xFFU)
101982 #define XBARA_SEL75_SEL150_SHIFT                 (0U)
101983 #define XBARA_SEL75_SEL150(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL75_SEL150_SHIFT)) & XBARA_SEL75_SEL150_MASK)
101984 
101985 #define XBARA_SEL75_SEL151_MASK                  (0xFF00U)
101986 #define XBARA_SEL75_SEL151_SHIFT                 (8U)
101987 #define XBARA_SEL75_SEL151(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL75_SEL151_SHIFT)) & XBARA_SEL75_SEL151_MASK)
101988 /*! @} */
101989 
101990 /*! @name SEL76 - Crossbar A Select Register 76 */
101991 /*! @{ */
101992 
101993 #define XBARA_SEL76_SEL152_MASK                  (0xFFU)
101994 #define XBARA_SEL76_SEL152_SHIFT                 (0U)
101995 #define XBARA_SEL76_SEL152(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL76_SEL152_SHIFT)) & XBARA_SEL76_SEL152_MASK)
101996 
101997 #define XBARA_SEL76_SEL153_MASK                  (0xFF00U)
101998 #define XBARA_SEL76_SEL153_SHIFT                 (8U)
101999 #define XBARA_SEL76_SEL153(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL76_SEL153_SHIFT)) & XBARA_SEL76_SEL153_MASK)
102000 /*! @} */
102001 
102002 /*! @name SEL77 - Crossbar A Select Register 77 */
102003 /*! @{ */
102004 
102005 #define XBARA_SEL77_SEL154_MASK                  (0xFFU)
102006 #define XBARA_SEL77_SEL154_SHIFT                 (0U)
102007 #define XBARA_SEL77_SEL154(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL77_SEL154_SHIFT)) & XBARA_SEL77_SEL154_MASK)
102008 
102009 #define XBARA_SEL77_SEL155_MASK                  (0xFF00U)
102010 #define XBARA_SEL77_SEL155_SHIFT                 (8U)
102011 #define XBARA_SEL77_SEL155(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL77_SEL155_SHIFT)) & XBARA_SEL77_SEL155_MASK)
102012 /*! @} */
102013 
102014 /*! @name SEL78 - Crossbar A Select Register 78 */
102015 /*! @{ */
102016 
102017 #define XBARA_SEL78_SEL156_MASK                  (0xFFU)
102018 #define XBARA_SEL78_SEL156_SHIFT                 (0U)
102019 #define XBARA_SEL78_SEL156(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL78_SEL156_SHIFT)) & XBARA_SEL78_SEL156_MASK)
102020 
102021 #define XBARA_SEL78_SEL157_MASK                  (0xFF00U)
102022 #define XBARA_SEL78_SEL157_SHIFT                 (8U)
102023 #define XBARA_SEL78_SEL157(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL78_SEL157_SHIFT)) & XBARA_SEL78_SEL157_MASK)
102024 /*! @} */
102025 
102026 /*! @name SEL79 - Crossbar A Select Register 79 */
102027 /*! @{ */
102028 
102029 #define XBARA_SEL79_SEL158_MASK                  (0xFFU)
102030 #define XBARA_SEL79_SEL158_SHIFT                 (0U)
102031 #define XBARA_SEL79_SEL158(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL79_SEL158_SHIFT)) & XBARA_SEL79_SEL158_MASK)
102032 
102033 #define XBARA_SEL79_SEL159_MASK                  (0xFF00U)
102034 #define XBARA_SEL79_SEL159_SHIFT                 (8U)
102035 #define XBARA_SEL79_SEL159(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL79_SEL159_SHIFT)) & XBARA_SEL79_SEL159_MASK)
102036 /*! @} */
102037 
102038 /*! @name SEL80 - Crossbar A Select Register 80 */
102039 /*! @{ */
102040 
102041 #define XBARA_SEL80_SEL160_MASK                  (0xFFU)
102042 #define XBARA_SEL80_SEL160_SHIFT                 (0U)
102043 #define XBARA_SEL80_SEL160(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL80_SEL160_SHIFT)) & XBARA_SEL80_SEL160_MASK)
102044 
102045 #define XBARA_SEL80_SEL161_MASK                  (0xFF00U)
102046 #define XBARA_SEL80_SEL161_SHIFT                 (8U)
102047 #define XBARA_SEL80_SEL161(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL80_SEL161_SHIFT)) & XBARA_SEL80_SEL161_MASK)
102048 /*! @} */
102049 
102050 /*! @name SEL81 - Crossbar A Select Register 81 */
102051 /*! @{ */
102052 
102053 #define XBARA_SEL81_SEL162_MASK                  (0xFFU)
102054 #define XBARA_SEL81_SEL162_SHIFT                 (0U)
102055 #define XBARA_SEL81_SEL162(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL81_SEL162_SHIFT)) & XBARA_SEL81_SEL162_MASK)
102056 
102057 #define XBARA_SEL81_SEL163_MASK                  (0xFF00U)
102058 #define XBARA_SEL81_SEL163_SHIFT                 (8U)
102059 #define XBARA_SEL81_SEL163(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL81_SEL163_SHIFT)) & XBARA_SEL81_SEL163_MASK)
102060 /*! @} */
102061 
102062 /*! @name SEL82 - Crossbar A Select Register 82 */
102063 /*! @{ */
102064 
102065 #define XBARA_SEL82_SEL164_MASK                  (0xFFU)
102066 #define XBARA_SEL82_SEL164_SHIFT                 (0U)
102067 #define XBARA_SEL82_SEL164(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL82_SEL164_SHIFT)) & XBARA_SEL82_SEL164_MASK)
102068 
102069 #define XBARA_SEL82_SEL165_MASK                  (0xFF00U)
102070 #define XBARA_SEL82_SEL165_SHIFT                 (8U)
102071 #define XBARA_SEL82_SEL165(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL82_SEL165_SHIFT)) & XBARA_SEL82_SEL165_MASK)
102072 /*! @} */
102073 
102074 /*! @name SEL83 - Crossbar A Select Register 83 */
102075 /*! @{ */
102076 
102077 #define XBARA_SEL83_SEL166_MASK                  (0xFFU)
102078 #define XBARA_SEL83_SEL166_SHIFT                 (0U)
102079 #define XBARA_SEL83_SEL166(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL83_SEL166_SHIFT)) & XBARA_SEL83_SEL166_MASK)
102080 
102081 #define XBARA_SEL83_SEL167_MASK                  (0xFF00U)
102082 #define XBARA_SEL83_SEL167_SHIFT                 (8U)
102083 #define XBARA_SEL83_SEL167(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL83_SEL167_SHIFT)) & XBARA_SEL83_SEL167_MASK)
102084 /*! @} */
102085 
102086 /*! @name SEL84 - Crossbar A Select Register 84 */
102087 /*! @{ */
102088 
102089 #define XBARA_SEL84_SEL168_MASK                  (0xFFU)
102090 #define XBARA_SEL84_SEL168_SHIFT                 (0U)
102091 #define XBARA_SEL84_SEL168(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL84_SEL168_SHIFT)) & XBARA_SEL84_SEL168_MASK)
102092 
102093 #define XBARA_SEL84_SEL169_MASK                  (0xFF00U)
102094 #define XBARA_SEL84_SEL169_SHIFT                 (8U)
102095 #define XBARA_SEL84_SEL169(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL84_SEL169_SHIFT)) & XBARA_SEL84_SEL169_MASK)
102096 /*! @} */
102097 
102098 /*! @name SEL85 - Crossbar A Select Register 85 */
102099 /*! @{ */
102100 
102101 #define XBARA_SEL85_SEL170_MASK                  (0xFFU)
102102 #define XBARA_SEL85_SEL170_SHIFT                 (0U)
102103 #define XBARA_SEL85_SEL170(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL85_SEL170_SHIFT)) & XBARA_SEL85_SEL170_MASK)
102104 
102105 #define XBARA_SEL85_SEL171_MASK                  (0xFF00U)
102106 #define XBARA_SEL85_SEL171_SHIFT                 (8U)
102107 #define XBARA_SEL85_SEL171(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL85_SEL171_SHIFT)) & XBARA_SEL85_SEL171_MASK)
102108 /*! @} */
102109 
102110 /*! @name SEL86 - Crossbar A Select Register 86 */
102111 /*! @{ */
102112 
102113 #define XBARA_SEL86_SEL172_MASK                  (0xFFU)
102114 #define XBARA_SEL86_SEL172_SHIFT                 (0U)
102115 #define XBARA_SEL86_SEL172(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL86_SEL172_SHIFT)) & XBARA_SEL86_SEL172_MASK)
102116 
102117 #define XBARA_SEL86_SEL173_MASK                  (0xFF00U)
102118 #define XBARA_SEL86_SEL173_SHIFT                 (8U)
102119 #define XBARA_SEL86_SEL173(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL86_SEL173_SHIFT)) & XBARA_SEL86_SEL173_MASK)
102120 /*! @} */
102121 
102122 /*! @name SEL87 - Crossbar A Select Register 87 */
102123 /*! @{ */
102124 
102125 #define XBARA_SEL87_SEL174_MASK                  (0xFFU)
102126 #define XBARA_SEL87_SEL174_SHIFT                 (0U)
102127 #define XBARA_SEL87_SEL174(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL87_SEL174_SHIFT)) & XBARA_SEL87_SEL174_MASK)
102128 
102129 #define XBARA_SEL87_SEL175_MASK                  (0xFF00U)
102130 #define XBARA_SEL87_SEL175_SHIFT                 (8U)
102131 #define XBARA_SEL87_SEL175(x)                    (((uint16_t)(((uint16_t)(x)) << XBARA_SEL87_SEL175_SHIFT)) & XBARA_SEL87_SEL175_MASK)
102132 /*! @} */
102133 
102134 /*! @name CTRL0 - Crossbar A Control Register 0 */
102135 /*! @{ */
102136 
102137 #define XBARA_CTRL0_DEN0_MASK                    (0x1U)
102138 #define XBARA_CTRL0_DEN0_SHIFT                   (0U)
102139 /*! DEN0 - DMA Enable for XBAR_OUT0
102140  *  0b0..DMA disabled
102141  *  0b1..DMA enabled
102142  */
102143 #define XBARA_CTRL0_DEN0(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_DEN0_SHIFT)) & XBARA_CTRL0_DEN0_MASK)
102144 
102145 #define XBARA_CTRL0_IEN0_MASK                    (0x2U)
102146 #define XBARA_CTRL0_IEN0_SHIFT                   (1U)
102147 /*! IEN0 - Interrupt Enable for XBAR_OUT0
102148  *  0b0..Interrupt disabled
102149  *  0b1..Interrupt enabled
102150  */
102151 #define XBARA_CTRL0_IEN0(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_IEN0_SHIFT)) & XBARA_CTRL0_IEN0_MASK)
102152 
102153 #define XBARA_CTRL0_EDGE0_MASK                   (0xCU)
102154 #define XBARA_CTRL0_EDGE0_SHIFT                  (2U)
102155 /*! EDGE0 - Active edge for edge detection on XBAR_OUT0
102156  *  0b00..STS0 never asserts
102157  *  0b01..STS0 asserts on rising edges of XBAR_OUT0
102158  *  0b10..STS0 asserts on falling edges of XBAR_OUT0
102159  *  0b11..STS0 asserts on rising and falling edges of XBAR_OUT0
102160  */
102161 #define XBARA_CTRL0_EDGE0(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_EDGE0_SHIFT)) & XBARA_CTRL0_EDGE0_MASK)
102162 
102163 #define XBARA_CTRL0_STS0_MASK                    (0x10U)
102164 #define XBARA_CTRL0_STS0_SHIFT                   (4U)
102165 /*! STS0 - Edge detection status for XBAR_OUT0
102166  *  0b0..Active edge not yet detected on XBAR_OUT0
102167  *  0b1..Active edge detected on XBAR_OUT0
102168  */
102169 #define XBARA_CTRL0_STS0(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_STS0_SHIFT)) & XBARA_CTRL0_STS0_MASK)
102170 
102171 #define XBARA_CTRL0_DEN1_MASK                    (0x100U)
102172 #define XBARA_CTRL0_DEN1_SHIFT                   (8U)
102173 /*! DEN1 - DMA Enable for XBAR_OUT1
102174  *  0b0..DMA disabled
102175  *  0b1..DMA enabled
102176  */
102177 #define XBARA_CTRL0_DEN1(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_DEN1_SHIFT)) & XBARA_CTRL0_DEN1_MASK)
102178 
102179 #define XBARA_CTRL0_IEN1_MASK                    (0x200U)
102180 #define XBARA_CTRL0_IEN1_SHIFT                   (9U)
102181 /*! IEN1 - Interrupt Enable for XBAR_OUT1
102182  *  0b0..Interrupt disabled
102183  *  0b1..Interrupt enabled
102184  */
102185 #define XBARA_CTRL0_IEN1(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_IEN1_SHIFT)) & XBARA_CTRL0_IEN1_MASK)
102186 
102187 #define XBARA_CTRL0_EDGE1_MASK                   (0xC00U)
102188 #define XBARA_CTRL0_EDGE1_SHIFT                  (10U)
102189 /*! EDGE1 - Active edge for edge detection on XBAR_OUT1
102190  *  0b00..STS1 never asserts
102191  *  0b01..STS1 asserts on rising edges of XBAR_OUT1
102192  *  0b10..STS1 asserts on falling edges of XBAR_OUT1
102193  *  0b11..STS1 asserts on rising and falling edges of XBAR_OUT1
102194  */
102195 #define XBARA_CTRL0_EDGE1(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_EDGE1_SHIFT)) & XBARA_CTRL0_EDGE1_MASK)
102196 
102197 #define XBARA_CTRL0_STS1_MASK                    (0x1000U)
102198 #define XBARA_CTRL0_STS1_SHIFT                   (12U)
102199 /*! STS1 - Edge detection status for XBAR_OUT1
102200  *  0b0..Active edge not yet detected on XBAR_OUT1
102201  *  0b1..Active edge detected on XBAR_OUT1
102202  */
102203 #define XBARA_CTRL0_STS1(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL0_STS1_SHIFT)) & XBARA_CTRL0_STS1_MASK)
102204 /*! @} */
102205 
102206 /*! @name CTRL1 - Crossbar A Control Register 1 */
102207 /*! @{ */
102208 
102209 #define XBARA_CTRL1_DEN2_MASK                    (0x1U)
102210 #define XBARA_CTRL1_DEN2_SHIFT                   (0U)
102211 /*! DEN2 - DMA Enable for XBAR_OUT2
102212  *  0b0..DMA disabled
102213  *  0b1..DMA enabled
102214  */
102215 #define XBARA_CTRL1_DEN2(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_DEN2_SHIFT)) & XBARA_CTRL1_DEN2_MASK)
102216 
102217 #define XBARA_CTRL1_IEN2_MASK                    (0x2U)
102218 #define XBARA_CTRL1_IEN2_SHIFT                   (1U)
102219 /*! IEN2 - Interrupt Enable for XBAR_OUT2
102220  *  0b0..Interrupt disabled
102221  *  0b1..Interrupt enabled
102222  */
102223 #define XBARA_CTRL1_IEN2(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_IEN2_SHIFT)) & XBARA_CTRL1_IEN2_MASK)
102224 
102225 #define XBARA_CTRL1_EDGE2_MASK                   (0xCU)
102226 #define XBARA_CTRL1_EDGE2_SHIFT                  (2U)
102227 /*! EDGE2 - Active edge for edge detection on XBAR_OUT2
102228  *  0b00..STS2 never asserts
102229  *  0b01..STS2 asserts on rising edges of XBAR_OUT2
102230  *  0b10..STS2 asserts on falling edges of XBAR_OUT2
102231  *  0b11..STS2 asserts on rising and falling edges of XBAR_OUT2
102232  */
102233 #define XBARA_CTRL1_EDGE2(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_EDGE2_SHIFT)) & XBARA_CTRL1_EDGE2_MASK)
102234 
102235 #define XBARA_CTRL1_STS2_MASK                    (0x10U)
102236 #define XBARA_CTRL1_STS2_SHIFT                   (4U)
102237 /*! STS2 - Edge detection status for XBAR_OUT2
102238  *  0b0..Active edge not yet detected on XBAR_OUT2
102239  *  0b1..Active edge detected on XBAR_OUT2
102240  */
102241 #define XBARA_CTRL1_STS2(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_STS2_SHIFT)) & XBARA_CTRL1_STS2_MASK)
102242 
102243 #define XBARA_CTRL1_DEN3_MASK                    (0x100U)
102244 #define XBARA_CTRL1_DEN3_SHIFT                   (8U)
102245 /*! DEN3 - DMA Enable for XBAR_OUT3
102246  *  0b0..DMA disabled
102247  *  0b1..DMA enabled
102248  */
102249 #define XBARA_CTRL1_DEN3(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_DEN3_SHIFT)) & XBARA_CTRL1_DEN3_MASK)
102250 
102251 #define XBARA_CTRL1_IEN3_MASK                    (0x200U)
102252 #define XBARA_CTRL1_IEN3_SHIFT                   (9U)
102253 /*! IEN3 - Interrupt Enable for XBAR_OUT3
102254  *  0b0..Interrupt disabled
102255  *  0b1..Interrupt enabled
102256  */
102257 #define XBARA_CTRL1_IEN3(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_IEN3_SHIFT)) & XBARA_CTRL1_IEN3_MASK)
102258 
102259 #define XBARA_CTRL1_EDGE3_MASK                   (0xC00U)
102260 #define XBARA_CTRL1_EDGE3_SHIFT                  (10U)
102261 /*! EDGE3 - Active edge for edge detection on XBAR_OUT3
102262  *  0b00..STS3 never asserts
102263  *  0b01..STS3 asserts on rising edges of XBAR_OUT3
102264  *  0b10..STS3 asserts on falling edges of XBAR_OUT3
102265  *  0b11..STS3 asserts on rising and falling edges of XBAR_OUT3
102266  */
102267 #define XBARA_CTRL1_EDGE3(x)                     (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_EDGE3_SHIFT)) & XBARA_CTRL1_EDGE3_MASK)
102268 
102269 #define XBARA_CTRL1_STS3_MASK                    (0x1000U)
102270 #define XBARA_CTRL1_STS3_SHIFT                   (12U)
102271 /*! STS3 - Edge detection status for XBAR_OUT3
102272  *  0b0..Active edge not yet detected on XBAR_OUT3
102273  *  0b1..Active edge detected on XBAR_OUT3
102274  */
102275 #define XBARA_CTRL1_STS3(x)                      (((uint16_t)(((uint16_t)(x)) << XBARA_CTRL1_STS3_SHIFT)) & XBARA_CTRL1_STS3_MASK)
102276 /*! @} */
102277 
102278 
102279 /*!
102280  * @}
102281  */ /* end of group XBARA_Register_Masks */
102282 
102283 
102284 /* XBARA - Peripheral instance base addresses */
102285 /** Peripheral XBARA1 base address */
102286 #define XBARA1_BASE                              (0x4003C000u)
102287 /** Peripheral XBARA1 base pointer */
102288 #define XBARA1                                   ((XBARA_Type *)XBARA1_BASE)
102289 /** Array initializer of XBARA peripheral base addresses */
102290 #define XBARA_BASE_ADDRS                         { 0u, XBARA1_BASE }
102291 /** Array initializer of XBARA peripheral base pointers */
102292 #define XBARA_BASE_PTRS                          { (XBARA_Type *)0u, XBARA1 }
102293 
102294 /*!
102295  * @}
102296  */ /* end of group XBARA_Peripheral_Access_Layer */
102297 
102298 
102299 /* ----------------------------------------------------------------------------
102300    -- XBARB Peripheral Access Layer
102301    ---------------------------------------------------------------------------- */
102302 
102303 /*!
102304  * @addtogroup XBARB_Peripheral_Access_Layer XBARB Peripheral Access Layer
102305  * @{
102306  */
102307 
102308 /** XBARB - Register Layout Typedef */
102309 typedef struct {
102310   __IO uint16_t SEL0;                              /**< Crossbar B Select Register 0, offset: 0x0 */
102311   __IO uint16_t SEL1;                              /**< Crossbar B Select Register 1, offset: 0x2 */
102312   __IO uint16_t SEL2;                              /**< Crossbar B Select Register 2, offset: 0x4 */
102313   __IO uint16_t SEL3;                              /**< Crossbar B Select Register 3, offset: 0x6 */
102314   __IO uint16_t SEL4;                              /**< Crossbar B Select Register 4, offset: 0x8 */
102315   __IO uint16_t SEL5;                              /**< Crossbar B Select Register 5, offset: 0xA */
102316   __IO uint16_t SEL6;                              /**< Crossbar B Select Register 6, offset: 0xC */
102317   __IO uint16_t SEL7;                              /**< Crossbar B Select Register 7, offset: 0xE */
102318 } XBARB_Type;
102319 
102320 /* ----------------------------------------------------------------------------
102321    -- XBARB Register Masks
102322    ---------------------------------------------------------------------------- */
102323 
102324 /*!
102325  * @addtogroup XBARB_Register_Masks XBARB Register Masks
102326  * @{
102327  */
102328 
102329 /*! @name SEL0 - Crossbar B Select Register 0 */
102330 /*! @{ */
102331 
102332 #define XBARB_SEL0_SEL0_MASK                     (0x7FU)
102333 #define XBARB_SEL0_SEL0_SHIFT                    (0U)
102334 #define XBARB_SEL0_SEL0(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL0_SEL0_SHIFT)) & XBARB_SEL0_SEL0_MASK)
102335 
102336 #define XBARB_SEL0_SEL1_MASK                     (0x7F00U)
102337 #define XBARB_SEL0_SEL1_SHIFT                    (8U)
102338 #define XBARB_SEL0_SEL1(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL0_SEL1_SHIFT)) & XBARB_SEL0_SEL1_MASK)
102339 /*! @} */
102340 
102341 /*! @name SEL1 - Crossbar B Select Register 1 */
102342 /*! @{ */
102343 
102344 #define XBARB_SEL1_SEL2_MASK                     (0x7FU)
102345 #define XBARB_SEL1_SEL2_SHIFT                    (0U)
102346 #define XBARB_SEL1_SEL2(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL1_SEL2_SHIFT)) & XBARB_SEL1_SEL2_MASK)
102347 
102348 #define XBARB_SEL1_SEL3_MASK                     (0x7F00U)
102349 #define XBARB_SEL1_SEL3_SHIFT                    (8U)
102350 #define XBARB_SEL1_SEL3(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL1_SEL3_SHIFT)) & XBARB_SEL1_SEL3_MASK)
102351 /*! @} */
102352 
102353 /*! @name SEL2 - Crossbar B Select Register 2 */
102354 /*! @{ */
102355 
102356 #define XBARB_SEL2_SEL4_MASK                     (0x7FU)
102357 #define XBARB_SEL2_SEL4_SHIFT                    (0U)
102358 #define XBARB_SEL2_SEL4(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL2_SEL4_SHIFT)) & XBARB_SEL2_SEL4_MASK)
102359 
102360 #define XBARB_SEL2_SEL5_MASK                     (0x7F00U)
102361 #define XBARB_SEL2_SEL5_SHIFT                    (8U)
102362 #define XBARB_SEL2_SEL5(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL2_SEL5_SHIFT)) & XBARB_SEL2_SEL5_MASK)
102363 /*! @} */
102364 
102365 /*! @name SEL3 - Crossbar B Select Register 3 */
102366 /*! @{ */
102367 
102368 #define XBARB_SEL3_SEL6_MASK                     (0x7FU)
102369 #define XBARB_SEL3_SEL6_SHIFT                    (0U)
102370 #define XBARB_SEL3_SEL6(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL3_SEL6_SHIFT)) & XBARB_SEL3_SEL6_MASK)
102371 
102372 #define XBARB_SEL3_SEL7_MASK                     (0x7F00U)
102373 #define XBARB_SEL3_SEL7_SHIFT                    (8U)
102374 #define XBARB_SEL3_SEL7(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL3_SEL7_SHIFT)) & XBARB_SEL3_SEL7_MASK)
102375 /*! @} */
102376 
102377 /*! @name SEL4 - Crossbar B Select Register 4 */
102378 /*! @{ */
102379 
102380 #define XBARB_SEL4_SEL8_MASK                     (0x7FU)
102381 #define XBARB_SEL4_SEL8_SHIFT                    (0U)
102382 #define XBARB_SEL4_SEL8(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL4_SEL8_SHIFT)) & XBARB_SEL4_SEL8_MASK)
102383 
102384 #define XBARB_SEL4_SEL9_MASK                     (0x7F00U)
102385 #define XBARB_SEL4_SEL9_SHIFT                    (8U)
102386 #define XBARB_SEL4_SEL9(x)                       (((uint16_t)(((uint16_t)(x)) << XBARB_SEL4_SEL9_SHIFT)) & XBARB_SEL4_SEL9_MASK)
102387 /*! @} */
102388 
102389 /*! @name SEL5 - Crossbar B Select Register 5 */
102390 /*! @{ */
102391 
102392 #define XBARB_SEL5_SEL10_MASK                    (0x7FU)
102393 #define XBARB_SEL5_SEL10_SHIFT                   (0U)
102394 #define XBARB_SEL5_SEL10(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL5_SEL10_SHIFT)) & XBARB_SEL5_SEL10_MASK)
102395 
102396 #define XBARB_SEL5_SEL11_MASK                    (0x7F00U)
102397 #define XBARB_SEL5_SEL11_SHIFT                   (8U)
102398 #define XBARB_SEL5_SEL11(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL5_SEL11_SHIFT)) & XBARB_SEL5_SEL11_MASK)
102399 /*! @} */
102400 
102401 /*! @name SEL6 - Crossbar B Select Register 6 */
102402 /*! @{ */
102403 
102404 #define XBARB_SEL6_SEL12_MASK                    (0x7FU)
102405 #define XBARB_SEL6_SEL12_SHIFT                   (0U)
102406 #define XBARB_SEL6_SEL12(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL6_SEL12_SHIFT)) & XBARB_SEL6_SEL12_MASK)
102407 
102408 #define XBARB_SEL6_SEL13_MASK                    (0x7F00U)
102409 #define XBARB_SEL6_SEL13_SHIFT                   (8U)
102410 #define XBARB_SEL6_SEL13(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL6_SEL13_SHIFT)) & XBARB_SEL6_SEL13_MASK)
102411 /*! @} */
102412 
102413 /*! @name SEL7 - Crossbar B Select Register 7 */
102414 /*! @{ */
102415 
102416 #define XBARB_SEL7_SEL14_MASK                    (0x7FU)
102417 #define XBARB_SEL7_SEL14_SHIFT                   (0U)
102418 #define XBARB_SEL7_SEL14(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL7_SEL14_SHIFT)) & XBARB_SEL7_SEL14_MASK)
102419 
102420 #define XBARB_SEL7_SEL15_MASK                    (0x7F00U)
102421 #define XBARB_SEL7_SEL15_SHIFT                   (8U)
102422 #define XBARB_SEL7_SEL15(x)                      (((uint16_t)(((uint16_t)(x)) << XBARB_SEL7_SEL15_SHIFT)) & XBARB_SEL7_SEL15_MASK)
102423 /*! @} */
102424 
102425 
102426 /*!
102427  * @}
102428  */ /* end of group XBARB_Register_Masks */
102429 
102430 
102431 /* XBARB - Peripheral instance base addresses */
102432 /** Peripheral XBARB2 base address */
102433 #define XBARB2_BASE                              (0x40040000u)
102434 /** Peripheral XBARB2 base pointer */
102435 #define XBARB2                                   ((XBARB_Type *)XBARB2_BASE)
102436 /** Peripheral XBARB3 base address */
102437 #define XBARB3_BASE                              (0x40044000u)
102438 /** Peripheral XBARB3 base pointer */
102439 #define XBARB3                                   ((XBARB_Type *)XBARB3_BASE)
102440 /** Array initializer of XBARB peripheral base addresses */
102441 #define XBARB_BASE_ADDRS                         { 0u, 0u, XBARB2_BASE, XBARB3_BASE }
102442 /** Array initializer of XBARB peripheral base pointers */
102443 #define XBARB_BASE_PTRS                          { (XBARB_Type *)0u, (XBARB_Type *)0u, XBARB2, XBARB3 }
102444 
102445 /*!
102446  * @}
102447  */ /* end of group XBARB_Peripheral_Access_Layer */
102448 
102449 
102450 /* ----------------------------------------------------------------------------
102451    -- XECC Peripheral Access Layer
102452    ---------------------------------------------------------------------------- */
102453 
102454 /*!
102455  * @addtogroup XECC_Peripheral_Access_Layer XECC Peripheral Access Layer
102456  * @{
102457  */
102458 
102459 /** XECC - Register Layout Typedef */
102460 typedef struct {
102461   __IO uint32_t ECC_CTRL;                          /**< ECC Control Register, offset: 0x0 */
102462   __IO uint32_t ERR_STATUS;                        /**< Error Interrupt Status Register, offset: 0x4 */
102463   __IO uint32_t ERR_STAT_EN;                       /**< Error Interrupt Status Enable Register, offset: 0x8 */
102464   __IO uint32_t ERR_SIG_EN;                        /**< Error Interrupt Enable Register, offset: 0xC */
102465   __IO uint32_t ERR_DATA_INJ;                      /**< Error Injection On Write Data, offset: 0x10 */
102466   __IO uint32_t ERR_ECC_INJ;                       /**< Error Injection On ECC Code of Write Data, offset: 0x14 */
102467   __I  uint32_t SINGLE_ERR_ADDR;                   /**< Single Error Address, offset: 0x18 */
102468   __I  uint32_t SINGLE_ERR_DATA;                   /**< Single Error Read Data, offset: 0x1C */
102469   __I  uint32_t SINGLE_ERR_ECC;                    /**< Single Error ECC Code, offset: 0x20 */
102470   __I  uint32_t SINGLE_ERR_POS;                    /**< Single Error Bit Position, offset: 0x24 */
102471   __I  uint32_t SINGLE_ERR_BIT_FIELD;              /**< Single Error Bit Field, offset: 0x28 */
102472   __I  uint32_t MULTI_ERR_ADDR;                    /**< Multiple Error Address, offset: 0x2C */
102473   __I  uint32_t MULTI_ERR_DATA;                    /**< Multiple Error Read Data, offset: 0x30 */
102474   __I  uint32_t MULTI_ERR_ECC;                     /**< Multiple Error ECC code, offset: 0x34 */
102475   __I  uint32_t MULTI_ERR_BIT_FIELD;               /**< Multiple Error Bit Field, offset: 0x38 */
102476   __IO uint32_t ECC_BASE_ADDR0;                    /**< ECC Region 0 Base Address, offset: 0x3C */
102477   __IO uint32_t ECC_END_ADDR0;                     /**< ECC Region 0 End Address, offset: 0x40 */
102478   __IO uint32_t ECC_BASE_ADDR1;                    /**< ECC Region 1 Base Address, offset: 0x44 */
102479   __IO uint32_t ECC_END_ADDR1;                     /**< ECC Region 1 End Address, offset: 0x48 */
102480   __IO uint32_t ECC_BASE_ADDR2;                    /**< ECC Region 2 Base Address, offset: 0x4C */
102481   __IO uint32_t ECC_END_ADDR2;                     /**< ECC Region 2 End Address, offset: 0x50 */
102482   __IO uint32_t ECC_BASE_ADDR3;                    /**< ECC Region 3 Base Address, offset: 0x54 */
102483   __IO uint32_t ECC_END_ADDR3;                     /**< ECC Region 3 End Address, offset: 0x58 */
102484 } XECC_Type;
102485 
102486 /* ----------------------------------------------------------------------------
102487    -- XECC Register Masks
102488    ---------------------------------------------------------------------------- */
102489 
102490 /*!
102491  * @addtogroup XECC_Register_Masks XECC Register Masks
102492  * @{
102493  */
102494 
102495 /*! @name ECC_CTRL - ECC Control Register */
102496 /*! @{ */
102497 
102498 #define XECC_ECC_CTRL_ECC_EN_MASK                (0x1U)
102499 #define XECC_ECC_CTRL_ECC_EN_SHIFT               (0U)
102500 /*! ECC_EN - ECC Function Enable
102501  *  0b0..Disable
102502  *  0b1..Enable
102503  */
102504 #define XECC_ECC_CTRL_ECC_EN(x)                  (((uint32_t)(((uint32_t)(x)) << XECC_ECC_CTRL_ECC_EN_SHIFT)) & XECC_ECC_CTRL_ECC_EN_MASK)
102505 
102506 #define XECC_ECC_CTRL_WECC_EN_MASK               (0x2U)
102507 #define XECC_ECC_CTRL_WECC_EN_SHIFT              (1U)
102508 /*! WECC_EN - Write ECC Encode Function Enable
102509  *  0b0..Disable
102510  *  0b1..Enable
102511  */
102512 #define XECC_ECC_CTRL_WECC_EN(x)                 (((uint32_t)(((uint32_t)(x)) << XECC_ECC_CTRL_WECC_EN_SHIFT)) & XECC_ECC_CTRL_WECC_EN_MASK)
102513 
102514 #define XECC_ECC_CTRL_RECC_EN_MASK               (0x4U)
102515 #define XECC_ECC_CTRL_RECC_EN_SHIFT              (2U)
102516 /*! RECC_EN - Read ECC Function Enable
102517  *  0b0..Disable
102518  *  0b1..Enable
102519  */
102520 #define XECC_ECC_CTRL_RECC_EN(x)                 (((uint32_t)(((uint32_t)(x)) << XECC_ECC_CTRL_RECC_EN_SHIFT)) & XECC_ECC_CTRL_RECC_EN_MASK)
102521 
102522 #define XECC_ECC_CTRL_SWAP_EN_MASK               (0x8U)
102523 #define XECC_ECC_CTRL_SWAP_EN_SHIFT              (3U)
102524 /*! SWAP_EN - Swap Data Enable
102525  *  0b0..Disable
102526  *  0b1..Enable
102527  */
102528 #define XECC_ECC_CTRL_SWAP_EN(x)                 (((uint32_t)(((uint32_t)(x)) << XECC_ECC_CTRL_SWAP_EN_SHIFT)) & XECC_ECC_CTRL_SWAP_EN_MASK)
102529 /*! @} */
102530 
102531 /*! @name ERR_STATUS - Error Interrupt Status Register */
102532 /*! @{ */
102533 
102534 #define XECC_ERR_STATUS_SINGLE_ERR_MASK          (0x1U)
102535 #define XECC_ERR_STATUS_SINGLE_ERR_SHIFT         (0U)
102536 /*! SINGLE_ERR - Single Bit Error
102537  *  0b0..Single bit error does not happen.
102538  *  0b1..Single bit error happens.
102539  */
102540 #define XECC_ERR_STATUS_SINGLE_ERR(x)            (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STATUS_SINGLE_ERR_SHIFT)) & XECC_ERR_STATUS_SINGLE_ERR_MASK)
102541 
102542 #define XECC_ERR_STATUS_MULTI_ERR_MASK           (0x2U)
102543 #define XECC_ERR_STATUS_MULTI_ERR_SHIFT          (1U)
102544 /*! MULTI_ERR - Multiple Bits Error
102545  *  0b0..Multiple bits error does not happen.
102546  *  0b1..Multiple bits error happens.
102547  */
102548 #define XECC_ERR_STATUS_MULTI_ERR(x)             (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STATUS_MULTI_ERR_SHIFT)) & XECC_ERR_STATUS_MULTI_ERR_MASK)
102549 
102550 #define XECC_ERR_STATUS_Reserved1_MASK           (0xFFFFFFFCU)
102551 #define XECC_ERR_STATUS_Reserved1_SHIFT          (2U)
102552 /*! Reserved1 - Reserved
102553  */
102554 #define XECC_ERR_STATUS_Reserved1(x)             (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STATUS_Reserved1_SHIFT)) & XECC_ERR_STATUS_Reserved1_MASK)
102555 /*! @} */
102556 
102557 /*! @name ERR_STAT_EN - Error Interrupt Status Enable Register */
102558 /*! @{ */
102559 
102560 #define XECC_ERR_STAT_EN_SINGLE_ERR_STAT_EN_MASK (0x1U)
102561 #define XECC_ERR_STAT_EN_SINGLE_ERR_STAT_EN_SHIFT (0U)
102562 /*! SINGLE_ERR_STAT_EN - Single Bit Error Status Enable
102563  *  0b0..Masked
102564  *  0b1..Enabled
102565  */
102566 #define XECC_ERR_STAT_EN_SINGLE_ERR_STAT_EN(x)   (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STAT_EN_SINGLE_ERR_STAT_EN_SHIFT)) & XECC_ERR_STAT_EN_SINGLE_ERR_STAT_EN_MASK)
102567 
102568 #define XECC_ERR_STAT_EN_MULIT_ERR_STAT_EN_MASK  (0x2U)
102569 #define XECC_ERR_STAT_EN_MULIT_ERR_STAT_EN_SHIFT (1U)
102570 /*! MULIT_ERR_STAT_EN - Multiple Bits Error Status Enable
102571  *  0b0..Masked
102572  *  0b1..Enabled
102573  */
102574 #define XECC_ERR_STAT_EN_MULIT_ERR_STAT_EN(x)    (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STAT_EN_MULIT_ERR_STAT_EN_SHIFT)) & XECC_ERR_STAT_EN_MULIT_ERR_STAT_EN_MASK)
102575 
102576 #define XECC_ERR_STAT_EN_Reserved1_MASK          (0xFFFFFFFCU)
102577 #define XECC_ERR_STAT_EN_Reserved1_SHIFT         (2U)
102578 /*! Reserved1 - Reserved
102579  */
102580 #define XECC_ERR_STAT_EN_Reserved1(x)            (((uint32_t)(((uint32_t)(x)) << XECC_ERR_STAT_EN_Reserved1_SHIFT)) & XECC_ERR_STAT_EN_Reserved1_MASK)
102581 /*! @} */
102582 
102583 /*! @name ERR_SIG_EN - Error Interrupt Enable Register */
102584 /*! @{ */
102585 
102586 #define XECC_ERR_SIG_EN_SINGLE_ERR_SIG_EN_MASK   (0x1U)
102587 #define XECC_ERR_SIG_EN_SINGLE_ERR_SIG_EN_SHIFT  (0U)
102588 /*! SINGLE_ERR_SIG_EN - Single Bit Error Interrupt Enable
102589  *  0b0..Masked
102590  *  0b1..Enabled
102591  */
102592 #define XECC_ERR_SIG_EN_SINGLE_ERR_SIG_EN(x)     (((uint32_t)(((uint32_t)(x)) << XECC_ERR_SIG_EN_SINGLE_ERR_SIG_EN_SHIFT)) & XECC_ERR_SIG_EN_SINGLE_ERR_SIG_EN_MASK)
102593 
102594 #define XECC_ERR_SIG_EN_MULTI_ERR_SIG_EN_MASK    (0x2U)
102595 #define XECC_ERR_SIG_EN_MULTI_ERR_SIG_EN_SHIFT   (1U)
102596 /*! MULTI_ERR_SIG_EN - Multiple Bits Error Interrupt Enable
102597  *  0b0..Masked
102598  *  0b1..Enabled
102599  */
102600 #define XECC_ERR_SIG_EN_MULTI_ERR_SIG_EN(x)      (((uint32_t)(((uint32_t)(x)) << XECC_ERR_SIG_EN_MULTI_ERR_SIG_EN_SHIFT)) & XECC_ERR_SIG_EN_MULTI_ERR_SIG_EN_MASK)
102601 
102602 #define XECC_ERR_SIG_EN_Reserved1_MASK           (0xFFFFFFFCU)
102603 #define XECC_ERR_SIG_EN_Reserved1_SHIFT          (2U)
102604 /*! Reserved1 - Reserved
102605  */
102606 #define XECC_ERR_SIG_EN_Reserved1(x)             (((uint32_t)(((uint32_t)(x)) << XECC_ERR_SIG_EN_Reserved1_SHIFT)) & XECC_ERR_SIG_EN_Reserved1_MASK)
102607 /*! @} */
102608 
102609 /*! @name ERR_DATA_INJ - Error Injection On Write Data */
102610 /*! @{ */
102611 
102612 #define XECC_ERR_DATA_INJ_ERR_DATA_INJ_MASK      (0xFFFFFFFFU)
102613 #define XECC_ERR_DATA_INJ_ERR_DATA_INJ_SHIFT     (0U)
102614 /*! ERR_DATA_INJ - Error Injection On Write Data
102615  */
102616 #define XECC_ERR_DATA_INJ_ERR_DATA_INJ(x)        (((uint32_t)(((uint32_t)(x)) << XECC_ERR_DATA_INJ_ERR_DATA_INJ_SHIFT)) & XECC_ERR_DATA_INJ_ERR_DATA_INJ_MASK)
102617 /*! @} */
102618 
102619 /*! @name ERR_ECC_INJ - Error Injection On ECC Code of Write Data */
102620 /*! @{ */
102621 
102622 #define XECC_ERR_ECC_INJ_ERR_ECC_INJ_MASK        (0xFFFFFFFFU)
102623 #define XECC_ERR_ECC_INJ_ERR_ECC_INJ_SHIFT       (0U)
102624 /*! ERR_ECC_INJ - Error Injection On ECC Code of Write Data
102625  */
102626 #define XECC_ERR_ECC_INJ_ERR_ECC_INJ(x)          (((uint32_t)(((uint32_t)(x)) << XECC_ERR_ECC_INJ_ERR_ECC_INJ_SHIFT)) & XECC_ERR_ECC_INJ_ERR_ECC_INJ_MASK)
102627 /*! @} */
102628 
102629 /*! @name SINGLE_ERR_ADDR - Single Error Address */
102630 /*! @{ */
102631 
102632 #define XECC_SINGLE_ERR_ADDR_SINGLE_ERR_ADDR_MASK (0xFFFFFFFFU)
102633 #define XECC_SINGLE_ERR_ADDR_SINGLE_ERR_ADDR_SHIFT (0U)
102634 /*! SINGLE_ERR_ADDR - Single Error Address
102635  */
102636 #define XECC_SINGLE_ERR_ADDR_SINGLE_ERR_ADDR(x)  (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_ADDR_SINGLE_ERR_ADDR_SHIFT)) & XECC_SINGLE_ERR_ADDR_SINGLE_ERR_ADDR_MASK)
102637 /*! @} */
102638 
102639 /*! @name SINGLE_ERR_DATA - Single Error Read Data */
102640 /*! @{ */
102641 
102642 #define XECC_SINGLE_ERR_DATA_SINGLE_ERR_DATA_MASK (0xFFFFFFFFU)
102643 #define XECC_SINGLE_ERR_DATA_SINGLE_ERR_DATA_SHIFT (0U)
102644 /*! SINGLE_ERR_DATA - Single Error Read Data
102645  */
102646 #define XECC_SINGLE_ERR_DATA_SINGLE_ERR_DATA(x)  (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_DATA_SINGLE_ERR_DATA_SHIFT)) & XECC_SINGLE_ERR_DATA_SINGLE_ERR_DATA_MASK)
102647 /*! @} */
102648 
102649 /*! @name SINGLE_ERR_ECC - Single Error ECC Code */
102650 /*! @{ */
102651 
102652 #define XECC_SINGLE_ERR_ECC_SINGLE_ERR_ECC_MASK  (0xFFFFFFFFU)
102653 #define XECC_SINGLE_ERR_ECC_SINGLE_ERR_ECC_SHIFT (0U)
102654 /*! SINGLE_ERR_ECC - Single Error ECC code
102655  */
102656 #define XECC_SINGLE_ERR_ECC_SINGLE_ERR_ECC(x)    (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_ECC_SINGLE_ERR_ECC_SHIFT)) & XECC_SINGLE_ERR_ECC_SINGLE_ERR_ECC_MASK)
102657 /*! @} */
102658 
102659 /*! @name SINGLE_ERR_POS - Single Error Bit Position */
102660 /*! @{ */
102661 
102662 #define XECC_SINGLE_ERR_POS_SINGLE_ERR_POS_MASK  (0xFFFFFFFFU)
102663 #define XECC_SINGLE_ERR_POS_SINGLE_ERR_POS_SHIFT (0U)
102664 /*! SINGLE_ERR_POS - Single Error bit Position
102665  */
102666 #define XECC_SINGLE_ERR_POS_SINGLE_ERR_POS(x)    (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_POS_SINGLE_ERR_POS_SHIFT)) & XECC_SINGLE_ERR_POS_SINGLE_ERR_POS_MASK)
102667 /*! @} */
102668 
102669 /*! @name SINGLE_ERR_BIT_FIELD - Single Error Bit Field */
102670 /*! @{ */
102671 
102672 #define XECC_SINGLE_ERR_BIT_FIELD_SINGLE_ERR_BIT_FIELD_MASK (0xFFU)
102673 #define XECC_SINGLE_ERR_BIT_FIELD_SINGLE_ERR_BIT_FIELD_SHIFT (0U)
102674 /*! SINGLE_ERR_BIT_FIELD - Single Error Bit Field
102675  */
102676 #define XECC_SINGLE_ERR_BIT_FIELD_SINGLE_ERR_BIT_FIELD(x) (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_BIT_FIELD_SINGLE_ERR_BIT_FIELD_SHIFT)) & XECC_SINGLE_ERR_BIT_FIELD_SINGLE_ERR_BIT_FIELD_MASK)
102677 
102678 #define XECC_SINGLE_ERR_BIT_FIELD_Reserved1_MASK (0xFFFFFF00U)
102679 #define XECC_SINGLE_ERR_BIT_FIELD_Reserved1_SHIFT (8U)
102680 /*! Reserved1 - Reserved
102681  */
102682 #define XECC_SINGLE_ERR_BIT_FIELD_Reserved1(x)   (((uint32_t)(((uint32_t)(x)) << XECC_SINGLE_ERR_BIT_FIELD_Reserved1_SHIFT)) & XECC_SINGLE_ERR_BIT_FIELD_Reserved1_MASK)
102683 /*! @} */
102684 
102685 /*! @name MULTI_ERR_ADDR - Multiple Error Address */
102686 /*! @{ */
102687 
102688 #define XECC_MULTI_ERR_ADDR_MULTI_ERR_ADDR_MASK  (0xFFFFFFFFU)
102689 #define XECC_MULTI_ERR_ADDR_MULTI_ERR_ADDR_SHIFT (0U)
102690 /*! MULTI_ERR_ADDR - Multiple Error Address
102691  */
102692 #define XECC_MULTI_ERR_ADDR_MULTI_ERR_ADDR(x)    (((uint32_t)(((uint32_t)(x)) << XECC_MULTI_ERR_ADDR_MULTI_ERR_ADDR_SHIFT)) & XECC_MULTI_ERR_ADDR_MULTI_ERR_ADDR_MASK)
102693 /*! @} */
102694 
102695 /*! @name MULTI_ERR_DATA - Multiple Error Read Data */
102696 /*! @{ */
102697 
102698 #define XECC_MULTI_ERR_DATA_MULTI_ERR_DATA_MASK  (0xFFFFFFFFU)
102699 #define XECC_MULTI_ERR_DATA_MULTI_ERR_DATA_SHIFT (0U)
102700 /*! MULTI_ERR_DATA - Multiple Error Read Data
102701  */
102702 #define XECC_MULTI_ERR_DATA_MULTI_ERR_DATA(x)    (((uint32_t)(((uint32_t)(x)) << XECC_MULTI_ERR_DATA_MULTI_ERR_DATA_SHIFT)) & XECC_MULTI_ERR_DATA_MULTI_ERR_DATA_MASK)
102703 /*! @} */
102704 
102705 /*! @name MULTI_ERR_ECC - Multiple Error ECC code */
102706 /*! @{ */
102707 
102708 #define XECC_MULTI_ERR_ECC_MULTI_ERR_ECC_MASK    (0xFFFFFFFFU)
102709 #define XECC_MULTI_ERR_ECC_MULTI_ERR_ECC_SHIFT   (0U)
102710 /*! MULTI_ERR_ECC - Multiple Error ECC code
102711  */
102712 #define XECC_MULTI_ERR_ECC_MULTI_ERR_ECC(x)      (((uint32_t)(((uint32_t)(x)) << XECC_MULTI_ERR_ECC_MULTI_ERR_ECC_SHIFT)) & XECC_MULTI_ERR_ECC_MULTI_ERR_ECC_MASK)
102713 /*! @} */
102714 
102715 /*! @name MULTI_ERR_BIT_FIELD - Multiple Error Bit Field */
102716 /*! @{ */
102717 
102718 #define XECC_MULTI_ERR_BIT_FIELD_MULTI_ERR_BIT_FIELD_MASK (0xFFU)
102719 #define XECC_MULTI_ERR_BIT_FIELD_MULTI_ERR_BIT_FIELD_SHIFT (0U)
102720 /*! MULTI_ERR_BIT_FIELD - Multiple Error Bit Field
102721  */
102722 #define XECC_MULTI_ERR_BIT_FIELD_MULTI_ERR_BIT_FIELD(x) (((uint32_t)(((uint32_t)(x)) << XECC_MULTI_ERR_BIT_FIELD_MULTI_ERR_BIT_FIELD_SHIFT)) & XECC_MULTI_ERR_BIT_FIELD_MULTI_ERR_BIT_FIELD_MASK)
102723 
102724 #define XECC_MULTI_ERR_BIT_FIELD_Reserved1_MASK  (0xFFFFFF00U)
102725 #define XECC_MULTI_ERR_BIT_FIELD_Reserved1_SHIFT (8U)
102726 /*! Reserved1 - Reserved
102727  */
102728 #define XECC_MULTI_ERR_BIT_FIELD_Reserved1(x)    (((uint32_t)(((uint32_t)(x)) << XECC_MULTI_ERR_BIT_FIELD_Reserved1_SHIFT)) & XECC_MULTI_ERR_BIT_FIELD_Reserved1_MASK)
102729 /*! @} */
102730 
102731 /*! @name ECC_BASE_ADDR0 - ECC Region 0 Base Address */
102732 /*! @{ */
102733 
102734 #define XECC_ECC_BASE_ADDR0_ECC_BASE_ADDR0_MASK  (0xFFFFFFFFU)
102735 #define XECC_ECC_BASE_ADDR0_ECC_BASE_ADDR0_SHIFT (0U)
102736 /*! ECC_BASE_ADDR0 - ECC Region 0 Base Address
102737  */
102738 #define XECC_ECC_BASE_ADDR0_ECC_BASE_ADDR0(x)    (((uint32_t)(((uint32_t)(x)) << XECC_ECC_BASE_ADDR0_ECC_BASE_ADDR0_SHIFT)) & XECC_ECC_BASE_ADDR0_ECC_BASE_ADDR0_MASK)
102739 /*! @} */
102740 
102741 /*! @name ECC_END_ADDR0 - ECC Region 0 End Address */
102742 /*! @{ */
102743 
102744 #define XECC_ECC_END_ADDR0_ECC_END_ADDR0_MASK    (0xFFFFFFFFU)
102745 #define XECC_ECC_END_ADDR0_ECC_END_ADDR0_SHIFT   (0U)
102746 /*! ECC_END_ADDR0 - ECC Region 0 End Address
102747  */
102748 #define XECC_ECC_END_ADDR0_ECC_END_ADDR0(x)      (((uint32_t)(((uint32_t)(x)) << XECC_ECC_END_ADDR0_ECC_END_ADDR0_SHIFT)) & XECC_ECC_END_ADDR0_ECC_END_ADDR0_MASK)
102749 /*! @} */
102750 
102751 /*! @name ECC_BASE_ADDR1 - ECC Region 1 Base Address */
102752 /*! @{ */
102753 
102754 #define XECC_ECC_BASE_ADDR1_ECC_BASE_ADDR1_MASK  (0xFFFFFFFFU)
102755 #define XECC_ECC_BASE_ADDR1_ECC_BASE_ADDR1_SHIFT (0U)
102756 /*! ECC_BASE_ADDR1 - ECC Region 1 Base Address
102757  */
102758 #define XECC_ECC_BASE_ADDR1_ECC_BASE_ADDR1(x)    (((uint32_t)(((uint32_t)(x)) << XECC_ECC_BASE_ADDR1_ECC_BASE_ADDR1_SHIFT)) & XECC_ECC_BASE_ADDR1_ECC_BASE_ADDR1_MASK)
102759 /*! @} */
102760 
102761 /*! @name ECC_END_ADDR1 - ECC Region 1 End Address */
102762 /*! @{ */
102763 
102764 #define XECC_ECC_END_ADDR1_ECC_END_ADDR1_MASK    (0xFFFFFFFFU)
102765 #define XECC_ECC_END_ADDR1_ECC_END_ADDR1_SHIFT   (0U)
102766 /*! ECC_END_ADDR1 - ECC Region 1 End Address
102767  */
102768 #define XECC_ECC_END_ADDR1_ECC_END_ADDR1(x)      (((uint32_t)(((uint32_t)(x)) << XECC_ECC_END_ADDR1_ECC_END_ADDR1_SHIFT)) & XECC_ECC_END_ADDR1_ECC_END_ADDR1_MASK)
102769 /*! @} */
102770 
102771 /*! @name ECC_BASE_ADDR2 - ECC Region 2 Base Address */
102772 /*! @{ */
102773 
102774 #define XECC_ECC_BASE_ADDR2_ECC_BASE_ADDR2_MASK  (0xFFFFFFFFU)
102775 #define XECC_ECC_BASE_ADDR2_ECC_BASE_ADDR2_SHIFT (0U)
102776 /*! ECC_BASE_ADDR2 - ECC Region 2 Base Address
102777  */
102778 #define XECC_ECC_BASE_ADDR2_ECC_BASE_ADDR2(x)    (((uint32_t)(((uint32_t)(x)) << XECC_ECC_BASE_ADDR2_ECC_BASE_ADDR2_SHIFT)) & XECC_ECC_BASE_ADDR2_ECC_BASE_ADDR2_MASK)
102779 /*! @} */
102780 
102781 /*! @name ECC_END_ADDR2 - ECC Region 2 End Address */
102782 /*! @{ */
102783 
102784 #define XECC_ECC_END_ADDR2_ECC_END_ADDR2_MASK    (0xFFFFFFFFU)
102785 #define XECC_ECC_END_ADDR2_ECC_END_ADDR2_SHIFT   (0U)
102786 /*! ECC_END_ADDR2 - ECC Region 2 End Address
102787  */
102788 #define XECC_ECC_END_ADDR2_ECC_END_ADDR2(x)      (((uint32_t)(((uint32_t)(x)) << XECC_ECC_END_ADDR2_ECC_END_ADDR2_SHIFT)) & XECC_ECC_END_ADDR2_ECC_END_ADDR2_MASK)
102789 /*! @} */
102790 
102791 /*! @name ECC_BASE_ADDR3 - ECC Region 3 Base Address */
102792 /*! @{ */
102793 
102794 #define XECC_ECC_BASE_ADDR3_ECC_BASE_ADDR3_MASK  (0xFFFFFFFFU)
102795 #define XECC_ECC_BASE_ADDR3_ECC_BASE_ADDR3_SHIFT (0U)
102796 /*! ECC_BASE_ADDR3 - ECC Region 3 Base Address
102797  */
102798 #define XECC_ECC_BASE_ADDR3_ECC_BASE_ADDR3(x)    (((uint32_t)(((uint32_t)(x)) << XECC_ECC_BASE_ADDR3_ECC_BASE_ADDR3_SHIFT)) & XECC_ECC_BASE_ADDR3_ECC_BASE_ADDR3_MASK)
102799 /*! @} */
102800 
102801 /*! @name ECC_END_ADDR3 - ECC Region 3 End Address */
102802 /*! @{ */
102803 
102804 #define XECC_ECC_END_ADDR3_ECC_END_ADDR3_MASK    (0xFFFFFFFFU)
102805 #define XECC_ECC_END_ADDR3_ECC_END_ADDR3_SHIFT   (0U)
102806 /*! ECC_END_ADDR3 - ECC Region 3 End Address
102807  */
102808 #define XECC_ECC_END_ADDR3_ECC_END_ADDR3(x)      (((uint32_t)(((uint32_t)(x)) << XECC_ECC_END_ADDR3_ECC_END_ADDR3_SHIFT)) & XECC_ECC_END_ADDR3_ECC_END_ADDR3_MASK)
102809 /*! @} */
102810 
102811 
102812 /*!
102813  * @}
102814  */ /* end of group XECC_Register_Masks */
102815 
102816 
102817 /* XECC - Peripheral instance base addresses */
102818 /** Peripheral XECC_FLEXSPI1 base address */
102819 #define XECC_FLEXSPI1_BASE                       (0x4001C000u)
102820 /** Peripheral XECC_FLEXSPI1 base pointer */
102821 #define XECC_FLEXSPI1                            ((XECC_Type *)XECC_FLEXSPI1_BASE)
102822 /** Peripheral XECC_FLEXSPI2 base address */
102823 #define XECC_FLEXSPI2_BASE                       (0x40020000u)
102824 /** Peripheral XECC_FLEXSPI2 base pointer */
102825 #define XECC_FLEXSPI2                            ((XECC_Type *)XECC_FLEXSPI2_BASE)
102826 /** Peripheral XECC_SEMC base address */
102827 #define XECC_SEMC_BASE                           (0x40024000u)
102828 /** Peripheral XECC_SEMC base pointer */
102829 #define XECC_SEMC                                ((XECC_Type *)XECC_SEMC_BASE)
102830 /** Array initializer of XECC peripheral base addresses */
102831 #define XECC_BASE_ADDRS                          { 0u, XECC_FLEXSPI1_BASE, XECC_FLEXSPI2_BASE, XECC_SEMC_BASE }
102832 /** Array initializer of XECC peripheral base pointers */
102833 #define XECC_BASE_PTRS                           { (XECC_Type *)0u, XECC_FLEXSPI1, XECC_FLEXSPI2, XECC_SEMC }
102834 
102835 /*!
102836  * @}
102837  */ /* end of group XECC_Peripheral_Access_Layer */
102838 
102839 
102840 /* ----------------------------------------------------------------------------
102841    -- XRDC2 Peripheral Access Layer
102842    ---------------------------------------------------------------------------- */
102843 
102844 /*!
102845  * @addtogroup XRDC2_Peripheral_Access_Layer XRDC2 Peripheral Access Layer
102846  * @{
102847  */
102848 
102849 /** XRDC2 - Register Layout Typedef */
102850 typedef struct {
102851   __IO uint32_t MCR;                               /**< Module Control Register, offset: 0x0 */
102852   __I  uint32_t SR;                                /**< Status Register, offset: 0x4 */
102853        uint8_t RESERVED_0[4088];
102854   struct {                                         /* offset: 0x1000, array step: 0x8 */
102855     __IO uint32_t MSC_MSAC_W0;                       /**< Memory Slot Access Control, array offset: 0x1000, array step: 0x8 */
102856     __IO uint32_t MSC_MSAC_W1;                       /**< Memory Slot Access Control, array offset: 0x1004, array step: 0x8 */
102857   } MSCI_MSAC_WK[128];
102858        uint8_t RESERVED_1[3072];
102859   struct {                                         /* offset: 0x2000, array step: index*0x100, index2*0x8 */
102860     __IO uint32_t MDAC_MDA_W0;                       /**< Master Domain Assignment, array offset: 0x2000, array step: index*0x100, index2*0x8 */
102861     __IO uint32_t MDAC_MDA_W1;                       /**< Master Domain Assignment, array offset: 0x2004, array step: index*0x100, index2*0x8 */
102862   } MDACI_MDAJ[32][32];
102863   struct {                                         /* offset: 0x4000, array step: index*0x800, index2*0x8 */
102864     __IO uint32_t PAC_PDAC_W0;                       /**< Peripheral Domain Access Control, array offset: 0x4000, array step: index*0x800, index2*0x8 */
102865     __IO uint32_t PAC_PDAC_W1;                       /**< Peripheral Domain Access Control, array offset: 0x4004, array step: index*0x800, index2*0x8 */
102866   } PACI_PDACJ[8][256];
102867   struct {                                         /* offset: 0x8000, array step: index*0x400, index2*0x20 */
102868     __IO uint32_t MRC_MRGD_W0;                       /**< Memory Region Descriptor, array offset: 0x8000, array step: index*0x400, index2*0x20 */
102869     __IO uint32_t MRC_MRGD_W1;                       /**< Memory Region Descriptor, array offset: 0x8004, array step: index*0x400, index2*0x20 */
102870     __IO uint32_t MRC_MRGD_W2;                       /**< Memory Region Descriptor, array offset: 0x8008, array step: index*0x400, index2*0x20 */
102871     __IO uint32_t MRC_MRGD_W3;                       /**< Memory Region Descriptor, array offset: 0x800C, array step: index*0x400, index2*0x20 */
102872          uint8_t RESERVED_0[4];
102873     __IO uint32_t MRC_MRGD_W5;                       /**< Memory Region Descriptor, array offset: 0x8014, array step: index*0x400, index2*0x20 */
102874     __IO uint32_t MRC_MRGD_W6;                       /**< Memory Region Descriptor, array offset: 0x8018, array step: index*0x400, index2*0x20 */
102875          uint8_t RESERVED_1[4];
102876   } MRCI_MRGDJ[32][32];
102877 } XRDC2_Type;
102878 
102879 /* ----------------------------------------------------------------------------
102880    -- XRDC2 Register Masks
102881    ---------------------------------------------------------------------------- */
102882 
102883 /*!
102884  * @addtogroup XRDC2_Register_Masks XRDC2 Register Masks
102885  * @{
102886  */
102887 
102888 /*! @name MCR - Module Control Register */
102889 /*! @{ */
102890 
102891 #define XRDC2_MCR_GVLDM_MASK                     (0x1U)
102892 #define XRDC2_MCR_GVLDM_SHIFT                    (0U)
102893 /*! GVLDM - Global Valid MDAC
102894  *  0b0..MDACs are disabled.
102895  *  0b1..MDACs are enabled.
102896  */
102897 #define XRDC2_MCR_GVLDM(x)                       (((uint32_t)(((uint32_t)(x)) << XRDC2_MCR_GVLDM_SHIFT)) & XRDC2_MCR_GVLDM_MASK)
102898 
102899 #define XRDC2_MCR_GVLDC_MASK                     (0x2U)
102900 #define XRDC2_MCR_GVLDC_SHIFT                    (1U)
102901 /*! GVLDC - Global Valid Access Control
102902  *  0b0..Access controls are disabled, XRDC2 allows all transactions.
102903  *  0b1..Access controls are enabled.
102904  */
102905 #define XRDC2_MCR_GVLDC(x)                       (((uint32_t)(((uint32_t)(x)) << XRDC2_MCR_GVLDC_SHIFT)) & XRDC2_MCR_GVLDC_MASK)
102906 
102907 #define XRDC2_MCR_GCL_MASK                       (0x30U)
102908 #define XRDC2_MCR_GCL_SHIFT                      (4U)
102909 /*! GCL - Global Configuration Lock
102910  *  0b00..Lock disabled, registers can be written by any domain.
102911  *  0b01..Lock disabled until the next reset, registers can be written by any domain.
102912  *  0b10..Lock enabled, only the global configuration lock owner (SR[GCLO]) can write to registers.
102913  *  0b11..Lock enabled, all registers are read only until the next reset.
102914  */
102915 #define XRDC2_MCR_GCL(x)                         (((uint32_t)(((uint32_t)(x)) << XRDC2_MCR_GCL_SHIFT)) & XRDC2_MCR_GCL_MASK)
102916 /*! @} */
102917 
102918 /*! @name SR - Status Register */
102919 /*! @{ */
102920 
102921 #define XRDC2_SR_DIN_MASK                        (0xFU)
102922 #define XRDC2_SR_DIN_SHIFT                       (0U)
102923 /*! DIN - Domain Identifier Number
102924  */
102925 #define XRDC2_SR_DIN(x)                          (((uint32_t)(((uint32_t)(x)) << XRDC2_SR_DIN_SHIFT)) & XRDC2_SR_DIN_MASK)
102926 
102927 #define XRDC2_SR_HRL_MASK                        (0xF0U)
102928 #define XRDC2_SR_HRL_SHIFT                       (4U)
102929 /*! HRL - Hardware Revision Level
102930  */
102931 #define XRDC2_SR_HRL(x)                          (((uint32_t)(((uint32_t)(x)) << XRDC2_SR_HRL_SHIFT)) & XRDC2_SR_HRL_MASK)
102932 
102933 #define XRDC2_SR_GCLO_MASK                       (0xF00U)
102934 #define XRDC2_SR_GCLO_SHIFT                      (8U)
102935 /*! GCLO - Global Configuration Lock Owner
102936  */
102937 #define XRDC2_SR_GCLO(x)                         (((uint32_t)(((uint32_t)(x)) << XRDC2_SR_GCLO_SHIFT)) & XRDC2_SR_GCLO_MASK)
102938 /*! @} */
102939 
102940 /*! @name MSC_MSAC_W0 - Memory Slot Access Control */
102941 /*! @{ */
102942 
102943 #define XRDC2_MSC_MSAC_W0_D0ACP_MASK             (0x7U)
102944 #define XRDC2_MSC_MSAC_W0_D0ACP_SHIFT            (0U)
102945 /*! D0ACP - Domain "x" access control policy
102946  */
102947 #define XRDC2_MSC_MSAC_W0_D0ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D0ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D0ACP_MASK)
102948 
102949 #define XRDC2_MSC_MSAC_W0_D1ACP_MASK             (0x38U)
102950 #define XRDC2_MSC_MSAC_W0_D1ACP_SHIFT            (3U)
102951 /*! D1ACP - Domain "x" access control policy
102952  */
102953 #define XRDC2_MSC_MSAC_W0_D1ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D1ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D1ACP_MASK)
102954 
102955 #define XRDC2_MSC_MSAC_W0_D2ACP_MASK             (0x1C0U)
102956 #define XRDC2_MSC_MSAC_W0_D2ACP_SHIFT            (6U)
102957 /*! D2ACP - Domain "x" access control policy
102958  */
102959 #define XRDC2_MSC_MSAC_W0_D2ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D2ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D2ACP_MASK)
102960 
102961 #define XRDC2_MSC_MSAC_W0_D3ACP_MASK             (0xE00U)
102962 #define XRDC2_MSC_MSAC_W0_D3ACP_SHIFT            (9U)
102963 /*! D3ACP - Domain "x" access control policy
102964  */
102965 #define XRDC2_MSC_MSAC_W0_D3ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D3ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D3ACP_MASK)
102966 
102967 #define XRDC2_MSC_MSAC_W0_D4ACP_MASK             (0x7000U)
102968 #define XRDC2_MSC_MSAC_W0_D4ACP_SHIFT            (12U)
102969 /*! D4ACP - Domain "x" access control policy
102970  */
102971 #define XRDC2_MSC_MSAC_W0_D4ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D4ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D4ACP_MASK)
102972 
102973 #define XRDC2_MSC_MSAC_W0_D5ACP_MASK             (0x38000U)
102974 #define XRDC2_MSC_MSAC_W0_D5ACP_SHIFT            (15U)
102975 /*! D5ACP - Domain "x" access control policy
102976  */
102977 #define XRDC2_MSC_MSAC_W0_D5ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D5ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D5ACP_MASK)
102978 
102979 #define XRDC2_MSC_MSAC_W0_D6ACP_MASK             (0x1C0000U)
102980 #define XRDC2_MSC_MSAC_W0_D6ACP_SHIFT            (18U)
102981 /*! D6ACP - Domain "x" access control policy
102982  */
102983 #define XRDC2_MSC_MSAC_W0_D6ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D6ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D6ACP_MASK)
102984 
102985 #define XRDC2_MSC_MSAC_W0_D7ACP_MASK             (0xE00000U)
102986 #define XRDC2_MSC_MSAC_W0_D7ACP_SHIFT            (21U)
102987 /*! D7ACP - Domain "x" access control policy
102988  */
102989 #define XRDC2_MSC_MSAC_W0_D7ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_D7ACP_SHIFT)) & XRDC2_MSC_MSAC_W0_D7ACP_MASK)
102990 
102991 #define XRDC2_MSC_MSAC_W0_EALO_MASK              (0xF000000U)
102992 #define XRDC2_MSC_MSAC_W0_EALO_SHIFT             (24U)
102993 /*! EALO - Exclusive Access Lock Owner
102994  */
102995 #define XRDC2_MSC_MSAC_W0_EALO(x)                (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W0_EALO_SHIFT)) & XRDC2_MSC_MSAC_W0_EALO_MASK)
102996 /*! @} */
102997 
102998 /* The count of XRDC2_MSC_MSAC_W0 */
102999 #define XRDC2_MSC_MSAC_W0_COUNT                  (128U)
103000 
103001 /*! @name MSC_MSAC_W1 - Memory Slot Access Control */
103002 /*! @{ */
103003 
103004 #define XRDC2_MSC_MSAC_W1_D8ACP_MASK             (0x7U)
103005 #define XRDC2_MSC_MSAC_W1_D8ACP_SHIFT            (0U)
103006 /*! D8ACP - Domain "x" access control policy
103007  */
103008 #define XRDC2_MSC_MSAC_W1_D8ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D8ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D8ACP_MASK)
103009 
103010 #define XRDC2_MSC_MSAC_W1_D9ACP_MASK             (0x38U)
103011 #define XRDC2_MSC_MSAC_W1_D9ACP_SHIFT            (3U)
103012 /*! D9ACP - Domain "x" access control policy
103013  */
103014 #define XRDC2_MSC_MSAC_W1_D9ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D9ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D9ACP_MASK)
103015 
103016 #define XRDC2_MSC_MSAC_W1_D10ACP_MASK            (0x1C0U)
103017 #define XRDC2_MSC_MSAC_W1_D10ACP_SHIFT           (6U)
103018 /*! D10ACP - Domain "x" access control policy
103019  */
103020 #define XRDC2_MSC_MSAC_W1_D10ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D10ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D10ACP_MASK)
103021 
103022 #define XRDC2_MSC_MSAC_W1_D11ACP_MASK            (0xE00U)
103023 #define XRDC2_MSC_MSAC_W1_D11ACP_SHIFT           (9U)
103024 /*! D11ACP - Domain "x" access control policy
103025  */
103026 #define XRDC2_MSC_MSAC_W1_D11ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D11ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D11ACP_MASK)
103027 
103028 #define XRDC2_MSC_MSAC_W1_D12ACP_MASK            (0x7000U)
103029 #define XRDC2_MSC_MSAC_W1_D12ACP_SHIFT           (12U)
103030 /*! D12ACP - Domain "x" access control policy
103031  */
103032 #define XRDC2_MSC_MSAC_W1_D12ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D12ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D12ACP_MASK)
103033 
103034 #define XRDC2_MSC_MSAC_W1_D13ACP_MASK            (0x38000U)
103035 #define XRDC2_MSC_MSAC_W1_D13ACP_SHIFT           (15U)
103036 /*! D13ACP - Domain "x" access control policy
103037  */
103038 #define XRDC2_MSC_MSAC_W1_D13ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D13ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D13ACP_MASK)
103039 
103040 #define XRDC2_MSC_MSAC_W1_D14ACP_MASK            (0x1C0000U)
103041 #define XRDC2_MSC_MSAC_W1_D14ACP_SHIFT           (18U)
103042 /*! D14ACP - Domain "x" access control policy
103043  */
103044 #define XRDC2_MSC_MSAC_W1_D14ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D14ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D14ACP_MASK)
103045 
103046 #define XRDC2_MSC_MSAC_W1_D15ACP_MASK            (0xE00000U)
103047 #define XRDC2_MSC_MSAC_W1_D15ACP_SHIFT           (21U)
103048 /*! D15ACP - Domain "x" access control policy
103049  */
103050 #define XRDC2_MSC_MSAC_W1_D15ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_D15ACP_SHIFT)) & XRDC2_MSC_MSAC_W1_D15ACP_MASK)
103051 
103052 #define XRDC2_MSC_MSAC_W1_EAL_MASK               (0x3000000U)
103053 #define XRDC2_MSC_MSAC_W1_EAL_SHIFT              (24U)
103054 /*! EAL - Exclusive Access Lock
103055  *  0b00..Lock disabled.
103056  *  0b01..Lock disabled until next reset.
103057  *  0b10..Lock enabled, lock state = available.
103058  *  0b11..Lock enabled, lock state = not available.
103059  */
103060 #define XRDC2_MSC_MSAC_W1_EAL(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_EAL_SHIFT)) & XRDC2_MSC_MSAC_W1_EAL_MASK)
103061 
103062 #define XRDC2_MSC_MSAC_W1_DL2_MASK               (0x60000000U)
103063 #define XRDC2_MSC_MSAC_W1_DL2_SHIFT              (29U)
103064 /*! DL2 - Descriptor Lock
103065  *  0b00..Lock disabled, descriptor registers can be written.
103066  *  0b01..Lock disabled until the next reset, descriptor registers can be written.
103067  *  0b10..Lock enabled, only domain "x" can only update the DxACP field; no other fields can be written.
103068  *  0b11..Lock enabled, descriptor registers are read-only until the next reset.
103069  */
103070 #define XRDC2_MSC_MSAC_W1_DL2(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_DL2_SHIFT)) & XRDC2_MSC_MSAC_W1_DL2_MASK)
103071 
103072 #define XRDC2_MSC_MSAC_W1_VLD_MASK               (0x80000000U)
103073 #define XRDC2_MSC_MSAC_W1_VLD_SHIFT              (31U)
103074 /*! VLD - Valid
103075  *  0b0..The MSAC assignment is invalid.
103076  *  0b1..The MSAC assignment is valid.
103077  */
103078 #define XRDC2_MSC_MSAC_W1_VLD(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MSC_MSAC_W1_VLD_SHIFT)) & XRDC2_MSC_MSAC_W1_VLD_MASK)
103079 /*! @} */
103080 
103081 /* The count of XRDC2_MSC_MSAC_W1 */
103082 #define XRDC2_MSC_MSAC_W1_COUNT                  (128U)
103083 
103084 /*! @name MDAC_MDA_W0 - Master Domain Assignment */
103085 /*! @{ */
103086 
103087 #define XRDC2_MDAC_MDA_W0_MASK_MASK              (0xFFFFU)
103088 #define XRDC2_MDAC_MDA_W0_MASK_SHIFT             (0U)
103089 /*! MASK - Mask
103090  */
103091 #define XRDC2_MDAC_MDA_W0_MASK(x)                (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W0_MASK_SHIFT)) & XRDC2_MDAC_MDA_W0_MASK_MASK)
103092 
103093 #define XRDC2_MDAC_MDA_W0_MATCH_MASK             (0xFFFF0000U)
103094 #define XRDC2_MDAC_MDA_W0_MATCH_SHIFT            (16U)
103095 /*! MATCH - Match
103096  */
103097 #define XRDC2_MDAC_MDA_W0_MATCH(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W0_MATCH_SHIFT)) & XRDC2_MDAC_MDA_W0_MATCH_MASK)
103098 /*! @} */
103099 
103100 /* The count of XRDC2_MDAC_MDA_W0 */
103101 #define XRDC2_MDAC_MDA_W0_COUNT                  (32U)
103102 
103103 /* The count of XRDC2_MDAC_MDA_W0 */
103104 #define XRDC2_MDAC_MDA_W0_COUNT2                 (32U)
103105 
103106 /*! @name MDAC_MDA_W1 - Master Domain Assignment */
103107 /*! @{ */
103108 
103109 #define XRDC2_MDAC_MDA_W1_DID_MASK               (0xF0000U)
103110 #define XRDC2_MDAC_MDA_W1_DID_SHIFT              (16U)
103111 /*! DID - Domain Identifier
103112  */
103113 #define XRDC2_MDAC_MDA_W1_DID(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W1_DID_SHIFT)) & XRDC2_MDAC_MDA_W1_DID_MASK)
103114 
103115 #define XRDC2_MDAC_MDA_W1_PA_MASK                (0x3000000U)
103116 #define XRDC2_MDAC_MDA_W1_PA_SHIFT               (24U)
103117 /*! PA - Privileged attribute
103118  *  0b00..Use the bus master's privileged/user attribute directly.
103119  *  0b01..Use the bus master's privileged/user attribute directly.
103120  *  0b10..Force the bus attribute for this master to user.
103121  *  0b11..Force the bus attribute for this master to privileged.
103122  */
103123 #define XRDC2_MDAC_MDA_W1_PA(x)                  (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W1_PA_SHIFT)) & XRDC2_MDAC_MDA_W1_PA_MASK)
103124 
103125 #define XRDC2_MDAC_MDA_W1_SA_MASK                (0xC000000U)
103126 #define XRDC2_MDAC_MDA_W1_SA_SHIFT               (26U)
103127 /*! SA - Secure attribute
103128  *  0b00..Use the bus master's secure/nonsecure attribute directly.
103129  *  0b01..Use the bus master's secure/nonsecure attribute directly.
103130  *  0b10..Force the bus attribute for this master to secure.
103131  *  0b11..Force the bus attribute for this master to nonsecure.
103132  */
103133 #define XRDC2_MDAC_MDA_W1_SA(x)                  (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W1_SA_SHIFT)) & XRDC2_MDAC_MDA_W1_SA_MASK)
103134 
103135 #define XRDC2_MDAC_MDA_W1_DL_MASK                (0x40000000U)
103136 #define XRDC2_MDAC_MDA_W1_DL_SHIFT               (30U)
103137 /*! DL - Descriptor Lock
103138  *  0b0..Lock disabled, registers can be written.
103139  *  0b1..Lock enabled, registers are read-only until the next reset.
103140  */
103141 #define XRDC2_MDAC_MDA_W1_DL(x)                  (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W1_DL_SHIFT)) & XRDC2_MDAC_MDA_W1_DL_MASK)
103142 
103143 #define XRDC2_MDAC_MDA_W1_VLD_MASK               (0x80000000U)
103144 #define XRDC2_MDAC_MDA_W1_VLD_SHIFT              (31U)
103145 /*! VLD - Valid
103146  *  0b0..The MDA is invalid.
103147  *  0b1..The MDA is valid.
103148  */
103149 #define XRDC2_MDAC_MDA_W1_VLD(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MDAC_MDA_W1_VLD_SHIFT)) & XRDC2_MDAC_MDA_W1_VLD_MASK)
103150 /*! @} */
103151 
103152 /* The count of XRDC2_MDAC_MDA_W1 */
103153 #define XRDC2_MDAC_MDA_W1_COUNT                  (32U)
103154 
103155 /* The count of XRDC2_MDAC_MDA_W1 */
103156 #define XRDC2_MDAC_MDA_W1_COUNT2                 (32U)
103157 
103158 /*! @name PAC_PDAC_W0 - Peripheral Domain Access Control */
103159 /*! @{ */
103160 
103161 #define XRDC2_PAC_PDAC_W0_D0ACP_MASK             (0x7U)
103162 #define XRDC2_PAC_PDAC_W0_D0ACP_SHIFT            (0U)
103163 /*! D0ACP - Domain "x" access control policy
103164  */
103165 #define XRDC2_PAC_PDAC_W0_D0ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D0ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D0ACP_MASK)
103166 
103167 #define XRDC2_PAC_PDAC_W0_D1ACP_MASK             (0x38U)
103168 #define XRDC2_PAC_PDAC_W0_D1ACP_SHIFT            (3U)
103169 /*! D1ACP - Domain "x" access control policy
103170  */
103171 #define XRDC2_PAC_PDAC_W0_D1ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D1ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D1ACP_MASK)
103172 
103173 #define XRDC2_PAC_PDAC_W0_D2ACP_MASK             (0x1C0U)
103174 #define XRDC2_PAC_PDAC_W0_D2ACP_SHIFT            (6U)
103175 /*! D2ACP - Domain "x" access control policy
103176  */
103177 #define XRDC2_PAC_PDAC_W0_D2ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D2ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D2ACP_MASK)
103178 
103179 #define XRDC2_PAC_PDAC_W0_D3ACP_MASK             (0xE00U)
103180 #define XRDC2_PAC_PDAC_W0_D3ACP_SHIFT            (9U)
103181 /*! D3ACP - Domain "x" access control policy
103182  */
103183 #define XRDC2_PAC_PDAC_W0_D3ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D3ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D3ACP_MASK)
103184 
103185 #define XRDC2_PAC_PDAC_W0_D4ACP_MASK             (0x7000U)
103186 #define XRDC2_PAC_PDAC_W0_D4ACP_SHIFT            (12U)
103187 /*! D4ACP - Domain "x" access control policy
103188  */
103189 #define XRDC2_PAC_PDAC_W0_D4ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D4ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D4ACP_MASK)
103190 
103191 #define XRDC2_PAC_PDAC_W0_D5ACP_MASK             (0x38000U)
103192 #define XRDC2_PAC_PDAC_W0_D5ACP_SHIFT            (15U)
103193 /*! D5ACP - Domain "x" access control policy
103194  */
103195 #define XRDC2_PAC_PDAC_W0_D5ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D5ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D5ACP_MASK)
103196 
103197 #define XRDC2_PAC_PDAC_W0_D6ACP_MASK             (0x1C0000U)
103198 #define XRDC2_PAC_PDAC_W0_D6ACP_SHIFT            (18U)
103199 /*! D6ACP - Domain "x" access control policy
103200  */
103201 #define XRDC2_PAC_PDAC_W0_D6ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D6ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D6ACP_MASK)
103202 
103203 #define XRDC2_PAC_PDAC_W0_D7ACP_MASK             (0xE00000U)
103204 #define XRDC2_PAC_PDAC_W0_D7ACP_SHIFT            (21U)
103205 /*! D7ACP - Domain "x" access control policy
103206  */
103207 #define XRDC2_PAC_PDAC_W0_D7ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_D7ACP_SHIFT)) & XRDC2_PAC_PDAC_W0_D7ACP_MASK)
103208 
103209 #define XRDC2_PAC_PDAC_W0_EALO_MASK              (0xF000000U)
103210 #define XRDC2_PAC_PDAC_W0_EALO_SHIFT             (24U)
103211 /*! EALO - Exclusive Access Lock Owner
103212  */
103213 #define XRDC2_PAC_PDAC_W0_EALO(x)                (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W0_EALO_SHIFT)) & XRDC2_PAC_PDAC_W0_EALO_MASK)
103214 /*! @} */
103215 
103216 /* The count of XRDC2_PAC_PDAC_W0 */
103217 #define XRDC2_PAC_PDAC_W0_COUNT                  (8U)
103218 
103219 /* The count of XRDC2_PAC_PDAC_W0 */
103220 #define XRDC2_PAC_PDAC_W0_COUNT2                 (256U)
103221 
103222 /*! @name PAC_PDAC_W1 - Peripheral Domain Access Control */
103223 /*! @{ */
103224 
103225 #define XRDC2_PAC_PDAC_W1_D8ACP_MASK             (0x7U)
103226 #define XRDC2_PAC_PDAC_W1_D8ACP_SHIFT            (0U)
103227 /*! D8ACP - Domain "x" access control policy
103228  */
103229 #define XRDC2_PAC_PDAC_W1_D8ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D8ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D8ACP_MASK)
103230 
103231 #define XRDC2_PAC_PDAC_W1_D9ACP_MASK             (0x38U)
103232 #define XRDC2_PAC_PDAC_W1_D9ACP_SHIFT            (3U)
103233 /*! D9ACP - Domain "x" access control policy
103234  */
103235 #define XRDC2_PAC_PDAC_W1_D9ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D9ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D9ACP_MASK)
103236 
103237 #define XRDC2_PAC_PDAC_W1_D10ACP_MASK            (0x1C0U)
103238 #define XRDC2_PAC_PDAC_W1_D10ACP_SHIFT           (6U)
103239 /*! D10ACP - Domain "x" access control policy
103240  */
103241 #define XRDC2_PAC_PDAC_W1_D10ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D10ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D10ACP_MASK)
103242 
103243 #define XRDC2_PAC_PDAC_W1_D11ACP_MASK            (0xE00U)
103244 #define XRDC2_PAC_PDAC_W1_D11ACP_SHIFT           (9U)
103245 /*! D11ACP - Domain "x" access control policy
103246  */
103247 #define XRDC2_PAC_PDAC_W1_D11ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D11ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D11ACP_MASK)
103248 
103249 #define XRDC2_PAC_PDAC_W1_D12ACP_MASK            (0x7000U)
103250 #define XRDC2_PAC_PDAC_W1_D12ACP_SHIFT           (12U)
103251 /*! D12ACP - Domain "x" access control policy
103252  */
103253 #define XRDC2_PAC_PDAC_W1_D12ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D12ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D12ACP_MASK)
103254 
103255 #define XRDC2_PAC_PDAC_W1_D13ACP_MASK            (0x38000U)
103256 #define XRDC2_PAC_PDAC_W1_D13ACP_SHIFT           (15U)
103257 /*! D13ACP - Domain "x" access control policy
103258  */
103259 #define XRDC2_PAC_PDAC_W1_D13ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D13ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D13ACP_MASK)
103260 
103261 #define XRDC2_PAC_PDAC_W1_D14ACP_MASK            (0x1C0000U)
103262 #define XRDC2_PAC_PDAC_W1_D14ACP_SHIFT           (18U)
103263 /*! D14ACP - Domain "x" access control policy
103264  */
103265 #define XRDC2_PAC_PDAC_W1_D14ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D14ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D14ACP_MASK)
103266 
103267 #define XRDC2_PAC_PDAC_W1_D15ACP_MASK            (0xE00000U)
103268 #define XRDC2_PAC_PDAC_W1_D15ACP_SHIFT           (21U)
103269 /*! D15ACP - Domain "x" access control policy
103270  */
103271 #define XRDC2_PAC_PDAC_W1_D15ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_D15ACP_SHIFT)) & XRDC2_PAC_PDAC_W1_D15ACP_MASK)
103272 
103273 #define XRDC2_PAC_PDAC_W1_EAL_MASK               (0x3000000U)
103274 #define XRDC2_PAC_PDAC_W1_EAL_SHIFT              (24U)
103275 /*! EAL - Exclusive Access Lock
103276  *  0b00..Lock disabled.
103277  *  0b01..Lock disabled until next reset.
103278  *  0b10..Lock enabled, lock state = available.
103279  *  0b11..Lock enabled, lock state = not available.
103280  */
103281 #define XRDC2_PAC_PDAC_W1_EAL(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_EAL_SHIFT)) & XRDC2_PAC_PDAC_W1_EAL_MASK)
103282 
103283 #define XRDC2_PAC_PDAC_W1_DL2_MASK               (0x60000000U)
103284 #define XRDC2_PAC_PDAC_W1_DL2_SHIFT              (29U)
103285 /*! DL2 - Descriptor Lock
103286  *  0b00..Lock disabled, descriptor registers can be written..
103287  *  0b01..Lock disabled until the next reset, descriptor registers can be written..
103288  *  0b10..Lock enabled, only domain "x" can only update the DxACP field; no other fields can be written..
103289  *  0b11..Lock enabled, descriptor registers are read-only until the next reset.
103290  */
103291 #define XRDC2_PAC_PDAC_W1_DL2(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_DL2_SHIFT)) & XRDC2_PAC_PDAC_W1_DL2_MASK)
103292 
103293 #define XRDC2_PAC_PDAC_W1_VLD_MASK               (0x80000000U)
103294 #define XRDC2_PAC_PDAC_W1_VLD_SHIFT              (31U)
103295 /*! VLD - Valid
103296  *  0b0..The PDAC assignment is invalid.
103297  *  0b1..The PDAC assignment is valid.
103298  */
103299 #define XRDC2_PAC_PDAC_W1_VLD(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_PAC_PDAC_W1_VLD_SHIFT)) & XRDC2_PAC_PDAC_W1_VLD_MASK)
103300 /*! @} */
103301 
103302 /* The count of XRDC2_PAC_PDAC_W1 */
103303 #define XRDC2_PAC_PDAC_W1_COUNT                  (8U)
103304 
103305 /* The count of XRDC2_PAC_PDAC_W1 */
103306 #define XRDC2_PAC_PDAC_W1_COUNT2                 (256U)
103307 
103308 /*! @name MRC_MRGD_W0 - Memory Region Descriptor */
103309 /*! @{ */
103310 
103311 #define XRDC2_MRC_MRGD_W0_SRTADDR_MASK           (0xFFFFF000U)
103312 #define XRDC2_MRC_MRGD_W0_SRTADDR_SHIFT          (12U)
103313 /*! SRTADDR - Start Address
103314  */
103315 #define XRDC2_MRC_MRGD_W0_SRTADDR(x)             (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W0_SRTADDR_SHIFT)) & XRDC2_MRC_MRGD_W0_SRTADDR_MASK)
103316 /*! @} */
103317 
103318 /* The count of XRDC2_MRC_MRGD_W0 */
103319 #define XRDC2_MRC_MRGD_W0_COUNT                  (32U)
103320 
103321 /* The count of XRDC2_MRC_MRGD_W0 */
103322 #define XRDC2_MRC_MRGD_W0_COUNT2                 (32U)
103323 
103324 /*! @name MRC_MRGD_W1 - Memory Region Descriptor */
103325 /*! @{ */
103326 
103327 #define XRDC2_MRC_MRGD_W1_SRTADDR_MASK           (0xFU)
103328 #define XRDC2_MRC_MRGD_W1_SRTADDR_SHIFT          (0U)
103329 /*! SRTADDR - Start Address
103330  */
103331 #define XRDC2_MRC_MRGD_W1_SRTADDR(x)             (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W1_SRTADDR_SHIFT)) & XRDC2_MRC_MRGD_W1_SRTADDR_MASK)
103332 /*! @} */
103333 
103334 /* The count of XRDC2_MRC_MRGD_W1 */
103335 #define XRDC2_MRC_MRGD_W1_COUNT                  (32U)
103336 
103337 /* The count of XRDC2_MRC_MRGD_W1 */
103338 #define XRDC2_MRC_MRGD_W1_COUNT2                 (32U)
103339 
103340 /*! @name MRC_MRGD_W2 - Memory Region Descriptor */
103341 /*! @{ */
103342 
103343 #define XRDC2_MRC_MRGD_W2_ENDADDR_MASK           (0xFFFFF000U)
103344 #define XRDC2_MRC_MRGD_W2_ENDADDR_SHIFT          (12U)
103345 /*! ENDADDR - End Address
103346  */
103347 #define XRDC2_MRC_MRGD_W2_ENDADDR(x)             (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W2_ENDADDR_SHIFT)) & XRDC2_MRC_MRGD_W2_ENDADDR_MASK)
103348 /*! @} */
103349 
103350 /* The count of XRDC2_MRC_MRGD_W2 */
103351 #define XRDC2_MRC_MRGD_W2_COUNT                  (32U)
103352 
103353 /* The count of XRDC2_MRC_MRGD_W2 */
103354 #define XRDC2_MRC_MRGD_W2_COUNT2                 (32U)
103355 
103356 /*! @name MRC_MRGD_W3 - Memory Region Descriptor */
103357 /*! @{ */
103358 
103359 #define XRDC2_MRC_MRGD_W3_ENDADDR_MASK           (0xFU)
103360 #define XRDC2_MRC_MRGD_W3_ENDADDR_SHIFT          (0U)
103361 /*! ENDADDR - End Address
103362  */
103363 #define XRDC2_MRC_MRGD_W3_ENDADDR(x)             (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W3_ENDADDR_SHIFT)) & XRDC2_MRC_MRGD_W3_ENDADDR_MASK)
103364 /*! @} */
103365 
103366 /* The count of XRDC2_MRC_MRGD_W3 */
103367 #define XRDC2_MRC_MRGD_W3_COUNT                  (32U)
103368 
103369 /* The count of XRDC2_MRC_MRGD_W3 */
103370 #define XRDC2_MRC_MRGD_W3_COUNT2                 (32U)
103371 
103372 /*! @name MRC_MRGD_W5 - Memory Region Descriptor */
103373 /*! @{ */
103374 
103375 #define XRDC2_MRC_MRGD_W5_D0ACP_MASK             (0x7U)
103376 #define XRDC2_MRC_MRGD_W5_D0ACP_SHIFT            (0U)
103377 /*! D0ACP - Domain "x" access control policy
103378  */
103379 #define XRDC2_MRC_MRGD_W5_D0ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D0ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D0ACP_MASK)
103380 
103381 #define XRDC2_MRC_MRGD_W5_D1ACP_MASK             (0x38U)
103382 #define XRDC2_MRC_MRGD_W5_D1ACP_SHIFT            (3U)
103383 /*! D1ACP - Domain "x" access control policy
103384  */
103385 #define XRDC2_MRC_MRGD_W5_D1ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D1ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D1ACP_MASK)
103386 
103387 #define XRDC2_MRC_MRGD_W5_D2ACP_MASK             (0x1C0U)
103388 #define XRDC2_MRC_MRGD_W5_D2ACP_SHIFT            (6U)
103389 /*! D2ACP - Domain "x" access control policy
103390  */
103391 #define XRDC2_MRC_MRGD_W5_D2ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D2ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D2ACP_MASK)
103392 
103393 #define XRDC2_MRC_MRGD_W5_D3ACP_MASK             (0xE00U)
103394 #define XRDC2_MRC_MRGD_W5_D3ACP_SHIFT            (9U)
103395 /*! D3ACP - Domain "x" access control policy
103396  */
103397 #define XRDC2_MRC_MRGD_W5_D3ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D3ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D3ACP_MASK)
103398 
103399 #define XRDC2_MRC_MRGD_W5_D4ACP_MASK             (0x7000U)
103400 #define XRDC2_MRC_MRGD_W5_D4ACP_SHIFT            (12U)
103401 /*! D4ACP - Domain "x" access control policy
103402  */
103403 #define XRDC2_MRC_MRGD_W5_D4ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D4ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D4ACP_MASK)
103404 
103405 #define XRDC2_MRC_MRGD_W5_D5ACP_MASK             (0x38000U)
103406 #define XRDC2_MRC_MRGD_W5_D5ACP_SHIFT            (15U)
103407 /*! D5ACP - Domain "x" access control policy
103408  */
103409 #define XRDC2_MRC_MRGD_W5_D5ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D5ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D5ACP_MASK)
103410 
103411 #define XRDC2_MRC_MRGD_W5_D6ACP_MASK             (0x1C0000U)
103412 #define XRDC2_MRC_MRGD_W5_D6ACP_SHIFT            (18U)
103413 /*! D6ACP - Domain "x" access control policy
103414  */
103415 #define XRDC2_MRC_MRGD_W5_D6ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D6ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D6ACP_MASK)
103416 
103417 #define XRDC2_MRC_MRGD_W5_D7ACP_MASK             (0xE00000U)
103418 #define XRDC2_MRC_MRGD_W5_D7ACP_SHIFT            (21U)
103419 /*! D7ACP - Domain "x" access control policy
103420  */
103421 #define XRDC2_MRC_MRGD_W5_D7ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_D7ACP_SHIFT)) & XRDC2_MRC_MRGD_W5_D7ACP_MASK)
103422 
103423 #define XRDC2_MRC_MRGD_W5_EALO_MASK              (0xF000000U)
103424 #define XRDC2_MRC_MRGD_W5_EALO_SHIFT             (24U)
103425 /*! EALO - Exclusive Access Lock Owner
103426  */
103427 #define XRDC2_MRC_MRGD_W5_EALO(x)                (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W5_EALO_SHIFT)) & XRDC2_MRC_MRGD_W5_EALO_MASK)
103428 /*! @} */
103429 
103430 /* The count of XRDC2_MRC_MRGD_W5 */
103431 #define XRDC2_MRC_MRGD_W5_COUNT                  (32U)
103432 
103433 /* The count of XRDC2_MRC_MRGD_W5 */
103434 #define XRDC2_MRC_MRGD_W5_COUNT2                 (32U)
103435 
103436 /*! @name MRC_MRGD_W6 - Memory Region Descriptor */
103437 /*! @{ */
103438 
103439 #define XRDC2_MRC_MRGD_W6_D8ACP_MASK             (0x7U)
103440 #define XRDC2_MRC_MRGD_W6_D8ACP_SHIFT            (0U)
103441 /*! D8ACP - Domain "x" access control policy
103442  */
103443 #define XRDC2_MRC_MRGD_W6_D8ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D8ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D8ACP_MASK)
103444 
103445 #define XRDC2_MRC_MRGD_W6_D9ACP_MASK             (0x38U)
103446 #define XRDC2_MRC_MRGD_W6_D9ACP_SHIFT            (3U)
103447 /*! D9ACP - Domain "x" access control policy
103448  */
103449 #define XRDC2_MRC_MRGD_W6_D9ACP(x)               (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D9ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D9ACP_MASK)
103450 
103451 #define XRDC2_MRC_MRGD_W6_D10ACP_MASK            (0x1C0U)
103452 #define XRDC2_MRC_MRGD_W6_D10ACP_SHIFT           (6U)
103453 /*! D10ACP - Domain "x" access control policy
103454  */
103455 #define XRDC2_MRC_MRGD_W6_D10ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D10ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D10ACP_MASK)
103456 
103457 #define XRDC2_MRC_MRGD_W6_D11ACP_MASK            (0xE00U)
103458 #define XRDC2_MRC_MRGD_W6_D11ACP_SHIFT           (9U)
103459 /*! D11ACP - Domain "x" access control policy
103460  */
103461 #define XRDC2_MRC_MRGD_W6_D11ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D11ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D11ACP_MASK)
103462 
103463 #define XRDC2_MRC_MRGD_W6_D12ACP_MASK            (0x7000U)
103464 #define XRDC2_MRC_MRGD_W6_D12ACP_SHIFT           (12U)
103465 /*! D12ACP - Domain "x" access control policy
103466  */
103467 #define XRDC2_MRC_MRGD_W6_D12ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D12ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D12ACP_MASK)
103468 
103469 #define XRDC2_MRC_MRGD_W6_D13ACP_MASK            (0x38000U)
103470 #define XRDC2_MRC_MRGD_W6_D13ACP_SHIFT           (15U)
103471 /*! D13ACP - Domain "x" access control policy
103472  */
103473 #define XRDC2_MRC_MRGD_W6_D13ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D13ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D13ACP_MASK)
103474 
103475 #define XRDC2_MRC_MRGD_W6_D14ACP_MASK            (0x1C0000U)
103476 #define XRDC2_MRC_MRGD_W6_D14ACP_SHIFT           (18U)
103477 /*! D14ACP - Domain "x" access control policy
103478  */
103479 #define XRDC2_MRC_MRGD_W6_D14ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D14ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D14ACP_MASK)
103480 
103481 #define XRDC2_MRC_MRGD_W6_D15ACP_MASK            (0xE00000U)
103482 #define XRDC2_MRC_MRGD_W6_D15ACP_SHIFT           (21U)
103483 /*! D15ACP - Domain "x" access control policy
103484  */
103485 #define XRDC2_MRC_MRGD_W6_D15ACP(x)              (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_D15ACP_SHIFT)) & XRDC2_MRC_MRGD_W6_D15ACP_MASK)
103486 
103487 #define XRDC2_MRC_MRGD_W6_EAL_MASK               (0x3000000U)
103488 #define XRDC2_MRC_MRGD_W6_EAL_SHIFT              (24U)
103489 /*! EAL - Exclusive Access Lock
103490  *  0b00..Lock disabled.
103491  *  0b01..Lock disabled until next reset.
103492  *  0b10..Lock enabled, lock state = available.
103493  *  0b11..Lock enabled, lock state = not available.
103494  */
103495 #define XRDC2_MRC_MRGD_W6_EAL(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_EAL_SHIFT)) & XRDC2_MRC_MRGD_W6_EAL_MASK)
103496 
103497 #define XRDC2_MRC_MRGD_W6_DL2_MASK               (0x60000000U)
103498 #define XRDC2_MRC_MRGD_W6_DL2_SHIFT              (29U)
103499 /*! DL2 - Descriptor Lock
103500  *  0b00..Lock disabled, descriptor registers can be written.
103501  *  0b01..Lock disabled until the next reset, descriptor registers can be written.
103502  *  0b10..Lock enabled, only domain "x" can only update the DxACP field; no other fields can be written.
103503  *  0b11..Lock enabled, descriptor registers are read-only until the next reset.
103504  */
103505 #define XRDC2_MRC_MRGD_W6_DL2(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_DL2_SHIFT)) & XRDC2_MRC_MRGD_W6_DL2_MASK)
103506 
103507 #define XRDC2_MRC_MRGD_W6_VLD_MASK               (0x80000000U)
103508 #define XRDC2_MRC_MRGD_W6_VLD_SHIFT              (31U)
103509 /*! VLD - Valid
103510  *  0b0..The MRGD is invalid.
103511  *  0b1..The MRGD is valid.
103512  */
103513 #define XRDC2_MRC_MRGD_W6_VLD(x)                 (((uint32_t)(((uint32_t)(x)) << XRDC2_MRC_MRGD_W6_VLD_SHIFT)) & XRDC2_MRC_MRGD_W6_VLD_MASK)
103514 /*! @} */
103515 
103516 /* The count of XRDC2_MRC_MRGD_W6 */
103517 #define XRDC2_MRC_MRGD_W6_COUNT                  (32U)
103518 
103519 /* The count of XRDC2_MRC_MRGD_W6 */
103520 #define XRDC2_MRC_MRGD_W6_COUNT2                 (32U)
103521 
103522 
103523 /*!
103524  * @}
103525  */ /* end of group XRDC2_Register_Masks */
103526 
103527 
103528 /* XRDC2 - Peripheral instance base addresses */
103529 /** Peripheral XRDC2_D0 base address */
103530 #define XRDC2_D0_BASE                            (0x40CE0000u)
103531 /** Peripheral XRDC2_D0 base pointer */
103532 #define XRDC2_D0                                 ((XRDC2_Type *)XRDC2_D0_BASE)
103533 /** Peripheral XRDC2_D1 base address */
103534 #define XRDC2_D1_BASE                            (0x40CD0000u)
103535 /** Peripheral XRDC2_D1 base pointer */
103536 #define XRDC2_D1                                 ((XRDC2_Type *)XRDC2_D1_BASE)
103537 /** Array initializer of XRDC2 peripheral base addresses */
103538 #define XRDC2_BASE_ADDRS                         { XRDC2_D0_BASE, XRDC2_D1_BASE }
103539 /** Array initializer of XRDC2 peripheral base pointers */
103540 #define XRDC2_BASE_PTRS                          { XRDC2_D0, XRDC2_D1 }
103541 
103542 /*!
103543  * @}
103544  */ /* end of group XRDC2_Peripheral_Access_Layer */
103545 
103546 
103547 /*
103548 ** End of section using anonymous unions
103549 */
103550 
103551 #if defined(__ARMCC_VERSION)
103552   #if (__ARMCC_VERSION >= 6010050)
103553     #pragma clang diagnostic pop
103554   #else
103555     #pragma pop
103556   #endif
103557 #elif defined(__CWCC__)
103558   #pragma pop
103559 #elif defined(__GNUC__)
103560   /* leave anonymous unions enabled */
103561 #elif defined(__IAR_SYSTEMS_ICC__)
103562   #pragma language=default
103563 #else
103564   #error Not supported compiler type
103565 #endif
103566 
103567 /*!
103568  * @}
103569  */ /* end of group Peripheral_access_layer */
103570 
103571 
103572 /* ----------------------------------------------------------------------------
103573    -- Macros for use with bit field definitions (xxx_SHIFT, xxx_MASK).
103574    ---------------------------------------------------------------------------- */
103575 
103576 /*!
103577  * @addtogroup Bit_Field_Generic_Macros Macros for use with bit field definitions (xxx_SHIFT, xxx_MASK).
103578  * @{
103579  */
103580 
103581 #if defined(__ARMCC_VERSION)
103582   #if (__ARMCC_VERSION >= 6010050)
103583     #pragma clang system_header
103584   #endif
103585 #elif defined(__IAR_SYSTEMS_ICC__)
103586   #pragma system_include
103587 #endif
103588 
103589 /**
103590  * @brief Mask and left-shift a bit field value for use in a register bit range.
103591  * @param field Name of the register bit field.
103592  * @param value Value of the bit field.
103593  * @return Masked and shifted value.
103594  */
103595 #define NXP_VAL2FLD(field, value)    (((value) << (field ## _SHIFT)) & (field ## _MASK))
103596 /**
103597  * @brief Mask and right-shift a register value to extract a bit field value.
103598  * @param field Name of the register bit field.
103599  * @param value Value of the register.
103600  * @return Masked and shifted bit field value.
103601  */
103602 #define NXP_FLD2VAL(field, value)    (((value) & (field ## _MASK)) >> (field ## _SHIFT))
103603 
103604 /*!
103605  * @}
103606  */ /* end of group Bit_Field_Generic_Macros */
103607 
103608 
103609 /* ----------------------------------------------------------------------------
103610    -- SDK Compatibility
103611    ---------------------------------------------------------------------------- */
103612 
103613 /*!
103614  * @addtogroup SDK_Compatibility_Symbols SDK Compatibility
103615  * @{
103616  */
103617 
103618 /* No SDK compatibility issues. */
103619 
103620 /*!
103621  * @}
103622  */ /* end of group SDK_Compatibility_Symbols */
103623 
103624 
103625 #endif  /* _MIMXRT1176_CM7_H_ */
103626 
103627