Type Alias avr_device::attiny85::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) -> REFS_A

Get enumerated values variant

source

pub fn is_vcc(&self) -> bool

Checks if the value of the field is VCC

source

pub fn is_aref(&self) -> bool

Checks if the value of the field is AREF

source

pub fn is_internal(&self) -> bool

Checks if the value of the field is INTERNAL

source

pub fn is_internal_bypass(&self) -> bool

Checks if the value of the field is INTERNAL_BYPASS