Tool/software: TI-RTOS
Hi,
/* program */
HWIHandlerFunc()
{
// clearing HWI flag
Led_toggle_0();
Event_post(handler, event id);
}
taskFnx1()
{
while(1)
{
Event_pend(handler, event id, event none, timeout);
Led_toggle_1();
}
}
The above is my code, if I run the code the LED is not toggling and I am not triggering any runtime or complile error,
Question:
1.If Hwi is given, the LED_0 is toggling and not the LED_1.
2.Can I use Event_Post inside HWI?
Regards,
Manohar