summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-12 14:03:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-12 14:03:08 -0600
commit46a5cdb8974692bb597525cc0c9fe9f8d0d50895 (patch)
tree441bab355b7d358d1d7ee2962a5b6cad802de6d6
parent712b80753e9d3dd1cc322444c34c3021d105bcc0 (diff)
downloadpx4-nuttx-46a5cdb8974692bb597525cc0c9fe9f8d0d50895.tar.gz
px4-nuttx-46a5cdb8974692bb597525cc0c9fe9f8d0d50895.tar.bz2
px4-nuttx-46a5cdb8974692bb597525cc0c9fe9f8d0d50895.zip
SAMA5D4-EK: Valid MXT interrupts should only occur on the falling edge of the ~CHG signal
-rw-r--r--nuttx/configs/sama5d4-ek/src/sama5d4-ek.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h b/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
index 1cddca30a..8fc867f30 100644
--- a/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
+++ b/nuttx/configs/sama5d4-ek/src/sama5d4-ek.h
@@ -387,11 +387,11 @@
*/
#define PIO_CHG_MXT (PIO_INPUT | PIO_CFG_PULLUP | PIO_CFG_DEGLITCH | \
- PIO_INT_BOTHEDGES | PIO_PORT_PIOE | PIO_PIN24)
+ PIO_INT_FALLING | PIO_PORT_PIOE | PIO_PIN24)
#define IRQ_CHG_MXT SAM_IRQ_PE24
#define PIO_CHG_QT (PIO_INPUT | PIO_CFG_PULLUP | PIO_CFG_DEGLITCH | \
- PIO_INT_BOTHEDGES | PIO_PORT_PIOE | PIO_PIN25)
+ PIO_INT_FALLING | PIO_PORT_PIOE | PIO_PIN25)
#define IRQ_CHG_QT SAM_IRQ_PE25
/* The touchscreen communicates on TWI0, I2C address 0x4c */