my fork
Fork of mbed by
TARGET_ARCH_PRO/system_LPC17xx.h@97:4298809c7c9e, 2015-04-08 (annotated)
- Committer:
- filartrix
- Date:
- Wed Apr 08 14:12:53 2015 +0000
- Revision:
- 97:4298809c7c9e
- Parent:
- 85:024bf7f99721
First reale BlueNRG module for nucleo 401 board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 85:024bf7f99721 | 1 | /****************************************************************************** |
bogdanm | 85:024bf7f99721 | 2 | * @file: system_LPC17xx.h |
bogdanm | 85:024bf7f99721 | 3 | * @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
bogdanm | 85:024bf7f99721 | 4 | * for the NXP LPC17xx Device Series |
bogdanm | 85:024bf7f99721 | 5 | * @version: V1.02 |
bogdanm | 85:024bf7f99721 | 6 | * @date: 27. July 2009 |
bogdanm | 85:024bf7f99721 | 7 | *---------------------------------------------------------------------------- |
bogdanm | 85:024bf7f99721 | 8 | * |
bogdanm | 85:024bf7f99721 | 9 | * Copyright (C) 2009 ARM Limited. All rights reserved. |
bogdanm | 85:024bf7f99721 | 10 | * |
bogdanm | 85:024bf7f99721 | 11 | * ARM Limited (ARM) is supplying this software for use with Cortex-M3 |
bogdanm | 85:024bf7f99721 | 12 | * processor based microcontrollers. This file can be freely distributed |
bogdanm | 85:024bf7f99721 | 13 | * within development tools that are supporting such ARM based processors. |
bogdanm | 85:024bf7f99721 | 14 | * |
bogdanm | 85:024bf7f99721 | 15 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
bogdanm | 85:024bf7f99721 | 16 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
bogdanm | 85:024bf7f99721 | 17 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
bogdanm | 85:024bf7f99721 | 18 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
bogdanm | 85:024bf7f99721 | 19 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
bogdanm | 85:024bf7f99721 | 20 | * |
bogdanm | 85:024bf7f99721 | 21 | ******************************************************************************/ |
bogdanm | 85:024bf7f99721 | 22 | |
bogdanm | 85:024bf7f99721 | 23 | |
bogdanm | 85:024bf7f99721 | 24 | #ifndef __SYSTEM_LPC17xx_H |
bogdanm | 85:024bf7f99721 | 25 | #define __SYSTEM_LPC17xx_H |
bogdanm | 85:024bf7f99721 | 26 | |
bogdanm | 85:024bf7f99721 | 27 | #ifdef __cplusplus |
bogdanm | 85:024bf7f99721 | 28 | extern "C" { |
bogdanm | 85:024bf7f99721 | 29 | #endif |
bogdanm | 85:024bf7f99721 | 30 | |
bogdanm | 85:024bf7f99721 | 31 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 85:024bf7f99721 | 32 | |
bogdanm | 85:024bf7f99721 | 33 | |
bogdanm | 85:024bf7f99721 | 34 | /** |
bogdanm | 85:024bf7f99721 | 35 | * Initialize the system |
bogdanm | 85:024bf7f99721 | 36 | * |
bogdanm | 85:024bf7f99721 | 37 | * @param none |
bogdanm | 85:024bf7f99721 | 38 | * @return none |
bogdanm | 85:024bf7f99721 | 39 | * |
bogdanm | 85:024bf7f99721 | 40 | * @brief Setup the microcontroller system. |
bogdanm | 85:024bf7f99721 | 41 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 85:024bf7f99721 | 42 | */ |
bogdanm | 85:024bf7f99721 | 43 | extern void SystemInit (void); |
bogdanm | 85:024bf7f99721 | 44 | |
bogdanm | 85:024bf7f99721 | 45 | /** |
bogdanm | 85:024bf7f99721 | 46 | * Update SystemCoreClock variable |
bogdanm | 85:024bf7f99721 | 47 | * |
bogdanm | 85:024bf7f99721 | 48 | * @param none |
bogdanm | 85:024bf7f99721 | 49 | * @return none |
bogdanm | 85:024bf7f99721 | 50 | * |
bogdanm | 85:024bf7f99721 | 51 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 85:024bf7f99721 | 52 | * retrieved from cpu registers. |
bogdanm | 85:024bf7f99721 | 53 | */ |
bogdanm | 85:024bf7f99721 | 54 | extern void SystemCoreClockUpdate (void); |
bogdanm | 85:024bf7f99721 | 55 | |
bogdanm | 85:024bf7f99721 | 56 | #ifdef __cplusplus |
bogdanm | 85:024bf7f99721 | 57 | } |
bogdanm | 85:024bf7f99721 | 58 | #endif |
bogdanm | 85:024bf7f99721 | 59 | |
bogdanm | 85:024bf7f99721 | 60 | #endif /* __SYSTEM_LPC17xx_H */ |