📄 tmbsldemodtertypes.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: tmbslDemodTerTypes.h
//
// DESCRIPTION: This header file describes definitions, types, and functions
// exported by the Board Support Library (BSL) terrestrial (DVB) demodulator part.
//
// DOCUMENT REF: DVP Software Coding Guidelines
// DVP Software Versioning Specification
// DVP Board Support Library Architecture Specification
#ifndef _TMBSL_DEMODTERTYPES_H_
#define _TMBSL_DEMODTERTYPES_H_
#include "tmtypes.h"
#include "tmbslTuner.h"
#include "tmbslDemodTer.h"
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//
// initialisation
typedef tmErrorCode_t (*initFuncTer_t) ( tmUnitSelect_t demodUnit,
tmbslDtParam_t sParam);
typedef tmErrorCode_t (*deinitFuncTer_t) ( tmUnitSelect_t demodUnit);
typedef tmErrorCode_t (*getSWVersionFuncTer_t) ( tmSWVersion_t* pSWVersion);
typedef tmErrorCode_t (*setPowerStateFuncTer_t) (tmUnitSelect_t demodUnit,
tmPowerState_t powerState);
typedef tmErrorCode_t (*getPowerStateFuncTer_t) (tmUnitSelect_t demodUnit,
tmPowerState_t* pPowerState);
// configuration
typedef tmErrorCode_t (*setCfgFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uItemId,
UInt32 uValue);
typedef tmErrorCode_t (*getCfgFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uItemId,
UInt32* puValue);
// read-write into registers
typedef tmErrorCode_t (*writeFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uNbData,
UInt32* puData);
typedef tmErrorCode_t (*writeBitFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uBitMask,
UInt32 uData);
typedef tmErrorCode_t (*readFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uAddress,
UInt32 uNbData,
UInt32* puData);
// Demod-Tuner programming
typedef tmErrorCode_t (*setRfFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uRF, tmhalFERfOffset_t eRFO);
typedef tmErrorCode_t (*getRfFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32* puRF, tmhalFERfOffset_t* peRFO);
typedef tmErrorCode_t (*setCsFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32 uCS);
typedef tmErrorCode_t (*getCsFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32* puCS);
typedef tmErrorCode_t (*setSiFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFESpectrum_t eSI);
typedef tmErrorCode_t (*getSiFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFESpectrum_t* peSI);
typedef tmErrorCode_t (*setVrHpFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEDepuncRate_t eVRHP);
typedef tmErrorCode_t (*getVrHpFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEDepuncRate_t* peVRHP);
typedef tmErrorCode_t (*setVrLpFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEDepuncRate_t eVRLP);
typedef tmErrorCode_t (*getVrLpFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEDepuncRate_t* peVRLP);
typedef tmErrorCode_t (*setModFuncTer_t)( tmUnitSelect_t demodUnit,
tmhalFEModulation_t eMOD);
typedef tmErrorCode_t (*getModFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEModulation_t* peMOD);
typedef tmErrorCode_t (*setGiFuncTer_t)( tmUnitSelect_t demodUnit,
tmhalFEGuardInterval_t eGI);
typedef tmErrorCode_t (*getGiFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEGuardInterval_t* peGI);
typedef tmErrorCode_t (*setFftFuncTer_t)( tmUnitSelect_t demodUnit,
tmhalFEFft_t eFFT);
typedef tmErrorCode_t (*getFftFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEFft_t* peFFT);
typedef tmErrorCode_t (*setHrchFuncTer_t)( tmUnitSelect_t demodUnit,
tmhalFEHierarchy_t eHRCH);
typedef tmErrorCode_t (*getHrchFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEHierarchy_t* peHRCH);
typedef tmErrorCode_t (*setHpLpFuncTer_t)( tmUnitSelect_t demodUnit,
tmhalFEPriority_t eHPLP);
typedef tmErrorCode_t (*getHpLpFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEPriority_t* peHPLP);
// status
typedef tmErrorCode_t (*getBerFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32* puBER);
typedef tmErrorCode_t (*getSnrFuncTer_t) ( tmUnitSelect_t demodUnit,
Int8* pbSNR);
typedef tmErrorCode_t (*getLvlFuncTer_t) ( tmUnitSelect_t demodUnit,
Int8* pbLVL);
typedef tmErrorCode_t (*getAfcFuncTer_t) ( tmUnitSelect_t demodUnit,
Int32* plAFC);
typedef tmErrorCode_t (*getAccFuncTer_t) ( tmUnitSelect_t demodUnit,
Int32* plACC);
typedef tmErrorCode_t (*getUbkFuncTer_t) ( tmUnitSelect_t demodUnit,
UInt32* plUBK);
// algorithm for scanning and tuning
typedef tmErrorCode_t (*startScanFuncTer_t) (tmUnitSelect_t demodUnit,
UInt32 uStopFrequency);
typedef tmErrorCode_t (*stopScanFuncTer_t) ( tmUnitSelect_t demodUnit);
typedef tmErrorCode_t (*managerFuncTer_t) ( tmUnitSelect_t demodUnit,
tmhalFEManagerStatus_t* peStatusManager);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* _TMBSL_DEMODTERTYPES_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -