#[repr(u8)]
pub enum MODE_A {
DISABLE,
OVSSINGLE,
EXTCLKSINGLE,
EXTCLKQUAD,
}
Expand description
Mode Select
Value on reset: 0
Variants
DISABLE
0: The module is disabled.
OVSSINGLE
1: Single input LFACLK oversampling mode (available in EM0-EM2).
EXTCLKSINGLE
2: Externally clocked single input counter mode (available in EM0-EM3).
EXTCLKQUAD
3: Externally clocked quadrature decoder mode (available in EM0-EM3).
Trait Implementations
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_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