TRX-305内蔵DSPのフレームワーク開発リポジトリ。
Revision | c5864c57950dbf913a9549a40726b19788e33949 (tree) |
---|---|
Time | 2015-12-13 16:41:09 |
Author | suikan <suikan@user...> |
Commiter | suikan |
@@ -11,7 +11,7 @@ | ||
11 | 11 | #include "framework.h" |
12 | 12 | #include <math.h> |
13 | 13 | |
14 | -void init_demodulator(void) | |
14 | +void radio_init_demodulator(void) | |
15 | 15 | { |
16 | 16 | /* |
17 | 17 | * 復調アルゴリズムの初期化はここで行う。 |
@@ -343,7 +343,7 @@ | ||
343 | 343 | * 呼ばれる前に一度だけ呼ばれる。 |
344 | 344 | * |
345 | 345 | */ |
346 | -void init_demodulator(void); | |
346 | +void radio_init_demodulator(void); | |
347 | 347 | |
348 | 348 | |
349 | 349 | /** |
@@ -33,8 +33,8 @@ static struct { | ||
33 | 33 | unsigned int rxif_buffer[2][RXIF_BUFSIZE]; // FPGAからのデータDMAバッファ |
34 | 34 | unsigned int af_buffer[2][AF_BUFSIZE]; // FPGAへのデータDMAバッファ |
35 | 35 | int index; // パッカーが使う。現在のワードインデックスが0か1か |
36 | - short wide_fm_i[WIDE_FM_OVERSAMPE]; // Wide FMを複数サンプルまとめて処理するためのバッファ | |
37 | - short wide_fm_q[WIDE_FM_OVERSAMPE]; // Wide FMを複数サンプルまとめて処理するためのバッファ | |
36 | + int wide_fm_i[WIDE_FM_OVERSAMPE]; // Wide FMを複数サンプルまとめて処理するためのバッファ | |
37 | + int wide_fm_q[WIDE_FM_OVERSAMPE]; // Wide FMを複数サンプルまとめて処理するためのバッファ | |
38 | 38 | int wide_fm_index; // 次のバッファ格納位置。現在のバッファ長でもある。 |
39 | 39 | } framework; |
40 | 40 |