Enum efm32hg222f64::adc0::scanctrl::REFR
[−]
[src]
pub enum REFR { _1V25, _2V5, VDD, _5VDIFF, EXTSINGLE, _2XEXTDIFF, _2XVDD, _Reserved(u8), }
Possible values of the field REF
Variants
_1V25
Internal 1.25 V reference
_2V5
Internal 2.5 V reference
VDD
VDD
_5VDIFF
Internal differential 5 V reference
EXTSINGLE
Single ended external reference from ADCn_CH6
_2XEXTDIFF
Differential external reference, 2x(ADCn_CH6 - ADCn_CH7)
_2XVDD
Unbuffered 2xVDD
_Reserved(u8)
Reserved
Methods
impl REFR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_1v25(&self) -> bool
[src]
Checks if the value of the field is _1V25
fn is_2v5(&self) -> bool
[src]
Checks if the value of the field is _2V5
fn is_vdd(&self) -> bool
[src]
Checks if the value of the field is VDD
fn is_5vdiff(&self) -> bool
[src]
Checks if the value of the field is _5VDIFF
fn is_extsingle(&self) -> bool
[src]
Checks if the value of the field is EXTSINGLE
fn is_2xextdiff(&self) -> bool
[src]
Checks if the value of the field is _2XEXTDIFF
fn is_2xvdd(&self) -> bool
[src]
Checks if the value of the field is _2XVDD
Trait Implementations
impl Clone for REFR
[src]
fn clone(&self) -> REFR
[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