ST & T UPSD3212A Computer Hardware User Manual


 
uPSD3212A, uPSD3212C, uPSD3212CV
56/163
Serial Port Control Register
The serial port control and status register is the
Special Function Register SCON (SCON2 for the
second port), shown in Figure 27. This register
(see Tables 43 and 44) contains not only the mode
selection bits, but also the 9th data bit for transmit
and receive (TB8 and RB8), and the Serial Port In-
terrupt Bits (TI and RI).
Figure 27. Serial Port Mode 0, Block Diagram
Table 43. Serial Port Control Register (SCON)
76543210
SM0 SM1 SM2 REN TB8 RB8 TI RI
AI06824
Zero Detector
Internal Bus
Tx Control
Rx Control
Internal Bus
SBUF
Write
to
SBUF
Read
SBUF
Load
SBUF
SBUF
Input Shift Register
Shift
Shift
Clock
Serial
Port
Interrupt
S6
REN
R1
Rx Clock
Start
Tx Clock
Start
Shift
Shift
Send
Receive
T
R
CL
DS
Q
7 6 5 4 3 2 1 0
RxD
P3.0 Alt
Input
Function
RxD
P3.0 Alt
Output
Function
TxD
P3.1 Alt
Output
Function