Type Alias xmc4300::dac::dac0cfg0::R

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

Register DAC0CFG0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn freq(&self) -> FreqR

Bits 0:19 - Integer Frequency Divider Value

source

pub fn mode(&self) -> ModeR

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

source

pub fn sign(&self) -> SignR

Bit 23 - Selects Between Signed and Unsigned DAC0 Mode

source

pub fn fifoind(&self) -> FifoindR

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

source

pub fn fifoemp(&self) -> FifoempR

Bit 26 - Indicate if the FIFO is empty

source

pub fn fifoful(&self) -> FifofulR

Bit 27 - Indicate if the FIFO is full

source

pub fn negate(&self) -> NegateR

Bit 28 - Negates the DAC0 output

source

pub fn signen(&self) -> SignenR

Bit 29 - Enable Sign Output of DAC0 Pattern Generator

source

pub fn sren(&self) -> SrenR

Bit 30 - Enable DAC0 service request interrupt generation

source

pub fn run(&self) -> RunR

Bit 31 - RUN indicates the current DAC0 operation status