Enum stm32_metapac::tamp::vals::Tampmsk
#[repr(u8)]pub enum Tampmsk {
RESETBYSOFTWARE = 0,
RESETBYHARDWARE = 1,
}
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
Implementations§
Trait Implementations§
§impl Ord for Tampmsk
impl Ord for Tampmsk
§impl PartialOrd for Tampmsk
impl PartialOrd for Tampmsk
§fn partial_cmp(&self, other: &Tampmsk) -> Option<Ordering>
fn partial_cmp(&self, other: &Tampmsk) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Tampmsk
impl Eq for Tampmsk
impl StructuralEq for Tampmsk
impl StructuralPartialEq for Tampmsk
Auto Trait Implementations§
impl RefUnwindSafe for Tampmsk
impl Send for Tampmsk
impl Sync for Tampmsk
impl Unpin for Tampmsk
impl UnwindSafe for Tampmsk
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