ztimer_clock Struct Reference

ztimer device structure More...

Detailed Description

ztimer device structure

Definition at line 370 of file ztimer.h.

#include <ztimer.h>

Data Fields

ztimer_base_t list
 list of active timers

 
const ztimer_ops_tops
 pointer to methods structure

 
ztimer_base_tlast
 last timer in queue, for _is_set()
 
uint16_t adjust_set
 will be subtracted on every set()

 
uint16_t adjust_sleep
 will be subtracted on every sleep(), in addition to adjust_set

 
uint16_t adjust_clock_start
 will be subtracted on every set(), if the underlying periph is in stopped state

 
uint16_t users
 user count of this clock
 
uint32_t max_value
 maximum relative timer value

 
uint32_t lower_last
 timer value at last now() call

 
ztimer_now_t checkpoint
 cumulated time at last now() call

 
uint8_t block_pm_mode
 min. More...
 

Field Documentation

◆ block_pm_mode

uint8_t ztimer_clock::block_pm_mode

min.

pm mode to block for the clock to run don't use in combination with ztimer_ondemand!

Definition at line 390 of file ztimer.h.


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