iLLD_TC27xD  1.0
IfxQspi_SpiMaster.c File Reference

QSPI SPIMASTER details. More...

Go to the source code of this file.

Functions

SpiIf_Status IfxQspi_SpiMaster_exchange (IfxQspi_SpiMaster_Channel *chHandle, const void *src, void *dest, Ifx_SizeT count)
 Exchanges data between source and data. More...
 
SpiIf_ChConfig IfxQspi_SpiMaster_getChannelConfig (IfxQspi_SpiMaster_Channel *chHandle)
 Gets the channel configuration. More...
 
SpiIf_Status IfxQspi_SpiMaster_getStatus (IfxQspi_SpiMaster_Channel *chHandle)
 Gets the transmission status. More...
 
SpiIf_Status IfxQspi_SpiMaster_initChannel (IfxQspi_SpiMaster_Channel *chHandle, const IfxQspi_SpiMaster_ChannelConfig *chConfig)
 Initializes the channel. More...
 
void IfxQspi_SpiMaster_initChannelConfig (IfxQspi_SpiMaster_ChannelConfig *chConfig, IfxQspi_SpiMaster *handle)
 Fills the config structure with default values. More...
 
void IfxQspi_SpiMaster_initModule (IfxQspi_SpiMaster *handle, const IfxQspi_SpiMaster_Config *config)
 Initialises the module. More...
 
void IfxQspi_SpiMaster_initModuleConfig (IfxQspi_SpiMaster_Config *config, Ifx_QSPI *qspi)
 Fills the config structure with default values. More...
 
void IfxQspi_SpiMaster_isrDmaReceive (IfxQspi_SpiMaster *qspiHandle)
 Transmit interrupt handler. More...
 
void IfxQspi_SpiMaster_isrDmaTransmit (IfxQspi_SpiMaster *qspiHandle)
 Transmit interrupt handler. More...
 
void IfxQspi_SpiMaster_isrError (IfxQspi_SpiMaster *handle)
 Error Interrupt handler. More...
 
IfxQspi_PhaseTransitionEvent IfxQspi_SpiMaster_isrPhaseTransition (IfxQspi_SpiMaster *handle)
 Phase Transition interrupt handler. More...
 
void IfxQspi_SpiMaster_isrReceive (IfxQspi_SpiMaster *handle)
 Receive Interrupt handler. More...
 
void IfxQspi_SpiMaster_isrTransmit (IfxQspi_SpiMaster *handle)
 Transmit interrupt handler. More...
 
IfxQspi_PhaseTransitionEvent IfxQspi_SpiMaster_isrUserDefined (IfxQspi_SpiMaster *handle)
 User defined interrupt handler. More...
 
void IfxQspi_SpiMaster_packLongModeBuffer (IfxQspi_SpiMaster_Channel *chHandle, void *data, uint32 *longFifoBuffer, Ifx_SizeT dataLength)
 pack data to Long mode buffer More...
 
SpiIf_Status IfxQspi_SpiMaster_setChannelBaudrate (IfxQspi_SpiMaster_Channel *chHandle, float baudrate)
 Set the channel baudrate. More...
 

Detailed Description

QSPI SPIMASTER details.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxQspi_SpiMaster.c.

Function Documentation

SpiIf_ChConfig IfxQspi_SpiMaster_getChannelConfig ( IfxQspi_SpiMaster_Channel chHandle)

Gets the channel configuration.

Parameters
chHandleModule Channel handle
Returns
Channel configuration

Definition at line 180 of file IfxQspi_SpiMaster.c.

Referenced by IfxQspi_SpiMaster_setChannelBaudrate().

SpiIf_Status IfxQspi_SpiMaster_setChannelBaudrate ( IfxQspi_SpiMaster_Channel chHandle,
float  baudrate 
)

Set the channel baudrate.

Parameters
chHandleModule Channel handle
baudrateBaudrate to be configured (in Baud)
Returns
Status of Channel (busy or ok or failure)

Definition at line 851 of file IfxQspi_SpiMaster.c.