diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-06 23:09:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-06 23:09:09 +0000 |
commit | 087428db88d9b75a23fcb7c2ea75cd79a0c9b807 (patch) | |
tree | 512ae52feab4745badffc75ac58eb4c89825e0c4 /nuttx/arch/arm/include/stm32 | |
parent | ceef9e3bece69f86e585b3bf00e5009551350e2b (diff) | |
download | px4-nuttx-087428db88d9b75a23fcb7c2ea75cd79a0c9b807.tar.gz px4-nuttx-087428db88d9b75a23fcb7c2ea75cd79a0c9b807.tar.bz2 px4-nuttx-087428db88d9b75a23fcb7c2ea75cd79a0c9b807.zip |
More updates for the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5617 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/include/stm32')
-rw-r--r-- | nuttx/arch/arm/include/stm32/stm32f10xxx_irq.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/arch/arm/include/stm32/stm32f10xxx_irq.h b/nuttx/arch/arm/include/stm32/stm32f10xxx_irq.h index 7c3f7cf95..e537999d3 100644 --- a/nuttx/arch/arm/include/stm32/stm32f10xxx_irq.h +++ b/nuttx/arch/arm/include/stm32/stm32f10xxx_irq.h @@ -267,6 +267,13 @@ # define STM32_IRQ_DMA2CH3 (74) /* 58: DMA2 Channel 3 global interrupt */ # define STM32_IRQ_DMA2CH45 (75) /* 59: DMA2 Channel 4&5 global interrupt */ # define NR_IRQS (76) + +/* Convenience definitions for interrupts with multiple functions */ + +# define STM32_IRQ_USBHP STM32_IRQ_USBHPCANTX +# define STM32_IRQ_CAN1TX STM32_IRQ_USBHPCANTX +# define STM32_IRQ_USBLP STM32_IRQ_USBLPCANRX0 +# define STM32_IRQ_CAN1RX0 STM32_IRQ_USBLPCANRX0 #endif /************************************************************************************ |