ST10R272L - ASYNCHRONOUS/SYNCHRONOUS SERIAL INTERFACE
228/320
12.1 Asynchronous
operation
Asynchronous mode supports full-duplex communication, where both transmitter and
receiver use the same data frame format and the same baud rate. Data is transmitted on pin
S0FEN
Framing Check Enable Bitasync. operation
0:
Ignore framing errors
1:
Check framing errors
S0OEN
Overrun Check Enable Bit
0:
Ignore overrun errors
1:
Check overrun errors
S0PE
Parity Error Flag
Set by hardware on a parity error (S0PEN=’1’). Must be reset by software.
S0FE
Framing Error Flag
Set by hardware on a framing error (S0FEN=’1’). Must be reset by software.
S0OE
Overrun Error Flag
Set by hardware on an overrun error (S0OEN=’1’). Must be reset by software.
S0ODD
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)
S0BRS
Baudrate Selection Bit
0:
Divide clock by reload-value + constant (depending on mode)
1:
Additionally reduce serial clock to 2/3rd
S0LB
LoopBack Mode Enable Bit
0:
Standard transmit/receive mode
1:
Loopback mode enabled
S0R
Baudrate Generator Run Bit
0:
Baudrate generator disabled (ASC0 inactive)
1:
Baudrate generator enabled
Bit
Function