ADSP-BF535 Blackfin Processor Hardware Reference
4-47
Program Sequencer
To determine when to service an interrupt, the controller logically ANDs
the three quantities in
ILAT
,
IMASK
, and the current processor priority
level.
Servicing the highest priority interrupt involves these actions:
1. The interrupt vector in the EVT becomes the next fetch address.
On an interrupt, all instructions currently in the pipeline are
aborted. On a service exception, all instructions after the excepting
instruction are aborted. On an error exception, the excepting
instruction and all instructions after it are aborted.
2. The return address is saved in the appropriate return register.
The return register is
RETI
for interrupts,
RETX
for exceptions,
RETN
for NMIs, and
RETE
for debug emulation. The return address is the
address of the instruction after the last-executed instruction from
normal program flow.
3. Processor mode is set to the level of the event taken.
If the event is an NMI, exception, or interrupt, the processor mode
is Supervisor. If the event is an emulation exception, the processor
mode is Emulation.
4. Before the first instruction starts execution, the corresponding
interrupt bit in
ILAT
is cleared and the corresponding bit in
IPEND
is set.
Bit
IPEND[4]
is also set to disable all interrupts until the return
address in
RETI
is saved.
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...