atsamd21g::adc::inputctrl

Type Alias R

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

Register INPUTCTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn muxpos(&self) -> MuxposR

Bits 0:4 - Positive Mux Input Selection

Source

pub fn muxneg(&self) -> MuxnegR

Bits 8:12 - Negative Mux Input Selection

Source

pub fn inputscan(&self) -> InputscanR

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

Source

pub fn inputoffset(&self) -> InputoffsetR

Bits 20:23 - Positive Mux Setting Offset

Source

pub fn gain(&self) -> GainR

Bits 24:27 - Gain Factor Selection