Struct BANK

#[repr(C)]
pub struct BANK {
Show 14 fields pub keyr: Reg<KEYR_SPEC>, pub cr: Reg<CR_SPEC>, pub sr: Reg<SR_SPEC>, pub ccr: Reg<CCR_SPEC>, pub prar_cur: Reg<PRAR_CUR_SPEC>, pub prar_prg: Reg<PRAR_PRG_SPEC>, pub scar_cur: Reg<SCAR_CUR_SPEC>, pub scar_prg: Reg<SCAR_PRG_SPEC>, pub wpsn_curr: Reg<WPSN_CURR_SPEC>, pub wpsn_prgr: Reg<WPSN_PRGR_SPEC>, pub crccr: Reg<CRCCR_SPEC>, pub crcsaddr: Reg<CRCSADDR_SPEC>, pub crceaddr: Reg<CRCEADDR_SPEC>, pub far: Reg<FAR_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§keyr: Reg<KEYR_SPEC>

0x00 - FLASH key register for bank 1

§cr: Reg<CR_SPEC>

0x08 - FLASH control register for bank 1

§sr: Reg<SR_SPEC>

0x0c - FLASH status register for bank 1

§ccr: Reg<CCR_SPEC>

0x10 - FLASH clear control register for bank 1

§prar_cur: Reg<PRAR_CUR_SPEC>

0x24 - FLASH protection address for bank 1

§prar_prg: Reg<PRAR_PRG_SPEC>

0x28 - FLASH protection address for bank 1

§scar_cur: Reg<SCAR_CUR_SPEC>

0x2c - FLASH secure address for bank 1

§scar_prg: Reg<SCAR_PRG_SPEC>

0x30 - FLASH secure address for bank 1

§wpsn_curr: Reg<WPSN_CURR_SPEC>

0x34 - FLASH write sector protection for bank 1

§wpsn_prgr: Reg<WPSN_PRGR_SPEC>

0x38 - FLASH write sector protection for bank 1

§crccr: Reg<CRCCR_SPEC>

0x4c - FLASH CRC control register for bank 1

§crcsaddr: Reg<CRCSADDR_SPEC>

0x50 - FLASH CRC start address register for bank 1

§crceaddr: Reg<CRCEADDR_SPEC>

0x54 - FLASH CRC end address register for bank 1

§far: Reg<FAR_SPEC>

0x5c - FLASH ECC fail address for bank 1

Auto Trait Implementations§

§

impl !Freeze for BANK

§

impl !RefUnwindSafe for BANK

§

impl Send for BANK

§

impl !Sync for BANK

§

impl Unpin for BANK

§

impl UnwindSafe for BANK

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.