long dao / mbed-src

Fork of mbed-src by mbed official

Revision:
423:560d1a9f3083
Parent:
240:9a7c54113eaf
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/objects.h	Tue Dec 02 15:15:06 2014 +0000
+++ b/targets/hal/TARGET_STM/TARGET_DISCO_F051R8/objects.h	Tue Dec 02 15:45:09 2014 +0000
@@ -43,14 +43,15 @@
     IRQn_Type irq_n;
     uint32_t irq_index;
     uint32_t event;
+    PinName pin;
 };
 
 struct port_s {
     PortName port;
     uint32_t mask;
     PinDirection direction;  
-    __IO uint16_t *reg_in;
-    __IO uint16_t *reg_out;
+    __IO uint32_t *reg_in;
+    __IO uint32_t *reg_out;
 };
 
 struct analogin_s {