atsamd11d::adc::inputctrl

Type Alias W

Source
pub type W = W<InputctrlSpec>;
Expand description

Register INPUTCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn muxpos(&mut self) -> MuxposW<'_, InputctrlSpec>

Bits 0:4 - Positive Mux Input Selection

Source

pub fn muxneg(&mut self) -> MuxnegW<'_, InputctrlSpec>

Bits 8:12 - Negative Mux Input Selection

Source

pub fn inputscan(&mut self) -> InputscanW<'_, InputctrlSpec>

Bits 16:19 - Number of Input Channels Included in Scan

Source

pub fn inputoffset(&mut self) -> InputoffsetW<'_, InputctrlSpec>

Bits 20:23 - Positive Mux Setting Offset

Source

pub fn gain(&mut self) -> GainW<'_, InputctrlSpec>

Bits 24:27 - Gain Factor Selection