- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
SPI_Config Struct Reference
SPI Data Structures

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

SPI_ClkPh SPI_Config::clkPh

Clock phase

Referenced by SPI_config().

SPI_ClkPolarity SPI_Config::clkPol

Clock plarity

Referenced by SPI_config().

SPI_HwMode SPI_Config::csNum

Chip select ie.0...3

Referenced by SPI_config().

SPI_ChipSelPol SPI_Config::csPol

chip select polarity

Referenced by SPI_config().

SPI_DataDly SPI_Config::dataDelay

Data delay

Referenced by SPI_config().

SPI_FrameCntEnb SPI_Config::fcEnable

Frame complete enable

Referenced by SPI_config().

Uint16 SPI_Config::frLen

Frame lenghth to transmit or receive

Referenced by SPI_config().

Uint16 SPI_Config::spiClkDiv

clock division (minimum value is 3)

Referenced by SPI_config().

SPI_WordCntEnb SPI_Config::wcEnable

Word complete enable

Referenced by SPI_config().

SPI_WordLen SPI_Config::wLen

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:

- csl_spi.h