change some io settings for TWR-K22F-120M
TARGET_LPC2368/system_LPC23xx.h@0:b16d94660a33, 2014-12-23 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jasper_lee | 0:b16d94660a33 | 1 | /* mbed Microcontroller Library |
Jasper_lee | 0:b16d94660a33 | 2 | * Copyright (C) 2008-2009 ARM Limited. All rights reserved. |
Jasper_lee | 0:b16d94660a33 | 3 | * |
Jasper_lee | 0:b16d94660a33 | 4 | * ARM7 version of CMSIS-like functionality - not advised for use outside mbed! |
Jasper_lee | 0:b16d94660a33 | 5 | * based on cmsis system_LPC17xx.h |
Jasper_lee | 0:b16d94660a33 | 6 | */ |
Jasper_lee | 0:b16d94660a33 | 7 | |
Jasper_lee | 0:b16d94660a33 | 8 | #ifndef __SYSTEM_LPC23xx_H |
Jasper_lee | 0:b16d94660a33 | 9 | #define __SYSTEM_LPC23xx_H |
Jasper_lee | 0:b16d94660a33 | 10 | |
Jasper_lee | 0:b16d94660a33 | 11 | #ifdef __cplusplus |
Jasper_lee | 0:b16d94660a33 | 12 | extern "C" { |
Jasper_lee | 0:b16d94660a33 | 13 | #endif |
Jasper_lee | 0:b16d94660a33 | 14 | |
Jasper_lee | 0:b16d94660a33 | 15 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
Jasper_lee | 0:b16d94660a33 | 16 | |
Jasper_lee | 0:b16d94660a33 | 17 | /** |
Jasper_lee | 0:b16d94660a33 | 18 | * Initialize the system |
Jasper_lee | 0:b16d94660a33 | 19 | * |
Jasper_lee | 0:b16d94660a33 | 20 | * @param none |
Jasper_lee | 0:b16d94660a33 | 21 | * @return none |
Jasper_lee | 0:b16d94660a33 | 22 | * |
Jasper_lee | 0:b16d94660a33 | 23 | * @brief Setup the microcontroller system. |
Jasper_lee | 0:b16d94660a33 | 24 | * Initialize the System and update the SystemCoreClock variable. |
Jasper_lee | 0:b16d94660a33 | 25 | */ |
Jasper_lee | 0:b16d94660a33 | 26 | extern void SystemInit (void); |
Jasper_lee | 0:b16d94660a33 | 27 | |
Jasper_lee | 0:b16d94660a33 | 28 | /** |
Jasper_lee | 0:b16d94660a33 | 29 | * Update SystemCoreClock variable |
Jasper_lee | 0:b16d94660a33 | 30 | * |
Jasper_lee | 0:b16d94660a33 | 31 | * @param none |
Jasper_lee | 0:b16d94660a33 | 32 | * @return none |
Jasper_lee | 0:b16d94660a33 | 33 | * |
Jasper_lee | 0:b16d94660a33 | 34 | * @brief Updates the SystemCoreClock with current core Clock |
Jasper_lee | 0:b16d94660a33 | 35 | * retrieved from cpu registers. |
Jasper_lee | 0:b16d94660a33 | 36 | */ |
Jasper_lee | 0:b16d94660a33 | 37 | extern void SystemCoreClockUpdate (void); |
Jasper_lee | 0:b16d94660a33 | 38 | |
Jasper_lee | 0:b16d94660a33 | 39 | |
Jasper_lee | 0:b16d94660a33 | 40 | #ifdef __cplusplus |
Jasper_lee | 0:b16d94660a33 | 41 | } |
Jasper_lee | 0:b16d94660a33 | 42 | #endif |
Jasper_lee | 0:b16d94660a33 | 43 | |
Jasper_lee | 0:b16d94660a33 | 44 | #endif |