Lay, Kuan Loon
edb7f8a215
iio: iio consolidate read and write API
...
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Lay, Kuan Loon
078b6371d7
iio-example: printf take extra argument
...
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Lay, Kuan Loon
4c41d2c2df
iio: added event api
...
Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Brendan Le Foll
acfb74f04e
iio: Improve iio channel parsing to add enabled channels
...
scale and other attributes have to be read individually as they vary quite alot
depending on the channel. We only care/take data from scan_elements
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Brendan Le Foll
2c97fd5953
iio: initial pass at getting channel information from scan_elements
...
This commit creates a new structure inside each _iio device when used and can
then be used to understand the data being read after a trigger is run/executed
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Brendan Le Foll
b192e7a223
iio_driver.c: remove weird API calls
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Brendan Le Foll
d8c2c7c483
iio: Find attributes and channels in iio device
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00
Brendan Le Foll
8c19105309
iio_driver.c: Add example for iio interface
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-12-15 10:42:06 +00:00