33 #ifndef STDIO_RX_BUFSIZE 
   37 #define STDIO_RX_BUFSIZE    (64) 
   76     ssize_t (*write)(
const void *src, 
size_t len);
 
   89 #if IS_USED(MODULE_STDIO_AVAILABLE) || DOXYGEN 
  141 #if defined(MODULE_STDIO_DISPATCH) || DOXYGEN 
  150 #define STDIO_PROVIDER(_type, _open, _close, _write)        \ 
  151     XFA_CONST(stdio_provider_t, stdio_provider_xfa, 0) stdio_ ##_type = { \ 
  157 #define STDIO_PROVIDER(_type, _open, _close, _write)        \ 
  158     void stdio_init(void) {                                 \ 
  159         void (*f)(void) = _open;                            \ 
  164     void stdio_close(void) {                                \ 
  165         void (*f)(void) = _close;                           \ 
  170     ssize_t stdio_write(const void* buffer, size_t len) {   \ 
  171         return _write(buffer, len);                         \ 
void stdio_close(void)
Disable stdio and detach stdio providers.
 
isrpipe_t stdin_isrpipe
isrpipe for writing stdin input to
 
void stdio_init(void)
initialize the module
 
ssize_t stdio_read(void *buffer, size_t max_len)
read len bytes from stdio uart into buffer
 
int stdio_available(void)
Get the number of bytes available for reading from stdio.
 
ssize_t stdio_write(const void *buffer, size_t len)
write len bytes from buffer into STDOUT
 
void stdio_clear_stdin(void)
Clear the input buffer.
 
@ STDIO_ESP32_SERIAL_JTAG
stdio via ESP32 debug Serial/JTAG
 
@ STDIO_USBUS_CDC_ACM
stdio via USB CDC ACM (usbus)
 
@ STDIO_UART
stdio via UART
 
@ STDIO_RTT
stdio via Segger RTT
 
@ STDIO_TINYUSB_CDC_ACM
tdio via USB CDC ACM (TinyUSB)
 
@ STDIO_TELNET
stdio via telnet
 
@ STDIO_ETHOS
stdio via ethos (mutiplex)
 
@ STDIO_NIMBLE
stdio via BLE (NimBLE)
 
@ STDIO_SEMIHOSTING
stdio via Semihosting
 
@ STDIO_SLIP
stdio via SLIP (mutiplex)
 
Common macros and compiler attributes/pragmas configuration.
 
Context structure for isrpipe.