Struct nrf52811_pac::p0::RegisterBlock[][src]

#[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 latch: Reg<LATCH_SPEC>, pub detectmode: Reg<DETECTMODE_SPEC>, pub pin_cnf: [Reg<PIN_CNF_SPEC>; 32], // some fields omitted }
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: 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

Performs the conversion.

Performs the conversion.

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.