mbed

Fork of mbed-dev by mbed official

Revision:
172:89b338f31ef1
Parent:
168:9672193075cf
Child:
175:b96e65c34a4d
diff -r 19eb464bc2be -r 89b338f31ef1 targets/TARGET_STM/TARGET_STM32F3/common_objects.h
--- a/targets/TARGET_STM/TARGET_STM32F3/common_objects.h	Thu Aug 03 13:13:39 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32F3/common_objects.h	Wed Aug 16 18:27:13 2017 +0100
@@ -118,6 +118,12 @@
     DAC_HandleTypeDef handle;
 };
 
+struct analogin_s {
+    ADC_HandleTypeDef handle;
+    PinName pin;
+    uint8_t channel;
+};
+
 #include "gpio_object.h"
 
 #ifdef __cplusplus