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
impl Copy for Tampmsk
impl Eq for Tampmsk
impl StructuralPartialEq for Tampmsk
Auto Trait Implementations§
impl Freeze for Tampmsk
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
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
)