atsamd21j::ac::compctrl

Type Alias MuxnegR

Source
pub type MuxnegR = FieldReader<Muxnegselect>;
Expand description

Field MUXNEG reader - Negative Input Mux Selection

Aliased Type§

struct MuxnegR { /* private fields */ }

Implementations§

Source§

impl MuxnegR

Source

pub const fn variant(&self) -> Muxnegselect

Get enumerated values variant

Source

pub fn is_pin0(&self) -> bool

I/O pin 0

Source

pub fn is_pin1(&self) -> bool

I/O pin 1

Source

pub fn is_pin2(&self) -> bool

I/O pin 2

Source

pub fn is_pin3(&self) -> bool

I/O pin 3

Source

pub fn is_gnd(&self) -> bool

Ground

Source

pub fn is_vscale(&self) -> bool

VDD scaler

Source

pub fn is_bandgap(&self) -> bool

Internal bandgap voltage

Source

pub fn is_dac(&self) -> bool

DAC output