stm32-metapac

Crates

git

Versions

stm32h523ze

Flavors

Skip to main content

Ramcfg

Struct Ramcfg 

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

RAMs configuration controller.

Implementations§

§

impl Ramcfg

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

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

pub const fn m1cr(self) -> Reg<Cr, RW>

RAMCFG memory 1 (SRAM1) control register. ECC bits only on STM32H503.

pub const fn m1ier(self) -> Reg<Ier, RW>

RAMCFG memory 1 (SRAM1) interrupt enable register. Only on STM32H503.

pub const fn m1isr(self) -> Reg<Isr, R>

RAMCFG memory 1 (SRAM1) interrupt status register. ECC bits only on STM32H503.

pub const fn m1sear(self) -> Reg<Sear, R>

RAMCFG memory 1 (SRAM1) ECC single error address register. Only on STM32H503.

pub const fn m1dear(self) -> Reg<Dear, R>

RAMCFG memory 1 (SRAM1) ECC double error address register. Only on STM32H503.

pub const fn m1icr(self) -> Reg<Icr, RW>

RAMCFG memory 1 (SRAM1) interrupt clear register. Only on STM32H503.

pub const fn m1ecckeyr(self) -> Reg<Ecckeyr, W>

RAMCFG memory 1 (SRAM1) ECC key register. Only on STM32H503.

pub const fn m1erkeyr(self) -> Reg<Erkeyr, W>

RAMCFG memory 1 (SRAM1) erase key register.

pub const fn m2cr(self) -> Reg<Cr, RW>

RAMCFG memory 2 (SRAM2) control register.

pub const fn m2ier(self) -> Reg<Ier, RW>

RAMCFG memory 2 (SRAM2) interrupt enable register.

pub const fn m2isr(self) -> Reg<Isr, R>

RAMCFG memory 2 (SRAM2) interrupt status register.

pub const fn m2sear(self) -> Reg<Sear, R>

RAMCFG memory 2 (SRAM2) ECC single error address register.

pub const fn m2dear(self) -> Reg<Dear, R>

RAMCFG memory 2 (SRAM2) ECC double error address register.

pub const fn m2icr(self) -> Reg<Icr, RW>

RAMCFG memory 2 (SRAM2) interrupt clear register.

pub const fn m2wpr1(self) -> Reg<Wpr, RW>

RAMCFG memory 2 (SRAM2) write protection register 1. Only bits 15:0 on STM32H503.

pub const fn m2wpr2(self) -> Reg<Wpr, RW>

RAMCFG memory 2 (SRAM2) write protection register 2. Not on STM32H503.

pub const fn m2wpr3(self) -> Reg<Wpr16, RW>

RAMCFG memory 2 (SRAM2) write protection register 3. Only on STM32H523/533/543/553.

pub const fn m2ecckeyr(self) -> Reg<Ecckeyr, W>

RAMCFG memory 2 (SRAM2) ECC key register.

pub const fn m2erkeyr(self) -> Reg<Erkeyr, W>

RAMCFG memory 2 (SRAM2) erase key register.

pub const fn m3cr(self) -> Reg<Cr, RW>

RAMCFG memory 3 (SRAM3) control register. Not on STM32H503.

pub const fn m3ier(self) -> Reg<Ier, RW>

RAMCFG memory 3 (SRAM3) interrupt enable register. Not on STM32H503.

pub const fn m3isr(self) -> Reg<Isr, R>

RAMCFG memory 3 (SRAM3) interrupt status register. Not on STM32H503.

pub const fn m3sear(self) -> Reg<Sear, R>

RAMCFG memory 3 (SRAM3) ECC single error address register. Not on STM32H503.

pub const fn m3dear(self) -> Reg<Dear, R>

RAMCFG memory 3 (SRAM3) ECC double error address register. Not on STM32H503.

pub const fn m3icr(self) -> Reg<Icr, RW>

RAMCFG memory 3 (SRAM3) interrupt clear register. Not on STM32H503.

pub const fn m3ecckeyr(self) -> Reg<Ecckeyr, W>

RAMCFG memory 3 (SRAM3) ECC key register. Not on STM32H503.

pub const fn m3erkeyr(self) -> Reg<Erkeyr, W>

RAMCFG memory 3 (SRAM3) erase key register. Not on STM32H503.

pub const fn m5cr(self) -> Reg<Cr, RW>

RAMCFG memory 5 (BKPSRAM) control register.

pub const fn m5ier(self) -> Reg<Ier, RW>

RAMCFG memory 5 (BKPSRAM) interrupt enable register.

pub const fn m5isr(self) -> Reg<Isr, R>

RAMCFG memory 5 (BKPSRAM) interrupt status register.

pub const fn m5sear(self) -> Reg<Sear, R>

RAMCFG memory 5 (BKPSRAM) ECC single error address register.

pub const fn m5dear(self) -> Reg<Dear, R>

RAMCFG memory 5 (BKPSRAM) ECC double error address register.

pub const fn m5icr(self) -> Reg<Icr, RW>

RAMCFG memory 5 (BKPSRAM) interrupt clear register.

pub const fn m5ecckeyr(self) -> Reg<Ecckeyr, W>

RAMCFG memory 5 (BKPSRAM) ECC key register.

pub const fn m5erkeyr(self) -> Reg<Erkeyr, W>

RAMCFG memory 5 (BKPSRAM) erase key register.

Trait Implementations§

§

impl Clone for Ramcfg

§

fn clone(&self) -> Ramcfg

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
§

impl Copy for Ramcfg

§

impl Eq for Ramcfg

§

impl PartialEq for Ramcfg

§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
§

impl Send for Ramcfg

§

impl StructuralPartialEq for Ramcfg

§

impl Sync for Ramcfg

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 = !

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.