diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-04 17:08:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-10-04 17:08:59 +0000 |
commit | 68c47baf9fce581d0078384ef0fcdb6436292fcb (patch) | |
tree | 2acea35bd828c7017ca8e48dd2bafc4fe2610c15 /nuttx/configs/sam3u-ek/src/sam3uek_internal.h | |
parent | 0eda7244af71108683fb409517ccb18dd78dd65c (diff) | |
download | px4-nuttx-68c47baf9fce581d0078384ef0fcdb6436292fcb.tar.gz px4-nuttx-68c47baf9fce581d0078384ef0fcdb6436292fcb.tar.bz2 px4-nuttx-68c47baf9fce581d0078384ef0fcdb6436292fcb.zip |
ADS7843E driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/sam3uek_internal.h')
-rw-r--r-- | nuttx/configs/sam3u-ek/src/sam3uek_internal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/sam3u-ek/src/sam3uek_internal.h b/nuttx/configs/sam3u-ek/src/sam3uek_internal.h index c7f9d4278..1aa66d517 100644 --- a/nuttx/configs/sam3u-ek/src/sam3uek_internal.h +++ b/nuttx/configs/sam3u-ek/src/sam3uek_internal.h @@ -46,6 +46,7 @@ #include <stdint.h> +#include <arch/irq.h> #include <nuttx/irq.h> /************************************************************************************ @@ -138,8 +139,10 @@ /* Touchscreen controller (TSC) */ -#define GPIO_TCS_IRQ (PIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN6) -#define GPIO_TCS_BUSY (PIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN6) +#define GPIO_TCS_IRQ (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN24) +#define GPIO_TCS_BUSY (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN2) + +#define SAM3U_TCS_IRQ SAM3U_IRQ_PA24 /* LEDs */ |