1.33.16.49 SPI_TRANSFER_SETUP Struct

C

/* SPI master mode */

typedef struct
{
    
    /* Baud Rate or clock frequency in bits per second */
    uint32_t clockFrequency;
    
    /* Clock Phase */
    SPI_CLOCK_PHASE clockPhase;
    
    /* Clock Polarity */
    SPI_CLOCK_POLARITY clockPolarity;
    
    /* Number of bits per transfer */
    SPI_DATA_BITS dataBits;
    
} SPI_TRANSFER_SETUP;

Summary

Data structure containing the SPI parameters which can be changed at run time

Description

This structure identifies the possible setup parameters for SPI which can be changed at run time. An instance of this structure is passed as a parameter to the SERCOMx_SPI_TransferSetup API.

Remarks

None