Struct W

Source
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

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

Writes raw bits to the register

Source

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

Bit 31 - SRAM2 page 31 write protection

Source

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

Bit 30 - P30WP

Source

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

Bit 29 - P29WP

Source

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

Bit 28 - P28WP

Source

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

Bit 27 - P27WP

Source

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

Bit 26 - P26WP

Source

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

Bit 25 - P25WP

Source

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

Bit 24 - P24WP

Source

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

Bit 23 - P23WP

Source

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

Bit 22 - P22WP

Source

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

Bit 21 - P21WP

Source

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

Bit 20 - P20WP

Source

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

Bit 19 - P19WP

Source

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

Bit 18 - P18WP

Source

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

Bit 17 - P17WP

Source

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

Bit 16 - P16WP

Source

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

Bit 15 - P15WP

Source

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

Bit 14 - P14WP

Source

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

Bit 13 - P13WP

Source

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

Bit 12 - P12WP

Source

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

Bit 11 - P11WP

Source

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

Bit 10 - P10WP

Source

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

Bit 9 - P9WP

Source

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

Bit 8 - P8WP

Source

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

Bit 7 - P7WP

Source

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

Bit 6 - P6WP

Source

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

Bit 5 - P5WP

Source

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

Bit 4 - P4WP

Source

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

Bit 3 - P3WP

Source

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

Bit 2 - P2WP

Source

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

Bit 1 - P1WP

Source

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

Bit 0 - P0WP

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<T> Same for T

Source§

type Output = T

Should always be Self
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.