Type Alias xmc4400::usic0_ch0::pcr_ascmode::IDM_R

source ·
pub type IDM_R = BitReader<IDM_A>;
Expand description

Field IDM reader - Idle Detection Mode

Aliased Type§

struct IDM_R { /* private fields */ }

Implementations§

source§

impl IDM_R

source

pub const fn variant(&self) -> IDM_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

The bus idle detection is switched off and bits PSR.TXIDLE and PSR.RXIDLE are set automatically to enable data transfers without checking the inputs before.

source

pub fn is_value2(&self) -> bool

The bus is considered as idle after a number of consecutive passive bit times defined by SCTR.FLE plus 2 (in the case without parity bit) or plus 3 (in the case with parity bit).