Openwear requires RC oscillator to be used

Fork of nRF51822 by Nordic Semiconductor

Committer:
bogdanm
Date:
Wed Mar 26 14:38:17 2014 +0000
Revision:
0:eff01767de02
Child:
37:c29c330d942c
Initial import of the nRF51822 code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 0:eff01767de02 1 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
bogdanm 0:eff01767de02 2 *
bogdanm 0:eff01767de02 3 * The information contained herein is property of Nordic Semiconductor ASA.
bogdanm 0:eff01767de02 4 * Terms and conditions of usage are described in detail in NORDIC
bogdanm 0:eff01767de02 5 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
bogdanm 0:eff01767de02 6 *
bogdanm 0:eff01767de02 7 * Licensees are granted free, non-transferable use of the information. NO
bogdanm 0:eff01767de02 8 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
bogdanm 0:eff01767de02 9 * the file.
bogdanm 0:eff01767de02 10 *
bogdanm 0:eff01767de02 11 */
bogdanm 0:eff01767de02 12
bogdanm 0:eff01767de02 13
bogdanm 0:eff01767de02 14 #ifndef SYSTEM_NRF51_H
bogdanm 0:eff01767de02 15 #define SYSTEM_NRF51_H
bogdanm 0:eff01767de02 16
bogdanm 0:eff01767de02 17 #ifdef __cplusplus
bogdanm 0:eff01767de02 18 extern "C" {
bogdanm 0:eff01767de02 19 #endif
bogdanm 0:eff01767de02 20
bogdanm 0:eff01767de02 21 #include <stdint.h>
bogdanm 0:eff01767de02 22 #include "nordic_global.h"
bogdanm 0:eff01767de02 23
bogdanm 0:eff01767de02 24
bogdanm 0:eff01767de02 25 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
bogdanm 0:eff01767de02 26
bogdanm 0:eff01767de02 27 /**
bogdanm 0:eff01767de02 28 * Initialize the system
bogdanm 0:eff01767de02 29 *
bogdanm 0:eff01767de02 30 * @param none
bogdanm 0:eff01767de02 31 * @return none
bogdanm 0:eff01767de02 32 *
bogdanm 0:eff01767de02 33 * @brief Setup the microcontroller system.
bogdanm 0:eff01767de02 34 * Initialize the System and update the SystemCoreClock variable.
bogdanm 0:eff01767de02 35 */
bogdanm 0:eff01767de02 36 extern void SystemInit (void);
bogdanm 0:eff01767de02 37
bogdanm 0:eff01767de02 38 /**
bogdanm 0:eff01767de02 39 * Update SystemCoreClock variable
bogdanm 0:eff01767de02 40 *
bogdanm 0:eff01767de02 41 * @param none
bogdanm 0:eff01767de02 42 * @return none
bogdanm 0:eff01767de02 43 *
bogdanm 0:eff01767de02 44 * @brief Updates the SystemCoreClock with current core Clock
bogdanm 0:eff01767de02 45 * retrieved from cpu registers.
bogdanm 0:eff01767de02 46 */
bogdanm 0:eff01767de02 47 extern void SystemCoreClockUpdate (void);
bogdanm 0:eff01767de02 48
bogdanm 0:eff01767de02 49 #ifdef __cplusplus
bogdanm 0:eff01767de02 50 }
bogdanm 0:eff01767de02 51 #endif
bogdanm 0:eff01767de02 52
bogdanm 0:eff01767de02 53 #endif /* SYSTEM_NRF51_H */