#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 |
#define | PD_STATE_EXT_REG_MODE 8 |
#define | CCFG_MODE_CONF_VDDR_TRIM_SLEEP_DELTA_WIDTH 4 |
Functions | |
int32_t | SignExtendVddrTrimValue (uint32_t ui32VddrTrimVal) |
Sign extend the VDDR_TRIM setting (special format ranging from -10 to +21) More... | |
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... | |
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 [] |
#define CCFG_MODE_CONF_VDDR_TRIM_SLEEP_DELTA_WIDTH 4 |
Definition at line 329 of file sys_ctrl.c.
Referenced by SysCtrlSetRechargeBeforePowerDown().
#define PD_STATE_CACHE_RET 1 |
Definition at line 74 of file sys_ctrl.c.
Referenced by SysCtrlSetRechargeBeforePowerDown().
#define PD_STATE_EXT_REG_MODE 8 |
Definition at line 77 of file sys_ctrl.c.
Referenced by SysCtrlSetRechargeBeforePowerDown().
#define PD_STATE_RFMEM_RET 2 |
Definition at line 75 of file sys_ctrl.c.
Referenced by SysCtrlSetRechargeBeforePowerDown().
#define PD_STATE_XOSC_LPM 4 |
Definition at line 76 of file sys_ctrl.c.
Referenced by SysCtrlSetRechargeBeforePowerDown().
int32_t SignExtendVddrTrimValue | ( | uint32_t | ui32VddrTrimVal | ) |
Sign extend the VDDR_TRIM setting (special format ranging from -10 to +21)
Definition at line 664 of file setup.c.
Referenced by HapiTrimDeviceShutDown(), and SysCtrlSetRechargeBeforePowerDown().
|
static |
Definition at line 98 of file sys_ctrl.c.
Referenced by SysCtrlPowerEverything().
|
static |
Definition at line 86 of file sys_ctrl.c.