ethernetif.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * File Name : ethernetif.h
  5. * Description : This file provides initialization code for LWIP
  6. * middleWare.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * Copyright (c) 2024 STMicroelectronics.
  11. * All rights reserved.
  12. *
  13. * This software is licensed under terms that can be found in the LICENSE file
  14. * in the root directory of this software component.
  15. * If no LICENSE file comes with this software, it is provided AS-IS.
  16. *
  17. ******************************************************************************
  18. */
  19. /* USER CODE END Header */
  20. #ifndef __ETHERNETIF_H__
  21. #define __ETHERNETIF_H__
  22. #include "lwip/err.h"
  23. #include "lwip/netif.h"
  24. #include "cmsis_os.h"
  25. /* Within 'USER CODE' section, code will be kept by default at each generation */
  26. /* USER CODE BEGIN 0 */
  27. #include "node-red-config.h"
  28. /* USER CODE END 0 */
  29. /* Exported functions ------------------------------------------------------- */
  30. err_t ethernetif_init(struct netif *netif);
  31. void ethernetif_input(void* argument);
  32. void ethernet_link_thread(void* argument );
  33. void ethernetif_notify_conn_changed(struct netif *netif);
  34. void Error_Handler(void);
  35. u32_t sys_jiffies(void);
  36. u32_t sys_now(void);
  37. /* USER CODE BEGIN 1 */
  38. /* USER CODE END 1 */
  39. #endif