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_TPM.cpp
- Revision:
- 2:5056ec8c52e8
- Parent:
- 1:7dde0e4d30da
- Child:
- 5:ea14fc749f44
diff -r 7dde0e4d30da -r 5056ec8c52e8 Timer_TPM.cpp --- a/Timer_TPM.cpp Sun Mar 09 01:09:56 2014 +0000 +++ b/Timer_TPM.cpp Sun Mar 09 03:02:55 2014 +0000 @@ -14,8 +14,8 @@ uint32_t Timer_TPM::__count = 0; -Timer_TPM::Timer_TPM() : - HardwareTimer(20.8333333333) //20.833... ns per tick, roll over at maximum possible value to reduce interrupt frequency +Timer_TPM::Timer_TPM(float tickValue) : + HardwareTimer(tickValue) { }