Can anyone point me to an example of the correct syntax to use in a *.tcf or *.tci file to connect a hardware interrupt to an isr? The code I used in a C5509A project doesn't seem to work with an OMAPL137.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Can anyone point me to an example of the correct syntax to use in a *.tcf or *.tci file to connect a hardware interrupt to an isr? The code I used in a C5509A project doesn't seem to work with an OMAPL137.
It should look something like this:
bios.HWI.instance("HWI_INT4").interruptSelectNumber = 4; // This number should match whatever event number you wish to use per datasheet p.75
bios.HWI.instance("HWI_INT4").fxn = prog.extern("myIsr"); // The name of the function/ISR
bios.HWI.instance("HWI_INT4").useDispatcher = 1;