Functions | |
hal_status_t | hal_sleep_timer_config_and_start (uint8_t mode, uint32_t value) |
Configure the AON Sleep Timer mode, count and start used to wakeup MCU. More... | |
void | hal_sleep_timer_stop (void) |
stop Sleep Timer More... | |
uint32_t | hal_sleep_timer_get_current_value (void) |
Get the current value of sleep timer. More... | |
uint32_t | hal_sleep_timer_get_clock_freq (void) |
Get clock frequency of sleep timer. More... | |
uint8_t | hal_sleep_timer_status_get (void) |
get sleep timer is running or not More... | |
hal_status_t hal_sleep_timer_config_and_start | ( | uint8_t | mode, |
uint32_t | value | ||
) |
Configure the AON Sleep Timer mode, count and start used to wakeup MCU.
[in] | mode | Specifies the sleep timer mode. This parameter can be a combination of the following values: |
[in] | value | Count value of the AON Sleep Timer. |
uint32_t hal_sleep_timer_get_clock_freq | ( | void | ) |
Get clock frequency of sleep timer.
clock | frequency of sleep timer |
uint32_t hal_sleep_timer_get_current_value | ( | void | ) |
Get the current value of sleep timer.
the | current value of sleep timer |
uint8_t hal_sleep_timer_status_get | ( | void | ) |
get sleep timer is running or not
runing | state of sleep timer (1 or 0). |
void hal_sleep_timer_stop | ( | void | ) |
stop Sleep Timer