VSF Documented
debug_uart.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_ALLWINNER_F1CX00S_DEBUG_UART_H__
19#define __HAL_DRIVER_ALLWINNER_F1CX00S_DEBUG_UART_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "hal/vsf_hal_cfg.h"
24
25#if VSF_HAL_USE_DEBUG_STREAM == ENABLED
26
27#if VSF_USE_SIMPLE_STREAM == ENABLED
28# include "service/vsf_service.h"
29#elif VSF_USE_STREAM == ENABLED
31#endif
32
33#include "../../__device.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*============================ MACROS ========================================*/
40
41#if VSF_USE_SIMPLE_STREAM == ENABLED
42# define VSF_DEBUG_STREAM_NEED_POLL
43#elif VSF_USE_STREAM == ENABLED
44#endif
45
46/*============================ MACROFIED FUNCTIONS ===========================*/
47/*============================ TYPES =========================================*/
48/*============================ GLOBAL VARIABLES ==============================*/
49
50#if VSF_USE_SIMPLE_STREAM == ENABLED
53#elif VSF_USE_STREAM == ENABLED
54#endif
55
56/*============================ INCLUDES ======================================*/
57/*============================ PROTOTYPES ====================================*/
58
59#if VSF_USE_SIMPLE_STREAM == ENABLED
60extern void VSF_DEBUG_STREAM_POLL(void);
61#elif VSF_USE_STREAM == ENABLED
62#endif
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
69#endif
70/* EOF */
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
void VSF_DEBUG_STREAM_POLL(void)
Definition NuConsole_stream.c:118
Definition vsf_mem_stream.h:88
Definition vsf_simple_stream.h:254