VSF Documented
segger_rtt_stream.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 __SEGGER_RTT_STREAM_H__
19#define __SEGGER_RTT_STREAM_H__
20
21/*============================ INCLUDES ======================================*/
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*============================ MACROS ========================================*/
28
29#if VSF_DEBUGGER_CFG_CONSOLE == VSF_DEBUGGER_CFG_CONSOLE_SEGGER_RTT
30
31#if VSF_USE_SIMPLE_STREAM == ENABLED
32# define VSF_DEBUG_STREAM_NEED_POLL
33#elif VSF_USE_STREAM == ENABLED
34#endif
35
36/*============================ MACROFIED FUNCTIONS ===========================*/
37/*============================ TYPES =========================================*/
38/*============================ GLOBAL VARIABLES ==============================*/
39
40#if VSF_USE_SIMPLE_STREAM == ENABLED
43#elif VSF_USE_STREAM == ENABLED
45#endif
46
47/*============================ PROTOTYPES ====================================*/
48
49#if VSF_USE_SIMPLE_STREAM == ENABLED
50extern void VSF_DEBUG_STREAM_POLL(void);
51#elif VSF_USE_STREAM == ENABLED
52#endif
53
54#endif // VSF_DEBUGGER_CFG_CONSOLE == VSF_DEBUGGER_CFG_CONSOLE_SEGGER_RTT
55#ifdef __cplusplus
56}
57#endif
58
59#endif
60/* EOF */
Definition vsf_mem_stream.h:88
Definition vsf_simple_stream.h:254
struct vsf_stream_tx_t vsf_stream_tx_t
Definition interface.h:34
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