📄 tmbsl10086.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: tmbsl10086.h
//
// DESCRIPTION: define the object for the TDA10086
//
// DOCUMENT REF: DVP Software Coding Guidelines v1.14
// DVP Board Support Library Architecture Specification v0.5
//
// NOTES:
//-----------------------------------------------------------------------------
//
#ifndef _TMBSL_10086_H //-----------------
#define _TMBSL_10086_H
//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//
#include "tmhalFEtypes.h"
#include "dvp.h"
//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl10086Init(
tmUnitSelect_t demodUnit, // I: Demodulator unit number
tmbslDsParam_t sParam // I: setup parameters
);
tmErrorCode_t
tmbsl10086DeInit (
tmUnitSelect_t demodUnit // I: Demod unit number
);
tmErrorCode_t
tmbsl10086GetSWVersion (
ptmSWVersion_t pSWVersion // I: Receives SW Version
);
tmErrorCode_t
tmbsl10086SetPowerState(
tmUnitSelect_t demodUnit, // I: demodUnit number
tmPowerState_t ePowerState // I: Power state of the device
);
tmErrorCode_t
tmbsl10086GetPowerState(
tmUnitSelect_t demodUnit, // I: demodUnit number
ptmPowerState_t pPowerState // O: Receives current power state
);
tmErrorCode_t
tmbsl10086SetConfig(
tmUnitSelect_t demodUnit, // I: demodUnit number
UInt32 uItemId, // I: Identifier of the item to modify
UInt32 uValue // I: Value to set for the config item
);
tmErrorCode_t
tmbsl10086GetConfig(
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uItemId, // I: Identifier of the item to modify
UInt32* puValue // O: Value to set for the config item
);
tmErrorCode_t
tmbsl10086Write (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uIndex, // I: Start index to write
UInt32 uNbBytes, // I: Number of bytes to write
UInt32* puBytes // I: Pointer on an array of bytes
);
tmErrorCode_t
tmbsl10086WriteBit (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uIndex, // I: Index to write
UInt32 uBitMask, // I: byte mask
UInt32 uByte // I: value
);
tmErrorCode_t
tmbsl10086Read (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uIndex, // I: Start index to write
UInt32 uNbBytes, // I: Number of bytes to read
UInt32* puBytes // O: Pointer on an array of bytes
);
tmErrorCode_t
tmbsl10086SetRF (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uRF // I: RF freqency (Hz)
);
tmErrorCode_t
tmbsl10086GetRF (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puRF // O: RF freqency (KHz)
);
tmErrorCode_t
tmbsl10086SetSR (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uSR // I: Symbol Rate (Bauds)
);
tmErrorCode_t
tmbsl10086GetSR (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puSR // I: Symbol Rate (Bauds)
);
tmErrorCode_t
tmbsl10086SetSI (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFESpectrum_t eSI // I: Spectral Inversion
);
tmErrorCode_t
tmbsl10086GetSI (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFESpectrum_t *peSI // O: Spectral Inversion
);
tmErrorCode_t
tmbsl10086SetVR (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEDepuncRate_t eVR // I: Viterbi Rate
);
tmErrorCode_t
tmbsl10086GetVR (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEDepuncRate_t *peVR // O: Viterbi Rate
);
tmErrorCode_t
tmbsl10086SetTC (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFETurboCode_t eTC // I: Turbocode
);
tmErrorCode_t
tmbsl10086GetTC (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFETurboCode_t *peTC // O: Turbocode
);
tmErrorCode_t
tmbsl10086SetMod (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEModulation_t eMod // I: Modulation type
);
tmErrorCode_t
tmbsl10086GetMod (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEModulation_t *peMod // O: Modulation type
);
tmErrorCode_t
tmbsl10086SetLNB (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt8 bVoltage, // I: LNB voltage in volt
UInt16 wFrequency // I: LNB frequency of modulation in hertz (usually 22000 or 0)
);
tmErrorCode_t
tmbsl10086GetLNB (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt8* pbVoltage, // O: LNB voltage in volt
UInt16* pwFrequency // O: LNB frequency of modulation in hertz (usually 22000 or 0)
);
tmErrorCode_t
tmbsl10086SetDiSEqC (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEToneBurst_t eToneBurst, // I: Type of the tone burst (none - Satellite A - Satellite B)
UInt8 bDiSEqCNbByte, // I: Number of byte to send
UInt8* pDiSEqCMsg // I: Pointer a the frame to send
);
tmErrorCode_t
tmbsl10086GetDiSEqC (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEToneBurst_t *peToneBurst, // O: Type of the tone burst (none - Satellite A - Satellite B)
UInt8* pbNbByte, // O: Number of byte
UInt8* pMsg // O: Pointer a the frame
);
tmErrorCode_t
tmbsl10086GetBER (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puVBER // O: VBER
);
tmErrorCode_t
tmbsl10086GetSNR (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt8 *pbSNR // O: SNR
);
tmErrorCode_t
tmbsl10086GetLVL (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int8* pbLVL // O: Level in unit of dBm
);
tmErrorCode_t
tmbsl10086GetAFC (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int32 *plAFC // O: AFC
);
tmErrorCode_t
tmbsl10086GetACC (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int32 *plACC // O: frequency error in ppm
);
tmErrorCode_t
tmbsl10086GetUBK (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puUBK // O: Uncor
);
tmErrorCode_t
tmbsl10086GetRssi (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int32 *puRssi // O: RSSI
);
tmErrorCode_t
tmbsl10086StartScan(
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uStopFrequency, // I: End of the RF freqency band (Hz)
tmhalFEAutoScanMode_t eAutoScanMode // I: SacnMode (Fast or Fine)
);
tmErrorCode_t
tmbsl10086StopScan(
tmUnitSelect_t demodUnit // I: Demod unit number
);
tmErrorCode_t
tmbsl10086Manager (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEManagerStatus_t *peStatusManager // O: status manager
);
#ifdef __cplusplus
}
#endif
#endif // TM<MODULE>_H //---------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -