Definition in file stdio_base.h.
Go to the source code of this file.
Data Structures | |
struct | stdio_provider_t |
stdio provider struct More... | |
Macros | |
#define | STDIO_RX_BUFSIZE (64) |
Buffer size for STDIO. | |
#define | STDIO_PROVIDER(_type, _open, _close, _write) |
stdio implementation methods | |
Enumerations | |
enum | { STDIO_NULL , STDIO_UART , STDIO_RTT , STDIO_SEMIHOSTING , STDIO_USBUS_CDC_ACM , STDIO_TINYUSB_CDC_ACM , STDIO_ESP32_SERIAL_JTAG , STDIO_NIMBLE , STDIO_UDP , STDIO_TELNET , STDIO_ETHOS , STDIO_SLIP } |
Functions | |
void | stdio_init (void) |
initialize the module | |
int | stdio_available (void) |
Get the number of bytes available for reading from stdio. | |
ssize_t | stdio_read (void *buffer, size_t max_len) |
read len bytes from stdio uart into buffer | |
ssize_t | stdio_write (const void *buffer, size_t len) |
write len bytes from buffer into STDOUT | |
void | stdio_close (void) |
Disable stdio and detach stdio providers. | |
Variables | |
isrpipe_t | stdin_isrpipe |
isrpipe for writing stdin input to | |