Struct stm32_metapac::tamp::regs::Smisr
#[repr(transparent)]pub struct Smisr(pub u32);
Expand description
TAMP secure masked interrupt status register
Tuple Fields§
§0: u32
Implementations§
§impl Smisr
impl Smisr
pub const fn tampmf(&self, n: usize) -> bool
pub const fn tampmf(&self, n: usize) -> bool
TAMPx secure interrupt masked flag. This flag is set by hardware when the tamper X secure interrupt is raised.
pub fn set_tampmf(&mut self, n: usize, val: bool)
pub fn set_tampmf(&mut self, n: usize, val: bool)
TAMPx secure interrupt masked flag. This flag is set by hardware when the tamper X secure interrupt is raised.
pub const fn itampmf(&self, n: usize) -> bool
pub const fn itampmf(&self, n: usize) -> bool
Internal tamper X secure interrupt masked flag. This flag is set by hardware when the internal tamper X secure interrupt is raised.
pub fn set_itampmf(&mut self, n: usize, val: bool)
pub fn set_itampmf(&mut self, n: usize, val: bool)
Internal tamper X secure interrupt masked flag. This flag is set by hardware when the internal tamper X secure interrupt is raised.
Trait Implementations§
impl Copy for Smisr
impl Eq for Smisr
impl StructuralPartialEq for Smisr
Auto Trait Implementations§
impl Freeze for Smisr
impl RefUnwindSafe for Smisr
impl Send for Smisr
impl Sync for Smisr
impl Unpin for Smisr
impl UnwindSafe for Smisr
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)