aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F37x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-31 10:37:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-31 10:37:06 +0000
commitb0b6214a6253eedb438e003dcfd408d52ed0a6c4 (patch)
tree02e526088577712f84a4460a7b68263397268955 /os/hal/platforms/STM32F37x
parent853216256ad4cdacf5f94edb7d6b738c6be165a1 (diff)
downloadChibiOS-b0b6214a6253eedb438e003dcfd408d52ed0a6c4.tar.gz
ChibiOS-b0b6214a6253eedb438e003dcfd408d52ed0a6c4.tar.bz2
ChibiOS-b0b6214a6253eedb438e003dcfd408d52ed0a6c4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5522 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F37x')
-rw-r--r--os/hal/platforms/STM32F37x/stm32_isr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F37x/stm32_isr.h b/os/hal/platforms/STM32F37x/stm32_isr.h
index 21ef387e6..0ef2679bb 100644
--- a/os/hal/platforms/STM32F37x/stm32_isr.h
+++ b/os/hal/platforms/STM32F37x/stm32_isr.h
@@ -47,6 +47,19 @@
#define STM32_CAN1_SCE_NUMBER 22
/*
+ * I2C units.
+ */
+#define STM32_I2C1_EVENT_HANDLER VectorBC
+#define STM32_I2C1_ERROR_HANDLER VectorC0
+#define STM32_I2C1_EVENT_NUMBER 31
+#define STM32_I2C1_ERROR_NUMBER 32
+
+#define STM32_I2C2_EVENT_HANDLER VectorC4
+#define STM32_I2C2_ERROR_HANDLER VectorC8
+#define STM32_I2C2_EVENT_NUMBER 33
+#define STM32_I2C2_ERROR_NUMBER 34
+
+/*
* TIM units.
*/
#define STM32_TIM2_HANDLER VectorB0