Enum atsame70n21b::mcan0::test::TXSELECT_A
source · #[repr(u8)]pub enum TXSELECT_A {
RESET = 0,
SAMPLE_POINT_MONITORING = 1,
DOMINANT = 2,
RECESSIVE = 3,
}
Expand description
Control of Transmit Pin (read/write)
Value on reset: 0
Variants§
RESET = 0
0: Reset value, CANTX controlled by the CAN Core, updated at the end of the CAN bit time.
SAMPLE_POINT_MONITORING = 1
1: Sample Point can be monitored at pin CANTX.
DOMINANT = 2
2: Dominant (‘0’) level at pin CANTX.
RECESSIVE = 3
3: Recessive (‘1’) at pin CANTX.
Trait Implementations§
source§impl Clone for TXSELECT_A
impl Clone for TXSELECT_A
source§fn clone(&self) -> TXSELECT_A
fn clone(&self) -> TXSELECT_A
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 TXSELECT_A
impl Debug for TXSELECT_A
source§impl From<TXSELECT_A> for u8
impl From<TXSELECT_A> for u8
source§fn from(variant: TXSELECT_A) -> Self
fn from(variant: TXSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TXSELECT_A
impl PartialEq for TXSELECT_A
source§fn eq(&self, other: &TXSELECT_A) -> bool
fn eq(&self, other: &TXSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TXSELECT_A
impl Eq for TXSELECT_A
impl StructuralEq for TXSELECT_A
impl StructuralPartialEq for TXSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for TXSELECT_A
impl Send for TXSELECT_A
impl Sync for TXSELECT_A
impl Unpin for TXSELECT_A
impl UnwindSafe for TXSELECT_A
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