📄 tmbsl10023.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: tmbsl10023.h
//
// DESCRIPTION: define the object for the TDA10023
//
// DOCUMENT REF: DVP Software Coding Guidelines v1.14
// DVP Board Support Library Architecture Specification v0.5
//
// NOTES:
//-----------------------------------------------------------------------------
//
#ifndef _TMBSL_10023_H //-----------------
#define _TMBSL_10023_H
//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//
#include "tmhalFEtypes.h"
#include "dvp.h"
//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl10023Init(
tmUnitSelect_t demodUnit, // I: Demodulator unit number
tmbslDcParam_t sParam // I: setup parameters
);
tmErrorCode_t
tmbsl10023DeInit (
tmUnitSelect_t demodUnit // I: Demod unit number
);
tmErrorCode_t
tmbsl10023GetSWVersion (
ptmSWVersion_t pSWVersion // I: Receives SW Version
);
tmErrorCode_t
tmbsl10023SetPowerState(
tmUnitSelect_t demodUnit, // I: demodUnit number
tmPowerState_t ePowerState // I: Power state of the device
);
tmErrorCode_t
tmbsl10023GetPowerState(
tmUnitSelect_t demodUnit, // I: demodUnit number
ptmPowerState_t pPowerState // O: Receives current power state
);
tmErrorCode_t
tmbsl10023SetConfig(
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
tmbsl10023GetConfig(
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
tmbsl10023Write (
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
tmbsl10023WriteBit (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uIndex, // I: Index to write
UInt32 uBitMask, // I: byte mask
UInt32 uByte // I: value
);
tmErrorCode_t
tmbsl10023Read (
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
tmbsl10023SetRF (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uRF // I: RF freqency (Hz)
);
tmErrorCode_t
tmbsl10023GetRF (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puRF // O: RF frequency (KHz)
);
tmErrorCode_t
tmbsl10023SetSR (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uSR // I: Symbol Rate (bauds)
);
tmErrorCode_t
tmbsl10023GetSR (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puCS // 0: Symbol Rate (bauds)
);
tmErrorCode_t
tmbsl10023SetSI (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFESpectrum_t eSI // I: Spectral Inversion
);
tmErrorCode_t
tmbsl10023GetSI (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFESpectrum_t *peSI // O: Spectral Inversion
);
tmErrorCode_t
tmbsl10023SetMod (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEModulation_t eMOD // I: Modulation type
);
tmErrorCode_t
tmbsl10023GetMod (
tmUnitSelect_t demodUnit, // I: Demod unit number
tmhalFEModulation_t *peMOD // O: Modulation type
);
tmErrorCode_t
tmbsl10023GetBER (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puVBER // O: VBER
);
tmErrorCode_t
tmbsl10023GetCBER (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puCBER // O: VBER
);
tmErrorCode_t
tmbsl10023GetSNR (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int8 *pbSNR // O: SNR
);
tmErrorCode_t
tmbsl10023GetLVL (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int8* pbLVL // O: Level in unit of dBm
);
tmErrorCode_t
tmbsl10023GetAFC (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int32 *plAFC // O: AFC
);
tmErrorCode_t
tmbsl10023GetACC (
tmUnitSelect_t demodUnit, // I: Demod unit number
Int32 *plACC // O: frequency error in ppm
);
tmErrorCode_t
tmbsl10023GetUBK (
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 *puUBK // O: Uncor
);
tmErrorCode_t
tmbsl10023StartScan(
tmUnitSelect_t demodUnit, // I: Demod unit number
UInt32 uStopFrequency // I: End of the RF freqency band (Hz)
);
tmErrorCode_t
tmbsl10023StopScan(
tmUnitSelect_t demodUnit // I: Demod unit number
);
tmErrorCode_t
tmbsl10023Manager (
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 + -