cc26x0_prcm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Leon George
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
17 #ifndef CC26X0_PRCM_H
18 #define CC26X0_PRCM_H
19 
20 #include <cc26xx_cc13xx.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 
30 typedef struct {
31  reg32_t CTL0;
32  reg32_t CTL1;
33  reg32_t RADCEXTCFG;
34  reg32_t AMPCOMPCTL;
35  reg32_t AMPCOMPTH1;
36  reg32_t AMPCOMPTH2;
37  reg32_t ANABYPASSVAL1;
38  reg32_t ANABYPASSVAL2;
39  reg32_t ATESTCTL;
41  reg32_t XOSCHFCTL;
42  reg32_t LFOSCCTL;
43  reg32_t RCOSCHFCTL;
44  reg32_t STAT0;
45  reg32_t STAT1;
46  reg32_t STAT2;
48 
53 #define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_mask 0x6
54 #define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_HF_RCOSC 0x0
55 #define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_HF_XOSC 0x4
56 #define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_LF_RCOSC 0x8
57 #define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_LF_XOSC 0xC
58 #define DDI_0_OSC_CTL0_ACLK_REF_SRC_SEL_RCOSC_mask 0x60
59 #define DDI_0_OSC_CTL0_ACLK_REF_SRC_SEL_RCOSC_HF 0x00 /* 31.25kHz */
60 #define DDI_0_OSC_CTL0_ACLK_REF_SRC_SEL_XOSC_HF 0x20 /* 31.25kHz */
61 #define DDI_0_OSC_CTL0_ACLK_REF_SRC_SEL_RCOSC_LF 0x40 /* 32kHz */
62 #define DDI_0_OSC_CTL0_ACLK_REF_SRC_SEL_XOSC_LF 0x60 /* 32.768kHz */
63 #define DDI_0_OSC_CTL0_ACLK_TDC_SRC_SEL_RCOSC_mask 0x180
64 #define DDI_0_OSC_CTL0_ACLK_TDC_SRC_SEL_RCOSC_HF 0x000 /* 48MHz */
65 #define DDI_0_OSC_CTL0_ACLK_TDC_SRC_SEL_RCOSC_LF 0x080 /* 48MHz */
66 #define DDI_0_OSC_CTL0_ACLK_TDC_SRC_SEL_XOSC_HF 0x100 /* 24MHz */
67 #define DDI_0_OSC_CTL0_DOUBLER_START_DURATION_mask 0x6000000
68 #define DDI_0_OSC_CTL0_BYPASS_RCOSC_LF_CLK_QUAL 0x10000000
69 #define DDI_0_OSC_CTL0_BYPASS_XOSC_LF_CLK_QUAL 0x20000000
70 #define DDI_0_OSC_CTL0_XTAL_IS_24M 0x80000000
71 
76 #define DDI0_OSC_BASE 0x400CA000
78 
79 #define DDI_0_OSC ((ddi0_osc_regs_t *) (DDI0_OSC_BASE))
85 typedef struct {
86  reg32_t PWRCTL;
87  reg32_t RESETCTL;
88  reg32_t SLEEPCTL;
90 
94 #define AON_SYSCTL_BASE 0x40090000
96 
97 #define AON_SYSCTL ((aon_sysctl_regs_t *) (AON_SYSCTL_BASE))
103 typedef struct {
104  reg32_t MCUCLK;
105  reg32_t AUXCLK;
106  reg32_t MCUCFG;
107  reg32_t AUXCFG;
108  reg32_t AUXCTL;
109  reg32_t PWRSTAT;
110  reg32_t __reserved1;
111  reg32_t SHUTDOWN;
112  reg32_t CTL0;
113  reg32_t CTL1;
114  reg32_t __reserved2[2];
115  reg32_t RECHARGECFG;
116  reg32_t RECHARGESTAT;
117  reg32_t __reserved3;
118  reg32_t OSCCFG;
119  reg32_t JTAGCFG;
120  reg32_t JTAGUSERCODE;
122 
127 #define MCUCLK_PWR_DWN_SRC 0x1 /* SCLK_LF in powerdown (no clock elsewise) */
128 #define MCUCLK_PWR_DWN_SRC_mask 0x3
129 #define MCUCLK_RCOSC_HF_CAL_DONE 0x4 /* set by MCU bootcode. RCOSC_HF is calibrated to 48 MHz, allowing FLASH to power up */
130 
131 #define AUXCLK_SRC_HF 0x1 /* SCLK for AUX */
132 #define AUXCLK_SRC_LF 0x4
133 #define AUXCLK_SRC_mask 0x7 /* guaranteed to be glitchless */
134 #define AUXCLK_SCLK_HF_DIV_pos 8 /* don't set while SCLK_HF active for AUX */
135 #define AUXCLK_SCLK_HF_DIV_mask 0x700 /* divisor will be 2^(value+1) */
136 #define AUXCLK_PWR_DWN_SRC_pos 11 /* SCLK_LF in powerdown when SCLK_HF is source (no clock elsewise?!) */
137 #define AUXCLK_PWR_DWN_SRC_mask 0x1800 /* datasheet is confusing.. */
138 
139 #define MCUCFG_SRAM_RET_OFF 0x0 /* no retention for any SRAM-bank */
140 #define MCUCFG_SRAM_RET_B0 0x1
141 #define MCUCFG_SRAM_RET_B01 0x3
142 #define MCUCFG_SRAM_RET_B012 0x7
143 #define MCUCFG_SRAM_RET_B0124 0xF /* retention for banks 0, 1, 2, and 3 */
144 #define MCUCFG_SRAM_FIXED_WU_EN 0x100
145 #define MCUCFG_SRAM_VIRT_OFF 0x200
146 
147 #define AUXCFG_RAM_RET_EN 0x1 /* retention for AUX_RAM bank 0. is off when otherwise in retention mode */
148 
149 #define AUXCTL_AUX_FORCE_ON 0x1
150 #define AUXCTL_SWEV 0x2
151 #define AUXCTL_SCE_RUN_EN 0x3
152 #define AUXCTL_RESET_REQ 0x80000000
153 
154 #define PWRSTAT_AUX_RESET_DONE 0x2
155 #define PWRSTAT_AUX_BUS_CONNECTED 0x4
156 #define PWRSTAT_MCU_PD_ON 0x10
157 #define PWRSTAT_AUX_PD_ON 0x20
158 #define PWRSTAT_JTAG_PD_ON 0x40
159 #define PWRSTAT_AUX_PWR_DNW 0x200
160 
161 #define SHUTDOWN_EN 0x1 /* register/cancel shutdown request */
162 
163 #define AONWUC_CTL0_MCU_SRAM_ERASE 0x4
164 #define AONWUC_CTL0_AUX_SRAM_ERASE 0x8
165 #define AONWUC_CTL0_PWR_DWN_DIS 0x10 /* disable powerdown on request */
166 
167 #define AONWUC_CTL1_MCU_WARM_RESET 0x1 /* last MCU reset was a warm reset */
168 #define AONWUC_CTL1_MCU_RESET_SRC 0x2 /* JTAG was source of last reset (MCU SW elsewise) */
169 
170 #define RECHARGECFG_PER_E_mask 0x00000007 /* number of 32KHz clocks between activation of recharge controller: */
171 #define RECHARGECFG_PER_M_mask 0x000000F8 /* computed as follows: PERIOD = (PER_M*16+15) * 2^(PER_E) */
172 #define RECHARGECFG_MAX_PER_E_mask 0x00000700 /* maximum period the recharge algorithm can take */
173 #define RECHARGECFG_MAX_PER_M_mask 0x0000F800 /* computed as follows: MAXCYCLES = (MAX_PER_M*16+15) * 2^(MAX_PER_E) */
174 #define RECHARGECFG_C1_mask 0x000F0000 /* i resign */
175 #define RECHARGECFG_C2_mask 0x000F0000
176 #define RECHARGECFG_ADAPTIVE_EN 0x80000000
177 
178 #define RECHARGESTAT_MAX_USED_PER_mask 0x0FFFF
179 #define RECHARGESTAT_VDDR_SMPLS_mask 0xF0000
180 
181 #define OSCCFG_PER_E_mask 0x07 /* number of 32KHz clocks between oscillator amplitude callibrations */
182 #define OSCCFG_PER_M_mask 0xF8 /* computed as follows: PERIOD = (PER_M*16+15) * 2^(PER_E) */
183 
184 #define JTAGCFG_JTAG_PD_FORCE_ON 0x10
185 
190 #define AON_WUC_BASE 0x40091000
192 
193 #define AON_WUC ((aon_wuc_regs_t *) (AON_WUC_BASE))
198 typedef struct {
199  reg32_t CTL;
200  reg32_t EVFLAGS;
201  reg32_t SEC;
202  reg32_t SUBSEC;
203  reg32_t SUBSECINC;
204  reg32_t CHCTL;
205  reg32_t CH0CMP;
206  reg32_t CH1CMP;
207  reg32_t CH2CMP;
208  reg32_t CH2CMPINC;
209  reg32_t CH1CAPT;
210  reg32_t SYNC;
212 
219 #define AON_RTC_CTL_RTC_UPD_EN 0x00000002
220 
224 #define AON_RTC_BASE (PERIPH_BASE + 0x92000)
227 #define AON_RTC ((aon_rtc_regs_t *) (AON_RTC_BASE))
233 typedef struct {
234  reg32_t INFRCLKDIVR;
235  reg32_t INFRCLKDIVS;
236  reg32_t INFRCLKDIVDS;
237  reg32_t VDCTL;
238  reg32_t __reserved1[6];
239  reg32_t CLKLOADCTL;
240  reg32_t RFCCLKG;
241  reg32_t VIMSCLKG;
242  reg32_t __reserved2[2];
243  reg32_t SECDMACLKGR;
244  reg32_t SECDMACLKGS;
245  reg32_t SECDMACLKGDS;
246  reg32_t GPIOCLKGR;
247  reg32_t GPIOCLKGS;
248  reg32_t GPIOCLKGDS;
249  reg32_t GPTCLKGR;
250  reg32_t GPTCLKGS;
251  reg32_t GPTCLKGDS;
252  reg32_t I2CCLKGR;
253  reg32_t I2CCLKGS;
254  reg32_t I2CCLKGDS;
255  reg32_t UARTCLKGR;
256  reg32_t UARTCLKGS;
257  reg32_t UARTCLKGDS;
258  reg32_t SSICLKGR;
259  reg32_t SSICLKGS;
260  reg32_t SSICLKGDS;
261  reg32_t I2SCLKGR;
262  reg32_t I2SCLKGS;
263  reg32_t I2SCLKGDS;
264  reg32_t __reserved3[10];
265  reg32_t CPUCLKDIV;
266  reg32_t __reserved4[3];
267  reg32_t I2SBCLKSEL;
268  reg32_t GPTCLKDIV;
269  reg32_t I2SCLKCTL;
270  reg32_t I2SMCLKDIV;
271  reg32_t I2SBCLKDIV;
272  reg32_t I2SWCLKDIV;
273  reg32_t __reserved5[11];
274  reg32_t SWRESET;
275  reg32_t WARMRESET;
276  reg32_t __reserved6[6];
277  reg32_t PDCTL0;
278  reg32_t PDCTL0RFC;
279  reg32_t PDCTL0SERIAL;
280  reg32_t PDCTL0PERIPH;
281  reg32_t __reserved7;
282  reg32_t PDSTAT0;
283  reg32_t PDSTAT0RFC;
284  reg32_t PDSTAT0SERIAL;
285  reg32_t PDSTAT0PERIPH;
286  reg32_t __reserved8[11];
287  reg32_t PDCTL1;
288  reg32_t __reserved9;
289  reg32_t PDCTL1CPU;
290  reg32_t PDCTL1RFC;
291  reg32_t PDCTL1VIMS;
292  reg32_t __reserved10;
293  reg32_t PDSTAT1;
294  reg32_t PDSTAT1BUS;
295  reg32_t PDSTAT1RFC;
296  reg32_t PDSTAT1CPU;
297  reg32_t PDSTAT1VIMS;
298  reg32_t __reserved11[10];
299  reg32_t RFCMODESEL;
300  reg32_t __reserved12[20];
301  reg32_t RAMRETEN;
302  reg32_t __reserved13;
303  reg32_t PDRETEN;
304  reg32_t __reserved14[8];
305  reg32_t RAMHWOPT;
306 } prcm_regs_t;
307 
312 #define CLKLOADCTL_LOAD 0x1
313 #define CLKLOADCTL_LOADDONE 0x2
314 
315 #define PDCTL0_RFC_ON 0x1
316 #define PDCTL0_SERIAL_ON 0x2
317 #define PDCTL0_PERIPH_ON 0x4
318 
319 #define PDSTAT0_RFC_ON 0x1
320 #define PDSTAT0_SERIAL_ON 0x2
321 #define PDSTAT0_PERIPH_ON 0x4
322 
323 #define PDCTL1_CPU_ON 0x2
324 #define PDCTL1_RFC_ON 0x4
325 #define PDCTL1_VIMS_ON 0x8
326 
327 #define PDSTAT1_CPU_ON 0x2
328 #define PDSTAT1_RFC_ON 0x4
329 #define PDSTAT1_VIMS_ON 0x8
330 
331 #define GPIOCLKGR_CLK_EN 0x1
332 #define I2CCLKGR_CLK_EN 0x1
333 #define UARTCLKGR_CLK_EN_UART0 0x1
334 
335 #define GPIOCLKGS_CLK_EN 0x1
336 #define I2CCLKGS_CLK_EN 0x1
337 #define UARTCLKGS_CLK_EN_UART0 0x1
338 
339 #define GPIOCLKGDS_CLK_EN 0x1
340 #define I2CCLKGDS_CLK_EN 0x1
341 #define UARTCLKGDS_CLK_EN_UART0 0x1
342 
347 #define PRCM_BASE (PERIPH_BASE + 0x82000)
348 #define PRCM_BASE_NONBUF (PERIPH_BASE_NONBUF + 0x82000)
350 
351 #define PRCM ((prcm_regs_t *) (PRCM_BASE))
352 #define PRCM_NONBUF ((prcm_regs_t *) (PRCM_BASE_NONBUF))
354 #ifdef __cplusplus
355 } /* end extern "C" */
356 #endif
357 
358 #endif /* CC26X0_PRCM_H */
359 
prcm_regs_t::UARTCLKGR
reg32_t UARTCLKGR
UART clock gate for run mode.
Definition: cc26x0_prcm.h:255
prcm_regs_t::I2CCLKGDS
reg32_t I2CCLKGDS
I2C clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:254
prcm_regs_t::__reserved7
reg32_t __reserved7
meh
Definition: cc26x0_prcm.h:281
aon_rtc_regs_t::CH2CMPINC
reg32_t CH2CMPINC
Channel 2 Compare Value Auto-increment.
Definition: cc26x0_prcm.h:208
aon_wuc_regs_t::JTAGCFG
reg32_t JTAGCFG
JTAG config.
Definition: cc26x0_prcm.h:119
prcm_regs_t::I2CCLKGR
reg32_t I2CCLKGR
I2C clock gate for run mode.
Definition: cc26x0_prcm.h:252
prcm_regs_t::PDCTL0
reg32_t PDCTL0
power domain control
Definition: cc26x0_prcm.h:277
aon_wuc_regs_t::RECHARGESTAT
reg32_t RECHARGESTAT
recharge controller status
Definition: cc26x0_prcm.h:116
aon_wuc_regs_t::JTAGUSERCODE
reg32_t JTAGUSERCODE
JTAG USERCODE.
Definition: cc26x0_prcm.h:120
prcm_regs_t::PDCTL0RFC
reg32_t PDCTL0RFC
RFC power domain control.
Definition: cc26x0_prcm.h:278
prcm_regs_t::VDCTL
reg32_t VDCTL
MCU voltage domain control.
Definition: cc26x0_prcm.h:237
prcm_regs_t::GPTCLKDIV
reg32_t GPTCLKDIV
GPT scalar.
Definition: cc26x0_prcm.h:268
prcm_regs_t::PDSTAT0SERIAL
reg32_t PDSTAT0SERIAL
SERIAL power domain status.
Definition: cc26x0_prcm.h:284
aon_rtc_regs_t::SEC
reg32_t SEC
Second Counter Value, Integer Part.
Definition: cc26x0_prcm.h:201
prcm_regs_t::RFCMODESEL
reg32_t RFCMODESEL
selected RFC mode
Definition: cc26x0_prcm.h:299
prcm_regs_t::PDSTAT1RFC
reg32_t PDSTAT1RFC
RFC power domain status.
Definition: cc26x0_prcm.h:295
aon_wuc_regs_t::CTL0
reg32_t CTL0
control 0
Definition: cc26x0_prcm.h:112
prcm_regs_t::GPTCLKGS
reg32_t GPTCLKGS
GPT clock gate for sleep mode.
Definition: cc26x0_prcm.h:250
aon_wuc_regs_t::MCUCFG
reg32_t MCUCFG
MCU config.
Definition: cc26x0_prcm.h:106
ddi0_osc_regs_t::STAT0
reg32_t STAT0
status 0
Definition: cc26x0_prcm.h:44
aon_sysctl_regs_t::PWRCTL
reg32_t PWRCTL
power management
Definition: cc26x0_prcm.h:86
prcm_regs_t::INFRCLKDIVDS
reg32_t INFRCLKDIVDS
infrastructure clock division factor for deep sleep mode
Definition: cc26x0_prcm.h:236
ddi0_osc_regs_t::AMPCOMPTH1
reg32_t AMPCOMPTH1
amplitude compensation threshold 1
Definition: cc26x0_prcm.h:35
aon_wuc_regs_t::CTL1
reg32_t CTL1
control 1
Definition: cc26x0_prcm.h:113
prcm_regs_t::PDCTL1
reg32_t PDCTL1
power domain control
Definition: cc26x0_prcm.h:287
prcm_regs_t::RAMHWOPT
reg32_t RAMHWOPT
undocumented
Definition: cc26x0_prcm.h:305
prcm_regs_t::RFCCLKG
reg32_t RFCCLKG
RFC clock gate.
Definition: cc26x0_prcm.h:240
prcm_regs_t::CLKLOADCTL
reg32_t CLKLOADCTL
clock load control
Definition: cc26x0_prcm.h:239
aon_wuc_regs_t::AUXCFG
reg32_t AUXCFG
AUX config.
Definition: cc26x0_prcm.h:107
ddi0_osc_regs_t::ANABYPASSVAL2
reg32_t ANABYPASSVAL2
analog bypass values 2
Definition: cc26x0_prcm.h:38
aon_wuc_regs_t::RECHARGECFG
reg32_t RECHARGECFG
recharge controller config
Definition: cc26x0_prcm.h:115
aon_rtc_regs_t::CH1CMP
reg32_t CH1CMP
Channel 1 Compare Value.
Definition: cc26x0_prcm.h:206
aon_wuc_regs_t::__reserved1
reg32_t __reserved1
meh
Definition: cc26x0_prcm.h:110
ddi0_osc_regs_t::ATESTCTL
reg32_t ATESTCTL
analog test control
Definition: cc26x0_prcm.h:39
aon_sysctl_regs_t::RESETCTL
reg32_t RESETCTL
reset management
Definition: cc26x0_prcm.h:87
ddi0_osc_regs_t
DDI_0_OSC registers.
Definition: cc26x0_prcm.h:30
prcm_regs_t::VIMSCLKG
reg32_t VIMSCLKG
VIMS clock gate.
Definition: cc26x0_prcm.h:241
ddi0_osc_regs_t::RADCEXTCFG
reg32_t RADCEXTCFG
RADC external config.
Definition: cc26x0_prcm.h:33
prcm_regs_t::PDCTL0PERIPH
reg32_t PDCTL0PERIPH
PERIPH power domain control.
Definition: cc26x0_prcm.h:280
prcm_regs_t
PRCM registers.
Definition: cc26x0_prcm.h:233
prcm_regs_t::SECDMACLKGS
reg32_t SECDMACLKGS
TRNG, CRYPTO, and UDMA clock gate for sleep mode.
Definition: cc26x0_prcm.h:244
prcm_regs_t::SWRESET
reg32_t SWRESET
SW initiated resets.
Definition: cc26x0_prcm.h:274
prcm_regs_t::I2SWCLKDIV
reg32_t I2SWCLKDIV
WCLK division ratio.
Definition: cc26x0_prcm.h:272
prcm_regs_t::GPIOCLKGDS
reg32_t GPIOCLKGDS
GPIO clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:248
prcm_regs_t::I2SCLKGDS
reg32_t I2SCLKGDS
I2S clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:263
prcm_regs_t::I2CCLKGS
reg32_t I2CCLKGS
I2C clock gate for sleep mode.
Definition: cc26x0_prcm.h:253
prcm_regs_t::I2SCLKCTL
reg32_t I2SCLKCTL
I2S clock control.
Definition: cc26x0_prcm.h:269
prcm_regs_t::SSICLKGS
reg32_t SSICLKGS
SSI clock gate for sleep mode.
Definition: cc26x0_prcm.h:259
prcm_regs_t::GPTCLKGR
reg32_t GPTCLKGR
GPT clock gate for run mode.
Definition: cc26x0_prcm.h:249
prcm_regs_t::PDSTAT1CPU
reg32_t PDSTAT1CPU
CPU power domain status.
Definition: cc26x0_prcm.h:296
ddi0_osc_regs_t::LFOSCCTL
reg32_t LFOSCCTL
low frequency oscillator control
Definition: cc26x0_prcm.h:42
ddi0_osc_regs_t::STAT1
reg32_t STAT1
status 1
Definition: cc26x0_prcm.h:45
prcm_regs_t::PDSTAT0
reg32_t PDSTAT0
power domain status
Definition: cc26x0_prcm.h:282
prcm_regs_t::__reserved13
reg32_t __reserved13
meh
Definition: cc26x0_prcm.h:302
aon_rtc_regs_t::EVFLAGS
reg32_t EVFLAGS
Event Flags, RTC Status.
Definition: cc26x0_prcm.h:200
ddi0_osc_regs_t::ANABYPASSVAL1
reg32_t ANABYPASSVAL1
analog bypass values 1
Definition: cc26x0_prcm.h:37
ddi0_osc_regs_t::AMPCOMPTH2
reg32_t AMPCOMPTH2
amplitude compensation threshold 2
Definition: cc26x0_prcm.h:36
aon_wuc_regs_t::OSCCFG
reg32_t OSCCFG
oscillator config
Definition: cc26x0_prcm.h:118
prcm_regs_t::PDCTL0SERIAL
reg32_t PDCTL0SERIAL
SERIAL power domain control.
Definition: cc26x0_prcm.h:279
prcm_regs_t::__reserved9
reg32_t __reserved9
power domain control
Definition: cc26x0_prcm.h:288
prcm_regs_t::RAMRETEN
reg32_t RAMRETEN
memory retention control
Definition: cc26x0_prcm.h:301
prcm_regs_t::PDSTAT1VIMS
reg32_t PDSTAT1VIMS
VIMS power domain status.
Definition: cc26x0_prcm.h:297
ddi0_osc_regs_t::ADCDOUBLERNANOAMPCTL
reg32_t ADCDOUBLERNANOAMPCTL
ADC doubler nanoamp control.
Definition: cc26x0_prcm.h:40
prcm_regs_t::PDSTAT1
reg32_t PDSTAT1
power domain status
Definition: cc26x0_prcm.h:293
prcm_regs_t::PDSTAT0PERIPH
reg32_t PDSTAT0PERIPH
PERIPH power domain status.
Definition: cc26x0_prcm.h:285
ddi0_osc_regs_t::CTL1
reg32_t CTL1
control 1
Definition: cc26x0_prcm.h:32
prcm_regs_t::UARTCLKGDS
reg32_t UARTCLKGDS
UART clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:257
aon_wuc_regs_t::PWRSTAT
reg32_t PWRSTAT
power status
Definition: cc26x0_prcm.h:109
aon_wuc_regs_t
AON_WUC registers.
Definition: cc26x0_prcm.h:103
aon_wuc_regs_t::SHUTDOWN
reg32_t SHUTDOWN
shutdown control
Definition: cc26x0_prcm.h:111
prcm_regs_t::SECDMACLKGDS
reg32_t SECDMACLKGDS
TRNG, CRYPTO, and UDMA clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:245
aon_wuc_regs_t::AUXCTL
reg32_t AUXCTL
AUX control.
Definition: cc26x0_prcm.h:108
prcm_regs_t::GPIOCLKGS
reg32_t GPIOCLKGS
GPIO clock gate for sleep mode.
Definition: cc26x0_prcm.h:247
prcm_regs_t::GPIOCLKGR
reg32_t GPIOCLKGR
GPIO clock gate for run mode.
Definition: cc26x0_prcm.h:246
aon_rtc_regs_t
AON_RTC registers.
Definition: cc26x0_prcm.h:198
prcm_regs_t::I2SMCLKDIV
reg32_t I2SMCLKDIV
MCLK division ratio.
Definition: cc26x0_prcm.h:270
prcm_regs_t::PDCTL1VIMS
reg32_t PDCTL1VIMS
VIMS power domain control.
Definition: cc26x0_prcm.h:291
ddi0_osc_regs_t::XOSCHFCTL
reg32_t XOSCHFCTL
XOSCHF control.
Definition: cc26x0_prcm.h:41
aon_wuc_regs_t::MCUCLK
reg32_t MCUCLK
MCU clock management.
Definition: cc26x0_prcm.h:104
aon_wuc_regs_t::__reserved3
reg32_t __reserved3
meh
Definition: cc26x0_prcm.h:117
aon_wuc_regs_t::AUXCLK
reg32_t AUXCLK
AUX clock management.
Definition: cc26x0_prcm.h:105
prcm_regs_t::PDSTAT0RFC
reg32_t PDSTAT0RFC
RFC power domain status.
Definition: cc26x0_prcm.h:283
aon_rtc_regs_t::SUBSECINC
reg32_t SUBSECINC
Subseconds Increment.
Definition: cc26x0_prcm.h:203
prcm_regs_t::INFRCLKDIVR
reg32_t INFRCLKDIVR
infrastructure clock division factor for run mode
Definition: cc26x0_prcm.h:234
prcm_regs_t::PDRETEN
reg32_t PDRETEN
power domain retention (undocumented)
Definition: cc26x0_prcm.h:303
cc26xx_cc13xx.h
CC26xx, CC13xx definitions.
prcm_regs_t::SSICLKGDS
reg32_t SSICLKGDS
SSI clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:260
prcm_regs_t::INFRCLKDIVS
reg32_t INFRCLKDIVS
infrastructure clock division factor for sleep mode
Definition: cc26x0_prcm.h:235
prcm_regs_t::PDSTAT1BUS
reg32_t PDSTAT1BUS
BUS power domain status.
Definition: cc26x0_prcm.h:294
prcm_regs_t::I2SBCLKDIV
reg32_t I2SBCLKDIV
BCLK division ratio.
Definition: cc26x0_prcm.h:271
aon_sysctl_regs_t::SLEEPCTL
reg32_t SLEEPCTL
sleep mode
Definition: cc26x0_prcm.h:88
prcm_regs_t::PDCTL1RFC
reg32_t PDCTL1RFC
RFC power domain control.
Definition: cc26x0_prcm.h:290
ddi0_osc_regs_t::STAT2
reg32_t STAT2
status 2
Definition: cc26x0_prcm.h:46
prcm_regs_t::I2SCLKGS
reg32_t I2SCLKGS
I2S clock gate for sleep mode.
Definition: cc26x0_prcm.h:262
prcm_regs_t::I2SBCLKSEL
reg32_t I2SBCLKSEL
I2S clock select.
Definition: cc26x0_prcm.h:267
ddi0_osc_regs_t::RCOSCHFCTL
reg32_t RCOSCHFCTL
RCOSCHF control.
Definition: cc26x0_prcm.h:43
ddi0_osc_regs_t::AMPCOMPCTL
reg32_t AMPCOMPCTL
amplitude compensation control
Definition: cc26x0_prcm.h:34
aon_rtc_regs_t::SYNC
reg32_t SYNC
AON Synchronization.
Definition: cc26x0_prcm.h:210
prcm_regs_t::PDCTL1CPU
reg32_t PDCTL1CPU
CPU power domain control.
Definition: cc26x0_prcm.h:289
prcm_regs_t::I2SCLKGR
reg32_t I2SCLKGR
I2S clock gate for run mode.
Definition: cc26x0_prcm.h:261
aon_rtc_regs_t::CH2CMP
reg32_t CH2CMP
Channel 2 Compare Value.
Definition: cc26x0_prcm.h:207
aon_sysctl_regs_t
AON_SYSCTL registers.
Definition: cc26x0_prcm.h:85
prcm_regs_t::GPTCLKGDS
reg32_t GPTCLKGDS
GPT clock gate for deep sleep mode.
Definition: cc26x0_prcm.h:251
ddi0_osc_regs_t::CTL0
reg32_t CTL0
control 0
Definition: cc26x0_prcm.h:31
prcm_regs_t::SSICLKGR
reg32_t SSICLKGR
SSI clock gate for run mode.
Definition: cc26x0_prcm.h:258
prcm_regs_t::CPUCLKDIV
reg32_t CPUCLKDIV
CPU clock division factor.
Definition: cc26x0_prcm.h:265
aon_rtc_regs_t::CTL
reg32_t CTL
Control.
Definition: cc26x0_prcm.h:199
prcm_regs_t::SECDMACLKGR
reg32_t SECDMACLKGR
TRNG, CRYPTO, and UDMA clock gate for run mode.
Definition: cc26x0_prcm.h:243
aon_rtc_regs_t::CH1CAPT
reg32_t CH1CAPT
Channel 1 Capture Value.
Definition: cc26x0_prcm.h:209
prcm_regs_t::UARTCLKGS
reg32_t UARTCLKGS
UART clock gate for sleep mode.
Definition: cc26x0_prcm.h:256
aon_rtc_regs_t::CH0CMP
reg32_t CH0CMP
Channel 0 Compare Value.
Definition: cc26x0_prcm.h:205
aon_rtc_regs_t::CHCTL
reg32_t CHCTL
Channel Configuration.
Definition: cc26x0_prcm.h:204
aon_rtc_regs_t::SUBSEC
reg32_t SUBSEC
Second Counter Value, Fractional Part.
Definition: cc26x0_prcm.h:202
prcm_regs_t::__reserved10
reg32_t __reserved10
meh
Definition: cc26x0_prcm.h:292
prcm_regs_t::WARMRESET
reg32_t WARMRESET
WARM reset control and status.
Definition: cc26x0_prcm.h:275