mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC11XX_11CXX/system_LPC11xx.h@30:91c1d09ada54, 2013-09-25 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Sep 25 10:30:04 2013 +0100
- Revision:
- 30:91c1d09ada54
Synchronized with git revision 8f57c1e84759991fa81ede0da2b4aabe8530fa09
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 30:91c1d09ada54 | 1 | /**************************************************************************//** |
mbed_official | 30:91c1d09ada54 | 2 | * @file system_LPC11xx.h |
mbed_official | 30:91c1d09ada54 | 3 | * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File |
mbed_official | 30:91c1d09ada54 | 4 | * for the NXP LPC11xx/LPC11Cxx Device Series |
mbed_official | 30:91c1d09ada54 | 5 | * @version V1.10 |
mbed_official | 30:91c1d09ada54 | 6 | * @date 24. November 2010 |
mbed_official | 30:91c1d09ada54 | 7 | * |
mbed_official | 30:91c1d09ada54 | 8 | * @note |
mbed_official | 30:91c1d09ada54 | 9 | * Copyright (C) 2009-2010 ARM Limited. All rights reserved. |
mbed_official | 30:91c1d09ada54 | 10 | * |
mbed_official | 30:91c1d09ada54 | 11 | * @par |
mbed_official | 30:91c1d09ada54 | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
mbed_official | 30:91c1d09ada54 | 13 | * processor based microcontrollers. This file can be freely distributed |
mbed_official | 30:91c1d09ada54 | 14 | * within development tools that are supporting such ARM based processors. |
mbed_official | 30:91c1d09ada54 | 15 | * |
mbed_official | 30:91c1d09ada54 | 16 | * @par |
mbed_official | 30:91c1d09ada54 | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
mbed_official | 30:91c1d09ada54 | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
mbed_official | 30:91c1d09ada54 | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
mbed_official | 30:91c1d09ada54 | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
mbed_official | 30:91c1d09ada54 | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
mbed_official | 30:91c1d09ada54 | 22 | * |
mbed_official | 30:91c1d09ada54 | 23 | ******************************************************************************/ |
mbed_official | 30:91c1d09ada54 | 24 | |
mbed_official | 30:91c1d09ada54 | 25 | |
mbed_official | 30:91c1d09ada54 | 26 | #ifndef __SYSTEM_LPC11xx_H |
mbed_official | 30:91c1d09ada54 | 27 | #define __SYSTEM_LPC11xx_H |
mbed_official | 30:91c1d09ada54 | 28 | |
mbed_official | 30:91c1d09ada54 | 29 | #ifdef __cplusplus |
mbed_official | 30:91c1d09ada54 | 30 | extern "C" { |
mbed_official | 30:91c1d09ada54 | 31 | #endif |
mbed_official | 30:91c1d09ada54 | 32 | |
mbed_official | 30:91c1d09ada54 | 33 | #include <stdint.h> |
mbed_official | 30:91c1d09ada54 | 34 | |
mbed_official | 30:91c1d09ada54 | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
mbed_official | 30:91c1d09ada54 | 36 | |
mbed_official | 30:91c1d09ada54 | 37 | |
mbed_official | 30:91c1d09ada54 | 38 | /** |
mbed_official | 30:91c1d09ada54 | 39 | * Initialize the system |
mbed_official | 30:91c1d09ada54 | 40 | * |
mbed_official | 30:91c1d09ada54 | 41 | * @param none |
mbed_official | 30:91c1d09ada54 | 42 | * @return none |
mbed_official | 30:91c1d09ada54 | 43 | * |
mbed_official | 30:91c1d09ada54 | 44 | * @brief Setup the microcontroller system. |
mbed_official | 30:91c1d09ada54 | 45 | * Initialize the System and update the SystemCoreClock variable. |
mbed_official | 30:91c1d09ada54 | 46 | */ |
mbed_official | 30:91c1d09ada54 | 47 | extern void SystemInit (void); |
mbed_official | 30:91c1d09ada54 | 48 | |
mbed_official | 30:91c1d09ada54 | 49 | /** |
mbed_official | 30:91c1d09ada54 | 50 | * Update SystemCoreClock variable |
mbed_official | 30:91c1d09ada54 | 51 | * |
mbed_official | 30:91c1d09ada54 | 52 | * @param none |
mbed_official | 30:91c1d09ada54 | 53 | * @return none |
mbed_official | 30:91c1d09ada54 | 54 | * |
mbed_official | 30:91c1d09ada54 | 55 | * @brief Updates the SystemCoreClock with current core Clock |
mbed_official | 30:91c1d09ada54 | 56 | * retrieved from cpu registers. |
mbed_official | 30:91c1d09ada54 | 57 | */ |
mbed_official | 30:91c1d09ada54 | 58 | extern void SystemCoreClockUpdate (void); |
mbed_official | 30:91c1d09ada54 | 59 | |
mbed_official | 30:91c1d09ada54 | 60 | #ifdef __cplusplus |
mbed_official | 30:91c1d09ada54 | 61 | } |
mbed_official | 30:91c1d09ada54 | 62 | #endif |
mbed_official | 30:91c1d09ada54 | 63 | |
mbed_official | 30:91c1d09ada54 | 64 | #endif /* __SYSTEM_LPC11xx_H */ |