Type Alias d1_pac::lradc::lradc_ctrl::LRADC_SAMPLE_RATE_R

source ·
pub type LRADC_SAMPLE_RATE_R = FieldReader<u8, LRADC_SAMPLE_RATE_A>;
Expand description

Field lradc_sample_rate reader - LRADC Sample Rate

Aliased Type§

struct LRADC_SAMPLE_RATE_R { /* private fields */ }

Implementations§

source§

impl LRADC_SAMPLE_RATE_R

source

pub fn variant(&self) -> LRADC_SAMPLE_RATE_A

Get enumerated values variant

source

pub fn is_r2k(&self) -> bool

Checks if the value of the field is R2K

source

pub fn is_r1k(&self) -> bool

Checks if the value of the field is R1K

source

pub fn is_r500(&self) -> bool

Checks if the value of the field is R500

source

pub fn is_r250(&self) -> bool

Checks if the value of the field is R250