Enum atsame51j::can0::psr::ACTSELECT_A
source · #[repr(u8)]pub enum ACTSELECT_A {
SYNC = 0,
IDLE = 1,
RX = 2,
TX = 3,
}
Expand description
Activity
Value on reset: 0
Variants§
SYNC = 0
0: Node is synchronizing on CAN communication
IDLE = 1
1: Node is neither receiver nor transmitter
RX = 2
2: Node is operating as receiver
TX = 3
3: Node is operating as transmitter
Trait Implementations§
source§impl Clone for ACTSELECT_A
impl Clone for ACTSELECT_A
source§fn clone(&self) -> ACTSELECT_A
fn clone(&self) -> ACTSELECT_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 ACTSELECT_A
impl Debug for ACTSELECT_A
source§impl From<ACTSELECT_A> for u8
impl From<ACTSELECT_A> for u8
source§fn from(variant: ACTSELECT_A) -> Self
fn from(variant: ACTSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for ACTSELECT_A
impl PartialEq for ACTSELECT_A
source§fn eq(&self, other: &ACTSELECT_A) -> bool
fn eq(&self, other: &ACTSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ACTSELECT_A
impl Eq for ACTSELECT_A
impl StructuralPartialEq for ACTSELECT_A
Auto Trait Implementations§
impl Freeze for ACTSELECT_A
impl RefUnwindSafe for ACTSELECT_A
impl Send for ACTSELECT_A
impl Sync for ACTSELECT_A
impl Unpin for ACTSELECT_A
impl UnwindSafe for ACTSELECT_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