iLLD_TC29x  1.0
IfxFft_Fft.c File Reference

FFT FFT details. More...

#include "IfxFft_Fft.h"

Go to the source code of this file.

Macros

#define IFXFFT_FFT_DATA_TRANSFER   (*((volatile uint64 *)IFXFFT_DATA_SPACE))
 
#define IFXFFT_FFT_WINDOW_TRANSFER   (*((volatile uint64 *)IFXFFT_WINDOW_SPACE))
 
#define IFXFFT_FFT_DMADISCARDCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE + 2)
 
#define IFXFFT_FFT_DMAOUTPUTCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE + 1)
 
#define IFXFFT_FFT_DMAINPUTCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE)
 
#define IFXFFT_FFT_DMADISCARDCHANNELID   (dmaDiscard->channelId)
 
#define IFXFFT_FFT_DMAOUTPUTCHANNELID   (dmaOutput->channelId)
 
#define IFXFFT_FFT_DMAINPUTCHANNELID   (dmaInput->channelId)
 
#define IFXFFT_FFT_MOVE_BTR4   1
 
#define IFXFFT_FFT_MOVE_SIZE   IfxDma_ChannelMoveSize_256bit
 
#define IFXFFT_FFT_MOVE_DIV   4
 
#define IFXFFT_FFT_ISALIGNED(address)   ((Ifx_AlignOn256((uint32)address) == (uint32)address))
 

Functions

void IfxFft_Fft_cloneAndLinkJobs (IfxFft_Fft_Job *originalJob, IfxFft_Fft_Job *newJob)
 Clones and links the jobs. More...
 
void IfxFft_Fft_initJob (IfxFft_Fft_Job *job, const IfxFft_Fft_JobConfig *jobConfig)
 Initialises the FFT job. More...
 
void IfxFft_Fft_initJobConfig (IfxFft_Fft_JobConfig *config, IfxFft_Fft *fft)
 Fills the job configuration structure with default values. More...
 
void IfxFft_Fft_initModule (IfxFft_Fft *fft, const IfxFft_Fft_Config *config)
 Initialises the module. More...
 
void IfxFft_Fft_initModuleConfig (IfxFft_Fft_Config *config, Ifx_FFT *fft, Ifx_LMU *lmu)
 Fills the config structure with default values. More...
 
void IfxFft_Fft_initWindow (IfxFft_Fft *fft, const uint64 *windowData)
 Initialises the window transfer. More...
 
void IfxFft_Fft_isrInput (IfxFft_Fft *fft)
 ISR input routine. More...
 
void IfxFft_Fft_isrOutput (IfxFft_Fft *fft)
 ISR output routine. More...
 
void IfxFft_Fft_modifyDataPointers (IfxFft_Fft_Job *job, const void *inputPtr, void *outputPtr)
 Updates the input and output pointers in the FFT job handle. More...
 
boolean IfxFft_Fft_startJob (IfxFft_Fft_Job *job)
 Starts the FFT job. More...
 
void IfxFft_Fft_isrIntra (IfxFft_Fft *fft)
 
void IfxFft_Fft_initDma (IfxFft_Fft *fft, const IfxFft_Fft_Config *config)
 Initialization of DMA. More...
 

Detailed Description

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

Macro Definition Documentation

#define IFXFFT_FFT_DATA_TRANSFER   (*((volatile uint64 *)IFXFFT_DATA_SPACE))

Definition at line 35 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMADISCARDCHANNELID   (dmaDiscard->channelId)

Definition at line 45 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMADISCARDCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE + 2)

Definition at line 39 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMAINPUTCHANNELID   (dmaInput->channelId)

Definition at line 49 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMAINPUTCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE)

Definition at line 43 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMAOUTPUTCHANNELID   (dmaOutput->channelId)

Definition at line 47 of file IfxFft_Fft.c.

#define IFXFFT_FFT_DMAOUTPUTCHANNELID_OPT   (IFXFFT_FFT_DMA_CHANNEL_BASE + 1)

Definition at line 41 of file IfxFft_Fft.c.

#define IFXFFT_FFT_ISALIGNED (   address)    ((Ifx_AlignOn256((uint32)address) == (uint32)address))

Definition at line 57 of file IfxFft_Fft.c.

Referenced by IfxFft_Fft_initJob().

#define IFXFFT_FFT_MOVE_BTR4   1

Definition at line 51 of file IfxFft_Fft.c.

#define IFXFFT_FFT_MOVE_DIV   4

Definition at line 55 of file IfxFft_Fft.c.

#define IFXFFT_FFT_MOVE_SIZE   IfxDma_ChannelMoveSize_256bit

Definition at line 53 of file IfxFft_Fft.c.

Referenced by IfxFft_Fft_initDma().

#define IFXFFT_FFT_WINDOW_TRANSFER   (*((volatile uint64 *)IFXFFT_WINDOW_SPACE))

Definition at line 37 of file IfxFft_Fft.c.

Function Documentation

void IfxFft_Fft_initDma ( IfxFft_Fft fft,
const IfxFft_Fft_Config config 
)

Initialization of DMA.

Parameters
fftfft Module handle
configpointing to config strucuture of fft
Returns
None

Definition at line 629 of file IfxFft_Fft.c.

Referenced by IfxFft_Fft_initModule().

void IfxFft_Fft_isrIntra ( IfxFft_Fft fft)
Returns
None

Definition at line 595 of file IfxFft_Fft.c.