Type Definition gd32f1::gd32f130::adc::ctl0::W[][src]

type W = W<u32, CTL0>;

Writer for register CTL0

Implementations

impl W[src]

pub fn dres(&mut self) -> DRES_W<'_>[src]

Bits 24:25 - ADC resolution

pub fn rwden(&mut self) -> RWDEN_W<'_>[src]

Bit 23 - Regular channel analog watchdog enable

pub fn iwden(&mut self) -> IWDEN_W<'_>[src]

Bit 22 - Inserted channel analog watchdog enable

pub fn disnum(&mut self) -> DISNUM_W<'_>[src]

Bits 13:15 - Number of conversions in discontinuous mode

pub fn disic(&mut self) -> DISIC_W<'_>[src]

Bit 12 - Discontinuous mode on injected channels

pub fn disrc(&mut self) -> DISRC_W<'_>[src]

Bit 11 - Discontinuous mode on regular channels

pub fn ica(&mut self) -> ICA_W<'_>[src]

Bit 10 - Inserted channel group convert automatically

pub fn wdsc(&mut self) -> WDSC_W<'_>[src]

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

pub fn sm(&mut self) -> SM_W<'_>[src]

Bit 8 - Scan mode

pub fn eoicie(&mut self) -> EOICIE_W<'_>[src]

Bit 7 - Interrupt enable for EOIC

pub fn wdeie(&mut self) -> WDEIE_W<'_>[src]

Bit 6 - Interrupt enable for WDE

pub fn eocie(&mut self) -> EOCIE_W<'_>[src]

Bit 5 - Interrupt enable for EOC

pub fn wdchsel(&mut self) -> WDCHSEL_W<'_>[src]

Bits 0:4 - Analog watchdog channel select