Enum stm32wlxx_hal::pac::tamp::cr2::TAMP3MSK_A
pub enum TAMP3MSK_A {
ResetBySoftware = 0,
ResetByHardware = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
TAMP1MSK
Value on reset: 0
Variants§
ResetBySoftware = 0
0: Tamper x event generates a trigger event and TAMPxF must be cleared by software to allow next tamper event detection
ResetByHardware = 1
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§
§impl Clone for TAMP1MSK_A
impl Clone for TAMP1MSK_A
§fn clone(&self) -> TAMP1MSK_A
fn clone(&self) -> TAMP1MSK_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for TAMP1MSK_A
impl Debug for TAMP1MSK_A
§impl PartialEq for TAMP1MSK_A
impl PartialEq for TAMP1MSK_A
§fn eq(&self, other: &TAMP1MSK_A) -> bool
fn eq(&self, other: &TAMP1MSK_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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