aio: added configuration within platform data.
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Wed, 25 Jun 2014 16:32:41 +0000 (17:32 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Wed, 25 Jun 2014 16:32:41 +0000 (17:32 +0100)
commite5c7e64cf3bea6993183579d978dec0306f02eb3
tree1c5fc5d34a4250161b1d08bbe55618a70aff7709
parent9a81b043be6d1fccbe5b0da11463de65098cd15f
aio: added configuration within platform data.

* Allows for different bit shifting for each platform.
* New functions added for obtaining this information
* mraa_adc_raw_bits
* mraa_adc_supported_bits

* Update board information to include this. AIO module changed to allow
* use of the new board data

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
api/mraa/aio.h
api/mraa/common.h
src/aio/aio.c
src/intel_galileo_rev_d.c
src/intel_galileo_rev_g.c
src/mraa.c