Software Interrupts - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Interrupt Processing

Software Interrupts

Software cannot set bits of the
cause write-1-to-clear (W1C) operation. Instead, use the
to set individual
without affecting the rest of the register.
RAISE 1;
The
instruction must not be used to fire emulation events or excep-
RAISE
tions, which are managed by the related
For details, see
Often, the
RAISE
degrade the interrupt priority. This enables less urgent parts of the service
routine to be interrupted even by low priority interrupts.
isr7:
...
/* execute high priority instructions here */
/* handshake with signalling peripheral */
RAISE 14;
RTI;
isr7.end:
isr14:
/* service routine for IVG14 */
...
/* further process event initiated by IVG7 */
RTI;
isr14.end:
The example above may read data from any receiving interface, post it to a
queue, and let the lower priority service routine process the queue after
the
routine returns. Since
isr7
tion in non-multi-tasking system,
interrupt purposes.
4-50
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
ILAT
bits by software. It safely sets any of the
ILAT
/* fire reset interrupt request */
Chapter 16, "External Event Management."
instruction is executed in interrupt service routines to
/* service routine for IVG7 */
IVG15
register directly, as writes to
and
EMUEXCPT
is used for normal program execu-
is often dedicated to software
IVG14
ILAT
instruction
RAISE
bits
ILAT
instructions.
EXCPT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents