Type Alias xmc4800::eru0::exicon::LD_W

source ·
pub type LD_W<'a, REG> = BitWriter<'a, REG, LD_A>;
Expand description

Field LD writer - Rebuild Level Detection for Status Flag for ETLx

Aliased Type§

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

Implementations§

source§

impl<'a, REG> LD_W<'a, REG>
where REG: Writable + RegisterSpec,

source

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

The status flag FL is not cleared by hardware and is used as “sticky” bit. Once set, it is not influenced by any edge until it becomes cleared by software.

source

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

The status flag FL rebuilds a level detection of the desired event. It becomes automatically set with a rising edge if RE = 1 or with a falling edge if FE = 1. It becomes automatically cleared with a rising edge if RE = 0 or with a falling edge if FE = 0.