📄 tda988x.h
字号:
/*
*******************************************************************************
**
** \file tda988x.h
** \version v1.0
** \date 01-12-2004
**
** (C) Copyright 2004 by Philips RF Solutions, Singapore
** All rights reserved.
**
**
** The code in this module may not be distributed or
** disclosed to third parties without written permission
** of the owner.
**
** ver date by Desc
** ==========================================================================
** 1 LD Created
*******************************************************************************
*/
#ifndef TDA988X_H
#define TDA988X_H
#ifdef TDA988X_C
#define IF_API
#else
#define IF_API extern
#endif
/*
**
** EXPORTED DATA + FUNCTIONS FIRST
**
**
**
*/
// IOCTL Function Codes
enum {
IF_GET_IIC_AD,
// add new function codes here
IF_NOT_SUPPORTED //= 255
};
// Tuner API Error Codes
typedef enum {
IF_OK = 0,
IF_NOT_FOUND,
IF_MEMORY_PB,
IF_OTHER_ERROR //= 255
} IF_Error_t;
/* Functions*/
IF_API int IF_Init(void* Instance, Data8 addrGuess);
IF_API int IF_IOCTL(void* Instance, int functionCode, void *pInputs, void *pOutputs );
IF_API int IF_GetBytes(void* Instance, Data8* pDataBytes);
IF_API int IF_SetBytes(void* Instance, Data8* pDataBytes, Data8 DataLength);
IF_API int IF_ReadStatus(void* Instance, Data8* pstatus_byte);
IF_API void IF_FreeInstances(void);
#undef IF_API
#endif // ifndef TDA988X_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -