ztimer_convert_frac frequency conversion layer class More...
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(). | |
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.
frac_t ztimer_convert_frac_t::scale_now |
Frequency conversion scaling constant from lower to self.
Definition at line 52 of file convert_frac.h.
frac_t ztimer_convert_frac_t::scale_set |
Frequency conversion scaling constant from self to lower.
Definition at line 56 of file convert_frac.h.
ztimer_convert_t ztimer_convert_frac_t::super |
Superclass instance.
Definition at line 48 of file convert_frac.h.