#[repr(u8)]
pub enum CMD_A {
NONE,
RETRIGGER,
UPDATE,
READSYNC,
START,
STOP,
}
Expand description
Command
Value on reset: 0
Variants
NONE
0: No action
RETRIGGER
1: Force a counter restart or retrigger
UPDATE
2: Force update of double buffered registers
READSYNC
3: Force a read synchronization of COUNT
START
4: Start QDEC/HALL
STOP
5: Stop QDEC/HALL
Trait Implementations
impl Copy for CMD_A
impl StructuralPartialEq for CMD_A
Auto Trait Implementations
impl RefUnwindSafe for CMD_A
impl Send for CMD_A
impl Sync for CMD_A
impl Unpin for CMD_A
impl UnwindSafe for CMD_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