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
HardwareTimer.cpp
- Committer:
- mgottscho
- Date:
- 2014-03-08
- Revision:
- 0:47acc8320421
- Child:
- 2:5056ec8c52e8
File content as of revision 0:47acc8320421:
/* HardwareTimer.cpp * Tested with mbed board: FRDM-KL46Z * Author: Mark Gottscho * mgottscho@ucla.edu */ #include "mbed.h" #include "HardwareTimer.h" HardwareTimer::HardwareTimer(uint32_t tickValue) : __valid(false), __enabled(false), __tickValue(tickValue) { } HardwareTimer::~HardwareTimer() { } bool HardwareTimer::valid() { return __valid; } bool HardwareTimer::isEnabled() { return __enabled; } float HardwareTimer::tickValue() { return __tickValue; }