summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/mrobe-500/uart-target.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-09-30 08:57:49 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-09-30 08:57:49 +0000
commit80f1688423eaad7a2ad9e4809331e192bcd0047d (patch)
tree716c8e3160daaa7f462cfe6cf6f848c41b61b2e6 /firmware/target/arm/tms320dm320/mrobe-500/uart-target.h
parenta5e788fe8533f6172b3d6b52d2430fe163f7a6fd (diff)
downloadrockbox-80f1688423eaad7a2ad9e4809331e192bcd0047d.tar.gz
rockbox-80f1688423eaad7a2ad9e4809331e192bcd0047d.zip
I got bullied in IRC by linuxstb and markun...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/uart-target.h')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/uart-target.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/uart-target.h b/firmware/target/arm/tms320dm320/mrobe-500/uart-target.h
new file mode 100644
index 0000000000..f077dc1025
--- /dev/null
+++ b/firmware/target/arm/tms320dm320/mrobe-500/uart-target.h
@@ -0,0 +1,33 @@
1/*
2 * (C) Copyright 2007 Catalin Patulea <cat@vv.carleton.ca>
3 *
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
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
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
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17 * MA 02111-1307 USA
18 *
19 */
20#ifndef UART_H
21#define UART_H
22
23void uart_init(void);
24bool uart1_getch(char *c);
25void uart1_heartbeat(void);
26
27void uartPuts(const char *str);
28void uartGets(char *str, unsigned int size);
29int uartPollch(unsigned int ticks);
30void uartPutc(char ch);
31void uartPutHex(unsigned int n);
32
33#endif