F439_CPP_MPL3115A2_Project_01
1.0
STM32F439 MPL3115A2 pressure and temperature tutorial
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
/* USER CODE BEGIN Header */
19
/* USER CODE END Header */
20
21
/* Define to prevent recursive inclusion -------------------------------------*/
22
#ifndef __MAIN_H
23
#define __MAIN_H
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
/* Includes ------------------------------------------------------------------*/
30
#include "stm32f4xx_hal.h"
31
32
/* Private includes ----------------------------------------------------------*/
33
/* USER CODE BEGIN Includes */
34
35
/* USER CODE END Includes */
36
37
/* Exported types ------------------------------------------------------------*/
38
/* USER CODE BEGIN ET */
39
40
/* USER CODE END ET */
41
42
/* Exported constants --------------------------------------------------------*/
43
/* USER CODE BEGIN EC */
44
45
/* USER CODE END EC */
46
47
/* Exported macro ------------------------------------------------------------*/
48
/* USER CODE BEGIN EM */
49
50
/* USER CODE END EM */
51
52
/* Exported functions prototypes ---------------------------------------------*/
53
void
Error_Handler
(
void
);
54
55
/* USER CODE BEGIN EFP */
59
void
reset_I2C
(
void
);
60
/* USER CODE END EFP */
61
62
/* Private defines -----------------------------------------------------------*/
63
64
/* USER CODE BEGIN Private defines */
66
#define REDIRECT_PRINTF
67
/* USER CODE END Private defines */
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
#endif
/* __MAIN_H */
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition
main.c:416
reset_I2C
void reset_I2C(void)
Recover and reinitialize the I2C1 bus.
Definition
main.c:97
Core
Inc
main.h
Generated by
1.10.0