stm32-metapac

Crates

git

Versions

stm32l552rc

Flavors

Struct stm32_metapac::syscfg::regs::Swpr

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

SWPR

Tuple Fields§

§0: u32

Implementations§

§

impl Swpr

pub const fn p0wp(&self) -> bool

P0WP

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

P0WP

pub const fn p1wp(&self) -> bool

P1WP

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

P1WP

pub const fn p2wp(&self) -> bool

P2WP

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

P2WP

pub const fn p3wp(&self) -> bool

P3WP

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

P3WP

pub const fn p4wp(&self) -> bool

P4WP

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

P4WP

pub const fn p5wp(&self) -> bool

P5WP

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

P5WP

pub const fn p6wp(&self) -> bool

P6WP

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

P6WP

pub const fn p7wp(&self) -> bool

P7WP

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

P7WP

pub const fn p8wp(&self) -> bool

P8WP

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

P8WP

pub const fn p9wp(&self) -> bool

P9WP

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

P9WP

pub const fn p10wp(&self) -> bool

P10WP

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

P10WP

pub const fn p11wp(&self) -> bool

P11WP

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

P11WP

pub const fn p12wp(&self) -> bool

P12WP

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

P12WP

pub const fn p13wp(&self) -> bool

P13WP

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

P13WP

pub const fn p14wp(&self) -> bool

P14WP

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

P14WP

pub const fn p15wp(&self) -> bool

P15WP

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

P15WP

pub const fn p16wp(&self) -> bool

P16WP

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

P16WP

pub const fn p17wp(&self) -> bool

P17WP

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

P17WP

pub const fn p18wp(&self) -> bool

P18WP

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

P18WP

pub const fn p19wp(&self) -> bool

P19WP

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

P19WP

pub const fn p20wp(&self) -> bool

P20WP

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

P20WP

pub const fn p21wp(&self) -> bool

P21WP

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

P21WP

pub const fn p22wp(&self) -> bool

P22WP

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

P22WP

pub const fn p23wp(&self) -> bool

P23WP

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

P23WP

pub const fn p24wp(&self) -> bool

P24WP

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

P24WP

pub const fn p25wp(&self) -> bool

P25WP

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

P25WP

pub const fn p26wp(&self) -> bool

P26WP

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

P26WP

pub const fn p27wp(&self) -> bool

P27WP

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

P27WP

pub const fn p28wp(&self) -> bool

P28WP

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

P28WP

pub const fn p29wp(&self) -> bool

P29WP

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

P29WP

pub const fn p30wp(&self) -> bool

P30WP

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

P30WP

pub const fn p31wp(&self) -> bool

SRAM2 page 31 write protection

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

SRAM2 page 31 write protection

Trait Implementations§

§

impl Clone for Swpr

§

fn clone(&self) -> Swpr

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 Swpr

§

fn default() -> Swpr

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

impl PartialEq for Swpr

§

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

§

impl Eq for Swpr

§

impl StructuralPartialEq for Swpr

Auto Trait Implementations§

§

impl Freeze for Swpr

§

impl RefUnwindSafe for Swpr

§

impl Send for Swpr

§

impl Sync for Swpr

§

impl Unpin for Swpr

§

impl UnwindSafe for Swpr

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.