Type Alias xmc4400::usic0_ch0::pcr_ascmode::IDM_W

source ·
pub type IDM_W<'a, REG> = BitWriter<'a, REG, IDM_A>;
Expand description

Field IDM writer - Idle Detection Mode

Aliased Type§

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

Implementations§

source§

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

source

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

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 value2(self) -> &'a mut W<REG>

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).