#[repr(u8)]pub enum MODE_A {
DISABLE = 0,
OVSSINGLE = 1,
EXTCLKSINGLE = 2,
EXTCLKQUAD = 3,
}
Expand description
Mode Select
Value on reset: 0
Variants§
DISABLE = 0
0: The module is disabled.
OVSSINGLE = 1
1: Single input LFACLK oversampling mode (available in EM0-EM2).
EXTCLKSINGLE = 2
2: Externally clocked single input counter mode (available in EM0-EM3).
EXTCLKQUAD = 3
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 Freeze for MODE_A
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§
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