pub struct Ifsr { /* private fields */ }Expand description
IFSR (Instruction Fault Status Register)
Implementations§
Source§impl Ifsr
impl Ifsr
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) -> Ifsr
pub const fn new_with_raw_value(value: u32) -> Ifsr
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() -> PartialIfsr<false, false>
pub const fn builder() -> PartialIfsr<false, false>
Creates a builder for this bitfield which ensures that all writable fields are initialized.
Sourcepub const fn with_domain(&self, field_value: u4) -> Self
pub const fn with_domain(&self, field_value: u4) -> Self
Which domain was being accessed
Sourcepub fn set_domain(&mut self, field_value: u4)
pub fn set_domain(&mut self, field_value: u4)
Which domain was being accessed
Sourcepub const fn status(&self) -> Result<IfsrStatus, u5>
pub const fn status(&self) -> Result<IfsrStatus, u5>
Status bitfield.
Sourcepub const fn with_status(&self, field_value: IfsrStatus) -> Self
pub const fn with_status(&self, field_value: IfsrStatus) -> Self
Status bitfield.
Sourcepub fn set_status(&mut self, field_value: IfsrStatus)
pub fn set_status(&mut self, field_value: IfsrStatus)
Status bitfield.
Trait Implementations§
Source§impl SysRegRead for Ifsr
impl SysRegRead for Ifsr
Source§impl SysRegWrite for Ifsr
impl SysRegWrite for Ifsr
impl Copy for Ifsr
Auto Trait Implementations§
impl Freeze for Ifsr
impl RefUnwindSafe for Ifsr
impl Send for Ifsr
impl Sync for Ifsr
impl Unpin for Ifsr
impl UnsafeUnpin for Ifsr
impl UnwindSafe for Ifsr
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)