#[repr(transparent)]pub struct Status2(pub u32);Expand description
Status 2 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Status2
impl Status2
Sourcepub const fn numcntf(&self) -> u8
pub const fn numcntf(&self) -> u8
Number of CONTROL faults (FLAGS[CONTROL_FLAG]) since the last POR
Sourcepub const fn set_numcntf(&mut self, val: u8)
pub const fn set_numcntf(&mut self, val: u8)
Number of CONTROL faults (FLAGS[CONTROL_FLAG]) since the last POR
Sourcepub const fn numillstf(&self) -> u8
pub const fn numillstf(&self) -> u8
Number of STATE faults (FLAGS[STATE_FLAG]) since the last POR
Sourcepub const fn set_numillstf(&mut self, val: u8)
pub const fn set_numillstf(&mut self, val: u8)
Number of STATE faults (FLAGS[STATE_FLAG]) since the last POR
Sourcepub const fn numilla(&self) -> u8
pub const fn numilla(&self) -> u8
Number of ADDRESS faults (FLAGS[ADDR_FLAG]) since the last POR
Sourcepub const fn set_numilla(&mut self, val: u8)
pub const fn set_numilla(&mut self, val: u8)
Number of ADDRESS faults (FLAGS[ADDR_FLAG]) since the last POR
Trait Implementations§
impl Copy for Status2
impl Eq for Status2
impl StructuralPartialEq for Status2
Auto Trait Implementations§
impl Freeze for Status2
impl RefUnwindSafe for Status2
impl Send for Status2
impl Sync for Status2
impl Unpin for Status2
impl UnwindSafe for Status2
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