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.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
TARGET_LPC1768/system_LPC17xx.h@91:031413cf7a89, 2014-10-29 (annotated)
- Committer:
- Kojto
- Date:
- Wed Oct 29 11:02:04 2014 +0000
- Revision:
- 91:031413cf7a89
- Parent:
- 66:9c8f0e3462fb
Release 91 of the mbed library
Changes:
- RBLAB_NANO - new target addition
- NRF51_DK - new target addition
- NRF51_DONGLE - new target addition
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| bogdanm | 66:9c8f0e3462fb | 1 | /****************************************************************************** |
| bogdanm | 66:9c8f0e3462fb | 2 | * @file: system_LPC17xx.h |
| bogdanm | 66:9c8f0e3462fb | 3 | * @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
| bogdanm | 66:9c8f0e3462fb | 4 | * for the NXP LPC17xx Device Series |
| bogdanm | 66:9c8f0e3462fb | 5 | * @version: V1.02 |
| bogdanm | 66:9c8f0e3462fb | 6 | * @date: 27. July 2009 |
| bogdanm | 66:9c8f0e3462fb | 7 | *---------------------------------------------------------------------------- |
| bogdanm | 66:9c8f0e3462fb | 8 | * |
| bogdanm | 66:9c8f0e3462fb | 9 | * Copyright (C) 2009 ARM Limited. All rights reserved. |
| bogdanm | 66:9c8f0e3462fb | 10 | * |
| bogdanm | 66:9c8f0e3462fb | 11 | * ARM Limited (ARM) is supplying this software for use with Cortex-M3 |
| bogdanm | 66:9c8f0e3462fb | 12 | * processor based microcontrollers. This file can be freely distributed |
| bogdanm | 66:9c8f0e3462fb | 13 | * within development tools that are supporting such ARM based processors. |
| bogdanm | 66:9c8f0e3462fb | 14 | * |
| bogdanm | 66:9c8f0e3462fb | 15 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
| bogdanm | 66:9c8f0e3462fb | 16 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
| bogdanm | 66:9c8f0e3462fb | 17 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
| bogdanm | 66:9c8f0e3462fb | 18 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
| bogdanm | 66:9c8f0e3462fb | 19 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
| bogdanm | 66:9c8f0e3462fb | 20 | * |
| bogdanm | 66:9c8f0e3462fb | 21 | ******************************************************************************/ |
| bogdanm | 66:9c8f0e3462fb | 22 | |
| bogdanm | 66:9c8f0e3462fb | 23 | |
| bogdanm | 66:9c8f0e3462fb | 24 | #ifndef __SYSTEM_LPC17xx_H |
| bogdanm | 66:9c8f0e3462fb | 25 | #define __SYSTEM_LPC17xx_H |
| bogdanm | 66:9c8f0e3462fb | 26 | |
| bogdanm | 66:9c8f0e3462fb | 27 | #ifdef __cplusplus |
| bogdanm | 66:9c8f0e3462fb | 28 | extern "C" { |
| bogdanm | 66:9c8f0e3462fb | 29 | #endif |
| bogdanm | 66:9c8f0e3462fb | 30 | |
| bogdanm | 66:9c8f0e3462fb | 31 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
| bogdanm | 66:9c8f0e3462fb | 32 | |
| bogdanm | 66:9c8f0e3462fb | 33 | |
| bogdanm | 66:9c8f0e3462fb | 34 | /** |
| bogdanm | 66:9c8f0e3462fb | 35 | * Initialize the system |
| bogdanm | 66:9c8f0e3462fb | 36 | * |
| bogdanm | 66:9c8f0e3462fb | 37 | * @param none |
| bogdanm | 66:9c8f0e3462fb | 38 | * @return none |
| bogdanm | 66:9c8f0e3462fb | 39 | * |
| bogdanm | 66:9c8f0e3462fb | 40 | * @brief Setup the microcontroller system. |
| bogdanm | 66:9c8f0e3462fb | 41 | * Initialize the System and update the SystemCoreClock variable. |
| bogdanm | 66:9c8f0e3462fb | 42 | */ |
| bogdanm | 66:9c8f0e3462fb | 43 | extern void SystemInit (void); |
| bogdanm | 66:9c8f0e3462fb | 44 | |
| bogdanm | 66:9c8f0e3462fb | 45 | /** |
| bogdanm | 66:9c8f0e3462fb | 46 | * Update SystemCoreClock variable |
| bogdanm | 66:9c8f0e3462fb | 47 | * |
| bogdanm | 66:9c8f0e3462fb | 48 | * @param none |
| bogdanm | 66:9c8f0e3462fb | 49 | * @return none |
| bogdanm | 66:9c8f0e3462fb | 50 | * |
| bogdanm | 66:9c8f0e3462fb | 51 | * @brief Updates the SystemCoreClock with current core Clock |
| bogdanm | 66:9c8f0e3462fb | 52 | * retrieved from cpu registers. |
| bogdanm | 66:9c8f0e3462fb | 53 | */ |
| bogdanm | 66:9c8f0e3462fb | 54 | extern void SystemCoreClockUpdate (void); |
| bogdanm | 66:9c8f0e3462fb | 55 | |
| bogdanm | 66:9c8f0e3462fb | 56 | #ifdef __cplusplus |
| bogdanm | 66:9c8f0e3462fb | 57 | } |
| bogdanm | 66:9c8f0e3462fb | 58 | #endif |
| bogdanm | 66:9c8f0e3462fb | 59 | |
| bogdanm | 66:9c8f0e3462fb | 60 | #endif /* __SYSTEM_LPC17xx_H */ |


