|
161 | 161 | * for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
|
162 | 162 | * for each PPP peripheral).
|
163 | 163 | */
|
164 |
| -#define USE_HAL_ADC_REGISTER_CALLBACKS 0U |
165 |
| -#define USE_HAL_COMP_REGISTER_CALLBACKS 0U |
166 |
| -#define USE_HAL_DAC_REGISTER_CALLBACKS 0U |
167 |
| -#define USE_HAL_I2C_REGISTER_CALLBACKS 0U |
168 |
| -#define USE_HAL_I2S_REGISTER_CALLBACKS 0U |
169 |
| -#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U |
170 |
| -#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U |
171 |
| -#define USE_HAL_PCD_REGISTER_CALLBACKS 0U |
172 |
| -#define USE_HAL_RNG_REGISTER_CALLBACKS 0U |
173 |
| -#define USE_HAL_RTC_REGISTER_CALLBACKS 0U |
174 |
| -#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U |
175 |
| -#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U |
176 |
| -#define USE_HAL_SPI_REGISTER_CALLBACKS 0U |
177 |
| -#define USE_HAL_TIM_REGISTER_CALLBACKS 0U |
178 |
| -#define USE_HAL_TSC_REGISTER_CALLBACKS 0U |
179 |
| -#define USE_HAL_UART_REGISTER_CALLBACKS 0U |
180 |
| -#define USE_HAL_USART_REGISTER_CALLBACKS 0U |
181 |
| -#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U |
| 164 | +#if !defined (USE_HAL_ADC_REGISTER_CALLBACKS) |
| 165 | + #define USE_HAL_ADC_REGISTER_CALLBACKS 0U |
| 166 | +#endif |
| 167 | + |
| 168 | +#if !defined (USE_HAL_COMP_REGISTER_CALLBACKS) |
| 169 | + #define USE_HAL_COMP_REGISTER_CALLBACKS 0U |
| 170 | +#endif |
| 171 | + |
| 172 | +#if !defined (USE_HAL_DAC_REGISTER_CALLBACKS) |
| 173 | + #define USE_HAL_DAC_REGISTER_CALLBACKS 0U |
| 174 | +#endif |
| 175 | + |
| 176 | +#if !defined (USE_HAL_I2C_REGISTER_CALLBACKS) |
| 177 | + #define USE_HAL_I2C_REGISTER_CALLBACKS 0U |
| 178 | +#endif |
| 179 | + |
| 180 | +#if !defined (USE_HAL_I2S_REGISTER_CALLBACKS) |
| 181 | + #define USE_HAL_I2S_REGISTER_CALLBACKS 0U |
| 182 | +#endif |
| 183 | + |
| 184 | +#if !defined (USE_HAL_IRDA_REGISTER_CALLBACKS) |
| 185 | + #define USE_HAL_IRDA_REGISTER_CALLBACKS 0U |
| 186 | +#endif |
| 187 | + |
| 188 | +#if !defined (USE_HAL_LPTIM_REGISTER_CALLBACKS) |
| 189 | + #define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U |
| 190 | +#endif |
| 191 | + |
| 192 | +#if !defined (USE_HAL_PCD_REGISTER_CALLBACKS) |
| 193 | + #define USE_HAL_PCD_REGISTER_CALLBACKS 0U |
| 194 | +#endif |
| 195 | + |
| 196 | +#if !defined (USE_HAL_RNG_REGISTER_CALLBACKS) |
| 197 | + #define USE_HAL_RNG_REGISTER_CALLBACKS 0U |
| 198 | +#endif |
| 199 | + |
| 200 | +#if !defined (USE_HAL_RTC_REGISTER_CALLBACKS) |
| 201 | + #define USE_HAL_RTC_REGISTER_CALLBACKS 0U |
| 202 | +#endif |
| 203 | + |
| 204 | +#if !defined (USE_HAL_SMARTCARD_REGISTER_CALLBACKS) |
| 205 | + #define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U |
| 206 | +#endif |
| 207 | + |
| 208 | +#if !defined (USE_HAL_SMBUS_REGISTER_CALLBACKS) |
| 209 | + #define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U |
| 210 | +#endif |
| 211 | + |
| 212 | +#if !defined (USE_HAL_SPI_REGISTER_CALLBACKS) |
| 213 | + #define USE_HAL_SPI_REGISTER_CALLBACKS 0U |
| 214 | +#endif |
| 215 | + |
| 216 | +#if !defined (USE_HAL_TIM_REGISTER_CALLBACKS) |
| 217 | + #define USE_HAL_TIM_REGISTER_CALLBACKS 0U |
| 218 | +#endif |
| 219 | + |
| 220 | +#if !defined (USE_HAL_TSC_REGISTER_CALLBACKS) |
| 221 | + #define USE_HAL_TSC_REGISTER_CALLBACKS 0U |
| 222 | +#endif |
| 223 | + |
| 224 | +#if !defined (USE_HAL_UART_REGISTER_CALLBACKS) |
| 225 | + #define USE_HAL_UART_REGISTER_CALLBACKS 0U |
| 226 | +#endif |
| 227 | + |
| 228 | +#if !defined (USE_HAL_USART_REGISTER_CALLBACKS) |
| 229 | + #define USE_HAL_USART_REGISTER_CALLBACKS 0U |
| 230 | +#endif |
| 231 | + |
| 232 | +#if !defined (USE_HAL_WWDG_REGISTER_CALLBACKS) |
| 233 | + #define USE_HAL_WWDG_REGISTER_CALLBACKS 0U |
| 234 | +#endif |
182 | 235 |
|
183 | 236 | /* ################## SPI peripheral configuration ########################## */
|
184 | 237 |
|
|
0 commit comments