#[repr(u8)]
pub enum CMD_A {
NONE,
RETRIGGER,
STOP,
UPDATE,
READSYNC,
DMAOS,
}
Expand description
TCC Command
Value on reset: 0
Variants
NONE
0: No action
RETRIGGER
1: Clear start, restart or retrigger
STOP
2: Force stop
UPDATE
3: Force update or double buffered registers
READSYNC
4: Force COUNT read synchronization
DMAOS
5: One-shot DMA trigger
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