TimerWithPwm

Trait TimerWithPwm 

Source
pub trait TimerWithPwm: GeneralTimer {
    // Required methods
    fn start_pwm(&mut self);
    fn stop_pwm(&mut self);
    fn preload_output_channel_in_mode(
        &mut self,
        channel: Channel,
        mode: PwmMode,
    );
    fn set_polarity(&mut self, channel: Channel, polarity: PwmPolarity);
}

Required Methods§

Source

fn start_pwm(&mut self)

Source

fn stop_pwm(&mut self)

Source

fn preload_output_channel_in_mode(&mut self, channel: Channel, mode: PwmMode)

Source

fn set_polarity(&mut self, channel: Channel, polarity: PwmPolarity)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§