VSF Documented
sthal_conf_template.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2024 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __ST_HAL_CONF_H__
19#define __ST_HAL_CONF_H__
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*============================ INCLUDES ======================================*/
26/*============================ MACROS ========================================*/
27
28#define HAL_MODULE_ENABLED
29#define HAL_ADC_MODULE_ENABLED
30#define HAL_DMA_MODULE_ENABLED
31#define HAL_FLASH_MODULE_ENABLED
32#define HAL_GPIO_MODULE_ENABLED
33#define HAL_I2C_MODULE_ENABLED
34#define HAL_RTC_MODULE_ENABLED
35#define HAL_SPI_MODULE_ENABLED
36#define HAL_TIM_MODULE_ENABLED
37#define HAL_UART_MODULE_ENABLED
38#define HAL_USART_MODULE_ENABLED
39#define HAL_IRDA_MODULE_ENABLED
40#define HAL_SMARTCARD_MODULE_ENABLED
41#define HAL_WWDG_MODULE_ENABLED
42
43#define USE_HAL_ADC_REGISTER_CALLBACKS 1U
44#define USE_HAL_DAC_REGISTER_CALLBACKS 1U
45#define USE_HAL_I2C_REGISTER_CALLBACKS 1U
46#define USE_HAL_RTC_REGISTER_CALLBACKS 1U
47#define USE_HAL_SPI_REGISTER_CALLBACKS 1U
48#define USE_HAL_TIM_REGISTER_CALLBACKS 1U
49#define USE_HAL_UART_REGISTER_CALLBACKS 1U
50
51/*============================ INCLUDES ======================================*/
52/*============================ MACROFIED FUNCTIONS ===========================*/
53/*============================ TYPES =========================================*/
54/*============================ GLOBAL VARIABLES ==============================*/
55/*============================ PROTOTYPES ====================================*/
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif