W

Struct W 

Source
pub struct W(/* private fields */);
Expand description

Register SWPR writer

Implementations§

Source§

impl W

Source

pub fn p31wp(&mut self) -> P31WP_W<'_>

Bit 31 - SRAM2 page 31 write protection

Source

pub fn p30wp(&mut self) -> P30WP_W<'_>

Bit 30 - P30WP

Source

pub fn p29wp(&mut self) -> P29WP_W<'_>

Bit 29 - P29WP

Source

pub fn p28wp(&mut self) -> P28WP_W<'_>

Bit 28 - P28WP

Source

pub fn p27wp(&mut self) -> P27WP_W<'_>

Bit 27 - P27WP

Source

pub fn p26wp(&mut self) -> P26WP_W<'_>

Bit 26 - P26WP

Source

pub fn p25wp(&mut self) -> P25WP_W<'_>

Bit 25 - P25WP

Source

pub fn p24wp(&mut self) -> P24WP_W<'_>

Bit 24 - P24WP

Source

pub fn p23wp(&mut self) -> P23WP_W<'_>

Bit 23 - P23WP

Source

pub fn p22wp(&mut self) -> P22WP_W<'_>

Bit 22 - P22WP

Source

pub fn p21wp(&mut self) -> P21WP_W<'_>

Bit 21 - P21WP

Source

pub fn p20wp(&mut self) -> P20WP_W<'_>

Bit 20 - P20WP

Source

pub fn p19wp(&mut self) -> P19WP_W<'_>

Bit 19 - P19WP

Source

pub fn p18wp(&mut self) -> P18WP_W<'_>

Bit 18 - P18WP

Source

pub fn p17wp(&mut self) -> P17WP_W<'_>

Bit 17 - P17WP

Source

pub fn p16wp(&mut self) -> P16WP_W<'_>

Bit 16 - P16WP

Source

pub fn p15wp(&mut self) -> P15WP_W<'_>

Bit 15 - P15WP

Source

pub fn p14wp(&mut self) -> P14WP_W<'_>

Bit 14 - P14WP

Source

pub fn p13wp(&mut self) -> P13WP_W<'_>

Bit 13 - P13WP

Source

pub fn p12wp(&mut self) -> P12WP_W<'_>

Bit 12 - P12WP

Source

pub fn p11wp(&mut self) -> P11WP_W<'_>

Bit 11 - P11WP

Source

pub fn p10wp(&mut self) -> P10WP_W<'_>

Bit 10 - P10WP

Source

pub fn p9wp(&mut self) -> P9WP_W<'_>

Bit 9 - P9WP

Source

pub fn p8wp(&mut self) -> P8WP_W<'_>

Bit 8 - P8WP

Source

pub fn p7wp(&mut self) -> P7WP_W<'_>

Bit 7 - P7WP

Source

pub fn p6wp(&mut self) -> P6WP_W<'_>

Bit 6 - P6WP

Source

pub fn p5wp(&mut self) -> P5WP_W<'_>

Bit 5 - P5WP

Source

pub fn p4wp(&mut self) -> P4WP_W<'_>

Bit 4 - P4WP

Source

pub fn p3wp(&mut self) -> P3WP_W<'_>

Bit 3 - P3WP

Source

pub fn p2wp(&mut self) -> P2WP_W<'_>

Bit 2 - P2WP

Source

pub fn p1wp(&mut self) -> P1WP_W<'_>

Bit 1 - P1WP

Source

pub fn p0wp(&mut self) -> P0WP_W<'_>

Bit 0 - P0WP

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

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

Source

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<SWPR_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
Source§

impl From<W<SWPR_SPEC>> for W

Source§

fn from(writer: W<SWPR_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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> 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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.