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.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.