pub struct ComplementaryPwmPin<'d, T, C, A> { /* private fields */ }
Expand description
Complementary PWM pin wrapper.
This wraps a pin to make it usable with PWM.
Implementations§
Source§impl<'d, T: AdvancedInstance4Channel, C: TimerChannel, A> ComplementaryPwmPin<'d, T, C, A>
impl<'d, T: AdvancedInstance4Channel, C: TimerChannel, A> ComplementaryPwmPin<'d, T, C, A>
Sourcepub fn new(
pin: Peri<'d, impl TimerComplementaryPin<T, C, A>>,
output_type: OutputType,
) -> Self
pub fn new( pin: Peri<'d, impl TimerComplementaryPin<T, C, A>>, output_type: OutputType, ) -> Self
Create a new complementary PWM pin instance.
Auto Trait Implementations§
impl<'d, T, C, A> Freeze for ComplementaryPwmPin<'d, T, C, A>
impl<'d, T, C, A> RefUnwindSafe for ComplementaryPwmPin<'d, T, C, A>
impl<'d, T, C, A> Send for ComplementaryPwmPin<'d, T, C, A>
impl<'d, T, C, A> Sync for ComplementaryPwmPin<'d, T, C, A>
impl<'d, T, C, A> Unpin for ComplementaryPwmPin<'d, T, C, A>
impl<'d, T, C, A> !UnwindSafe for ComplementaryPwmPin<'d, T, C, A>
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