Enum stm32_metapac::adc::vals::Awd1sgl
#[repr(u8)]pub enum Awd1sgl {
ALL = 0,
SINGLE = 1,
}
Variants§
ALL = 0
Analog watchdog 1 enabled on all channels
SINGLE = 1
Analog watchdog 1 enabled on single channel selected in AWD1CH
Implementations§
Trait Implementations§
§impl Ord for Awd1sgl
impl Ord for Awd1sgl
§impl PartialOrd for Awd1sgl
impl PartialOrd for Awd1sgl
§fn partial_cmp(&self, other: &Awd1sgl) -> Option<Ordering>
fn partial_cmp(&self, other: &Awd1sgl) -> 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 Awd1sgl
impl Eq for Awd1sgl
impl StructuralEq for Awd1sgl
impl StructuralPartialEq for Awd1sgl
Auto Trait Implementations§
impl RefUnwindSafe for Awd1sgl
impl Send for Awd1sgl
impl Sync for Awd1sgl
impl Unpin for Awd1sgl
impl UnwindSafe for Awd1sgl
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