pub struct PwmPin<TIM, CH> { /* private fields */ }
Trait Implementations§
Source§impl PwmPin for PwmPin<TIM1, Channel1>
impl PwmPin for PwmPin<TIM1, Channel1>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM1, Channel2>
impl PwmPin for PwmPin<TIM1, Channel2>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM1, Channel3>
impl PwmPin for PwmPin<TIM1, Channel3>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM1, Channel4>
impl PwmPin for PwmPin<TIM1, Channel4>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM14, Channel1>
impl PwmPin for PwmPin<TIM14, Channel1>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM15, Channel1>
impl PwmPin for PwmPin<TIM15, Channel1>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM16, Channel1>
impl PwmPin for PwmPin<TIM16, Channel1>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM17, Channel1>
impl PwmPin for PwmPin<TIM17, Channel1>
Source§fn get_max_duty(&self) -> u16
fn get_max_duty(&self) -> u16
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM2, Channel1>
impl PwmPin for PwmPin<TIM2, Channel1>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM2, Channel2>
impl PwmPin for PwmPin<TIM2, Channel2>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM2, Channel3>
impl PwmPin for PwmPin<TIM2, Channel3>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM2, Channel4>
impl PwmPin for PwmPin<TIM2, Channel4>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM3, Channel1>
impl PwmPin for PwmPin<TIM3, Channel1>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM3, Channel2>
impl PwmPin for PwmPin<TIM3, Channel2>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM3, Channel3>
impl PwmPin for PwmPin<TIM3, Channel3>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPin for PwmPin<TIM3, Channel4>
impl PwmPin for PwmPin<TIM3, Channel4>
Source§fn get_max_duty(&self) -> u32
fn get_max_duty(&self) -> u32
Returns the maximum duty cycle value
Source§impl PwmPinMode for PwmPin<TIM1, Channel1>
impl PwmPinMode for PwmPin<TIM1, Channel1>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM1, Channel2>
impl PwmPinMode for PwmPin<TIM1, Channel2>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM1, Channel3>
impl PwmPinMode for PwmPin<TIM1, Channel3>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM1, Channel4>
impl PwmPinMode for PwmPin<TIM1, Channel4>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM14, Channel1>
impl PwmPinMode for PwmPin<TIM14, Channel1>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM15, Channel1>
impl PwmPinMode for PwmPin<TIM15, Channel1>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM16, Channel1>
impl PwmPinMode for PwmPin<TIM16, Channel1>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Source§impl PwmPinMode for PwmPin<TIM17, Channel1>
impl PwmPinMode for PwmPin<TIM17, Channel1>
fn set_compare_mode(&mut self, mode: OutputCompareMode)
Auto Trait Implementations§
impl<TIM, CH> Freeze for PwmPin<TIM, CH>
impl<TIM, CH> RefUnwindSafe for PwmPin<TIM, CH>where
TIM: RefUnwindSafe,
CH: RefUnwindSafe,
impl<TIM, CH> Send for PwmPin<TIM, CH>
impl<TIM, CH> Sync for PwmPin<TIM, CH>
impl<TIM, CH> Unpin for PwmPin<TIM, CH>
impl<TIM, CH> UnwindSafe for PwmPin<TIM, CH>where
TIM: UnwindSafe,
CH: UnwindSafe,
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