mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-14 16:49:26 +08:00
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/* USER CODE BEGIN Header */
|
|
/**
|
|
******************************************************************************
|
|
* File Name : ethernetif.h
|
|
* Description : This file provides initialization code for LWIP
|
|
* middleWare.
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2023 STMicroelectronics.
|
|
* All rights reserved.
|
|
*
|
|
* This software is licensed under terms that can be found in the LICENSE file
|
|
* in the root directory of this software component.
|
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
/* USER CODE END Header */
|
|
|
|
#ifndef __ETHERNETIF_H__
|
|
#define __ETHERNETIF_H__
|
|
|
|
#include "lwip/err.h"
|
|
#include "lwip/netif.h"
|
|
#include "cmsis_os.h"
|
|
|
|
/* Within 'USER CODE' section, code will be kept by default at each generation */
|
|
/* USER CODE BEGIN 0 */
|
|
|
|
/* USER CODE END 0 */
|
|
|
|
/* Exported functions ------------------------------------------------------- */
|
|
err_t ethernetif_init(struct netif *netif);
|
|
|
|
void ethernet_link_thread(void const * argument);
|
|
|
|
void Error_Handler(void);
|
|
u32_t sys_jiffies(void);
|
|
u32_t sys_now(void);
|
|
|
|
/* USER CODE BEGIN 1 */
|
|
|
|
/* USER CODE END 1 */
|
|
#endif
|