summaryrefslogtreecommitdiff
path: root/firmware/export/pcf50606.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/pcf50606.h')
-rw-r--r--firmware/export/pcf50606.h7
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
22void pcf50606_init(void); 22void pcf50606_init(void);
23void pcf50606_i2c_recalc_delay(int cpu_clock);
24int pcf50606_write_multiple(int address, const unsigned char* buf, int count); 23int pcf50606_write_multiple(int address, const unsigned char* buf, int count);
25int pcf50606_write(int address, unsigned char val); 24int pcf50606_write(int address, unsigned char val);
26int pcf50606_read_multiple(int address, unsigned char* buf, int count); 25int pcf50606_read_multiple(int address, unsigned char* buf, int count);
27int pcf50606_read(int address); 26int 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 */
29void pcf50606_i2c_init(void);
30void pcf50606_i2c_recalc_delay(int cpu_clock);
30void pcf50606_i2c_start(void); 31void pcf50606_i2c_start(void);
31void pcf50606_i2c_stop(void); 32void pcf50606_i2c_stop(void);
32void pcf50606_i2c_ack(bool ack); 33void pcf50606_i2c_ack(bool ack);
@@ -34,4 +35,8 @@ bool pcf50606_i2c_getack(void);
34void pcf50606_i2c_outb(unsigned char byte); 35void pcf50606_i2c_outb(unsigned char byte);
35unsigned char pcf50606_i2c_inb(bool ack); 36unsigned char pcf50606_i2c_inb(bool ack);
36 37
38#if defined(IAUDIO_X5) && !defined(SIMULATOR)
39void pcf50606_reset_timeout(void);
37#endif 40#endif
41
42#endif /* PCF50606_H */