I’m new to freeRTOS. I’m looking for a taskNotify function that can replace xEventGroupGetBits(), i.e. query the notification without blocking or waiting.
According to freeRTOS documentation (http://www.freertos.org/ulTaskNotifyTake.html), an RTOS task can use ulTaskNotifyTake() to [optionally] block to wait for a the task’s notification value to be non-zero. So it sounds there is an option not to block, but I’m not quite sure how. I was thinking to set the xTicksToWait to “0”, but apparently the document says it must be a number that is greater than “0”.