Type Alias atsamd51p::adc0::dseqctrl::W

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

Register DSEQCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn inputctrl(&mut self) -> INPUTCTRL_W<'_, DSEQCTRL_SPEC, 0>

Bit 0 - Input Control

source

pub fn ctrlb(&mut self) -> CTRLB_W<'_, DSEQCTRL_SPEC, 1>

Bit 1 - Control B

source

pub fn refctrl(&mut self) -> REFCTRL_W<'_, DSEQCTRL_SPEC, 2>

Bit 2 - Reference Control

source

pub fn avgctrl(&mut self) -> AVGCTRL_W<'_, DSEQCTRL_SPEC, 3>

Bit 3 - Average Control

source

pub fn sampctrl(&mut self) -> SAMPCTRL_W<'_, DSEQCTRL_SPEC, 4>

Bit 4 - Sampling Time Control

source

pub fn winlt(&mut self) -> WINLT_W<'_, DSEQCTRL_SPEC, 5>

Bit 5 - Window Monitor Lower Threshold

source

pub fn winut(&mut self) -> WINUT_W<'_, DSEQCTRL_SPEC, 6>

Bit 6 - Window Monitor Upper Threshold

source

pub fn gaincorr(&mut self) -> GAINCORR_W<'_, DSEQCTRL_SPEC, 7>

Bit 7 - Gain Correction

source

pub fn offsetcorr(&mut self) -> OFFSETCORR_W<'_, DSEQCTRL_SPEC, 8>

Bit 8 - Offset Correction

source

pub fn autostart(&mut self) -> AUTOSTART_W<'_, DSEQCTRL_SPEC, 31>

Bit 31 - ADC Auto-Start Conversion

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual