#[repr(u8)]pub enum STOPBITS_A {
HALF = 0,
ONE = 1,
ONEANDAHALF = 2,
TWO = 3,
}
Expand description
Stop-Bit Mode
Value on reset: 1
Variants§
HALF = 0
0: The transmitter generates a half stop bit. Stop-bits are not verified by receiver
ONE = 1
1: One stop bit is generated and verified
ONEANDAHALF = 2
2: The transmitter generates one and a half stop bit. The receiver verifies the first stop bit
TWO = 3
3: The transmitter generates two stop bits. The receiver checks the first stop-bit only
Trait Implementations§
Source§impl Clone for STOPBITS_A
impl Clone for STOPBITS_A
Source§fn clone(&self) -> STOPBITS_A
fn clone(&self) -> STOPBITS_A
Returns a duplicate 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 STOPBITS_A
impl Debug for STOPBITS_A
Source§impl From<STOPBITS_A> for u8
impl From<STOPBITS_A> for u8
Source§fn from(variant: STOPBITS_A) -> Self
fn from(variant: STOPBITS_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for STOPBITS_A
impl PartialEq for STOPBITS_A
impl Copy for STOPBITS_A
impl StructuralPartialEq for STOPBITS_A
Auto Trait Implementations§
impl Freeze for STOPBITS_A
impl RefUnwindSafe for STOPBITS_A
impl Send for STOPBITS_A
impl Sync for STOPBITS_A
impl Unpin for STOPBITS_A
impl UnwindSafe for STOPBITS_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