已经完成了网络,DI口,RS485的数据透传,可通过RS485接收数据
This commit is contained in:
18
User/user_main/user_main.h
Normal file
18
User/user_main/user_main.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef __USER_MAIN_H__
|
||||
#define __USER_MAIN_H__
|
||||
|
||||
#include "wizchip_conf.h" // 加入這行以識別 wiz_NetInfo 型別
|
||||
|
||||
// 透過 extern 將網路配置參數暴露給 main.c 使用
|
||||
extern wiz_NetInfo default_net_info;
|
||||
#define SOCKET_ID 0
|
||||
#define ETHERNET_BUF_MAX_SIZE (1024 * 2)
|
||||
|
||||
/**
|
||||
* @brief User Run Program
|
||||
* @param none
|
||||
* @return none
|
||||
*/
|
||||
|
||||
void user_run(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user