PID regulator
v 1.0
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 "stm32l0xx_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
void
HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
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 B1_Pin GPIO_PIN_13
63
#define B1_GPIO_Port GPIOC
64
#define B1_EXTI_IRQn EXTI4_15_IRQn
65
#define MCO_Pin GPIO_PIN_0
66
#define MCO_GPIO_Port GPIOH
67
#define M1A_Pin GPIO_PIN_0
68
#define M1A_GPIO_Port GPIOA
69
#define M1B_Pin GPIO_PIN_1
70
#define M1B_GPIO_Port GPIOA
71
#define USART_TX_Pin GPIO_PIN_2
72
#define USART_TX_GPIO_Port GPIOA
73
#define USART_RX_Pin GPIO_PIN_3
74
#define USART_RX_GPIO_Port GPIOA
75
#define LD2_Pin GPIO_PIN_5
76
#define LD2_GPIO_Port GPIOA
77
#define EncoderA_Pin GPIO_PIN_6
78
#define EncoderA_GPIO_Port GPIOA
79
#define EncoderB_Pin GPIO_PIN_7
80
#define EncoderB_GPIO_Port GPIOA
81
#define TMS_Pin GPIO_PIN_13
82
#define TMS_GPIO_Port GPIOA
83
#define TCK_Pin GPIO_PIN_14
84
#define TCK_GPIO_Port GPIOA
85
86
/* USER CODE BEGIN Private defines */
87
88
/* USER CODE END Private defines */
89
90
#ifdef __cplusplus
91
}
92
#endif
93
94
#endif
/* __MAIN_H */
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition
main.c:662
Core
Inc
main.h
Generated by
1.13.2