English
Language : 

ADUC7021BCPZ62 Datasheet, PDF (72/104 Pages) Analog Devices – Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
ADuC7019/20/21/22/24/25/26/27/28/29
Data Sheet
Table 99. COMDIV1 Register
Name
Address
Default Value
COMDIV1 0xFFFF0704
0x00
COMDIV1 is a divisor latch (high byte) register.
Access
R/W
Table 100. COMIID0 Register
Name
Address
Default Value
COMIID0 0xFFFF0708
0x01
COMIID0 is the interrupt identification register.
Access
R
Table 101. COMIID0 MMR Bit Descriptions
Bit 2:1
Bit 0
Status Bits NINT Priority
Definition
00
1
N/A
No interrupt
11
0
1 (Highest) Receive line
status
interrupt
10
0
2
Receive
buffer full
interrupt
01
0
3
Transmit
buffer
empty
interrupt
00
0
4 (Lowest) Modem
status
interrupt
Clearing
Operation
N/A
Read
COMSTA0
Read
COMRX
Write data to
COMTX or
read
COMIID0
Read
COMSTA1
Table 102. COMCON0 Register
Name
Address
Default Value
COMCON0 0xFFFF070C
0x00
COMCON0 is the line control register.
Access
R/W
Table 103. COMCON0 MMR Bit Descriptions
Bit Name Description
7
DLAB Divisor latch access. Set by user to enable access
to the COMDIV0 and COMDIV1 registers. Cleared
by user to disable access to COMDIV0 and
COMDIV1 and enable access to COMRX and
COMTX.
6
BRK
Set break. Set by user to force SOUT to 0. Cleared
to operate in normal mode.
5
SP
Stick parity. Set by user to force parity to defined
values: 1 if EPS = 1 and PEN = 1,
0 if EPS = 0 and PEN = 1.
4
EPS
Even parity select bit. Set for even parity. Cleared
for odd parity.
3
PEN
Parity enable bit. Set by user to transmit and
check the parity bit. Cleared by user for no parity
transmission or checking.
2
STOP Stop bit. Set by user to transmit 1.5 stop bits if the
word length is five bits or 2 stop bits if the word
length is six bits, seven bits, or eight bits. The
receiver checks the first stop bit only, regardless
of the number of stop bits selected. Cleared by user
to generate 1 stop bit in the transmitted data.
1:0 WLS
Word length select:
00 = five bits, 01 = six bits, 10 = seven bits,
11 = eight bits.
Table 104. COMCON1 Register
Name
Address
Default Value
COMCON1 0xFFFF0710
0x00
COMCON1 is the modem control register.
Access
R/W
Table 105. COMCON1 MMR Bit Descriptions
Bit Name
Description
7:5
Reserved.
4 LOOPBACK Loopback. Set by user to enable loopback
mode. In loopback mode, SOUT (see Table 78)
is forced high. The modem signals are also
directly connected to the status inputs (RTS
to CTS and DTR to DSR). Cleared by user to
be in normal mode.
3 PEN
Parity enable bit. Set by user to transmit and
check the parity bit. Cleared by user for no
parity transmission or checking.
2 STOP
Stop bit. Set by user to transmit 1.5 stop bits
if the word length is five bits, or 2 stop bits if
the word length is six bits, seven bits, or
eight bits. The receiver checks the first stop
bit only, regardless of the number of stop bits
selected. Cleared by user to generate 1 stop
bit in the transmitted data.
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.
Table 106. COMSTA0 Register
Name
Address
Default Value
COMSTA0 0xFFFF0714
0x60
COMSTA0 is the line status register.
Access
R
Table 107. COMSTA0 MMR Bit Descriptions
Bit Name Description
7
Reserved.
6 TEMT COMTX and shift register empty status bit. Set
automatically if COMTX and shift register are
empty. Cleared automatically when writing to
COMTX.
5 THRE COMTX empty. Set automatically if COMTX is
empty. Cleared automatically when writing to
COMTX.
4 BI
Break error. Set when SIN is held low for more than
the maximum word length. Cleared automatically.
3 FE
Framing error. Set when an invalid stop bit occurs.
Cleared automatically.
2 PE
Parity error. Set when a parity error occurs.
Cleared automatically.
1 OE
Overrun error. Set automatically if data is over-
written before being read. Cleared automatically.
0 DR
Data ready. Set automatically when COMRX is full.
Cleared by reading COMRX.
Rev. F | Page 72 of 104