mbed

Fork of mbed-dev by mbed official

Revision:
172:89b338f31ef1
Parent:
169:e3b6fe271b81
Child:
175:b96e65c34a4d
diff -r 19eb464bc2be -r 89b338f31ef1 targets/TARGET_STM/TARGET_STM32F4/common_objects.h
--- a/targets/TARGET_STM/TARGET_STM32F4/common_objects.h	Thu Aug 03 13:13:39 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32F4/common_objects.h	Wed Aug 16 18:27:13 2017 +0100
@@ -109,11 +109,19 @@
     uint8_t available_events;
 #endif
 };
+
 #if DEVICE_FLASH
 struct flash_s {
     uint32_t dummy;
 };
 #endif
+
+struct analogin_s {
+    ADC_HandleTypeDef handle;
+    PinName pin;
+    uint8_t channel;
+};
+
 #define GPIO_IP_WITHOUT_BRR
 #include "gpio_object.h"