5.2.7.1 HAL_AppTimer_t Type Definition
Syntax
typedef BC_Timer_t HAL_AppTimer_t;
Description
The HAL_AppTimer_t
type definition defines the fields of a structure for
timer configuration. The uint32_t interval
field specifies the timer firing
interval, which the user must set to more than 10 ms. The user sets the TimerMode_t
mode
field to indicate the timer’s Operating mode. Valid options include
TIMER_REPEAT_MODE
and TIMER_ONE_SHOT_MODE
. The user must
set the void (*callback)(void)
field, which is a pointer to the timer
callback function. It must not be NULL
.