1.8.7.31 1.25.6.31 1.26.5.31 1.27.5.31 1.28.6.31 1.36.7.30 1.41.5.31 1.42.3.31 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.