Type Alias xmc4400::dac::dac0cfg0::R

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

Register DAC0CFG0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn freq(&self) -> FREQ_R

Bits 0:19 - Integer Frequency Divider Value

source

pub fn mode(&self) -> MODE_R

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

source

pub fn sign(&self) -> SIGN_R

Bit 23 - Selects Between Signed and Unsigned DAC0 Mode

source

pub fn fifoind(&self) -> FIFOIND_R

Bits 24:25 - Current write position inside the data FIFO

source

pub fn fifoemp(&self) -> FIFOEMP_R

Bit 26 - Indicate if the FIFO is empty

source

pub fn fifoful(&self) -> FIFOFUL_R

Bit 27 - Indicate if the FIFO is full

source

pub fn negate(&self) -> NEGATE_R

Bit 28 - Negates the DAC0 output

source

pub fn signen(&self) -> SIGNEN_R

Bit 29 - Enable Sign Output of DAC0 Pattern Generator

source

pub fn sren(&self) -> SREN_R

Bit 30 - Enable DAC0 service request interrupt generation

source

pub fn run(&self) -> RUN_R

Bit 31 - RUN indicates the current DAC0 operation status