Type Alias xmc4400::hrpwm0::csgcfg::C2PM_R

source ·
pub type C2PM_R = FieldReader<C2PM_A>;
Expand description

Field C2PM reader - CSG2 Power Mode

Aliased Type§

struct C2PM_R { /* private fields */ }

Implementations§

source§

impl C2PM_R

source

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

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

CSG2 unit is powered OFF

source

pub fn is_value2(&self) -> bool

CSG2 unit is set in Low Speed Mode

source

pub fn is_value4(&self) -> bool

CSG2 unit is set in High Speed Mode