PinExt

Trait PinExt 

Source
pub trait PinExt {
    type Mode;

    // Required methods
    fn pin_id(&self) -> u8;
    fn port_id(&self) -> u8;
}

Required Associated Types§

Required Methods§

Source

fn pin_id(&self) -> u8

Return pin number

Source

fn port_id(&self) -> u8

Return port number

Implementors§

Source§

impl<MODE> PinExt for ErasedPin<MODE>

Source§

type Mode = MODE

Source§

impl<MODE, HL, const P: char, const N: u8> PinExt for Pin<MODE, HL, P, N>

Source§

type Mode = MODE

Source§

impl<MODE, const P: char> PinExt for PartiallyErasedPin<MODE, P>

Source§

type Mode = MODE