Type Alias gd32e1::gd32e103::dac::ctl::Dwm0W

source ·
pub type Dwm0W<'a, REG> = FieldWriter<'a, REG, 2, Dwm0>;
Expand description

Field DWM0 writer - DAC0 noise wave mode

Aliased Type§

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

Implementations§

source§

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

source

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

Wave disabled

source

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

LFSR noise mode

source

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

Triangle noise mode