#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub dir: [DIR; 1], pub dirclr: [DIRCLR; 1], pub dirset: [DIRSET; 1], pub dirtgl: [DIRTGL; 1], pub out: [OUT; 1], pub outclr: [OUTCLR; 1], pub outset: [OUTSET; 1], pub outtgl: [OUTTGL; 1], pub in_: [IN; 1], pub ctrl: [CTRL; 1], pub wrconfig: [WRCONFIG; 1], pub evctrl: [EVCTRL; 1], pub pmux0_: [PMUX0_; 16], pub pincfg0_: [PINCFG0_; 32],
}
Expand description

Register block

Fields§

§dir: [DIR; 1]

0x00 - Data Direction

§dirclr: [DIRCLR; 1]

0x04 - Data Direction Clear

§dirset: [DIRSET; 1]

0x08 - Data Direction Set

§dirtgl: [DIRTGL; 1]

0x0c - Data Direction Toggle

§out: [OUT; 1]

0x10 - Data Output Value

§outclr: [OUTCLR; 1]

0x14 - Data Output Value Clear

§outset: [OUTSET; 1]

0x18 - Data Output Value Set

§outtgl: [OUTTGL; 1]

0x1c - Data Output Value Toggle

§in_: [IN; 1]

0x20 - Data Input Value

§ctrl: [CTRL; 1]

0x24 - Control

§wrconfig: [WRCONFIG; 1]

0x28 - Write Configuration

§evctrl: [EVCTRL; 1]

0x2c - Event Input Control

§pmux0_: [PMUX0_; 16]

0x30..0x40 - Peripheral Multiplexing n - Group 0

§pincfg0_: [PINCFG0_; 32]

0x40..0x60 - Pin Configuration n - Group 0

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.