Type Alias xmc4800::vadc::ocs::SUS_R

source ·
pub type SUS_R = FieldReader<SUS_A>;
Expand description

Field SUS reader - OCDS Suspend Control

Aliased Type§

struct SUS_R { /* private fields */ }

Implementations§

source§

impl SUS_R

source

pub const fn variant(&self) -> Option<SUS_A>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Will not suspend

source

pub fn is_value2(&self) -> bool

Hard suspend: Clock is switched off immediately.

source

pub fn is_value3(&self) -> bool

Soft suspend mode 0: Stop conversions after the currently running one is completed and its result has been stored. No change for the arbiter.

source

pub fn is_value4(&self) -> bool

Soft suspend mode 1: Stop conversions after the currently running one is completed and its result has been stored. Stop arbiter after the current arbitration round.