zephyr/tests/drivers/adc/adc_api
jing wang 484f07cec7 tests: add zephyr adc driver api test case
the commit test below adc driver api with different resolutions
and modes
    adc_enable()
    adc_read()
    adc_disable()

move original adc test to adc_simple folder

Change-Id: I016b5e67a5d89fc8d5ae76f33799e5d3eb3e1cf8
Signed-off-by: jing wang <jing.j.wang@intel.com>
2017-02-12 00:33:59 +00:00
..
src tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
Makefile tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
README tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
prj_poll_mode.conf tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
prj_resolution_6.conf tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
prj_resolution_8.conf tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
prj_resolution_10.conf tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
prj_resolution_12.conf tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
testcase.ini tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00

README

This is the test app which test ADC on Quark SE processor.

Default ADC mode is interrupt mode.
The case tests ADC working in different resolutions.

The analog input pin and channel number mapping
for Quark Se Devboard.
A0 Channel 10
A1 Channel 11
A2 Channel 12
A3 Channel 13
A4 Channel 14

This test uses channel 10 to sample the voltage of VCC3.3.
So connect A0 to VCC3.3 and start the APP.