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_X86_WIN_H__
27#define __HAL_DRIVER_X86_WIN_H__
28
29/*============================ INCLUDES ======================================*/
30
31#include "service/vsf_service.h"
32
33#include "./device.h"
34#include "./uart/uart.h"
35#include "./rtc/rtc.h"
36#include "./rng/rng.h"
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/*============================ MACROS ========================================*/
43/*============================ MACROFIED FUNCTIONS ===========================*/
44/*============================ TYPES =========================================*/
45/*============================ INCLUDES ======================================*/
46
47#if VSF_HAL_USE_USART == ENABLED
48# define VSF_USART_CFG_REIMPLEMENT_TYPE_MODE ENABLED
49# define VSF_USART_CFG_REIMPLEMENT_TYPE_IRQ_MASK ENABLED
51
52# define VSF_USART_CFG_DEC_PREFIX vsf_win
53# define VSF_USART_CFG_DEC_UPCASE_PREFIX VSF_WIN
55
56# define VSF_USART_CFG_DEC_PREFIX vsf_hw
57# define VSF_USART_CFG_DEC_UPCASE_PREFIX VSF_HW
58# define VSF_USART_CFG_DEC_REMAP_PREFIX vsf_fifo2req
59# define VSF_HW_USART_COUNT VSF_WIN_USART_COUNT
61#endif
62
63#if VSF_HAL_USE_RTC == ENABLED
65
66# define VSF_RTC_CFG_DEC_PREFIX vsf_hw
67# define VSF_RTC_CFG_DEC_UPCASE_PREFIX VSF_HW
69#endif
70
71#if VSF_HAL_USE_RNG == ENABLED
73
74# define VSF_RNG_CFG_DEC_PREFIX vsf_hw
75# define VSF_RNG_CFG_DEC_UPCASE_PREFIX VSF_HW
77#endif
78
79#if VSF_HAL_USE_USBD == ENABLED || VSF_HAL_USE_USBH == ENABLED
81#endif
82
83/*============================ GLOBAL VARIABLES ==============================*/
84
85#if VSF_USE_SIMPLE_STREAM == ENABLED
88#endif
89
90/*============================ LOCAL VARIABLES ===============================*/
91/*============================ PROTOTYPES ====================================*/
92
93#ifdef __cplusplus
94}
95#endif
96
97#endif // __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
98#endif
99/* 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