I would like to ask about the constants like PRU_EVTOUT_0 definition. In prussdrv.h PRU_EVTOUT_0 defined as
#define PRU_EVTOUT_0 0
But in all examples I’ve found in Derek Molloy’s Exploring BeagleBone PRU_EVTOUT_0 is defined as
#define PRU_EVTOUT_0 3 // the event number that is sent back
Why PRU_EVTOUT_0 definitions are not the same in header file and p-files?