Type Alias gd32e1::gd32e103::adc1::ctl1::AdconR

source ·
pub type AdconR = BitReader<Adcon>;
Expand description

Field ADCON reader - ADC on

Aliased Type§

struct AdconR { /* private fields */ }

Implementations§

source§

impl AdconR

source

pub const fn variant(&self) -> Adcon

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Disable ADC conversion/calibration and go to power down mode

source

pub fn is_enabled(&self) -> bool

Enable ADC and to start conversion