Jump to main content

##

# 2.47.51 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.