Enum nrf52832_pac::lpcomp::extrefsel::EXTREFSELR
source · pub enum EXTREFSELR {
ANALOGREFERENCE0,
ANALOGREFERENCE1,
}
Expand description
Possible values of the field EXTREFSEL
Variants§
ANALOGREFERENCE0
Use AIN0 as external analog reference
ANALOGREFERENCE1
Use AIN1 as external analog reference
Implementations§
source§impl EXTREFSELR
impl EXTREFSELR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_analog_reference0(&self) -> bool
pub fn is_analog_reference0(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE0
sourcepub fn is_analog_reference1(&self) -> bool
pub fn is_analog_reference1(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE1
Trait Implementations§
source§impl Clone for EXTREFSELR
impl Clone for EXTREFSELR
source§fn clone(&self) -> EXTREFSELR
fn clone(&self) -> EXTREFSELR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more