Type Alias riot_sys::ztimer_clock_t
source · pub type ztimer_clock_t = ztimer_clock;
Expand description
@brief ztimer device structure
Aliased Type§
struct ztimer_clock_t {
pub list: ztimer_base,
pub ops: *const ztimer_ops_t,
pub last: *mut ztimer_base,
pub adjust_set: u16,
pub adjust_sleep: u16,
pub max_value: u32,
pub lower_last: u32,
pub checkpoint: u32,
}
Fields§
§list: ztimer_base
< list of active timers
ops: *const ztimer_ops_t
< pointer to methods structure
last: *mut ztimer_base
< last timer in queue, for _is_set()
adjust_set: u16
< will be subtracted on every set()
adjust_sleep: u16
< will be subtracted on every sleep(), in addition to adjust_set
max_value: u32
< maximum relative timer value
lower_last: u32
< timer value at last now() call
checkpoint: u32
< cumulated time at last now() call