Type Alias avr_device::atmega2560::adc::admux::REFS_W

source ·
pub type REFS_W<'a, const O: u8> = FieldWriter<'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 aref(self) -> &'a mut W

Aref Internal Vref turned off

source

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

AVcc with external capacitor at AREF pin

source

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

Internal 1.1V Voltage Reference with external capacitor at AREF pin