#[repr(C)]
pub struct RegisterBlock { pub out: Reg<OUT_SPEC>, pub outset: Reg<OUTSET_SPEC>, pub outclr: Reg<OUTCLR_SPEC>, pub in_: Reg<IN_SPEC>, pub dir: Reg<DIR_SPEC>, pub dirset: Reg<DIRSET_SPEC>, pub dirclr: Reg<DIRCLR_SPEC>, pub pin_cnf: [Reg<PIN_CNF_SPEC>; 32], /* private fields */ }
Expand description

Register block

Fields

out: Reg<OUT_SPEC>

0x504 - Write GPIO port.

outset: Reg<OUTSET_SPEC>

0x508 - Set individual bits in GPIO port.

outclr: Reg<OUTCLR_SPEC>

0x50c - Clear individual bits in GPIO port.

in_: Reg<IN_SPEC>

0x510 - Read GPIO port.

dir: Reg<DIR_SPEC>

0x514 - Direction of GPIO pins.

dirset: Reg<DIRSET_SPEC>

0x518 - DIR set register.

dirclr: Reg<DIRCLR_SPEC>

0x51c - DIR clear register.

pin_cnf: [Reg<PIN_CNF_SPEC>; 32]

0x700..0x780 - 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.