Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:a5320a8f995d, committed 2017-06-14
- Comitter:
- c1728p9
- Date:
- Wed Jun 14 15:44:42 2017 +0000
- Parent:
- 0:75c6bdd91c8c
- Commit message:
- Change TSR and TAR print format from hex to decimal
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);