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. | |
void(* | start )(ztimer_clock_t *clock) |
Starts the underlying timer. | |
void(* | stop )(ztimer_clock_t *clock) |
Stops the underlying timer. | |
void(* ztimer_ops_t::cancel) (ztimer_clock_t *clock) |
uint32_t(* ztimer_ops_t::now) (ztimer_clock_t *clock) |
void(* ztimer_ops_t::set) (ztimer_clock_t *clock, uint32_t val) |
void(* ztimer_ops_t::start) (ztimer_clock_t *clock) |
void(* ztimer_ops_t::stop) (ztimer_clock_t *clock) |