Enum efm32lg390_pac::usart0::frame::STOPBITS_A
source · [−]#[repr(u8)]
pub enum STOPBITS_A {
HALF,
ONE,
ONEANDAHALF,
TWO,
}
Expand description
Stop-Bit Mode
Value on reset: 1
Variants
HALF
0: The transmitter generates a half stop bit. Stop-bits are not verified by receiver
ONE
1: One stop bit is generated and verified
ONEANDAHALF
2: The transmitter generates one and a half stop bit. The receiver verifies the first stop bit
TWO
3: The transmitter generates two stop bits. The receiver checks the first stop-bit only
Trait Implementations
sourceimpl Clone for STOPBITS_A
impl Clone for STOPBITS_A
sourcefn clone(&self) -> STOPBITS_A
fn clone(&self) -> STOPBITS_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for STOPBITS_A
impl Debug for STOPBITS_A
sourceimpl From<STOPBITS_A> for u8
impl From<STOPBITS_A> for u8
sourcefn from(variant: STOPBITS_A) -> Self
fn from(variant: STOPBITS_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<STOPBITS_A> for STOPBITS_A
impl PartialEq<STOPBITS_A> for STOPBITS_A
impl Copy for STOPBITS_A
impl StructuralPartialEq for STOPBITS_A
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more