The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
149:e2bfab296f20
Parent:
146:22da6e220af6
Child:
152:235179ab3f27
--- a/TARGET_NUCLEO_F031K6/TARGET_STM/TARGET_STM32F0/common_objects.h	Thu Aug 03 13:37:00 2017 +0100
+++ b/TARGET_NUCLEO_F031K6/TARGET_STM/TARGET_STM32F0/common_objects.h	Wed Aug 16 18:12:46 2017 +0100
@@ -111,6 +111,12 @@
 #endif
 };
 
+struct analogin_s {
+    ADC_HandleTypeDef handle;
+    PinName pin;
+    uint8_t channel;
+};
+
 #include "gpio_object.h"
 
 #if DEVICE_ANALOGOUT