diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-03-28 15:09:10 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-03-28 15:09:10 +0000 |
commit | d9eb5c76032867f2f1f03d591c61c59be799fa7a (patch) | |
tree | f0adb17755cc95ddc908842b7d5ff63f5cd4db4e /firmware/serial.h | |
parent | cd0f122071947ea08edea827efe176413de07151 (diff) | |
download | rockbox-d9eb5c76032867f2f1f03d591c61c59be799fa7a.tar.gz rockbox-d9eb5c76032867f2f1f03d591c61c59be799fa7a.zip |
First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@60 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/serial.h')
-rw-r--r-- | firmware/serial.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/firmware/serial.h b/firmware/serial.h new file mode 100644 index 0000000000..eac02e42e4 --- /dev/null +++ b/firmware/serial.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef __SERIAL_H__ | ||
21 | #define __SERIAL_H__ | ||
22 | |||
23 | #include <sh7034.h> | ||
24 | #include <system.h> | ||
25 | |||
26 | extern void serial_putc (char); | ||
27 | extern void serial_puts (char const *); | ||
28 | extern int serial_getc (void); | ||
29 | extern void serial_setup (int); | ||
30 | |||
31 | #endif | ||