dcf_tuner.h

来自「机顶盒解调芯片DCF8722驱动」· C头文件 代码 · 共 50 行

H
50
字号
/****************************************************************************/
/*                   CONEXANT PROPRIETARY AND CONFIDENTIAL                  */
/*                   Conexant Systems Inc. (c) 2007 - 2012                  */
/*                             Shanghai, CHINA                              */
/*                           All Rights Reserved                            */
/****************************************************************************/
/*
 * Filename:      DCF_TUNER.H
 *
 * Description:   The file defines enum type parameters
 * Author:        Gavin Zhang
 *
 ****************************************************************************/
/* $Header: dcf_tuner.h, 1, 2007-10-8 13:36:53, Yong Huang$
 * $Id: dcf_tuner.h,v 1.0, 2007-10-08 05:36:53Z, Yong Huang$
 ****************************************************************************/

#ifndef DCF_TUNER_H_DEFINED
#define DCF_TUNER_H_DEFINED

#include "dcf_tua6020.h"

bool  DCF_TUNER_install_TUA6020(DCF_NIM *pNim);

#ifndef DCFEXT
/* declare extern tuner functions used in other files */
extern bool (*DCF_TUNER_SetType)(DCF_NIM *pNim);
extern bool (*DCF_TUNER_Initialize)(DCF_NIM *pNim);
extern bool (*DCF_TUNER_SetFilterBandwidth)(DCF_NIM *pNim,unsigned long bandwidthkhz);
extern bool (*DCF_TUNER_SetGainSettings)(DCF_NIM *pNim,unsigned long symbolrateksps);
extern bool (*DCF_TUNER_GetPLLLockStatus)(DCF_NIM *pNim,bool *pbLocked);
extern bool (*DCF_TUNER_GetPLLFrequency)(DCF_NIM *pNim,unsigned long *pllfreq);
extern bool (*DCF_TUNER_SetFrequency)(DCF_NIM *pNim,unsigned long freq);
#else
bool (*DCF_TUNER_SetType)(DCF_NIM *pNim);
bool (*DCF_TUNER_Initialize)(DCF_NIM *pNim);
bool (*DCF_TUNER_SetFilterBandwidth)(DCF_NIM *pNim,unsigned long bandwidthkhz);
bool (*DCF_TUNER_SetGainSettings)(DCF_NIM *pNim,unsigned long symbolrateksps);
bool (*DCF_TUNER_GetPLLLockStatus)(DCF_NIM *pNim,bool *pbLocked);
bool (*DCF_TUNER_GetPLLFrequency)(DCF_NIM *pNim,unsigned long *pllfreq);
bool (*DCF_TUNER_SetFrequency)(DCF_NIM *pNim,unsigned long freq);
#endif

/*******************************************************************************************************/
/*******************************************************************************************************/
/*******************************************************************************************************/

#endif  /* #ifndef DCF_TUNER_H_DEFINED */

⌨️ 快捷键说明

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