Enum stm32_metapac::adc::vals::Exten
#[repr(u8)]pub enum Exten {
DISABLED = 0,
RISING = 1,
FALLING = 2,
BOTH = 3,
}
Variants§
DISABLED = 0
Trigger detection disabled
RISING = 1
Trigger detection on the rising edge
FALLING = 2
Trigger detection on the falling edge
BOTH = 3
Trigger detection on both edges
Implementations§
Trait Implementations§
§impl Ord for Exten
impl Ord for Exten
§impl PartialOrd for Exten
impl PartialOrd for Exten
impl Copy for Exten
impl Eq for Exten
impl StructuralPartialEq for Exten
Auto Trait Implementations§
impl Freeze for Exten
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
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
)