atsamd21g::adc::refctrl

Type Alias RefselW

Source
pub type RefselW<'a, REG> = FieldWriter<'a, REG, 4, Refselselect>;
Expand description

Field REFSEL writer - Reference Selection

Aliased Type§

struct RefselW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> RefselW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn int1v(self) -> &'a mut W<REG>

1.0V voltage reference

Source

pub fn intvcc0(self) -> &'a mut W<REG>

1/1.48 VDDANA

Source

pub fn intvcc1(self) -> &'a mut W<REG>

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

Source

pub fn arefa(self) -> &'a mut W<REG>

External reference

Source

pub fn arefb(self) -> &'a mut W<REG>

External reference