1 /******************************************************************************
2 ** File Name: gpio_drv.h *
3 ** Author: Xueppeng.Zhang *
5 ** Copyright: 2002 Spreatrum, Incoporated. All Rights Reserved. *
6 ** Description: This is temporarily file for old interfaces of GPIO device*
7 ******************************************************************************
9 ******************************************************************************
11 ** ------------------------------------------------------------------------- *
12 ** DATE NAME DESCRIPTION *
13 ** 06/12/2010 Xuepeng.Zhang Create. *
14 ******************************************************************************/
23 // mocor\ms_code\ms_customize\source\product\driver\gpio\Gpio_prod.c
24 // mocor\ms_code\ms_customize\source\product\driver\ubot\isp1183\cfg\Hal4sys.c
26 #define HAL_AddGPIOToCallbackTable GPIO_AddCallbackToIntTable
27 #define HAL_GetGPIOVal GPIO_GetValue
28 #define HAL_SetGPIOVal GPIO_SetValue
29 #define HAL_SetGPIOInterruptSense GPIO_SetInterruptSense
31 #define HAL_SetGPIODirection GPIO_SetDirection
33 // mocor\ms_code\ms_customize\source\product\driver\gpio\Gpio_ext_drv.c
34 // mocor\ms_code\ms_customize\source\product\driver\gpio\Gpio_prod.c
36 #define HAL_EnableGPIOIntCtl GPIO_EnableIntCtl
37 #define HAL_DisableGPIOIntCtl GPIO_DisableIntCtl
39 #include "gpio_drvapi.h"
40 #endif // _GPIO_DRV_H_