userInterruptDemo Example
This demo (userInterruptDemo directory) shows how to handle a user interrupt that accepts an interrupt signal from user logic. In this demo, ten seconds after the Sapphire SoC comes out of reset, the user interrupt gets a trigger from the external module. Operation jumps from the main routine to the interrupt routine. When the interrupt code finishes executing, it jumps back to the main routine.
The application displays the messages on a UART
terminal:
User Interrupt Demo, waiting for user interrupt...
Entered User Interrupt A Routine