Added W5100, W5200 drivers.
This commit is contained in:
@ -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
|
||||
|
@ -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_
|
||||
|
Reference in New Issue
Block a user