1.2.21.53 1.3.25.53 1.4.21.53 1.5.25.53 1.6.22.53 1.7.23.53 1.9.19.53 1.29.23.53 1.30.18.53 1.31.18.53 1.32.26.53 1.33.16.53 1.37.18.53 1.38.21.53 1.39.18.53 1.40.20.53 SPI_CLOCK_PHASE Enum

C

/* SPI master mode */

typedef enum
{
    /* Input data is sampled on clock trailing edge and changed on leading edge */
    SPI_CLOCK_PHASE_TRAILING_EDGE = SERCOM_SPIM_CTRLA_CPHA_TRAILING_EDGE,

    /* Input data is sampled on clock leading edge and changed on trailing edge */
    SPI_CLOCK_PHASE_LEADING_EDGE = SERCOM_SPIM_CTRLA_CPHA_LEADING_EDGE,

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

} SPI_CLOCK_PHASE;

Summary

Identifies SPI Clock Phase Options

Description

This enumeration identifies possible SPI Clock Phase Options

Remarks

None