Added W5100, W5200 drivers.
This commit is contained in:
@ -40,6 +40,7 @@
|
||||
|
||||
#include "w5100.h"
|
||||
|
||||
#if (_WIZCHIP_ == 5100)
|
||||
/**
|
||||
@brief This function writes the data into W5200 registers.
|
||||
*/
|
||||
@ -335,4 +336,4 @@ void wiz_recv_ignore(uint8_t sn, uint16_t len)
|
||||
setSn_RX_RD(sn,ptr);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -41,7 +41,9 @@
|
||||
#ifndef _W5100_H_
|
||||
#define _W5100_H_
|
||||
#include <stdint.h>
|
||||
#include "Ethernet/wizchip_conf.h"
|
||||
#include "wizchip_conf.h"
|
||||
|
||||
#if (_WIZCHIP_ == 5100)
|
||||
|
||||
#define _WIZCHIP_SN_BASE_ (0x0400)
|
||||
#define _WIZCHIP_SN_SIZE_ (0x0100)
|
||||
@ -1837,6 +1839,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 //_W5100_H_
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user