Type Alias atsame54n::dac::ctrlb::REFSEL_W

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

Field REFSEL writer - Reference Selection for DAC0/1

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 vrefpu(self) -> &'a mut W<REG>

External reference unbuffered

source

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

Analog supply

source

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

External reference buffered

source

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

Internal bandgap reference