Private
Public Access
2
0

i2c: Work started on using pinmap with i2c

* Update examples and swig interface.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-02 16:07:18 +01:00
parent 1005df1652
commit 64d3c78ca9
7 changed files with 80 additions and 9 deletions

View File

@@ -138,7 +138,11 @@ unsigned int maa_check_gpio(int pin);
*/
unsigned int maa_check_aio(int pin);
//unsigned int maa_check_pwm(int pin);
/** Check i2c interface, sets up multiplexer on device.
*
* @return unsigned int if using /dev/i2c-2 returned would be 2
*/
unsigned int maa_check_i2c();
/** Get the version string of maa autogenerated from git tag
*