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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)