In an example like this, where you are not using Harmony, and writing lower level C-language code for an PIC32MZ application, where are the interrupt functions declared?
So, if I have the ISR below, where is 'SPI3_RX_IntHandler()' declared?
Are these already pre-defined in some processor definition file, so there is a listing somewhere of what the valid function names are?
Or is there a header file somewhere that I need to add the declaration to?
Or does it matter, and the __ISR( , ) does something magic behind the curtain?
Example from the above discussion:
void __ISR(_SPI3_RX_VECTOR, ipl7AUTO) SPI3_RX_IntHandler (void) --- Graham
IFS4bits.SPI3RXIF = 0; // Clear the interrupt flag.