mbed

Fork of mbed-dev by mbed official

Revision:
172:89b338f31ef1
Parent:
154:37f96f9d4de2
Child:
175:b96e65c34a4d
--- a/targets/TARGET_STM/TARGET_STM32F1/common_objects.h	Thu Aug 03 13:13:39 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32F1/common_objects.h	Wed Aug 16 18:27:13 2017 +0100
@@ -110,6 +110,12 @@
 #endif
 };
 
+struct analogin_s {
+    ADC_HandleTypeDef handle;
+    PinName pin;
+    uint8_t channel;
+};
+
 #include "gpio_object.h"
 
 #ifdef __cplusplus