my fork
Fork of mbed by
TARGET_LPC2368/system_LPC23xx.h@66:9c8f0e3462fb, 2013-08-19 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 19 13:34:54 2013 +0300
- Revision:
- 66:9c8f0e3462fb
- Parent:
- 65:5798e58a58b1
New mbed library build with support for LPC1114.
Built from github tag 'mbed_lib_rev66'
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 66:9c8f0e3462fb | 1 | /* mbed Microcontroller Library |
bogdanm | 66:9c8f0e3462fb | 2 | * Copyright (C) 2008-2009 ARM Limited. All rights reserved. |
bogdanm | 66:9c8f0e3462fb | 3 | * |
bogdanm | 66:9c8f0e3462fb | 4 | * ARM7 version of CMSIS-like functionality - not advised for use outside mbed! |
bogdanm | 66:9c8f0e3462fb | 5 | * based on cmsis system_LPC17xx.h |
bogdanm | 66:9c8f0e3462fb | 6 | */ |
bogdanm | 66:9c8f0e3462fb | 7 | |
bogdanm | 66:9c8f0e3462fb | 8 | #ifndef __SYSTEM_LPC23xx_H |
bogdanm | 66:9c8f0e3462fb | 9 | #define __SYSTEM_LPC23xx_H |
bogdanm | 66:9c8f0e3462fb | 10 | |
bogdanm | 66:9c8f0e3462fb | 11 | #ifdef __cplusplus |
bogdanm | 66:9c8f0e3462fb | 12 | extern "C" { |
bogdanm | 66:9c8f0e3462fb | 13 | #endif |
bogdanm | 66:9c8f0e3462fb | 14 | |
bogdanm | 66:9c8f0e3462fb | 15 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 66:9c8f0e3462fb | 16 | |
bogdanm | 66:9c8f0e3462fb | 17 | /** |
bogdanm | 66:9c8f0e3462fb | 18 | * Initialize the system |
bogdanm | 66:9c8f0e3462fb | 19 | * |
bogdanm | 66:9c8f0e3462fb | 20 | * @param none |
bogdanm | 66:9c8f0e3462fb | 21 | * @return none |
bogdanm | 66:9c8f0e3462fb | 22 | * |
bogdanm | 66:9c8f0e3462fb | 23 | * @brief Setup the microcontroller system. |
bogdanm | 66:9c8f0e3462fb | 24 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 66:9c8f0e3462fb | 25 | */ |
bogdanm | 66:9c8f0e3462fb | 26 | extern void SystemInit (void); |
bogdanm | 66:9c8f0e3462fb | 27 | |
bogdanm | 66:9c8f0e3462fb | 28 | /** |
bogdanm | 66:9c8f0e3462fb | 29 | * Update SystemCoreClock variable |
bogdanm | 66:9c8f0e3462fb | 30 | * |
bogdanm | 66:9c8f0e3462fb | 31 | * @param none |
bogdanm | 66:9c8f0e3462fb | 32 | * @return none |
bogdanm | 66:9c8f0e3462fb | 33 | * |
bogdanm | 66:9c8f0e3462fb | 34 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 66:9c8f0e3462fb | 35 | * retrieved from cpu registers. |
bogdanm | 66:9c8f0e3462fb | 36 | */ |
bogdanm | 66:9c8f0e3462fb | 37 | extern void SystemCoreClockUpdate (void); |
bogdanm | 66:9c8f0e3462fb | 38 | |
bogdanm | 66:9c8f0e3462fb | 39 | |
bogdanm | 66:9c8f0e3462fb | 40 | #ifdef __cplusplus |
bogdanm | 66:9c8f0e3462fb | 41 | } |
bogdanm | 66:9c8f0e3462fb | 42 | #endif |
bogdanm | 66:9c8f0e3462fb | 43 | |
bogdanm | 66:9c8f0e3462fb | 44 | #endif |