Jump to main content

##

# 2.131.54 USART_SPI_CLOCK_PHASE Enum

## C

    /* USART SPI master mode */

    typedef enum
    {
        USART_SPI_CLOCK_PHASE_TRAILING_EDGE = 0 << US_MR_SPI_CPHA_Pos,
        USART_SPI_CLOCK_PHASE_LEADING_EDGE = 1 << US_MR_SPI_CPHA_Pos,

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

    }USART_SPI_CLOCK_PHASE;

## Summary

Identifies SPI Clock Phase Options

## Description

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

## Remarks

None