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_000000(&self) -> bool

External input channel 0 is selected.

pub fn is_000001(&self) -> bool

External channel 1 is selected as input.

pub fn is_000010(&self) -> bool

External channel 2 is selected as input.

pub fn is_000011(&self) -> bool

External channel 3 is selected as input.

pub fn is_000100(&self) -> bool

External channel 4 is selected as input.

pub fn is_000101(&self) -> bool

External channel 5 is selected as input.

pub fn is_000110(&self) -> bool

External channel 6 is selected as input.

pub fn is_000111(&self) -> bool

External channel 7 is selected as input.

pub fn is_001000(&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_001010(&self) -> bool

External channel 10 is selected as input.

pub fn is_001011(&self) -> bool

External channel 11 is selected as input.

pub fn is_001100(&self) -> bool

External channel 12 is selected as input.

pub fn is_001101(&self) -> bool

External channel 13 is selected as input.

pub fn is_001110(&self) -> bool

External channel 14 is selected as input.

pub fn is_001111(&self) -> bool

External channel 15 is selected as input.

pub fn is_010101(&self) -> bool

Internal channel 0 is selected as input.

pub fn is_010110(&self) -> bool

Internal channel 1 is selected as input.

pub fn is_010111(&self) -> bool

Internal channel 2 is selected as input.

pub fn is_011011(&self) -> bool

Band Gap

pub fn is_011100(&self) -> bool

Internal channel 3 is selected as input.

pub fn is_011101(&self) -> bool

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

pub fn is_011110(&self) -> bool

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

pub fn is_011111(&self) -> bool

Module is disabled

pub fn is_100000(&self) -> bool

Internal channel 16 is selected as input.

pub fn is_100001(&self) -> bool

External channel 17 is selected as input.

pub fn is_100010(&self) -> bool

External channel 18 is selected as input.

pub fn is_100011(&self) -> bool

External channel 19 is selected as input.

pub fn is_100100(&self) -> bool

External channel 20 is selected as input.

pub fn is_100101(&self) -> bool

External channel 21 is selected as input.

pub fn is_100110(&self) -> bool

External channel 22 is selected as input.

pub fn is_100111(&self) -> bool

External channel 23 is selected as input.

pub fn is_101000(&self) -> bool

External channel 24 is selected as input.

pub fn is_101001(&self) -> bool

External channel 25 is selected as input.

pub fn is_101010(&self) -> bool

External channel 26 is selected as input.

pub fn is_101011(&self) -> bool

External channel 27 is selected as input.

pub fn is_101100(&self) -> bool

External channel 28 is selected as input.

pub fn is_101101(&self) -> bool

External channel 29 is selected as input.

pub fn is_101110(&self) -> bool

External channel 30 is selected as input.

pub fn is_101111(&self) -> bool

External channel 31 is selected as input.

pub fn is_11xxxx(&self) -> bool

Module is disabled