Type Alias atsamd51j::ac::compctrl::R

source ·
pub type R = R<COMPCTRL_SPEC>;
Expand description

Register COMPCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn single(&self) -> SINGLE_R

Bit 2 - Single-Shot Mode

source

pub fn intsel(&self) -> INTSEL_R

Bits 3:4 - Interrupt Selection

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 6 - Run in Standby

source

pub fn muxneg(&self) -> MUXNEG_R

Bits 8:10 - Negative Input Mux Selection

source

pub fn muxpos(&self) -> MUXPOS_R

Bits 12:14 - Positive Input Mux Selection

source

pub fn swap(&self) -> SWAP_R

Bit 15 - Swap Inputs and Invert

source

pub fn speed(&self) -> SPEED_R

Bits 16:17 - Speed Selection

source

pub fn hysten(&self) -> HYSTEN_R

Bit 19 - Hysteresis Enable

source

pub fn hyst(&self) -> HYST_R

Bits 20:21 - Hysteresis Level

source

pub fn flen(&self) -> FLEN_R

Bits 24:26 - Filter Length

source

pub fn out(&self) -> OUT_R

Bits 28:29 - Output