Struct Pkestatus
#[repr(transparent)]pub struct Pkestatus(pub u32);
Expand description
PKE Status register.
Tuple Fields§
§0: u32
Implementations§
§impl Pkestatus
impl Pkestatus
pub const fn error(&self) -> bool
pub const fn error(&self) -> bool
Error because either Private Keys are not stored or the operation is not defined.
pub fn set_error(&mut self, val: bool)
pub fn set_error(&mut self, val: bool)
Error because either Private Keys are not stored or the operation is not defined.
pub const fn starterror(&self) -> bool
pub const fn starterror(&self) -> bool
Error because a new operation is started while the previous one is still busy.
pub fn set_starterror(&mut self, val: bool)
pub fn set_starterror(&mut self, val: bool)
Error because a new operation is started while the previous one is still busy.
pub const fn ikgpkbusy(&self) -> bool
pub const fn ikgpkbusy(&self) -> bool
Busy, set when the operation starts and cleared when the operation is finished.
pub fn set_ikgpkbusy(&mut self, val: bool)
pub fn set_ikgpkbusy(&mut self, val: bool)
Busy, set when the operation starts and cleared when the operation is finished.
pub const fn irqstatus(&self) -> bool
pub const fn irqstatus(&self) -> bool
IRQ, set when the operation is finished and cleared when the CPU writes the bit 1 of PKE_Control Register or a new operation is started.
pub fn set_irqstatus(&mut self, val: bool)
pub fn set_irqstatus(&mut self, val: bool)
IRQ, set when the operation is finished and cleared when the CPU writes the bit 1 of PKE_Control Register or a new operation is started.
pub fn set_erasebusy(&mut self, val: bool)
pub fn set_erasebusy(&mut self, val: bool)
The PKE Data RAM is being erased.
Trait Implementations§
impl Copy for Pkestatus
impl Eq for Pkestatus
impl StructuralPartialEq for Pkestatus
Auto Trait Implementations§
impl Freeze for Pkestatus
impl RefUnwindSafe for Pkestatus
impl Send for Pkestatus
impl Sync for Pkestatus
impl Unpin for Pkestatus
impl UnwindSafe for Pkestatus
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
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)
clone_to_uninit
)