diff options
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 */ | ||