pub enum TimerIdentity {
Tcb0,
Tcb1,
Tcb2,
Tcb3,
Rtc,
}
Expand description
Identifies a particular source of timer events, i.e. a particular hardware clock source, at runtime.
Variants§
Tcb0
Timer-Counter Type B, 0
Tcb1
Timer-Counter Type B, 1
Tcb2
Timer-Counter Type B, 2
Tcb3
Timer-Counter Type B, 3
Rtc
Real-Time Counter
Trait Implementations§
source§impl Clone for TimerIdentity
impl Clone for TimerIdentity
source§fn clone(&self) -> TimerIdentity
fn clone(&self) -> TimerIdentity
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 PartialEq for TimerIdentity
impl PartialEq for TimerIdentity
source§fn eq(&self, other: &TimerIdentity) -> bool
fn eq(&self, other: &TimerIdentity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Persist for TimerIdentity
impl Persist for TimerIdentity
source§fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
fn load_from<R: Read>(reader: &mut R) -> PersistenceResult<Self>where
Self: Sized,
Load an instance of this Enum from the given reader
source§fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
fn save_to<W: Write>(&self, writer: &mut W) -> PersistenceResult<()>
Save an instance of this Enum to the given writer.
source§fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
fn load_with<R: Read>(reader: R) -> PersistenceResult<Self>
Take the given reader and use it to load an instance of this type.
source§impl uDebug for TimerIdentity
impl uDebug for TimerIdentity
impl Copy for TimerIdentity
impl Eq for TimerIdentity
impl StructuralPartialEq for TimerIdentity
Auto Trait Implementations§
impl Freeze for TimerIdentity
impl RefUnwindSafe for TimerIdentity
impl Send for TimerIdentity
impl Sync for TimerIdentity
impl Unpin for TimerIdentity
impl UnwindSafe for TimerIdentity
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