Type Definition gd32f1::gd32f170::adc::ovsampctl::W[][src]

type W = W<u32, OVSAMPCTL>;

Writer for register OVSAMPCTL

Implementations

impl W[src]

pub fn tovs(&mut self) -> TOVS_W<'_>[src]

Bit 9 - Triggered Oversampling

pub fn ovss(&mut self) -> OVSS_W<'_>[src]

Bits 5:8 - Oversampling shift

pub fn ovsr(&mut self) -> OVSR_W<'_>[src]

Bits 2:4 - Oversampling ratio

pub fn ovsen(&mut self) -> OVSEN_W<'_>[src]

Bit 0 - Oversampler Enable