#[repr(transparent)]pub struct PkStatus(pub u32);
Expand description
Status register.
Tuple Fields§
§0: u32
Implementations§
Source§impl PkStatus
impl PkStatus
Sourcepub const fn errorflags(&self) -> u16
pub const fn errorflags(&self) -> u16
These bits indicate an error condition.
Sourcepub fn set_errorflags(&mut self, val: u16)
pub fn set_errorflags(&mut self, val: u16)
These bits indicate an error condition.
Sourcepub fn set_pkbusy(&mut self, val: bool)
pub fn set_pkbusy(&mut self, val: bool)
This bit reflects the BUSY output value.
Sourcepub const fn intrptstatus(&self) -> bool
pub const fn intrptstatus(&self) -> bool
This bit reflects the IRQ output value.
Sourcepub fn set_intrptstatus(&mut self, val: bool)
pub fn set_intrptstatus(&mut self, val: bool)
This bit reflects the IRQ output value.
Sourcepub const fn failptr(&self) -> u8
pub const fn failptr(&self) -> u8
These bits indicate which data location generated the error flag.
Sourcepub fn set_failptr(&mut self, val: u8)
pub 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)