mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 10:54:43 +08:00
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:
@@ -92,6 +92,8 @@
|
||||
*/
|
||||
|
||||
#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)
|
||||
* .... ..O. .... ....
|
||||
|
||||
Reference in New Issue
Block a user