stm32-metapac

Crates

git

Versions

stm32h5e4vj

Flavors

Skip to main content

M2wpr4

Struct M2wpr4 

#[repr(transparent)]
pub struct M2wpr4(pub u32);
Expand description

RAMCFG memory 2 write protection register 4.

Tuple Fields§

§0: u32

Implementations§

§

impl M2wpr4

pub const fn p96wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p96wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p97wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p97wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p98wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p98wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p99wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p99wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p100wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p100wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p101wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p101wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p102wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p102wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p103wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p103wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p104wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p104wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p105wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p105wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p106wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p106wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p107wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p107wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p108wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p108wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p109wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p109wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p110wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p110wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p111wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p111wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p112wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p112wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p113wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p113wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p114wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p114wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p115wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p115wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p116wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p116wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p117wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p117wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p118wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p118wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p119wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p119wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p120wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p120wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p121wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p121wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p122wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p122wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p123wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p123wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p124wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p124wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p125wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p125wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p126wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p126wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

pub const fn p127wp(&self) -> bool

SRAM2 1-Kbyte page y write protection.

pub const fn set_p127wp(&mut self, val: bool)

SRAM2 1-Kbyte page y write protection.

Trait Implementations§

§

impl Clone for M2wpr4

§

fn clone(&self) -> M2wpr4

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 M2wpr4

§

impl Debug for M2wpr4

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for M2wpr4

§

fn default() -> M2wpr4

Returns the “default value” for a type. Read more
§

impl Eq for M2wpr4

§

impl PartialEq for M2wpr4

§

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

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

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for M2wpr4

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.