Add LED logic

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3027 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-10-17 00:42:01 +00:00
parent 70c7bb775e
commit eaa1bb8a1e
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@
*/ */
#define GPIO_VALUE (1 << 10) /* Bit 10: Output value */ #define GPIO_VALUE (1 << 10) /* Bit 10: Output value */
#define GPIO_HIGH GPIO_VALUE
#define GPIO_LOW (0)
/* Input/Ouptut (Valid only if GPIO_ENABLE) /* Input/Ouptut (Valid only if GPIO_ENABLE)
* .... ..O. .... .... * .... ..O. .... ....