I have my ISR called "VDINT0_HWI()" in the main.c file shown as below
void VDINT0_HWI()
{
VDINT0_count++; //VDINT0_count is a global variable, accumulated everytime VDINT0 interrupt occurs
LOG_printf( &trace, "Entering VDINT0 interrupt service routine in [%d] counts \r\n", VDINT0_count);
}
I have configured my HWI_INT5 as
bios.HWI.instance("HWI_INT5").interruptSelectNumber = 24;
bios.HWI.instance("HWI_INT5").fxn = prog.extern("VDINT0_HWI");
bios.HWI.instance("HWI_INT5").useDispatcher = 1;
bios.HWI.instance("HWI_INT5").arg = 0;
But the message did not show up in the trace log window. Does that mean the VDINT0 interrupt did not occur or something else?
How do I know the VDINT0 really occurs? Do I need to set GIE (Global Interrupt Enable)? [ if yes, how? ]
Did I miss something? Help please