Loading...
Searching...
No Matches

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().
 

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.

◆ scale_now

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.

◆ scale_set

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.

◆ super

ztimer_convert_t ztimer_convert_frac_t::super

Superclass instance.

Definition at line 48 of file convert_frac.h.


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