Private
Public Access
2
0

spi-pinmap: added spi checking functions.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-14 16:06:57 +01:00
committed by Brendan Le Foll
parent ed23cc44e4
commit 352e1e084d
2 changed files with 36 additions and 0 deletions

View File

@@ -205,6 +205,12 @@ unsigned int maa_check_aio(int pin);
*/
unsigned int maa_check_i2c();
/** Check spi interface, sets up multiplexer on device.
*
* @return unsigned int if using /dev/spi-1.0 returned would be 1.0
*/
double maa_check_spi();
/** Check PWM
*
* Will check input is valid for pwm and will also setup required multiplexers.