xref: /btstack/port/stm32-wb55xx-nucleo-freertos/Inc/stm32wbxx_hal_conf.h (revision 0561b2d8d5dba972c7daa57d5e677f7a1327edfd)
1*0561b2d8STREFOU Felix /**
2*0561b2d8STREFOU Felix   ******************************************************************************
3*0561b2d8STREFOU Felix   * @file    stm32wbxx_hal_conf.h
4*0561b2d8STREFOU Felix   * @author  MCD Application Team
5*0561b2d8STREFOU Felix   * @brief   HAL configuration file.
6*0561b2d8STREFOU Felix   ******************************************************************************
7*0561b2d8STREFOU Felix   * @attention
8*0561b2d8STREFOU Felix   *
9*0561b2d8STREFOU Felix   * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10*0561b2d8STREFOU Felix   * All rights reserved.</center></h2>
11*0561b2d8STREFOU Felix   *
12*0561b2d8STREFOU Felix   * This software component is licensed by ST under BSD 3-Clause license,
13*0561b2d8STREFOU Felix   * the "License"; You may not use this file except in compliance with the
14*0561b2d8STREFOU Felix   * License. You may obtain a copy of the License at:
15*0561b2d8STREFOU Felix   *                        opensource.org/licenses/BSD-3-Clause
16*0561b2d8STREFOU Felix   *
17*0561b2d8STREFOU Felix   ******************************************************************************
18*0561b2d8STREFOU Felix   */
19*0561b2d8STREFOU Felix 
20*0561b2d8STREFOU Felix /* Define to prevent recursive inclusion -------------------------------------*/
21*0561b2d8STREFOU Felix #ifndef __STM32WBxx_HAL_CONF_H
22*0561b2d8STREFOU Felix #define __STM32WBxx_HAL_CONF_H
23*0561b2d8STREFOU Felix 
24*0561b2d8STREFOU Felix #ifdef __cplusplus
25*0561b2d8STREFOU Felix  extern "C" {
26*0561b2d8STREFOU Felix #endif
27*0561b2d8STREFOU Felix 
28*0561b2d8STREFOU Felix /* Exported types ------------------------------------------------------------*/
29*0561b2d8STREFOU Felix /* Exported constants --------------------------------------------------------*/
30*0561b2d8STREFOU Felix 
31*0561b2d8STREFOU Felix /* ########################## Module Selection ############################## */
32*0561b2d8STREFOU Felix /**
33*0561b2d8STREFOU Felix   * @brief This is the list of modules to be used in the HAL driver
34*0561b2d8STREFOU Felix   */
35*0561b2d8STREFOU Felix #define HAL_MODULE_ENABLED
36*0561b2d8STREFOU Felix /*#define HAL_ADC_MODULE_ENABLED   */
37*0561b2d8STREFOU Felix /*#define HAL_CRYP_MODULE_ENABLED   */
38*0561b2d8STREFOU Felix /*#define HAL_COMP_MODULE_ENABLED   */
39*0561b2d8STREFOU Felix /*#define HAL_CRC_MODULE_ENABLED   */
40*0561b2d8STREFOU Felix //#define HAL_HSEM_MODULE_ENABLED
41*0561b2d8STREFOU Felix /*#define HAL_I2C_MODULE_ENABLED   */
42*0561b2d8STREFOU Felix #define HAL_IPCC_MODULE_ENABLED
43*0561b2d8STREFOU Felix /*#define HAL_IRDA_MODULE_ENABLED   */
44*0561b2d8STREFOU Felix /*#define HAL_IWDG_MODULE_ENABLED   */
45*0561b2d8STREFOU Felix /*#define HAL_LCD_MODULE_ENABLED   */
46*0561b2d8STREFOU Felix /*#define HAL_LPTIM_MODULE_ENABLED   */
47*0561b2d8STREFOU Felix /*#define HAL_PCD_MODULE_ENABLED   */
48*0561b2d8STREFOU Felix /*#define HAL_PKA_MODULE_ENABLED   */
49*0561b2d8STREFOU Felix /*#define HAL_QSPI_MODULE_ENABLED   */
50*0561b2d8STREFOU Felix /*#define HAL_RNG_MODULE_ENABLED   */
51*0561b2d8STREFOU Felix #define HAL_RTC_MODULE_ENABLED
52*0561b2d8STREFOU Felix /*#define HAL_SAI_MODULE_ENABLED   */
53*0561b2d8STREFOU Felix /*#define HAL_SMBUS_MODULE_ENABLED   */
54*0561b2d8STREFOU Felix /*#define HAL_SMARTCARD_MODULE_ENABLED   */
55*0561b2d8STREFOU Felix /*#define HAL_SPI_MODULE_ENABLED   */
56*0561b2d8STREFOU Felix #define HAL_TIM_MODULE_ENABLED
57*0561b2d8STREFOU Felix /*#define HAL_TSC_MODULE_ENABLED   */
58*0561b2d8STREFOU Felix #define HAL_UART_MODULE_ENABLED
59*0561b2d8STREFOU Felix /*#define HAL_USART_MODULE_ENABLED   */
60*0561b2d8STREFOU Felix /*#define HAL_WWDG_MODULE_ENABLED   */
61*0561b2d8STREFOU Felix #define HAL_CORTEX_MODULE_ENABLED
62*0561b2d8STREFOU Felix #define HAL_DMA_MODULE_ENABLED
63*0561b2d8STREFOU Felix #define HAL_FLASH_MODULE_ENABLED
64*0561b2d8STREFOU Felix #define HAL_GPIO_MODULE_ENABLED
65*0561b2d8STREFOU Felix #define HAL_PWR_MODULE_ENABLED
66*0561b2d8STREFOU Felix #define HAL_RCC_MODULE_ENABLED
67*0561b2d8STREFOU Felix 
68*0561b2d8STREFOU Felix #define USE_HAL_ADC_REGISTER_CALLBACKS       0u
69*0561b2d8STREFOU Felix #define USE_HAL_COMP_REGISTER_CALLBACKS      0u
70*0561b2d8STREFOU Felix #define USE_HAL_CRYP_REGISTER_CALLBACKS      0u
71*0561b2d8STREFOU Felix #define USE_HAL_I2C_REGISTER_CALLBACKS       0u
72*0561b2d8STREFOU Felix #define USE_HAL_IRDA_REGISTER_CALLBACKS      0u
73*0561b2d8STREFOU Felix #define USE_HAL_LPTIM_REGISTER_CALLBACKS     0u
74*0561b2d8STREFOU Felix #define USE_HAL_PCD_REGISTER_CALLBACKS       0u
75*0561b2d8STREFOU Felix #define USE_HAL_PKA_REGISTER_CALLBACKS       0u
76*0561b2d8STREFOU Felix #define USE_HAL_QSPI_REGISTER_CALLBACKS      0u
77*0561b2d8STREFOU Felix #define USE_HAL_RNG_REGISTER_CALLBACKS       0u
78*0561b2d8STREFOU Felix #define USE_HAL_RTC_REGISTER_CALLBACKS       0u
79*0561b2d8STREFOU Felix #define USE_HAL_SAI_REGISTER_CALLBACKS       0u
80*0561b2d8STREFOU Felix #define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0u
81*0561b2d8STREFOU Felix #define USE_HAL_SMBUS_REGISTER_CALLBACKS     0u
82*0561b2d8STREFOU Felix #define USE_HAL_SPI_REGISTER_CALLBACKS       0u
83*0561b2d8STREFOU Felix #define USE_HAL_TIM_REGISTER_CALLBACKS       0u
84*0561b2d8STREFOU Felix #define USE_HAL_TSC_REGISTER_CALLBACKS       0u
85*0561b2d8STREFOU Felix #define USE_HAL_UART_REGISTER_CALLBACKS      0u
86*0561b2d8STREFOU Felix #define USE_HAL_USART_REGISTER_CALLBACKS     0u
87*0561b2d8STREFOU Felix #define USE_HAL_WWDG_REGISTER_CALLBACKS      0u
88*0561b2d8STREFOU Felix 
89*0561b2d8STREFOU Felix /* ########################## Oscillator Values adaptation ####################*/
90*0561b2d8STREFOU Felix /**
91*0561b2d8STREFOU Felix   * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
92*0561b2d8STREFOU Felix   *        This value is used by the RCC HAL module to compute the system frequency
93*0561b2d8STREFOU Felix   *        (when HSE is used as system clock source, directly or through the PLL).
94*0561b2d8STREFOU Felix   */
95*0561b2d8STREFOU Felix #if !defined  (HSE_VALUE)
96*0561b2d8STREFOU Felix #define HSE_VALUE    32000000U             /*!< Value of the External oscillator in Hz */
97*0561b2d8STREFOU Felix #endif /* HSE_VALUE */
98*0561b2d8STREFOU Felix 
99*0561b2d8STREFOU Felix #if !defined  (HSE_STARTUP_TIMEOUT)
100*0561b2d8STREFOU Felix   #define HSE_STARTUP_TIMEOUT    ((uint32_t)100)   /*!< Time out for HSE start up, in ms */
101*0561b2d8STREFOU Felix #endif /* HSE_STARTUP_TIMEOUT */
102*0561b2d8STREFOU Felix 
103*0561b2d8STREFOU Felix /**
104*0561b2d8STREFOU Felix   * @brief Internal Multiple Speed oscillator (MSI) default value.
105*0561b2d8STREFOU Felix   *        This value is the default MSI range value after Reset.
106*0561b2d8STREFOU Felix   */
107*0561b2d8STREFOU Felix #if !defined  (MSI_VALUE)
108*0561b2d8STREFOU Felix   #define MSI_VALUE    ((uint32_t)4000000) /*!< Value of the Internal oscillator in Hz*/
109*0561b2d8STREFOU Felix #endif /* MSI_VALUE */
110*0561b2d8STREFOU Felix 
111*0561b2d8STREFOU Felix /**
112*0561b2d8STREFOU Felix   * @brief Internal High Speed oscillator (HSI) value.
113*0561b2d8STREFOU Felix   *        This value is used by the RCC HAL module to compute the system frequency
114*0561b2d8STREFOU Felix   *        (when HSI is used as system clock source, directly or through the PLL).
115*0561b2d8STREFOU Felix   */
116*0561b2d8STREFOU Felix #if !defined  (HSI_VALUE)
117*0561b2d8STREFOU Felix #define HSI_VALUE    16000000U            /*!< Value of the Internal oscillator in Hz*/
118*0561b2d8STREFOU Felix #endif /* HSI_VALUE */
119*0561b2d8STREFOU Felix 
120*0561b2d8STREFOU Felix /**
121*0561b2d8STREFOU Felix   * @brief Internal Low Speed oscillator (LSI1) value.
122*0561b2d8STREFOU Felix   */
123*0561b2d8STREFOU Felix #if !defined  (LSI1_VALUE)
124*0561b2d8STREFOU Felix  #define LSI1_VALUE  ((uint32_t)32000)       /*!< LSI1 Typical Value in Hz*/
125*0561b2d8STREFOU Felix #endif /* LSI1_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
126*0561b2d8STREFOU Felix                                              The real value may vary depending on the variations
127*0561b2d8STREFOU Felix                                              in voltage and temperature.*/
128*0561b2d8STREFOU Felix /**
129*0561b2d8STREFOU Felix   * @brief Internal Low Speed oscillator (LSI2) value.
130*0561b2d8STREFOU Felix   */
131*0561b2d8STREFOU Felix #if !defined  (LSI2_VALUE)
132*0561b2d8STREFOU Felix  #define LSI2_VALUE  ((uint32_t)32000)       /*!< LSI2 Typical Value in Hz*/
133*0561b2d8STREFOU Felix #endif /* LSI2_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
134*0561b2d8STREFOU Felix                                              The real value may vary depending on the variations
135*0561b2d8STREFOU Felix                                              in voltage and temperature.*/
136*0561b2d8STREFOU Felix 
137*0561b2d8STREFOU Felix /**
138*0561b2d8STREFOU Felix   * @brief External Low Speed oscillator (LSE) value.
139*0561b2d8STREFOU Felix   *        This value is used by the UART, RTC HAL module to compute the system frequency
140*0561b2d8STREFOU Felix   */
141*0561b2d8STREFOU Felix #if !defined  (LSE_VALUE)
142*0561b2d8STREFOU Felix #define LSE_VALUE    32768U               /*!< Value of the External oscillator in Hz*/
143*0561b2d8STREFOU Felix #endif /* LSE_VALUE */
144*0561b2d8STREFOU Felix 
145*0561b2d8STREFOU Felix /**
146*0561b2d8STREFOU Felix   * @brief Internal Multiple Speed oscillator (HSI48) default value.
147*0561b2d8STREFOU Felix   *        This value is the default HSI48 range value after Reset.
148*0561b2d8STREFOU Felix   */
149*0561b2d8STREFOU Felix #if !defined (HSI48_VALUE)
150*0561b2d8STREFOU Felix   #define HSI48_VALUE    ((uint32_t)48000000) /*!< Value of the Internal oscillator in Hz*/
151*0561b2d8STREFOU Felix #endif /* HSI48_VALUE */
152*0561b2d8STREFOU Felix 
153*0561b2d8STREFOU Felix #if !defined  (LSE_STARTUP_TIMEOUT)
154*0561b2d8STREFOU Felix #define LSE_STARTUP_TIMEOUT    5000U      /*!< Time out for LSE start up, in ms */
155*0561b2d8STREFOU Felix #endif /* HSE_STARTUP_TIMEOUT */
156*0561b2d8STREFOU Felix 
157*0561b2d8STREFOU Felix /**
158*0561b2d8STREFOU Felix   * @brief External clock source for SAI1 peripheral
159*0561b2d8STREFOU Felix   *        This value is used by the RCC HAL module to compute the SAI1 & SAI2 clock source
160*0561b2d8STREFOU Felix   *        frequency.
161*0561b2d8STREFOU Felix   */
162*0561b2d8STREFOU Felix #if !defined (EXTERNAL_SAI1_CLOCK_VALUE)
163*0561b2d8STREFOU Felix   #define EXTERNAL_SAI1_CLOCK_VALUE    ((uint32_t)2097000) /*!< Value of the SAI1 External clock source in Hz*/
164*0561b2d8STREFOU Felix #endif /* EXTERNAL_SAI1_CLOCK_VALUE */
165*0561b2d8STREFOU Felix 
166*0561b2d8STREFOU Felix /* Tip: To avoid modifying this file each time you need to use different HSE,
167*0561b2d8STREFOU Felix    ===  you can define the HSE value in your toolchain compiler preprocessor. */
168*0561b2d8STREFOU Felix 
169*0561b2d8STREFOU Felix /* ########################### System Configuration ######################### */
170*0561b2d8STREFOU Felix /**
171*0561b2d8STREFOU Felix   * @brief This is the HAL system configuration section
172*0561b2d8STREFOU Felix   */
173*0561b2d8STREFOU Felix 
174*0561b2d8STREFOU Felix #define  VDD_VALUE				3300U                   /*!< Value of VDD in mv */
175*0561b2d8STREFOU Felix #define  TICK_INT_PRIORITY            0U      /*!< tick interrupt priority */
176*0561b2d8STREFOU Felix #define  USE_RTOS                     0U
177*0561b2d8STREFOU Felix #define  PREFETCH_ENABLE              1U
178*0561b2d8STREFOU Felix #define  INSTRUCTION_CACHE_ENABLE     1U
179*0561b2d8STREFOU Felix #define  DATA_CACHE_ENABLE            1U
180*0561b2d8STREFOU Felix 
181*0561b2d8STREFOU Felix /* ########################## Assert Selection ############################## */
182*0561b2d8STREFOU Felix /**
183*0561b2d8STREFOU Felix   * @brief Uncomment the line below to expanse the "assert_param" macro in the
184*0561b2d8STREFOU Felix   *        HAL drivers code
185*0561b2d8STREFOU Felix   */
186*0561b2d8STREFOU Felix /* #define USE_FULL_ASSERT    1U */
187*0561b2d8STREFOU Felix 
188*0561b2d8STREFOU Felix /* ################## SPI peripheral configuration ########################## */
189*0561b2d8STREFOU Felix 
190*0561b2d8STREFOU Felix /* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
191*0561b2d8STREFOU Felix  * Activated: CRC code is present inside driver
192*0561b2d8STREFOU Felix  * Deactivated: CRC code cleaned from driver
193*0561b2d8STREFOU Felix  */
194*0561b2d8STREFOU Felix 
195*0561b2d8STREFOU Felix #define USE_SPI_CRC                   0U
196*0561b2d8STREFOU Felix 
197*0561b2d8STREFOU Felix /* Includes ------------------------------------------------------------------*/
198*0561b2d8STREFOU Felix /**
199*0561b2d8STREFOU Felix   * @brief Include module's header file
200*0561b2d8STREFOU Felix   */
201*0561b2d8STREFOU Felix #ifdef HAL_DMA_MODULE_ENABLED
202*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_dma.h"
203*0561b2d8STREFOU Felix #endif /* HAL_DMA_MODULE_ENABLED */
204*0561b2d8STREFOU Felix 
205*0561b2d8STREFOU Felix #ifdef HAL_ADC_MODULE_ENABLED
206*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_adc.h"
207*0561b2d8STREFOU Felix #endif /* HAL_ADC_MODULE_ENABLED */
208*0561b2d8STREFOU Felix 
209*0561b2d8STREFOU Felix #ifdef HAL_COMP_MODULE_ENABLED
210*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_comp.h"
211*0561b2d8STREFOU Felix #endif /* HAL_COMP_MODULE_ENABLED */
212*0561b2d8STREFOU Felix 
213*0561b2d8STREFOU Felix #ifdef HAL_CORTEX_MODULE_ENABLED
214*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_cortex.h"
215*0561b2d8STREFOU Felix #endif /* HAL_CORTEX_MODULE_ENABLED */
216*0561b2d8STREFOU Felix 
217*0561b2d8STREFOU Felix #ifdef HAL_CRC_MODULE_ENABLED
218*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_crc.h"
219*0561b2d8STREFOU Felix #endif /* HAL_CRC_MODULE_ENABLED */
220*0561b2d8STREFOU Felix 
221*0561b2d8STREFOU Felix #ifdef HAL_CRYP_MODULE_ENABLED
222*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_cryp.h"
223*0561b2d8STREFOU Felix #endif /* HAL_CRYP_MODULE_ENABLED */
224*0561b2d8STREFOU Felix 
225*0561b2d8STREFOU Felix #ifdef HAL_FLASH_MODULE_ENABLED
226*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_flash.h"
227*0561b2d8STREFOU Felix #endif /* HAL_FLASH_MODULE_ENABLED */
228*0561b2d8STREFOU Felix 
229*0561b2d8STREFOU Felix #ifdef HAL_GPIO_MODULE_ENABLED
230*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_gpio.h"
231*0561b2d8STREFOU Felix #endif /* HAL_GPIO_MODULE_ENABLED */
232*0561b2d8STREFOU Felix 
233*0561b2d8STREFOU Felix #ifdef HAL_HSEM_MODULE_ENABLED
234*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_hsem.h"
235*0561b2d8STREFOU Felix #endif /* HAL_HSEM_MODULE_ENABLED */
236*0561b2d8STREFOU Felix 
237*0561b2d8STREFOU Felix #ifdef HAL_I2C_MODULE_ENABLED
238*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_i2c.h"
239*0561b2d8STREFOU Felix #endif /* HAL_I2C_MODULE_ENABLED */
240*0561b2d8STREFOU Felix 
241*0561b2d8STREFOU Felix #ifdef HAL_IPCC_MODULE_ENABLED
242*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_ipcc.h"
243*0561b2d8STREFOU Felix #endif /* HAL_IPCC_MODULE_ENABLED */
244*0561b2d8STREFOU Felix 
245*0561b2d8STREFOU Felix #ifdef HAL_IRDA_MODULE_ENABLED
246*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_irda.h"
247*0561b2d8STREFOU Felix #endif /* HAL_IRDA_MODULE_ENABLED */
248*0561b2d8STREFOU Felix 
249*0561b2d8STREFOU Felix #ifdef HAL_IWDG_MODULE_ENABLED
250*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_iwdg.h"
251*0561b2d8STREFOU Felix #endif /* HAL_IWDG_MODULE_ENABLED */
252*0561b2d8STREFOU Felix 
253*0561b2d8STREFOU Felix #ifdef HAL_LCD_MODULE_ENABLED
254*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_lcd.h"
255*0561b2d8STREFOU Felix #endif /* HAL_LCD_MODULE_ENABLED */
256*0561b2d8STREFOU Felix 
257*0561b2d8STREFOU Felix #ifdef HAL_LPTIM_MODULE_ENABLED
258*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_lptim.h"
259*0561b2d8STREFOU Felix #endif /* HAL_LPTIM_MODULE_ENABLED */
260*0561b2d8STREFOU Felix 
261*0561b2d8STREFOU Felix #ifdef HAL_PCD_MODULE_ENABLED
262*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_pcd.h"
263*0561b2d8STREFOU Felix #endif /* HAL_PCD_MODULE_ENABLED */
264*0561b2d8STREFOU Felix 
265*0561b2d8STREFOU Felix #ifdef HAL_PKA_MODULE_ENABLED
266*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_pka.h"
267*0561b2d8STREFOU Felix #endif /* HAL_PKA_MODULE_ENABLED */
268*0561b2d8STREFOU Felix 
269*0561b2d8STREFOU Felix #ifdef HAL_PWR_MODULE_ENABLED
270*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_pwr.h"
271*0561b2d8STREFOU Felix #endif /* HAL_PWR_MODULE_ENABLED */
272*0561b2d8STREFOU Felix 
273*0561b2d8STREFOU Felix #ifdef HAL_QSPI_MODULE_ENABLED
274*0561b2d8STREFOU Felix  #define USE_HAL_QSPI_REGISTER_CALLBACKS 0U
275*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_qspi.h"
276*0561b2d8STREFOU Felix #endif /* HAL_QSPI_MODULE_ENABLED */
277*0561b2d8STREFOU Felix 
278*0561b2d8STREFOU Felix #ifdef HAL_RCC_MODULE_ENABLED
279*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_rcc.h"
280*0561b2d8STREFOU Felix #endif /* HAL_RCC_MODULE_ENABLED */
281*0561b2d8STREFOU Felix 
282*0561b2d8STREFOU Felix #ifdef HAL_RNG_MODULE_ENABLED
283*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_rng.h"
284*0561b2d8STREFOU Felix #endif /* HAL_RNG_MODULE_ENABLED */
285*0561b2d8STREFOU Felix 
286*0561b2d8STREFOU Felix #ifdef HAL_RTC_MODULE_ENABLED
287*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_rtc.h"
288*0561b2d8STREFOU Felix #endif /* HAL_RTC_MODULE_ENABLED */
289*0561b2d8STREFOU Felix 
290*0561b2d8STREFOU Felix #ifdef HAL_SAI_MODULE_ENABLED
291*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_sai.h"
292*0561b2d8STREFOU Felix #endif /* HAL_SAI_MODULE_ENABLED */
293*0561b2d8STREFOU Felix 
294*0561b2d8STREFOU Felix #ifdef HAL_SMARTCARD_MODULE_ENABLED
295*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_smartcard.h"
296*0561b2d8STREFOU Felix #endif /* HAL_SMARTCARD_MODULE_ENABLED */
297*0561b2d8STREFOU Felix 
298*0561b2d8STREFOU Felix #ifdef HAL_SMBUS_MODULE_ENABLED
299*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_smbus.h"
300*0561b2d8STREFOU Felix #endif /* HAL_SMBUS_MODULE_ENABLED */
301*0561b2d8STREFOU Felix 
302*0561b2d8STREFOU Felix #ifdef HAL_SPI_MODULE_ENABLED
303*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_spi.h"
304*0561b2d8STREFOU Felix #endif /* HAL_SPI_MODULE_ENABLED */
305*0561b2d8STREFOU Felix 
306*0561b2d8STREFOU Felix #ifdef HAL_TIM_MODULE_ENABLED
307*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_tim.h"
308*0561b2d8STREFOU Felix #endif /* HAL_TIM_MODULE_ENABLED */
309*0561b2d8STREFOU Felix 
310*0561b2d8STREFOU Felix #ifdef HAL_TSC_MODULE_ENABLED
311*0561b2d8STREFOU Felix   #include "stm32wbxx_hal_tsc.h"
312*0561b2d8STREFOU Felix #endif /* HAL_TSC_MODULE_ENABLED */
313*0561b2d8STREFOU Felix 
314*0561b2d8STREFOU Felix #ifdef HAL_UART_MODULE_ENABLED
315*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_uart.h"
316*0561b2d8STREFOU Felix #endif /* HAL_UART_MODULE_ENABLED */
317*0561b2d8STREFOU Felix 
318*0561b2d8STREFOU Felix #ifdef HAL_USART_MODULE_ENABLED
319*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_usart.h"
320*0561b2d8STREFOU Felix #endif /* HAL_USART_MODULE_ENABLED */
321*0561b2d8STREFOU Felix 
322*0561b2d8STREFOU Felix #ifdef HAL_WWDG_MODULE_ENABLED
323*0561b2d8STREFOU Felix  #include "stm32wbxx_hal_wwdg.h"
324*0561b2d8STREFOU Felix #endif /* HAL_WWDG_MODULE_ENABLED */
325*0561b2d8STREFOU Felix 
326*0561b2d8STREFOU Felix /* Exported macro ------------------------------------------------------------*/
327*0561b2d8STREFOU Felix #ifdef  USE_FULL_ASSERT
328*0561b2d8STREFOU Felix /**
329*0561b2d8STREFOU Felix   * @brief  The assert_param macro is used for function's parameters check.
330*0561b2d8STREFOU Felix   * @param expr If expr is false, it calls assert_failed function
331*0561b2d8STREFOU Felix   *         which reports the name of the source file and the source
332*0561b2d8STREFOU Felix   *         line number of the call that failed.
333*0561b2d8STREFOU Felix   *         If expr is true, it returns no value.
334*0561b2d8STREFOU Felix   * @retval None
335*0561b2d8STREFOU Felix   */
336*0561b2d8STREFOU Felix #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
337*0561b2d8STREFOU Felix /* Exported functions ------------------------------------------------------- */
338*0561b2d8STREFOU Felix void assert_failed(uint8_t* file, uint32_t line);
339*0561b2d8STREFOU Felix #else
340*0561b2d8STREFOU Felix   #define assert_param(expr) ((void)0U)
341*0561b2d8STREFOU Felix #endif /* USE_FULL_ASSERT */
342*0561b2d8STREFOU Felix 
343*0561b2d8STREFOU Felix #ifdef __cplusplus
344*0561b2d8STREFOU Felix }
345*0561b2d8STREFOU Felix #endif
346*0561b2d8STREFOU Felix 
347*0561b2d8STREFOU Felix #endif /* __STM32WBxx_HAL_CONF_H */
348*0561b2d8STREFOU Felix 
349*0561b2d8STREFOU Felix /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
350