summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-07 18:40:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-07 18:40:15 +0000
commitb4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1 (patch)
tree9a3d520118b0193ad6eedb211b4dfd2051173c18 /nuttx/include
parent21de300584601f990c440757197097746fa40034 (diff)
downloadpx4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.tar.gz
px4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.tar.bz2
px4-nuttx-b4ee6ba758d5582b6b6eb69c4cf4beaa955c5cf1.zip
Verified STM3210E-EVAL button handling and new button test application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3751 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/arch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/arch.h b/nuttx/include/nuttx/arch.h
index 5bc3980aa..3a4dedfa3 100644
--- a/nuttx/include/nuttx/arch.h
+++ b/nuttx/include/nuttx/arch.h
@@ -560,8 +560,10 @@ EXTERN void up_buttoninit(void);
* Description:
* After up_buttoninit() has been called, up_buttons() may be called to
* collect the state of all buttons. up_buttons() returns an 8-bit bit set
- * with each bit associated with a button. The meaning of the each button
- * bit is board-specific.
+ * with each bit associated with a button. A bit set to "1" means that the
+ * button is depressed; a bit set to "0" means that the button is released.
+ * The correspondence of the each button bit and physical buttons is board-
+ * specific.
*
* NOTE: This interface may or may not be supported by board-specific
* logic. If the board supports button interfaces, then CONFIG_ARCH_BUTTONS