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