summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-28 23:04:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-28 23:04:39 +0000
commit18fb9d335d8660f8b043a20c6e40a75039684985 (patch)
treee383c179d4fe172b5c7a0c7660c48b75de587674
parent9072d36de0297f8f7734187c2034cb7573c1b34b (diff)
downloadnuttx-18fb9d335d8660f8b043a20c6e40a75039684985.tar.gz
nuttx-18fb9d335d8660f8b043a20c6e40a75039684985.tar.bz2
nuttx-18fb9d335d8660f8b043a20c6e40a75039684985.zip
Remove some extern GPIO int garbage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2764 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/lpc17_gpio.c9
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/lpc17_gpioint.c90
2 files changed, 0 insertions, 99 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_gpio.c b/nuttx/arch/arm/src/lpc17xx/lpc17_gpio.c
index 853028692..aaa8fc15e 100755
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_gpio.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_gpio.c
@@ -68,15 +68,6 @@
* Private Data
****************************************************************************/
-/* We have to remember the configured interrupt setting.. PINs are not
- * actually set up to interrupt until the interrupt is enabled.
- */
-
-#ifdef CONFIG_GPIO_IRQ
-uint64_t g_intedge0;
-atic uint64_t g_intedge2;
-#endif
-
/****************************************************************************
* Public Data
****************************************************************************/
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_gpioint.c b/nuttx/arch/arm/src/lpc17xx/lpc17_gpioint.c
index da06f8f32..679a44c7b 100755
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_gpioint.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_gpioint.c
@@ -66,99 +66,9 @@
* Private Data
****************************************************************************/
-/* We have to remember the configured interrupt setting.. PINs are not
- * actually set up to interrupt until the interrupt is enabled.
- */
-
-#ifdef CONFIG_GPIO_IRQ
-uint64_t g_intedge0;
-atic uint64_t g_intedge2;
-#endif
-
/****************************************************************************
* Public Data
****************************************************************************/
-/* These tables have global scope because they are also used in
- * lpc17_gpiodbg.c
- */
-
-/* We have to remember the configured interrupt setting.. PINs are not
- * actually set up to interrupt until the interrupt is enabled.
- */
-
-#ifdef CONFIG_GPIO_IRQ
-uint64_t g_intedge0;
-uint64_t g_intedge2;
-#endif
-
-/* FIO register base addresses */
-
-const uint32_t g_fiobase[GPIO_NPORTS] =
-{
- LPC17_FIO0_BASE,
- LPC17_FIO1_BASE,
- LPC17_FIO2_BASE,
- LPC17_FIO3_BASE,
- LPC17_FIO4_BASE
-};
-
-/* Port 0 and Port 2 can provide a single interrupt for any combination of
- * port pins
- */
-
-const uint32_t g_intbase[GPIO_NPORTS] =
-{
- LPC17_GPIOINT0_OFFSET,
- 0,
- LPC17_GPIOINT2_OFFSET,
- 0,
- 0
-};
-
-const uint32_t g_lopinsel[GPIO_NPORTS] =
-{
- LPC17_PINCONN_PINSEL0,
- LPC17_PINCONN_PINSEL2,
- LPC17_PINCONN_PINSEL4,
- 0,
- 0
-};
-
-const uint32_t g_hipinsel[GPIO_NPORTS] =
-{
- LPC17_PINCONN_PINSEL1,
- LPC17_PINCONN_PINSEL3,
- 0,
- LPC17_PINCONN_PINSEL7,
- LPC17_PINCONN_PINSEL9
-};
-
-const uint32_t g_lopinmode[GPIO_NPORTS] =
-{
- LPC17_PINCONN_PINMODE0,
- LPC17_PINCONN_PINMODE2,
- LPC17_PINCONN_PINMODE4,
- 0,
- 0
-};
-
-const uint32_t g_hipinmode[GPIO_NPORTS] =
-{
- LPC17_PINCONN_PINMODE1,
- LPC17_PINCONN_PINMODE3,
- 0,
- LPC17_PINCONN_PINMODE7,
- LPC17_PINCONN_PINMODE9
-};
-
-const uint32_t g_odmode[GPIO_NPORTS] =
-{
- LPC17_PINCONN_ODMODE0,
- LPC17_PINCONN_ODMODE1,
- LPC17_PINCONN_ODMODE2,
- LPC17_PINCONN_ODMODE3,
- LPC17_PINCONN_ODMODE4
-};
/****************************************************************************
* Private Functions