@@ -82,6 +82,7 @@ extern "C" {
82
82
#define HAL_RTC_MODULE_ENABLED
83
83
#define HAL_SAI_MODULE_ENABLED
84
84
#define HAL_SD_MODULE_ENABLED
85
+ #define HAL_SDIO_MODULE_ENABLED
85
86
#define HAL_SDRAM_MODULE_ENABLED
86
87
#define HAL_SMARTCARD_MODULE_ENABLED
87
88
#define HAL_SMBUS_MODULE_ENABLED
@@ -200,6 +201,14 @@ in voltage and temperature.*/
200
201
*/
201
202
/* #define USE_FULL_ASSERT 1U */
202
203
204
+ /* ############################################ Max IO function number for SDIO device ############################## */
205
+ #if !defined(SDIO_MAX_IO_NUMBER )
206
+ #define SDIO_MAX_IO_NUMBER 7U /*!< SDIO device support maximum IO number */
207
+ #endif
208
+ #if !defined(USE_SDIO_TRANSCEIVER )
209
+ #define USE_SDIO_TRANSCEIVER 0U /*!< SDIO Transceiver */
210
+ #endif
211
+
203
212
/* ############################################ Register callback feature configuration ############################# */
204
213
/**
205
214
* @brief Set below the peripheral configuration to "1U" to add the support
@@ -303,6 +312,9 @@ in voltage and temperature.*/
303
312
#if !defined(USE_HAL_SD_REGISTER_CALLBACKS )
304
313
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
305
314
#endif
315
+ #if !defined(USE_HAL_SDIO_REGISTER_CALLBACKS )
316
+ #define USE_HAL_SDIO_REGISTER_CALLBACKS 0U /* SDIO register callback disabled */
317
+ #endif
306
318
#if !defined(USE_HAL_SDRAM_REGISTER_CALLBACKS )
307
319
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
308
320
#endif
@@ -472,6 +484,10 @@ in voltage and temperature.*/
472
484
#include "stm32h5xx_hal_sd.h"
473
485
#endif /* HAL_SD_MODULE_ENABLED */
474
486
487
+ #ifdef HAL_SDIO_MODULE_ENABLED
488
+ #include "stm32h5xx_hal_sdio.h"
489
+ #endif /* HAL_SDIO_MODULE_ENABLED */
490
+
475
491
#ifdef HAL_SMBUS_MODULE_ENABLED
476
492
#include "stm32h5xx_hal_smbus.h"
477
493
#endif /* HAL_SMBUS_MODULE_ENABLED */
0 commit comments