📄 fi1236mk2.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 : fi1236mk2.h 1.2
*
* Last update : 18:43:40 - 00/11/09
*
* Description :
*
*/
#include <tmlib/tmtypes.h>
#include <tm1/tsaTvTuner.h>
#ifndef _FI1236MK2_H_
#define _FI1236MK2_H_
#define FI1236MK2_SUPPORTED_STEP_SIZES (tts_62_50)
#define FI1236MK2_SUPPORTED_INPUTS (ttiAntennaNTSC)
#define FI1236MK2_MIN_FREQUENCY 50000000 /* 50 MHz */
#define FI1236MK2_MAX_FREQUENCY 860000000 /* 860 MHz */
#define FI1236MK2_IIC_ADDRESS_0 0xc0
#define FI1236MK2_IIC_ADDRESS_1 0xc2
#define FI1236MK2_IIC_ADDRESS_2 0xc4
#define FI1236MK2_IIC_ADDRESS_3 0xc6
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
typedef struct
{
UInt32 iicAddress;
Bool useInternalAGC;
UInt32 iFreq;
tsaTvTunerInput_t input;
}fi1236mk2Param_t, *pfi1236mk2Param_t;
typedef enum
{
fi1236mk2TweakUp,
fi1236mk2TweakDown,
fi1236mk2TweakReset,
}fi1236mk2TweakMode_t;
extern tmLibdevErr_t fi1236mk2Init(UInt32 unitID, pfi1236mk2Param_t params);
extern tmLibdevErr_t fi1236mk2SetFrequency(UInt32 unitID, ptsaTvTunerChannelParams_t chanParams);
extern tmLibdevErr_t fi1236mk2Tweak(UInt32 unitID, fi1236mk2TweakMode_t mode);
extern tmLibdevErr_t fi1236mk2GetChanParams(UInt32 unitID, ptsaTvTunerChannelParams_t chanParams);
extern tmLibdevErr_t fi1236mk2GetLock(UInt32 unitID, Bool * locked);
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* _FI1236MK2_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -