Enum stm32_metapac::can::vals::Tss
#[repr(u8)]pub enum Tss {
ZERO = 0,
INCREMENT = 1,
EXTERNAL = 2,
_RESERVED_3 = 3,
}
Variants§
ZERO = 0
Timestamp counter value always 0x0000
INCREMENT = 1
Timestamp counter value incremented according to TCP
EXTERNAL = 2
External timestamp counter from TIM3 value (tim3_cnt[0:15])
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Tss
impl Ord for Tss
§impl PartialOrd for Tss
impl PartialOrd for Tss
§fn partial_cmp(&self, other: &Tss) -> Option<Ordering>
fn partial_cmp(&self, other: &Tss) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Tss
impl Eq for Tss
impl StructuralEq for Tss
impl StructuralPartialEq for Tss
Auto Trait Implementations§
impl RefUnwindSafe for Tss
impl Send for Tss
impl Sync for Tss
impl Unpin for Tss
impl UnwindSafe for Tss
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