Type Alias xmc4400::usic0_ch0::pcr_ascmode::CDEN_R

source ·
pub type CDEN_R = BitReader<CDEN_A>;
Expand description

Field CDEN reader - Collision Detection Enable

Aliased Type§

struct CDEN_R { /* private fields */ }

Implementations§

source§

impl CDEN_R

source

pub const fn variant(&self) -> CDEN_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

The collision detection is disabled.

source

pub fn is_value2(&self) -> bool

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.