28#ifndef ZTIMER_CONVERT_FRAC_H
29#define ZTIMER_CONVERT_FRAC_H
75 uint32_t freq_self, uint32_t freq_lower);
85 uint32_t freq_self, uint32_t freq_lower);
ztimer frequency conversion base module
ztimer_convert_frac interface definitions
void ztimer_convert_frac_change_rate(ztimer_convert_frac_t *self, uint32_t freq_self, uint32_t freq_lower)
Change the scaling without affecting the current count.
void ztimer_convert_frac_init(ztimer_convert_frac_t *self, ztimer_clock_t *lower, uint32_t freq_self, uint32_t freq_lower)
ztimer_convert_frac_t constructor
frac descriptor for fraction consisting of two 32 bit integers
ztimer_convert_frac frequency conversion layer class
uint32_t round
Rounding value, will be added to all lower set().
ztimer_convert_t super
Superclass instance.
frac_t scale_set
Frequency conversion scaling constant from self to lower.
frac_t scale_now
Frequency conversion scaling constant from lower to self.
base type for ztimer convert modules