1.36.7.30 FLEXCOM_USART_ERROR Enum

C

typedef enum
{
    FLEXCOM_USART_ERROR_NONE = 0,
    FLEXCOM_USART_ERROR_OVERRUN = FLEX_US_CSR_OVRE_Msk,
    FLEXCOM_USART_ERROR_PARITY = FLEX_US_CSR_PARE_Msk,
    FLEXCOM_USART_ERROR_FRAMING = FLEX_US_CSR_FRAME_Msk,

    /* Force the compiler to reserve 32-bit memory for each enum */
    FLEXCOM_USART_ERROR_INVALID = 0xFFFFFFFF

} FLEXCOM_USART_ERROR;

Summary

Defines the data type for the FLEXCOM USART peripheral errors.

Description

This may be used to check the type of error occurred with the FLEXCOM USART peripheral during error status.

Remarks

None.