20#ifndef PICO_STDOUT_MUTEX
21#define PICO_STDOUT_MUTEX 1
25#ifndef PICO_STDIO_ENABLE_CRLF_SUPPORT
26#define PICO_STDIO_ENABLE_CRLF_SUPPORT 1
30#ifndef PICO_STDIO_DEFAULT_CRLF
31#define PICO_STDIO_DEFAULT_CRLF 1
35#ifndef PICO_STDIO_STACK_BUFFER_SIZE
36#define PICO_STDIO_STACK_BUFFER_SIZE 128
40#ifndef PICO_STDIO_DEADLOCK_TIMEOUT_MS
41#define PICO_STDIO_DEADLOCK_TIMEOUT_MS 1000
45#ifndef PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS
46#define PICO_STDIO_SHORT_CIRCUIT_CLIB_FUNCS 1
187int stdio_put_string(
const char *s,
int len,
bool newline,
bool cr_translation);
bool stdio_init_all(void)
Initialize all of the present standard stdio types that are linked into the binary.
Definition: stdio.c:200
int stdio_put_string(const char *s, int len, bool newline, bool cr_translation)
Prints a buffer to stdout with optional newline and carriage return insertion.
Definition: stdio.c:92
int stdio_getchar_timeout_us(uint32_t timeout_us)
Return a character from stdin if there is one available within a timeout.
Definition: stdio.c:255
int stdio_puts(const char *s)
stdio_getchar Alias for puts that definitely does not go thru the implementation in the standard C li...
Definition: stdio.c:308
void stdio_set_chars_available_callback(void(*fn)(void *), void *param)
get notified when there are input characters available
Definition: stdio.c:282
int stdio_putchar(int)
stdio_getchar Alias for putchar that definitely does not go thru the implementation in the standard C...
Definition: stdio.c:302
static int getchar_timeout_us(uint32_t timeout_us)
Alias for stdio_getchar_timeout_us for backwards compatibility.
Definition: stdio.h:97
int stdio_get_until(char *buf, int len, absolute_time_t until)
Waits until a timeout to reard at least one character into a buffer.
Definition: stdio.c:116
void stdio_set_driver_enabled(stdio_driver_t *driver, bool enabled)
Adds or removes a driver from the list of active drivers used for input/output.
Definition: stdio.c:151
int stdio_putchar_raw(int c)
putchar variant that skips any CR/LF conversion if enabled
Definition: stdio.c:138
void stdio_flush(void)
Flushes any buffered output.
Definition: stdio.c:168
static int puts_raw(const char *s)
Alias for stdio_puts_raw for backwards compatibility.
Definition: stdio.h:150
int stdio_vprintf(const char *format, va_list va)
stdio_getchar Alias for vprintf that definitely does not go thru the implementation in the standard C...
Definition: stdio.c:317
void stdio_set_translate_crlf(stdio_driver_t *driver, bool translate)
control conversion of line feeds to carriage return on transmissions
Definition: stdio.c:267
int stdio_getchar(void)
stdio_getchar Alias for getchar that definitely does not go thru the implementation in the standard C...
Definition: stdio.c:294
bool stdio_deinit_all(void)
Deinitialize all of the present standard stdio types that are linked into the binary.
Definition: stdio.c:226
int stdio_puts_raw(const char *s)
puts variant that skips any CR/LF conversion if enabled
Definition: stdio.c:144
void stdio_filter_driver(stdio_driver_t *driver)
Control limiting of output to a single driver.
Definition: stdio.c:263
static int putchar_raw(int c)
Alias for stdio_putchar_raw for backwards compatibility.
Definition: stdio.h:138
int __printflike(1, 0) stdio_printf(const char *format
stdio_getchar Alias for printf that definitely does not go thru the implementation in the standard C ...
uint64_t absolute_time_t
An opaque 64 bit timestamp in microseconds.
Definition: types.h:43