Proyecto Final – Medición de Inclinación
0.0.1
Este proyecto utiliza la placa NUCLEO-STM32F446RE y permite detectar y visualizar en tiempo real la inclinación mediante el sensor MPU-6050.
Cargando...
Buscando...
Nada coincide
main.h
Ir a la documentación de este archivo.
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
#include "cmsis_os.h"
32
#include "dev_i2cs_api.h"
33
#include "
dev_i2cm.h
"
34
#include "dev_usart.h"
35
#include "dev_gpio.h"
36
#include "sys_dbg_api.h"
37
#include "
dev_uart.h
"
38
#include "sys_sm.h"
39
#include <stdbool.h>
40
41
/* Private includes ----------------------------------------------------------*/
42
/* USER CODE BEGIN Includes */
43
44
/* USER CODE END Includes */
45
46
/* Exported types ------------------------------------------------------------*/
47
/* USER CODE BEGIN ET */
48
49
/* USER CODE END ET */
50
51
/* Exported constants --------------------------------------------------------*/
52
/* USER CODE BEGIN EC */
53
54
/* USER CODE END EC */
55
56
/* Exported macro ------------------------------------------------------------*/
57
/* USER CODE BEGIN EM */
58
59
/* USER CODE END EM */
60
61
/* Exported functions prototypes ---------------------------------------------*/
62
void
Error_Handler
(
void
);
63
64
/* USER CODE BEGIN EFP */
65
66
/* USER CODE END EFP */
67
68
/* Private defines -----------------------------------------------------------*/
69
70
/* USER CODE BEGIN Private defines */
71
72
/* USER CODE END Private defines */
73
74
#ifdef __cplusplus
75
}
76
#endif
77
78
#endif
/* __MAIN_H */
dev_i2cm.h
Capa de I2C Master (HAL) para STM32.
dev_uart.h
This file contains all the function prototypes for the usart.c file.
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition
main.c:137
fw
app
mcu
inc
main.h
Generado por
1.14.0