Analog Devices / Mbed OS EVAL-CN0540-ARDZ

Dependencies:   platform_drivers LTC26X6 AD77681

Embed: (wiki syntax)

« Back to documentation index

ComplexFFT

Functions

void arm_cfft_radix4_f32 (const arm_cfft_radix4_instance_f32 *S, float32_t *pSrc)
 Processing function for the floating-point Radix-4 CFFT/CIFFT.
arm_status arm_cfft_radix4_init_f32 (arm_cfft_radix4_instance_f32 *S, uint16_t fftLen, uint8_t ifftFlag, uint8_t bitReverseFlag)
 Initialization function for the floating-point CFFT/CIFFT.

Function Documentation

void arm_cfft_radix4_f32 ( const arm_cfft_radix4_instance_f32 S,
float32_t *  pSrc 
)

Processing function for the floating-point Radix-4 CFFT/CIFFT.

Parameters:
[in]*Spoints to an instance of the floating-point Radix-4 CFFT/CIFFT structure.
[in,out]*pSrcpoints to the complex data buffer of size 2*fftLen. Processing occurs in-place.
Returns:
none.

Definition at line 1181 of file arm_cfft_radix4_f32.c.

arm_status arm_cfft_radix4_init_f32 ( arm_cfft_radix4_instance_f32 S,
uint16_t  fftLen,
uint8_t  ifftFlag,
uint8_t  bitReverseFlag 
)

Initialization function for the floating-point CFFT/CIFFT.

Parameters:
[in,out]*Spoints to an instance of the floating-point CFFT/CIFFT structure.
[in]fftLenlength of the FFT.
[in]ifftFlagflag that selects forward (ifftFlag=0) or inverse (ifftFlag=1) transform.
[in]bitReverseFlagflag that enables (bitReverseFlag=1) or disables (bitReverseFlag=0) bit reversal of output.
Returns:
The function returns ARM_MATH_SUCCESS if initialization is successful or ARM_MATH_ARGUMENT_ERROR if fftLen is not a supported value.
Description:
The parameter ifftFlag controls whether a forward or inverse transform is computed. Set(=1) ifftFlag for calculation of CIFFT otherwise CFFT is calculated
The parameter bitReverseFlag controls whether output is in normal order or bit reversed order. Set(=1) bitReverseFlag for output to be in normal order otherwise output is in bit reversed order.
The parameter fftLen Specifies length of CFFT/CIFFT process. Supported FFT Lengths are 16, 64, 256, 1024.
This Function also initializes Twiddle factor table pointer and Bit reversal table pointer.

Definition at line 77 of file arm_cfft_radix4_init_f32.c.