stm32-metapac

Crates

git

Versions

stm32u375cg

Flavors

Secbb2r4

Struct Secbb2r4 

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

FLASH secure block based bank 2 register 4.

Tuple Fields§

§0: u32

Implementations§

§

impl Secbb2r4

pub const fn sec0(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec0(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec1(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec1(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec2(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec2(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec3(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec3(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec4(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec4(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec5(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec5(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec6(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec6(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec7(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec7(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec8(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec8(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec9(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec9(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec10(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec10(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec11(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec11(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec12(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec12(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec13(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec13(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec14(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec14(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec15(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec15(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec16(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec16(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec17(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec17(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec18(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec18(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec19(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec19(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec20(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec20(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec21(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec21(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec22(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec22(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec23(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec23(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec24(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec24(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec25(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec25(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec26(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec26(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec27(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec27(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec28(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec28(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec29(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec29(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec30(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec30(&mut self, val: bool)

Page secure/nonsecure attribution.

pub const fn sec31(&self) -> bool

Page secure/nonsecure attribution.

pub fn set_sec31(&mut self, val: bool)

Page secure/nonsecure attribution.

Trait Implementations§

§

impl Clone for Secbb2r4

§

fn clone(&self) -> Secbb2r4

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl Debug for Secbb2r4

§

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

Formats the value using the given formatter. Read more
§

impl Default for Secbb2r4

§

fn default() -> Secbb2r4

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

impl PartialEq for Secbb2r4

§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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

impl Copy for Secbb2r4

§

impl Eq for Secbb2r4

§

impl StructuralPartialEq for Secbb2r4

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 = 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.