comparison driver/pt1_tuner_data.h @ 0:67e8eca28a80

initial import
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 16 Feb 2009 15:41:49 +0900
parents
children 07b2fc07ff48
comparison
equal deleted inserted replaced
-1:000000000000 0:67e8eca28a80
1 #ifndef __PT1_TUNER_DATA_H__
2 #define __PT1_TUNER_DATA_H__
3 /***************************************************************************/
4 /* */
5 /***************************************************************************/
6 #define MAX_ISDB_S_INIT 19 // ISDB-S 初期化データ数
7 #define MAX_ISDB_T_INIT 16 // ISDB-S 初期化データ数
8 #define MAX_BS_CHANNEL 36 // 周波数テーブル数
9 #define MAX_ISDB_T_CHANNEL 113 // 周波数テーブル数(地デジタル)
10 #define MAX_BS_CHANNEL_PLL_COMMAND 3 // PLLロックするためのコマンド数
11 /***************************************************************************/
12 /* */
13 /***************************************************************************/
14
15 /***************************************************************************/
16 /* */
17 /***************************************************************************/
18 typedef struct _WBLOCK_BS_PLL{
19 WBLOCK *wblock[MAX_BS_CHANNEL_PLL_COMMAND] ;
20 }WBLOCK_BS_PLL;
21
22 /***************************************************************************/
23 /* */
24 /***************************************************************************/
25 extern WBLOCK com_initdata; //初期化(共通)
26 extern WBLOCK isdb_s_init1; //ISDB-S先頭
27 extern WBLOCK isdb_s_init21; //ISDB-S最終
28 extern WBLOCK isdb_t_init17; //ISDB-T最終
29 extern WBLOCK bs_pll_lock; //ISDB-S PLLロック確認
30 extern WBLOCK *isdb_s_initial[MAX_ISDB_S_INIT];
31 extern WBLOCK *isdb_t_initial[MAX_ISDB_T_INIT];
32 /***************************************************************************/
33 /* BS用データ定義 */
34 /***************************************************************************/
35 extern WBLOCK_BS_PLL bs_pll[MAX_BS_CHANNEL] ; // 周波数テーブル
36 extern WBLOCK *bs_get_ts_id[(MAX_BS_TS_ID / 2)] ; // TS-ID取得テーブル
37 extern WBLOCK bs_tmcc_get_1; // TMCC取得テーブル
38 extern WBLOCK bs_tmcc_get_2; // TMCC取得テーブル
39 extern WBLOCK bs_get_ts_lock;
40 extern WBLOCK bs_set_ts_lock;
41 extern WBLOCK bs_get_slot;
42 extern WBLOCK bs_get_clock;
43 extern WBLOCK bs_get_carrir;
44 extern WBLOCK bs_get_cn;
45 extern WBLOCK bs_get_agc;
46 extern WBLOCK bs_get_maxagc;
47 /***************************************************************************/
48 /* 地デジ用データ定義 */
49 /***************************************************************************/
50 extern WBLOCK isdb_t_pll_base; // 地デジ用周波数テーブルbase
51 extern WBLOCK isdb_t_pll_lock;
52 extern WBLOCK_BS_PLL isdb_t_info[MAX_ISDB_T_INFO_LEN];
53 extern WBLOCK isdb_t_check_tune;
54 extern WBLOCK isdb_t_tune_read;
55 extern WBLOCK isdb_t_tmcc_read_1;
56 extern WBLOCK isdb_t_tmcc_read_1;
57 extern WBLOCK isdb_t_cn_1;
58 extern WBLOCK isdb_t_cn_2;
59 extern WBLOCK isdb_t_agc_1;
60 extern WBLOCK isdb_t_agc_2;
61
62 extern WBLOCK isdb_t_get_clock;
63 extern WBLOCK isdb_t_get_carrir;
64
65 /***************************************************************************/
66 /* 省電力用データ定義 */
67 /***************************************************************************/
68 extern WBLOCK isdb_s_wake;
69 extern WBLOCK isdb_t_wake;
70
71 extern WBLOCK isdb_s_sleep;
72 extern WBLOCK isdb_t_sleep;
73
74 extern ISDB_S_CH_TABLE isdb_t_table[11];
75
76 #endif