zephyr::raw

Function k_work_delayable_expires_get

source
pub unsafe extern "C" fn k_work_delayable_expires_get(
    dwork: *const k_work_delayable,
) -> i64
Expand description

@brief Get the absolute tick count at which a scheduled delayable work will be submitted.

@note This is a live snapshot of state, which may change before the result can be inspected. Use locks where appropriate.

@funcprops \isr_ok

@param dwork pointer to the delayable work item.

@return the tick count when the timer that will schedule the work item will expire, or the current tick count if the work is not scheduled.