Type Alias avr_device::attiny85::adc::admux::MUX_R

source ·
pub type MUX_R = FieldReader<u8, MUX_A>;
Expand description

Field MUX reader - Analog Channel and Gain Selection Bits

Aliased Type§

struct MUX_R { /* private fields */ }

Implementations§

source§

impl MUX_R

source

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

Get enumerated values variant

source

pub fn is_adc0(&self) -> bool

Checks if the value of the field is ADC0

source

pub fn is_adc1(&self) -> bool

Checks if the value of the field is ADC1

source

pub fn is_adc2(&self) -> bool

Checks if the value of the field is ADC2

source

pub fn is_adc3(&self) -> bool

Checks if the value of the field is ADC3

source

pub fn is_adc2_adc2_1x(&self) -> bool

Checks if the value of the field is ADC2_ADC2_1X

source

pub fn is_adc2_adc2_20x(&self) -> bool

Checks if the value of the field is ADC2_ADC2_20X

source

pub fn is_adc2_adc3_1x(&self) -> bool

Checks if the value of the field is ADC2_ADC3_1X

source

pub fn is_adc2_adc3_20x(&self) -> bool

Checks if the value of the field is ADC2_ADC3_20X

source

pub fn is_adc0_adc0_1x(&self) -> bool

Checks if the value of the field is ADC0_ADC0_1X

source

pub fn is_adc0_adc0_20x(&self) -> bool

Checks if the value of the field is ADC0_ADC0_20X

source

pub fn is_adc0_adc1_1x(&self) -> bool

Checks if the value of the field is ADC0_ADC1_1X

source

pub fn is_adc0_adc1_20x(&self) -> bool

Checks if the value of the field is ADC0_ADC1_20X

source

pub fn is_adc_vbg(&self) -> bool

Checks if the value of the field is ADC_VBG

source

pub fn is_adc_gnd(&self) -> bool

Checks if the value of the field is ADC_GND

source

pub fn is_tempsens(&self) -> bool

Checks if the value of the field is TEMPSENS