uint32_t now
current counter value
unsigned cancel
Number of calls to ztimer_ops_t::cancel.
unsigned now
Number of calls to ztimer_ops_t::now.
ztimer_clock_t super
superclass instance
void ztimer_mock_advance(ztimer_mock_t *self, uint32_t val)
Advance the mock clock counter and update target.
unsigned armed
flag for checking if a target has been set
void ztimer_mock_jump(ztimer_mock_t *self, uint32_t target)
Set the mock clock counter value without updating timer target.
uint32_t mask
counter mask
unsigned set
Number of calls to ztimer_ops_t::set.
void ztimer_mock_init(ztimer_mock_t *self, unsigned width)
Constructor.
void ztimer_mock_fire(ztimer_mock_t *self)
Trigger the timer handlers.
uint32_t target
ticks left until alarm is hit