1.26.4.29 DBGU_EVENT Enum

C

/* Ring buffer mode */

typedef enum
{
    /* Threshold number of bytes are available in the receive ring buffer */
    DBGU_EVENT_READ_THRESHOLD_REACHED = 0,

    /* Receive ring buffer is full. Application must read the data out to avoid missing data on the next RX interrupt. */
    DBGU_EVENT_READ_BUFFER_FULL,

    /* DBGU error. Application must call the DBGU_ErrorGet API to get the type of error and clear the error. */
    DBGU_EVENT_READ_ERROR,

    /* Threshold number of free space is available in the transmit ring buffer */
    DBGU_EVENT_WRITE_THRESHOLD_REACHED,
}DBGU_EVENT;

Summary

Defines the enums associated with the DBGU events in the ring buffer mode

Description

Defines the enums associated with the DBGU events in the ring buffer mode. An event of this type is passed in the read and write callbacks to let application identify the DBGU event type.

Remarks

None.