#[repr(C)]
pub struct RegisterBlock { pub cfgr1: Reg<CFGR1_SPEC>, pub cfgr2: Reg<CFGR2_SPEC>, pub exticr1: Reg<EXTICR1_SPEC>, pub exticr2: Reg<EXTICR2_SPEC>, pub exticr3: Reg<EXTICR3_SPEC>, pub exticr4: Reg<EXTICR4_SPEC>, pub comp1_csr: Reg<COMP1_CSR_SPEC>, pub comp2_csr: Reg<COMP2_CSR_SPEC>, pub cfgr3: Reg<CFGR3_SPEC>, }
Expand description

Register block

Fields

cfgr1: Reg<CFGR1_SPEC>

0x00 - SYSCFG configuration register 1

cfgr2: Reg<CFGR2_SPEC>

0x04 - SYSCFG configuration register 2

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

comp1_csr: Reg<COMP1_CSR_SPEC>

0x18 - Comparator 1 control and status register

comp2_csr: Reg<COMP2_CSR_SPEC>

0x1c - Comparator 2 control and status register

cfgr3: Reg<CFGR3_SPEC>

0x20 - SYSCFG configuration register 3

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.