Type Alias xmc4800::vadc_g0::chctr::W

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

Register CHCTR[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn iclsel(&mut self) -> IclselW<'_, ChctrSpec>

Bits 0:1 - Input Class Select

source

pub fn bndsell(&mut self) -> BndsellW<'_, ChctrSpec>

Bits 4:5 - Lower Boundary Select

source

pub fn bndselu(&mut self) -> BndseluW<'_, ChctrSpec>

Bits 6:7 - Upper Boundary Select

source

pub fn chevmode(&mut self) -> ChevmodeW<'_, ChctrSpec>

Bits 8:9 - Channel Event Mode

source

pub fn sync(&mut self) -> SyncW<'_, ChctrSpec>

Bit 10 - Synchronization Request

source

pub fn refsel(&mut self) -> RefselW<'_, ChctrSpec>

Bit 11 - Reference Input Selection

source

pub fn resreg(&mut self) -> ResregW<'_, ChctrSpec>

Bits 16:19 - Result Register

source

pub fn restbs(&mut self) -> RestbsW<'_, ChctrSpec>

Bit 20 - Result Target for Background Source

source

pub fn respos(&mut self) -> ResposW<'_, ChctrSpec>

Bit 21 - Result Position

source

pub fn bwdch(&mut self) -> BwdchW<'_, ChctrSpec>

Bits 28:29 - Broken Wire Detection Channel

source

pub fn bwden(&mut self) -> BwdenW<'_, ChctrSpec>

Bit 30 - Broken Wire Detection Enable