Functions | |
__STATIC_INLINE void | ll_sleep_timer_set_clk (uint32_t value) |
Set the Sleep Timer clock. More... | |
__STATIC_INLINE uint32_t | ll_sleep_timer_get_clk (void) |
Get the Sleep Timer clock. More... | |
__STATIC_INLINE void | ll_sleep_timer_set_value (uint32_t value) |
Set the 32 bits Sleep Timer Value to WakeUp the MCU from DeepSleep Mode. More... | |
__STATIC_INLINE uint32_t | ll_sleep_timer_get_value (void) |
Get the 32 bit Sleep Timer Value to WakeUp the MCU from DeepSleep Mode. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_sleep_timer_get_read_value (void) |
Get the real internal value of the sleep timer. More... | |
__STATIC_INLINE uint32_t | ll_sleep_timer_is_runing (void) |
check the sleep timer runing state. More... | |
__STATIC_INLINE uint32_t | ll_sleep_timer_is_busy (void) |
check the sleep timer busy state. More... | |
__STATIC_INLINE void | ll_sleep_timer_set_mode (uint32_t mode) |
Set the Sleep Timer Work Mode. More... | |
__STATIC_INLINE void | ll_sleep_timer_disable (void) |
disable sleep timer More... | |
__STATIC_INLINE void | ll_sleep_timer_clear_sleep_event (void) |
clear wake up event by sleep timer More... | |
__STATIC_INLINE void ll_sleep_timer_clear_sleep_event | ( | void | ) |
clear wake up event by sleep timer
Register|BitsName --------|-------- AON_SLP_EVENT | AON_CTL_SLP_EVENT_TIMER
None |
Definition at line 244 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE void ll_sleep_timer_disable | ( | void | ) |
disable sleep timer
Register|BitsName --------|-------- SLP_TIMER_CFG_0 | AON_TIMER_SLEEP_TIMER_CFG0_EN
None |
Definition at line 230 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE uint32_t ll_sleep_timer_get_clk | ( | void | ) |
Get the Sleep Timer clock.
Register|BitsName --------|-------- SLP_TIMER_CLK | slp_timer_clk_sel
Sleep | Timer clock source,the value can be the one of the following: |
Definition at line 131 of file gr55xx_ll_sleep_timer.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_sleep_timer_get_read_value | ( | void | ) |
Get the real internal value of the sleep timer.
Register|BitsName --------|-------- SLP_TIMER_VAL_R | AON_CTL_SLP_TIMER_VAL_R_32B
32 | bit sleep Timer Count Value |
Definition at line 174 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE uint32_t ll_sleep_timer_get_value | ( | void | ) |
Get the 32 bit Sleep Timer Value to WakeUp the MCU from DeepSleep Mode.
Register|BitsName --------|-------- SLP_TIMER_VAL_W | AON_CTL_SLP_TIMER_VAL_W_32B
32 | bit AON Timer Count Value |
Definition at line 160 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE uint32_t ll_sleep_timer_is_busy | ( | void | ) |
check the sleep timer busy state.
Register|BitsName --------|-------- SLP_TIMER_STS | AON_CTL_SLP_TIMER_STAT_BUSY
busy | state of sleep timer (1 or 0). |
Definition at line 202 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE uint32_t ll_sleep_timer_is_runing | ( | void | ) |
check the sleep timer runing state.
Register|BitsName --------|-------- SLP_TIMER_STS | AON_CTL_SLP_TIMER_STAT_STATUS
runing | state of sleep timer (1 or 0). |
Definition at line 188 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE void ll_sleep_timer_set_clk | ( | uint32_t | value | ) |
Set the Sleep Timer clock.
Register|BitsName --------|-------- SLP_TIMER_CLK | slp_timer_clk_sel
value | This parameter can be a one of the following values: |
None |
Definition at line 114 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE void ll_sleep_timer_set_mode | ( | uint32_t | mode | ) |
Set the Sleep Timer Work Mode.
Register|BitsName --------|-------- SLP_TIMER_CFG_0 | AON_CTL_SLP_TIMER_CFG_0_MODE
mode | of Sleep Timer work |
None |
Definition at line 217 of file gr55xx_ll_sleep_timer.h.
__STATIC_INLINE void ll_sleep_timer_set_value | ( | uint32_t | value | ) |
Set the 32 bits Sleep Timer Value to WakeUp the MCU from DeepSleep Mode.
Register|BitsName --------|-------- SLP_TIMER_VAL_W | AON_CTL_SLP_TIMER_VAL_W_32B
value | 32 bits count value loaded into the 32bit_timer |
None |
Definition at line 146 of file gr55xx_ll_sleep_timer.h.