fix LPC812 PWM

Dependents:   IR_LED_Send

Fork of mbed-dev by mbed official

Committer:
nameless129
Date:
Mon May 16 16:50:30 2016 +0000
Revision:
129:2e517c56bcfb
Parent:
0:9b334a45a8ff
PWM Fix:Duty 0%??H???????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 0:9b334a45a8ff 1 /* mbed Microcontroller Library
bogdanm 0:9b334a45a8ff 2 * Copyright (C) 2008-2009 ARM Limited. All rights reserved.
bogdanm 0:9b334a45a8ff 3 *
bogdanm 0:9b334a45a8ff 4 * ARM7 version of CMSIS-like functionality - not advised for use outside mbed!
bogdanm 0:9b334a45a8ff 5 * based on cmsis system_LPC17xx.h
bogdanm 0:9b334a45a8ff 6 */
bogdanm 0:9b334a45a8ff 7
bogdanm 0:9b334a45a8ff 8 #ifndef __SYSTEM_LPC23xx_H
bogdanm 0:9b334a45a8ff 9 #define __SYSTEM_LPC23xx_H
bogdanm 0:9b334a45a8ff 10
bogdanm 0:9b334a45a8ff 11 #ifdef __cplusplus
bogdanm 0:9b334a45a8ff 12 extern "C" {
bogdanm 0:9b334a45a8ff 13 #endif
bogdanm 0:9b334a45a8ff 14
bogdanm 0:9b334a45a8ff 15 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 0:9b334a45a8ff 16
bogdanm 0:9b334a45a8ff 17 /**
bogdanm 0:9b334a45a8ff 18 * Initialize the system
bogdanm 0:9b334a45a8ff 19 *
bogdanm 0:9b334a45a8ff 20 * @param none
bogdanm 0:9b334a45a8ff 21 * @return none
bogdanm 0:9b334a45a8ff 22 *
bogdanm 0:9b334a45a8ff 23 * @brief Setup the microcontroller system.
bogdanm 0:9b334a45a8ff 24 * Initialize the System and update the SystemCoreClock variable.
bogdanm 0:9b334a45a8ff 25 */
bogdanm 0:9b334a45a8ff 26 extern void SystemInit (void);
bogdanm 0:9b334a45a8ff 27
bogdanm 0:9b334a45a8ff 28 /**
bogdanm 0:9b334a45a8ff 29 * Update SystemCoreClock variable
bogdanm 0:9b334a45a8ff 30 *
bogdanm 0:9b334a45a8ff 31 * @param none
bogdanm 0:9b334a45a8ff 32 * @return none
bogdanm 0:9b334a45a8ff 33 *
bogdanm 0:9b334a45a8ff 34 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 0:9b334a45a8ff 35 * retrieved from cpu registers.
bogdanm 0:9b334a45a8ff 36 */
bogdanm 0:9b334a45a8ff 37 extern void SystemCoreClockUpdate (void);
bogdanm 0:9b334a45a8ff 38
bogdanm 0:9b334a45a8ff 39
bogdanm 0:9b334a45a8ff 40 #ifdef __cplusplus
bogdanm 0:9b334a45a8ff 41 }
bogdanm 0:9b334a45a8ff 42 #endif
bogdanm 0:9b334a45a8ff 43
bogdanm 0:9b334a45a8ff 44 #endif