pub struct RegisterBlock {
    pub evcr: Reg<EVCR_SPEC>,
    pub mapr: Reg<MAPR_SPEC>,
    pub exticr1: Reg<EXTICR1_SPEC>,
    pub exticr2: Reg<EXTICR2_SPEC>,
    pub exticr3: Reg<EXTICR3_SPEC>,
    pub exticr4: Reg<EXTICR4_SPEC>,
    pub mapr2: Reg<MAPR2_SPEC>,
    /* private fields */
}
Expand description

Register block

Fields§

§evcr: Reg<EVCR_SPEC>

0x00 - Event Control Register (AFIO_EVCR)

§mapr: Reg<MAPR_SPEC>

0x04 - AF remap and debug I/O configuration register (AFIO_MAPR)

§exticr1: Reg<EXTICR1_SPEC>

0x08 - External interrupt configuration register 1 (AFIO_EXTICR1)

§exticr2: Reg<EXTICR2_SPEC>

0x0c - External interrupt configuration register 2 (AFIO_EXTICR2)

§exticr3: Reg<EXTICR3_SPEC>

0x10 - External interrupt configuration register 3 (AFIO_EXTICR3)

§exticr4: Reg<EXTICR4_SPEC>

0x14 - External interrupt configuration register 4 (AFIO_EXTICR4)

§mapr2: Reg<MAPR2_SPEC>

0x1c - AF remap and debug I/O configuration register

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.