Logo
UNICENS V2.1.0-3491
User Manual and API Reference
typedef void(* Ucs_SetAppTimerCb_t)(uint16_t timeout, void *user_ptr)

Function signature used for timer callback function.

Parameters
timeoutThe specified time-out value. If timeout value is greater than 0, the application has to start the timer associated with the specified timeout value. If timeout value is equal to 0, the application has to stop the application timer.
user_ptrUser reference provided in Ucs_InitData_t::user_ptr
Note
The application should only dedicate one timer to UNICENS. Thus, whenever this callback function is called and the associated timeout value is greater than 0, the application should restart the timer with the new specified timeout value !