1.8.2.7 mchp_rfft_fast_f32()

void mchp_rfft_fast_f32 (const mchp_rfft_fast_instance_f32 * S, float32_t * p, float32_t * pOut, uint8_t ifftFlag)

Processing function for the single-precision floating-point real FFT.

Performs a real FFT or inverse real FFT using the configuration stored in the mchp_rfft_fast_instance_f32.

Parameters:
in S

Points to an mchp_rfft_fast_instance_f32 structure

in,out p

Points to the input buffer (modified during processing)

out pOut

Points to the output buffer

in ifftFlag
Transform direction:
  • 0 : Forward Real FFT (RFFT)

  • 1 : Inverse Real FFT (RIFFT)

Note:

Internally uses a complex FFT of length fftLen / 2 followed by a split or merge operation depending on the transform direction.