Hello,
I'm using the C6747, CCS 4.2.3 and CSLr for register configuration. I'm NOT using BIOS.
Most of my ISR functions are known at compile-time and the vector table is created accordingly using the VEC_ENTRY assembly macro. But I have some ISR routines that will be determined only at runtime. I would like to write a function where I pass a function (ISR routine) pointer and the number of the IRQ.
Apart from disabling interrupts and enabling them afterwards, what are the steps for modifying the vector table? Is there an example (assembly or C)? I was thinking of determining the absolute address of the IRQ in the table using the chosen IRQ number and calling the VEC_ENTRY macro with the address of my function. Please provide an example on how you would achieve my goal.
Thanks in advance!
SC