annotate driver/pt1_com.h @ 100:aeba1988234f
support macros to specify sid:
- macros: hd, sd1, sd2, sd3, 1seg and all are supported.
- if sid has been specified but no suitable sid found, fall back to "all".
technical summary:
- use splitter structure as the argument where it is applicable.
- add tab configuration to some source files.
author |
Yoshiki Yazawa <yaz@honeyplanet.jp> |
date |
Sat, 13 Feb 2010 19:43:25 +0900 |
parents |
67e8eca28a80 |
children |
|
rev |
line source |
0
|
1 #ifndef __PT1_COM_H__
|
|
2 #define __PT1_COM_H__
|
|
3 /***************************************************************************/
|
|
4 /* I2Cデータ位置定義 */
|
|
5 /***************************************************************************/
|
|
6 #define MAX_CHANNEL 4 // チャネル数
|
|
7 #define FALSE 0
|
|
8 #define TRUE 1
|
|
9 #define MAX_TUNER 2 //チューナ数
|
|
10 enum{
|
|
11 CHANNEL_TYPE_ISDB_S,
|
|
12 CHANNEL_TYPE_ISDB_T,
|
|
13 CHANNEL_TYPE_MAX
|
|
14 };
|
|
15 /***************************************************************************/
|
|
16 /* 状態 */
|
|
17 /***************************************************************************/
|
|
18 enum{
|
|
19 STATE_STOP, // 初期化直後
|
|
20 STATE_START, // 通常
|
|
21 STATE_FULL // ストッパー
|
|
22 };
|
|
23 #endif
|