Type Alias xmc4200::hrpwm0::csgfsg::P2RB_R

source ·
pub type P2RB_R = BitReader<P2RB_A>;
Expand description

Field P2RB reader - CSG2 prescaler status

Aliased Type§

struct P2RB_R { /* private fields */ }

Implementations§

source§

impl P2RB_R

source

pub const fn variant(&self) -> P2RB_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Prescaler is stopped. The clock used for the slope generation is halted and therefore the slope is frozen.

source

pub fn is_value2(&self) -> bool

Prescaler is running.