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

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

Register DAC1CFG0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn freq(&mut self) -> FreqW<'_, Dac1cfg0Spec>

Bits 0:19 - Integer Frequency Divider Value

source

pub fn mode(&mut self) -> ModeW<'_, Dac1cfg0Spec>

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

source

pub fn sign(&mut self) -> SignW<'_, Dac1cfg0Spec>

Bit 23 - Selects between signed and unsigned DAC1 mode

source

pub fn negate(&mut self) -> NegateW<'_, Dac1cfg0Spec>

Bit 28 - Negates the DAC1 output

source

pub fn signen(&mut self) -> SignenW<'_, Dac1cfg0Spec>

Bit 29 - Enable sign output of DAC1 pattern generator

source

pub fn sren(&mut self) -> SrenW<'_, Dac1cfg0Spec>

Bit 30 - Enable DAC1 service request interrupt generation