We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a5dc6 commit 1680829Copy full SHA for 1680829
src/lib.rs
@@ -862,11 +862,17 @@ pub trait Pwm {
862
/// (e.g. `0.0 .. 1.0`) or an integer representation (e.g. `0 .. 65535`)
863
type Duty;
864
865
+ /// Disables a PWM timer (all channels)
866
+ fn disable(&mut self);
867
+
868
+ /// Enables a PWM timer (all channels)
869
+ fn enable(&mut self);
870
871
/// Disables a PWM `channel`
- fn disable(&mut self, channel: Self::Channel);
872
+ fn channel_disable(&mut self, channel: Self::Channel);
873
874
/// Enables a PWM `channel`
- fn enable(&mut self, channel: Self::Channel);
875
+ fn channel_enable(&mut self, channel: Self::Channel);
876
877
/// Returns the current PWM period
878
fn get_period(&self) -> Self::Time;
0 commit comments