pub struct BreakpointControlRegister(/* private fields */);Expand description
The layout of DBGBCR<n>_EL1.
Implementations§
Source§impl BreakpointControlRegister
impl BreakpointControlRegister
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 FIELDS: [FieldMetadata<u64>; 7]
pub const FIELDS: [FieldMetadata<u64>; 7]
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_bt(&mut self, value: u8) -> &mut Self
pub const fn set_bt(&mut self, value: u8) -> &mut Self
Sets the value of BreakpointControlRegister[23:20].
Sourcepub const fn set_lbn(&mut self, value: u8) -> &mut Self
pub const fn set_lbn(&mut self, value: u8) -> &mut Self
Sets the value of BreakpointControlRegister[19:16].
Sourcepub const fn set_ssc(&mut self, value: u8) -> &mut Self
pub const fn set_ssc(&mut self, value: u8) -> &mut Self
Sets the value of BreakpointControlRegister[15:14].
Sourcepub const fn set_hmc(&mut self, value: bool) -> &mut Self
pub const fn set_hmc(&mut self, value: bool) -> &mut Self
Sets the value of BreakpointControlRegister13.
Sourcepub const fn set_bas(&mut self, value: u8) -> &mut Self
pub const fn set_bas(&mut self, value: u8) -> &mut Self
Sets the value of BreakpointControlRegister[8:5].
Trait Implementations§
Source§impl Binary for BreakpointControlRegister
impl Binary for BreakpointControlRegister
Source§impl Clone for BreakpointControlRegister
impl Clone for BreakpointControlRegister
Source§fn clone(&self) -> BreakpointControlRegister
fn clone(&self) -> BreakpointControlRegister
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BreakpointControlRegister
Source§impl Debug for BreakpointControlRegister
impl Debug for BreakpointControlRegister
Source§impl Default for BreakpointControlRegister
impl Default for BreakpointControlRegister
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 BreakpointControlRegister
Source§impl From<BreakpointControlRegister> for u64
impl From<BreakpointControlRegister> for u64
Source§fn from(value: BreakpointControlRegister) -> Self
fn from(value: BreakpointControlRegister) -> Self
Converts to this type from the input type.
Source§impl From<u64> for BreakpointControlRegister
impl From<u64> for BreakpointControlRegister
Source§impl IntoIterator for BreakpointControlRegister
impl IntoIterator for BreakpointControlRegister
Source§impl<'a> IntoIterator for &'a BreakpointControlRegister
impl<'a> IntoIterator for &'a BreakpointControlRegister
Source§impl LowerHex for BreakpointControlRegister
impl LowerHex for BreakpointControlRegister
Source§impl Octal for BreakpointControlRegister
impl Octal for BreakpointControlRegister
Source§impl PartialEq for BreakpointControlRegister
impl PartialEq for BreakpointControlRegister
impl StructuralPartialEq for BreakpointControlRegister
Auto Trait Implementations§
impl Freeze for BreakpointControlRegister
impl RefUnwindSafe for BreakpointControlRegister
impl Send for BreakpointControlRegister
impl Sync for BreakpointControlRegister
impl Unpin for BreakpointControlRegister
impl UnsafeUnpin for BreakpointControlRegister
impl UnwindSafe for BreakpointControlRegister
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)