[][src]Struct atsamd51j19a::dac::dacctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u16) -> &mut Self[src]

Writes raw bits to the register

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

Bit 0 - Left Adjusted Data

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

Bit 1 - Enable DAC0

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

Bits 2:3 - Current Control

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

Bit 5 - Standalone Filter

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

Bit 6 - Run in Standby

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

Bit 7 - Dithering Mode

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

Bits 8:11 - Refresh period

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

Bits 13:15 - Sampling Rate

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]