Type Alias xmc4800::usic0_ch0::pcr_ascmode::CdenW

source ·
pub type CdenW<'a, REG> = BitWriter<'a, REG, Cden>;
Expand description

Field CDEN writer - Collision Detection Enable

Aliased Type§

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

Implementations§

source§

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

source

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

The collision detection is disabled.

source

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

If a collision is detected, the transmitter stops its data transmission, outputs a 1, sets bit PSR.COL and generates a protocol interrupt. In order to allow data transmission again, PSR.COL has to be cleared by software.