Type Alias gd32f1::gd32f130::adc::ctl0::R

source ·
pub type R = R<Ctl0Spec>;
Expand description

Register CTL0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn wdchsel(&self) -> WdchselR

Bits 0:4 - Analog watchdog channel select

source

pub fn eocie(&self) -> EocieR

Bit 5 - Interrupt enable for EOC

source

pub fn wdeie(&self) -> WdeieR

Bit 6 - Interrupt enable for WDE

source

pub fn eoicie(&self) -> EoicieR

Bit 7 - Interrupt enable for EOIC

source

pub fn sm(&self) -> SmR

Bit 8 - Scan mode

source

pub fn wdsc(&self) -> WdscR

Bit 9 - When in scan mode, analog watchdog is effective on a single channel

source

pub fn ica(&self) -> IcaR

Bit 10 - Inserted channel group convert automatically

source

pub fn disrc(&self) -> DisrcR

Bit 11 - Discontinuous mode on regular channels

source

pub fn disic(&self) -> DisicR

Bit 12 - Discontinuous mode on injected channels

source

pub fn disnum(&self) -> DisnumR

Bits 13:15 - Number of conversions in discontinuous mode

source

pub fn iwden(&self) -> IwdenR

Bit 22 - Inserted channel analog watchdog enable

source

pub fn rwden(&self) -> RwdenR

Bit 23 - Regular channel analog watchdog enable