Simple implementation of the watchdog timer for NRF51xxx.
Dependents: WatchdogTimerTest Seeed_Test_Wristband_final mbed-os-PF-UWBBEACON_v1_dev RB-2018-X_MPU_12
Revision 1:10fdcb411fbd, committed 2015-06-30
- Comitter:
- jcady92
- Date:
- Tue Jun 30 16:43:53 2015 +0000
- Parent:
- 0:172aa845e1d7
- Commit message:
- Newlines for older systems (get rid of the warning).
Changed in this revision
WatchdogTimer.cpp | Show annotated file Show diff for this revision Revisions of this file |
WatchdogTimer.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 172aa845e1d7 -r 10fdcb411fbd WatchdogTimer.cpp --- a/WatchdogTimer.cpp Tue Jun 30 16:19:16 2015 +0000 +++ b/WatchdogTimer.cpp Tue Jun 30 16:43:53 2015 +0000 @@ -21,4 +21,4 @@ { //Reload register 0 NRF_WDT->RR[0] = WDT_RR_RR_Reload; -} \ No newline at end of file +}
diff -r 172aa845e1d7 -r 10fdcb411fbd WatchdogTimer.h --- a/WatchdogTimer.h Tue Jun 30 16:19:16 2015 +0000 +++ b/WatchdogTimer.h Tue Jun 30 16:43:53 2015 +0000 @@ -14,4 +14,4 @@ static const uint16_t NRF_CLK_RATE = 32768; //32KHz }; -#endif // WATCHDOGTIMER_H \ No newline at end of file +#endif // WATCHDOGTIMER_H