pub struct Dfsr { /* private fields */ }Expand description
DFSR (Data Fault Status Register)
Implementations§
Source§impl Dfsr
impl Dfsr
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u32) -> Dfsr
pub const fn new_with_raw_value(value: u32) -> Dfsr
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
pub const fn domain(&self) -> u4
pub const fn with_domain(&self, field_value: u4) -> Self
pub fn set_domain(&mut self, field_value: u4)
Sourcepub const fn status_raw(&self) -> u5
pub const fn status_raw(&self) -> u5
Status bitfield.
Sourcepub const fn with_status_raw(&self, field_value: u5) -> Self
pub const fn with_status_raw(&self, field_value: u5) -> Self
Status bitfield.
Sourcepub fn set_status_raw(&mut self, field_value: u5)
pub fn set_status_raw(&mut self, field_value: u5)
Status bitfield.
Trait Implementations§
Source§impl SysRegRead for Dfsr
impl SysRegRead for Dfsr
Source§impl SysRegWrite for Dfsr
impl SysRegWrite for Dfsr
impl Copy for Dfsr
Auto Trait Implementations§
impl Freeze for Dfsr
impl RefUnwindSafe for Dfsr
impl Send for Dfsr
impl Sync for Dfsr
impl Unpin for Dfsr
impl UnwindSafe for Dfsr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more