diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-24 07:51:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-24 07:51:31 +0000 |
commit | 304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff (patch) | |
tree | 7b5c8e88698f773903be6556ea5a70d8629ff9f0 /os/hal/platforms/STM32F1xx/stm32_isr.h | |
parent | ca6ab337feffdc0d6fddc492a91e55ebf197d4f5 (diff) | |
download | ChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.tar.gz ChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.tar.bz2 ChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4344 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/stm32_isr.h')
-rw-r--r-- | os/hal/platforms/STM32F1xx/stm32_isr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/stm32_isr.h b/os/hal/platforms/STM32F1xx/stm32_isr.h index c8c5d7fde..d9e634f0a 100644 --- a/os/hal/platforms/STM32F1xx/stm32_isr.h +++ b/os/hal/platforms/STM32F1xx/stm32_isr.h @@ -129,6 +129,15 @@ #define STM32_USART3_NUMBER USART3_IRQn
#define STM32_UART4_NUMBER UART4_IRQn
#define STM32_UART5_NUMBER UART5_IRQn
+
+/*
+ * USB units.
+ */
+#define STM32_USB1_HP_HANDLER Vector8C
+#define STM32_USB1_LP_HANDLER Vector90
+
+#define STM32_USB1_HP_NUMBER USB_HP_CAN1_TX_IRQn
+#define STM32_USB1_LP_NUMBER USB_LP_CAN1_RX0_IRQn
/** @} */
/*===========================================================================*/
|