Embassy
stm32-metapac

Crates

git

Versions

stm32wba52ce

Flavors

Struct stm32_metapac::flash::Flash

pub struct Flash { /* private fields */ }
Expand description

Embedded memory

Implementations§

§

impl Flash

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn acr(self) -> Reg<Acr, RW>

access control register

pub const fn nskeyr(self) -> Reg<u32, RW>

key register

pub const fn seckeyr(self) -> Reg<u32, RW>

secure key register

pub const fn optkeyr(self) -> Reg<u32, RW>

option key register

pub const fn pdkeyr(self) -> Reg<u32, RW>

power-down key register

pub const fn nssr(self) -> Reg<Nssr, RW>

status register

pub const fn secsr(self) -> Reg<Secsr, RW>

secure status register

pub const fn nscr1(self) -> Reg<Nscr1, RW>

control register

pub const fn seccr1(self) -> Reg<Seccr1, RW>

secure control register

pub const fn eccr(self) -> Reg<Eccr, RW>

ECC register

pub const fn opsr(self) -> Reg<Opsr, RW>

operation status register

pub const fn nscr2(self) -> Reg<Nscr2, RW>

control 2 register

pub const fn seccr2(self) -> Reg<Seccr2, RW>

secure control 2 register

pub const fn optr(self) -> Reg<Optr, RW>

option register

pub const fn nsbootadd0r(self) -> Reg<Nsbootadd0r, RW>

boot address 0 register

pub const fn nsbootadd1r(self) -> Reg<Nsbootadd1r, RW>

boot address 1 register

pub const fn secbootadd0r(self) -> Reg<Secbootadd0r, RW>

secure boot address 0 register

pub const fn secwmr1(self) -> Reg<Secwmr1, RW>

secure watermark register 1

pub const fn secwmr2(self) -> Reg<Secwmr2, RW>

secure watermark register 2

pub const fn wrpar(self) -> Reg<Wrpar, RW>

WRP area A address register

pub const fn wrpbr(self) -> Reg<Wrpbr, RW>

WRP area B address register

pub const fn oem1keyr1(self) -> Reg<u32, RW>

OEM1 key register 1

pub const fn oem1keyr2(self) -> Reg<u32, RW>

OEM1 key register 2

pub const fn oem2keyr1(self) -> Reg<u32, RW>

OEM2 key register 1

pub const fn oem2keyr2(self) -> Reg<u32, RW>

OEM2 key register 2

pub const fn secbbr(self, n: usize) -> Reg<Bbr, RW>

secure block based register 1

pub const fn sechdpcr(self) -> Reg<Sechdpcr, RW>

secure HDP control register

pub const fn prifcfgr(self) -> Reg<Prifcfgr, RW>

privilege configuration register

pub const fn privbbr(self, n: usize) -> Reg<Bbr, RW>

privilege block based register 1

Trait Implementations§

§

impl Clone for Flash

§

fn clone(&self) -> Flash

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Flash

§

fn eq(&self, other: &Flash) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Flash

§

impl Eq for Flash

§

impl Send for Flash

§

impl StructuralEq for Flash

§

impl StructuralPartialEq for Flash

§

impl Sync for Flash

Auto Trait Implementations§

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>,

§

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>,

§

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.