DocID13284 Rev 2 259/564
UM0404 XBUS asynchronous / synchronous serial interface
Bit Function
S1M
XASC Mode Control
0 0 0: 8-bit data synchronous operation
0 0 1: 8-bit data asynchronous operation
0 1 0: Reserved. Do not use this combination
0 1 1: 7-bit data + parity asynchronous operation
1 0 0: 9-bit data asynchronous operation
1 0 1: 8-bit data + wake up bit asynchronous operation
1 1 0: Reserved. Do not use this combination
1 1 1: 8-bit data + parity asynchronous operation
S1STP
Number of Stop bit Selection asynchronous operation
0: One stop bit
1: Two stop bit
S1REN
Receiver Enable bit
0: Receiver disabled
1: Receiver enabled
(Reset by hardware after reception of byte in synchronous mode)
S1PEN
Parity Check Enable bit asynchronous operation
0: Ignore parity
1: Check parity
S1FEN
Framing Check Enable bit asynchronous operation
0: Ignore framing errors
1: Check framing errors
S1OEN
Overrun Check Enable bit
0: Ignore overrun errors
1: Check overrun errors
S1PE
Parity Error Flag
Set by hardware on a parity error (S1PEN
= ‘1’). Must be reset by software.
S1FE
Framing Error Flag
Set by hardware on a framing error (S1FEN
= ‘1’). Must be reset by software.
S1OE
Overrun Error Flag
Set by hardware on an overrun error (S1OEN
= ‘1’). Must be reset by software.
S1ODD
Parity Selection bit
0: Even parity (parity bit set on odd number of ‘1’s in data)
1: Odd parity (parity bit set on even number of ‘1’s in data)
S1BRS
Baud rate Selection bit
0: Divide clock by reload-value + constant (depending on mode)
1: Additionally reduce serial clock to 2/3rd
S1LB
Loopback Mode Enable bit
0: Standard transmit/receive mode
1: Loopback mode enabled
S1R
Baud rate Generator Run bit
0: Baud rate generator disabled (XASC inactive)
1: Baud rate generator enabled