1.25.5.16 DBGU_ReadFreeBufferCountGet Function
C
/* Ring buffer mode */
size_t DBGU_ReadFreeBufferCountGet(void)
Summary
Returns the number of bytes of free space available in the internal receive buffer
Description
This API returns the number of bytes of free space available in the internal receive buffer. This API can be used to determine how many bytes can be received before the receive buffer becomes full.
Precondition
DBGU_Initialize must have been called for the associated DBGU instance.
Parameters
None
Returns
The API returns the number of bytes of free space in the receive buffer.
Example
size_t nRxFreeSpace; nRxFreeSpace = DBGU_ReadFreeBufferCountGet();
Remarks
None