1.8.7.47 1.25.6.47 1.26.5.47 1.27.5.47 1.28.6.47 1.36.7.45 1.41.5.47 1.42.3.47 FLEXCOM_SPI_TRANSFER_SETUP Struct

C

/* SPI master mode */

typedef struct
{
    
    /* Baud Rate or clock frequency */
    uint32_t clockFrequency;
    
    /* Clock Phase */
    FLEXCOM_SPI_CLOCK_PHASE clockPhase;
    
    /* Clock Polarity */
    FLEXCOM_SPI_CLOCK_POLARITY clockPolarity;
    
    /* Number of bits per transfer */
    FLEXCOM_SPI_DATA_BITS dataBits;
    
}FLEXCOM_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 FLEXCOM SPI which can be changed dynamically if needed. An instance of this structure is passed as a parameter to the FLEXCOMx_SPI_TransferSetup API.

Remarks

None.