#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub acr: Reg<ACR_SPEC>, pub pdkeyr: Reg<PDKEYR_SPEC>, pub keyr: Reg<KEYR_SPEC>, pub optkeyr: Reg<OPTKEYR_SPEC>, pub sr: Reg<SR_SPEC>, pub cr: Reg<CR_SPEC>, pub eccr: Reg<ECCR_SPEC>, pub optr: Reg<OPTR_SPEC>, pub pcrop1sr: Reg<PCROP1SR_SPEC>, pub pcrop1er: Reg<PCROP1ER_SPEC>, pub wrp1ar: Reg<WRP1AR_SPEC>, pub wrp1br: Reg<WRP1BR_SPEC>, pub sec1r: Reg<SEC1R_SPEC>, /* private fields */
}
Expand description

Register block

Fields

acr: Reg<ACR_SPEC>

0x00 - Access control register

pdkeyr: Reg<PDKEYR_SPEC>

0x04 - Power down key register

keyr: Reg<KEYR_SPEC>

0x08 - Flash key register

optkeyr: Reg<OPTKEYR_SPEC>

0x0c - Option byte key register

sr: Reg<SR_SPEC>

0x10 - Status register

cr: Reg<CR_SPEC>

0x14 - Flash control register

eccr: Reg<ECCR_SPEC>

0x18 - Flash ECC register

optr: Reg<OPTR_SPEC>

0x20 - Flash option register

pcrop1sr: Reg<PCROP1SR_SPEC>

0x24 - Flash Bank 1 PCROP Start address register

pcrop1er: Reg<PCROP1ER_SPEC>

0x28 - Flash Bank 1 PCROP End address register

wrp1ar: Reg<WRP1AR_SPEC>

0x2c - Flash Bank 1 WRP area A address register

wrp1br: Reg<WRP1BR_SPEC>

0x30 - Flash Bank 1 WRP area B address register

sec1r: Reg<SEC1R_SPEC>

0x70 - securable area bank1 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.