You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

12 months ago
  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. /* USER CODE END 0 */
  28. /* Exported functions ------------------------------------------------------- */
  29. err_t ethernetif_init(struct netif *netif);
  30. void ethernet_link_thread(void const * argument);
  31. void Error_Handler(void);
  32. u32_t sys_jiffies(void);
  33. u32_t sys_now(void);
  34. /* USER CODE BEGIN 1 */
  35. /* USER CODE END 1 */
  36. #endif