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