Type Alias xmc4200::hrpwm0::csgcfg::C1PM_W

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

Field C1PM writer - CSG1 Power Mode

Aliased Type§

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

Implementations§

source§

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

source

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

CSG1 unit is powered OFF

source

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

CSG1 unit is set in Low Speed Mode

source

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

CSG1 unit is set in High Speed Mode