Type Alias d1_pac::gpadc::gp_ctrl::ADC_EN_R

source ·
pub type ADC_EN_R = BitReader<ADC_EN_A>;
Expand description

Field adc_en reader - ADC Function Enable

Before the bit is enabled, configure ADC parameters including the work mode and channel number, etc.

Aliased Type§

struct ADC_EN_R { /* private fields */ }

Implementations§

source§

impl ADC_EN_R

source

pub fn variant(&self) -> ADC_EN_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE