Author :
Craig
Steiner
Source :
8052.com
Book :
The
8051/8052
Microcontroller:
Architecture,
Assembly
Language,
And
Hardware
Interfacing
(Paperback)
Initializing
a Timer
Now that
we’ve
discussed
the
timer-related
SFRs we
are
ready to
write
code
that
will
initialize
the
timer
and
start it
running.
As
you’ll
recall,
we first
must
decide
what
mode we
want the
timer to
be in.
In this
case we
want a
16-bit
timer
that
runs
continuously;
that is
to say,
it is
not
dependent
on any
external
pins.
>>>
Enter
here for
detail
on
"Initializing
a Timer"
<<<
<<< Click
here to
come
back on
(8051
-
Timers)