Lines Matching defs:RingbufferDefinition
63 typedef struct RingbufferDefinition { struct
64 size_t xSize; //Size of the data storage
65 size_t xMaxItemSize; //Maximum item size
66 … UBaseType_t uxRingbufferFlags; //Flags to indicate the type and status of ring buffer
68 …ItemFitsFunction_t xCheckItemFits; //Function to check if item can currently fit in ring buffer
69 CopyItemFunction_t vCopyItem; //Function to copy item to ring buffer
70 GetItemFunction_t pvGetItem; //Function to get item from ring buffer
71 ReturnItemFunction_t vReturnItem; //Function to return item to ring buffer
72 GetCurMaxSizeFunction_t xGetCurMaxSize; //Function to get current free size
74 …cquire; //Acquire Pointer. Points to where the next item should be acquired.
75 …pucWrite; //Write Pointer. Points to where the next item should be written
76 …ucRead; //Read Pointer. Points to where the next item should be read from
77 … //Free Pointer. Points to the last item that has yet to be returned to the ring buffer
78 … uint8_t *pucHead; //Pointer to the start of the ring buffer storage area
79 uint8_t *pucTail; //Pointer to the end of the ring buffer storage area
81 … //Number of items/bytes(for byte buffers) currently in ring buffer that have not yet been read
99 StaticSemaphore_t xTransSemStatic;
100 StaticSemaphore_t xRecvSemStatic;
102 SemaphoreHandle_t xTransSemHandle;
103 SemaphoreHandle_t xRecvSemHandle;
105 portMUX_TYPE mux; //Spinlock required for SMP