BME280 Driver
2.0.x
Driver for BME280 sensor
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 "stm32f7xx_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 */
56
57
/* USER CODE END EFP */
58
59
/* Private defines -----------------------------------------------------------*/
60
#define USER_Btn_Pin GPIO_PIN_13
61
#define USER_Btn_GPIO_Port GPIOC
62
#define MCO_Pin GPIO_PIN_0
63
#define MCO_GPIO_Port GPIOH
64
#define LD1_Pin GPIO_PIN_0
65
#define LD1_GPIO_Port GPIOB
66
#define LD3_Pin GPIO_PIN_14
67
#define LD3_GPIO_Port GPIOB
68
#define STLK_RX_Pin GPIO_PIN_8
69
#define STLK_RX_GPIO_Port GPIOD
70
#define STLK_TX_Pin GPIO_PIN_9
71
#define STLK_TX_GPIO_Port GPIOD
72
#define BME280_NCS_Pin GPIO_PIN_14
73
#define BME280_NCS_GPIO_Port GPIOD
74
#define TMS_Pin GPIO_PIN_13
75
#define TMS_GPIO_Port GPIOA
76
#define TCK_Pin GPIO_PIN_14
77
#define TCK_GPIO_Port GPIOA
78
#define LD2_Pin GPIO_PIN_7
79
#define LD2_GPIO_Port GPIOB
80
81
/* USER CODE BEGIN Private defines */
82
83
/* USER CODE END Private defines */
84
85
#ifdef __cplusplus
86
}
87
#endif
88
89
#endif
/* __MAIN_H */
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition
main.c:251
Examples
STM32
HAL_I2C_NormalMode
Inc
main.h
Generated by
1.9.7