Download 80296SA Microcontroller User`s Manual

Transcript
REGISTERS
SBUF_RX
Address:
Reset State:
SBUF_RX
1FB8H
00H
The serial port receive buffer (SBUF_RX) register contains data received from the serial port. The
serial port receiver is buffered and can begin receiving a second data byte before the first byte is read.
Data is held in the receive shift register until the last data bit is received, then the data byte is loaded
into SBUF_RX. If data in the shift register is loaded into SBUF_RX before the previous byte is read,
the overflow error bit is set (SP_STATUS.2). The data in SBUF_RX will always be the last byte
received, never a combination of the last two bytes.
7
0
Data Received
Bit
Number
7:0
Function
Data Received
This register contains the last byte of data received from the serial port.
C-51