summaryrefslogtreecommitdiff
path: root/firmware/export/serial.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-12-25 01:46:16 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-12-25 01:46:16 +0000
commit70e9c7aed361787a404c4856211ddf53127fca9a (patch)
tree3072967cf3ed2779acf939e150694ef437cbad2d /firmware/export/serial.h
parentf921f74873a1439cf4e25b87192b31c079863924 (diff)
downloadrockbox-70e9c7aed361787a404c4856211ddf53127fca9a.tar.gz
rockbox-70e9c7aed361787a404c4856211ddf53127fca9a.zip
Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/serial.h')
-rw-r--r--firmware/export/serial.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/serial.h b/firmware/export/serial.h
index 425fc66fc6..8a4780c3f1 100644
--- a/firmware/export/serial.h
+++ b/firmware/export/serial.h
@@ -22,8 +22,11 @@
22#ifndef __SERIAL_H__ 22#ifndef __SERIAL_H__
23#define __SERIAL_H__ 23#define __SERIAL_H__
24 24
25extern void serial_setup (void); 25extern void serial_setup(void);
26extern void serial_bitrate(int rate);
26extern int remote_control_rx(void); 27extern int remote_control_rx(void);
27extern void serial_tx(const unsigned char *buf); 28extern void serial_tx(const unsigned char *buf);
29extern void tx_writec(unsigned char c);
30extern int tx_rdy(void);
28 31
29#endif 32#endif