Enum stm32_metapac::adc::vals::Jexten
#[repr(u8)]pub enum Jexten {
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 Jexten
impl Ord for Jexten
§impl PartialOrd for Jexten
impl PartialOrd for Jexten
§fn partial_cmp(&self, other: &Jexten) -> Option<Ordering>
fn partial_cmp(&self, other: &Jexten) -> 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 Jexten
impl Eq for Jexten
impl StructuralEq for Jexten
impl StructuralPartialEq for Jexten
Auto Trait Implementations§
impl RefUnwindSafe for Jexten
impl Send for Jexten
impl Sync for Jexten
impl Unpin for Jexten
impl UnwindSafe for Jexten
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