Jump to main content

##

# 2.47.27 FLEXCOM_USART_DATA Enum

## C

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

    typedef enum
    {
        FLEXCOM_USART_DATA_5_BIT = FLEX_US_MR_CHRL_5_BIT,
        FLEXCOM_USART_DATA_6_BIT = FLEX_US_MR_CHRL_6_BIT,
        FLEXCOM_USART_DATA_7_BIT = FLEX_US_MR_CHRL_7_BIT,
        FLEXCOM_USART_DATA_8_BIT = FLEX_US_MR_CHRL_8_BIT,
        FLEXCOM_USART_DATA_9_BIT = FLEX_US_MR_MODE9_Msk,

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

    } FLEXCOM_USART_DATA;

## Summary

Defines the data width types for the USART peripheral

## Description

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

## Remarks

None