CC26x2, CC13x2 PRCM register definitions. More...
CC26x2, CC13x2 PRCM register definitions.
Definition in file cc26x2_cc13x2_prcm.h.
#include <cc26xx_cc13xx.h>
Go to the source code of this file.
Data Structures | |
struct | ddi0_osc_regs_t |
DDI_0_OSC registers. More... | |
struct | ddi0_osc_regs_m16_t |
DDI_0_OSC registers with masked 16-bit access. More... | |
struct | aon_pmctl_regs_t |
AON_PMCTL registers. More... | |
struct | aon_rtc_regs_t |
AON_RTC registers. More... | |
struct | prcm_regs_t |
PRCM registers. More... | |
#define AON_PMCTL ((aon_pmctl_regs_t *) (AON_PMCTL_BASE)) |
AON_PMCTL register bank.
Definition at line 204 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_0_CLR_m 0x01000000 |
Definition at line 182 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_0_m 0x00001000 |
Definition at line 186 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_0_s 12 |
Definition at line 187 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_0_SET_m 0x00010000 |
Definition at line 184 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_1_CLR_m 0x02000000 |
Definition at line 181 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_1_m 0x00002000 |
Definition at line 185 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_BOOT_DET_1_SET_m 0x00020000 |
Definition at line 183 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_RESETCTL_MCU_WARM_RESET_m 0x00000010 |
Definition at line 188 of file cc26x2_cc13x2_prcm.h.
#define AON_PMCTL_SLEEPCTL_IO_PAD_SLEEP_DIS 0x00000001 |
AON_PMTCTL register values.
Definition at line 180 of file cc26x2_cc13x2_prcm.h.
#define AON_RTC ((aon_rtc_regs_t *) (AON_RTC_BASE)) |
AON_RTC register bank.
Definition at line 240 of file cc26x2_cc13x2_prcm.h.
#define AON_RTC_CTL_RTC_UPD_EN 0x00000002 |
RTC_UPD is a 16 KHz signal used to sync up the radio timer.
The 16 Khz is SCLK_LF divided by 2
0h = RTC_UPD signal is forced to 0 1h = RTC_UPD signal is toggling @16 kHz
Definition at line 232 of file cc26x2_cc13x2_prcm.h.
#define CLKLOADCTL_LOAD 0x1 |
PRCM register values.
Definition at line 338 of file cc26x2_cc13x2_prcm.h.
#define CLKLOADCTL_LOADDONE 0x2 |
Definition at line 339 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC ((ddi0_osc_regs_t *) (DDI0_OSC_BASE)) |
DDI_0_OSC register bank.
Definition at line 126 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_ACLK_TDC_SRC_SEL 0x00000180 |
Definition at line 84 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_BYPASS_RCOSC_LF_CLK_QUAL 0x10000000 |
Definition at line 93 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_BYPASS_XOSC_LF_CLK_QUAL 0x20000000 |
Definition at line 94 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_CLK_DCDC_SRC_SEL_m 0x01000000 |
Definition at line 90 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_CLK_LOSS_EN 0x00000200 |
Definition at line 85 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_DOUBLER_RESET_DURATION 0x02000000 |
Definition at line 91 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_DOUBLER_START_DURATION 0x0C000000 |
Definition at line 92 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_HPOSC_MODE_EN 0x00004000 |
Definition at line 89 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_RCOSC_LF_TRIMMED 0x00001000 |
Definition at line 88 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_HF_SRC_SEL_m 0x00000001 |
DDI_0_OSC register values.
Definition at line 78 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_HF_SRC_SEL_RCOSC 0x00000000 |
Definition at line 81 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_HF_SRC_SEL_s 0 |
Definition at line 79 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_HF_SRC_SEL_XOSC 0x00000001 |
Definition at line 80 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_m 0x0000000C |
Definition at line 82 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_SCLK_LF_SRC_SEL_s 2 |
Definition at line 83 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_XOSC_HF_POWER_MODE 0x00000800 |
Definition at line 87 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_XOSC_LF_DIG_BYPASS 0x00000400 |
Definition at line 86 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_CTL0_XTAL_IS_24M 0x80000000 |
Definition at line 95 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_M16 ((ddi0_osc_regs_m16_t *) (DDI0_OSC_BASE_M16)) |
DDI_0_OSC 16-bit masked access register bank.
Definition at line 130 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_STAT0_PENDINGSCLKHFSWITCHING 0x00000001 |
Definition at line 96 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_STAT0_SCLK_HF_SRC_m 0x10000000 |
Definition at line 97 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_STAT0_SCLK_HF_SRC_s 28 |
Definition at line 98 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_STAT0_SCLK_LF_SRC_m 0x60000000 |
Definition at line 99 of file cc26x2_cc13x2_prcm.h.
#define DDI_0_OSC_STAT0_SCLK_LF_SRC_s 29 |
Definition at line 100 of file cc26x2_cc13x2_prcm.h.
#define GPIOCLKGDS_CLK_EN 0x1 |
Definition at line 367 of file cc26x2_cc13x2_prcm.h.
#define GPIOCLKGR_CLK_EN 0x1 |
Definition at line 357 of file cc26x2_cc13x2_prcm.h.
#define GPIOCLKGS_CLK_EN 0x1 |
Definition at line 362 of file cc26x2_cc13x2_prcm.h.
#define I2CCLKGDS_CLK_EN 0x1 |
Definition at line 368 of file cc26x2_cc13x2_prcm.h.
#define I2CCLKGR_CLK_EN 0x1 |
Definition at line 358 of file cc26x2_cc13x2_prcm.h.
#define I2CCLKGS_CLK_EN 0x1 |
Definition at line 363 of file cc26x2_cc13x2_prcm.h.
#define OSC_RCOSC_HF 0x00000000 |
#define OSC_XOSC_HF 0x00000001 |
External HF crystal oscillator.
Definition at line 137 of file cc26x2_cc13x2_prcm.h.
#define PDCTL0_PERIPH_ON 0x4 |
Definition at line 343 of file cc26x2_cc13x2_prcm.h.
#define PDCTL0_RFC_ON 0x1 |
Definition at line 341 of file cc26x2_cc13x2_prcm.h.
#define PDCTL0_SERIAL_ON 0x2 |
Definition at line 342 of file cc26x2_cc13x2_prcm.h.
#define PDCTL1_CPU_ON 0x2 |
Definition at line 349 of file cc26x2_cc13x2_prcm.h.
#define PDCTL1_RFC_ON 0x4 |
Definition at line 350 of file cc26x2_cc13x2_prcm.h.
#define PDCTL1_VIMS_ON 0x8 |
Definition at line 351 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT0_PERIPH_ON 0x4 |
Definition at line 347 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT0_RFC_ON 0x1 |
Definition at line 345 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT0_SERIAL_ON 0x2 |
Definition at line 346 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT1_CPU_ON 0x2 |
Definition at line 353 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT1_RFC_ON 0x4 |
Definition at line 354 of file cc26x2_cc13x2_prcm.h.
#define PDSTAT1_VIMS_ON 0x8 |
Definition at line 355 of file cc26x2_cc13x2_prcm.h.
#define PRCM ((prcm_regs_t *) (PRCM_BASE)) |
PRCM register bank.
Definition at line 381 of file cc26x2_cc13x2_prcm.h.
#define PRCM_NONBUF ((prcm_regs_t *) (PRCM_BASE_NONBUF)) |
PRCM register bank (nonbuf)
Definition at line 382 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGDS_CLK_EN_UART0 0x1 |
Definition at line 369 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGDS_CLK_EN_UART1 0x2 |
Definition at line 370 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGR_CLK_EN_UART0 0x1 |
Definition at line 359 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGR_CLK_EN_UART1 0x2 |
Definition at line 360 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGS_CLK_EN_UART0 0x1 |
Definition at line 364 of file cc26x2_cc13x2_prcm.h.
#define UARTCLKGS_CLK_EN_UART1 0x2 |
Definition at line 365 of file cc26x2_cc13x2_prcm.h.
void osc_hf_source_switch | ( | uint32_t | osc | ) |
DDI_0_OSC functions.
Switch the high frequency clock.
[in] | osc | The oscillator to use. |