Originally from Donal's blog article. http://mbed.org/users/donalm/code/BLE_Health_Thermometer_Blog/ Changed low freq. clock source from XTAL to IRC.

Dependents:   BLE_Health_Thermometer_IRC BLE_RCBController_micono_test BLE_konashi_PIO_test BLE_ADT7410_TMP102_Sample ... more

Fork of BLE_API_Native_blog by Donal Morrissey

Files at this revision

API Documentation at this revision

Comitter:
ktownsend
Date:
Thu Feb 13 11:27:58 2014 +0000
Parent:
6:7b0f506036db
Child:
8:b346eddb9346
Child:
10:eb5f77205fb5
Commit message:
Re-enabled interrupt handlers in app_timer

Changed in this revision

hw/nRF51822n/nordic/app_common/app_timer.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/hw/nRF51822n/nordic/app_common/app_timer.cpp	Thu Feb 13 10:38:40 2014 +0000
+++ b/hw/nRF51822n/nordic/app_common/app_timer.cpp	Thu Feb 13 11:27:58 2014 +0000
@@ -887,7 +887,6 @@
  *
  * @details Checks for timeouts, and executes timeout handlers for expired timers.
  */
- /*
 extern "C" void RTC1_IRQHandler(void)
 {
     // Clear all events (also unexpected ones)
@@ -901,18 +900,15 @@
     // Check for expired timers
     timer_timeouts_check();
 }
-*/
 
 /**@brief Function for handling the SWI0 interrupt.
  *
  * @details Performs all updates to the timer list.
  */
-/*
 extern "C" void SWI0_IRQHandler(void)
 {
     timer_list_handler();
 }
-*/
 
 uint32_t app_timer_init(uint32_t                      prescaler,
                         uint8_t                       max_timers,