diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-16 13:27:07 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-16 13:27:07 +0000 |
| commit | ffe0b23902ef8e92f60b7c15b53dfbb1f23fce8c (patch) | |
| tree | 49733d6b9d8489c5b0ca6d4a266339534337dd66 /firmware/export | |
| parent | fa32b8c1b1112cba4ed19a55dadbd52de85221e9 (diff) | |
| download | rockbox-ffe0b23902ef8e92f60b7c15b53dfbb1f23fce8c.zip rockbox-ffe0b23902ef8e92f60b7c15b53dfbb1f23fce8c.tar.gz rockbox-ffe0b23902ef8e92f60b7c15b53dfbb1f23fce8c.tar.bz2 rockbox-ffe0b23902ef8e92f60b7c15b53dfbb1f23fce8c.tar.xz | |
Added single-byte read/write functions for the PCF50606 driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7905 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/pcf50606.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/pcf50606.h b/firmware/export/pcf50606.h index 3941ea6..fd180bf 100644 --- a/firmware/export/pcf50606.h +++ b/firmware/export/pcf50606.h @@ -21,8 +21,10 @@ #ifdef IRIVER_H300_SERIES void pcf50606_init(void); -int pcf50606_write(int address, const unsigned char* buf, int count); -int pcf50606_read(int address, unsigned char* buf, int count); +int pcf50606_write_multiple(int address, const unsigned char* buf, int count); +int pcf50606_write(int address, unsigned char val); +int pcf50606_read_multiple(int address, unsigned char* buf, int count); +int pcf50606_read(int address); #endif #endif |