FreeRTOS – Event Groups Explained
This article introduces <span>FreeRTOS</span> another synchronization mechanism for multitasking – Event Groups (<span>Event Group</span>). Unlike semaphores, event groups can achieve one-to-many and many-to-many synchronization. API Introduction API Function xEventGroupCreate( void ) Dynamically creates an event group and returns the handle of the newly created event group. configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h, or … Read more