Type Alias xmc4300::vadc_g0::chctr::ChevmodeR

source ·
pub type ChevmodeR = FieldReader<Chevmode>;
Expand description

Field CHEVMODE reader - Channel Event Mode

Aliased Type§

struct ChevmodeR { /* private fields */ }

Implementations§

source§

impl ChevmodeR

source

pub const fn variant(&self) -> Chevmode

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Never

source

pub fn is_value2(&self) -> bool

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

source

pub fn is_value3(&self) -> bool

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

source

pub fn is_value4(&self) -> bool

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