Type Alias atsamd21g::adc::refctrl::REFSEL_R

source ·
pub type REFSEL_R = FieldReader<REFSELSELECT_A>;
Expand description

Field REFSEL reader - Reference Selection

Aliased Type§

struct REFSEL_R { /* private fields */ }

Implementations§

source§

impl REFSEL_R

source

pub const fn variant(&self) -> Option<REFSELSELECT_A>

Get enumerated values variant

source

pub fn is_int1v(&self) -> bool

1.0V voltage reference

source

pub fn is_intvcc0(&self) -> bool

1/1.48 VDDANA

source

pub fn is_intvcc1(&self) -> bool

1/2 VDDANA (only for VDDANA > 2.0V)

source

pub fn is_arefa(&self) -> bool

External reference

source

pub fn is_arefb(&self) -> bool

External reference