Hello,
In task1 there is an event pending like below,
Event_pend(event_tx, Event_Id_00 + Event_Id_03, Event_Id_NONE, BIOS_WAIT_FOREVER);
However ocasionally I need resync&re-start the task and I have to reset the event in task2.
How can I do that since BIOS user guide notes us that Only a single Task can pend on an Event object at a time?
In my case I use below code in task2 to reset the event (only event_id_03 might be set when resetting),
Event_pend(event_tx, Event_Id_03, Event_Id_NONE, BIOS_NO_WAIT);
It works however I am afraid there is potential problem in it.
B.R.
River Liu