Microchip® Advanced Software Framework

freertos-8.2.3/Source/include/event_groups.h File Reference
#include "timers.h"

Macros

#define xEventGroupClearBitsFromISR(xEventGroup, uxBitsToClear)   xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL )
 
#define xEventGroupGetBits(xEventGroup)   xEventGroupClearBits( xEventGroup, 0 )
 
#define xEventGroupSetBitsFromISR(xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken)   xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken )
 

Typedefs

typedef TickType_t EventBits_t
 
typedef void * EventGroupHandle_t
 

Functions

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

#define xEventGroupClearBitsFromISR (   xEventGroup,
  uxBitsToClear 
)    xTimerPendFunctionCallFromISR( vEventGroupClearBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToClear, NULL )
#define xEventGroupGetBits (   xEventGroup)    xEventGroupClearBits( xEventGroup, 0 )
#define xEventGroupSetBitsFromISR (   xEventGroup,
  uxBitsToSet,
  pxHigherPriorityTaskWoken 
)    xTimerPendFunctionCallFromISR( vEventGroupSetBitsCallback, ( void * ) xEventGroup, ( uint32_t ) uxBitsToSet, pxHigherPriorityTaskWoken )

typedef TickType_t EventBits_t
typedef void* EventGroupHandle_t

void vEventGroupClearBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToClear 
)
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.
void vEventGroupSetBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToSet 
)
EventBits_t xEventGroupClearBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToClear 
)
EventGroupHandle_t xEventGroupCreate ( void  )
EventBits_t xEventGroupGetBitsFromISR ( EventGroupHandle_t  xEventGroup)
EventBits_t xEventGroupSetBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet 
)
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 
)