Timer2PwmFreqReg

Type Alias Timer2PwmFreqReg 

Source
pub type Timer2PwmFreqReg = RegValueT<Timer2PwmFreqReg_SPEC>;
Expand description

Timer pwm frequency register

Aliased Type§

pub struct Timer2PwmFreqReg { /* private fields */ }

Implementations§

Source§

impl Timer2PwmFreqReg

Source

pub fn tim_pwm_freq( self, ) -> RegisterField<0, 0xffff, 1, 0, u16, u16, Timer2PwmFreqReg_SPEC, RW>

Defines the PWM frequency. Timer clock frequency / (TIM_PWM_FREQ+1) Timer clock is clock after prescaler

Trait Implementations§

Source§

impl Default for Timer2PwmFreqReg

Source§

fn default() -> Timer2PwmFreqReg

Returns the “default value” for a type. Read more