added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Committer:
mbed_official
Date:
Tue May 03 00:15:16 2016 +0100
Revision:
121:7f86b4238bec
Synchronized with git revision 9cef243de23875778f461bbe9a8c1bc47e65212b

Full URL: https://github.com/mbedmicro/mbed/commit/9cef243de23875778f461bbe9a8c1bc47e65212b/

Switch to KSDK 2.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 121:7f86b4238bec 1 /*
mbed_official 121:7f86b4238bec 2 * Copyright (c) 2015, Freescale Semiconductor, Inc.
mbed_official 121:7f86b4238bec 3 * All rights reserved.
mbed_official 121:7f86b4238bec 4 *
mbed_official 121:7f86b4238bec 5 * Redistribution and use in source and binary forms, with or without modification,
mbed_official 121:7f86b4238bec 6 * are permitted provided that the following conditions are met:
mbed_official 121:7f86b4238bec 7 *
mbed_official 121:7f86b4238bec 8 * o Redistributions of source code must retain the above copyright notice, this list
mbed_official 121:7f86b4238bec 9 * of conditions and the following disclaimer.
mbed_official 121:7f86b4238bec 10 *
mbed_official 121:7f86b4238bec 11 * o Redistributions in binary form must reproduce the above copyright notice, this
mbed_official 121:7f86b4238bec 12 * list of conditions and the following disclaimer in the documentation and/or
mbed_official 121:7f86b4238bec 13 * other materials provided with the distribution.
mbed_official 121:7f86b4238bec 14 *
mbed_official 121:7f86b4238bec 15 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
mbed_official 121:7f86b4238bec 16 * contributors may be used to endorse or promote products derived from this
mbed_official 121:7f86b4238bec 17 * software without specific prior written permission.
mbed_official 121:7f86b4238bec 18 *
mbed_official 121:7f86b4238bec 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
mbed_official 121:7f86b4238bec 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
mbed_official 121:7f86b4238bec 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 121:7f86b4238bec 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
mbed_official 121:7f86b4238bec 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
mbed_official 121:7f86b4238bec 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
mbed_official 121:7f86b4238bec 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
mbed_official 121:7f86b4238bec 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
mbed_official 121:7f86b4238bec 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
mbed_official 121:7f86b4238bec 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 121:7f86b4238bec 29 */
mbed_official 121:7f86b4238bec 30 #ifndef _CLOCK_CONFIG_H_
mbed_official 121:7f86b4238bec 31 #define _CLOCK_CONFIG_H_
mbed_official 121:7f86b4238bec 32
mbed_official 121:7f86b4238bec 33 /*******************************************************************************
mbed_official 121:7f86b4238bec 34 * DEFINITION
mbed_official 121:7f86b4238bec 35 ******************************************************************************/
mbed_official 121:7f86b4238bec 36 #define BOARD_XTAL0_CLK_HZ 32768U
mbed_official 121:7f86b4238bec 37 #define BOARD_XTAL32K_CLK_HZ 0U
mbed_official 121:7f86b4238bec 38
mbed_official 121:7f86b4238bec 39 /*******************************************************************************
mbed_official 121:7f86b4238bec 40 * API
mbed_official 121:7f86b4238bec 41 ******************************************************************************/
mbed_official 121:7f86b4238bec 42 #if defined(__cplusplus)
mbed_official 121:7f86b4238bec 43 extern "C" {
mbed_official 121:7f86b4238bec 44 #endif /* __cplusplus*/
mbed_official 121:7f86b4238bec 45
mbed_official 121:7f86b4238bec 46 void BOARD_BootClockVLPR(void);
mbed_official 121:7f86b4238bec 47 void BOARD_BootClockRUN(void);
mbed_official 121:7f86b4238bec 48
mbed_official 121:7f86b4238bec 49 #if defined(__cplusplus)
mbed_official 121:7f86b4238bec 50 }
mbed_official 121:7f86b4238bec 51 #endif /* __cplusplus*/
mbed_official 121:7f86b4238bec 52
mbed_official 121:7f86b4238bec 53 #endif /* _CLOCK_CONFIG_H_ */