Datasheet
ADuC7033
Rev. B | Page 112 of 140
UART Interrupt Enable Register 0
Name: COMIEN0
Address: 0xFFFF0704
Default Value: 0x00
Access: Read/write
Function: The 8-bit register enables and disables the individual UART interrupt sources.
Table 84. COMIEN0 MMR Bit Designations
Bit Name Description
7 to 4 Reserved. Not used.
3 EDSSI Reserved. This bit should be written as 0.
2 ELSI RxD Status Interrupt Enable Bit.
Set by the user to enable generation of an interrupt if any of the COMSTA0[3:1] register bits
are set.
Cleared by the user.
1 ETBEI Enable Transmit Buffer Empty Interrupt.
Set by the user to enable an interrupt when the buffer is empty during a transmission, that is,
when COMSTA[5] is set.
Cleared by the user.
0 ERBFI Enable Receive Buffer Full Interrupt.
Set by the user to enable an interrupt when the buffer is full during a reception.
Cleared by the user.
UART Interrupt Identification Register 0
Name: COMIID0
Address: 0xFFFF0708
Default Value: 0x01
Access: Read only
Function: This 8-bit register reflects the source of the UART interrupt.
Table 85. COMIID0 MMR Bit Designations
Bits[2:1]
Status Bits Bit 0 NINT Priority Definition Clearing Operation
00 1 No interrupt N/A
11 0 1 Receive line status interrupt Read COMSTA0
10 0 2 Receive buffer full interrupt Read COMRX
01 0 3 Transmit buffer empty interrupt Write data to COMTX or read COMIID0
00 0 4 Modem status interrupt Read COMSTA1 register