1.2.21.28 1.3.25.28 1.4.21.28 1.5.25.28 1.6.22.28 1.7.23.28 1.9.19.28 1.29.23.28 1.30.18.28 1.31.18.28 1.32.26.28 1.33.16.28 1.37.18.28 1.38.21.28 1.39.18.28 1.40.20.28 USART_SERIAL_SETUP Struct

C

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

typedef struct
{
    /* Baud Rate in bits per second */
    uint32_t baudRate;
    
    /* Data width in bits */
    USART_DATA dataWidth;
    
    /* data parity for error checking */
    USART_PARITY parity;
    
    /* Number of stop bits */
    USART_STOP stopBits;
    
} USART_SERIAL_SETUP;

Summary

Defines the data structure which is used to configure USART serial parameters at run time

Description

This may be used to set the serial configurations for USART. An object of this structure is passed as a parameter to the SERCOMx_USART_SerialSetup API.

Remarks

None