v2.0.0
stdio_rtt.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_STDIO_RTT_H
8#define _PICO_STDIO_RTT_H
9
10#include "pico/stdio.h"
11
20// PICO_CONFIG: PICO_STDIO_RTT_DEFAULT_CRLF, Default state of CR/LF translation for rtt output, type=bool, default=PICO_STDIO_DEFAULT_CRLF, group=pico_stdio_rtt
21#ifndef PICO_STDIO_RTT_DEFAULT_CRLF
22#define PICO_STDIO_RTT_DEFAULT_CRLF PICO_STDIO_DEFAULT_CRLF
23#endif
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29extern stdio_driver_t stdio_rtt;
30
36void stdio_rtt_init(void);
37
43void stdio_rtt_deinit(void);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif
stdio_rtt_deinit
void stdio_rtt_deinit(void)
Explicitly deinitialize stdin/stdout over RTT and remove it from the current set of stdin/stdout driv...
Definition: stdio_rtt.c:24
stdio_rtt_init
void stdio_rtt_init(void)
Explicitly initialize stdin/stdout over RTT and add it to the current set of stdin/stdout drivers.
Definition: stdio_rtt.c:18
stdio.h
stdio_driver
Definition: driver.h:12