mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Revision:
168:9672193075cf
Parent:
160:d5399cc887bb
Child:
170:19eb464bc2be
--- a/targets/TARGET_STM/TARGET_STM32L1/common_objects.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32L1/common_objects.h	Thu Jul 06 15:42:05 2017 +0100
@@ -46,7 +46,7 @@
     uint32_t period;
     uint32_t pulse;
     uint8_t channel;
-    uint8_t inverted; 
+    uint8_t inverted;
 };
 
 struct serial_s {
@@ -110,6 +110,13 @@
 #endif
 };
 
+struct dac_s {
+    DACName dac;
+    PinName pin;
+    uint32_t channel;
+    DAC_HandleTypeDef handle;
+};
+
 #include "gpio_object.h"
 
 #ifdef __cplusplus