Brendan Le Foll
0fe7bd335c
src: add unistd.h to pwm and spi modules to remove compiler warnings
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-22 14:54:19 +01:00
Thomas Ingleby
2b8ab38418
maa: hide and rename internal maa functions
...
Based on feedback received. All check functions renamed to setup.
Update all modules to use new name and header.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-21 13:17:16 +01:00
Thomas Ingleby
a8d7473a5b
spi: completed implementation.
...
* Added more functions for transaction settings.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-21 09:50:28 +01:00
Thomas Ingleby
66550f9487
spi: Use new feature of pinmap to get split info.
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-21 09:50:24 +01:00
Brendan Le Foll
bf50a94a8e
spi: fix use of memset sizeof param
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-16 14:44:14 +01:00
Brendan Le Foll
d0240cd50a
spi.hpp: Add C++ wrapper around Spi
...
* maa_spi_context becomes an opaque pointer
* C++ wrapper class Spi created
* swig now uses C++ wrapper Gpio to generate API
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-16 14:31:46 +01:00
Thomas Ingleby
9186b79967
spi: implemented write functions
...
Still basic, more work needed
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-16 14:31:43 +01:00
Brendan Le Foll
4129d4e16d
spi: add destructor
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-01 16:11:16 +01:00
Thomas Ingleby
e04d776c95
spi: Add initial SPI api
...
* Skeleton implementation included too.
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-04-30 14:43:59 +01:00