Mercurial > pt1
annotate driver/pt1_tuner_data.h @ 124:f2ae5ddeed7e
minor improvement:
- extend yielding period
- unroll loop where copying from micro-packet
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 16 Feb 2012 13:11:38 +0900 |
parents | 6e661e828b43 |
children | 1e7718cc2556 |
rev | line source |
---|---|
0 | 1 #ifndef __PT1_TUNER_DATA_H__ |
2 #define __PT1_TUNER_DATA_H__ | |
3 /***************************************************************************/ | |
4 /* */ | |
5 /***************************************************************************/ | |
77 | 6 #define PT1_MAX_ISDB_S_INIT 19 // ISDB-S 初期化データ数 |
7 #define PT1_MAX_ISDB_T_INIT 16 // ISDB-T 初期化データ数 | |
8 #define PT2_MAX_ISDB_S_INIT 18 // ISDB-S 初期化データ数 | |
9 #define PT2_MAX_ISDB_T_INIT 12 // ISDB-T 初期化データ数 | |
10 | |
0 | 11 #define MAX_BS_CHANNEL 36 // 周波数テーブル数 |
12 #define MAX_ISDB_T_CHANNEL 113 // 周波数テーブル数(地デジタル) | |
13 #define MAX_BS_CHANNEL_PLL_COMMAND 3 // PLLロックするためのコマンド数 | |
14 /***************************************************************************/ | |
15 /* */ | |
16 /***************************************************************************/ | |
17 | |
18 /***************************************************************************/ | |
19 /* */ | |
20 /***************************************************************************/ | |
21 typedef struct _WBLOCK_BS_PLL{ | |
22 WBLOCK *wblock[MAX_BS_CHANNEL_PLL_COMMAND] ; | |
23 }WBLOCK_BS_PLL; | |
24 | |
25 /***************************************************************************/ | |
26 /* */ | |
27 /***************************************************************************/ | |
28 extern WBLOCK com_initdata; //初期化(共通) | |
29 extern WBLOCK isdb_s_init1; //ISDB-S先頭 | |
30 extern WBLOCK isdb_s_init21; //ISDB-S最終 | |
31 extern WBLOCK isdb_t_init17; //ISDB-T最終 | |
32 extern WBLOCK bs_pll_lock; //ISDB-S PLLロック確認 | |
77 | 33 extern WBLOCK *isdb_s_initial_pt1[PT1_MAX_ISDB_S_INIT]; |
34 extern WBLOCK *isdb_t_initial_pt1[PT1_MAX_ISDB_T_INIT]; | |
35 extern WBLOCK *isdb_s_initial_pt2[PT2_MAX_ISDB_S_INIT]; | |
36 extern WBLOCK *isdb_t_initial_pt2[PT2_MAX_ISDB_T_INIT]; | |
0 | 37 /***************************************************************************/ |
38 /* BS用データ定義 */ | |
39 /***************************************************************************/ | |
40 extern WBLOCK_BS_PLL bs_pll[MAX_BS_CHANNEL] ; // 周波数テーブル | |
41 extern WBLOCK *bs_get_ts_id[(MAX_BS_TS_ID / 2)] ; // TS-ID取得テーブル | |
42 extern WBLOCK bs_tmcc_get_1; // TMCC取得テーブル | |
43 extern WBLOCK bs_tmcc_get_2; // TMCC取得テーブル | |
44 extern WBLOCK bs_get_ts_lock; | |
45 extern WBLOCK bs_set_ts_lock; | |
46 extern WBLOCK bs_get_slot; | |
47 extern WBLOCK bs_get_clock; | |
48 extern WBLOCK bs_get_carrir; | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
49 extern WBLOCK bs_get_signal1; |
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
50 extern WBLOCK bs_get_signal2; |
0 | 51 extern WBLOCK bs_get_agc; |
52 /***************************************************************************/ | |
53 /* 地デジ用データ定義 */ | |
54 /***************************************************************************/ | |
55 extern WBLOCK isdb_t_pll_base; // 地デジ用周波数テーブルbase | |
56 extern WBLOCK isdb_t_pll_lock; | |
57 extern WBLOCK_BS_PLL isdb_t_info[MAX_ISDB_T_INFO_LEN]; | |
58 extern WBLOCK isdb_t_check_tune; | |
59 extern WBLOCK isdb_t_tune_read; | |
60 extern WBLOCK isdb_t_tmcc_read_1; | |
61 extern WBLOCK isdb_t_tmcc_read_1; | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
62 extern WBLOCK isdb_t_signal1; |
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
63 extern WBLOCK isdb_t_signal2; |
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
64 extern WBLOCK isdb_t_agc2; |
0 | 65 |
66 extern WBLOCK isdb_t_get_clock; | |
67 extern WBLOCK isdb_t_get_carrir; | |
68 | |
69 /***************************************************************************/ | |
70 /* 省電力用データ定義 */ | |
71 /***************************************************************************/ | |
72 extern WBLOCK isdb_s_wake; | |
73 extern WBLOCK isdb_t_wake; | |
102
6e661e828b43
send tuners to sleep mode when they are inactive
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
77
diff
changeset
|
74 extern WBLOCK isdb_s_wake2; |
6e661e828b43
send tuners to sleep mode when they are inactive
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
77
diff
changeset
|
75 extern WBLOCK isdb_t_wake2; |
0 | 76 |
77 extern WBLOCK isdb_s_sleep; | |
78 extern WBLOCK isdb_t_sleep; | |
79 | |
80 extern ISDB_S_CH_TABLE isdb_t_table[11]; | |
81 | |
82 #endif |