CC26xx Driver Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sys_ctrl.c File Reference
#include <inc/hw_types.h>
#include <inc/hw_ccfg.h>
#include <driverlib/aon_batmon.h>
#include <driverlib/sys_ctrl.h>

Go to the source code of this file.

Data Structures

struct  PowerQualGlobals_t
 

Macros

#define PD_STATE_CACHE_RET   1
 
#define PD_STATE_RFMEM_RET   2
 
#define PD_STATE_XOSC_LPM   4
 

Functions

void SysCtrlPowerEverything (void)
 Power up everything. More...
 
void SysCtrlStandby (void)
 Force the system in to standby mode. More...
 
void SysCtrlPowerdown (void)
 Force the system in to power down. More...
 
void SysCtrlShutdown (void)
 Force the system in to 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...
 
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...
 

Macro Definition Documentation

#define PD_STATE_CACHE_RET   1

Definition at line 75 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

#define PD_STATE_RFMEM_RET   2

Definition at line 76 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

#define PD_STATE_XOSC_LPM   4

Definition at line 77 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().