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

@ -40,6 +40,7 @@
#include "w5200.h"
#if (_WIZCHIP_ == 5200)
/**
@brief This function writes the data into W5200 registers.
*/
@ -323,4 +324,4 @@ void wiz_recv_ignore(uint8_t sn, uint16_t len)
setSn_RX_RD(sn,ptr);
}
#endif

View File

@ -41,7 +41,9 @@
#ifndef _W5200_H
#define _W5200_H
#include <stdint.h>
#include "Ethernet/wizchip_conf.h"
#include "wizchip_conf.h"
#if (_WIZCHIP_ == 5200)
#define _WIZCHIP_SN_BASE_ (0x4000)
#define _WIZCHIP_SN_SIZE_ (0x0100)
@ -2044,6 +2046,8 @@ 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 //_W5200_H_