4.4.1.2.3 CIRCBUF_Enqueue()

BUFFER_RETURN_CODE_t CIRCBUF_Enqueue (CIRCULAR_BUFFER_t * buffer, uint8_t data)

Adds input data to circular buffer if there is space available.

Parameters:
buffer

- Circular buffer address

data

- Intput data

Returns:

status - Result of the addition process