HAL Power Modes Macro Definition Documentation
POWER_MODES_BLE_NOT_PRESENT
#define POWER_MODES_BLE_NOT_PRESENT (false)
Location: power_modes.h:60
POWER_MODES_BLE_PRESENT
#define POWER_MODES_BLE_PRESENT (true)
Location: power_modes.h:61
VDDT_RETENTION_DISABLE
#define VDDT_RETENTION_DISABLE (0x0U)
Location: power_modes.h:71
VDDT_RETENTION_ENABLE
#define VDDT_RETENTION_ENABLE (0x1U)
Location: power_modes.h:72
VDDC_RETENTION_DISABLE
#define VDDC_RETENTION_DISABLE (0x0U)
Location: power_modes.h:85
VDDC_RETENTION_ENABLE
#define VDDC_RETENTION_ENABLE (0x1U)
Location: power_modes.h:86
VDDM_RETENTION_TRIM_PRESET
#define VDDM_RETENTION_TRIM_PRESET (0x01)
Location: power_modes.h:113
- VDDM retention regulator trim (ACS_VDDRET_CTRL->VDDMRET_VTRIM)
- VDDT baseband retention regulator enable (ACS_VDDRET_CTRL->VDDTRET_ENABLE)
- VDDC retention regulator trim (ACS_VDDRET_CTRL->VDDCRET_VTRIM)
- VDDACS retention regulator trim (ACS_VDDRET_CTRL->VDDACS_VTRIM)
NOTE: If the baseband is not utilized in the application (e.g. Bluetooth is not used and the kernel timer is not used), the VDDT baseband retention regulator can be disabled to reduce power consumption by setting VDDT_RETENTION_ENABLE_PRESET to VDDT_RETENTION_DISABLE.
VDDT_RETENTION_ENABLE_PRESET
#define VDDT_RETENTION_ENABLE_PRESET VDDT_RETENTION_ENABLE
Location: power_modes.h:114
VDDC_RETENTION_TRIM_PRESET
#define VDDC_RETENTION_TRIM_PRESET (0x01)
Location: power_modes.h:115
VDDACS_RETENTION_TRIM_PRESET
#define VDDACS_RETENTION_TRIM_PRESET (0x03)
Location: power_modes.h:116
VCC_RETENTION_TRIM
#define VCC_RETENTION_TRIM (0xA << ACS_VCC_CTRL_VTRIM_Pos)
Location: power_modes.h:119
WAKEUP_CTRL_FLAGS_TO_CLEAR_BITS
#define WAKEUP_CTRL_FLAGS_TO_CLEAR_BITS ( (((x) >> 16) & 0x1F) \ | (((x) >> 21) & 0x0F) \ | (((x) >> 25) & 0x07) )
Location: power_modes.h:134
Parameters
Direction | Name | Description |
---|---|---|
in |
x |
(uint32_t) The ACS_WAKEUP_CTRL wakeup flags to be converted. |
Return
WAKEUP_ALL_FLAGS_CLEAR
#define WAKEUP_ALL_FLAGS_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ (uint32_t)(0xFFFF))
Location: power_modes.h:143
WAKEUP_GPIO0_FLAG_CLEAR
#define WAKEUP_GPIO0_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_GPIO0_EVENT_CLEAR)
Location: power_modes.h:152
WAKEUP_GPIO1_FLAG_CLEAR
#define WAKEUP_GPIO1_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_GPIO1_EVENT_CLEAR)
Location: power_modes.h:155
WAKEUP_GPIO2_FLAG_CLEAR
#define WAKEUP_GPIO2_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_GPIO2_EVENT_CLEAR)
Location: power_modes.h:158
WAKEUP_GPIO3_FLAG_CLEAR
#define WAKEUP_GPIO3_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_GPIO3_EVENT_CLEAR)
Location: power_modes.h:161
WAKEUP_BB_TIMER_FLAG_CLEAR
#define WAKEUP_BB_TIMER_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_BB_TIMER_CLEAR)
Location: power_modes.h:164
WAKEUP_RTC_ALARM_FLAG_CLEAR
#define WAKEUP_RTC_ALARM_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_RTC_ALARM_EVENT_CLEAR)
Location: power_modes.h:167
WAKEUP_RTC_CLOCK_FLAG_CLEAR
#define WAKEUP_RTC_CLOCK_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_RTC_CLOCK_EVENT_CLEAR)
Location: power_modes.h:170
WAKEUP_RTC_OVERFLOW_FLAG_CLEAR
#define WAKEUP_RTC_OVERFLOW_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_RTC_OVERFLOW_EVENT_CLEAR)
Location: power_modes.h:173
WAKEUP_DCDC_OVERLOAD_FLAG_CLEAR
#define WAKEUP_DCDC_OVERLOAD_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_DCDC_OVERLOAD_EVENT_CLEAR)
Location: power_modes.h:176
WAKEUP_ACOMP_FLAG_CLEAR
#define WAKEUP_ACOMP_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_ACOMP_EVENT_CLEAR)
Location: power_modes.h:179
WAKEUP_FIFO_FULL_FLAG_CLEAR
#define WAKEUP_FIFO_FULL_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ WAKEUP_FIFO_FULL_EVENT_CLEAR)
Location: power_modes.h:182
WAKEUP_THRESHOLD_FULL_FLAG_CLEAR
#define WAKEUP_THRESHOLD_FULL_FLAG_CLEAR Sys_ACS_WriteRegister( \ &ACS->WAKEUP_CTRL, \ THRESHOLD_FULL_EVENT_CLEAR)
Location: power_modes.h:185