Here is the full documentation of the AXI Interrupt Controller hardware. Like the other hardware manuals, you should pay closest attention to the Register Space section.
The AXI Interrupt Controller is located at the base address provided by
XPAR_AXI_INTC_0_BASEADDR (make sure to
#include <xparamters.h> like in the previous lab).
Based on the above, there are four different things that need to be enabled during setup before interrupts will begin working.
|Needs Enabling||Code Location|
|Interval Timer irq output||
|Interrupt Controller input line||
|Interrupt Controller irq output||Set both enable bits on the Master Enable register during
|ARM Processor Input||Need to call the three functions (
Also, every time a timer interrupt occurs, there are , otherwise it will continue indefinitely!
|Needs Acknowledging||Code Location|
|Interrupt Controller||Acknowledge interrupt from within your ISR in your interrupt controller driver.|