Added W5100, W5200 drivers.

This commit is contained in:
Jim Jun
2015-04-06 13:27:41 +09:00
parent fc3430b71a
commit 19ae79ee07
7 changed files with 21 additions and 5 deletions

View File

@ -59,6 +59,7 @@
#define _W5500_SPI_FDM_OP_LEN2_ 0x02
#define _W5500_SPI_FDM_OP_LEN4_ 0x03
#if (_WIZCHIP_ == 5500)
////////////////////////////////////////////////////
uint8_t WIZCHIP_READ(uint32_t AddrSel)
@ -263,3 +264,4 @@ void wiz_recv_ignore(uint8_t sn, uint16_t len)
setSn_RX_RD(sn,ptr);
}
#endif

View File

@ -51,6 +51,8 @@
#include <stdint.h>
#include "wizchip_conf.h"
#if (_WIZCHIP_ == 5500)
#define _W5500_IO_BASE_ 0x00000000
#define _W5500_SPI_READ_ (0x00 << 2) //< SPI interface Read operation in Control Phase
@ -2144,4 +2146,6 @@ void wiz_recv_data(uint8_t sn, uint8_t *wizdata, uint16_t len);
*/
void wiz_recv_ignore(uint8_t sn, uint16_t len);
#endif
#endif // _W5500_H_