Private
Public Access
2
0

pinmap: Added aio support.

* Intel Galileo Rev D: Added analog information
* maa_check_aio, similar to maa_check_gpio, will setup multiplexers.
* aio: Removed now duplicated functionality.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-05-02 11:52:40 +01:00
parent 9878b2e419
commit fd1c1c80f4
6 changed files with 187 additions and 127 deletions

View File

@@ -28,11 +28,12 @@
int main ()
{
maa_init();
maa_aio_context* adc_a0;
unsigned int adc_value = 0;
int i = 0;
adc_a0 = maa_aio_init(A0);
adc_a0 = maa_aio_init(0);
if (adc_a0 == NULL) {
return 1;
}