Architecture,
Assembly
Language,
And
Hardware
Interfacing
(Paperback)
Reading
the
Timer
There
are two
common
ways of
reading
the
value of
a 16-bit
timer;
which
you use
depends
on your
specific
application.
You may
either
read the
actual
value of
the
timer as
a 16-bit
number,
or you
may
simply
detect
when the
timer
has
overflowed.