Struct mk20d7::aips1::pacri::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 tp7(&mut self) -> _TP7W<'_>

Bit 0 - Trusted protect

source

pub fn wp7(&mut self) -> _WP7W<'_>

Bit 1 - Write protect

source

pub fn sp7(&mut self) -> _SP7W<'_>

Bit 2 - Supervisor protect

source

pub fn tp6(&mut self) -> _TP6W<'_>

Bit 4 - Trusted protect

source

pub fn wp6(&mut self) -> _WP6W<'_>

Bit 5 - Write protect

source

pub fn sp6(&mut self) -> _SP6W<'_>

Bit 6 - Supervisor protect

source

pub fn tp5(&mut self) -> _TP5W<'_>

Bit 8 - Trusted protect

source

pub fn wp5(&mut self) -> _WP5W<'_>

Bit 9 - Write protect

source

pub fn sp5(&mut self) -> _SP5W<'_>

Bit 10 - Supervisor protect

source

pub fn tp4(&mut self) -> _TP4W<'_>

Bit 12 - Trusted protect

source

pub fn wp4(&mut self) -> _WP4W<'_>

Bit 13 - Write protect

source

pub fn sp4(&mut self) -> _SP4W<'_>

Bit 14 - Supervisor protect

source

pub fn tp3(&mut self) -> _TP3W<'_>

Bit 16 - Trusted protect

source

pub fn wp3(&mut self) -> _WP3W<'_>

Bit 17 - Write protect

source

pub fn sp3(&mut self) -> _SP3W<'_>

Bit 18 - Supervisor protect

source

pub fn tp2(&mut self) -> _TP2W<'_>

Bit 20 - Trusted protect

source

pub fn wp2(&mut self) -> _WP2W<'_>

Bit 21 - Write protect

source

pub fn sp2(&mut self) -> _SP2W<'_>

Bit 22 - Supervisor protect

source

pub fn tp1(&mut self) -> _TP1W<'_>

Bit 24 - Trusted protect

source

pub fn wp1(&mut self) -> _WP1W<'_>

Bit 25 - Write protect

source

pub fn sp1(&mut self) -> _SP1W<'_>

Bit 26 - Supervisor protect

source

pub fn tp0(&mut self) -> _TP0W<'_>

Bit 28 - Trusted protect

source

pub fn wp0(&mut self) -> _WP0W<'_>

Bit 29 - Write protect

source

pub fn sp0(&mut self) -> _SP0W<'_>

Bit 30 - Supervisor protect

Auto Trait Implementations§

§

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 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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.