denc.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- /*****************************************************************************
- File Name: denc.h
- Description: 5100 DENC header
- COPYRIGHT (C) 2004 STMicroelectronics
- *****************************************************************************/
- /* Define to prevent recursive inclusion */
- #ifndef __DENC_H
- #define __DENC_H
- /* Includes --------------------------------------------------------------- */
- #include "stddefs.h" /* STAPI includes */
- #include "stdenc.h"
- #include "service.h"
- /* Exported Types ------------------------------------------------------ */
- /* Exported Constants -------------------------------------------------- */
- /* Exported Variables -------------------------------------------------- */
- extern ST_DeviceName_t g_KB_DENCDeviceName;
- /* Exported Macros ----------------------------------------------------- */
- #define DENC_DEVICE_TYPE STDENC_DEVICE_TYPE_V13
- #define DENC_ACCESS_TYPE STDENC_ACCESS_TYPE_EMI
- #define DENC_DEVICE_BASE_ADDRESS ((void*) NULL)
- #ifndef DENC_BASE_ADDRESS
- #define DENC_BASE_ADDRESS ((void*) ST5100_DENC_BASE_ADDRESS)
- #endif
- #define DENC_EMI_ACCESS_WIDTH STDENC_EMI_ACCESS_WIDTH_32_BITS
- /* Exported Functions -------------------------------------------------- */
- ST_ErrorCode_t KB_DENCSetup(KB_ServiceDisplay SERVICE_Display);
- ST_ErrorCode_t KB_DENCSetMode( STDENC_Mode_t Mode );
- #endif /* __DENC_H */
- /* EOF --------------------------------------------------------------------- */