cantata
test
STM32TestProject
Core
Inc
main.h
Go to the documentation of this file.
1
/* USER CODE BEGIN Header */
20
/* USER CODE END Header */
21
22
/* Define to prevent recursive inclusion -------------------------------------*/
23
#ifndef __MAIN_H
24
#define __MAIN_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
/* Includes ------------------------------------------------------------------*/
31
#include "
stm32f1xx_hal.h
"
32
33
/* Private includes ----------------------------------------------------------*/
34
/* USER CODE BEGIN Includes */
35
#include "cantataCAN1.h"
36
#include "STM32CANCallbacks.h"
37
/* USER CODE END Includes */
38
39
/* Exported types ------------------------------------------------------------*/
40
/* USER CODE BEGIN ET */
41
42
/* USER CODE END ET */
43
44
/* Exported constants --------------------------------------------------------*/
45
/* USER CODE BEGIN EC */
46
47
/* USER CODE END EC */
48
49
/* Exported macro ------------------------------------------------------------*/
50
/* USER CODE BEGIN EM */
51
52
/* USER CODE END EM */
53
54
/* Exported functions prototypes ---------------------------------------------*/
55
void
Error_Handler
(
void
);
56
57
/* USER CODE BEGIN EFP */
58
59
/* USER CODE END EFP */
60
61
/* Private defines -----------------------------------------------------------*/
62
#define LED_Pin GPIO_PIN_13
63
#define LED_GPIO_Port GPIOC
64
#define BUTTON_Pin GPIO_PIN_0
65
#define BUTTON_GPIO_Port GPIOA
66
/* USER CODE BEGIN Private defines */
67
68
/* USER CODE END Private defines */
69
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
/* __MAIN_H */
75
76
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition:
main.c:182
stm32f1xx_hal.h
This file contains all the functions prototypes for the HAL module driver.
Generated by
1.8.13