nrf52840_pac::lpcomp::extrefsel

Type Alias 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