📄 dvb_sys.h
字号:
/**************************************************************************
(C)Copyright Cheertek Inc. 2002-2004,
D700, all right reserved.
Product : STB Firmware
****************************************************************************/
#ifndef __DVB_SYS_H
#define __DVB_SYS_H
#include "dvb_type.h"
#ifndef CT216T_ELGIST_MM // 2008/3/17 - added by K600 Akai.
#include "dvb_av.h"
#endif
/*! \file
* This module provides the system control API.
*
*/
#define DVB_MAIN_VER 2
#define DVB_SUB_VER 00
#ifdef ATSC_SYSTEM
#define MIN_SYSTEM_YEAR (1980)
#else
#define MIN_SYSTEM_YEAR (2004)
#endif /* end #ifdef ATSC_SYSTEM */
#define MAX_SYSTEM_YEAR (MIN_SYSTEM_YEAR+67) //68 is range of s32 second.
#define DEBUG_MAX_ARGV_LENGTH 32
/*
* Define the device type .
*/
typedef enum
{
EN_NO_DEVICE = 0,
EN_CARDREADER_DEVICE,
EN_USB_DEVICE,
EN_DEVICE_TYPE_NUM
}EN_DEVICE_TYPE;
typedef struct _tm
{
s16 s16tm_sec; /* seconds after the minute - [0,59] */
s16 s16tm_min; /* minutes after the hour - [0,59] */
s16 s16tm_hour; /* hours since midnight - [0,23] */
s16 s16tm_mday; /* day of the month - [1,31] */
s16 s16tm_mon; /* months since January - [1,12] */
s16 s16tm_year; /* years since 1900 */
}ST_DVB_TIME;
#if ! defined(CT216T_ELGIST_MM)
/**
* Define the timer event period type.
*/
typedef enum
{
EN_TIMER_EVENT_TYPE_100MS =0x01,
EN_TIMER_EVENT_TYPE_250MS =0x02,
EN_TIMER_EVENT_TYPE_500MS =0x04,
EN_TIMER_EVENT_TYPE_1S =0x08,
EN_TIMER_EVENT_TYPE_2S =0x10,
EN_TIMER_EVENT_TYPE_5S =0x20,
EN_TIMER_EVENT_TYPE_10S =0x40,
EN_TIMER_EVENT_TYPE_30S =0x80,
EN_TIMER_EVENT_TYPE_ALL =0xFF
}EN_TIMER_EVENT_TYPE;
/**
* Define the system country code type.
*/
typedef enum
{
EN_SYS_COUNTRY_TAIWAN = 0, //......
EN_SYS_COUNTRY_CHINA, //い瓣
EN_SYS_COUNTRY_ENGLAND, //璣瓣
EN_SYS_COUNTRY_GERMANY, //紈瓣
EN_SYS_COUNTRY_FRANCE, //猭瓣
EN_SYS_COUNTRY_SPAIN, //﹁痁
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -