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

Detailed Description

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

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.

Macros

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

Functions

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...