Type Alias xmc4300::usic0_ch0::pcr_ascmode::IdmW

source ·
pub type IdmW<'a, REG> = BitWriter<'a, REG, Idm>;
Expand description

Field IDM writer - Idle Detection Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG> IdmW<'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).