MAX32520 Peripheral Driver API
Peripheral Driver API for the MAX32520
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
gcr_regs.h
Go to the documentation of this file.
1
8/******************************************************************************
9 *
10 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
11 * Analog Devices, Inc.),
12 * Copyright (C) 2023-2024 Analog Devices, Inc.
13 *
14 * Licensed under the Apache License, Version 2.0 (the "License");
15 * you may not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 * http://www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 *
26 ******************************************************************************/
27
28#ifndef LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32520_INCLUDE_GCR_REGS_H_
29#define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32520_INCLUDE_GCR_REGS_H_
30
31/* **** Includes **** */
32#include <stdint.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38#if defined (__ICCARM__)
39 #pragma system_include
40#endif
41
42#if defined (__CC_ARM)
43 #pragma anon_unions
44#endif
46/*
47 If types are not defined elsewhere (CMSIS) define them here
48*/
49#ifndef __IO
50#define __IO volatile
51#endif
52#ifndef __I
53#define __I volatile const
54#endif
55#ifndef __O
56#define __O volatile
57#endif
58#ifndef __R
59#define __R volatile const
60#endif
62
63/* **** Definitions **** */
64
76typedef struct {
77 __IO uint32_t sysctrl;
78 __IO uint32_t rst0;
79 __IO uint32_t clkctrl;
80 __IO uint32_t pm;
81 __R uint32_t rsv_0x10_0x17[2];
82 __IO uint32_t pclkdiv;
83 __R uint32_t rsv_0x1c_0x23[2];
84 __IO uint32_t pclkdis0;
85 __IO uint32_t memctrl;
86 __IO uint32_t memz;
87 __R uint32_t rsv_0x30_0x3f[4];
88 __IO uint32_t sysst;
89 __IO uint32_t rst1;
90 __IO uint32_t pclkdis1;
91 __IO uint32_t eventen;
92 __I uint32_t revision;
93 __IO uint32_t sysie;
94 __R uint32_t rsv_0x58_0x63[3];
95 __IO uint32_t eccerr;
96 __IO uint32_t eccced;
97 __IO uint32_t eccie;
98 __IO uint32_t eccaddr;
100
101/* Register offsets for module GCR */
108#define MXC_R_GCR_SYSCTRL ((uint32_t)0x00000000UL)
109#define MXC_R_GCR_RST0 ((uint32_t)0x00000004UL)
110#define MXC_R_GCR_CLKCTRL ((uint32_t)0x00000008UL)
111#define MXC_R_GCR_PM ((uint32_t)0x0000000CUL)
112#define MXC_R_GCR_PCLKDIV ((uint32_t)0x00000018UL)
113#define MXC_R_GCR_PCLKDIS0 ((uint32_t)0x00000024UL)
114#define MXC_R_GCR_MEMCTRL ((uint32_t)0x00000028UL)
115#define MXC_R_GCR_MEMZ ((uint32_t)0x0000002CUL)
116#define MXC_R_GCR_SYSST ((uint32_t)0x00000040UL)
117#define MXC_R_GCR_RST1 ((uint32_t)0x00000044UL)
118#define MXC_R_GCR_PCLKDIS1 ((uint32_t)0x00000048UL)
119#define MXC_R_GCR_EVENTEN ((uint32_t)0x0000004CUL)
120#define MXC_R_GCR_REVISION ((uint32_t)0x00000050UL)
121#define MXC_R_GCR_SYSIE ((uint32_t)0x00000054UL)
122#define MXC_R_GCR_ECCERR ((uint32_t)0x00000064UL)
123#define MXC_R_GCR_ECCCED ((uint32_t)0x00000068UL)
124#define MXC_R_GCR_ECCIE ((uint32_t)0x0000006CUL)
125#define MXC_R_GCR_ECCADDR ((uint32_t)0x00000070UL)
134#define MXC_F_GCR_SYSCTRL_BSTAPEN_POS 0
135#define MXC_F_GCR_SYSCTRL_BSTAPEN ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_BSTAPEN_POS))
137#define MXC_F_GCR_SYSCTRL_FLASH0_PAGE_FLIP_POS 4
138#define MXC_F_GCR_SYSCTRL_FLASH0_PAGE_FLIP ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_FLASH0_PAGE_FLIP_POS))
140#define MXC_F_GCR_SYSCTRL_ICC0_FLUSH_POS 6
141#define MXC_F_GCR_SYSCTRL_ICC0_FLUSH ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_ICC0_FLUSH_POS))
143#define MXC_F_GCR_SYSCTRL_CCHK_POS 13
144#define MXC_F_GCR_SYSCTRL_CCHK ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_CCHK_POS))
146#define MXC_F_GCR_SYSCTRL_CHKRES_POS 15
147#define MXC_F_GCR_SYSCTRL_CHKRES ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_CHKRES_POS))
149#define MXC_F_GCR_SYSCTRL_MDU_KEYSZ_POS 21
150#define MXC_F_GCR_SYSCTRL_MDU_KEYSZ ((uint32_t)(0x1UL << MXC_F_GCR_SYSCTRL_MDU_KEYSZ_POS))
160#define MXC_F_GCR_RST0_DMA_POS 0
161#define MXC_F_GCR_RST0_DMA ((uint32_t)(0x1UL << MXC_F_GCR_RST0_DMA_POS))
163#define MXC_F_GCR_RST0_WDT0_POS 1
164#define MXC_F_GCR_RST0_WDT0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_WDT0_POS))
166#define MXC_F_GCR_RST0_GPIO0_POS 2
167#define MXC_F_GCR_RST0_GPIO0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_GPIO0_POS))
169#define MXC_F_GCR_RST0_GPIO1_POS 3
170#define MXC_F_GCR_RST0_GPIO1 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_GPIO1_POS))
172#define MXC_F_GCR_RST0_TMR0_POS 5
173#define MXC_F_GCR_RST0_TMR0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_TMR0_POS))
175#define MXC_F_GCR_RST0_TMR1_POS 6
176#define MXC_F_GCR_RST0_TMR1 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_TMR1_POS))
178#define MXC_F_GCR_RST0_TMR2_POS 7
179#define MXC_F_GCR_RST0_TMR2 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_TMR2_POS))
181#define MXC_F_GCR_RST0_TMR3_POS 8
182#define MXC_F_GCR_RST0_TMR3 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_TMR3_POS))
184#define MXC_F_GCR_RST0_UART0_POS 11
185#define MXC_F_GCR_RST0_UART0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_UART0_POS))
187#define MXC_F_GCR_RST0_SPI0_POS 13
188#define MXC_F_GCR_RST0_SPI0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_SPI0_POS))
190#define MXC_F_GCR_RST0_SPI1_POS 14
191#define MXC_F_GCR_RST0_SPI1 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_SPI1_POS))
193#define MXC_F_GCR_RST0_I2C0_POS 16
194#define MXC_F_GCR_RST0_I2C0 ((uint32_t)(0x1UL << MXC_F_GCR_RST0_I2C0_POS))
196#define MXC_F_GCR_RST0_CRYPTO_POS 18
197#define MXC_F_GCR_RST0_CRYPTO ((uint32_t)(0x1UL << MXC_F_GCR_RST0_CRYPTO_POS))
199#define MXC_F_GCR_RST0_SOFT_POS 29
200#define MXC_F_GCR_RST0_SOFT ((uint32_t)(0x1UL << MXC_F_GCR_RST0_SOFT_POS))
202#define MXC_F_GCR_RST0_PERIPH_POS 30
203#define MXC_F_GCR_RST0_PERIPH ((uint32_t)(0x1UL << MXC_F_GCR_RST0_PERIPH_POS))
205#define MXC_F_GCR_RST0_SYS_POS 31
206#define MXC_F_GCR_RST0_SYS ((uint32_t)(0x1UL << MXC_F_GCR_RST0_SYS_POS))
216#define MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS 6
217#define MXC_F_GCR_CLKCTRL_SYSCLK_DIV ((uint32_t)(0x7UL << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS))
218#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV1 ((uint32_t)0x0UL)
219#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV1 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV1 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
220#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV2 ((uint32_t)0x1UL)
221#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV2 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV2 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
222#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV4 ((uint32_t)0x2UL)
223#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV4 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV4 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
224#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV8 ((uint32_t)0x3UL)
225#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV8 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV8 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
226#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV16 ((uint32_t)0x4UL)
227#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV16 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV16 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
228#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV32 ((uint32_t)0x5UL)
229#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV32 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV32 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
230#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV64 ((uint32_t)0x6UL)
231#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV64 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV64 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
232#define MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV128 ((uint32_t)0x7UL)
233#define MXC_S_GCR_CLKCTRL_SYSCLK_DIV_DIV128 (MXC_V_GCR_CLKCTRL_SYSCLK_DIV_DIV128 << MXC_F_GCR_CLKCTRL_SYSCLK_DIV_POS)
235#define MXC_F_GCR_CLKCTRL_SYSCLK_SEL_POS 9
236#define MXC_F_GCR_CLKCTRL_SYSCLK_SEL ((uint32_t)(0x7UL << MXC_F_GCR_CLKCTRL_SYSCLK_SEL_POS))
237#define MXC_V_GCR_CLKCTRL_SYSCLK_SEL_IPO ((uint32_t)0x0UL)
238#define MXC_S_GCR_CLKCTRL_SYSCLK_SEL_IPO (MXC_V_GCR_CLKCTRL_SYSCLK_SEL_IPO << MXC_F_GCR_CLKCTRL_SYSCLK_SEL_POS)
239#define MXC_V_GCR_CLKCTRL_SYSCLK_SEL_INRO ((uint32_t)0x3UL)
240#define MXC_S_GCR_CLKCTRL_SYSCLK_SEL_INRO (MXC_V_GCR_CLKCTRL_SYSCLK_SEL_INRO << MXC_F_GCR_CLKCTRL_SYSCLK_SEL_POS)
241#define MXC_V_GCR_CLKCTRL_SYSCLK_SEL_IBRO ((uint32_t)0x5UL)
242#define MXC_S_GCR_CLKCTRL_SYSCLK_SEL_IBRO (MXC_V_GCR_CLKCTRL_SYSCLK_SEL_IBRO << MXC_F_GCR_CLKCTRL_SYSCLK_SEL_POS)
244#define MXC_F_GCR_CLKCTRL_SYSCLK_RDY_POS 13
245#define MXC_F_GCR_CLKCTRL_SYSCLK_RDY ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_SYSCLK_RDY_POS))
247#define MXC_F_GCR_CLKCTRL_CCD_POS 15
248#define MXC_F_GCR_CLKCTRL_CCD ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_CCD_POS))
250#define MXC_F_GCR_CLKCTRL_IPO_EN_POS 18
251#define MXC_F_GCR_CLKCTRL_IPO_EN ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_IPO_EN_POS))
253#define MXC_F_GCR_CLKCTRL_IBRO_EN_POS 20
254#define MXC_F_GCR_CLKCTRL_IBRO_EN ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_IBRO_EN_POS))
256#define MXC_F_GCR_CLKCTRL_IBRO_VS_POS 21
257#define MXC_F_GCR_CLKCTRL_IBRO_VS ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_IBRO_VS_POS))
259#define MXC_F_GCR_CLKCTRL_IPO_RDY_POS 26
260#define MXC_F_GCR_CLKCTRL_IPO_RDY ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_IPO_RDY_POS))
262#define MXC_F_GCR_CLKCTRL_IBRO_RDY_POS 28
263#define MXC_F_GCR_CLKCTRL_IBRO_RDY ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_IBRO_RDY_POS))
265#define MXC_F_GCR_CLKCTRL_INRO_RDY_POS 29
266#define MXC_F_GCR_CLKCTRL_INRO_RDY ((uint32_t)(0x1UL << MXC_F_GCR_CLKCTRL_INRO_RDY_POS))
276#define MXC_F_GCR_PM_MODE_POS 0
277#define MXC_F_GCR_PM_MODE ((uint32_t)(0x7UL << MXC_F_GCR_PM_MODE_POS))
278#define MXC_V_GCR_PM_MODE_ACTIVE ((uint32_t)0x0UL)
279#define MXC_S_GCR_PM_MODE_ACTIVE (MXC_V_GCR_PM_MODE_ACTIVE << MXC_F_GCR_PM_MODE_POS)
280#define MXC_V_GCR_PM_MODE_DEEPSLEEP ((uint32_t)0x2UL)
281#define MXC_S_GCR_PM_MODE_DEEPSLEEP (MXC_V_GCR_PM_MODE_DEEPSLEEP << MXC_F_GCR_PM_MODE_POS)
282#define MXC_V_GCR_PM_MODE_SHUTDOWN ((uint32_t)0x3UL)
283#define MXC_S_GCR_PM_MODE_SHUTDOWN (MXC_V_GCR_PM_MODE_SHUTDOWN << MXC_F_GCR_PM_MODE_POS)
284#define MXC_V_GCR_PM_MODE_BACKUP ((uint32_t)0x4UL)
285#define MXC_S_GCR_PM_MODE_BACKUP (MXC_V_GCR_PM_MODE_BACKUP << MXC_F_GCR_PM_MODE_POS)
287#define MXC_F_GCR_PM_GPIO_WE_POS 4
288#define MXC_F_GCR_PM_GPIO_WE ((uint32_t)(0x1UL << MXC_F_GCR_PM_GPIO_WE_POS))
290#define MXC_F_GCR_PM_IPO_PD_POS 15
291#define MXC_F_GCR_PM_IPO_PD ((uint32_t)(0x1UL << MXC_F_GCR_PM_IPO_PD_POS))
293#define MXC_F_GCR_PM_IBRO_PD_POS 17
294#define MXC_F_GCR_PM_IBRO_PD ((uint32_t)(0x1UL << MXC_F_GCR_PM_IBRO_PD_POS))
304#define MXC_F_GCR_PCLKDIV_PCF_POS 0
305#define MXC_F_GCR_PCLKDIV_PCF ((uint32_t)(0x7UL << MXC_F_GCR_PCLKDIV_PCF_POS))
306#define MXC_V_GCR_PCLKDIV_PCF_96MHZ ((uint32_t)0x2UL)
307#define MXC_S_GCR_PCLKDIV_PCF_96MHZ (MXC_V_GCR_PCLKDIV_PCF_96MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
308#define MXC_V_GCR_PCLKDIV_PCF_48MHZ ((uint32_t)0x3UL)
309#define MXC_S_GCR_PCLKDIV_PCF_48MHZ (MXC_V_GCR_PCLKDIV_PCF_48MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
310#define MXC_V_GCR_PCLKDIV_PCF_24MHZ ((uint32_t)0x4UL)
311#define MXC_S_GCR_PCLKDIV_PCF_24MHZ (MXC_V_GCR_PCLKDIV_PCF_24MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
312#define MXC_V_GCR_PCLKDIV_PCF_12MHZ ((uint32_t)0x5UL)
313#define MXC_S_GCR_PCLKDIV_PCF_12MHZ (MXC_V_GCR_PCLKDIV_PCF_12MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
314#define MXC_V_GCR_PCLKDIV_PCF_6MHZ ((uint32_t)0x6UL)
315#define MXC_S_GCR_PCLKDIV_PCF_6MHZ (MXC_V_GCR_PCLKDIV_PCF_6MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
316#define MXC_V_GCR_PCLKDIV_PCF_3MHZ ((uint32_t)0x7UL)
317#define MXC_S_GCR_PCLKDIV_PCF_3MHZ (MXC_V_GCR_PCLKDIV_PCF_3MHZ << MXC_F_GCR_PCLKDIV_PCF_POS)
319#define MXC_F_GCR_PCLKDIV_PCFWEN_POS 3
320#define MXC_F_GCR_PCLKDIV_PCFWEN ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIV_PCFWEN_POS))
322#define MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS 14
323#define MXC_F_GCR_PCLKDIV_AON_CLKDIV ((uint32_t)(0x3UL << MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS))
324#define MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_4 ((uint32_t)0x0UL)
325#define MXC_S_GCR_PCLKDIV_AON_CLKDIV_DIV_4 (MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_4 << MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS)
326#define MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_8 ((uint32_t)0x1UL)
327#define MXC_S_GCR_PCLKDIV_AON_CLKDIV_DIV_8 (MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_8 << MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS)
328#define MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_16 ((uint32_t)0x2UL)
329#define MXC_S_GCR_PCLKDIV_AON_CLKDIV_DIV_16 (MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_16 << MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS)
330#define MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_32 ((uint32_t)0x3UL)
331#define MXC_S_GCR_PCLKDIV_AON_CLKDIV_DIV_32 (MXC_V_GCR_PCLKDIV_AON_CLKDIV_DIV_32 << MXC_F_GCR_PCLKDIV_AON_CLKDIV_POS)
341#define MXC_F_GCR_PCLKDIS0_GPIO0_POS 0
342#define MXC_F_GCR_PCLKDIS0_GPIO0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_GPIO0_POS))
344#define MXC_F_GCR_PCLKDIS0_GPIO1_POS 1
345#define MXC_F_GCR_PCLKDIS0_GPIO1 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_GPIO1_POS))
347#define MXC_F_GCR_PCLKDIS0_DMA_POS 5
348#define MXC_F_GCR_PCLKDIS0_DMA ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_DMA_POS))
350#define MXC_F_GCR_PCLKDIS0_SPI0_POS 6
351#define MXC_F_GCR_PCLKDIS0_SPI0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_SPI0_POS))
353#define MXC_F_GCR_PCLKDIS0_SPI1_POS 7
354#define MXC_F_GCR_PCLKDIS0_SPI1 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_SPI1_POS))
356#define MXC_F_GCR_PCLKDIS0_UART0_POS 9
357#define MXC_F_GCR_PCLKDIS0_UART0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_UART0_POS))
359#define MXC_F_GCR_PCLKDIS0_I2C0_POS 13
360#define MXC_F_GCR_PCLKDIS0_I2C0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_I2C0_POS))
362#define MXC_F_GCR_PCLKDIS0_CRYPTO_POS 14
363#define MXC_F_GCR_PCLKDIS0_CRYPTO ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_CRYPTO_POS))
365#define MXC_F_GCR_PCLKDIS0_TMR0_POS 15
366#define MXC_F_GCR_PCLKDIS0_TMR0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_TMR0_POS))
368#define MXC_F_GCR_PCLKDIS0_TMR1_POS 16
369#define MXC_F_GCR_PCLKDIS0_TMR1 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_TMR1_POS))
371#define MXC_F_GCR_PCLKDIS0_TMR2_POS 17
372#define MXC_F_GCR_PCLKDIS0_TMR2 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_TMR2_POS))
374#define MXC_F_GCR_PCLKDIS0_TMR3_POS 18
375#define MXC_F_GCR_PCLKDIS0_TMR3 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS0_TMR3_POS))
385#define MXC_F_GCR_MEMCTRL_FWS_POS 0
386#define MXC_F_GCR_MEMCTRL_FWS ((uint32_t)(0x7UL << MXC_F_GCR_MEMCTRL_FWS_POS))
388#define MXC_F_GCR_MEMCTRL_RAMWS_EN_POS 4
389#define MXC_F_GCR_MEMCTRL_RAMWS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAMWS_EN_POS))
391#define MXC_F_GCR_MEMCTRL_RAM0LS_EN_POS 16
392#define MXC_F_GCR_MEMCTRL_RAM0LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAM0LS_EN_POS))
394#define MXC_F_GCR_MEMCTRL_RAM1LS_EN_POS 17
395#define MXC_F_GCR_MEMCTRL_RAM1LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAM1LS_EN_POS))
397#define MXC_F_GCR_MEMCTRL_RAM2LS_EN_POS 18
398#define MXC_F_GCR_MEMCTRL_RAM2LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAM2LS_EN_POS))
400#define MXC_F_GCR_MEMCTRL_RAM3LS_EN_POS 19
401#define MXC_F_GCR_MEMCTRL_RAM3LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAM3LS_EN_POS))
403#define MXC_F_GCR_MEMCTRL_RAM4LS_EN_POS 20
404#define MXC_F_GCR_MEMCTRL_RAM4LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_RAM4LS_EN_POS))
406#define MXC_F_GCR_MEMCTRL_ICC0LS_EN_POS 24
407#define MXC_F_GCR_MEMCTRL_ICC0LS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_ICC0LS_EN_POS))
409#define MXC_F_GCR_MEMCTRL_ROMLS_EN_POS 29
410#define MXC_F_GCR_MEMCTRL_ROMLS_EN ((uint32_t)(0x1UL << MXC_F_GCR_MEMCTRL_ROMLS_EN_POS))
420#define MXC_F_GCR_MEMZ_RAM0_POS 0
421#define MXC_F_GCR_MEMZ_RAM0 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_RAM0_POS))
423#define MXC_F_GCR_MEMZ_RAM1_POS 1
424#define MXC_F_GCR_MEMZ_RAM1 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_RAM1_POS))
426#define MXC_F_GCR_MEMZ_RAM2_POS 2
427#define MXC_F_GCR_MEMZ_RAM2 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_RAM2_POS))
429#define MXC_F_GCR_MEMZ_RAM3_POS 3
430#define MXC_F_GCR_MEMZ_RAM3 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_RAM3_POS))
432#define MXC_F_GCR_MEMZ_RAM4_POS 4
433#define MXC_F_GCR_MEMZ_RAM4 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_RAM4_POS))
435#define MXC_F_GCR_MEMZ_ICC0_POS 8
436#define MXC_F_GCR_MEMZ_ICC0 ((uint32_t)(0x1UL << MXC_F_GCR_MEMZ_ICC0_POS))
446#define MXC_F_GCR_SYSST_ICELOCK_POS 0
447#define MXC_F_GCR_SYSST_ICELOCK ((uint32_t)(0x1UL << MXC_F_GCR_SYSST_ICELOCK_POS))
457#define MXC_F_GCR_RST1_WDT1_POS 8
458#define MXC_F_GCR_RST1_WDT1 ((uint32_t)(0x1UL << MXC_F_GCR_RST1_WDT1_POS))
460#define MXC_F_GCR_RST1_SFES_POS 28
461#define MXC_F_GCR_RST1_SFES ((uint32_t)(0x1UL << MXC_F_GCR_RST1_SFES_POS))
471#define MXC_F_GCR_PCLKDIS1_TRNG_POS 2
472#define MXC_F_GCR_PCLKDIS1_TRNG ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS1_TRNG_POS))
474#define MXC_F_GCR_PCLKDIS1_WDT0_POS 27
475#define MXC_F_GCR_PCLKDIS1_WDT0 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS1_WDT0_POS))
477#define MXC_F_GCR_PCLKDIS1_WDT1_POS 28
478#define MXC_F_GCR_PCLKDIS1_WDT1 ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS1_WDT1_POS))
480#define MXC_F_GCR_PCLKDIS1_SFES_POS 30
481#define MXC_F_GCR_PCLKDIS1_SFES ((uint32_t)(0x1UL << MXC_F_GCR_PCLKDIS1_SFES_POS))
491#define MXC_F_GCR_EVENTEN_DMA_POS 0
492#define MXC_F_GCR_EVENTEN_DMA ((uint32_t)(0x1UL << MXC_F_GCR_EVENTEN_DMA_POS))
494#define MXC_F_GCR_EVENTEN_RX_POS 1
495#define MXC_F_GCR_EVENTEN_RX ((uint32_t)(0x1UL << MXC_F_GCR_EVENTEN_RX_POS))
497#define MXC_F_GCR_EVENTEN_TX_POS 2
498#define MXC_F_GCR_EVENTEN_TX ((uint32_t)(0x1UL << MXC_F_GCR_EVENTEN_TX_POS))
508#define MXC_F_GCR_REVISION_REVISION_POS 0
509#define MXC_F_GCR_REVISION_REVISION ((uint32_t)(0xFFFFUL << MXC_F_GCR_REVISION_REVISION_POS))
519#define MXC_F_GCR_SYSIE_ICEUNLOCK_POS 0
520#define MXC_F_GCR_SYSIE_ICEUNLOCK ((uint32_t)(0x1UL << MXC_F_GCR_SYSIE_ICEUNLOCK_POS))
530#define MXC_F_GCR_ECCERR_RAM0_POS 0
531#define MXC_F_GCR_ECCERR_RAM0 ((uint32_t)(0x1UL << MXC_F_GCR_ECCERR_RAM0_POS))
533#define MXC_F_GCR_ECCERR_RAM1_POS 1
534#define MXC_F_GCR_ECCERR_RAM1 ((uint32_t)(0x1UL << MXC_F_GCR_ECCERR_RAM1_POS))
536#define MXC_F_GCR_ECCERR_RAM2_POS 2
537#define MXC_F_GCR_ECCERR_RAM2 ((uint32_t)(0x1UL << MXC_F_GCR_ECCERR_RAM2_POS))
539#define MXC_F_GCR_ECCERR_RAM3_POS 3
540#define MXC_F_GCR_ECCERR_RAM3 ((uint32_t)(0x1UL << MXC_F_GCR_ECCERR_RAM3_POS))
542#define MXC_F_GCR_ECCERR_RAM4_POS 4
543#define MXC_F_GCR_ECCERR_RAM4 ((uint32_t)(0x1UL << MXC_F_GCR_ECCERR_RAM4_POS))
553#define MXC_F_GCR_ECCCED_RAM0_POS 0
554#define MXC_F_GCR_ECCCED_RAM0 ((uint32_t)(0x1UL << MXC_F_GCR_ECCCED_RAM0_POS))
556#define MXC_F_GCR_ECCCED_RAM1_POS 1
557#define MXC_F_GCR_ECCCED_RAM1 ((uint32_t)(0x1UL << MXC_F_GCR_ECCCED_RAM1_POS))
559#define MXC_F_GCR_ECCCED_RAM2_POS 2
560#define MXC_F_GCR_ECCCED_RAM2 ((uint32_t)(0x1UL << MXC_F_GCR_ECCCED_RAM2_POS))
562#define MXC_F_GCR_ECCCED_RAM3_POS 3
563#define MXC_F_GCR_ECCCED_RAM3 ((uint32_t)(0x1UL << MXC_F_GCR_ECCCED_RAM3_POS))
565#define MXC_F_GCR_ECCCED_RAM4_POS 4
566#define MXC_F_GCR_ECCCED_RAM4 ((uint32_t)(0x1UL << MXC_F_GCR_ECCCED_RAM4_POS))
576#define MXC_F_GCR_ECCIE_RAM0_POS 0
577#define MXC_F_GCR_ECCIE_RAM0 ((uint32_t)(0x1UL << MXC_F_GCR_ECCIE_RAM0_POS))
579#define MXC_F_GCR_ECCIE_RAM1_POS 1
580#define MXC_F_GCR_ECCIE_RAM1 ((uint32_t)(0x1UL << MXC_F_GCR_ECCIE_RAM1_POS))
582#define MXC_F_GCR_ECCIE_RAM2_POS 2
583#define MXC_F_GCR_ECCIE_RAM2 ((uint32_t)(0x1UL << MXC_F_GCR_ECCIE_RAM2_POS))
585#define MXC_F_GCR_ECCIE_RAM3_POS 3
586#define MXC_F_GCR_ECCIE_RAM3 ((uint32_t)(0x1UL << MXC_F_GCR_ECCIE_RAM3_POS))
588#define MXC_F_GCR_ECCIE_RAM4_POS 4
589#define MXC_F_GCR_ECCIE_RAM4 ((uint32_t)(0x1UL << MXC_F_GCR_ECCIE_RAM4_POS))
599#define MXC_F_GCR_ECCADDR_DATARAMADDR_POS 0
600#define MXC_F_GCR_ECCADDR_DATARAMADDR ((uint32_t)(0x3FFFUL << MXC_F_GCR_ECCADDR_DATARAMADDR_POS))
602#define MXC_F_GCR_ECCADDR_DATARAMBANK_POS 14
603#define MXC_F_GCR_ECCADDR_DATARAMBANK ((uint32_t)(0x1UL << MXC_F_GCR_ECCADDR_DATARAMBANK_POS))
605#define MXC_F_GCR_ECCADDR_DATARAMERR_POS 15
606#define MXC_F_GCR_ECCADDR_DATARAMERR ((uint32_t)(0x1UL << MXC_F_GCR_ECCADDR_DATARAMERR_POS))
608#define MXC_F_GCR_ECCADDR_TAGRAMADDR_POS 16
609#define MXC_F_GCR_ECCADDR_TAGRAMADDR ((uint32_t)(0x3FFFUL << MXC_F_GCR_ECCADDR_TAGRAMADDR_POS))
611#define MXC_F_GCR_ECCADDR_TAGRAMBANK_POS 30
612#define MXC_F_GCR_ECCADDR_TAGRAMBANK ((uint32_t)(0x1UL << MXC_F_GCR_ECCADDR_TAGRAMBANK_POS))
614#define MXC_F_GCR_ECCADDR_TAGRAMERR_POS 31
615#define MXC_F_GCR_ECCADDR_TAGRAMERR ((uint32_t)(0x1UL << MXC_F_GCR_ECCADDR_TAGRAMERR_POS))
619#ifdef __cplusplus
620}
621#endif
622
623#endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32520_INCLUDE_GCR_REGS_H_
__IO uint32_t eccerr
Definition: gcr_regs.h:95
__IO uint32_t sysctrl
Definition: gcr_regs.h:77
__IO uint32_t memctrl
Definition: gcr_regs.h:85
__IO uint32_t eccced
Definition: gcr_regs.h:96
__IO uint32_t rst0
Definition: gcr_regs.h:78
__IO uint32_t clkctrl
Definition: gcr_regs.h:79
__IO uint32_t memz
Definition: gcr_regs.h:86
__IO uint32_t sysst
Definition: gcr_regs.h:88
__IO uint32_t pm
Definition: gcr_regs.h:80
__IO uint32_t eccaddr
Definition: gcr_regs.h:98
__IO uint32_t pclkdis0
Definition: gcr_regs.h:84
__IO uint32_t sysie
Definition: gcr_regs.h:93
__IO uint32_t rst1
Definition: gcr_regs.h:89
__IO uint32_t pclkdiv
Definition: gcr_regs.h:82
__IO uint32_t pclkdis1
Definition: gcr_regs.h:90
__IO uint32_t eventen
Definition: gcr_regs.h:91
__I uint32_t revision
Definition: gcr_regs.h:92
__IO uint32_t eccie
Definition: gcr_regs.h:97
Definition: gcr_regs.h:76