English
Language : 

Z86L972 Datasheet, PDF (43/91 Pages) Zilog, Inc. – Low-Voltage Microcontrollers
Z86L972/Z86L973/Z86L974
Low-Voltage Microcontrollers
36
+2
IRQ5 (T1 end-of-count)
P56
TOUT
Figure 23. 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 24).
Internal clock
OSC
+2
P56
TOUT
TMR
TMR
Figure 24. 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 25) is used in conjunction with the
Prescaler register PRE1 (F3h) (Figure 26) 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
PS010504-1002
PRELIMINARY