my fork

Dependents:   Nucleo_blueNRG

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Mon Aug 05 12:28:09 2013 +0300
Revision:
64:e3affc9e7238
Parent:
LPC2368/system_LPC23xx.h@11:1c1ebd0324fa
Child:
65:5798e58a58b1
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)

Who changed what in which revision?

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