1.8.2.6 mchp_cfft_q31()

void mchp_cfft_q31 (const mchp_cfft_instance_q31 * S, q31_t * pSrc, uint8_t ifftFlag, uint8_t bitReverseFlag)

Processing function for the Q31 complex FFT.

Parameters:
in S

Points to an instance of the Q31 CFFT structure.

in,out pSrc

Points to the complex data buffer (in-place).

in ifftFlag

0 = forward FFT, 1 = inverse FFT.

in bitReverseFlag

0 = no bit reversal, 1 = enable bit reversal.

Note:

The CFFT applies 1/2 scaling per stage, so the output is scaled by 1/N for the forward transform.