ztimer mock clock class More...

Detailed Description

ztimer mock clock class

Definition at line 40 of file mock.h.

#include <mock.h>

Data Fields

ztimer_clock_t super
 superclass instance
 
uint32_t mask
 counter mask
 
uint32_t now
 current counter value
 
uint32_t target
 ticks left until alarm is hit
 
unsigned armed
 flag for checking if a target has been set
 
struct {
   unsigned   now
 Number of calls to ztimer_ops_t::now.
 
   unsigned   set
 Number of calls to ztimer_ops_t::set.
 
   unsigned   cancel
 Number of calls to ztimer_ops_t::cancel.
 
calls
 Struct holding number of calls to each operation.
 

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