Type Alias xmc4800::dac::dac0cfg0::ModeW

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

Field MODE writer - Enables and Sets the Mode for DAC0

Aliased Type§

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

Implementations§

source§

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

source

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

disable/switch-off DAC

source

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

Single Value Mode

source

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

Data Mode

source

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

Patgen Mode

source

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

Noise Mode

source

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

Ramp Mode

source

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

na

source

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

na