diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-10-25 23:24:07 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-10-25 23:24:07 +0000 |
commit | 784dd787456b8c1f52a98559d645714760cd0ad4 (patch) | |
tree | e6d60a5790d4bbc9689b9d1d5f71799415a2c77a /firmware/export/pcf50606.h | |
parent | 0642451446f3bbaae53948f5fa41485177e3f35e (diff) | |
download | rockbox-784dd787456b8c1f52a98559d645714760cd0ad4.tar.gz rockbox-784dd787456b8c1f52a98559d645714760cd0ad4.zip |
Moved pcf50606 stuff to target directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pcf50606.h')
-rw-r--r-- | firmware/export/pcf50606.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/pcf50606.h b/firmware/export/pcf50606.h index 3e567c963c..1f4b6ba3ad 100644 --- a/firmware/export/pcf50606.h +++ b/firmware/export/pcf50606.h | |||
@@ -20,13 +20,14 @@ | |||
20 | #define PCF50606_H | 20 | #define PCF50606_H |
21 | 21 | ||
22 | void pcf50606_init(void); | 22 | void pcf50606_init(void); |
23 | void pcf50606_i2c_recalc_delay(int cpu_clock); | ||
24 | int pcf50606_write_multiple(int address, const unsigned char* buf, int count); | 23 | int pcf50606_write_multiple(int address, const unsigned char* buf, int count); |
25 | int pcf50606_write(int address, unsigned char val); | 24 | int pcf50606_write(int address, unsigned char val); |
26 | int pcf50606_read_multiple(int address, unsigned char* buf, int count); | 25 | int pcf50606_read_multiple(int address, unsigned char* buf, int count); |
27 | int pcf50606_read(int address); | 26 | int pcf50606_read(int address); |
28 | 27 | ||
29 | /* internal low level calls used by the eeprom driver for h300 */ | 28 | /* internal low level calls used by the eeprom driver for h300 */ |
29 | void pcf50606_i2c_init(void); | ||
30 | void pcf50606_i2c_recalc_delay(int cpu_clock); | ||
30 | void pcf50606_i2c_start(void); | 31 | void pcf50606_i2c_start(void); |
31 | void pcf50606_i2c_stop(void); | 32 | void pcf50606_i2c_stop(void); |
32 | void pcf50606_i2c_ack(bool ack); | 33 | void pcf50606_i2c_ack(bool ack); |
@@ -34,4 +35,8 @@ bool pcf50606_i2c_getack(void); | |||
34 | void pcf50606_i2c_outb(unsigned char byte); | 35 | void pcf50606_i2c_outb(unsigned char byte); |
35 | unsigned char pcf50606_i2c_inb(bool ack); | 36 | unsigned char pcf50606_i2c_inb(bool ack); |
36 | 37 | ||
38 | #if defined(IAUDIO_X5) && !defined(SIMULATOR) | ||
39 | void pcf50606_reset_timeout(void); | ||
37 | #endif | 40 | #endif |
41 | |||
42 | #endif /* PCF50606_H */ | ||