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 latch: Reg<LATCH_SPEC>,
    pub detectmode: Reg<DETECTMODE_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

latch: Reg<LATCH_SPEC>

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

detectmode: Reg<DETECTMODE_SPEC>

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

pin_cnf: [Reg<PIN_CNF_SPEC>; 32]

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

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

Calls U::from(self).

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

Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Should always be Self
Casts the value.
Casts the value.
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.
Casts the value.
Casts the value.
Casts the value.
Casts the value.