AdchR

Type Alias AdchR 

pub type AdchR = FieldReader<Adch>;
Expand description

Field ADCH reader - Input channel select

Aliased Type§

pub struct AdchR { /* private fields */ }

Implementations§

§

impl AdchR

pub const fn variant(&self) -> Option<Adch>

Get enumerated values variant

pub fn is_00000(&self) -> bool

External channel 0 is selected as input.

pub fn is_00001(&self) -> bool

External channel 1 is selected as input.

pub fn is_00010(&self) -> bool

External channel 2 is selected as input.

pub fn is_00011(&self) -> bool

External channel 3 is selected as input.

pub fn is_00100(&self) -> bool

External channel 4 is selected as input.

pub fn is_00101(&self) -> bool

External channel 5 is selected as input.

pub fn is_00110(&self) -> bool

External channel 6 is selected as input.

pub fn is_00111(&self) -> bool

External channel 7 is selected as input.

pub fn is_01000(&self) -> bool

External channel 8 is selected as input.

pub fn is_01001(&self) -> bool

External channel 9 is selected as input.

pub fn is_01010(&self) -> bool

External channel 10 is selected as input.

pub fn is_01011(&self) -> bool

External channel 11 is selected as input.

pub fn is_01100(&self) -> bool

External channel 12 is selected as input.

pub fn is_01101(&self) -> bool

External channel 13 is selected as input.

pub fn is_01110(&self) -> bool

External channel 14 is selected as input.

pub fn is_01111(&self) -> bool

External channel 15 is selected as input.

pub fn is_10010(&self) -> bool

External channel 18 is selected as input.

pub fn is_10011(&self) -> bool

External channel 19 is selected as input.

pub fn is_10101(&self) -> bool

Internal channel 0 is selected as input.

pub fn is_10110(&self) -> bool

Internal channel 1 is selected as input.

pub fn is_10111(&self) -> bool

Internal channel 2 is selected as input.

pub fn is_11010(&self) -> bool

Temp Sensor

pub fn is_11011(&self) -> bool

Band Gap

pub fn is_11100(&self) -> bool

Internal channel 3 is selected as input.

pub fn is_11101(&self) -> bool

VREFSH is selected as input. Voltage reference selected is determined by SC2[REFSEL].

pub fn is_11110(&self) -> bool

VREFSL is selected as input. Voltage reference selected is determined by SC2[REFSEL].

pub fn is_11111(&self) -> bool

Module is disabled