Enum stm32_metapac::can::vals::Tx
#[repr(u8)]pub enum Tx {
RESET = 0,
SAMPLE_POINT = 1,
DOMINANT = 2,
RECESSIVE = 3,
}
Variants§
RESET = 0
Reset value, FDCANx_TX TX is controlled by the CAN core, updated at the end of the CAN bit time
SAMPLE_POINT = 1
Sample point can be monitored at pin FDCANx_TX
DOMINANT = 2
Dominant (0) level at pin FDCANx_TX
RECESSIVE = 3
Recessive (1) at pin FDCANx_TX
Implementations§
Trait Implementations§
§impl Ord for Tx
impl Ord for Tx
§impl PartialOrd for Tx
impl PartialOrd for Tx
§fn partial_cmp(&self, other: &Tx) -> Option<Ordering>
fn partial_cmp(&self, other: &Tx) -> 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 Tx
impl Eq for Tx
impl StructuralEq for Tx
impl StructuralPartialEq for Tx
Auto Trait Implementations§
impl RefUnwindSafe for Tx
impl Send for Tx
impl Sync for Tx
impl Unpin for Tx
impl UnwindSafe for Tx
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