Last change
on this file since 76 was
76,
checked in by Zed, 3 months ago
|
Fixing project before changing NSS control for SPI2 in CubeMX.
|
File size:
1.4 KB
|
Line | |
---|
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) 2025 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 | |
---|
21 | #ifndef __ETHERNETIF_H__ |
---|
22 | #define __ETHERNETIF_H__ |
---|
23 | |
---|
24 | #include "lwip/err.h" |
---|
25 | #include "lwip/netif.h" |
---|
26 | #include "cmsis_os.h" |
---|
27 | |
---|
28 | /* Within 'USER CODE' section, code will be kept by default at each generation */ |
---|
29 | /* USER CODE BEGIN 0 */ |
---|
30 | |
---|
31 | /* USER CODE END 0 */ |
---|
32 | |
---|
33 | /* Exported functions ------------------------------------------------------- */ |
---|
34 | err_t ethernetif_init(struct netif *netif); |
---|
35 | |
---|
36 | void ethernetif_input(void* argument); |
---|
37 | void ethernet_link_thread(void* argument ); |
---|
38 | |
---|
39 | void Error_Handler(void); |
---|
40 | u32_t sys_jiffies(void); |
---|
41 | u32_t sys_now(void); |
---|
42 | |
---|
43 | /* USER CODE BEGIN 1 */ |
---|
44 | |
---|
45 | /* USER CODE END 1 */ |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.