The official mbed C/C SDK provides the software platform and libraries to build your applications.
Fork of mbed by
TARGET_XADOW_M0/system_LPC11Uxx.h@87:6213f644d804, 2014-07-25 (annotated)
- Committer:
- bogdanm
- Date:
- Fri Jul 25 09:46:51 2014 +0100
- Revision:
- 87:6213f644d804
Release 87 of the mbed library
Main changes:
- error.h renamed to mbed_error.h to avoid name clashes
- upgraded to V7 of the nRF51822 soft-device 110
- New targets: HRM107
- Improved test infrastructure
- Bug fixes on various targets
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 87:6213f644d804 | 1 | /**************************************************************************//** |
bogdanm | 87:6213f644d804 | 2 | * @file system_LPC11Uxx.h |
bogdanm | 87:6213f644d804 | 3 | * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File |
bogdanm | 87:6213f644d804 | 4 | * for the NXP LPC11Uxx Device Series |
bogdanm | 87:6213f644d804 | 5 | * @version V1.10 |
bogdanm | 87:6213f644d804 | 6 | * @date 24. November 2010 |
bogdanm | 87:6213f644d804 | 7 | * |
bogdanm | 87:6213f644d804 | 8 | * @note |
bogdanm | 87:6213f644d804 | 9 | * Copyright (C) 2009-2010 ARM Limited. All rights reserved. |
bogdanm | 87:6213f644d804 | 10 | * |
bogdanm | 87:6213f644d804 | 11 | * @par |
bogdanm | 87:6213f644d804 | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
bogdanm | 87:6213f644d804 | 13 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 87:6213f644d804 | 14 | * within development tools that are supporting such ARM based processors. |
bogdanm | 87:6213f644d804 | 15 | * |
bogdanm | 87:6213f644d804 | 16 | * @par |
bogdanm | 87:6213f644d804 | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 87:6213f644d804 | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 87:6213f644d804 | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 87:6213f644d804 | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 87:6213f644d804 | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 87:6213f644d804 | 22 | * |
bogdanm | 87:6213f644d804 | 23 | ******************************************************************************/ |
bogdanm | 87:6213f644d804 | 24 | |
bogdanm | 87:6213f644d804 | 25 | |
bogdanm | 87:6213f644d804 | 26 | #ifndef __SYSTEM_LPC11Uxx_H |
bogdanm | 87:6213f644d804 | 27 | #define __SYSTEM_LPC11Uxx_H |
bogdanm | 87:6213f644d804 | 28 | |
bogdanm | 87:6213f644d804 | 29 | #ifdef __cplusplus |
bogdanm | 87:6213f644d804 | 30 | extern "C" { |
bogdanm | 87:6213f644d804 | 31 | #endif |
bogdanm | 87:6213f644d804 | 32 | |
bogdanm | 87:6213f644d804 | 33 | #include <stdint.h> |
bogdanm | 87:6213f644d804 | 34 | |
bogdanm | 87:6213f644d804 | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 87:6213f644d804 | 36 | |
bogdanm | 87:6213f644d804 | 37 | |
bogdanm | 87:6213f644d804 | 38 | /** |
bogdanm | 87:6213f644d804 | 39 | * Initialize the system |
bogdanm | 87:6213f644d804 | 40 | * |
bogdanm | 87:6213f644d804 | 41 | * @param none |
bogdanm | 87:6213f644d804 | 42 | * @return none |
bogdanm | 87:6213f644d804 | 43 | * |
bogdanm | 87:6213f644d804 | 44 | * @brief Setup the microcontroller system. |
bogdanm | 87:6213f644d804 | 45 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 87:6213f644d804 | 46 | */ |
bogdanm | 87:6213f644d804 | 47 | extern void SystemInit (void); |
bogdanm | 87:6213f644d804 | 48 | |
bogdanm | 87:6213f644d804 | 49 | /** |
bogdanm | 87:6213f644d804 | 50 | * Update SystemCoreClock variable |
bogdanm | 87:6213f644d804 | 51 | * |
bogdanm | 87:6213f644d804 | 52 | * @param none |
bogdanm | 87:6213f644d804 | 53 | * @return none |
bogdanm | 87:6213f644d804 | 54 | * |
bogdanm | 87:6213f644d804 | 55 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 87:6213f644d804 | 56 | * retrieved from cpu registers. |
bogdanm | 87:6213f644d804 | 57 | */ |
bogdanm | 87:6213f644d804 | 58 | extern void SystemCoreClockUpdate (void); |
bogdanm | 87:6213f644d804 | 59 | |
bogdanm | 87:6213f644d804 | 60 | #ifdef __cplusplus |
bogdanm | 87:6213f644d804 | 61 | } |
bogdanm | 87:6213f644d804 | 62 | #endif |
bogdanm | 87:6213f644d804 | 63 | |
bogdanm | 87:6213f644d804 | 64 | #endif /* __SYSTEM_LPC11Uxx_H */ |