Type Definition gd32f1::gd32f170::dac::ctl::W[][src]

type W = W<u32, CTL>;

Writer for register CTL

Implementations

impl W[src]

pub fn den0(&mut self) -> DEN0_W<'_>[src]

Bit 0 - DAC0 enable

pub fn dboff0(&mut self) -> DBOFF0_W<'_>[src]

Bit 1 - DAC0 output buffer turn off

pub fn dten0(&mut self) -> DTEN0_W<'_>[src]

Bit 2 - DAC0 trigger enable

pub fn dtsel0(&mut self) -> DTSEL0_W<'_>[src]

Bits 3:5 - DAC0 trigger selection

pub fn ddmaen0(&mut self) -> DDMAEN0_W<'_>[src]

Bit 12 - DAC0 DMA enable

pub fn ddudrie0(&mut self) -> DDUDRIE0_W<'_>[src]

Bit 13 - DAC0 DMA Underrun Interrupt enable

pub fn den1(&mut self) -> DEN1_W<'_>[src]

Bit 16 - DAC1 enable

pub fn dboff1(&mut self) -> DBOFF1_W<'_>[src]

Bit 17 - DAC1 output buffer turn off

pub fn dten1(&mut self) -> DTEN1_W<'_>[src]

Bit 18 - DAC1 trigger enable

pub fn dtsel1(&mut self) -> DTSEL1_W<'_>[src]

Bits 19:21 - DAC1 trigger selection

pub fn ddmaen1(&mut self) -> DDMAEN1_W<'_>[src]

Bit 28 - DAC1 DMA enable

pub fn ddudrie1(&mut self) -> DDUDRIE1_W<'_>[src]

Bit 29 - DAC1 DMA Underrun Interrupt enable