Enum stm32_metapac::adf::vals::Sadst
#[repr(u8)]pub enum Sadst {
LEARN = 0,
MONITOR = 1,
DETECT = 2,
_RESERVED_3 = 3,
}
Expand description
SAD state. This bitfield is set and cleared by hardware. It indicates the SAD state and is meaningful only when SADEN = 1.
Variants§
LEARN = 0
SAD in LEARN state.
MONITOR = 1
SAD in MONITOR state.
DETECT = 2
SAD in DETECT state.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Sadst
impl Ord for Sadst
§impl PartialOrd for Sadst
impl PartialOrd for Sadst
§fn partial_cmp(&self, other: &Sadst) -> Option<Ordering>
fn partial_cmp(&self, other: &Sadst) -> 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 Sadst
impl Eq for Sadst
impl StructuralEq for Sadst
impl StructuralPartialEq for Sadst
Auto Trait Implementations§
impl RefUnwindSafe for Sadst
impl Send for Sadst
impl Sync for Sadst
impl Unpin for Sadst
impl UnwindSafe for Sadst
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