mbed library sources for GR-PEACH rev.B.

Fork of mbed-src by mbed official

Revision:
511:532f83b66a7f
Parent:
442:d916d321e60f
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h	Thu Apr 09 08:00:08 2015 +0100
+++ b/targets/hal/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/objects.h	Thu Apr 09 12:15:08 2015 +0100
@@ -57,11 +57,12 @@
 struct analogin_s {
     ADCName adc;
     PinName pin;
+    uint8_t channel;
 };
 
 struct dac_s {
     DACName dac;
-    PinName channel;
+    uint8_t channel;
 };
 
 struct serial_s {
@@ -99,6 +100,8 @@
     PinName pin;
     uint32_t period;
     uint32_t pulse;
+    uint8_t channel;
+    uint8_t inverted;
 };
 
 #include "gpio_object.h"