vtg.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:2k
- /*****************************************************************************
- File Name : vtg.h
- Description: 5105 VTG header
- Copyright (C) 2004 STMicroelectronics
- *****************************************************************************/
- /* Define to prevent recursive inclusion */
- #ifndef __VTG_H
- #define __VTG_H
- /* Includes --------------------------------------------------------------- */
- #include "stddefs.h" /* STAPI includes */
- #include "stvtg.h"
- #include "service.h"
- #include "stdenc.h"
- /* Exported Types ------------------------------------------------------ */
- /* Exported Constants -------------------------------------------------- */
- /* Exported Variables -------------------------------------------------- */
- extern STVTG_Handle_t g_KB_VtgHandle;
- extern ST_DeviceName_t g_KB_VtgDeviceName;
- extern STVTG_ModeParams_t g_KB_VtgModeParams;
- extern STVTG_TimingMode_t g_KB_VtgTimingMode;
- /* Exported Macros ----------------------------------------------------- */
- #define KB_VTG_DEVICE_TYPE STVTG_DEVICE_TYPE_VFE2
- #define KB_VTG_DEVICE_BASE_ADDRESS 0
- #define KB_VTG_INTERRUPT_LEVEL 0
- #ifndef KB_VTG_BASE_ADDRESS
- #define KB_VTG_BASE_ADDRESS ST5105_VTG_BASE_ADDRESS
- #endif
- #ifndef KB_VTG_INTERRUPT_NUMBER
- #define KB_VTG_INTERRUPT_NUMBER ST5105_VTG_VSYNC_INTERRUPT
- #endif
- /* Exported Functions -------------------------------------------------- */
- ST_ErrorCode_t KB_VtgSetup(KB_ServiceDisplay SERVICE_Display);
- ST_ErrorCode_t KB_VtgGetMode(void);
- ST_ErrorCode_t KB_VtgSetMode(STDENC_Mode_t STDENC_Mode);
- #endif /* __VTG_H */
- /* EOF --------------------------------------------------------------------- */