Struct gd32f1::gd32f190::adc::ovsampctl::W [−][src]
pub struct W(_);
Register OVSAMPCTL
writer
Implementations
impl W
[src]
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
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.
Methods from Deref<Target = W<OVSAMPCTL_SPEC>>
Trait Implementations
impl From<W<OVSAMPCTL_SPEC>> for W
[src]
impl From<W<OVSAMPCTL_SPEC>> for W
[src]