CC26xx Driver Library
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>
#include <driverlib/setup_rom.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
 
#define PD_STATE_EXT_REG_MODE   8
 

Functions

void SysCtrlPowerEverything (void)
 Power up everything. More...
 
void SysCtrlSetRechargeBeforePowerDown (uint32_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 is considered to be optimal usage. More...
 
uint32_t SysCtrlResetSourceGet (void)
 Returns last reset source (including "wakeup from shutdown"). More...
 

Variables

static PowerQualGlobals_t powerQualGlobals
 
static const uint32_t g_pui32ModuleCG []
 

Macro Definition Documentation

#define PD_STATE_CACHE_RET   1

Definition at line 73 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

#define PD_STATE_EXT_REG_MODE   8

Definition at line 76 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

#define PD_STATE_RFMEM_RET   2

Definition at line 74 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

#define PD_STATE_XOSC_LPM   4

Definition at line 75 of file sys_ctrl.c.

Referenced by SysCtrlSetRechargeBeforePowerDown().

Variable Documentation

const uint32_t g_pui32ModuleCG[]
static
Initial value:
=
{
}
#define PRCM_PERIPH_TIMER1
Definition: prcm.h:181
#define PRCM_PERIPH_TRNG
Definition: prcm.h:191
#define PRCM_PERIPH_I2S
Definition: prcm.h:194
#define PRCM_PERIPH_TIMER0
Definition: prcm.h:180
#define PRCM_PERIPH_TIMER2
Definition: prcm.h:182
#define PRCM_PERIPH_SSI0
Definition: prcm.h:184
#define PRCM_PERIPH_TIMER3
Definition: prcm.h:183
#define PRCM_PERIPH_SSI1
Definition: prcm.h:185
#define PRCM_PERIPH_CRYPTO
Definition: prcm.h:190
#define PRCM_PERIPH_GPIO
Definition: prcm.h:193
#define PRCM_PERIPH_UART0
Definition: prcm.h:186
#define PRCM_PERIPH_UDMA
Definition: prcm.h:192
#define PRCM_PERIPH_I2C0
Definition: prcm.h:188

Definition at line 97 of file sys_ctrl.c.

Referenced by SysCtrlPowerEverything().

PowerQualGlobals_t powerQualGlobals
static

Definition at line 85 of file sys_ctrl.c.