diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-02 18:22:19 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-02 18:22:19 +0000 |
commit | 4f07eda7191ab7914b1b99b9903f2e8b8596e8ce (patch) | |
tree | 8e8f3e816f1c311702c10f0778a7bc06b880f437 /apps/examples/README.txt | |
parent | 3d3bc75c12ccebd3edd25ba13ac7f863f027c2e0 (diff) | |
download | px4-firmware-4f07eda7191ab7914b1b99b9903f2e8b8596e8ce.tar.gz px4-firmware-4f07eda7191ab7914b1b99b9903f2e8b8596e8ce.tar.bz2 px4-firmware-4f07eda7191ab7914b1b99b9903f2e8b8596e8ce.zip |
Add support for STM32 Potentiometer via ADC3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index c3a401c3b..eae8becaf 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -36,15 +36,22 @@ 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. + This test depends on these specific ADC/NSH configurations settings (your + specific ADC settings might require additional settings). + + CONFIG_ADC - Enabled ADC support + 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 + + Specific configuration options for this example include: + + 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_GROUPSIZE - The number of samples to read at once. + CONFIG_EXAMPLES_ADC_GROUPSIZE - The number of samples to read at once. Default: 4 examples/buttons @@ -84,18 +91,17 @@ examples/can sequence of CAN messages and verifies that those messages are returned exactly as sent. - This test depends on these specific CAN configurations settings (your + This test depends on these specific CAN/NSH configurations settings (your specific CAN settings might require additional settings). CONFIG_CAN - Enables CAN support. CONFIG_CAN_LOOPBACK - A CAN driver may or may not support a loopback - mode for testing. The STM32 CAN driver does support loopback mode. + mode for testing. The STM32 CAN driver does support loopback mode. + CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. + Default: Built as a standalone problem Specific configuration options for this example include: - CONFIG_NSH_BUILTIN_APPS - Build the CAN test as an NSH built-in function. - Default: Built as a standalone problem - CONFIG_CAN_LOOPBACK CONFIG_EXAMPLES_CAN_DEVPATH - The path to the CAN device. Default: /dev/can0 CONFIG_EXAMPLES_CAN_NMSGS - If CONFIG_NSH_BUILTIN_APPS is defined, then the number of loops is provided on the command line @@ -713,9 +719,16 @@ examples/pwm a specified frequency and duty for a specified period of time. This example can ONLY be built as an NSH built-in function. + This test depends on these specific PWM/NSH configurations settings (your + specific PWM settings might require additional settings). + + CONFIG_PWM - Enables PWM support. CONFIG_NSH_BUILTIN_APPS - Build the PWM test as an NSH built-in function. Default: Not built! The example can only be used as an NSH built-in application + + Specific configuration options for this example include: + CONFIG_EXAMPLES_PWM_DEVPATH - The path to the PWM device. Default: /dev/pwm0 CONFIG_EXAMPLES_PWM_FREQUENCY - The initial PWM frequency. Default: 100 Hz CONFIG_EXAMPLES_PWM_DUTYPCT - The initial PWM duty as a percentage. Default: 50% |