change some io settings for TWR-K22F-120M

Dependents:   twr_helloworld

Committer:
Jasper_lee
Date:
Tue Dec 23 03:35:08 2014 +0000
Revision:
0:b16d94660a33
change some io setting used in TWR-K22F120M

Who changed what in which revision?

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