Datasheet

Table Of Contents
Data Sheet ADuC7060/ADuC7061
Rev. D | Page 83 of 108
UART Control Register 1
This 8-bit register controls the operation of the UART in
conjunction with COMCON0.
COMCON1 Register
Name: COMCON1
Address: 0xFFFF0710
Default value: 0x00
Access: Read and write
Table 91. COMCON1 MMR Bit Designations
Bit Name Description
7:5 Reserved bits. Not used.
4
LOOPBACK
Loopback. Set by user to enable
loopback mode. In loopback mode,
the transmit pin is forced high.
3:2
Reserved bits. Not used.
1 RTS Request to send.
Set by user to force the RTS output to 0.
Cleared by user to force the RTS
output to 1.
0 DTR Data terminal ready.
Set by user to force the DTR output to 0.
Cleared by user to force the DTR
output to 1.
UART Status Register 0
COMSTA0 Register
Name: COMSTA0
Address: 0xFFFF0714
Default value: 0x60
Access: Read only
Function: This 8-bit read-only register reflects the
current status on the UART.
Table 92. COMSTA0 MMR Bit Designations
Bit Name Description
7 Reserved.
6
TEMT
COMTX and shift register empty status bit.
Set automatically if COMTX and the shift
register are empty. This bit indicates that
the data has been transmitted, that is, no
more data is present in the shift register.
Cleared automatically when writing to
COMTX.
5 THRE COMTX empty status bit.
Set automatically if COMTX is empty.
COMTX can be written as soon as this bit
is set; the previous data might not have
been transmitted yet and can still be
present in the shift register.
Cleared automatically when writing to
COMTX.
4 BI Break indicator.
Set when P1.0/IRQ1/SIN/T0 pin is held
low for more than the maximum word
length.
Cleared automatically.
3 FE Framing error.
Set when the stop bit is invalid.
Cleared automatically.
2 PE Parity error.
Set when a parity error occurs.
Cleared automatically.
1 OE Overrun error.
Set automatically if data is overwritten
before being read.
Cleared automatically.
0 DR Data ready.
Set automatically when COMRX is full.
Cleared by reading COMRX.