Type Alias d1_pac::tpadc::tp_ctrl0::ADC_CLK_DIVIDER_R

source ·
pub type ADC_CLK_DIVIDER_R = FieldReader<u8, ADC_CLK_DIVIDER_A>;
Expand description

Field adc_clk_divider reader - ADC Clock Divider (CLK_IN)

Aliased Type§

struct ADC_CLK_DIVIDER_R { /* private fields */ }

Implementations§

source§

impl ADC_CLK_DIVIDER_R

source

pub fn variant(&self) -> ADC_CLK_DIVIDER_A

Get enumerated values variant

source

pub fn is_c2(&self) -> bool

Checks if the value of the field is C2

source

pub fn is_c3(&self) -> bool

Checks if the value of the field is C3

source

pub fn is_c6(&self) -> bool

Checks if the value of the field is C6

source

pub fn is_c1(&self) -> bool

Checks if the value of the field is C1