riot_sys::bindgen

Function ztimer_periodic_start_now

Source
pub unsafe extern "C" fn ztimer_periodic_start_now(
    timer: *mut ztimer_periodic_t,
)
Expand description

@brief Start or restart a periodic timer without initial timer delay

When called on a newly initialized timer, the timer will start.

When called on an already running timer, the current interval is reset to its start (thus the next callback will be called after the configured interval has passed).

@param[in] timer periodic timer object to work on