Type Alias d1_pac::audio_codec::adc_vol_ctrl1::ADC_VOL_R

source ·
pub type ADC_VOL_R = FieldReader<u8, ADC_VOL_A>;
Expand description

Field adc_vol[1-3] reader - ADC[i] channel volume (-119.25 dB To 71.25 dB, 0.75 dB/Step)

Aliased Type§

struct ADC_VOL_R { /* private fields */ }

Implementations§

source§

impl ADC_VOL_R

source

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

Get enumerated values variant

source

pub fn is_m_ute(&self) -> bool

Checks if the value of the field is M_UTE

source

pub fn is_n_119_25db(&self) -> bool

Checks if the value of the field is N_119_25DB

source

pub fn is_0db(&self) -> bool

Checks if the value of the field is _0DB

source

pub fn is_71_25db(&self) -> bool

Checks if the value of the field is _71_25DB