@@ -78,35 +78,121 @@ extern "C" {
78
78
* @brief This is the list of modules where register callback can be used
79
79
*/
80
80
81
- #define USE_HAL_ADC_REGISTER_CALLBACKS 0U
82
- #define USE_HAL_COMP_REGISTER_CALLBACKS 0U
83
- #define USE_HAL_CORDIC_REGISTER_CALLBACKS 0U
84
- #define USE_HAL_CRYP_REGISTER_CALLBACKS 0U
85
- #define USE_HAL_DAC_REGISTER_CALLBACKS 0U
86
- #define USE_HAL_EXTI_REGISTER_CALLBACKS 0U
87
- #define USE_HAL_FDCAN_REGISTER_CALLBACKS 0U
88
- #define USE_HAL_FMAC_REGISTER_CALLBACKS 0U
89
- #define USE_HAL_HRTIM_REGISTER_CALLBACKS 0U
90
- #define USE_HAL_I2C_REGISTER_CALLBACKS 0U
91
- #define USE_HAL_I2S_REGISTER_CALLBACKS 0U
92
- #define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
93
- #define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
94
- #define USE_HAL_NAND_REGISTER_CALLBACKS 0U
95
- #define USE_HAL_NOR_REGISTER_CALLBACKS 0U
96
- #define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
97
- #define USE_HAL_PCD_REGISTER_CALLBACKS 0U
98
- #define USE_HAL_QSPI_REGISTER_CALLBACKS 0U
99
- #define USE_HAL_RNG_REGISTER_CALLBACKS 0U
100
- #define USE_HAL_RTC_REGISTER_CALLBACKS 0U
101
- #define USE_HAL_SAI_REGISTER_CALLBACKS 0U
102
- #define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
103
- #define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
104
- #define USE_HAL_SPI_REGISTER_CALLBACKS 0U
105
- #define USE_HAL_SRAM_REGISTER_CALLBACKS 0U
106
- #define USE_HAL_TIM_REGISTER_CALLBACKS 0U
107
- #define USE_HAL_UART_REGISTER_CALLBACKS 0U
108
- #define USE_HAL_USART_REGISTER_CALLBACKS 0U
109
- #define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
81
+ #if !defined (USE_HAL_ADC_REGISTER_CALLBACKS )
82
+ #define USE_HAL_ADC_REGISTER_CALLBACKS 0U
83
+ #endif
84
+
85
+ #if !defined (USE_HAL_COMP_REGISTER_CALLBACKS )
86
+ #define USE_HAL_COMP_REGISTER_CALLBACKS 0U
87
+ #endif
88
+
89
+ #if !defined (USE_HAL_CORDIC_REGISTER_CALLBACKS )
90
+ #define USE_HAL_CORDIC_REGISTER_CALLBACKS 0U
91
+ #endif
92
+
93
+ #if !defined (USE_HAL_CRYP_REGISTER_CALLBACKS )
94
+ #define USE_HAL_CRYP_REGISTER_CALLBACKS 0U
95
+ #endif
96
+
97
+ #if !defined (USE_HAL_DAC_REGISTER_CALLBACKS )
98
+ #define USE_HAL_DAC_REGISTER_CALLBACKS 0U
99
+ #endif
100
+
101
+ #if !defined (USE_HAL_EXTI_REGISTER_CALLBACKS )
102
+ #define USE_HAL_EXTI_REGISTER_CALLBACKS 0U
103
+ #endif
104
+
105
+ #if !defined (USE_HAL_FDCAN_REGISTER_CALLBACKS )
106
+ #define USE_HAL_FDCAN_REGISTER_CALLBACKS 0U
107
+ #endif
108
+
109
+ #if !defined (USE_HAL_FMAC_REGISTER_CALLBACKS )
110
+ #define USE_HAL_FMAC_REGISTER_CALLBACKS 0U
111
+ #endif
112
+
113
+ #if !defined (USE_HAL_HRTIM_REGISTER_CALLBACKS )
114
+ #define USE_HAL_HRTIM_REGISTER_CALLBACKS 0U
115
+ #endif
116
+
117
+ #if !defined (USE_HAL_I2C_REGISTER_CALLBACKS )
118
+ #define USE_HAL_I2C_REGISTER_CALLBACKS 0U
119
+ #endif
120
+
121
+ #if !defined (USE_HAL_I2S_REGISTER_CALLBACKS )
122
+ #define USE_HAL_I2S_REGISTER_CALLBACKS 0U
123
+ #endif
124
+
125
+ #if !defined (USE_HAL_IRDA_REGISTER_CALLBACKS )
126
+ #define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
127
+ #endif
128
+
129
+ #if !defined (USE_HAL_LPTIM_REGISTER_CALLBACKS )
130
+ #define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
131
+ #endif
132
+
133
+ #if !defined (USE_HAL_NAND_REGISTER_CALLBACKS )
134
+ #define USE_HAL_NAND_REGISTER_CALLBACKS 0U
135
+ #endif
136
+
137
+ #if !defined (USE_HAL_NOR_REGISTER_CALLBACKS )
138
+ #define USE_HAL_NOR_REGISTER_CALLBACKS 0U
139
+ #endif
140
+
141
+ #if !defined (USE_HAL_OPAMP_REGISTER_CALLBACKS )
142
+ #define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
143
+ #endif
144
+
145
+ #if !defined (USE_HAL_PCD_REGISTER_CALLBACKS )
146
+ #define USE_HAL_PCD_REGISTER_CALLBACKS 0U
147
+ #endif
148
+
149
+ #if !defined (USE_HAL_QSPI_REGISTER_CALLBACKS )
150
+ #define USE_HAL_QSPI_REGISTER_CALLBACKS 0U
151
+ #endif
152
+
153
+ #if !defined (USE_HAL_RNG_REGISTER_CALLBACKS )
154
+ #define USE_HAL_RNG_REGISTER_CALLBACKS 0U
155
+ #endif
156
+
157
+ #if !defined (USE_HAL_RTC_REGISTER_CALLBACKS )
158
+ #define USE_HAL_RTC_REGISTER_CALLBACKS 0U
159
+ #endif
160
+
161
+ #if !defined (USE_HAL_SAI_REGISTER_CALLBACKS )
162
+ #define USE_HAL_SAI_REGISTER_CALLBACKS 0U
163
+ #endif
164
+
165
+ #if !defined (USE_HAL_SMARTCARD_REGISTER_CALLBACKS )
166
+ #define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
167
+ #endif
168
+
169
+ #if !defined (USE_HAL_SMBUS_REGISTER_CALLBACKS )
170
+ #define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
171
+ #endif
172
+
173
+ #if !defined (USE_HAL_SPI_REGISTER_CALLBACKS )
174
+ #define USE_HAL_SPI_REGISTER_CALLBACKS 0U
175
+ #endif
176
+
177
+ #if !defined (USE_HAL_SRAM_REGISTER_CALLBACKS )
178
+ #define USE_HAL_SRAM_REGISTER_CALLBACKS 0U
179
+ #endif
180
+
181
+ #if !defined (USE_HAL_TIM_REGISTER_CALLBACKS )
182
+ #define USE_HAL_TIM_REGISTER_CALLBACKS 0U
183
+ #endif
184
+
185
+ #if !defined (USE_HAL_UART_REGISTER_CALLBACKS )
186
+ #define USE_HAL_UART_REGISTER_CALLBACKS 0U
187
+ #endif
188
+
189
+ #if !defined (USE_HAL_USART_REGISTER_CALLBACKS )
190
+ #define USE_HAL_USART_REGISTER_CALLBACKS 0U
191
+ #endif
192
+
193
+ #if !defined (USE_HAL_WWDG_REGISTER_CALLBACKS )
194
+ #define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
195
+ #endif
110
196
111
197
/* ########################## Oscillator Values adaptation ####################*/
112
198
/**
0 commit comments