DAI Interrupt Controller
12-28
ADSP-2126x SHARC Processor Hardware Reference
DAI Interrupts
There are several registers in the DAI Interrupt Controller that can be
configured to control how the DAI interrupts are reported to and serviced
by the core’s Interrupt Controller. Among other options, each DAI inter-
rupt can be mapped either as a high or low priority interrupt in the
primary interrupt controller, certain DAI interrupts can be triggered on
either the rising or falling edge of signals, and each DAI interrupt can also
be independently masked.
Just as the core has its own interrupt latch registers (
IRPTL
and
LIRPTL
),
the DAI has its own latch registers (
DAI_IRPTL_L
and
DAI_IRPTL_H
). When
a DAI interrupt is configured to be high priority, it is latched in the
DAI_IRPTL_H
register. When any bit in the
DAI_IRPTL_H
register is set
(= 1), bit 11 in the
IRPTL
register is also set and the core services that
interrupt with high priority. When a DAI interrupt is configured to be
low priority, it is latched in the
DAI_IRPTL_L
register. Similarly, when any
bit in the
DAI_IRPTL_L
register is set (= 1), bit 6 in the
LIRPTL
register is
also set and the core services that interrupt with low priority. Regardless of
the priority, when a DAI interrupt is latched and promoted to the core
interrupt latch, the ISR must query the DAI’s Interrupt Controller to
determine the source(s). Sources can be any one or more of the Interrupt
Controller’s 32-configurable channels (
DAI_INT[31:0]
).
mation, see “DAI Interrupt Controller Registers” on page A-167.
Reading the DAI’s interrupt latches clears them. Therefore, the
ISR must service all the interrupt sources it discovers. That is, if
multiple interrupts are latched in one of the
DAI_IRPTL_x
registers,
all of them must be serviced before executing an
RTI
instruction.
The
IDP_FIFO_GTN_INT
interrupt is not cleared when the
DAI_IRPTL_H/L
registers are read. This interrupt is cleared automat-
ically when the situation that caused of the interrupt goes away.
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...