From b7edb56d6f88d7d853d49f668723a6fad248692d Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Dec 2011 23:06:41 +0000 Subject: Add a test for PWM drivers git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4202 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/examples/README.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'apps/examples/README.txt') diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 4460e2c66..ff8dcead1 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -678,6 +678,22 @@ examples/poll CONFIGURED_APPS += uiplib +examples/pwm +^^^^^^^^^^^^ + + A test of a PWM device driver. It simply enables a pulsed output for + a specified frequency and duty for a specified period of time. This + example can ONLY be built as an NSH built-in function. + + 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 + 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% + CONFIG_EXAMPLES_PWM_DURATION - The initial PWM pulse train duration in sectonds. + as a percentage. Default: 5 seconds + examples/rgmp ^^^^^^^^^^^^^ -- cgit v1.2.3