From 5ad562aaa8fff477e9298d04d3d33f09c153a234 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 14 Dec 2011 23:37:38 +0000 Subject: Add a framework for an ADC test git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4180 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/README.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'apps/examples/README.txt') diff --git a/apps/examples/README.txt b/apps/examples/README.txt index fee9e66a5..63b0a0223 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -30,6 +30,23 @@ examples the specific example. See the following for examples that support this option). +examples/adc +^^^^^^^^^^^^ + + A mindlessly simple test of an ADC devices. It simply reads from the + ADC device and dumps the data to the console forever. + + - CONFIG_NSH_BUILTIN_APPS - Build the ADC test as an NSH built-in function. + Default: Built as a standalone problem + - CONFIG_EXAMPLES_ADC_DEVPATH - The path to the ADC device. Default: /dev/adc0 + - CONFIG_EXAMPLES_ADC_NSAMPLES - If CONFIG_NSH_BUILTIN_APPS + is defined, then the number of samples is provided on the command line + and this value is ignored. Otherwise, this number of samples is + collected and the program terminates. Default: Samples are collected + indefinitely. + - CONFIG_EXAMPLES_ADC_SAMPLESIZE - The number of bytes to read in one sample. + Default: 8 + examples/buttons ^^^^^^^^^^^^^^^^ -- cgit v1.2.3