summaryrefslogtreecommitdiff
path: root/firmware/export/i2c.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-07-03 15:18:41 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-07-03 15:18:41 +0000
commite36b20c4a1709ae9fd3020b9f08875c8c03a0912 (patch)
treed17371221234fc16da4e9175fdd0890b7eb58b62 /firmware/export/i2c.h
parent22b6def065ab7c2ca030f405577e34104ad20011 (diff)
downloadrockbox-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.h1
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);
27extern int i2c_write(int device, const unsigned char* buf, int count ); 27extern int i2c_write(int device, const unsigned char* buf, int count );
28extern int i2c_read(int device, unsigned char* buf, int count ); 28extern int i2c_read(int device, unsigned char* buf, int count );
29extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); 29extern int i2c_readmem(int device, int address, unsigned char* buf, int count );
30extern int i2c_writemem(int device, int address, const unsigned char* buf, int count );
30extern void i2c_outb(unsigned char byte); 31extern void i2c_outb(unsigned char byte);
31extern unsigned char i2c_inb(int ack); 32extern unsigned char i2c_inb(int ack);
32extern void i2c_start(void); 33extern void i2c_start(void);