Struct PkStatus
#[repr(transparent)]pub struct PkStatus(pub u32);Expand description
Status register.
Tuple Fields§
§0: u32Implementations§
§impl PkStatus
impl PkStatus
pub const fn errorflags(&self) -> u16
pub const fn errorflags(&self) -> u16
These bits indicate an error condition.
pub const fn set_errorflags(&mut self, val: u16)
pub const fn set_errorflags(&mut self, val: u16)
These bits indicate an error condition.
pub const fn set_pkbusy(&mut self, val: bool)
pub const fn set_pkbusy(&mut self, val: bool)
This bit reflects the BUSY output value.
pub const fn intrptstatus(&self) -> bool
pub const fn intrptstatus(&self) -> bool
This bit reflects the IRQ output value.
pub const fn set_intrptstatus(&mut self, val: bool)
pub const fn set_intrptstatus(&mut self, val: bool)
This bit reflects the IRQ output value.
pub const fn set_failptr(&mut self, val: u8)
pub const fn set_failptr(&mut self, val: u8)
These bits indicate which data location generated the error flag.
Trait Implementations§
impl Copy for PkStatus
impl Eq for PkStatus
impl StructuralPartialEq for PkStatus
Auto Trait Implementations§
impl Freeze for PkStatus
impl RefUnwindSafe for PkStatus
impl Send for PkStatus
impl Sync for PkStatus
impl Unpin for PkStatus
impl UnsafeUnpin for PkStatus
impl UnwindSafe for PkStatus
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