CMSIS DSP library
Dependents: KL25Z_FFT_Demo Hat_Board_v5_1 KL25Z_FFT_Demo_tony KL25Z_FFT_Demo_tony ... more
Fork of mbed-dsp by
Diff: cmsis_dsp/CommonTables/arm_common_tables.c
- Revision:
- 2:da51fb522205
- Parent:
- 1:fdd22bb7aa52
- Child:
- 3:7a284390b0ce
diff -r fdd22bb7aa52 -r da51fb522205 cmsis_dsp/CommonTables/arm_common_tables.c --- a/cmsis_dsp/CommonTables/arm_common_tables.c Wed Nov 28 12:30:09 2012 +0000 +++ b/cmsis_dsp/CommonTables/arm_common_tables.c Thu May 30 17:10:11 2013 +0100 @@ -2,12 +2,12 @@ * Copyright (C) 2010 ARM Limited. All rights reserved. * * $Date: 15. February 2012 -* $Revision: V1.1.0 +* $Revision: V1.1.0 * -* Project: CMSIS DSP Library -* Title: arm_common_tables.c +* Project: CMSIS DSP Library +* Title: arm_common_tables.c * -* Description: This file has common tables like fft twiddle factors, Bitreverse, reciprocal etc which are used across different functions +* Description: This file has common tables like fft twiddle factors, Bitreverse, reciprocal etc which are used across different functions * * Target Processor: Cortex-M4/Cortex-M3/Cortex-M0 * @@ -61,7 +61,7 @@ * y[l] = y[l] >> 1; * } </pre> * \par -* where N = 4096 logN2 = 12 +* where N = 4096 logN2 = 12 * \par * N is the maximum FFT Size supported */ @@ -231,11 +231,11 @@ * \par * <pre>for(i = 0; i< 3N/4; i++) * { -* twiddleCoef[2*i]= cos(i * 2*PI/(float)N); -* twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N); +* twiddleCoef[2*i]= cos(i * 2*PI/(float)N); +* twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N); * } </pre> * \par -* where N = 4096 and PI = 3.14159265358979 +* where N = 4096 and PI = 3.14159265358979 * \par * Cos and Sin values are in interleaved fashion * @@ -2305,12 +2305,12 @@ * twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N); * } </pre> * \par -* where N = 4096 and PI = 3.14159265358979 +* where N = 4096 and PI = 3.14159265358979 * \par * Cos and Sin values are interleaved fashion * \par * Convert Floating point to Q31(Fixed point 1.31): -* round(twiddleCoefQ31(i) * pow(2, 31)) +* round(twiddleCoefQ31(i) * pow(2, 31)) * */ @@ -3865,16 +3865,16 @@ * \par * <pre>for(i = 0; i< 3N/4; i++) * { -* twiddleCoefQ15[2*i]= cos(i * 2*PI/(float)N); -* twiddleCoefQ15[2*i+1]= sin(i * 2*PI/(float)N); +* twiddleCoefQ15[2*i]= cos(i * 2*PI/(float)N); +* twiddleCoefQ15[2*i+1]= sin(i * 2*PI/(float)N); * } </pre> * \par -* where N = 4096 and PI = 3.14159265358979 +* where N = 4096 and PI = 3.14159265358979 * \par * Cos and Sin values are interleaved fashion * \par * Convert Floating point to Q15(Fixed point 1.15): -* round(twiddleCoefQ15(i) * pow(2, 15)) +* round(twiddleCoefQ15(i) * pow(2, 15)) * */