/** ****************************************************************************** * @file LwIP/LwIP_UDP_Echo_Client/Inc/main.h * @author MCD Application Team * @brief Header for main.c module ****************************************************************************** * @attention * * Copyright (c) 2017 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. * ****************************************************************************** *//* ... *//* Define to prevent recursive inclusion -------------------------------------*/#ifndef__MAIN_H#define__MAIN_H#ifdef__cplusplusextern"C"{#endif/* Includes ------------------------------------------------------------------*/#include"stm32f4xx_hal.h"#include"stm32469i_eval.h"#include"stm32469i_eval_lcd.h"#include"stm32469i_eval_sdram.h"/* sdram for lcd DSI */#include"stm32469i_eval_io.h"5 includesIncludes/* Exported types ------------------------------------------------------------*//* Exported constants --------------------------------------------------------*/#defineUSE_LCD/* enable LCD */#defineDEST_IP_ADDR0(uint8_t)10#defineDEST_IP_ADDR1(uint8_t)157#defineDEST_IP_ADDR2(uint8_t)11#defineDEST_IP_ADDR3(uint8_t)162#defineUDP_SERVER_PORT(uint16_t)7/* define the UDP local connection port */#defineUDP_CLIENT_PORT(uint16_t)7/* define the UDP remote connection port *//*Static IP ADDRESS: IP_ADDR0.IP_ADDR1.IP_ADDR2.IP_ADDR3 */#defineIP_ADDR0(uint8_t)192#defineIP_ADDR1(uint8_t)168#defineIP_ADDR2(uint8_t)0#defineIP_ADDR3(uint8_t)10/*NETMASK*/#defineNETMASK_ADDR0(uint8_t)255#defineNETMASK_ADDR1(uint8_t)255#defineNETMASK_ADDR2(uint8_t)255#defineNETMASK_ADDR3(uint8_t)0/*Gateway Address*/#defineGW_ADDR0(uint8_t)192#defineGW_ADDR1(uint8_t)168#defineGW_ADDR2(uint8_t)0#defineGW_ADDR3(uint8_t)119 definesExported constants/* Exported macro ------------------------------------------------------------*//* Exported functions ------------------------------------------------------- */#ifdef__cplusplus}extern "C" { ... }#endif/* ... */#endif/* __MAIN_H */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.