diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-13 12:57:26 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-13 12:57:26 -0600 |
commit | 6ac92b4ccedc22e87d31db846c8ea16fc5f96ae9 (patch) | |
tree | 3c52ab9a6ad48864b9609ee768782aa13e289a33 /apps/examples/README.txt | |
parent | 539679ea1af06dfa26c117023807bf4cb46eb8bf (diff) | |
download | nuttx-6ac92b4ccedc22e87d31db846c8ea16fc5f96ae9.tar.gz nuttx-6ac92b4ccedc22e87d31db846c8ea16fc5f96ae9.tar.bz2 nuttx-6ac92b4ccedc22e87d31db846c8ea16fc5f96ae9.zip |
apps/exemples/timer: Add a trivial test of the timer driver
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 05c51e25b..13586419b 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -1750,6 +1750,31 @@ examples/tiff CONFIG_EXAMPLES_TIFF=y CONFIG_GRAPHICS_TIFF=y +examples/timer +^^^^^^^^^^^^^^ + + This is a simple test of the timer driver (see include/nuttx/timer.h). + + Dependencies: + CONFIG_TIMER - The timer driver must be selected + + Example configuration: + + CONFIG_EXAMPLE_TIMER_DEVNAME - This is the name of the timer device that + will be tested. Default: "/dev/timer0" + CONFIG_EXAMPLE_TIMER_INTERVAL - This is the timer interval in + microseconds. Default: 1000000 + CONFIG_EXAMPLE_TIMER_DELAY - This is the delay between timer samples in + microseconds. Default: 10000 + CONFIG_EXAMPLES_TIMER_APPNAME - This is the name of the built-in + application: Default: "timer" + CONFIG_EXAMPLES_TIMER_STACKSIZE - This is the stack size allocated when + the timer task runs. Default: 2048 + CONFIG_EXAMPLES_TIMER_PRIORITY - This is the priority of the timer task: + Default: 100 + CONFIG_EXAMPLES_TIMER_PROGNAME - This is the name of the program that + will be use when the NSH ELF program is installed. Default: "timer" + examples/touchscreen ^^^^^^^^^^^^^^^^^^^^ |