#[repr(C)]
pub struct RegisterBlock { pub gpioc_dircr: GPIOC_DIRCR, pub gpioc_iner: GPIOC_INER, pub gpioc_pur: GPIOC_PUR, pub gpioc_pdr: GPIOC_PDR, pub gpioc_odr: GPIOC_ODR, pub gpioc_drvr: GPIOC_DRVR, pub gpioc_lockr: GPIOC_LOCKR, pub gpioc_dinr: GPIOC_DINR, pub gpioc_doutr: GPIOC_DOUTR, pub gpioc_srr: GPIOC_SRR, pub gpioc_rr: GPIOC_RR, }
Expand description

Register block

Fields

gpioc_dircr: GPIOC_DIRCR

0x00 - GPIOC_DIRCR

gpioc_iner: GPIOC_INER

0x04 - GPIOC_INER

gpioc_pur: GPIOC_PUR

0x08 - GPIOC_PUR

gpioc_pdr: GPIOC_PDR

0x0c - GPIOC_PDR

gpioc_odr: GPIOC_ODR

0x10 - GPIOC_ODR

gpioc_drvr: GPIOC_DRVR

0x14 - GPIOC_DRVR

gpioc_lockr: GPIOC_LOCKR

0x18 - GPIOC_LOCKR

gpioc_dinr: GPIOC_DINR

0x1c - GPIOC_DINR

gpioc_doutr: GPIOC_DOUTR

0x20 - GPIOC_DOUTR

gpioc_srr: GPIOC_SRR

0x24 - GPIOC_SRR

gpioc_rr: GPIOC_RR

0x28 - GPIOC_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.