1.6.22.29 USART_ERROR Macros and Typedefs
C
/* Blocking, non-blocking and ring buffer mode */ /* Error status when no error has occurred */ #define USART_ERROR_NONE 0U /* Error status when parity error has occurred */ #define USART_ERROR_PARITY SERCOM_USART_INT_STATUS_PERR_Msk /* Error status when framing error has occurred */ #define USART_ERROR_FRAMING SERCOM_USART_INT_STATUS_FERR_Msk /* Error status when overrun error has occurred */ #define USART_ERROR_OVERRUN SERCOM_USART_INT_STATUS_BUFOVF_Msk /* USART error type */ typedef uint16_t USART_ERROR;
Summary
Defines the macros and typedefs associated with the USART peripheral errors.
Description
Defines the macros and typedefs associated with the USART peripheral errors. An error of this type is returned by the SERCOMx_USART_ErrorGet() function.
Remarks
None.