LPC1768

Committer:
mrsoundhar
Date:
Wed Nov 19 05:50:22 2014 +0000
Revision:
0:ae306d3f6076
publish

Who changed what in which revision?

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