Functions | |
__STATIC_INLINE void | ll_pwr_set_wakeup_condition (uint32_t condition) |
Set the DeepSleep WakeUp Condition. More... | |
__STATIC_INLINE void | ll_pwr_clear_wakeup_condition (uint32_t condition) |
Clear the DeepSleep WakeUp Condition. More... | |
__STATIC_INLINE uint32_t | ll_pwr_get_wakeup_condition (void) |
Get the Selected DeepSleep WakeUp Condition. More... | |
__STATIC_INLINE uint32_t | ll_pwr_get_wakeup_event (void) |
Get the Event that triggered the DeepSleep WakeUp. More... | |
__STATIC_INLINE void | ll_pwr_set_sleep_timer_value (uint32_t value) |
Set the 32 bits AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode. More... | |
__STATIC_INLINE uint32_t | ll_pwr_get_sleep_timer_read_value (void) |
Read the AON Sleep Timer counter current value. More... | |
__STATIC_INLINE void | ll_pwr_enable_smc_wakeup_req (void) |
Enable the SMC WakeUp Request. More... | |
__STATIC_INLINE void | ll_pwr_disable_smc_wakeup_req (void) |
Disable the SMC WakeUp Request. More... | |
__STATIC_INLINE uint32_t | ll_pwr_is_enabled_smc_wakeup_req (void) |
Check if the SMC WakeUp Request was enabled or disabled. More... | |
__STATIC_INLINE void | ll_pwr_set_dpad_le_value (uint32_t sleep, uint32_t wakeup) |
Set the DPAD LE value during sleep and after wake up. More... | |
__STATIC_INLINE void ll_pwr_clear_wakeup_condition | ( | uint32_t | condition | ) |
__STATIC_INLINE void ll_pwr_disable_smc_wakeup_req | ( | void | ) |
__STATIC_INLINE void ll_pwr_enable_smc_wakeup_req | ( | void | ) |
__STATIC_INLINE uint32_t ll_pwr_get_sleep_timer_read_value | ( | void | ) |
Read the AON Sleep Timer counter current value.
Register|BitsName --------|-------- SLEEP_TIMER_R | PWR_CTL_TIMER_32B
32 | bit AON Timer Count Value |
Definition at line 269 of file ll_pwr.h.
References SLP_TIMER0.
__STATIC_INLINE uint32_t ll_pwr_get_wakeup_condition | ( | void | ) |
Get the Selected DeepSleep WakeUp Condition.
Register|BitsName --------|-------- MCU_WAKEUP_CTRL | MCU_WAKEUP_CTRL
Returned | value can be one of the following values: |
Definition at line 216 of file ll_pwr.h.
References AON_CTL, and LL_PWR_WKUP_COND_ALL.
__STATIC_INLINE uint32_t ll_pwr_get_wakeup_event | ( | void | ) |
Get the Event that triggered the DeepSleep WakeUp.
Register|BitsName --------|-------- AON_SLP_EVENT | AON_SLP_EVENT
Returned | value can be combination of the following values: |
Definition at line 238 of file ll_pwr.h.
References AON_CTL, and LL_PWR_WKUP_EVENT_ALL.
__STATIC_INLINE uint32_t ll_pwr_is_enabled_smc_wakeup_req | ( | void | ) |
__STATIC_INLINE void ll_pwr_set_dpad_le_value | ( | uint32_t | sleep, |
uint32_t | wakeup | ||
) |
Set the DPAD LE value during sleep and after wake up.
Register|BitsName --------|-------- DPAD_LE_CTRL | DPAD_LE_SLP_VAL DPAD_LE_CTRL | DPAD_LE_WKUP_VAL
sleep | This parameter can be one of the following values: |
wakeup | This parameter can be one of the following values: |
None |
__STATIC_INLINE void ll_pwr_set_sleep_timer_value | ( | uint32_t | value | ) |
Set the 32 bits AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode.
Register|BitsName --------|-------- SLEEP_TIMER_W | SLEEP_TIMER_W
value | 32 bits count value loaded into the t32bit_timer |
None |
Definition at line 255 of file ll_pwr.h.
References SLP_TIMER0.
__STATIC_INLINE void ll_pwr_set_wakeup_condition | ( | uint32_t | condition | ) |