Complete the code to notify a task with a value using xTaskNotify.
xTaskNotify([1], 0x01, eSetValueWithOverwrite);
The first argument to xTaskNotify is the handle of the task to notify.
Complete the code to notify a task with the value 0x10 using xTaskNotify.
xTaskNotify(xTaskHandle, [1], eSetValueWithOverwrite);The second argument is the notification value to send, here 0x10.
Fix the error in the code to notify a task with a value using xTaskNotify.
xTaskNotify(xTaskHandle, 0x05, [1]);
eNoAction which does not set a value.eSetBits which sets bits instead of value.The third argument must be a valid notification action. eSetValueWithOverwrite sets the notification value directly.
Fill both blanks to notify a task with value 0x0F using xTaskNotify and the correct notification action.
xTaskNotify([1], [2], eSetValueWithOverwrite);
The first blank is the task handle, the second is the notification value 0x0F.
Fill all three blanks to notify a task with value 0xAA using xTaskNotify.
xTaskNotify([1], [2], [3]);
The first argument is the task handle, second is the value 0xAA, third is the notification action eSetValueWithOverwrite.