Interrupts
4-18
ADSP-214xx SHARC Processor Hardware Reference
corresponding status register (
LSTATx
). Reading the status register clears
the interrupt bits. Read of the status register when an interrupt occurs
causes the core to hang till the interrupt bits are set in the status register.
Otherwise simultaneous read of the status register and updating of the sta-
tus register will result in loss of information. This hang cannot be
overridden with the
BHD
bit
LPCTLx
register.
Access Completion
An external transfer complete interrupt is generated by the transmitter
once the external transfer is completed by setting bit 12
(
EXTTXFR_DONE_MSK
) in the
LCTL
register. When DMA is not enabled, this
interrupt is generated when the transmitter FIFO is empty and the last
byte has been transmitted. Also, when DMA is enabled, the DMA engine
checks if DMA has been completed. (If
CLBx
is zero, and chaining is
enabled, the DMA engine also checks if
CPLBx
also is zero.)
Internal Transfer Completion
This interrupt performs like previous SHARC processors where an inter-
nal transfer complete interrupt is generated by the transmitter once the
word count is zero by setting bit 10 (
DMACH_IRPT_MSK
) in the
LCTL
register.
When DMA is not enabled, this interrupt is generated when the word
count is zero. Also, when DMA is enabled, the DMA engine checks if
DMA has been completed. (If
CLBx
is zero, and chaining is enabled, the
DMA engine also checks if
CPLBx
also is zero.)
For correct operation, programs should not perform simultaneous
reads and updates of the status register as this results in loss of
information. When an interrupt occurs, reads of the status register
cause the core to hang until the interrupt bits are set in the status
register. This hang cannot be overridden with the
LP_BHD
bit in the
LCTLx
register.
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...