Type Definition atsame54n19a_pac::ac::compctrl::W[][src]

type W = W<u32, COMPCTRL>;

Writer for register COMPCTRL[%s]

Implementations

impl W[src]

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Enable

pub fn single(&mut self) -> SINGLE_W<'_>[src]

Bit 2 - Single-Shot Mode

pub fn intsel(&mut self) -> INTSEL_W<'_>[src]

Bits 3:4 - Interrupt Selection

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_>[src]

Bit 6 - Run in Standby

pub fn muxneg(&mut self) -> MUXNEG_W<'_>[src]

Bits 8:10 - Negative Input Mux Selection

pub fn muxpos(&mut self) -> MUXPOS_W<'_>[src]

Bits 12:14 - Positive Input Mux Selection

pub fn swap(&mut self) -> SWAP_W<'_>[src]

Bit 15 - Swap Inputs and Invert

pub fn speed(&mut self) -> SPEED_W<'_>[src]

Bits 16:17 - Speed Selection

pub fn hysten(&mut self) -> HYSTEN_W<'_>[src]

Bit 19 - Hysteresis Enable

pub fn hyst(&mut self) -> HYST_W<'_>[src]

Bits 20:21 - Hysteresis Level

pub fn flen(&mut self) -> FLEN_W<'_>[src]

Bits 24:26 - Filter Length

pub fn out(&mut self) -> OUT_W<'_>[src]

Bits 28:29 - Output