This example shows the PRU receiving a timer interrupt.
See the PRU Software examples project in the SDK under example-applications. The source code for both the ARM and the PRU can be found there.