Enum efm32gg11b_pac::efm32gg11b110::usart4::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§
source§impl Clone for STOPBITS_A
impl Clone for STOPBITS_A
source§fn clone(&self) -> STOPBITS_A
fn clone(&self) -> STOPBITS_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 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<STOPBITS_A> for STOPBITS_A
impl PartialEq<STOPBITS_A> for STOPBITS_A
source§fn eq(&self, other: &STOPBITS_A) -> bool
fn eq(&self, other: &STOPBITS_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.