ztimer_ops_t Struct Reference

ztimer backend method structure More...

Detailed Description

ztimer backend method structure

This table contains pointers to the virtual methods for a ztimer clock.

These functions used by ztimer core to interact with the underlying clock.

Definition at line 292 of file ztimer.h.

#include <ztimer.h>

Data Fields

void(* set )(ztimer_clock_t *clock, uint32_t val)
 Set a new timer target.
 
uint32_t(* now )(ztimer_clock_t *clock)
 Get the current count of the timer.
 
void(* cancel )(ztimer_clock_t *clock)
 Cancel any set target.
 

The documentation for this struct was generated from the following file: