#[repr(transparent)]pub struct Pkestatus(pub u32);
Expand description
PKE Status register.
Tuple Fields§
§0: u32
Implementations§
Source§impl Pkestatus
impl Pkestatus
Sourcepub 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.
Sourcepub 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.
Sourcepub 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.
Sourcepub 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.
Sourcepub const fn ikgpkbusy(&self) -> bool
pub const fn ikgpkbusy(&self) -> bool
Busy, set when the operation starts and cleared when the operation is finished.
Sourcepub 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.
Sourcepub 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.
Sourcepub 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.
Sourcepub fn set_erasebusy(&mut self, val: bool)
pub fn set_erasebusy(&mut self, val: bool)
The PKE Data RAM is being erased.