Struct mk20d7::aips0::pacrf::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

source§

impl R

source

pub fn bits(&self) -> u32

Value of the register as raw bits

source

pub fn tp7(&self) -> TP7R

Bit 0 - Trusted protect

source

pub fn wp7(&self) -> WP7R

Bit 1 - Write protect

source

pub fn sp7(&self) -> SP7R

Bit 2 - Supervisor protect

source

pub fn tp6(&self) -> TP6R

Bit 4 - Trusted protect

source

pub fn wp6(&self) -> WP6R

Bit 5 - Write protect

source

pub fn sp6(&self) -> SP6R

Bit 6 - Supervisor protect

source

pub fn tp5(&self) -> TP5R

Bit 8 - Trusted protect

source

pub fn wp5(&self) -> WP5R

Bit 9 - Write protect

source

pub fn sp5(&self) -> SP5R

Bit 10 - Supervisor protect

source

pub fn tp4(&self) -> TP4R

Bit 12 - Trusted protect

source

pub fn wp4(&self) -> WP4R

Bit 13 - Write protect

source

pub fn sp4(&self) -> SP4R

Bit 14 - Supervisor protect

source

pub fn tp3(&self) -> TP3R

Bit 16 - Trusted protect

source

pub fn wp3(&self) -> WP3R

Bit 17 - Write protect

source

pub fn sp3(&self) -> SP3R

Bit 18 - Supervisor protect

source

pub fn tp2(&self) -> TP2R

Bit 20 - Trusted protect

source

pub fn wp2(&self) -> WP2R

Bit 21 - Write protect

source

pub fn sp2(&self) -> SP2R

Bit 22 - Supervisor protect

source

pub fn tp1(&self) -> TP1R

Bit 24 - Trusted protect

source

pub fn wp1(&self) -> WP1R

Bit 25 - Write protect

source

pub fn sp1(&self) -> SP1R

Bit 26 - Supervisor protect

source

pub fn tp0(&self) -> TP0R

Bit 28 - Trusted protect

source

pub fn wp0(&self) -> WP0R

Bit 29 - Write protect

source

pub fn sp0(&self) -> SP0R

Bit 30 - Supervisor protect

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,

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.