1.7.23.51 SPI_DATA_BITS Enum

C

/* SPI master mode */

typedef enum
{
    /* 8 bits per transfer */
    SPI_DATA_BITS_8 = SERCOM_SPIM_CTRLB_CHSIZE_8_BIT,

    /* 9 bits per transfer */
    SPI_DATA_BITS_9 = SERCOM_SPIM_CTRLB_CHSIZE_9_BIT,

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

} SPI_DATA_BITS;

Summary

Identifies SPI bits per transfer

Description

This enumeration identifies number of bits per SPI transfer.

Remarks

None