pub unsafe extern "C" fn ztimer_set_wakeup(
clock: *mut ztimer_clock_t,
timer: *mut ztimer_t,
offset: u32,
pid: kernel_pid_t,
)
Expand description
@brief Set a timer that wakes up a thread
This function sets a timer that will wake up a thread when the timer has expired.
@param[in] clock ztimer clock to operate on @param[in] timer timer struct to work with. @param[in] offset clock ticks from now @param[in] pid pid of the thread that will be woken up