Type Alias atsamd51p::dac::evctrl::W

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

Register EVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn startei0(&mut self) -> STARTEI0_W<'_, EVCTRL_SPEC, 0>

Bit 0 - Start Conversion Event Input DAC 0

source

pub fn startei1(&mut self) -> STARTEI1_W<'_, EVCTRL_SPEC, 1>

Bit 1 - Start Conversion Event Input DAC 1

source

pub fn emptyeo0(&mut self) -> EMPTYEO0_W<'_, EVCTRL_SPEC, 2>

Bit 2 - Data Buffer Empty Event Output DAC 0

source

pub fn emptyeo1(&mut self) -> EMPTYEO1_W<'_, EVCTRL_SPEC, 3>

Bit 3 - Data Buffer Empty Event Output DAC 1

source

pub fn invei0(&mut self) -> INVEI0_W<'_, EVCTRL_SPEC, 4>

Bit 4 - Enable Invertion of DAC 0 input event

source

pub fn invei1(&mut self) -> INVEI1_W<'_, EVCTRL_SPEC, 5>

Bit 5 - Enable Invertion of DAC 1 input event

source

pub fn resrdyeo0(&mut self) -> RESRDYEO0_W<'_, EVCTRL_SPEC, 6>

Bit 6 - Result Ready Event Output 0

source

pub fn resrdyeo1(&mut self) -> RESRDYEO1_W<'_, EVCTRL_SPEC, 7>

Bit 7 - Result Ready Event Output 1

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