#[repr(u8)]pub enum Cmdselect {
None = 0,
Retrigger = 1,
Update = 2,
Readsync = 3,
Start = 4,
Stop = 5,
}
Expand description
Command
Value on reset: 0
Variants§
None = 0
0: No action
Retrigger = 1
1: Force a counter restart or retrigger
Update = 2
2: Force update of double buffered registers
Readsync = 3
3: Force a read synchronization of COUNT
Start = 4
4: Start QDEC/HALL
Stop = 5
5: Stop QDEC/HALL
Trait Implementations§
impl Copy for Cmdselect
impl Eq for Cmdselect
impl IsEnum for Cmdselect
impl StructuralPartialEq for Cmdselect
Auto Trait Implementations§
impl Freeze for Cmdselect
impl RefUnwindSafe for Cmdselect
impl Send for Cmdselect
impl Sync for Cmdselect
impl Unpin for Cmdselect
impl UnwindSafe for Cmdselect
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