📄 tmbsltunerext.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: tmbslTuner.h
//
// DESCRIPTION: define the object for the CD1316
//
// DOCUMENT REF: DVP Software Coding Guidelines v1.14
// DVP Board Support Library Architecture Specification v0.5
//
// NOTES:
//-----------------------------------------------------------------------------
//
#ifndef _TMBSL_TUNER_H //-----------------
#define _TMBSL_TUNER_H
//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//
#include "tmhalFEtypes.h"
#include "dvp.h"
//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//
#ifdef __cplusplus
extern "C"
{
#endif
//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbslTunerInit(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmbslTuParam_t sParam // I: setup parameters
);
tmErrorCode_t
tmbslTunerDeInit (
tmUnitSelect_t TunerUnit // I: Tuner unit number
);
tmErrorCode_t
tmbslTunerGetSWVersion (
ptmSWVersion_t pSWVersion // I: Receives SW Version
);
tmErrorCode_t
tmbslTunerSetPowerState (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmPowerState_t powerState // I: Power state of this device
);
tmErrorCode_t
tmbslTunerGetPowerState (
tmUnitSelect_t TunerUnit, // I: Tuner unit number
tmPowerState_t *pPowerState // O: Power state of this device
);
tmErrorCode_t
tmbslTunerWrite (
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
tmbslTunerWriteBit (
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
tmbslTunerRead (
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
tmbslTunerSetConfig(
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
tmbslTunerGetConfig(
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
tmbslTunerSetRf(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32 uRf // I: Frequency in hertz
);
tmErrorCode_t
tmbslTunerGetRf(
tmUnitSelect_t TunerUnit, // I: Tuner unit number
UInt32* puRf // O: Frequency in hertz
);
#ifdef __cplusplus
}
#endif
#endif // _TMBSL_TUNER_H //---------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -