iLLD_TC27xD  1.0
Data Structures
Collaboration diagram for Data Structures:

Data Structures

struct  IfxQspi_SpiSlave_Dma
 Dma handle. More...
 
struct  IfxQspi_SpiSlave_DmaConfig
 Dma configuration. More...
 
struct  IfxQspi_SpiSlave_ErrorFlags
 Qspi Slave Mode Error Flags. More...
 
struct  IfxQspi_SpiSlave_Pins
 Slave pin IO configuration structure. More...
 
struct  IfxQspi_SpiSlave_Protocol
 Configures the SPI Protocol. More...
 
struct  IfxQspi_SpiSlave
 Module handle data structure. More...
 
struct  IfxQspi_SpiSlave_Config
 Module configuration structure. More...
 

Detailed Description


Data Structure Documentation

struct IfxQspi_SpiSlave_Dma

Dma handle.

Definition at line 300 of file IfxQspi_SpiSlave.h.

Collaboration diagram for IfxQspi_SpiSlave_Dma:
Data Fields
IfxDma_Dma_Channel rxDmaChannel receive DMA channel handle
IfxDma_ChannelId rxDmaChannelId DMA channel no for the Spi recieve.
IfxDma_Dma_Channel txDmaChannel transmit DMA channel handle
IfxDma_ChannelId txDmaChannelId DMA channel no for the Spi transmit.
boolean useDma use Dma for Data transfers
struct IfxQspi_SpiSlave_DmaConfig

Dma configuration.

Definition at line 311 of file IfxQspi_SpiSlave.h.

Data Fields
IfxDma_ChannelId rxDmaChannelId DMA channel no for the Spi receive.
IfxDma_ChannelId txDmaChannelId DMA channel no for the Spi transmit.
boolean useDma use Dma for Data transfers
struct IfxQspi_SpiSlave_ErrorFlags

Qspi Slave Mode Error Flags.

Definition at line 320 of file IfxQspi_SpiSlave.h.

Data Fields
uint16 baudrateError: 1 [2:2] baudrate Error
uint16 configurationError: 1 [1:1] Configuration Error
uint16 expectTimeoutError: 1 [7:7] Expect Timeout Error
uint16 parityError: 1 [0:0] Parity Error
uint16 rxFifoOverflowError: 1 [5:5] RxFifo Overflow Error
uint16 rxFifoUnderflowError: 1 [6:6] RxFifo underflow Error
uint16 slsiMisplacedInactivation: 1 [8:8] SLSI misplaced inactivation (slave mode)
uint16 txFifoOverflowError: 1 [3:3] TxFifo Overflow Error
uint16 txFifoUnderflowError: 1 [4:4] TxFifo underflow Error
struct IfxQspi_SpiSlave_Pins

Slave pin IO configuration structure.

Definition at line 335 of file IfxQspi_SpiSlave.h.

Collaboration diagram for IfxQspi_SpiSlave_Pins:
Data Fields
const IfxQspi_Mrst_Out * mrst Pointer to MRST out pin.
IfxPort_OutputMode mrstMode The MRST pin output mode.
const IfxQspi_Mtsr_In * mtsr Pointer to MTSR in pin.
IfxPort_InputMode mtsrMode The MTSR pin input mode.
IfxPort_PadDriver pinDriver The pad driver mode which should be configured.
const IfxQspi_Sclk_In * sclk Pointer to SLCK in pin.
IfxPort_InputMode sclkMode The SCLK pin input mode.
const IfxQspi_Slsi_In * slsi Pointer to SLSI in pin.
IfxPort_InputMode slsiMode The SLSI pin input mode.
struct IfxQspi_SpiSlave_Protocol

Configures the SPI Protocol.

Definition at line 350 of file IfxQspi_SpiSlave.h.

Data Fields
SpiIf_ClockPolarity clockPolarity Specifies the clock polarity.
SpiIf_DataHeading dataHeading Specifies MSB or LSB first.
uint8 dataWidth range 2 .. 32 bits (note 2 = 2-bits, 3 = 3-bits ...
Ifx_ParityMode parityMode Specifies the parity mode.
SpiIf_ShiftClock shiftClock Specifies the clock phase.
struct IfxQspi_SpiSlave

Module handle data structure.

Definition at line 365 of file IfxQspi_SpiSlave.h.

Collaboration diagram for IfxQspi_SpiSlave:
Data Fields
SpiIf base Module SPI interface handle.
uint8 dataWidth Number of bits which will be written into the FIFO.
IfxQspi_SpiSlave_Dma dma Dma handle.
IfxQspi_SpiSlave_ErrorFlags errorFlags Spi Slave Error Flags.
boolean onTransfer set to TRUE during ongoing transfer
Ifx_QSPI * qspi Pointer to QSPI module registers.
SpiIf_Job rxJob Rx Stream which has been received.
SpiIf_Job txJob Tx Stream which should be sent.
struct IfxQspi_SpiSlave_Config

Module configuration structure.

Definition at line 379 of file IfxQspi_SpiSlave.h.

Collaboration diagram for IfxQspi_SpiSlave_Config:
Data Fields
boolean allowSleepMode Specifies module sleep mode.
SpiIf_Config base SPI interface configuration structure.
IfxQspi_SpiSlave_DmaConfig dma Dma configuration.
boolean pauseOnBaudrateSpikeErrors Specifies module pause on baudrate or spike errors.
IfxQspi_PauseRunTransition pauseRunTransition Specifies module run or pause mode.
const IfxQspi_SpiSlave_Pins * pins structure for QSPI Slave pins
IfxQspi_SpiSlave_Protocol protocol
Ifx_QSPI * qspi Pointer to QSPI module registers.
IfxQspi_RxFifoInt rxFifoThreshold Specifies the RXFIFO interrupt threshold.
IfxQspi_TxFifoInt txFifoThreshold Specifies the TXFIFO interrupt threshold.