aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32L1xx/stm32_isr.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:51:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:51:31 +0000
commit304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff (patch)
tree7b5c8e88698f773903be6556ea5a70d8629ff9f0 /os/hal/platforms/STM32L1xx/stm32_isr.h
parentca6ab337feffdc0d6fddc492a91e55ebf197d4f5 (diff)
downloadChibiOS-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/STM32L1xx/stm32_isr.h')
-rw-r--r--os/hal/platforms/STM32L1xx/stm32_isr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32L1xx/stm32_isr.h b/os/hal/platforms/STM32L1xx/stm32_isr.h
index c753f6d24..84405e367 100644
--- a/os/hal/platforms/STM32L1xx/stm32_isr.h
+++ b/os/hal/platforms/STM32L1xx/stm32_isr.h
@@ -58,6 +58,15 @@
#define STM32_USART1_NUMBER USART1_IRQn
#define STM32_USART2_NUMBER USART2_IRQn
#define STM32_USART3_NUMBER USART3_IRQn
+
+/*
+ * USB units.
+ */
+#define STM32_USB1_HP_HANDLER Vector8C
+#define STM32_USB1_LP_HANDLER Vector90
+
+#define STM32_USB1_HP_NUMBER USB_HP_IRQn
+#define STM32_USB1_LP_NUMBER USB_LP_IRQn
/** @} */
/*===========================================================================*/