pub enum TimestampSource {
None,
Prescaler(TimestampPrescaler),
FromTIM3,
}
Expand description
Selects the source of the Timestamp counter
Variants§
None
The Timestamp counter is disabled
Prescaler(TimestampPrescaler)
Using the FdCan input clock as the Timstamp counter’s source, and using a specific prescaler
FromTIM3
Using TIM3 as a source
Trait Implementations§
Source§impl Clone for TimestampSource
impl Clone for TimestampSource
Source§fn clone(&self) -> TimestampSource
fn clone(&self) -> TimestampSource
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 TimestampSource
impl Debug for TimestampSource
impl Copy for TimestampSource
Auto Trait Implementations§
impl Freeze for TimestampSource
impl RefUnwindSafe for TimestampSource
impl Send for TimestampSource
impl Sync for TimestampSource
impl Unpin for TimestampSource
impl UnwindSafe for TimestampSource
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