Type Alias atsame51g::dac::intflag::W

source ·
pub type W = W<INTFLAG_SPEC>;
Expand description

Register INTFLAG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn underrun0(&mut self) -> UNDERRUN0_W<'_, INTFLAG_SPEC, 0>

Bit 0 - Result 0 Underrun

source

pub fn underrun1(&mut self) -> UNDERRUN1_W<'_, INTFLAG_SPEC, 1>

Bit 1 - Result 1 Underrun

source

pub fn empty0(&mut self) -> EMPTY0_W<'_, INTFLAG_SPEC, 2>

Bit 2 - Data Buffer 0 Empty

source

pub fn empty1(&mut self) -> EMPTY1_W<'_, INTFLAG_SPEC, 3>

Bit 3 - Data Buffer 1 Empty

source

pub fn resrdy0(&mut self) -> RESRDY0_W<'_, INTFLAG_SPEC, 4>

Bit 4 - Result 0 Ready

source

pub fn resrdy1(&mut self) -> RESRDY1_W<'_, INTFLAG_SPEC, 5>

Bit 5 - Result 1 Ready

source

pub fn overrun0(&mut self) -> OVERRUN0_W<'_, INTFLAG_SPEC, 6>

Bit 6 - Result 0 Overrun

source

pub fn overrun1(&mut self) -> OVERRUN1_W<'_, INTFLAG_SPEC, 7>

Bit 7 - Result 1 Overrun

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual