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
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
/* ... */
#ifndef __MAIN_H
#define __MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stm32f4xx_hal.h"
#include "stm324x9i_eval.h"
#include "stm324x9i_eval_lcd.h"
#include "stm324x9i_eval_io.h"
Includes
#define USE_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 UDP_CLIENT_PORT (uint16_t) 7
#define IP_ADDR0 (uint8_t) 192
#define IP_ADDR1 (uint8_t) 168
#define IP_ADDR2 (uint8_t) 0
#define IP_ADDR3 (uint8_t) 10
#define NETMASK_ADDR0 (uint8_t) 255
#define NETMASK_ADDR1 (uint8_t) 255
#define NETMASK_ADDR2 (uint8_t) 255
#define NETMASK_ADDR3 (uint8_t) 0
#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
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif