Forum Discussion
tehjingy_Altera
Regular Contributor
1 year agoHi
For the interrupt number and controller it is defined in the system.h file.
In the system.h under the interested IP the define for the interrupt number and controller number is defined there.
E.g. the interruptcontroller number and the number for the mSGDMA is define below.
Instead of hardcoding it, you could use the define int he system.h
Whenever you regenerate the BSP the system.h will be updated.
Regards
Jingyang, Teh