Statistics
| Branch: | Tag: | Revision:

root / analog_exp / uart.h @ 168:bfc84ee2839b

History | View | Annotate | Download (366 Bytes)

1
#ifndef __uart_h_
2
#define __uart_h_
3
4
#include <stdio.h>
5
6
#define RXD_PIN 0
7
#define TXD_PIN 1
8
9
void uart_setup(void);
10
int16_t uart_getchar(uint8_t blocking);
11
void uart_putchar(uint8_t c);
12
void uart_putdata(uint8_t *data, uint8_t count);
13
uint8_t uart_data_available();
14
15
int uart_getchar_f(FILE *stream);
16
int uart_putchar_f(char c, FILE *stream);
17
18
#endif // __uart_h_
19