Go to the documentation of this file.
52 #ifndef __GR55xx_HAL_SLEEP_TIMER_H__
53 #define __GR55xx_HAL_SLEEP_TIMER_H__
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.
uint32_t hal_sleep_timer_get_current_value(void)
Get the current value of sleep timer.
uint32_t hal_sleep_timer_get_clock_freq(void)
Get clock frequency of sleep timer.
void hal_sleep_timer_stop(void)
stop Sleep Timer
hal_status_t
HAL Status structures definition.
uint8_t hal_sleep_timer_status_get(void)
get sleep timer is running or not
This file contains HAL common definitions, enumeration, macros and structures definitions.