
ADSP-BF59x Blackfin Processor Hardware Reference
4-13
System Interrupts
Programming Examples
The following section provides an example for servicing interrupt
requests.
Clearing Interrupt Requests
When the processor services a core event it automatically clears the
requesting bit in the
ILAT
register and no further action is required by the
interrupt service routine. It is important to understand that the SIC con-
troller does not provide any interrupt acknowledgment feedback
mechanism from the CEC controller back to the peripherals. Although
the
ILAT
bits clear in the same way when a peripheral interrupt is serviced,
the signalling peripheral does not release its level-sensitive request until it
is explicitly instructed by software. If however, the peripheral keeps
requesting, the respective
ILAT
bit is set again immediately and the service
routine is invoked again as soon as its first run terminates by an RTI
instruction.
Every software routine that services peripheral interrupts must clear the
signalling interrupt request in the respective peripheral. The individual
peripherals provide customized mechanisms for how to clear interrupt
requests. Receive interrupts, for example, are cleared when received data is
read from the respective buffers. Transmit requests typically clear when
software (or DMA) writes new data into the transmit buffers. These
implicit acknowledge mechanisms avoid the need for cycle-consuming
software handshakes in streaming interfaces. Other peripherals such as
timers, GPIOs, and error requests require explicit acknowledge instruc-
tions, which are typically performed by efficient W1C (write-1-to-clear)
operations.
Listing 4-1
shows a representative example of how a GPIO interrupt
request might be serviced.
Summary of Contents for ADSP-BF59x Blackfin
Page 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Page 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Page 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Page 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Page 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...