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 void stdio_flush(void)
Flushes any buffered output.
Definition: stdio.c:217
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:200
int putchar_raw(int c)
putchar variant that skips any CR/LF conversion if enabled
Definition: stdio.c:152
void stdio_set_translate_crlf(stdio_driver_t *driver, bool translate)
control conversion of line feeds to carriage return on transmissions
Definition: stdio.c:324
int getchar_timeout_us(uint32_t timeout_us)
Return a character from stdin if there is one available within a timeout.
Definition: stdio.c:312
int puts_raw(const char *s)
puts variant that skips any CR/LF conversion if enabled
Definition: stdio.c:158
bool stdio_init_all(void)
Initialize all of the present standard stdio types that are linked into the binary.Call this method once you have set up your clocks to enable the stdio support for UART, USB and semihosting based on the presence of the respective libraries in the binary.
Definition: stdio.c:283
void stdio_set_chars_available_callback(void(*fn)(void *), void *param)
get notified when there are input characters available
Definition: stdio.c:339
void stdio_filter_driver(stdio_driver_t *driver)
Control limiting of output to a single driver.
Definition: stdio.c:320