pub struct Pwm0 { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Pwm for Pwm0
 
impl Pwm for Pwm0
Source§type Channel = Channel
 
type Channel = Channel
Enumeration of channels that can be used with this 
Pwm interface Read moreSource§type Time = Rate<u32, 1, 1>
 
type Time = Rate<u32, 1, 1>
A time unit that can be converted into a human time unit (e.g. seconds)
Source§fn get_period(&self) -> Self::Time
 
fn get_period(&self) -> Self::Time
Returns the current PWM period
Source§fn get_max_duty(&self) -> Self::Duty
 
fn get_max_duty(&self) -> Self::Duty
Returns the maximum duty cycle value
Source§fn set_period<P>(&mut self, period: P)
 
fn set_period<P>(&mut self, period: P)
Sets a new PWM period
Auto Trait Implementations§
impl Freeze for Pwm0
impl RefUnwindSafe for Pwm0
impl Send for Pwm0
impl !Sync for Pwm0
impl Unpin for Pwm0
impl UnwindSafe for Pwm0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more