.

Fork of WIZnet_Library by WIZnet

Committer:
Bongjun
Date:
Sun May 31 10:25:40 2015 +0000
Revision:
9:cb8808b47e69
Parent:
0:b72d22e10709
fix some codes of reading Sn_RX_RSR, Sn_TX_FSR in W5100.cpp, W5200.cpp; added is_fin_received()  in W5100, W5200 files

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jbkim 0:b72d22e10709 1 /* Copyright (C) 2012 mbed.org, MIT License
jbkim 0:b72d22e10709 2 *
jbkim 0:b72d22e10709 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
jbkim 0:b72d22e10709 4 * and associated documentation files (the "Software"), to deal in the Software without restriction,
jbkim 0:b72d22e10709 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
jbkim 0:b72d22e10709 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
jbkim 0:b72d22e10709 7 * furnished to do so, subject to the following conditions:
jbkim 0:b72d22e10709 8 *
jbkim 0:b72d22e10709 9 * The above copyright notice and this permission notice shall be included in all copies or
jbkim 0:b72d22e10709 10 * substantial portions of the Software.
jbkim 0:b72d22e10709 11 *
jbkim 0:b72d22e10709 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
jbkim 0:b72d22e10709 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
jbkim 0:b72d22e10709 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
jbkim 0:b72d22e10709 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
jbkim 0:b72d22e10709 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jbkim 0:b72d22e10709 17 *
jbkim 0:b72d22e10709 18 */
jbkim 0:b72d22e10709 19
jbkim 0:b72d22e10709 20 #pragma once
jbkim 0:b72d22e10709 21
jbkim 0:b72d22e10709 22 #include "mbed.h"
jbkim 0:b72d22e10709 23 #include "mbed_debug.h"
jbkim 0:b72d22e10709 24
jbkim 0:b72d22e10709 25 #define USE_W5500
jbkim 0:b72d22e10709 26 //#define USE_W5200
jbkim 0:b72d22e10709 27 //#define USE_W5100
jbkim 0:b72d22e10709 28
jbkim 0:b72d22e10709 29 #if defined(USE_W5500)
jbkim 0:b72d22e10709 30 #include "W5500.h"
jbkim 0:b72d22e10709 31
jbkim 0:b72d22e10709 32 //#define USE_WIZ550IO_MAC // using the MAC address stored in the WIZ550io
jbkim 0:b72d22e10709 33
jbkim 0:b72d22e10709 34 #endif
jbkim 0:b72d22e10709 35
jbkim 0:b72d22e10709 36 #if defined(USE_W5200)
jbkim 0:b72d22e10709 37 #include "W5200.h"
jbkim 0:b72d22e10709 38 #endif
jbkim 0:b72d22e10709 39
jbkim 0:b72d22e10709 40 #if defined(USE_W5100)
jbkim 0:b72d22e10709 41 #include "W5100.h"
jbkim 0:b72d22e10709 42
jbkim 0:b72d22e10709 43 #endif