SAM4S-EK_FreeRTOS+FAT-SL  1.0
An example project to test the functionality of FreeRTOS+FAT-SL using SD card as data storage medium
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
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.

Classes

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

#define eventEVENT_BITS_CONTROL_BYTES   0xff000000UL

Definition at line 106 of file event_groups.c.

#define eventUNBLOCKED_DUE_TO_BIT_SET   0x02000000UL

Definition at line 104 of file event_groups.c.

#define eventWAIT_FOR_ALL_BITS   0x04000000UL

Definition at line 105 of file event_groups.c.

#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

Definition at line 72 of file event_groups.c.

Typedef Documentation

Function Documentation

void vEventGroupClearBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToClear 
)

Definition at line 600 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 567 of file event_groups.c.

void vEventGroupSetBitsCallback ( void *  pvEventGroup,
const uint32_t  ulBitsToSet 
)

Definition at line 592 of file event_groups.c.

EventBits_t xEventGroupClearBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToClear 
)

Definition at line 417 of file event_groups.c.

EventGroupHandle_t xEventGroupCreate ( void  )

Definition at line 134 of file event_groups.c.

EventBits_t xEventGroupGetBitsFromISR ( EventGroupHandle_t  xEventGroup)

Definition at line 458 of file event_groups.c.

EventBits_t xEventGroupSetBits ( EventGroupHandle_t  xEventGroup,
const EventBits_t  uxBitsToSet 
)

Definition at line 474 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 154 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 270 of file event_groups.c.