📄 tmbsl8260.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: tmbsl8260.h
//
// DESCRIPTION: define the object for the TDA8260
//
// DOCUMENT REF: DVP Software Coding Guidelines v1.14
// DVP Board Support Library Architecture Specification v0.5
//
// NOTES:
//-----------------------------------------------------------------------------
//
#ifndef _TMBSL_8260_H //-----------------
#define _TMBSL_8260_H
//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//
#include "..\..\Include\tmhalFEtypes.h"
#include "..\..\Include\dvp.h"
//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl8260Init(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmbslTuParam_t sParam // I: setup parameters
);
tmErrorCode_t
tmbsl8260DeInit (
tmUnitSelect_t TunerUnit // I: Tuner unit number
);
tmErrorCode_t
tmbsl8260GetSWVersion (
ptmSWVersion_t pSWVersion // I: Receives SW Version
);
tmErrorCode_t
tmbsl8260SetPowerState (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmPowerState_t powerState // I: Power state of this device
);
tmErrorCode_t
tmbsl8260GetPowerState (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmPowerState_t *pPowerState // O: Power state of this device
);
tmErrorCode_t
tmbsl8260Write (
tmUnitSelect_t TunerUnit, // I: Tuner 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
tmbsl8260WriteBit (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32 uIndex, // I: Start index to write
UInt32 uBitMask, // I: bit mask
UInt32 uBytes // I: bit value
);
tmErrorCode_t
tmbsl8260Read (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32 uIndex, // I: Start index to read
UInt32 uNbBytes, // I: Number of bytes to read
UInt32* puBytes // I: Pointer on an array of bytes
);
tmErrorCode_t
tmbsl8260SetConfig(
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
tmbsl8260GetConfig(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32 uItemId, // I: Identifier of the item to modify
UInt32* puValue // I: Value to set for the config item
);
tmErrorCode_t
tmbsl8260SetRf(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32 uRf // I: Frequency in hertz
);
tmErrorCode_t
tmbsl8260GetRf(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32* puRf // O: Frequency in hertz
);
#ifdef __cplusplus
}
#endif
#endif // TM<MODULE>_H //---------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -