Type Alias avr_device::atmega2560::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) -> 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_adc4(&self) -> bool

Checks if the value of the field is ADC4

source

pub fn is_adc5(&self) -> bool

Checks if the value of the field is ADC5

source

pub fn is_adc6(&self) -> bool

Checks if the value of the field is ADC6

source

pub fn is_adc7(&self) -> bool

Checks if the value of the field is ADC7

source

pub fn is_adc0_adc0_10x(&self) -> bool

Checks if the value of the field is ADC0_ADC0_10X

source

pub fn is_adc1_adc0_10x(&self) -> bool

Checks if the value of the field is ADC1_ADC0_10X

source

pub fn is_adc0_adc0_200x(&self) -> bool

Checks if the value of the field is ADC0_ADC0_200X

source

pub fn is_adc1_adc0_200x(&self) -> bool

Checks if the value of the field is ADC1_ADC0_200X

source

pub fn is_adc2_adc2_10x(&self) -> bool

Checks if the value of the field is ADC2_ADC2_10X

source

pub fn is_adc3_adc2_10x(&self) -> bool

Checks if the value of the field is ADC3_ADC2_10X

source

pub fn is_adc2_adc2_200x(&self) -> bool

Checks if the value of the field is ADC2_ADC2_200X

source

pub fn is_adc3_adc2_200x(&self) -> bool

Checks if the value of the field is ADC3_ADC2_200X

source

pub fn is_adc0_adc1_1x(&self) -> bool

Checks if the value of the field is ADC0_ADC1_1X

source

pub fn is_adc1_adc1_1x(&self) -> bool

Checks if the value of the field is ADC1_ADC1_1X

source

pub fn is_adc2_adc1_1x(&self) -> bool

Checks if the value of the field is ADC2_ADC1_1X

source

pub fn is_adc3_adc1_1x(&self) -> bool

Checks if the value of the field is ADC3_ADC1_1X

source

pub fn is_adc4_adc1_1x(&self) -> bool

Checks if the value of the field is ADC4_ADC1_1X

source

pub fn is_adc5_adc1_1x(&self) -> bool

Checks if the value of the field is ADC5_ADC1_1X

source

pub fn is_adc6_adc1_1x(&self) -> bool

Checks if the value of the field is ADC6_ADC1_1X

source

pub fn is_adc7_adc1_1x(&self) -> bool

Checks if the value of the field is ADC7_ADC1_1X

source

pub fn is_adc0_adc2_1x(&self) -> bool

Checks if the value of the field is ADC0_ADC2_1X

source

pub fn is_adc1_adc2_1x(&self) -> bool

Checks if the value of the field is ADC1_ADC2_1X

source

pub fn is_adc2_adc2_1x(&self) -> bool

Checks if the value of the field is ADC2_ADC2_1X

source

pub fn is_adc3_adc2_1x(&self) -> bool

Checks if the value of the field is ADC3_ADC2_1X

source

pub fn is_adc4_adc2_1x(&self) -> bool

Checks if the value of the field is ADC4_ADC2_1X

source

pub fn is_adc5_adc2_1x(&self) -> bool

Checks if the value of the field is ADC5_ADC2_1X

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