Library

Dependents:   led_test myled_test2 Comunication_PC_USB mbed_tt ... more

Committer:
gokmenascioglu
Date:
Sat Sep 22 10:32:07 2012 +0000
Revision:
0:a8fa94490a0a
alican library

Who changed what in which revision?

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