Type Alias atsame54n::adc0::inputctrl::W

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

Register INPUTCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn muxpos(&mut self) -> MUXPOS_W<'_, INPUTCTRL_SPEC, 0>

Bits 0:4 - Positive Mux Input Selection

source

pub fn diffmode(&mut self) -> DIFFMODE_W<'_, INPUTCTRL_SPEC, 7>

Bit 7 - Differential Mode

source

pub fn muxneg(&mut self) -> MUXNEG_W<'_, INPUTCTRL_SPEC, 8>

Bits 8:12 - Negative Mux Input Selection

source

pub fn dseqstop(&mut self) -> DSEQSTOP_W<'_, INPUTCTRL_SPEC, 15>

Bit 15 - Stop DMA Sequencing

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual