Struct stm32_metapac::otfdec::regs::Isr
#[repr(transparent)]pub struct Isr(pub u32);
Expand description
OTFDEC interrupt status register.
Tuple Fields§
§0: u32
Implementations§
§impl Isr
impl Isr
pub const fn seif(&self) -> bool
pub const fn seif(&self) -> bool
Security error interrupt flag status This bit is set by hardware and read only by application. This bit is set when at least one security error has been detected. This bit is cleared when application sets in OTFDEC_ICR the corresponding bit to 1.
pub fn set_seif(&mut self, val: bool)
pub fn set_seif(&mut self, val: bool)
Security error interrupt flag status This bit is set by hardware and read only by application. This bit is set when at least one security error has been detected. This bit is cleared when application sets in OTFDEC_ICR the corresponding bit to 1.
pub const fn xoneif(&self) -> bool
pub const fn xoneif(&self) -> bool
Execute-only execute-never error interrupt flag status This bit is set by hardware and read only by application. This bit is set when a read access and not an instruction fetch is detected on any encrypted region with MODE bits set to 11. Lastly, XONEIF is also set when an execute access is detected while encryption mode is enabled. This bit is cleared when application sets in OTFDEC_ICR the corresponding bit to 1.
pub fn set_xoneif(&mut self, val: bool)
pub fn set_xoneif(&mut self, val: bool)
Execute-only execute-never error interrupt flag status This bit is set by hardware and read only by application. This bit is set when a read access and not an instruction fetch is detected on any encrypted region with MODE bits set to 11. Lastly, XONEIF is also set when an execute access is detected while encryption mode is enabled. This bit is cleared when application sets in OTFDEC_ICR the corresponding bit to 1.
pub const fn keif(&self) -> bool
pub const fn keif(&self) -> bool
Key error interrupt flag status This bit is set by hardware and read only by application. The bit is set when a read access occurs on an encrypted region, while its key registers is null or not properly initialized (KEYCRC = 0x0). This bit is cleared when the application sets in OTFDEC_ICR the corresponding bit to 1. After KEIF is set any subsequent read to the region with bad key registers returns a zeroed value. This state remains until those key registers are properly initialized (KEYCRC not zero).
pub fn set_keif(&mut self, val: bool)
pub fn set_keif(&mut self, val: bool)
Key error interrupt flag status This bit is set by hardware and read only by application. The bit is set when a read access occurs on an encrypted region, while its key registers is null or not properly initialized (KEYCRC = 0x0). This bit is cleared when the application sets in OTFDEC_ICR the corresponding bit to 1. After KEIF is set any subsequent read to the region with bad key registers returns a zeroed value. This state remains until those key registers are properly initialized (KEYCRC not zero).
Trait Implementations§
impl Copy for Isr
impl Eq for Isr
impl StructuralPartialEq for Isr
Auto Trait Implementations§
impl Freeze for Isr
impl RefUnwindSafe for Isr
impl Send for Isr
impl Sync for Isr
impl Unpin for Isr
impl UnwindSafe for Isr
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
)