From 324c5ba9098c1010d0aa8c1e26b95509878ce9f2 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 11 Oct 2011 21:50:49 +0200 Subject: Mini-Octopus build from r@171 --- firmware/uart.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 firmware/uart.h (limited to 'firmware/uart.h') diff --git a/firmware/uart.h b/firmware/uart.h new file mode 100644 index 0000000..fc89a0a --- /dev/null +++ b/firmware/uart.h @@ -0,0 +1,19 @@ +void uart_parser(char *); +char uart_init(char); +void uart_init_usb(char); +char uart_deinit(char); +void uart_deinit_usb(char); +char uart_baudrate(char uartport, char, char, char, char); +void uart_baudrate_usb(char uartport, char, char, char, char); +char uart_stopbits(char, char); +void uart_stopbits_usb(char, char); +char uart_databits(char, char); +void uart_databits_usb(char, char); +char uart_parity(char, char); +void uart_parity_usb(char, char); +char uart_putchar(char, char); +char uart_getchar(char uartport); +char uart_send(char uartport, unsigned int length, char *buf); +void uart_send_usb(char uartport, char length, char *buf); +void uart_recv_usb(char uartport, int length); +char uart_recv(char uartport, char * buf, int length); -- cgit v1.2.1