Enum nrf52832_pac::lpcomp::refsel::REFSELR
source · pub enum REFSELR {
Show 16 variants
REF1_8VDD,
REF2_8VDD,
REF3_8VDD,
REF4_8VDD,
REF5_8VDD,
REF6_8VDD,
REF7_8VDD,
AREF,
REF1_16VDD,
REF3_16VDD,
REF5_16VDD,
REF7_16VDD,
REF9_16VDD,
REF11_16VDD,
REF13_16VDD,
REF15_16VDD,
}
Expand description
Possible values of the field REFSEL
Variants§
REF1_8VDD
VDD * 1/8 selected as reference
REF2_8VDD
VDD * 2/8 selected as reference
REF3_8VDD
VDD * 3/8 selected as reference
REF4_8VDD
VDD * 4/8 selected as reference
REF5_8VDD
VDD * 5/8 selected as reference
REF6_8VDD
VDD * 6/8 selected as reference
REF7_8VDD
VDD * 7/8 selected as reference
AREF
External analog reference selected
REF1_16VDD
VDD * 1/16 selected as reference
REF3_16VDD
VDD * 3/16 selected as reference
REF5_16VDD
VDD * 5/16 selected as reference
REF7_16VDD
VDD * 7/16 selected as reference
REF9_16VDD
VDD * 9/16 selected as reference
REF11_16VDD
VDD * 11/16 selected as reference
REF13_16VDD
VDD * 13/16 selected as reference
REF15_16VDD
VDD * 15/16 selected as reference
Implementations§
source§impl REFSELR
impl REFSELR
sourcepub fn is_ref1_8vdd(&self) -> bool
pub fn is_ref1_8vdd(&self) -> bool
Checks if the value of the field is REF1_8VDD
sourcepub fn is_ref2_8vdd(&self) -> bool
pub fn is_ref2_8vdd(&self) -> bool
Checks if the value of the field is REF2_8VDD
sourcepub fn is_ref3_8vdd(&self) -> bool
pub fn is_ref3_8vdd(&self) -> bool
Checks if the value of the field is REF3_8VDD
sourcepub fn is_ref4_8vdd(&self) -> bool
pub fn is_ref4_8vdd(&self) -> bool
Checks if the value of the field is REF4_8VDD
sourcepub fn is_ref5_8vdd(&self) -> bool
pub fn is_ref5_8vdd(&self) -> bool
Checks if the value of the field is REF5_8VDD
sourcepub fn is_ref6_8vdd(&self) -> bool
pub fn is_ref6_8vdd(&self) -> bool
Checks if the value of the field is REF6_8VDD
sourcepub fn is_ref7_8vdd(&self) -> bool
pub fn is_ref7_8vdd(&self) -> bool
Checks if the value of the field is REF7_8VDD
sourcepub fn is_ref1_16vdd(&self) -> bool
pub fn is_ref1_16vdd(&self) -> bool
Checks if the value of the field is REF1_16VDD
sourcepub fn is_ref3_16vdd(&self) -> bool
pub fn is_ref3_16vdd(&self) -> bool
Checks if the value of the field is REF3_16VDD
sourcepub fn is_ref5_16vdd(&self) -> bool
pub fn is_ref5_16vdd(&self) -> bool
Checks if the value of the field is REF5_16VDD
sourcepub fn is_ref7_16vdd(&self) -> bool
pub fn is_ref7_16vdd(&self) -> bool
Checks if the value of the field is REF7_16VDD
sourcepub fn is_ref9_16vdd(&self) -> bool
pub fn is_ref9_16vdd(&self) -> bool
Checks if the value of the field is REF9_16VDD
sourcepub fn is_ref11_16vdd(&self) -> bool
pub fn is_ref11_16vdd(&self) -> bool
Checks if the value of the field is REF11_16VDD
sourcepub fn is_ref13_16vdd(&self) -> bool
pub fn is_ref13_16vdd(&self) -> bool
Checks if the value of the field is REF13_16VDD
sourcepub fn is_ref15_16vdd(&self) -> bool
pub fn is_ref15_16vdd(&self) -> bool
Checks if the value of the field is REF15_16VDD