Inter-Task CommunicationTasks rarely work in isolation. FreeRTOS provides several mechanisms for tasks to "talk" to each other:

Mutexes: Short for "Mutual Exclusion," these are used to protect shared resources (like a peripheral or a global variable) from being accessed by two tasks at the same time.

Tasks and Task ManagementThe fundamental building block of FreeRTOS is the Task. You can think of a task as a small, self-contained program that runs in an infinite loop.

freertos tutorial pdf