TC1796
Peripheral Units (Vol. 2 of 2)
Asynchronous/Synchronous Serial Interface (ASC)
User’s Manual 19-22 V2.0, 2007-07
ASC, V2.0
The serial operating modes of the ASC module are controlled by its Control Register
CON. This register contains control bits for mode and error check selection, and status
flags for error identification.
CON
Control Register (10
H
) Reset Value: 0000 0000
H
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0
r
1514131211109876543210
R LB BRS ODD FDE OE FE PE OEN FEN PEN REN STP M
rw rw rw rw rw rwh rwh rwh rw rw rw rwh rw rw
Field Bits Type Description
M [2:0] rw Mode Selection
000
B
8-bit data Synchronous Mode
001
B
8-bit data Asynchronous Mode
010
B
Reserved. Do not use this combination.
011
B
7-bit data + parity Asynchronous Mode
100
B
9-bit data Asynchronous Mode
101
B
8-bit data + wake up bit Asynchronous Mode
110
B
Reserved. Do not use this combination.
111
B
8-bit data + parity Asynchronous Mode
STP 3rwNumber of Stop Bit Selection
0
B
One stop bit
1
B
Two stop bits
REN 4rwhReceiver Enable Control
0
B
Receiver disabled
1
B
Receiver enabled
Bit is cleared by hardware after reception of a byte in
Synchronous Mode.
PEN 5rwParity Check Enable (asynchronous modes only)
0
B
Ignore parity
1
B
Check parity