riot_sys::bindgen

Function ztimer_is_set

Source
pub unsafe extern "C" fn ztimer_is_set(
    clock: *const ztimer_clock_t,
    timer: *const ztimer_t,
) -> c_uint
Expand description

@brief Check if a timer is currently active

@param[in] clock ztimer clock to operate on @param[in] timer timer to check

@return > 0 if timer is active @return 0 if timer is not active