VSF Documented
driver.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_VSF_H__
19#define __HAL_DRIVER_VSF_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "hal/vsf_hal_cfg.h"
24
25#if VSF_HAL_USE_DISTBUS == ENABLED
26# include "./distbus/driver.h"
27#endif
28
29#if VSF_HAL_USE_GPIO == ENABLED
30// emulate GPIO driver on 74hc165
31# if VSF_HAL_USE_74HC165_GPIO == ENABLED
33# endif
34
35// emulate GPIO driver on 74hc595
36# if VSF_HAL_USE_74HC595_GPIO == ENABLED
38# endif
39#endif
40
41#if VSF_HAL_USE_I2C == ENABLED
42// emulate I2C driver with GPIO
43# if VSF_HAL_USE_GPIO_I2C == ENABLED
45# endif
46#endif
47
48#if VSF_HAL_USE_PWM == ENABLED
49// emulate PWM driver with TIMER + GPIO
50# if VSF_HAL_USE_TIMER_GPIO_PWM == ENABLED
52# endif
53#endif
54
55#if VSF_HAL_USE_ADC == ENABLED
56# if VSF_HAL_USE_ADC128D818_ADC == ENABLED
58# endif
59# if VSF_HAL_USE_ADS7830_ADC == ENABLED
61# endif
62#endif
63
64/*============================ MACROS ========================================*/
65/*============================ MACROFIED FUNCTIONS ===========================*/
66/*============================ TYPES =========================================*/
67/*============================ GLOBAL VARIABLES ==============================*/
68/*============================ LOCAL VARIABLES ===============================*/
69/*============================ PROTOTYPES ====================================*/
70
71
72#endif
73/* EOF */