Private
Public Access
2
0

i2c: move i2c setup from core into module

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-11-03 15:44:40 +00:00
parent 66c5011cfb
commit ffd38bb68c
3 changed files with 32 additions and 55 deletions

View File

@@ -45,13 +45,6 @@ extern mraa_board_t* plat;
*/
mraa_result_t mraa_setup_mux_mapped(mraa_pin_t meta);
/**
* Setup i2c interface, sets up multiplexer on device.
*
* @return unsigned int if using /dev/i2c-2 returned would be 2
*/
unsigned int mraa_setup_i2c(int* bus);
/** Setup spi interface, sets up multiplexer on device.
*
* @return spi bus type