How can I dictate, without changing the task priorities, who gets the mutex/binary semaphore, when several tasks are waiting for it?
I'm implementing, using FreeRTOS, a simple communication protocol based on a 1-wire UART and a request-to-read pin. It has a master and a slave both of them can initiate a read from the other. If both the slave and master want to read at the same tim...