version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Mon Aug 05 12:28:09 2013 +0300
Revision:
64:e3affc9e7238
Parent:
LPC1768/system_LPC17xx.h@11:1c1ebd0324fa
Child:
65:5798e58a58b1
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)

Who changed what in which revision?

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