Type Alias xmc4300::vadc_g0::chctr::CHEVMODE_W

source ·
pub type CHEVMODE_W<'a, REG> = FieldWriter<'a, REG, 2, CHEVMODE_A, Safe>;
Expand description

Field CHEVMODE writer - Channel Event Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG> CHEVMODE_W<'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