⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 td1536.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的设备库的源码
💻 H
字号:
/*
 *  Copyright (c) 1999 by TriMedia Technologies.
 *
 *  +-------------------------------------------------------------------+
 *  | This software  is furnished under a license  and may only be used |
 *  | and copied in accordance with the terms  and conditions of such a |
 *  | license  and with  the inclusion of this  copyright notice.  This |
 *  | software or any other copies of this software may not be provided |
 *  | or otherwise  made available  to any other person.  The ownership |
 *  | and title of this software is not transferred.                    |
 *  |                                                                   |
 *  | The information  in this software  is subject  to change  without |
 *  | any  prior notice  and should not be construed as a commitment by |
 *  | TriMedia Technologies.                                            |
 *  |                                                                   |
 *  | This  code  and  information  is  provided  "as is"  without  any |
 *  | warranty of any kind,  either expressed or implied, including but |
 *  | not limited  to the implied warranties  of merchantability and/or |
 *  | fitness for any particular purpose.                               |
 *  +-------------------------------------------------------------------+
 *
 *
 *  Module name              : td1536.h    1.5
 *
 *  Last update              : 18:43:47 - 00/11/09
 *
 *  Description              :
 *
 */

#include <tmlib/tmtypes.h>
#include <tm1/tsaTvTuner.h>

#ifndef _TD1536_H_
#define _TD1536_H_

#define TD1536_SUPPORTED_STEP_SIZES (tts_62_50)

#define TD1536_SUPPORTED_INPUTS     (ttiAntennaNTSC | ttiAntennaATSC)

/* only the TD1536D supports two seperate inputs for antenna and cable */
#define TD1536D_SUPPORTED_INPUTS    (ttiCableNTSC | ttiAntennaNTSC | ttiCableATSC | ttiAntennaATSC) 

#define TD1536_MIN_FREQUENCY        50000000   /* 50 MHz */
#define TD1536_MAX_FREQUENCY        860000000  /* 860 MHz */

#define TD1536_IIC_ADDRESS_0        0xc0
#define TD1536_IIC_ADDRESS_1        0xc2
#define TD1536_IIC_ADDRESS_2        0xc4
#define TD1536_IIC_ADDRESS_3        0xc6

#if	defined(__cplusplus)
extern	"C"	{
#endif	/* defined(__cplusplus) */

typedef struct
{
    UInt32            iicAddress;
    Bool              useInternalAGC;
    UInt32            iFreq;
    tsaTvTunerInput_t input;
}td1536Param_t, *ptd1536Param_t;

typedef enum
{
    td1536TweakUp,
    td1536TweakDown,
    td1536TweakReset,
}td1536TweakMode_t;

extern tmLibdevErr_t td1536Init(UInt32 unitID, ptd1536Param_t params);
extern tmLibdevErr_t td1536SetFrequency(UInt32 unitID, ptsaTvTunerChannelParams_t chanParams);
extern tmLibdevErr_t td1536SetInput(UInt32 unitID, tsaTvTunerInput_t input);
extern tmLibdevErr_t td1536Tweak(UInt32 unitID, td1536TweakMode_t mode);
extern tmLibdevErr_t td1536GetChanParams(UInt32 unitID, ptsaTvTunerChannelParams_t chanParams);
extern tmLibdevErr_t td1536GetLock(UInt32 unitID, Bool * locked);

#if	defined(__cplusplus)
}
#endif	/* defined(__cplusplus) */

#endif /* _TD1536_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -