diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-09 18:56:05 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-09 18:56:05 +0000 |
commit | f28db5c1c3a9cd7cde99d1808575211e54f316c4 (patch) | |
tree | 1d92beb75346937900f2fbaf4aeeada000e0720d /apps/examples/README.txt | |
parent | 94e1048f0bf856ec1fdacd23bdbb05e3368021dd (diff) | |
download | px4-firmware-f28db5c1c3a9cd7cde99d1808575211e54f316c4.tar.gz px4-firmware-f28db5c1c3a9cd7cde99d1808575211e54f316c4.tar.bz2 px4-firmware-f28db5c1c3a9cd7cde99d1808575211e54f316c4.zip |
Add pulse count support to apps/examples/pwm
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4286 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index eae8becaf..887266e2a 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -723,6 +723,8 @@ examples/pwm specific PWM settings might require additional settings). CONFIG_PWM - Enables PWM support. + CONFIG_EXAMPLES_PWM_COUNT - Enabled PWM pulse count support (if the + hardware supports it). 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 @@ -733,7 +735,11 @@ examples/pwm 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 + as a percentage. Used only if the current pulse count is zero (pulse count + is only supported if CONFIG_PWM_PULSECOUNT is defined). Default: 5 seconds + CONFIG_EXAMPLES_PWM_COUNT - The initial PWM pulse count. This option is + only available if CONFIG_PWM_PULSECOUNT is defined. Default: 0 (i.e., use + the duration, not the count). examples/rgmp ^^^^^^^^^^^^^ |