Enum efr32x12p::usart1::frame::STOPBITSR
[−]
[src]
pub enum STOPBITSR { HALF, ONE, ONEANDAHALF, TWO, }
Possible values of the field STOPBITS
Variants
HALF
The transmitter generates a half stop bit. Stop-bits are not verified by receiver
ONE
One stop bit is generated and verified
ONEANDAHALF
The transmitter generates one and a half stop bit. The receiver verifies the first stop bit
TWO
The transmitter generates two stop bits. The receiver checks the first stop-bit only
Methods
impl STOPBITSR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_half(&self) -> bool
[src]
Checks if the value of the field is HALF
fn is_one(&self) -> bool
[src]
Checks if the value of the field is ONE
fn is_oneandahalf(&self) -> bool
[src]
Checks if the value of the field is ONEANDAHALF
fn is_two(&self) -> bool
[src]
Checks if the value of the field is TWO
Trait Implementations
impl Clone for STOPBITSR
[src]
fn clone(&self) -> STOPBITSR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more