summaryrefslogtreecommitdiff
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-14 21:57:38 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-14 21:57:38 +0000
commit5d5fb0b5646aed4cb074eb317fc09170645c7a3f (patch)
treeaed7b7c4f84c4b2016b606b390e818023d2c3841 /nuttx/Documentation
parent8c194ec17b4fc4810bde451e803d9cb29db28e59 (diff)
downloadpx4-nuttx-5d5fb0b5646aed4cb074eb317fc09170645c7a3f.tar.gz
px4-nuttx-5d5fb0b5646aed4cb074eb317fc09170645c7a3f.tar.bz2
px4-nuttx-5d5fb0b5646aed4cb074eb317fc09170645c7a3f.zip
Improved thresholding logic in the STMPE11 driver; NxWM: Oops minimizing wrong application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4737 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index 4ded08f0f..15019ad10 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4730,6 +4730,15 @@ build
<code>CONFIG_STMPE11_REGDEBUG</code>:
Enabled very low register-level debug output. Requires <code>CONFIG_DEBUG</code>.
</li>
+ <li>
+ <code>CONFIG_STMPE11_THRESHX</code> and <code>CONFIG_STMPE11_THRESHY</code>:
+ STMPE11 touchscreen data comes in a a very high rate. New touch positions
+ will only be reported when the X or Y data changes by these thresholds.
+ This trades reduces data rate for some loss in dragging accuracy. The
+ STMPE11 is configure for 12-bit values so the raw ranges are 0-4095. So
+ for example, if your display is 320x240, then THRESHX=13 and THRESHY=17
+ would correspond to one pixel. Default: 12
+ </li>
</ul>
<h3>Analog Devices</h3>