Type Alias avr_device::atmega2560::adc::admux::REFS_R

source ·
pub type REFS_R = FieldReader<u8, REFS_A>;
Expand description

Field REFS reader - Reference Selection Bits

Aliased Type§

struct REFS_R { /* private fields */ }

Implementations§

source§

impl REFS_R

source

pub fn variant(&self) -> Option<REFS_A>

Get enumerated values variant

source

pub fn is_aref(&self) -> bool

Checks if the value of the field is AREF

source

pub fn is_avcc(&self) -> bool

Checks if the value of the field is AVCC

source

pub fn is_internal(&self) -> bool

Checks if the value of the field is INTERNAL