changed low freq. clock source to IRC
Dependents: BLE_ANCS_SDAPI_IRC
Fork of nRF51822 by
system_nrf51.h
00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is property of Nordic Semiconductor ASA. 00004 * Terms and conditions of usage are described in detail in NORDIC 00005 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 */ 00012 00013 00014 #ifndef SYSTEM_NRF51_H 00015 #define SYSTEM_NRF51_H 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 #include <stdint.h> 00022 #include "nordic_global.h" 00023 00024 00025 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 00026 00027 /** 00028 * Initialize the system 00029 * 00030 * @param none 00031 * @return none 00032 * 00033 * @brief Setup the microcontroller system. 00034 * Initialize the System and update the SystemCoreClock variable. 00035 */ 00036 extern void SystemInit (void); 00037 00038 /** 00039 * Update SystemCoreClock variable 00040 * 00041 * @param none 00042 * @return none 00043 * 00044 * @brief Updates the SystemCoreClock with current core Clock 00045 * retrieved from cpu registers. 00046 */ 00047 extern void SystemCoreClockUpdate (void); 00048 00049 #ifdef __cplusplus 00050 } 00051 #endif 00052 00053 #endif /* SYSTEM_NRF51_H */
Generated on Tue Jul 12 2022 16:36:22 by 1.7.2