Enum gd32f1x0_hal::pac::dbg::ctl0::TIMER0_HOLD_A
source · [−]pub enum TIMER0_HOLD_A {
CONTINUE,
STOP,
}
Expand description
Timer 0 hold register
Value on reset: 0
Variants
CONTINUE
0: Continue running the timer as usual
STOP
1: Hold the timer counter for debug when the core is halted
Trait Implementations
sourceimpl Clone for TIMER0_HOLD_A
impl Clone for TIMER0_HOLD_A
sourcefn clone(&self) -> TIMER0_HOLD_A
fn clone(&self) -> TIMER0_HOLD_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TIMER0_HOLD_A
impl Debug for TIMER0_HOLD_A
sourceimpl From<DebugHold> for TIMER0_HOLD_A
impl From<DebugHold> for TIMER0_HOLD_A
sourceimpl PartialEq<TIMER0_HOLD_A> for TIMER0_HOLD_A
impl PartialEq<TIMER0_HOLD_A> for TIMER0_HOLD_A
impl Copy for TIMER0_HOLD_A
impl StructuralPartialEq for TIMER0_HOLD_A
Auto Trait Implementations
impl RefUnwindSafe for TIMER0_HOLD_A
impl Send for TIMER0_HOLD_A
impl Sync for TIMER0_HOLD_A
impl Unpin for TIMER0_HOLD_A
impl UnwindSafe for TIMER0_HOLD_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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