STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Data Structures | Macros | Typedefs | Functions
event_groups.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "event_groups.h"

Go to the source code of this file.

Data Structures

struct  xEventGroupDefinition
 

Macros

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE
 
#define eventCLEAR_EVENTS_ON_EXIT_BIT   0x01000000UL
 
#define eventUNBLOCKED_DUE_TO_BIT_SET   0x02000000UL
 
#define eventWAIT_FOR_ALL_BITS   0x04000000UL
 
#define eventEVENT_BITS_CONTROL_BYTES   0xff000000UL
 

Typedefs

typedef struct xEventGroupDefinition EventGroup_t
 

Functions

EventGroupHandle_t xEventGroupCreate (void)
 
EventBits_t xEventGroupSync (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet, const EventBits_t uxBitsToWaitFor, TickType_t xTicksToWait)
 
EventBits_t xEventGroupWaitBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToWaitFor, const BaseType_t xClearOnExit, const BaseType_t xWaitForAllBits, TickType_t xTicksToWait)
 
EventBits_t xEventGroupClearBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToClear)
 
EventBits_t xEventGroupGetBitsFromISR (EventGroupHandle_t xEventGroup)
 
EventBits_t xEventGroupSetBits (EventGroupHandle_t xEventGroup, const EventBits_t uxBitsToSet)
 
void vEventGroupDelete (EventGroupHandle_t xEventGroup)
 
void vEventGroupSetBitsCallback (void *pvEventGroup, const uint32_t ulBitsToSet)
 
void vEventGroupClearBitsCallback (void *pvEventGroup, const uint32_t ulBitsToClear)
 

Macro Definition Documentation

#define eventCLEAR_EVENTS_ON_EXIT_BIT   0x01000000UL

Definition at line 107 of file event_groups.c.

#define eventEVENT_BITS_CONTROL_BYTES   0xff000000UL

Definition at line 110 of file event_groups.c.

#define eventUNBLOCKED_DUE_TO_BIT_SET   0x02000000UL

Definition at line 108 of file event_groups.c.

#define eventWAIT_FOR_ALL_BITS   0x04000000UL

Definition at line 109 of file event_groups.c.

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

Definition at line 76 of file event_groups.c.

Typedef Documentation

Function Documentation

void vEventGroupClearBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToClear 
)

Definition at line 607 of file event_groups.c.

void vEventGroupDelete ( EventGroupHandle_t  xEventGroup)

event_groups.h

   void xEventGroupDelete( EventGroupHandle_t xEventGroup );

Delete an event group that was previously created by a call to xEventGroupCreate(). Tasks that are blocked on the event group will be unblocked and obtain 0 as the event group's value.

Parameters
xEventGroupThe event group being deleted.

Definition at line 574 of file event_groups.c.

void vEventGroupSetBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToSet 
)

Definition at line 599 of file event_groups.c.

EventBits_t xEventGroupClearBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToClear 
)

Definition at line 422 of file event_groups.c.

EventGroupHandle_t xEventGroupCreate ( void  )

Definition at line 138 of file event_groups.c.

EventBits_t xEventGroupGetBitsFromISR ( EventGroupHandle_t  xEventGroup)

Definition at line 464 of file event_groups.c.

EventBits_t xEventGroupSetBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet 
)

Definition at line 480 of file event_groups.c.

EventBits_t xEventGroupSync ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet,
const EventBits_t  uxBitsToWaitFor,
TickType_t  xTicksToWait 
)

Definition at line 158 of file event_groups.c.

EventBits_t xEventGroupWaitBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToWaitFor,
const BaseType_t  xClearOnExit,
const BaseType_t  xWaitForAllBits,
TickType_t  xTicksToWait 
)

Definition at line 274 of file event_groups.c.