1.25.5.20 DBGU_ReadBufferSizeGet Function

C

/* Ring buffer mode */

size_t DBGU_ReadBufferSizeGet(void)

Summary

Returns the size of the receive ring buffer

Description

This function returns the size of the receive ring buffer, which is same as the size of the receive ring buffer configured in MHC.

Precondition

DBGU_Initialize must have been called for the associated DBGU instance.

Parameters

None

Returns

The API returns the size of the receive ring buffer.

Example

size_t rxBufferSize;

rxBufferSize = DBGU_ReadBufferSizeGet();

Remarks

None