mbed

Fork of mbed-dev by mbed official

Revision:
175:b96e65c34a4d
Parent:
172:89b338f31ef1
Child:
181:96ed750bd169
--- a/targets/TARGET_STM/TARGET_STM32F3/common_objects.h	Fri Sep 15 14:59:18 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32F3/common_objects.h	Mon Oct 02 15:33:19 2017 +0100
@@ -124,6 +124,14 @@
     uint8_t channel;
 };
 
+#if DEVICE_CAN
+struct can_s {
+    CAN_HandleTypeDef CanHandle;
+    int index;
+    int hz;
+};
+#endif
+
 #include "gpio_object.h"
 
 #ifdef __cplusplus