riot_sys

Function ztimer_periodic_start

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

@brief Start or restart a periodic timer

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