1.34.27.30 USART_ERROR Enum

C

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

typedef enum
{
    USART_ERROR_NONE = 0,
    USART_ERROR_OVERRUN = US_CSR_USART_OVRE_Msk,
    USART_ERROR_PARITY = US_CSR_USART_PARE_Msk,
    USART_ERROR_FRAMING = US_CSR_USART_FRAME_Msk

} USART_ERROR;

Summary

Defines the data type for the USART peripheral errors.

Description

This may be used to check the type of error occurred with the USART peripheral during error status. An error of type USART_ERROR is returned by the USARTx_ErrorGet API.

Remarks

None.