Type Alias xmc4800::dac::dac0cfg0::W

source ·
pub type W = W<DAC0CFG0_SPEC>;
Expand description

Register DAC0CFG0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn freq(&mut self) -> FREQ_W<'_, DAC0CFG0_SPEC>

Bits 0:19 - Integer Frequency Divider Value

source

pub fn mode(&mut self) -> MODE_W<'_, DAC0CFG0_SPEC>

Bits 20:22 - Enables and Sets the Mode for DAC0

source

pub fn sign(&mut self) -> SIGN_W<'_, DAC0CFG0_SPEC>

Bit 23 - Selects Between Signed and Unsigned DAC0 Mode

source

pub fn negate(&mut self) -> NEGATE_W<'_, DAC0CFG0_SPEC>

Bit 28 - Negates the DAC0 output

source

pub fn signen(&mut self) -> SIGNEN_W<'_, DAC0CFG0_SPEC>

Bit 29 - Enable Sign Output of DAC0 Pattern Generator

source

pub fn sren(&mut self) -> SREN_W<'_, DAC0CFG0_SPEC>

Bit 30 - Enable DAC0 service request interrupt generation