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