pub enum Timer0Hold {
Continue = 0,
Stop = 1,
}
Expand description
Timer 0 hold register
Value on reset: 0
Variants§
Continue = 0
0: Continue running the timer as usual
Stop = 1
1: Hold the timer counter for debug when the core is halted
Trait Implementations§
source§impl Clone for Timer0Hold
impl Clone for Timer0Hold
source§fn clone(&self) -> Timer0Hold
fn clone(&self) -> Timer0Hold
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Timer0Hold
impl Debug for Timer0Hold
source§impl From<Timer0Hold> for bool
impl From<Timer0Hold> for bool
source§fn from(variant: Timer0Hold) -> Self
fn from(variant: Timer0Hold) -> Self
Converts to this type from the input type.
source§impl PartialEq for Timer0Hold
impl PartialEq for Timer0Hold
source§fn eq(&self, other: &Timer0Hold) -> bool
fn eq(&self, other: &Timer0Hold) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Timer0Hold
impl Eq for Timer0Hold
impl StructuralPartialEq for Timer0Hold
Auto Trait Implementations§
impl Freeze for Timer0Hold
impl RefUnwindSafe for Timer0Hold
impl Send for Timer0Hold
impl Sync for Timer0Hold
impl Unpin for Timer0Hold
impl UnwindSafe for Timer0Hold
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