![Texas Instruments AM1808 Technical Reference Manual Download Page 345](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558345.webp)
PRU Interrupt Controller
345
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
13.7.5 INTC Methodology
The INTC module controls the system event mapping to the host interrupt interface. System events are
generated by the device peripherals or PRUs. The INTC receives the system interrupts and maps them to
internal channels. The channels are used to group interrupts together and to prioritize them. These
channels are then mapped onto the host interrupts. Interrupts from system side are active high in polarity.
Also, they are pulse type of interrupts.
The INTC encompasses many functions to process the system interrupts and prepare them for the host
interface. These functions are: processing, enabling, status, channel mapping, host interrupt mapping,
prioritization, and host interfacing.
illustrates the flow of system interrupts through the
functions to the host. The following subsections describe each part of the flow.
Figure 13-23.
13.7.5.1 Interrupt Processing
This block does following tasks:
•
Synchronization of slower and asynchronous interrupts
•
Conversion of polarity to active high
•
Conversion of interrupt type to pulse interrupts
After the "processing block", all interrupts will be active high pulses.
13.7.5.2 Interrupt Enabling
The next stage of INTC is to enable system interrupts based on programmed settings. The following
sequence is to be followed to enable interrupts:
1. Enable all host interrupts: By setting the ENABLE bit in the global enable register (GER) to 1, all host
interrupts will be enabled. Individual host interrupts are still enabled or disabled from their individual
enables and are not overridden by the global enable
2. Enable required host interrupts: By writing to the INDEX field in the host interrupt enable indexed set
register (HIEISR), enable the required host interrupts. The host interrupt to enable is the index value