diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-17 23:40:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-17 23:40:53 +0000 |
commit | 7330994698ed840623a487f1a394e39580c8ce97 (patch) | |
tree | b91fe33e90c196e0d792b5bf05af4ca13b5fff3a /nuttx/arch/arm/include/lpc17xx | |
parent | 2b2bbf6433f7271abce9c3e4cbdf2f456fcbeca3 (diff) | |
download | px4-nuttx-7330994698ed840623a487f1a394e39580c8ce97.tar.gz px4-nuttx-7330994698ed840623a487f1a394e39580c8ce97.tar.bz2 px4-nuttx-7330994698ed840623a487f1a394e39580c8ce97.zip |
LPC1788 SD Card driver updates from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5753 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/include/lpc17xx')
-rw-r--r-- | nuttx/arch/arm/include/lpc17xx/lpc178x_irq.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/include/lpc17xx/lpc178x_irq.h b/nuttx/arch/arm/include/lpc17xx/lpc178x_irq.h index 65738e1c7..e0083afeb 100644 --- a/nuttx/arch/arm/include/lpc17xx/lpc178x_irq.h +++ b/nuttx/arch/arm/include/lpc17xx/lpc178x_irq.h @@ -48,7 +48,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ - + /* IRQ numbers. The IRQ number corresponds vector number and hence map * directly to bits in the NVIC. This does, however, waste several words of * memory in the IRQ to handle mapping tables. @@ -167,8 +167,8 @@ */ #ifdef CONFIG_GPIO_IRQ -//~ # define LPC17_VALID_GPIOINT0 (0x7fff8ffful) /* GPIO port 0 interrrupt set */ -//~ # define LPC17_VALID_GPIOINT2 (0x00003ffful) /* GPIO port 2 interrupt set */ +# define LPC17_VALID_GPIOINT0 (0xfffffffful) /* GPIO port 0 interrrupt set */ +# define LPC17_VALID_GPIOINT2 (0xfffffffful) /* GPIO port 2 interrupt set */ /* Set 1: 16 interrupts p0.0-p0.15 */ @@ -264,7 +264,7 @@ # define LPC17_IRQ_P2p30 (LPC17_VALID_FIRST2H+14) # define LPC17_IRQ_P2p31 (LPC17_VALID_FIRST2H+15) # define LPC17_VALID_NIRQS2H (16) - + # define LPC17_NGPIOAIRQS (LPC17_VALID_NIRQS0L+LPC17_VALID_NIRQS0H+LPC17_VALID_NIRQS2L+LPC17_VALID_NIRQS2H) #else # define LPC17_NGPIOAIRQS (0) |