Go to the documentation of this file.
   51 #if IS_USED(MODULE_EVTIMER_ON_ZTIMER) 
   80 #if IS_USED(MODULE_EVTIMER_ON_ZTIMER) 
  131 #if IS_USED(MODULE_EVTIMER_ON_ZTIMER) 
  143 #if IS_USED(MODULE_EVTIMER_ON_ZTIMER) 
  
 
#define SEC_PER_MIN
The number of seconds per minute.
 
void evtimer_add(evtimer_t *evtimer, evtimer_event_t *event)
Adds event to an event timer.
 
Common macros and compiler attributes/pragmas configuration.
 
void evtimer_del(evtimer_t *evtimer, evtimer_event_t *event)
Removes an event from an event timer.
 
void(* evtimer_callback_t)(evtimer_event_t *event)
Event timer callback type.
 
static uint32_t evtimer_now_msec(void)
Return the current system time in msec.
 
#define MS_PER_SEC
The number of milliseconds per second.
 
ztimer_clock_t *const ZTIMER_MSEC
Default ztimer millisecond clock.
 
evtimer_event_t * events
Event queue.
 
Utility library for comparing and computing timestamps.
 
void evtimer_print(const evtimer_t *evtimer)
Print overview of current state of an event timer.
 
evtimer_callback_t callback
Handler function for this evtimer's event type.
 
struct evtimer_event evtimer_event_t
Generic event.
 
static uint32_t evtimer_now_min(void)
Return the current system time in minutes.
 
uint32_t offset
offset in milliseconds from previous event
 
#define US_PER_MS
The number of microseconds per millisecond.
 
static ztimer_now_t ztimer_now(ztimer_clock_t *clock)
Get the current time from a clock.
 
static uint64_t xtimer_now_usec64(void)
get the current system time in microseconds since start
 
xtimer interface definitions
 
void evtimer_init(evtimer_t *evtimer, evtimer_callback_t handler)
Initializes an event timer.
 
struct evtimer_event * next
the next event in the queue
 
#define US_PER_SEC
The number of microseconds per second.