Type Alias xmc4300::dac::dac1cfg0::R

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

Register DAC1CFG0 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 DAC1

source

pub fn sign(&self) -> SIGN_R

Bit 23 - Selects between signed and unsigned DAC1 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 DAC1 output

source

pub fn signen(&self) -> SIGNEN_R

Bit 29 - Enable sign output of DAC1 pattern generator

source

pub fn sren(&self) -> SREN_R

Bit 30 - Enable DAC1 service request interrupt generation

source

pub fn run(&self) -> RUN_R

Bit 31 - RUN indicates the current DAC1 operation status