Data Fields
SPI_Config Struct Reference

Configuration structure. More...

#include <csl_spi.h>

Data Fields

Uint16 spiClkDiv
SPI_WordLen wLen
Uint16 frLen
SPI_WordCntEnb wcEnable
SPI_FrameCntEnb fcEnable
SPI_HwMode csNum
SPI_DataDly dataDelay
SPI_ClkPolarity clkPol
SPI_ChipSelPol csPol
SPI_ClkPh clkPh

Detailed Description

Configuration structure.

Hardware register configuration structure


Field Documentation

Clock phase

Referenced by SPI_config().

Clock plarity

Referenced by SPI_config().

Chip select ie.0...3

Referenced by SPI_config().

chip select polarity

Referenced by SPI_config().

Data delay

Referenced by SPI_config().

Frame complete enable

Referenced by SPI_config().

Frame lenghth to transmit or receive

Referenced by SPI_config().

clock division (minimum value is 3)

Referenced by SPI_config().

Word complete enable

Referenced by SPI_config().

Word length set for data transmission or receive (supporting 8 bit or 16 bit)

Referenced by SPI_config().


The documentation for this struct was generated from the following file: