The friendly Operating System for the Internet of Things
uart_stdio.h File Reference

Detailed Description

Kaspar Schleiser

Definition in file uart_stdio.h.

#include <stdint.h>
#include "board.h"
+ Include dependency graph for uart_stdio.h:

Go to the source code of this file.


 UART device to use for STDIO.
#define UART_STDIO_BAUDRATE   (115200)
 Baudrate for STDIO.
#define UART_STDIO_RX_BUFSIZE   (64)
 Buffer size for STDIO.


void uart_stdio_init (void)
 initialize the module
int uart_stdio_read (char *buffer, int len)
 read len bytes from stdio uart into buffer More...
int uart_stdio_write (const char *buffer, int len)
 write len bytes from buffer into uart More...
void uart_stdio_rx_cb (void *arg, uint8_t data)
 internal callback for periph/uart drivers More...