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
32
37
42
47
52
59
60
61
62
63
64
65
66
67
68
69
/* ... */
#ifndef __MAIN_H
#define __MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stm32f4xx_hal.h"
Includes
#include "stm32f4xx_nucleo.h"
Private includes
Exported types
Exported constants
#define COUNTOF(__BUFFER__) (sizeof(__BUFFER__) / sizeof(*(__BUFFER__)))
Exported macro
void Error_Handler(void);
Exported functions prototypes
#define RX_BUFFER_SIZE 20
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif