Add clock reset behavior to EXT when internally clocked.

This commit is contained in:
2025-07-04 10:54:16 -07:00
parent b8cdd97261
commit 14d1c497b3
2 changed files with 20 additions and 4 deletions

View File

@ -145,6 +145,11 @@ class Clock {
uClock.stop();
}
// Reset all clock counters to 0.
void Reset() {
uClock.resetCounters();
}
// Returns true if the clock is not running.
bool IsPaused() {
return uClock.clock_state == uClock.PAUSED;