Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
Includes
#include "stm32f4xx_hal.h"
#include "stm324x9i_eval.h"
#include "stm324x9i_eval_lcd.h"
#include "stm324x9i_eval_io.h"
Exported constants
#define USE_LCD
#define DEST_IP_ADDR0
#define DEST_IP_ADDR1
#define DEST_IP_ADDR2
#define DEST_IP_ADDR3
#define UDP_SERVER_PORT
#define UDP_CLIENT_PORT
#define IP_ADDR0
#define IP_ADDR1
#define IP_ADDR2
#define IP_ADDR3
#define NETMASK_ADDR0
#define NETMASK_ADDR1
#define NETMASK_ADDR2
#define NETMASK_ADDR3
#define GW_ADDR0
#define GW_ADDR1
#define GW_ADDR2
#define GW_ADDR3
Files
loading...
SourceVuSTM32 Libraries and SamplesLwIP_UDP_Echo_ClientInc/main.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @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 __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h" #include "stm324x9i_eval.h" #include "stm324x9i_eval_lcd.h" #include "stm324x9i_eval_io.h" Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ #define USE_LCD /* enable LCD */ #define DEST_IP_ADDR0 (uint8_t) 10 #define DEST_IP_ADDR1 (uint8_t) 157 #define DEST_IP_ADDR2 (uint8_t) 11 #define DEST_IP_ADDR3 (uint8_t) 162 #define UDP_SERVER_PORT (uint16_t) 7 /* define the UDP local connection port */ #define UDP_CLIENT_PORT (uint16_t) 7 /* define the UDP remote connection port */ /*Static IP ADDRESS: IP_ADDR0.IP_ADDR1.IP_ADDR2.IP_ADDR3 */ #define IP_ADDR0 (uint8_t) 192 #define IP_ADDR1 (uint8_t) 168 #define IP_ADDR2 (uint8_t) 0 #define IP_ADDR3 (uint8_t) 10 /*NETMASK*/ #define NETMASK_ADDR0 (uint8_t) 255 #define NETMASK_ADDR1 (uint8_t) 255 #define NETMASK_ADDR2 (uint8_t) 255 #define NETMASK_ADDR3 (uint8_t) 0 /*Gateway Address*/ #define GW_ADDR0 (uint8_t) 192 #define GW_ADDR1 (uint8_t) 168 #define GW_ADDR2 (uint8_t) 0 #define GW_ADDR3 (uint8_t) 1 19 defines Exported constants/* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /* __MAIN_H */
Details
Show:
from
Types: Columns: