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_LPC15xx.h
Jasper_lee 0:b16d94660a33 3 * @brief CMSIS Cortex-M3 Device System Header File for
Jasper_lee 0:b16d94660a33 4 * NXP LPC15xx Device Series
Jasper_lee 0:b16d94660a33 5 * @version V1.00
Jasper_lee 0:b16d94660a33 6 * @date 19. July 2013
Jasper_lee 0:b16d94660a33 7 *
Jasper_lee 0:b16d94660a33 8 * @note
Jasper_lee 0:b16d94660a33 9 * Copyright (C) 2013 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_LPC15xx_H
Jasper_lee 0:b16d94660a33 27 #define __SYSTEM_LPC15xx_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 /** @addtogroup LPC15xx_System
Jasper_lee 0:b16d94660a33 36 * @{
Jasper_lee 0:b16d94660a33 37 */
Jasper_lee 0:b16d94660a33 38
Jasper_lee 0:b16d94660a33 39 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
Jasper_lee 0:b16d94660a33 40
Jasper_lee 0:b16d94660a33 41
Jasper_lee 0:b16d94660a33 42 /**
Jasper_lee 0:b16d94660a33 43 * Initialize the system
Jasper_lee 0:b16d94660a33 44 *
Jasper_lee 0:b16d94660a33 45 * @param none
Jasper_lee 0:b16d94660a33 46 * @return none
Jasper_lee 0:b16d94660a33 47 *
Jasper_lee 0:b16d94660a33 48 * @brief Setup the microcontroller system.
Jasper_lee 0:b16d94660a33 49 * Initialize the System.
Jasper_lee 0:b16d94660a33 50 */
Jasper_lee 0:b16d94660a33 51 extern void SystemInit (void);
Jasper_lee 0:b16d94660a33 52
Jasper_lee 0:b16d94660a33 53 /**
Jasper_lee 0:b16d94660a33 54 * Update SystemCoreClock variable
Jasper_lee 0:b16d94660a33 55 *
Jasper_lee 0:b16d94660a33 56 * @param none
Jasper_lee 0:b16d94660a33 57 * @return none
Jasper_lee 0:b16d94660a33 58 *
Jasper_lee 0:b16d94660a33 59 * @brief Updates the SystemCoreClock with current core Clock
Jasper_lee 0:b16d94660a33 60 * retrieved from cpu registers.
Jasper_lee 0:b16d94660a33 61 */
Jasper_lee 0:b16d94660a33 62 extern void SystemCoreClockUpdate (void);
Jasper_lee 0:b16d94660a33 63
Jasper_lee 0:b16d94660a33 64 #ifdef __cplusplus
Jasper_lee 0:b16d94660a33 65 }
Jasper_lee 0:b16d94660a33 66 #endif
Jasper_lee 0:b16d94660a33 67
Jasper_lee 0:b16d94660a33 68 /**
Jasper_lee 0:b16d94660a33 69 * @}
Jasper_lee 0:b16d94660a33 70 */
Jasper_lee 0:b16d94660a33 71
Jasper_lee 0:b16d94660a33 72 #endif /* __SYSTEM_LPC15xx_H */