*\r
* // Initialise the buffer with the created storage array\r
* RingBuffer_InitBuffer(&Buffer, BufferData, sizeof(BufferData));\r
*\r
* // Initialise the buffer with the created storage array\r
* RingBuffer_InitBuffer(&Buffer, BufferData, sizeof(BufferData));\r
uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array */\r
uint8_t Size; /**< Size of the buffer's underlying storage array */\r
uint16_t Count; /**< Number of bytes currently stored in the buffer */\r
uint8_t* End; /**< Pointer to the end of the buffer's underlying storage array */\r
uint8_t Size; /**< Size of the buffer's underlying storage array */\r
uint16_t Count; /**< Number of bytes currently stored in the buffer */\r
\r
/* Inline Functions: */\r
/** Initializes a ring buffer ready for use. Buffers must be initialized via this function\r
\r
/* Inline Functions: */\r
/** Initializes a ring buffer ready for use. Buffers must be initialized via this function\r
* \param[out] DataPtr Pointer to a global array that will hold the data stored into the ring buffer.\r
* \param[out] Size Maximum number of bytes that can be stored in the underlying data array.\r
*/\r
* \param[out] DataPtr Pointer to a global array that will hold the data stored into the ring buffer.\r
* \param[out] Size Maximum number of bytes that can be stored in the underlying data array.\r
*/\r
- static inline void RingBuffer_InitBuffer(RingBuff_t* Buffer, uint8_t* const DataPtr, const uint16_t Size)\r
+ static inline void RingBuffer_InitBuffer(RingBuffer_t* Buffer, uint8_t* const DataPtr, const uint16_t Size)\r
* \param[in,out] Buffer Pointer to a ring buffer structure to insert into.\r
* \param[in] Data Data element to insert into the buffer.\r
*/\r
* \param[in,out] Buffer Pointer to a ring buffer structure to insert into.\r
* \param[in] Data Data element to insert into the buffer.\r
*/\r