Type Alias REFS_R

Source
pub type REFS_R = FieldReader<REFS_A>;
Expand description

Field REFS reader - Reference Selection Bits

Aliased Type§

struct REFS_R { /* private fields */ }

Implementations§

Source§

impl REFS_R

Source

pub const fn variant(&self) -> REFS_A

Get enumerated values variant

Source

pub fn is_vcc(&self) -> bool

Vcc used as Voltage Reference, disconnected from Aref

Source

pub fn is_aref(&self) -> bool

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

Source

pub fn is_internal(&self) -> bool

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

Source

pub fn is_internal_bypass(&self) -> bool

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