1.25.5.25 DBGU_ERROR Enum

C

/* Blocking, non-blocking and ring buffer mode */

typedef enum
{
    DBGU_ERROR_NONE = 0,
    DBGU_ERROR_OVERRUN = DBGU_SR_OVRE_Msk,
    DBGU_ERROR_PARITY = DBGU_SR_PARE_Msk,
    DBGU_ERROR_FRAMING = DBGU_SR_FRAME_Msk

} DBGU_ERROR;

Summary

Defines the data type for the DBGU peripheral errors.

Description

This may be used to check the type of error occurred with the DBGU peripheral during error status. An error of type DBGU_ERROR is returned by the DBGU_ErrorGet API.

Remarks

None.