Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h@0:9b334a45a8ff, 2015-10-01 (annotated)
- Committer:
- bogdanm
- Date:
- Thu Oct 01 15:25:22 2015 +0300
- Revision:
- 0:9b334a45a8ff
Initial commit on mbed-dev
Replaces mbed-src (now inactive)
Who changed what in which revision?
User | Revision | Line number | New 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 |