Enum efm32hg222f64::usart1::frame::DATABITSR
[−]
[src]
pub enum DATABITSR { FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, ELEVEN, TWELVE, THIRTEEN, FOURTEEN, FIFTEEN, SIXTEEN, _Reserved(u8), }
Possible values of the field DATABITS
Variants
FOUR
Each frame contains 4 data bits
FIVE
Each frame contains 5 data bits
SIX
Each frame contains 6 data bits
SEVEN
Each frame contains 7 data bits
EIGHT
Each frame contains 8 data bits
NINE
Each frame contains 9 data bits
TEN
Each frame contains 10 data bits
ELEVEN
Each frame contains 11 data bits
TWELVE
Each frame contains 12 data bits
THIRTEEN
Each frame contains 13 data bits
FOURTEEN
Each frame contains 14 data bits
FIFTEEN
Each frame contains 15 data bits
SIXTEEN
Each frame contains 16 data bits
_Reserved(u8)
Reserved
Methods
impl DATABITSR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_four(&self) -> bool
[src]
Checks if the value of the field is FOUR
fn is_five(&self) -> bool
[src]
Checks if the value of the field is FIVE
fn is_six(&self) -> bool
[src]
Checks if the value of the field is SIX
fn is_seven(&self) -> bool
[src]
Checks if the value of the field is SEVEN
fn is_eight(&self) -> bool
[src]
Checks if the value of the field is EIGHT
fn is_nine(&self) -> bool
[src]
Checks if the value of the field is NINE
fn is_ten(&self) -> bool
[src]
Checks if the value of the field is TEN
fn is_eleven(&self) -> bool
[src]
Checks if the value of the field is ELEVEN
fn is_twelve(&self) -> bool
[src]
Checks if the value of the field is TWELVE
fn is_thirteen(&self) -> bool
[src]
Checks if the value of the field is THIRTEEN
fn is_fourteen(&self) -> bool
[src]
Checks if the value of the field is FOURTEEN
fn is_fifteen(&self) -> bool
[src]
Checks if the value of the field is FIFTEEN
fn is_sixteen(&self) -> bool
[src]
Checks if the value of the field is SIXTEEN
Trait Implementations
impl Clone for DATABITSR
[src]
fn clone(&self) -> DATABITSR
[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