riot_sys::bindgen

Function ztimer_sleep

Source
pub unsafe extern "C" fn ztimer_sleep(
    clock: *mut ztimer_clock_t,
    duration: u32,
)
Expand description

@brief Put the calling thread to sleep for the specified number of ticks

@param[in] clock ztimer clock to use @param[in] duration duration of sleep, in @p ztimer time units