[][src]Type Definition atsame54p20a::dac::dacctrl::W

type W = W<u16, DACCTRL>;

Writer for register DACCTRL%s

Methods

impl W[src]

pub fn leftadj(&mut self) -> LEFTADJ_W[src]

Bit 0 - Left Adjusted Data

pub fn enable(&mut self) -> ENABLE_W[src]

Bit 1 - Enable DAC0

pub fn cctrl(&mut self) -> CCTRL_W[src]

Bits 2:3 - Current Control

pub fn fext(&mut self) -> FEXT_W[src]

Bit 5 - Standalone Filter

pub fn runstdby(&mut self) -> RUNSTDBY_W[src]

Bit 6 - Run in Standby

pub fn dither(&mut self) -> DITHER_W[src]

Bit 7 - Dithering Mode

pub fn refresh(&mut self) -> REFRESH_W[src]

Bits 8:11 - Refresh period

pub fn osr(&mut self) -> OSR_W[src]

Bits 13:15 - Sampling Rate