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