1.10.21.13 SPI_TRANSFER_SETUP Struct

C

/* SPI master mode */

typedef struct
{
    uint32_t    clockFrequency;
    SPI_CLOCK_PHASE clockPhase;
    SPI_CLOCK_POLARITY clockPolarity;
    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 SPIx_TransferSetup API.

Remarks

None.