English
Language : 

Z86D990 Datasheet, PDF (48/102 Pages) Zilog, Inc. – Low-Voltage Micro controllers with ADC
Z86D990/Z86D991 OTP and Z86L99X ROM
Low-Voltage Microcontrollers with ADC
41
+2
IRQ5 (T1 end-of-count)
P56
TOUT
Figure 26. Counter/Timer Output Using TOUT
The internal clock can be selected as output instead of T1 by setting TMR bits D7
and D6 both to 1. The internal clock (XTAL frequency/2) is then directly output on
P56 (Figure 27).
Internal clock
OSC
+2
P56
TOUT
TMR
TMR
Figure 27. Internal Clock Output Using TOUT
While programmed as TOUT, P56 cannot be modified by a write to port register P5.
However, the Z8 software can examine P56’s current output by reading the port
register.
TIN Modes
The Timer Mode register TMR (F1h) (Figure 28) is used in conjunction with the
Prescaler register PRE1 (F3h) (Figure 29) to configure P52 as TIN. TIN is used in
conjunction with T1 in one of four modes:
• External clock input
• Gated internal clock
• Triggered internal clock
• Retriggerable internal clock
PS003807-1002
PRELIMINARY