The 8051 has only single SBUF register. But the datasheet say it can support full duplex. for full duplex communication we must have different buffers(?) for transmitting and receiving. how a single byte SBUF register work as two registers ?
from the site www.edsim51.com/.../serial.html Unlike any other register in the 8051, SBUF is in fact two distinct registers - the write-only register and the read-only register. Transmitted data is sent out from the write-only register while received data is stored in the read-only register. There are two separate data lines, one for transmission (TXD) and one for reception (RXD). Therefore, the serial port can be transmitting data down the TXD line while it is at the same time receiving data on the RXD line.
how the single buffer register act as two?