1.1.13.33 1.8.24.28 1.10.23.30 1.11.23.30 1.12.24.30 1.13.22.30 1.14.17.30 1.15.18.30 1.16.25.30 1.17.20.30 1.18.21.30 1.19.21.30 1.20.25.30 1.21.26.30 1.22.28.30 1.23.27.30 1.24.23.30 1.27.26.28 1.34.26.28 1.35.20.28 UART_EVENT Enum

C

/* Ring buffer mode */

typedef enum
{
    /* Threshold number of bytes are available in the receive ring buffer */
    UART_EVENT_READ_THRESHOLD_REACHED,
    
    /* Receive ring buffer is full. Application must read the data out to avoid missing data on the next RX interrupt. */
    UART_EVENT_READ_BUFFER_FULL,
    
    /* USART error. Application must call the UARTx_ErrorGet API to get the type of error and clear the error. */
    UART_EVENT_READ_ERROR,
    
    /* Threshold number of free space is available in the transmit ring buffer */
    UART_EVENT_WRITE_THRESHOLD_REACHED,
}UART_EVENT;

Summary

Defines the enums associated with the UART events in the ring buffer mode

Description

Defines the enums associated with the UART events in the ring buffer mode. An event of this type is passed in the read and write callbacks to let application identify the UART event type.

Remarks

None.