ztimer_convert_frac frequency conversion layer class More...

Detailed Description

ztimer_convert_frac frequency conversion layer class

Definition at line 44 of file convert_frac.h.

#include <convert_frac.h>

Data Fields

ztimer_convert_t super
 Superclass instance.
 
frac_t scale_now
 Frequency conversion scaling constant from lower to self.
 
frac_t scale_set
 Frequency conversion scaling constant from self to lower.
 
uint32_t round
 Rounding value, will be added to all lower set(). More...
 

Field Documentation

◆ round

uint32_t ztimer_convert_frac_t::round

Rounding value, will be added to all lower set().

E.g., 1000000/32768== ~30.5. round will be set to 30.

Definition at line 62 of file convert_frac.h.


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