app_tim_id_t
TIM module Enumerations definition.
@ APP_TIM_ID_MAX
Only for check parameter, not used as input parameters.
uint16_t app_tim_stop(app_tim_id_t id)
Stops the TIM counter in interrupt mode.
timer_init_t init
TIMER Base required parameters.
app_tim_id_t id
specified TIMER module ID.
TIMER init Structure definition.
@ APP_TIM_ID_1
TIMER module 1.
@ APP_TIM_EVT_ERROR
Error reported by TIMER peripheral.
app_tim_evt_t
TIM event Enumerations definition.
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.
This file contains all the functions prototypes for the HAL module driver.
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.
void(* app_tim_evt_handler_t)(app_tim_evt_t *p_evt)
TIM event callback definition.
timer_handle_t * app_tim_get_handle(app_tim_id_t id)
Return the TIM handle.
Header file of app driver error code.
@ APP_TIM_EVT_DONE
Interrupt done by TIMER peripheral.