Classes | Macros | Typedefs | Functions
event_groups.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "event_groups.h"
Include dependency graph for event_groups.c:

Go to the source code of this file.

Classes

struct  xEventGroupDefinition
 

Macros

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

Typedefs

typedef struct xEventGroupDefinition EventGroup_t
 

Functions

static BaseType_t prvTestWaitCondition (const EventBits_t uxCurrentEventBits, const EventBits_t uxBitsToWaitFor, const BaseType_t xWaitForAllBits) PRIVILEGED_FUNCTION
 
void vEventGroupClearBitsCallback (void *pvEventGroup, const uint32_t ulBitsToClear)
 
void vEventGroupDelete (EventGroupHandle_t xEventGroup)
 
void vEventGroupSetBitsCallback (void *pvEventGroup, const uint32_t ulBitsToSet)
 
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)
 
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)
 

Macro Definition Documentation

◆ eventCLEAR_EVENTS_ON_EXIT_BIT

#define eventCLEAR_EVENTS_ON_EXIT_BIT   0x01000000UL

Definition at line 58 of file event_groups.c.

◆ eventEVENT_BITS_CONTROL_BYTES

#define eventEVENT_BITS_CONTROL_BYTES   0xff000000UL

Definition at line 61 of file event_groups.c.

◆ eventUNBLOCKED_DUE_TO_BIT_SET

#define eventUNBLOCKED_DUE_TO_BIT_SET   0x02000000UL

Definition at line 59 of file event_groups.c.

◆ eventWAIT_FOR_ALL_BITS

#define eventWAIT_FOR_ALL_BITS   0x04000000UL

Definition at line 60 of file event_groups.c.

◆ MPU_WRAPPERS_INCLUDED_FROM_API_FILE

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

Definition at line 35 of file event_groups.c.

Typedef Documentation

◆ EventGroup_t

Function Documentation

◆ prvTestWaitCondition()

static BaseType_t prvTestWaitCondition ( const EventBits_t  uxCurrentEventBits,
const EventBits_t  uxBitsToWaitFor,
const BaseType_t  xWaitForAllBits 
)
static

Definition at line 657 of file event_groups.c.

◆ vEventGroupClearBitsCallback()

void vEventGroupClearBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToClear 
)

Definition at line 651 of file event_groups.c.

◆ vEventGroupDelete()

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 599 of file event_groups.c.

◆ vEventGroupSetBitsCallback()

void vEventGroupSetBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToSet 
)

Definition at line 643 of file event_groups.c.

◆ xEventGroupClearBits()

EventBits_t xEventGroupClearBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToClear 
)

Definition at line 447 of file event_groups.c.

◆ xEventGroupGetBitsFromISR()

EventBits_t xEventGroupGetBitsFromISR ( EventGroupHandle_t  xEventGroup)

Definition at line 489 of file event_groups.c.

◆ xEventGroupSetBits()

EventBits_t xEventGroupSetBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet 
)

Definition at line 505 of file event_groups.c.

◆ xEventGroupSync()

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

Definition at line 177 of file event_groups.c.

◆ xEventGroupWaitBits()

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

Definition at line 297 of file event_groups.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59