diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2011-06-28 13:40:27 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2011-06-28 13:40:27 (GMT) |
commit | fecdd9457cd3912c2b89aff1f99db0ba669af93b (patch) | |
tree | 34bbc7387ded825e303c3117b6c6da2cbe1fd771 /api/TDA18271_C2.h | |
download | AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.zip AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.tar.gz AF903x_SRC-fecdd9457cd3912c2b89aff1f99db0ba669af93b.tar.bz2 |
Initial checkin' of sourceball extracted from installer.
DRIVER_RELEASE_VERSION : v9.08.14.1
FW_RELEASE_VERSION : v8_8_63_0
API_RELEASE_VERSION : 200.20090402.0
Not sure what those version numbers relate to.
Might be Driver, the actual driver (src)
FW, the little bin file that is only a keymapping for the remote
API, all the tuners or so from /api?
No support for Asus U3100
mini (yet).
Diffstat (limited to 'api/TDA18271_C2.h')
-rw-r--r-- | api/TDA18271_C2.h | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/api/TDA18271_C2.h b/api/TDA18271_C2.h new file mode 100644 index 0000000..1a532ab --- /dev/null +++ b/api/TDA18271_C2.h @@ -0,0 +1,177 @@ +//----------------------------------------------------------------------------- +// $Header: +// (C) Copyright 2001 NXP Semiconductors, All rights reserved +// +// This source code and any compilation or derivative thereof is the sole +// property of NXP Corporation and is provided pursuant to a Software +// License Agreement. This code is the proprietary information of NXP +// Corporation and is confidential in nature. Its use and dissemination by +// any party other than NXP Corporation is strictly limited by the +// confidential information provisions of the Agreement referenced above. +//----------------------------------------------------------------------------- +// FILE NAME: tmbslTDA18271_C2.h +// +// DESCRIPTION: define the object for the TDA18271_C2 +// +// DOCUMENT REF: DVP Software Coding Guidelines v1.14 +// DVP Board Support Library Architecture Specification v0.5 +// +// NOTES: +//----------------------------------------------------------------------------- +// +#ifndef _TMBSL_TDA18271_C2_H //----------------- +#define _TMBSL_TDA18271_C2_H + +//----------------------------------------------------------------------------- +// Standard include files: +//----------------------------------------------------------------------------- +// + +//----------------------------------------------------------------------------- +// Project include files: +//----------------------------------------------------------------------------- +// +//#ifndef NXPFE +#ifdef __cplusplus +extern "C" +{ +#endif +//#endif // NXPFE + +//----------------------------------------------------------------------------- +// Types and defines: +//----------------------------------------------------------------------------- +// +tmErrorCode_t +TDA18271Init_C2 ( + tmUnitSelect_t TunerUnit // I: Tuner Object + ); +Bool_ +TDA18271InitTick_C2( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt16 wTime // I: time to wait forTDA18271Init + ); +Bool_ +TDA18271WaitTick_C2( + ptmTDA18271Object_t_C2 pObj // I: Tuner unit number + ); +Bool_ +TDA18271Write_C2( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt8 uSubAddress,// I: sub address + UInt8 uNbData // I: nb of data + ); +Bool_ +TDA18271Read_C2( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt8 uSubAddress,// I: sub address + UInt8 uNbData // I: nb of data + ); +Bool_ +TDA18271Wait_C2( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt16 wTime // I: time to wait for + ); +Bool_ +TDA18271ShiftLog_C2( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt32 uNbRows // I: nb of lines + ); +tmErrorCode_t +TDA18271SetStandardMode_C2( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + tmTDA18271StandardMode_t_C2 StandardMode// I: Standard mode of this device + ); +tmErrorCode_t +TDA18271GetStandardMode_C2( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + tmTDA18271StandardMode_t_C2 *pStandardMode // I: Standard mode of this device + ); +tmErrorCode_t +TDA18271SetPowerState_C2( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + tmTDA18271PowerState_t_C2 powerState // I: Power state of this device + ); +tmErrorCode_t +TDA18271GetPowerState_C2( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + tmTDA18271PowerState_t_C2 *pPowerState// I: Power state of this device + ); +Bool_ +TDA18271CalcMAINPLL_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + UInt32 uLO // I: local oscillator frequency in hertz + ); +Bool_ +TDA18271CalcCALPLL_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + UInt32 uLO // I: local oscillator frequency in hertz + ); +tmErrorCode_t +TDA18271CalcRFFilterCurve_C2 ( + ptmTDA18271Object_t_C2 pObj // I: tuner Object + ); +tmErrorCode_t +TDA18271RFTrackingFiltersInit_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + ptmTDA18271_RF_BAND_Map_t_C2 pRF_BAND_Map // I: address of RF band map + ); +tmErrorCode_t +TDA18271CalibrateRF_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: tuner Object + UInt32 uRF, // I: RF frequency in hertz + UInt8* puCprog // I: Address of the variable to output the Cprog value + ); +tmErrorCode_t +TDA18271PowerScan_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt32* puRF, // I/O: RF frequency in hertz + Bool_* pCal // O: Calibration allowed if pCal = True + ); +tmErrorCode_t +TDA18271PowerScanInit_C2 ( + ptmTDA18271Object_t_C2 pObj // I: Tuner unit number + ); +tmErrorCode_t +TDA18271ThermometerRead_C2 ( + ptmTDA18271Object_t_C2 pObj, // I: Tuner unit number + UInt32* puValue // O: Read thermometer value + ); +tmErrorCode_t +allocInstance_C2 ( + UInt32 DeviceUnit, // I: Tuner unit number + pptmTDA18271Object_t_C2 ppDrvObject // I: Tuner Object + ); +tmErrorCode_t +deAllocInstance_C2 ( + UInt32 DeviceUnit // I: Tuner unit number + ); +tmErrorCode_t +getInstance_C2 ( + tmUnitSelect_t DeviceUnit, // I: Tuner unit number + pptmTDA18271Object_t_C2 ppDrvObject // I: Tuner Object + ); +tmErrorCode_t + tmbslTDA18271Init_C2( + tmUnitSelect_t TunerUnit, // I: Tuner unit number + tmbslTuParam_t_C2 Param // I: setup parameters + ); +tmErrorCode_t + tmbslTDA18271SetConfig_C2( + tmUnitSelect_t TunerUnit, // I: TunerUnit number + UInt32 uItemId, // I: Identifier of the item to modify + UInt32 uValue // I: Value to set for the config item + ); +tmErrorCode_t + tmbslTDA18271SetRf_C2( + tmUnitSelect_t TunerUnit, // I: Tuner unit number + UInt32 uRF // I: RF frequency in hertz + ); + +//#ifndef NXPFE +#ifdef __cplusplus +} +#endif +//#endif // NXPFE + +#endif // TM<MODULE>_H //--------------- |