Mercurial > pt1.oyama
view 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 |
line wrap: on
line source
#ifndef __PT1_COM_H__ #define __PT1_COM_H__ /***************************************************************************/ /* I2Cデータ位置定義 */ /***************************************************************************/ #define MAX_CHANNEL 4 // チャネル数 #define FALSE 0 #define TRUE 1 #define MAX_TUNER 2 //チューナ数 enum{ CHANNEL_TYPE_ISDB_S, CHANNEL_TYPE_ISDB_T, CHANNEL_TYPE_MAX }; /***************************************************************************/ /* 状態 */ /***************************************************************************/ enum{ STATE_STOP, // 初期化直後 STATE_START, // 通常 STATE_FULL // ストッパー }; #endif