Struct stm32wlxx_hal::pac::syscfg::swpr::R

pub struct R(/* private fields */);
Available on crate feature stm32wl5x_cm4 only.
Expand description

Register SWPR reader

Implementations§

§

impl R

pub fn p31wp(&self) -> BitReaderRaw<P10WP_A>

Bit 31 - SRAM2 1Kbyte page 31 write protection

pub fn p30wp(&self) -> BitReaderRaw<P10WP_A>

Bit 30 - SRAM2 1Kbyte page 30 write protection

pub fn p29wp(&self) -> BitReaderRaw<P10WP_A>

Bit 29 - SRAM2 1Kbyte page 29 write protection

pub fn p28wp(&self) -> BitReaderRaw<P10WP_A>

Bit 28 - SRAM2 1Kbyte page 28 write protection

pub fn p27wp(&self) -> BitReaderRaw<P10WP_A>

Bit 27 - SRAM2 1Kbyte page 27 write protection

pub fn p26wp(&self) -> BitReaderRaw<P10WP_A>

Bit 26 - SRAM2 1Kbyte page 26 write protection

pub fn p25wp(&self) -> BitReaderRaw<P10WP_A>

Bit 25 - SRAM2 1Kbyte page 25 write protection

pub fn p24wp(&self) -> BitReaderRaw<P10WP_A>

Bit 24 - SRAM2 1Kbyte page 24 write protection

pub fn p23wp(&self) -> BitReaderRaw<P10WP_A>

Bit 23 - SRAM2 1Kbyte page 23 write protection

pub fn p22wp(&self) -> BitReaderRaw<P10WP_A>

Bit 22 - SRAM2 1Kbyte page 22 write protection

pub fn p21wp(&self) -> BitReaderRaw<P10WP_A>

Bit 21 - SRAM2 1Kbyte page 21 write protection

pub fn p20wp(&self) -> BitReaderRaw<P10WP_A>

Bit 20 - SRAM2 1Kbyte page 20 write protection

pub fn p19wp(&self) -> BitReaderRaw<P10WP_A>

Bit 19 - SRAM2 1Kbyte page 19 write protection

pub fn p18wp(&self) -> BitReaderRaw<P10WP_A>

Bit 18 - SRAM2 1Kbyte page 18 write protection

pub fn p17wp(&self) -> BitReaderRaw<P10WP_A>

Bit 17 - SRAM2 1Kbyte page 17 write protection

pub fn p16wp(&self) -> BitReaderRaw<P10WP_A>

Bit 16 - SRAM2 1Kbyte page 16 write protection

pub fn p15wp(&self) -> BitReaderRaw<P10WP_A>

Bit 15 - SRAM2 1Kbyte page 15 write protection

pub fn p14wp(&self) -> BitReaderRaw<P10WP_A>

Bit 14 - SRAM2 1Kbyte page 14 write protection

pub fn p13wp(&self) -> BitReaderRaw<P10WP_A>

Bit 13 - SRAM2 1Kbyte page 13 write protection

pub fn p12wp(&self) -> BitReaderRaw<P10WP_A>

Bit 12 - SRAM2 1Kbyte page 12 write protection

pub fn p11wp(&self) -> BitReaderRaw<P10WP_A>

Bit 11 - SRAM2 1Kbyte page 11 write protection

pub fn p10wp(&self) -> BitReaderRaw<P10WP_A>

Bit 10 - SRAM2 1Kbyte page 10 write protection

pub fn p9wp(&self) -> BitReaderRaw<P0WP_A>

Bit 9 - SRAM2 1Kbyte page 9 write protection

pub fn p8wp(&self) -> BitReaderRaw<P0WP_A>

Bit 8 - SRAM2 1Kbyte page 8 write protection

pub fn p7wp(&self) -> BitReaderRaw<P0WP_A>

Bit 7 - SRAM2 1Kbyte page 7 write protection

pub fn p6wp(&self) -> BitReaderRaw<P0WP_A>

Bit 6 - SRAM2 1Kbyte page 6 write protection

pub fn p5wp(&self) -> BitReaderRaw<P0WP_A>

Bit 5 - SRAM2 1Kbyte page 5 write protection

pub fn p4wp(&self) -> BitReaderRaw<P0WP_A>

Bit 4 - SRAM2 1Kbyte page 4 write protection

pub fn p3wp(&self) -> BitReaderRaw<P0WP_A>

Bit 3 - SRAM2 1Kbyte page 3 write protection

pub fn p2wp(&self) -> BitReaderRaw<P0WP_A>

Bit 2 - SRAM2 1Kbyte page 2 write protection

pub fn p1wp(&self) -> BitReaderRaw<P0WP_A>

Bit 1 - SRAM2 1Kbyte page 1 write protection

pub fn p0wp(&self) -> BitReaderRaw<P0WP_A>

Bit 0 - SRAM2 1Kbyte page 0 write protection

Methods from Deref<Target = R<SWPR_SPEC>>§

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

§

impl Deref for R

§

type Target = R<SWPR_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
§

impl From<R<SWPR_SPEC>> for R

§

fn from(reader: R<SWPR_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.