Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Constant tables

These defines are used to configure data table storage methods

Twiddle factors table

#define DSP16_N_TWIDDLE_FACTORS   1024
 This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow: More...
 
#define TWIDDLE_FACTORS_PREFIX_TAB
 This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.: More...
 

Twiddle factors table

#define DSP32_N_TWIDDLE_FACTORS   1024
 This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow: More...
 
#define TWIDDLE_FACTORS_PREFIX_TAB
 This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.: More...
 

#define DSP16_N_TWIDDLE_FACTORS   1024

This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:

#define DSP16_N_TWIDDLE_FACTORS 1024

It will store a 1024 twiddle factors elements table into memory that will allow you to compute either 4, 16, 256 or 1024 complex FFTs.

Warning
This is not the size in byte of the twiddle factors table but it defines the number of items in the twiddle factors table. Its actual size can differ with the use of the algorithm's optimization option DSP_OPTI_SIZE.

Referenced by dsp16_trans_complexfft(), dsp16_trans_complexifft_ex(), and dsp16_trans_realcomplexfft().

#define DSP32_N_TWIDDLE_FACTORS   1024

This constant defines the size of the twiddle factors table we want to store in memory.
i.e.: if we want to compute a 1024-point (or less) complex FFT, we will define this constant as follow:

#define N_TWIDDLE_FACTORS 1024

It will store a 1024 twiddle factors elements table into memory that will allow you to compute either 4, 16, 256 or 1024 complex FFTs.

Warning
This is not the size in byte of the twiddle factors table but it defines the number of items in the twiddle factors table. Its actual size can differ with the use of the algorithm's optimization option DSP_OPTI_SIZE.

Referenced by dsp32_trans_realcomplexfft().

#define TWIDDLE_FACTORS_PREFIX_TAB

This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:

#define TWIDDLE_FACTORS_PREFIX_TAB const

This will store the twiddle factors table in FLASH for the avr32-uc30512.

#define TWIDDLE_FACTORS_PREFIX_TAB

This constant permits you to add attributes to the twiddle factors table.
It is useful if you want to store the table into another memory for example.
i.e.:

#define TWIDDLE_FACTORS_PREFIX_TAB const

This will store the twiddle factors table in FLASH for the avr32-uc30512.