Type Alias xmc4400::hrpwm0::csgcfg::C2PM_W

source ·
pub type C2PM_W<'a, REG> = FieldWriter<'a, REG, 2, C2PM_A>;
Expand description

Field C2PM writer - CSG2 Power Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG> C2PM_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

CSG2 unit is powered OFF

source

pub fn value2(self) -> &'a mut W<REG>

CSG2 unit is set in Low Speed Mode

source

pub fn value4(self) -> &'a mut W<REG>

CSG2 unit is set in High Speed Mode