Type Alias d1_pac::audio_codec::adc::ADC_IOPMIC_R

source ·
pub type ADC_IOPMIC_R = FieldReader<u8, ADC_IOPMIC_A>;
Expand description

Field adc_iopmic reader - ADC OP MIC Bias Current Select

IOPADC is defined by ADC_REG<15:14> from 1 uA to 4 uA.

Aliased Type§

struct ADC_IOPMIC_R { /* private fields */ }

Implementations§

source§

impl ADC_IOPMIC_R

source

pub fn variant(&self) -> ADC_IOPMIC_A

Get enumerated values variant

source

pub fn is_1_50(&self) -> bool

Checks if the value of the field is _1_50

source

pub fn is_1_75(&self) -> bool

Checks if the value of the field is _1_75

source

pub fn is_2_00(&self) -> bool

Checks if the value of the field is _2_00

source

pub fn is_2_25(&self) -> bool

Checks if the value of the field is _2_25