#[repr(C)]
pub struct RegisterBlock { pub out: OUT, pub outset: OUTSET, pub outclr: OUTCLR, pub in_: IN, pub dir: DIR, pub dirset: DIRSET, pub dirclr: DIRCLR, pub latch: LATCH, pub detectmode: DETECTMODE, pub pin_cnf: [PIN_CNF; 32], /* private fields */ }
Expand description

Register block

Fields

out: OUT

0x504 - Write GPIO port

outset: OUTSET

0x508 - Set individual bits in GPIO port

outclr: OUTCLR

0x50c - Clear individual bits in GPIO port

in_: IN

0x510 - Read GPIO port

dir: DIR

0x514 - Direction of GPIO pins

dirset: DIRSET

0x518 - DIR set register

dirclr: DIRCLR

0x51c - DIR clear register

latch: LATCH

0x520 - Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers

detectmode: DETECTMODE

0x524 - Select between default DETECT signal behavior and LDETECT mode

pin_cnf: [PIN_CNF; 32]

0x700..0x780 - Description collection: Configuration of GPIO pins

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.