Enum stm32_metapac::bkp::vals::Tpal
#[repr(u8)]pub enum Tpal {
HIGH = 0,
LOW = 1,
}
Variants§
HIGH = 0
A high level on the TAMPER pin resets all data backup registers (if TPE bit is set)
LOW = 1
A low level on the TAMPER pin resets all data backup registers (if TPE bit is set)
Implementations§
Trait Implementations§
§impl Ord for Tpal
impl Ord for Tpal
§impl PartialOrd for Tpal
impl PartialOrd for Tpal
§fn partial_cmp(&self, other: &Tpal) -> Option<Ordering>
fn partial_cmp(&self, other: &Tpal) -> 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 Tpal
impl Eq for Tpal
impl StructuralPartialEq for Tpal
Auto Trait Implementations§
impl Freeze for Tpal
impl RefUnwindSafe for Tpal
impl Send for Tpal
impl Sync for Tpal
impl Unpin for Tpal
impl UnwindSafe for Tpal
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