UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 144 of 196
Line Status Register
Address: 0x40005014, Reset: 0x0060, Name: COMLSR
Table 201. Bit Descriptions for COMLSR
Bits
Bit Name
Description
Reset
Access
[15:7]
RESERVED
0x0
R
6
TEMT
COMTX and shift register empty status.
0x1
R
0: COMTX has been written to and contains data to be transmitted. Care
should be taken not to overwrite its value.
1: COMTX and the transmit shift register are empty and it is safe to write
new data to COMTX. Data has been transmitted.
5
THRE
COMTX empty. THRE is cleared when COMRX is read.
0x1
R
0: COMTX has been written to and contains data to be transmitted. Care
should be taken not to overwrite its value.
1: COMTX is empty and it is safe to write new data to COMTX. The previous
data may not have been transmitted yet and can still be present in the
shift register.
4
BI
Break indicator. If set, this bit self clears after COMLSR is read.
0x0
RC
0: SIN was not detected to be longer than the maximum word length.
1: SIN was held low for more than the maximum word length.
3
FE
Framing error. If set, this bit self clears after COMLSR is read.
0x0
RC
0: no invalid stop bit was detected.
1: an invalid stop bit was detected on a received word.
2
PE
Parity error. If set, this bit self clears after COMLSR is read.
0x0
RC
0: No parity error was detected
1: A parity error occurred on a received word.
1
OE
Overrun error. If set, this bit self clears after COMLSR is read.
0x0
RC
0: receive data has not been overwritten
1: receive data was overwritten by new data before COMRX was read.
0
DR
Data ready. This bit is cleared only by reading COMRX. If set, this bit does
not self clear.
0x0
RC
0: COMRX does not contain new receive data.
1: COMRX contains receive data that should be read.
Modem Status Register
Address: 0x40005018, Reset: 0x0000, Name: COMMSR
Table 202. Bit Descriptions for COMMSR
Bits
Bit Name
Description
Reset
Access
[15:8]
RESERVED
Reserved.
0x0
R
7
DCD
Data carrier detect. This bit reflects the direct status complement of the
DCD pin.
0x0
R
0: DCD is currently logic high
1: DCD is currently logic low
6
RI
Ring indicator. This bit reflects the direct status complement of the DCD pin.
0x0
R
0: RI is currently logic high
1: RI is currently logic low
5
DSR
Data set ready. This bit reflects the direct status complement of the DCD pin.
0x0
R
0: DSR is currently logic high
1: DSR is currently logic low
4
CTS
Clear to send. This bit reflects the direct status complement of the DCD pin.
0x0
R
0: CTS is currently logic high
1: CTS is currently logic low