stm32-metapac

Crates

git

Versions

stm32u375vg

Flavors

Privbb1r1

Struct Privbb1r1 

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

FLASH privilege block-based bank 1 register 1.

Tuple Fields§

§0: u32

Implementations§

§

impl Privbb1r1

pub const fn priv0(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv1(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv2(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv3(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv4(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv5(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv6(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv7(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv8(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv9(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv10(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv11(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv12(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv13(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv14(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv15(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv16(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv17(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv18(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv19(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv20(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv21(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv22(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv23(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv24(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv25(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv26(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv27(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv28(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv29(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv30(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

pub const fn priv31(&self) -> bool

Page privileged/unprivileged attribution.

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

Page privileged/unprivileged attribution.

Trait Implementations§

§

impl Clone for Privbb1r1

§

fn clone(&self) -> Privbb1r1

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 Privbb1r1

§

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

Formats the value using the given formatter. Read more
§

impl Default for Privbb1r1

§

fn default() -> Privbb1r1

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

impl PartialEq for Privbb1r1

§

fn eq(&self, other: &Privbb1r1) -> 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 Privbb1r1

§

impl Eq for Privbb1r1

§

impl StructuralPartialEq for Privbb1r1

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.