annotate f103c8/Drivers/CMSIS/DSP_Lib/Source/CommonTables/arm_const_structs.c @ 6:ca42336826bd default tip

working on clock sources
author cin
date Mon, 23 Jan 2017 02:40:17 +0300
parents 0c59e7a7782a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
1 /* ----------------------------------------------------------------------
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
2 * Copyright (C) 2010-2014 ARM Limited. All rights reserved.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
3 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
4 * $Date: 19. March 2015
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
5 * $Revision: V.1.4.5
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
6 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
7 * Project: CMSIS DSP Library
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
8 * Title: arm_const_structs.c
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
9 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
10 * Description: This file has constant structs that are initialized for
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
11 * user convenience. For example, some can be given as
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
12 * arguments to the arm_cfft_f32() function.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
13 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
14 * Target Processor: Cortex-M4/Cortex-M3
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
15 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
16 * Redistribution and use in source and binary forms, with or without
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
17 * modification, are permitted provided that the following conditions
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
18 * are met:
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
19 * - Redistributions of source code must retain the above copyright
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
20 * notice, this list of conditions and the following disclaimer.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
21 * - Redistributions in binary form must reproduce the above copyright
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
22 * notice, this list of conditions and the following disclaimer in
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
23 * the documentation and/or other materials provided with the
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
24 * distribution.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
25 * - Neither the name of ARM LIMITED nor the names of its contributors
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
26 * may be used to endorse or promote products derived from this
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
27 * software without specific prior written permission.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
28 *
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
32 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
33 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
35 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
36 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
38 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
39 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
40 * POSSIBILITY OF SUCH DAMAGE.
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
41 * -------------------------------------------------------------------- */
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
42
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
43 #include "arm_const_structs.h"
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
44
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
45 //Floating-point structs
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
46
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
47 const arm_cfft_instance_f32 arm_cfft_sR_f32_len16 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
48 16, twiddleCoef_16, armBitRevIndexTable16, ARMBITREVINDEXTABLE__16_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
49 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
50
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
51 const arm_cfft_instance_f32 arm_cfft_sR_f32_len32 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
52 32, twiddleCoef_32, armBitRevIndexTable32, ARMBITREVINDEXTABLE__32_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
53 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
54
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
55 const arm_cfft_instance_f32 arm_cfft_sR_f32_len64 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
56 64, twiddleCoef_64, armBitRevIndexTable64, ARMBITREVINDEXTABLE__64_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
57 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
58
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
59 const arm_cfft_instance_f32 arm_cfft_sR_f32_len128 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
60 128, twiddleCoef_128, armBitRevIndexTable128, ARMBITREVINDEXTABLE_128_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
61 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
62
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
63 const arm_cfft_instance_f32 arm_cfft_sR_f32_len256 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
64 256, twiddleCoef_256, armBitRevIndexTable256, ARMBITREVINDEXTABLE_256_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
65 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
66
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
67 const arm_cfft_instance_f32 arm_cfft_sR_f32_len512 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
68 512, twiddleCoef_512, armBitRevIndexTable512, ARMBITREVINDEXTABLE_512_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
69 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
70
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
71 const arm_cfft_instance_f32 arm_cfft_sR_f32_len1024 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
72 1024, twiddleCoef_1024, armBitRevIndexTable1024, ARMBITREVINDEXTABLE1024_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
73 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
74
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
75 const arm_cfft_instance_f32 arm_cfft_sR_f32_len2048 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
76 2048, twiddleCoef_2048, armBitRevIndexTable2048, ARMBITREVINDEXTABLE2048_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
77 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
78
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
79 const arm_cfft_instance_f32 arm_cfft_sR_f32_len4096 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
80 4096, twiddleCoef_4096, armBitRevIndexTable4096, ARMBITREVINDEXTABLE4096_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
81 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
82
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
83 //Fixed-point structs
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
84
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
85 const arm_cfft_instance_q31 arm_cfft_sR_q31_len16 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
86 16, twiddleCoef_16_q31, armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
87 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
88
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
89 const arm_cfft_instance_q31 arm_cfft_sR_q31_len32 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
90 32, twiddleCoef_32_q31, armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
91 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
92
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
93 const arm_cfft_instance_q31 arm_cfft_sR_q31_len64 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
94 64, twiddleCoef_64_q31, armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
95 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
96
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
97 const arm_cfft_instance_q31 arm_cfft_sR_q31_len128 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
98 128, twiddleCoef_128_q31, armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
99 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
100
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
101 const arm_cfft_instance_q31 arm_cfft_sR_q31_len256 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
102 256, twiddleCoef_256_q31, armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
103 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
104
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
105 const arm_cfft_instance_q31 arm_cfft_sR_q31_len512 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
106 512, twiddleCoef_512_q31, armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
107 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
108
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
109 const arm_cfft_instance_q31 arm_cfft_sR_q31_len1024 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
110 1024, twiddleCoef_1024_q31, armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
111 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
112
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
113 const arm_cfft_instance_q31 arm_cfft_sR_q31_len2048 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
114 2048, twiddleCoef_2048_q31, armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
115 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
116
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
117 const arm_cfft_instance_q31 arm_cfft_sR_q31_len4096 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
118 4096, twiddleCoef_4096_q31, armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
119 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
120
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
121
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
122 const arm_cfft_instance_q15 arm_cfft_sR_q15_len16 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
123 16, twiddleCoef_16_q15, armBitRevIndexTable_fixed_16, ARMBITREVINDEXTABLE_FIXED___16_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
124 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
125
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
126 const arm_cfft_instance_q15 arm_cfft_sR_q15_len32 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
127 32, twiddleCoef_32_q15, armBitRevIndexTable_fixed_32, ARMBITREVINDEXTABLE_FIXED___32_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
128 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
129
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
130 const arm_cfft_instance_q15 arm_cfft_sR_q15_len64 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
131 64, twiddleCoef_64_q15, armBitRevIndexTable_fixed_64, ARMBITREVINDEXTABLE_FIXED___64_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
132 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
133
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
134 const arm_cfft_instance_q15 arm_cfft_sR_q15_len128 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
135 128, twiddleCoef_128_q15, armBitRevIndexTable_fixed_128, ARMBITREVINDEXTABLE_FIXED__128_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
136 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
137
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
138 const arm_cfft_instance_q15 arm_cfft_sR_q15_len256 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
139 256, twiddleCoef_256_q15, armBitRevIndexTable_fixed_256, ARMBITREVINDEXTABLE_FIXED__256_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
140 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
141
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
142 const arm_cfft_instance_q15 arm_cfft_sR_q15_len512 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
143 512, twiddleCoef_512_q15, armBitRevIndexTable_fixed_512, ARMBITREVINDEXTABLE_FIXED__512_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
144 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
145
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
146 const arm_cfft_instance_q15 arm_cfft_sR_q15_len1024 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
147 1024, twiddleCoef_1024_q15, armBitRevIndexTable_fixed_1024, ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
148 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
149
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
150 const arm_cfft_instance_q15 arm_cfft_sR_q15_len2048 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
151 2048, twiddleCoef_2048_q15, armBitRevIndexTable_fixed_2048, ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
152 };
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
153
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
154 const arm_cfft_instance_q15 arm_cfft_sR_q15_len4096 = {
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
155 4096, twiddleCoef_4096_q15, armBitRevIndexTable_fixed_4096, ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH
0c59e7a7782a Working on GPIO and RCC
cin
parents:
diff changeset
156 };