This is GR_PEACH_WlanBP3595 class library. The base library is EthernetInterface.
Dependents: GR-PEACH_WlanBP3595AP GR-PEACH_WlanBP3595STA
wifi_arch.h@0:41941ba775eb, 2016-05-24 (annotated)
- Committer:
- tousaki
- Date:
- Tue May 24 10:17:15 2016 +0000
- Revision:
- 0:41941ba775eb
Created 1st version.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tousaki | 0:41941ba775eb | 1 | /* wifi_arch.h */ |
tousaki | 0:41941ba775eb | 2 | /* Copyright (C) 2016 Grape Systems, Inc. */ |
tousaki | 0:41941ba775eb | 3 | /* The base file is eth_arch.h. */ |
tousaki | 0:41941ba775eb | 4 | |
tousaki | 0:41941ba775eb | 5 | /* eth_arch.h */ |
tousaki | 0:41941ba775eb | 6 | /* Copyright (C) 2012 mbed.org, MIT License |
tousaki | 0:41941ba775eb | 7 | * |
tousaki | 0:41941ba775eb | 8 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
tousaki | 0:41941ba775eb | 9 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
tousaki | 0:41941ba775eb | 10 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
tousaki | 0:41941ba775eb | 11 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
tousaki | 0:41941ba775eb | 12 | * furnished to do so, subject to the following conditions: |
tousaki | 0:41941ba775eb | 13 | * |
tousaki | 0:41941ba775eb | 14 | * The above copyright notice and this permission notice shall be included in all copies or |
tousaki | 0:41941ba775eb | 15 | * substantial portions of the Software. |
tousaki | 0:41941ba775eb | 16 | * |
tousaki | 0:41941ba775eb | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
tousaki | 0:41941ba775eb | 18 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
tousaki | 0:41941ba775eb | 19 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
tousaki | 0:41941ba775eb | 20 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
tousaki | 0:41941ba775eb | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
tousaki | 0:41941ba775eb | 22 | */ |
tousaki | 0:41941ba775eb | 23 | |
tousaki | 0:41941ba775eb | 24 | // Architecture specific WiFi interface |
tousaki | 0:41941ba775eb | 25 | // Must be implemented by each target |
tousaki | 0:41941ba775eb | 26 | |
tousaki | 0:41941ba775eb | 27 | #ifndef WIFIARCH_H_ |
tousaki | 0:41941ba775eb | 28 | #define WIFIARCH_H_ |
tousaki | 0:41941ba775eb | 29 | |
tousaki | 0:41941ba775eb | 30 | #include "lwip/netif.h" |
tousaki | 0:41941ba775eb | 31 | |
tousaki | 0:41941ba775eb | 32 | #ifdef __cplusplus |
tousaki | 0:41941ba775eb | 33 | extern "C" { |
tousaki | 0:41941ba775eb | 34 | #endif |
tousaki | 0:41941ba775eb | 35 | void wifi_arch_enable_interrupts(void); |
tousaki | 0:41941ba775eb | 36 | void wifi_arch_disable_interrupts(void); |
tousaki | 0:41941ba775eb | 37 | err_t wifi_arch_enetif_init(struct netif *netif); |
tousaki | 0:41941ba775eb | 38 | |
tousaki | 0:41941ba775eb | 39 | #ifdef __cplusplus |
tousaki | 0:41941ba775eb | 40 | } |
tousaki | 0:41941ba775eb | 41 | #endif |
tousaki | 0:41941ba775eb | 42 | |
tousaki | 0:41941ba775eb | 43 | #endif // #ifndef WIFIARCH_H_ |
tousaki | 0:41941ba775eb | 44 |