Trait lpc55_hal::typestates::pin::PinId[][src]

pub trait PinId {
    const PORT: usize;
    const NUMBER: u8;
    const MASK: u32;
    const OFFSET: usize;
    const TYPE: PinType;
}
Expand description

Implemented by types that identify pins

Associated Constants

This is X for PIOX_Y.

This is Y for PIOX_Y.

This is 0x00000001 for [PIO0_0], 0x00000002 for [PIO0_1], 0x00000004 for [PIO0_2], and so forth.

This is 0x00000001 for [PIO0_0], 0x00000002 for [PIO0_1], This is 0x00000041 for [PIO1_0], 0x00000012 for [PIO1_1], etc.

Implementors