PwmChannel

Trait PwmChannel 

Source
pub trait PwmChannel: SetDutyCycle {
    // Required methods
    fn config(&mut self, mode: PwmMode, polarity: PwmPolarity);
    fn set_enable(&mut self, en: bool);
}

Required Methods§

Source

fn config(&mut self, mode: PwmMode, polarity: PwmPolarity)

Source

fn set_enable(&mut self, en: bool)

Implementors§