1.34.27.27 USART_SERIAL_SETUP Struct

C

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

typedef struct
{
    uint32_t baudRate;
    USART_PARITY parity;
    USART_DATA dataWidth;
    USART_STOP stopBits;

} USART_SERIAL_SETUP;

Summary

Defines the data type for the USART serial setup.

Description

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

Remarks

None.