Jump to main content

##

# 2.131.55 USART_SPI_CLOCK_POLARITY Enum

## C

    /* USART SPI master mode */

    typedef enum
    {
        USART_SPI_CLOCK_POLARITY_IDLE_LOW = 0 << US_MR_SPI_CPOL_Pos,
        USART_SPI_CLOCK_POLARITY_IDLE_HIGH = 1 << US_MR_SPI_CPOL_Pos,

        /* Force the compiler to reserve 32-bit space for each enum value */
        USART_SPI_CLOCK_POLARITY_INVALID = 0xFFFFFFFF

    }USART_SPI_CLOCK_POLARITY;

## Summary

Identifies SPI Clock Polarity Options

## Description

This enumeration constant defines possible values for the USART SPI clock polarity

## Remarks

None