1
0
mirror of synced 2024-11-24 10:14:25 +01:00
avr_demo/tpic6b595_shiftout/uart.h

13 lines
323 B
C
Raw Normal View History

2011-11-06 19:04:31 +01:00
int uart_putchar(char c, FILE *stream);
int uart_getchar(FILE *stream);
void uart_init(void);
struct rx_ring;
struct tx_ring;
/* http://www.ermicro.com/blog/?p=325 */
FILE uart_output = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);
FILE uart_input = FDEV_SETUP_STREAM(NULL, uart_getchar, _FDEV_SETUP_READ);