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.
Sourcepub const fn builder() -> PartialDfsr<false>
pub const fn builder() -> PartialDfsr<false>
Creates a builder for this bitfield which ensures that all writable fields are initialized.
Sourcepub const fn status(&self) -> Result<DfsrStatus, u5>
pub const fn status(&self) -> Result<DfsrStatus, u5>
Status bitfield.
Sourcepub const fn with_status(&self, field_value: DfsrStatus) -> Self
pub const fn with_status(&self, field_value: DfsrStatus) -> Self
Status bitfield.
Sourcepub fn set_status(&mut self, field_value: DfsrStatus)
pub fn set_status(&mut self, field_value: DfsrStatus)
Status bitfield.
Trait Implementations§
impl Copy for Dfsr
Source§impl SysRegRead for Dfsr
impl SysRegRead 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 UnsafeUnpin for Dfsr
impl UnwindSafe for Dfsr
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)