mbed libraries for KL25Z

Dependents:   FRDM_RGBLED

Revision:
2:e9a661555b58
Parent:
0:8024c367e29f
Child:
8:c14af7958ef5
--- a/PwmOut.h	Fri Oct 05 15:45:13 2012 +0000
+++ b/PwmOut.h	Wed Oct 10 14:14:12 2012 +0000
@@ -1,7 +1,6 @@
 /* mbed Microcontroller Library - PwmOut
  * Copyright (c) 2007-2011 ARM Limited. All rights reserved.
- */ 
- 
+ */
 #ifndef MBED_PWMOUT_H
 #define MBED_PWMOUT_H
 
@@ -10,8 +9,7 @@
 #if DEVICE_PWMOUT
 
 #include "platform.h"
-#include "PinNames.h"
-#include "PeripheralNames.h"
+#include "pwmout_api.h"
 #include "Base.h"
 
 namespace mbed {
@@ -123,7 +121,7 @@
      */
     PwmOut& operator= (float value);
     PwmOut& operator= (PwmOut& rhs);
-
+    
     /* Function: operator float()
      *  An operator shorthand for <read()>
      */
@@ -136,8 +134,7 @@
 #endif
 
 protected:
-
-    PWMName _pwm;
+    pwmout_object _pwm;
 
 };