8XC251SA, SB, SP, SQ USER'S MANUAL
Table 10-2. Serial Port Special Function Registers
Mnemonic
SBUF
Serial Buffer. Two separate registers comprise the SBUF register. Writing
to SBUF loads the transmit buffer; reading SBUF accesses the receive
buffer.
SCON
Serial Port Control. Selects the serial port operating mode. SCON enables
and disables the receiver, framing bit error detection, multiprocessor
communication, automatic address recognition, and the serial port interrupt
bits.
SADDR
Serial Address. Defines the individual address for a slave device.
SADEN
Serial Address Enable. Specifies the mask byte that is used to define the
given address for a slave device.
TXD
RXD
RI
Serial I/O
Control
10-2
Description
IB Bus
Write SBUF
SBUF
(Transmit)
Mode 0
Transmit
TI
SCON
Figure 10-1. Serial Port Block Diagram
Read SBUF
SBUF
(Receive)
Receive
Shift Register
Interrupt
Request
Address
99H
98H
A8H
B8H
Load SBUF
A4123-02