Menu Toggle
v1.5.0
Introduction
API Documentation
Examples
+
Additional Documentation
Raspberry Pi Pico Datasheet
Raspberry Pi Pico W Datasheet
RP2040 Datasheet
Hardware design with RP2040
Raspberry Pi Pico C/C++ SDK
Raspberry Pi Pico Python SDK
Getting started with Raspberry Pi Pico
Connecting to the Internet with Raspberry Pi Pico W
+
Web
Raspberry Pi Site
Raspberry Pi Pico Page
Raspberry Pi Forums
Raspberry Pi Pico SDK on GitHub
Pico Examples on GitHub
Pico Extras on GitHub
Pico Playground on GitHub
Pico Bootrom on GitHub
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
driver.h
1
/*
2
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef _PICO_STDIO_DRIVER_H
8
#define _PICO_STDIO_DRIVER_H
9
10
#include "
pico/stdio.h
"
11
12
struct
stdio_driver
{
13
void (*out_chars)(
const
char
*buf,
int
len);
14
void (*out_flush)(void);
15
int (*in_chars)(
char
*buf,
int
len);
16
void (*set_chars_available_callback)(void (*fn)(
void
*),
void
*param);
17
stdio_driver_t
*next;
18
#if PICO_STDIO_ENABLE_CRLF_SUPPORT
19
bool
last_ended_with_cr;
20
bool
crlf_enabled;
21
#endif
22
};
23
24
#endif
stdio.h
stdio_driver
Definition:
driver.h:12