#[repr(C)]
pub struct RegisterBlock { pub memrmp: Reg<MEMRMP_SPEC>, pub cfgr1: Reg<CFGR1_SPEC>, pub exticr1: Reg<EXTICR1_SPEC>, pub exticr2: Reg<EXTICR2_SPEC>, pub exticr3: Reg<EXTICR3_SPEC>, pub exticr4: Reg<EXTICR4_SPEC>, pub scsr: Reg<SCSR_SPEC>, pub cfgr2: Reg<CFGR2_SPEC>, pub swpr: Reg<SWPR_SPEC>, pub skr: Reg<SKR_SPEC>, }
Expand description

Register block

Fields

memrmp: Reg<MEMRMP_SPEC>

0x00 - memory remap register

cfgr1: Reg<CFGR1_SPEC>

0x04 - configuration register 1

exticr1: Reg<EXTICR1_SPEC>

0x08 - external interrupt configuration register 1

exticr2: Reg<EXTICR2_SPEC>

0x0c - external interrupt configuration register 2

exticr3: Reg<EXTICR3_SPEC>

0x10 - external interrupt configuration register 3

exticr4: Reg<EXTICR4_SPEC>

0x14 - external interrupt configuration register 4

scsr: Reg<SCSR_SPEC>

0x18 - SCSR

cfgr2: Reg<CFGR2_SPEC>

0x1c - CFGR2

swpr: Reg<SWPR_SPEC>

0x20 - SWPR

skr: Reg<SKR_SPEC>

0x24 - SKR

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.