I had a problem using this function.
The function definition is:
int prussdrv_pru_clear_event (unsigned int host_interrupt, unsigned int eventnum);
and the example is
prussdrv_pru_clear_event ( PRU0_ARM_INTERRUPT, PRU_EVTOUT0 );
but this example doesn't work. To make it work I had to swap the parameters:
prussdrv_pru_clear_event(PRU_EVTOUT_0, PRU0_ARM_INTERRUPT);
Thanks