msapi_tv_tuner.h

来自「mstar 776 开发的车载dvd」· C头文件 代码 · 共 55 行

H
55
字号
/******************************************************************************
 Copyright (c) 2005 MStar Semiconductor, Inc.
 All rights reserved.

 Module Name:

    msAPI_TV_Tuner.c

 Author:

    Daniel Wei - Dec 2005.

 Abstract:

    TV tuner subroutine declaration.

 Reversion History:
*******************************************************************************/
#ifndef _TV_TUNER_H_
#define _TV_TUNER_H_
#include "DataType.h"
#include "board.h"
#include "drvAnalog_DataType.h"
///////////////////////////////////////
// Sub tv system
///////////////////////////////////////


typedef struct _TVTUNER_CHANNEL_LOCK
{

    U16 StartFreq; // Program divider 2 byte (n14-n0)
    U16 EndFreq; // Control information byte 1
    U8  Steps; // Control information byte 1(P7-P0)
    U16 ResultFreq;

}TVTUNER_CHANNEL_LOCK;

/////////////////////////////////////
// Subroutines
/////////////////////////////////////
void msAPI_TVTuner_Initialize(void);
//U8   msAPI_TVTuner_GetStatus(U8 ucLoopCount);
//U8   msAPI_TVTuner_Write(TunerProgramType *pProgParam);
#if 1 //( TV_SYSTEM == TV_PAL )
void msAPI_TVTuner_SetSubSys( EnuTunerSoundSystem ucSoundSystem );
U8   msAPI_TVTuner_SetChannel(  EnuTunerSoundSystem ucSoundSystem, U16 wFreq );
U16   msAPI_TVTuner_ScanFreq(U16 wFreq);
#endif
//U16  msAPI_TVTuner_ScanFreqRange( U16 wFreqStart, U16 wFreqEnd, char cStep );
U8   msAPI_TVTuner_ChannelLock(TVTUNER_CHANNEL_LOCK *chLock);

#define MAPP_PAL_DEBUG  0
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?