Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Add GPIO_PIN_INTR and GPIO_PIN_INTR_HIGH (placeholde...



details:   https://anonhg.NetBSD.org/src/rev/f7b2790caebd
branches:  trunk
changeset: 766449:f7b2790caebd
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 23 00:46:37 2011 +0000

description:
Add GPIO_PIN_INTR and GPIO_PIN_INTR_HIGH (placeholders for now).

diffstat:

 sys/sys/gpio.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c0be099d34de -r f7b2790caebd sys/sys/gpio.h
--- a/sys/sys/gpio.h    Wed Jun 22 21:59:15 2011 +0000
+++ b/sys/sys/gpio.h    Thu Jun 23 00:46:37 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.h,v 1.7 2009/09/25 20:27:50 mbalmer Exp $ */
+/* $NetBSD: gpio.h,v 1.8 2011/06/23 00:46:37 matt Exp $ */
 /*     $OpenBSD: gpio.h,v 1.7 2008/11/26 14:51:20 mbalmer Exp $        */
 /*
  * Copyright (c) 2009 Marc Balmer <marc%msys.ch@localhost>
@@ -40,6 +40,8 @@
 #define GPIO_PIN_INVOUT                0x0200  /* invert output */
 #define GPIO_PIN_USER          0x0400  /* user != 0 can access */
 #define GPIO_PIN_PULSATE       0x0800  /* pulsate in hardware */
+#define GPIO_PIN_INTR          0x1000  /* can be as an interrupt */
+#define GPIO_PIN_INTR_HIGH     0x2000  /* interrupt leading edge high */
 #define GPIO_PIN_SET           0x8000  /* set for securelevel access */
 
 /* GPIO controller description */



Home | Main Index | Thread Index | Old Index