1.37.18.52 SPI_CLOCK_POLARITY Enum

C

/* SPI master mode */

typedef enum
{
    /* The inactive state value of clock is logic level zero */
    SPI_CLOCK_POLARITY_IDLE_LOW = SERCOM_SPIM_CTRLA_CPOL_IDLE_LOW,

    /* The inactive state value of clock is logic level one */
    SPI_CLOCK_POLARITY_IDLE_HIGH = SERCOM_SPIM_CTRLA_CPOL_IDLE_HIGH,

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

} SPI_CLOCK_POLARITY;

Summary

Identifies SPI Clock Polarity Options

Description

This enumeration identifies possible SPI Clock Polarity Options.

Remarks

None.