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