mirror of https://github.com/ARMmbed/mbed-os.git
STM32L4 - Add if defined check for USE_HAL_XXX_REGISTER_CALLBACKS
parent
2c1d37e4a5
commit
40120e6036
|
@ -201,40 +201,141 @@
|
||||||
* for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
|
* for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
|
||||||
* for each PPP peripheral).
|
* for each PPP peripheral).
|
||||||
*/
|
*/
|
||||||
|
#if !defined (USE_HAL_ADC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_CAN_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U
|
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_COMP_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
|
#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_CRYP_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U
|
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_DAC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_DCMI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_DFSDM_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U
|
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_DMA2D_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U
|
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_DSI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_GFXMMU_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_GFXMMU_REGISTER_CALLBACKS 0U
|
#define USE_HAL_GFXMMU_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_HASH_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U
|
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_HCD_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U
|
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_I2C_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
|
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_IRDA_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
|
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_LPTIM_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
|
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_LTDC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_MMC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_OPAMP_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
|
#define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_OSPI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_OSPI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_OSPI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_PCD_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
|
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_QSPI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_RNG_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U
|
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_RTC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SAI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SD_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SD_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SD_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SMARTCARD_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SMBUS_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SPI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_SWPMI_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_SWPMI_REGISTER_CALLBACKS 0U
|
#define USE_HAL_SWPMI_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_TIM_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
|
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_TSC_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_TSC_REGISTER_CALLBACKS 0U
|
#define USE_HAL_TSC_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_UART_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_UART_REGISTER_CALLBACKS 0U
|
#define USE_HAL_UART_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_USART_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_USART_REGISTER_CALLBACKS 0U
|
#define USE_HAL_USART_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined (USE_HAL_WWDG_REGISTER_CALLBACKS)
|
||||||
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
|
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ################## SPI peripheral configuration ########################## */
|
/* ################## SPI peripheral configuration ########################## */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue