English
Language : 

Z86E3016PSG Datasheet, PDF (133/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 CPU
User Manual
115
Counters and Timers
The Z8® CPU provides up to two 8-bit counter/timers, T0 and T1, each
driven by its own 6-bit prescaler, PRE0 and PRE1 (see Figure 68). Both
counter/timers are independent of the processor instruction sequence, that
relieves software from time-critical operations such as interval timing or
event counting. Some MCUs offer clock scaling using the SMR register.
See the device product specification for clock available options. The fol-
lowing description is typical.
Each counter/timer operates in either Single-Pass or Continuous mode. At
the end-of-count, counting either stops or the initial value is reloaded and
counting continues. Under software control, new values are loaded imme-
diately or when the end-of-count is reached. Software also controls the
counting mode, how a counter/timer is started or stopped, and its use of I/
O lines. Both the counter and prescaler registers can be altered while the
counter/timer is running.
UM001602-0904
Counters and Timers