Technical Document #99
Programming the Serial Port — a brief introduction
The serial port hardware has several registers to cater to different
functionalities. Some of the useful registers are: Line control register LCR For configuring the serial port. (Address: comport + 3) Receiver buffer register RBR Holds the data received via the serial port. (comport + 0) Transmitter Buffer register TBR Holds the data to be transmitted.(comport + 0) Line status register LSR Holds the info regarding the line status.(comport + 5)where comport should be replaced with your COM1 or COM2 address. Following are some basic guidelines for programming the serial port:
|

