1.1.13.31 1.8.24.25 1.10.23.27 1.11.23.27 1.12.24.27 1.13.22.27 1.14.17.27 1.15.18.27 1.16.25.27 1.17.20.27 1.18.21.27 1.19.21.27 1.20.25.27 1.21.26.27 1.22.28.27 1.23.27.27 1.24.23.27 1.27.26.25 1.34.26.25 1.35.20.25 UART_SERIAL_SETUP Struct

C

/* Blocking, non-blocking and ring buffer mode */

typedef struct
{
    uint32_t baudRate;
    
    UART_PARITY parity;
    
    UART_DATA dataWidth;
    
    UART_STOP stopBits;
    
} UART_SERIAL_SETUP;

Summary

Defines the data type for the UART serial setup.

Description

This can be used to define a serial setup which may then be used to change the serial setup of the UART dynamically by passing an instance of this struct as an argument to the UARTx_SerialSetup API.

Remarks

Some of the struct members may not be available based on the device family. Refer the generated header file for the complete list of struct members available on that device.