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
0c7939a556
spi: changed write function prototype.
...
* Added write_buf for buffer transfer
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-16 14:31:41 +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