CMSIS DSP library
Dependents: performance_timer Surfboard_ gps2rtty Capstone ... more
arm_const_structs.c
00001 /* ---------------------------------------------------------------------- 00002 * Copyright (C) 2010-2014 ARM Limited. All rights reserved. 00003 * 00004 * $Date: 19. March 2015 00005 * $Revision: V.1.4.5 00006 * 00007 * Project: CMSIS DSP Library 00008 * Title: arm_const_structs.c 00009 * 00010 * Description: This file has constant structs that are initialized for 00011 * user convenience. For example, some can be given as 00012 * arguments to the arm_cfft_f32() function. 00013 * 00014 * Target Processor: Cortex-M4/Cortex-M3 00015 * 00016 * Redistribution and use in source and binary forms, with or without 00017 * modification, are permitted provided that the following conditions 00018 * are met: 00019 * - Redistributions of source code must retain the above copyright 00020 * notice, this list of conditions and the following disclaimer. 00021 * - Redistributions in binary form must reproduce the above copyright 00022 * notice, this list of conditions and the following disclaimer in 00023 * the documentation and/or other materials provided with the 00024 * distribution. 00025 * - Neither the name of ARM LIMITED nor the names of its contributors 00026 * may be used to endorse or promote products derived from this 00027 * software without specific prior written permission. 00028 * 00029 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00030 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00031 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00032 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00033 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00034 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00035 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00036 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00037 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00038 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 00039 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00040 * POSSIBILITY OF SUCH DAMAGE. 00041 * -------------------------------------------------------------------- */ 00042 00043 #include "arm_const_structs.h" 00044 00045 //Floating-point structs 00046 00047 const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 = { 00048 16, twiddleCoef_16 , armBitRevIndexTable16, ARMBITREVINDEXTABLE__16_TABLE_LENGTH 00049 }; 00050 00051 const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 = { 00052 32, twiddleCoef_32 , armBitRevIndexTable32, ARMBITREVINDEXTABLE__32_TABLE_LENGTH 00053 }; 00054 00055 const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 = { 00056 64, twiddleCoef_64 , armBitRevIndexTable64, ARMBITREVINDEXTABLE__64_TABLE_LENGTH 00057 }; 00058 00059 const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 = { 00060 128, twiddleCoef_128 , armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH 00061 }; 00062 00063 const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 = { 00064 256, twiddleCoef_256 , armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH 00065 }; 00066 00067 const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 = { 00068 512, twiddleCoef_512 , armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH 00069 }; 00070 00071 const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 = { 00072 1024, twiddleCoef_1024 , armBitRevIndexTable1024, ARMBITREVINDEXTABLE1024_TABLE_LENGTH 00073 }; 00074 00075 const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 = { 00076 2048, twiddleCoef_2048 , armBitRevIndexTable2048, ARMBITREVINDEXTABLE2048_TABLE_LENGTH 00077 }; 00078 00079 const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 = { 00080 4096, twiddleCoef_4096 , armBitRevIndexTable4096, ARMBITREVINDEXTABLE4096_TABLE_LENGTH 00081 }; 00082 00083 //Fixed-point structs 00084 00085 const arm_cfft_instance_q31 arm_cfft_sR_q31_len16 = { 00086 16, twiddleCoef_16_q31 , armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH 00087 }; 00088 00089 const arm_cfft_instance_q31 arm_cfft_sR_q31_len32 = { 00090 32, twiddleCoef_32_q31 , armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH 00091 }; 00092 00093 const arm_cfft_instance_q31 arm_cfft_sR_q31_len64 = { 00094 64, twiddleCoef_64_q31 , armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH 00095 }; 00096 00097 const arm_cfft_instance_q31 arm_cfft_sR_q31_len128 = { 00098 128, twiddleCoef_128_q31 , armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH 00099 }; 00100 00101 const arm_cfft_instance_q31 arm_cfft_sR_q31_len256 = { 00102 256, twiddleCoef_256_q31 , armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH 00103 }; 00104 00105 const arm_cfft_instance_q31 arm_cfft_sR_q31_len512 = { 00106 512, twiddleCoef_512_q31 , armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH 00107 }; 00108 00109 const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024 = { 00110 1024, twiddleCoef_1024_q31 , armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH 00111 }; 00112 00113 const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048 = { 00114 2048, twiddleCoef_2048_q31 , armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH 00115 }; 00116 00117 const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096 = { 00118 4096, twiddleCoef_4096_q31 , armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH 00119 }; 00120 00121 00122 const arm_cfft_instance_q15 arm_cfft_sR_q15_len16 = { 00123 16, twiddleCoef_16_q15 , armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH 00124 }; 00125 00126 const arm_cfft_instance_q15 arm_cfft_sR_q15_len32 = { 00127 32, twiddleCoef_32_q15 , armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH 00128 }; 00129 00130 const arm_cfft_instance_q15 arm_cfft_sR_q15_len64 = { 00131 64, twiddleCoef_64_q15 , armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH 00132 }; 00133 00134 const arm_cfft_instance_q15 arm_cfft_sR_q15_len128 = { 00135 128, twiddleCoef_128_q15 , armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH 00136 }; 00137 00138 const arm_cfft_instance_q15 arm_cfft_sR_q15_len256 = { 00139 256, twiddleCoef_256_q15 , armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH 00140 }; 00141 00142 const arm_cfft_instance_q15 arm_cfft_sR_q15_len512 = { 00143 512, twiddleCoef_512_q15 , armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH 00144 }; 00145 00146 const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024 = { 00147 1024, twiddleCoef_1024_q15 , armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH 00148 }; 00149 00150 const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048 = { 00151 2048, twiddleCoef_2048_q15 , armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH 00152 }; 00153 00154 const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096 = { 00155 4096, twiddleCoef_4096_q15 , armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH 00156 };
Generated on Tue Jul 12 2022 11:59:16 by 1.7.2