Loading...
Searching...
No Matches
ztimer_clock Struct Reference

ztimer device structure More...

Detailed Description

ztimer device structure

Definition at line 383 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.
 

Field Documentation

◆ adjust_clock_start

uint16_t ztimer_clock::adjust_clock_start

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

Definition at line 391 of file ztimer.h.

◆ adjust_set

uint16_t ztimer_clock::adjust_set

will be subtracted on every set()

Definition at line 387 of file ztimer.h.

◆ adjust_sleep

uint16_t ztimer_clock::adjust_sleep

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

Definition at line 388 of file ztimer.h.

◆ 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 403 of file ztimer.h.

◆ checkpoint

ztimer_now_t ztimer_clock::checkpoint

cumulated time at last now() call

Definition at line 400 of file ztimer.h.

◆ last

ztimer_base_t* ztimer_clock::last

last timer in queue, for _is_set()

Definition at line 386 of file ztimer.h.

◆ list

ztimer_base_t ztimer_clock::list

list of active timers

Definition at line 384 of file ztimer.h.

◆ lower_last

uint32_t ztimer_clock::lower_last

timer value at last now() call

Definition at line 399 of file ztimer.h.

◆ max_value

uint32_t ztimer_clock::max_value

maximum relative timer value

Definition at line 398 of file ztimer.h.

◆ ops

const ztimer_ops_t* ztimer_clock::ops

pointer to methods structure

Definition at line 385 of file ztimer.h.

◆ users

uint16_t ztimer_clock::users

user count of this clock

Definition at line 394 of file ztimer.h.


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