# UART Constants

This page aggregates all UART-related constants used by functions and methods from the C and C++ APIs.

group UART-related constants

  Enums

  enum UartBaudRate

    This enum represents the UART baudrate options.

    Values:

    enumerator UART_BAUD_600

      600 bps

    enumerator UART_BAUD_1200

      1200 bps

    enumerator UART_BAUD_2400

      2400 bps

    enumerator UART_BAUD_4800

      4800 bps

    enumerator UART_BAUD_9600

      9600 bps

    enumerator UART_BAUD_14400

      14400 bps

    enumerator UART_BAUD_19200

      19200 bps

    enumerator UART_BAUD_38400

      38400 bps

    enumerator UART_BAUD_56000

      56000 bps

    enumerator UART_BAUD_57600

      57600 bps

    enumerator UART_BAUD_115200

      115200 bps

  enum UartParity

    This enum represents the UART parity options.

    Values:

    enumerator UART_PARITY_NONE

      No parity

    enumerator UART_PARITY_EVEN

      Even parity

    enumerator UART_PARITY_ODD

      Odd parity

  enum UartDataSize

    This enum represents the UART data character size options.

    Values:

    enumerator UART_DATA_SIZE_7

      7-bit data size

    enumerator UART_DATA_SIZE_8

      8-bit data size

  enum UartStopBit

    This enum represents the UART stop bit options.

    Values:

    enumerator UART_STOP_BIT_1

      1 stop bit

    enumerator UART_STOP_BIT_2

      2 stop bits

  enum UartHwHandshake

    This enum represents the UART hardware handshake (RTS/CTS) configuration.

    Values:

    enumerator UART_HW_HANDSHAKE_DIS

      Disable UART hardware handshake RTS/CTS.

    enumerator UART_HW_HANDSHAKE_EN

      Enable UART hardware handshake RTS/CTS.