Clearing Interrupts; Priority - Sharp Blue Treak LH75400 User Manual

System-on-chip preliminary
Table of Contents

Advertisement

Vectored Interrupt Controller

10.1.5 Clearing Interrupts

While the procedure for clearing an interrupt varies from source to source, general clearing
actions must be performed:
1.
The interrupt must be cleared at its source, regardless of whether the interrupt source
is external, internal, or software generated.
– If an interrupt source is external and configured as edge triggered, the interrupt
– If an interrupt source is external and configured as level triggered, the interrupt
– If the interrupt source is a software command, the interrupt must be cleared using
– If the interrupt source is internal, the interrupt must be cleared in a way appropriate
2.
The interrupt must be cleared within the VIC by writing any value to the VectAddr
Register (described in Section 10.2.2.9). Writing a value of '0' is recommended. This
action signals the hardware vector address and priority logic that it can assert a new
interrupt and its associated address.

10.1.6 Priority

The VIC can assert an FIQ interrupt and an IRQ interrupt simultaneously. When this
occurs, the CPU gives the FIQ priority over the IRQ interrupt. Priority arbitration for simul-
taneously invoked IRQ interrupts is performed in the VIC hardware.
The priority of IRQ interrupt sources is:
• All vectored interrupts have priority over default-vectored interrupts
• Vectored interrupt 0 has the highest priority
• Among the vectored interrupts, the higher numbered vectored interrupt has lower priority
• Within the VIC, all default-vectored interrupts have the same priority, which is the
lowest priority.
10-4
must be cleared in the RCPC IntClear Register (see Section 9.3.2.14).
must be cleared, reset, or disabled at its source external to the SoC.
the SoftIntClear Register (described under Section 10.2.2.8).
to the internal source. Usually this involves setting a bit or clearing a bit in a 'clear-
ing' register specific to the particular internal source. For example, the DMA
Controller has a Clr Register that must be written with a value specific to the DMA
Controller. Other devices within the SoC have similar device-specific ways of clear-
ing an interrupt generated by that device. See the appropriate chapter in this Tech-
nical Data Sheet for information about clearing each device.
LH75400/01/10/11 (Preliminary) User's Guide
6/17/03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Blue treak lh75401Blue treak lh75410Blue treak lh75411

Table of Contents