From 06b8c5c8b1eba90e3f9bc99a4de612f27a97bad6 Mon Sep 17 00:00:00 2001 From: scipio Date: Wed, 27 Jan 2010 04:56:22 +0000 Subject: [PATCH] Make note of off-by-one being OK --- apps/tests/TestSimTimers/README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/tests/TestSimTimers/README b/apps/tests/TestSimTimers/README index 3f25018c..65f8f369 100644 --- a/apps/tests/TestSimTimers/README +++ b/apps/tests/TestSimTimers/README @@ -23,10 +23,14 @@ DEBUG (0): Timer A is good @ 0:10:1.837925167. DEBUG (0): Timer A is good @ 0:10:2.837925167. DEBUG (0): Timer A is good @ 0:10:3.837925167. -If there is a timer bug, then the output will read +If a timer is off, then the output will read DEBUG (0): Timer A is off. Should have fired in X, fired in Y @ Z. +Note that if a timer is off by 1, the timer is still operating +correctly. The way the atm128 counter registers work mean that you +can't schedule very short timers, so sometimes the code needs to +make it one tick longer. Tools: -- 2.39.2