#[repr(C)]
pub struct RegisterBlock { pub gpiod_dircr: GPIOD_DIRCR, pub gpiod_iner: GPIOD_INER, pub gpiod_pur: GPIOD_PUR, pub gpiod_pdr: GPIOD_PDR, pub gpiod_odr: GPIOD_ODR, pub gpiod_drvr: GPIOD_DRVR, pub gpiod_lockr: GPIOD_LOCKR, pub gpiod_dinr: GPIOD_DINR, pub gpiod_doutr: GPIOD_DOUTR, pub gpiod_srr: GPIOD_SRR, pub gpiod_rr: GPIOD_RR, }
Expand description

Register block

Fields

gpiod_dircr: GPIOD_DIRCR

0x00 - GPIOD_DIRCR

gpiod_iner: GPIOD_INER

0x04 - GPIOD_INER

gpiod_pur: GPIOD_PUR

0x08 - GPIOD_PUR

gpiod_pdr: GPIOD_PDR

0x0c - GPIOD_PDR

gpiod_odr: GPIOD_ODR

0x10 - GPIOD_ODR

gpiod_drvr: GPIOD_DRVR

0x14 - GPIOD_DRVR

gpiod_lockr: GPIOD_LOCKR

0x18 - GPIOD_LOCKR

gpiod_dinr: GPIOD_DINR

0x1c - GPIOD_DINR

gpiod_doutr: GPIOD_DOUTR

0x20 - GPIOD_DOUTR

gpiod_srr: GPIOD_SRR

0x24 - GPIOD_SRR

gpiod_rr: GPIOD_RR

0x28 - GPIOD_RR

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.

Should always be Self
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.