|
|
|
@ -248,6 +248,11 @@
|
|
|
|
|
/*********************************************************
|
|
|
|
|
* iinchip access function
|
|
|
|
|
*********************************************************/
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
extern uint8 IINCHIP_READ(uint16 addr);
|
|
|
|
|
extern uint8 IINCHIP_WRITE(uint16 addr,uint8 data);
|
|
|
|
|
extern uint16 wiz_read_buf(uint16 addr, uint8* buf,uint16 len);
|
|
|
|
@ -300,4 +305,8 @@ extern void recv_data_processing(SOCKET s, uint8 *data, uint16 len);
|
|
|
|
|
extern void read_data(SOCKET s, vuint8 * src, vuint8 * dst, uint16 len);
|
|
|
|
|
extern void write_data(SOCKET s, vuint8 * src, vuint8 * dst, uint16 len);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} // extern "C"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|