my fork

Dependents:   Nucleo_blueNRG

Fork of mbed by mbed official

Committer:
filartrix
Date:
Wed Apr 08 14:12:53 2015 +0000
Revision:
97:4298809c7c9e
Parent:
93:e188a91d3eaa
First reale BlueNRG module for nucleo 401 board

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 66:9c8f0e3462fb 1 /******************************************************************************
bogdanm 66:9c8f0e3462fb 2 * @file: system_LPC8xx.h
bogdanm 66:9c8f0e3462fb 3 * @purpose: CMSIS Cortex-M0+ Device Peripheral Access Layer Header File
bogdanm 66:9c8f0e3462fb 4 * for the NXP LPC8xx Device Series
bogdanm 66:9c8f0e3462fb 5 * @version: V1.0
bogdanm 66:9c8f0e3462fb 6 * @date: 16. Aug. 2012
bogdanm 66:9c8f0e3462fb 7 *----------------------------------------------------------------------------
bogdanm 66:9c8f0e3462fb 8 *
bogdanm 66:9c8f0e3462fb 9 * Copyright (C) 2012 ARM Limited. All rights reserved.
bogdanm 66:9c8f0e3462fb 10 *
bogdanm 66:9c8f0e3462fb 11 * ARM Limited (ARM) is supplying this software for use with Cortex-M0+
bogdanm 66:9c8f0e3462fb 12 * processor based microcontrollers. This file can be freely distributed
bogdanm 66:9c8f0e3462fb 13 * within development tools that are supporting such ARM based processors.
bogdanm 66:9c8f0e3462fb 14 *
bogdanm 66:9c8f0e3462fb 15 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
bogdanm 66:9c8f0e3462fb 16 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
bogdanm 66:9c8f0e3462fb 17 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
bogdanm 66:9c8f0e3462fb 18 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
bogdanm 66:9c8f0e3462fb 19 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
bogdanm 66:9c8f0e3462fb 20 *
bogdanm 66:9c8f0e3462fb 21 ******************************************************************************/
bogdanm 66:9c8f0e3462fb 22
bogdanm 66:9c8f0e3462fb 23
bogdanm 66:9c8f0e3462fb 24 #ifndef __SYSTEM_LPC8xx_H
bogdanm 66:9c8f0e3462fb 25 #define __SYSTEM_LPC8xx_H
bogdanm 66:9c8f0e3462fb 26
bogdanm 66:9c8f0e3462fb 27 #ifdef __cplusplus
bogdanm 66:9c8f0e3462fb 28 extern "C" {
bogdanm 66:9c8f0e3462fb 29 #endif
bogdanm 66:9c8f0e3462fb 30
bogdanm 66:9c8f0e3462fb 31 #include <stdint.h>
bogdanm 66:9c8f0e3462fb 32
Kojto 93:e188a91d3eaa 33 extern uint32_t MainClock; /*!< Main Clock Frequency */
bogdanm 66:9c8f0e3462fb 34 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 66:9c8f0e3462fb 35
bogdanm 66:9c8f0e3462fb 36
bogdanm 66:9c8f0e3462fb 37 /**
bogdanm 66:9c8f0e3462fb 38 * Initialize the system
bogdanm 66:9c8f0e3462fb 39 *
bogdanm 66:9c8f0e3462fb 40 * @param none
bogdanm 66:9c8f0e3462fb 41 * @return none
bogdanm 66:9c8f0e3462fb 42 *
bogdanm 66:9c8f0e3462fb 43 * @brief Setup the microcontroller system.
bogdanm 66:9c8f0e3462fb 44 * Initialize the System and update the SystemCoreClock variable.
bogdanm 66:9c8f0e3462fb 45 */
bogdanm 66:9c8f0e3462fb 46 extern void SystemInit (void);
bogdanm 66:9c8f0e3462fb 47
bogdanm 66:9c8f0e3462fb 48 /**
bogdanm 66:9c8f0e3462fb 49 * Update SystemCoreClock variable
bogdanm 66:9c8f0e3462fb 50 *
bogdanm 66:9c8f0e3462fb 51 * @param none
bogdanm 66:9c8f0e3462fb 52 * @return none
bogdanm 66:9c8f0e3462fb 53 *
bogdanm 66:9c8f0e3462fb 54 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 66:9c8f0e3462fb 55 * retrieved from cpu registers.
bogdanm 66:9c8f0e3462fb 56 */
bogdanm 66:9c8f0e3462fb 57 extern void SystemCoreClockUpdate (void);
bogdanm 66:9c8f0e3462fb 58
bogdanm 66:9c8f0e3462fb 59 #ifdef __cplusplus
bogdanm 66:9c8f0e3462fb 60 }
bogdanm 66:9c8f0e3462fb 61 #endif
bogdanm 66:9c8f0e3462fb 62
bogdanm 66:9c8f0e3462fb 63 #endif /* __SYSTEM_LPC8xx_H */