#[repr(C)]
pub struct RegisterBlock {
Show 20 fields pub acr: Reg<ACR_SPEC>, pub acr2: Reg<ACR2_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 pcrop1asr: Reg<PCROP1ASR_SPEC>, pub pcrop1aer: Reg<PCROP1AER_SPEC>, pub wrp1ar: Reg<WRP1AR_SPEC>, pub wrp1br: Reg<WRP1BR_SPEC>, pub pcrop1bsr: Reg<PCROP1BSR_SPEC>, pub pcrop1ber: Reg<PCROP1BER_SPEC>, pub ipccbr: Reg<IPCCBR_SPEC>, pub c2acr: Reg<C2ACR_SPEC>, pub c2sr: Reg<C2SR_SPEC>, pub c2cr: Reg<C2CR_SPEC>, pub sfr: Reg<SFR_SPEC>, pub srrvr: Reg<SRRVR_SPEC>, /* private fields */
}
Available on crate feature stm32wl5x_cm4 only.
Expand description

Register block

Fields§

§acr: Reg<ACR_SPEC>

0x00 - Access control register

§acr2: Reg<ACR2_SPEC>

0x04 - Flash access control register 2

§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

§pcrop1asr: Reg<PCROP1ASR_SPEC>

0x24 - Flash PCROP zone A Start address register

§pcrop1aer: Reg<PCROP1AER_SPEC>

0x28 - Flash PCROP zone A End address register

§wrp1ar: Reg<WRP1AR_SPEC>

0x2c - Flash WRP area A address register

§wrp1br: Reg<WRP1BR_SPEC>

0x30 - Flash WRP area B address register

§pcrop1bsr: Reg<PCROP1BSR_SPEC>

0x34 - Flash PCROP zone B Start address register

§pcrop1ber: Reg<PCROP1BER_SPEC>

0x38 - Flash PCROP zone B End address register

§ipccbr: Reg<IPCCBR_SPEC>

0x3c - Flash IPCC data buffer address register

§c2acr: Reg<C2ACR_SPEC>

0x5c - Flash CPU2 access control register

§c2sr: Reg<C2SR_SPEC>

0x60 - Flash CPU2 status register

§c2cr: Reg<C2CR_SPEC>

0x64 - Flash CPU2 control register

§sfr: Reg<SFR_SPEC>

0x80 - Flash secure Flash start address register

§srrvr: Reg<SRRVR_SPEC>

0x84 - Flash secure SRAM start address and CPU2 reset vector register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.