Hi,
I have code base from my client. There is a sys/bios task and code like
EventCombiner_dispatchPlug(CSL_GEM_GPINT7, (EventCombiner_FuncPtr)OnEvent7, (UArg)&myStruct, 1u);
EventCombiner_enableEvent(CSL_GEM_GPINT7);
static void OnEvent7(void* extend)
{
myContext *context = (myContext*)extend;
Semaphore_post(context->semHandle);
}
OnEvent7 is not triggered.
Can some one tell me on what are the cases when interrupt is not generated.
I have code like
Semaphore_pend(myContext.semHandle, BIOS_WAIT_FOREVER); in different function.
I see the code flow is stuck inside this call. The semHandle is not NULL, I have checked it.
I am using CCS5.3, CGT7.4, BIOS 6.33.05.50.
Regards,
Pradeep