⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmbsltunertypes.h

📁 Cu1216 解调器驱动
💻 H
字号:
//-----------------------------------------------------------------------------
// $Header:
// (C) Copyright 2001 Philips Semiconductors, All rights reserved
//
// This source code and any compilation or derivative thereof is the sole
// property of Philips Corporation and is provided pursuant to a Software
// License Agreement.  This code is the proprietary information of Philips
// Corporation and is confidential in nature.  Its use and dissemination by
// any party other than Philips Corporation is strictly limited by the
// confidential information provisions of the Agreement referenced above.
//-----------------------------------------------------------------------------
// FILE NAME:    tmbslTunerTypes.h
//
// DESCRIPTION:  This header file describes definitions, types, and functions
//               exported by the Board Support Library (BSL) satellite demodulator part.
//
// DOCUMENT REF: DVP Software Coding Guidelines
//               DVP Software Versioning Specification
//               DVP Board Support Library Architecture Specification


#ifndef _TMBSL_TUNERTYPES_H_
#define _TMBSL_TUNERTYPES_H_


//-----------------------------------------------------------------------------
// Standard include files:
//

//-----------------------------------------------------------------------------
// Project include files:
//

#ifdef __cplusplus
extern "C"
{
#endif

#include "tmtypes.h"
#include "tmbslTuner.h"

//-----------------------------------------------------------------------------
// Types and defines:
//

// initialisation
typedef tmErrorCode_t (*initFuncTun_t) (             tmUnitSelect_t tunerUnit,
                                        tmbslTuParam_t sParam);
typedef tmErrorCode_t (*deinitFuncTun_t) (           tmUnitSelect_t tunerUnit);
typedef tmErrorCode_t (*getSWVersionFuncTun_t) (     tmSWVersion_t* pSWVersion);
typedef tmErrorCode_t (*setPowerStateFuncTun_t) (    tmUnitSelect_t tunerUnit,
                                        tmPowerState_t powerState);
typedef tmErrorCode_t (*getPowerStateFuncTun_t) ( 	tmUnitSelect_t tunerUnit, 
                                        tmPowerState_t* pPowerState);
	
// configuration
typedef tmErrorCode_t (*setCfgFuncTun_t) (		    tmUnitSelect_t tunerUnit,
                                        UInt32 uItemId,
                                        UInt32 uValue);
typedef tmErrorCode_t (*getCfgFuncTun_t) (		    tmUnitSelect_t tunerUnit,
                                        UInt32 uItemId,
                                        UInt32* puValue);

// read-write into registers
typedef tmErrorCode_t (*writeFuncTun_t) (		    tmUnitSelect_t tunerUnit,
                                        UInt32 uAddress,
                                        UInt32 uNbData,
                                        UInt32* puData);
typedef tmErrorCode_t (*writeBitFuncTun_t) (	        tmUnitSelect_t tunerUnit,
                                        UInt32 uAddress,
                                        UInt32 uBitMask,
                                        UInt32 uData);
typedef tmErrorCode_t (*readFuncTun_t) ( 		    tmUnitSelect_t tunerUnit,
                                        UInt32 uAddress,
                                        UInt32 uNbData,
                                        UInt32* puData);
// Tuner programming
typedef tmErrorCode_t (*setRfFuncTun_t) (		    tmUnitSelect_t tunerUnit,
                                        UInt32 uRF); 
typedef tmErrorCode_t (*getRfFuncTun_t) (		    tmUnitSelect_t tunerUnit,
                                            UInt32* puRF);

#if defined(__cplusplus)
}
#endif  /* defined(__cplusplus) */

#endif /* _TMBSLTUNERTYPES_H_ */
 

⌨️ 快捷键说明

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