Russ Butler / Mbed OS k64f-lp_ticker-failure-1
Revision:
1:a5320a8f995d
Parent:
0:75c6bdd91c8c
--- a/main.cpp	Sat Jun 03 01:28:36 2017 +0000
+++ b/main.cpp	Wed Jun 14 15:44:42 2017 +0000
@@ -16,6 +16,8 @@
 
     // For debugging only
     CLOCK_EnableClock(kCLOCK_Rtc0);
+    printf("TSR: %i\r\n", RTC->TSR);
+    printf("TAR: %i\r\n", RTC->TAR);
     printf("Enabled interrupts: 0x%x\r\n", RTC->IER);
     printf("Pending interrupts: 0x%x\r\n", RTC->SR & 0x7);