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