From 6ac92b4ccedc22e87d31db846c8ea16fc5f96ae9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 13 Jan 2015 12:57:26 -0600 Subject: apps/exemples/timer: Add a trivial test of the timer driver --- apps/examples/README.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'apps/examples/README.txt') 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 ^^^^^^^^^^^^^^^^^^^^ -- cgit v1.2.3