Infineon /XMC4200 /USIC0_CH0 /PCR_ASCMode

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as PCR_ASCMode

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (value1)SMD 0 (value1)STPB 0 (value1)IDM 0 (value1)SBIEN 0 (value1)CDEN 0 (value1)RNIEN 0 (value1)FEIEN 0 (value1)FFIEN 0SP0 (value1)PL0 (value1)RSTEN 0 (value1)TSTEN 0 (value1)MCLK

SBIEN=value1, STPB=value1, RSTEN=value1, FFIEN=value1, SMD=value1, CDEN=value1, PL=value1, IDM=value1, FEIEN=value1, TSTEN=value1, MCLK=value1, RNIEN=value1

Description

Protocol Control Register [ASC Mode]

Fields

SMD

Sample Mode

0 (value1): Only one sample is taken per bit time. The current input value is sampled.

1 (value2): Three samples are taken per bit time and a majority decision is made.

STPB

Stop Bits

0 (value1): The number of stop bits is 1.

1 (value2): The number of stop bits is 2.

IDM

Idle Detection Mode

0 (value1): 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.

1 (value2): 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).

SBIEN

Synchronization Break Interrupt Enable

0 (value1): The interrupt generation is disabled.

1 (value2): The interrupt generation is enabled.

CDEN

Collision Detection Enable

0 (value1): The collision detection is disabled.

1 (value2): 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.

RNIEN

Receiver Noise Detection Interrupt Enable

0 (value1): The interrupt generation is disabled.

1 (value2): The interrupt generation is enabled.

FEIEN

Format Error Interrupt Enable

0 (value1): The interrupt generation is disabled.

1 (value2): The interrupt generation is enabled.

FFIEN

Frame Finished Interrupt Enable

0 (value1): The interrupt generation is disabled.

1 (value2): The interrupt generation is enabled.

SP

Sample Point

PL

Pulse Length

0 (value1): The pulse length is equal to the bit length (no shortened 0).

1 (value2): The pulse length of a 0 bit is 2 time quanta.

2 (value3): The pulse length of a 0 bit is 3 time quanta.

7 (value4): The pulse length of a 0 bit is 8 time quanta.

RSTEN

Receiver Status Enable

0 (value1): Flag PSR[9] is not modified depending on the receiver status.

1 (value2): Flag PSR[9] is set during the complete reception of a frame.

TSTEN

Transmitter Status Enable

0 (value1): Flag PSR[9] is not modified depending on the transmitter status.

1 (value2): Flag PSR[9] is set during the complete transmission of a frame.

MCLK

Master Clock Enable

0 (value1): The MCLK generation is disabled and the MCLK signal is 0.

1 (value2): The MCLK generation is enabled.

Links

()