Skip to main content

k_timer_expires_ticks

Function k_timer_expires_ticks 

Source
pub unsafe extern "C" fn k_timer_expires_ticks(
    timer: *const k_timer,
) -> i64
Expand description

@brief Get next expiration time of a timer, in system ticks

This routine returns the future system uptime reached at the next time of expiration of the timer, in units of system ticks. If the timer is not running, the last announced tick count is returned (which may lag the true current uptime by the elapsed sub-tick amount).

@param timer The timer object @return Uptime of expiration, in ticks