Type Alias atsame54n::adc0::refctrl::REFSEL_W

source ·
pub type REFSEL_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 4, O, REFSELSELECT_A>;
Expand description

Field REFSEL writer - Reference Selection

Aliased Type§

struct REFSEL_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> REFSEL_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

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

Internal Bandgap Reference

source

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

1/2 VDDANA

source

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

VDDANA

source

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

External Reference

source

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

External Reference

source

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

External Reference (only on ADC1)