Digilog Console Firmware
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 "stm32g4xx_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 _OSC_IN_Pin GPIO_PIN_0
63
#define _OSC_IN_GPIO_Port GPIOF
64
#define _OSC_OUT_Pin GPIO_PIN_1
65
#define _OSC_OUT_GPIO_Port GPIOF
66
#define __MASTER__CS_in_Pin GPIO_PIN_0
67
#define __MASTER__CS_in_GPIO_Port GPIOC
68
#define LED_PWM_Pin GPIO_PIN_1
69
#define LED_PWM_GPIO_Port GPIOC
70
#define Disp_PWM_Pin GPIO_PIN_2
71
#define Disp_PWM_GPIO_Port GPIOC
72
#define Fader1_ADC_Pin GPIO_PIN_0
73
#define Fader1_ADC_GPIO_Port GPIOA
74
#define Fader2_ADC_Pin GPIO_PIN_1
75
#define Fader2_ADC_GPIO_Port GPIOA
76
#define Fader3_ADC_Pin GPIO_PIN_2
77
#define Fader3_ADC_GPIO_Port GPIOA
78
#define Fader4_ADC_Pin GPIO_PIN_3
79
#define Fader4_ADC_GPIO_Port GPIOA
80
#define Fader3_MotB_Pin GPIO_PIN_4
81
#define Fader3_MotB_GPIO_Port GPIOA
82
#define __MASTER__Clock_Pin GPIO_PIN_5
83
#define __MASTER__Clock_GPIO_Port GPIOA
84
#define Fader3_MotA_Pin GPIO_PIN_6
85
#define Fader3_MotA_GPIO_Port GPIOA
86
#define __MASTER__MOSI_Pin GPIO_PIN_7
87
#define __MASTER__MOSI_GPIO_Port GPIOA
88
#define Fader4_MotA_Pin GPIO_PIN_0
89
#define Fader4_MotA_GPIO_Port GPIOB
90
#define Fader3_Touch_Pin GPIO_PIN_1
91
#define Fader3_Touch_GPIO_Port GPIOB
92
#define Fader4_Touch_Pin GPIO_PIN_2
93
#define Fader4_Touch_GPIO_Port GPIOB
94
#define Fader2_MotA_Pin GPIO_PIN_10
95
#define Fader2_MotA_GPIO_Port GPIOB
96
#define LED_Data_Pin GPIO_PIN_11
97
#define LED_Data_GPIO_Port GPIOB
98
#define LED_Clock_Pin GPIO_PIN_12
99
#define LED_Clock_GPIO_Port GPIOB
100
#define Disp_Clock_Pin GPIO_PIN_13
101
#define Disp_Clock_GPIO_Port GPIOB
102
#define LED_Latch_Pin GPIO_PIN_14
103
#define LED_Latch_GPIO_Port GPIOB
104
#define Disp_MOSI_Pin GPIO_PIN_15
105
#define Disp_MOSI_GPIO_Port GPIOB
106
#define I2C4_Clock_Pin GPIO_PIN_6
107
#define I2C4_Clock_GPIO_Port GPIOC
108
#define I2C4_Data_Pin GPIO_PIN_7
109
#define I2C4_Data_GPIO_Port GPIOC
110
#define I2C3_Clock_Pin GPIO_PIN_8
111
#define I2C3_Clock_GPIO_Port GPIOC
112
#define Fader4_MotB_Pin GPIO_PIN_9
113
#define Fader4_MotB_GPIO_Port GPIOC
114
#define I2C2_Data_Pin GPIO_PIN_8
115
#define I2C2_Data_GPIO_Port GPIOA
116
#define I2C2_Clock_Pin GPIO_PIN_9
117
#define I2C2_Clock_GPIO_Port GPIOA
118
#define Fader2_MotB_Pin GPIO_PIN_10
119
#define Fader2_MotB_GPIO_Port GPIOA
120
#define I2C1_Clock_Pin GPIO_PIN_13
121
#define I2C1_Clock_GPIO_Port GPIOA
122
#define I2C1_Data_Pin GPIO_PIN_14
123
#define I2C1_Data_GPIO_Port GPIOA
124
#define Fader1_MotA_Pin GPIO_PIN_15
125
#define Fader1_MotA_GPIO_Port GPIOA
126
#define FlashADC_Clock_Pin GPIO_PIN_10
127
#define FlashADC_Clock_GPIO_Port GPIOC
128
#define FlashADC_MISO_Pin GPIO_PIN_11
129
#define FlashADC_MISO_GPIO_Port GPIOC
130
#define FlashADC_MOSI_Pin GPIO_PIN_12
131
#define FlashADC_MOSI_GPIO_Port GPIOC
132
#define Fader2_Touch_Pin GPIO_PIN_2
133
#define Fader2_Touch_GPIO_Port GPIOD
134
#define Fader1_MotB_Pin GPIO_PIN_3
135
#define Fader1_MotB_GPIO_Port GPIOB
136
#define __MASTER__MISO_Pin GPIO_PIN_4
137
#define __MASTER__MISO_GPIO_Port GPIOB
138
#define I2C1_DataB5_Pin GPIO_PIN_5
139
#define I2C1_DataB5_GPIO_Port GPIOB
140
#define FlashADC_CS_ADC_Pin GPIO_PIN_6
141
#define FlashADC_CS_ADC_GPIO_Port GPIOB
142
#define FlashADC_CS_Flash_Pin GPIO_PIN_7
143
#define FlashADC_CS_Flash_GPIO_Port GPIOB
144
#define Fader1_Touch_Pin GPIO_PIN_9
145
#define Fader1_Touch_GPIO_Port GPIOB
146
147
/* USER CODE BEGIN Private defines */
148
149
/* USER CODE END Private defines */
150
151
#ifdef __cplusplus
152
}
153
#endif
154
155
#endif
/* __MAIN_H */
Error_Handler
void Error_Handler(void)
This function is executed in case of error occurrence.
Definition
main.c:958
Firmware
BucketController
Core
Inc
main.h
Generated by
1.9.8