Enum efm32lg390_pac::lesense::ctrl::SCANMODE_A
source · [−]#[repr(u8)]
pub enum SCANMODE_A {
PERIODIC,
ONESHOT,
PRS,
}
Expand description
Configure scan mode
Value on reset: 0
Variants
PERIODIC
0: A new scan is started each time the period counter overflows
ONESHOT
1: A single scan is performed when START in CMD is set
PRS
2: Pulse on PRS channel
Trait Implementations
sourceimpl Clone for SCANMODE_A
impl Clone for SCANMODE_A
sourcefn clone(&self) -> SCANMODE_A
fn clone(&self) -> SCANMODE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SCANMODE_A
impl Debug for SCANMODE_A
sourceimpl From<SCANMODE_A> for u8
impl From<SCANMODE_A> for u8
sourcefn from(variant: SCANMODE_A) -> Self
fn from(variant: SCANMODE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SCANMODE_A> for SCANMODE_A
impl PartialEq<SCANMODE_A> for SCANMODE_A
impl Copy for SCANMODE_A
impl StructuralPartialEq for SCANMODE_A
Auto Trait Implementations
impl RefUnwindSafe for SCANMODE_A
impl Send for SCANMODE_A
impl Sync for SCANMODE_A
impl Unpin for SCANMODE_A
impl UnwindSafe for SCANMODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more