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:
92:4fc01daae5a5
First reale BlueNRG module for nucleo 401 board

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 92:4fc01daae5a5 1 /* mbed Microcontroller Library
bogdanm 92:4fc01daae5a5 2
bogdanm 92:4fc01daae5a5 3 * Copyright (c) 2013 Nordic Semiconductor.
bogdanm 92:4fc01daae5a5 4 *
bogdanm 92:4fc01daae5a5 5 * Licensed under the Apache License, Version 2.0 (the "License");
bogdanm 92:4fc01daae5a5 6 * you may not use this file except in compliance with the License.
bogdanm 92:4fc01daae5a5 7 * You may obtain a copy of the License at
bogdanm 92:4fc01daae5a5 8 *
bogdanm 92:4fc01daae5a5 9 * http://www.apache.org/licenses/LICENSE-2.0
bogdanm 92:4fc01daae5a5 10 *
bogdanm 92:4fc01daae5a5 11 * Unless required by applicable law or agreed to in writing, software
bogdanm 92:4fc01daae5a5 12 * distributed under the License is distributed on an "AS IS" BASIS,
bogdanm 92:4fc01daae5a5 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
bogdanm 92:4fc01daae5a5 14 * See the License for the specific language governing permissions and
bogdanm 92:4fc01daae5a5 15 * limitations under the License.
bogdanm 92:4fc01daae5a5 16 */
bogdanm 92:4fc01daae5a5 17
bogdanm 92:4fc01daae5a5 18
bogdanm 92:4fc01daae5a5 19 #ifndef SYSTEM_NRF51_H
bogdanm 92:4fc01daae5a5 20 #define SYSTEM_NRF51_H
bogdanm 92:4fc01daae5a5 21
bogdanm 92:4fc01daae5a5 22 #ifdef __cplusplus
bogdanm 92:4fc01daae5a5 23 extern "C" {
bogdanm 92:4fc01daae5a5 24 #endif
bogdanm 92:4fc01daae5a5 25
bogdanm 92:4fc01daae5a5 26 #include <stdint.h>
bogdanm 92:4fc01daae5a5 27
bogdanm 92:4fc01daae5a5 28
bogdanm 92:4fc01daae5a5 29 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 92:4fc01daae5a5 30
bogdanm 92:4fc01daae5a5 31 /**
bogdanm 92:4fc01daae5a5 32 * Initialize the system
bogdanm 92:4fc01daae5a5 33 *
bogdanm 92:4fc01daae5a5 34 * @param none
bogdanm 92:4fc01daae5a5 35 * @return none
bogdanm 92:4fc01daae5a5 36 *
bogdanm 92:4fc01daae5a5 37 * @brief Setup the microcontroller system.
bogdanm 92:4fc01daae5a5 38 * Initialize the System and update the SystemCoreClock variable.
bogdanm 92:4fc01daae5a5 39 */
bogdanm 92:4fc01daae5a5 40 extern void SystemInit (void);
bogdanm 92:4fc01daae5a5 41
bogdanm 92:4fc01daae5a5 42
bogdanm 92:4fc01daae5a5 43 /**
bogdanm 92:4fc01daae5a5 44 * Update SystemCoreClock variable
bogdanm 92:4fc01daae5a5 45 *
bogdanm 92:4fc01daae5a5 46 * @param none
bogdanm 92:4fc01daae5a5 47 * @return none
bogdanm 92:4fc01daae5a5 48 *
bogdanm 92:4fc01daae5a5 49 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 92:4fc01daae5a5 50 * retrieved from cpu registers.
bogdanm 92:4fc01daae5a5 51 */
bogdanm 92:4fc01daae5a5 52 extern void SystemCoreClockUpdate (void);
bogdanm 92:4fc01daae5a5 53
bogdanm 92:4fc01daae5a5 54 #ifdef __cplusplus
bogdanm 92:4fc01daae5a5 55 }
bogdanm 92:4fc01daae5a5 56 #endif
bogdanm 92:4fc01daae5a5 57
bogdanm 92:4fc01daae5a5 58 #endif /* SYSTEM_NRF51_H */