Enum efr32x12p::lesense::idleconf::CH2R
[−]
[src]
pub enum CH2R { DISABLE, HIGH, LOW, DAC, }
Possible values of the field CH2
Variants
DISABLE
CH2 output is disabled in idle phase
HIGH
CH2 output is high in idle phase
LOW
CH2 output is low in idle phase
DAC
CH2 output is connected to VDAC output in idle phase. Note that this mode is only available on channels
Methods
impl CH2R
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_disable(&self) -> bool
[src]
Checks if the value of the field is DISABLE
fn is_high(&self) -> bool
[src]
Checks if the value of the field is HIGH
fn is_low(&self) -> bool
[src]
Checks if the value of the field is LOW
fn is_dac(&self) -> bool
[src]
Checks if the value of the field is DAC
Trait Implementations
impl Clone for CH2R
[src]
fn clone(&self) -> CH2R
[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