mbed libraries for KL25Z

Dependents:   FRDM_RGBLED

Revision:
8:c14af7958ef5
Parent:
7:73c5efe92a6c
Child:
9:663789d7729f
--- a/port_api.h	Tue Oct 23 09:20:18 2012 +0000
+++ b/port_api.h	Fri Nov 09 11:33:53 2012 +0000
@@ -8,24 +8,11 @@
 
 #if DEVICE_PORTIN || DEVICE_PORTOUT
 
-#include "PinNames.h"
-#include "PortNames.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-typedef struct {
-    __IO uint32_t *reg_dir;
-#if defined(TARGET_LPC11U24)
-    __IO uint32_t *reg_mpin;
-#elif defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_KL25Z)
-    __IO uint32_t *reg_out;
-    __I  uint32_t *reg_in;
-#endif
-    PortName port;
-    uint32_t mask;
-} port_object;
+typedef struct port_object_s port_object;
 
 PinName port_pin(PortName port, int pin_n);