Type Alias xmc4400::hrpwm0_hrc0::gsel::C1ES_W

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

Field C1ES writer - Source selector 1 clear edge configuration

Aliased Type§

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

Implementations§

source§

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

source

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

Generation of the clear signal is disabled

source

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

Clear signal is generated on a LOW to HIGH transition of the selected input

source

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

Clear signal is generated on a HIGH to LOW transition of the selected input

source

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

Clear signal is generated on both transitions of the selected input