Jump to main content

##

# 2.131.47 USART_DATA_BIT Enum

## C

    typedef enum
    {
        USART_DATA_5_BIT = US_MR_USART_CHRL_5_BIT,
        USART_DATA_6_BIT = US_MR_USART_CHRL_6_BIT,
        USART_DATA_7_BIT = US_MR_USART_CHRL_7_BIT,
        USART_DATA_8_BIT = US_MR_USART_CHRL_8_BIT,
        USART_DATA_9_BIT = US_MR_USART_MODE9_Msk,

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

    } USART_DATA;

## Summary

Defines the data type for the USART data bit length.

## Description

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

## Remarks

None.