Enum stm32_metapac::adc::vals::Swtrig
#[repr(u8)]pub enum Swtrig {
CONVERSION = 0,
SAMPLING = 1,
}
Variants§
CONVERSION = 0
Software trigger starts the conversion for sampling time control trigger mode
SAMPLING = 1
Software trigger starts the sampling for sampling time control trigger mode
Implementations§
Trait Implementations§
§impl Ord for Swtrig
impl Ord for Swtrig
§impl PartialOrd for Swtrig
impl PartialOrd for Swtrig
§fn partial_cmp(&self, other: &Swtrig) -> Option<Ordering>
fn partial_cmp(&self, other: &Swtrig) -> 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 Swtrig
impl Eq for Swtrig
impl StructuralEq for Swtrig
impl StructuralPartialEq for Swtrig
Auto Trait Implementations§
impl RefUnwindSafe for Swtrig
impl Send for Swtrig
impl Sync for Swtrig
impl Unpin for Swtrig
impl UnwindSafe for Swtrig
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