Enum efm32gg11b_pac::efm32gg11b840::uart1::frame::DATABITS_A
source · #[repr(u8)]
pub enum DATABITS_A {
Show 13 variants
FOUR,
FIVE,
SIX,
SEVEN,
EIGHT,
NINE,
TEN,
ELEVEN,
TWELVE,
THIRTEEN,
FOURTEEN,
FIFTEEN,
SIXTEEN,
}
Expand description
Data-Bit Mode
Value on reset: 5
Variants§
FOUR
1: Each frame contains 4 data bits
FIVE
2: Each frame contains 5 data bits
SIX
3: Each frame contains 6 data bits
SEVEN
4: Each frame contains 7 data bits
EIGHT
5: Each frame contains 8 data bits
NINE
6: Each frame contains 9 data bits
TEN
7: Each frame contains 10 data bits
ELEVEN
8: Each frame contains 11 data bits
TWELVE
9: Each frame contains 12 data bits
THIRTEEN
10: Each frame contains 13 data bits
FOURTEEN
11: Each frame contains 14 data bits
FIFTEEN
12: Each frame contains 15 data bits
SIXTEEN
13: Each frame contains 16 data bits
Trait Implementations§
source§impl Clone for DATABITS_A
impl Clone for DATABITS_A
source§fn clone(&self) -> DATABITS_A
fn clone(&self) -> DATABITS_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 DATABITS_A
impl Debug for DATABITS_A
source§impl From<DATABITS_A> for u8
impl From<DATABITS_A> for u8
source§fn from(variant: DATABITS_A) -> Self
fn from(variant: DATABITS_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<DATABITS_A> for DATABITS_A
impl PartialEq<DATABITS_A> for DATABITS_A
source§fn eq(&self, other: &DATABITS_A) -> bool
fn eq(&self, other: &DATABITS_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.