Read notification Value of task

Hey guys,

how can I read the notification value of the currently task?

Thanks :slight_smile:

Use https://www.freertos.org/ulTasknotifyValueClear.html with ulBitsToClear set to 0 if you also want to leave the notification value unchanged. You could also use https://www.freertos.org/xTaskNotifyWait.html with xTicksToWait set to 0.

Thanks for your answer, I’ll try to asking in different way.

Inside the task itself, I have some conditions (if-else) that check the notification value. Hence I need to know where can I check those values

What exactly do you want to do or maybe better what bigger problem do you want to solve ? It’s unfortunately still not clear (to me) :frowning:
Especially what do you mean by ‘where can I check those values’ ?