Enum efm32hg222f64::usart1::irctrl::IRPWR
[−]
[src]
pub enum IRPWR { ONE, TWO, THREE, FOUR, }
Possible values of the field IRPW
Variants
ONE
IrDA pulse width is 1/16 for OVS=0 and 1/8 for OVS=1
TWO
IrDA pulse width is 2/16 for OVS=0 and 2/8 for OVS=1
THREE
IrDA pulse width is 3/16 for OVS=0 and 3/8 for OVS=1
FOUR
IrDA pulse width is 4/16 for OVS=0 and 4/8 for OVS=1
Methods
impl IRPWR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_one(&self) -> bool
[src]
Checks if the value of the field is ONE
fn is_two(&self) -> bool
[src]
Checks if the value of the field is TWO
fn is_three(&self) -> bool
[src]
Checks if the value of the field is THREE
fn is_four(&self) -> bool
[src]
Checks if the value of the field is FOUR
Trait Implementations
impl Clone for IRPWR
[src]
fn clone(&self) -> IRPWR
[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