stpti_hal.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:2k
- /*****************************************************************************
- File Name : stpti_hal.h
- Description: STPTI Local header
- Copyright (C) STMicroelectronics 2004
- *****************************************************************************/
- /* Define to prevent recursive inclusion */
- #ifndef __STPTI_HAL_H
- #define __STPTI_HAL_H
- /* Includes --------------------------------------------------------------- */
- #include "stddefs.h" /* STAPI includes */
- #include "service.h"
- #include "stpti.h"
- /* Exported Types ------------------------------------------------------ */
- #if defined(DUAL_DVR)
- #define KB_PTI_MAX_NUM 3
- #elif defined(PIP_SUPPORT)
- #define KB_PTI_MAX_NUM 2
- #else
- #define KB_PTI_MAX_NUM 1
- #endif
- /* Exported Constants -------------------------------------------------- */
- /* Exported Variables -------------------------------------------------- */
- extern STPTI_Handle_t g_KB_PTIHandleMultiple[KB_PTI_MAX_NUM];
- extern ST_DeviceName_t g_KB_PTIDeviceNameMultiple[KB_PTI_MAX_NUM];
- /* teletext support */
- extern STPTI_Buffer_t g_KB_PTITTXBufferHandle;
- extern STPTI_Signal_t g_KB_PTITTXSignalHandle;
- /* configuration may differ for P.I. Vs. tuner input.
- NOTE: Set this value *before* calling a PTI setup function. */
- extern BOOL g_KB_PTIPacketInjectorUsed;
- /* Exported Macros ----------------------------------------------------- */
- #define KB_PTI_Handle g_KB_PTIHandleMultiple[0]
- #define KB_PTI_DeviceName g_KB_PTIDeviceNameMultiple[0]
- #endif /* __STPTI_HAL_H */
- /* EOF --------------------------------------------------------------------- */