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/*============================ INCLUDES ======================================*/
19
20#include "hal/vsf_hal_cfg.h"
21
22#ifdef __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
23
24#else
25
26#ifndef __HAL_DRIVER_GENERIC_LINUX_H__
27#define __HAL_DRIVER_GENERIC_LINUX_H__
28
29/*============================ INCLUDES ======================================*/
30
31#include "service/vsf_service.h"
32
33#include "./device.h"
34#include "./rtc/rtc.h"
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40/*============================ MACROS ========================================*/
41/*============================ MACROFIED FUNCTIONS ===========================*/
42/*============================ TYPES =========================================*/
43/*============================ INCLUDES ======================================*/
44
45#if VSF_HAL_USE_RTC == ENABLED
47
48# define VSF_RTC_CFG_DEC_PREFIX vsf_hw
49# define VSF_RTC_CFG_DEC_UPCASE_PREFIX VSF_HW
51#endif
52
53#if VSF_HAL_USE_USBD == ENABLED || VSF_HAL_USE_USBH == ENABLED
55#endif
56
57/*============================ GLOBAL VARIABLES ==============================*/
58
59#if VSF_USE_SIMPLE_STREAM == ENABLED
62#endif
63
64/*============================ LOCAL VARIABLES ===============================*/
65/*============================ PROTOTYPES ====================================*/
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif // __HAL_DRIVER_GENERIC_LINUX_H__
72#endif // __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
73/* EOF */
Definition vsf_mem_stream.h:88
Definition vsf_simple_stream.h:254
vsf_mem_stream_t VSF_DEBUG_STREAM_RX
Definition NuConsole_stream.c:87
vsf_stream_t VSF_DEBUG_STREAM_TX
Definition NuConsole_stream.c:83