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

📄 tda8960.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              : tda8960.h  1.3
 *
 *  Last update              : 18:43:48  -  00/11/09
 *
 *  Description              :
 *
 */

#include <tm1/tsaTvDigDem.h>

#ifndef _TDA8960_H_
#define _TDA8960_H_

#define TDA8960_IIC_ADDRESS_0 0x18
#define TDA8960_IIC_ADDRESS_1 0x1a
#define TDA8960_IIC_ADDRESS_2 0x1c
#define TDA8960_IIC_ADDRESS_3 0x1e

#define TDA8960_SUPPORTED_STANDARDS   (ddsATSC)
#define TDA8960_NUM_ACQUISITION_MODES 2
#define TDA8960_MAX_OFFSET            100000

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

typedef struct
{
    UInt32                  iicAddress;
    tsaTvDigDemTvStandard_t standard;
}tda8960Param_t, *ptda8960Param_t;

extern tmLibdevErr_t tda8960Init(UInt32 unitID, ptda8960Param_t params);
extern tmLibdevErr_t tda8960Term(UInt32 iicAddress);

extern tmLibdevErr_t tda8960Start(UInt32 unitID);
extern tmLibdevErr_t tda8960Stop(UInt32 unitID);

extern tmLibdevErr_t tda8960GetStatus(UInt32 unitID, ptsaTvDigDemStatus_t status);
extern tmLibdevErr_t tda8960GetTapsAndStatus(UInt32 unitID, ptsaTvDigDemStatus_t status);

extern tmLibdevErr_t tda8960GetOffset(UInt32 unitID, Int *offset);
extern tmLibdevErr_t tda8960Reset(UInt32 unitID);
extern tmLibdevErr_t tda8960SetAcquisitionMode(UInt32 unitID, Int mode);

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

#endif /* _TDA8960_H_ */

⌨️ 快捷键说明

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