📄 tmbsldemodcabtypes.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: tmbslDemodCabTypes.h
//
// DESCRIPTION: This header file describes definitions, types, and functions
// exported by the Board Support Library (BSL) Cable (DVB) demodulator part.
//
// DOCUMENT REF: DVP Software Coding Guidelines
// DVP Software Versioning Specification
// DVP Board Support Library Architecture Specification
#ifndef _TMBSL_DEMODCABTYPES_H_
#define _TMBSL_DEMODCABTYPES_H_
#include "tmtypes.h"
#include "tmbslTuner.h"
#include "tmbslDemodCab.h"
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//
// initialisation
typedef tmErrorCode_t (*initFuncCab_t) ( tmUnitSelect_t demodUnit,
tmbslDcParam_t sParam);
typedef tmErrorCode_t (*deinitFuncCab_t) ( tmUnitSelect_t demodUnit);
typedef tmErrorCode_t (*getSWVersionFuncCab_t) ( tmSWVersion_t* pSWVersion);
typedef tmErrorCode_t (*setPowerStateFuncCab_t) (tmUnitSelect_t demodUnit,
tmPowerState_t powerState);
typedef tmErrorCode_t (*getPowerStateFuncCab_t) (tmUnitSelect_t demodUnit,
tmPowerState_t* pPowerState);
// configuration
typedef tmErrorCode_t (*setCfgFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uItemId,
UInt32 uValue);
typedef tmErrorCode_t (*getCfgFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uItemId,
UInt32* puValue);
// read-write into registers
typedef tmErrorCode_t (*writeFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uNbData,
UInt32* puData);
typedef tmErrorCode_t (*writeBitFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uBitMask,
UInt32 uData);
typedef tmErrorCode_t (*readFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uNbData,
UInt32* puData);
// Demod-Tuner programming
typedef tmErrorCode_t (*setRfFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uRF);
typedef tmErrorCode_t (*getRfFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32* puRF);
typedef tmErrorCode_t (*setSrFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32 uSR);
typedef tmErrorCode_t (*getSrFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32* puSR);
typedef tmErrorCode_t (*setSiFuncCab_t) ( tmUnitSelect_t demodUnit,
tmhalFESpectrum_t eSI);
typedef tmErrorCode_t (*getSiFuncCab_t) ( tmUnitSelect_t demodUnit,
tmhalFESpectrum_t* peSI);
typedef tmErrorCode_t (*setModFuncCab_t)( tmUnitSelect_t demodUnit,
tmhalFEModulation_t eMOD);
typedef tmErrorCode_t (*getModFuncCab_t) ( tmUnitSelect_t demodUnit,
tmhalFEModulation_t* peMOD);
// status
typedef tmErrorCode_t (*getBerFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32* puBER);
typedef tmErrorCode_t (*getSnrFuncCab_t) ( tmUnitSelect_t demodUnit,
Int8* pbSNR);
typedef tmErrorCode_t (*getLvlFuncCab_t) ( tmUnitSelect_t demodUnit,
Int8* pbLVL);
typedef tmErrorCode_t (*getAfcFuncCab_t) ( tmUnitSelect_t demodUnit,
Int32* plAFC);
typedef tmErrorCode_t (*getAccFuncCab_t) ( tmUnitSelect_t demodUnit,
Int32* plACC);
typedef tmErrorCode_t (*getUbkFuncCab_t) ( tmUnitSelect_t demodUnit,
UInt32* plUBK);
// algorithm for scanning and tuning
typedef tmErrorCode_t (*startScanFuncCab_t) (tmUnitSelect_t demodUnit,
UInt32 uStopFrequency);
typedef tmErrorCode_t (*stopScanFuncCab_t) ( tmUnitSelect_t demodUnit);
typedef tmErrorCode_t (*managerFuncCab_t) ( tmUnitSelect_t demodUnit,
tmhalFEManagerStatus_t* peStatusManager);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* _TMBSL_DEMODCABTYPES_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -