mbed(SerialHalfDuplex入り)
Fork of mbed by
TARGET_LPC11U68/system_LPC11U6x.h@84:0b3ab51c8877, 2014-05-19 (annotated)
- Committer:
- bogdanm
- Date:
- Mon May 19 18:14:09 2014 +0100
- Revision:
- 84:0b3ab51c8877
Release 84 of the mbed library
Main changes:
- added LPC11U68 to the official build
- Bug fixes and new features for ST Nucleo boards
- I2C fixes for Freescale targets
- Added nRF51822 exporters
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 84:0b3ab51c8877 | 1 | /**************************************************************************//** |
bogdanm | 84:0b3ab51c8877 | 2 | * @file system_LPC11U6x.h |
bogdanm | 84:0b3ab51c8877 | 3 | * @brief CMSIS Cortex-M3 Device System Header File for |
bogdanm | 84:0b3ab51c8877 | 4 | * NXP LPC11U6x Device Series |
bogdanm | 84:0b3ab51c8877 | 5 | * @version V1.00 |
bogdanm | 84:0b3ab51c8877 | 6 | * @date 19. July 2013 |
bogdanm | 84:0b3ab51c8877 | 7 | * |
bogdanm | 84:0b3ab51c8877 | 8 | * @note |
bogdanm | 84:0b3ab51c8877 | 9 | * Copyright (C) 2013 ARM Limited. All rights reserved. |
bogdanm | 84:0b3ab51c8877 | 10 | * |
bogdanm | 84:0b3ab51c8877 | 11 | * @par |
bogdanm | 84:0b3ab51c8877 | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
bogdanm | 84:0b3ab51c8877 | 13 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 84:0b3ab51c8877 | 14 | * within development tools that are supporting such ARM based processors. |
bogdanm | 84:0b3ab51c8877 | 15 | * |
bogdanm | 84:0b3ab51c8877 | 16 | * @par |
bogdanm | 84:0b3ab51c8877 | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 84:0b3ab51c8877 | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 84:0b3ab51c8877 | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 84:0b3ab51c8877 | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 84:0b3ab51c8877 | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 84:0b3ab51c8877 | 22 | * |
bogdanm | 84:0b3ab51c8877 | 23 | ******************************************************************************/ |
bogdanm | 84:0b3ab51c8877 | 24 | |
bogdanm | 84:0b3ab51c8877 | 25 | |
bogdanm | 84:0b3ab51c8877 | 26 | #ifndef __SYSTEM_LPC11U6x_H |
bogdanm | 84:0b3ab51c8877 | 27 | #define __SYSTEM_LPC11U6x_H |
bogdanm | 84:0b3ab51c8877 | 28 | |
bogdanm | 84:0b3ab51c8877 | 29 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 30 | extern "C" { |
bogdanm | 84:0b3ab51c8877 | 31 | #endif |
bogdanm | 84:0b3ab51c8877 | 32 | |
bogdanm | 84:0b3ab51c8877 | 33 | #include <stdint.h> |
bogdanm | 84:0b3ab51c8877 | 34 | |
bogdanm | 84:0b3ab51c8877 | 35 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 84:0b3ab51c8877 | 36 | |
bogdanm | 84:0b3ab51c8877 | 37 | |
bogdanm | 84:0b3ab51c8877 | 38 | /** |
bogdanm | 84:0b3ab51c8877 | 39 | * Initialize the system |
bogdanm | 84:0b3ab51c8877 | 40 | * |
bogdanm | 84:0b3ab51c8877 | 41 | * @param none |
bogdanm | 84:0b3ab51c8877 | 42 | * @return none |
bogdanm | 84:0b3ab51c8877 | 43 | * |
bogdanm | 84:0b3ab51c8877 | 44 | * @brief Setup the microcontroller system. |
bogdanm | 84:0b3ab51c8877 | 45 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 84:0b3ab51c8877 | 46 | */ |
bogdanm | 84:0b3ab51c8877 | 47 | extern void SystemInit (void); |
bogdanm | 84:0b3ab51c8877 | 48 | |
bogdanm | 84:0b3ab51c8877 | 49 | /** |
bogdanm | 84:0b3ab51c8877 | 50 | * Update SystemCoreClock variable |
bogdanm | 84:0b3ab51c8877 | 51 | * |
bogdanm | 84:0b3ab51c8877 | 52 | * @param none |
bogdanm | 84:0b3ab51c8877 | 53 | * @return none |
bogdanm | 84:0b3ab51c8877 | 54 | * |
bogdanm | 84:0b3ab51c8877 | 55 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 84:0b3ab51c8877 | 56 | * retrieved from cpu registers. |
bogdanm | 84:0b3ab51c8877 | 57 | */ |
bogdanm | 84:0b3ab51c8877 | 58 | extern void SystemCoreClockUpdate (void); |
bogdanm | 84:0b3ab51c8877 | 59 | |
bogdanm | 84:0b3ab51c8877 | 60 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 61 | } |
bogdanm | 84:0b3ab51c8877 | 62 | #endif |
bogdanm | 84:0b3ab51c8877 | 63 | |
bogdanm | 84:0b3ab51c8877 | 64 | #endif /* __SYSTEM_LPC11U6x_H */ |