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.
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 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 UnwindSafe for Ifsr
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