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