FFT_BUENA
Dependencies: FastAnalogIn HSI2RGBW_PWM NVIC_set_all_priorities mbed-dsp mbed
Fork of KL25Z_FFT_Demo by
arm_const_structs.h@8:391e30708e7c, 2015-04-30 (annotated)
- Committer:
- oscarmtzman
- Date:
- Thu Apr 30 00:34:09 2015 +0000
- Revision:
- 8:391e30708e7c
- Parent:
- 1:736b34e0f484
FFT_COMPLETA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
frankvnk | 1:736b34e0f484 | 1 | /* ---------------------------------------------------------------------- |
frankvnk | 1:736b34e0f484 | 2 | * Copyright (C) 2010-2013 ARM Limited. All rights reserved. |
frankvnk | 1:736b34e0f484 | 3 | * |
frankvnk | 1:736b34e0f484 | 4 | * $Date: 17. January 2013 |
frankvnk | 1:736b34e0f484 | 5 | * $Revision: V1.4.1 |
frankvnk | 1:736b34e0f484 | 6 | * |
frankvnk | 1:736b34e0f484 | 7 | * Project: CMSIS DSP Library |
frankvnk | 1:736b34e0f484 | 8 | * Title: arm_const_structs.h |
frankvnk | 1:736b34e0f484 | 9 | * |
frankvnk | 1:736b34e0f484 | 10 | * Description: This file has constant structs that are initialized for |
frankvnk | 1:736b34e0f484 | 11 | * user convenience. For example, some can be given as |
frankvnk | 1:736b34e0f484 | 12 | * arguments to the arm_cfft_f32() function. |
frankvnk | 1:736b34e0f484 | 13 | * |
frankvnk | 1:736b34e0f484 | 14 | * Target Processor: Cortex-M4/Cortex-M3 |
frankvnk | 1:736b34e0f484 | 15 | * |
frankvnk | 1:736b34e0f484 | 16 | * Redistribution and use in source and binary forms, with or without |
frankvnk | 1:736b34e0f484 | 17 | * modification, are permitted provided that the following conditions |
frankvnk | 1:736b34e0f484 | 18 | * are met: |
frankvnk | 1:736b34e0f484 | 19 | * - Redistributions of source code must retain the above copyright |
frankvnk | 1:736b34e0f484 | 20 | * notice, this list of conditions and the following disclaimer. |
frankvnk | 1:736b34e0f484 | 21 | * - Redistributions in binary form must reproduce the above copyright |
frankvnk | 1:736b34e0f484 | 22 | * notice, this list of conditions and the following disclaimer in |
frankvnk | 1:736b34e0f484 | 23 | * the documentation and/or other materials provided with the |
frankvnk | 1:736b34e0f484 | 24 | * distribution. |
frankvnk | 1:736b34e0f484 | 25 | * - Neither the name of ARM LIMITED nor the names of its contributors |
frankvnk | 1:736b34e0f484 | 26 | * may be used to endorse or promote products derived from this |
frankvnk | 1:736b34e0f484 | 27 | * software without specific prior written permission. |
frankvnk | 1:736b34e0f484 | 28 | * |
frankvnk | 1:736b34e0f484 | 29 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
frankvnk | 1:736b34e0f484 | 30 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
frankvnk | 1:736b34e0f484 | 31 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
frankvnk | 1:736b34e0f484 | 32 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
frankvnk | 1:736b34e0f484 | 33 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
frankvnk | 1:736b34e0f484 | 34 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
frankvnk | 1:736b34e0f484 | 35 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
frankvnk | 1:736b34e0f484 | 36 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
frankvnk | 1:736b34e0f484 | 37 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
frankvnk | 1:736b34e0f484 | 38 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
frankvnk | 1:736b34e0f484 | 39 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
frankvnk | 1:736b34e0f484 | 40 | * POSSIBILITY OF SUCH DAMAGE. |
frankvnk | 1:736b34e0f484 | 41 | * -------------------------------------------------------------------- */ |
frankvnk | 1:736b34e0f484 | 42 | |
frankvnk | 1:736b34e0f484 | 43 | #ifndef _ARM_CONST_STRUCTS_H |
frankvnk | 1:736b34e0f484 | 44 | #define _ARM_CONST_STRUCTS_H |
frankvnk | 1:736b34e0f484 | 45 | |
frankvnk | 1:736b34e0f484 | 46 | #include "arm_math.h" |
frankvnk | 1:736b34e0f484 | 47 | #include "arm_common_tables.h" |
frankvnk | 1:736b34e0f484 | 48 | |
frankvnk | 1:736b34e0f484 | 49 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 = { |
frankvnk | 1:736b34e0f484 | 50 | 16, twiddleCoef_16, armBitRevIndexTable16, ARMBITREVINDEXTABLE__16_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 51 | }; |
frankvnk | 1:736b34e0f484 | 52 | |
frankvnk | 1:736b34e0f484 | 53 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 = { |
frankvnk | 1:736b34e0f484 | 54 | 32, twiddleCoef_32, armBitRevIndexTable32, ARMBITREVINDEXTABLE__32_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 55 | }; |
frankvnk | 1:736b34e0f484 | 56 | |
frankvnk | 1:736b34e0f484 | 57 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 = { |
frankvnk | 1:736b34e0f484 | 58 | 64, twiddleCoef_64, armBitRevIndexTable64, ARMBITREVINDEXTABLE__64_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 59 | }; |
frankvnk | 1:736b34e0f484 | 60 | |
frankvnk | 1:736b34e0f484 | 61 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 = { |
frankvnk | 1:736b34e0f484 | 62 | 128, twiddleCoef_128, armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 63 | }; |
frankvnk | 1:736b34e0f484 | 64 | |
frankvnk | 1:736b34e0f484 | 65 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 = { |
frankvnk | 1:736b34e0f484 | 66 | 256, twiddleCoef_256, armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 67 | }; |
frankvnk | 1:736b34e0f484 | 68 | |
frankvnk | 1:736b34e0f484 | 69 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 = { |
frankvnk | 1:736b34e0f484 | 70 | 512, twiddleCoef_512, armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 71 | }; |
frankvnk | 1:736b34e0f484 | 72 | |
frankvnk | 1:736b34e0f484 | 73 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 = { |
frankvnk | 1:736b34e0f484 | 74 | 1024, twiddleCoef_1024, armBitRevIndexTable1024, ARMBITREVINDEXTABLE1024_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 75 | }; |
frankvnk | 1:736b34e0f484 | 76 | |
frankvnk | 1:736b34e0f484 | 77 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 = { |
frankvnk | 1:736b34e0f484 | 78 | 2048, twiddleCoef_2048, armBitRevIndexTable2048, ARMBITREVINDEXTABLE2048_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 79 | }; |
frankvnk | 1:736b34e0f484 | 80 | |
frankvnk | 1:736b34e0f484 | 81 | const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 = { |
frankvnk | 1:736b34e0f484 | 82 | 4096, twiddleCoef_4096, armBitRevIndexTable4096, ARMBITREVINDEXTABLE4096_TABLE_LENGTH |
frankvnk | 1:736b34e0f484 | 83 | }; |
frankvnk | 1:736b34e0f484 | 84 | |
frankvnk | 1:736b34e0f484 | 85 | #endif |
frankvnk | 1:736b34e0f484 | 86 |