summaryrefslogtreecommitdiff
path: root/firmware/drivers/generic_i2c.c
AgeCommit message (Collapse)Author
2021-07-10Sansa Connect: Use deviceid in USB Serial NumberTomasz Moń
Atmel AT88SC6416C CryptoMemory is almost I2C compatible. The device is connected to bitbanged I2C bus shared with compliant I2C devices. Change-Id: Iec54702db1bdfb93c01291eef18ec60391c63b16
2010-06-21Apply FS #11423 - Use udelay in AMS driver for FM radio I2CBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27035 a1c6a512-1295-4272-9138-f99709370657
2009-06-20Fix delays in generic i2c driver, reduce delays in ams sansa fmradio i2c ↵Bertrik Sikken
driver (tested on m200v4, clip, e200v2, fuze). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21421 a1c6a512-1295-4272-9138-f99709370657
2009-06-06Fix some delays in generic_i2cBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21200 a1c6a512-1295-4272-9138-f99709370657
2009-06-01Add missing delay in i2c_start of the generic_i2c driver, used by ams targets.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21159 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Cosmetic fix: remove duplicate semicolonsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-03Simplify generic_i2c, removing the link between i2c address and i2c ↵Bertrik Sikken
interface, adding the concept of an i2c bus index. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20193 a1c6a512-1295-4272-9138-f99709370657
2008-12-08* combine i2c_ack and i2c_outbBertrik Sikken
* do not switch sda back and forth between input and output when reading a byte git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19365 a1c6a512-1295-4272-9138-f99709370657
2008-12-07Generic I2C: fix various problems with this (now) unused driverRafaël Carré
Explicit if SDA is input or output in static functions Do not use logf() but return codes Check for overflow when adding an interface Indent on 4 spaces Rewrite i2c_read_data() and i2c_write_data() using goto for error cases Make subaddress optional (not sent if == -1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19360 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2007-01-09Removed executable flagLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2006-02-22Generic bitbang I2C driverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8782 a1c6a512-1295-4272-9138-f99709370657