#[repr(u8)]
pub enum MODE_A {
QDEC,
HALL,
COUNTER,
}
Expand description
Operation Mode
Value on reset: 0
Variants
QDEC
0: QDEC operating mode
HALL
1: HALL operating mode
COUNTER
2: COUNTER operating mode
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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