#[repr(transparent)]pub struct Esr22(pub u32);Expand description
Error and Status 2.
Tuple Fields§
§0: u32Implementations§
Source§impl Esr22
impl Esr22
Sourcepub const fn imb(&self) -> bool
pub const fn imb(&self) -> bool
Inactive Message Buffer. Raw bit values: false (0) = InactiveMailboxNo: Message buffer indicated by ESR2[LPTM] is not inactive.; true (1) = InactiveMailboxYes: At least one message buffer is inactive.
Sourcepub const fn set_imb(&mut self, val: bool)
pub const fn set_imb(&mut self, val: bool)
Inactive Message Buffer. Raw bit values: false (0) = InactiveMailboxNo: Message buffer indicated by ESR2[LPTM] is not inactive.; true (1) = InactiveMailboxYes: At least one message buffer is inactive.
Sourcepub const fn vps(&self) -> bool
pub const fn vps(&self) -> bool
Valid Priority Status. Raw bit values: false (0) = Invalid: Invalid.; true (1) = Valid: Valid.
Trait Implementations§
impl Copy for Esr22
impl Eq for Esr22
impl StructuralPartialEq for Esr22
Auto Trait Implementations§
impl Freeze for Esr22
impl RefUnwindSafe for Esr22
impl Send for Esr22
impl Sync for Esr22
impl Unpin for Esr22
impl UnwindSafe for Esr22
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