VSF Documented
vsf_template.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 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 __HAL_DRIVER_INTERFACE_H__
19#define __HAL_DRIVER_INTERFACE_H__
20
21/*============================ INCLUDES ======================================*/
22
23#if defined(VSF_HAL_USE_GPIO) && !defined(__VSF_TEMPLATE_GPIO_H__)
24# include "./vsf_template_gpio.h"
25#endif
26
27#if defined(VSF_HAL_USE_ADC) && !defined(__VSF_TEMPLATE_ADC_H__)
28# include "./vsf_template_adc.h"
29#endif
30
31#if defined(VSF_HAL_USE_DAC) && !defined(__VSF_TEMPLATE_DAC_H__)
32# include "./vsf_template_dac.h"
33#endif
34
35#if defined(VSF_HAL_USE_DMA) && !defined(__VSF_TEMPLATE_DMA_H__)
36# include "./vsf_template_dma.h"
37#endif
38
39#if defined(VSF_HAL_USE_WDT) && !defined(__VSF_TEMPLATE_WDT_H__)
40# include "./vsf_template_wdt.h"
41#endif
42
43#if defined(VSF_HAL_USE_FLASH) && !defined(__VSF_TEMPLATE_FLASH_H__)
44# include "./vsf_template_flash.h"
45#endif
46
47#if defined(VSF_HAL_USE_I2C) && !defined(__VSF_TEMPLATE_I2C_H__)
48# include "./vsf_template_i2c.h"
49#endif
50
51#if defined(VSF_HAL_USE_I2S) && !defined(__VSF_TEMPLATE_I2S_H__)
52# include "./vsf_template_i2s.h"
53#endif
54
55#if defined(VSF_HAL_USE_SDIO) && !defined(__VSF_TEMPLATE_SDIO_H__)
56# include "./vsf_template_sdio.h"
57#endif
58
59#if defined(VSF_HAL_USE_PM) && !defined(__VSF_TEMPLATE_PM_H__)
60# include "./vsf_template_pm.h"
61#endif
62
63#if defined(VSF_HAL_USE_PWM) && !defined(__VSF_TEMPLATE_PWM_H__)
64# include "./vsf_template_pwm.h"
65#endif
66
67#if defined(VSF_HAL_USE_RNG) && !defined(__VSF_TEMPLATE_RNG_H__)
68# include "./vsf_template_rng.h"
69#endif
70
71#if defined(VSF_HAL_USE_RTC) && !defined(__VSF_TEMPLATE_RTC_H__)
72# include "./vsf_template_rtc.h"
73#endif
74
75#if defined(VSF_HAL_USE_SPI) && !defined(__VSF_TEMPLATE_SPI_H__)
76# include "./vsf_template_spi.h"
77#endif
78
79#if defined(VSF_HAL_USE_TIMER) && !defined(__VSF_TEMPLATE_TIMER_H__)
80# include "./vsf_template_timer.h"
81#endif
82
83#if defined(VSF_HAL_USE_USART) && !defined(__VSF_TEMPLATE_USART_H__)
84# include "./vsf_template_usart.h"
85#endif
86
87#if defined(VSF_HAL_USE_USB) && !defined(__VSF_TEMPLATE_USB_H__)
88# include "./vsf_template_usb.h"
89#endif
90
91/*============================ MACROS ========================================*/
92/*============================ MACROFIED FUNCTIONS ===========================*/
93/*============================ TYPES =========================================*/
94/*============================ GLOBAL VARIABLES ==============================*/
95/*============================ LOCAL VARIABLES ===============================*/
96/*============================ PROTOTYPES ====================================*/
97
98
99#endif /* __HAL_DRIVER_INTERFACE_H__ */
100/* EOF */