iLLD_TC27xD  1.0
Data Structures
Collaboration diagram for Data Structures:

Data Structures

struct  IfxQspi_SpiMaster_Input
 SLSI pin configuration structure. More...
 
struct  IfxQspi_SpiMaster_Output
 SLSO pin configuration structure. More...
 
struct  IfxQspi_SpiMaster_Dma
 Dma handle. More...
 
struct  IfxQspi_SpiMaster_DmaConfig
 Dma configuration. More...
 
struct  IfxQspi_SpiMaster_ErrorFlags
 Qspi Master Mode Error Flags. More...
 
union  IfxQspi_SpiMaster_InputOutput
 Union of Slave Select pins. More...
 
struct  IfxQspi_SpiMaster_Pins
 Master pin IO configuration structure. More...
 
struct  IfxQspi_SpiMaster
 Module handle data structure. More...
 
struct  IfxQspi_SpiMaster_ChannelConfig
 Module Channel configuration structure. More...
 
struct  IfxQspi_SpiMaster_Channel_s
 Module Channel handle structure. More...
 
struct  IfxQspi_SpiMaster_Config
 Module configuration structure. More...
 

Enumerations

enum  IfxQspi_SpiMaster_ChannelBasedCs {
  IfxQspi_SpiMaster_ChannelBasedCs_disabled = 0,
  IfxQspi_SpiMaster_ChannelBasedCs_enabled = 1
}
 
enum  IfxQspi_SpiMaster_Mode {
  IfxQspi_SpiMaster_Mode_short = 0,
  IfxQspi_SpiMaster_Mode_long = 1,
  IfxQspi_SpiMaster_Mode_shortContinuous = 2,
  IfxQspi_SpiMaster_Mode_longContinuous = 3,
  IfxQspi_SpiMaster_Mode_xxl = 4
}
 

Detailed Description


Data Structure Documentation

struct IfxQspi_SpiMaster_Input

SLSI pin configuration structure.

Definition at line 525 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_Input:
Data Fields
IfxPort_InputMode mode The SLSI pin input mode.
const IfxQspi_Slsi_In * pin Pointer to SLSI in pin.
struct IfxQspi_SpiMaster_Output

SLSO pin configuration structure.

Definition at line 533 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_Output:
Data Fields
IfxPort_PadDriver driver The pad driver mode which should be configured.
IfxPort_OutputMode mode The SLSO pin output mode.
const IfxQspi_Slso_Out * pin Pointer to SLSO out pin.
struct IfxQspi_SpiMaster_Dma

Dma handle.

Definition at line 546 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_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 transfer/s
struct IfxQspi_SpiMaster_DmaConfig

Dma configuration.

Definition at line 557 of file IfxQspi_SpiMaster.h.

Data Fields
IfxDma_ChannelId rxDmaChannelId DMA channel no for the Spi recieve.
IfxDma_ChannelId txDmaChannelId DMA channel no for the Spi transmit.
boolean useDma use Dma for Data transfer/s
struct IfxQspi_SpiMaster_ErrorFlags

Qspi Master Mode Error Flags.

Definition at line 566 of file IfxQspi_SpiMaster.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 txFifoOverflowError: 1 [3:3] TxFifo Overflow Error
uint16 txFifoUnderflowError: 1 [4:4] TxFifo underflow Error
union IfxQspi_SpiMaster_InputOutput

Union of Slave Select pins.

Definition at line 580 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_InputOutput:
Data Fields
IfxQspi_SpiMaster_Input input SLSI pin configuration structure.
IfxQspi_SpiMaster_Output output SLSO pin configuration structure.
struct IfxQspi_SpiMaster_Pins

Master pin IO configuration structure.

Definition at line 588 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_Pins:
Data Fields
const IfxQspi_Mrst_In * mrst Pointer to MRST in pin.
IfxPort_InputMode mrstMode The MRST pin input mode.
const IfxQspi_Mtsr_Out * mtsr Pointer to MTSR out pin.
IfxPort_OutputMode mtsrMode The MTSR pin output mode.
IfxPort_PadDriver pinDriver The pad driver mode which should be configured.
const IfxQspi_Sclk_Out * sclk Pointer to SLCK out pin.
IfxPort_OutputMode sclkMode The SCLK pin output mode.
struct IfxQspi_SpiMaster

Module handle data structure.

Definition at line 605 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster:
Data Fields
SpiIf base Module SPI interface handle.
IfxQspi_SpiMaster_Dma dma dma handle
Ifx_QSPI * qspi Pointer to QSPI module registers.
struct IfxQspi_SpiMaster_ChannelConfig

Module Channel configuration structure.

Definition at line 614 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_ChannelConfig:
Data Fields
SpiIf_ChConfig base SPI interface channel configuration structure.
IfxQspi_SpiMaster_ChannelBasedCs channelBasedCs define the slso behaviour
IfxQspi_SpiMaster_Mode mode Qspi Operating Mode.
IfxQspi_SpiMaster_InputOutput sls Union of Slave Select pins.
struct IfxQspi_SpiMaster_Channel_s

Module Channel handle structure.

Definition at line 624 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_Channel_s:
Data Fields
IfxQspi_SpiMaster_AutoSlso activateSlso Specifies function for Auto SLSO activation.
Ifx_QSPI_BACON bacon basic configuration register
SpiIf_Ch base SPI interface channel handle structure.
IfxQspi_SpiMaster_ChannelBasedCs channelBasedCs define the slso behaviour
IfxQspi_ChannelId channelId QSPI channel Number.
uint8 dataWidth Number of bits which will be written into the FIFO.
IfxQspi_SpiMaster_AutoSlso deactivateSlso Specifies function for Auto SLSO deactivation.
IfxQspi_SpiMaster_ErrorFlags errorFlags Spi Master Error Flags.
boolean firstWrite Specifies whether the data id first write or not.
IfxQspi_SpiMaster_Mode mode Qspi Operating Mode.
IfxPort_Pin slso Defines SLSO pin.
Ifx_ActiveState slsoActiveState Specifies the current state of SLSO.
struct IfxQspi_SpiMaster_Config

Module configuration structure.

Definition at line 642 of file IfxQspi_SpiMaster.h.

Collaboration diagram for IfxQspi_SpiMaster_Config:
Data Fields
boolean allowSleepMode Specifies module sleep mode.
SpiIf_Config base SPI interface configuration structure.
IfxQspi_SpiMaster_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_SpiMaster_Pins * pins structure for QSPI Master pins
Ifx_QSPI * qspi Pointer to QSPI module registers.
IfxQspi_RxFifoInt rxFifoThreshold Specifies the RXFIFO interrupt threshold.
IfxQspi_TxFifoInt txFifoThreshold Specifies the TXFIFO interrupt threshold.

Enumeration Type Documentation

Enumerator
IfxQspi_SpiMaster_ChannelBasedCs_disabled 

Slso will be low for complete frame.

IfxQspi_SpiMaster_ChannelBasedCs_enabled 

Slso will toggle with every byte.

Definition at line 500 of file IfxQspi_SpiMaster.h.

Enumerator
IfxQspi_SpiMaster_Mode_short 

Short Mode.

IfxQspi_SpiMaster_Mode_long 

Long Mode.

IfxQspi_SpiMaster_Mode_shortContinuous 

Short Continous Mode.

IfxQspi_SpiMaster_Mode_longContinuous 

Long Continous Mode.

IfxQspi_SpiMaster_Mode_xxl 

XXL Mode.

Definition at line 506 of file IfxQspi_SpiMaster.h.