
Programmable Interrupt Controller
15-10
Élan™SC520 Microcontroller User’s Manual
15.5.3
Interrupt Source Routing
Figure 15-3 on page 15-11 shows the implementation of the interrupt router. None of the
interrupt enable signals are shared across the interrupt channels.
Each of the 32 hardware interrupt sources that come from peripherals (15 external and 17
internal) is fed into each of the 22 OR gates for the 22 interrupt channels. Each of the 22
OR gates also has an additional input from the one of the Software Interrupt x Control
(SWINTx) registers.
When set, the interrupt trigger control bits cause their associated interrupt signals to be
asserted at the PIC. These bits are under complete control of software. During normal
operation, hardware does not set or clear these bits. A reset does clear these bits.
All incoming interrupt requests are arbitrated by the interrupt controllers based on the priority
levels shown in Figure 15-1 on page 15-3, with the highest priority interrupt being serviced
first. There is a mask bit associated with each of the 22 interrupt channels, providing a
means for each interrupt channel to be masked individually.
Multiple interrupt requests can be shared on a common interrupt channel. This is discussed
further in “Interrupt Sharing” on page 15-13.
After reset, each of the interrupt sources must be mapped to the desired interrupt channel.
This is usually done by the initialization software. It can be done during normal operation
as well. The default power-on-reset state for these mapping bits is cleared; the programmer
has to specifically map the individual interrupt requests to the desired interrupt channels.
15.5.3.1
Polarity Inversion of Interrupt Requests
Since each of the three individual interrupt controllers can only recognize either a Low-to-
High edge-triggered or an active High level interrupt request, a programmable inversion is
available for each of the 15 external interrupt requests to support active Low interrupt
sources. For example, a PCI generated interrupt request that is active Low must be inverted
within the ÉlanSC520 microcontroller prior to reaching the PIC channel to which it is mapped
before the controller can recognize a valid interrupt request.
All internally-generated interrupt signals have the correct active High polarity and need no
inversion via software. These internally-generated signals include those for the GP-DMA
controller, PCI host bridge system arbiter, timers, UARTs, SSI, watchdog timer, SDRAM
controller, RTC, AMDebug technology interface, floating-point error, and address mapping,
as well as internally-generated NMI signals.
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...