This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to wait for multiple event?

Hi All,

I'm working with the CMSIS-RTOS API and I would like to wait in a thread for multiple events like a specific Signal occured OR a Message Queue event.
Usualy the osWait function in a combination with switch would fit perfectly. However, osWait isn't supported in my Version of CMSIS (the osFeature_Wait Flag in cmsis_os.h is set to 0).

Why is it disabled and can I simply enable it with the osFeature_Wait flag?

If not, how can I wait for different event in a OR combination?

Thank you in advance for your help.

Best Regards

Ben

0