Go to the documentation of this file.
62 #ifdef HAL_TIMER_MODULE_ENABLED
85 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5332X)
112 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
206 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5332X)
app_tim_state_t
App tim state types.
app_tim_id_t
TIM module Enumerations definition.
@ APP_TIM_ID_MAX
Only for check parameter, not used as input parameters.
app_tim_evt_handler_t evt_handler
TIM event callback.
uint16_t app_tim_stop(app_tim_id_t id)
Stops the TIM counter in interrupt mode.
void(* app_tim_evt_handler_t)(app_tim_evt_t *p_evt)
TIM event callback definition.
tim_env_t tim_env
TIM device structure definition.
timer_init_t init
TIMER Base required parameters.
app_tim_id_t id
specified TIMER module ID.
timer_handle_t handle
TIMER handle Structure.
TIMER init Structure definition.
@ APP_TIM_ID_1
TIMER module 1.
@ APP_TIM_EVT_ERROR
Error reported by TIMER peripheral.
app_tim_state_t tim_state
App tim state types.
app_tim_evt_t
TIM event Enumerations definition.
This file contains all the functions prototypes for the HAL module driver.
TIM parameters structure definition.
@ APP_TIM_ID_0
TIMER module 0.
uint16_t app_tim_start(app_tim_id_t id)
Starts the TIM counter in interrupt mode.
uint16_t app_tim_deinit(app_tim_id_t id)
De-initialize the APP TIM DRIVER peripheral.
uint16_t app_tim_init(app_tim_params_t *p_params, app_tim_evt_handler_t evt_handler)
Initialize the APP TIM DRIVER according to the specified parameters in the app_tim_params_t and app_t...
TIMER handle Structure definition.
timer_handle_t * app_tim_get_handle(app_tim_id_t id)
Return the TIM handle.
Header file of app driver error code.
Header file of app driver config code.
TIM device structure definition.
@ APP_TIM_EVT_DONE
Count done event by TIMER peripheral.