iLLD_TC27xD  1.0
IfxQspi.c File Reference

QSPI basic functionality. More...

#include "IfxQspi.h"

Go to the source code of this file.

Functions

float IfxQspi_calcRealBaudrate (Ifx_QSPI *qspi, IfxQspi_ChannelId channelId)
 Function to calculate baudrate of specified channel. More...
 
uint32 IfxQspi_calculateBasicConfigurationValue (Ifx_QSPI *qspi, const IfxQspi_ChannelId channelId, const SpiIf_ChMode *chMode, const float baudrate)
 Function to calculate BACON register values. More...
 
uint32 IfxQspi_calculateExtendedConfigurationValue (Ifx_QSPI *qspi, const uint8 cs, const SpiIf_ChConfig *chConfig)
 Function to calculate ECON register values. More...
 
uint32 IfxQspi_calculatePrescaler (Ifx_QSPI *qspi, float baudrate)
 Function to calculate prescaler. More...
 
uint32 IfxQspi_calculateTimeQuantumLength (Ifx_QSPI *qspi, float maxBaudrate)
 Specifies the function to calculate Time quantum length. More...
 
void IfxQspi_read16 (Ifx_QSPI *qspi, uint16 *data, Ifx_SizeT count)
 Reads 16bit data from the Rx FIFO. More...
 
void IfxQspi_read32 (Ifx_QSPI *qspi, uint32 *data, Ifx_SizeT count)
 Reads 32bit data from the Rx FIFO. More...
 
void IfxQspi_read8 (Ifx_QSPI *qspi, uint8 *data, Ifx_SizeT count)
 Reads 8bit data from the Rx FIFO. More...
 
uint32 IfxQspi_recalcBasicConfiguration (uint32 oldBACON, Ifx_SizeT numOfData, boolean shortData, boolean lastData)
 Re-calculated BACON from the oldBACON. More...
 
void IfxQspi_resetModule (Ifx_QSPI *qspi)
 resets QSPI kernel More...
 
void IfxQspi_setSlaveSelectOutputControl (Ifx_QSPI *qspi, IfxQspi_ChannelId channelId, boolean outputEnable, boolean activeLevel)
 Configures a Slave Select Output. More...
 
void IfxQspi_write16 (Ifx_QSPI *qspi, IfxQspi_ChannelId channelId, uint16 *data, Ifx_SizeT count)
 Writes 16bit data into the Tx FIFO. More...
 
void IfxQspi_write32 (Ifx_QSPI *qspi, IfxQspi_ChannelId channelId, uint32 *data, Ifx_SizeT count)
 Writes 32bit data into the Tx FIFO. More...
 
void IfxQspi_write8 (Ifx_QSPI *qspi, IfxQspi_ChannelId channelId, uint8 *data, Ifx_SizeT count)
 Writes 8bit data into the Tx FIFO. More...
 

Detailed Description

QSPI basic functionality.

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.c.