pub struct MonitorDebugSystemControlRegister(/* private fields */);Expand description
The layout of MDSCR_EL1.
Implementations§
Source§impl MonitorDebugSystemControlRegister
impl MonitorDebugSystemControlRegister
Sourcepub const RSVD1_MASK: u64
pub const RSVD1_MASK: u64
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u64
pub const RSVD0_MASK: u64
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u64
pub const DEFAULT: u64
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const EHBWE_MASK: u64
pub const EHBWE_MASK: u64
Unshifted bitmask of ehbwe.
Sourcepub const EHBWE_SHIFT: usize = 35
pub const EHBWE_SHIFT: usize = 35
Bit shift (i.e., the low bit) of ehbwe.
Sourcepub const ENSPM_MASK: u64
pub const ENSPM_MASK: u64
Unshifted bitmask of enspm.
Sourcepub const ENSPM_SHIFT: usize = 34
pub const ENSPM_SHIFT: usize = 34
Bit shift (i.e., the low bit) of enspm.
Sourcepub const EMBWE_MASK: u64
pub const EMBWE_MASK: u64
Unshifted bitmask of embwe.
Sourcepub const EMBWE_SHIFT: usize = 32
pub const EMBWE_SHIFT: usize = 32
Bit shift (i.e., the low bit) of embwe.
Sourcepub const RXFULL_MASK: u64
pub const RXFULL_MASK: u64
Unshifted bitmask of rxfull.
Sourcepub const RXFULL_SHIFT: usize = 30
pub const RXFULL_SHIFT: usize = 30
Bit shift (i.e., the low bit) of rxfull.
Sourcepub const TXFULL_MASK: u64
pub const TXFULL_MASK: u64
Unshifted bitmask of txfull.
Sourcepub const TXFULL_SHIFT: usize = 29
pub const TXFULL_SHIFT: usize = 29
Bit shift (i.e., the low bit) of txfull.
Sourcepub const INTDIS_MASK: u64
pub const INTDIS_MASK: u64
Unshifted bitmask of intdis.
Sourcepub const INTDIS_SHIFT: usize = 22
pub const INTDIS_SHIFT: usize = 22
Bit shift (i.e., the low bit) of intdis.
Sourcepub const TDCC_SHIFT: usize = 12
pub const TDCC_SHIFT: usize = 12
Bit shift (i.e., the low bit) of tdcc.
Sourcepub const FIELDS: [FieldMetadata<u64>; 18]
pub const FIELDS: [FieldMetadata<u64>; 18]
Metadata of all named fields in the layout.
Sourcepub const fn new() -> Self
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).
pub const fn bits(self) -> u64
Sourcepub const fn set_ehbwe(&mut self, value: bool) -> &mut Self
pub const fn set_ehbwe(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister35.
Sourcepub const fn set_enspm(&mut self, value: bool) -> &mut Self
pub const fn set_enspm(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister34.
Sourcepub const fn set_tta(&mut self, value: bool) -> &mut Self
pub const fn set_tta(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister33.
Sourcepub const fn set_embwe(&mut self, value: bool) -> &mut Self
pub const fn set_embwe(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister32.
Sourcepub const fn set_tfo(&mut self, value: bool) -> &mut Self
pub const fn set_tfo(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister31.
Sourcepub const fn set_rxfull(&mut self, value: bool) -> &mut Self
pub const fn set_rxfull(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister30.
Sourcepub const fn set_txfull(&mut self, value: bool) -> &mut Self
pub const fn set_txfull(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister29.
Sourcepub const fn set_rxo(&mut self, value: bool) -> &mut Self
pub const fn set_rxo(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister27.
Sourcepub const fn set_txu(&mut self, value: bool) -> &mut Self
pub const fn set_txu(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister26.
Sourcepub const fn set_intdis(&mut self, value: u8) -> &mut Self
pub const fn set_intdis(&mut self, value: u8) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister[23:22].
Sourcepub const fn set_tda(&mut self, value: bool) -> &mut Self
pub const fn set_tda(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister21.
Sourcepub const fn set_sc2(&mut self, value: bool) -> &mut Self
pub const fn set_sc2(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister19.
Sourcepub const fn set_mde(&mut self, value: bool) -> &mut Self
pub const fn set_mde(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister15.
Sourcepub const fn set_hde(&mut self, value: bool) -> &mut Self
pub const fn set_hde(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister14.
Sourcepub const fn set_kde(&mut self, value: bool) -> &mut Self
pub const fn set_kde(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister13.
Sourcepub const fn set_tdcc(&mut self, value: bool) -> &mut Self
pub const fn set_tdcc(&mut self, value: bool) -> &mut Self
Sets the value of MonitorDebugSystemControlRegister12.
Trait Implementations§
Source§impl Binary for MonitorDebugSystemControlRegister
impl Binary for MonitorDebugSystemControlRegister
Source§impl Clone for MonitorDebugSystemControlRegister
impl Clone for MonitorDebugSystemControlRegister
impl Copy for MonitorDebugSystemControlRegister
Source§impl Debug for MonitorDebugSystemControlRegister
impl Debug for MonitorDebugSystemControlRegister
Source§impl Default for MonitorDebugSystemControlRegister
impl Default for MonitorDebugSystemControlRegister
Source§fn default() -> Self
fn default() -> Self
Returns an instance with the default bits set (i.e,. with a
value of Self::DEFAULT.
impl Eq for MonitorDebugSystemControlRegister
Source§impl From<MonitorDebugSystemControlRegister> for u64
impl From<MonitorDebugSystemControlRegister> for u64
Source§fn from(value: MonitorDebugSystemControlRegister) -> Self
fn from(value: MonitorDebugSystemControlRegister) -> Self
Source§impl From<u64> for MonitorDebugSystemControlRegister
impl From<u64> for MonitorDebugSystemControlRegister
Source§impl IntoIterator for MonitorDebugSystemControlRegister
impl IntoIterator for MonitorDebugSystemControlRegister
Source§impl<'a> IntoIterator for &'a MonitorDebugSystemControlRegister
impl<'a> IntoIterator for &'a MonitorDebugSystemControlRegister
Source§impl LowerHex for MonitorDebugSystemControlRegister
impl LowerHex for MonitorDebugSystemControlRegister
Source§impl Octal for MonitorDebugSystemControlRegister
impl Octal for MonitorDebugSystemControlRegister
Source§impl PartialEq for MonitorDebugSystemControlRegister
impl PartialEq for MonitorDebugSystemControlRegister
impl StructuralPartialEq for MonitorDebugSystemControlRegister
Auto Trait Implementations§
impl Freeze for MonitorDebugSystemControlRegister
impl RefUnwindSafe for MonitorDebugSystemControlRegister
impl Send for MonitorDebugSystemControlRegister
impl Sync for MonitorDebugSystemControlRegister
impl Unpin for MonitorDebugSystemControlRegister
impl UnsafeUnpin for MonitorDebugSystemControlRegister
impl UnwindSafe for MonitorDebugSystemControlRegister
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DTwhere
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DTwhere
ST: ?Sized,
DT: ?Sized,
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)