Type Alias d1_pac::audio_codec::hmic_ctrl::HMIC_SAMPLE_SELECT_R

source ·
pub type HMIC_SAMPLE_SELECT_R = FieldReader<u8, HMIC_SAMPLE_SELECT_A>;
Expand description

Field hmic_sample_select reader - Down Sample Setting Select

Aliased Type§

struct HMIC_SAMPLE_SELECT_R { /* private fields */ }

Implementations§

source§

impl HMIC_SAMPLE_SELECT_R

source

pub fn variant(&self) -> HMIC_SAMPLE_SELECT_A

Get enumerated values variant

source

pub fn is_by_1(&self) -> bool

Checks if the value of the field is BY_1

source

pub fn is_by_2(&self) -> bool

Checks if the value of the field is BY_2

source

pub fn is_by_4(&self) -> bool

Checks if the value of the field is BY_4

source

pub fn is_by_8(&self) -> bool

Checks if the value of the field is BY_8