Web server based weather station using Sparkfun Weather Meters.
Dependencies: FatFileSystem mbed WeatherMeters SDFileSystem
NetStack/drv/eth/eth_drv.h@0:616601bde9fb, 2012-02-23 (annotated)
- Committer:
- AdamGreen
- Date:
- Thu Feb 23 21:38:39 2012 +0000
- Revision:
- 0:616601bde9fb
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AdamGreen | 0:616601bde9fb | 1 | |
AdamGreen | 0:616601bde9fb | 2 | /* |
AdamGreen | 0:616601bde9fb | 3 | Copyright (c) 2010 Donatien Garnier (donatiengar [at] gmail [dot] com) |
AdamGreen | 0:616601bde9fb | 4 | |
AdamGreen | 0:616601bde9fb | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy |
AdamGreen | 0:616601bde9fb | 6 | of this software and associated documentation files (the "Software"), to deal |
AdamGreen | 0:616601bde9fb | 7 | in the Software without restriction, including without limitation the rights |
AdamGreen | 0:616601bde9fb | 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
AdamGreen | 0:616601bde9fb | 9 | copies of the Software, and to permit persons to whom the Software is |
AdamGreen | 0:616601bde9fb | 10 | furnished to do so, subject to the following conditions: |
AdamGreen | 0:616601bde9fb | 11 | |
AdamGreen | 0:616601bde9fb | 12 | The above copyright notice and this permission notice shall be included in |
AdamGreen | 0:616601bde9fb | 13 | all copies or substantial portions of the Software. |
AdamGreen | 0:616601bde9fb | 14 | |
AdamGreen | 0:616601bde9fb | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
AdamGreen | 0:616601bde9fb | 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
AdamGreen | 0:616601bde9fb | 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
AdamGreen | 0:616601bde9fb | 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
AdamGreen | 0:616601bde9fb | 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
AdamGreen | 0:616601bde9fb | 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
AdamGreen | 0:616601bde9fb | 21 | THE SOFTWARE. |
AdamGreen | 0:616601bde9fb | 22 | */ |
AdamGreen | 0:616601bde9fb | 23 | |
AdamGreen | 0:616601bde9fb | 24 | #ifndef ETHDRV_H |
AdamGreen | 0:616601bde9fb | 25 | #define ETHDRV_H |
AdamGreen | 0:616601bde9fb | 26 | |
AdamGreen | 0:616601bde9fb | 27 | #ifdef __cplusplus |
AdamGreen | 0:616601bde9fb | 28 | extern "C" { |
AdamGreen | 0:616601bde9fb | 29 | #endif |
AdamGreen | 0:616601bde9fb | 30 | |
AdamGreen | 0:616601bde9fb | 31 | int eth_poll(); |
AdamGreen | 0:616601bde9fb | 32 | err_t eth_init(struct netif* netif); |
AdamGreen | 0:616601bde9fb | 33 | void eth_address(char* mac); |
AdamGreen | 0:616601bde9fb | 34 | void eth_free(); |
AdamGreen | 0:616601bde9fb | 35 | Ethernet* eth_interface(); |
AdamGreen | 0:616601bde9fb | 36 | |
AdamGreen | 0:616601bde9fb | 37 | #ifdef __cplusplus |
AdamGreen | 0:616601bde9fb | 38 | }; |
AdamGreen | 0:616601bde9fb | 39 | #endif |
AdamGreen | 0:616601bde9fb | 40 | |
AdamGreen | 0:616601bde9fb | 41 | #endif |