diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-07-03 15:18:41 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-07-03 15:18:41 +0000 |
commit | e36b20c4a1709ae9fd3020b9f08875c8c03a0912 (patch) | |
tree | d17371221234fc16da4e9175fdd0890b7eb58b62 /firmware/export/i2c.h | |
parent | 22b6def065ab7c2ca030f405577e34104ad20011 (diff) | |
download | rockbox-e36b20c4a1709ae9fd3020b9f08875c8c03a0912.tar.gz rockbox-e36b20c4a1709ae9fd3020b9f08875c8c03a0912.zip |
imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30120 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/i2c.h')
-rw-r--r-- | firmware/export/i2c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/i2c.h b/firmware/export/i2c.h index 49529c4635..ac9ddba055 100644 --- a/firmware/export/i2c.h +++ b/firmware/export/i2c.h | |||
@@ -27,6 +27,7 @@ extern void i2c_end(void); | |||
27 | extern int i2c_write(int device, const unsigned char* buf, int count ); | 27 | extern int i2c_write(int device, const unsigned char* buf, int count ); |
28 | extern int i2c_read(int device, unsigned char* buf, int count ); | 28 | extern int i2c_read(int device, unsigned char* buf, int count ); |
29 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); | 29 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); |
30 | extern int i2c_writemem(int device, int address, const unsigned char* buf, int count ); | ||
30 | extern void i2c_outb(unsigned char byte); | 31 | extern void i2c_outb(unsigned char byte); |
31 | extern unsigned char i2c_inb(int ack); | 32 | extern unsigned char i2c_inb(int ack); |
32 | extern void i2c_start(void); | 33 | extern void i2c_start(void); |