pub struct ComplementaryPwmPin<'d, T, C> { /* private fields */ }Expand description
Complementary PWM pin wrapper.
This wraps a pin to make it usable with PWM.
Implementations§
Source§impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch1>
impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch1>
Sourcepub fn new_ch1<const REMAP: u8>(
pin: Peri<'d, impl Channel1ComplementaryPin<T, REMAP>>,
) -> Self
pub fn new_ch1<const REMAP: u8>( pin: Peri<'d, impl Channel1ComplementaryPin<T, REMAP>>, ) -> Self
Create a new Ch1 complementary PWM pin instance.
Source§impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch2>
impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch2>
Sourcepub fn new_ch2<const REMAP: u8>(
pin: Peri<'d, impl Channel2ComplementaryPin<T, REMAP>>,
) -> Self
pub fn new_ch2<const REMAP: u8>( pin: Peri<'d, impl Channel2ComplementaryPin<T, REMAP>>, ) -> Self
Create a new Ch2 complementary PWM pin instance.
Source§impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch3>
impl<'d, T: AdvancedInstance> ComplementaryPwmPin<'d, T, Ch3>
Sourcepub fn new_ch3<const REMAP: u8>(
pin: Peri<'d, impl Channel3ComplementaryPin<T, REMAP>>,
) -> Self
pub fn new_ch3<const REMAP: u8>( pin: Peri<'d, impl Channel3ComplementaryPin<T, REMAP>>, ) -> Self
Create a new Ch3 complementary PWM pin instance.