Type Alias REFS_W

Source
pub type REFS_W<'a, const O: u8> = FieldWriterSafe<'a, u8, ADMUX_SPEC, u8, REFS_A, 2, O>;
Expand description

Field REFS writer - Reference Selection Bits

Aliased Type§

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

Implementations§

Source§

impl<'a, const O: u8> REFS_W<'a, O>

Source

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

Vcc used as Voltage Reference, disconnected from Aref

Source

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

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

Source

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

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

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