Enum stm32wl::stm32wl5x_cm4::tamp::cr2::TAMP1MSK_A
source · [−]pub enum TAMP1MSK_A {
ResetBySoftware,
ResetByHardware,
}
Expand description
TAMP1MSK
Value on reset: 0
Variants
ResetBySoftware
0: Tamper x event generates a trigger event and TAMPxF must be cleared by software to allow next tamper event detection
ResetByHardware
1: Tamper x event generates a trigger event. TAMPxF is masked and internally cleared by hardware. The backup registers are not erased. The tamper x interrupt must not be enabled when TAMP3MSK is set
Trait Implementations
sourceimpl Clone for TAMP1MSK_A
impl Clone for TAMP1MSK_A
sourcefn clone(&self) -> TAMP1MSK_A
fn clone(&self) -> TAMP1MSK_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TAMP1MSK_A
impl Debug for TAMP1MSK_A
sourceimpl From<TAMP1MSK_A> for bool
impl From<TAMP1MSK_A> for bool
sourcefn from(variant: TAMP1MSK_A) -> Self
fn from(variant: TAMP1MSK_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TAMP1MSK_A> for TAMP1MSK_A
impl PartialEq<TAMP1MSK_A> for TAMP1MSK_A
impl Copy for TAMP1MSK_A
impl StructuralPartialEq for TAMP1MSK_A
Auto Trait Implementations
impl RefUnwindSafe for TAMP1MSK_A
impl Send for TAMP1MSK_A
impl Sync for TAMP1MSK_A
impl Unpin for TAMP1MSK_A
impl UnwindSafe for TAMP1MSK_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more