Type Alias xmc4300::vadc_g0::chctr::ChevmodeW

source ·
pub type ChevmodeW<'a, REG> = FieldWriterSafe<'a, REG, 2, Chevmode>;
Expand description

Field CHEVMODE writer - Channel Event Mode

Aliased Type§

struct ChevmodeW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> ChevmodeW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

Never

source

pub fn value2(self) -> &'a mut W<REG>

NCM: If result is inside the boundary band FCM: If result becomes high (above cmp. val.)

source

pub fn value3(self) -> &'a mut W<REG>

NCM: If result is outside the boundary band FCM: If result becomes low (below cmp. val.)

source

pub fn value4(self) -> &'a mut W<REG>

NCM: Always (ignore band) FCM: If result switches to either level