ztimer backend method structure More...
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.
#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. | |