Type Alias xmc4200::hrpwm0_hrc0::gsel::C0M_W

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

Field C0M writer - Source selector 0 clear configuration

Aliased Type§

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

Implementations§

source§

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

source

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

Clear from source selector 0 is controlled via the Capture/Compare Unit timer, CCSTy signal

source

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

Clear from source selector 0 is controlled via the CMP output from the CSGy unit. Which unit is being used is configured via the C0CS field.