![NXP Semiconductors MSC8113 Скачать руководство пользователя страница 567](http://html1.mh-extra.com/html/nxp-semiconductors/msc8113/msc8113_reference-manual_1721628567.webp)
Interrupts Programming Model
MSC8113 Reference Manual, Rev. 0
Freescale Semiconductor
17-23
17.2.3 Clearing Pending Requests
If the size of the interrupt routine is larger than 64 bytes, you can use service routines to
accommodate unlimited code size. The following example illustrates a typical interrupt routine
that uses a service routine. This example also demonstrates the use of the DI and EI instructions
to disable and enable IRs, respectively. For details, refer to Section 17.3.3.3, Interrupt Pending
Registers, on page 17-43.
Example 17-2. Typical Interrupt Routine
IPRB equ $00f09c38
...
org p:IRQ16
; interrupt routine for GIC
di ; disable any IR
jsr GIC_IRQ
nop
ei ; enable IR
rte
...
org p:GIC_IRQ
; Code to locate GIC interrupt source and clear
status bit at the source.
; To override write-buffer delay - read-back the
status register in which the.
; bit had been cleared. The PIC pending bit IPRB[0]
is cleared by the
; interrupt propagation to IPRB[0].
...
; service routine to handle GIC
move.w #$1,IPRB
; interrupt service routine to handle GIC
...
rts
17.3 Interrupts Programming Model
The interrupt registers are divided into three groups: GIC, LIC, and PIC.
17.3.1 GIC Programming Model
The GIC registers reside on the 256 KB address space of the IPBus and have a constant offset.
They can be accessed through the SQBus, the system bus, and the DSI. The addresses of the GIC
registers for accesses through the SQBus are presented in Section 8.5, IPBus Address Space, on
page 8-12. The addresses of the GIC registers for accesses through the system bus are presented
in Section 8.7, System Bus Address Space, on page 8-55. The addresses of the GIC registers for
accesses through the DSI is presented in Section 8.8, DSI Address Map, on page 8-61. The GIC
Содержание MSC8113
Страница 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Страница 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Страница 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Страница 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Страница 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Страница 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Страница 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Страница 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Страница 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Страница 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Страница 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Страница 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Страница 544: ...MSC8113 Reference Manual Rev 0 16 46 Freescale Semiconductor Direct Memory Access DMA Controller ...
Страница 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Страница 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Страница 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Страница 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Страница 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Страница 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Страница 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Страница 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...