Vehicle Control Unit
0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Core
Inc
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
/* Skip STM32 HAL includes if STM32_HAL_DISABLED is defined */
36
#include "
stm32f7xx_hal.h
"
37
38
39
/* USER CODE END Includes */
40
41
/* Exported types ------------------------------------------------------------*/
42
/* USER CODE BEGIN ET */
43
44
/* USER CODE END ET */
45
46
/* Exported constants --------------------------------------------------------*/
47
/* USER CODE BEGIN EC */
48
49
/* USER CODE END EC */
50
51
/* Exported macro ------------------------------------------------------------*/
52
/* USER CODE BEGIN EM */
53
54
/* USER CODE END EM */
55
56
/* Exported functions prototypes ---------------------------------------------*/
57
void
Error_Handler
(
void
);
58
59
/* USER CODE BEGIN EFP */
60
61
/* USER CODE END EFP */
62
63
/* Private defines -----------------------------------------------------------*/
64
#define USER_Btn_Pin GPIO_PIN_13
65
#define USER_Btn_GPIO_Port GPIOC
66
#define MCO_Pin GPIO_PIN_0
67
#define MCO_GPIO_Port GPIOH
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 USB_OverCurrent_Pin GPIO_PIN_7
73
#define USB_OverCurrent_GPIO_Port GPIOG
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:1496
stm32f7xx_hal.h
Generated by
1.9.5