BCM1250/BCM1125/BCM1125H
User Manual
10/21/02
B r o a d c o m C o r p o r a t i o n
Page
324
Section 10: Serial Interfaces
Document
1250_1125-UM100CB-R
I
NTERRUPTS
The DUART interrupts are provided as system interrupts 8 (for channel A) and 9 (for channel B). The conditions
that can cause an interrupt are signalled in the interrupt status register
duart_isr
. This contains the channel A
status in the lower four bits and the channel B status in the upper four bits. For convenience the information
for each channel is available in the
duart_isr_a
and
duart_isr_b
registers where the status for the channel is
always in the lower four bits and the upper bits are zeros. The conditions that can cause an interrupt are:
transmitter ready, receiver ready or receiver FIFO full, break detected or removed and change detected on the
handshake lines. Corresponding to each bit in the interrupt status register there is a bit in the interrupt mask
register
duart_imr
, if a status bit is set and the corresponding mask bit is also set then an interrupt will be
raised. Again, for programming convenience, aliases of the lower and upper bits of the mask are provided in
the lower four bits of the
duart_imr_a
and
duart_imr_b
registers (these are aliases - internally there is only a
single copy of each mask bit).
shows the interrupt generation for a single channel.
Figure 66: UART Interrupt Generation
duart_mode[6] rx_irqsel
1
0
rx_FIFO_not_empty
rx_FIFO_full
S
R
[1]
[3]
[2]
State Change
Detect
reset_break_command
rx_break
interrupt
duart_imr[3:0] (ch A)
duart_imr[7:4] (ch B)
duart_aux[0] (ch A)
duart_aux[1] (ch B)
S
R
duart_aux[2] (ch A)
duart_aux[3] (ch B)
S
R
duart_ipcr[4] (ch A)
duart_ipcr[5] (ch B)
duart_ipcr[6] (ch A)
duart_ipcr[7] (ch B)
State Change
Detect
CtsTclkIn
duart_ipcr[0] (ch A)
duart_ipcr[1] (ch B)
State Change
Detect
CinRclkIn
duart_ipcr[2] (ch A)
duart_ipcr[3] (ch B)
duart_ipcr_read
duart_mode[5] tx_irqsel
1
0
tx_FIFO_empty
tx_ready
[0]
Содержание BCM1125
Страница 18: ...BCM1250 BCM1125 BCM1125H User Manual 10 21 02 Broadcom Corporation Page xviii Document 1250_1125 UM100CB R ...
Страница 28: ...BCM1250 BCM1125 BCM1125H User Manual 10 21 02 Broadcom Corporation Page xxviii Document 1250_1125 UM100CB R ...
Страница 515: ...BCM1250 BCM1125 BCM1125H User Manual 10 21 02 Broadcom Corporation Page vii Index Document 1250_1125 UM100CB R ...