Enum stm32_metapac::adc::vals::Exten
#[repr(u8)]pub enum Exten {
DISABLED = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
BOTHEDGES = 3,
}
Variants§
DISABLED = 0
Trigger detection disabled
RISINGEDGE = 1
Trigger detection on the rising edge
FALLINGEDGE = 2
Trigger detection on the falling edge
BOTHEDGES = 3
Trigger detection on both the rising and falling edges
Implementations§
Trait Implementations§
§impl Ord for Exten
impl Ord for Exten
§impl PartialOrd for Exten
impl PartialOrd for Exten
§fn partial_cmp(&self, other: &Exten) -> Option<Ordering>
fn partial_cmp(&self, other: &Exten) -> 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 Exten
impl Eq for Exten
impl StructuralEq for Exten
impl StructuralPartialEq for Exten
Auto Trait Implementations§
impl RefUnwindSafe for Exten
impl Send for Exten
impl Sync for Exten
impl Unpin for Exten
impl UnwindSafe for Exten
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