CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Enumerations | Functions
sys_ctrl.h File Reference
`#include <stdbool.h>`
`#include <stdint.h>`
`#include <inc/hw_types.h>`
`#include <inc/hw_memmap.h>`
`#include <inc/hw_ints.h>`
`#include <inc/hw_sysctl.h>`
`#include <inc/hw_prcm.h>`
`#include <inc/hw_nvic.h>`
`#include <inc/hw_aon_wuc.h>`
`#include <inc/hw_aux_wuc.h>`
`#include <inc/hw_aon_ioc.h>`
`#include <inc/hw_ddi_0_osc.h>`
`#include <inc/hw_rfc_pwr.h>`
`#include <inc/hw_adi_3_refsys.h>`
`#include <inc/hw_aon_sysctl.h>`
`#include <inc/hw_aon_rtc.h>`
`#include <inc/hw_fcfg1.h>`
`#include <driverlib/interrupt.h>`
`#include <driverlib/debug.h>`
`#include <driverlib/pwr_ctrl.h>`
`#include <driverlib/osc.h>`
`#include <driverlib/prcm.h>`
`#include <driverlib/aux_wuc.h>`
`#include <driverlib/aon_wuc.h>`
`#include <driverlib/adi.h>`
`#include <driverlib/ddi.h>`
`#include <driverlib/cpu.h>`
`#include <driverlib/vims.h>`

Go to the source code of this file.

## Macros
#define | SYSCTRL_SYSBUS_ON 0x00000001
#define | SYSCTRL_SYSBUS_OFF 0x00000000
#define | CPU_RUN 0x00000000
#define | CPU_SLEEP 0x00000001
#define | CPU_DEEP_SLEEP 0x00000002
#define | RSTSRC_PWR_ON (( AON_SYSCTL_RESETCTL_RESET_SRC_PWR_ON >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_PIN_RESET (( AON_SYSCTL_RESETCTL_RESET_SRC_PIN_RESET >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_VDDS_LOSS (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDS_LOSS >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_VDD_LOSS (( AON_SYSCTL_RESETCTL_RESET_SRC_VDD_LOSS >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_VDDR_LOSS (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDR_LOSS >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_CLK_LOSS (( AON_SYSCTL_RESETCTL_RESET_SRC_CLK_LOSS >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_SYSRESET (( AON_SYSCTL_RESETCTL_RESET_SRC_SYSRESET >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_WARMRESET (( AON_SYSCTL_RESETCTL_RESET_SRC_WARMRESET >> AON_SYSCTL_RESETCTL_RESET_SRC_S ))
#define | RSTSRC_WAKEUP_FROM_SHUTDOWN (( AON_SYSCTL_RESETCTL_RESET_SRC_M >> AON_SYSCTL_RESETCTL_RESET_SRC_S ) + 1 )

## Enumerations
enum | XoscPowerMode_t { XoscInHighPowerMode = 0, XoscInLowPowerMode }
| Enumeration describing possible input options to SysCtrlSetRechargeBeforePowerDown(). More...

## Functions
void | SysCtrlPowerEverything (void)
| Power up everything. More...
void | SysCtrlStandby (void)
| Force the system into standby mode. More...
void | SysCtrlPowerdown (void)
| Force the system into power down. More...
void | SysCtrlShutdown (void)
| Force the system into shutdown. More...
uint32_t | SysCtrlClockGet (void)
| Get the CPU core clock frequency. More...
uint32_t | SysCtrlPeripheralClockGet (uint32_t ui32Peripheral, uint32_t ui32BusMode)
| Get the clock for a peripheral. More...
__STATIC_INLINE void | SysCtrlAonSync (void)
| Sync all accesses to the AON register interface. More...
__STATIC_INLINE void | SysCtrlAonUpdate (void)
| Update all interfaces to AON. More...
void | SysCtrlSetRechargeBeforePowerDown (XoscPowerMode_t xoscPowerMode)
| Set Recharge values before entering Power Down. More...
void | SysCtrlAdjustRechargeAfterPowerDown (void)
| Adjust Recharge calculations to be used next. More...
void | SysCtrl_DCDC_VoltageConditionalControl (void)
| Turns DCDC on or off depending of what’s considered to be optimal usage. More...
uint32_t | SysCtrlResetSourceGet (void)
| Returns last reset source (including "wakeup from shutdown") More...