English
Language : 

Z86L972 Datasheet, PDF (44/91 Pages) Zilog, Inc. – Low-Voltage Microcontrollers
D5 D4
Z86L972/Z86L973/Z86L974
Low-Voltage Microcontrollers
37
R241 TMR
Timer Mode Register
(F1h; Read/Write)
TIN modes
External clock input = 00
Gate input = 01
Trigger input = 10
(non-retriggerable)
Trigger input = 11
(retriggerable)
Figure 25. Timer Mode Register TIN Operation
R243 PRE1
Prescaler 1 Register
(F3h; Write Only)
D1
Figure 26. Prescaler 1 TIN Operation
Clock source
1 = T1 internal
0 = T1 external (TIN)
The T1 counter/timer clock source must be configured for external by setting
PRE1 bit D2 to 0. The Timer Mode register bits D5 and D4 can then be used to
select the TIN operation.
For T1 to start counting as a result of a TIN input, the Enable Count bit D3 in TMR
must be set to 1. When using TIN as an external clock or a gate input, the initial
values must be loaded into the down-counters by setting the Load bit D2 in TMR
to 1 before counting begins. Initial values are automatically loaded in Trigger and
Retrigger modes, so software loading is unnecessary.
Configure P52 as an input line by setting P5M bit D2 to 1.
PS010504-1002
PRELIMINARY