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

source

pub fn variant(&self) -> EXTREFSEL_A

Get enumerated values variant

source

pub fn is_analog_reference0(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE0

source

pub fn is_analog_reference1(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE1