Skip to main content

MonitorDebugSystemControlRegister

Struct MonitorDebugSystemControlRegister 

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

The layout of MDSCR_EL1.

Implementations§

Source§

impl MonitorDebugSystemControlRegister

Source

pub const RSVD1_MASK: u64

Mask of all reserved-as-1 bits.

Source

pub const RSVD0_MASK: u64

Mask of all reserved-as-0 bits.

Source

pub const DEFAULT: u64

The default value of the layout, combining all field defaults and reserved-as values.

Source

pub const EHBWE_MASK: u64

Unshifted bitmask of ehbwe.

Source

pub const EHBWE_SHIFT: usize = 35

Bit shift (i.e., the low bit) of ehbwe.

Source

pub const ENSPM_MASK: u64

Unshifted bitmask of enspm.

Source

pub const ENSPM_SHIFT: usize = 34

Bit shift (i.e., the low bit) of enspm.

Source

pub const TTA_MASK: u64

Unshifted bitmask of tta.

Source

pub const TTA_SHIFT: usize = 33

Bit shift (i.e., the low bit) of tta.

Source

pub const EMBWE_MASK: u64

Unshifted bitmask of embwe.

Source

pub const EMBWE_SHIFT: usize = 32

Bit shift (i.e., the low bit) of embwe.

Source

pub const TFO_MASK: u64

Unshifted bitmask of tfo.

Source

pub const TFO_SHIFT: usize = 31

Bit shift (i.e., the low bit) of tfo.

Source

pub const RXFULL_MASK: u64

Unshifted bitmask of rxfull.

Source

pub const RXFULL_SHIFT: usize = 30

Bit shift (i.e., the low bit) of rxfull.

Source

pub const TXFULL_MASK: u64

Unshifted bitmask of txfull.

Source

pub const TXFULL_SHIFT: usize = 29

Bit shift (i.e., the low bit) of txfull.

Source

pub const RXO_MASK: u64

Unshifted bitmask of rxo.

Source

pub const RXO_SHIFT: usize = 27

Bit shift (i.e., the low bit) of rxo.

Source

pub const TXU_MASK: u64

Unshifted bitmask of txu.

Source

pub const TXU_SHIFT: usize = 26

Bit shift (i.e., the low bit) of txu.

Source

pub const INTDIS_MASK: u64

Unshifted bitmask of intdis.

Source

pub const INTDIS_SHIFT: usize = 22

Bit shift (i.e., the low bit) of intdis.

Source

pub const TDA_MASK: u64

Unshifted bitmask of tda.

Source

pub const TDA_SHIFT: usize = 21

Bit shift (i.e., the low bit) of tda.

Source

pub const SC2_MASK: u64

Unshifted bitmask of sc2.

Source

pub const SC2_SHIFT: usize = 19

Bit shift (i.e., the low bit) of sc2.

Source

pub const MDE_MASK: u64

Unshifted bitmask of mde.

Source

pub const MDE_SHIFT: usize = 15

Bit shift (i.e., the low bit) of mde.

Source

pub const HDE_MASK: u64

Unshifted bitmask of hde.

Source

pub const HDE_SHIFT: usize = 14

Bit shift (i.e., the low bit) of hde.

Source

pub const KDE_MASK: u64

Unshifted bitmask of kde.

Source

pub const KDE_SHIFT: usize = 13

Bit shift (i.e., the low bit) of kde.

Source

pub const TDCC_MASK: u64

Unshifted bitmask of tdcc.

Source

pub const TDCC_SHIFT: usize = 12

Bit shift (i.e., the low bit) of tdcc.

Source

pub const ERR_MASK: u64

Unshifted bitmask of err.

Source

pub const ERR_SHIFT: usize = 6

Bit shift (i.e., the low bit) of err.

Source

pub const SS_MASK: u64

Unshifted bitmask of ss.

Source

pub const SS_SHIFT: usize = 0

Bit shift (i.e., the low bit) of ss.

Source

pub const FIELDS: [FieldMetadata<u64>; 18]

Metadata of all named fields in the layout.

Source

pub const fn new() -> Self

Creates a new instance with reserved-as-1 bits set and all other bits zeroed (i.e., with a value of Self::RSVD1_MASK).

Source

pub const fn bits(self) -> u64

Source

pub const fn ehbwe(&self) -> bool

The value of MonitorDebugSystemControlRegister35.

Source

pub const fn set_ehbwe(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister35.

Source

pub const fn enspm(&self) -> bool

The value of MonitorDebugSystemControlRegister34.

Source

pub const fn set_enspm(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister34.

Source

pub const fn tta(&self) -> bool

The value of MonitorDebugSystemControlRegister33.

Source

pub const fn set_tta(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister33.

Source

pub const fn embwe(&self) -> bool

The value of MonitorDebugSystemControlRegister32.

Source

pub const fn set_embwe(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister32.

Source

pub const fn tfo(&self) -> bool

The value of MonitorDebugSystemControlRegister31.

Source

pub const fn set_tfo(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister31.

Source

pub const fn rxfull(&self) -> bool

The value of MonitorDebugSystemControlRegister30.

Source

pub const fn set_rxfull(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister30.

Source

pub const fn txfull(&self) -> bool

The value of MonitorDebugSystemControlRegister29.

Source

pub const fn set_txfull(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister29.

Source

pub const fn rxo(&self) -> bool

The value of MonitorDebugSystemControlRegister27.

Source

pub const fn set_rxo(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister27.

Source

pub const fn txu(&self) -> bool

The value of MonitorDebugSystemControlRegister26.

Source

pub const fn set_txu(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister26.

Source

pub const fn intdis(&self) -> u8

The value of MonitorDebugSystemControlRegister[23:22].

Source

pub const fn set_intdis(&mut self, value: u8) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister[23:22].

Source

pub const fn tda(&self) -> bool

The value of MonitorDebugSystemControlRegister21.

Source

pub const fn set_tda(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister21.

Source

pub const fn sc2(&self) -> bool

The value of MonitorDebugSystemControlRegister19.

Source

pub const fn set_sc2(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister19.

Source

pub const fn mde(&self) -> bool

The value of MonitorDebugSystemControlRegister15.

Source

pub const fn set_mde(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister15.

Source

pub const fn hde(&self) -> bool

The value of MonitorDebugSystemControlRegister14.

Source

pub const fn set_hde(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister14.

Source

pub const fn kde(&self) -> bool

The value of MonitorDebugSystemControlRegister13.

Source

pub const fn set_kde(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister13.

Source

pub const fn tdcc(&self) -> bool

The value of MonitorDebugSystemControlRegister12.

Source

pub const fn set_tdcc(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister12.

Source

pub const fn err(&self) -> bool

The value of MonitorDebugSystemControlRegister6.

Source

pub const fn set_err(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister6.

Source

pub const fn ss(&self) -> bool

The value of MonitorDebugSystemControlRegister0.

Source

pub const fn set_ss(&mut self, value: bool) -> &mut Self

Sets the value of MonitorDebugSystemControlRegister0.

Source§

impl MonitorDebugSystemControlRegister

Source

pub fn iter(&self) -> MonitorDebugSystemControlRegisterIter

Returns an iterator over (metadata, value) pairs for each field.

Trait Implementations§

Source§

impl Binary for MonitorDebugSystemControlRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Clone for MonitorDebugSystemControlRegister

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MonitorDebugSystemControlRegister

Source§

impl Debug for MonitorDebugSystemControlRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MonitorDebugSystemControlRegister

Source§

fn default() -> Self

Returns an instance with the default bits set (i.e,. with a value of Self::DEFAULT.

Source§

impl Eq for MonitorDebugSystemControlRegister

Source§

impl From<MonitorDebugSystemControlRegister> for u64

Source§

fn from(value: MonitorDebugSystemControlRegister) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for MonitorDebugSystemControlRegister

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for MonitorDebugSystemControlRegister

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = MonitorDebugSystemControlRegisterIter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl<'a> IntoIterator for &'a MonitorDebugSystemControlRegister

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = MonitorDebugSystemControlRegisterIter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for MonitorDebugSystemControlRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Octal for MonitorDebugSystemControlRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for MonitorDebugSystemControlRegister

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable)§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MonitorDebugSystemControlRegister

Source§

impl UpperHex for MonitorDebugSystemControlRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

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<Layout, Base> LayoutOver<Base> for Layout
where Layout: Copy + From<Base> + Into<Base>,

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

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

Performs the conversion.