#[repr(transparent)]pub struct Stat(pub u32);Expand description
PUF Status register
Tuple Fields§
§0: u32Implementations§
Source§impl Stat
impl Stat
Sourcepub const fn set_success(&mut self, val: bool)
pub const fn set_success(&mut self, val: bool)
Last operation was successful
Sourcepub const fn set_error(&mut self, val: bool)
pub const fn set_error(&mut self, val: bool)
PUF is in the Error state and no operations can be performed
Sourcepub const fn set_keyinreq(&mut self, val: bool)
pub const fn set_keyinreq(&mut self, val: bool)
Request for next part of key
Sourcepub const fn keyoutavail(&self) -> bool
pub const fn keyoutavail(&self) -> bool
Next part of key is available
Sourcepub const fn set_keyoutavail(&mut self, val: bool)
pub const fn set_keyoutavail(&mut self, val: bool)
Next part of key is available
Sourcepub const fn set_codeinreq(&mut self, val: bool)
pub const fn set_codeinreq(&mut self, val: bool)
Request for next part of AC/KC
Sourcepub const fn codeoutavail(&self) -> bool
pub const fn codeoutavail(&self) -> bool
Next part of AC/KC is available
Sourcepub const fn set_codeoutavail(&mut self, val: bool)
pub const fn set_codeoutavail(&mut self, val: bool)
Next part of AC/KC is available
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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