mbed library sources
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Superseded
This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.
Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.
If you are looking for a stable and tested release, please import one of the official mbed library releases:
Import librarymbed
The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
targets/cmsis/TARGET_NXP/TARGET_LPC13XX/system_LPC13Uxx.h@135:067cc8ba23da, 2014-03-25 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Mar 25 10:15:07 2014 +0000
- Revision:
- 135:067cc8ba23da
- Parent:
- 13:0645d8841f51
Synchronized with git revision 11bc6fdd038cd58284639ec6ff158b57e4b4bf68
Full URL: https://github.com/mbedmicro/mbed/commit/11bc6fdd038cd58284639ec6ff158b57e4b4bf68/
[NUCLEO_F302R8] Improvements in clock configuration, spi default pins, code formatting
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 13:0645d8841f51 | 1 | /**************************************************************************//** |
bogdanm | 13:0645d8841f51 | 2 | * @file system_LPC13Uxx.h |
bogdanm | 13:0645d8841f51 | 3 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
bogdanm | 13:0645d8841f51 | 4 | * for the NXP LPC13Uxx Device Series |
bogdanm | 13:0645d8841f51 | 5 | * @version V1.10 |
bogdanm | 13:0645d8841f51 | 6 | * @date 24. November 2010 |
bogdanm | 13:0645d8841f51 | 7 | * |
bogdanm | 13:0645d8841f51 | 8 | * @note |
bogdanm | 13:0645d8841f51 | 9 | * Copyright (C) 2009-2010 ARM Limited. All rights reserved. |
bogdanm | 13:0645d8841f51 | 10 | * |
bogdanm | 13:0645d8841f51 | 11 | * @par |
bogdanm | 13:0645d8841f51 | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
bogdanm | 13:0645d8841f51 | 13 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 13:0645d8841f51 | 14 | * within development tools that are supporting such ARM based processors. |
bogdanm | 13:0645d8841f51 | 15 | * |
bogdanm | 13:0645d8841f51 | 16 | * @par |
bogdanm | 13:0645d8841f51 | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 13:0645d8841f51 | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 13:0645d8841f51 | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 13:0645d8841f51 | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 13:0645d8841f51 | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 13:0645d8841f51 | 22 | * |
bogdanm | 13:0645d8841f51 | 23 | ******************************************************************************/ |
bogdanm | 13:0645d8841f51 | 24 | |
bogdanm | 13:0645d8841f51 | 25 | |
bogdanm | 13:0645d8841f51 | 26 | #ifndef __SYSTEM_LPC13Uxx_H |
bogdanm | 13:0645d8841f51 | 27 | #define __SYSTEM_LPC13Uxx_H |
bogdanm | 13:0645d8841f51 | 28 | |
bogdanm | 13:0645d8841f51 | 29 | #ifdef __cplusplus |
bogdanm | 13:0645d8841f51 | 30 | extern "C" { |
bogdanm | 13:0645d8841f51 | 31 | #endif |
bogdanm | 13:0645d8841f51 | 32 | |
bogdanm | 13:0645d8841f51 | 33 | #include <stdint.h> |
bogdanm | 13:0645d8841f51 | 34 | |
bogdanm | 13:0645d8841f51 | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 13:0645d8841f51 | 36 | |
bogdanm | 13:0645d8841f51 | 37 | |
bogdanm | 13:0645d8841f51 | 38 | /** |
bogdanm | 13:0645d8841f51 | 39 | * Initialize the system |
bogdanm | 13:0645d8841f51 | 40 | * |
bogdanm | 13:0645d8841f51 | 41 | * @param none |
bogdanm | 13:0645d8841f51 | 42 | * @return none |
bogdanm | 13:0645d8841f51 | 43 | * |
bogdanm | 13:0645d8841f51 | 44 | * @brief Setup the microcontroller system. |
bogdanm | 13:0645d8841f51 | 45 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 13:0645d8841f51 | 46 | */ |
bogdanm | 13:0645d8841f51 | 47 | extern void SystemInit (void); |
bogdanm | 13:0645d8841f51 | 48 | |
bogdanm | 13:0645d8841f51 | 49 | /** |
bogdanm | 13:0645d8841f51 | 50 | * Update SystemCoreClock variable |
bogdanm | 13:0645d8841f51 | 51 | * |
bogdanm | 13:0645d8841f51 | 52 | * @param none |
bogdanm | 13:0645d8841f51 | 53 | * @return none |
bogdanm | 13:0645d8841f51 | 54 | * |
bogdanm | 13:0645d8841f51 | 55 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 13:0645d8841f51 | 56 | * retrieved from cpu registers. |
bogdanm | 13:0645d8841f51 | 57 | */ |
bogdanm | 13:0645d8841f51 | 58 | extern void SystemCoreClockUpdate (void); |
bogdanm | 13:0645d8841f51 | 59 | |
bogdanm | 13:0645d8841f51 | 60 | #ifdef __cplusplus |
bogdanm | 13:0645d8841f51 | 61 | } |
bogdanm | 13:0645d8841f51 | 62 | #endif |
bogdanm | 13:0645d8841f51 | 63 | |
bogdanm | 13:0645d8841f51 | 64 | #endif /* __SYSTEM_LPC13Uxx_H */ |