Type Alias REFS_W

Source
pub type REFS_W<'a, REG> = FieldWriter<'a, REG, 2, REFS_A, Safe>;
Expand description

Field REFS writer - Reference Selection Bits

Aliased Type§

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

Implementations§

Source§

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

Source

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

Vcc used as Voltage Reference, disconnected from Aref

Source

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

External Voltage Reference at AREF pin, Internal Voltage Reference turned off

Source

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

Internal Voltage Reference (1.1V when REFS2 is cleared, 2.56V when REFS2 is set) without external bypass

Source

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

Internal 2.56V Voltage Reference with external bypass capacitor at AREF pin (REFS2 must be set)