You can use the os_evt_get function to identify the event
that caused the os_evt_wait_or function to complete.
The os_evt_get function identifies this event by setting
the corresponding flag in the returned value. If more than one event
occurred simultaneously, all their flags are set in the returned
value.
The os_evt_get function is in the RL-RTX library. The
prototype is defined in rtl.h.
When the os_evt_wait_or function has been waiting on
more than one event, it is not immediately known which event caused
the os_evt_wait_or function to return. This is why the
os_evt_get function is useful.
Return Value
The os_evt_get function returns a bit pattern that
identifies the events that caused the os_evt_wait_or function
to complete.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.