pub unsafe extern "C" fn k_timer_init(
timer: *mut k_timer,
expiry_fn: k_timer_expiry_t,
stop_fn: k_timer_stop_t,
)
Expand description
@brief Initialize a timer.
This routine initializes a timer, prior to its first use.
@param timer Address of timer. @param expiry_fn Function to invoke each time the timer expires. @param stop_fn Function to invoke if the timer is stopped while running.