TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
TM_FFT_F32_t Struct Reference

FFT main structure for 32-bit float. More...

#include <tm_stm32_fft.h>

Data Fields

float32_t * Input
float32_t * Output
uint16_t FFT_Size
uint8_t UseMalloc
uint16_t Count
const arm_cfft_instance_f32 * S
float32_t MaxValue
uint32_t MaxIndex

Detailed Description

FFT main structure for 32-bit float.

Field Documentation

uint16_t Count

Number of samples in buffer when using TM_FFT_AddToBuffer function. Meant for private use

uint16_t FFT_Size

FFT size in units of samples. This parameter can be a value of 2^n where n is between 4 and 12

float32_t* Input

Pointer to data input buffer. Its length must be 2 * FFT_Size

uint32_t MaxIndex

Index in output array where max value happened

float32_t MaxValue

Max value in FTT result after calculation

float32_t* Output

Pointer to data output buffer. Its length must be FFT_Size

const arm_cfft_instance_f32* S

Pointer to arm_cfft_instance_f32 structure. Meant for private use

uint8_t UseMalloc

Set to 1 when malloc is used for memory allocation for buffers. Meant for private use