a

Fork of mbed by -deleted-

Committer:
rolf.meyer@arm.com
Date:
Fri Aug 28 12:10:11 2009 +0000
Revision:
11:1c1ebd0324fa
A shiny new version

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