uart_if.h

    UART

    Description:

    Declares standard UART APIs.

    Since:

    1.0

    Summary

    Data Structures

    Macros

    Enumerations

    Functions

    Details

    Macro Definition Documentation

    UART_ATTR_CTS_DIS

    Description:

    Indicates that Clear To Send (CTS) is disabled for the UART device.

    Description:

    Indicates that CTS is enabled for the UART device.

    UART_ATTR_DATABIT_5

      Description:

      Indicates the UART word length, which is 5 data bits per frame.

      UART_ATTR_DATABIT_6

      1. #define UART_ATTR_DATABIT_6 2

      Description:

      Indicates the UART word length, which is 6 data bits per frame.

      UART_ATTR_DATABIT_7

      1. #define UART_ATTR_DATABIT_7 1

      Description:

      Indicates the UART word length, which is 7 data bits per frame.

      UART_ATTR_DATABIT_8

      1. #define UART_ATTR_DATABIT_8 0

      Description:

      Indicates the UART word length, which is 8 data bits per frame.

      UART_ATTR_PARITY_EVEN

      Description:

      Indicates that the UART device has an even parity bit.

      UART_ATTR_PARITY_MARK

      Description:

      Indicates that the parity bit is 1.

      UART_ATTR_PARITY_NONE

      1. #define UART_ATTR_PARITY_NONE 0

      Description:

      Indicates that the UART device has no parity bit.

      UART_ATTR_PARITY_ODD

      1. #define UART_ATTR_PARITY_ODD 1

      Description:

      Indicates that the UART device has an odd parity bit.

      1. #define UART_ATTR_PARITY_SPACE 4

      Description:

      Indicates that the parity bit is 0.

      UART_ATTR_RTS_DIS

      1. #define UART_ATTR_RTS_DIS 0

      Description:

      Indicates that Request To Send (RTS) is disabled for the UART device.

      UART_ATTR_RTS_EN

      Description:

      Indicates that RTS is enabled for the UART device.

      UART_ATTR_RX_FIFO_DIS

      Description:

      Indicates that First In First Out (FIFO) is disabled for the receiving UART.

      UART_ATTR_RX_FIFO_EN

      1. #define UART_ATTR_RX_FIFO_EN 1

      Description:

      Indicates that FIFO is enabled for the receiving UART.

      UART_ATTR_STOPBIT_1

      1. #define UART_ATTR_STOPBIT_1 0

      Description:

      Indicates that the UART device has 1 stop bit.

      UART_ATTR_STOPBIT_1P5

      1. #define UART_ATTR_STOPBIT_1P5 1

      Description:

      Indicates that the UART device has 1.5 stop bits.

      UART_ATTR_STOPBIT_2

      1. #define UART_ATTR_STOPBIT_2 2

      Description:

      Indicates that the UART device has 2 stop bits.

      UART_ATTR_TX_FIFO_DIS

      Description:

      Indicates that FIFO is disabled for the transmitting UART.

      Description:

      Indicates that FIFO is enabled for the transmitting UART.