MAX32655 Peripheral Driver API
Peripheral Driver API for the MAX32655
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
pwrseq_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_MAX32655_INCLUDE_PWRSEQ_REGS_H_
29#define LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32655_INCLUDE_PWRSEQ_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 lpcn;
78 __IO uint32_t lpwkst0;
79 __IO uint32_t lpwken0;
80 __IO uint32_t lpwkst1;
81 __IO uint32_t lpwken1;
82 __IO uint32_t lpwkst2;
83 __IO uint32_t lpwken2;
84 __IO uint32_t lpwkst3;
85 __IO uint32_t lpwken3;
86 __R uint32_t rsv_0x24_0x2f[3];
87 __IO uint32_t lppwst;
88 __IO uint32_t lppwen;
89 __R uint32_t rsv_0x38_0x43[3];
90 __IO uint32_t vbtlepd;
91 __IO uint32_t gp0;
92 __IO uint32_t gp1;
94
95/* Register offsets for module PWRSEQ */
102#define MXC_R_PWRSEQ_LPCN ((uint32_t)0x00000000UL)
103#define MXC_R_PWRSEQ_LPWKST0 ((uint32_t)0x00000004UL)
104#define MXC_R_PWRSEQ_LPWKEN0 ((uint32_t)0x00000008UL)
105#define MXC_R_PWRSEQ_LPWKST1 ((uint32_t)0x0000000CUL)
106#define MXC_R_PWRSEQ_LPWKEN1 ((uint32_t)0x00000010UL)
107#define MXC_R_PWRSEQ_LPWKST2 ((uint32_t)0x00000014UL)
108#define MXC_R_PWRSEQ_LPWKEN2 ((uint32_t)0x00000018UL)
109#define MXC_R_PWRSEQ_LPWKST3 ((uint32_t)0x0000001CUL)
110#define MXC_R_PWRSEQ_LPWKEN3 ((uint32_t)0x00000020UL)
111#define MXC_R_PWRSEQ_LPPWST ((uint32_t)0x00000030UL)
112#define MXC_R_PWRSEQ_LPPWEN ((uint32_t)0x00000034UL)
113#define MXC_R_PWRSEQ_VBTLEPD ((uint32_t)0x00000044UL)
114#define MXC_R_PWRSEQ_GP0 ((uint32_t)0x00000048UL)
115#define MXC_R_PWRSEQ_GP1 ((uint32_t)0x0000004CUL)
124#define MXC_F_PWRSEQ_LPCN_RAMRET0_POS 0
125#define MXC_F_PWRSEQ_LPCN_RAMRET0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_RAMRET0_POS))
127#define MXC_F_PWRSEQ_LPCN_RAMRET1_POS 1
128#define MXC_F_PWRSEQ_LPCN_RAMRET1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_RAMRET1_POS))
130#define MXC_F_PWRSEQ_LPCN_RAMRET2_POS 2
131#define MXC_F_PWRSEQ_LPCN_RAMRET2 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_RAMRET2_POS))
133#define MXC_F_PWRSEQ_LPCN_RAMRET3_POS 3
134#define MXC_F_PWRSEQ_LPCN_RAMRET3 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_RAMRET3_POS))
136#define MXC_F_PWRSEQ_LPCN_LPMCLKSEL_POS 8
137#define MXC_F_PWRSEQ_LPCN_LPMCLKSEL ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_LPMCLKSEL_POS))
139#define MXC_F_PWRSEQ_LPCN_LPMFAST_POS 9
140#define MXC_F_PWRSEQ_LPCN_LPMFAST ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_LPMFAST_POS))
142#define MXC_F_PWRSEQ_LPCN_BG_DIS_POS 11
143#define MXC_F_PWRSEQ_LPCN_BG_DIS ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_BG_DIS_POS))
145#define MXC_F_PWRSEQ_LPCN_LPWKST_CLR_POS 31
146#define MXC_F_PWRSEQ_LPCN_LPWKST_CLR ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPCN_LPWKST_CLR_POS))
157#define MXC_F_PWRSEQ_LPWKST0_WAKEST_POS 0
158#define MXC_F_PWRSEQ_LPWKST0_WAKEST ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPWKST0_WAKEST_POS))
169#define MXC_F_PWRSEQ_LPWKEN0_WAKEEN_POS 0
170#define MXC_F_PWRSEQ_LPWKEN0_WAKEEN ((uint32_t)(0x7FFFFFFFUL << MXC_F_PWRSEQ_LPWKEN0_WAKEEN_POS))
180#define MXC_F_PWRSEQ_LPPWST_AINCOMP0_POS 4
181#define MXC_F_PWRSEQ_LPPWST_AINCOMP0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWST_AINCOMP0_POS))
183#define MXC_F_PWRSEQ_LPPWST_BACKUP_POS 16
184#define MXC_F_PWRSEQ_LPPWST_BACKUP ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWST_BACKUP_POS))
186#define MXC_F_PWRSEQ_LPPWST_RESET_POS 17
187#define MXC_F_PWRSEQ_LPPWST_RESET ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWST_RESET_POS))
197#define MXC_F_PWRSEQ_LPPWEN_AINCOMP0_POS 4
198#define MXC_F_PWRSEQ_LPPWEN_AINCOMP0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_AINCOMP0_POS))
200#define MXC_F_PWRSEQ_LPPWEN_WDT0_POS 8
201#define MXC_F_PWRSEQ_LPPWEN_WDT0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_WDT0_POS))
203#define MXC_F_PWRSEQ_LPPWEN_WDT1_POS 9
204#define MXC_F_PWRSEQ_LPPWEN_WDT1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_WDT1_POS))
206#define MXC_F_PWRSEQ_LPPWEN_CPU1_POS 10
207#define MXC_F_PWRSEQ_LPPWEN_CPU1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_CPU1_POS))
209#define MXC_F_PWRSEQ_LPPWEN_TMR0_POS 11
210#define MXC_F_PWRSEQ_LPPWEN_TMR0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR0_POS))
212#define MXC_F_PWRSEQ_LPPWEN_TMR1_POS 12
213#define MXC_F_PWRSEQ_LPPWEN_TMR1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR1_POS))
215#define MXC_F_PWRSEQ_LPPWEN_TMR2_POS 13
216#define MXC_F_PWRSEQ_LPPWEN_TMR2 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR2_POS))
218#define MXC_F_PWRSEQ_LPPWEN_TMR3_POS 14
219#define MXC_F_PWRSEQ_LPPWEN_TMR3 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR3_POS))
221#define MXC_F_PWRSEQ_LPPWEN_TMR4_POS 15
222#define MXC_F_PWRSEQ_LPPWEN_TMR4 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR4_POS))
224#define MXC_F_PWRSEQ_LPPWEN_TMR5_POS 16
225#define MXC_F_PWRSEQ_LPPWEN_TMR5 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_TMR5_POS))
227#define MXC_F_PWRSEQ_LPPWEN_UART0_POS 17
228#define MXC_F_PWRSEQ_LPPWEN_UART0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_UART0_POS))
230#define MXC_F_PWRSEQ_LPPWEN_UART1_POS 18
231#define MXC_F_PWRSEQ_LPPWEN_UART1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_UART1_POS))
233#define MXC_F_PWRSEQ_LPPWEN_UART2_POS 19
234#define MXC_F_PWRSEQ_LPPWEN_UART2 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_UART2_POS))
236#define MXC_F_PWRSEQ_LPPWEN_UART3_POS 20
237#define MXC_F_PWRSEQ_LPPWEN_UART3 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_UART3_POS))
239#define MXC_F_PWRSEQ_LPPWEN_I2C0_POS 21
240#define MXC_F_PWRSEQ_LPPWEN_I2C0 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_I2C0_POS))
242#define MXC_F_PWRSEQ_LPPWEN_I2C1_POS 22
243#define MXC_F_PWRSEQ_LPPWEN_I2C1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_I2C1_POS))
245#define MXC_F_PWRSEQ_LPPWEN_I2C2_POS 23
246#define MXC_F_PWRSEQ_LPPWEN_I2C2 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_I2C2_POS))
248#define MXC_F_PWRSEQ_LPPWEN_I2S_POS 24
249#define MXC_F_PWRSEQ_LPPWEN_I2S ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_I2S_POS))
251#define MXC_F_PWRSEQ_LPPWEN_SPI1_POS 25
252#define MXC_F_PWRSEQ_LPPWEN_SPI1 ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_SPI1_POS))
254#define MXC_F_PWRSEQ_LPPWEN_LPCMP_POS 26
255#define MXC_F_PWRSEQ_LPPWEN_LPCMP ((uint32_t)(0x1UL << MXC_F_PWRSEQ_LPPWEN_LPCMP_POS))
265#define MXC_F_PWRSEQ_VBTLEPD_BTLE_POS 1
266#define MXC_F_PWRSEQ_VBTLEPD_BTLE ((uint32_t)(0x1UL << MXC_F_PWRSEQ_VBTLEPD_BTLE_POS))
270#ifdef __cplusplus
271}
272#endif
273
274#endif // LIBRARIES_CMSIS_DEVICE_MAXIM_MAX32655_INCLUDE_PWRSEQ_REGS_H_
__IO uint32_t lpwken2
Definition: pwrseq_regs.h:83
__IO uint32_t lpwken3
Definition: pwrseq_regs.h:85
__IO uint32_t gp0
Definition: pwrseq_regs.h:91
__IO uint32_t lppwst
Definition: pwrseq_regs.h:87
__IO uint32_t lpwkst2
Definition: pwrseq_regs.h:82
__IO uint32_t vbtlepd
Definition: pwrseq_regs.h:90
__IO uint32_t lpwken0
Definition: pwrseq_regs.h:79
__IO uint32_t lpwkst0
Definition: pwrseq_regs.h:78
__IO uint32_t lpwken1
Definition: pwrseq_regs.h:81
__IO uint32_t gp1
Definition: pwrseq_regs.h:92
__IO uint32_t lppwen
Definition: pwrseq_regs.h:88
__IO uint32_t lpwkst3
Definition: pwrseq_regs.h:84
__IO uint32_t lpwkst1
Definition: pwrseq_regs.h:80
__IO uint32_t lpcn
Definition: pwrseq_regs.h:77
Definition: pwrseq_regs.h:76