Type Alias xmc4400::hrpwm0_csg0::sc::SCM_W

source ·
pub type SCM_W<'a, REG> = FieldWriter<'a, REG, 2, SCM_A, Safe>;
Expand description

Field SCM writer - Slope control mode

Aliased Type§

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

Implementations§

source§

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

source

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

Slope generation disabled. Used when the switch between the two reference values, CSGyDSV1This register contains the actual value used for the DSV1 reference. and CSGyDSV2This register contains the actual value used for the DSV2 reference. is done via external signal.

source

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

Decrementing slope generation.

source

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

Incrementing slope generation.

source

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

Triangular slope generation.