diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/uart-target.h')
-rw-r--r-- | firmware/target/arm/tms320dm320/uart-target.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/firmware/target/arm/tms320dm320/uart-target.h b/firmware/target/arm/tms320dm320/uart-target.h index 9be9ba51fe..b065442da6 100644 --- a/firmware/target/arm/tms320dm320/uart-target.h +++ b/firmware/target/arm/tms320dm320/uart-target.h | |||
@@ -1,32 +1,32 @@ | |||
1 | /* | 1 | /* |
2 | * (C) Copyright 2007 Catalin Patulea <cat@vv.carleton.ca> | 2 | * (C) Copyright 2007 Catalin Patulea <cat@vv.carleton.ca> |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or | 4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU General Public License as | 5 | * modify it under the terms of the GNU General Public License as |
6 | * published by the Free Software Foundation; either version 2 of | 6 | * published by the Free Software Foundation; either version 2 of |
7 | * the License, or (at your option) any later version. | 7 | * the License, or (at your option) any later version. |
8 | * | 8 | * |
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License |
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
17 | * MA 02111-1307 USA | 17 | * MA 02111-1307 USA |
18 | * | 18 | * |
19 | */ | 19 | */ |
20 | #ifndef UART_H | 20 | #ifndef UART_H |
21 | #define UART_H | 21 | #define UART_H |
22 | 22 | ||
23 | void uart_init(void); | 23 | void uart_init(void); |
24 | bool uart1_available(void); | 24 | bool uart1_available(void); |
25 | 25 | ||
26 | int uart1_gets_queue(char *, int); | 26 | int uart1_gets_queue(char *, int); |
27 | void uart1_puts(const char *str, int size); | 27 | void uart1_puts(const char *str, int size); |
28 | void uart1_gets(char *str, int size); | 28 | void uart1_gets(char *str, int size); |
29 | void uart1_putc(char ch); | 29 | void uart1_putc(char ch); |
30 | 30 | ||
31 | void uart1_clear_queue(void); | 31 | void uart1_clear_queue(void); |
32 | #endif | 32 | #endif |