Library for ethernet
Dependents: VC0706_FTP_Client_Ethernet_MQTT
Fork of WIZnetInterface by
eth_arch.h@3:f8c6efc8bf83, 2015-06-15 (annotated)
- Committer:
- embeddist
- Date:
- Mon Jun 15 12:55:19 2015 +0000
- Revision:
- 3:f8c6efc8bf83
- Parent:
- 0:6f28332c466f
- Child:
- 7:da6fcec0f3fe
on debugging: fixed some bugs
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Soohwan Kim |
0:6f28332c466f | 1 | /* Copyright (C) 2012 mbed.org, MIT License |
Soohwan Kim |
0:6f28332c466f | 2 | * |
Soohwan Kim |
0:6f28332c466f | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
Soohwan Kim |
0:6f28332c466f | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
Soohwan Kim |
0:6f28332c466f | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
Soohwan Kim |
0:6f28332c466f | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
Soohwan Kim |
0:6f28332c466f | 7 | * furnished to do so, subject to the following conditions: |
Soohwan Kim |
0:6f28332c466f | 8 | * |
Soohwan Kim |
0:6f28332c466f | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
Soohwan Kim |
0:6f28332c466f | 10 | * substantial portions of the Software. |
Soohwan Kim |
0:6f28332c466f | 11 | * |
Soohwan Kim |
0:6f28332c466f | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
Soohwan Kim |
0:6f28332c466f | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
Soohwan Kim |
0:6f28332c466f | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
Soohwan Kim |
0:6f28332c466f | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
Soohwan Kim |
0:6f28332c466f | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Soohwan Kim |
0:6f28332c466f | 17 | * |
Soohwan Kim |
0:6f28332c466f | 18 | */ |
embeddist | 3:f8c6efc8bf83 | 19 | |
Soohwan Kim |
0:6f28332c466f | 20 | #pragma once |
Soohwan Kim |
0:6f28332c466f | 21 | |
embeddist | 3:f8c6efc8bf83 | 22 | //#define USE_W7500 // used WIZwiki_W7500 |
embeddist | 3:f8c6efc8bf83 | 23 | #define USE_W5500 // used W5500 Ethernet Shield & WIZ550io |
embeddist | 3:f8c6efc8bf83 | 24 | |
Soohwan Kim |
0:6f28332c466f | 25 | |
embeddist | 3:f8c6efc8bf83 | 26 | #if defined(USE_W5500) |
embeddist | 3:f8c6efc8bf83 | 27 | #include "W5500.h" |
embeddist | 3:f8c6efc8bf83 | 28 | //#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io |
embeddist | 3:f8c6efc8bf83 | 29 | #endif |
Soohwan Kim |
0:6f28332c466f | 30 | |
Soohwan Kim |
0:6f28332c466f | 31 | #if defined(USE_W7500) |
Soohwan Kim |
0:6f28332c466f | 32 | #include "W7500x_toe.h" |
Soohwan Kim |
0:6f28332c466f | 33 | #define __DEF_USED_IC101AG__ //For using IC+101AG@WIZwiki-W7500 |
Soohwan Kim |
0:6f28332c466f | 34 | #endif |
Soohwan Kim |
0:6f28332c466f | 35 | |
Soohwan Kim |
0:6f28332c466f | 36 | |
embeddist | 3:f8c6efc8bf83 | 37 |