stm32-metapac

Crates

git

Versions

stm32l552rc

Flavors

Struct stm32_metapac::syscfg::regs::Swpr2

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

SWPR2

Tuple Fields§

§0: u32

Implementations§

§

impl Swpr2

pub const fn p32wp(&self) -> bool

P32WP

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

P32WP

pub const fn p33wp(&self) -> bool

P33WP

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

P33WP

pub const fn p34wp(&self) -> bool

P34WP

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

P34WP

pub const fn p35wp(&self) -> bool

P35WP

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

P35WP

pub const fn p36wp(&self) -> bool

P36WP

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

P36WP

pub const fn p37wp(&self) -> bool

P37WP

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

P37WP

pub const fn p38wp(&self) -> bool

P38WP

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

P38WP

pub const fn p39wp(&self) -> bool

P39WP

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

P39WP

pub const fn p40wp(&self) -> bool

P40WP

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

P40WP

pub const fn p41wp(&self) -> bool

P41WP

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

P41WP

pub const fn p42wp(&self) -> bool

P42WP

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

P42WP

pub const fn p43wp(&self) -> bool

P43WP

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

P43WP

pub const fn p44wp(&self) -> bool

P44WP

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

P44WP

pub const fn p45wp(&self) -> bool

P45WP

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

P45WP

pub const fn p46wp(&self) -> bool

P46WP

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

P46WP

pub const fn p47wp(&self) -> bool

P47WP

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

P47WP

pub const fn p48wp(&self) -> bool

P48WP

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

P48WP

pub const fn p49wp(&self) -> bool

P49WP

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

P49WP

pub const fn p50wp(&self) -> bool

P50WP

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

P50WP

pub const fn p51wp(&self) -> bool

P51WP

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

P51WP

pub const fn p52wp(&self) -> bool

P52WP

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

P52WP

pub const fn p53wp(&self) -> bool

P53WP

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

P53WP

pub const fn p54wp(&self) -> bool

P54WP

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

P54WP

pub const fn p55wp(&self) -> bool

P55WP

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

P55WP

pub const fn p56wp(&self) -> bool

P56WP

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

P56WP

pub const fn p57wp(&self) -> bool

P57WP

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

P57WP

pub const fn p58wp(&self) -> bool

P58WP

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

P58WP

pub const fn p59wp(&self) -> bool

P59WP

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

P59WP

pub const fn p60wp(&self) -> bool

P60WP

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

P60WP

pub const fn p61wp(&self) -> bool

P61WP

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

P61WP

pub const fn p62wp(&self) -> bool

P62WP

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

P62WP

pub const fn p63wp(&self) -> bool

P63WP

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

P63WP

Trait Implementations§

§

impl Clone for Swpr2

§

fn clone(&self) -> Swpr2

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 Default for Swpr2

§

fn default() -> Swpr2

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

impl PartialEq for Swpr2

§

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

§

impl Eq for Swpr2

§

impl StructuralPartialEq for Swpr2

Auto Trait Implementations§

§

impl Freeze for Swpr2

§

impl RefUnwindSafe for Swpr2

§

impl Send for Swpr2

§

impl Sync for Swpr2

§

impl Unpin for Swpr2

§

impl UnwindSafe for Swpr2

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, dst: *mut T)

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