| Functions | |
| static void | RingBuffer_Read (ring_buffer_t *buff) | 
| Update the ring_buffer_t::rdIndex after single successful read. | |
| static void | RingBuffer_Write (ring_buffer_t *buff) | 
| Update the ring_buffer_t::wrIndex after single successful write. | |
| static void | RingBuffer_Read_Count (ring_buffer_t *buff, int count) | 
| Update the ring_buffer_t::rdIndex after multiple successful reads. | |
| static void | RingBuffer_Write_Count (ring_buffer_t *buff, int count) | 
| Update the ring_buffer_t::wrIndex after multiple successful writes. | |
| static bool | RingBuffer_IsEmpty (ring_buffer_t *buff) | 
| Checks if the ring buffer is empty. | |
| static bool | RingBuffer_IsFull (ring_buffer_t *buff) | 
| Checks if the ring buffer is full. | |
| static int | RingBuffer_NextWriteLoc (ring_buffer_t *buff) | 
| Get the next write location in the ring buffer. | |
| static int | RingBuffer_NextReadLoc (ring_buffer_t *buff) | 
| Get the next read location in the ring buffer. | |
| static int | RingBuffer_NextLoc (ring_buffer_t *buff, int index) | 
| Get the next index for given index in the ring buffer. | |
| static void | RingBuffer_Reset (ring_buffer_t *buff) | 
| Reset the indexes for the ring buffer. | |
| static int | RingBuffer_GetCountTillSize (ring_buffer_t *buff) | 
| Get the number of entries left till the end of the data buffer, if we consider it as a linear buffer. | |
| static int | RingBuffer_GetPendingReadCount (ring_buffer_t *buff) | 
| Get the number of available slots/entries in the ring_buffer_t. | |
| static int | RingBuffer_GetPendingReadCountsTillEnd (ring_buffer_t *buff) | 
| Get the number of available slots/entries in the ring_buffer_t without looping back to the start of the buffer. | |
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
true if empty else false. | 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
true if full else false. | 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| index | Initial index. | 
| int- | next index in relevant buffer. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| int- | next read location index in relevant buffer. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| int- | Next write location index in relevant buffer. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| count | No of reads done. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| 
 | static | 
| buff | Pointer to the relevant ring_buffer_t. | 
| count | No of writes done. |