[−][src]Trait lpc55_hal::typestates::pin::PinId
Implemented by types that identify pins
Associated Constants
const PORT: usize
This is X
for PIOX_Y
.
const NUMBER: u8
This is Y
for PIOX_Y
.
const MASK: u32
This is 0x00000001
for [PIO0_0
], 0x00000002
for [PIO0_1
],
0x00000004
for [PIO0_2
], and so forth.
const OFFSET: usize
This is 0x00000001
for [PIO0_0
], 0x00000002
for [PIO0_1
],
This is 0x00000041
for [PIO1_0
], 0x00000012
for [PIO1_1
],
etc.