English
Language : 

Z8FMC16100 Datasheet, PDF (114/402 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Flash MCUs
Z8 Encore!® Motor Control Flash MCUs
Product Specification
92
Data
Bus
Block
Control
System
Clock
Timer
Input
Timer Control
16-Bit
Reload Register
16-Bit Counter
with Prescaler
Gate Input
Capture Input
16-Bit
PWM/Compare
Timer Block
Interrupt,
PWM, and
Timer Output
Control
Timer
Interrupt
TOUT
TOUT
Figure 10. Timer Block Diagram
Operation
The general-purpose timer is a 16-bit up-counter. In normal operation, the timer is initial-
ized to 0001h. After it is enabled, the timer counts up to the value contained in the Reload
High and Low Byte registers, then resets to 0001h. The counter either halts or continues,
depending on its current mode of operation.
Minimum time-out delay (1 system clock in duration) is set by loading the value 0001h
into the Timer Reload High and Low Byte registers and setting the prescale value to 1.
Maximum time-out delay (216 x 27 system clocks) is set by loading the value 0000h into
the Timer Reload High and Low Byte registers and setting the prescale value to 128.
When the timer reaches FFFFh, the timer rolls over to 0000h.
If the reload register is set to a value less than the current counter value, the counter con-
tinues counting until reaching FFFFh, rolls over to 0000h, and continues counting until
reaching the reload value, then resets to 0001h.
General-Purpose Timer
PRELIMINARY
PS024604-1005