Trait alt_stm32f30x_hal::pwm::PwmExt [−][src]
pub trait PwmExt<SP: OutputSpeed, C: TimerChannel, AF: AltFnNum>: GPIOPin { type OutputPin: GPIOPin; type Output: PwmPin; fn to_pwm(self, channel: C, sp: SP) -> Self::Output; }
PwmExtension trait
Associated Types
Required Methods
Implementors
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF1> for PA0<PT, PM> type OutputPin = PA0<PT, AltFn<AF1, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>, AF1>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF1> for PA1<PT, PM> type OutputPin = PA1<PT, AltFn<AF1, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>, AF1>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF1> for PA2<PT, PM> type OutputPin = PA2<PT, AltFn<AF1, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF1>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF1> for PA3<PT, PM> type OutputPin = PA3<PT, AltFn<AF1, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF1>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PC6<PT, PM> type OutputPin = PC6<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PC7<PT, PM> type OutputPin = PC7<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PC8<PT, PM> type OutputPin = PC8<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PC9<PT, PM> type OutputPin = PC9<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB0<PT, PM> type OutputPin = PB0<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB1<PT, PM> type OutputPin = PB1<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PB6<PT, PM> type OutputPin = PB6<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PB7<PT, PM> type OutputPin = PB7<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB8<PT, PM> type OutputPin = PB8<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>, AF2>;
impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB9<PT, PM> type OutputPin = PB9<PT, AltFn<AF2, PushPull, SP>>; type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>, AF2>;