wiz.h 720 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-09-26 chenyong first version
  9. */
  10. #ifndef __WIZ_H__
  11. #define __WIZ_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include <rtthread.h>
  16. #define WIZ_SW_VERSION "2.1.0"
  17. #define WIZ_SW_VERSION_NUM 0x020100
  18. #ifndef WIZ_SOCKETS_NUM
  19. #define WIZ_SOCKETS_NUM 8
  20. #endif
  21. #ifndef WIZ_RX_MBOX_NUM
  22. #define WIZ_RX_MBOX_NUM 10
  23. #endif
  24. /* WIZnet set chip MAC address */
  25. void wiz_user_config_mac(char *mac_buf, rt_uint8_t buf_len);
  26. /* WIZnet initialize device and network */
  27. int wiz_init(void);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* __WIZ_H__ */