W5500 driver for mbed OS 5
Dependents: http-webserver-example mbed-os-example-sockets
Fork of W5500Interface by
WIZnet/wiznet.h@18:afec30f0922a, 2018-08-16 (annotated)
- Committer:
- Bongjun
- Date:
- Thu Aug 16 07:33:40 2018 +0000
- Revision:
- 18:afec30f0922a
- Parent:
- 0:77e050d1fb12
change spi frame bits : 32->8
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dgriffin65 | 0:77e050d1fb12 | 1 | |
dgriffin65 | 0:77e050d1fb12 | 2 | #pragma once |
dgriffin65 | 0:77e050d1fb12 | 3 | |
dgriffin65 | 0:77e050d1fb12 | 4 | //#include "mbed.h" |
dgriffin65 | 0:77e050d1fb12 | 5 | //#include "mbed_debug.h" |
dgriffin65 | 0:77e050d1fb12 | 6 | |
dgriffin65 | 0:77e050d1fb12 | 7 | #define USE_W5500 |
dgriffin65 | 0:77e050d1fb12 | 8 | //#define USE_W5200 // don't use this library |
dgriffin65 | 0:77e050d1fb12 | 9 | //#define USE_W5100 // don't use this library |
dgriffin65 | 0:77e050d1fb12 | 10 | |
dgriffin65 | 0:77e050d1fb12 | 11 | #if defined(USE_W5500) |
dgriffin65 | 0:77e050d1fb12 | 12 | #include "W5500.h" |
dgriffin65 | 0:77e050d1fb12 | 13 | //#define USE_WIZ550IO_MAC // want to use the default MAC address stored in the WIZ550io |
dgriffin65 | 0:77e050d1fb12 | 14 | #endif |
dgriffin65 | 0:77e050d1fb12 | 15 | |
dgriffin65 | 0:77e050d1fb12 | 16 | /* |
dgriffin65 | 0:77e050d1fb12 | 17 | // current library don't want to support old chips. |
dgriffin65 | 0:77e050d1fb12 | 18 | #if defined(USE_W5200) |
dgriffin65 | 0:77e050d1fb12 | 19 | #include "W5200.h" |
dgriffin65 | 0:77e050d1fb12 | 20 | #endif |
dgriffin65 | 0:77e050d1fb12 | 21 | |
dgriffin65 | 0:77e050d1fb12 | 22 | #if defined(USE_W5100) |
dgriffin65 | 0:77e050d1fb12 | 23 | #include "W5100.h" |
dgriffin65 | 0:77e050d1fb12 | 24 | #endif |
dgriffin65 | 0:77e050d1fb12 | 25 | */ |