Select one of the symbols to view example projects that use it.
 
Outline
#define _PICO_STDIO_DRIVER_H
#include "pico/stdio.h"
stdio_driver
Files
loading...
SourceVuRaspberry Pi Pico SDK and ExamplesPicoSDKsrc/rp2_common/pico_stdio/include/pico/stdio/driver.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause *//* ... */ #ifndef _PICO_STDIO_DRIVER_H #define _PICO_STDIO_DRIVER_H #include "pico/stdio.h" struct stdio_driver { void (*out_chars)(const char *buf, int len); void (*out_flush)(void); int (*in_chars)(char *buf, int len); void (*set_chars_available_callback)(void (*fn)(void*), void *param); stdio_driver_t *next; #if PICO_STDIO_ENABLE_CRLF_SUPPORT bool last_ended_with_cr; bool crlf_enabled;/* ... */ #endif ...}; /* ... */ #endif
Details