Dependencies:   FatFileSystem mbed WeatherMeters SDFileSystem

Committer:
dcoban
Date:
Tue Apr 03 18:43:13 2012 +0000
Revision:
0:1a61c61d0845

        

Who changed what in which revision?

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