[][src]Struct lpc81x_pac::gpio_port::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub b: [B; 18], pub w: [W; 18], pub dir0: DIR0, pub mask0: MASK0, pub pin0: PIN0, pub mpin0: MPIN0, pub set0: SET0, pub clr0: CLR0, pub not0: NOT0, // some fields omitted }

Register block

Fields

b: [B; 18]

0x00 - Byte pin registers port 0; pins PIO0_0 to PIO0_17

w: [W; 18]

0x1000 - Word pin registers port 0

dir0: DIR0

0x2000 - Direction registers port 0

mask0: MASK0

0x2080 - Mask register port 0

pin0: PIN0

0x2100 - Port pin register port 0

mpin0: MPIN0

0x2180 - Masked port register port 0

set0: SET0

0x2200 - Write: Set register for port 0 Read: output bits for port 0

clr0: CLR0

0x2280 - Clear port 0

not0: NOT0

0x2300 - Toggle port 0

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self