2016-03-27 17:56:02 +00:00
|
|
|
#ifndef __CUSTOM_GPIO_H__
|
|
|
|
#define __CUSTOM_GPIO_H___
|
|
|
|
|
|
|
|
#include <drv_conf.h>
|
|
|
|
#include <osdep_service.h>
|
|
|
|
|
|
|
|
#ifdef PLATFORM_OS_XP
|
2017-04-07 11:39:45 +00:00
|
|
|
#include <drv_types_xp.h>
|
2016-03-27 17:56:02 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PLATFORM_OS_CE
|
2017-04-07 11:39:45 +00:00
|
|
|
#include <drv_types_ce.h>
|
2016-03-27 17:56:02 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PLATFORM_LINUX
|
2017-04-07 11:39:45 +00:00
|
|
|
#include <drv_types_linux.h>
|
2016-03-27 17:56:02 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef enum cust_gpio_modes {
|
|
|
|
WLAN_PWDN_ON,
|
|
|
|
WLAN_PWDN_OFF,
|
|
|
|
WLAN_POWER_ON,
|
|
|
|
WLAN_POWER_OFF,
|
|
|
|
WLAN_BT_PWDN_ON,
|
|
|
|
WLAN_BT_PWDN_OFF
|
|
|
|
} cust_gpio_modes_t;
|
|
|
|
|
|
|
|
extern int rtw_wifi_gpio_init(void);
|
|
|
|
extern int rtw_wifi_gpio_deinit(void);
|
|
|
|
extern void rtw_wifi_gpio_wlan_ctrl(int onoff);
|
|
|
|
|
|
|
|
#endif
|