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;
}
Expand description

PwmExtension trait

Required Associated Types

type

binding

Required Methods

Configures pin and channel to create pwm binding

Implementors