Struct serpente::timer_params::TimerParams [−][src]
Expand description
Helper type for computing cycles and divider given frequency
Fields
divider: u16
cycles: u32
Implementations
calculates TimerParams from a given frequency based timeout.
calculates TimerParams from a given period based timeout.