Type Alias nrf52840_pac::lpcomp::extrefsel::EXTREFSEL_R
source · pub type EXTREFSEL_R = BitReader<EXTREFSEL_A>;
Expand description
Field EXTREFSEL
reader - External analog reference select
Aliased Type§
struct EXTREFSEL_R { /* private fields */ }
Implementations§
source§impl EXTREFSEL_R
impl EXTREFSEL_R
sourcepub fn variant(&self) -> EXTREFSEL_A
pub fn variant(&self) -> EXTREFSEL_A
Get enumerated values variant
sourcepub fn is_analog_reference0(&self) -> bool
pub fn is_analog_reference0(&self) -> bool
Checks if the value of the field is ANALOG_REFERENCE0
sourcepub fn is_analog_reference1(&self) -> bool
pub fn is_analog_reference1(&self) -> bool
Checks if the value of the field is ANALOG_REFERENCE1