/*
** These macros are used to identify what events have generated interrupts.
** These are used in the function: 'UARTIntStatus'.
** One of the macro below is returned by 'UARTIntStatus'. Refer to
** definition of 'UARTIntStatus' function for more information.
*/
/* This is used to identify whether FIFO mode is enabled or not.*/
#define UART_FIFOEN_STAT UART_IIR_FIFOEN
/* This can be used as a mask for the Interrupt Identification(INTID) bits in
* the Interrupt Identification Register(IIR).*/
#define UART_INTID UART_IIR_INTID
/* This is used to identify whether Transmitter Empty event has generated an
** interrupt.
*/
#define UART_INTID_TX_EMPTY UART_IIR_INTID_THRE
/* This is used to identify whether Receiver Data Available event has generated
* an interrupt.*/
#define UART_INTID_RX_DATA UART_IIR_INTID_RDA
/* This is used to identify whether Receiver Line Status event has generated
* an interrupt.*/
#define UART_INTID_RX_LINE_STAT UART_IIR_INTID_RLS
/* This is used to identify whether Character Timeout event has generated an
* interrupt.*/
#define UART_INTID_CTI UART_IIR_INTID_CTI
/* This is used to identify whether the servicing of any interrupt is pending
* or not. */
#define UART_INTID_IPEND UART_IIR_IPEND
/* This is used to identify whether Receiver Line Status event has generated
* an interrupt.*/
#define UART_INTID_RX_LINE_STAT UART_IIR_INTID_RLS
请问标色的这个是什么事件呢? 我在串口例程里发现说是接收错误,那它是怎么判断有错误呢?