aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/i2c.h
Commit message (Collapse)AuthorAgeFilesLines
* i2c: Various fixes, extensions, documentation.Perry Hung2011-05-121-20/+64
| | | | | | | | | | | | -Fix clock calculations for fast-mode support -Add I2C_REMAP option to remap i2c1 (untested) -Add I2C_BUS_RESET option to reset bus on initialization -Add optional timeout parameter -Doxygen comments -Various cleanup 10-bit slave addressing is untested until I have a device that speaks such.
* I2C fixup.Marti Bolivar2011-04-251-0/+1
| | | | Added i2c_init() for consistency with rest of libmaple.
* i2c cleanups.Marti Bolivar2011-04-141-63/+63
| | | | Whitespace and column width changes only.
* Reverting some "volatile" -> "__io" changes.Marti Bolivar2011-04-121-1/+1
| | | | See https://github.com/leaflabs/libmaple/commit/c57d760676b97a0fc9cb51db99c8400bae2cb3b7#commitcomment-338822
* Adding i2c2 and i2c fast modeAnton Eltchaninov2011-04-121-2/+3
| | | | Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
* Changing usages of "volatile" to "__io".Marti Bolivar2011-04-121-1/+1
|
* Merge branch 'i2c-wip' into refactorPerry Hung2011-03-211-1/+1
| | | | | | | Conflicts: examples/test-fsmc.cpp libmaple/rules.mk wirish/boards.h
* Add rudimentary error handling for nack conditionPerry Hung2011-03-141-11/+32
|
* Fix merge error and compile error.Perry Hung2011-03-111-25/+91
|
* checkpointPerry Hung2011-02-261-0/+172