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