Type Alias gd32e1::gd32e103::dac::ctl::R

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

Register CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn den0(&self) -> Den0R

Bit 0 - DAC0 enable

source

pub fn dboff0(&self) -> Dboff0R

Bit 1 - DAC0 output buffer turn off

source

pub fn dten0(&self) -> Dten0R

Bit 2 - DAC0 trigger enable

source

pub fn dtsel0(&self) -> Dtsel0R

Bits 3:5 - DAC0 trigger selection

source

pub fn dwm0(&self) -> Dwm0R

Bits 6:7 - DAC0 noise wave mode

source

pub fn dwbw0(&self) -> Dwbw0R

Bits 8:11 - DAC0 noise wave bit width

source

pub fn ddmaen0(&self) -> Ddmaen0R

Bit 12 - DAC0 DMA enable

source

pub fn den1(&self) -> Den1R

Bit 16 - DAC1 enable

source

pub fn dboff1(&self) -> Dboff1R

Bit 17 - DAC1 output buffer turn off

source

pub fn dten1(&self) -> Dten1R

Bit 18 - DAC1 trigger enable

source

pub fn dtsel1(&self) -> Dtsel1R

Bits 19:21 - DAC1 trigger selection

source

pub fn dwm1(&self) -> Dwm1R

Bits 22:23 - DAC1 noise wave mode

source

pub fn dwbw1(&self) -> Dwbw1R

Bits 24:27 - DAC1 noise wave bit width

source

pub fn ddmaen1(&self) -> Ddmaen1R

Bit 28 - DAC1 DMA enable