1.9.19.30 USART_PARITY Enum

C

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

typedef enum
{
	/* Even Parity */
    USART_PARITY_EVEN = SERCOM_USART_INT_CTRLB_PMODE_EVEN,

	/* Odd Parity */
    USART_PARITY_ODD = SERCOM_USART_INT_CTRLB_PMODE_ODD,

    /* This enum is defined to set frame format only. This value won't be written to register */
    USART_PARITY_NONE = 0x2,

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

} USART_PARITY;

Summary

Defines the parity types for the USART peripheral.

Description

This may be used in the SERCOMx_USART_SerialSetup API to change the parity configuration

Remarks

None.