Jump to main content

##

# 2.110.39 USART_DATA Enum

## C

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

    typedef enum
    {
        USART_DATA_5_BIT = SERCOM_USART_INT_CTRLB_CHSIZE_5_BIT,

        USART_DATA_6_BIT = SERCOM_USART_INT_CTRLB_CHSIZE_6_BIT,

        USART_DATA_7_BIT = SERCOM_USART_INT_CTRLB_CHSIZE_7_BIT,

        USART_DATA_8_BIT = SERCOM_USART_INT_CTRLB_CHSIZE_8_BIT,

        USART_DATA_9_BIT = SERCOM_USART_INT_CTRLB_CHSIZE_9_BIT,

        /* Force the compiler to reserve 32-bit memory for each enum */
        USART_DATA_INVALID = 0xFFFFFFFFU

    } USART_DATA;

## Summary

Defines the data width types for the USART peripheral

## Description

This may be in the SERCOMx_USART_SerialSetup API to change the data width configuration

## Remarks

None