English
Language : 

Z86D990 Datasheet, PDF (51/102 Pages) Zilog, Inc. – Low-Voltage Micro controllers with ADC
Z86D990/Z86D991 OTP and Z86L99X ROM
Low-Voltage Microcontrollers with ADC
44
Triggered Input Mode
The TIN Triggered Input mode (TMR bits D5 and D4 set to 1 and 0, respectively)
causes T1 to start counting as the result of an external event (see Figure 32). T1 is
then loaded and clocked by the internal timer clock following the first High-to-Low
transition on the TIN input. Subsequent TIN transitions do not affect T1. In the sin-
gle-pass mode, the Enable bit is reset whenever T1 reaches its end-of-count. Fur-
ther TIN transitions have no effect on T1 until software sets the Enable Count bit
again. In continuous mode, when T1 is triggered, counting continues until software
resets the Enable Count bit. Interrupt request IRQ5 is generated when T1 reaches
its end-of-count.
OSC
+2
TIN
trigger
P52
D
D
Edge
trigger
Internal clock
TMR
D5 = 1
+4
PRE1 T1
IRQ5
TMR
D5–D4 = 11
Figure 32. Triggered Clock Mode
IRQ0
Retriggerable Input Mode
The TIN Retriggerable Input mode (TMR bits D5 and D4 both set to 1) causes T1 to
load and start counting on every occurrence of a High-to-Low transition on TIN
(see Figure 32). Interrupt request IRQ5 is generated if the programmed time inter-
val (determined by T1 prescaler and counter/timer register initial values) has
elapsed since the last High-to-Low transition on TIN. In single-pass mode, the
end-of-count resets the Enable Count bit. Subsequent TIN transitions do not
cause T1 to load and start counting until software sets the Enable Count bit again.
In continuous mode, counting continues when T1 is triggered until software resets
the Enable Count bit. When enabled, each High-to-Low TIN transition causes T1 to
PS003807-1002
PRELIMINARY