This is LWIPBP3595Interface class library. The base library is LWIPInterface.

Dependents:   LWIPBP3595Interface_STA

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers wifi_arch.h Source File

wifi_arch.h

00001 /* wifi_arch.h */
00002 /* Copyright (C) 2016 Grape Systems, Inc. */
00003 /* The base file is eth_arch.h. */
00004 
00005 /* eth_arch.h */
00006 /* Copyright (C) 2012 mbed.org, MIT License
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
00009  * and associated documentation files (the "Software"), to deal in the Software without restriction,
00010  * including without limitation the rights to use, copy, modify, merge, publish, distribute,
00011  * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
00012  * furnished to do so, subject to the following conditions:
00013  *
00014  * The above copyright notice and this permission notice shall be included in all copies or
00015  * substantial portions of the Software.
00016  *
00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
00018  * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00019  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
00020  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00021  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00022  */
00023 
00024 // Architecture specific WiFi interface
00025 // Must be implemented by each target
00026 
00027 #ifndef WIFIARCH_H_
00028 #define WIFIARCH_H_
00029 
00030 #include "lwip/netif.h"
00031 
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035 void wifi_arch_enable_interrupts(void);
00036 void wifi_arch_disable_interrupts(void);
00037 err_t wifi_arch_enetif_init(struct netif *netif);
00038 
00039 #ifdef __cplusplus
00040 }
00041 #endif
00042 
00043 #endif // #ifndef WIFIARCH_H_
00044