1.8.2.4 mchp_cfft_init_f32()

mchp_status mchp_cfft_init_f32 (mchp_cfft_instance_f32 * S, uint16_t fftLen)

Initialize a single-precision floating-point complex FFT instance.

This function selects the appropriate twiddle-factor table and initializes the FFT instance based on fftLen.

Parameters:
out S

Pointer to instance structure.

in fftLen

FFT length (e.g., 128, 256, 2048).

Note:

Twiddle table availability is controlled entirely by build-time macros such as: USE_FFT_LEN_1024

Example:

mchp_cfft_instance_f32 S1, S2;
mchp_cfft_init_f32(&S1, 128);
mchp_cfft_init_f32(&S2, 256);
Returns: