diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-26 18:46:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-26 18:46:44 -0600 |
commit | ac86b68aecf6a34e8d0cb30024ef3a051fdd139b (patch) | |
tree | 69afc0b17c9029256a1d69835f4942b1b7f1783e /nuttx/arch/arm/include/sam34/sam4s_irq.h | |
parent | f6b9f9c65f0aed5eb9c32f168a2c298342e8fb34 (diff) | |
download | px4-nuttx-ac86b68aecf6a34e8d0cb30024ef3a051fdd139b.tar.gz px4-nuttx-ac86b68aecf6a34e8d0cb30024ef3a051fdd139b.tar.bz2 px4-nuttx-ac86b68aecf6a34e8d0cb30024ef3a051fdd139b.zip |
Add peripheral configuration logic for the SAM3X/3A; Change all references to SAM3/4 SPI to SPI0 for compatibity with the SAM3X/3A which has SPI0 and SPI1; Add directory which will eventually holdl an Arduino Due port
Diffstat (limited to 'nuttx/arch/arm/include/sam34/sam4s_irq.h')
-rw-r--r-- | nuttx/arch/arm/include/sam34/sam4s_irq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/include/sam34/sam4s_irq.h b/nuttx/arch/arm/include/sam34/sam4s_irq.h index 8126075d9..fdc66808a 100644 --- a/nuttx/arch/arm/include/sam34/sam4s_irq.h +++ b/nuttx/arch/arm/include/sam34/sam4s_irq.h @@ -71,7 +71,7 @@ #define SAM_PID_HSMCI (18) /* High Speed Multimedia Card Interface */ #define SAM_PID_TWI0 (19) /* Two-Wire Interface 0 */ #define SAM_PID_TWI1 (20) /* Two-Wire Interface 1 */ -#define SAM_PID_SPI (21) /* Serial Peripheral Interface */ +#define SAM_PID_SPI0 (21) /* Serial Peripheral Interface */ #define SAM_PID_SSC (22) /* Synchronous Serial Controller */ #define SAM_PID_TC0 (23) /* Timer Counter 0 */ #define SAM_PID_TC1 (24) /* Timer Counter 1 */ @@ -110,7 +110,7 @@ #define SAM_IRQ_HSMCI (SAM_IRQ_EXTINT+SAM_PID_HSMCI) /* PID 18: High Speed Multimedia Card Interface */ #define SAM_IRQ_TWI0 (SAM_IRQ_EXTINT+SAM_PID_TWI0) /* PID 19: Two-Wire Interface 0 */ #define SAM_IRQ_TWI1 (SAM_IRQ_EXTINT+SAM_PID_TWI1) /* PID 20: Two-Wire Interface 1 */ -#define SAM_IRQ_SPI (SAM_IRQ_EXTINT+SAM_PID_SPI) /* PIC 21: Serial Peripheral Interface */ +#define SAM_IRQ_SPI0 (SAM_IRQ_EXTINT+SAM_PID_SPI0) /* PIC 21: Serial Peripheral Interface */ #define SAM_IRQ_SSC (SAM_IRQ_EXTINT+SAM_PID_SSC) /* PID 22: Synchronous Serial Controller */ #define SAM_IRQ_TC0 (SAM_IRQ_EXTINT+SAM_PID_TC0) /* PID 23: Timer Counter 0 */ #define SAM_IRQ_TC1 (SAM_IRQ_EXTINT+SAM_PID_TC1) /* PID 24: Timer Counter 1 */ |