ADSP-214xx SHARC Processor Hardware Reference
B-3
Peripheral Interrupt Control
performs program execution and then exits the routine by executing the
RTI (return from interrupt) instruction. However this rule does not apply
for all cases as is discussed below.
There are three interrupt acknowledge mechanisms used in an ISR
routine:
• RTI instruction
• Read-only-to-Clear (ROC) status bit + RTI instruction
• Write-1-to clear (W1C) status bit + RTI instruction
The DAI/DPI interrupt controller is designed such that in order to termi-
nate correctly, the latch register must be read to identify the source. Note
this read does automatically acknowledge the request before exiting an
interrupt routine. For the W1C mechanism, programs must write into the
specific bit of the latch register in order to terminate the interrupt
properly.
If the acknowledge mechanism rules are not followed correctly,
unwanted and sporadic interrupts will occur.
Interrupt Completion
On SHARC processors, interrupts are generated after
internal transfer
completion
(when the DMA count register has expired). However, in some
cases the transfer may not have terminated (due to different channel prior-
ities) and valid data still resides in the peripheral’s buffer, waiting to be
transmitted. To overcome this problem, the interrupt
access completion
mode is introduced. In this mode the interrupt is generated when the last
data has left the buffer.
provides an overview, for details refer to
the specific peripheral’s chapter.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...