Type Alias xmc4300::dac::dac1cfg0::W

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

Register DAC1CFG0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:19 - Integer Frequency Divider Value

source

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

Bits 20:22 - Enables and sets the Mode for DAC1

source

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

Bit 23 - Selects between signed and unsigned DAC1 mode

source

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

Bit 28 - Negates the DAC1 output

source

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

Bit 29 - Enable sign output of DAC1 pattern generator

source

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

Bit 30 - Enable DAC1 service request interrupt generation