Type Alias xmc4300::vadc_g0::chctr::W

source ·
pub type W = W<CHCTR_SPEC>;
Expand description

Register CHCTR[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn iclsel(&mut self) -> ICLSEL_W<'_, CHCTR_SPEC>

Bits 0:1 - Input Class Select

source

pub fn bndsell(&mut self) -> BNDSELL_W<'_, CHCTR_SPEC>

Bits 4:5 - Lower Boundary Select

source

pub fn bndselu(&mut self) -> BNDSELU_W<'_, CHCTR_SPEC>

Bits 6:7 - Upper Boundary Select

source

pub fn chevmode(&mut self) -> CHEVMODE_W<'_, CHCTR_SPEC>

Bits 8:9 - Channel Event Mode

source

pub fn sync(&mut self) -> SYNC_W<'_, CHCTR_SPEC>

Bit 10 - Synchronization Request

source

pub fn refsel(&mut self) -> REFSEL_W<'_, CHCTR_SPEC>

Bit 11 - Reference Input Selection

source

pub fn resreg(&mut self) -> RESREG_W<'_, CHCTR_SPEC>

Bits 16:19 - Result Register

source

pub fn restbs(&mut self) -> RESTBS_W<'_, CHCTR_SPEC>

Bit 20 - Result Target for Background Source

source

pub fn respos(&mut self) -> RESPOS_W<'_, CHCTR_SPEC>

Bit 21 - Result Position

source

pub fn bwdch(&mut self) -> BWDCH_W<'_, CHCTR_SPEC>

Bits 28:29 - Broken Wire Detection Channel

source

pub fn bwden(&mut self) -> BWDEN_W<'_, CHCTR_SPEC>

Bit 30 - Broken Wire Detection Enable