BLE Temperature Service Mobile and Ubiquitous Computing Module Birkbeck College

Dependencies:   DS1820

Committer:
gkroussos
Date:
Sun Mar 08 19:42:20 2015 +0000
Revision:
0:dd0fea342ad2
BLE Temperature Service ; Mobile and Ubiquitous Computing Module; Birkbeck College

Who changed what in which revision?

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