Type Alias d1_pac::audio_codec::adc::IOPADC_R

source ·
pub type IOPADC_R = FieldReader<u8, IOPADC_A>;
Expand description

Field iopadc reader - ADC1-ADC3 Bias Current Select

Aliased Type§

struct IOPADC_R { /* private fields */ }

Implementations§

source§

impl IOPADC_R

source

pub fn variant(&self) -> IOPADC_A

Get enumerated values variant

source

pub fn is_1u(&self) -> bool

Checks if the value of the field is _1U

source

pub fn is_2u(&self) -> bool

Checks if the value of the field is _2U

source

pub fn is_3u(&self) -> bool

Checks if the value of the field is _3U

source

pub fn is_4u(&self) -> bool

Checks if the value of the field is _4U