#[repr(u8)]pub enum Lincmdselect {
None = 0,
SoftwareControlTransmitCmd = 1,
AutoTransmitCmd = 2,
}
Expand description
LIN Command
Value on reset: 0
Variants§
None = 0
0: Normal USART transmission
SoftwareControlTransmitCmd = 1
1: Break field is transmitted when DATA is written
AutoTransmitCmd = 2
2: Break, sync and identifier are automatically transmitted when DATA is written with the identifier
Trait Implementations§
Source§impl Clone for Lincmdselect
impl Clone for Lincmdselect
Source§fn clone(&self) -> Lincmdselect
fn clone(&self) -> Lincmdselect
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 Lincmdselect
impl Debug for Lincmdselect
Source§impl From<Lincmdselect> for u8
impl From<Lincmdselect> for u8
Source§fn from(variant: Lincmdselect) -> Self
fn from(variant: Lincmdselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Lincmdselect
impl PartialEq for Lincmdselect
impl Copy for Lincmdselect
impl Eq for Lincmdselect
impl IsEnum for Lincmdselect
impl StructuralPartialEq for Lincmdselect
Auto Trait Implementations§
impl Freeze for Lincmdselect
impl RefUnwindSafe for Lincmdselect
impl Send for Lincmdselect
impl Sync for Lincmdselect
impl Unpin for Lincmdselect
impl UnwindSafe for Lincmdselect
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