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.
Fork of HardwareTimersLib by
Diff: Timer_LPTMR.cpp
- Revision:
- 13:3564122e9c10
- Parent:
- 12:cb395e4be69e
diff -r cb395e4be69e -r 3564122e9c10 Timer_LPTMR.cpp
--- a/Timer_LPTMR.cpp Tue Mar 11 05:38:56 2014 +0000
+++ b/Timer_LPTMR.cpp Tue Mar 11 05:49:26 2014 +0000
@@ -77,7 +77,6 @@
}
void Timer_LPTMR::__start_timer() {
- LPTMR0->CSR = 0; //Reset the timer control/status register
LPTMR0->CMR = __rolloverValue; //Set the compare register
LPTMR0->CSR |= LPTMR_CSR_TIE_MASK; //Enable interrupt
LPTMR0->CSR |= LPTMR_CSR_TEN_MASK; //Start the timer
