Trait OutputSpeed

Source
pub trait OutputSpeed: HL {
    // Required method
    fn set_speed(&mut self, cr: &mut Self::Cr, speed: IOPinSpeed);
}
Expand description

Allow setting of the slew rate of an IO pin

Initially all pins are set to the maximum slew rate

Required Methods§

Source

fn set_speed(&mut self, cr: &mut Self::Cr, speed: IOPinSpeed)

Implementors§

Source§

impl<const P: char, const N: u8> OutputSpeed for Pin<P, N, Alternate<PushPull>>
where Self: HL,

Source§

impl<const P: char, const N: u8, MODE> OutputSpeed for Pin<P, N, Output<MODE>>
where Self: HL,