4.6.2.2 Functions
BUFFER_RETURN_CODE_t CIRCBUF_Enqueue (CIRCULAR_BUFFER_t *buffer, uint8_t data)
Adds input data to circular buffer if there is space available.
BUFFER_RETURN_CODE_t CIRCBUF_Dequeue (CIRCULAR_BUFFER_t *buffer, uint8_t *data)
Pulls data from the circular buffer if it's available.
bool CIRCBUF_Empty (CIRCULAR_BUFFER_t *buffer)
Checks if the circular buffer is empty.
bool CIRCBUF_Full (CIRCULAR_BUFFER_t *buffer)
Checks if the circular buffer is full.
uint16_t CIRCBUF_FreeSpace (CIRCULAR_BUFFER_t *buffer)
Returns the number of available bytes in the circular buffer.