version_2.0
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
TARGET_LPC1768/system_LPC17xx.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 | /****************************************************************************** |
bogdanm | 65:5798e58a58b1 | 2 | * @file: system_LPC17xx.h |
bogdanm | 65:5798e58a58b1 | 3 | * @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
bogdanm | 65:5798e58a58b1 | 4 | * for the NXP LPC17xx Device Series |
bogdanm | 65:5798e58a58b1 | 5 | * @version: V1.02 |
bogdanm | 65:5798e58a58b1 | 6 | * @date: 27. July 2009 |
bogdanm | 65:5798e58a58b1 | 7 | *---------------------------------------------------------------------------- |
bogdanm | 65:5798e58a58b1 | 8 | * |
bogdanm | 65:5798e58a58b1 | 9 | * Copyright (C) 2009 ARM Limited. All rights reserved. |
bogdanm | 65:5798e58a58b1 | 10 | * |
bogdanm | 65:5798e58a58b1 | 11 | * ARM Limited (ARM) is supplying this software for use with Cortex-M3 |
bogdanm | 65:5798e58a58b1 | 12 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 65:5798e58a58b1 | 13 | * within development tools that are supporting such ARM based processors. |
bogdanm | 65:5798e58a58b1 | 14 | * |
bogdanm | 65:5798e58a58b1 | 15 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 65:5798e58a58b1 | 16 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 65:5798e58a58b1 | 17 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 65:5798e58a58b1 | 18 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 65:5798e58a58b1 | 19 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 65:5798e58a58b1 | 20 | * |
bogdanm | 65:5798e58a58b1 | 21 | ******************************************************************************/ |
bogdanm | 65:5798e58a58b1 | 22 | |
bogdanm | 65:5798e58a58b1 | 23 | |
bogdanm | 65:5798e58a58b1 | 24 | #ifndef __SYSTEM_LPC17xx_H |
bogdanm | 65:5798e58a58b1 | 25 | #define __SYSTEM_LPC17xx_H |
bogdanm | 65:5798e58a58b1 | 26 | |
bogdanm | 65:5798e58a58b1 | 27 | #ifdef __cplusplus |
bogdanm | 65:5798e58a58b1 | 28 | extern "C" { |
bogdanm | 65:5798e58a58b1 | 29 | #endif |
bogdanm | 65:5798e58a58b1 | 30 | |
bogdanm | 65:5798e58a58b1 | 31 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 65:5798e58a58b1 | 32 | |
bogdanm | 65:5798e58a58b1 | 33 | |
bogdanm | 65:5798e58a58b1 | 34 | /** |
bogdanm | 65:5798e58a58b1 | 35 | * Initialize the system |
bogdanm | 65:5798e58a58b1 | 36 | * |
bogdanm | 65:5798e58a58b1 | 37 | * @param none |
bogdanm | 65:5798e58a58b1 | 38 | * @return none |
bogdanm | 65:5798e58a58b1 | 39 | * |
bogdanm | 65:5798e58a58b1 | 40 | * @brief Setup the microcontroller system. |
bogdanm | 65:5798e58a58b1 | 41 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 65:5798e58a58b1 | 42 | */ |
bogdanm | 65:5798e58a58b1 | 43 | extern void SystemInit (void); |
bogdanm | 65:5798e58a58b1 | 44 | |
bogdanm | 65:5798e58a58b1 | 45 | /** |
bogdanm | 65:5798e58a58b1 | 46 | * Update SystemCoreClock variable |
bogdanm | 65:5798e58a58b1 | 47 | * |
bogdanm | 65:5798e58a58b1 | 48 | * @param none |
bogdanm | 65:5798e58a58b1 | 49 | * @return none |
bogdanm | 65:5798e58a58b1 | 50 | * |
bogdanm | 65:5798e58a58b1 | 51 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 65:5798e58a58b1 | 52 | * retrieved from cpu registers. |
bogdanm | 65:5798e58a58b1 | 53 | */ |
bogdanm | 65:5798e58a58b1 | 54 | extern void SystemCoreClockUpdate (void); |
bogdanm | 65:5798e58a58b1 | 55 | |
bogdanm | 65:5798e58a58b1 | 56 | #ifdef __cplusplus |
bogdanm | 65:5798e58a58b1 | 57 | } |
bogdanm | 65:5798e58a58b1 | 58 | #endif |
bogdanm | 65:5798e58a58b1 | 59 | |
bogdanm | 65:5798e58a58b1 | 60 | #endif /* __SYSTEM_LPC17xx_H */ |