]> defiant.homedns.org Git - ros_wild_thumper.git/blob - avr/motor_ctrl/uart.h
added initial avr motor_ctrl
[ros_wild_thumper.git] / avr / motor_ctrl / uart.h
1 #ifndef UART_H
2 #define UART_H
3
4 #include <stdio.h>
5 #include "ringbuffer.h"
6
7 void setup_uart(unsigned int rate);
8 void uart_putc(char *c);
9 void uart_puts(char *s);
10 int uart_getc(void);
11 void uart_puti(int i);
12 int uart_putchar(char c, FILE *stream);
13 int uart_getchar(FILE *stream);
14 void uart_setup_stdout(void);
15 void uart_stream_update(ringbuffer_t *buffer);
16
17 #endif
18