...
Dependents: 2doejemplo Labo_TRSE_Drone
Fork of mbed by
TARGET_LPC1347/system_LPC13Uxx.h@64:e3affc9e7238, 2013-08-05 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 05 12:28:09 2013 +0300
- Revision:
- 64:e3affc9e7238
- Child:
- 66:9c8f0e3462fb
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 64:e3affc9e7238 | 1 | /**************************************************************************//** |
bogdanm | 64:e3affc9e7238 | 2 | * @file system_LPC13Uxx.h |
bogdanm | 64:e3affc9e7238 | 3 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
bogdanm | 64:e3affc9e7238 | 4 | * for the NXP LPC13Uxx Device Series |
bogdanm | 64:e3affc9e7238 | 5 | * @version V1.10 |
bogdanm | 64:e3affc9e7238 | 6 | * @date 24. November 2010 |
bogdanm | 64:e3affc9e7238 | 7 | * |
bogdanm | 64:e3affc9e7238 | 8 | * @note |
bogdanm | 64:e3affc9e7238 | 9 | * Copyright (C) 2009-2010 ARM Limited. All rights reserved. |
bogdanm | 64:e3affc9e7238 | 10 | * |
bogdanm | 64:e3affc9e7238 | 11 | * @par |
bogdanm | 64:e3affc9e7238 | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
bogdanm | 64:e3affc9e7238 | 13 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 64:e3affc9e7238 | 14 | * within development tools that are supporting such ARM based processors. |
bogdanm | 64:e3affc9e7238 | 15 | * |
bogdanm | 64:e3affc9e7238 | 16 | * @par |
bogdanm | 64:e3affc9e7238 | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 64:e3affc9e7238 | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 64:e3affc9e7238 | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 64:e3affc9e7238 | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 64:e3affc9e7238 | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 64:e3affc9e7238 | 22 | * |
bogdanm | 64:e3affc9e7238 | 23 | ******************************************************************************/ |
bogdanm | 64:e3affc9e7238 | 24 | |
bogdanm | 64:e3affc9e7238 | 25 | |
bogdanm | 64:e3affc9e7238 | 26 | #ifndef __SYSTEM_LPC13Uxx_H |
bogdanm | 64:e3affc9e7238 | 27 | #define __SYSTEM_LPC13Uxx_H |
bogdanm | 64:e3affc9e7238 | 28 | |
bogdanm | 64:e3affc9e7238 | 29 | #ifdef __cplusplus |
bogdanm | 64:e3affc9e7238 | 30 | extern "C" { |
bogdanm | 64:e3affc9e7238 | 31 | #endif |
bogdanm | 64:e3affc9e7238 | 32 | |
bogdanm | 64:e3affc9e7238 | 33 | #include <stdint.h> |
bogdanm | 64:e3affc9e7238 | 34 | |
bogdanm | 64:e3affc9e7238 | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 64:e3affc9e7238 | 36 | |
bogdanm | 64:e3affc9e7238 | 37 | |
bogdanm | 64:e3affc9e7238 | 38 | /** |
bogdanm | 64:e3affc9e7238 | 39 | * Initialize the system |
bogdanm | 64:e3affc9e7238 | 40 | * |
bogdanm | 64:e3affc9e7238 | 41 | * @param none |
bogdanm | 64:e3affc9e7238 | 42 | * @return none |
bogdanm | 64:e3affc9e7238 | 43 | * |
bogdanm | 64:e3affc9e7238 | 44 | * @brief Setup the microcontroller system. |
bogdanm | 64:e3affc9e7238 | 45 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 64:e3affc9e7238 | 46 | */ |
bogdanm | 64:e3affc9e7238 | 47 | extern void SystemInit (void); |
bogdanm | 64:e3affc9e7238 | 48 | |
bogdanm | 64:e3affc9e7238 | 49 | /** |
bogdanm | 64:e3affc9e7238 | 50 | * Update SystemCoreClock variable |
bogdanm | 64:e3affc9e7238 | 51 | * |
bogdanm | 64:e3affc9e7238 | 52 | * @param none |
bogdanm | 64:e3affc9e7238 | 53 | * @return none |
bogdanm | 64:e3affc9e7238 | 54 | * |
bogdanm | 64:e3affc9e7238 | 55 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 64:e3affc9e7238 | 56 | * retrieved from cpu registers. |
bogdanm | 64:e3affc9e7238 | 57 | */ |
bogdanm | 64:e3affc9e7238 | 58 | extern void SystemCoreClockUpdate (void); |
bogdanm | 64:e3affc9e7238 | 59 | |
bogdanm | 64:e3affc9e7238 | 60 | #ifdef __cplusplus |
bogdanm | 64:e3affc9e7238 | 61 | } |
bogdanm | 64:e3affc9e7238 | 62 | #endif |
bogdanm | 64:e3affc9e7238 | 63 | |
bogdanm | 64:e3affc9e7238 | 64 | #endif /* __SYSTEM_LPC13Uxx_H */ |