riot_sys

Function evtimer_init

Source
pub unsafe extern "C" fn evtimer_init(
    evtimer: *mut evtimer_t,
    handler: evtimer_callback_t,
)
Expand description

@brief Initializes an event timer

@warning BEWARE! Callbacks from evtimer_init() are being executed in interrupt context. DON’T USE THIS FUNCTION unless you know exactly what that means.

@param[in] evtimer An event timer @param[in] handler An event handler function