Struct stm32_metapac::otfdec::regs::Icr
#[repr(transparent)]pub struct Icr(pub u32);
Expand description
OTFDEC interrupt clear register.
Tuple Fields§
§0: u32
Implementations§
§impl Icr
impl Icr
pub const fn seif(&self) -> bool
pub const fn seif(&self) -> bool
Security error interrupt flag clear This bit is written by application, and always read as 0.
pub fn set_seif(&mut self, val: bool)
pub fn set_seif(&mut self, val: bool)
Security error interrupt flag clear This bit is written by application, and always read as 0.
pub const fn xoneif(&self) -> bool
pub const fn xoneif(&self) -> bool
Execute-only execute-never error interrupt flag clear This bit is written by application, and always read as 0.
pub fn set_xoneif(&mut self, val: bool)
pub fn set_xoneif(&mut self, val: bool)
Execute-only execute-never error interrupt flag clear This bit is written by application, and always read as 0.
pub const fn keif(&self) -> bool
pub const fn keif(&self) -> bool
Key error interrupt flag clear This bit is written by application, and always read as 0. Note: Clearing KEIF does not solve the source of the problem (bad key registers). To be able to access again any encrypted region, OTFDEC key registers must be properly initialized again.
pub fn set_keif(&mut self, val: bool)
pub fn set_keif(&mut self, val: bool)
Key error interrupt flag clear This bit is written by application, and always read as 0. Note: Clearing KEIF does not solve the source of the problem (bad key registers). To be able to access again any encrypted region, OTFDEC key registers must be properly initialized again.
Trait Implementations§
impl Copy for Icr
impl Eq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations§
impl Freeze for Icr
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnwindSafe for Icr
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
)