Mercurial > pt1.oyama
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/driver/pt1_tuner_data.h Mon Feb 16 15:41:49 2009 +0900 @@ -0,0 +1,76 @@ +#ifndef __PT1_TUNER_DATA_H__ +#define __PT1_TUNER_DATA_H__ +/***************************************************************************/ +/* */ +/***************************************************************************/ +#define MAX_ISDB_S_INIT 19 // ISDB-S 初期化データ数 +#define MAX_ISDB_T_INIT 16 // ISDB-S 初期化データ数 +#define MAX_BS_CHANNEL 36 // 周波数テーブル数 +#define MAX_ISDB_T_CHANNEL 113 // 周波数テーブル数(地デジタル) +#define MAX_BS_CHANNEL_PLL_COMMAND 3 // PLLロックするためのコマンド数 +/***************************************************************************/ +/* */ +/***************************************************************************/ + +/***************************************************************************/ +/* */ +/***************************************************************************/ +typedef struct _WBLOCK_BS_PLL{ + WBLOCK *wblock[MAX_BS_CHANNEL_PLL_COMMAND] ; +}WBLOCK_BS_PLL; + +/***************************************************************************/ +/* */ +/***************************************************************************/ +extern WBLOCK com_initdata; //初期化(共通) +extern WBLOCK isdb_s_init1; //ISDB-S先頭 +extern WBLOCK isdb_s_init21; //ISDB-S最終 +extern WBLOCK isdb_t_init17; //ISDB-T最終 +extern WBLOCK bs_pll_lock; //ISDB-S PLLロック確認 +extern WBLOCK *isdb_s_initial[MAX_ISDB_S_INIT]; +extern WBLOCK *isdb_t_initial[MAX_ISDB_T_INIT]; +/***************************************************************************/ +/* BS用データ定義 */ +/***************************************************************************/ +extern WBLOCK_BS_PLL bs_pll[MAX_BS_CHANNEL] ; // 周波数テーブル +extern WBLOCK *bs_get_ts_id[(MAX_BS_TS_ID / 2)] ; // TS-ID取得テーブル +extern WBLOCK bs_tmcc_get_1; // TMCC取得テーブル +extern WBLOCK bs_tmcc_get_2; // TMCC取得テーブル +extern WBLOCK bs_get_ts_lock; +extern WBLOCK bs_set_ts_lock; +extern WBLOCK bs_get_slot; +extern WBLOCK bs_get_clock; +extern WBLOCK bs_get_carrir; +extern WBLOCK bs_get_cn; +extern WBLOCK bs_get_agc; +extern WBLOCK bs_get_maxagc; +/***************************************************************************/ +/* 地デジ用データ定義 */ +/***************************************************************************/ +extern WBLOCK isdb_t_pll_base; // 地デジ用周波数テーブルbase +extern WBLOCK isdb_t_pll_lock; +extern WBLOCK_BS_PLL isdb_t_info[MAX_ISDB_T_INFO_LEN]; +extern WBLOCK isdb_t_check_tune; +extern WBLOCK isdb_t_tune_read; +extern WBLOCK isdb_t_tmcc_read_1; +extern WBLOCK isdb_t_tmcc_read_1; +extern WBLOCK isdb_t_cn_1; +extern WBLOCK isdb_t_cn_2; +extern WBLOCK isdb_t_agc_1; +extern WBLOCK isdb_t_agc_2; + +extern WBLOCK isdb_t_get_clock; +extern WBLOCK isdb_t_get_carrir; + +/***************************************************************************/ +/* 省電力用データ定義 */ +/***************************************************************************/ +extern WBLOCK isdb_s_wake; +extern WBLOCK isdb_t_wake; + +extern WBLOCK isdb_s_sleep; +extern WBLOCK isdb_t_sleep; + +extern ISDB_S_CH_TABLE isdb_t_table[11]; + +#endif