diff options
Diffstat (limited to 'os/hal/platforms/STM32F30x/stm32_isr.h')
-rw-r--r-- | os/hal/platforms/STM32F30x/stm32_isr.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F30x/stm32_isr.h b/os/hal/platforms/STM32F30x/stm32_isr.h index 69f49acec..f3ec2112a 100644 --- a/os/hal/platforms/STM32F30x/stm32_isr.h +++ b/os/hal/platforms/STM32F30x/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_TIM1_UP_HANDLER VectorA4
|