Enum efr32xg12p::adc0::scanctrl::REFR
[−]
[src]
pub enum REFR { _1V25, _2V5, VDD, _5V, EXTSINGLE, _2XEXTDIFF, _2XVDD, CONF, }
Possible values of the field REF
Variants
_1V25
VFS = 1.25V with internal VBGR reference
_2V5
VFS = 2.5V with internal VBGR reference
VDD
VFS = AVDD with AVDD as reference source
_5V
VFS = 5V with internal VBGR reference
EXTSINGLE
Single ended external reference
_2XEXTDIFF
Differential external reference, 2x
_2XVDD
VFS=2xAVDD with AVDD as the reference source
CONF
Use SCANCTRLX to configure reference
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_5v(&self) -> bool
[src]
Checks if the value of the field is _5V
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
fn is_conf(&self) -> bool
[src]
Checks if the value of the field is CONF
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