Type Alias gd32f1::gd32f190::adc::ovsampctl::OvsrW

source ·
pub type OvsrW<'a, REG> = FieldWriterSafe<'a, REG, 3, Ovsr>;
Expand description

Field OVSR writer - Oversampling ratio

Aliased Type§

struct OvsrW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> OvsrW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn times2(self) -> &'a mut W<REG>

2x

source

pub fn times4(self) -> &'a mut W<REG>

4x

source

pub fn times8(self) -> &'a mut W<REG>

8x

source

pub fn times16(self) -> &'a mut W<REG>

16x

source

pub fn times32(self) -> &'a mut W<REG>

32x

source

pub fn times64(self) -> &'a mut W<REG>

64x

source

pub fn times128(self) -> &'a mut W<REG>

128x

source

pub fn times256(self) -> &'a mut W<REG>

256x