Enum nrf52832_pac::comp::extrefsel::EXTREFSELR
source · pub enum EXTREFSELR {
ANALOGREFERENCE0,
ANALOGREFERENCE1,
ANALOGREFERENCE2,
ANALOGREFERENCE3,
ANALOGREFERENCE4,
ANALOGREFERENCE5,
ANALOGREFERENCE6,
ANALOGREFERENCE7,
}
Expand description
Possible values of the field EXTREFSEL
Variants§
ANALOGREFERENCE0
Use AIN0 as external analog reference
ANALOGREFERENCE1
Use AIN1 as external analog reference
ANALOGREFERENCE2
Use AIN2 as external analog reference
ANALOGREFERENCE3
Use AIN3 as external analog reference
ANALOGREFERENCE4
Use AIN4 as external analog reference
ANALOGREFERENCE5
Use AIN5 as external analog reference
ANALOGREFERENCE6
Use AIN6 as external analog reference
ANALOGREFERENCE7
Use AIN7 as external analog reference
Implementations§
source§impl EXTREFSELR
impl EXTREFSELR
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
sourcepub fn is_analog_reference2(&self) -> bool
pub fn is_analog_reference2(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE2
sourcepub fn is_analog_reference3(&self) -> bool
pub fn is_analog_reference3(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE3
sourcepub fn is_analog_reference4(&self) -> bool
pub fn is_analog_reference4(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE4
sourcepub fn is_analog_reference5(&self) -> bool
pub fn is_analog_reference5(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE5
sourcepub fn is_analog_reference6(&self) -> bool
pub fn is_analog_reference6(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE6
sourcepub fn is_analog_reference7(&self) -> bool
pub fn is_analog_reference7(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE7
Trait Implementations§
source§impl Clone for EXTREFSELR
impl Clone for EXTREFSELR
source§fn clone(&self) -> EXTREFSELR
fn clone(&self) -> EXTREFSELR
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more