mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC23XX/system_LPC23xx.h@308:59cc78a25982, 2014-09-05 (annotated)
- Committer:
- todotani
- Date:
- Fri Sep 05 14:20:33 2014 +0000
- Revision:
- 308:59cc78a25982
- Parent:
- 13:0645d8841f51
BLE_Health_Thermometer for mbed HRM1017 with BLE library 0.1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 10:3bc89ef62ce7 | 1 | /* mbed Microcontroller Library |
emilmont | 10:3bc89ef62ce7 | 2 | * Copyright (C) 2008-2009 ARM Limited. All rights reserved. |
emilmont | 10:3bc89ef62ce7 | 3 | * |
emilmont | 10:3bc89ef62ce7 | 4 | * ARM7 version of CMSIS-like functionality - not advised for use outside mbed! |
emilmont | 10:3bc89ef62ce7 | 5 | * based on cmsis system_LPC17xx.h |
emilmont | 10:3bc89ef62ce7 | 6 | */ |
emilmont | 10:3bc89ef62ce7 | 7 | |
emilmont | 10:3bc89ef62ce7 | 8 | #ifndef __SYSTEM_LPC23xx_H |
emilmont | 10:3bc89ef62ce7 | 9 | #define __SYSTEM_LPC23xx_H |
emilmont | 10:3bc89ef62ce7 | 10 | |
emilmont | 10:3bc89ef62ce7 | 11 | #ifdef __cplusplus |
emilmont | 10:3bc89ef62ce7 | 12 | extern "C" { |
emilmont | 10:3bc89ef62ce7 | 13 | #endif |
emilmont | 10:3bc89ef62ce7 | 14 | |
emilmont | 10:3bc89ef62ce7 | 15 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
emilmont | 10:3bc89ef62ce7 | 16 | |
emilmont | 10:3bc89ef62ce7 | 17 | /** |
emilmont | 10:3bc89ef62ce7 | 18 | * Initialize the system |
emilmont | 10:3bc89ef62ce7 | 19 | * |
emilmont | 10:3bc89ef62ce7 | 20 | * @param none |
emilmont | 10:3bc89ef62ce7 | 21 | * @return none |
emilmont | 10:3bc89ef62ce7 | 22 | * |
emilmont | 10:3bc89ef62ce7 | 23 | * @brief Setup the microcontroller system. |
emilmont | 10:3bc89ef62ce7 | 24 | * Initialize the System and update the SystemCoreClock variable. |
emilmont | 10:3bc89ef62ce7 | 25 | */ |
emilmont | 10:3bc89ef62ce7 | 26 | extern void SystemInit (void); |
emilmont | 10:3bc89ef62ce7 | 27 | |
emilmont | 10:3bc89ef62ce7 | 28 | /** |
emilmont | 10:3bc89ef62ce7 | 29 | * Update SystemCoreClock variable |
emilmont | 10:3bc89ef62ce7 | 30 | * |
emilmont | 10:3bc89ef62ce7 | 31 | * @param none |
emilmont | 10:3bc89ef62ce7 | 32 | * @return none |
emilmont | 10:3bc89ef62ce7 | 33 | * |
emilmont | 10:3bc89ef62ce7 | 34 | * @brief Updates the SystemCoreClock with current core Clock |
emilmont | 10:3bc89ef62ce7 | 35 | * retrieved from cpu registers. |
emilmont | 10:3bc89ef62ce7 | 36 | */ |
emilmont | 10:3bc89ef62ce7 | 37 | extern void SystemCoreClockUpdate (void); |
emilmont | 10:3bc89ef62ce7 | 38 | |
emilmont | 10:3bc89ef62ce7 | 39 | |
emilmont | 10:3bc89ef62ce7 | 40 | #ifdef __cplusplus |
emilmont | 10:3bc89ef62ce7 | 41 | } |
emilmont | 10:3bc89ef62ce7 | 42 | #endif |
emilmont | 10:3bc89ef62ce7 | 43 | |
emilmont | 10:3bc89ef62ce7 | 44 | #endif |