Enum efr32x12p::usart2::ctrl::OVSR
[−]
[src]
pub enum OVSR { X16, X8, X6, X4, }
Possible values of the field OVS
Variants
X16
Regular UART mode with 16X oversampling in asynchronous mode
X8
Double speed with 8X oversampling in asynchronous mode
X6
6X oversampling in asynchronous mode
X4
Quadruple speed with 4X oversampling in asynchronous mode
Methods
impl OVSR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_x16(&self) -> bool
[src]
Checks if the value of the field is X16
fn is_x8(&self) -> bool
[src]
Checks if the value of the field is X8
fn is_x6(&self) -> bool
[src]
Checks if the value of the field is X6
fn is_x4(&self) -> bool
[src]
Checks if the value of the field is X4
Trait Implementations
impl Clone for OVSR
[src]
fn clone(&self) -> OVSR
[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