added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Revision:
144:ef7eb2e8f9f7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/targets/hal/TARGET_ONSEMI/TARGET_NCS36510/error.h	Fri Sep 02 15:07:44 2016 +0100
@@ -0,0 +1,32 @@
+/**
+ ******************************************************************************
+ * @file error.h
+ * @brief Defines an error data type, which can be used for error codes or return values.
+ * @internal
+ * @author ON Semiconductor
+ * $Rev: 2074 $
+ * $Date: 2013-07-10 18:06:15 +0530 (Wed, 10 Jul 2013) $
+ ******************************************************************************
+ * @copyright (c) 2012 ON Semiconductor. All rights reserved.
+ * ON Semiconductor is supplying this software for use with ON Semiconductor
+ * processor based microcontrollers only.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
+ * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
+ * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL,
+ * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+ * @endinternal
+ *
+ * @ingroup util
+ */
+
+#ifndef ERROR_H_
+#define ERROR_H_
+
+#include <stdint.h>
+
+typedef uint8_t error;
+#define NO_ERROR		(0xFF)
+
+#endif /* ERROR_H_ */