ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 153 of 192
Interrupt Enable Register
Address: 0x40005004, Reset: 0x0000, Name: COMIEN
COMIEN is the interrupt enable register that configures which interrupt source generates the interrupt. Only the lowest four bits in this
register enable interrupts. Bit 4 and Bit 5 enable UART DMA signals. The UART DMA channel and interrupt must be configured in the
DMA block.
Table 216. Bit Descriptions for COMIEN
Bits
Bit Name
Description
Reset
Access
[15:6]
RESERVED
Reserved.
0x0
R
5
EDMAR
DMA requests in receive mode.
0x0
RW
0: DMA requests disabled.
1: DMA requests enabled.
4
EDMAT
DMA requests in transmit mode.
0x0
RW
0: DMA requests disabled.
1: DMA requests enabled.
3
EDSSI
Modem status interrupt. Interrupt is generated when any of COMMSR[3:0]
are set.
0x0
RW
0: interrupt disabled.
1: interrupt enabled.
2
ELSI
Rx status interrupt.
0x0
RW
0: interrupt disabled.
1: interrupt enabled
1
ETBEI
Transmit buffer empty interrupt.
0x0
RW
0: interrupt disabled.
1: interrupt enabled.
0
ERBFI
Receive buffer full interrupt.
0x0
RW
0: interrupt disabled.
1: interrupt enabled.
Interrupt Identification Register
Address: 0x40005008, Reset: 0x0001, Name: COMIIR
Table 217. Bit Descriptions for COMIIR
Bits
Bit Name
Description
Reset
Access
[15:3]
RESERVED
Reserved.
0x0
R
[2:1]
STA
Interrupt status. When NIRQ is low (active low), this indicates an interrupt,
and the following STA bit decoding is used.
0x0
RC
00: modem status interrupt (read COMMSR to clear).
01: transmit buffer empty interrupt (write to COMTX or read COMIIR to clear).
10: receive buffer full interrupt (read COMRX to clear).
11: receive line status interrupt (read COMLSR to clear).
0
NIRQ
Interrupt flag.
0x1
RC
0: interrupt occurred. Source of interrupt indicated in the STA bits.
1: no interrupt occurred.
Line Control Register
Address: 0x4000500C, Reset: 0x0000, Name: COMLCR
Table 218. Bit Descriptions for COMLCR
Bits
Bit Name
Description
Reset
Access
[15:7]
RESERVED
Reserved.
0x0
R
6
BRK
Set break.
0x0
RW
0: force TxD to 0.
1: normal TxD operation