Type Alias atsame54n::adc0::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 flushei(&mut self) -> FLUSHEI_W<'_, EVCTRL_SPEC, 0>

Bit 0 - Flush Event Input Enable

source

pub fn startei(&mut self) -> STARTEI_W<'_, EVCTRL_SPEC, 1>

Bit 1 - Start Conversion Event Input Enable

source

pub fn flushinv(&mut self) -> FLUSHINV_W<'_, EVCTRL_SPEC, 2>

Bit 2 - Flush Event Invert Enable

source

pub fn startinv(&mut self) -> STARTINV_W<'_, EVCTRL_SPEC, 3>

Bit 3 - Start Conversion Event Invert Enable

source

pub fn resrdyeo(&mut self) -> RESRDYEO_W<'_, EVCTRL_SPEC, 4>

Bit 4 - Result Ready Event Out

source

pub fn winmoneo(&mut self) -> WINMONEO_W<'_, EVCTRL_SPEC, 5>

Bit 5 - Window Monitor Event Out

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