Mark Gottscho / HardwareTimersLib

Fork of HardwareTimersLib by Mark Gottscho

Revisions of Timer_TPM.cpp

Revision Date Message Actions
13:3564122e9c10 2014-03-11 Updated start() to allow repeated calls without stopping the timer. This allows the user to re-start callbacks at runtime without breaking the timer. File  Diff  Annotate
12:cb395e4be69e 2014-03-11 Enabled a new mode for the timers. You can now do indefinite periodic callbacks, or a limited number using HardwareTimer::start(). Also got rid of C functions for PIT management. File  Diff  Annotate
11:e0442c8b182b 2014-03-11 Commented out the interrupt disables in all three timers' getTick(). Again, not sure why this breaks things... maybe it doesn't, but for now we'll see. File  Diff  Annotate
10:12c1c5cef918 2014-03-11 Disabling interrupts inside getTick() seems to break things, not sure why, so removed those lines for Timer_TPM. File  Diff  Annotate
9:dff7c891ec77 2014-03-11 Critical bug fixes File  Diff  Annotate
8:23c04123395c 2014-03-11 All timers now globally disable interrupts during computation of getTick(). If this is not done, the tick count will be corrupted. File  Diff  Annotate
7:78f6ee57d324 2014-03-11 MAJOR updates and refactoring of code to improve code reuse and hardware encapsulation. Now all three LPTMR, TPM, and PIT timers inherit from the same HardwareTimer base abstract class, which provides as much functionality as possible. File  Diff  Annotate
5:ea14fc749f44 2014-03-10 Changed TPM's getTick() method. No longer disables interrupts, which was causing problems. File  Diff  Annotate
2:5056ec8c52e8 2014-03-09 Refactored code and added new PIT timer support. File  Diff  Annotate
1:7dde0e4d30da 2014-03-09 Refactored code so that there can be different timer/frequency combinations. For example, Timer_48MHz now derives from Timer_TPM, which derives from HardwareTimer. File  Diff  Annotate