Path: blob/master/ALFA-W1F1/RTL8814AU/include/custom_gpio.h
1307 views
/******************************************************************************1*2* Copyright(c) 2016 - 2017 Realtek Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms of version 2 of the GNU General Public License as6* published by the Free Software Foundation.7*8* This program is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13*****************************************************************************/14#ifndef __CUSTOM_GPIO_H__15#define __CUSTOM_GPIO_H___1617#include <drv_conf.h>18#include <osdep_service.h>1920typedef enum cust_gpio_modes {21WLAN_PWDN_ON,22WLAN_PWDN_OFF,23WLAN_POWER_ON,24WLAN_POWER_OFF,25WLAN_BT_PWDN_ON,26WLAN_BT_PWDN_OFF27} cust_gpio_modes_t;2829extern int rtw_wifi_gpio_init(void);30extern int rtw_wifi_gpio_deinit(void);31extern void rtw_wifi_gpio_wlan_ctrl(int onoff);3233#endif343536